Project:Requests

Requests for permissions

 * Archives: Autochecked user &bull; Editor &bull; Administrator &bull; Bureaucrat &bull; Other user rights


 * Please create a subpage under Project:Requests/User rights/ with your user name as the page title and then transclude it to the bottom of this section.

Requests for renames

 * Information on how renames work is available on Wikipedia., Archives: 2012 (Previous years).

Example request:

Oldname → Newname
I'd like to change my username to "Newname" because that's the username I use on other projects. Thanks! - ~

Captain 627 -> Sturmwächter
Please change my username. I changed it on Sturmkrieg and plan to be using it instead of this one. Sturmkrieg Grandmaster Inquisitor 627 des Ordo Scharzenkommando ++Existence denied++ 20:40, 26 November 2012 (UTC)
 * ✅ -- Krenair (talk &bull; contribs) 00:28, 3 December 2012 (UTC)

Tine.wv → Tine
I ask for usurpation the account Tine, it is unused on MediaWiki. I need it for SUL for my Wikivoyage-account. --79.247.237.34 18:46, 29 November 2012 (UTC)
 * ✅, I've renamed Tine to Tine (usurped). You should be able to merge here now. -- Krenair (talk &bull; contribs) 00:36, 3 December 2012 (UTC)

Filo cz → Filo
I'd like to usurp username "Filo". For using my account on commons under the same name as my long-time used czech account (SUL). The commons account Filo has never been used, but I first need „mediawiki” user account. Thanks! - Filo cz (talk) 16:51, 12 December 2012 (UTC)
 * ✅, I've renamed Filo to Filo (usurped), you should be able to merge here now. :) -- Krenair (talk &bull; contribs) 17:41, 12 December 2012 (UTC)
 * Good news! Thank you! --Filo (talk) 17:58, 12 December 2012 (UTC)

Dj (Usurp request)
I'd like to usurp User:Dj to finish my unification. Confirmation link here on my home huwiki. User Dj has no edit on this wiki. --81.182.171.144 09:47, 31 December 2012 (UTC)
 * ✅ -- Skiz zerz  21:17, 31 December 2012 (UTC)
 * Thanks --Dj (talk) 00:17, 1 January 2013 (UTC)

Pawel112pawel112 → Pawel112
I'd like to change my username to "Pawel112" because that's the username I use on other projects. Thanks! - Pawel112pawel112 (talk) 06:52, 2 January 2013 (UTC)

Other requests and requests for comments

 * Archives: Other requests and Requests for Comments

New gadget: Dot's syntax highlighter
Hi, I'm trying to get meta:User:Remember the dot/Syntax highlighter made into a gadget for various projects. ResourceLoader/Migration guide (users) says that gadgets like this should be hosted on mediawiki.org. So, I'd like to ask that:


 * 1) MediaWiki:Gadget-DotsSyntaxHighlighter.js be created with the minified contents of meta:User:Remember the dot/Syntax highlighter.js: function breakerRegexWithPrefix(e){return new RegExp("("+e+")|"+breakerRegexBase,"gm")}function highlightSyntax{function u(e,t){e=e.replace(/\n/g,"\\A ");if(t==i){n+=e}else{if(webkit&&(/[!"#%&)*+,-.:;=\?>\\\]\|\}~]$/.test(n)&&/^[<\[\{]/.test(e)||n.substring(-1)=="-"&&e.substring(0,2)=="\\'")){e="​"+e}if(s){o="s"+r;if(r>maxSpanNumber){wpTextbox0.appendChild(document.createElement("span")).id=o;maxSpanNumber++}n+="'}#"+o+":before"}else{n+="'}#"+o+":after";r++}n+="{background-color:"+t+";content:'"+e;s=!s;i=t}}function a(n,r){r.lastIndex=t;var i;while(i=r.exec(e)){if(i[1]){u(e.substring(t,r.lastIndex),n);t=r.lastIndex;return}var s=e.substring(t,r.lastIndex-i[0].length);if(s!=""){u(s,n)}t=r.lastIndex;switch(i[0].charAt(0)){case"[":if(i[0].charAt(1)=="["){u("[[",syntaxHighlighterConfig.wikilinkColor||n);a(syntaxHighlighterConfig.wikilinkColor||n,wikilinkBreakerRegex)}else{u(i[0],syntaxHighlighterConfig.externalLinkColor||n);a(syntaxHighlighterConfig.externalLinkColor||n,namedExternalLinkBreakerRegex)}break;case"{":if(i[0].charAt(1)=="{"){if(i[0].charAt(2)=="{"){u("{{{",syntaxHighlighterConfig.parameterColor||n);a(syntaxHighlighterConfig.parameterColor||n,parameterBreakerRegex)}else{u("{{",syntaxHighlighterConfig.templateColor||n);a(syntaxHighlighterConfig.templateColor||n,templateBreakerRegex)}}else{u("{|",syntaxHighlighterConfig.tableColor||n);a(syntaxHighlighterConfig.tableColor||n,tableBreakerRegex)}break;case"<":if(i[0].charAt(1)=="!"){u(i[0],syntaxHighlighterConfig.commentColor||n);break}else{var o=e.indexOf(">",t)+1;if(o==0){u("<");t=t-i[0].length+1;break}if(e.charAt(o-2)=="/"){u(e.substring(t-i[0].length,o),syntaxHighlighterConfig.tagColor||n);t=o}else{var f=i[0].substring(1);var l="";if(/nowiki|pre|math|syntaxhighlight|source|timeline|hiero/.test(f)){var c=e.indexOf(l,t);if(c==-1){c=e.length}else{c+=l.length}u(e.substring(t-i[0].length,c),syntaxHighlighterConfig.tagColor||n);t=c}else{u(e.substring(t-i[0].length,o),syntaxHighlighterConfig.tagColor||n);t=o;if(!tagBreakerRegexCache[f]){tagBreakerRegexCache[f]=breakerRegexWithPrefix(l)}a(syntaxHighlighterConfig.tagColor||n,tagBreakerRegexCache[f])}}}break;case"h":case"f":case"m":u(i[0],syntaxHighlighterConfig.externalLinkColor||n);break;case"=":if(/[^=]=+$/.test(e.substring(t,e.indexOf("\n",t)))){u("=",syntaxHighlighterConfig.headingColor||n);a(syntaxHighlighterConfig.headingColor||n,headingBreakerRegex)}else{u("=",n)}break;case"*":case"#":case":":u(i[0],syntaxHighlighterConfig.listAndIndentColor||n);break;case";":u(";",syntaxHighlighterConfig.headingColor||n);a(syntaxHighlighterConfig.headingColor||n,headingBreakerRegex);break;case"-":u(i[0],syntaxHighlighterConfig["hrColor"]);break;case"\\":if(i[0].length==6){u("\\'\\'\\'",syntaxHighlighterConfig.boldColor||n);a(syntaxHighlighterConfig.boldColor||n,boldBreakerRegex)}else{u("\\'\\'",syntaxHighlighterConfig.italicColor||n);a(syntaxHighlighterConfig.italicColor||n,italicBreakerRegex)}break;case"~":u(i[0],syntaxHighlighterConfig.signatureColor||n);break;case"&":u(i[0],syntaxHighlighterConfig.entityColor||n)}r.lastIndex=t}}lastText=wpTextbox1.value;var e=lastText.replace(/['\\]/g,"\\$&")+"\n";var t=0;var n="";var r=0;var i;var s=true;var o;if(presto){e+=Array(wpTextbox1.scrollWidth).join(" ")}var f=Date.now;a("inherit",defaultBreakerRegex);u(e.substring(t),"inherit");syntaxStyleElement.textContent=n.substring(2)+"'}";var l=Date.now;if(l-f>150){clearInterval(highlightSyntaxIfNeededIntervalID);syntaxStyleElement.textContent="";wpTextbox1.removeEventListener("input",highlightSyntax);wpTextbox1.style.backgroundColor="";wpTextbox1.style.position="";wpTextbox0.style.color="red";wpTextbox0.style.fontFamily="";wpTextbox0.style.fontWeight="bold";wpTextbox0.style.height="";wpTextbox0.appendChild(document.createTextNode("Syntax highlighting on this page was disabled because your computer is too slow. The maximum allowed highlighting time is 150ms, and your computer took "+(l-f)+"ms. If you are using Chrome or Safari, this could be because the syntax highlighter has to work around "));var c=document.createElement("a");c.setAttribute("href","https://bugs.webkit.org/show_bug.cgi?id=17427");c.textContent="WebKit bug 17427";wpTextbox0.appendChild(c);wpTextbox0.appendChild(document.createTextNode('. Try closing some tabs and programs and clicking "Show preview" or "Show changes". If that doesn\'t work, try a different web browser, and if that doesn\'t work, try a newer computer.'))}}function syncScrollX{wpTextbox0.scrollLeft=wpTextbox1.scrollLeft}function syncScrollY{wpTextbox0.scrollTop=wpTextbox1.scrollTop}function highlightSyntaxIfNeeded{if(wpTextbox1.value!=lastText){highlightSyntax}if(wpTextbox1.scrollLeft!=wpTextbox0.scrollLeft){syncScrollX}if(wpTextbox1.scrollTop!=wpTextbox0.scrollTop){syncScrollY}}function setupSyntaxHighlighter{function e(e,t){if(syntaxHighlighterConfig[e]=="normal"){syntaxHighlighterConfig[e]=t}else if(syntaxHighlighterConfig[e]){return}else if(typeof syntaxHighlighterConfig.defaultColor!="undefined"){syntaxHighlighterConfig[e]=syntaxHighlighterConfig.defaultColor}else{syntaxHighlighterConfig[e]=t}}window.syntaxHighlighterConfig=window.syntaxHighlighterConfig||new Object;e("commentColor","#E6FFE6");e("boldColor","#E5E5E5");e("entityColor","#E6FFE6");e("externalLinkColor","#E6FFFF");e("italicColor","#E5E5E5");e("headingColor","#E5E5E5");e("hrColor","#E5E5E5");e("listAndIndentColor","#E6FFE6");e("parameterColor","#FFCC66");e("signatureColor","#FFCC66");e("tagColor","#FFE6FF");e("tableColor","#FFFFCC");e("templateColor","#FFFFCC");e("wikilinkColor","#E6E6FF");textboxContainer=document.createElement("div");wpTextbox0=document.createElement("div");wpTextbox1=document.getElementById("wpTextbox1");syntaxStyleElement=document.createElement("style");wpTextbox0.style.backgroundColor=window.getComputedStyle(wpTextbox1).backgroundColor;if(wpTextbox0.style.backgroundColor=="transparent"){wpTextbox0.style.backgroundColor="white"}wpTextbox0.style.border="1px solid transparent";wpTextbox0.style.boxSizing="border-box";wpTextbox0.style.MozBoxSizing="border-box";wpTextbox0.style.WebkitBoxSizing="border-box";wpTextbox0.style.color="transparent";wpTextbox0.style.fontFamily=window.getComputedStyle(wpTextbox1).fontFamily;wpTextbox0.style.fontSize=window.getComputedStyle(wpTextbox1).fontSize;wpTextbox0.style.lineHeight="normal";wpTextbox0.style.overflowX="auto";wpTextbox0.style.overflowY="scroll";wpTextbox0.style.whiteSpace="pre-wrap";wpTextbox0.style.width="100%";wpTextbox0.style.wordWrap="normal";wpTextbox1.style.backgroundColor="transparent";wpTextbox1.style.border="1px inset gray";wpTextbox1.style.boxSizing="border-box";wpTextbox1.style.MozBoxSizing="border-box";wpTextbox1.style.WebkitBoxSizing="border-box";wpTextbox1.style.lineHeight="normal";wpTextbox1.style.margin=0;wpTextbox1.style.overflowX="auto";wpTextbox1.style.overflowY="scroll";wpTextbox1.style.padding=0;wpTextbox1.style.position="absolute";wpTextbox1.style.resize="none";wpTextbox1.style.left=0;wpTextbox1.style.top=0;wpTextbox1.style.width="100%";wpTextbox1.style.wordWrap="normal";wpTextbox0.style.height=wpTextbox1.offsetHeight+"px";if(gecko){wpTextbox0.style.paddingLeft="1px";wpTextbox0.style.paddingRight="1px"}else if(presto){wpTextbox1.style.overflowX="scroll"}textboxContainer.style.position="relative";wpTextbox1.parentNode.insertBefore(textboxContainer,wpTextbox1);textboxContainer.appendChild(wpTextbox1);textboxContainer.appendChild(wpTextbox0);$(".tool-select *").css({zIndex:5});document.head.appendChild(syntaxStyleElement);wpTextbox1.addEventListener("input",highlightSyntax);wpTextbox1.addEventListener("scroll",syncScrollX);wpTextbox1.addEventListener("scroll",syncScrollY);highlightSyntaxIfNeededIntervalID=setInterval(highlightSyntaxIfNeeded,500);highlightSyntax}var textboxContainer;var wpTextbox0;var wpTextbox1;var syntaxStyleElement;var lastText;var maxSpanNumber=-1;var highlightSyntaxIfNeededIntervalID;var breakerRegexBase="\\[(?:\\[|(?:https?:|ftp:)?//|mailto:)|\\{(?:\\{\\{?|\\|)|<(?:[:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�][:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�-\\.0-9·̀-ͯ‿-‿-⁀]*|!--[^]*?-->)|(?:https?://|ftp://|mailto:)[^\\s\"<>[\\]|]*[^\\s\",\\.:;<>[\\]|]|^(?:=|[*#:;]+|-{4,})|\\\\'\\\\'(?:\\\\')?|~{3,5}|&(?:[a-z]+|#(?:\\d+|[xX][0-9a-fA-F]+));";var defaultBreakerRegex=new RegExp(breakerRegexBase,"gm");var wikilinkBreakerRegex=breakerRegexWithPrefix("]][a-zA-Z]*");var namedExternalLinkBreakerRegex=breakerRegexWithPrefix("]");var parameterBreakerRegex=breakerRegexWithPrefix("}}}");var templateBreakerRegex=breakerRegexWithPrefix("}}");var tableBreakerRegex=breakerRegexWithPrefix("\\|}");var headingBreakerRegex=breakerRegexWithPrefix("\n");var boldBreakerRegex=breakerRegexWithPrefix("\\\\'\\\\'\\\\'");var italicBreakerRegex=breakerRegexWithPrefix("\\\\'\\\\'");var tagBreakerRegexCache=new Object;var gecko=$.client.profile.layout=="gecko";var presto=$.client.profile.layout=="presto";var webkit=$.client.profile.layout=="webkit";var trident=$.client.profile.layout=="trident";if((wgAction=="edit"||wgAction=="submit")&&!((wgNamespaceNumber==2||wgNamespaceNumber==8)&&/\.(css|js)$/.test(wgTitle))&&!trident){if(document.readyState=="complete"){setupSyntaxHighlighter}else{$(window).load(setupSyntaxHighlighter)}}
 * 2) The contents of [//meta.wikimedia.org/w/index.php?title=User:Remember_the_dot/Syntax_highlighter&action=edit meta:User:Remember the dot/Syntax highlighter] be copied to User:Remember the dot/Syntax highlighter.
 * 3) MediaWiki:Gadget-DotsSyntaxHighlighter be created with * Dot's syntax highlighter, make syntax stand out colorfully in the edit box. Works best in Firefox, works almost all of the time in Opera, and works most of the time in Chrome. Should not be used with the browser's page zoom feature.
 * 4) The following line be added to MediaWiki:Gadgets-definition under "editing-gadgets": DotsSyntaxHighlighter[ResourceLoader]|DotsSyntaxHighlighter.js

I hope you find this gadget helpful. There is a related discussion at wikipedia:Wikipedia:Gadget/proposals about getting this onto the English Wikipedia. —Remember the dot (talk) 21:43, 25 November 2012 (UTC)
 * I've done #2, though you could've done it yourself. For #1, can we please not use minified JS? -- Krenair (talk &bull; contribs) 21:51, 25 November 2012 (UTC)


 * I didn't want to move the documentation before the source code was moved, but I suppose it doesn't really matter. I provided minified code because I don't know of any other way to minify the script than to minify it manually. Gadgets hosted locally and used locally are minified through the local ResourceLoader, but this is not the case when loading a gadget cross-wiki. The regular source code will still be available (I'll move it here also) no matter what. —Remember the dot (talk) 22:00, 25 November 2012 (UTC)