Jump to content

Project:Requests for permissions

From mediawiki.org
Information

Use this page for requests for:

Note that Requests for comment and other miscellaneous requests should not go here, but instead to the Project:Village Pump or Administrators' noticeboard if you want to avoid using Structured Discussions.

Any new flagging to +sysop should have an associated subpage here, except for well-established developers, where a developer is someone who has had changes accepted to the MediaWiki core or a MediaWiki extension where the total number of changed lines in the relevant whitespace-insensitive diffs exceeds 100.

The autopatroller group can be assigned by administrators, too, but generally that is given when an admin notices that patrolling someone's edits does not add any value, and not based on requests by the user themselves.

One thing to keep in mind is that unlike most Wikimedia sites, this site is controlled by the MediaWiki developers, not the other users in this community. Being a developer (someone with merge access who uses it to maintain code that runs on Wikimedia sites) automatically entitles you to at least administrator status, and a long-time developer won't find it hard to become a bureaucrat. If you're not a developer, you do have to give some good reason to get any privileges; you should not expect to ever be made a bureaucrat. Something like a third of administrators and a quarter of bureaucrats are non-developers, however, so it's not like you shouldn't bother asking.

That said, there aren't really any formal policies on what's required: you just have to convince a bureaucrat. Use common sense – if you're trustworthy and your services are in need, there's no reason not to promote you to administrator at least, but don't ask for administrator without giving a concrete reason (unless you're a developer). Being personally known to a developer or having administrator or higher status on a major Wikimedia project are two ways to be deemed trustworthy. This is a wiki that has opted in to allowing global sysops to work here, and such users are free to use their rights on this wiki and do not need to separately request administrator. The same applies to global rollbackers, who are already autopatrolled on this wiki. Other users in specialised global groups (such as global interface editors) are also free to use their rights on this wiki by default.

Requests for permissions

Archives: Autochecked userEditorAdministratorBureaucratOther 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.

Project:Requests for permissions/User rights/Request example

User:Koavf

Requested user-rights: Reviewer.

Although Editor may do. I'm a globally trusted user on WMF sites, with some technical knowledge (I don't have anything like the abilities of a Coder or developer of some kind) and I just want my edits here (e.g.) to not have to go through review. I'm more concerned with generating and manipulating actual content on WMF sites, but lately, I've had an interest in really digging into how MediaWiki works, so I might show up here from time to time or post bugs. —Justin (koavf)TCM 10:18, 4 December 2012 (UTC)[reply]

I think autochecked user is better for you then. Would you settle with that?--Jasper Deng (talk) 20:41, 4 December 2012 (UTC)[reply]
Autocheck I certainly won't fight it, but it might be nice or helpful to be able to review myself. Do you have some misgivings about a certain flag? —Justin (koavf)TCM 06:20, 5 December 2012 (UTC)[reply]
Yes Autochecked granted - feel free to request editor or reviewer when you need it (i.e. having to review others' edits).--Jasper Deng (talk) 06:28, 5 December 2012 (UTC)[reply]

User:Graham87

Requested user-rights: Editor.

I'm an English Wikipedia admin who occasionally edits this site. I'd find editor permissions useful to reduce the workload on reviewers. Thanks! Graham87 (talk) 12:56, 29 November 2012 (UTC)[reply]

Yes Done--Frigotoni ...i'm here; 13:09, 29 November 2012 (UTC)[reply]

User: Remember the dot

Requested user-rights: Interface administrator.

I seem to have lost the ability to edit MediaWiki:Gadget-DotsSyntaxHighlighter.js. This is a problem because I can no longer add new translations, improve the code's performance by switching to ES6 features, etc. I have always been responsible and respected consensus when editing MediaWiki pages on this site, so would you please restore my ability to do so? —Remember the dot (talk) 07:32, 9 June 2019 (UTC)[reply]

@Remember the dot: Sure, can you enable 2FA (or confirm that you already have) first? Legoktm (talk) 15:51, 13 June 2019 (UTC)[reply]
@Legoktm: I just enabled 2FA and I logged out and logged back in to confirm that it is working. —Remember the dot (talk) 06:06, 14 June 2019 (UTC)[reply]
Yes Done Legoktm (talk) 10:18, 14 June 2019 (UTC)[reply]
Thank you! —Remember the dot (talk) 06:29, 15 June 2019 (UTC)[reply]

User:Superm401

Requested user-rights: Editor.

I've been an English Wikipedia admin since 2006, and increasingly involved on the technical side. Initially this was user scripts, then gadgets (ProveIt), and now I have a couple commits in core and more to extensions. This is going to continue, so I'd like to have access here, both to autocheck my own work and to review other peoples' documentation work.

I will not review other peoples' changes unless I'm confident what they did is correct. Superm401 - Talk 21:41, 20 December 2012 (UTC)[reply]

Yes Done --Krenair (talkcontribs) 21:46, 20 December 2012 (UTC)[reply]

User:Edokter

Requested user-rights: Editor.
Requested user-rights: Administrator.

Admin on en.wiki, occasional patch/git submitter and now hit by several pending reviews. I mostly update documentation but I can be very helpfull in maintaining Common.css and other technical jobs. Edokter (talk) — 15:58, 22 December 2012 (UTC)[reply]

All of the editor group's rights are part of administrator... Also, can you link to your Gerrit dashboard please? --Krenair (talkcontribs) 16:05, 22 December 2012 (UTC)[reply]
Gerrit dashboard. I know editor is part of administrator, just listing it as fallback. Edokter (talk) — 16:26, 22 December 2012 (UTC)[reply]
It looks like you've only done one patch and reviewed another two... --Krenair (talkcontribs) 16:30, 22 December 2012 (UTC)[reply]
I have been far more active in Bugzilla before Gerrit. Edokter (talk) — 16:47, 22 December 2012 (UTC)[reply]

User:LIMAFOX76

Requested user-rights: Reviewer.

I'm just starting to learn and develop on PHP, But mainly for now, I translate documentation and MediaWiki extensions in French on Translate wiki, Semantic MediaWiki, here or course, and on ShoutWiki. I'm admin/b-crat on several wikis (Semantic MediaWiki, Battlestar Wiki, etc.) and created from scratch a Stargate-related wiki using the MediaWiki software. Using several extensions, I can see the lack of French accurate and most of all up to date translations regarding MediaWiki and its extensions.

I have now an account on gerrit in order to start developping/improving on MediaWiki and its extensions. As I can say, I'm the kind of guy who like to digg deep inside a software to see how it works.

—The preceding unsigned comment was added by LIMAFOX76 (talkcontribs) 17:00, 23 December 2012
Usually we give out the editor group instead of reviewer first. The only difference is that reviewers can set a higher standard of acceptance ("quality" instead of just "checked"). Also please sign your comments on discussion pages. --Krenair (talkcontribs) 17:21, 23 December 2012 (UTC)[reply]
Indeed I forgot to sign. Usually I don't. Editor rights are all right for now as I can see that I have some French translation contributions unchecked for a while. --LIMAFOX76 (talk) 17:31, 23 December 2012 (UTC)[reply]
Yes Done editor. Please keep an eye on Special:PendingChanges and try to deal with the french changes there (currently we have over 50 pending total - not just french - so you'll have to click over to the next page :(). --Krenair (talkcontribs) 17:35, 23 December 2012 (UTC)[reply]
I'm not comfortable with this right grant: the French translations quality by the contributor are very poor (punctuation issues, case issues, familiar French, use of fuzzy grammar). --Dereckson (talk) 17:38, 23 December 2012 (UTC)[reply]
Could you be more specific please? Where did you find it? Please give me examples as I can improve it? --LIMAFOX76 (talk) 17:44, 23 December 2012 (UTC)[reply]
(conflict edit) (original message) I asked a second opinion, from an experienced translator on the French Wikipedia, he disagrees with my position: if the translation could be improved and isn't beautiful everywhere, the translation is comprehensible. On a wiki, this is the main quality expected for a translation, as any comprehensible translation could be improved by others. So I guess, especially as we don't have a lot of French reviewers interested to improve translation quality, the permission granted is fine. --Dereckson (talk) 17:52, 23 December 2012 (UTC)[reply]
(complement) The question of LIMAFOX76 increases my trust level.
Sure, here some things I noted:
  • English use generous names capitalization, not found in French (e.g. "Paramètres Généraux" -> "Paramètres généraux")
  • Coherence could be improved: "mail" and "courriel" used in a same sentence (and "e-mail" elsewhere on the page)
  • Mix between impératif and infinitif : "Ne jamais éditer DefaultSettings.php ; copiez plutôt les lignes appropriées dans le fichier LocalSettings.php et modifiez-le comme voulu.". I guess one tense should be used, to improve coherence.
--Dereckson (talk) 17:52, 23 December 2012 (UTC)[reply]
Sure, I will fix that (juste des fautes d'étourderie/careless mistakes). Thank you again. --LIMAFOX76 (talk) 18:01, 23 December 2012 (UTC)[reply]
Actually those mistakes weren't mine, but I fix them anyway. ;-) --LIMAFOX76 (talk) 18:05, 23 December 2012 (UTC)[reply]

User:Techman224

Requested user-rights: Administrator. or
Requested user-rights: Editor.

Hello, I frequently revert vandalism here and mark pages for deletion, so I'm requesting to be an administrator so I don't have to wait for someone to delete pages or block editors. I am an administrator on Wikimedia Commons and Test wiki, so I know how to use the tools. I also help out on fixing small bugs or adding features to existing extensions. I will also accept being an Editor if you don't grant me adminship. Thanks. Techman224Talk 21:00, 2 January 2013 (UTC)[reply]

Done editor. Not sure about sysop, though, you aren't very active here. Then again, neither am I... Ajraddatz (Talk) 23:52, 2 January 2013 (UTC)[reply]
You might have to look at my deleted contributions to see how active I am. Techman224Talk 00:17, 3 January 2013 (UTC)[reply]
From Special:DeletedContributions/Techman224 I can see that in the past 12 months, you've nominated 4 pages for deletion... --Krenair (talkcontribs) 01:39, 3 January 2013 (UTC)[reply]
Oh, I thought I was more active than that. Techman224Talk 18:38, 3 January 2013 (UTC)[reply]
I hope with my edits on wiki combined with my development work might tip the balance. Techman224Talk 03:09, 5 January 2013 (UTC)[reply]
Adminship on another project is a big plus. If you have commit access or something else to show you hack MediaWiki as part of its general development, that's what we consider being a developer, and local policy would guarantee you access in that case.--Jasper Deng (talk) 03:54, 5 January 2013 (UTC)[reply]
Well I have submitted patches/bug fixes to gerrit for the AbuseFilter, CentralAuth, TitleBlacklist, and TranslationNotifications extensions; all of which are used on Wikimedia sites. Techman224Talk 04:24, 5 January 2013 (UTC)[reply]

Still waiting for a response after 3 weeks. Still interested. Techman224Talk 01:11, 27 January 2013 (UTC)[reply]

You do seem trustworthy but you're just not active enough on this wiki. Become more active and maybe I'll grant it. If any other bureaucrat is convinced by this request, please go ahead and grant it, because currently I am not. --Krenair (talkcontribs)
Marking as N Not done from Administrator (although it appears that editor was Yes Done earlier). --Skizzerz 07:01, 14 March 2013 (UTC)[reply]

User:Fo0bar

Requested user-rights: Autochecked user.

... I think? Basically, I want to be able to edit my own extension's page (Extension:Secure HTML) without having to wait for the edit to be reviewed for a week plus, as it is doing now.

Related, there is (AFAICT) no documentation of this new FlaggedRevs system on mediawiki.org. Help:Page validation redirects to Help:Extension:FlaggedRevs, which is documentation for the extension itself, but does not address why it's on mediawiki.org, what pages are covered by it, information for/about reviewers, etc. It's confusing from an editor's perspective (and doubly so as an extension author), and sort of feels like a black box. --Fo0bar (talk) 04:42, 16 January 2013 (UTC)[reply]

The relevant page is Project:Editor. Since this is your extension I have no reservations about granting you access, which I have now Yes Done. The only thing I may want to have concern about is that it may be good for "stable" to be checked by other users, but I do not think that is really an issue.--Jasper Deng (talk) 05:32, 16 January 2013 (UTC)[reply]

User:Makecat

Requested user-rights: Editor.

I am a SWMT member and revert vandalism/test/spam here occasionally. I find editor rights will reduce the workload on reviewers. Thanks. --Makecat (talk) 12:03, 16 January 2013 (UTC)[reply]

Yes Done. Active vandalism/spam fighter. –BruTe 12:33, 16 January 2013 (UTC)[reply]

User:Vogone

Requested user-rights: Administrator.

Hi! I'm Vogone, an Editor on this wiki and I'm sometimes patrolling the pending changes. I'd like to apply for local adminship because I'm tagging spam/out of scope project content and I'd like to delete it at my own. Because I'm a global sysop I could technically do that but I'd always have doubts whether this is accepted by other contributors here. Thanks for your comments, Vogone (SWMT) 23:33, 16 January 2013 (UTC)[reply]

According to Project:Administrators, you should be able to do that sort of thing as a global sysop. But Yes Done anyway. --Krenair (talkcontribs) 23:49, 16 January 2013 (UTC)[reply]

Requested user-rights: Bureaucrat.

Hello. I'd like to request bureaucrat rights for dealing with user rename requests and the occasional adminship request. I have been an administrator since April 2012, and during that time I have performed several user rights changes, so I'm familiar with how permissions are requested here.

As my userpage says, I'm not a MediaWiki developer. However, I am a very active sysop both in my tasks regarding SWMT and the wiki's content. I am aware that developers are entitled to administrator access while other users have to provide a good reason. I am aware that there's been some feeling that we have too many sysops, but I intend to grant access to anyone demonstrating a clear need and having no reasonable opposition.--Jasper Deng (talk) 23:37, 19 January 2013 (UTC)[reply]

It's been a week and no one has commented. While I am personally okay with this request, I'm not convinced we want more bureaucrats. If no one else has commented on this in another week, I'll mark this as N Not done. --Krenair (talkcontribs) 00:42, 27 January 2013 (UTC)[reply]
I've changed my mind - let's just leave this open until there's a few comments. --Krenair (talkcontribs) 19:00, 3 February 2013 (UTC)[reply]
Support. Seems active and would be beneficial to the wiki as bureaucrat. ఠ_ఠ Inquisitor Sasha Ehrenstein des Sturmkrieg Sector (Talk) (Contr) 06:51, 18 February 2013 (UTC)[reply]
Marking as Yes Done since it seems that nobody is opposed to it after this being open for almost 2 months. --Skizzerz 07:02, 14 March 2013 (UTC)[reply]

User:Rschen7754

Requested user-rights: Autochecked user.

I am part of the m:SWMT and do a bit of RC patrol here, and this right would reduce the backlog on patrollers. I am an administrator on the English Wikipedia, Test Wikipedia, and Outreach Wiki and a temporary admin on Wikidata and the English Wikivoyage. --Rschen7754 09:19, 29 January 2013 (UTC)[reply]

Yes Done, trusted user. I assigned you the editor flag, it can be more useful for you (to patrol RC better) than the autochecked right (that is normally reserved to the stewards). --Frigotoni ...i'm here; 10:03, 29 January 2013 (UTC)[reply]
Thank you! --Rschen7754 10:04, 29 January 2013 (UTC)[reply]
The autochecked right is in no way whatsoever reserved for stewards. --Krenair (talkcontribs) 15:51, 29 January 2013 (UTC)[reply]
Krenair: Yes, but it is preferable assigning the editor right (instead of the autochecked one) to the SWMT members in order to patrol RC better. To those who are not extremely active, or don't need the review right, autochecked flag is normally granted (eg. stewards, GS...). Most stewards in fact, are not supposed to edit so much here (being active globally)--Frigotoni ...i'm here; 08:50, 30 January 2013 (UTC)[reply]

User:Ocaasi

Requested user-rights: Administrator.

I'm Ocassi, an English Wikipedia editor and administrator, and I have been involved seriously with Wikimedia since about 2008. I have about 25,000 edits mostly to English Wikipedia. Among my main projects are creating help guides, assisting new editors through OTRS, and creating/overseeing partnerships with organizations (like The Wikipedia Library). My particular reason for administrator rights is to explore the new Guided Tours functionality to further a project on new editor orientation called The Wikipedia Adventure. I'd like to be able to create my own tours and experiment with those features to see how they could be used or integrated into a teaching game for new editors. I'm not a developer or coder generally, so I would be very hesitant to play work outside of this specific area. I do think I Guided Tours are accessible however for my level of expertise. Thanks! Ocaasi (talk) 18:37, 8 February 2013 (UTC)[reply]

Weak oppose - MediaWiki.org is not supposed to be a place for people to play around with features. --Krenair (talkcontribs) 20:56, 8 February 2013 (UTC)[reply]
This is for explicit instructional purposes centered around an organized project on English Wikipedia. I just meant I'm not going to muck around outside of Guided Tours, as I have no expertise in MediaWiki generally. Ocaasi (talk) 21:43, 8 February 2013 (UTC)[reply]
Is there a specific reason why you cannot use testwiki or test2wiki?--Jasper Deng (talk) 00:30, 9 February 2013 (UTC)[reply]
To my understanding, at least according to the WMF Editor Engagement Experiments team (E3), creating new tours is only possible on MediaWiki, and with administrator rights. That's what it says here and also here. Ocaasi (talk) 01:34, 9 February 2013 (UTC)[reply]
I think that is MediaWiki Namespace, not MediaWiki wiki. and Extension:GuidedTour is not installed in MediaWiki wiki--Shanmugamp7 (talk) 02:24, 9 February 2013 (UTC)[reply]
And it is installed in both of the test wiki's testwiki:Special:Version test2wiki:Special:Version, --Shanmugamp7 (talk) 02:34, 9 February 2013 (UTC)[reply]

That would explain a major misunderstanding on my part. If all that is so I will kindly retract my request for administrator rights. Sorry for the misunderstanding. Ocaasi (talk) 03:43, 9 February 2013 (UTC)[reply]

Then N Not done (non-bureaucrat closure).--Jasper Deng (talk) 05:58, 9 February 2013 (UTC)[reply]

User:DGideas

Requested user-rights: Autochecked user.

I'm a editor with rollback and patrol rights in Chinese Wikipedia.I want to translate some docs.

DGideas (talk) 07:52, 11 February 2013 (UTC)[reply]

I'd like to see some more Contributions from you on this wiki before granting you the permission, In my opinion one edit is not enough--Shanmugamp7 (talk) 10:16, 11 February 2013 (UTC)[reply]
oh,It's ok .DGideas (talk) 10:54, 11 February 2013 (UTC)[reply]
Are you willing to contribute here?, if so we may leave this request open for some time.--Shanmugamp7 (talk) 16:35, 11 February 2013 (UTC)[reply]
N Not done Feel free to reapply later--Shanmugamp7 (talk) 01:59, 13 February 2013 (UTC)[reply]

User:MPelletier (WMF)

Requested user-rights: Editor.

Heyas. I only start officially on the 25th, but I'd like to start setting up some work pages by then; could someone hit me with the appropriate rights? (I don't see why I'd need admin now, but autoconfirmed and editor would be of use). My personal account is Coren, and I got all of one committed patch to Mediawiki (woo!) MPelletier (WMF) (talk) 22:25, 14 February 2013 (UTC)[reply]

Yes Done--Jasper Deng (talk) 02:07, 15 February 2013 (UTC)[reply]

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)[reply]

Yes Done --Krenair (talkcontribs) 00:28, 3 December 2012 (UTC)[reply]

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)[reply]

Yes Done, I've renamed Tine to Tine (usurped). You should be able to merge here now. --Krenair (talkcontribs) 00:36, 3 December 2012 (UTC)[reply]

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)[reply]

Yes Done, I've renamed Filo to Filo (usurped), you should be able to merge here now. :) --Krenair (talkcontribs) 17:41, 12 December 2012 (UTC)[reply]
Good news! Thank you! --Filo (talk) 17:58, 12 December 2012 (UTC)[reply]

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)[reply]

Yes Done --Skizzerz 21:17, 31 December 2012 (UTC)[reply]
Thanks --Dj (talk) 00:17, 1 January 2013 (UTC)[reply]

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)[reply]

Yes Done --Krenair (talkcontribs) 13:19, 2 January 2013 (UTC)[reply]

Olivier Beaton → ofbeaton

I'd like to use an account name instead of a full name to log in. Thanks! --Olivier Beaton (talk) 19:14, 9 January 2013 (UTC)[reply]

Yes Done. --Krenair (talkcontribs) 15:49, 16 January 2013 (UTC)[reply]

Jurgen1996 → JurgenNL

I'd like to change my username Jurgen1996 to JurgenNL for a global username. See here for confirmation. --Jurgen1996 (talk) 08:09, 18 January 2013 (UTC)[reply]

You probably could've just created a "JurgenNL" account(?), but Yes Done. You should be able to merge it by going to Special:MergeAccount --Krenair (talkcontribs) 12:30, 18 January 2013 (UTC)[reply]

Kontos → Sanyi4

Both "Kontos" and "Sanyi4" belong to me. I would like "Kontos" to be renamed to "Sanyi4", so that I can attach it to my global account. Confirmation: [1]. Thanks. Kontos (talk) 18:05, 3 February 2013 (UTC)[reply]

Yes Done. Thanks for the very clear confirmation message. --Krenair (talkcontribs) 18:14, 3 February 2013 (UTC)[reply]

Fran McCrory → Fran Rogers

Changing my surname back IRL. Need to re-usurp my former username. - Fran McCrory (talk) 06:32, 16 February 2013 (UTC)[reply]

Yes Done. I think I ended up moving your subpages around a bit more than I needed to, but everything should be in the right place now. —Emufarmers(T|C) 04:45, 19 February 2013 (UTC)[reply]

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)#Keep gadgets central 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="</"+f+">";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:User:Remember the dot/Syntax highlighter be copied to User:Remember the dot/Syntax highlighter.
  3. MediaWiki:Gadget-DotsSyntaxHighlighter be created with
    * [[User:Remember the dot/Syntax highlighter|Dot's syntax highlighter]], make syntax stand out colorfully in the edit box. Works best in [[Mozilla Firefox|Firefox]], works almost all of the time in [[Opera (web browser)|Opera]], and works most of the time in [[Google Chrome|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#Syntax highlighter about getting this onto the English Wikipedia. —Remember the dot (talk) 21:43, 25 November 2012 (UTC)[reply]

I've done #2, though you could've done it yourself. For #1, can we please not use minified JS? --Krenair (talkcontribs) 21:51, 25 November 2012 (UTC)[reply]
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)[reply]