Skip to content

Commit

Permalink
Update twinkledeprod.js
Browse files Browse the repository at this point in the history
Link to page upon which G8-deleted redirect/talk page depended
  • Loading branch information
SilverLocust authored Jan 9, 2025
1 parent 914fb68 commit 9f654ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/twinkledeprod.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ var callback_commit = function(event) {
}

const page = new Morebits.wiki.Page('Talk:' + apiobj.params.page, 'Deleting talk page of page ' + apiobj.params.page);
page.setEditSummary('[[WP:CSD#G8|G8]]: [[Help:Talk page|Talk page]] of deleted page "' + apiobj.params.page + '"');
page.setEditSummary('[[WP:CSD#G8|G8]]: [[Help:Talk page|Talk page]] of deleted page [[' + apiobj.params.page + ']]');
page.setChangeTags(Twinkle.changeTags);
page.deletePage();
},
Expand All @@ -177,7 +177,7 @@ var callback_commit = function(event) {
redirects.forEach((rd) => {
const title = rd.title;
const page = new Morebits.wiki.Page(title, 'Deleting redirecting page ' + title);
page.setEditSummary('[[WP:CSD#G8|G8]]: Redirect to deleted page "' + apiobj.params.page + '"');
page.setEditSummary('[[WP:CSD#G8|G8]]: Redirect to deleted page [[' + apiobj.params.page + ']]');
page.setChangeTags(Twinkle.changeTags);
page.deletePage();
});
Expand Down

0 comments on commit 9f654ae

Please sign in to comment.