MediaWiki:Gadget-friendlytalkback.js: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (1 revision) |
imported>Mlpearc m (Text replace - "WP" to "EFD") |
||
Line 32: | Line 32: | ||
Window.setScriptName("Twinkle"); |
Window.setScriptName("Twinkle"); |
||
Window.addFooterLink( "About {{talkback}}", "Template:Talkback" ); |
Window.addFooterLink( "About {{talkback}}", "Template:Talkback" ); |
||
Window.addFooterLink( "Twinkle help", " |
Window.addFooterLink( "Twinkle help", "EFD:TW/DOC#talkback" ); |
||
var form = new Morebits.quickForm( callback_evaluate ); |
var form = new Morebits.quickForm( callback_evaluate ); |
||
Line 196: | Line 196: | ||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:AN (Administrators' noticeboard)", |
||
value: "an" |
value: "an" |
||
}); |
}); |
||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:AN3 (Administrators' noticeboard/Edit warring)", |
||
selected: true, |
selected: true, |
||
value: "an3" |
value: "an3" |
||
Line 207: | Line 207: | ||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:ANI (Administrators' noticeboard/Incidents)", |
||
selected: true, |
selected: true, |
||
value: "ani" |
value: "ani" |
||
Line 213: | Line 213: | ||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:COIN (Conflict of interest noticeboard)", |
||
value: "coin" |
value: "coin" |
||
}); |
}); |
||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:DRN (Dispute resolution noticeboard)", |
||
value: "drn" |
value: "drn" |
||
}); |
}); |
||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:OTRS/N (OTRS noticeboard)", |
||
value: "otrs" |
value: "otrs" |
||
}); |
}); |
||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:HD (Help desk)", |
||
value: "hd" |
value: "hd" |
||
}); |
}); |
||
noticeboard.append({ |
noticeboard.append({ |
||
type: "option", |
type: "option", |
||
label: " |
label: "EFD:THQ (Teahouse question forum)", |
||
value: "th" |
value: "th" |
||
}); |
}); |
||
Line 366: | Line 366: | ||
break; |
break; |
||
case "th": |
case "th": |
||
text = "\n\n== Teahouse talkback: you've got messages! ==\n{{ |
text = "\n\n== Teahouse talkback: you've got messages! ==\n{{EFD:Teahouse/Teahouse talkback|EFD:Teahouse/Questions|" + section + "|ts=~~~~}}"; |
||
talkpage.setEditSummary( "You have replies at the [[Wikipedia:Teahouse/Questions|Teahouse question board]]" + Twinkle.getPref("summaryAd") ); |
talkpage.setEditSummary( "You have replies at the [[Wikipedia:Teahouse/Questions|Teahouse question board]]" + Twinkle.getPref("summaryAd") ); |
||
break; |
break; |