Skip to content

Commit 047610a

Browse files
committed
Fix the bug that user edit summary cannot be posted
1 parent 6fe53f3 commit 047610a

File tree

1 file changed

+1
-0
lines changed
  • src/export_command/wikimedia_function

1 file changed

+1
-0
lines changed

src/export_command/wikimedia_function/page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export async function postPage(): Promise<void> {
100100
return undefined;
101101
}
102102
wikiSummary = `{wikiSummary} // Edit via Wikitext Extension for VSCode`.trim();
103+
wikiSummary = `${wikiSummary} // Edit via Wikitext Extension for VSCode`.trim();
103104
const barMessage: vscode.Disposable = vscode.window.setStatusBarMessage("Wikitext: Posting...");
104105
try {
105106
tBot.editToken = await getEditToken(tBot);

0 commit comments

Comments
 (0)