User:Qwerfjkl/scripts/massXFD.js: Difference between revisions

Content deleted Content added
(semi-)fix bug where nominating redirects in (any) talk namespace caused the script to use Undefined instead of the redirect title [Factotum]
m Needs signature (via CAE)
Line 1,517:
const nominationSummary = `Adding mass nomination at [[#${newNomHeaderInputField.getValue().trim()}]]` + advSummary;
if (XFD === 'RFD') {
var redirectTargetNotification = `{{subst:Rfd notice|\${redirectTitle}|${newNomHeaderInputField.getValue().trim()}}} ~~~~`
var redirectTargetNotificationSummary = `Notice of [[${summaryDiscussionLink}]]${advSummary}`
}