MediaWiki:Gadget-twinkleconfig.js: Difference between revisions

m
1 revision: new version of Twinkle
m (1 revision)
m (1 revision: new version of Twinkle)
 
(One intermediate revision by one other user not shown)
Line 16:
 
I, [[User:This, that and the other]], originally wrote this. If the code is misbehaving, or you have any
questions, don't hesitate to ask me. (This doesn't at all imply [[WPEFD:OWN]]ership - it's just meant to
point you in the right direction.) -- TTO
*/
Line 623:
 
// TwinkleConfig.blankTalkpageOnIndefBlock (boolean)
// if true, blank the talk page when issuing an indef block notice (per [[WPEFD:UW#Indefinitely blocked users]])
{
name: "blankTalkpageOnIndefBlock",
label: "Blank the talk page when indefinitely blocking users",
helptip: "See <a href=\"" + mw.util.wikiGetlink("WPEFD:UW#Indefinitely blocked users") + "\">WPEFD:UW</a> for more information.",
adminOnly: true,
type: "boolean"
Line 1,737:
 
pageobj.setPageText(text);
pageobj.setEditSummary("Saving Twinkle preferences: automatic edit from [[" + Morebits.pageNameNorm + "]] ([[WPEFD:TW|TW]])");
pageobj.setCreateOption("recreate");
pageobj.save(Twinkle.config.saveSuccess);
Line 1,749:
noticebox.style.fontSize = "100%";
noticebox.style.marginTop = "2em";
noticebox.innerHTML = "<p><b>Your Twinkle preferences have been saved.</b></p><p>To see the changes, you will need to <b>clear your browser cache entirely</b> (see <a href=\"" + mw.util.wikiGetlink("WPEFD:BYPASS") + "\" title=\"WPEFD:BYPASS\">WPEFD:BYPASS</a> for instructions).</p>";
Morebits.status.root.appendChild(noticebox);
var noticeclear = document.createElement("br");
0

edits