Open main menu

Wikipedia:Village pump (technical)

 Policy Technical Proposals Idea lab Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bug reports and feature requests should be made in Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).

Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk.

Frequently asked questions (FAQ) (see also: Wikipedia:FAQ/Technical)
Click "[show]" next to each point to see more details.
If something looks wrong, purge the server's cache, then bypass your browser's cache.
This tends to solve most issues, including improper display of images, user-preferences not loading, and old versions of pages being shown.
Font size changed unexpectedly?
You may have accidentally changed the font size on your browser for a particular website by pressing a shortcut key or scrollwheel without realising it. Try resetting the zoom with Ctrl+0 (typing the digit zero while holding down the control key) or adjusting the zoom with Ctrl++ or Ctrl+-. Alternatively, look for the View option on your browser's menu and reset it to 100%.
No, we will not use JavaScript to set focus on the search box.
This would interfere with usability, accessibility, keyboard navigation and standard forms. See bug 1864. There is an accesskey property on it (default to accesskey="f" in English), and for logged in users there is a gadget available in your preferences.
No, we will not add a spell-checker, or spell-checking bot.
You can use a web browser such as Firefox, which has a spell checker.
If you have problems making your fancy signature work, check Wikipedia:How to fix your signature.
If you changed to another skin and cannot change back, use this link.
Alternatively, you can press Tab until the "Save" button is highlighted, and press Enter. Using Mozilla Firefox also seems to solve the problem.
If an image thumbnail is not showing, try purging its image description page.
If the image is from Wikimedia Commons, you might have to purge there too. If it doesn't work, try again before doing anything else. Some ad blockers, proxies, or firewalls block URLs containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear.
Numbers listed in parentheses in the "Recent changes" section, on history pages and in your watchlist are the number of added or removed bytes.
For server or network status, please see Wikimedia Metrics.
« Archives, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174


Watchlist not being marked readEdit

So sometime over last night my watchlist behavior changed, and the nodes on the side won't change from green to grey after I visit the diffs like they usually do. The marked pages as read seems to work, though. I do have some custom CSS which I know might be an issue, and am using Monobook, but it is extremely useful to know if I missed anything when I go through my list. ♫ Melodia Chaconne ♫ (talk) 12:38, 2 May 2019 (UTC)

Not caused by your custom CSS, being looked at in phab:T218511. – Ammarpad (talk) 14:35, 2 May 2019 (UTC)
I hope it's sorted soon. Today I saw a page on my watchlist with new edits not marked as new. It's the first time I've noticed this; it's generally been the problem described above. This behaviour's described on the phabricator page as well. BlackcurrantTea (talk) 04:05, 3 May 2019 (UTC)
I've been having this and related problems on and off since mid-March. See here for past discussion. I hope this all gets done with soon. —Granger (talk · contribs) 11:46, 3 May 2019 (UTC)
Yes, I'm seeing it again too now, with the added benefit of changed, unseen pages showing up without bold. It's kinda insane this is STILL an issue six weeks later! —Joeyconnick (talk) 03:42, 5 May 2019 (UTC)
  • Sigh. And now bolded and non-bolded entries are entirely random. GMGtalk 12:18, 3 May 2019 (UTC)
Melodia, I'm getting pages showing I've visited since the last change when it's not true. --valereee (talk) 18:09, 4 May 2019 (UTC)
I get this too. – Tea2min (talk) 06:40, 5 May 2019 (UTC)
My watchlist is buggered too, exactly as described above, but that Phabricator report is weeks old, and my issue only started a couple of days ago.Roxy, the dog. wooF 14:27, 5 May 2019 (UTC)
It seems that it was related to whatever update included a time stamp on the "view new changes" button. Or maybe that's just a coincidence. At any rate, it's a problem across all projects, and not just the English Wikipedia. GMGtalk 14:46, 5 May 2019 (UTC)
The issue with Firefox certification made teh Internetz unusable for me yesterday. Mozilla script kiddies fixed that quite quickly. Could WMF poach some of the Mozilla nerds to help? Roxy, the dog. wooF 14:52, 5 May 2019 (UTC)
As noted above, the issue has been affecting some users (including me) since March, so something else must be involved with the problem. isaacl (talk) 17:26, 5 May 2019 (UTC)
Started happening for me a few days ago too - David Gerard (talk) 17:36, 10 May 2019 (UTC)
Seems to have stopped happening for me now - David Gerard (talk) 19:35, 13 May 2019 (UTC)
Just started again for me. —Joeyconnick (talk) 05:23, 14 May 2019 (UTC)
I have these two gadgets enabled: "Display green collapsible arrows and green bullets for changed pages in your Watchlist, History and Recent changes (unavailable with the improved Watchlist user interface)"; "Display pages on your watchlist that have changed since your last visit in bold (see customizing watchlists for more options)". Both have been misbehaving for several weeks now. But interestingly, there was an occasion a day or two back when the Wikimedia servers were slow, and not all of the JavaScript and CSS was being sent back to me. During that period, the Watchlist was behaving as it should: unread posts were boldfaced with a green bullet; read posts were normal weight with a blue-grey bullet. Once the servers were back to speed, the misbehaviour resumed. I conclude that for each of the gadgets, there are two different scripts that have different effects that conflict with one another. --Redrose64 🌹 (talk) 16:21, 14 May 2019 (UTC)
Perhaps we'll find out later this week. According to the Phabricator page this week's MediaWiki release fixes it. In the meantime I'm thinking of my watchlist as one of those irritating online shops where they keep suggesting the same items, whether or not you've seen them ('Other editors who read Village pump (technical) were interested in...'). BlackcurrantTea (talk) 16:59, 14 May 2019 (UTC)
Still not fixed. Someone's posted about it on Phabricator; the task is still marked as resolved, and I can't tell if anyone's opened a new one. BlackcurrantTea (talk) 18:06, 17 May 2019 (UTC)
Yes, it's still broken. Read items still marked as unread. I don't know what the "Closed, Resolved" status means: either it's fixed in the code but not deployed on the servers yet, or it's already deployed, but then it means the fix does not fix it, and therefore the bug should be reopened.—J. M. (talk) 21:06, 18 May 2019 (UTC)

Redirect page tab behaviorEdit

The "Article" tab on a redirect Talk page should go to the article, not to its redirect target.

The "Talk" and "Article" tabs should be a toggle: click one, and it should go to the other. Practically anywhere else in the encyclopedia, this is the case: if I'm on a Talk page of some article or project page, and click the "Article" or "Project page" tab, I go to the accompanying article, or Project page. Not so with redirect Talk pages, however. If I'm at Talk:This is a redirect page and I click the "Article" tab, it does not go back to the article, it goes to the target of the redirect. Not what I wanted. If I want the target page, I know how to get there.

I'd like to see this behavior changed. My guess is, a large majority of the time, someone on a Talk redirect page clicking the Article tab, wants to go back to the redirect article, not to the redirect target. If there's some legacy reason to keep this as the default behavior, then please at least offer an option in WP:Preferences to check a box assigning the "Article" tab (and "Project page" tab) to the article/project page, instead of to its redirected target page. Or, maybe some javascript whiz can cook something up for commons.js. Thanks, Mathglot (talk) 02:20, 9 May 2019 (UTC) {{ping}} please.

Hi, @Mathglot: I believe this belongs to where you first posted it; that is VPT, as it's more a technical decision than a social one. This is not something ideal for a preference setting but you can ask at Wikipedia:User scripts/Requests if someone is willing to write some script for this. The task phab:T5324 was asking the same thing and was declined because if this is implemented there's no way to go directly to the target page without manually editing the URL, among other reasons. – Ammarpad (talk) 04:34, 9 May 2019 (UTC)
Thanks! See WP:US/R#Redirect page tab behavior. Mathglot (talk) 06:23, 9 May 2019 (UTC)
@Mathglot and Ammarpad: I've reopened the Phabricator issue because I found the original reasons for the close didn't seem to directly address what changing this behavior would affect. For convienance, I'll include the main body of the comment I posted on the Phabricator ticket:

As far as I can tell, there is no advantage to immediately going to the target page after switching to the Page or Read tabs. One can only access these tabs from other tabs, and when I am in the Edit, Talk, or History tab, I am already examining the redirect in more detail, usually in preparation for editing it. In fact, I cannot think of a single instance where I wanted to go directly to the target page when I clicked on the Page or Read tab.

While this can easily be partly solved by the user script posted here, I still think it would beneficial if this was the core behavior. This would also make the interface more consistent; one is not taken to a redirect page's target after saving and editing, so I think the the Page and Read tabs should behave the same.

I don't know if reposting here is technically correct, since the VPT header says Bug reports and feature requests should be made in Phabricator, but I thought I would move it here from the proposals page so any potential further on-wiki discussion can be done here. eπi (talk | contribs) 01:38, 10 May 2019 (UTC)
@Mathglot and Ammarpad: Fix ping. eπi (talk | contribs) 01:40, 10 May 2019 (UTC)
According to Help:Redirect and my own experience, when a redirect is followed, a link to the redirect itself is just below the title. So it's one click away. DMacks (talk) 01:53, 10 May 2019 (UTC)
DMacks If it's scoped to the main article, that works fine, but if it's section scoped, it gets annoying (you may end up scrolling up the page significantly). So it's not always one click when going to the target page. But it's always one click away to the target page when one is at the redirect itself. eπi (talk | contribs) 02:00, 10 May 2019 (UTC)
Good point. There have been proposals over the years to have the window decorations (header/tabs and left-column toolbox) frozen and only the article itself in a scrolling pane. That would resolve the section-link "I have to press the 'home' key or scroll up" situation. I think there is also a gadget that places a "home" link in each section-header line. DMacks (talk) 02:13, 10 May 2019 (UTC)
@DMacks: Also, I have a quick question: have you ever been at the Edit, Talk, or History tab of a redirect page and wanted to go to the redirect's target directly? eπi (talk | contribs) 02:05, 10 May 2019 (UTC)
Sure, if I'm at a talkpage of an article that was merge/redirected while looking for previous discussion of a certain bit of article content, I then want to look at the current article content (follow redirect) or the history at the time of that discussion (History tab of the redirect), not at the redirect itself. If I'm editing a redirect, I sure want easy access to its target so I can work on extracting a self-contained section that has grown large enough to be a stand-alone. DMacks (talk) 02:13, 10 May 2019 (UTC)
I would agree that the intended behavior of the "Article" button, when on a talk/history page of a redirect, should be to link to the redirect itself. The number of times an editor wants to go directly from the redirect talk page to the redirect target is small compared to the number of times the editor wants to go to the redirect itself. This is not really a technical issue, as the technical implementation is straightforward if there is consensus to change the behavior, so I think VPP was probably a better venue. --Ahecht (TALK
) 22:02, 15 May 2019 (UTC)

Suggestion for a new toolEdit

I have a suggestion for a new tool. Short story: When you find an unsigned post like this, you activate the tool and it looks in the edit history to find the probable commenting user. After finding a possible match, it prompts the user for confirmation. We accept and it either tags it as {{unsigned||11:53, 11 May 2019‎}} or it properly formats the post by itself and maybe even sends a "please remember to sign your posts with four tildes" notice. The automatic signing bot doesn't always work and when I encounter these in the wild I have to do a bunch of copy/pasting and editing just to get someone's post set up right. Thanks! Cyphoidbomb (talk) 05:38, 12 May 2019 (UTC)

@Cyphoidbomb: User:Anomie/unsignedhelper does part of this. -- John of Reading (talk) 06:25, 12 May 2019 (UTC)
The "automatic signing bot" is SineBot (talk · contribs), which doesn't always work because it is down at the moment (I don't know whether Slakr (talk · contribs) is aware, but this mention should notify them). Also, {{unsigned}} is not the best one for IP addresses - for IPs, use {{subst:unsignedIP||11:53, 11 May 2019‎}}; for logged-in users, use {{subst:unsigned|Example|11:53, 11 May 2019‎}} - please also note the presence of subst: in both cases. --Redrose64 🌹 (talk) 11:53, 12 May 2019 (UTC)
You can also use {{subst:xsign|11:53, 11 May 2019‎}}, which lets you copy and paste the time/IP string directly from the edit history, and automatically detects whether or not it is an IP address. --Ahecht (TALK
) 14:10, 14 May 2019 (UTC)

Pseudo-heading or acceptable dlist?Edit

In List of shooting sports organizations we have markup like this:

Markup Renders as
* [[IPSC Indonesia]], international member of [[International Practical Shooting Confederation|IPSC]].
* [[Indonesian Target Shooting and Hunting Association]], international member of [[International Shooting Sport Federation|ISSF]].

* [[Shooting Federation Islamic Republic of Iran]], international member of [[International Shooting Sport Federation|ISSF]].

* [[Iraqi Shooting Federation]], international member of [[International Shooting Sport Federation|ISSF]].

* [[Israel Shooting Federation]], international member of [[International Practical Shooting Confederation|IPSC]] and [[International Shooting Sport Federation|ISSF]].

* [[IPSC Japan]], international member of [[International Practical Shooting Confederation|IPSC]].
* [[National Rifle Association of Japan]], international member of [[International Shooting Sport Federation|ISSF]].
* [[Japan Clay Target Shooting Association]], international member of [[International Shooting Sport Federation|ISSF]].

Is that an acceptable description list or should it be regarded as a pseudo-heading? Sam Sailor 05:54, 13 May 2019 (UTC)

It appears there's not any technical problem with the heading itself, so the best place to discuss this is at the talkpage of the article or talkpage of Accessibility MOS: Wikipedia talk:Manual of Style/Accessibility. – Ammarpad (talk) 06:01, 13 May 2019 (UTC)

That copy is inappropriate for two reasons at least: It mixes actual list types, and WP:LISTGAP. If you want to have these be description lists, you would need to do something like:

Markup Renders as
:* [[IPSC Indonesia]], international member of [[International Practical Shooting Confederation|IPSC]].
:* [[Indonesian Target Shooting and Hunting Association]], international member of [[International Shooting Sport Federation|ISSF]].

(Note I removed the colon directly after the term, instead placing it on the next line to make intent clear.)

The list gap piece is trivial when you've decided how to do your list; that's fixing it so that there are not spaces between the terms and descriptions:

Markup Renders as
:* [[IPSC Indonesia]], international member of [[International Practical Shooting Confederation|IPSC]].
:* [[Indonesian Target Shooting and Hunting Association]], international member of [[International Shooting Sport Federation|ISSF]].
:* [[Shooting Federation Islamic Republic of Iran]], international member of [[International Shooting Sport Federation|ISSF]].

I am on the fence about whether this is an appropriate kind of description list. I tend toward no, but you should invite others to discuss here (per WP:MULTI) from WP:Accessibility and/or WP:WikiProject Accessibility to see if they agree. --Izno (talk) 12:51, 13 May 2019 (UTC)

  • This doesn't appear to be a technical issue, just an editorial one (how to style an article) - there are better venues than VPT (the article's talk page, a MOS page, etc) to hash this out. — xaosflux Talk 13:21, 13 May 2019 (UTC)
    Not really. There are two technical questions and the style question even though asked only as a single question; the former two I answered, but regardless, we should not split the discussion now that we're having it here (so it could be moved wholesale if interested). --Izno (talk) 13:57, 13 May 2019 (UTC)
    @Izno: can you clarify the technical issues, along the lines of "What were you expecting and what was the actual result" ? — xaosflux Talk 14:02, 13 May 2019 (UTC)

@Izno: It looks like you're still getting a listgap in there, apparently MediaWiki gets confused when the last colon line before a semicolon line has nested lists. It's easy enough to work around though by including an empty colon line:

Markup Renders as
:* [[IPSC Indonesia]], international member of [[International Practical Shooting Confederation|IPSC]].
:* [[Indonesian Target Shooting and Hunting Association]], international member of [[International Shooting Sport Federation|ISSF]].
:* [[Shooting Federation Islamic Republic of Iran]], international member of [[International Shooting Sport Federation|ISSF]].

If you want to visualize listgaps, you could use something like User:Anomie/listgap.css. Anomie 12:17, 14 May 2019 (UTC)

Interesting. I wonder if that's worth a phab task. --Izno (talk) 14:05, 14 May 2019 (UTC)
phab:T223277. --Izno (talk) 14:10, 14 May 2019 (UTC)

excessive captchasEdit

For my last dozen or so edits I've been getting a captcha on every save, sometimes more than one, even though I'm not inserting any links. That wasn't happening earlier. Is something broken, is it a temporary setting because of a spambot running amuck somewhere, or what? Thanks. (talk) 06:47, 13 May 2019 (UTC)

Please provide diffs of the edits where this occurred; or at the very least, the names of the pages concerned. It might be that there is an external link elsewhere in the same section. --Redrose64 🌹 (talk) 10:17, 13 May 2019 (UTC)
There are external links in the same section, but you're only supposed to get a captcha if you try to add a link that wasn't already there. This was at WP:AN. (talk) 01:03, 14 May 2019 (UTC)
Is the problem still present? Did you get a captcha making this edit? Suffusion of Yellow (talk) 01:19, 14 May 2019 (UTC)
I don't think I had a problem with that one, but it is intermittent. I was able to save this current edit without it (i.e. I'll change this wording if I get a captcha). (talk) 02:07, 14 May 2019 (UTC)
Did it happen today on WP:AN? Suffusion of Yellow (talk) 02:09, 14 May 2019 (UTC)
I made a post on AN that inserted 2 new links, and I think I got 3 captchas. I made a later post that didn't add any links and don't remember with certainty whether there was a captcha for that one. (talk) 02:47, 14 May 2019 (UTC)
  •   Confirmed. I just tried (as Suffusion of Yellow alt 5) to make an edit to WP:AN#Administrators preventing me from having RfC about an Administrative action containing NO added links, and got a captcha. But edits to other pages, also containing existing links, saved with no issue. Strange. I wonder what's special about that page. Suffusion of Yellow (talk) 02:53, 14 May 2019 (UTC)
    @Suffusion of Yellow: if you can actually make the edit past the captch, and let us know the Diff, we can examine it in more detail. — xaosflux Talk 03:37, 14 May 2019 (UTC)
    @Xaosflux: I got a captcha for Special:Diff/896996976. I think it's the IPV6 address in {{ipvandal}}. Suffusion of Yellow (talk) 03:42, 14 May 2019 (UTC)
    @Suffusion of Yellow: http://<an ip address> is "an external link", so that certainly could do it. — xaosflux Talk 03:45, 14 May 2019 (UTC)
    @Xaosflux: Except the external link was already on the page in that edit. The problem, I've figure out, is that http://<an IPV6 adddress> is not a valid URL at all. See RFC 2732. If I format the URL correctly, as http://[<an IPV6 adddress>], the problem goes away. So it looks like a bug in MediaWiki and a problem with {{IPvandal}}. Suffusion of Yellow (talk) 05:21, 14 May 2019 (UTC)
    This edit should fix {{IPvandal}} to generate a valid link. Anomie 13:04, 14 May 2019 (UTC)
    Wow, interesting. I have to sign off soon but I appreciate your looking into this. Thanks. (talk) 03:49, 14 May 2019 (UTC)

G13 – "missing parameter"Edit

I don't know what script or whatever determines whether a G13 is valid or not and gives a green OK if the last edit was more than six months before. So I don't know where to ask why it doesn't work in, for example, this case – it's not eligible, but the template reads "Missing parameter - Unable to calculate qualification to be deleted per WP:CSD#G13"? Can anyone shed any light? Justlettersandnumbers (talk) 18:34, 13 May 2019 (UTC)

I'd guess template talk:g13 to start. --Izno (talk) 18:58, 13 May 2019 (UTC)
@Justlettersandnumbers: It's the timestamp. Twinkle and YAAFCH take care of it, but this tagging was done manually, by just adding {{db-g13}} without a timestamp. The documentation for Template:Db-g13 should clear things up. ~ Amory (utc) 19:46, 13 May 2019 (UTC)
Thanks, Izno, Amorymeltzer! Yes, I should have thought to look at the template documentation, but had not expected to find script documentation there too. So, does any of that work on mobile? We have a new(ish) user who seems to have chosen G13 as a career path, and I'd quite like to be able to guide him/her towards a better way of going about it – if there is one, that is. Justlettersandnumbers (talk) 20:06, 14 May 2019 (UTC)
Dunno what you mean about script documentation. I don't think either works well on mobile, they'd have to enter the ts manually I guess? ~ Amory (utc) 20:52, 14 May 2019 (UTC)


I'm sorry if this is the wrong place to ask, but I've so far failed to get help elsewhere. I'd really appreciate if someone who's good with templates could take a look at my proposed changes to {{lang-he-n}} (See Template talk:Lang-he-n § Idea: select version without niqqud) and give me some comments. Thank you in advance!   Psiĥedelisto (talk) 03:51, 14 May 2019 (UTC)

Psiĥedelisto, I suggest raising that at Template talk:Lang, where at least two {{lang}} experts are active contributors. Justlettersandnumbers (talk) 20:12, 14 May 2019 (UTC)

Firefox glitch?Edit

It seems that anytime I use an indent/endash/bullet point, a space gets somehow added without me intending to. See 1 or 2 as an example. Using Firefox 66.0.2. YE Pacific Hurricane 23:48, 14 May 2019 (UTC)

@Yellow Evan: are you using WP:WikEd? Headbomb {t · c · p · b} 00:36, 15 May 2019 (UTC)
Yes. YE Pacific Hurricane 01:24, 15 May 2019 (UTC)

Template helpEdit

Hi all,

I've recently been working on changing the {{32TeamBracket-WSC2}} template from it's current form to one that uses named parameters to complete scores such as at 2019 World Snooker Championship. There's been a few WP:ACCESS issues, however I believe these to be at least in part fixed.

The issue I'm having, is that this template won't work for all championships. Whilst the number of frames for the final is somewhat static (it's been best of 35 frames since 1979); the sessions can have less/more frames than what is standard. It's supposed to be 8-9-8-10, however, some years certain sessions have overrun, and had different amounts (such as in 2016, where the third session only played 7 frames).

My question is, how would the best way to make a table such as the one that shows here as fluid like this. What my thoughts were, to have a parameter for each session, that said how many frames were supposed to be played in that session, and it would make the table fit those amounts of frames.

Please let me know if this makes any sense, as I realize it's a confusing question. Best Wishes, Lee Vilenski (talkcontribs) 08:14, 15 May 2019 (UTC)

How do I login to the WIKI using the API?Edit

Naturally specification closely studied. I tried both Method 1 and Method 2.

In the first case, he writes: "Fetching a token via "action=login" is deprecated."

In the second case: "Invalid CSRF token".

How do I log in to the MediaWiki API? Are there examples? MaxiFix (talk) 10:17, 15 May 2019 (UTC)

@MaxiFix: You can use
to get a login token, but as for actually using it and logging in; nobody knows :-) We're all plebeians here. If I figure it out, I'll let you know. Good luck. Guywan (talk) 15:39, 15 May 2019 (UTC)
MaxiFix, Method 1 only works with Special:BotPasswords. And you need to use a user-agent to keep track of the cookies. Tokens are available as described by Guywan. But what is it that you want to do ? Because the usecase should dictate if you use method 1, method 2 or an OAuth grant. —TheDJ (talkcontribs) 20:34, 15 May 2019 (UTC)

Cropping an imageEdit

Is there a way to show only a cropped portion of an image in an article?

In Derivative work, I have added a captioned, already-existing image, File:Marcel Duchamp, 1919, L.H.O.O.Q.jpg. For this article, I want to crop and zoom that image to eliminate the large whitespace border around the image, to ... make the Mona Lisa's mustache more obvious. The existing image is 800x1033 in size, and I'd want roughly the center 70% of the image, about 560x723. I was hoping there's an image template that lets me supply arguments for cropping, whether in pixel units or percentages.

The brute force method would be for me to download the image, crop it myself, and upload it under another name, duplicating the justification information from the original; but I was hoping there was a more elegant solution. I think a technical solution already exists at some level on Wikipedia, as when I mouse over the link derivative work, the image in the popup has clearly been cropped a bit around the edges (at least in my browser). On Sober Reflection (talk) 17:50, 15 May 2019 (UTC)

Yes; the {{Annotated image}} template can do it. The instructions are at Template:Annotated image#Cropping. In most circumstances, it's actually preferable to upload a separate image cropped as appropriate, as it makes it easier to translate the article into other languages which won't necessarily have a local equivalent of the template. ‑ Iridescent 17:57, 15 May 2019 (UTC)
@On Sober Reflection: {{CSS image crop}} also has this functionality. — xaosflux Talk 17:59, 15 May 2019 (UTC)
Also, if you are dealing with a free image, you can easily crop on Commons with commons:Commons:CropTool. — xaosflux Talk 18:01, 15 May 2019 (UTC)
CropTool overwrites the existing image, though; as I understand the question, it's "how do I display only a portion of the image without either uploading a second version, or permanently changing the existing image?". ‑ Iridescent 18:09, 15 May 2019 (UTC)
Iri It only overwrites if you tell it to, and most of the time you shouldn't per c:COM:OVERWRITE. GMGtalk 18:37, 15 May 2019 (UTC)
Yup, it is easy enough to make a new file, and it copies all the description/licensing for you as well (example here). — xaosflux Talk 18:54, 15 May 2019 (UTC)
Regarding {{CSS image crop}}, you can try to do the reverse of this edit. But with a different pic, of course --Redrose64 🌹 (talk) 19:15, 15 May 2019 (UTC)

From the plebs to the devsEdit

script execution orderEdit

One would expect imported scripts to execute in a linear fashion (or at least I did), but this does not appear to be so. How does one force the execution order of scripts imported into common.js (or other)? For reference, this is basically what I'm doing in my common.js:


Regards, Guywan (talk) 13:19, 16 May 2019 (UTC)

So, you could do this by using the ResourceLoader function of Mediawiki--which incidentally you should switch to anyway, because importScript is deprecated. mw.loader.getScript provides a means to load a script, and also provides a callback for when loading is done; you'd basically daisy-chain the callbacks. Like this:
mw.loader.getScript('/w/index.php?title=User:Foo/bar.js&action=raw&ctype=text/javascript').then( function () 
  mw.loader.getScript('/w/index.php?title=User:Foo/shoosh.js&action=raw&ctype=text/javascript').then(function ()
If I may ask, though; why do you want them to run sequentially? Writ Keeper  13:27, 16 May 2019 (UTC)
I don't, really. I was importing two scripts that added links to the Tools section of the sidebar, and sometimes the links would be in a different order. So, I was wondering if there was a way to prevent this. Thanks for the help! Guywan (talk) 17:57, 16 May 2019 (UTC)
@Writ Keeper: forgotten ping. Guywan (talk) 18:01, 16 May 2019 (UTC)

new linesEdit

Also, completely unrelated: Is there a character code for inserting newlines into wiki pages? Regards, Guywan (talk) 13:19, 16 May 2019 (UTC)

@Guywan: it really depends on what you are trying to do, can you show an example of where you need a newline? The direct html code <br /> could be used in some cases, however we mostly try to avoid it in articles. — xaosflux Talk 14:34, 16 May 2019 (UTC)
Thanks,   Xaosflux:. Hopefully this might clear it up.

Hello, World!



In the second example, what invisible character did the parser read that told it to insert a line-break, and how can I insert it programmatically? Regards, Guywan (talk) 17:57, 16 May 2019 (UTC)
Programmatically in what context? A JS user script? You can put a new line through the standard \n character within a string. For example: the call new mw.Api().newSection("User:Writ Keeper/sandbox","test","test\n\ntest"); led to this edit, newlines included. Does that help? Writ Keeper  18:13, 16 May 2019 (UTC)
The parser wraps double \n\n characters as paragraphs. Single \n characters are included in the same paragraph tag. The "Magic" character is a \n.--Jorm (talk) 18:20, 16 May 2019 (UTC)
Thank you, @Writ Keeper and Jorm:. This helps very much. The problem was I only used a single \n, and not seeing what I wanted, assumed \n was stripped. Guywan (talk) 16:37, 18 May 2019 (UTC)

Can someone generate a new list for Wikipedia:Templates with red linksEdit

Wikipedia:Templates with red links lists all templates containing red links, but has not been updated in eight years. Can someone generate a new list? The existing subpages (Wikipedia:Templates with red links/001 through Wikipedia:Templates with red links/150) can be overwritten. Cheers! bd2412 T 23:09, 16 May 2019 (UTC)

  • @Pppery: can do a database dump probably? -qedk (t c) 20:56, 18 May 2019 (UTC)
    @QEDK: What do I have do do with this? * Pppery * survives 20:57, 18 May 2019 (UTC)
    @Pppery: I saw you do a query over at Quarry, so I thought you could help BD2412 with fetching this. That was quick! --qedk (t c) 20:59, 18 May 2019 (UTC)

Template:Infobox song contest entryEdit

Template:Infobox song contest entry has double bold in parameter "Name" in embded version. Template is protected and only template editors and administrators can edit it. Eurohunter (talk) 08:35, 17 May 2019 (UTC)

Template:Infobox song contest entry has no Name or name parameter. Click the "View source" tab to submit an edit request to a protected page. Clearly state which change you want. If you are thinking of the song parameter then the double bolding may be deliberate to indicate that the below headings are subheadings for song and not for the parent infobox. PrimeHunter (talk) 09:53, 17 May 2019 (UTC)

A "special" page is taking a very long time to loadEdit

I just visited my bookmarked site to check contributions by new users, but it is way too slow to respond for some reason; I reloaded the page a couple of times, even with a different ISP, but it didn't help.

The page is Special:Contributions; it responds instantly, but if I add these two parameters: contribs=newbie&target=newbies, it takes roughly 40 seconds to load, which is absurd.

If you'd like to help, please let me know if you can reproduce the issue: link with the said parameters added. Thanks. —RainFall 11:30, 17 May 2019 (UTC)

  • @RainFall:   Confirmed I got this error: PHP fatal error: entire web request took longer than 60 seconds and timed out. Must be quite an intensive request. Guywan (talk) 12:12, 17 May 2019 (UTC)
  • There's phab:T137478; filtering recent changes by new users is much faster ([1]). Galobtter (pingó mió) 17:25, 17 May 2019 (UTC)
The Special:Contributions&contribs=newbie&target=newbies worked fine until about 10 days ago when I started getting the same problem as User:RainFall. The phab task to remove this option as I see it is not a good idea despite the ability to get pretty much the same information via Special:RecentChanges. Nthep (talk) 17:51, 17 May 2019 (UTC)
Nthep, ok. so you have a patch to make the thing magically faster ? —TheDJ (talkcontribs) 21:27, 17 May 2019 (UTC)
I wish. Although the same link on Commons continues to be rapid. I accept that the load here is greater but something must have been changed to make the performance degrade so badly. Nthep (talk) 21:34, 17 May 2019 (UTC)

Talk pages consultation: Phase 2Edit

All my contributions today say "Tag: PHP7"Edit

It's annoying. Is there a fix?— Vchimpanzee • talk • contributions • 21:19, 17 May 2019 (UTC)

@Vchimpanzee: Go to the beta features page in Special:Preferences and verify that a) "enable all new beta features by default" is turned off and b) "use php7" is turned off. That aside, using PHP7 is not a bad thing, and there isn't really a reason for you to be annoyed. --Izno (talk) 21:25, 17 May 2019 (UTC)
Izno, the beta mode has just been removed, and now gradually more and more people will be switched over. —TheDJ (talkcontribs) 21:26, 17 May 2019 (UTC)
:O --Izno (talk) 21:27, 17 May 2019 (UTC)
Vchimpanzee, everyone is slowly being moved over to PHP7. This tag will be in place until everyone is moved over to php7. So this means you are in the group of the lucky few who have already moved over. Nothing to worry about. —TheDJ (talkcontribs) 21:25, 17 May 2019 (UTC)
As long as the tag stops appearing eventually.— Vchimpanzee • talk • contributions • 21:39, 17 May 2019 (UTC)

What is "php7"? DuncanHill (talk) 23:01, 17 May 2019 (UTC)

See PHP. -- WOSlinker (talk) 23:06, 17 May 2019 (UTC)
I did and it seems to be written for people who already know what the article is telling them, rather than for people who don't. DuncanHill (talk) 23:08, 17 May 2019 (UTC)
mw:Beta Features/PHP7#I am a non-technical user. What does this mean?: "Hopefully nothing. This is about changing the software used to run the wiki's code. Ideally, you should notice no real difference." PrimeHunter (talk) 23:44, 17 May 2019 (UTC)
MediaWiki, the software that runs Wikipedia, is written in a language called PHP. For a while, there were two ways for servers to run the PHP code: the default engine called Zend and an alternate method called HHVM. Wikimedia used HHVM because it was faster. A few years ago, HHVM decided that it would only support a specific style of PHP after PHP version 5. MediaWiki is not written in that style, so the developers decided to switch back to Zend. Zend had also become faster than HHVM. This change was first made as a beta feature to make sure nothing broke, but is now being rolled out on a larger scale to test it with more users. TL;DR: What PrimeHunter said. --AntiCompositeNumber (talk) 23:55, 17 May 2019 (UTC)
Thanks, that's the sort of explanation I was looking for. DuncanHill (talk) 23:58, 17 May 2019 (UTC)
@Vchimpanzee and DuncanHill: If you look at the history of many pages (such as this one), the contribs of some users like Vchimpanzee (talk · contribs), your warchlist or indeed this diff, you'll see that "(Tag: PHP7)" has two links. Click the second one. --Redrose64 🌹 (talk) 18:39, 18 May 2019 (UTC)

Talk pages consultation 2019 – phase 2Edit

The Wikimedia Foundation has invited the various Wikimedia communities, including the English Wikipedia, to participate in a consultation on improving communication methods within the Wikimedia projects.

Phase 2 of the consultation has now begun; as such, a request for comment has been created at Wikipedia:Talk pages consultation 2019/Phase 2. All users are invited to express their views. Individual WikiProjects, user groups and other communities may also consider creating their own requests for comment; instructions are at mw:Talk pages consultation 2019/Participant group sign-up. (To keep discussion in one place, please don't reply to this comment.) Jc86035 (talk) 14:48, 18 May 2019 (UTC)

Caps lockEdit

About a week ago, my computer started locking on all-capital letters when I capitalize a letter, but only when I'm typing in an English Wikipedia edit box--not in the edit summary box, and not in French Wikipedia or Wiktionary or non-Wiki sites. How do I turn off the automatic caps lock? (I'm using an iPad.) Loraof (talk) 15:41, 18 May 2019 (UTC)

This is a known issue, of which the cause has not been fully tracked yet. —TheDJ (talkcontribs) 16:25, 19 May 2019 (UTC)



I managed to mess up the AFD that I started here Wikipedia:Articles for deletion/List of tragedy films and TV programs. If someone can fix my error it will be most appreciated. MarnetteD|Talk 17:56, 18 May 2019 (UTC)

What's wrong with it? --Redrose64 🌹 (talk) 18:29, 18 May 2019 (UTC)
Nothing now. Thanks to QEDK for fixing it. MarnetteD|Talk 18:33, 18 May 2019 (UTC)
@MarnetteD: It was just an external link that you wikilinked accidentally, which broke the substitution, all fixed now! --qedk (t c) 18:47, 18 May 2019 (UTC)
D'oh! Thanks for letting me know QEDK. MarnetteD|Talk 18:51, 18 May 2019 (UTC)
That would just display brackets around the link: [this note]. The problem was mismatched brackets in [[ this note]. When source code is displayed in the rendered page, always look for something mismatched. PrimeHunter (talk) 20:12, 18 May 2019 (UTC)

watchlist too short againEdit

In order to see my watchlist for a date range of about a week or two, I had to edit the number of items to 10,000, which I did in the watchlist URL by editing "limit=1000" to "limit=10000". Apparently, this has been disabled, with efforts to set the limit to 10,000 or 5,000 causing a redirect to 1,000, resulting in my seeing only about 50 items. What it shows me should be 30 days, and I've tried 29.9 and 14, but no matter, it's showing only May 14-18. The earliest on May varies, but sometimes it's an item from 7:37a. The first time it was around 7:37, then it was later in the day, and now it's 7:37a. I tried editing "days=30" in the URL to 40, but that auto-redirected to 30, with the earliest item now being 16:43p on May 14.

Removing VP(T), which has a lot of edits, from my watchlist did not solve the date range problem.

I'm not bothered by the closing off of one kludge, but we need something, so what solution or kludge can I try now?

Nick Levinson (talk) 19:46, 18 May 2019 (UTC)

The max is 1000, AFAIK, per the Prefs->Watchlist screen. When I go away for a week, I have to go through my Watchlist namespace by namespace. It's yet another way of making life a little more difficult for WP power users. T10681 is related, in that it also makes it harder to catch up after multiple days away. – Jonesey95 (talk) 20:30, 18 May 2019 (UTC)
What would be nice is if the watchlist URL accepted a parameter like &offset=20190512223000 in its query string, the same way that user contribs and page histories do; even better if it also allowed &dir=prev. That way, when you have finished going through your watchlist, you would note the date and time time of the most recent edit that you have examined, and on return from hols, set the offset to the date and time that you had reached, and work forward from that point. --Redrose64 🌹 (talk) 21:48, 18 May 2019 (UTC)
Support all of the above. At the very least let's get rid of the limit for extended confirmed users or for the non-Javascript watchlist. I'm fairly sure I used to be able to see more than 1,000 pages before the new watchlist was rolled out. DaßWölf 04:12, 19 May 2019 (UTC)
@Daß Wölf: No, the "improved version of the Watchlist" moved from an opt-in beta feature to an opt-out live feature in July 2018; the 1000-change limit was introduced in August 2017. --Redrose64 🌹 (talk) 09:52, 19 May 2019 (UTC)

please fix Category treatment in watchlist (kludge is to exclude that)Edit

I found a kludge, not my favorite and with some possibilities not tested: Leaving settings at 1,000 items and 30 days and with no active filters, open the Namespaces menu and select to exclude Category. You don't even have to exclude Category Talk.

If filtering is to include Category only, I get May 15-18, but if I want articles and Category only, then I get May 14-18, but if I want articles only, I get April 18 to May 18. That means that including Category alters the date range for one or more other namespaces. Most of my tests produced April 20-May 18. The difference between April 18 and April 20 may be the 1,000-item limit, so that's probably not a fault.

But Category should not be truncating my watchlist. If it must, then please add an explanation to the page so we'll know to select namespaces accordingly.

Nick Levinson (talk) 00:12, 19 May 2019 (UTC)

I reported this as a bug to Wikimedia's Phabricator. Perhaps the other suggestions in this topic should be reported there, too; I'll leave that to other people at their discretion. Nick Levinson (talk) 01:09, 19 May 2019 (UTC)
Are you seeing edits like this "(diff | hist ) . . Category:Heist films‎; 17:51 ‎Gjs238 ( talk | contribs‎ ) (Category:Japanese heist films added to category)"? When I'm watching a category and someone adds/removes multiple pages from it, they all show up in the watchlist, not just the most recent change (regardless of whether I'm watching the pages which were added/removed from the category), so when someone makes a real flurry of edits like that it can swamp the watchlist. Perhaps you've watchlisted some very active categories and those changes are not showing up but still counting towards the 1,000 limit somehow. DaßWölf 04:33, 19 May 2019 (UTC)

Wikimedia Foundation ErrorEdit


I've been getting this error intermittently for the last hour or two. It seems to happen on some pages a lot more than others. For instance, I got it once on VP(T) while leaving a reply in the section above, but after getting my last edit saved I can't access Virtual reality sickness at all anymore. Oddly this only seems to be a problem in one browser, despite the page showing a 503 code (server error). (I wasn't logged in on the other browser I tried.) Anyone else seeing this? DaßWölf 04:21, 19 May 2019 (UTC)

  • Not just you. --qedk (t c) 08:04, 19 May 2019 (UTC)
  • It has been happening for days, on and off. - Sitush (talk) 08:06, 19 May 2019 (UTC)
    • I've seen it frequently in the last half hour, here and at Wikidata. The explanation on the error page about complicated templates doesn't fit the current error. If the revision history of this page loads several times without an error, and it hasn't changed, it shouldn't start producing error messages. Yet it did. BlackcurrantTea (talk) 08:29, 19 May 2019 (UTC)
  • Can confirm, happened to me in id.wikipedia as well. Vulphere 10:00, 19 May 2019 (UTC)
  • The issue is closed as resolved, if the issue persists (after the timestamp of the resolving comment only!), reopen the Phab ticket. --qedk (t c) 13:37, 19 May 2019 (UTC)

Magic wordEdit

Hello everyone, I'm from ckbwiki. I added this mediawiki page, but it doesn't work properly! Now what should i do to create {{SHORTDESC:description}} (The magic word) on our Wikipedia? Thanks! --ئارام بکر (talk) 17:26, 19 May 2019 (UTC)

@ئارام بکر: see phab:T184000 and related tasks. ckbwiki does not appear to have the shotdesc parser hook enabled (w:ckb:تایبەت:وەشان). — xaosflux Talk 17:36, 19 May 2019 (UTC)
@Xaosflux: but why? English wikipedia how did that? Why other wikipedias can't? I want to add the magic word in same way that enwiki did that. Any way? --ئارام بکر (talk) 19:04, 19 May 2019 (UTC)
@ئارام بکر: Using and changing the appropriate letter-code descriptions on Wikidata will do the same thing. Your wiki probably does not need the short description magic word. --Izno (talk) 19:46, 19 May 2019 (UTC)
@Izno: I know, but that gadget is more useful and easy than we go from ckbwiki project to wikidata and repeat again and again always. --ئارام بکر (talk) 23:04, 19 May 2019 (UTC)
Unless I'm missing something, that gadget makes a LOCAL description, it doesn't update the normally used wikidata entry. — xaosflux Talk 23:42, 19 May 2019 (UTC)
@ئارام بکر: I'll look into making the gadget work on other wikis (so you can edit the wikidata description without going to wikidata) while working on User talk:Galobtter/Shortdesc helper#Export to wikidata?; should be easy enough. Galobtter (pingó mió) 16:17, 20 May 2019 (UTC)

Page download speedEdit

The code for Wikipedia:Database reports/Indefinitely blocked IPs has a size of 1,784,147 bytes, and as it's basically a big chart with lots of text, I expect that the complete page size isn't significantly larger than that. (It has no images at all, except the little up-and-down arrows, and images present on all pages, like File:Wiki.png and File:Wikimedia-button-for-homepage.png.) Conversely, has a size of 27,717,239 bytes. Can anyone guess why the first page takes a lot longer to load than the second page? I just discovered the second page a few minutes ago; it's not as if I had it cached. And while Esri is an important player in its field (software for Web-mounted GIS), I suspect that their servers' speed and capacity are significantly less than Wikipedia's, with Alexa rankings of #7,072 and #5 respectively. And it's not just my computer; go to Wikipedia:Village pump (proposals)/Archive 158 and look for "Indefinitely blocked IPs" to see Galobtter's comment. Nyttend (talk) 21:06, 19 May 2019 (UTC)

PS, please note that Esri's self-hosted GIS sites tend to be mounted on, so I don't think the nature of the site would require them to have significantly faster servers. Nyttend (talk) 21:16, 19 May 2019 (UTC)

@Nyttend: Does the page still take a long time to load while you are logged-out? --AntiCompositeNumber (talk) 01:28, 20 May 2019 (UTC)
Interesting: it loads a lot faster, even though I have no scripts installed except one to hide a link in a certain infobox and another to give me the traditional "You have new messages" bar. Could it be the skin? I use Monobook. Nyttend (talk) 01:39, 20 May 2019 (UTC)
Nyttend, when you are logged in, you get a fully dynamically generated page, when you are logged out, you get a partially cached pre-rendered page which is slightly faster, but still not as fast as a fully pregenerated thing like a PDF. —TheDJ (talkcontribs) 10:53, 20 May 2019 (UTC)
Nyttend, they don't really compare. One is a website, the other a pdf. One is generated on the fly based on wikicode, the other is pre generated. —TheDJ (talkcontribs) 10:38, 20 May 2019 (UTC)
Hm, okay; I didn't realize that there was a difference from the server's perspective. I figured it sent me a bunch of 1s and 0s (about 14¼ million for the webpage and 221.7 million for the PDF), and once they'd all downloaded, the page was ready. Nyttend (talk) 11:03, 20 May 2019 (UTC)
Nyttend, yeah it's not like that. By that definition buying a factory printed book in the store vs having the store employee type over a book using a typewriter and handing you that copy would take the same time ;) —TheDJ (talkcontribs) 09:43, 21 May 2019 (UTC)
  • Both of them took negligible time for me, which means, it's a problem with your internet connection, browser, intermittent server-side problems, OS, or a combination of them (not an exhaustive list). --qedk (t c) 18:09, 20 May 2019 (UTC)

Tech News: 2019-21Edit

13:03, 20 May 2019 (UTC)

Major schema changes coming to database replicasEdit

On June 3 the _user and _user_text fields of revision, logging and a few other tables on the Toolforge replicas will be dropped, as part of the actor migration that has been going on for over a year. The full list of changes can be found at phab:T223406. At simplest, you'll need to JOIN on actor to get user names and/or the value for the *_actor foreign key in revision, etc. Pinging maintainers of bots and tools that I'm fairly sure are affected: @Enterprisey, Σ, SQL, and MZMcBride. The time to update your tools is now. If you're not already, you should subscribe to the Cloud-announce mailing list to get notified of such changes with more advanced notice. Best, MusikAnimal talk 00:10, 21 May 2019 (UTC)

MusikAnimal, I've updated SQLBot's AIV task. I'll try to hunt it down in all my remaining tools when time permits. SQLQuery me! 06:13, 21 May 2019 (UTC)

This template editnotice doesn't workEdit


Template:Parenthetical referencing editnotice is supposed to place an editnotice that is only visible when someone opens up the editing window on an article but instead it places a BIG BRIGHT notice onto the article itself when it is in the Read-only mode. (See this lovely example at Hyde Park Picture House.)
If this editnotice worked the way it says it's supposed to work, it should only be visible to editors when they are editing a Harvard-cite'd article that the template has previously been placed upon. Someone, please fix it...I don't know how and have just discovered this editnotice and it would be really really REALLY useful to (hopefully) forestall editors not following an established Harv-cite referencing style on an article. Thanks, Shearonink (talk) 05:40, 21 May 2019 (UTC)

@Shearonink: Edit notices are created in a pseudo-namespace at Template:Editnotices/Page/___. I've created Template:Editnotices/Page/Hyde Park Picture House for you --DannyS712 (talk) 05:46, 21 May 2019 (UTC)
Thank you...but that sort of doesn't answer my question... There then needs to be additional documentation/instructions on the actual Template page to tell editors how to implement this template. And, does that mean that for every time I want to use this Template that I have to create a pseudo-namespace for it? Can't it be transcluded or something? On almost every single article that uses Harvard cites that I come across there is a continuing problem of editors adding the more-common straight inline citations and then that subsequently creates a funfunfun mess to clean up afterwards. Shearonink (talk) 05:58, 21 May 2019 (UTC)
@Shearonink: If you want to post a list at my talk page, I'd be happy to create edit notices for you --DannyS712 (talk) 06:00, 21 May 2019 (UTC)
Heh, you have no idea how long that list can get...I mean, now that I understand what to do I can do it myself but seriously...this is the only way to do it? Also, just to make sure I understand how to implement it... When the pseudo-namespace thingy is created it then will just appear on the article whenever the article is edited, it doesn't have to be added to the article itself as another bit of code? Thanks, Shearonink (talk) 06:09, 21 May 2019 (UTC)
@Shearonink: Correct --DannyS712 (talk) 06:25, 21 May 2019 (UTC)
Ah...ok, thanks. Since you understand how editnotices work would it be possible for you to add some instructions on the template itself? Editors not understanding how editnotices work seems to be a longstanding issue from the Template's talkpage... Thanks again, Shearonink (talk) 06:39, 21 May 2019 (UTC)
Shearonink, you may be thinking of {{Use Harvard referencing}}, which is meant to be placed at the top of articles. – Jonesey95 (talk) 06:43, 21 May 2019 (UTC)
I might have been but I wasn't. I had already found that Template, used it and found it wanting for my purposes. I wanted and want an edit notice to boldly appear when the editing window is opened. In my opinion the "Use Harvard referencing" is a little too demure for most editors to really see it... Shearonink (talk) 07:22, 21 May 2019 (UTC)
Shearonink, well.. the template does say: "To create a new editnotice, please follow the instructions at WP:Editnotice" and that should explain everything right ? —TheDJ (talkcontribs) 09:40, 21 May 2019 (UTC)
Does it? I don't see that line of text anywhere on Template:Parenthetical referencing editnotice so I obviously missed that part when I tried to use the template and that's why I asked here. And if someone who is somewhat-experienced around WP misses it so might others. So far as I can tell the template at present reads as follows:
  • To display this message when an editor edits an article, create an editnotice for the article containing {{Parenthetical referencing editnotice}}. This template is not for use in articles. Editnotices are separate pages that display as message boxes shown about the edit window when a user edits a page.
Btw the present instructions at the How-to guide WP:Editnotice?... Well, DannyS712's explanation above was very clear, very concise, and I understood it right away. The "official" how-to guide instructions?...well, I had to ask here didn't I. Shearonink (talk) 17:00, 21 May 2019 (UTC)
@Shearonink: The methods for adding editnotices to specific pages differ according to whether or not you have the templateeditor user right or not.
If you do not have this right, you need to make an editnotice request by following the directions at WP:Editnotice#How to request an editnotice.
If you do have this right, you will find when editing any page (or section of a page) that one or two links are displayed at upper right, titled "Group notice" and "Page notice", which may each be red or blue. The "Group notice" one may be absent; but regardless, the one to click and edit is "Page notice". For example, when editing Actuary, there is only a "Page notice" link, which is blue, and goes to Template:Editnotices/Page/Actuary. --Redrose64 🌹 (talk) 19:41, 21 May 2019 (UTC)
@Redrose64 and Shearonink: also, User:DannyS712/Edit notice.js adds a link to a page's edit notice, without needing to edit the page --DannyS712 (talk) 20:05, 21 May 2019 (UTC)

Labs is down, or partially downEdit

I am having issues accessing, getting an error "HTTP error 500" message. Some of the other pages on Labs are not working, for example these ones are not working:

Any assistance in getting this fixed would be appreciated. Thank you, — Diannaa 🍁 (talk) 12:41, 21 May 2019 (UTC)

Update: Some of these are now working, including CopyPatrol, but others are not. — Diannaa 🍁 (talk) 14:24, 21 May 2019 (UTC)

CopyPatrol has been fixed. The outage was due to phab:T223992. I assume it was the same issue that affected toolforge:admin/tools. @Diannaa: You should not be using any of those legacy XTools links. Range contributions is now part of core, just enter the IP range at Special:Contributions. I don't know anything about toolforge:rangecontrib but I assume it did the same thing. Autoblocks are viewable at Special:AutoBlockList. If you need to search by autoblock ID, currently you need to do this at Special:BlockList, putting #123 as the "IP address or username", where 123 is the autoblock ID. MusikAnimal talk 14:29, 21 May 2019 (UTC)
Thank you, I will remove the old tools from my collection. — Diannaa 🍁 (talk) 14:34, 21 May 2019 (UTC)

Illegible talk pageEdit

All of my talk page below the edits of February 18, 2018 (15 months ago) were rendered illegible by this edit by Wikiacc. Why? How can it be fixed? Michael Hardy (talk) 19:45, 21 May 2019 (UTC)

... and now it appears I've fixed the problem, except that the thing that appeared to be causing it has been there for a long time, so it's a mystery why it suddenly happened now. Michael Hardy (talk) 19:57, 21 May 2019 (UTC)
An edit in February last year added a <math> tag without the balancing closing tag. Wikiacc's edit added three (balanced) pairs of <math>...</math>, the first of which was taken as the closing tag for the one added in February. --Redrose64 🌹 (talk) 20:16, 21 May 2019 (UTC)

A gadget seggestionEdit

Hello everyone, I'm from ckbwiki. I thought enwiki add this (and a sipmle) gadget like ckbwiki and arwiki also. If this community accept the gadget, please an interface editor create the gadget by following these instructions:

Create Mediawiki:Gadget-RedirectLinks with the following:

Display links to [[Help:Redirect|redirect]] pages in near-green cola

Then, create Mediawiki:Gadget-RedirectLinks.css with the following

 * Display links to redirect pages in near-green cola
 * @revision 1.0 (2019-05-21)
 * @author ئارام بکر
 */ { color: #4e6f1c; }

Then, at MediaWiki:Gadgets-definition in appearance section add the following:

* RedirectLinks[ResourceLoader]|RedirectLinks.css

Finally, check the gadget and enjoy!

Goal: See all redirect page links with the different color ("near-green cola" for now).

Thanks:) --ئارام بکر (talk) 23:07, 21 May 2019 (UTC)

@ئارام بکر: I suggest you start by listing this at Wikipedia:User scripts/List and see if people start using it first. — xaosflux Talk 01:25, 22 May 2019 (UTC)
There is also User:BrandonXLF/GreenRedirects, which does something similar --DannyS712 (talk) 02:18, 22 May 2019 (UTC)
@Xaosflux: and @DannyS712: I do apology to User:BrandonXLF. I didn't know that this gadget (or script) is available already. However, thank you both! --ئارام بکر (talk) 15:41, 22 May 2019 (UTC)



the obnoxious weird box being visible over pages that have a red linked category? See this image. WBGconverse 12:14, 22 May 2019 (UTC)

See Template_talk:Sockpuppet#Sockpuppet_categories. According to the documentation, it's garish. -- zzuuzz (talk) 12:28, 22 May 2019 (UTC)
For the technical side, the image is from User:PedroLucas151204 with source {{sock|João Victor23567|confirmed}}. It uses {{Sockpuppet/categorise}} which uses mw:Help:Extension:ParserFunctions##ifexist to test whether the corresponding category exists. PrimeHunter (talk) 12:37, 22 May 2019 (UTC)
The helper script is creating new cats and I don't see any reason for the message to exist. Inclined to revert. WBGconverse 12:41, 22 May 2019 (UTC)
Just someone's way of throwing errors, it's not that garish imo, either way,   Fixed. --qedk (t c) 12:41, 22 May 2019 (UTC)
@Winged Blades of Godric: Please don't upload Wikipedia screenshots to imgur. My browser takes several minutes to display anything, and then it's the cookie information box which I am obliged to "accept" before I can see anything useful. Even when I have exited the website, my computer slows to a crawl necessitating at the very least close and restart the browser. In the past, my antivirus software has warned me about imgur and I don't want to reboot every time.
Instead, we have guidance at WP:WPSHOT. --Redrose64 🌹 (talk) 13:20, 22 May 2019 (UTC)
If something appears when you log out and it doesn't look like a browser issue (layout often is) then you can usually just link the page and describe it. If it's text then quote a sample. PrimeHunter (talk) 13:30, 22 May 2019 (UTC)
(edit conflict) Same with me, but it eventually opens and doesn't affect my system. Idk if this is helpful, but I upload stuff to imgBB (which downsizes it) and generally distribute the hotlink to the static image page. --qedk (t c) 13:43, 22 May 2019 (UTC)
I don't personally care as much about imgur screenshots as I do about un-search-friendly, unhelpful section headings like "What's", made out of the first word of the comment. But that's probably just me... -- Begoon 13:39, 22 May 2019 (UTC)
Begoon, Apologies. I ought to keep that in mind. WBGconverse 15:44, 22 May 2019 (UTC)
Don't lose any sleep over it - just a peculiar niggle of mine. People in help forums I frequent do it a lot and it inexplicably irritates me whereas I don't usually care about small stuff like that. Illogical, but true... -- Begoon 15:53, 22 May 2019 (UTC)

Why was I not signed in?Edit

I'm certain I checked the box when for some reason I wasn't signed in earlier this week. I turned off the computer on Monday and turned it on this morning.— Vchimpanzee • talk • contributions • 15:13, 22 May 2019 (UTC)

Your browser probably just cleared your cookies. Happens occasionally. --qedk (t c) 17:47, 22 May 2019 (UTC)
I have noticed a lack of purple links. But the last time I restarted the computer because of updates was Sunday.— Vchimpanzee • talk • contributions • 18:38, 22 May 2019 (UTC)
That's a definite sign your browser is clearing your history. Updates sometimes have something to do with it and sometimes don't. Cookies are set to expire after a while and while the Wikipedia "Remember me" cookie is indeed set for 365 days, it probably won't last that long anyway. --qedk (t c) 18:58, 22 May 2019 (UTC)

Weird new user accountEdit

  Resolved: Nothing was technically wrong here, but there is a suspect compromised account being dealt with and cleaned up after. See also Wikipedia:Administrators'_noticeboard/Incidents#Probable_compromised_admin_account. — xaosflux Talk 20:17, 22 May 2019 (UTC)

Sorry if this is off base, but I just came across User:NVPA8200. They have no contributions anywhere, and were created 16 hours ago. However, they are in the following user groups: edit filter manager, edit filter helper, account creator, autopatrolled, confirmed, event coordinator, extended confirmed, page mover, file mover, IP block exempt, mass message senders, new page reviewers, pending changes reviewers, rollbackers, and template editors. That being said, I can't find any log of the account being created or given these rights (see enwiki log and meta log). Any ideas? --DannyS712 (talk) 19:00, 22 May 2019 (UTC)

The logs are redacted. Galobtter (pingó mió) 19:08, 22 May 2019 (UTC)
@Galobtter: Oh, never mind then --DannyS712 (talk) 19:09, 22 May 2019 (UTC)
Yeah, it's not the first time, I think. Some people prefer CLEANSTARTs like this (not assuming anything about this account). --qedk (t c) 19:13, 22 May 2019 (UTC)
These logs probably shouldn't be revdel'ed, per Wikipedia:Revision_deletion#Log_redaction. I'm not sure if I can say who RD'ed it (erring on the side of caution). SQLQuery me! 19:21, 22 May 2019 (UTC)
  • Per WP:ADMINACCT I'd like to know the reasoning behind this and why it's not visible with a reasoning for it. Clean starts don't mean you get logs redacted and all the perms...Praxidicae (talk) 19:24, 22 May 2019 (UTC)
  • What Praxidicae said. Clean starts mean you create a fresh account and restart from scratch, they don't mean you get to keep those parts of your previous history you feel like keeping while jettisoning those parts you consider inconvenient. ‑ Iridescent 19:27, 22 May 2019 (UTC)
This also brings up a potentially much larger issue but I'll wait for the answer to the "why" before I get into it...also how can we apply WP:ADMINACCT to something like this where such an action is not visible to the larger community? I would think that any type of RD or even OS of this nature would warrant an explanation that would make it obvious to at least someone with a mop that there was good reasoning? Praxidicae (talk) 19:29, 22 May 2019 (UTC)
  • Agree with Iridescent. I think the number of rights is primarily why they did not want a blanket new account — gaining this many rights takes a significant amount of limbs into each field, and that's a lot of time and effort. Although, and I am playing the devil's advocate here, what's the point of the EFM+EFH combination? --qedk (t c) 19:35, 22 May 2019 (UTC)
  • @QEDK, the EFM+EFH combination is because they've literally granted the new account every single bit that it's technically possible for an admin to grant unilaterally. ‑ Iridescent 19:37, 22 May 2019 (UTC)
@Iridescent: The EFM bit worries me but I explained a little more below.
  • I think I've put 2 + 2 together here so forgive me if I'm wrong and as I'm not a mop holder and have no ability to review the logs, this is merely based on what is obvious but I think an explanation is warranted given the admin appears to have created a second account, given it all the perms that aren't crat given and then redacted the logs. I apologize if this isn't allowed but they also don't have email enabled so I can't even ask privately. Would pinging the user here be any violation? I'm quite concerned given the recent compromises and the fact that there's no email but they've given themselves EFM access on a redacted account. Praxidicae (talk) 19:40, 22 May 2019 (UTC)
    It's kind of stupid to redact one log and leave the other one as-is. --qedk (t c) 19:44, 22 May 2019 (UTC)
    @QEDK: I think they were just unredacted by TonyBallioni --DannyS712 (talk) 19:47, 22 May 2019 (UTC)
    @DannyS712: There was a 2:00 Special:Log/rights log by Nv8200pa which was not redacted, immediately followed by a 2:09 redacted (now unredacted by Tony) log — that's why I called it stupid, since they redacted only one of them. --qedk (t c) 19:53, 22 May 2019 (UTC)
    @QEDK: One of them was for the hidden account, and one was for themselves, but I see what you mean --DannyS712 (talk) 19:54, 22 May 2019 (UTC)
  • User:Nv8200pa is an admin, who has been around since at least 2003. This admin is currently active, so this is not them, but it's an interesting coincidence. — Maile (talk) 19:47, 22 May 2019 (UTC)
    @Maile66: Not a coincidence - the logs were unhidden. Nv8200pa created the account and added the rights --DannyS712 (talk) 19:48, 22 May 2019 (UTC)
  • Since it's been unhidden, I'll do it here: @Nv8200pa:. Can you explain this mess and also your unblock of this with the explanation of: (Incorrect ISP Identification; No longer owned Webhost; Residential IP Pool.), which is easily identified as a webhost. Followed by your assignment of IP block exempt to yourself via a UTRS ticket: Nv8200pa talk contribs changed group membership for Nv8200pa from administrator to IP block exempt (temporary, until 02:00, 22 May 2020) and administrator (Requested via UTRS #223560 - Trusted user across multiple projects)) (thank)? And can another administrator with UTRS access verify that it is indeed a ticket from the person in question? Praxidicae (talk) 19:49, 22 May 2019 (UTC)
    • 223560 isn't even a valid UTRS#, UTRS is only in the tens of thousands right now, not the 200 thousands. — xaosflux Talk 20:09, 22 May 2019 (UTC)
I'd also suggest a block of both accounts until this is sorted out as it appears to either be compromised or an egregious abuse of tools (or possibly incompetency) and none of these things are good. Praxidicae (talk) 19:51, 22 May 2019 (UTC)
Qedk Not at all. In one of the last spates of compromised admin accounts, they created alt accounts after editing innocuously and gave them perms too. If this was indeed a compromise, the EFM alone could do a TON of damage. Praxidicae (talk) 20:06, 22 May 2019 (UTC)
@QEDK: ^^^ --DannyS712 (talk) 20:07, 22 May 2019 (UTC)
This one tops that too is what I'm trying to say. Giving alts perms is one thing but erasing your tracks so meticulously is new to me. --qedk (t c) 20:09, 22 May 2019 (UTC)
QEDK, wasn't meticulous enough, DannyS712 caught it! SQLQuery me! 20:10, 22 May 2019 (UTC)
  • @SQL: Yeah, before the logs were unhidden here is what I pieced together (I sent it to Praxidicae becauce I thought they were an admin and could check, but here it is verbatim):
Here is what I've managed to piece together:

From the user table in the database,

"user_id"       "       user_name"      "       user_registration"

36574779        "       NVPA8200"       "       20190522020807"

NVPA9800 was created on 05/22/2019 at 02:08:07

Log event (revision deleted) at 02:08, 22 May 2019 (likely creation of the account):

Log event (revision deleted) at 02:09, 22 May 2019 by Nv8200pa (likely adding the user rights):

New users (account creation) log item hidden at 02:11, 22 May 2019 by Nv8200pa:

User rights log item hidden at  02:10, 22 May 2019 by Nv8200pa:

I'm all for assuming good faith, and I could be completely off base since I can't see the log entries myself, but to me it appears that Nv8200pa created NVPA8200, gave them rights, and then hid it. You may want to check those log entries.
If you know what you are looking for, its not hard to piece together --DannyS712 (talk) 20:14, 22 May 2019 (UTC)
@DannyS712: Yeah but how'd you find NVPA8200? --qedk (t c) 20:19, 22 May 2019 (UTC)
@QEDK: I was bored DannyS712 (talk) 20:21, 22 May 2019 (UTC)
  --qedk (t c) 20:24, 22 May 2019 (UTC)
@QEDK: In all seriousness, in the context of exploring @SQL: (the language) I ran a database query that I've recreated at Quarry:query/36356, ordering template editors by time of account creation. I ran similar queries with a few other rights, and thought I would investigate why an account created earlier today had all of these rights. I posted here, and then went on to figure the rest out, before Tony undeleted the lock entries so I could confirm my suspicions (the text above was sent when it was still hidden) --DannyS712 (talk) 20:28, 22 May 2019 (UTC)
Ahhh, so we got lucky afterall. But it's a good thing that we did. Let me make some progress regarding this over at ANI. --qedk (t c) 20:32, 22 May 2019 (UTC)
  • Hi all, I ran a check after unrevdeling the log entries. There were several oddities in the edits that to me suggested the likelihood of account compromise. The account moved from editing on a static IP with one operating system for all previous edits within the CU period to a proxy with an entirely different device for the log entries in question. I have blocked locally, notified ArbCom, and requested a steward lock the account. TonyBallioni (talk) 20:12, 22 May 2019 (UTC)
    That was quick, @TonyBallioni:! --qedk (t c) 20:13, 22 May 2019 (UTC)