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", "WP:TW/DOC#talkback" );
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: "WP:AN (Administrators' noticeboard)",
label: "EFD:AN (Administrators' noticeboard)",
value: "an"
value: "an"
});
});
noticeboard.append({
noticeboard.append({
type: "option",
type: "option",
label: "WP:AN3 (Administrators' noticeboard/Edit warring)",
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: "WP:ANI (Administrators' noticeboard/Incidents)",
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: "WP:COIN (Conflict of interest noticeboard)",
label: "EFD:COIN (Conflict of interest noticeboard)",
value: "coin"
value: "coin"
});
});
noticeboard.append({
noticeboard.append({
type: "option",
type: "option",
label: "WP:DRN (Dispute resolution noticeboard)",
label: "EFD:DRN (Dispute resolution noticeboard)",
value: "drn"
value: "drn"
});
});
noticeboard.append({
noticeboard.append({
type: "option",
type: "option",
label: "WP:OTRS/N (OTRS noticeboard)",
label: "EFD:OTRS/N (OTRS noticeboard)",
value: "otrs"
value: "otrs"
});
});
noticeboard.append({
noticeboard.append({
type: "option",
type: "option",
label: "WP:HD (Help desk)",
label: "EFD:HD (Help desk)",
value: "hd"
value: "hd"
});
});
noticeboard.append({
noticeboard.append({
type: "option",
type: "option",
label: "WP:THQ (Teahouse question forum)",
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{{WP:Teahouse/Teahouse talkback|WP:Teahouse/Questions|" + section + "|ts=~~~~}}";
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;