MediaWiki:Gadget-friendlytalkback.js: Difference between revisions

v2.0-814-g72d2681: lots of tweaks; delimages: obsolete; batchdelete: add delimages logic, delete talk pages, tweaks; deprod, unlink, batch((un)?delete|protect): Morebits.batchOperation; talkback: Add # to edit summary only if needed
imported>Amalthea
(v2.0-784-g5bac34c: warn: Move uw-generic4 down a spot; tag: Make links to each template work in IE9; talkback: Fix edit summary when "User talk:" is unnecessarily added; image: Add missing variable declaration)
imported>Amalthea
(v2.0-814-g72d2681: lots of tweaks; delimages: obsolete; batchdelete: add delimages logic, delete talk pages, tweaks; deprod, unlink, batch((un)?delete|protect): Morebits.batchOperation; talkback: Add # to edit summary only if needed)
Line 183:
value: prev_page
});
 
work_area.append({
type:"input",
Line 276:
value: prev_page
});
 
work_area.append({
type:"input",
Line 335:
if( tbtarget === "usertalk" || tbtarget === "other" || tbtarget === "see" ) {
page = e.target.page.value;
 
if( tbtarget === "usertalk" ) {
if( !page ) {
Line 422:
 
talkpage.setEditSummary("Notification: You've got mail" + Twinkle.getPref("summaryAd"));
 
} else if ( tbtarget === "see" ) {
text = "\n\n{{subst:Please see|location=" + tbPageName;
Line 429:
}
text += "|more=" + message.trim() + "}}";
talkpage.setEditSummary("Please check the discussion at [[" + tbPageName + "#" + section + "]]" + Twinkle.getPref("summaryAd"));
(section ? ("#" + section) : "") + "]]" + Twinkle.getPref("summaryAd"));
 
} else { // tbtarget one of mytalk, usertalk, other
// clean talkback heading: strip section header markers that were erroneously suggested in the documentation
Anonymous user