Wikipedia:Village pump (technical)/Archive 176

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Why doesn't SUBST: work here?

I'm trying to wrap my head around that. Headbomb {t · c · p · b} 14:42, 22 August 2019 (UTC)Reply[reply]

See Help:Substitution#Limitation, substitution doesn't work within references. SD0001 (talk) 15:43, 22 August 2019 (UTC)Reply[reply]
Stupid bug. Headbomb {t · c · p · b} 15:59, 22 August 2019 (UTC)Reply[reply]

{{subst:#tag:ref|{{cite MIAR |title=FEMS Microbiology Reviews |issn=0168-6445 |access-date={{subst:TODAY}}}}}} will succeed. ―cobaltcigs 22:13, 23 August 2019 (UTC)Reply[reply]

Template:Infobox airline

I made an edit to {{Infobox airline}} here so that a second image the infobox. It works correctly but when I check preview I get the warnings "Warning: Page using Template:Infobox airline with unknown parameter "caption2" (this message is shown only in preview).", "Warning: Page using Template:Infobox airline with unknown parameter "image2" (this message is shown only in preview)." and "Warning: Page using Template:Infobox airline with unknown parameter "image2-width" (this message is shown only in preview).". So what did I do wrong. There's an example here, Summit Air. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 21:55, 23 August 2019 (UTC)Reply[reply]

It uses Module:Check for unknown parameters so the new parameters must be added to the list of known parameters.[1] PrimeHunter (talk) 00:03, 24 August 2019 (UTC)Reply[reply]
Thanks for fixing it. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 00:05, 24 August 2019 (UTC)Reply[reply]

How do you search for where a Wikipedia article is mentioned elsewhere on the internet

If you search for, e.g. '"Bouncing Ball" +Wikipedia' on google, you get a ton of Wikipedia hits. Which is normally what most people would look like.

But what I want to know is where else on the internet Bouncing ball is mentioned. Does anyone know how to do that? Headbomb {t · c · p · b} 02:51, 24 August 2019 (UTC)Reply[reply]

Perhaps by adding Eman235/talk 03:53, 24 August 2019 (UTC)Reply[reply]
You could try services like ahrefs (limited number of results for free). — xaosflux Talk 04:20, 24 August 2019 (UTC)Reply[reply]

Is there a way of displaying shapefile maps in infoboxes for species?

Hi all

I know that this is probably possible but I don't know exactly how to make it happen. I'm talking to an organisation with a huge number of shapefile maps of species distribution which could be imported in to Commons if they change the license (fingers crossed). I'd like to know is what would be the process of adding them to the infobox, I guess my main questions would be:

  1. Can shapefiles be displayed in English Wikipedia articles?
  2. Can they be displayed in infoboxes?
  3. Would I simply propose that the maps are added as a new section of the Species infobox template?
  4. Any other steps I'm missing?


John Cummings (talk) 09:07, 23 August 2019 (UTC)Reply[reply]

The Kartographer extension is installed in English Wikipedia. So, you can use them. Ruslik_Zero 08:16, 24 August 2019 (UTC)Reply[reply]
Thanks very much @Ruslik0:, very helpful. John Cummings (talk) 09:21, 24 August 2019 (UTC)Reply[reply]


Hello, I have recently created the page of Tarık Biberovic however whoever I try to add my sources it says “error edit not saved”. How do I fix this? Thank you Wiki Facts fixer (talk) 13:19, 24 August 2019 (UTC)Reply[reply]

I have just notified that it also says “(basketball)” beside his name. How do I remove this? Thanks Wiki Facts fixer (talk) 13:20, 24 August 2019 (UTC)Reply[reply]
Hi Wiki Facts fixer the best place to ask for help is Wikipedia:Teahouse or Wikipedia:Helpdesk. Please post your next questions there. You created the article at Tarık Biberovic (basketball) and you've successfully saved some edits. I've moved it to Tarık Biberovic, you should add the sources there. – Ammarpad (talk) 14:02, 24 August 2019 (UTC)Reply[reply]
Thank you Wiki Facts fixer (talk) 14:53, 24 August 2019 (UTC)Reply[reply]

How to load a userscript on

While common.js/.css will load when going to on a desktop browser, on mobile these pages are not loaded. From my understanding, this was done because userscripts weren't written for mobile in mind, and has to do with the resourceLoader (related bugs: [2] [3] [4]). What I want is to use my userscript on the mobile site.

I've tried creating User:<username>/minerva.js and User:<username>/mobile.js pages, but using Chrome Remote Debugging, neither works. Opencooper (talk) 19:12, 24 August 2019 (UTC)Reply[reply]

@Opencooper: I added a popup to your minerva (User:Opencooper/minerva.js) - and verified that it worked on mine. Can you see it? (Feel free to revert of course). — xaosflux Talk 19:47, 24 August 2019 (UTC)Reply[reply]
@Xaosflux: I'm an idiot. Turns out I wasn't even logged in on mobile... Thanks for your help. It was PBKAC all along. Opencooper (talk) 20:13, 24 August 2019 (UTC)Reply[reply]

Lost deleted file?

Hi, I submited a request for undeletion of File:1917.mp3. Obviously you see that there is nothing in the deletion log. It is reported that there is a deleted description page but no deleted file. It is assumed that it was deleted before July 2006 and Mediawiki 1.7.0 which allowed to keep the deleted files archived. Does anyone have a hint on how to recover the deleted file? (Yes, I checked in my own hard disk it is not there 😃) - geraki (talk) 16:58, 24 August 2019 (UTC)Reply[reply]

The deletion is from 2003 ((diff) 2003-09-30T15:36:31 . . Geraki (talk | contribs | block) 57 bytes (Eleftherios Venizelos speech to the Greek people in 1917.)). — xaosflux Talk 17:06, 24 August 2019 (UTC)Reply[reply]
Manually logged in Wikipedia:Upload log archive/September 2003. — xaosflux Talk 17:12, 24 August 2019 (UTC)Reply[reply]
The 2003-09-30 is the upload date. There is no deletion log even for the description page. The file is mentioned in the article up to January 2006 [5]. - geraki (talk) 17:17, 24 August 2019 (UTC)Reply[reply]
@Graham87: do you have any archeological insight in to this? — xaosflux Talk 17:12, 24 August 2019 (UTC)Reply[reply]
Based on my own observations, back in the day deleted files did not preserve the actual file in Special:Undelete, only the page history. Notice how other files on Wikipedia:Upload log archive/September 2003 show no file when you click (admin only) on the undelete link. Jo-Jo Eumerus (talk, contributions) 17:52, 24 August 2019 (UTC)Reply[reply]
That's my recollection, and it appears to be reinforced by the Mediawiki release notes from 2006 that I quoted over at Wikipedia:Requests_for_undeletion#File:1917.mp3. I was hoping I was wrong.
Unfortunately, I can't find the file on either. --kingboyk (talk) 17:57, 24 August 2019 (UTC)Reply[reply]
@Xaosflux: I've got nothing ... except sometimes deletions have happened without a deletion log entry, even post-2004. Graham87 03:40, 25 August 2019 (UTC)Reply[reply]

Geraki, where did you find this in the first place? Source? Anyway, you kind of lucked out that another editor made a copy at File:1917.ogg, which I've restored. As I also mentioned at refund, this assumed still under copyright, so please request that it be deleted again if you decide not to make use of it. Someguy1221 (talk) 07:38, 25 August 2019 (UTC)Reply[reply]

We didn't keep deleted versions of images/files until 1.7 as far as I know (only their related deleted pages were tracked). The database table keeping track of it was only introduced in 1.7 at least. —TheDJ (talkcontribs) 09:45, 26 August 2019 (UTC)Reply[reply]

Language link issue

When I go to Simon I (High Priest) and look at the bottom left, there is a Hebrew link to the page for שמעון השני (which is incorrect). When I click "Edit links", however, the Hebrew link that appears is to a different page (the correct page) שמעון הראשון. Why the inconsistency, and how can we make it link to the correct page? Ar2332 (talk) 08:23, 26 August 2019 (UTC)Reply[reply]

The wikitext of Simon I (High Priest) says [[he:שמעון השני]] at the bottom. This overrides the Wikidata link. PrimeHunter (talk) 08:33, 26 August 2019 (UTC)Reply[reply]
Yes, nice simple answer and deleting that text worked. Thank you! Ar2332 (talk) 05:59, 27 August 2019 (UTC)Reply[reply]
@Ar2332: Did you understand PrimeHunter's response? it looks like someone added that particular bit of syntax to the article way back in 2007 with this edit, but I've got no way of knowing why because they didn't leave an edit summary. The editor who made the edit doesn't seem to be active any longer; so, you can can "fix" the syntax or maybe just remove it if you feel it's not needed. Maybe checking a few more similar aticles to see whether that syntax is needed might be a good idea before removing it altogether. Once the syntax problem has been "fixed", the links should work correctly. -- Marchjuly (talk) 01:23, 27 August 2019 (UTC)Reply[reply]
The only effect of the code is to add an interlanguage link to that article regardless of what the Wikidata item might say. Wikidata didn't exist at the time and all interlanguage links were made like that. See more at Help:Interlanguage links#Local links. I don't know Hebrew or ancient priests so I didn't evaluate whether there was justification for the link. I don't think there is. The link he:שמעון השני apparently goes to the Hebrew version of Simon II (High Priest). PrimeHunter (talk) 08:29, 27 August 2019 (UTC)Reply[reply]

Page-type link glitch

xaosflux Talk 20:39, 27 August 2019 (UTC)Reply[reply]

How does one edit this certain problem?

Hey, eveyone.😊 I'm gonna copy this question verbatim from where I originally posted it. I've ran into something wrong in Wikipedia, but I have no idea how to edit it.

If you are interested in helping, please visit these three links:

In the pages that open, you should be able to spot a grey box titled "Sherlock Holmes at Wikipedia's sister projects". The box looks okay on the first link, but not on the other two.

I understand the HTML side of this problem: The text labels are given an arbitrary width of 182 pixels, but the Minerva and Timeless skins add a padding of 1em to the box. Because of insufficient space, the label are placed on the next line. But I don't know where I must fix this problem. So far, I know how to edit articles. I know about templates too. But do I edit a skin? Or, do I need to edit a skin in the first place? If not, where must I edit? flowing dreams (talk page) 10:02, 27 August 2019 (UTC)Reply[reply]

@Flowing dreams: alignment and overflow are hard :( The "182" value is coming from the template code directly: Template:Sister project links. Using 180 seems to fix it - what do you think? — xaosflux Talk 10:25, 27 August 2019 (UTC)Reply[reply]
See also here. — xaosflux Talk 10:28, 27 August 2019 (UTC)Reply[reply]
May need more tweaking for minerva, in any case feel free to test at Template:Sister project links/sandbox and check at Template:Sister project links/testcases - when you have something you like drop an edit request at Template talk:Sister project links. — xaosflux Talk 10:30, 27 August 2019 (UTC)Reply[reply]
@Xaosflux:. Hi. Why reduce to 180? Why not remove the width altogether? flowing dreams (talk page) 10:37, 27 August 2019 (UTC)Reply[reply]
NVM. I see why now. We're going to have to problem if the width gets larger than 180px, whether dynamically or otherwise. Maybe we should switch to table or flex grid. flowing dreams (talk page) 11:01, 27 August 2019 (UTC)Reply[reply]
@Flowing dreams: feel free to try new designs in that sandbox. Another possible option would be to increase the width of the div around it (mbox-small class) however this appears to be heavily used elsewhere so I'm hesitant to touch it. — xaosflux Talk 13:00, 27 August 2019 (UTC)Reply[reply]
Thanks for everything, Xaosflux. I'll think of something. If I felt I need consultation or help, I'll ping you in the template talk page. Cheers. flowing dreams (talk page) 07:06, 28 August 2019 (UTC)Reply[reply]

Notifications freezing up on mobile Firefox (Android)

When I try to use notifications on mobile Firefox (Firefox 68.0.2 mobile version running on Android 9). I use the "desktop version" of the Wikimedia sites as I can't stand the mobile ones. When I click the notification button, the page locks up and I have to back out or refresh to continue, and I can't click to view the changes or anything like that. They work fine on desktop Firefox. Has anyone else encountered this issue? Seraphimblade Talk to me 17:03, 26 August 2019 (UTC)Reply[reply]

I've created phab:T223609 3 months ago without any attention. Stryn (talk) 11:14, 28 August 2019 (UTC)Reply[reply]

Bot get a ref by its number

How would a bot retrieve a reference by its number, for example ref #7. The ref number is not in the wikitext. The number is in the HTML, but the source is HTML, not wikitext, so difficult to retrieve the original cite. Checking if there is something I am missing. -- GreenC 03:13, 28 August 2019 (UTC)Reply[reply]

Fetch the revision, preview it, parse the resulting HTML? Headbomb {t · c · p · b} 03:47, 28 August 2019 (UTC)Reply[reply]
The parsoid html output (example) carries information from the both the page's html as well as its wikitext. Should be useful as far as refs use the citation templates I guess. SD0001 (talk) 05:23, 28 August 2019 (UTC)Reply[reply]
@GreenC: Assuming that yours was not a hypothetical question, one thing that is missing is context. Is this to do with Wikipedia:Bot requests#Fix or tag references that were incorrectly copied along due to a VisualEditor bug? --Redrose64 🌹 (talk) 09:28, 28 August 2019 (UTC)Reply[reply]
Yes. Need to retrieve the (wikitext) for a given citation number in a reliable way. Everything else for that bot is basically done/solved. -- GreenC 12:11, 28 August 2019 (UTC)Reply[reply]
Looks like a solution is REST API which lists the references by number with an HTML version of the ref. Then Parsoid to convert the reference to Wikitext. -- GreenC 13:11, 28 August 2019 (UTC)Reply[reply]
Eh this doesn't work, the REST API for references doesn't have Parsoid markup so it doesn't convert correctly from HTML to Wikitext. -- GreenC 14:22, 28 August 2019 (UTC)Reply[reply]

They are numbered in order of first usage, which is not necessarily the order of definition. If you're sure you can avoid or exclude cases where footnote instance(s) from a template's wikitext are emitted to the article's reflist (which requires unusual syntax and is probably rare) you wouldn't actually have to run the parser. ―cobaltcigs 14:24, 28 August 2019 (UTC)Reply[reply]

Can't be sure. It will be thousands of articles. There are also refs transcluded from infoboxes for example, that are basically non-existent in the wikisource but show up in the final render. -- GreenC 14:31, 28 August 2019 (UTC)Reply[reply]

Working on a solution involving w3m, conversion to plain text and approximate grep. Fun times. -- GreenC 14:42, 28 August 2019 (UTC)Reply[reply]

Watchlist missing from new "advanced" mobile view?

I opted into the new experimental mobile page. It seems to be missing a link to my watchlist: the old/standard mobile view had one. Thanks! Grover cleveland (talk) 15:52, 28 August 2019 (UTC)Reply[reply]

@Grover cleveland: please send your feedback on "advanced mode" to mw:Talk:Reading/Web/Advanced_mobile_contributions. — xaosflux Talk 15:55, 28 August 2019 (UTC)Reply[reply]
It's under your account options (top right icon) Headbomb {t · c · p · b} 16:09, 28 August 2019 (UTC)Reply[reply]
Thanks! It took me forever to realize that option even existed -- on my browser (Chrome / IOS) I have to slide the entire page to the left to make it appear. Grover cleveland (talk) 18:04, 28 August 2019 (UTC)Reply[reply]

Editor font

How can i change the editor font? i previously have tried putting these into common.css

#wpTextbox1 {
  font-family: 'Consolas Regular';

.mw-editfont-monospace {
  font-family:'Consolas Regular';

— Preceding unsigned comment added by Erentar2002 (talkcontribs) 11:28, 29 August 2019 (UTC)Reply[reply]

Try increasing the specificity of the selectors by including the name of the element, textarea. You can also save some space by having both selectors share a declaration-list:
textarea#wpTextbox1, {
  font-family:'Consolas Regular';
Also ensure that the font concerned is installed on your device. --Redrose64 🌹 (talk) 12:17, 29 August 2019 (UTC)Reply[reply]

Version history just starts magically at a midpoint in 2001

Are we missing some early version histories? The oldest version of global warming I can find is from October 2001 but that's obviously not when the article was created. NewsAndEventsGuy (talk) 12:41, 29 August 2019 (UTC)Reply[reply]

Yes. See Wikipedia:Wikipedia's oldest articles. PrimeHunter (talk) 12:46, 29 August 2019 (UTC)Reply[reply]
 Done Thanks NewsAndEventsGuy (talk) 13:34, 29 August 2019 (UTC)Reply[reply]

Better layout for wide material?

In List of countries by prevalence of genital cutting, there's two layout problems. One is the 2 x 2 table of maps, and the other is the large table of data below that. Both of these display poorly, especially on a mobile device. If anybody's a layout guru, could you take a look and see if you can do something better? Thanks. -- RoySmith (talk) 03:01, 30 August 2019 (UTC)Reply[reply]

Better layout for NARROW material, lol

I've noticed when I open the right-hand "developer tools" sidebar in Chromium (web browser) and drag the panel separator too far to the left, the MediaWiki interface layout changes from normal to total shit when given fewer than 551px horizontal space (compare red-circled areas in screenshots). Naturally this is annoying when I'm trying to inspect portlet elements (in the course of debugging CSS/JS). Any ideas on how to disable whatever triggers this behavior? Yes, I'm on a small-screen laptop. Yes, the skin is monobook.cobaltcigs 10:19, 30 August 2019 (UTC)Reply[reply]

This is a deliberate feature in MonoBook called responsive web design. When your skin is MonoBook, "Enable responsive MonoBook design" is an option at Special:Preferences#mw-prefsection-rendering. You can disable it. PrimeHunter (talk) 10:45, 30 August 2019 (UTC)Reply[reply]

 Done Hard refresh needed, but I had no idea it would be that simple. Thanks. ―cobaltcigs 10:51, 30 August 2019 (UTC)Reply[reply]

Need css help

I created a customized version of a script recently and added it my User:MB/common.js and everything was working fine. Yesterday, I edited the script and immediately after that I saw some unexpected behavior - in the edit window I seem to have an unexpected very colorful syntax highligter and some other scripts I use frequently no longer work.

I tried to start over by reverting back to the prior version of my common.js, but that did not help. Have also tried switching to a different browser. Not sure what to try next. MB 14:11, 30 August 2019 (UTC)Reply[reply]

There are several syntax highlighters. Does WP:HILITE help? PrimeHunter (talk) 15:57, 30 August 2019 (UTC)Reply[reply]

Joined 12 months ago on my user page on mobile version of the site

Directly under my user page, a subtitle reads: Joined 12 months ago. This isn't technically correct, as I registered an account on September 16, 2018 (and it's still August). Clovermoss (talk) 21:45, 29 August 2019 (UTC)Reply[reply]

@Clovermoss: while the text of that message (in MediaWiki:mobile-frontend-joined-years) is controlled here, the value appears to be from which uses rounding - I suspect it is rounding "up". If you would like to request a mediawiki developer change that you can submit a bug report at phabricator. — xaosflux Talk 23:18, 29 August 2019 (UTC)Reply[reply]
The rounding appears a little odd. I currently see "11 months ago" for Bmlarred created 20 September 2018, and "12 months ago" for Pirerre1875 created 19 September 2018. If 11 months ago is 30 September 2018 then they are 11 months and respectively 10 and 11 days ago. Maybe it first computes days ago and then assumes every month is 30 days. With this assumption, 20 September 2018 is 11.47 months ago, and 19 September 2018 is 11.50 months ago. With normal rounding rules that becomes 11 months and 12 months like it says. PrimeHunter (talk) 04:07, 30 August 2019 (UTC)Reply[reply]
The website should probably always round down. --Izno (talk) 18:44, 30 August 2019 (UTC)Reply[reply]

Some tool inserts useless ref names

Lately I've noticed identical ref markup like <ref name=":0">, originating from users who don't appear to be related or bots. This is actually less useful than the default numbering (e.g. cite_note-1, which at least matches the visible footnote number, even when moved around) when no name is given. Any idea what tool might do this and where to provide the above feedback? ―cobaltcigs 20:18, 24 August 2019 (UTC)Reply[reply]

It's the Visual editor that does it when an editor reuses a reference. Nthep (talk) 20:28, 24 August 2019 (UTC)Reply[reply]
In addition, naming these references was one of the top 10 for the community survey this year. Who knows where that work is though.... --Izno (talk) 20:43, 24 August 2019 (UTC)Reply[reply]
The Community Tech team keeps a list of what they work on here. —TheDJ (talkcontribs) 07:39, 26 August 2019 (UTC)Reply[reply]

Could this also be the source of excess newline patterns like [[Category:Foo]]\n\n\n{{foo-stub}}? ―cobaltcigs 07:07, 27 August 2019 (UTC)Reply[reply]

@Cobaltcigs: Three newlines produces two blank lines before the stub tags, which for many years (10+) has been accepted practice, and this is what is shown on some advice pages such as WP:TAGSTUB and WP:WSS#General rules. At one time, certain bots and scripts required these two blank lines; but AFAIK they're now more tolerant and won't choke if there is just one blank line before the stub tags. --Redrose64 🌹 (talk) 15:08, 27 August 2019 (UTC)Reply[reply]
Wow, that seems really misguided. One should adjust the .stub { margin-top:NNpx; } CSS for Template:Asbox if (for some reason) extra space is wanted. Rendering an empty paragraph (namely <p><br /></p>) above it on each page is just sloppy HTML. ―cobaltcigs 09:34, 30 August 2019 (UTC)Reply[reply]
Stub template CSS has been suggested before, it's fine when there is just one stub template but many articles have two or more and that would produce undesirable extra gaps. --Redrose64 🌹 (talk) 09:52, 30 August 2019 (UTC)Reply[reply]

Infobox layout

Unrelated: what about infobox parameters all on the same line? Is that a visual editor shibboleth as well? I suppose I should try using it someday to find these things out (and just be careful not to save anything, lol). ―cobaltcigs 09:34, 30 August 2019 (UTC)Reply[reply]

To the infobox matter: that's usually due to incorrect or incomplete templatedata. In this case, Template:Infobox river/doc#Template Data does not have a "format":"block" name-value pair. WhatamIdoing (talk · contribs) can explain this better than me. --Redrose64 🌹 (talk) 09:52, 30 August 2019 (UTC)Reply[reply]
User:Cobaltcigs, Redrose64 is correct, and you should totally try out the visual mode. Try inserting a column in a long wikitext table. If you're not going to save it, then there are plenty of tables in WP:FL. If you like to add images, then try out Insert > Media, which lets you search Commons without leaving the editing window. WhatamIdoing (talk) 19:46, 30 August 2019 (UTC)Reply[reply]

Lake Huron map

See [6] It appears to turn all of Lake Huron into land. Where and how to get this fixed? Alanscottwalker (talk) 20:45, 30 August 2019 (UTC)Reply[reply]

@Alanscottwalker: This was surely vandalism on OpenStreetMap. I see all is back to normal over there. If I remember correctly the Wikimedia tile server is cached for 24 hours, so it may be a bit before it fixes itself. I'll try to poke someone on IRC to see if they can invalidate it manually. MusikAnimal talk 21:47, 30 August 2019 (UTC)Reply[reply]
Thank you. Alanscottwalker (talk) 21:54, 30 August 2019 (UTC)Reply[reply]
I don't know how the map is implemented but if you zoom in enough then Lake Huron changes to blue. PrimeHunter (talk) 21:59, 30 August 2019 (UTC)Reply[reply]
Yeah, probably those tiles for the higher zoom level have since been invalidated, or weren't replicated at the time the vandalism was still live. Anyway the Operations team is aware. Task at phab:T231691 MusikAnimal talk 22:08, 30 August 2019 (UTC)Reply[reply]

False edit conflict problem when saving

Most of the time when I save I get an edit conflict message although the edit has been saved - of course I have to check each time in case there really is an edit conflict. It happens with Firefox (where my wikEd) has died, and Chrome. Doug Weller talk 07:04, 28 August 2019 (UTC)Reply[reply]

@Doug Weller: In the above, "has died" is hard to parse. I do not know what the problem might be but for troubleshooting I would try the following. I assume you click Publish to save an edit which then gives an edit conflict. Try an alternative: click in the edit summary box to position the cursor there, then press Enter. That should publish the edit. Does that make a difference? A second thing you might investigate is whether you can disable wikEd for a while and see if normal editing makes a difference. Johnuniq (talk) 01:42, 29 August 2019 (UTC)Reply[reply]
The conflict is a problem of wikEd, which may need some update. Ruslik_Zero 06:10, 29 August 2019 (UTC)Reply[reply]
@Johnuniq and Ruslik0: using the edit summary box and enter seems to work. By "died" I mean no longer showing at all, and nothing seems to work, even disabling and reenabling it. And cacycle hasn't been around for over two months. Doug Weller talk 15:44, 29 August 2019 (UTC)Reply[reply]
I have the same problems - all my edits results in a reported edit conflict with my own edit. Thue (talk) 23:11, 31 August 2019 (UTC)Reply[reply]

Graph with margins of error


is there a way to make a graph (similar to the one produced by Template:Line chart) which shows error margins? It's intended for the Coropuna#Recent area and retreat section which currently has a long bulleted list with various data points (not all of which should go into the final graph), plus error margins. Jo-Jo Eumerus (talk, contributions) 08:07, 28 August 2019 (UTC)Reply[reply]

Would an bar graph work? If so, check out and . Both of those should work here.--Snaevar (talk) 10:08, 31 August 2019 (UTC)Reply[reply]
@Snaevar:Maybe, but I don't know how to turn that into a Wikipedia graph. Jo-Jo Eumerus (talk, contributions) 07:50, 1 September 2019 (UTC)Reply[reply]

Help - I've broken my javascript (again)

I have a link in my menu to the long-gone grok page hit counter. I just tried to update my js page at User:Spinningspark/monobook.js to use the wmflabs version. My efforts have completely broken the js and I can't work out what the problem is. Anyone willing to take sympathy on me and help? This is the last version of the page that was working. SpinningSpark 09:22, 1 September 2019 (UTC)Reply[reply]

You could import User:PrimeHunter/Pageviews.js. PrimeHunter (talk) 09:27, 1 September 2019 (UTC)Reply[reply]
Are you missing a '+' after '&end=' ? Someguy1221 (talk) 09:34, 1 September 2019 (UTC)Reply[reply]
Perfect. That was it. SpinningSpark 13:40, 1 September 2019 (UTC)Reply[reply]

Toolbox above/below "Publish changes"

Hi, I would like to add this to the da:wiktionary similar to the one on en:wiktionary but I have no idea how to do it. Any hints would be welcome.--So9q (talk) 15:18, 31 August 2019 (UTC)Reply[reply]

So9q Are you refering to the box containing additional characters? --Trialpears (talk) 23:41, 31 August 2019 (UTC)Reply[reply]
Its mw:Extension:CharInsert. Though I have little idea on how to add it to another wiki. SD0001 (talk) 16:17, 1 September 2019 (UTC)Reply[reply]
Thanks. I found out that they roll their own on wiktionary. It's here.--So9q (talk) 17:19, 1 September 2019 (UTC)Reply[reply]

Glitch at Category:Candidates for speedy deletion by user?

There are 40+ userpages listed in this category. Most of them are not actually tagged with U1 or G7 and never have been. What gives? -- MelanieN (talk) 23:50, 1 September 2019 (UTC)Reply[reply]

MelanieN, The category is empty now. How weird. Adam9007 (talk) 23:56, 1 September 2019 (UTC)Reply[reply]
Yes, it is. I didn't make this up, honest! But it may have solved itself, or some invisible helper here fixed it. -- MelanieN (talk) 00:02, 2 September 2019 (UTC)Reply[reply]
MelanieN, I know: I saw that the category had loads of pages, but they disappeared after I bypassed the page cache (though I don't think that did anything to fix it). Adam9007 (talk) 00:04, 2 September 2019 (UTC)Reply[reply]
Maybe you were the invisible helper? 0;-D There was no reason why they should have been in the cache either, since none of them had been U1'ed. Anyhow, case closed, I hope! -- MelanieN (talk) 00:06, 2 September 2019 (UTC)Reply[reply]
MelanieN, I highly doubt it: reloading bypassing cache is one of the first things that occurs to me to do whenever something queer happens, as it makes sure the problem isn't at my end if that doesn't fix it. Adam9007 (talk) 00:09, 2 September 2019 (UTC)Reply[reply]
It was probably a transcluded page like a userbox which had been tagged for deletion without using <noinclude>...</noinclude>, but it's hard to tell now when no example was given. PrimeHunter (talk) 00:13, 2 September 2019 (UTC)Reply[reply]
PrimeHunter, I thought it's something like that, but the problem fixed itself before I could dig much further. Adam9007 (talk) 00:14, 2 September 2019 (UTC)Reply[reply]
I examined the deletion log between 23:50 and 23:56. User:Doodoobutter/UBX/User Animaniacs was deleted after being tagged with {{db-user}}. Special:WhatLinksHere/User:Doodoobutter/UBX/User Animaniacs shows it was transcluded in around 40 user pages. Please always give an example when a problem is reported. PrimeHunter (talk) 00:26, 2 September 2019 (UTC)Reply[reply]
So MelanieN, it seems that you fixed it Face-wink.svg. Adam9007 (talk) 00:30, 2 September 2019 (UTC)Reply[reply]
Sorry about that, PrimeHunter! I'll remember that next time. -- MelanieN (talk) 01:02, 2 September 2019 (UTC)Reply[reply]

Script to highlight certain text in Watchlist?

Is there a script that allows users to highlight certain phrases in their Watchlist? I already have a script that highlights admin names and my name but I also want to highlight certain kinds of pages that I might otherwise forget, such as GA nominations and FAC reviews I watchlisted. I know I can use the custom watchlist script but I don't really want to have a separate watchlist, just have certain phrases highlighted. Regards SoWhy 07:21, 28 August 2019 (UTC)Reply[reply]

@SoWhy: Depending on your requirements, you might be able to do this with just some custom css rules (as kinda described here). For example, the following rule will highlight in yellow all watchlist entries for pages in the Wikipedia talk namespace:
.mw-changeslist-line-inner[href*="/Wikipedia_talk:"] {
  background-color: yellow;
That rule matches links to pages where the URL contains /Wikipedia_talk: somewhere (you could also change href to title to match against the article title). If you wanted to match subpages for good article reviews, you could just change "/Wikipedia_talk:" to "/GA". (Well, technically you might get a false positive if you have GABAA receptor on your watchlist. Though there are clever things you could do to avoid that if you really care.) Colin M (talk) 02:44, 2 September 2019 (UTC)Reply[reply]
@Colin M: That looks indeed like a great solution, I hadn't seen that. Thanks for pointing it out! Regards SoWhy 07:04, 2 September 2019 (UTC)Reply[reply]
It works but now User:Ais523/highlightmyname2.js does not seem to work on my Watchlist anymore Face-confused.svg Regards SoWhy 07:11, 2 September 2019 (UTC)Reply[reply]
Nvm, works again. Weird... Regards SoWhy 07:33, 2 September 2019 (UTC)Reply[reply]

Clicking on undo leads to the help page for reverts

At least it does for [7] - trying to undo the edit of a sock. Doug Weller talk 08:14, 2 September 2019 (UTC)Reply[reply]

I guess you clicked at "(Tag: Undo)". The edit was tagged because it was itself an undo. Links in tags at Special:Tags are meant to help understand the tag. Click "Undo" at the time stamp to revert the edit. PrimeHunter (talk) 08:30, 2 September 2019 (UTC)Reply[reply]
Of course. Doh! I don't know why I did that. Doug Weller talk 15:48, 2 September 2019 (UTC)Reply[reply]

Template/Transclusion Check

Does anyone know what needs to happen for to work again?Naraht (talk) 18:27, 2 September 2019 (UTC)Reply[reply]

Naraht, seems to be working fine if you add the namespace. --Trialpears (talk) 18:33, 2 September 2019 (UTC)Reply[reply]
Trialpears Thank you for the correct assessment of my idiocy. I have it working now.Naraht (talk) 18:50, 2 September 2019 (UTC)Reply[reply]

Draft to article

Hello! How to move a draft to article? I am asking that for Draft:Terran Shield. --Țuțulișcă Vodă (talk) 19:28, 2 September 2019 (UTC)Reply[reply]

Checking if a page is watched using API

Is there a simple way to check if a given page is watched, using the API, short of pulling the entire list of watched pages and checking if the given page in that list? SD0001 (talk) 21:36, 2 September 2019 (UTC)Reply[reply]

@SD0001: I believe you'd want to use API:Info. Sam Walton (talk) 21:48, 2 September 2019 (UTC)Reply[reply]
Thanks, that works! SD0001 (talk) 21:55, 2 September 2019 (UTC)Reply[reply]

Redirects created upon pagemove

 – Discussion will continue once reopened at the MediaWiki talk page linked below UnitedStatesian (talk) 13:55, 21 August 2019 (UTC)Reply[reply]

The code that creates the redirect at the old page location whan a page is moved (unless the mover has suffcient permissions and chooses to suppress such creation) adds the {{R from move}} template to the newly created redirect. Could this be modified to include the {{rcat shell}} "wrapper" around the {{R from move}} template, so that the resulting code would be:

{{rcat shell |

{{R from move}}


This would save editor steps if the redirect page subsequently needed additional rcats added to it. Let me know, and thanks, UnitedStatesian (talk) 03:45, 21 August 2019 (UTC)Reply[reply]

  • I'd class this as a 'nice to have' feature (COULD in MoSCoW speak), and one that would under many circumstances not lead to benefit. I think most movers don't even know about rcat shell nor are they concerned about templates on redirects; just an extension of observation :-) . What might be more useful to the subset of people who are benefited from this would be a script which supported a one-click-addition of the rcat shell template around an existing template. Do I know how to write such a script; sorry, no I don't. Regards --User:Ceyockey (talk to me) 03:56, 21 August 2019 (UTC)Reply[reply]
  • {{R from move}} is added by MediaWiki:Move-redirect-text. It was changed to {{redr|from move}} for a month in 2015 but reverted on request.[8] {{redr}} and {{rcat shell}} both redirect to {{Redirect category shell}} today. There was no consensus at MediaWiki talk:Move-redirect-text#Redr to use {{This is a redirect}} which was similar to {{Redirect category shell}} (created later) and currently redirects to it. PrimeHunter (talk) 08:38, 21 August 2019 (UTC)Reply[reply]
  • Thanks for pointing to the prior discussion; I believe the functionality of the Rcat shell has changed significantly in the intervening 3 1/2 years, but in either event will consider opening a full revisiting discussion over there (pinging editors who commented here, of course). UnitedStatesian (talk) 13:51, 21 August 2019 (UTC)Reply[reply]

So I've just read the documentation of this template, but can't understand why the hell it exists. Or why "help newer contributors learn the redirect category system" would be a priority for anyone anywhere. ―cobaltcigs 14:42, 28 August 2019 (UTC)Reply[reply]

The documentation explains that inexperienced redirect categorizers can either tag a redirect with the plain template or add an rcat or two and leave an empty first parameter. Either way, the redirect is sorted to Category:Miscellaneous redirects. So the inexperienced user can learn how a more experienced user categorizes that redirect. Why wouldn't that be a priority? In addition, the Rcat shell applies protection rcats and sorts to protection categories automatically, and that's something admins like because it means that they don't have to categorize manually, nor do they have to change anything manually when protection is changed or lifted. So it's a shell template – like other shell templates – with benefits! P. I. Ellsworthed. put'r there 02:02, 3 September 2019 (UTC)Reply[reply]

Help needed to track parameter usage

I want to add a tracking category to {{Grading scheme}} to track any uses where A-Class has been disabled.

The template displays A-Class by default or with |A=yes (case sensitive); if any other value is used, or if |A= is defined but left blank, A-Class is removed from the table.

I tried using the following code:

{{#ifeq:{{{A|}}}|yes||[[Category:Grading schemes without A-Class]]}}

How do I get it to ignore the default usage (i.e. where |A= is not used at all)? PC78 (talk) 12:46, 31 August 2019 (UTC)Reply[reply]

Just to add, I did come up with a solution in the sandbox but that alters the behaviour of the template somewhat (for the better I think, but still); if possible I'm keen not to break any transclusions where a blank |A= might be used intentionally to disable A-Class. PC78 (talk) 12:46, 31 August 2019 (UTC)Reply[reply]
{{{A|}}} evaluates to empty both if A is set to empty and not set at all so you cannot use that alone. You need {{{A}}} which evaluates to the value of A if it's set (empty if A is set to empty), but evaluates to the same seven characters {{{A}}} if A is not set. You could nest if and ifeq, or combine the cases in a switch: {{#switch:{{{A}}}||yes=|#default=[[Category:Grading schemes without A-Class]]}}. This code only uses that {{{A}}} evaluates to something non-empty when A is not set. It says: If A is set to empty or yes then return empty, otherwise the category. PrimeHunter (talk) 13:26, 31 August 2019 (UTC)Reply[reply]
I tried your switch but it doesn't work as intended: the category is added by default if |A= is not set at all (it shouldn't be) but is not added if |A= is set to empty (it should be). See test example at User:PC78/grading scheme. Tried a few other things but still can't nail it. PC78 (talk) 14:29, 31 August 2019 (UTC)Reply[reply]
Sorry, I misread the goal and coded what I described: "If A is set to empty or yes then return empty, otherwise the category." This should do what you actually requested: {{#ifeq:{{{A}}}|{{{A|}}}|{{#ifeq:{{{A}}}|yes||[[Category:Grading schemes without A-Class]]}}}}. "If A is set but A is not set to yes then return the category." PrimeHunter (talk) 15:32, 31 August 2019 (UTC)Reply[reply]
Gotcha, thanks for the help! PC78 (talk) 15:37, 31 August 2019 (UTC)Reply[reply]
@PC78: It works but I made it more complicated than necessary. We don't have to test whether A is set, only whether it's set to something other than yes, so your original code can just use yes as default in the comparison: {{#ifeq:{{{A|yes}}}|yes||[[Category:Grading schemes without A-Class]]}}. PrimeHunter (talk) 10:15, 3 September 2019 (UTC)Reply[reply]

Lua error in Module:Citation/CS1 at line 802: Argument map not defined for this variable.


This may be related to the above somehow. At David_M._Bennett and Dennis_Relojo-Howell I am seeing this error in place of every reference. Clicking on it gives: Backtrace:

  1. [C]: in function "eror"
  2. Module:Citation/CS1:802: ?
  3. Module:Citation/CS1:2276: in function "citation0"
  4. Module:Citation/CS1:3765: in function "chunk"
  5. mw.lua:511: ?
  6. [C]: ?

Replacing {{reflist}} with <references /> fixes it. SmartSE (talk) 13:16, 3 September 2019 (UTC)Reply[reply]

This has been fixed: this was due to an unfortunate edit (discussed at Wikipedia:Administrators'_noticeboard#Is_there_a_semi-automated_tool_that_could_fix_these_annoying_"Cite_Web"_errors?). It has been reverted now, but in case Lua errors are still visible anywhere, you can just make a null edit to the article to force reparsing. – Uanfala (talk) 13:23, 3 September 2019 (UTC)Reply[reply]
@Uanfala: Thanks. Just came across that myself. SmartSE (talk) 13:26, 3 September 2019 (UTC)Reply[reply]

reflist error: using a named group with multiple nested refn −results in error msg. using [refs=] or a multiple backlink error if [refs=] is omitted.

See: Old revision of Wikipedia:Sandbox —this shows the result of omitting refs= for named group reflist. whereas using the refs= results in an error msg.

Decomposing the templates to: {{#tag:references||group=}} and {{#tag:ref||group=|name=}} —produces the same error msg. as "using the refs=", as noted above. --2db (talk) 00:09, 3 September 2019 (UTC) && 13:56, 3 September 2019 (UTC)Reply[reply]

2db, the parser doesn't seem to be able to deal with list-defined references that are nested. When you leave out "refs=" it tries but is generating an extra backlink, maybe because it has to go through everything twice. This may have once worked. A few years ago a change to the MediaWiki software broke nested footnotes completely - the parsing order of the page had changed significantly. This was repaired but still does not operate in quite the same way. StarryGrandma (talk) 15:04, 3 September 2019 (UTC)Reply[reply]
However moving the nested refn out of the named reflist to the article space works perfectly (see: Old revision of Wikipedia:Sandbox). --2db (talk) 18:24, 3 September 2019 (UTC)Reply[reply]

link rot issue

(disclaimer: yeah, I'm a super experienced Wikipedian, but I have never taken the time to learn how to cite webpages the "new" way and still do it the way it was done over a decade ago, which is probably why this is happening) The page in question is Swan Lake fire. I recently added a reference to an article on TIME's website. It got tagged as a dead link only a day later, and sure enough when I click on it it goes to a 404. So, I searched the article title "About 2.5 Million Acres in Alaska Have Burned. The State's Wildfire Seasons Are Getting Worse, Experts Say" and found the article again. When I copied the URL it was...the same as the one that led to the 404 error. I don't get it. Lil help? Beeblebrox (talk) 18:51, 3 September 2019 (UTC)Reply[reply]

The URL you want is -- GreenC 19:05, 3 September 2019 (UTC)Reply[reply]
(edit conflict) There should be a space where the url ends and the title begins, otherwise the link is malformed. SD0001 (talk) 19:07, 3 September 2019 (UTC)Reply[reply]
Now that, I actually did know but for some reason just didn't see it as the problem. How silly of me. Thanks. Beeblebrox (talk) 19:24, 3 September 2019 (UTC)Reply[reply]

RfC: Block edits that contain a VisualEditor bug

RFC notice: Wikipedia:Village pump (proposals)#RFC: Block edits that contain a VisualEditor bug -- GreenC 00:01, 4 September 2019 (UTC)Reply[reply]

Search and replace altered?

Hi, I gnome a lot of foreign translated articles. The French leave a space before their colon : like that, often on every line in long lists. It's been so easy to fix until now, using the search–replace function at the top of the edit box: search for space+colon, replace with colon (spelled out here for clarity). But today I find the search function will not pick up space+colon. Any ideas? Tony (talk) 00:11, 4 September 2019 (UTC)Reply[reply]

It works for me. There are different editors. Are you referring to the default editor where the search and replace icon is to the far right but only displayed when "Advanced" is selected? If "Match whole word" is checked then uncheck it. Please link a page where it fails and specify a location in the page. Maybe it has special characters. What is your browser? PrimeHunter (talk) 00:27, 4 September 2019 (UTC)Reply[reply]
PH, thanks. Yes, it does work now (in my sandbox). That's odd. Safari for the Mac. Tony (talk) 08:57, 4 September 2019 (UTC)Reply[reply]

Tech News: 2019-36

09:07, 4 September 2019 (UTC)

Languagetool wikicheck

Is somebody running this? This is how it looks like, seems useful to me. Apparently the author ran out of resources. He did try hosting it on Wikimedia Tool Labs but had some issues. The source is available at (GNU LGPL) 2001:14BA:984A:F200:0:0:0:8EA (talk) 12:41, 4 September 2019 (UTC)Reply[reply]

Admin highlighter script

seems to have stopped. Or perhaps all the admins have gone undergound. Anyone else got the same issue? ——SerialNumber54129 16:12, 4 September 2019 (UTC)Reply[reply]

@Serial Number 54129: just checked, it works for me. What specific page are you looking at, and what admin isn't highlighted? DannyS712 (talk) 04:34, 5 September 2019 (UTC)Reply[reply]
All pages incl watchlist, none of them. But it's back now. ——SerialNumber54129 06:04, 5 September 2019 (UTC)Reply[reply]
To clarify, I'm on mobile right now, and it occurs to me that ^^^was on desktop. Will check that soonish. ——SerialNumber54129 06:05, 5 September 2019 (UTC)Reply[reply]

Template overflow on right side - Basque conflict

Greetings, Recently User:PrimeHunter helped me with titleclass = wraplinks to solve a template spilling beyond the right margins. A more complicated template is {{Basque conflict}} where it looks like the two right-most columns should be stacked underneath the first "Participants in the Basque сonflict" column. The template is linked from article Marian Beitialarrangoitia. I tried several templates updates, and this is way beyond my ability. So I'm asking for expert help here. Regards, JoeHebda (talk) 15:06, 5 September 2019 (UTC)Reply[reply]

Five columns with long nowraplinks is a lot. A simple solution would be changing listclass = plainlist to listclass = plainlist wraplinks. A narrow window would get many wrapped links which doesn't look good so a more complicated redesign with fewer columns is also an option. I'm not doing that. PrimeHunter (talk) 16:55, 5 September 2019 (UTC)Reply[reply]
You could also consider a complete rewrite to rotate it 90 degrees, as is often done with complex topics that have many articles. See Template:Mammals and Template:Queen for examples. – Jonesey95 (talk) 19:15, 5 September 2019 (UTC)Reply[reply]
 Done - @Jonesey95 and PrimeHunter: - Thanks for your suggestions. Being a "cloner" I copied {{Pre-Roman peoples in Spain}} into my sandbox to rewrite. Hoping not to repeat, but at least I have some experience. Cheers! JoeHebda (talk) 19:37, 5 September 2019 (UTC)Reply[reply]

Breaking change in image inclusions?

This morning I noticed that many of my articles with thumbed-images have large amounts of whitespace in the text they are part of. As of the time I'm writing this, examples can be seen in AMES Type 80, and formerly in Dowding system. There appear to be no related edits to the articles that would have caused this. Maury Markowitz (talk) 13:58, 6 September 2019 (UTC)Reply[reply]

They look normal to me. Does it happen if you log out? Try to bypass your cache, using Ctrl+F5 in many browsers, not just F5 alone. PrimeHunter (talk) 14:05, 6 September 2019 (UTC)Reply[reply]

New editor's contributions page not working

For some reason, when I click on "New editors' contribs" at Special:RecentChanges, I get a page with no contributions. Did something change on WP's end or am I out of the loop on something? shoy (reactions) 14:23, 5 September 2019 (UTC)Reply[reply]

That is in MediaWiki:Recentchangestext - and was referenced in Wikipedia:Village_pump_(technical)/Archive_174#A_"special"_page_is_taking_a_very_long_time_to_load - I think I saw this was recently deprecated? (If so we can remove it from that box). — xaosflux Talk 15:03, 5 September 2019 (UTC)Reply[reply]
See also phab:T220447. I can't look in to this right now, but that may be enough for someone else to start. — xaosflux Talk 15:04, 5 September 2019 (UTC)Reply[reply]
You can now filter on RC by newcomers, learners and experienced. This should make things easier and, imo, removes the need for the new editor's contribs page. Agent00x (talk) 16:51, 5 September 2019 (UTC)Reply[reply]
@Agent00x: @Xaosflux: Thanks, I must have missed that new feature. shoy (reactions) 18:14, 5 September 2019 (UTC)Reply[reply]
@Shoy: I've removed that link from that header, as it was deprecated. If you have some other link you'd like to see up there, you can drop an edit request at MediaWiki talk:Recentchangestext. — xaosflux Talk 17:24, 5 September 2019 (UTC)Reply[reply]

The radio button for selecting new editor contribution mode is still present beside the User field. Can this be removed as well? --Trialpears (talk) 19:23, 5 September 2019 (UTC)Reply[reply]

@Trialpears: do you mean the checkbox in Special:RecentChanges for "Newcomers"? that one works, if it is somewhere else can you provide a link to the page you see it on? — xaosflux Talk 13:51, 6 September 2019 (UTC)Reply[reply]
Xaosflux no the lonley radio button beside the user field at Special:Contributions. It's now useless since the other choice, the new editor contributions mode, has been removed. I can add a screenshot if necessary --Trialpears (talk) 15:50, 6 September 2019 (UTC)Reply[reply]
@Trialpears: OK, someone is working on that already, I subscribed you to phab:T232173 for progress. — xaosflux Talk 17:10, 6 September 2019 (UTC)Reply[reply]

Nina Helou

I am not even sure if this is where I should be posting this issue and though I did try to search for it, I couldn't find the conversation the last time this happened. I know that the problem has to do with the use of both left-right and right-left text, but have no idea how to solve it so that the original titles to articles in the references section (and her name variants) are in the proper order without doing weird flipping things. Can someone please wave a magic wand and fix this technical problem for this article or tell me where to go to get it fixed? It is highly unlikely that I will comprehend an explanation of coding. Thank you. SusunW (talk) 20:33, 6 September 2019 (UTC)Reply[reply]

Start by using |script-title= in the cs1|2 templates. That will isolate the Arabic (?) script (rtl) from the Latin script (ltr). Read abot this parameter in the cs1|2 template documentation.
Trappist the monk (talk) 20:42, 6 September 2019 (UTC)Reply[reply]
Trappist the monk Thank you, that fixed most of the issue and surprisingly, I was able to do it myself. Appreciate your pointing me in the right direction. SusunW (talk) 21:12, 6 September 2019 (UTC)Reply[reply]

Talkpage banner question

I have a technical question related to the template code that generates WikiProject banners on talkpages. Any experienced editor knowledgeable in that area willing to spend some time helping me out? UnitedStatesian (talk) 17:44, 6 September 2019 (UTC)Reply[reply]

@UnitedStatesian: think you are looking for: Template:WPBannerMeta. @WOSlinker and Happy-melon: have done a lot of work on it. — xaosflux Talk 18:13, 6 September 2019 (UTC)Reply[reply]
I also know quite a lot about how it works. --Redrose64 🌹 (talk) 22:37, 6 September 2019 (UTC)Reply[reply]

Complex citations

The citations at can get very complex. For example:

Webpage name: "Joe Blow in the 1930 United States Federal Census".

Source Citation: Year: 1930; Census Place: Buffalo, Erie, New York; Page: 4B; Enumeration District: 0242; FHL microfilm: 2341165

Source Information: 1930 United States Federal Census [database on-line]. Provo, UT, USA: Operations Inc, 2002.

Original data: United States of America, Bureau of the Census. Fifteenth Census of the United States, 1930. Washington, D.C.: National Archives and Records Administration, 1930. T626, 2,667 rolls.

I can't figure out how to fit all this information into a standard citation template, can anybody assist? Thanks, Gatoclass (talk) 12:46, 27 August 2019 (UTC)Reply[reply]

WP:SAYWHEREYOUGOTIT. You got it from, so you cite Headbomb {t · c · p · b} 15:15, 27 August 2019 (UTC)Reply[reply]
Sort of...the problem is that Ancestry.Com is considered a user-edited source so when an original reliable source - US Census or whatnot - is cited by an Ancestry.Com user then that original source should somehow be clearly delineated within the cite.
I like the example posted within SAYWHEREYOUGOTIT:
John Smith (2009). Name of Book I Haven't Seen, Cambridge University Press, p. 99, cited in Paul Jones (2010). Name of Encyclopedia I Have Seen, Oxford University Press, p. 29.
but confess I don't know how that particular cite style is supposed to fit within one of the existing/pre-loaded templates (cite web/cite news/cite book/cite journal)... Shearonink (talk) 17:40, 27 August 2019 (UTC)Reply[reply]
You still should should cite it as because that's where you got your information, and you didn't check the sources based itself on. Headbomb {t · c · p · b} 16:10, 28 August 2019 (UTC)Reply[reply]
... Unless you really did check that book, obviously. And yeah, is user-submitted and generally considered unreliable, and that extends to material it cites as a reference (i.e. users also fill in citations, there are no guarantees they actually checked those sources). AFAIK U.S. census data is easy to find online, you should just verify and cite it directly. Ivanvector (Talk/Edits) 16:15, 28 August 2019 (UTC)Reply[reply] -- RoySmith (talk) 15:47, 29 August 2019 (UTC)Reply[reply]

Ivanvector, the user-submitted pages at are unreliable, obviously, but the site incorporates scans of the original census pages and other government documents and there is nothing unreliable about those. RoySmith, thank you for the link, I will take a closer look at that, though I doubt it provides the ease of access to a host of government records that Ancestry does (though it would be preferable to use the government site where possible as the latter requires a subscription). Gatoclass (talk) 16:50, 29 August 2019 (UTC)Reply[reply]

Oh absolutely, I don't doubt the reliability of the census. I do doubt the reliability of some transcriptions, and some conclusions that are drawn on census data from different years, but that's besides the point. Ivanvector (Talk/Edits) 16:54, 29 August 2019 (UTC)Reply[reply]
My personal take on this (i.e. may not even be correct) is that if all is doing is hosting a mechanical reproduction of the census data (i.e. a scan of the microfilm), then what you want to do is cite the census data directly, with some sort of "archived at" or "via" entry which points to the repository. In much the same way I would cite something I found in, or JSTOR. It's like if I went to my local library and looked at their collection of New York Times on microfilm. If I found something I wanted to use, I would cite the NY Times, I wouldn't cite the library. I would only cite if they provided some editorial input. I stand willing to be corrected by people who actually know what they're talking about, however. -- RoySmith (talk) 19:00, 29 August 2019 (UTC)Reply[reply]
Well I guess if one thing can be gleaned from this discussion it's that there is no obvious solution, so it looks as if I will have to find one of my own. Thank you RoySmith and everybody else for your input. Gatoclass (talk) 12:50, 30 August 2019 (UTC)Reply[reply]
@Trappist the monk: I'd like to help with this one but I'm a bit busy. Maybe you can work out how it would be cited in CS1/2. --Izno (talk) 18:40, 30 August 2019 (UTC)Reply[reply]
I'm not sure that I can answer this without details about what is really being cited. I get the sense that is not a reliable source so shouldn't be cited unless it can be shown that whatever it is that OP wants to cite is clearly a faithful copy of a source that meets WP:RS. Without knowing what that is and the necessary details, it is difficult to suggest how cs1|2 should be used.
Trappist the monk (talk) 23:53, 30 August 2019 (UTC)Reply[reply]
As I stated above Trappist the monk, is definitely a reliable source, as it provides scans of the original documents - much like hathitrust or However, it also allows the public to create family trees, individual life histories and so on, on its website, using those documents. The documents themselves are obviously reliable, the user-created content is not. Gatoclass (talk) 15:17, 31 August 2019 (UTC)Reply[reply]

@Gatoclass:, remember that the <ref> tag is one thing, and the various {{cite}} templates are another. You can embed between <ref> tags, whatever you need to properly establish verifiability, including more than one {{cite}} tag. For something this complex, it might be advantageous to use two {{cite}} templates, where the first one cites Ancestry, as Headbomb and others have pointed out, followed by some connecting text, such as, "citing:", or, "taken from:", or whatever makes sense, followed by a second {{cite}} template for the source that Ancestry (or their editors) got it from. Even if there is a way to combine everything in one, huge, complex template, there's no need to knock yourself out. If you just keep your eyes on the prize (WP:V), and do it whatever way makes sense to you, that's the main thing. Heck, if it's that complicated, just write the citation in plain text if you want, and embed the plain text between <ref> tags. That's a perfectly acceptable solution. Best of luck, Mathglot (talk) 23:38, 6 September 2019 (UTC)Reply[reply]

Desperately seeking M*A*S*H (TV series)

Why is the article so hard to find? Is it the asterisks? There should be some check, e.g., before treating the asterisks as wild cards, try taking them literally and see if there's a match there.

Here's why I ask:
Lieutenant Kijé contains the paragraph

The story is often parodied in fictional works making fun of bureaucracies, most famously in the form of the M*A*S*H episode "Tuttle", featuring a fictional captain of similar provenance.

After several diversions, I searched Wikipedia for [[M*A*S*H (TV series)]]. This is what I got:

Search results Results 1 – 20 of 11,140

(Each of these entries was followed by a paragraph of description and, I think, a line of datestamp.)

Results from sister projects

  • television show
  • show (plural television shows) A live or recorded broadcast or program, or series of broadcasts or programs, meant to be viewed on television. 1995, Margaret.
    Word definitions from Wiktionary

... (And finally)

Wikipedia has an article about: M*A*S*H (TV series)

Quotes from Wikiquote


Results 1 – 20 of 11,140

Please {{Ping}} me to discuss. --Thnidu (talk) 17:02, 6 September 2019 (UTC)Reply[reply]

Thnidu, one thing I have learned about searching the web is "don't overthink it". If you search for "mash" or "MASH", you will be taken to a disambiguation page that has the link you will be looking for (no matter what kind of mash, MASH, or M*A*S*H you seek). If you search for "mash tv series", you will be taken directly to the correct page. – Jonesey95 (talk) 17:29, 6 September 2019 (UTC):Reply[reply]
@Jonesey95: I believe Thnidu is referring to our internal search engine's (CirrusSearch) limitations. Compare searches for M*A*S*H (TV series) and "M*A*S*H (TV series)". Nardog (talk) 17:34, 6 September 2019 (UTC)Reply[reply]
@Thnidu: If I enter M*A*S*H or M*A*S*H (TV series) in the search box at top of all pages then I'm taken directly to the page with that title. It's also suggested as soon as I type M*. You only get search results if you use Special:Search or do something to avoid the default Go feature of the normal search box. I think it's acceptable that those search results assume that search syntax is not the literal page name. How many would even search on M*A*S*H instead of just MASH or mash? PrimeHunter (talk) 17:44, 6 September 2019 (UTC)Reply[reply]

@PrimeHunter, Jonesey95, and Nardog: PrimeHunter, you have a good point, as emphasized by your last sentence. But I should have mentioned that I am using the mobile interface, on my smartphone. That can make a lot of difference; see Wikipedia talk:WikiProject Medicine#serious format issue on this page.

--Thnidu (talk) 18:54, 6 September 2019 (UTC)Reply[reply]

It's roughly the same for me in mobile and in the regular interface. If I open en.WP in Safari for iPhone (in the mobile view) and search for "mash", the first search result is the disambiguation page. If I search for "mash tv series", the first search result is the page for the TV series. The plausibility of someone searching for "M*A*S*H" on a mobile keyboard, requiring an absurd number of keypresses on my iPhone, is something I am not going to lose sleep over. – Jonesey95 (talk) 20:46, 6 September 2019 (UTC)Reply[reply]
@Thnidu: You could also surround the search term in quotation marks i.e. "M*A*S*H", which will prevent the * from being treated as wildcards. the wub "?!" 23:17, 6 September 2019 (UTC)Reply[reply]
Thanks, Jonesey95 and the wub. It makes sense. --Thnidu (talk) 03:10, 7 September 2019 (UTC)Reply[reply]

Mobile editor

Has something changed of late, as to editing from mobile skin? Whenever I intend to edit from my mobile, a top-bar (which used to be not there) displays 'Loading Editor' for an extraordinarily long time .... — Preceding unsigned comment added by Winged Blades of Godric (talkcontribs) 04:59, 4 September 2019 (UTC)Reply[reply]

@Winged Blades of Godric: Are you editing in the app, the mobile domain (, or the desktop domain on mobile ( --Izno (talk) 04:43, 7 September 2019 (UTC)Reply[reply]
@Winged Blades of Godric: This new style was deployed as part of the new project, mw:VisualEditor_on_mobile. It may take more time to load, depending on your internet connection. Masum Reza📞 05:15, 7 September 2019 (UTC)Reply[reply]

Cite web deprecated params causing CS1 redlinks everywhere

Although I don't see a change in the history of {{cite web}}, every article I checked that uses the template, is getting red CS1 errors. See for example, World War II#Citations, as well as the documentation in the Examples section of Template:Cite web itself. This applies to params |website= (now required, apparently), and |deadurl= (now deprecated, apparently). What's going on? Mathglot (talk) 19:36, 3 September 2019 (UTC)Reply[reply]

Being discussed at WP:AN. They are separate issues but performed in the same update of the CS1 template base. Discussion is now based how to resolve it, but its affecting the bulk of --Masem (t) 19:38, 3 September 2019 (UTC)Reply[reply]
I just saw that "cite news" requires newspaper. I use TV stations, radio stations and magazines all the time, but this just looks sloppy until someone fixes it. Is this related?— Vchimpanzee • talk • contributions • 19:40, 3 September 2019 (UTC)Reply[reply]
:(edit conflict)(edit conflict) Oh, must be this change to the module. Mathglot (talk) 19:42, 3 September 2019 (UTC)Reply[reply]
Here is a link to the AN discussion about this mess Wikipedia:Administrators' noticeboard#Is there a semi-automated tool that could fix these annoying "Cite Web" errors?. MarnetteD|Talk 19:43, 3 September 2019 (UTC)Reply[reply]
Yes, which is part of this discussion at AN. Mathglot (talk) 19:47, 3 September 2019 (UTC)Reply[reply]
This stinks. Possibly every one of the almost 500 articles I've ever created or contributed to in the last decade or so, now have these ugly red tags all over the References section. Probably the same thing with tens of thousands edits of mine. Not cool, and it makes Wikipedia unsightly. — Maile (talk) 20:06, 3 September 2019 (UTC)Reply[reply]
It's a well known fact that Trappist the monk (talk · contribs) WP:OWNs the modules underlying the {{cite web}} etc. templates. --Redrose64 🌹 (talk) 20:38, 3 September 2019 (UTC)Reply[reply]

Proposing we close this discussion, and/or add a {{Discussion moved to}} template, targeting WP:AN. Mathglot (talk) 20:15, 3 September 2019 (UTC)Reply[reply]

Parameter name changes should be widely advertized for discussion before being implemented. People should stop complaining about the red links. Some time ago most of these warnings were turned off by default because it was precieved to be better for readers of Wikipedia. That is a HUGE mistake. All the warnings should be displayed. They are all errors to be fixed and errors to fix is how Wikipedia attracts new editors. Yes they are "ugly" and it is exactly that that annoys some people enough to figure out how to fix it. Turning them off simply sweeps dirt under the rug but worse it helps exacerabate our low editorship rate. Jason Quinn (talk) 08:25, 7 September 2019 (UTC)Reply[reply]

Help with WP tools

Hi all. Perhaps someone can help me out. 2-3 months ago, several of the tools I use in my gnomish activities stopped working. It has to do with signing in to WP on that tool, and the OATH script. I keep getting the message: "There was a script error --> --> A problem occurred in a Python script. /home/dispenser/public_html/cgi-bin/tracebacks/connect_OAuthException_120_SjBvb1.html contains the description of this error." Anyone know I can fix this? Thanks in advance. Onel5969 TT me 17:40, 6 September 2019 (UTC)Reply[reply]

@Onel5969: For the start, sharing a full link where to find/use "WP tools" would be welcome so someone else could try reproducing without having to guess. --Malyacko (talk) 18:42, 6 September 2019 (UTC)Reply[reply]
My apologies, Malyacko. The two main areas I use are Reflinks and DabSolver. If you notice, there is a down arrow in the upper right corner, which says "sign in". When I click on the option to "Connect to Wikipedia", that's when I receive the error message. I hope that's enough detail.Onel5969 TT me 20:11, 6 September 2019 (UTC)Reply[reply]
Onel5969 Thanks! Confirming: "A problem occurred in a Python script. /home/dispenser/public_html/cgi-bin/tracebacks/connect_OAuthException_120_49JvV7.html contains the description of this error." I assume that Dispenser could look up the exact error and check the code. --Malyacko (talk) 13:37, 7 September 2019 (UTC)Reply[reply]

Hat note question

Is it allowable to use a hat note (see also, further, or other) in the lede of a political candidate's bio page to link to their separate 'political positions' page? Humanengr (talk) 19:16, 7 September 2019 (UTC)Reply[reply]

Humanengr is talking about this Special:Diff/914471844 I removed it because the template document says: "This template is used to create hatnotes to point to a small number of other related titlesat the top of article sections (excluding the lead). It also looks weird in a BLP article. From what I know, see also template shouldn't be used in the lead. I think "see also" section does the job.--SharabSalam (talk) 19:27, 7 September 2019 (UTC)Reply[reply]

Aah — was double-checking; I had missed the explicit instruction on Template:See also re "excluding the lead". (my bad) Are there any other allowable mechanisms to use near the top of an article to link to the 'political positions' page? Humanengr (talk) 19:35, 7 September 2019 (UTC)Reply[reply]
Humanengr, I guess you can use the template Template:for but I feel it wouldn't look like a normal biography of living person article.--SharabSalam (talk) 19:41, 7 September 2019 (UTC)Reply[reply]
Thx so much — agree it's awkward but {{For|details on Gabbard's political positions|Political positions of Tulsi Gabbard}} might resolve the Google issue. OK if I try that? Humanengr (talk) 19:44, 7 September 2019 (UTC)Reply[reply]
Yea sure!.--SharabSalam (talk) 19:51, 7 September 2019 (UTC)Reply[reply]
I don't know which Google issue you refer to but we don't use hatnotes at the top to link to other articles about the subject of the article. Hatnotes are for other subjects which could be confused with the article subject, e.g. another person or thing with the same name. Besides, we have three other articles about her: Tulsi Gabbard 2020 presidential campaign, Political positions of Tulsi Gabbard, Electoral history of Tulsi Gabbard. They are all linked in the box "This article is part of a series about Tulsi Gabbard" below the infobox. It's not displayed in the mobile version but there is also an appropriate hatnote at Tulsi Gabbard#Political positions. "Political positions" is in the table of contents so it shouldn't be hard to find. PrimeHunter (talk) 21:07, 7 September 2019 (UTC)Reply[reply]
Thx, I should have closed this. Humanengr (talk) 21:32, 7 September 2019 (UTC)Reply[reply]


Whenever I contribute in Wikipedia articles, an icon called "Provelt" appears at the bottom-right of the window. What is this? —Yours sincerely, Soumyabrata (talksubpages) 06:11, 9 September 2019 (UTC)Reply[reply]

@Soumya-8974: Do you have the ProveIt gadget checked at Special:Preferences#mw-prefsection-gadgets? If so, that's probably it. --Yair rand (talk) 06:27, 9 September 2019 (UTC)Reply[reply]
Thank you, I have unmarked the gadget. —Yours sincerely, Soumyabrata (talksubpages) 06:35, 9 September 2019 (UTC)Reply[reply]

Can I not see notices for discussions in which I have already participated?

I received a notice on top of my watchlist for an ongoing RfA. The thing is, it turns out that I have already participated in this RfA. Can the notification system be set up so that it passes on notifying people who have already participated in the discussion, and do not need to be notified? I ask because I have no way of knowing that this isn't an entirely new RfA without visiting the page, which is not the best use of time. The same might apply for any kind of noticed discussion. bd2412 T 02:37, 9 September 2019 (UTC)Reply[reply]

I don't know of a proper solution, sorry. I don't know if you typically find your way to RfAs using that notice, but if you do then you could open the RfA in a new tab when you see it and dismiss the notice. It's just a workaround, but it might work for you. -A lainsane (Channel 2) 02:49, 9 September 2019 (UTC)Reply[reply]
Thanks for the suggestion. bd2412 T 04:07, 9 September 2019 (UTC)Reply[reply]
The watchlist message can be discussed at MediaWiki talk:Watchlist-messages but I doubt an automatic system can work efficiently. Naming the candidates was opposed at Wikipedia talk:Requests for adminship/Archive 254#Usernames in watchlist notices and other discussions linked there. PrimeHunter (talk) 10:46, 9 September 2019 (UTC)Reply[reply]

Wikimedia down

For all those that are wondering, yes Wikimedia did go down and may still be down for some, Wikimedia Operations is aware and is working hard to fix that issue. There is a phabricator task, located here. Thank you!

(English Wikipedia Tech Ambassador) Ⓩⓟⓟⓘⓧ Talk 20:32, 6 September 2019 (UTC)Reply[reply]

Slightly more info: and Kaldari (talk) 04:08, 7 September 2019 (UTC)Reply[reply]
The perps are broadcasting their activity on twitter [18] looks like they have now moved from targetting Wikipedia to attacking Twitch servers. --Salix alba (talk): 04:31, 7 September 2019 (UTC)Reply[reply]

Problems loading pages, logging-in?

Problems logging in, also often just reading or trying to edit - last eight hours - no notices on Wikipedia or Wikimedia... how does one report such problems, how are they notified to the community? And how is progress in fixing them? Thanks2A00:1370:8117:4B0D:C4ED:E9B:7451:EB70 (talk) 07:06, 7 September 2019 (UTC)Reply[reply]

It's a known problem: See T232224 and above comments. Also people are working to get things right. – Ammarpad (talk) 07:42, 7 September 2019 (UTC)Reply[reply]

Downtime information and links

I this the goto place for information on downtime? What links are there to downtime information? Could/should there be a link or info on Downtime (disambiguation)? Just asking, had some trouble finding here. Anyway, thanks for the info. Rakeroot (talk) 22:26, 7 September 2019 (UTC)Reply[reply]

IRC (specifically #wikimedia-tech) is generally the best place to get information on ongoing downtime. This page usually has reports too if it's reachable. After the event technical reports are posted at, although it can take some time for the relevant information to be gathered. the wub "?!" 00:02, 8 September 2019 (UTC)Reply[reply]

Should Wikipedia use Cloudflare?

There are some concerns. [19] Benjamin (talk) 11:45, 8 September 2019 (UTC)Reply[reply]

  • Katherine (WMF) stated in Twitter that WMF had made a decision not to use any commercial CDN at all: "this has been a deliberate choice to preserve privacy and maintain independence". IMHO, "A massive IOT botnet attack is a new challenge, we’ll adapt" is not an assuring answer, and neither I can see how an own custom CDN could be a safer and more effective feature than a professional one. However, I don't know where it is an appropriate place to discuss advantages, disadvantages and possible change of this policy. Ain92 (talk) 11:19, 9 September 2019 (UTC)Reply[reply]
    Is there no existing open-source/libre CDN that we could use and/or adapt? — Cheers, Steelpillow (Talk) 11:42, 9 September 2019 (UTC)Reply[reply]
    Ain92, it should be noted that there is a big difference between a CDN and DDoS mitigation systems. I know that people are very used to buy the whole cloudflare package and think everything is one and the same but that's not exactly the case. We don't need a CDN per se, but we do require DDoS mitigation. But this too is complicated within our privacy limitations. —TheDJ (talkcontribs) 13:30, 9 September 2019 (UTC)Reply[reply]

Watchlist - highlight certain editors names

I mostly edit political and climate articles, both very contentious areas subject to DS. Sometimes upset editors tell me to stay off their user talk page. Is there a way to customize my watch list so their user names appear differently than those of other editors? I'm just looking for a way to help me remember so I can respect such wishes. NewsAndEventsGuy (talk) 20:43, 9 September 2019 (UTC)Reply[reply]

I bet a modification to the admin highlighter script could manage that for you.--Jorm (talk) 20:50, 9 September 2019 (UTC)Reply[reply]
You don't need scripts, just one CSS rule will do it. Each row of a watchlist has the user name several times, so if you want to make edits by User:Example1 and User:Example2 to have a red background, you can highlight all of the links by using
/* make it easier to skip past edits by Example1 and Example2 */ a[href="/wiki/User:Example1"], a[href="/wiki/User_talk:Example1"], a[href="/wiki/Special:Contributions/Example1"], a[href="/wiki/User:Example2"], a[href="/wiki/User_talk:Example2"], a[href="/wiki/Special:Contributions/Example2"] {
  background: red;
This goes in Special:MyPage/common.css or Special:MyPage/skin.css, whichever one you normally use for custom CSS. You can replace the keyword red with any valid web colour. --Redrose64 🌹 (talk) 21:01, 9 September 2019 (UTC)Reply[reply]

This will prevent you from editing their user/user_talk pages (if that's the real problem) whilst still seeing what goes on:

var myEnemies = ["Cobaltcigs", "Tom", "Dick", "Harry"];
var iAmEditingUserspace = (wgAction == "edit") && [2,3].includes(wgNamespaceNumber);
var thisGuyHatesMe = myEnemies.includes(wgRelevantUserName);
if(iAmEditingUserspace && thisGuyHatesMe) $("#editform :input").prop('disabled', true);

Configure the first line as appropriate but please keep my name on it. ―cobaltcigs 21:19, 9 September 2019 (UTC)Reply[reply]

Thank you for the tech answer and the laugh. If I use this, I think I'll tweak the variable names a bit to reflect the optimistic hope that despite todays bumps one day we might be friends. Still, that was funny. And thank you everyone else for the alternative answers to this problem, also!! NewsAndEventsGuy (talk) 21:23, 9 September 2019 (UTC)Reply[reply]

Validating facts from emails


I have forgotten the process for using emails to validate refs.

Can someone please remind me where to go to find the info to start the process of getting an email sent in to Wiki?

Thanks Chaosdruid (talk) 19:03, 2 September 2019 (UTC)Reply[reply]

Should this be @ help desk instead of here? Chaosdruid (talk) 19:06, 2 September 2019 (UTC)Reply[reply]
Possibly. For starters, I am unsure of what you're asking. Could you more clearly give us an example scenario? Killiondude (talk) 03:25, 3 September 2019 (UTC)Reply[reply]
@Chaosdruid: Is it possible that you're thinking of OTRS? I'm not sure if they handle exactly the type of request you're talking about, but OTRS is the main place that emails to Wikipedia are handled. — This, that and the other (talk) 07:20, 3 September 2019 (UTC)Reply[reply]
@This, that and the other: & @Killiondude: It was a process where something to be used in an article/as a ref had to be proven to be from the person in question, rather than Joe Bloggs with a made up email address ... In this case I need to get the names of band members out of an email from their management team, but need to be able to say "this is where it came from" Chaosdruid (talk) 17:34, 3 September 2019 (UTC)Reply[reply]
Emails are private communications, and so will not satisfy WP:V because other people can't check what the source is claimed to state. --Redrose64 🌹 (talk) 19:15, 3 September 2019 (UTC)Reply[reply]
There is a process for verifying them, that is the whole point of my query. I used it years ago to get email validation on a source, and I believe it DID involve OTRS. Chaosdruid (talk) 17:00, 4 September 2019 (UTC)Reply[reply]
No. OTRS can be used to verify the identity of someone. That might be used, for example, to demonstrate that the author of a blog was in fact a recognized expert on the subject, and that might make the blog a reliable source. There is no other kind of email verification of an assertion. What is certain is that an unpublished email is not a reliable source, and nothing can make it reliable. Johnuniq (talk) 00:32, 5 September 2019 (UTC)Reply[reply]

Which is exactly what I wanted, to prove that the source of the information is who they say they are ... thanks, well, not really, but at least you gave me the OTRS info which got me there in the end ... Chaosdruid (talk) 21:59, 9 September 2019 (UTC)Reply[reply]

Ein Karem

Please fix:

  • The broken syntax on "elevation" in the infobox
  • Reference 10

Thank you!

2607:FEA8:1DE0:7B4:7811:3461:7039:276 (talk) 21:40, 9 September 2019 (UTC)Reply[reply]

Fixed by other editors. – Ammarpad (talk) 22:22, 9 September 2019 (UTC)Reply[reply]

Estranged preloadtitle=

In en.Wikipedia, some links creating a new report via section=new don’t specify the heading in preloadtitle=, pushing it into the body-text form instead. It usually leads to empty edit summary, which is despicable. Moreover, a proposed fix in Wikipedia talk:Administrators' noticeboard/Edit warring/Example is ignored. Opinions? Incnis Mrsi (talk) 06:13, 10 September 2019 (UTC)Reply[reply]

You're the only one who looked at Wikipedia talk:Administrators' noticeboard/Edit warring/Example in the last 30 days, so your comment was not ignored, it was just not seen. There's little reason to watch that page. The code for that new section link comes from Wikipedia:Administrators' noticeboard/Edit warring/Header, you can edit it yourself. – Ammarpad (talk) 07:03, 10 September 2019 (UTC)Reply[reply]
Did I ask how to do? Expectedly such questions form 90% of threads here, but pay please some attention to who posts stuff and how. As for “little reason to watch that page”, in the shoes of an en.Wikipedia technician I certainly would watch thousands such pages. Even having denied promotion to template editors I watch hundreds templates and similar things. Incnis Mrsi (talk) 07:38, 10 September 2019 (UTC)Reply[reply]
If you were not asking how to do it, what are you asking? You already know the fix you want to apply, so you can either apply it and see if someone disagrees, or ask whoever will be affected. In the latter case, it likely means a post at Wikipedia talk:Administrators' noticeboard/Edit warring - the people here might have no idea of the technical details (i.e. not be "en-wp technicians"), but they are the ones you need to convince (assuming you want to get a consensus in the first place, IMO you should go for the BOLD route). TigraanClick here to contact me 08:35, 10 September 2019 (UTC)Reply[reply]

Problem with Template:Graph:Population history

I think the specific template does not work right during the last weeks. Graphs do not show up and look like broken images. But when previewing in editing mode they do appear working actually. Examples can be found on the template itself or here. Any suggestions? --Αρκάς (talk) 20:21, 1 September 2019 (UTC)Reply[reply]

Αρκάς, changes are being made to the version in the German wikipedia and imported here. Pinging @Yurik, Yair rand, and IagoQnsi: who have been working on the graph template and Module:Graph, though the problem seems to have started before the most recent changes here. It is very strange that the graphs appear in preview just beautifully, but vanish when reading the articles. StarryGrandma (talk) 03:18, 2 September 2019 (UTC)Reply[reply]
Ok, thanks. Then i guess we will have to wait for them.--Αρκάς (talk) 06:38, 2 September 2019 (UTC)Reply[reply]
I ended up reverting all my changes right after I made them, so it wasn't something I did. When you are previewing the articles, the images are rendered on your machine with JavaScript, but when you save the article, the images are rendered by MediaWiki's servers. So the issue must be with the server-side renderer if it's only broken on the saved pages and not the previews. --IagoQnsi (talk) 22:49, 2 September 2019 (UTC)Reply[reply]
IagoQnsi, Αρκάς recorded the problem at the template talk page Aug 8, before your changes. I was hoping one of you would know where we could go from here. Someone reported this at mw:Template talk:Graph:Population history two months ago on July 4 (where it is also not working) and got no response. Is there anything about this in Phabricator? StarryGrandma (talk) 23:27, 2 September 2019 (UTC)Reply[reply]
Yes, actually it is definitely been going on for some months now. When i mentioned "weeks" i was not precise, but since we are trying to timestamp it...--Αρκάς (talk) 00:18, 3 September 2019 (UTC)Reply[reply]
It is a known problem, T226250 at Phabricator, "Graph not displayed if linked to a wikidata query". The uses of the template you gave, both in the template documention and at the Bogotá article in question, are going to wikidata for their information. StarryGrandma (talk) 00:22, 3 September 2019 (UTC)Reply[reply]
Ok thanks. Also pinging @Geraki:, as i'm guessing he would be interested as well. --Αρκάς (talk) 00:25, 3 September 2019 (UTC)Reply[reply]
Any possibilities that this gets fixed? Thanks. --Αρκάς (talk) 12:11, 10 September 2019 (UTC)Reply[reply]

Template:Boxboxtop causing weird visual errors in Safari?

Hello all, I have been dealing with this visual error for a while now and find it quite annoying. Whenever I hover over the "show" boxes in my infobox on my userpage, it continually "drifts" downwards the more you hover over the "show" buttons. I have also experienced this problem on Chrome using my desktop, however, Chrome on my Mac appears to like it now. Does anyone have any ideas? (Wikipedia:Village pump (technical)/Archive 60#Template:Boxboxtop not working correctly in Firefox or Chrome might be related?) --TheSandDoctor Talk 02:52, 4 September 2019 (UTC)Reply[reply]

TheSandDoctor, iv seen this before. The caption of the table wrapping your user boxes gets pushed below the table for some reason. I suspect this is a CSS or html validity error or something, but I've never been able to figure out a cause completely. —TheDJ (talkcontribs) 07:42, 4 September 2019 (UTC)Reply[reply]
Thanks for the response, TheDJ. Huh. The issue appears to now just be on my mac, but I have removed the offending boxes and re-done my userpage over the past few days for a number of reasons (badly needed update, to get rid of that stupid visual error, etc). Hopefully the cause and fix is found eventually. Have you experienced it yourself or just heard others complaining of it (Face-tongue.svg)? --TheSandDoctor Talk 15:20, 10 September 2019 (UTC)Reply[reply]

Zhaofeng Li/reFill

 – Redrose64 🌹 (talk) 22:21, 9 September 2019 (UTC)Reply[reply]

The Zhaofeng Li/reFill tool does not add Retrieved (date) data anymore. I can not get into contact with Zhaofeng Li as he seem to have left the project. But if someone could take a look at the tool I would appreciate it. [20] --BabbaQ (talk) 21:43, 9 September 2019 (UTC)Reply[reply]

It seems he made it now you have to explicitly request for the date to be added (i.e disabaled by default). If you use the new (beta) interface directly, there's a "Preferences" link by your right. You've to enable it from there. If you use, the old interface (which redirects to the new in background) you'll notice that an option "Do not add access dates" is checked by default. You've to uncheck it. – Ammarpad (talk) 07:55, 10 September 2019 (UTC)Reply[reply]
The problem with the old beta is that I do uncheck it but it still does not add the data I want. I will try the new one. --BabbaQ (talk) 08:47, 10 September 2019 (UTC)Reply[reply]
One more thing, right now when I click on View History and then Fix dead links I get the old beta. Perhaps a change to the new and improved version would benefit the project. Thanks.BabbaQ (talk) 10:11, 10 September 2019 (UTC)Reply[reply]
The tool that fixes dead links is a different tool. I don't know where its new version is, but you can suggest changing the link at MediaWiki talk:Histlegend. – Ammarpad (talk) 10:25, 10 September 2019 (UTC)Reply[reply]
Sorry, I have been through a cold and is a bit off. Thanks for your help anyway.BabbaQ (talk) 17:40, 10 September 2019 (UTC)Reply[reply]

Apparently incorrect interlanguage link


On the Usufruct article, the interlanguage link for Romanian links to ro:Drept de uz and, apparently, ought to link to ro:Drept de uzufruct; see talk:Usufruct#Incorrect link to Romanian Wikipedia article. Wtmitchell (talk) (earlier Boracay Bill) 20:50, 10 September 2019 (UTC)Reply[reply]

You'll want to edit wikidata:Q160474 in the lower left area. ―cobaltcigs 20:57, 10 September 2019 (UTC)Reply[reply]
There's a conflicting Wikidata item preventing it from being corrected. I requested its deletion and posted a note on the article talk page for the concerned editor. BlackcurrantTea (talk) 22:02, 10 September 2019 (UTC)Reply[reply]

Tool for locating pages that have been removed from categories.

I don’t know if this has been brought up as a topic previously, but if not, is there a tool that can locate/search for pages that have been removed from categories? If not, I feel like this kind of tool would be useful, as it’s very difficult to keep track of this type of thing.Dohvahkiin (talk) 18:21, 10 September 2019 (UTC)Reply[reply]

It has serious limitations and you may want to use an alternative account with a tiny watchlist but see "Category membership" at Help:Watchlist#Limitations. PrimeHunter (talk) 22:58, 10 September 2019 (UTC)Reply[reply]

Cannot save edit on pages when using cellular network with mobile device

For the past few days, probably since after the Wikipedia outage that happened a few days ago, I have not been able to save edits while on and using the cellular network on my mobile device. I am able to save edits when my mobile device is connect to WiFi, but not on cellular. I’ve tried...

  • ...On my iPhone...
    1. ...Multiple internet browsing apps (Safari, Chrome, and Firefox)
    2. ...tried editing from both "mobile" and "desktop" view
    3. ...tried clearing my browsers' cookies and history
    4. ...resetting the network settings on my mobile device
    5. ...resetting my entire phone and attempting to use the internet before restoring my phone
...And none of this worked.

What happens is when I click the "save" button after creating an edit, the next page doesn’t load, and I get an error that says the server is not responding. In the past 5–6 years I have been editing primarily from a cellular network, this has never happened, and it's a bit alarming. Either way, I hope there is a fix for this issue since I really enjoy volunteering on Wikipedia, but may now have long periods of not editing due to these issues (since I primarily edit using a cellular network connection.) Steel1943 (talk) 20:36, 10 September 2019 (UTC)Reply[reply]

@Steel1943: T232491. --Ahecht (TALK
) 20:48, 10 September 2019 (UTC)Reply[reply]
@Ahecht: I’m unfortunately glad to see I’m not the only one experiencing this issue. I went ahead and added a {{Tracked}} to the top of this section since I didn't see this discussed anywhere else. Steel1943 (talk) 21:05, 10 September 2019 (UTC)Reply[reply]
@Ahecht: @Steel1943: - Can you try again (possibly with a browser or phone restart if necessary). I've made some experimental changes on the Wikimedia side of things which may (hopefully) fix this for you. BBlack (WMF) (talk) 01:25, 11 September 2019 (UTC)Reply[reply]
@BBlack (WMF): I made this edit on my cellular network (as well as this one), so that may have resolved it. Steel1943 (talk) 02:30, 11 September 2019 (UTC)Reply[reply]
@BBlack (WMF): It's working for me too. --Ahecht (TALK
) 14:39, 11 September 2019 (UTC)Reply[reply]

Edit-conflicting with self

Hello everyone, has anyone else had an issue where the "Publish changes" button saves your edit but then the editing interface says that there was an edit conflict? I have had it happen rather frequently as of late, yet when I check the page history my edit was saved correctly. It appears to quite literally be either an error in the interface or for some reason trying to publish the same edit twice (consecutively) and causing me to self-conflict. It doesn't happen every time, but does occur a lot. It is rather annoying.... --TheSandDoctor Talk 15:16, 10 September 2019 (UTC)Reply[reply]

I have the exact same problem. See also Wikipedia:Village pump (technical)/Archive 176#False edit conflict problem when saving. Thue (talk) 18:41, 10 September 2019 (UTC)Reply[reply]
There are many bug reports for this issue, two of them are: phab:T28821 and phab:T59264. – Ammarpad (talk) 05:41, 11 September 2019 (UTC)Reply[reply]
Thank you, @Thue and Ammarpad:. I have subscribed and commented on both. I'm glad I'm not the only one experiencing this Face-tongue.svg. --TheSandDoctor Talk 15:11, 11 September 2019 (UTC)Reply[reply]

cannot save edits 404 error

On that page, attempting to save edits, I get "Something went wrong" "HTTP 404". I cleared all caches as documented in WP but did not help. BrucePL (talk) 19:43, 9 September 2019 (UTC)Reply[reply]

Ammarpad saved an edit after your post. I had no problems saving an edit now. PrimeHunter (talk) 21:08, 9 September 2019 (UTC)Reply[reply]
@PrimeHunter: thanks. I saved a few edits but it bombed again. Cannot switch to source editor and cannot save in VE. BrucePL (talk) 22:11, 9 September 2019 (UTC)Reply[reply]
"Error loading data from server: apierror-visualeditor-docserver-http." BrucePL (talk) 22:19, 9 September 2019 (UTC)Reply[reply]
I tried VisualEditor this time and it also worked fine for me. PrimeHunter (talk) 22:21, 9 September 2019 (UTC)Reply[reply]
I don't know what to do. I can save eidts on other pages not this one. BrucePL (talk) 22:33, 9 September 2019 (UTC)Reply[reply]
I openned the article in a new tab and editors worked. BrucePL (talk) 22:51, 9 September 2019 (UTC)Reply[reply]

There's something going on. I saw something like this twice, a couple of days ago. -- RoySmith (talk) 23:45, 9 September 2019 (UTC)Reply[reply]

Yeah, getting this again. I edited Draft:Morse Robb using visual editor, and when I went to save it, got the 404 error. I'm now at a point where if I try to switch to source editing, I get, "Error loading data from server: apierror-visualeditor-docserver-http." If I select "Visual editing" from the drop-down menu (even though I'm already in visual), I get in the javascript console:

Extended content
load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116 Uncaught TypeError: Illegal invocation
    at add (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116)
    at buildParams (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115)
    at buildParams (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115)
    at buildParams (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115)
    at Function.jQuery.param (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116)
    at Function.jQuery.param (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:150)
    at Function.ajax (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:123)
    at Function.jQuery.ajax (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:144)
    at Object.requestParsoidData (<anonymous>:461:31)
    at (<anonymous>:787:643)
add @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116
buildParams @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115
buildParams @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115
buildParams @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115
jQuery.param @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116
jQuery.param @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:150
ajax @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:123
jQuery.ajax @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:144
requestParsoidData @ VM206:461 @ VM218:787 @ VM218:1238
ve.ui.MWEditModeVisualTool.switch @ VM218:798 @ VM218:320
OO.ui.ToolGroup.onMouseKeyUp @ VM218:11
OO.ui.PopupToolGroup.onMouseKeyUp @ VM218:20
OO.ui.ListToolGroup.onMouseKeyUp @ VM218:25
OO.ui.ToolGroup.onDocumentMouseKeyUp @ VM218:11
load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116 Uncaught TypeError: Illegal invocation
    at add (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116)
    at buildParams (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115)
    at buildParams (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115)
    at buildParams (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115)
    at Function.jQuery.param (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116)
    at Function.jQuery.param (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:150)
    at Function.ajax (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:123)
    at Function.jQuery.ajax (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:144)
    at Object.requestParsoidData (<anonymous>:461:31)
    at (<anonymous>:787:643)
add @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116
buildParams @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115
buildParams @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115
buildParams @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:115
jQuery.param @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:116
jQuery.param @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:150
ajax @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:123
jQuery.ajax @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:144
requestParsoidData @ VM206:461 @ VM218:787 @ VM218:1238
ve.ui.MWEditModeVisualTool.switch @ VM218:798 @ VM218:320
OO.ui.ToolGroup.onMouseKeyUp @ VM218:11
OO.ui.PopupToolGroup.onMouseKeyUp @ VM218:20
OO.ui.ListToolGroup.onMouseKeyUp @ VM218:25
dispatch @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:69
elemData.handle @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=0ymep1p:65

I'm not sure, but I think a common theme is that the page I'm editing was recently moved. It certainly was in this case, and in one of the previous ones that I saw a few days ago. -- RoySmith (talk) 17:32, 11 September 2019 (UTC)Reply[reply]

phab:T230272 possibly? There's some others in the backlog also. --Izno (talk) 17:54, 11 September 2019 (UTC)Reply[reply]

Tech News: 2019-37

Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.

Changes later this week

  • You will be able to read but not to edit Wikidata for up to 30 minutes on 10 September at 05:00 (UTC). [21]
  • When you log in, the software checks your password to see if it follows the Password policy. From this week, it will also complain if you are a "privileged user" and your password is too short. If your password is not strong enough, please consider to change your password for a stronger password. [22]
  • Recurrent item The new version of MediaWiki will be on test wikis and from 10 September. It will be on non-Wikipedia wikis and some Wikipedias from 11 September. It will be on all wikis from 12 September (calendar).


Future changes

  • Advanced item Soon, the AbuseFilter will recognize new syntax errors. Specifically, it will recognize errors about empty operands. You can see a list of examples in phab:T156096. Any active filter with such an error will stop working; hence, please take a look at the list of affected filters, and fix the ones that you can fix. Note that there is also an ongoing RFC on meta-wiki about the creation of a new abusefilter-manager global group.

Tech news prepared by Tech News writers and posted by botContributeTranslateGet helpGive feedbackSubscribe or unsubscribe.

(manually posting due to problems with MassMessage this week.) 19:22, 11 September 2019 (UTC)

Recent class=sortkey changes?


Were there any recent changes in class="sortkey" area? Template:Track_gauge#List_of_defined_track_gauges now shows (in 1st row for example):

00003 mm0.118 in

Expected, as it was until ~some weeks ago:

0.118 in

What shows extra is the sortkey, with source code being (unchanged):

<span class="sortkey">00003 mm</span>0.118 in

Any ideas? -DePiep (talk) 12:45, 11 September 2019 (UTC)Reply[reply]

Has to do with this in {{Convert}}? @TheDJ and Johnuniq:. -DePiep (talk) 12:49, 11 September 2019 (UTC)Reply[reply]
Nothing to do with convert. If you edit Template:Track gauge/doc/input options, you will see that there are no convert transclsions, but does have something to do with an edit to common.css. You'll need to update Module:Track gauge/autodocument to use the data-sort-value method for sorting. -- WOSlinker (talk) 12:54, 11 September 2019 (UTC)Reply[reply]
OK. I only mentioend {{Convert}} becasue the class change was announced there. -DePiep (talk) 13:00, 11 September 2019 (UTC)Reply[reply]
  • So instead of
<span class="sortkey">00003 mm</span>0.118 in
<span data-sort-value="00003 mm">0.118 in

Solved. -DePiep (talk) 14:23, 11 September 2019 (UTC)Reply[reply]

DePiep, actually, I'd say: <span data-sort-value="00003">0.118 in</span>. You 'mask' the content of the cell, with the numerical value 00003. And of course this assumes that you use the same sort of numerical values in all the other rows. —TheDJ (talkcontribs) 14:42, 11 September 2019 (UTC)Reply[reply]
I get it, thanx. However, I don't have time to refine & test that in the detail template. -DePiep (talk) 20:57, 11 September 2019 (UTC)Reply[reply]

Thank button changing into rollback

I have noticed that on Win10 using Chrome that upon loading a page history that the page is reformatted after a couple of seconds, I guess because of CSS or script mods. When this happens the rollback button moved exactly to where the thanks button was. Not, in itself a big problem but, embarrassingly, if I click thanks before this change occurs (from ~0.5 to ~3 seconds) the interface reads it as a rollback. Anyone have any ideas? I use the script that should hide rollback on my watchlist - sometimes it does some times not - but it is useful from page history. As an aside, is there a way to add a thanks button to the watchlist? Jbh Talk 14:37, 11 September 2019 (UTC)Reply[reply]

Seconded (Win7/Opera). I have probably inadvertently rolled back around half a dozen times, followed by an undo, and a red-faced summary, "self-revert; fat-finger error". Thanks, Mathglot (talk) 02:50, 12 September 2019 (UTC)Reply[reply]
Hmm, I don't get the page reformatting issue. Perhaps related to a gadget or .js script? Sam Walton (talk) 15:26, 12 September 2019 (UTC)Reply[reply]
@Jbhunley: It's probably due to my inline diff script; the view history button loads a little bit after the page does. I have a CSS hack that will reserve the space normally taken up by the button on page load--this prevents the script from significantly shifting any UI elements (at the cost of an ugly blotch of whitespace for a split second before the script loads in). If you'd like to try it out, you can add the following lines to your common.css page:
.mw-changeslist-edit .mw-changeslist-separator {padding-right:84px;}
.mw-changeslist-edit {padding-right:0px;}
#pagehistory .mw-changeslist-separator {padding-right:84px;}
#pagehistory {padding-right:0px;}
...which should fix the problem for both the watchlist and history pages. If you need more or less space (it could vary, depending on fonts and the like), you can adjust the 84px up or down. Let me know if this helps with the problem! Writ Keeper  17:11, 12 September 2019 (UTC)Reply[reply]
Thank you. That works. I upped it to 120px which does not seem to cause issues on lower res displays. The button still jumps but it is to 'undo' on the laptop. I can catch the error before it commits the undo. Jbh Talk 19:03, 12 September 2019 (UTC)Reply[reply]

Help with LUA and shoving a string into a template

In Module:JCW, I have in this version, the following,

function p.pattern (frame)
	local n = mArguments.getArgs(frame, {parentOnly = true})
	local length = TableTools.length(n)
	local text = string.format ('*%s', n[1] or '')
	n[1] = nil --make next loop only target arguments >=2
	for i, j in ipairs(TableTools.compressSparseArray(n)) do
		text = text..string.format("\n** {{replace|%s|.*|<code>.*</code>}}", j)
	return text

The line text = text..string.format("\n** %s", j) is apparently shorthand for 'dumbass that can't code LUA', because if if you have a string like '*Bibcode*', you don't get, as I'd expect

    • .*Bibcode.*

but rather an un-parsed

    • {{replace|.*Bibcode.*|.*|.*}}

If someone could de-dumbassify my code, that would be peachy. The goal is if the substring '.*' is present in a string like '.*Bibcode.*', I want those to become wrapped in code tags, like so <code>.*</code>Bibcode<code>.*</code>.

@Galobtter: maybe? Headbomb {t · c · p · b} 13:59, 11 September 2019 (UTC)Reply[reply]

I think you need to escape the special characters (. and *) in your search. See this tutorial and this manual. I think you need something like %.%* to find '.*'. – Jonesey95 (talk) 14:18, 11 September 2019 (UTC)Reply[reply]
I'll double check, but it would be a bit weird since {{replace|.*Bibcode.*|.*|<code>.*</code>}} works fine. Headbomb {t · c · p · b} 14:47, 11 September 2019 (UTC)Reply[reply]
Nope, throws off a bunch of errors if I do that. Headbomb {t · c · p · b} 14:51, 11 September 2019 (UTC)Reply[reply]
@Headbomb: Templates won't be expanded from lua output. To use a template, you'd need to use frame:expandTemplate. However, in this case, there's no reason to use lua to call {{replace}}, since that template is just going to call back to a lua module anyway. Just do:
 text = text .. "\n** " .. mw.ustring.gsub(j, "%.%*", "<code>.*</code>")
mw.ustring.gsub is just the unicode-compatible version of string.gsub. --Ahecht (TALK
) 15:01, 11 September 2019 (UTC)Reply[reply]
Yeah that works. Thanks. Still got other issues, but less pressing ones. Headbomb {t · c · p · b} 16:13, 11 September 2019 (UTC)Reply[reply]
Plain string.gsub works fine in Ahecht's code because there is no search for Unicode characters: it's just searching for dot and asterisk. Johnuniq (talk) 23:44, 11 September 2019 (UTC)Reply[reply]
True, but I always prefer to use the unicode-compatible versions as a matter of habit since it makes re-using the code later easier. --Ahecht (TALK
) 20:04, 12 September 2019 (UTC)Reply[reply]
Unicode is definitely better than non-unicode. A lot more scalable. Headbomb {t · c · p · b} 20:12, 12 September 2019 (UTC)Reply[reply]

External links with embedded "[" and "]"


How do I display an external link that contains "[" and "]"? Here is an example: The first result of this Google Scholar search takes you to a page. But its url has "[" and "]" in it. I tried to paste that link into this Resource Request, but the "[" and "]" garble the result. Is there an escape character that can be used to "hide" the "[" and "]"? Thanks. —Bruce1eetalk 13:23, 12 September 2019 (UTC)Reply[reply]

See Help:URL#Fixing links with unsupported characters: [23]. PrimeHunter (talk) 13:31, 12 September 2019 (UTC)Reply[reply]
Thank you – that's what I needed. —Bruce1eetalk 13:34, 12 September 2019 (UTC)Reply[reply]

Easy way to find mismatched assessments?

So I found Pullman Square entirely by accident when trying to find GA-class WP:MALLS articles. But for some reason, it was only assessed as a C-class Shopping Malls article despite being GA-class in every other Wikiproject. Is there an easy way to find articles that have contradictory assessments of this sort? Ten Pound Hammer(What did I screw up now?) 21:54, 12 September 2019 (UTC)Reply[reply]

It should be possible with WP:PETSCAN, you need the intersection of Category:Good articles with subcategories of Category:C-Class articles etc.; you need to enable both mainspace and Talk: space. --Redrose64 🌹 (talk) 22:35, 12 September 2019 (UTC)Reply[reply]
I also got a list using the page_assessments database: quarry:query/38930. There are a lot of false positives though, for instance if the article belongs to inactive WikiProjects. I don't think I can check for those. Same query but for FA: quarry:query/38931. I think category intersections such as with Petscan is going to work better. MusikAnimal talk 22:42, 12 September 2019 (UTC)Reply[reply]

Unable to edit my common.js

When I edit my common.js and save it by clicking the "Publish changes" button, there is no edit saved. I don't get the timed "Your edit was saved" popup afterwards either. It doesn't matter whether I'm trying to insert new code (e.g. to load another script) or add or edit an existing comment – none of them get saved. The history of the page shows the last edit was in May and my contribs don't show the edit either. I am able to edit User:AlanM1/sandbox as well as WP:Teahouse. Any ideas? —[AlanM1(talk)]— 09:50, 13 September 2019 (UTC)Reply[reply]

Disregard. Enabling WikEd and then disabling it again solved the problem for some reason. I'll note for the record that the syntax-checking and coloring wasn't working either (and is now). —[AlanM1(talk)]— 10:00, 13 September 2019 (UTC)Reply[reply]

Contribs footer weirdness

Something about this particular username (maybe the asterisk at the beginning?) seems to be breaking a couple of the links at {{Sp-contributions-footer}}, but I'm afraid I don't know much about the features being used, so I'm not sure where the problem is exactly. Just thought it would be worth bringing up here. Thanks, –Deacon Vorbis (carbon • videos) 03:01, 13 September 2019 (UTC)Reply[reply]

Template:Sp-contributions-footer should be fixed a little. I did these changes on fiwiki and extra characters in username are now rendering correctly. Stryn (talk) 08:58, 13 September 2019 (UTC)Reply[reply]
Oh, actually not, now it's not working usernames where is a space like "Given name". Stryn (talk) 09:00, 13 September 2019 (UTC)Reply[reply]
I fixed it, hopefully without causing any other issues. urlencode takes a formatting option, and using WIKI leaves leading * and : unadulterated (as if it were wikitext) and thus unacceptable for a url; changing to QUERY seems to take care of the issues. Interestingly, a leading # doesn't cause the same issue, not sure if that's intentional or not. ~ Amory (utc) 09:52, 13 September 2019 (UTC)Reply[reply]
That also broke on usernames with spaces so I reverted it. I think it would work to wrap urlencode in {{encodefirst}}: {{encodefirst|{{urlencode:{{{1|Example}}}|WIKI}}}}. PrimeHunter (talk) 10:51, 13 September 2019 (UTC)Reply[reply]
Urgh, thanks. I tested spaces, but... Anyway, seems DJ and xf took care of it. ~ Amory (utc) 12:57, 13 September 2019 (UTC)Reply[reply]

503 errors on Wikimedia / Wikipedia pages

 – Resolved per below. --TheSandDoctor Talk 05:23, 14 September 2019 (UTC)Reply[reply]

In case this is affecting anybody else: The problem is under investigation. ↠Pine () 05:31, 12 September 2019 (UTC)Reply[reply]

Update: the problem is believed to be related to network maintenance, and has been resolved. --↠Pine () 06:10, 12 September 2019 (UTC)Reply[reply]

Change mobile skin

The skin preference doesn't affect mobile sites (** I can not change mobile skin no matter how hard I try. So we were chatting on #wikimedia-tech about this. Isarra told me there was a phab task about this problem, and Jon Robson commented there that there is a mobile skin preference but it is hidden. I asked Isarra and other people on #wikimedia-tech, but they didn't seem to know too. Some of them tried to enable it via api, but that ended in failure. Anyway, he told me to find some gadget maker nerds and ask them as "they might know". So I am asking here. How to change skins on mobile? Masum Reza📞 05:39, 14 September 2019 (UTC)Reply[reply]

Template reformatting


How can I reformat {{Anthony}} so that it is a tad wider and so that multiple links may appear on a line?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 02:26, 13 September 2019 (UTC)Reply[reply]

TonyTheTiger Increase width and remove bullets. --Trialpears (talk) 05:09, 13 September 2019 (UTC)Reply[reply]
@TonyTheTiger: Alternatively, increase the width and alter |contentclass=plainlist to |contentclass=hlist. --Redrose64 🌹 (talk) 09:36, 13 September 2019 (UTC)Reply[reply]
Redrose64 thank you. Also, thanks to Trialpears, but the other solution seemed easier to me.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 06:18, 14 September 2019 (UTC)Reply[reply]

Can't follow links to .pdf's


--qedk (t c) 10:29, 15 September 2019 (UTC)Reply[reply]

Recently, whenever I try to follow a link to a .pdf, such as for instance this, I only get a blank page, while other people seem able to access it without trouble. Admittedly, I am in the EU, and so I get shut off from various US media because GDPR, but the .pdf thing seems different. There's no message at all, just a blank page. Bishonen | talk 09:24, 15 September 2019 (UTC).Reply[reply]

@Bishonen: What is your operating system and browser version? Does it happen for all links to .pdfs (for posterity, the .pdf on the link shows up fine on my Catalina 10.15 machine's Safari 13, Firefox 69, Chrome 76) or only some? --qedk (t c) 09:30, 15 September 2019 (UTC)Reply[reply]
OS X El Capitan and Firefox Quantum extended support release, 60.9.0, and it applies to all .pdf's. And, aha, I just tried that .pdf in Safari and it works there. So I can manage. I'd like for the links to work in Firefox, since it's my usual browser, but I can manage. Thank you for your helpful questions, qedk! They made me realise I should try a different browser. Bishonen | talk 09:42, 15 September 2019 (UTC).Reply[reply]
Works in Edge on Win10 in the EU too. DuncanHill (talk) 09:44, 15 September 2019 (UTC)Reply[reply]
If you go to Options -> Applications on Firefox, what is PDF set to? Nardog (talk) 09:52, 15 September 2019 (UTC)Reply[reply]
@Bishonen: you are not alone. DuncanHill (talk) 09:53, 15 September 2019 (UTC)Reply[reply]
To spell that out: Click the triple horizontal bar "hamburger" menu button at top right, then click Options. Scroll down to "Applications / Choose how Firefox handles the files you download...". Near the bottom of the list you should see "Portable Document Format (PDF)". If it is set to "Save File", each time you click a pdf, it is downloading that pdf to your downloads directory. You probably have a hundred duplicate pdfs there! The location of the downloads directory can be seen in "Save files to" just above Applications. Johnuniq (talk) 10:01, 15 September 2019 (UTC)Reply[reply]
Yeah, I probably have, I never look in dusty corners like my downloads directory (which I never knowingly direct any downloads to). I've now set the .pdf