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

Content deleted Content added
No edit summary
Fix page title with section link (via CAE)
Line 31:
var page = event.data.page;
var redlink = event.data.redlink;
var questionTitle = prompt("Please enter the title of the section you're replying to (or just leave it blank):", "").trim().replace(/^(Wikipedia|User|Template|Draft|Help|Module|MediaWiki).+?#/, ''),
sectionTitle = "{{Talkback|" + mw.config.get('wgPageName').replace(/_/g, ' ') + "|";