[Portal] 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.
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 task 3864. 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.
For server or network status, please see Wikimedia Metrics.
« Archives, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180

Next edit not available

On this page history, you will note that three consecutive edits in February and March 2020 have been redacted out of the history. Okay, I understand that, but now look at this. First select an edit a bit earlier (say this one). Click on "Next edit →" and it works. Click on "Next edit →" again and now you get "You cannot view this diff because one or both of the revisions have been removed from the public archives."

But now click "Next edit →" again, and you get: "One revision of this difference (940771782) was not found" -- and no forward link this time. This is not helpful. Since three edits were removed, I expected one of two things. (A) The "You cannot view this diff" screen might repeat twice, and then "Next edit →" would take me to this edit -- the next one that I am allowed to see.

Or better yet, (B) on the "You cannot view this diff" screen, instead of a non-useful "Next edit →" link it could have had "Next publicly available edit →", which would take me directly to the above one (or a "Next edit →" link that would have that behavior).

Is this hard to arrange? -- (talk) 07:57, 6 April 2020 (UTC)

I think this is phab:T213621. – Ammarpad (talk) 07:10, 12 April 2020 (UTC)
See phab:T213621#6049858 for the possible cause. – Ammarpad (talk) 09:00, 12 April 2020 (UTC)


Everything should be fixed now, phab:T249565 has been closed, see wikitech:Incident documentation/20200407-Wikidata's wb_items_per_site table dropped for the full write up. --DannyS712 (talk) 21:05, 15 April 2020 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

My attempts to edit the lede of the 2020 Delhi riots have repeatedly failed and I have received the message [Xou5NApAICEAAHRxKa4AAAEU] 2020-04-06 23:20:22: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" in response. Any ideas whether this is an issue at my end, with wikipedia servers or with the particular article?

In case it matters, the edit I was attempting was really minor and changed just a few words of plain-text without fiddling with any of the templates, links or wiki-markup in the lede. And I tried the edit using both Firefox and Chrome browsers, with similar results. Abecedare (talk) 23:28, 6 April 2020 (UTC)

I'm hitting this on everything except talk pages. Other editors ) 23:32, 6 April 2020 (UTC)

Database errors and pages not loading discussion

In case this page keeps working: There is currently a discussion occurring at Wikipedia talk:Village pump (technical)#Error on all non-talk pages at the present time regarding pages not loading on Wikipedia. (I'm not moving the discussion here because this very page [Wikipedia:Village pump (technical)] is one of the pages that is having issues loading. Steel1943 (talk) 23:30, 6 April 2020 (UTC)

  • ...And it's a subsection. Steel1943 (talk) 23:30, 6 April 2020 (UTC)
  • ...And phab template added. Steel1943 (talk) 23:32, 6 April 2020 (UTC)
Oh, good, so it's not just me. BD2412 T 23:35, 6 April 2020 (UTC)

Attempt at a summary

phab:T249565. A Wikidata database table was dropped, it's not clear how. This caused the database errors when viewing any page linked to a Wikidata item (hence why most talk pages were still working). The table has been recreated as blank, which resolved the page viewing issue. However pages will be missing the links to other languages in the sidebar, and there may be other problems. Work is underway to rebuild the table, or to restore from backup. the wub "?!" 00:28, 7 April 2020 (UTC)

Error on all non-talk pages at the present time

Since I cannot even load Wikipedia:Village pump (technical) right now, I'm posting this here.

On all non-talk namespace pages, I'm currently receiving an error that has text such as this:

[Xou1-gpAIDAAAB9iif0AAAAJ] 2020-04-06 23:06:42: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Does anyone have any idea what's going on? Steel1943 (talk) 23:08, 6 April 2020 (UTC)
  • Looks like the issue may have cleared itself already... Steel1943 (talk) 23:12, 6 April 2020 (UTC)
...And looks like the issue is still happening and is intermittent. Steel1943 (talk) 23:13, 6 April 2020 (UTC)

Database error

Database error in German Wikipedia at 1.07.48 AM.png

I'm not able to access many Wikipages, including the Main page and WP:Village pump (technical) due to a "database error." Huh? ~EDDY (talk/contribs)~ 23:09, 6 April 2020 (UTC)

I'm having the same problem. Johnsmith2116 (talk) 23:13, 6 April 2020 (UTC)
I can load other articles but am getting the database error on the main coronavirus pandemic page. Using an Android smartphone in Northern California. Cullen328 Let's discuss it 23:14, 6 April 2020 (UTC)
Ditto. Happening on all mainspace edits for me. The long string seems to change value every edit, but the rest of the message is the same. Sam-2727 (talk) 23:16, 6 April 2020 (UTC)

I just opened T249568, but it looks like the scope is larger than I thought. -- RoySmith (talk) 23:15, 6 April 2020 (UTC)

  • Same, on diffs too. — J947 (user | cont | ess), at 23:16, 6 April 2020 (UTC)
  • I can look at articles, but I'm getting this error if I try to save an edit to any of them. Bearcat (talk) 23:16, 6 April 2020 (UTC)
See recent changes: this is happening site wide as no edits to the mainspace are being made. Sam-2727 (talk) 23:17, 6 April 2020 (UTC)
  • I just tried doing a page move and got a similar error. Sir Joseph (talk) 23:18, 6 April 2020 (UTC)
  • It's at T249565. Already being worked on. Sam-2727 (talk) 23:19, 6 April 2020 (UTC)
x2 IJBall asked me on my talk page to revert an edit because he was getting this error, but I am also getting it, so this appears to be site wide rather than just some users. And resolving edit conflicts is also not working how it should. Amaury • 23:20, 6 April 2020 (UTC)
It doesn't happen if I'm logged out. --Puddleglum2.0(How's my driving?) 23:21, 6 April 2020 (UTC)
A look at Special:RecentChanges suggests that things seem to be working now (*fingers crossed*). --Kinu t/c 23:28, 6 April 2020 (UTC)
I just had a save actually go through. Here's hoping! Bearcat (talk) 23:28, 6 April 2020 (UTC)
Works for me now. — J947 (user | cont | ess), at 23:29, 6 April 2020 (UTC)
I am also getting this error when trying to move or delete pages. BOZ (talk) 23:30, 6 April 2020 (UTC)
The error is in every wiki --Killarnee (T12) 23:32, 6 April 2020 (UTC)
I also had the same issue on both my home computer and mobile devices but its now working for me... Roberth Martinez (talk) 23:33, 6 April 2020 (UTC)
Seems to be working okay for me now. Johnsmith2116 (talk) 23:43, 6 April 2020 (UTC)
Note that language links are not populating from wikidata. The data is still there in Wikidata, so if anyone links an article to one of another language it is resulting in duplicate items on Wikidata. Oddly the Wikipedia links may show on multiple Wikidata items this way. Possibly there is an issue at Wikidata as this action should be forbidden. SFB 00:04, 7 April 2020 (UTC)
In Wikidata, this is called a true duplicate.--GZWDer (talk) 00:11, 7 April 2020 (UTC)

Status update

For those of you not following the phab ticket, there was just an update posted. The gist is that the deleted table is being restored from backup, that's expected to take another 12-24 hours, and until that's done, a whole bunch of wikidata-related stuff (which includes inter-language links) is going to be farshtunken. -- RoySmith (talk) 01:26, 7 April 2020 (UTC)

There is a draft (not final, WIP) incident report at the regular location. Cheers. --JCrespo (WMF) (talk) 17:10, 7 April 2020 (UTC)
Good ops practices: don't have your database dump cronjob run with write permissions on production master. Lesson learned. ;) Not to pick on y'all WMF devs too much. Thanks for your hard work; most operations that've been around for a while tend to accumulate crufty code like that. That's a really good case study in how a bunch of unrelated changes to different moving parts over the years can wind up randomly shooting you in the foot one day when a code path no one realized existed gets triggered. -- (talk) 07:07, 8 April 2020 (UTC)

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

template parameters vs ref tag arguments

Lots of templates generate refs which are transcluded by articles. This is messy, but it happens a lot. I wondered whether the mess could be lessened by putting such refs into groups named for the template where they are generated. This would need to be done in the template generating them and, in order to do this, that template would need to discover what its name is or to have that information passed to it.

Templates can discover their names with {{TEMPLATENAME}}, and information can be passed to them via invocation parameters. As far as I can see, however, neither of these can be used to set the group= parameter of refs generated in the template. I'm guessing that this is a scoping issue and that there is no solution or workaround.

If I'm wrong and this is possible, how might it be done? Wtmitchell (talk) (earlier Boracay Bill) 19:56, 8 April 2020 (UTC)

If you assign a group based on the template name, then your references will look like [Template name here 1] rather than the more usual [1]. It would probably be better to just give the references names that are unlikely to collide with reference names in articles, as was already suggested to you at WP:VPP#Refs in templates. Anomie 22:35, 8 April 2020 (UTC)
Thanks for the info and advice. I understood it at VPP and I understand it here. Does anyone have a responsive answer? Wtmitchell (talk) (earlier Boracay Bill) 13:29, 10 April 2020 (UTC)
To elucidate a bit, I don't see non-cosmetic note names as a disqualifier of discussion at this point. Without getting down in the weeds, I'm wondering whether, if a simple template can't be used for this (I'm still holding onto hope that it can, pending info from here), I'm wondering whether it might be possible using WP:LUA. If it's not possible, it's not. If it is possible but has cosmetic problems, it might be useful to look at whether the cosmetic problems can be dealt with. Wtmitchell (talk) (earlier Boracay Bill) 17:25, 10 April 2020 (UTC)

Never mind. A look at {{Refn}} gave me a clue. I should have thought of that earlier. Wtmitchell (talk) (earlier Boracay Bill) 10:17, 11 April 2020 (UTC) (added) Discussion of this has continued at Wikipedia talk:Templates#Refs in templates. More eyes on that and participation in discussion there would be useful. Wtmitchell (talk) (earlier Boracay Bill) 07:39, 12 April 2020 (UTC)

Finding out who is still around

I need to send the next Wikipedia:VisualEditor/Updates soon. Wikipedia:VisualEditor/Newsletter is about six years old, and I'm sure that some of those people are permanently gone. Others might not be editing here, but they're still around (at least occasionally) on other wikis. MassMessage sometimes gets unhappy with long lists, and it's presumably pointless to deliver a newsletter about editing to someone who isn't editing.

Would someone like to go through the list (ideally with a script that could be re-used for other/similar lists) and figure out who hasn't made any edits to any WP:SUL wiki during the last, say, two years? Then I could send them a note saying that I'm taking them off the list, and telling them how to re-subscribe if they want to. Whatamidoing (WMF) (talk) 20:01, 9 April 2020 (UTC)

@Whatamidoing (WMF): Perhaps WP:RAQ can help. --Izno (talk) 22:08, 9 April 2020 (UTC)
quarry:query/43772 has the list of users who have no live enwiki edits in two years. Extending it to all (non-closed) SUL wikis breaks on Quarry, which has a 64k character limit; running it on toolforge eliminates only nine from the first list: User talk:Aman.arch, User talk:Doberek, User talk:EdSaperia, User talk:Filburt, User talk:Jhalmuri, User talk:Jimmy Fleischer, User talk:MecnunsaskinUser talk:Denizyilmaz2013, User talk:Mrchristian, and User talk:Odisha1. It's still worth asking on WP:RAQ to see if there's a better way to do it, or if I'm getting my list of SUL wikis wrong. —Cryptic 00:28, 10 April 2020 (UTC)
Thanks. I've started with this list, and will follow up with RAQ. Whatamidoing (WMF) (talk) 23:15, 13 April 2020 (UTC)

No pencil icon at section level in mobile view

Has been fixed --DannyS712 (talk) 21:06, 15 April 2020 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

I am unable to edit at the section level on any page in mobile view (iPhone, iOS 13.3). Desktop view is OK. Jmar67 (talk) 01:32, 10 April 2020 (UTC)

Update: The pencil icon is not showing, but the field it represents is active and I do get the edit screen when I touch it. Possibly a font problem. Jmar67 (talk) 02:23, 10 April 2020 (UTC)
Reported phab:T249864. – Ammarpad (talk) 05:18, 10 April 2020 (UTC)
@Jmar67: can you see them now? A temporary workaround has been added to MediaWiki:Minerva.js. — xaosflux Talk 15:18, 10 April 2020 (UTC)
Yes, they now display. Thanks. Jmar67 (talk) 16:47, 10 April 2020 (UTC)
Still no pencils at level 3, but I can still edit. I see the fix addresses h2 only. Jmar67 (talk) 14:56, 11 April 2020 (UTC)
Now seeing pencils at all levels. Jmar67 (talk) 20:03, 13 April 2020 (UTC)
Rolled back the local override, check back in about an hour - if any new issues please ping me. — xaosflux Talk 23:46, 13 April 2020 (UTC)

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Timeless skin: Larger font size in edit textbox

An WP:ITSTHURSDAY for those using the Timeless skin: The font size was recently increased from the standard 13px (as used in Vector, Monobook, Modern, CologneBlue) to a larger 15.2px: phab:T247325. To restore the normal font size, you can add:

#wpTextbox1 {
    font-size: 13px;

to your timeless.css - Evad37 [talk] 02:29, 10 April 2020 (UTC)

Or to fix for all wikis, add it to your global.css on Meta - Evad37 [talk] 02:54, 10 April 2020 (UTC)

Page preview missing on tablet

Hey there, I wondered if someone can offer any help or advice about my recent troubles with Wikipedia.

Since yesterday's (9th of April) evening all Wikipedia page previews (the ones that appear when you hover the mouse over a link to the article) disappered completely when using my tablet (the browser on the tablet is Chrome 55.0.2883.91). The previews were there and worked properly only hours before that, I never had any troubles with them previously, and I am certain I didn't change anything whatsoever in my site settings, browser settings or else. Now they refuse to pop-up on screen regardless of which language-based Wiki I use or if I'm switching between mobile and regular version. Since I never turned them off using the cog icon, the option of turning the preview back on doesn't appear in the lower section of the page, as suggested in the FAQ. Cache emptying didn't help. JS is turned on and the search field drop down menu with results works just fine.

Any advice on what could I do to make the previews appear again? Thanks in advance. Gregory Starbreaker-G (talk) 11:10, 10 April 2020 (UTC) — Preceding unsigned comment added by Starbreaker-G (talk • contribs) 10:09, 10 April 2020 (UTC)

A command to add a dash at the end of each line

Hi. You know when you have a list and there is the option to bullet each line and saves you having to do it manually? I was wondering if there is a way of commanding a list to add a dash at the end of every line instead of having to add one to each line manually?† Encyclopædius 10:57, 10 April 2020 (UTC)

@Encyclopædius: You can use the search and replace tool (in the source editor > Advanced tab, the rightmost icon) for this. Do a regular expression search for $ (which matches the end of line), replace with - (or whatever you want). This will add a dash at the end of every line. If you want to insert a dash at the end of all non-empty lines, search for (.)$ and replace with $1 - . SD0001 (talk) 12:53, 10 April 2020 (UTC)
SD0001, Am I the only one who does stuff like this by copying the wikitext to my desktop, fixing it up with emacs, and pasting the result back in? -- RoySmith (talk) 15:29, 10 April 2020 (UTC)
No, you're not the only one. I use BBEdit to do regex replacements on wikitext all day long. – Jonesey95 (talk) 16:34, 10 April 2020 (UTC)
@RoySmith: no even I do sometimes do that (I dunno if the search-and-replace tool supports all regex syntax like lookaheads and lookbehinds). Not an emacs users, I use VS Code, maybe someday I'll install emacs and see what's so hyped about it! SD0001 (talk) 07:51, 11 April 2020 (UTC)
I use Notepad++ for most of my regexing. The syntax highlighting and bracket matching help too. --Ahecht (TALK
) 01:35, 12 April 2020 (UTC)
I've been using wikEd, which doesn't require copying text and is useful just for syntax highlighting when I'm copy editing a section with more reference markup than prose. Its GUI rendered better when I used it with Firefox under Windows 7 than it renders now under Safari on my ancient iMac, but it's still decipherable and is quite sufficient for the regexing I want to do. Dhtwiki (talk) 06:07, 12 April 2020 (UTC)
I always copy the page into VSCode to do any regexing ;)  Nixinova  T  C   02:40, 13 April 2020 (UTC)

@SD0001: Thanks!! :-) † Encyclopædius 17:30, 10 April 2020 (UTC)

Human. :II: Nature. indexing

Hi, why does the HTML of Human. :II: Nature. contain a <meta name="robots" content="noindex,nofollow"/> tag? It's not in Category:Noindexed pages. I passed the source code in Special:ExpandTemplates and it does not generate any __NOINDEX__ magic word. Does the weird title match some obscure blacklist? The article about the tour or articles in other languages don't seem to be affected. DragonOfWisdom (talk) 13:33, 10 April 2020 (UTC)

@DragonOfWisdom: The page has not yet been reviewed the new page patrol. That's why it's noindexed. The category only contains pages that actually have __NOINDEX__ on them. In this case, the page is being noindexed by the underlying software. SD0001 (talk) 13:38, 10 April 2020 (UTC)

Two column edit conflict - not working

Just noting that I'm still losing work through edit conflicts, despite having activated two-column edit conflict in beta. Anybody else experiencing this since it was last mentioned here] on 6th April? Nick Moyes (talk) 14:08, 10 April 2020 (UTC)

Yup, just got a "normal" edit conflict earlier today, and I have that beta feature enabled too. Enterprisey (talk!) 02:30, 12 April 2020 (UTC)
@Nick Moyes and Enterprisey:, on what pages have you experienced this issue? --AntiCompositeNumber (talk) 04:37, 12 April 2020 (UTC)
While trying to make this edit on ) 07:03, 12 April 2020 (UTC)
A patch was deployed on April 6 that disabled the two-column edit conflict page on talk pages and project-namespace pages. There was no phab task or anything associated with the patch, so I don't have any more details. Thiemo Kreuz (WMDE), can you provide some insight into what is going on? --AntiCompositeNumber (talk) 15:46, 12 April 2020 (UTC)
Hi @Nick Moyes, Enterprisey, and AntiCompositeNumber: we disabled the Two Column Edit Conflict View for talk pages, because we got the feedback that it is not helpful to solve edit conflicts on talk pages. This is why you see the old interface when having an edit conflict on a talk page.
However, we are currently developing and additional interface specifically designed to help users solve edit conflicts on talk pages. For more information, also see T230231. --For the Technical Wishes Team: Max Klemm (WMDE) (talk) 09:46, 14 April 2020 (UTC)
@Max Klemm (WMDE): Thank you for this update. There were times when there seemed to be no interface at all, just a complete loss of edits, so, in the short term, I'll try and remember to copy my replies before posting them at potentially busy fora. (Just in case!) Cheers, Nick Moyes (talk) 10:15, 14 April 2020 (UTC)
@Max Klemm (WMDE): I actually found it super useful on talk pages! Where was that feedback? --Izno (talk) 17:02, 14 April 2020 (UTC)
@Max Klemm (WMDE): I believe I had the same experience as Nick Moyes a couple of times on the Teahouse or Help Desk, with no conflict resolution facility (I think***) – just an edit window for the whole page (as opposed to just the section I was editing) with my changes missing. I was able to use the browser's (FFox) back button, accept the dialog about resending, and get back to the edit window with my edits in it. I then copied it to a text editor, restarted an edit on the section, pasted my changes back in, and saved successfully. ***It's entirely possible that the page I got had additional language on it telling me there was a conflict and what to do about it – I was too busy panicking and trying to recover to look very carefully. —[AlanM1 (talk)]— 02:17, 15 April 2020 (UTC)

Specifying locations in articles?

I've been mulling over an annotation tool architecture where there's a server side that does all the hard work, and a lightweight client side in javascript that just handles the U/I. For example, the server side might come up with a suggestion that a specific word might be replaced with a different word. What I'm thinking about is how the two sides communicate the location in the text. One obvious, if simplistic way, would be a character offset from the beginning of the wikitext. Another might be some kind of jquery-ish specification for how to navigate a parsoid tree. The idea is that the location information is divorced from the presentation (very much unlike how diffs work now) so different kinds of clients could make use of the same interface.

So, to finally get to my question, how is this kind of thing done now by other tools? -- RoySmith (talk) 14:17, 10 April 2020 (UTC)

SSastry (WMF) can probably explain what Parsoid/Linter do. --Izno (talk) 14:26, 10 April 2020 (UTC)
I don't fully understand the question or the use case, but I can nevertheless point you at a couple places. https://phabricator.wikimedia.org/T149667 is a proposal / idea that hasn't been implemented for generalized annotations for different use cases. But, as far as Parsoid goes, Parsoid maps DOM nodes to wikitext ranges that generate them. So, when Parsoid analyzes the DOM and finds a DOM node with a specific kind of lint error, it sends that lint error with the wikitext range for that node to a database. So, on the front-end, JS code can use the wikitext offsets to highlight the substring in the editor. Not sure if that helps / answers User:RoySmith's question.SSastry (WMF) (talk) 17:34, 10 April 2020 (UTC)

Proposal to change talk tab tooltip

I propose that MediaWiki:Tooltip-ca-talk (the tooltip that displays when you hover over the talk tab) be changed from "Discussion about the content page" to "Discuss improvements to the content page". "Discussion about" → "Discuss" switches the message to a more active voice mirroring the other tabs and makes it shorter. Adding "improvements to" could go a long way toward remedying the WP:NOTAFORUM issues pervasive on talk pages. Ideally, I'd also like to change "content page" to something more colloquial, but that would require the ability to adapt this message based on the namespace, which seems complicated. {{u|Sdkb}}talk 17:46, 10 April 2020 (UTC)

You'd make that suggestion on the message talkpage MediaWiki talk:Tooltip-ca-talk and then use {{sudo}} which will make it visible to those who can make the change. – Ammarpad (talk) 05:39, 11 April 2020 (UTC)
@Ammarpad: Yeah, I plan to do that. I've submitted a bunch of edit requests recently, though, and been lightly reprimanded on a few of them to establish consensus before making the request, and given that this is a change that will (in an extremely minor way) affect every page on Wikipedia, I wanted to come here first to gather a few "yeah, that sounds like a good idea"s. Can you or anyone else here chime in to offer that? {{u|Sdkb}}talk 06:32, 11 April 2020 (UTC)
Support. Sounds reasonable. --Yair rand (talk) 21:42, 12 April 2020 (UTC)
  • Support also  Nixinova  T  C   02:41, 13 April 2020 (UTC)

Parsoid's effects on talk pages

This follows up on Wikipedia:Village pump (technical)/Archive 178#Eventualities (which was mostly about whether the visual editor would corrupt talk pages).

mw:Talk pages project/replying isn't the visual editor, but it is currently using Parsoid, just like the visual editor. I've just finished looking at all (583) diffs at arwiki, frwiki, huwiki and nlwiki, where mw:Extension:DiscussionTools new Reply feature was offered as a Beta Feature there last Tuesday. In contrast to User:Hawkeye7's experience of 2% of talk pages here having some sort of error, the number of dirty diffs I found was maybe a little lower than that, and all the changes were small (example; almost all of them involved removing an extraneous space). I found zero serious problems. There's no guarantee that this wiki would have the same experience, but I'm taking it as good news overall. If you're interested in this project, please put Wikipedia:Talk pages project on your watchlist. If you're interested in trying it out, please do so (you will have to opt-in to the "Discussion tools" Beta Feature at one of those four wikis), and then ping me to tell me what you thought about it.

On the original subject, since our conversation about it back in January, I think there has only been one request to have the visual editor enabled in talk pages, and I don't think that's going anywhere. Whatamidoing (WMF) (talk) 18:43, 10 April 2020 (UTC)

Template:unreferenced section

The above template seems to be formatted wrong; I just added it to the top of a section in the Supermarket Stakeout article, and it was added to the (redlinked) Category:Articles needing additional references from April2020 rather than Category:Articles needing additional references from April 2020. Erpert blah, blah, blah... 02:24, 11 April 2020 (UTC)

The red cat is empty and the article appears in the correct category for me. – Ammarpad (talk) 05:35, 11 April 2020 (UTC)
@Erpert: A bot came along and added the space that was missing from your edit. -- John of Reading (talk) 06:18, 11 April 2020 (UTC)
I find it easier and less error-prone to add these templates without a date. The bot always adds a typo-free date for me. – Jonesey95 (talk) 13:33, 11 April 2020 (UTC)
Or even better, just subst the template - this even avoids the redirects, eg {{subst:linkrot}} gives the clean {{Cleanup bare URLs|date=April 2020}}. SD0001 (talk) 15:06, 11 April 2020 (UTC)

Question about notifications

In Preferences, I can choose to be notified "when someone links to a page I created from another page." Is there some way for me to receive some kind of notification when someone links to a page I did not create? For example, it would be interesting to be notified each time someone links to the Billboard article, because it's likely that the link should be changed to Billboard (magazine). Thanks! GoingBatty (talk) 19:05, 11 April 2020 (UTC)

No, Echo has no support for that. – Ammarpad (talk) 19:33, 11 April 2020 (UTC)
I wrote a tool for that purpose, it notifies via email and runs from unix cron - if of interest it is Backlinks Watchlist -- GreenC 19:35, 11 April 2020 (UTC)
@GreenC: That looks great! I'm using Windows 10, and I see your code requires a "Unix system that has GNU Awk 4.0+". Any recommendations for basic instructions on how to set this up on my Windows PC? Thanks! GoingBatty (talk) 20:42, 11 April 2020 (UTC)
GoingBatty, not easily with Win10. I should make it a web service anyone can subscribe to on Tools. But that is more time than I have right now. What I can offer is to install it on Tools (without the subscribe/unsubscribe form). There will be a "stop button" page so you can halt and restart it any time you want. If that is of interest let me know. -- GreenC 21:26, 11 April 2020 (UTC)
awk is one of the most awkward programming languages ever invented (except possibly APL). I only ever used it if I couldn't get sed (possibly with other filters in the pipeline) to do what I wanted. --Redrose64 🌹 (talk) 21:57, 11 April 2020 (UTC)
Redrose64, Awk was a great tool in its day. It provided just enough power to write quick report generation type tools without having to dive into compiled languages. But, people pushed it beyond its comfort zone and you ended up with a mess. These days, anything people used to do with awk is probably better done with your choice of Python, PHP, Ruby, Go, or I guess even Perl. -- RoySmith (talk) 22:19, 11 April 2020 (UTC)
I used awk extensively, from the open-source cygwin package. It wasn't awkward for me, just (refreshingly) different. Jmar67 (talk) 00:47, 12 April 2020 (UTC)
Awk has two side or faces. There is the CLI which is arcane knowledge. The people into that are creating super concise command-line mini-programs that feed through pipes, it can be quite elegant and satisfying. Then there is working with .awk script files with functions like a normal programming language. This is basically a simple version of Perl or JavaScript (both took syntax and ideas from awk) with a small standard library like match(), split() etc.. that is familiar to any programmer. I use awk because of the intuitive syntax, portable, very fast execution, very low memory footprint, stable (no garbage collection), no system libraries or environment (interpreter is a single executable), fast development speed. For more complexity I use Nim, which is basically Python but at C speed, more features and an easier syntax. -- GreenC 01:18, 12 April 2020 (UTC)
@GreenC: If you can install it on Tools in a way that users would be able to define their own pages (like you have in bw.cfg), then yes please! Thank you! GoingBatty (talk) 23:39, 11 April 2020 (UTC)
@GoingBatty: to set this up I will need an email address, where to send the report to. I don't see a way to contact you can you email it to me? -- GreenC 01:24, 12 April 2020 (UTC)
@GreenC: You've got mail - thanks! GoingBatty (talk) 01:31, 12 April 2020 (UTC)

Edit blocked on Turkish Wikipedia

Enwiki is not Trwiki but this problem might be advanced with expertise here (plus I don't speak Turkish)

I am attempting to upload a page similar to this one for the 7001-8000 set (it is a trwiki version of WP:List of Wikipedians by edit count). The edit is blocked by a filter which responds:

This action has been automatically identified as harmful, and therefore disallowed. If you believe your action was constructive, please inform an administrator of what you were trying to do. A brief description of the abuse rule which your action matched is: Ağır vandalizm

When I search the uploaded text the string Ağır does not appear. There is also no user on trwiki with that name [1]. My guess is there is an IP number in the page associated with a block. Is there a cross-language abuse filter? -- GreenC 19:30, 11 April 2020 (UTC)

As you can see form the abuse log of your bot account, it is filter 17. You should ask local administrators for help. Ruslik_Zero 20:42, 11 April 2020 (UTC)
Excellent thank you. -- GreenC 21:28, 11 April 2020 (UTC)
According to Google Translate, "Ağır vandalizm" means "Heavy vandalism" (perhaps we might say "blatant" here). Whatamidoing (WMF) (talk) 15:53, 13 April 2020 (UTC)

Serious Connection Issues

Connection issues tonight. Laggy response times, problems loading articles. FYI. -- Veggies (talk) 05:35, 12 April 2020 (UTC)

  • For me the site just got back up after a 504 error. J947 [cont] 05:36, 12 April 2020 (UTC)
  • The site has just been completely down for around half an hour [2] but looks like it is back up now.--♦IanMacM♦ (talk to me) 05:41, 12 April 2020 (UTC)
  • Been repeatedly getting 502 and 504 errors for about 20 minutes. SD0001 (talk) 05:48, 12 April 2020 (UTC)
Thank you IT wizards for fixing the problem (whatever it was). Just for confirmation, U.S. Downdetector.com showed steep spike of Wikipedia down reports (from 0 reports to 1839) between 04:33 UTC and 05:03 UTC.   - Mark D Worthen PsyD (talk) (I'm a man—traditional male pronouns are fine.) 05:46, 12 April 2020 (UTC)
  • It seems like the issue got fixed? I almost had a mini-heart attack when I thought my changes didn't go through for a large article. Tenryuu ???????? • ????) 06:32, 12 April 2020 (UTC)
  • The chat on IRC #wikipedia shows that site ops were aware of the outage and tried to fix it as soon as possible. It occurred because of a problem at the Eqiad cluster, which is in Ashburn, Virginia.[3]--♦IanMacM♦ (talk to me) 06:41, 12 April 2020 (UTC)

bot edits?

How do bot edits get noted in page history? Specifically, I'm looking at this edit which doesn't appear to have been recognized as a bot edit by whatever automation tags old drafts for WP:G13. -- RoySmith (talk) 14:34, 12 April 2020 (UTC)

I think the bot tag is added to an edit if done by a bot and if the bot requests it. Possibly this bot does not request it because it's really a change that editors should note (it removed a deleted image which anyone interested in the article should investigate). Johnuniq (talk) 02:33, 13 April 2020 (UTC)
No, "bot" is just a user group like "autoconfirmed" or "admin". All accounts in group "bot" have their edits tagged as bot.  Nixinova  T  C   02:49, 13 April 2020 (UTC)
What Johnuniq said is correct. However to use botflag, you don't necessarily need to be in bot group, you just need "bot" userright which is a separate thing. In some wikis there are human users with the right. There's also a minor version of it given to to admins here (markbotedits) which allows them to mark edits as "bot" but constrained to only rollback requests. Botflag is just like minor edit flag, even if you have it you can decide to use or not use it.– Ammarpad (talk) 05:49, 13 April 2020 (UTC)
@Nixinova: also note, that just because an account is in the bot group, thus has the bot permission, doesn't mean its edits to recent changes will be tagged as bot edits - the bot must also assert the edit as a bot edit for this to happen. — xaosflux Talk 12:59, 13 April 2020 (UTC)
To answer the original question for @RoySmith: - they don't. "bot" notations are only used in recent changes, and are not part of the revision history. This is a feature request open as phab:T13181. — xaosflux Talk 12:59, 13 April 2020 (UTC)
Xaosflux, That's quite surprising, thanks for the explanation. It certainly explains why I'm not seeing bot edits marked as such :-) But, the more general question is, "How can I tell if an edit was done by a bot?" Recent changes only goes back a limited amount of time. -- RoySmith (talk) 14:29, 13 April 2020 (UTC)
You cannot see it directly in a page history. Bots usually have "bot" in the username [4] but not your example User:CommonsDelinker. The bottom of user contributions have a "User rights" link. It includes "bot" for registered bot accounts, e.g. CommonsDelinker. If you enable Navigation popups at Special:Preferences#mw-prefsection-gadgets then the user rights (and other things) are shown when you hover over a user or talk link. PrimeHunter (talk) 14:43, 13 April 2020 (UTC)

Suggestion: display certain hatnotes only if the user has been redirected from certain targets

nb: I made this suggestion at the redirection template talk page (discussion here) and on phub ( phab:T232278) but no one seems to be entirely sure where the right place for it is. Following another suggestion I'm trying it here, too.

I think we should display certain hatnotes only if the user has been redirected from certain targets. For example:

The Blue Album is an album by Weezer. It contains a song called "The World Has Turned and Left Me Here". There is also an episode of a TV show titled "The World Has Turned and Left Me Here".

If you go to the article, it currently displays this hatnote: The World Has Turned and Left Me Here" redirects here. For the Vampire Diaries episode, see The World Has Turned and Left Me Here (The Vampire Diaries).

I think this hatnote should only be displayed if the user has searched for "The World Has Turned and Left Me Here" and been redirected to Weezer (Blue Album). My logic is this:

  • If you're redirected to the Blue Album article because you were looking for an article about the TV episode, the hatnote is useful. It tells you that you're in the wrong place and gives you a link to the right article.
  • If you arrive at the Blue Album article any other way (most likely more than 99% of cases), the hatnote isn't useful - you almost certainly don't care that there is an episode of a TV show with the same title as a song on this album. It's just clutter.

It would be great if there were a way to display certain hatnotes only if the user has been redirected from certain targets. Popcornfud (talk) 15:33, 12 April 2020 (UTC)

I'd oppose this. Trying to second-guess what readers will want to see is rarely a fruitful exercise; to stick with your original example, I can easily imagine a fan looking for information on the album finding it interesting that the name of one of its songs was also used as the title of a TV show. Since no reader in the history of Wikipedia has ever found a hatnote disruptive (we're talking about one line at the top of an article), this proposal would seem to cause potential disruption to readers for no obvious benefit.
There's a high number of pages where we undoubtedly would need to display the hatnote even to those who typed in the article title verbatim (e.g. if someone searches for "The Sirens and Ulysses" there's a decent chance they're actually searching for "Ulysses and the Sirens" and vice versa). Thus, if we did go down this route, the display hatnote=yes or display hatnote=no would need to be set manually for every single redirect on Wikipedia. To put that in perspective, as of December 2019 when the report last ran there were 8,966,504 mainspace redirects; I'm guessing you'll have difficulty persuading anyone to review nine million pages for little if any obvious benefit. ‑ Iridescent 15:55, 12 April 2020 (UTC)
Iridescent, I find your first paragraph unconvincing. no reader in the history of Wikipedia has ever found a hatnote disruptive (we're talking about one line at the top of an article - well, I find it disruptive! And in the case of the Weezer article it adds two lines about two separate articles, not one. I really do think it adds a lot of clutter that helps only a vanishingly small minority of users. Adding a big lump of text to the top of the article is not a small cost from a usability/readability perspective.
I can easily imagine a fan looking for information on the album finding it interesting This is neither here nor there. If encyclopaedic information is worth including in the article then it should be included in the article proper, not delivered in a sideways fashion via a hatnote. And as a general rule, per WP:POPCULTURE, we don't typically consider references to things in other media encyclopaedically notable anyway.
However, regarding the second paragraph: I have no experience of managing the technical side of this sort of thing so it would be up to other editors to figure out if what I'm proposing could realistically be implemented at all. If the implications of that are unmanageable then the idea is indeed dead on arrival, oh well.
I'm wondering, though, if we could add an optional flag on redirects to only display a hatnote on certain conditions, so that we wouldn't have to change any existing ones - it would just be added as an exception or override where useful. Popcornfud (talk) 16:25, 12 April 2020 (UTC)
Knowing the article from whence one came is not possible in wikitext/Lua. This would be a Javascript addition that would need to be made and I would accordingly oppose it as Not Worth It. --Izno (talk) 16:28, 12 April 2020 (UTC)
I see. I assumed we had that information in a way that could be used as it says "redirected from <wherever>" when you get redirected. Obviously even if it could still be used this might easily still be Not Worth It. Popcornfud (talk) 16:42, 12 April 2020 (UTC)
Even if it were technically possible, I wouldn't be in favor of it. Just as a reader wikisurfing, hatnotes have led me to surprising and interesting connections that I wasn't aware of. As an editor who uses Special:Random a lot, it would not be helpful if the version of the article that I see is not the same version all readers see. Schazjmd (talk) 16:46, 12 April 2020 (UTC)
I'd support this if it were technically feasible without performance costs, but I don't think it is. --Yair rand (talk) 21:44, 12 April 2020 (UTC)
I think this could be done by adding a hash to the end of the redirect (e.g. #redirect [[Page title#hatnote-1]]) (which would need the hatnote template to support an ID parameter) then using css's :active pseudoclass to make it visible.  Nixinova  T  C   02:44, 13 April 2020 (UTC)
  • I like this idea a lot. I don't at all buy the "hatnotes can provide random interesting information" argument — that's not what they're supposed to be for, and they're occupying extremely valuable space at the top of the article. And it wouldn't be necessary to go through all 9 million redirects — just introduce a parameter and let it be adopted as needed. As to the technical side of things, I'm not going to be able to productively contribute to that, but if it's not possible now, perhaps we could tuck this away as a good idea to come back to once Wikipedia's coding is in an improved state. {{u|Sdkb}}talk 05:45, 13 April 2020 (UTC)

Character substitution

Hi team, since yesterday, whenever I save an article it suddenly replaces all special characters such as < and > with their code &equaivalents;. This causes all references and some formats to become regular texts. I can undo it by going back to the temp save under article history but it is really complex. Can anyone look at my history and figure out this sudden problem? I did not change any settings yesterday or recently. I wonder if it is related to this functionality where I have to click radio boxes for many edits since a few months back. This also complicated WP editing by a lot. gidonb (talk) 18:38, 12 April 2020 (UTC)

What editor do you use to edit pages? Ruslik_Zero 18:42, 12 April 2020 (UTC)
Ruslik, I believe I use the default editor in Chrome. Where would I double-check or can you recommend better? gidonb (talk) 18:45, 12 April 2020 (UTC)
Do you use the Wikipedia:Visual editor or Wikipedia:WikEd or mw:2017 wikitext editor? Ruslik_Zero 18:55, 12 April 2020 (UTC)
I'm not 100% certain but under editing > editor the last three out of four options are checked, including this one: "Enable the editing toolbar. This is sometimes called the '2010 wikitext editor'." gidonb (talk) 19:08, 12 April 2020 (UTC)
Are you saving normally or are you hitting edit conflict window first? – Ammarpad (talk) 19:09, 12 April 2020 (UTC)
Normally but since half a year or so in most saves, it throws me to screens where I have to select my version for each paragraph I edited. Not as a conflict remedy, just as an extra hassle. I think it said beta functionality at first so I was still hopeful it would go away. The first save creates an intermediate save, the second a final one. When all is good these are identical. A total waste of time but now entire articles get messed up between the saves. gidonb (talk) 19:22, 12 April 2020 (UTC)
What gadgets and beta-features are enabled? Ruslik_Zero 19:33, 12 April 2020 (UTC)
Well, what you described is exactly what edit conflict is. This is phab:T249986. The superfluous escaping is done by Two-Column-Edit-Conflict extension which is still in beta. You may try disabling it from your beta extensions until when the isssue gets fixed. – Ammarpad (talk) 19:40, 12 April 2020 (UTC)
From every instance where I've gotten the EC notification when it's obvious that I'm somehow EC'ing with myself, I've found that my edit is saved already, and I can click Cancel on the EC to not save the spurious characters. Ravensfire (talk) 21:40, 12 April 2020 (UTC)
Ruslik, good question. There was a double column beta-feature that looks exactly like my trouble. I disabled it along with the one other beta-feature that was enabled but doesn't do much. First save worked correctly. After a real edit conflict, this was also Ammarpad's suggestion! Thank you both!!! gidonb (talk) 19:47, 12 April 2020 (UTC)
This sounds just like the problem at Template talk:Anchor#subst leads to CW Error #85. --Redrose64 🌹 (talk) 21:15, 12 April 2020 (UTC)
Remember, if you don't know what your editing environment is, there are screenshots at mw:Editor. Also, User:PPelberg (WMF), the top half of this conversation is one of the reasons that we need phab:T202921. Whatamidoing (WMF) (talk) 15:58, 13 April 2020 (UTC)

Tech News: 2020-16

15:30, 13 April 2020 (UTC)

Editing news 2020 #1 – Discussion tools

Read this in another languageSubscription list

Screenshot showing what the Reply tool looks like
This early version of the Reply tool automatically signs and indents comments.

The Editing team has been working on the talk pages project. The goal of the talk pages project is to help contributors communicate on wiki more easily. This project is the result of the Talk pages consultation 2019.

Reply tool improved with edit tool buttons
In a future update, the team plans to test a tool for easily linking to another user's name, a rich-text editing option, and other tools.

The team is building a new tool for replying to comments now. This early version can sign and indent comments automatically. Please test the new Reply tool.

  • On 31 March 2020, the new Reply tool was offered as a Beta Feature editors at four Wikipedias: Arabic, Dutch, French, and Hungarian. If your community also wants early access to the new tool, contact User:Whatamidoing (WMF).
  • The team is planning some upcoming changes. Please review the proposed design and share your thoughts on the talk page. The team will test features such as:
    • an easy way to mention another editor ("pinging"),
    • a rich-text visual editing option, and
    • other features identified through user testing or recommended by editors.

To hear more about Editing Team updates, please add your name to the "Get involved" section of the project page. You can also watch MediaWiki Vector skin blue star watchlist icon.svg these pages: the main project page, Updates, Replying, and User testing.

PPelberg (WMF) (talk) & Whatamidoing (WMF) (talk) 15:45, 13 April 2020 (UTC)

I think this would be a nice beta feature to have. Can it be placed under "Beta" so I can try it out on enwiki? Aasim 19:02, 13 April 2020 (UTC)
You can try it on the wikis where it's already in a beta. enwiki is an unlikely candidate for betas because well, enwiki. @Whatamidoing (WMF): Does this new tool have some feature in place that prevents or fixes edit conflicts? How does it deal with them? --qedk (t c) 13:27, 14 April 2020 (UTC)
User:QEDK, the Reply tool auto-resolves most of edit conflicts (the magic is in mw:Parsoid, apparently). If it can't resolve it, you get an error message and the opportunity to copy your message (so you can either reload the page and try again, or open your normal wikitext editor and reply the old-fashioned way). I've seen edit conflicts that were auto-resolved; I've not seen complaints on any of these wikis about it failing (sample size =~500 real-world replies). If anyone wants to test this, remember that you need two accounts to trigger an edit conflict with yourself. MediaWiki overwrites your own edits rather than triggering the edit conflict tools.
Anyone who wants to try it out can enable the Beta Feature and leave a note for me on my talk page at any of those wikis, or go to https://fr.wikipedia.org/wiki/Utilisatrice:Whatamidoing_(WMF)/Brouillon?dtenable=1 and "Répondre" to your heart's content in my sandbox. Whatamidoing (WMF) (talk) 16:47, 14 April 2020 (UTC)
@Whatamidoing (WMF): That sounds good! There's a couple of issues I've come across: 1) sometimes I just get an empty box saying "OK" when clicking "Reply", not sure why. This has happened a few times, refreshing the page fixes it. 2) The "Reply" is disabled as soon as you hit "Reply" on one message, this is not ideal because sometimes you misclick and want to switch to a different editor, ideally you want a prompt asking you to switch replying to that if the editor has started typing a reply to someone else. For info, I am using Safari 13.0.4 on macOS Catalina 10.15.2. --qedk (t c) 19:09, 14 April 2020 (UTC)
  1. is weird, and is also now phab:T250234.
  2. is deliberate, because it can only handle one Reply at a time. The red "Cancel" button will bring the other Reply buttons back (first copy any text you have already typed and want to keep, of course). Whatamidoing (WMF) (talk) 22:35, 14 April 2020 (UTC)
Awesome Aasim, in the mean time, the fantastic user script WP:REPLYLINK does basically the same thing. Gaelan ????✏️ 22:43, 14 April 2020 (UTC)
User:Gaelan and anyone else who uses it: please look at my question at User talk:Enterprisey/reply-link#How often does it work? Whatamidoing (WMF) (talk) 20:02, 16 April 2020 (UTC)
I played with it a little bit. Would I be correct to deduce that it looks for a line (or paragraph, if top-level text) that contains both (a) a link to a User: or User talk: namespace (can be cross-wiki or redlink); and (b) a time stamp in the exact format of the wiki (case-sensitive, same language and timezone, etc.)?
DT added a Reply link with fr:Modèle:U but not fr:Modèle:Non signé. It appears to want the time stamp to be in the same DOM element and not wrapped in a link or a span. Pelagic (talk) 03:58, 18 April 2020 (UTC)

Pushpin map with multiple pins?

I've merged several stubby mine articles into Zeolite occurrences in Idaho. Is there a way to generate an infobox like the one that's there now, but with multiple locations marked? -- RoySmith (talk) 17:24, 13 April 2020 (UTC)

{{Location map many}} can be used for this sort of map. I don't know about putting it in the infobox. You might just move the map out of the infobox to its own place on the page. – Jonesey95 (talk) 20:15, 13 April 2020 (UTC)
It seems like Module:InfoboxImage supports taking wikitext as the image, so that means you can pass a template to |image= of {{Infobox mine}} to be displayed as the image such as {{Location map+}} or {{Location map many}}, or you can just use {{Infobox}} to make a custom infobox in the article, but this option should be avoided. BrandonXLF (talk) 20:25, 13 April 2020 (UTC)
Use {{Location map+}} containing several instances of {{Location map~}}; see for example British Rail Class 37#Duties. --Redrose64 🌹 (talk) 20:37, 13 April 2020 (UTC)

Edits invisible or variably visible after logging out

  • Last night I edited demodex. Once I logged out my 2 edits were invisible (but present in the page wiki code; it's as if the code is not been taken into account when rendering the article page). There weren't even present in the revision history (the become present therein much later). Once logged in, they became visible again (including revision history). Article browse status depends on whence I browse the page and varies by time: e.g. presently
    • via my mobile phone internet connection (different carrier/isp, different IP address, different OS, etc...) said changes are visible -while logged out- including the revision history but an edit I did a bit later is at the stage in which the previous ones were before
    • via my desktop computer -when logged out- all three are still invisible (but the first two are listed in the revision history and all three are present in the wiki code).
    • via a secondary desktop computer sharing internet connection with the primary desktop one, the situation is the same with the one of the phone.
  • Just edited Tiberias. When logged out my edit is present in the revision history and inside the page code but invisible when browsing the article.
  • Have tried multiple times flushing browser cache, computer reboot, modem/router reboot (causing inter alia change of wan IP address), different browsers, different OSes, a page purge, a null edit.

Is anyone else experiencing these issues? I feel as if either I am a total idiot and missing something pretty obvious or something very weird is going on with the wikipedia servers.
PS Hope that this is the right place to report this issue; if not please point me to the proper one.
Thanatos|talk|contributions 21:18, 13 April 2020 (UTC)

This is a known issue, and has been reported by others (including myself). A fix is in the works, but will take a bit. --AntiCompositeNumber (talk) 21:21, 13 April 2020 (UTC)
Thanx. Thanatos|talk|contributions 21:37, 13 April 2020 (UTC)


Hello everyone, Is there any tool or script to move many pages title (i.e. categories) quickly? Don't worry! I use it on our project (not here) Thanks! ⇒ AramTalk 08:51, 14 April 2020 (UTC)

@Aram: do you want to move pages to another category, or actually change the name of a page? For the former, something like WP:AWB would work. — xaosflux Talk 16:31, 14 April 2020 (UTC)
@Xaosflux: I want to change the categories names due to typo errors (i.e. We have 100 categories named "Category:Abc..." and i want to change their names all to "Category:Xyz..."). Is this example clear? Really?! Can AWB move many page names quickly? How can i do that? ⇒ AramTalk 17:59, 14 April 2020 (UTC)
@Aram: keep in mind that moving the category page will not make the pages in that category be moved to the new category - so you will need something like AWB or other tooling to help you with that part, but the page move part isn't automatic. You can see phab:T117909 for discussion and some ideas about using AWB for that. There is no native/builtin function for this task - so you would need to use client-side tool like a script if you want to automate it. — xaosflux Talk 18:10, 14 April 2020 (UTC)

Citing reprinted articles and news aggregator sites

  • There are two scenarios regarding citing reprinted articles using Template:Cite that trouble me.
  • Scenario 1, there is a book that compiled various newspaper articles that were published before (the word "reprint" here does not refer to the common usage which an entire book got printed again). The outcome of the citation would look like the following, in APA and MLA styles. How can I make either of the following two happen by using Template:Cite?
  • Krikrok, Mark. "Dream On." National Review. 2010: 35. Reprinted in Rhetoric with Readings. By John D. Bean. Boston: Pearson, 2012. 505-07. Print.
  • Piaget, J. (1988). Piaget’s theory. In K. Richardson (Ed.) Cognitive development (pp. 3-18). Chicago: Penguin. (Reprinted from Child Psychology, pp. 3-7, by T. Mussen, Ed., 1970, New York: Albany)
Scenario 2. A news article got "instantly republished" by news aggregator sites , for example, an article on Wall Street Journal got instantly republished on Yahoo! News the same day. (Assuming the WSJ article could not be accessed due to pay wall, I must cite the reprint on Yahoo! News). I don't even know how to cite this properly in MLA or APA, let alone how to deal with it in Template:Cite. Any thoughts? Lovewhatyoudo (talk) 14:54, 14 April 2020 (UTC)
Not really a technical question so next time ask at WT:CITE or at the template's talk page.
  1. Cite the source that you consulted. See WP:SAYWHEREYOUGOTIT.
  2. If the article to which you are adding these citations uses the style that you show here, then use that style there.
If the article is using {{cite}}, then you should also use {{cite}}. The template is not designed to cite more than one source at a time so for your first example:
{{cite |last=Krikrok |first=Mark |title=Dream On |magazine=National Review |date=December 2010 |page=35}}
Krikrok, Mark (December 2010), "Dream On", National Review, p. 35
{{cite |last=Krikrok |first=Mark |chapter=Dream On |editor-last=Ramage |editor-first=John D. |editor-first2=John C. |editor-last2=Bean |editor-first3=June |editor-last3=Johnson |edition=9th |location=Boston |publisher=Pearson |date=2012 |pages=505–507 |title=Writing Arguments: A Rhetoric with Readings}}
Krikrok, Mark (2012), "Dream On", in Ramage, John D.; Bean, John C.; Johnson, June (eds.), Writing Arguments: A Rhetoric with Readings (9th ed.), Boston: Pearson, pp. 505–507
—Trappist the monk (talk) 17:00, 14 April 2020 (UTC)

Good article icon on foriegn languages


Hello all,

Last week my article on Śāriputra was promoted to GA status. However, I noticed that the foreign language versions of the article such as [13] dont feature the good article icon for the English version that is normally found (you can see the one for Russian is there, which is also a good article). Legobot failed to update the article with the icon when it was promoted so the icon and revision note was added manually [14] and [15], so I'm concerned i might have screwed something up. Does anyone know how this works? Wikiman5676 (talk) 16:23, 14 April 2020 (UTC)

@Wikiman5676: these are usually updated by bot, and may have some lag. See also the above section (Wikipedia:Village_pump_(technical)#PagesWithBadges) for a technical explanation. You can wait a bit, or manually update the badge on wikidata here: wikidata:Q320142. — xaosflux Talk 16:28, 14 April 2020 (UTC)
Awesome, thank you @Xaosflux:. I will wait a bit and if not update it manually. Wikiman5676 (talk) 16:36, 14 April 2020 (UTC)
@Xaosflux: I tried updating it manually but got the error message "Could not save due to an error. The save has failed.". Any idea what could be causing this? Wikiman5676 (talk) 01:53, 15 April 2020 (UTC)
@Wikiman5676: looks like you are "too new" on wikidata to make that update yourself. I made it for you, it should be populating once caches update. — xaosflux Talk 10:59, 15 April 2020 (UTC)
@Xaosflux: Oh okay, Thanks! I appreciate the help. Wikiman5676 (talk) 16:03, 15 April 2020 (UTC)

Tree chart template issue

Hi everyone, I've got a small issue with a new template I created to illustrate the French Sign Language family: Template:French Sign Language family tree. For a reason I don't understand, triple accolade pairs {{{ }}} show up in each box of the template that seem to have no function. I want them removed and make the tree look like the one I created on Dutch Wikipedia: nl:Sjabloon:Stamboom Franse Gebarentaalfamilie. Who can help me? Greetings, Nederlandse Leeuw (talk) 12:11, 15 April 2020 (UTC)

Define names like Template:Tree chart#Basic example and [16]. PrimeHunter (talk) 12:24, 15 April 2020 (UTC)
Thank you, that works! :D Nederlandse Leeuw (talk) 12:37, 15 April 2020 (UTC)



Who do I see about restoring User:Johnboddie/sandbox? I deleted it last night at John's request ... now it won't let me undelete it (too many edits to undelete, it says ... 3412). - Dank (push to talk) 15:00, 15 April 2020 (UTC)

Yes, please restoreJohnboddie (talk) 15:03, 15 April 2020 (UTC)
 Done @Dank and Johnboddie: the page has been restored. — xaosflux Talk 15:38, 15 April 2020 (UTC)
Thanks kindly. - Dank (push to talk) 15:40, 15 April 2020 (UTC)

Searching variations of insource:/washingtonpost\.com\/\// returns error "An error has occurred while searching: Regular expression syntax error at unknown: unknown"

I realize I made a mistake and with my bot added extra slashes that will break URLs on the washingtonpost.com domain to a few pages. Trying to find these pages and fix them I tried searching with insource:/washingtonpost\.com\/\// (using regex because it has characters not normally searchable) to find these. However, this gets the error "An error has occurred while searching: Regular expression syntax error at unknown: unknown". I have no idea what is wrong. How can I fix this search and find the pages to revert? Thanks a ton, DemonDays64 (talk) 20:44, 15 April 2020 (UTC) (please ping on reply)

note: the string I am trying to search would be washingtonpost.com//. DemonDays64 (talk) 20:45, 15 April 2020 (UTC)
Ending with // appears to break it. You could insert a period to match anything: insource:"washingtonpost.com" insource:/washingtonpost\.com\/\/./. I avoided a bare regex search for performance reasons per mw:Help:CirrusSearch#Regular expression searches. PrimeHunter (talk) 21:45, 15 April 2020 (UTC)
Try enclosing in square brackets insource:/washingtonpost\.com[\/][\/]/ it returns just 4 entries. Keith D (talk) 00:04, 16 April 2020 (UTC)
That also works and gives the same results. It only needs square brackets before the final / to avoid //. You can also end with (\/)/ or many other things to break up //. PrimeHunter (talk) 01:54, 16 April 2020 (UTC)
@DemonDays64: The bot is still breaking links.[17] PrimeHunter (talk) 15:37, 17 April 2020 (UTC)
@PrimeHunter: oh dang...I forgot to refresh the code on the tabs running the bot! I will use that search to find the pages now and do a manual JWB run later today to fix it. Thanks for telling me! DemonDays64 (talk) 15:51, 17 April 2020 (UTC)
I have now run the bot on 47 pages, using the search insource:/https:\/\/(www\.)?washingtonpost\.com\/\/./ using JWB annotated, Colin M's fork of JWB that allows generating page lists with regex search, and the settings as:
  • Find (flag g: (www\.)?washingtonpost\.com\/\/
  • Replace: $1washingtonpost.com/
I think that fixes all the pages affected. Thanks so much for the help, DemonDays64 (talk) 16:18, 17 April 2020 (UTC)!
That looks like a bug that should be reported if there isn't a report already. There's no good reason why that should fail; looks like there's buggy code that assumes the regex never ends with / and barfs when it does. -- (talk) 08:24, 16 April 2020 (UTC)


It's about Module CS1 on my wiki. I getting the following error: Lua error in Module:Citation/CS1 at line 2223: attempt to index field 'keywords_lists' (a nil value) When I clicked on the error to see further information, they read as follows: Lua error in Module:Citation/CS1 at line 2223: attempt to index field 'keywords_lists' (a nil value).


   (tail call): ?
   Module:Citation/CS1:2223: in function "citation0"
   Module:Citation/CS1:3858: in function "chunk"
   mw.lua:511: ?
   (tail call): ?
   [C]: in function "xpcall"
   MWServer.lua:99: in function "handleCall"
   MWServer.lua:313: in function "dispatch"
   MWServer.lua:52: in function "execute"
   mw_main.lua:7: in main chunk
   [C]: ?

I don't know how to add the database table 'keyword list', please help.

Thank you. (talk) 18:53, 15 April 2020 (UTC)

Where are you? Where can I look at an example of a template that exhibits this error? Where can I see how you have the module suite setup?
—Trappist the monk (talk) 17:48, 15 April 2020 (UTC)
Previous trouble solved, NEW TROUBLE AS FOLLOWS:

Thank you for the the swift response Monk.

I have resolved the first trouble and, the solution is as follows:

''--[[--------------------------< E X P O R T E D   T A B L E S >------------------------------------------------
	keywords_lists = keywords_lists,      '''--was missing in (Module:Citation/CS1/Configuration)'''
Now, I cannot save the following line in ''Module:Citation/CS1/Configuration''''--[[--------------------------< L A N G U A G E   S U P P O R T >----------------------------------------------These tables and constants support various language-specific functionality.]]local this_wiki_code = mw.getContentLanguage():getCode()-- get this wiki's language codelocal local_lang_cat_enable = false;	-- set to true to categorize pages where |language=<local wiki's language>
--[[--------------------------< S C R I P T _ L A N G _ C O D E S >--------------------------------------------This table is used to hold ISO 639-1 two-character language codes that apply only to |script-title= and |script-chapter=]]local script_lang_codes = {
	'am', 'ar', 'be', 'bg', 'bn', 'bo', 'bs', 'dv', 'dz', 'el', 'fa',	-- ISO 639-1 codes only for |script-title= and |script-chapter=
	'gu', 'he', 'hi', 'hy', 'ja', 'ka', 'kk', 'km', 'kn', 'ko', 'ku',
	'mk', 'ml', 'mn', 'mr', 'my', 'ne', 'ota', 'ps', 'ru', 'sd', 'si',
	'sr', 'ta', 'tg', 'th', 'ug', 'uk', 'ur', 'uz', 'yi', 'zh'

Whenever the line is included, the page Module:Citation/CS1/Configuration won't saved or published, error message:

''Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator at webmaster@en.example.org to inform them of the time this error occurred, and the actions you performed just before this error.More information about this error may be available in the server error log.Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at en.example.org Port 443''<br />

As a result, the new Citation error is:
Lua error: bad argument #1 to 'fetchLanguageName' (string expected, got nil). More information on the error, shows:

Lua error: bad argument #1 to 'fetchLanguageName' (string expected, got nil).


   (tail call): ?
   [C]: in function "error"
   MWServer.lua:81: ?
   (tail call): ?
   (tail call): ?
   Module:Citation/CS1:1498: in function "language_parameter"
   Module:Citation/CS1:3223: in function "citation0"
   Module:Citation/CS1:3858: in function "chunk"
   mw.lua:511: ?
   (tail call): ?
   [C]: in function "xpcall"
   MWServer.lua:99: in function "handleCall"
   MWServer.lua:313: in function "dispatch"
   MWServer.lua:52: in function "execute"
   mw_main.lua:7: in main chunk
   [C]: ?

Does this have anything to do with the extension Bable, I don't have it here yet, I'm on share host.

Not going to tell me where I can have a look?
Elsewhere, people who have attempted to upgrade the module suite encounter problems similar to your first problem because they have only updated one or some of the necessary modules. Are you doing that? Has the cs1|2 module suite previously worked? If you are upgrading, upgrade all of the modules, not just those that you think might need upgrading.
Maybe I can be more helpful if you tell me where I can see what it is that you are doing.
—Trappist the monk (talk) 19:19, 15 April 2020 (UTC)

Sure, I upgraded all but, some like 'Module:Citation/CS1/Configuration/sandbox' won't saved or published so, I let it be. And Module:Citation/CS1/Configuration only saved half the content, excluding the language section.

What can be done?

Oh! I see, I just check the error_log of en.example.org and found:

''[15-Apr-2020 09:39:41 America/Boise] PHP Warning:  Error while sending QUERY packet. PID=740726 in /home1/example/public_html/en/w/includes/libs/rdbms/database/DatabaseMysqli.php on line 46''

What that means, maximum query allow to MySql database is reached.

I asked my host to increase it but they say it cannot be done otherwise it would affect all website hosted on the same server and advised for upgrade to VPS which I am not ready for.

They also advised on a second option: to reduce the query size to smaller chunk; please, how do I do that ?

If you are getting internal server errors, then you may have bigger problems than getting this module suite to work. I am not the person to help you fix the server errors or mis-configuration problems.
I do not know how to reduce query size. Perhaps someone at WP:VPT can help you with that.
—Trappist the monk (talk) 19:49, 15 April 2020 (UTC)

Thank you,

Let me checkout WP:VPT.

Please, anyone one help on how to reduce the query size to bit by bit. — Preceding unsigned comment added by (talk) 21:04, 15 April 2020 (UTC)

Global watchlist - Update 6

Gadget proposal: find archived sections easily

Per a discussion on my talk page, I am proposing that the script User:SD0001/find-archived-section be made a gadget. When you follow a broken section link to an archived discussion, the script searches the archives and tries to find the section, and gives you the correct link. I feel that this would be useful for everyone.

This script is stable and works in all browsers and skins, and meets the other requirements. You can demo its functionality using the testcases. Thanks, SD0001 (talk) 12:09, 16 April 2020 (UTC)

@Þjarkur, Enterprisey, and DannyS712: SD0001 (talk) 12:11, 16 April 2020 (UTC)
  • Support, extremely useful, I even think it should become a default gadget. – Thjarkur (talk) 12:37, 16 April 2020 (UTC)
  • Strong support, really solid gadget. (When this closes, feel free to ping me if you need someone to actually edit the gadget pages.) Enterprisey (talk!) 15:26, 16 April 2020 (UTC)
  • This would ideally be done by a bot, not a gadget. Nevertheless, this is a good interim solution, so Support. * Pppery * it has begun... 16:08, 16 April 2020 (UTC)
    ClueBot (in its archiving role) does it today for the pages it archives, but I know that functionality has brought the bot to its knees at least once before. --Izno (talk) 16:28, 16 April 2020 (UTC)
    Also, the bot cannot fix links made on other wikis and off-wiki such as on phabricator, gerrit, toolserver, github, etc etc. SD0001 (talk) 03:51, 17 April 2020 (UTC)
    And that's to say nothing of the links in edit summaries, log entries, Special:Notifications, old versions of pages, etc. SD0001 (talk) 07:44, 17 April 2020 (UTC)
  • Strong support. Granted, I'll still be editing links to redirect to the archived location, but searching for it becomes a lot easier. —Tenryuu ???? ( ???? • ???? ) 04:01, 17 April 2020 (UTC)

Talk pages for IPv6 users, combine to /64

When leaving user warnings on IPv6 talk pages, I feel this is nearly useless as on some providers the IPv6 hops every couple of hours or even minutes. I think there is little to no downside in combining IPv6 talk pages to a single /64 range. In the few cases users share a /64 range and edit Wikipedia, you'd get a shared IP page. It also would be nice if Twinkle rollback reverted IPv6 edits on the basis of the /64, vandalism by a IPv6 switching withing its /64 range often gets left in. The upside to combining the talk pages for a /64 is that the IP user is more likely to see the warning and recent change patrol and admins are more likely to see prior warnings to the IPv6.--Eostrix (talk) 13:50, 16 April 2020 (UTC)

Filed the Twinkle part of this request as https://github.com/azatoth/twinkle/issues/924 * Pppery * it has begun... 16:13, 16 April 2020 (UTC)
Your request is in phab at phab:T112325. --Izno (talk) 16:25, 16 April 2020 (UTC)

Updating WikiProject assessment tables by bot

@Kelson: and @Audiodude:. Is there a way to make WP 1.0 bot update a given quality assessment table? I am specifically wondering about User:WP 1.0 bot/Tables/Project/WikiProject Seamounts. Jo-Jo Eumerus (talk) 16:44, 16 April 2020 (UTC)

2020 coronavirus pandemic in Italy transcluded medical cases chart doesn't update with today's row, even after purge


--qedk (t c) 17:54, 16 April 2020 (UTC)

2020 coronavirus pandemic in Italy transcludes Template:2019–20 coronavirus pandemic data/Italy medical cases chart. On the Template page, the new line for today (2020-04-16) is visible, but on the main article, it's not.

I've tried purging the page (in fact, I tried everything in Wikipedia:Purge), but the data for today still doesn't show up. Just to rule out local caching, I tried on a different device (mobile vs desktop), connected to a different ISP, with a different browser (Firefox/Android vs Edge/Windows), and I still get an out-of-date page. --NetRolller 3D 16:55, 16 April 2020 (UTC)

Known issue, see #Edits invisible or variably visible after logging out above. Varnish caches are not being updated due to some reason. --qedk (t c) 16:58, 16 April 2020 (UTC)
Logging in or out makes no difference here - both logged in and logged out, the template page is up to date, the main article isn't. --NetRolller 3D 17:05, 16 April 2020 (UTC)
@NetRolller 3D: The issue was much simpler, the article was using the sandbox template and not the main template. Fixed now. --qedk (t c) 17:55, 16 April 2020 (UTC)

Broken WikiProject templates - looking for a guilty userscript

Is there a script that suggests that WikiProject banners be added to talk pages? I ask because I monitor Wikipedia:Database reports/Broken WikiProject templates, a report that is updated weekly. This report lists transclusions of non-existent templates whose names begin "wikiproject", case-insensitive. In the past, it typically had just a few entries - rarely more than about ten, often just five or six. This last few weeks, the amount has shot up:

  • 27 February 2020 - 5
  • 5 March 2020 - 4
  • 12 March 2020 - 6
  • 19 March 2020 - 24
  • 26 March 2020 - 19
  • 2 April 2020 - 14
  • 9 April 2020 - 35
  • 16 April 2020 - 41

In older versions, these non-existent WikiProject banners were normally due to the activities of about three people, who I shall not name. But the "usual suspects" seem to be behaving themselves these days, and in the last five versions of the report, the non-existent WikiProject banners have almost always been added by a wide variety of different people, just one talk page per person, but anything up to five bad banners per talk page (which might be in the main Talk: or in Draft talk:). These people are probably newbies, using some kind of article creation script - is there one which adds Wikiproject banners to talk pages? --Redrose64 🌹 (talk) 23:01, 16 April 2020 (UTC)

I have only ever seen one userscript that works User:Evad37/rater.... but it's rarely used.--Moxy ???? 23:44, 16 April 2020 (UTC)
The AfC helper script has an option to add WikiProjects when accepting a draft. I don't think it's the culprit here, though, looking at the pages. At least one of them used Kephir's rater, which (I confirmed myself) has an extra dialog box if you put in a nonexistent WikiProject. Lots of music-related projects on the current revision of the database report - education-related, maybe? Enterprisey (talk!) 00:11, 17 April 2020 (UTC)

Annual readership template

{{Annual readership}} appears to be broken on any page that uses it (including the template page itself). Instead of the normal graph, only a broken image icon is displayed. I'm unsure how to begin diagnosing this one, so I thought I'd post about it here. Thanks, –Deacon Vorbis (carbon • videos) 17:49, 17 April 2020 (UTC)

I purged it and it works now, it's probably something server-side that will be fixed sometime, I don't know, it's been not working since forever. Purge the template, then purge the article, huzzah it works for 1 to 2 weeks and we're back to it being a placeholder ? icon. --qedk (t c) 17:57, 17 April 2020 (UTC)

Pages transcluded onto the current version of this page

I find it annoying that the list of "Pages transcluded onto the current version of this page" beneath the edit box shows up when editing an entire existing page yet not when it's a section or a nonexistent page. Is there a way to see it when previewing an edit to a section or a nonexistent page? Nardog (talk) 02:40, 18 April 2020 (UTC)

Huh? It does show up when you preview a section or a non-existing page. Maybe you have to click a triangle next to the heading to expand it. It doesn't show up on the first edit click at a section since the information isn't known at that time. You have to preview first. PrimeHunter (talk) 04:05, 18 April 2020 (UTC)

This page was last updated at 2020-12-11 16:59, update this pageView original page

All information on this site, including but not limited to text, pictures, etc., are reproduced on Wikipedia (wikipedia.org), following the . Creative Commons Attribution-ShareAlike License