Wikipedia:Village pump (technical)

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

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

Frequently asked questions (FAQ) (see also: Wikipedia:FAQ/Technical)
Click "[show]" next to each point to see more details.
If something looks wrong, purge the server's cache, then bypass your browser's cache.
This tends to solve most issues, including improper display of images, user-preferences not loading, and old versions of pages being shown.
No, we will not use JavaScript to set focus on the search box.
This would interfere with usability, accessibility, keyboard navigation and standard forms. See task 3864. There is an accesskey property on it (default to accesskey="f" in English). Logged-in users can set a gadget in their preferences.
No, we will not add a spell-checker, or spell-checking bot.
You can use a web browser such as Firefox, which has a spell checker.
If you have problems making your fancy signature work, check Wikipedia:How to fix your signature.
If you changed to another skin and cannot change back, use this link.
Alternatively, you can press Tab until the "Save" button is highlighted, and press Enter. Using Mozilla Firefox also seems to solve the problem.
If an image thumbnail is not showing, try purging its image description page.
If the image is from Wikimedia Commons, you might have to purge there too. If it doesn't work, try again before doing anything else. Some ad blockers, proxies, or firewalls block URLs containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear.
For server or network status, please see Wikimedia Metrics.
« Archives, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186


Background color[edit]

Hi, could anyone tell me is there an option/setting to change the (white) background color of WP (if yes, and what options are available)? Thank You!(KIENGIR (talk) 17:06, 10 January 2021 (UTC))

@KIENGIR: there are a few ways to go about this, first can you tell us how you normally view wikipedia? (Desktop, Tablet, Mobile, or Mobile App) — xaosflux Talk 17:24, 10 January 2021 (UTC)
There is no simple on/off option that will do that for you, but a simple user script can let you change the colour of any part of the page. What do you want changed? — GhostInTheMachine talk to me 18:20, 10 January 2021 (UTC)
Xaosflux,
Destop (which inludes as well laptop).
GhostInTheMachine, I consider watching too much bright white component would be not the best, I'd consider a less warm color which may work good with the black text color without having a visual interlace harming (= sorry I cannot phrase it better, it's like you'd put a bright purple text on a black background). So what I want to change is not the color of WP margins (headlines and sidelines), but the rest which serves the background of anything else, which is white.(KIENGIR (talk) 08:30, 11 January 2021 (UTC))
If it bothers you in Wikipedia, then I presume it bothers you equally on other websites that are not Wikipedia, and that also have bright white backgrounds? If this is the case, you can find the answer by googling change Chrome default color scheme (change "Chrome" to the name of the browser you use). Or try this search. Mathglot (talk) 09:13, 11 January 2021 (UTC)
@KIENGIR: Desktop "dark mode" is hard (see phab:T199634 for progress on the effort). You may customize your standard desktop background my updating this page: Special:MyPage/vector.css, and can request styling of many elements, for example putting:
.mw-body {
    background-color: #ccc;
}
on that page will change the main article body from whitish to grayish. — xaosflux Talk 11:59, 11 January 2021 (UTC)
Mathglot,
especially I considered just in WP, and I don't use Chrome but Firefox. However, I managed to scale the exact background and text parameters, and I've found a good composition, however, the problem is then I don't see properly the diff marker color adjustment (= opening a diff, in which the changes are covered with a slightly bluish box, in which the text color became as well marked more darker)...
Xaosflux,
before analyzing in more details your suggestion - which may have been solved meanwhile as mentioned above, could you suggest the solution the newly mentioned emerging issue? Thank You(KIENGIR (talk) 12:23, 11 January 2021 (UTC))
@KIENGIR: just as you may use a personal style for most any element, you can also style those - just look at the source to find what the identifier is, then add the styling to adjust it; my example above was very simple for just the ".mw-body" id - but you can use it for most anything. — xaosflux Talk 15:30, 11 January 2021 (UTC)
Thanks your recommendation works, this green is fine (but still only if I put brightness & contrast to nil and Gamma to the minium allowed - 0.5 by this constellation). In this case the adjustment markers are as well ok. However I should dig in more into the issue on the browser examiner/console to locate all needed parameters and test their adjustments alltogether. Maybe I'll go ahead when having more time. Thanks for now!(KIENGIR (talk) 16:25, 11 January 2021 (UTC))
You're welcome KIENGIR - for your use case you may be better off with a browser extension, they may be more robust. The benefit of using the vector.css file is that it will follow you to other browsers and computers you may use (while logged in). — xaosflux Talk 16:28, 11 January 2021 (UTC)
@KIENGIR: I recommend you take a look at Dark Reader, a browser extension that automatically generates a dark theme from a site's normal colour scheme. It doesn't work perfectly 100% of the time – for example, it rarely produces unreadable yellow-on-yellow text –, but Wikipedia is normally usable very nicely with it. – Rummskartoffel (talk • contribs) 23:05, 16 January 2021 (UTC)
@Rummskartoffel:,
thank you I will test it!(KIENGIR (talk) 23:14, 16 January 2021 (UTC))
There is Preferences|Gadgets/Appearence - Use a black background with green text. DuncanHill (talk) 23:26, 16 January 2021 (UTC)
@KIENGIR:, addressing only your point about the difficulties with DIFF, I entirely agree; that you can easily fix however. It's especially difficult to see differences that consist only of white space, which prompted me to alter the DIFF program style I see. I thought this was in my common.css, but it's not; now I'm not sure where I made that change. Maybe someone else can tell you (and remind me, at the same time!). Cheers, Mathglot (talk) 05:34, 21 January 2021 (UTC)
@Mathglot: No, it's the third of these lines in User:Mathglot/vector.css:
/* Per [[MediaWiki talk:Monobook.css/Archive 4#Better rendering for .diffchange in diff's...]] */
/* See also: Wikipedia:Catalogue of CSS classes, Wikipedia:Village_pump_(technical)/Archive_37#Diff coloring again */
.diffchange {padding: 0px 2px 0px 2px; border: 1px dotted red; margin: 0px 1px 0px 0px}
so see MediaWiki talk:Monobook.css/Archive 4#Better rendering for .diffchange in diff's... and Wikipedia:Village pump (technical)/Archive 37#Diff coloring again. --Redrose64 🌹 (talk) 21:32, 21 January 2021 (UTC)

Red link counter?[edit]

Hopefully an easily answered question, is there a tool or script that can count the number of red links in a particular article? I've searched the archives of this and other project pages, thanks. Nimbus (Cumulus nimbus floats by) 17:10, 12 January 2021 (UTC)

@Nimbus227: you may be able to do this in your browser for casual use, view the page source and use your browser's find/count utility to look for: class="new". You certainly could create a userscript to count these if you wanted to. — xaosflux Talk 17:31, 12 January 2021 (UTC)
That works thanks, 'page does not exist' is another search term that works. It is counting red links in navboxes so I guess the way to get a true picture is to place the article text minus the navboxes in a sandbox. For Firefox the steps are Tools>Web Developer>Page Source. Great stuff, thanks. Nimbus (Cumulus nimbus floats by) 17:47, 12 January 2021 (UTC)
@Nimbus227: Open the "console" tab of developer tools, and run $('.mw-parser-output > *:not(.navbox) .new').length This will give you the count of all red links in the page content but excluding navboxes. – SD0001 (talk) 08:29, 16 January 2021 (UTC)
Thanks, works well. Nimbus (Cumulus nimbus floats by) 10:27, 16 January 2021 (UTC)

Help needed to make a query more efficient[edit]

I'm trying to create a query to find non-existent templates which have at least one transclusion. I'd like to filter out userspace .css/.js pages from the results as well. I tried with quarry:query/51274 and quarry:query/51273, but both run very slowly and/or end up getting killed. Does anyone know how I can improve the efficiency of these queries? Thanks in advance. -FASTILY 09:10, 14 January 2021 (UTC)

You may be looking for Special:WantedTemplates. If that isn't what you want, it's probably at least a good starting point. It's only updated occasionally though. The last update was at 01:13, 20 December 2020. davidwr/(talk)/(contribs) 18:24, 14 January 2021 (UTC)
Fastily is trying to replicate wanted templates precisely because the last report was almost a month ago. --Izno (talk) 18:58, 14 January 2021 (UTC)
Wait, that was Fastily? *trouts self* *gets caffeine* Sorry Fastily, if I'd paid attention to the who not just the what I would've known this wasn't a "low-hanging-fruit" question. davidwr/(talk)/(contribs) 22:56, 14 January 2021 (UTC)
No worries, I appreciate the effort to help :) -FASTILY 01:15, 16 January 2021 (UTC)
page_content_model = "wikitext" or page_conent_model not in ("javascript", "css") may be quicker than page_title not like "%.js". Modules have their own content model, "scribunto".--Snaevar (talk) 18:51, 14 January 2021 (UTC)
Indeed, querying against the content model is a much better way to find not-JavaScript/CSS. --Izno (talk) 18:57, 14 January 2021 (UTC)
Thanks for the suggestions everyone. I've revised the query and it succeeds without getting killed roughly 1/3 of the time. I suspect this has to do with caching of previous runs. Needless to say, this isn't ideal. Is there anything else I could try or am I out of luck? -FASTILY 01:15, 16 January 2021 (UTC)
Fastily, WP:RAQ folks may be able to help (I know there's one or two over there who I think don't check this forum too often). --Izno (talk) 02:28, 16 January 2021 (UTC)
Okay, I'll give that a try. Thanks again! -FASTILY 04:51, 16 January 2021 (UTC)

User compare report[edit]

While filing a SPI today, I observed that the "User compare report" link [1] that is produced for case pages is a deadlink (presumably due to being a Betacommand tool...). The link should possibly be removed, I think, unless the tool has been moved (in which case it needs to be updated)? - The Bushranger One ping only 01:51, 15 January 2021 (UTC)

@The Bushranger: that is coming from Template:SPI report - you can request an edit or discuss the deadlink on that template's talk page. — xaosflux Talk 11:56, 16 January 2021 (UTC)

Why is Wikipedia logging me out?[edit]

It could be because of WP's 20th anniversary. But why is Wikipedia logging me out when I load a page? Sometimes even if I log back in it won't stay logged in. And I do have cookies enabled! Nearly but not perfect (talk) 05:23, 15 January 2021 (UTC)

No issues here. Amaury • 06:48, 15 January 2021 (UTC)
I had the same issue, but it seems to have stopped now. Whatever the reason was, it wasn't too cool. I didn't catch it at first and made one edit while logged out. If it was something that affected lots of people, then lots of people got their IP addresses revealed. -- Marchjuly (talk) 07:02, 15 January 2021 (UTC)
@I'm not perfect but I'm almost: Even if you have cookies enabled, the act of logging in does not guarantee that you will be served pages that indicate that you are still logged in. A number of factors are at work together: every time your browser requests a page, it sends the cookie at the same time, this is checked against the cookie table on the Wikimedia servers; only if this is present and valid are you treated as being logged in. So any of the following can cause you to be treated as logged out:
  • your browser sends the wrong cookie, a corrupt cookie, or no cookie at all
  • you have a dodgy internet connection causing the cookie to be damaged, received late, or lost altogether
  • the Wikimedia servers might be out of synchronisation (if the server that receives your cookie has a table that is different from the table on the server that first sent you the cookie)
For any given rendered page, several requests are sent to the server - one for the page content; one each for the various style sheets and Javascript files; one each for every single image. Even for a modest page like HTTP cookie that's a lot of requests (my browser sends 48), and each needs to be accompanied by your login cookie. There are lots of points of potential failure; the surprise is that it works well virtually all of the time. --Redrose64 🌹 (talk) 10:30, 15 January 2021 (UTC)
After logging in today, I started to get logged out just like I'm not perfect but I'm almost described. I stayed logged in after disabling JS. It seems to be related to one of the Gadgets, as it stopped after I disabled them. However, I'm not sure which one causes the problem yet. - Flori4nK tc 12:48, 19 January 2021 (UTC)
Nevermind, I reenabled all gadgets one-by-one and the problem seems to be gone. - Flori4nK tc 12:58, 19 January 2021 (UTC)
So I'm not the only one? This happened just a bit ago, and the only way for me to stay logged in was checking "keep me logged in" which I normally don't like doing. Sro23 (talk) 16:38, 20 January 2021 (UTC)
@I'm not perfect but I'm almost, Marchjuly, Flori4nK, and Sro23: Does WP:COOKIES help? Particularly the "I get logged out just after logging in" bit. --Redrose64 🌹 (talk) 23:30, 20 January 2021 (UTC)
@Redrose64: Cookies are enabled and I have been using the exact same (containerized, regularly reinstalled using a script) setup for 1.5 years. The cookies could only have been blocked by one extension, uMatrix, but *.wikimedia.org and *.wikipedia.org are whitelisted. Local caching can't be the cause either; it's disabled. Date and time are set correctly, they're automatically synchronized at startup by Ntpd. As the issue hasn't persisted, I probably can't provide any more information. - Flori4nK tc 21:57, 21 January 2021 (UTC)
@Redrose64: I've used Google Chrome for years. I've had cookies enabled for years. I've had adblockers for years. I've never had a problem with Wikipedia keeping me logged in until January 2021. Nearly but not perfect (talk) 02:35, 21 January 2021 (UTC)

Template formatting issue[edit]

I apologize for posting with such a minute issue, but I didn't receive a response at the help desk and this has been bothering me for a while now! Wondering if anyone knows how to solve a formatting oddity at some of the medieval music templates I've been maintaining, such as {{Ars nova}}, {{Ars subtilior}} and {{Medieval music}}, where the bottom of the template is unable to center consistently, while also including the navigational arrows. The Medieval music one for example pushes the Category, Portal and WikiProject to the left when the "Renaissance music →" is put on the same line, though I'm unsure how to resolve this, even after much experimentation. Any help would be appreciated. Aza24 (talk) 08:50, 16 January 2021 (UTC)

A crude solution would be to put something blank with similar width at the other side, e.g. {{align|left|{{spaces|10|em}}}}. If there is already something there but it's shorter then add something like {{spaces|5|em}} to it. PrimeHunter (talk) 11:02, 16 January 2021 (UTC)
  • I seem to have fixed it by setting the style to "position:absolute" here. It would cause overlap on extremely narrow screens, but that shouldn't be an issue as navboxes don't show up on mobile. {{u|Sdkb}}talk 13:37, 16 January 2021 (UTC)
    • Thank you both, these ideas are very helpful! Aza24 (talk) 20:33, 16 January 2021 (UTC)
      • PrimeHunter the adjustment to the {{Medieval music}} you just made off centered it for me still; I'm just using chrome on a mac desktop, and I checked what it looked like on a macbook air with chrome and it still wasn't centered. Sdkb, your method on {{Ars nova}} works perfect, but I'm not sure how to transmit it to {{Ars subtilior}} or {{Ars antiqua}}; when I tried it, it made the right aligned ones go far left. Aza24 (talk) 23:10, 16 January 2021 (UTC)
@Aza24: Your version [2] pushed "Category Portal WikiProject" so far to the right of the center that it doesn't fit on the same line as "Renaissance music" in a narrow window. If it jumps to the next line for you then it may be centered there but not for others who see it on the line where it belongs. My version [3] seems better. The idea is something of about the same width as "Renaissance music →". That's definitely not 45 em (typography). PrimeHunter (talk) 23:35, 16 January 2021 (UTC)
Ah I see, well perhaps Skdb will be able to alter his solution to help with that one. Aza24 (talk) 23:38, 16 January 2021 (UTC)
Aza24, hmm, I just took a look but I'm afraid I can't figure out anything. BrandonXLF is pretty good with this kind of thing, so he might know. {{u|Sdkb}}talk 02:41, 18 January 2021 (UTC)
Sdkb, I went ahead and replaced the floated elements with ones using the "position: absolute" trick. The one that had to be aligned to the right, using "right: 0" moves them 0px away from the right side of their positioned parent. I also added a positioned parent so they would use the padding that contents of the below area have. BrandonXLF (talk) 03:38, 18 January 2021 (UTC)
Your solution seems to work perfectly, thank you Brandon! Aza24 (talk) 03:44, 18 January 2021 (UTC)

dablinks[edit]

Is there a substitute for Dispensers dablinks tool? The tool seems to be unavailable even via the links given at {{dablinks}}. Nthep (talk) 10:40, 16 January 2021 (UTC)

tech problem (stalled) ?[edit]

what is to be expected (or done) with a tech problem, that seems to have stalled..?

Gfigstalk 12:33, 16 January 2021 (UTC)

The example [4] in phab:T271288 works for me with Google Chrome 87.0.4280.141, paper size A1. I tried other sizes, margens and scales but didn't find any problem. PrimeHunter (talk) 13:13, 16 January 2021 (UTC)
PrimeHunter ok thanks, will check this on the browser..Gfigstalk 13:26, 16 January 2021 (UTC)
is anyone else experiencing this problem with Chrome (mobile) on en.m.wikipedia.org ?Gfigstalk 04:51, 17 January 2021 (UTC)
Reading - Mobile Pages, and fixing Template problemsGfigstalk 09:32, 18 January 2021 (UTC)
Neveselbert, Frietjes, Headbomb please, here on Mobicel X4 mobile phone. Chrome 87.0.4280.141. browser..Gfigstalk 07:47, 19 January 2021 (UTC)
apparently, lot of controversy on this issue of : Infobox/Marriage templates. unable to view codes, as they are protected, due to vandalism..Gfigstalk 03:02, 20 January 2021 (UTC)
only guess would be that there could be sideward scrolling in the templates. word wrap hidden inside the scrolled Infobox, is not visible in the viewable Infobox, of some PDF page sizes?..Gfigs (talk) 09:12, 21 January 2021 (UTC)

Editing toolbar - display only one button?[edit]

Hi. Can the editing toolbar ("This is sometimes called the '2010 wikitext editor'") be customised so it only shows the redirect button? I have no use for the other editing tools, but do use the redirect syntax a lot. Grateful for any help or code I can drop into my custom .css. Thanks. Lugnuts Fire Walk with Me 14:57, 16 January 2021 (UTC)

Yes, you would replicate the code at mw:Extension:WikiEditor/Toolbar_customization#Removing_things for each element you don't want and add to your javascript page. The reference toolbar, which is active by default, should be disabled in your gadget settings.--Snaevar (talk) 15:46, 16 January 2021 (UTC)
Thanks. I disabled the toolbar in my preferences years ago. IIRC the javascript was giving me issues with my web browser, and I'd forgotten about it until today. I had a play with turning it back on. How would I find out the names/properties of all the other buttons? Lugnuts Fire Walk with Me 17:49, 16 January 2021 (UTC)
The names/properties can be looked up in the page source, but I listed them below.
section group tool
main format bold
italic
main insert link
file
reference
template-wizard
main codemirror CodeMirror
and then you can just remove the whole menus (sections), their names are advanced, characters and help, like so:
$( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', {
	'section': 'characters'

});
Personally I would readd the redirect button to the top (main section). No reason to open up an menu for one button. On the mediawiki page I linked, higher up on that page is some documention how to do that.--Snaevar (talk) 19:49, 16 January 2021 (UTC)
Thanks for the reply, but this is beyond my expertise. Lugnuts Fire Walk with Me 13:26, 17 January 2021 (UTC)

Restoring musical score functionality[edit]

Due to phab:T257066, musical scores through LilyPond have been partially disabled since last summer. However, for the moment it's possible to restore the display of the scores at least by commenting out the "vorbis=1" argument with percent signs. Since it does not look like the matter is close to being resolved, I'd like to propose creating a bot that will do such commenting out on all pages that use the extension, and then un-comment it once the functionality has been restored. I want to sound out the idea here before writing and requesting approval for such a bot, because it would involve making a large number of trivial edits, so I don't know what the community support would be for this. --Ipatrol (talk) 21:04, 16 January 2021 (UTC)

The thing is, that would only display it until someone changes the score, as has been confirmed on phabricator. It gives people an false sense that scores work, when they do not. Personally, I would say no to the proposal.--Snaevar (talk) 13:00, 17 January 2021 (UTC)

Mystery ping[edit]

I received a ping notification related to this edit - but I cannot see my name mentioned? GiantSnowman 22:49, 16 January 2021 (UTC)

The edit accidentally transcluded User:Cupper52 instead of linking to it. Your username is mentioned on that page, in the "Fact file" section, and that got picked up as a mention of you. * Pppery * it has begun... 22:57, 16 January 2021 (UTC)
OK, thanks! GiantSnowman 08:38, 17 January 2021 (UTC)

Header feature[edit]

I use to have a feature at the top of my page that showed when a page was created, by whom, and a few stats such as its length. Now, I don't see this info.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 23:45, 16 January 2021 (UTC)

Preferences - Gadgets - XTools: dynamically show statistics about a page's history under the page heading. Is that what you are looking for? It's working for me. – Jonesey95 (talk) 01:50, 17 January 2021 (UTC)
Yes, that would be the one. Either a) Xtools was down at the time Tony looked, or b) he has another script that is broken and needs fixing. --Izno (talk) 04:16, 17 January 2021 (UTC)
That is a good script, but the one that seems to be down use to also show the latest diff summary and time, which is often quite handy.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 05:28, 17 January 2021 (UTC)
I have an educated guess. In User:TonyTheTiger/vector.js, you have a link to User:Eizzen/LastEditor.js and another script by the same user. On 4 Jan 2021, those scripts were moved to match the user's new username, e.g. User:Eizen/LastEditor.js. If you remove the extra "z" from each of the user names in your vector.js file, and then reload or purge an article a few times, I suspect that your script will start working again. If that works, we may want to notify 1997kB, who moved those pages, to say that editors who use those .js scripts may need to be notified about the page moves. – Jonesey95 (talk) 00:19, 18 January 2021 (UTC)
Jonesey95, This was result of a account rename and as of I know rename extension set a redirect from old script to new, so that people using old one don't have any issues. So I don't think the script is issue here. ‐‐1997kB (talk) 02:42, 18 January 2021 (UTC)
I put the old (now a redirect) script name (with User:Eizzen) in my vector.js, and it did not work. I changed the script name to User:Eizen/LastEditor.js, and it works. It appears that moving the script, even with a redirect in place, broke the script's use, at least for me, and presumably for TonyTheTiger and about 18 other editors. Can you please notify them, or possibly fix the redirect so that it works, if possible? Thanks. – Jonesey95 (talk) 06:07, 18 January 2021 (UTC)
Jonesey95, I don't have permission to fix them, but I'll open a phab task as hundreds of users get renamed every day, so hundreds of such redirect. ‐‐1997kB (talk) 12:48, 18 January 2021 (UTC)

Query, or feature request: UI in my own language[edit]

Is there currently a way, when guest-starring on other-language projects, to have the UI in my native language so that I can actually navigate? I appreciate that it's fun to learn new languages and attempt to navigate by touch and feel in, say, Arabic or Belorussian, but ain't nobody got time for dat, I would typically prefer to edit using an interface in a language that I understand, even if the content is cast in a completely unintelligible tongue. Is there currently a preference for this, or a phab that I can glom onto? Thanks! Elizium23 (talk) 06:05, 17 January 2021 (UTC)

Have you tried the Google Translate extension? -FASTILY 06:41, 17 January 2021 (UTC)
Actually I won't bother! I just found out that there is a global preference to set language and once it's set, the UIs are all translated. It might not be entirely consistent or there may be a propogation lag effect, but I've successfully edited in Azerbaijani and much more now. Thanks for the pointer, anyway! Elizium23 (talk) 06:48, 17 January 2021 (UTC)

user device and OS stats[edit]

are there any stats available on wiki websites, indicating number (or percentage) of users on mobile vs desktop..also any info on operating systems in use..many thanks Gfigstalk 07:38, 17 January 2021 (UTC)

See [5] for mobile vs desktop on Wikimedia wikis. https://pageviews.toolforge.org has data on individual pages. PrimeHunter (talk) 08:25, 17 January 2021 (UTC)
thank you Gfigstalk 09:10, 17 January 2021 (UTC)

How to deal with link rot on "Official Website"[edit]

The "Official Website" for SUPER-UX (this version) is no longer valid. The displayed information is retrieved from Wikidata via Template:Infobox OS, as the website parameter is blank. The Wikidata information allows other language Wikipedia projects to use, and in this case provide, the website URL and have the information consumed and displayed by each of the Wikipedia projects.

I asked and updated the information as no longer valid, per a project chat over on Wikidata.

See: (On Wikidata) Best way to deal with link rot on "Official Website"

The Wikidata solution of setting the end time (P582) qualifier to the Wikidata statement(data) has been done. The rationale, I gather, is that old Wikidata information can be tagged with the end time (P582) to say the statement(data) was valid, up to and including the end time value. This implies, I gather, that some time after the specified end time value, the statement(data) should be treated as no longer valid.

As the Official Website still is rendered by the Infobox OS, I'm assuming that the official website (P856) value from SUPER-UX (Q2665351) is being used anyway.

What is the best way to resolve this?

  1. Set some other qualifier on the wikidata information that Infobox OS recognizes
  2. Wait/Request some bot to set things or note things properly, like Citation bot does for broken doi's
  3. Request a change to Infobox OS (or the parent/superclass template) to not display an Official Website if a P582 end time qualifier exists and the value is not in the future
  4. Workaround the Infobox OS to eliminate/modify the displayed value
  5. Workaround the Infobox OS to display URL for the last valid snapshot of the site cached at archive.org
  6. Something else

Or a mixture of the preceding?

Enquiring minds want to know :) Lent (talk) 12:39, 17 January 2021 (UTC)

Template:Infobox OS#Parameters mentions the option |website=hide. PrimeHunter (talk) 13:23, 17 January 2021 (UTC)
 Done THANKS! I missed that special value. I guess I'm spoiled by emphasis like bold and <code> in documentation. Lent (talk) 21:34, 17 January 2021 (UTC)

Watch pages issue[edit]

Hello, I usually edit pages, and they are auto saved to my watchlist. This stopped happening for some reason? Also, I'm not getting certain on-wiki notifications such as reverts. I checked these settings, and they appear to be set correctly. Also, the email notifications are going through, just not the on-wiki ones. Huggums537 (talk) 14:46, 17 January 2021 (UTC)

@Huggums537: Is "Add pages and files I edit to my watchlist" enabled at Special:Preferences#mw-prefsection-watchlist? Is "Edit revert" enabled in the "Web" column at Special:Preferences#mw-prefsection-echo? Please post an example of a revert you think should have notified you. Always include an example if possible when you report any issue. Were you notified of this post? PrimeHunter (talk) 15:20, 17 January 2021 (UTC)
Yes, all the settings are correct as I stated. I even checked my global settings. The last two reverts are in fact showing up in my notification list, but they are appearing as read, and I never saw them when they came in. The only way I knew about them was from my email. I used to get a "red light indicator button" at the top of the page near my username when this type of notification comes in, but now it works for everything else except reverts I guess. Weird. Huggums537 (talk) 15:50, 17 January 2021 (UTC)
Ok, so it turns out the watchlist issue did have something to do with my settings. I'm getting it ironed out. I'll have to wait it out on the revert issue to see if it was just something I might have overlooked when someone eventually reverts me. Thanks for your help. Huggums537 (talk) 16:10, 17 January 2021 (UTC)
@Huggums537: I have reverted you as a test and then restored your post. Did you click the link in the email while you were still logged in and before viewing any other Wikimedia page since the revert was made? The link includes a markasread part. PrimeHunter (talk) 17:02, 17 January 2021 (UTC)
HA! Thanks. It worked! And, yes I think I might have done that. So that would explain it I guess... Huggums537 (talk) 17:04, 17 January 2021 (UTC)

Tech News: 2021-03[edit]

16:09, 18 January 2021 (UTC)

Transcluding multiple pages based on multiple links pulled from wikidata.[edit]

Goal: Transclude all the links returned by wikidata call.

I got some help on the Module: wd help page that got me part way to a solution.

I'm using: {{#invoke:wd|properties|linked|Q151973|P26|format=\{\{:%p\}\} }}

To give me this list of Richard Burton's spouses:

{{:Elizabeth Taylor}} {{:Sybil Christopher}} {{:Suzy Miller}} {{:Elizabeth Taylor}} {{:Sally Burton}}

And I can kinda make it transclude them by doing this:

{{subst:#invoke:wd|properties|Q151973|P26|format=\{\{:%p\}\} }}

But, upon saving, subst will do what it does and replace the wikitext with its substituted translusion links, which is what I'm trying to avoid.

Is there a way to achieve the same result, without using subst? Because if a new spouse were added to Richard Burton, I want my page to automatically capture that and take it into account and transclude the new spouse's page too.

Been trying workarounds like recursive subst through a template but nothing seems to manage this. Any help would be appreciated. El Dubs (talk) 00:25, 19 January 2021 (UTC)

You already asked this at Help talk:Transclusion#Transclusion instead of substitution for multiple links and (in slightly different form) at Module talk:Wd#Fetch link and transclude linked page; please observe WP:MULTI. --Redrose64 🌹 (talk) 08:37, 19 January 2021 (UTC)
My apologies, I was asking for more general information than I did at Module:wd, and I realised the Transclusion help page is not a very active one, so thought this the best place. Let's consider this the main one. El Dubs (talk) 19:10, 19 January 2021 (UTC)

Embedded video insist downloading rather than playback (on iOS mobile)[edit]

A Webm video. iPhone refuses playback, while Android insists to play from the beginning, ignoring the command to play from 41'
An ogv video. iPhone refuses playback, while Android plays perfectly from 1:52, as instructed

On iOS mobile device (Safari and Chrome), while playing Webm and ogv embedded in an Wikipedia article, it directs users to download the file rather than a simple playback (which is ridiculous for a >100Mb video). On Android (Chrome), while ogv works perfectly, Webm could only be played from the beginning, ignoring the time tag commands (Note: most users specify a starting time of the video so that it corresponds to relevant content to the article). The above issues does not happen on desktop computers. Is there a fix? -- love.wh 04:23, 19 January 2021 (UTC)

Try the same thing on testwiki:, especially the playback part. There is an different audio/video player there (video.js, instead of Kaltura here). There is an ogv file at testwiki:Equivalence_principle, for example.--Snaevar (talk) 17:31, 19 January 2021 (UTC)
Also, are you using the mobile app or the mobile website to access these? (If both, is it the same experience?) — xaosflux Talk 17:38, 19 January 2021 (UTC)

Tag reverted 2[edit]

Regarding fourth and fifth comment, here is the example that proves that tag should not be there: Special:Diff/1001276030/1001368163, Special:Diff/1001368163/next. Kalimoun's contribution line should not have (Tag: Reverted) at the end because that is not related to his/her contribution as other user reverted that edit indeed; other user's contribution can have (Tag: Undo) because it is describing the contribution in question. Solution can be to alter (Tag: Reverted) so that it is (Tag: Reverted by other user) and (Tag: Reverted by contrib user) or something like that, and when accompanied with tag Undo – e.g. (Tags: Undo, Reverted previous or one of previous contribs). Contributions in View history need to be clean. Also, by that line, '(cur | prev)' should be separated from the line some way, as well as (talk | contribs)‎ and total page size and (undo) function. I know this is kind of talkable matter but I see it consistent that way or something similar to that way. --5.43.83.177 (talk) 13:57, 19 January 2021 (UTC)

The "Reverted" tag is behaving exactly as intended. There is no technical problem, just dislike of a feature. Others like it. "(Tag: Reverted by other user)" seems long once you have seen a few hundred, and many editors will see thousands. The message is made by MediaWiki:Tag-mw-reverted. PrimeHunter (talk) 00:49, 20 January 2021 (UTC)

How to template an article that uses public domain sources?...[edit]

I am working on a historical biography that's kind of a mess MOS-wise and reference-wise. It contains content copied wholesale from a book (published in 1850 and now public-domain). I have searched for an appropriate somewhat generic public-domain source template to use, similar to the Encyclopedia Brittanica {{EB1911}} & {{EB1922}} Templates but have been unsuccessful. Help please! Thanks, Shearonink (talk) 19:23, 19 January 2021 (UTC)

@Shearonink: I don't think this is really a technical problem, but you could use templates such as Template:PD-old-text or Template:PD-notice. Category:Attribution templates contains most of the attribution templates if your source is a popular one it may have a special template as well. — xaosflux Talk 19:50, 19 January 2021 (UTC)
Xaosflux - It might not technically be a "technical" problem but I thought I'd ask those more technically knowledgeable than myself about the answer and this place seemed like an appropriate venue to forestall my wandering in the Wiki-wilderness of ohsoMANYtemplates. I don't *think* it's a popular source but I'll continue poking around to see what I can find on that score. Thanks for your response - Shearonink (talk) 20:20, 19 January 2021 (UTC)
@Shearonink: oh sure no worries, I meant I couldn't see a tech problem - so that if you had one we'd need more to go on. Hope those help! — xaosflux Talk 20:25, 19 January 2021 (UTC)

Number of edits not available via API?[edit]

Page information shows you "Total number of edits", but is this not available via a MediaWiki API? API:Info doesn't seem to cover it. Nardog (talk) 00:46, 20 January 2021 (UTC)

Hiding a specific list item label in Ordered list[edit]

Consider this ordered list:

  1. Introduction
  2. Luttes ("Struggles")
  3. Voluptés ("Delights")
  4. Jeu divin ("Divine Play")

I'd like to hide the "0." (without breaking the indentation), but the rest of the labels should stay. How can I achieve that? Cheers, intforce (talk) 00:59, 20 January 2021 (UTC)

  1. Introduction
  2. Luttes ("Struggles")
  3. Voluptés ("Delights")
  4. Jeu divin ("Divine Play")
  • Thanks a bunch! :) intforce (talk) 01:31, 20 January 2021 (UTC)

lost my sandbox new article[edit]

Hi,

I just finished creating my first article and when I came back from a break, I discovered that the page was empty. As if someone close it and erased everything. What happened? Can I recover my text? Please help.

Many thanks, Jessica Wein — Preceding unsigned comment added by Jwein101 (talkcontribs) 04:00, 20 January 2021 (UTC)

Jwein You can always look in your contributions...but I think you're referring to Draft:MaestroVision? Shearonink (talk) 06:48, 20 January 2021 (UTC)
Courtesy ping User:Jwein101 (on behalf of Shearonink) Mathglot (talk) 19:31, 20 January 2021 (UTC)

ReFill down again?[edit]

It's not worked for me this morning - is there a wider problem or is it just me? GiantSnowman 10:05, 20 January 2021 (UTC)

Reflinks is working fine. The C of E God Save the Queen! (talk) 14:32, 20 January 2021 (UTC)
Nice to know that reflinks is back but refill is still down. If someone who has access to phab would file a new request to get it going again that would be great. MarnetteD|Talk 14:58, 20 January 2021 (UTC)
many thanks, I'll use Reflinks for now. GiantSnowman 15:41, 20 January 2021 (UTC)
FYI GiantSnowman and The C of E as far as I can tell the current version of reflinks (unlike the one that was deactivated last year) only adds a bot generated title to the bare url. It does not actually put the url into a cite template. IMO that is not useful as it doesn't help with linkrot. You may feel differently but I wanted you to be aware of what I found. Regards. MarnetteD|Talk 18:45, 20 January 2021 (UTC)
That is what Reflinks has always done (or has for as long as I have done). Whenever this situation arises I always go back and re-convert properly using ReFill whenever it is fixed... GiantSnowman 18:47, 20 January 2021 (UTC)
@MarnetteD: Have you tried switching it to interactive? That does put the link in a cite template. I always use Reflinks and (barring a few it can't connect with), it does most of the work for you, you just have to trim the loose threads. The C of E God Save the Queen! (talk) 19:00, 20 January 2021 (UTC)
Thank you so much The C of E. Of course it would be something so simple that I was unaware of since I had never activated it before. Gosh it is nice to have this tool working again - now if we can just get reflinks back to working it'll be like the old days (all of two years ago) formatting bare urls. Thanks again. MarnetteD|Talk 19:07, 20 January 2021 (UTC)
Wow, that's great, thanks! GiantSnowman 20:08, 20 January 2021 (UTC)

Any idea why it is adding a 1970 date to websites published earlier today, such as this? I've manually remedied. GiantSnowman 22:33, 20 January 2021 (UTC)

My guess is that it's obtaining a null value for the date, and instead of recognising that it's not valid, it's instead applying a standard function to extract the year; and if you have a zero value (i.e. treated as 00:00:00 UTC Thursday, 1 January 1970), the year is 1970. --Redrose64 🌹 (talk) 13:02, 21 January 2021 (UTC)

Ordered list not correctly indented on mobile[edit]

I've raised this issue here; perhaps someone can shed a light on this issue. Thanks, intforce (talk) 12:49, 20 January 2021 (UTC)

Adding an automatically updated featured content section to Wikipedia:WikiProject_Zimbabwe/Rhodesia_task_force[edit]

I was wondering, how you can get an automatically updated featured content section by the JL-Bot to Wikipedia:WikiProject_Zimbabwe/Rhodesia_task_force similar to what WP:WikiProject YouTube and WP:X/showcase have please? The C of E God Save the Queen! (talk) 14:41, 20 January 2021 (UTC)

Need some help building a proforma with sections autofilled based on username[edit]

Hi all

I've spent quite a lot of time building a resource to help keep people's multiple sandboxes organised to make writing draft articles and publishing them a bit easier

Whilst people can simply copy the page and change the name in the wiki text manually I would really like to make a page on Wikipedia where people can make their own version of this simply by clicking a button, this will make it easier to discover and also use the tool.

To make a version of this page for other users all that needs to happen is for my name to be replaced in the wikicode with the user who wants to use it (I have instructions at the bottom of the page for doing this manually). Because the page uses multiple tools there are two versions of the username that have to be replaced, one which replaces a space with a '+' and another which replaces a space with _, eg John+Cummings and John_Cummings.

Does anyone have an idea of how to create a button that would

  1. Read someone's username
  2. Add their username to a proforma adding in their username with either a '+' or a '_' in different places in the proforma (people can have 0 or 1 or 2 or a lot of spaces in their username)
  3. Saves the page or makes it very obvious how to save the page, either overwriting their existing sandbox or letting users chose where to save the page

Thanks

John Cummings (talk) 15:23, 20 January 2021 (UTC)

@John Cummings: If I understand what you're asking, maybe an {{Edit}} link with a preloaded page (copy of your sandbox somewhere) and a Template to substitute their name, which would be pulled from magic word REVISIONUSER? Mathglot (talk) 19:36, 20 January 2021 (UTC)
Take a look at how we manage signups for the GOCE copy edit drives. There might be code in there that is helpful. – Jonesey95 (talk) 19:41, 20 January 2021 (UTC)
Thanks very much @Jonesey95: and @Mathglot: the bit I'm really stuck on is how to take a username with a space in and replace the space with a + in some places and a _ in other places on the same preload? John Cummings (talk) 20:00, 20 January 2021 (UTC)
@John Cummings: try {{#replace}}. Mathglot (talk) 20:24, 20 January 2021 (UTC)
Hmm, I see what you mean, I think... maybe the preload page should just be a one-line, template invocation of a second page which has your actual sandbox data, with the template of your design in the preload, which executes the task of replacing tokens in the second page with the userid the way you want it. Never tried that with a preload, and not sure if it will work; try it and let us know. Mathglot (talk) 20:31, 20 January 2021 (UTC)
I have used {{ROOTPAGENAME}} to automatically get the username in an unchanged copy.[7] I also made some other changes. PAGENAMEE with EE makes url encoding in magic words. PrimeHunter (talk) 11:15, 21 January 2021 (UTC)
Direct link for users to create their own sandbox manager. Only needs saving. Seems to work well, with this account and with my space-containing old account as well. --mfb (talk) 14:30, 21 January 2021 (UTC)
(edit conflict) If your /sandbox doesn't exist then this will open an edit window to create it with User:John Cummings/sandbox preloaded. There is no preload if the sandbox exists.
Adding &section=new will add a new section with the preload whether the page exists or not: [8]
&preloadtitle= can specify a section name which will also be in the automatic edit summary. It's blank in my example. I don't think you can make a preload command to overwrite existing content. You cannot preload from another wiki. mfb's link makes /Sandbox with uppercase S. This is not the link on "sandbox" in the default interface. PrimeHunter (talk) 14:35, 21 January 2021 (UTC)

Lost "inspect diff" today in Chrome on Windows 10[edit]

Both have updated this week. On my iPad Chrome shows "inspect diff". Doug Weller talk 15:38, 20 January 2021 (UTC)

@Doug Weller:, context? Mathglot (talk) 19:40, 20 January 2021 (UTC)
@Mathglot: good question - I've replaced the section heading I used but must have erased with my fumble fingers before I saved. Doug Weller talk 19:50, 20 January 2021 (UTC)
@Doug Weller: "inspect diff" is made by this in meta:User:Doug Weller/global.js:
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript");
It loads User:Writ Keeper/Scripts/commonHistory.js. I added it to my own global.js and it works for me in Windows 10, both in Google Chrome 87.0.4280.141 before updating, and 88.0.4324.96 after updating. What is your skin at Special:Preferences#mw-prefsection-rendering? Do you see "inspect diff" at WikiNews? I see it. PrimeHunter (talk) 09:13, 21 January 2021 (UTC)
@PrimeHunter: thanks, but now I'm even more confused. It came back on its own for enwiki, but I don't see it at wikinews. Doug Weller talk 09:23, 21 January 2021 (UTC)

Finding the connection between two categories[edit]

I'd like to know why Category:The Walt Disney Company is a distant subcategory of Category:Finnish people, but what's the fastest way to find it out? I don't want to click the blue ►'s on a category page until I find the connection. 87.95.206.253 (talk) 18:33, 20 January 2021 (UTC)

Theoretical answer: express the category tree as a directed graph and do a breadth-first search from Finnish people cat until you get to that one. Not sure if a tool exists that does this. – SD0001 (talk) 18:49, 20 January 2021 (UTC)
Found it: Category:Finnish peopleCategory:Finnish diaspora‎Category:Finnish diaspora in North AmericaCategory:Finnish American‎Category:Finnish-American history‎Category:New SwedenCategory:Forts of New Netherland‎Category:Wall StreetCategory:New York Stock Exchange‎Category:Companies listed on the New York Stock Exchange‎Category:The Walt Disney Company‎. I wrote a quick script to do it; I don't know of a generic tool to solve this problem, unfortunately. — The Earwig talk 19:45, 20 January 2021 (UTC)
I love the category system. --Izno (talk) 20:10, 20 January 2021 (UTC)
If so, you'll find User:SDZeroBot/Category cycles interesting :P – SD0001 (talk) 05:13, 21 January 2021 (UTC)
Another endless backlog for a system that should have died when Wikidata was born. Yes, I love it! --Izno (talk) 05:34, 21 January 2021 (UTC)

Expensive parser function count max[edit]

When I look at the Parser profiling data on a particular page on en-wiki, I see (among other things), "Expensive parser function count: 15/500". But when I look at mw:Manual:$wgExpensiveParserFunctionLimit I see "99" listed as the maximum. Is "500" some kind of max limited by Mw software, and "99" is the configurable limit it has been set to on en-wiki? Or how exactly should I interpret each of those? Put another way: why doesn't the first one say, "15/99"? Thanks, Mathglot (talk) 19:25, 20 January 2021 (UTC)

It's the other way around. 99 is the MediaWiki default, but it's set to 500 on WMF wikis. Suffusion of Yellow (talk) 19:42, 20 January 2021 (UTC)
@Suffusion of Yellow:, Thanks! With a 500 limit, that makes the following question moot at this point, but for future reference: can I interrogate the expensive parser tally at run-time in a template, so that I could, for example, see if I'm getting "too close to the max", and then skip a bunch of low-priority expensive function calls in the middle part of the template, and save up my remaining allocation for the important ones which I won't get to till later on in the template expansion? I'm assuming the answer to that is a "no", but hoping I'm wrong. What about in Lua? And if "no" to either or both, would it be an impossible task or unreasonable request to have it added to next years wish list, as an option I'd like to have as a template writer, e.g. something like, {{#ifexpr: {{REMAININGEXPENSIVE}} < 5 | just do the important stuff | do everything}} ? Thanks, Mathglot (talk) 20:11, 20 January 2021 (UTC)
No to both. I don't see a reason you couldn't request it offhand, but I doubt it will make it through the community wish list, which tends away from the Technical wishes. (Might as well file a phab task anyway.) --Izno (talk) 20:43, 20 January 2021 (UTC)
The problem of course is then, how does a template decide which are the important exspenive things and which are not? How about when it can't control how sub-templates execute (and those don't have sufficient context to know they are in a limited environment)? --Izno (talk) 20:45, 20 January 2021 (UTC)
You are able to catch the "expensive expansion" error in Lua with mw.incrementExpensiveFunctionCount(), (if pcall(mw.mw.incrementExpensiveFunctionCount()) then over the limit else not) but there is no number of current expensive expansion errors, that is phab:T177567. Your best bet is just to use as few functions that are expensive as you can.--Snaevar (talk) 20:55, 20 January 2021 (UTC)
Are templates defined to be evaluated in any specific order? — GhostInTheMachine talk to me 21:40, 20 January 2021 (UTC)
Izno, It couldn't on its own, of course; as the template writer, I would choose ahead of time, and code the stuff that was important in the second clause (the "else") and the less important stuff in the "then". Snaevar, your response gave me an idea how to reduce them, without losing functionality. Thanks to you both for good feedback on this. Mathglot (talk) 23:07, 20 January 2021 (UTC)

Citing a database query[edit]

Please see Wikipedia:Teahouse#Archival databases as sources where SacKate needs help on how to reference information extracted from a database. Roger (Dodger67) (talk) 06:20, 21 January 2021 (UTC)

Local display of WikiData edits[edit]

On my en.wikipedia watchlist I noticed:

  • "MØ (Q10670047) (diff | hist) . . Btcprox (talk | contribs) (Created claim: Property:P6935: m, connected with Wikidata for Firefox 🦊; Added reference to claim: Property:P6935: m, added with Wikidata for Firefox 🦊)"

The 'Wikidata for Firefox 🦊' leads there to https://www.wikidata.org/wiki/Tools/Wikidata_for_Firefox because of it, on WikiData, being a Wikilink 'WikiData:Wikidata for Firefox'. It should lead to https://www.wikidata.org/wiki/Wikidata:Tools/Wikidata_for_Firefox but because it is displayed here, the 'Wikidata:' is being interpreted as an interwiki, not as a namespace on WikiData. Is there any way to change this so that the links lead to the right place? --Dirk Beetstra T C 11:37, 21 January 2021 (UTC)

The edit summary is made by a tool by Shisma. If they change the link to [[d:Wikidata:Tools/Wikidata for Firefox|Wikidata for Firefox]] then it will work both at Wikidata and other wikis. Here it gives Wikidata for Firefox. [[wikidata:Wikidata:Tools/Wikidata for Firefox|Wikidata for Firefox]] would give Wikidata for Firefox which works here but not at Wikidata where the first wikidata: would be interpreted as the namespace. PrimeHunter (talk) 11:57, 21 January 2021 (UTC)
if I format the link like [https://www.wikidata.org/wiki/Wikidata:Tools/Wikidata_for_Firefox Wikidata for Firefox 🦊] (with single brackets), it should always lead to where it's supposed to lead, right? Is it a good idea to do so? How can I reproduce this bug?--Shisma (talk) 17:50, 21 January 2021 (UTC)
@Shisma: External link syntax doesn't render as a link in edit summaries. It has to be a wikilink. As I said, this will work: [[d:Wikidata:Tools/Wikidata for Firefox|Wikidata for Firefox]]. To reproduce the problem: Enable "Show Wikidata edits in your watchlist" at Special:Preferences#mw-prefsection-watchlist here at enwiki. Watch an enwiki page which had a recent edit with the tool at its Wikidata item, e.g. . (I don't know whether all Wikidata edits appear in enwiki watchlists but the MØ edit does). View Special:Watchlist. The edit summary in [9] had a link to Wikidata:Tools/Wikidata for Firefox.[10]. Viewed in an enwiki watchlist it gives the same wrong result as in my post. The Wikidata target does say: "There is a page at Wikidata:Tools/Wikidata for Firefox". That link works at Wikidata. Here at enwiki I had to pipe it with d: in front to get it to work. But the link only shows at Wikidata if the user has the default language "en - English" at wikidata:Special:Preferences. That's because it's made by a customized message at wikidata:MediaWiki:Wikibase-noentity which includes: {{#ifexist:Wikidata:{{FULLPAGENAME}}|*There is a page at [[Wikidata:{{FULLPAGENAME}}]].}}. The customized message has not been translated to any other languages at Wikidata according to wikidata:Special:PrefixIndex/MediaWiki:Wikibase-noentity. Unregistered users also get the English message but that's nearly irrelevant since unregistered users don't have watchlists. The problem can also occur at other wikis, e.g. the German Wikipedia where some users will have set German at Wikidata, or have a global preference for German. PrimeHunter (talk) 20:54, 21 January 2021 (UTC)

Captchas and blind people again[edit]

I am aware that this has been discussed before since I had a quick search of the archives. But the problem still persists that the captcha shown when you create an account or add a link to an article is not accessible to blind people such as myself.

Yes, you can request that someone creates an account for you, which is what I did when I joined. But many people may be put off by this.

I feel that Wikipedia should provide an audio challenge or use something like reCAPTCHA v2's I'm not a robot tick box. Many website's use either of these methods, and Wikipedia is one of the few I can think of that doesn't.

What are your thoughts on this, and is anyone currently working on a solution?

Many thanks.KaraLG84 (talk) 14:21, 21 January 2021 (UTC)

@KaraLG84: The local English Wikipedia community can not make this change, it would be at the very least a WMF-wide global change as accounts are global. You can follow up on the discussion about this here: phab:T6845. — xaosflux Talk 14:27, 21 January 2021 (UTC)
@Xaosflux: Thanks. Sadly it seems that nothing has been done about it. The last comment was over a year ago.KaraLG84 (talk) 14:42, 21 January 2021 (UTC)
KaraLG84, this is correct. Its a hard/expensive problem to solve. —TheDJ (talkcontribs) 15:54, 21 January 2021 (UTC)
One that has been solved many times by many organisations. DuncanHill (talk) 16:07, 21 January 2021 (UTC)
But not as open source. --Izno (talk) 17:55, 21 January 2021 (UTC)

Wrong links in template documentation[edit]

Template:Redirect2/doc is an example of template documentation that contains links to PAGE1, which is an actual article. These should probably appear as redlinks like PAGE2, PAGE3, PAGE4 for the purpose in this usage. I think there are around 40 doc pages that link to PAGE1. Is there any way to fix this short of manually editing them all? MB 15:30, 21 January 2021 (UTC)

Don't we have foobar-style pages (analogous to Template:Foo) dedicated for this purpose? – Jonesey95 (talk) 15:39, 21 January 2021 (UTC)
Page1 is create-protected, so we could convert all the placeholder names to lower-case. — The Earwig talk 21:10, 21 January 2021 (UTC)
There are only 15 doc pages at [11] but I don't see a need to "fix" this. Page1 is red (deleted 10 times but not create-potected), but I think PAGE1 is easier to understand in documentation as something you have to edit in a real call. And Page3 is blue (or green if you color redirects). PrimeHunter (talk) 21:22, 21 January 2021 (UTC)
You are supposed to only make blue links with hatnotes and you can se the code works when they hit a target while the mix of red and blue may be a little distracting. I suggest we make them all blue by redirecting PAGE2 to ESPN.com (like Page 2), keep PAGE3 a redirect to Page 3, and redirect PAGE4 to Page Four (like Page 4). PAGE5 is not used in doc pages. PrimeHunter (talk) 21:33, 21 January 2021 (UTC)
Oops, I saw it had been create-protected but did not notice the protection expired (threw me off as salting is frequently permanent). — The Earwig talk 23:26, 21 January 2021 (UTC)

Problems rendering mathematical symbols[edit]

There can be problems displaying the equal sign (=) and the minus sign (-).

  • Example:
<math>\frac{dM}{dt} = Q - S = Q - \frac{M}{\tau}</math>

sometimes renders correctly and sometimes does not:

and in some contexts, such as here, always fails to display the minus sign.

  • Another example:
{{center|size bar: 30 µm}}

displays as expected, while

{{center|size bar = 30 µm}}

does not display at all. That is, the presence of the equal sign suppresses the display altogether — Epipelagic (talk) 21:48, 21 January 2021 (UTC)

@Epipelagic: It's two unrelated issues. I guess your browser is Google Chrome. See phab:T269222: "Minus signs not displaying in Math formulas (on certain zoom levels in Chrome browsers)". The minus displays for me at all zoom levels in Google Chrome 88.0.4324.96. The other issue is that {{center|size bar = 30 µm}} is interpreted as assigning the value 30 µm to a template parameter called size bar. You can get around it by writing {{center|1=size bar = 30 µm}} or {{center|size bar {{=}} 30 µm}}. See Help:Template#Usage hints and workarounds. PrimeHunter (talk) 23:16, 21 January 2021 (UTC)

Notifications for WP Projects[edit]

I understand how to manage my own Watchlist, linking to pages I have personally edited.

But if I join one of the many Wikipedia Projects, some of which have their own Watchlists (associated with the Project, and not a specific User), how do I get alerted of changes to one of the watched pages?

I could, I suppose, place a ghost edit on each article within the category, but that would be tedious. One project I follow has 1,500 pages on its watchlist. Or is this somehow automatic, if I add my name to the participants list? Sorry I couldn't find this on the help FAQ. Jax MN (talk) 22:31, 21 January 2021 (UTC)

@Jax MN: See Help:Watchlist for many other features of the watchlist, including how to watch by a click, and Special:Watchlist/raw where you can insert a list of pages to watch them all. Be careful not to delete the existing entries and save. The watchlist has no page history. You cannot get notified of changes to a WikiProject watchlist without watching each page but there may be a link you can click to see recent edits like at Wikipedia:WikiProject Fraternities and Sororities/Watchlist#Instructions. PrimeHunter (talk) 23:29, 21 January 2021 (UTC)

What does unified login cover?[edit]

I went to upload something to wikisource just now and was surprised to discover I wasn't logged in automatically with my wikipedia account. Does unified login not include wikisource? -- RoySmith (talk) 22:48, 21 January 2021 (UTC)

Unified login does include wikisource. I'm not sure why you weren't logged in, but you should be able to log in with the same username and password you use at Wikipedia. * Pppery * it has begun... 23:02, 21 January 2021 (UTC)
You may need to disable any browser option which says "Block third party cookies". -- zzuuzz (talk) 23:14, 21 January 2021 (UTC)
Pppery, Yup, I was able to manually log in with my enwiki credentials (including being asked for 2FA). The log shows my wikisource account was created a couple of years ago. Well, anyway, I'm in, so thanks for the help. zzuuzz, I've never had to do that on other WMF projects (commons, wikidata, etc). -- RoySmith (talk) 23:17, 21 January 2021 (UTC)
@RoySmith: Try v:Wikiversity, which works the same as Wikisource. I guess it's something to do with the domain names, but never looked into it too closely. -- zzuuzz (talk) 23:24, 21 January 2021 (UTC)
Zzuuzz, Interesting, that worked automatically. Well, I'm not going to worry about it too much. Thanks. -- RoySmith (talk) 23:28, 21 January 2021 (UTC)
I sometimes have to click any link or reload a page before being logged in at another wiki. PrimeHunter (talk) 23:32, 21 January 2021 (UTC)
This has happened to me a time or two. It's rare, but it does happen. In fact, it happened just right now. I was fine clicking on Wikisource and Commons, but Wikidata had me logged out. When I tried to log in, I got a message that my login was "invalid or expired". I clicked on Commons (where I was logged in), then came back to Wikidata, and I was already logged in at Wikidata. — Maile (talk) 23:53, 21 January 2021 (UTC)