Wikipedia:Village pump (technical)/Archive 169

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

Contents

Image sizes, upright

Any idea why these images [1] seem to ignore the upright= parameter? (I'm on Chrome, Windows 10.) EEng 19:47, 29 August 2018 (UTC)

What exactly is wrong with these images? Ruslik_Zero 19:51, 29 August 2018 (UTC)
Oh, wait, I just figured it out. The thumb parameter is missing. Never mind. EEng 19:56, 29 August 2018 (UTC)
EEng, fixed, see WP:EIS - "The "upright" option must be used along with the "thumb" or "frameless" parameter." Galobtter (pingó mió) 19:59, 29 August 2018 (UTC)
Thanks. It's funny how history bestows on us so much backwards syntax. Quite obviously, if we had to do it again, thumb would be the default and you'd have to say something like fullsize to get what you never want i.e. the full size image at whatever size it was uploaded at. EEng 20:03, 29 August 2018 (UTC)

Display issues with Template:Graphic novel list

This template hasn't been displaying as it usually does when I checked it today. These are the issues I've noticed I've noticed:

  • The default box width compacts to the text instead of automatically maxing out.
  • Chapter columns are split based on the length of the text, rather than down the middle of the box.
  • When bullet lists are used in columns, the text of the left column overlaps slightly with the right column's bullets, which are colored black.

I'm uncertain if this is an issue with the template itself or if it's exclusive to me, but no other templates have any sort of problem as far as I'm concerned. User:SubZeroSilver (talk) 01:07, 22 August 2018 (UTC)

Fixed with a revert to Template:Graphic novel list/header. – Jonesey95 (talk) 04:38, 22 August 2018 (UTC)

PJS v News Group Newspapers

For some reason, PJS v News Group Newspapers has acquired an image of the The Middlesex Guildhall in the infobox and I can't work out why. What is causing this? Thanks.--♦IanMacM♦ (talk to me) 05:09, 22 August 2018 (UTC)

The image comes from {{Infobox court case/images}} and it's displayed based on what court is specified in |court parameter. You can override that by filling the |image parameter, if there's need. –Ammarpad (talk) 06:01, 22 August 2018 (UTC)

Kaspersky just deleted AutoWikiBrowser!

I was just using AutoWikiBrowser when it suddenly vanished!

Kaspersky (my antivirus) then popped up a window to say it was "Application performing dangerous activity characteristic of malware" and advised a reboot and complete disinfecting of my computer. It said "Detected: PDM:Trojan.Win32.Generic".

Kaspersky has now deleted the AWB program completely, including all shortcuts, etc. Any ideas please? — Hebrides (talk) 14:21, 19 August 2018 (UTC)

@Hebrides: Run McAfee Stinger to double check. You may have gotten a trojan through some other means that managed to work its way into AWB. Kaspersky might be dealing with symptoms instead of the root cause. In fact, I'd even go so far as to:
  1. Download Stinger on a different device (one with an optical drive)
  2. Rename the file
  3. Burn it to a CD or DVD (don't put it on a thumb drive)
  4. Copy it to your computer and run it
Ian.thomson (talk) 14:27, 19 August 2018 (UTC)
A bunch of other good second opinion scanners include HitmanPro, Malwarebytes, Emsisoft Emergency Kit, Noorton Power Eraser (this has more false positives), Trend Micro House Call and Microsoft's Malware Removal tool. They're all good one shots I run every few months, and they don't interfere with regular antivirus or each other. — Alpha3031 (tc) 14:38, 19 August 2018 (UTC)
Yep, I use some of those for stuff short of trojans (or to confirm that I have a trojan). With my browsing habits, if I have a trojan, I need a panic button and Stinger has fit that role pretty well. Ian.thomson (talk) 14:50, 19 August 2018 (UTC)
@Hebrides: If you can't recover it from whatever quarantine your AV has, you'll probably have to reinstall it. Just add it as an exclusion when you do (or get an AV that doesn't decide to randomly delete your files). You can also keep regular system restore snapshots and backup your files, so if your AV suddenly decides some other file is infected, you can recover it. — Alpha3031 (tc) 14:32, 19 August 2018 (UTC)

Very grateful to you both for your advice. I've scanned my system with several of these, and also done a complete virus scan (overnight) and nothing reported. I'll try reinstalling AWB. — Hebrides (talk) 06:48, 20 August 2018 (UTC)

I've got a similar problem in that AWB hangs on 'Processing page'. I suspect that it's the anti-virus(Carbon Black), but because it's a corporate externally managed thing I have no way of quickly disabling it to check. - X201 (talk) 08:04, 22 August 2018 (UTC)

Article recreated today but with no deletion history

See User talk:Doug Weller#Vrishaketu and Draft:Vrishaketu (edit | talk | history | links | watch | logs). User:GiantSnowman and I figure this must be a glitch. Doug Weller talk 15:47, 20 August 2018 (UTC)

I'm guessing you first deleted the draft, moved the mainspace page, then restored the history? MusikAnimal talk 21:04, 20 August 2018 (UTC)
That would be User:GiantSnowman who handled it. Doug Weller talk 16:37, 21 August 2018 (UTC)
Have I made a boo-boo? GiantSnowman 17:45, 21 August 2018 (UTC)
Nope, not a boo-boo! I was just saying that sequence of events would explain why nothing is in the deletion log for Vrishaketu -- because that page wasn't deleted, the draft was. MusikAnimal talk 23:51, 21 August 2018 (UTC)
But surely there should be a log about the page move? GiantSnowman 07:38, 22 August 2018 (UTC)
There is: [2]. If you mean a deletion log saying the page was moved without leaving a redirect then no, that doesn't cause an entry in the deletion log. You may have seen red links like Guru Aur Bhole and assumed it shows a deletion log but it shows a move log. PrimeHunter (talk) 08:29, 22 August 2018 (UTC)

Enable/Disable preview functionality is not keyboard accessible

The issue stated below will impact those user groups who interact with wikipedia pages using only keyboard. Description: On hovering on certain links, a popup opens. However the Settings button present within the popup cannot be accessed using only keyboard. Thus the enable or disable functionality of the previews ( on clicking the Settings button Enable/Disable preview popup opens) is un available for the keyboard only users. Also there is no other option for keyboard user to disable the preview.

This is also a violation against WCAG 2.0 (Success Criteria - 2.1.1).

Link: Any links (e.g. ttps://en.wikipedia.org/wiki/Harry_Potter_(film_series)) Using Chrome 67.0 — Preceding unsigned comment added by Rose685 (talkcontribs) 11:14, 22 August 2018 (UTC)

It's a known issue that is being worked on. If you are a registered user, you can disable from your preferences. —TheDJ (talkcontribs) 11:19, 22 August 2018 (UTC)

Unreviewed articles don't appear on Google search ?

Hi, I have a question regarding Google visibility of Wikipedia articles. I'm used to a very fast visibility on Google when creating articles, a matter of hours, at least when I create new articles on the French language Wikipedia. However, I wrote an article on :en (Terrorist attack against cyclists in Tajikistan) that I published on the 20th. Still not accessible from Google. My guess is that Google doesn't take in account unreviewed pages, am I right ?--Kimdime (talk) 12:40, 22 August 2018 (UTC) Kimdime

That is correct. Unreviewed pages have <meta name="robots" content="noindex,nofollow"/>, so are not indexed by search engines. --Vexations (talk) 13:15, 22 August 2018 (UTC)
Thanks, I can see that there is quite a long list of unreviewed articles [3] some that have staid in the limbo for a surprisingly long time. In my case it seems to me that the article I wrote escaped scrutiny because I created it on my personal space and then renamed it in main space hence it didn't appear at the top of the recent articles list. This seems like a flaw to me.--Kimdime (talk) 13:26, 22 August 2018 (UTC)

Could someone write me/modify me a small .js script?

Currently User:Headbomb/citations.js is the following

function addCBToToolbox() {
var pTb = document.getElementById("p-tb");
	if( !pTb ) return;
	var escPageName = encodeURIComponent(mw.config.get('wgPageName'));
	
	mw.util.addPortletLink("p-tb", "//tools.wmflabs.org/citations/doibot.php?edit=toolbar&slow=1&user="+encodeURIComponent(mw.config.get('wgUserName'))+"&page="+escPageName, 'Citation bot', '', "Expand citations and fix common formatting errors");
}
if (mw.config.get('wgCanonicalNamespace') !== "Special") {
	$.when( mw.loader.using( 'mediawiki.util' ), $ready ).done(addCBToToolbox);
}

It adds a little "Expand citations" option in my toolbar, which is quite useful. What I'd want here is that, when I'm on a Category page, instead of invoking

invoke

instead. Headbomb {t · c · p · b} 16:07, 20 August 2018 (UTC)

I think this is what you want? From what I can tell, the Citation Bot url is different for Categories, so instead of doibot.php you wanted category.php:
function addCBToToolbox() {
var pTb = document.getElementById("p-tb");
	if( !pTb ) return;
	var escUserName = encodeURIComponent(mw.config.get('wgUserName'));

	if (mw.config.get('wgNamespaceNumber') != '14') { //Treat categories differently
		var escPageName = encodeURIComponent(mw.config.get('wgPageName'));
		mw.util.addPortletLink("p-tb", "//tools.wmflabs.org/citations/doibot.php?edit=toolbar&slow=1&user="+escUserName+"&page="+escPageName, 'Citation bot', '', "Expand citations and fix common formatting errors");
	} else {
		var escTitle = encodeURIComponent(mw.config.get('wgTitle'));
		mw.util.addPortletLink("p-tb", "//tools.wmflabs.org/citations/category.php?edit=toolbar&slow=1&user="+escUserName+"&cat="+escTitle, 'Citation bot', '', "Expand citations and fix common formatting errors");
	}
}
if (mw.config.get('wgCanonicalNamespace') !== "Special") {
	$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).done(addCBToToolbox);
}
Moreover, I would guess you actually only want this in mainspace and category space, is that right? If so, you can change the bottom if bit to
if ((mw.config.get('wgNamespaceNumber') == "0") || (mw.config.get('wgNamespaceNumber') == "14")) {
~ Amory (utc) 19:00, 20 August 2018 (UTC)
@Amorymeltzer: I want the category link to be used on [[:Category:<Foobar>]] pages, otherwise the regular link. Headbomb {t · c · p · b} 19:53, 20 August 2018 (UTC)
(e/c)I guess something like this should work:
function addCBToToolbox() {
	var pTb = document.getElementById("p-tb");
	if( !pTb ) return;
	var escPageName = encodeURIComponent(mw.config.get('wgPageName'));
	var type = '&page=';
	
	if( mw.config.get('wgCanonicalNamespace') === 'Category' ) {
		type = '&cat=';
		escPageName = encodeURIComponent(mw.config.get('wgTitle').replace(' ', '_'));
	}
	
	mw.util.addPortletLink("p-tb", "//tools.wmflabs.org/citations/doibot.php?edit=toolbar&slow=1&user="+encodeURIComponent(mw.config.get('wgUserName'))+ type+escPageName, 'Citation bot', '', "Expand citations and fix common formatting errors");
}
if (mw.config.get('wgCanonicalNamespace') !== "Special") {
	$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).done(addCBToToolbox);
}
TheDJ (talkcontribs) 19:01, 20 August 2018 (UTC)
I'll give both a try and see where that gets me. Headbomb {t · c · p · b} 19:53, 20 August 2018 (UTC)

@TheDJ and Amorymeltzer: Neither version work. Both try to run

in Category space. (Also note that Category: must be stripped from the category). Headbomb {t · c · p · b} 20:01, 20 August 2018 (UTC)

It works for me? Try removing , $ready or just changing $.when( mw.loader.using( 'mediawiki.util' ), $ready ).done(addCBToToolbox); to only addCBToToolbox();. The $ready throws an error for me, but this should work fine. ~ Amory (utc) 20:19, 20 August 2018 (UTC)
Wow, yikes, you are right, that's a bad boo boo. Can't believe this ever worked for you at all ? Both examples now corrected. —TheDJ (talkcontribs) 14:13, 21 August 2018 (UTC)

Thanks for the fix, and for taking the time to write and troubleshoot this! I have a bit of a mea culpa to do here, I was mistakenly looking at the link given by WP:Citation expander, so even if things worked, I wouldn't have noticed it. This deserves a newly created {{multitrout}}!

Whack!

You've been collectively whacked with a hover of wet trouts.

Don't take this too seriously. Someone just wants to let you know you did something silly.  Headbomb {t · c · p · b} 14:44, 21 August 2018 (UTC)

Headbomb {t · c · p · b} 14:44, 21 August 2018 (UTC)

At least I learned the collective noun term for trout! DMacks (talk) 15:20, 21 August 2018 (UTC)
@TheDJ and Amorymeltzer: do you know of any way to automatically alphabetize the links in the toolbox? Headbomb {t · c · p · b} 16:23, 21 August 2018 (UTC)
This should work, but will vary slightly based on your skin. I think you use monobook? For Monobook and Modern (the best skin), this works for me:
//Cobbled together from https://stackoverflow.com/a/4420788/2521092 and https://stackoverflow.com/a/278509/2521092
$(function () {
	sorted = $("#p-tb div.pBody ul li").sort(function (a, b) {
    	return a.innerText == b.innerText ? 0 : a.innerText < b.innerText ? -1 : 1;
	});
	$('#p-tb div.pBody ul').html('');
	sorted.each(function(i, a) {$('#p-tb div.pBody ul').append(a)});
});
For Vector, you need to use body instead of pBody. SO is also cc-by-sa, so if you do use that somewhere make sure to include the attribution. ~ Amory (utc) 18:45, 21 August 2018 (UTC)
@Amorymeltzer: Something very weird is happening. The order isn't deterministic. Reloading my userpage/bypassing the cache several times gave this: [4] vs [5] vs [6]. Feel free to poke around in User:Headbomb/monobook.js and subpages. Headbomb {t · c · p · b} 01:22, 22 August 2018 (UTC)
You can try replacing $(function () { with $(window).load(function () { but while I think that should help somewhat, it still likely won't work 100% of the time. ~ Amory (utc) 14:25, 22 August 2018 (UTC)

Password not working but known to be correct

A reader wrote to Wikimedia ticket:2018082010004401 asserting that they know their password is correct but it is not working. Any thoughts? Has this ever happened?

They do not have an email address associated with their account, so they cannot use the option to change it.--S Philbrick(Talk) 14:01, 22 August 2018 (UTC)

Sphilbrick, maybe the password was guessable/easy/leaked and the account was stolen by a hacker? Anyway, without registered email address, no real option to recover the account. Advice is to create a new account (and register your email address). —TheDJ (talkcontribs) 14:14, 22 August 2018 (UTC)
Additionally, if the account is still active it can be locked if they think it is compromised. — xaosflux Talk 14:23, 22 August 2018 (UTC)
OK, but maybe I'm missing something. If a hacker managed to guess or find the password, they wouldn't be able to change it given that there is no email attached, I believe.
I've pointed the person asking the question to this discussion. I thought there was a slight chance there was some known issuer glitch with passwords not working but absent that, I agree that a new account is in order.--S Philbrick(Talk) 14:34, 22 August 2018 (UTC)
@Sphilbrick: noone is required to have an email address registered here. If I know your WMF password I can log in as you and change it to whatever I want. — xaosflux Talk 15:41, 22 August 2018 (UTC)
Whoops, of course. I was thinking about the rather common situation when someone says they forgotten their password but they are logged in. If they try to change the password while logged in they can be successful but only if they know the password. I confused it with this situation.--S Philbrick(Talk) 15:58, 22 August 2018 (UTC)

Adding a keyboard shortcut in JS

I wish to add a new keyboard shortcut in my user script. How can I accomplish this? (I checked the docs, but I can't seem to find anything on this.) Enterprisey (talk!) 01:18, 23 August 2018 (UTC)

@Enterprisey: are you trying document.onkeydown functions? — xaosflux Talk 01:31, 23 August 2018 (UTC)
Which script? Do you already have some key listening occurring? — xaosflux Talk 01:33, 23 August 2018 (UTC)
Xaosflux, I was just wondering if there's an official API function for doing this. I haven't tried onkeydown yet but suspect that would work just fine. I really would like a cross-browser way to do it, though. Enterprisey (talk!) 01:49, 23 August 2018 (UTC)
Can you explain a bit what you want to happen? — xaosflux Talk 02:57, 23 August 2018 (UTC)
Yeah, I wish to have a function that I can pass "s" to and it'll get called when the user presses the appropriate access key combo - for example, on Firefox on Linux, Alt+Shift+S. Enterprisey (talk!) 04:00, 23 August 2018 (UTC)
Enterprisey, you set the accesskey attribute with value 's' on the (focusable) element, and then you can update the tooltip with the corresponding browser specific metakey information using jquery.accessKeyLabel. Like here. —TheDJ (talkcontribs) 05:10, 23 August 2018 (UTC)
Thank you both! Enterprisey (talk!) 05:23, 23 August 2018 (UTC)

Notification for unclear reason

File:Weird each notification.jpeg
uh, ok, why do I care?

I just received the notification shown here. I don’t believe I’ve ever even looked at the page in question before, it isn’t on my watchlist, I’m not at all active on Wikidata, basically I have no clue why I was notified of this. Beeblebrox (talk) 00:20, 23 August 2018 (UTC)

Oh really? Anyway, head to the notifications tab of your preferences, and look for "connection to wikidata." ~ Amory (utc) 00:43, 23 August 2018 (UTC)
Ok, I admit I only looked at the last five years or so of the history. So, it notifies everyone whose ever edited a certain page? That seems kind of dumb, like I don’t feel like I should have to opt out of being notified about a change on another website related to a page I edited one time ten years ago. Beeblebrox (talk) 01:07, 23 August 2018 (UTC)
You moved the page in 2008. So you have the first edit, and it recognizes you as the page creator. AFAIK, it only notifies creators...or "creators". If you're not active on WD, it lets you check to make sure someone didn't vandalize a link to your created page to something completely unrelated. It's a little annoying as it sorts through the backlog, but it will make sense once it catches up. GMGtalk 01:13, 23 August 2018 (UTC)
Well ok, thanks for the explanations all. Beeblebrox (talk) 09:09, 23 August 2018 (UTC)

Formatting on talk page editnotice quotebox stopped working

Any idea as to why the quotebox formatting on the editnotice to my user talk page stopped working? It's supposed to, and used to, look like this, but instead looks like this. (Although it looks like it's supposed to when I go to edit the editnotice: [7]). Beyond My Ken (talk) 14:54, 22 August 2018 (UTC)

{{quotebox}} now uses template styles, which applies styling to only inside the mw-parser-output class, which doesn't include edit notices..I think this can be fixed with editing {{Editnotice load}}, probably better to get it done in MediaWiki though Galobtter (pingó mió) 15:12, 22 August 2018 (UTC)
Indeed, for now you can add a div with the class in question to your edit notice. I think this non-implementation in edit notices was deliberate, but maybe Anomie knows better. --Izno (talk) 16:33, 22 August 2018 (UTC)
It was not really intentional, it follows from the way i18n messages from the MediaWiki namespace get used in the interface. Anomie 11:26, 23 August 2018 (UTC)

User:Equazcion/sysopdetector.js

Equazcion hasn't been around for a while, so I'm asking here. I don't know how popular this script is so I may be the only one who cares, but I find it very useful. I noticed, however, that the rights that display are not the same as what's listed on user rights. It looks like this was the name prior to 2010 and it hasn't caught up. Can we make these match?

For example, we have "User:TNTPublic [autoreviewer, autoconfirmed] [96 edits]", yet the user rights log says "10:56, 21 August 2018 TonyBallioni (talk | contribs) changed group membership for TNTPublic from (none) to autopatrolled (Since someone was complaining)"

And is it really necessary to display "autoconfirmed" for everyone? It looks a little silly to see "[sysop, autoconfirmed]" all the time. If this isn't a popular script, I'll just deal with these things, but if others use it, it seems worth changing. Natureium (talk) 15:43, 21 August 2018 (UTC)

What you want is User:PleaseStand/userinfo.js. It's an updated version of the Equazcion script, and doesn't show autoconfirmed. It does show the rights in a different area and includes extended confirmed, if those are issues. It also shows the gender of the editor, if selected. I have a modified version of that at User:Amorymeltzer/userinfo.js which also works on subpages, contributions, and logs, if that's of interest.
Regarding the name thing, there are plenty of quirks — edit filter instead of abuse filter, admin instead of sysop. autoreviewer, like sysop and abusefilter are the actual names, but we (well, most of us most of the time) call those users autopatrolled, admin, and edit filter (manager). Using either the version from PS or me will display "autopatrolled user," which I think is what you're after. ~ Amory (utc) 17:52, 21 August 2018 (UTC)
User:Anomie/useridentifier.js works well too, but uses icons instead of just text. --Ahecht (TALK
PAGE
) 19:12, 21 August 2018 (UTC)
If people want, we could redirect Equizcion's script to the PleaseStand version (being the closest to the original behaviour). Might save people some time. —TheDJ (talkcontribs) 07:44, 22 August 2018 (UTC)
With <25 people using this I'd rather see it forked then redirected; those 25 people can easily update their settings. — xaosflux Talk 13:30, 22 August 2018 (UTC)
In essence that's already been done by PleaseStand. Equazcion's still works just fine, right? These are different enough in display and method (and both listed on the scripts list) that I don't think one should be redirected to the other. ~ Amory (utc) 14:27, 22 August 2018 (UTC)
I would prefer to keep it. I like the way it is displayed better. Natureium (talk) 19:32, 23 August 2018 (UTC)

What is the real history of this photo?

@LAKERS10: I'm trying to verify that this photo really is Lynda Resnick in 2017, as it says in the caption. It comes from the Flickr account of Mike Gutierrez, who works for Resnick's communications staff as can be seen here.[8]

The thing I don't understand is that the image file history says it was created 7 May 2017, or at least that's the oldest version in the file history that I can see. Yet this image file was already in use in 2016, as can be seen here: [9] And the image metadata says the file was created 7 July 2014.

So what image was in use in 2016, and where is the real history for this file? Kendall-K1 (talk) 02:13, 24 August 2018 (UTC)

So apparently there was an older file with the same name on Commons that got deleted; and that must have been the version in use in 2016? Kendall-K1 (talk) 02:19, 24 August 2018 (UTC)
@Kendall-K1: see File talk:Lynda Resnick.jpg for the deleted history timestamps and summaries, does that help you? — xaosflux Talk 03:36, 24 August 2018 (UTC)
Yes, very much, especially the link to the deletion discussion. Thanks! Kendall-K1 (talk) 03:50, 24 August 2018 (UTC)

Rendering issue with timeline chart (The Roots)

There seems to be something wrong with the band members timeline on "The Roots". From the top of each of the vertical "studio albums" lines, there is another diagonal line which extends off the left side of the graph, obscuring much of the rest of the graph. I don't see anything obviously wrong with the source code of it, but I've never really messed with band timelines much so I wouldn't know what to look for. Could someone more familiar with these charts please take a look? Thanks, IagoQnsi (talk) 05:34, 24 August 2018 (UTC)

I've seen that before with a bunch of other band articles. I suspect the fix is pretty simple, but I don't recall what exactly it is. Enterprisey (talk!) 05:49, 24 August 2018 (UTC)
It looks like a bad image was cached. I don't know how to purge it but any change like one pixel will generate a new correct image. PrimeHunter (talk) 08:05, 24 August 2018 (UTC)
Yes, I've seen this before. I just tried removing a period from one of the band member's names (which wasn't needed anyway) - and it fixed it. Black Kite (talk) 10:14, 24 August 2018 (UTC)
It's the same issue as Wikipedia:Village pump (technical)/Archive 167#Timeline rendering problem. --Redrose64 🌹 (talk) 10:49, 24 August 2018 (UTC)

SVG rendering of text labels

I converted another user's PDF image to SVG and uploaded it as File:Regional map of SE Asia with Borneo Highlighted.svg. If you take a look down at the file history, you will see that in my first upload, all of the text labels show up as anchored over to the left side of the image. But if you look at the SVG itself in Firefox or Inkscape, it is rendered correctly. I fixed the problem by converting the text labels to generic paths instead of text labels, but obviously that's not the most desirable choice. Does MediaWiki have any sort of problem rendering text on SVGs at the proper coordinates? --B (talk) 12:09, 24 August 2018 (UTC)

Yes; see phab:T35245. I think is is probably because you created the file using Inkscape and it inserted MediaWiki-unrecognized positioning attributes somewhere. Jc86035 (talk) 12:40, 24 August 2018 (UTC)
Duly noted, thanks. --B (talk) 12:49, 24 August 2018 (UTC)
@B: Either that, or the fact that a number of <tspan>...</tspan> elements have an x= attribute which is not a simple value - for example the one for India has x="482.09583 500.74384 528.74384 556.74384 572.25586" - five values, separated by spaces. Whilst this is valid according to the SVG spec, I have had problems with certain kinds of space-separated lists before (such as the stroke-dasharray= attribute used in File:First angle projection symbol.svg) - try using commas instead, as in x="482.09583,500.74384,528.74384,556.74384,572.25586". --Redrose64 🌹 (talk) 14:43, 24 August 2018 (UTC)

Broken interwiki links

Hi Guys,

There are many broken links between sister projects. For example, I ran a query to find pages linked from English Wikipedia to Wikisource but don't exist in Wikisource. I got some thousands links, made a list here.

  1. Why broken links inside Wikipedia are red but links to sister projects are blue? Is there a chance to change it?
  2. Can you help me create similar queries to other sister projects and languages?
  3. Can you help me improve the current query (I just ignored anything with : because namespace included in links here and aren't part of the title there.
  4. Can you help me fix those links? Some have something in common and might be fixed easily.

Thanks a lot. Uziel302 (talk) 08:15, 24 August 2018 (UTC)

To q. 1: it's always been that way. There are almost certainly change requests at phab: on this matter that have either been rejected or ignored. I think that the main reason for omission of such a feature concerns efficiency: it is easy to test if a page exists on the same Wikimedia project, but not so easy to test if a page exists on a different Wikimedia project. Remember that when a page gets created or deleted, all the links to that page need to have their colours amended. There are several hundred project/language combinations within the Wikimedia umbrella, it's easiest to just concentrate on links within a project. --Redrose64 🌹 (talk) 10:02, 24 August 2018 (UTC)
It is actually the 11th bug ever filed. --Izno (talk) 11:54, 24 August 2018 (UTC)
Uziel302 Because interwiki links are basically the same as external links. The various sister wiki's have no real knowledge of each others state (other than in places where we made significant hacks, like centralauth, commons and wikidata), so they cannot inform each other of link existence. This is something that is on the radar, but is hard to solve because of huge potential performance implications, which are likely hard to solve. Likely this particular feature is not important enough to drive that change (too little return on investment, to go through the trouble). —TheDJ (talkcontribs) 12:06, 24 August 2018 (UTC)
I understand coloring all interlinks is hard, but having some sort of bot marking broken links from time to time doesn't sound so hard. Me leaving the list on my page won't fix all links but adding some note beside the link telling it is broken might make random editors fix what they see broken.Uziel302 (talk) 13:57, 24 August 2018 (UTC)
Wasn't there a request along those lines at WP:BOTREQ a few weeks back? --Redrose64 🌹 (talk) 14:45, 24 August 2018 (UTC)

Scripts not working

I've got a multitude of my own scripts at User:AlexTheWhovian/Scripts, and suddenly, none of them are working. I'm receiving a console error stating TypeError: mw.util is undefined, which (for example, this is using User:AlexTheWhovian/script-redlinks.js), I assume is in regards to the lines

$.when( mw.loader.using( ['mediawiki.util']), $.ready ).then(function() {
var portletlink = mw.util.addPortletLink('p-tb', '#', 'Remove redlinks');

Has mw.util become deprecated recently? Cheers. -- AlexTW 03:44, 24 August 2018 (UTC)

@AlexTheWhovian: it sounds like a load order issue, see here for how to pre-load in userscripts. — xaosflux Talk 04:00, 24 August 2018 (UTC)
@Xaosflux: Cheers, but no such luck. I updated one of my scripts to use the code given in the link you gave, but it still does not appear. -- AlexTW 07:06, 24 August 2018 (UTC)
@AlexTheWhovian: They all work fine for me. ~ Amory (utc) 11:16, 24 August 2018 (UTC)
@Amorymeltzer: Strange. I logged in on Chrome instead (as I primarily use Firefox), and now that gives me an error of Uncaught TypeError: Cannot read property 'addPortletLink' of undefined. Has to be something with mw.util on my end, then. -- AlexTW 14:37, 24 August 2018 (UTC)

Worked it out. I was using a mw.util.addPortletLink directly in my common.js file. Removed it, common.js continues to load and my scripts appear. All's well here. -- AlexTW 15:10, 24 August 2018 (UTC)

@AlexTheWhovian: Have you tried wrapping your common.js in mw.loader.using() as described at mw:ResourceLoader/Developing_with_ResourceLoader#Client-side_(dynamically)? --Ahecht (TALK
PAGE
) 15:56, 24 August 2018 (UTC)

Server switch coming up

Quick note while I'm here anyway to say that m:Tech/Server switch 2018 has been scheduled for Wednesday, 12 September and Wednesday, 10 October 2018, both rounds starting at 14:00 UTC. Official announcements will be forthcoming, but please mark your calendars, and tell your friends not to schedule anything time-sensitive (like major bot work or an editing workshop) at that moment. Whatamidoing (WMF) (talk) 17:26, 24 August 2018 (UTC)

Search and replace icon in the toolbar

If I click "Advanced", on either Firefox of Chrome, normally, I see a little icon for the search and replace on the right-hand side of the toolbar. As of this afternoon, that icon is not there on either browser. Of course, the feature still works. I click in the blank area where that icon normally is, and the Search and Replace feature pops up for me to fill out. Chances are, this might fix itself by tomorrow. But I've deleted cookies and deleted cache. I've closed and re-opened both browsers separately. I can only think it must be one of those funky things that will eventually clear. — Maile (talk) 23:59, 23 August 2018 (UTC)

Hmm, same for me... Galobtter (pingó mió) 11:19, 24 August 2018 (UTC)
It affects everyone using the 2010 wikitext editor. I've filed a bug report. Whatamidoing (WMF) (talk) 17:14, 24 August 2018 (UTC)
@Maile66 and Galobtter: Thanks for finding this. I've hot-deployed a fix despite it being a Friday. Should now be working for you (and everyone else). @Whatamidoing (WMF): Thanks for the task, will comment on there. :-) Jdforrester (WMF) (talk) 17:47, 24 August 2018 (UTC)
Working for me now. — Maile (talk) 18:54, 24 August 2018 (UTC)

FYI: Automatic mapframe maps in Infobox building

FYI

{{Infobox building}} now automatically displays dynamic <mapframe> maps by default, if available. If you are interested in any articles using this infobox, please review how the map displays in those articles: you can adjust the size, frame center point, initial zoom level, and marker icon using various optional parameters; the mapframe map may also be turned off using |mapframe=no.

See Template talk:Infobox building for further information and discussions. - Evad37 [talk] 05:13, 18 August 2018 (UTC)

Note: {{Infobox shopping mall}} now similarly displays automatic mapframe maps. - Evad37 [talk] 05:22, 25 August 2018 (UTC)

AT&T DNS Error Assist

Does anyone know of a way to disable AT&T DNS Error Assist on a Windows 10 box? I know about the opt-out, but I am hoping for a solution that works on multiple browsers and doesn't require me to trust the same AT&T that hijacked my browser session. --Guy Macon (talk) 14:58, 25 August 2018 (UTC)

@Guy Macon: unless they actively block it, you could change your computer to use another DNS provider such as: Google Public DNS or OpenDNS (see IP values on those pages). — xaosflux Talk 15:13, 25 August 2018 (UTC)

File Upload Wizard bug report

I think I spotted a bug in the Wikipedia:File Upload Wizard form. In Step 3, when I do the following:

  1. Click radio button 2 "This is a copyrighted, non-free work, but I believe it is Fair Use" radio button
  2. Click radio button 3 "This is an excerpt from a copyrighted work."
  3. Select an item from the select menu "Which of these options describes this item best?"
  4. Then change my mind and click radio button 7 "This is some other kind of non-free work"....

... the textarea id="NFPurpose" disappears from the uploadDetails panel id="detailsNFMisc". The result is that all required fields cannot be completed and the Submit button remains disabled. The only fix is to reload the page and start all over again.

I think there's a javascript bug which removes the textarea.

(Note: this is the third attempt at reporting this bug. I've already posted this on the talk page of the Upload Wizard and there has been no response. I also tried posting it on Phabicator, as instructed at the top of this page, and was told that this was wrong. So if anybody out there is reading this and can fix it, please do. Thanks.) Cnbrb (talk) 14:39, 25 August 2018 (UTC)

@Cnbrb: OK, so this does look to be a local .js issue, so it will need to be handled here on-wiki. The main javascript for that page is at MediaWiki:FileUploadWizard.js. @Future Perfect at Sunrise:, I see you've done a lot of work on that script, can you take a look please? — xaosflux Talk 15:24, 25 August 2018 (UTC)

How to align horizontally two adjacent tables?

Hi. I looked for information and failed in aligning horizontally two adjacent tables in my user page, under "Warnings". How is it done? Thinker78 (talk) 05:21, 26 August 2018 (UTC)

I see you are using the type of method described in Help:Table#Positioning. Try using that exactly, and then gradually adjusting to match what you want (to see what syntax/style difference breaks it). DMacks (talk) 05:33, 26 August 2018 (UTC)
I just tried that, and it appears to be the width:200px in the style="" of the cell in first row of each. I tried using width=200 (you have this in the third row of each) and promoting it to the style of the whole table...same results. Does it make sense to set one cell width 200 and a different cell width 130 in the same column? I tried just removing all attempts at width 200 and it seemed to work. But interestingly I tried changing that 130 (which I left as it was) to other values, and it broke again as before. I don't see anything weird in the HTML source, but I don't know the details of display: inline-table; or wikipedia's local CSS. DMacks (talk) 05:48, 26 August 2018 (UTC)
DMacks Thanks for trying to help but I don't think it worked. Thinker78 (talk) 05:54, 26 August 2018 (UTC)
Try the 'tables in a table' trick [10], with the cells of the larger table vertically aligned. Headbomb {t · c · p · b} 05:56, 26 August 2018 (UTC)
(edit conflict) I fixed it by copying what I did on my own userpage to align tables which was to make them both align left. I see Headbomb has given another solution which also works well.. Galobtter (pingó mió) 05:58, 26 August 2018 (UTC)
There's certainly many ways to achieve this. Personally I find tables more easily understandable than messing around with divs and spans and CSS. Headbomb {t · c · p · b} 06:05, 26 August 2018 (UTC)
Yeah that probably is the better/more clear way to do it. Galobtter (pingó mió) 06:45, 26 August 2018 (UTC)

Bad link on the red link page

When I search for e.g. "Frenchman's Bend" using the search page, I get https://en.wikipedia.org/w/index.php?search=Frenchman%27s+Bend&title=Special%3ASearch&fulltext=Search. Search functions normally here, I get a lot of results with "Frenchman's" and "Bend" in them. But if I go to Frenchman's Bend (the red link page) and click on "Search for "Frenchman's Bend" in existing articles.", I end up on https://en.wikipedia.org/w/index.php?search=Frenchman%26%2339%3Bs+Bend&title=Special%3ASearch&fulltext=1, where the first word has been transformed into "Frenchman& #39;s" (without the space) and the results are much less relevant. 78.0.224.194 (talk) 02:55, 26 August 2018 (UTC)

Note to anyone looking in to this, that text is from Template:No article text, and it is currently feeding in an encoded string. — xaosflux Talk 03:20, 26 August 2018 (UTC)
The problem is from encoding of ' in mw:Manual:PAGENAMEE encoding#PAGENAME.
Some allowed characters returned by {{PAGENAME}} are HTML-style encoded:
  • " (double quote %22) is converted to &#34; (34 is the decimal value of hexadecimal 22); in standard HTML/XML style it could also be converted to &quot;.
  • & (ampersand %26) is converted to &#38; (38 is the decimal value of hexadecimal 26); in standard HTML/XML style it could also be converted to &amp;
  • ' (single quote %27) is converted to &#39; (39 is the decimal value of hexadecimal 27); in standard HTML/XML style it could also be converted to &apos;
The current code in Template:No article text gives this search link for IP's at Frenchman's Bend: search
There is string code by Dinoguy1000 to remove soft hyphens but removing this code makes no difference here: search
Using PAGENAMEE with double EE will encode for url's but it replaces spaces by underscores with a poor result here: search
It works to then replace the underscore by %20: search
If we still want to remove any soft hyphens like before then they are now converted to %C2%AD by PAGENAMEE. Example with a soft hyphen inserted between "French" and "man": search
Using a string replacement to remove the encoded soft hyphen: search
It works here but the code is getting complicated and I wonder whether there are bad side effects for other cases. PrimeHunter (talk) 09:52, 26 August 2018 (UTC)
The soft hyphen-related code was meant to be temporary, until phab:T66528 and related tasks are resolved; unfortunately, it seems there were issues with the patch(es) that have to be resolved first. In the meantime, if someone wants to try to simplify the code in {{No article text}}, either by working with what's there now, or starting from scratch, that would be great; unfortunately, the best ideas for simplification I could offer are to split a /core subtemplate off and convert the current one to a preprocessor, or to convert the whole template to a Lua module (I can do the former, but the latter is beyond me).
The solution for this issue is to use {{urlencode:}}; I'll make this change after saving this comment. ディノ千?!? · ☎ Dinoguy1000 15:44, 26 August 2018 (UTC)
Aah, no, I'm an idiot; the code already uses {{urlencode:}}. The problem is that {{PAGENAME}} encodes the apostrophe as &#39; (as PrimeHunter noted already). I think the workaround here is #titleparts, though that's pretty hacky tbh. ディノ千?!? · ☎ Dinoguy1000 15:59, 26 August 2018 (UTC)

Block misattributed to me

When you view the current block here it looks as though I blocked indefinitely for using multiple accounts. If you view the block log it shows that User:Gogo Dodo did that block and I did an earlier 72 hour block. Doug Weller talk 19:00, 23 August 2018 (UTC)

Known bug, been around for a while. The particularly damming bit IMO is that is takes the date and sysop of the original block and mixes in the log reason from the latest block, so it's always incorrect. ~ Amory (utc) 20:10, 23 August 2018 (UTC)
As I see it, Doug Weller blocked that user for 72 hours, but before that had expired (in fact after just 11 minutes), Gogo Dodo extended the block to indef. So Gogo Dodo didn't actually block the user, since they were already blocked; hence the blocking admin is correctly shown as Doug Weller. --Redrose64 🌹 (talk) 22:28, 23 August 2018 (UTC)
Yes, but Doug Weller didn't block them indefinitely, nor for abusing multiple accounts. So Special/BlockList shows the correct current block length and reason, but not the admin who actually set that length or reason. Black Kite (talk) 22:40, 23 August 2018 (UTC)
Thanks everyone. Weird. Doug Weller talk 16:44, 26 August 2018 (UTC)

Lint error in Portal:Wales/Selected picture/Layout

Portal:Wales/Selected picture/Layout is generating lint errors. See Portal talk:Wales/Selected picture/Layout#Bogus empty image option and please discuss it there, not here. —Anomalocaris (talk) 09:45, 22 August 2018 (UTC)

Fixed by PrimeHunter just before 10:21, 22 August 2018 (UTC) —Anomalocaris (talk) 01:22, 27 August 2018 (UTC)

Lint error in Infobox language

{{Infobox language}} is causing Lint errors: Miscellaneous Tidy replacement issues: div-span-flip, affecting over 8,000 pages. Please discuss at Template talk:Infobox language#Lint errors: Miscellaneous Tidy replacement issues: div-span-flip. —Anomalocaris (talk) 07:46, 23 August 2018 (UTC)

Fixed by Galobtter before 08:26, 23 August 2018 ... but then the issue was expanded to similar templates ... —Anomalocaris (talk) 01:26, 27 August 2018 (UTC)

Similar problem in Template:Science

I don't want to fork this discussion section, but I was just looking at a similar problem in {{science}} yesterday. It uses {{larger|{{hlist, which puts a div tag (created by hlist) inside of a span tag (created by larger/resize). I am putting this note here because it is a more general technical issue rather than a problem with Infobox language. – Jonesey95 (talk) 09:06, 23 August 2018 (UTC)

I have implemented an attempted fix by putting {{larger}} inside of {{hlist}}. As with the Infobox language fix, I wonder if hlist should use span tags instead of div tags. – Jonesey95 (talk) 09:34, 23 August 2018 (UTC)
I don't think {{hlist}} should since the div wraps a larger chunk of markup and should be a block level element, but maybe {{Longitem}} since it deals with a short piece of text.. Galobtter (pingó mió) 09:52, 23 August 2018 (UTC)
A list is a block item when marked up as a list in HTML, so that's a no-go. My advice when I meet uses like this is simply to remove the size-changing template as they deviate from standard sizing, often without any reason whatsoever. --Izno (talk) 12:04, 23 August 2018 (UTC)
Here are a few templates that appear to have similar problems (taken from this list):
Extended content
I am not feeling bold enough to remove all of the {{small}} and similar template coding from those templates, but I might go for it later if nobody else has a better solution. – Jonesey95 (talk) 12:39, 23 August 2018 (UTC)
For {{hlist}}, one can use |style= instead of e.g {{small|{{hlist....}}}} Galobtter (pingó mió) 13:34, 23 August 2018 (UTC)
I added a |style= parameter to {{align}} as well, since {{small|{{align....}}}} was causing similar errors. --Ahecht (TALK
PAGE
) 17:29, 23 August 2018 (UTC)
All of them in that list are fixed now except {{Western Schism}}, as I couldn't find an easy way to replace the <div>...</div> tags without changing the appearance for the worse. However, there are still many more at Special:LintErrors/misc-tidy-replacement-issues. --Ahecht (TALK
PAGE
) 18:26, 23 August 2018 (UTC)
I did some web searching and figured out how to fix {{Western Schism}} and a bunch of transit-related infobox header templates. "display:block;" works well in span tags as a substitute for plain div tags. – Jonesey95 (talk) 08:23, 26 August 2018 (UTC)

Pages using Template:ISO 3166 code Canada

There's a lot of pages using Template:ISO 3166 code Canada and similar templates and I can't see why. The list can bee seen at Special:WhatLinksHere/Template:ISO_3166_code_Canada, there's is a total of 91 pages. All the pages I've check don't have any transclusion to it and the templates they use don't either. Can someone please tell me where all the transclusion are coming from? – BrandonXLF (t@lk) 20:16, 26 August 2018 (UTC)

BTW, Please ping me when replying please. – BrandonXLF (t@lk) 20:17, 26 August 2018 (UTC)

@BrandonXLF: A preview window has "Templates used in this preview" at the bottom. Testing one example Davisville station shows the template is used with this code but not if any of the three parameters are removed:
{{Infobox station 
| country       = Canada
| borough       = [[Toronto]], Ontario
| coordinates   = {{coord|43|41|52|N|79|23|50|W|region:CA-ON|display=inline,title}}
}}
{{Infobox station}} calls {{Country abbreviation|Canada|[[Toronto]], Ontario}} for these parameters. It produces with use of {{ISO 3166 code Canada}}. PrimeHunter (talk) 21:29, 26 August 2018 (UTC)
(edit conflict) @BrandonXLF: Mostly they're WP:RDTs that contain a {{Railway-routemap}} template with |CA as the first parameter. This is fed through {{Iso2country|{{if empty|{{#invoke:Country extract|main|nocat=true|CA}}|CA}}}} twice (once with |article=yes and once without) in order to obtain the country name for that code. I really don't see why it needs to be that complicated. --Redrose64 🌹 (talk) 21:31, 26 August 2018 (UTC)
Thanks – BrandonXLF (t@lk) 01:36, 27 August 2018 (UTC)

Notifications: "A link was made from" no longer works?

Since about two months, I no longer get any "a link was made from" Article X "to" an Article Y I created. This didn't register at first because this doesn't happen every day, however, none in two months is way, way below what I used to get. I have already untoggled and retoggled the preference (preferences => notifications => page link). is this something which was disabled deliberately (and perhaps announced in Tech) which I just missed, or something which should work but works for no one any longer, or just something on my end only? Fram (talk) 13:54, 20 August 2018 (UTC)

This was also reported on the Finnish Wikipedia by 2 users. So I think it's a bug somewhere, not sure is it reported on Phabricator yet, at least I could not find it. Stryn (talk) 14:19, 20 August 2018 (UTC)
Thanks. Fram (talk) 07:05, 21 August 2018 (UTC)
See the discussion in German: de:Wikipedia:Fragen zur Wikipedia#Mitteilung über neue Verlinkung --HHill (talk) 08:24, 24 August 2018 (UTC)

Page link notifications no longer work?

Under the "Notify me about these events" preferences list, I have "page link" enabled. However, I no longer seem to be getting notifications about articles I've created being linked in another article. Is this broken for everyone else or just me? Narutolovehinata5 tccsdnew 01:04, 27 August 2018 (UTC)

Tracked in phab already. See also #Notifications: "A link was made from" no longer works?. –Ammarpad (talk) 03:38, 27 August 2018 (UTC)

Help with manually created links on Wiki page

For a long time I had 2 lines of additional code in my User:GermanJoe/common.js to add 2 additional calls for subpage lists:

  • mw.util.addPortletLink( 'p-personal', '/wiki/Special:PrefixIndex/'+wgPageName, 'Subpages', null, null, null, '#pt-preferences');

and

  • mw.util.addPortletLink( 'p-personal', '/wiki/Special:PrefixIndex/User:GermanJoe', 'MySubpages', null, null, null, '#pt-preferences');

created additional links on top of a Wiki page to a list of subpages (of the actual page and of my main userpage respectively) - just meant as convenience links to save 1-2 clicks for quicker access. This approach has worked so far, but now the additional links are no longer created (with Firefox 52.9.0 and Vector skin). Any ideas, why these links are no longer created? I am not following every software change, so it's possible I missed some UI changes or a discontinued feature. And as a bonus question: is there maybe a better way to create additional links to such Wiki features without coding an entire new script? GermanJoe (talk) 18:57, 25 August 2018 (UTC)

Try this:
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
  mw.util.addPortletLink( 'p-personal', '/wiki/Special:PrefixIndex/'+wgPageName, 'Subpages', null, null, null, '#pt-preferences');
  mw.util.addPortletLink( 'p-personal', '/wiki/Special:PrefixIndex/User:GermanJoe', 'MySubpages', null, null, null, '#pt-preferences');
});
PrimeHunter (talk) 20:34, 25 August 2018 (UTC)
Many thanks @PrimeHunter:, that change fixed it. GermanJoe (talk) 23:14, 25 August 2018 (UTC)
GermanJoe, now improved to not rely on the deprecated global variable wgPageName —TheDJ (talkcontribs) 09:57, 27 August 2018 (UTC)

King of Prussia (mall)

A new editor changed the name of the mall (without discussion), and I'm pretty sure the original name was fine. Every time I've reverted a redirect I've messed it up. I would appreciate if an editor could have a look at the new redirect, and revert the name change if they agree it's appropriate. Thanks! Magnolia677 (talk) 12:09, 27 August 2018 (UTC)

The infobox-listed website http://www.kingofprussiamall.com redirects to https://www.simon.com/mall/king-of-prussia identifies itself as just "King of Prussia". DMacks (talk) 13:55, 27 August 2018 (UTC)

Tech News: 2018-35

16:16, 27 August 2018 (UTC)

How is WP:Bots/Spam done?

And how easily could we adapt this to an anti-spam list?

For instance, RonBot once spammed me. Now I put {{Bots|deny=RonBot}} on my userpage to deny it, and that works. There could be a manually maintained list in User:RonBot/Nospam where things are formatted manually, but it would be much nicer (and noob friendly) if such a list could be handled in the same way WP:Bots/Spam is. Headbomb {t · c · p · b} 16:50, 27 August 2018 (UTC)

@Headbomb: that is a MassMessageList content model. A bot should be able to parse the pages on that type of page and use it for opt-in/opt-out purposes if the operator wanted to. — xaosflux Talk 17:46, 27 August 2018 (UTC)
So, how do you setup "that type of page"? Headbomb {t · c · p · b} 18:02, 27 August 2018 (UTC)
@Headbomb: admins can use Special:CreateMassMessageList, anyone else can take an "empty shell" from WT:MMS and move it wherever they need it. — xaosflux Talk 18:05, 27 August 2018 (UTC)

Link to article name with colon

There is a satellite called "Eu:CROPIS" for which I'd like to create an article. When linking there, wiki software redirects to the "CROPIS" article on eu.wikipedia .org. How do I escape the colon properly in the link? I tried "Eu%3ACROPIS", which gives the same result. — JFG talk 17:51, 27 August 2018 (UTC)

@JFG: this is not currently supported, see Wikipedia:Naming_conventions_(technical_restrictions)#Colons for the naming convention and titling to use for this type of page. — xaosflux Talk 18:01, 27 August 2018 (UTC)
Thanks for the tip. I'll just ditch the colon from the title. — JFG talk 18:08, 27 August 2018 (UTC)

Cloud Services purge

Please see wikitech:Cloud VPS 2018 Purge and make sure that anything you're using is marked as being in use. Whatamidoing (WMF) (talk) 18:43, 27 August 2018 (UTC)

Template:Transclude list item excerpt causes Bogus file options lint errors

Template:Transclude list item excerpt causes Bogus file options lint errors in probably about 80 articles in the Portal namespace. Please discuss this at Module talk:Excerpt slideshow#Template:Transclude list item excerpt causes Bogus file options lint errors, not here. — Preceding unsigned comment added by Anomalocaris (talkcontribs) 18:53, 27 August 2018 (UTC)

Discussion is now at Module talk:Excerpt#Bogus file options lint errors - Evad37 [talk] 01:17, 28 August 2018 (UTC)

CURRENTUSER magicword/variable?

Is there a magic word/variable/something that returns the current user? What I'd want is something like {{CURRENTUSER}} that would return "Headbomb" for me, but "Example" for User:Example, and "YOURUSERNAME" for you.

This would be very useful for scripts and the like. {{REVISIONUSER}} is close, but only returns "Headbomb"/"Example"/"YOURUSERNAME" for a specific revision (or when previewing), and cannot be relied upon to feed scripts and external APIs. Headbomb {t · c · p · b} 02:40, 26 August 2018 (UTC)

@Headbomb: from Help:Magic_words#Other_variables_by_type, "There is no way to show the user viewing the page due to technical issues." - primarily because it would invalidate the cache of every page on every view to have a link waiting with the "currentuser" on it. — xaosflux Talk 03:12, 26 August 2018 (UTC)
See also phab:T6196. — xaosflux Talk 03:14, 26 August 2018 (UTC)
@Xaosflux and Johnuniq: could this be something that's LUA-ble? E.g. {{CURRENTUSERNAME}} invoking a Module:CURRENTUSERNAME that would return the current user?Headbomb {t · c · p · b} 03:24, 26 August 2018 (UTC)
@Headbomb: would you plan on using this to make a link on a page, because that would cause the cache invalidation issue everytime the page is loaded. If you want to access the current username from within a user javascript, you should be able to. — xaosflux Talk 03:35, 26 August 2018 (UTC)
@Xaosflux: the point would be to feed this into an external API. Specifically, something like https://tools.wmflabs.org/citations/process_page.php?&user={{CURRENTUSER}}&page={{FULLPAGENAME}}. Headbomb {t · c · p · b} 03:50, 26 August 2018 (UTC)
OK, how do you want it to be on the page? (e.g. just an HTML link that anyone can click on, or dynamically inserted by someone's personal javascript?) — xaosflux Talk 04:06, 26 August 2018 (UTC)
I don't think Lua can determine the "current user", and I'm not sure what that term means. As mentioned by xaosflux, it is intentional that there is nothing that will automatically update each time a page is viewed. CURRENTTIME can be used, but it will only show the time that the page was last purged. If an automatically generated URL is wanted, someone familiar with JavaScript (not me) could possibly do that with some trick. Johnuniq (talk) 04:12, 26 August 2018 (UTC)

@Xaosflux: The end goal is to have it in {{Automated tools}}, somehow, so that Citation bot knows who activated it. Headbomb {t · c · p · b} 04:13, 26 August 2018 (UTC)

Unfortunately that misguided idea already exists: mw:Extension:MyVariables, though it might be acceptable for private wikis. In a public wiki that tool would be the equivalent of giving access to logs of user activity. All one would need to do is to add it to a heavily used template, and the owner of the site would gain access to logs of which users access XXX naughty or politically sensitive page at any time. They can even easily mask it by changing the url on the target site or encode the username on the wiki in any number of ways. That tool server may be run by wikimedia, but it can easily send info to third parties.

Wikimedia would have to be pretty dumb to facilitate violation of its own privacy policy. 17:05, 26 August 2018 (UTC) — Preceding unsigned comment added by 197.235.52.167 (talk)

How would that be the equivalent of 'giving access to logs'. No one but the user would see what {{CURRENTUSER}} would output. Headbomb {t · c · p · b} 17:43, 26 August 2018 (UTC)
As soon as you send {{CURRENTUSER}} to an external service (via clicking on a URL to that service with the information embedded in the URL), that service has your username and IP address, along with any other information that can be gleaned from referrer stuff. This is a significant privacy violation and, I think, a major objection to any sort of {{CURRENTUSER}} or {{USERNAME}} functionality, completely separate from the long-observed caching issues. ディノ千?!? · ☎ Dinoguy1000 17:59, 26 August 2018 (UTC)
If that's the concern, it would would be trivially easy to restrict addition of {{CURRENTUSER}} to vetted services via edit filters. Headbomb {t · c · p · b} 18:07, 26 August 2018 (UTC)
I am not really an expert on such privacy sensitive issues, but I am willing to bet that developers will want a MUCH stronger reassurance than an edit filter. I also wonder what this function will do when it's part of a switch - if e.g it is part of a switch that adds stuff to a category, does that mean that a page's categories may change from one minute to the next every time someone reads it and sets off the switch? Would that impact performance? Jo-Jo Eumerus (talk, contributions) 06:06, 28 August 2018 (UTC)

Category redirects populated by templates:

The following are proving evasive to the redirect bot and help in sorting these out is much appreciated:

There's also still a load of Babel redirect categories where the problem still hasn't been fixed. Timrollpickering 08:57, 28 August 2018 (UTC)

The second one is due to the use of {{Image requested}} with |gastropods as the first unnamed parameter. The first one may be due to the same template with |amphibians as the first unnamed parameter. The third is due to {{Infobox user}} with |country=México. The fourth one I could easily have fixed until they took away my interface administrator right a few days ago. The fifth and sixth have me puzzled. --Redrose64 🌹 (talk) 09:28, 28 August 2018 (UTC)

JavaScript Issue

The code

let css = 'html {-webkit-filter: invert(100%);' +
   'filter: invert(100%); }';

let head = $('head')[0];
let invertStyle = $('#invert')[0];

if (invertStyle) {
	head.removeChild(invertStyle);
} else {
	let style = document.createElement('style');

    style.type = 'text/css';
    style.id = 'invert';
    if (style.styleSheet){
    	style.styleSheet.cssText = css;
    } else {
    	style.appendChild(document.createTextNode(css));
    }

head.appendChild(style);
  }

located at User:BrandonXLF/sandbox.js isn't inverting the background of the left side of the page and the very bottom of the page. Can anyone help? – BrandonXLF (t@lk) 02:54, 27 August 2018 (UTC)

Use the function mw.util.addCSS to add new CSS (you'll probably also want to use ResourceLoader):
mw.loader.using( [ "mediawiki.util" ], function () { mw.util.addCSS( "html {-webkit-filter: invert(100%); filter: invert(100%); }" ); } );
Enterprisey (talk!) 03:25, 27 August 2018 (UTC)
I'm now using
$( '#TurnON' ).click( function (){
	jQuery(function(){
		mw.util.addCSS("html{-webkit-filter:invert(100%);filter:invert(100%);}");
	});
});
$( '#TurnOFF' ).click( function (){
	jQuery(function(){
		mw.util.addCSS("html{-webkit-filter:invert(0%);filter:invert(0%);}");
	});&nbsp;

});'''
located at User:BrandonXLF/sandbox.js. And toggled at User:BrandonXLF/sandbox1, the issue still occurs. – BrandonXLF (t@lk) 22:02, 28 August 2018 (UTC)

Series overview

Can someone take a look at the code in Module:Series overview, and explain why the table produced when using {{Series overview}} appears like this when |allreleased=y is set? The article in question is Nailed It!. It appears to be some sort of column-spanning issue, but it doesn't appear as such on a desktop. Cheers. -- AlexTW 05:32, 28 August 2018 (UTC)

This is because tables on mobile need to be scrollable when they are wider than the page. It has this side effect on tables smaller than 100% the width of the page. —TheDJ (talkcontribs) 05:58, 28 August 2018 (UTC)
@TheDJ: Makes sense. Is there any way to fix this? Do I need to make the table scrollable in Lua in the mobile view? -- AlexTW 04:26, 29 August 2018 (UTC)

Archiving links

Hello,

I am wondering how the link archiving bot works. How often does it archive links? and how do I know if its archived the links on certain pages? Is it so infrequent that i should consider just archiving all my sources on wayback and just using citing the wayback links or does the bot do a sufficient job already? Although i have only had minor issues with links becoming dead or changing, I want to know what steps i should be taking to ensure my citations stay verifiable indefinitely. Thanks, Wikiman5676 (talk) 03:17, 29 August 2018 (UTC)

@Wikiman5676: Unsure on specifics of the link archiving bot. I would advise you to immediately archive any url sources you use on wayback. While you can just cite the wayback cite directly, I would recommend you cite the regular url for the |url=, and put the wayback link under |archive-url; it is also helpful if you add the date of archive with |archive-date. Iazyges Consermonor Opus meum 04:12, 29 August 2018 (UTC)
You can run the bot on individual articles on-demand at history -> fix-dead-links .. it's never going to be 100% so it's worth manually checking links for dead status after running the bot which gets most of them. It can't get them all though like soft404s. -- GreenC 04:21, 29 August 2018 (UTC)
Wow thats the tool I was looking for, thanks! Wikiman5676 (talk) 04:48, 29 August 2018 (UTC)

Strikeouts in Draft:Garalina (Video game company)

Can someone whose technical background is more up-to-date than mine please take a look at Draft:Garalina (Video game company)? Do the black boxes conceal pre-existing text that can be viewed, or are the black boxes simply there in the text as teasers, as if they had overwritten something? Since I think that what I am viewing in the text window is plain ASCII and not any sort of rich text, I am guessing that there isn't anything under the black boxes, and they are just teasers, trying to make one think that there has been censorship, perhaps by the Ministry of Truth. Thank you for a second look. Robert McClenon (talk) 01:56, 29 August 2018 (UTC)

As far as I can tell, it's just a bunch of U+2588 ("Full block", █), and not any kind of formatting. Chris857 (talk) 02:07, 29 August 2018 (UTC)
Thank you. Then it appears to be a teaser, implying that there was previous text that has been blotted out, when there never was previous text. Robert McClenon (talk) 03:02, 29 August 2018 (UTC)
Wonder if it was a paste of a scanned document that was redacted. Ravensfire (talk) 15:51, 29 August 2018 (UTC)

User name creation frustration

I have expressed my frustration before at our policy regarding username creation and I'll try to come back with something more specific but I'm mentioning this just because it irritates me no end, and is relevant to this request.

Someone tried to edit an article but found they were blocked. I'm fairly sure it's a range block (and to briefly mention another pet peeve, I wish we could figure out how to deliver better messages — I'm tired of having to respond to people at OTRS who right in saying that they've been blocked because of vandalism and they haven't vandalized anything)

I offered to create an account for them.

They asked if I could create an account named: Teetoe

Unfortunately, someone created that account back in 2014 and has zero contributions.

I told him it was unavailable and they asked for: Tkalsta

I check to see if that name was registered: Check And the response tells me it is not (am I misreading it?)

However, when I tried to create the name I get the following message: Username entered already in use. Please choose a different name.

What am I missing?--S Philbrick(Talk) 15:27, 29 August 2018 (UTC)

Sphilbrick, Tkalsta exists globally, but not on the english wikipedia. I think we need to update the text for Special:ListUsers "If you are a new user seeking to create an account on Wikipedia, please make sure your desired name is not displayed after searching for it below." for WP:SUL. Galobtter (pingó mió) 15:41, 29 August 2018 (UTC)
IP's have a "Create account" link to Special:CreateAccount. The username field says "(help me choose)" with a link to Wikipedia:Username policy. That page does not link to Special:ListUsers so I think few users would come across it before choosing a name. Wikipedia:Username policy#Similar usernames says "Special:CentralAuth can be used to check for such usernames". It's late in the page and only says it's for similar names. I guess nearly all new users only find out a name is taken when they try to create it. That does work but may be annoying. I think Wikipedia:Username policy#Guidance for new users is the place to say that you can check Special:GlobalUsers for taken names. PrimeHunter (talk) 16:09, 29 August 2018 (UTC)
Still, there's no reason for the message to be inaccurate; also while changing that may not help new users but it still may help old users like Sphilbrick :) Galobtter (pingó mió) 16:17, 29 August 2018 (UTC)
Special:Listusers only shows accounts registered at the English Wikipedia. The unified login system means a name must not be taken anywhere. Use Special:CentralAuth or Special:GlobalUsers to check that. Special:CentralAuth/Tkalsta shows a Finnish Wikipedia account with no edits. PrimeHunter (talk) 15:44, 29 August 2018 (UTC)
Oh crap. I knew that answer but forgot.--S Philbrick(Talk) 15:47, 29 August 2018 (UTC)
Thanks for the prompt responses, I'll ask them to try again.--S Philbrick(Talk) 15:48, 29 August 2018 (UTC)

Something strange at Category:Candidates for speedy deletion

Why is it that Category:Candidates for speedy deletion lists Category:Candidates for speedy deletion as abandoned drafts or AfC submissions as containing more than 100 pages, but when you go to the category it is empty? This has been the case for at least the last several days. --MelanieN (talk) 19:26, 29 August 2018 (UTC)

There's phab:T200402 on this, filed a month ago..per previous bug on issues with speedy deletion it seems that category counting is not handled well when a lot of deletion occurs in a category. Maybe Anomie can do a manual refresh? Galobtter (pingó mió) 19:53, 29 August 2018 (UTC)

Salted article re-created

I found it odd that Jaiden Animations, which was WP:SALTed by User:Alexf was re-created. According to the logs, the salt lasted until September 2018, but the article was re-created in June.

Also copying the comment by User:ThatMontrealIP at Wikipedia:Articles for deletion/Jaiden Animations (2nd nomination)

PS please ping if this has been replied as I'm not watching this page. --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 06:54, 26 August 2018 (UTC)

Pinging ThatMontrealIP --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 06:55, 26 August 2018 (UTC)

WP:SALT has three levels apparently: "Administrators should choose the appropriate level of create protection – autoconfirmed, extended-confirmed,[2] or full." So it must have been on E-C rather than full. Occam's razor answer :) ThatMontrealIP (talk) 06:58, 26 August 2018 (UTC)
@ThatMontrealIP: SALT (a.k.a. Create protection) actually has five levels, the same five that all other forms of protection (edit, move, upload etc.) provide: Allow all users; Require autoconfirmed or confirmed access; Require extended confirmed access; Require template editor access; Require administrator access. --Redrose64 🌹 (talk) 18:20, 26 August 2018 (UTC)
It's because CambridgeBayWeather moved it from JaidenAnimations, which hadn't been protected too. There's no warning when you try to move an article onto a title that's been create-protected, so long as you have sufficient permissions to create it yourself. —Cryptic 07:11, 26 August 2018 (UTC)
The salt was indeed full protection, per the logs. However Danielcool123 moved the draft to "JaidenAnimations", without a space, which wasn't protected, on August 18. Then, an admin, CambridgeBayWeather, overrided the full protection on Jaiden Animations on August 19. Galobtter (pingó mió) 07:11, 26 August 2018 (UTC)
Oh that's annoying. You get a warning if a page exists but not if the target is protected. Sorry. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 07:29, 26 August 2018 (UTC)
Galobtter, so he didn't get a warning when he moved it? Don't you think that if the admin is moving into a protected title, he should have get a warning like hey the previous admin had SALTed this title. Maybe you want to think twice about the move.--Tyw7 (🗣️ Talk) — If (reply) then (ping me) 08:32, 26 August 2018 (UTC)
Per CambridgeBayWeather's above comment, he didn't get a warning.. Galobtter (pingó mió) 08:33, 26 August 2018 (UTC)
Bug? --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 08:53, 26 August 2018 (UTC)
There isn't any warning for that I know off, so not a bug. Could be reasonable to have a warning for that though Galobtter (pingó mió) 09:00, 26 August 2018 (UTC)

I agree. I think there should be a warning. Perhaps another admin can chime in their opinion? --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 09:17, 26 August 2018 (UTC)

I agree it is a bug (or at least a useful feature-request), and one that has been brought up here multiple times before. DMacks (talk) 09:42, 26 August 2018 (UTC)
Stalled on July 3. Bugger. --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 09:50, 26 August 2018 (UTC)

Using edit filter

I'm curious if this could be done using an edit filter.. Galobtter (pingó mió) 09:57, 26 August 2018 (UTC)
@Galobtter: protection levels of pages are not presented as edit filter variables. — xaosflux Talk 15:25, 26 August 2018 (UTC)
Xaosflux, I was looking at the doc for AbuseFilter earlier and it says that page_restrictions_edit gets the protection level.. Galobtter (pingó mió) 15:30, 26 August 2018 (UTC)
{{ec}} Isn't there page_restrictions_create? I don't know whether the set of page_restrictions_* are for the move_to or move_from pagename though. DMacks (talk) 15:31, 26 August 2018 (UTC)
@DMacks: / @Galobtter: it doesn't look like those variables are actually being populated current, see example of data from a move over a protected page: testwiki:Special:AbuseFilter/examine/398011. — xaosflux Talk 17:15, 26 August 2018 (UTC)
See also phab:T173889. — xaosflux Talk 17:19, 26 August 2018 (UTC)
  • FYI: There is a blocking task, phab:T190653 to considering the edit filter for this right now. Once it is resolved we can revisit if EF might be a good way to work in a warning. — xaosflux Talk 20:11, 26 August 2018 (UTC)
I feel like if you're trying to move a page to a salted title, even if you're an admin (or really only then, since otherwise moving it wouldn't even be possible), it should show you the deletion logs for the title, just like it does if you're trying to create an article whose title has previously been deleted. IntoThinAir (formerly Everymorning) talk 16:06, 28 August 2018 (UTC)
@IntoThinAir: that is exactly what has been requested in phab:T85393. Things like this will probably have to get in to the community wish list discussions to get traction though. — xaosflux Talk 17:23, 28 August 2018 (UTC)
Xaosflux, shall I post there too? --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 23:14, 29 August 2018 (UTC)
@Tyw7: subscribing and posting support to the task can't hurt! — xaosflux Talk 00:52, 30 August 2018 (UTC)
Xaosflux, I've subscribed but how do you post support?
And I mean to post in the wishlist. --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 01:30, 30 August 2018 (UTC)
@Tyw7: the meta:2018_Community_Wishlist_Survey starts collecting proposals in ~2 months. — xaosflux Talk 01:33, 30 August 2018 (UTC)
Xaosflux, ah gotcha. Remind me when it opens. --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 02:17, 30 August 2018 (UTC)

Non-free file in portal

Can someone figure out why File:The Lion Sleeps Tonight by The Tokens.ogg is listed as being used in Portal:Neil Sedaka? Non-free files are only allowed to be used in the article mainspace per WP:NFCC#9, but I cannot find the syntaxt for this file anywhere on the portal's page. It might be being transcluded from another article, but none of the articles where the file is currenlty being used seem related to Sedaka. -- Marchjuly (talk) 06:05, 30 August 2018 (UTC)

Yep, it was a bit intricate transclusion of the same file from the lead of The Tokens. I fixed it now. –Ammarpad (talk) 09:15, 30 August 2018 (UTC)
Thanks for your help Ammarpad. -- Marchjuly (talk) 21:15, 30 August 2018 (UTC)

Devil May Cry 4

Please see: https://en.wikipedia.org/w/index.php?title=Devil_May_Cry_4&action=edit&section=12

Any idea why the date format is not appearing correctly in the article? Reference #89. I fixed them using the Visual Editor but it makes no change in how they display. In the course of my c/e I ran into this several time. I'm using a Dell Inspiron 15 laptop, though I doubt that makes a difference. Thanks for your help. Twofingered Typist (talk) 21:25, 30 August 2018 (UTC)

@Twofingered Typist:, the cite has df=dmy-all activated which overrides the original date format to DMY for all 3 dates. GermanJoe (talk) 21:32, 30 August 2018 (UTC)
Thanks, GermanJoe!! I've never run across this and I was beginning to think I'd lost my mind! Twofingered Typist (talk) 21:37, 30 August 2018 (UTC)

Collapsing template

Could someone please figure out how to make this template not collapse on the Major scale page? Even {{circle of fifths|state=expanded}} didn't seem to force the template into its expanded state (according to Preview, anyway). The problem appears to exist just on this one page. WhatamIdoing (talk) 21:13, 30 August 2018 (UTC)

WhatamIdoing, {{circle of fifths|state=expanded}} should work now per my change. Nihlus 21:20, 30 August 2018 (UTC)
Thanks, Nihlus. It's working perfectly now. WhatamIdoing (talk) 21:37, 30 August 2018 (UTC)
Thanks to both of you, from the one who was dragging his feet seeking help about it. On a random undocumented key-mashing hunch, I had originally tried {{Circle of fifths|show}} which worked in preview, but not after saving the edit. Inn-teresting... Just plain Bill (talk) 22:13, 30 August 2018 (UTC)
It had class autocollapse. This will start out collapsed if there are two or more collapsible tables on the page, and expanded if it's the only one. You made a section edit where it was alone so it previewed expanded but the saved page had another at the bottom so it collapsed. PrimeHunter (talk) 22:25, 30 August 2018 (UTC)

large blank box Commander-in-Chief Fleet article

Screen shot Commander in Chief Fleet

Hello I recently did some editing on the article Commander-in-Chief Fleet below the references sections a large blank box has appeared and I cant seem to get rid of it would appreciate any help to resolve it and an explanation what I might have done that has caused it to happen many thanks.--Navops47 (talk) 04:39, 28 August 2018 (UTC)

Navops47, I don't see that blank box. maybe post a screenshot? Galobtter (pingó mió) 04:50, 28 August 2018 (UTC)
Hi thanks for getting back to me this is the screen shot from my computer the box extends about 7 inches down the screen.--Navops47 (talk) 05:19, 28 August 2018 (UTC)
Navops47, trying adding "?safemode=1" at the end of the url and clicking enter - does it still show as a white box? do the navboxes show below? Galobtter (pingó mió) 05:24, 28 August 2018 (UTC)
Also its not the navigation templates at the bottom of that page as they appear after I scroll all the way down.--Navops47 (talk) 05:23, 28 August 2018 (UTC)
I tried adding that extension at the end of the URL it does not recognise it says wikipedia does not have an article with that name. Can you post the url address with that extension as a link for me sorry for being a bit dumb?, The navboxes are showing as normal before you expand them at the bottom of the box--Navops47 (talk) 05:33, 28 August 2018 (UTC)
Navops47, https://en.wikipedia.org/wiki/Commander-in-Chief_Fleet?safemode=1. Enterprisey (talk!) 05:37, 28 August 2018 (UTC)
Okay that extension works the box is not showing. When I do a fresh google search then click the article link its still showing on this page not on any others is it possibly a glitch? am using Windows 10.--Navops47 (talk) 06:21, 28 August 2018 (UTC)
It's not a user script issue, but seems to be related to our site JavaScript that does the collapsing of collapsible objects. It's happening for me in Opera 36.0, it might not affect all browsers. The problem is related to the three sidebars in the sections Fleet structure (1971 to 1981), Fleet structure (1981 to 2002) and Fleet structure (2002 to 2012). If you navigate to the first of those sections, you will see that the sidebars all start off expanded and then collapse. Page content below those should move up into the gap that is created, but this is not happening correctly for the navbox Her Majesty's Naval Service - its top border ends up at the correct position, just below the references, but the pale blue title strip remains where it was (just below the former position of the bottom edge of the third sidebar) causing a large blank space which on my setup is about two screens high. Try going directly to the category box at the bottom and watch what happens. --Redrose64 🌹 (talk) 09:16, 28 August 2018 (UTC)
Redrose64, Huh, when going directly to the category box at the bottom there is indeed a flash of a white box. Making the layout a bit less horrible appears to fix the problem. ping TheDJ, anyhow, as having rewritten the js code for collapsible recently.. Galobtter (pingó mió) 09:34, 28 August 2018 (UTC)
The problem began with this edit. --Redrose64 🌹 (talk) 11:01, 28 August 2018 (UTC)
I can confirm that it is browser-dependent. Looking at the problem version in Firefox Quantum 61, there is no problem. --Redrose64 🌹 (talk) 12:35, 31 August 2018 (UTC)

JavaScript invert script issue

I'm trying to use the code below to invert the color of the page

$( '#TurnON' ).click( function (){
	jQuery(function(){
		mw.util.addCSS("html{-webkit-filter:invert(100%);filter:invert(100%);}");
	});
});
$( '#TurnOFF' ).click( function (){
	jQuery(function(){
		mw.util.addCSS("html{-webkit-filter:invert(0%);filter:invert(0%);}");
	});&nbsp;

});'''

located at User:BrandonXLF/sandbox.js. And toggled at User:BrandonXLF/sandbox/1, the code above doesn't invert the BACKGROUND of the bottom bar and the right sidebar, does anyone know why?. – BrandonXLF (t@lk) 18:47, 30 August 2018 (UTC)

BrandonXLF, you are appending CSS on each state change, which just results in a lot of conflicting CSS. Instead, you should add the rules to a classname like "inverted-colors", addCSS that unconditionally, and then use the turnon, turnoff handler to $(html).toggleClass('inverted-colors'). This will apply/remove the classname, and the thus put the CSS stylerules into effect, or disable them. —TheDJ (talkcontribs) 14:37, 31 August 2018 (UTC)
also which sidebar of which skin ? Maybe you can post a screenshot ? —TheDJ (talkcontribs) 14:40, 31 August 2018 (UTC)

Request for template help

I've been sporadically working on User:Lepricavark/List of RfA nominators for a while now. The task would be much, much, much easier if there was a version of Template:Recent RfX that included a column for nominators, ideally between the 'Type' and 'Result' headings. It looks like it should be a fairly easy task for a technically-skilled editor, but I can't make heads-or-tails of what needs to be done. I'd be deeply grateful if someone could create the template for me. Lepricavark (talk) 22:40, 30 August 2018 (UTC)

@Lepricavark: First, I hope you know that template (the body) is manually updated after RfA from here. And it draws its header content from here. I have added the nominator column for you in in its sandbox here and draws customized header from my sandbox. Final example can be seen here. I hope that is what you want. –Ammarpad (talk) 02:19, 31 August 2018 (UTC)
@Ammarpad: Thank you very much! That is extremely helpful. I have copied the template structure over to User:Lepricavark/RfX nom template and I have only one more request: can you adjust it so that I can include multiple editor usernames in the nominators column for RfX that had co-noms? You can see the current problem at User:Lepricavark/List of RfA nominators#2018. Lepricavark (talk) 04:26, 31 August 2018 (UTC)
I made the changes in your userspace and created doc page. Some few things: If you didn't supply at least one nominator, it will assume it's a self nomination. Maximum number of nominators is 3. –Ammarpad (talk) 14:56, 31 August 2018 (UTC)

Default preferences in en-WP

I keep running into new users who seem to have the setting "Email me when a page or a file on my watchlist is changed" checked in their preferences, which confuses them. They write things like "I received an email saying (blah blah blah)" or "Stop emailing me!". I am dealing with somebody like that now. Before I respond to them, I would like to know if this is checked by default if you provide your email address, or if a person has to check it. Does anybody know? (I checked Help:Preferences and didn't find information there). Thx Jytdog (talk) 18:36, 30 August 2018 (UTC)

@Jytdog: Yes, it's checked by default for new users. Graham87 06:51, 31 August 2018 (UTC)
Thanks for letting me know! I am not sure that should be the default. Where do folks reckon would be the place to discuss that? Jytdog (talk) 12:34, 31 August 2018 (UTC)
The configuration here is supposed to default that specific preference ("Email me when a page or a file on my watchlist is changed") to off. There are a few that are defaulted on for email, all in "Notify me about these events" on the "Notifications" tab:
  • Thanks
  • ⧼echo-category-title-education-program⧽
  • Failed login attempts
  • Login from an unfamiliar device
  • OAuth admin
  • OAuth development
  • Page reviews
  • Talk page messages
I also spot-checked a few of the newest users (using mwrepl) and they seem to have the preference unchecked. BJorsch (WMF) (talk) 13:35, 31 August 2018 (UTC)
Hm thanks! I think it is the "user talk" one that confuses people. Here is a copy/paste from the email exchange: Can’t find your message only get the beginning on emails ... Jytdog (talk) 15:52, 31 August 2018 (UTC)

Generate inline popover maps based on KML

Some background: for years we've had support for KML data on Wikipedia with a template, {{Attached KML}}, which adds a geo-box (my name for it, same as what {{coord}} does) to the top-right of an article with a map generated from KML data uploaded to a subpage, and can also display a box inline without the geo-box, but (formerly) with links to create an overlay map on Google or Bing with the KML data. Unfortunately, it seems Bing shut off their support for KML some time ago, and our wmflabs tool to create the overlay on Google Maps has also stopped working, so the inline form of {{Attached KML}} is pretty thoroughly broken. However, there are still more than 10,000 sets of KML data on the project, and it would be a shame not to do something with them. The topicon still works, but generating new maps seems to be buggy.

I had been working on List of Prince Edward Island provincial highways and the highways linked from there for a while when I started to encounter the issues with KML support. What I'd like to be able to do is add a column to the tables with a geo-box that could overlay a linked KML file, similar to how {{coord}} overlays a pin on a map when used inline (see examples at List of National Parks of Canada) and similar to the overlay map that {{Attached KML}} generates with the topicon. I think this is a simple matter of "borrowing" code from Module:Attached KML, but I wouldn't know even where to start. Does one of you Lua-savvy folk feel like taking this on? Ivanvector (Talk/Edits) 14:14, 31 August 2018 (UTC)

The thing that displays the "geobox" map is m:WikiMiniAtlas, all Module:Attached KML does is let that software know there's related KML data for the page. The easiest way to basically do what you want would be to switch to geoJSON map data (which is compatible with <mapframe>/<maplink> (as I mentioned at Template talk:Attached KML), rather than KML. That way you can just insert {{maplink}} links into the table, which when clicked will open a dynamic map with the data displayed. I have a script that can help convert from KML to geoJSON if you are interested, see Template talk:Infobox road#kmlToJson. At Template talk:Infobox road#Map data on Commons, we're also looking into automated or semi-automated importing and converting of Wikipedia KML files into map data on Commons (a test case showed it can be done, but manually it's a non-intuitive seven step process, so an admin-bot or script to assist admins would be required). - Evad37 [talk] 16:03, 31 August 2018 (UTC)
Thank you! I will look into this over the weekend, I'm a bit busy the rest of today. I'll get in touch with you about your script if I can't figure it out myself. As for existing data, for the list I mentioned there isn't much, Route 1 was already done but needs correction, and I gave up after I couldn't get Route 2 to work, so it would be just as logical for me to learn how to generate a geoJSON map instead and go from there. Thanks for the suggestions, anyway, I will have something to do for a while :) Ivanvector (Talk/Edits) 16:07, 31 August 2018 (UTC)

Blank infoboxes

I don't know why, but I had Multiplexed point-of-care testing on my watchlist. Earlier today Ozzie10aaaa added a blank infobox to the page. This seemed a little odd, so I reverted. In looking at their contribs they had added blank copies of {{Infobox diagnostic}} to a whole bunch of pages. I inquired about this, and getting what I felt was an insufficient reason for adding them I proceeded to remove any blank uses of the infobox. Doc James proceeded to question my actions, reverting all of them (though I will note I stopped removing them after his first post), and since we seem to be at an impasse I figured I would bring the issue here. Additionally, Doc James says it makes it clear that all "medical diagnostics" are part of a category, but my thought is that adding Category would work just as well.

Looking specifically at this template is what brought me here, but I'd like to ask the general question - is it worth adding an entirely blank (minus the "name" field) infobox to an article in the off chance that information can be added in the future? Primefac (talk) 15:57, 14 August 2018 (UTC)

The infobox indicates that the article in question is a "diagnostic" so not entirely blank. Many of them also had images. A number of these articles do not mention that the article is about a diagnostic elsewhere.
I keep a number of these topics on my watchlist and found it strange to see the infoboxes being removed. Looked further and found that Primefac had removed like 50 of them.
So yes restored the boxes in question. Doc James (talk · contribs · email) 16:01, 14 August 2018 (UTC)
I guess that's my question, why not just track with Category:Medical tests, or create Category:Diagnostic tests? If it doesn't say that it's a diagnostic test, why not improve the article to say so? Primefac (talk) 16:07, 14 August 2018 (UTC) (and for what it's worth I'm not at all faulting Doc for reverting my 54 edits, I'm just trying to find a consensus for common practices)
as Doc James indicated, many of them did have images, additionally many will be filled with information related to each test--Ozzie10aaaa (talk) 16:18, 14 August 2018 (UTC)
An image that was already there, and an image which I made sure was kept when I removed the infobox (example). Primefac (talk) 16:27, 14 August 2018 (UTC)
The {{authority control}} box is programmed to not show up unless there is at least one meaningful parameter value. I suggest the same approach be followed for infoboxes that are placed without parameter values, and until the time such programming of the box has happened it be removed or commented out. --Francis Schonken (talk) 16:22, 14 August 2018 (UTC)
Commenting out doesn't seem to work, so removing it is, for the time being. Also, the infobox in question is apparently Wikidata-enabled, which is ill-advised to place without knowing what's going to be in it. At least not without a broad consensus to do so. Which we're here to discuss: I'd suggest a consensus on not placing empty infoboxes of any kind, that's what I'd think the best solution. --Francis Schonken (talk) 16:29, 14 August 2018 (UTC)
The template fetches no data from Wikidata and is not Wikidata-enabled. --RexxS (talk) 17:06, 14 August 2018 (UTC)
My personal preference would be not to have a blank infobox, but I can see some value in having something in the usual place where readers go to get "at-a-glance" information about a topic – even if it is just a link to Medical diagnosis. I suppose it boils down to whether there's any chance that more information may be placed in the infobox, but I'm not sure what else there is to say about many of the articles in question. In the final analysis, I'm pretty sure that the presence or absence of an infobox in those articles doesn't amount to a hill of beans either way. --RexxS (talk) 16:35, 14 August 2018 (UTC)
Off-topic discussion about talk page comments and formatting
@RexxS: please don't mess with the layout of my talk page comments: what I said above was in direct response to the OP, so should not be indented as if it was a reply to something else. --Francis Schonken (talk) 16:39, 14 August 2018 (UTC)
@Francis Schonken: Then please make it clear by using the {{reply to}} template on complicated threads, particularly when you fuck-up the page for the visually impaired by switching from description lists to a bulleted list. You've been here long enough: have you never read Wikipedia:Manual of Style/Accessibility #Lists, or do you just not care about the effect of your edits on those less fortunate than yourself? --RexxS (talk) 16:49, 14 August 2018 (UTC)
A bullet point is clear enough to indicate the start of a new reply to the OP. Indeed, that's how it worked for those that have been around long enough, and for newcomers too. --Francis Schonken (talk) 16:52, 14 August 2018 (UTC)
Also, WP:TPG is the applicable guidance: if I object to refactoring my comment, then don't do so for a second time (like you did). Or don't you care about that guidance? --Francis Schonken (talk) 16:56, 14 August 2018 (UTC)
No. There is a clear injunction against switching styles of indentation as I indicated. It makes the page uncomfortable reading for anyone using a screen reader and and so we don't do it. That's one reason why we have the {{reply to}} template. WP:TPG: "Some examples of appropriately editing others' comments: ... Fixing format errors that render material difficult to read ... Examples include fixing indentation levels, removing bullets from discussions that are not consensus polls or requests for comment". So, I'll warn you just once and then it's off to ANI: you are now aware of the problem caused by switching styles of indentation, so don't do it again. --RexxS (talk) 17:05, 14 August 2018 (UTC)
Don't change the layout of my replies. Period. WP:TPG. --Francis Schonken (talk) 18:33, 14 August 2018 (UTC)
Or for clarity, quoting the guideline: "Cautiously editing or removing another editor's comments is sometimes allowed, but normally you should stop if there is any objection." (emphasis added) – so, please act "normal" and stop refactoring my reply after I objected to such refactoring. Thanks. --Francis Schonken (talk) 18:44, 14 August 2018 (UTC)
Request denied. The moment that it was explained to you that you were causing problems for the visually impaired, any objections you might have against anyone fixing the problem you caused are overruled. WP:TPOC. --Guy Macon (talk) 20:01, 14 August 2018 (UTC)
Also, for clarity, I meant, reply to the original post (for anyone to read), not reply to the original poster – so no use pinging a specific editor. Sorry I wasn't clear about that by using an abbreviation. --Francis Schonken (talk) 18:57, 14 August 2018 (UTC)
I've consequently removed the "edit on wikidata" thing Galobtter (pingó mió) 17:26, 14 August 2018 (UTC)
@Francis Schonken: Commenting out doesn't seem to work You refer presumably to this edit. Comments cannot be nested, so your newly-added <!-- opens a comment which is terminated by the very next instance of -->, which is at the end of the |DiseasesDB= parameter. --Redrose64 🌹 (talk) 16:46, 14 August 2018 (UTC)
I'm generally pro-infobox, but I don't see the value in empty infoboxes. If you want to add them, why not add the corresponding information to make them actually useful for readers? Natureium (talk) 16:36, 14 August 2018 (UTC)
What Natureium said. ~ ONUnicorn(Talk|Contribs)problem solving 20:14, 14 August 2018 (UTC)
I'm also in agreement with Natureium here, but I'm also not opposed to the infoboxes being hidden by default when there's no parameters defined (not including name). Empty infoboxes simply look broken, and clutter up the page with zero value. If you want an infobox, populate it with some information. stwalkerster (talk) 20:18, 14 August 2018 (UTC)
Agree with Natureium. Either add an infobox with useful verifiable information or don't add an empty infobox. --Treetear (talk) 20:49, 14 August 2018 (UTC)

Blank infoboxes (obviously) provide no useful data and therefor should be removed. {{3x|p}}ery (talk) 21:07, 14 August 2018 (UTC)

Okay have added some properties to all the infoboxes in question. Doc James (talk · contribs · email) 21:31, 14 August 2018 (UTC)

Is there an actual technical question here, or should this discussion be moved out of VPT? One of the stated goals ("trying to find a consensus for common practices") is more appropriate for one of the other village pumps, or at WT:MED, or at the talk page for any of the affected articles. WhatamIdoing (talk) 04:19, 15 August 2018 (UTC)

It started out as a technical request, and somewhere along the line I suppose I lost all the "technical" parts of it. I have no issue with it being moved to a more appropriate venue. Primefac (talk) 19:29, 15 August 2018 (UTC)
All the infoboxes that started this discuss have had stuff added to them. It would be better practice to add to the infoboxes than to remove them. Is there a tool that lists infoboxes that are empty? Doc James (talk · contribs · email) 00:17, 20 August 2018 (UTC)
Yes. For at least one definition of "empty" there is Category:Articles which use infobox templates with no data rows. For me, the category has been a bit of a hobbyhorse lately. I've been looking to cut back on the huge number of articles in the category by (at least for a while) allowing infoboxes to be used simply for an image or simply for navigation. These seem to be common ways to use infoboxes and not deprecated by the template's documentation. Taking them out of the tracking category will allow us to better focus on the really empty userboxes, the ones that should be fixed first. — jmcgnh(talk) (contribs) 19:50, 26 August 2018 (UTC)
@Doc James: In my hunt for templates that might be tweaked to decrease the noise count at Category talk:Articles which use infobox templates with no data rows#Categorisation, I'm coming across a lot of "empty" instances of {{Infobox medical condition (new)}}. Are these also being built out in some systematic way – in their present state they're pretty useless. Can I at least propose pushing them into their own separate tracking category? — jmcgnh(talk) (contribs) 21:06, 31 August 2018 (UTC)
User:jmcgnh if you give me a list of empty one I will go through it and add information to them. Have added information to over 500 so far. Doc James (talk · contribs · email) 23:08, 31 August 2018 (UTC)
@Doc James: I have some other ideas about how I might generate such a list, but I don't have that list or a way to generate it at present. Having the empty ones populate their own category, instead of the big "no data rows" one is my best idea of how to give you a list. But it's template-protected, so I'd need to go through an edit-request process to get there. — jmcgnh(talk) (contribs) 23:14, 31 August 2018 (UTC)
@Doc James: Here is a search of pages with that template also in that category. Have at it. --Izno (talk) 23:34, 31 August 2018 (UTC)
Perfect will get on it. Doc James (talk · contribs · email) 23:49, 31 August 2018 (UTC)

Rollback and revdel

University of Chicago Law School was recently full-protected due to an edit war, the subject then came up at WP:AN, and I happened upon it as a result. By that point, there was consensus at the talk page that some bits needed to be removed for copyright reasons, so I edited through full protection to remove things that were identified, and nobody objected. Someone else has since revdeleted the infringing revisions. To my surprise, however, I find that I don't have a rollback link — my latest edit is the latest edit to the page, so I have (current) in my contributions, but no rollback. Is this intentional? It seems to me that when an edit has been revdeleted, there should be a rollback link, and clicking it should have the effect of restoring the last visible edit by someone else. Nyttend (talk) 23:31, 30 August 2018 (UTC)

Nyttend, rollback isn't that smart. It looks at the last revision by someone else, whether or not it was revdel'd. Rollback cannot restore a revdel'd version of the page, so the option is not available. Nihlus 23:38, 30 August 2018 (UTC)
Nyttend, I can confirm the missing rollback link as well; note however that the Twinkle rollback links do appear. Obviously, as I'm not a sysop, triggering them generates an error. I'm not sure what they'd do for you. Home Lander (talk) 00:41, 31 August 2018 (UTC)
Tested at test wiki. Trying to use Twinkle to rollback to a rev-delled edit still generates an error even with sysop rights because Twinkle can't find the revision to rollback to. Home Lander (talk) 00:49, 31 August 2018 (UTC)
I'm the one that did the revdelete, I wasn't aware I might be causing a problem. Do you need me to fix something? Ivanvector (Talk/Edits) 14:00, 31 August 2018 (UTC)
Ivanvector, I don't see that there is a problem, per se, it just caused a technical side effect that prompted the question. Home Lander (talk) 18:33, 31 August 2018 (UTC)
Yes, that's a good description: nothing wrong with the revdel, just a question about an undesirable-to-me aspect of rollback. Nyttend (talk) 11:47, 1 September 2018 (UTC)

Talk page notification not working?

Resolved

Notification re talking page messages seems to be not working today. In preferences, the web notification option for this is checked, but grayed out. — Maile (talk) 11:36, 1 September 2018 (UTC)

It works for me. It's checked and grayed out because it's not optional. Are you saying you were not notified of [18]? Do you see it at Special:Notifications? PrimeHunter (talk) 13:53, 1 September 2018 (UTC)
Oops. I just realized it never notified me this morning ... because, it seems I looked at the last message before signing out last evening. My oversight. Disregard this thread, please. — Maile (talk) 16:26, 1 September 2018 (UTC)

Username or IP removed? Never seen this before

I just saw this on my watchlist: [19] What is it? Never seen anything like that, only the "Renamed user abcdefg123" what comes from Wikipedia:Courtesy vanishing. Is this is something the WMF has enforced without consulting the community? --Pudeo (talk) 22:17, 1 September 2018 (UTC)

The username or IP was oversighted. — JJMC89(T·C) 22:20, 1 September 2018 (UTC)
(edit conflict) This can happen for any of three situations: WP:REVDEL, WP:OVERSIGHT, or both (in that order). In this case it was not the first one. --Redrose64 🌹 (talk) 22:22, 1 September 2018 (UTC)
Pretty curious. Thanks, it does mention oversighting usernames. But that makes evaluating the the user's actions as well as the administrative actions impossible for accountability. Reminds of removing "unpersons" from official pictures in the USSR (Censorship of images in the Soviet Union). --Pudeo (talk) 22:28, 1 September 2018 (UTC)
IP addresses are often suppressed when someone accidentally edits while logged out and/or did not realize that their IP address would be published. Since IP addresses can reveal things like your location, Internet service provider, employer, etc., I think the oversight team regularly grants these types of requests as "non-public personal information". It does make accountability for the edits difficult, since there's no one we can communicate with about them. If you disagree with the edits, I suppose I would just apply WP:BRD and revert them; whoever it is, I'd imagine they'd create an account in order to discuss the issue if they were so motivated. Mz7 (talk) 23:56, 1 September 2018 (UTC)

Meaning of negative byte count on diff of oldest page edit?

What is the meaning of a negative byte count in the "diff" of the oldest edit of a page? Example: go to White supremacy, History, and click "oldest edit"; I see edit version 332270761 of 01:21, July 1, 2001‎ listed as "(436 bytes) (-12,385)": here. Mathglot (talk) 02:18, 2 September 2018 (UTC)‎

It means that I imported some edits from the Nostalgia Wikipedia to the article. This doesn't happen with imported edits anymore, but I can't find the Phabricator task about it. Graham87 02:54, 2 September 2018 (UTC)

Question for non en wiki

In this module, line 1352, is there some way to change date.getUTCMonthName and date.getUTCFullYear to local numerical and month names? For example September 2 should be ٢ی ئەیلوول in that wiki, the day coming before the month. Thanks in advance.--▸ ‎épine talk 16:03, 2 September 2018 (UTC)

RfC: Creating abusefilter-manager global group

There's an RfC in meta about creating a new abusefilter-manager group. People are invited to participate in the discussion there. Thanks, Kaartic correct me, if i'm wrong 18:21, 2 September 2018 (UTC)

Lint error in Bot2

{{Bot2}} is causing Lint errors:Bogus file options. Please discuss at Template talk:Bot2#Lint error. —Anomalocaris (talk) 01:02, 3 September 2018 (UTC)

Request to set up auto archiving WP:RMT page

Currently editors are simply deleting content from WP:RMT instead of marking as done and archive by bot. This is not normal. Pages like WP:RFPP and WP:PERM etc are archived for historical purposes. We have a consensus in support to do it here at Wikipedia_talk:Requested_moves#Proposal_to_start_auto_archiving_WP:RMT_page. So requesting someone to help set up the archive similar to WP:RFPP. --DBigXray 09:43, 3 September 2018 (UTC)

On hold Please put this on hold for now, there has been some oppose from folks recently. --DBigXray 16:23, 3 September 2018 (UTC)

Tech News: 2018-36

16:47, 3 September 2018 (UTC)

Parser function / module to format number

Is there a parser function or module to call to pad a number like 12 or 9 to 012 or 009 respectively? For use in a template. Shyamal (talk) 10:07, 4 September 2018 (UTC)

Thanks a ton. Shyamal (talk) 10:28, 4 September 2018 (UTC)

WP:INTADMIN

Hi everyone. I'm just sending an FYI to let you know (per the requirements listed) that I've requested temporary interface administrator rights. You're welcome to comment, support, oppose, hate, etc my request by clicking here. ~Oshwah~(talk) (contribs) 23:13, 30 August 2018 (UTC)

Piggybacking on Oshwah's request, I have also filed one directly below his. Input is requested. :-)—CYBERPOWER (Chat) 23:46, 30 August 2018 (UTC)
Piggyback #2 here. Please follow this anchored link to my request if you're interested in commenting. Deryck C. 10:02, 31 August 2018 (UTC)
Piggyback #3 here. Please follow this link to my request.   --Dirk Beetstra T C 15:34, 3 September 2018 (UTC)
Please see an additional request from Ragesoss at Wikipedia_talk:Interface_administrators#IAdmin_temporary_access_request_for_User:Ragesoss. — xaosflux Talk 17:07, 4 September 2018 (UTC)

Multiple [hide] links

The article Palembang Light Rail Transit includes a route map in the infobox. There is a line at the top of it that says System map [hide] and a second [hide] at the bottom. If I click the top one, the map hides properly, and the [show] link can be used to view it again. If I click the bottom one, the map disappears, and there does not appear to be a way to get it back, except by leaving the page and returning to it. Is there any way to disable the bottom [hide] link, or to make it work properly? (I am using the Firefox browser). Bob1960evens (talk) 14:11, 3 September 2018 (UTC)

Bob1960evens: Fixed. Is that OK? –Ammarpad (talk) 20:40, 3 September 2018 (UTC)
Ammarpad: Thanks, that is great. I notice you have put a collapsible=no switch in the map. I'll remember that for next time. Bob1960evens (talk) 17:41, 4 September 2018 (UTC)
Yes, that's because the main infobox has the functionality and likewise the embedded map, which is essentially a template itself. So you just need to disable that one. –Ammarpad (talk) 22:00, 4 September 2018 (UTC)

Gmail "sent mail" goes only through August 30th

When I look at my "sent mail" file in gmail, it shows me what I sent through August 30, and nothing more recent. What's going on? Is there some way to see things I sent more recently? Michael Hardy (talk) 05:00, 4 September 2018 (UTC)

@Michael Hardy: This page is for discussing technical issues with Wikipedia. For discussing issues with gmail, try https://productforums.google.com/forum/#!forum/gmail. --Ahecht (TALK
PAGE
) 15:28, 4 September 2018 (UTC)
This can also be asked at Wikipedia:Reference desk/Computing. –Ammarpad (talk) 20:10, 4 September 2018 (UTC)
@Ahecht: @Ammarpad: I had intended to post this at the "reference desk" and mistakenly put it here instead, so I deleted this section, but somebody restored it. Michael Hardy (talk) 01:02, 5 September 2018 (UTC)

Discussion notice

I have placed an idea at Wikipedia:Village pump (idea lab)/Archive 26#Discussion for feasibility of a two password system which also poses questions of technical feasibility for those that monitor this board. Editors are invited to participate.
 — Berean Hunter (talk) 16:44, 5 September 2018 (UTC)

A couple of POTD contains File:Deleted photo.png

These POTD templates is hosting File:Deleted photo.png

Ps: Please ping me if this gets replied as I'm not watching this page.

--Tyw7 (🗣️ Talk) — If (reply) then (ping me) 23:20, 5 September 2018 (UTC)

@Tyw7: Various users have substituted in the deleted photo pic rather than leaving the red link to the deleted file. In this case I think it is more useful to see the redlink so you can see what the file was called before, and why it was deleted. The reasons for delete seem to be for copyright infringement, where someone in the chain of copying has assumed a wrong license, normally public domain for US government, but the image was not actually made by them. for example commons:Commons:Deletion requests/Files in Category:US Antarctic Program photo library images. The POTC templates are transcluded on the Wikipedia:Picture of the day pages so you are double listing. Graeme Bartlett (talk) 04:07, 6 September 2018 (UTC)

Wikipedia:Articles for deletion/Log/2018 August 31 is in Category:AfD debates (Fiction and the arts)

Somehow the entire deletion log for August 31 is showing up under the Fiction and the Arts category. Ps: Please ping me if this gets replied as I'm not watching this page. --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 23:20, 5 September 2018 (UTC)

It is not there now, but perhaps one of the transcluded AFDs temporarily had that category. Graeme Bartlett (talk) 04:14, 6 September 2018 (UTC)

Broken infobox in Tor (anonymity network)

Hello, could someone have a look at the infobox in Tor (anonymity network) please? It displays raw parameter data like "{LSR| article = Tor | latest_release ➔ Back to article "Tor (anonymity network)" </noinclude>". I am guessing, one of the embedded templates related to release display broke (?), but am not quite sure which one and how. GermanJoe (talk) 09:57, 6 September 2018 (UTC)

Fixed..that took quite a bit of time to track down Galobtter (pingó mió) 10:12, 6 September 2018 (UTC)

Edit links not appearing next to section titles in user page

For some reason the edit links are not appearing next to the section titles in my user page (for example there are no "edit" or "edit source" links next to "Basic information"). I tried fiddling with it to try to solve it to no avail. Help! Thinker78 (talk) 07:12, 6 September 2018 (UTC)

@Thinker78: It's a side-effect of using Portal:Physics/box-header to style your "Progress" box. -- John of Reading (talk) 07:45, 6 September 2018 (UTC)
Fixed. By default, section editing is suppressed in {{Box-header}} and until now, Portal:Physics/box-header which uses that template didn't contain the parameter that allows overriding that. –Ammarpad (talk) 10:49, 6 September 2018 (UTC)

Another category/template problem

Template:User WP Mexico City is populating Category:WikiProject Mexico members instead of Category:WikiProject Mexico participants but seems to do so via some convoluted constructions making it hard to find what to change to fix this. Can anyone amend it correctly? Timrollpickering 11:12, 6 September 2018 (UTC)

I did some testing (see the last couple of diffs of my user page), and I think I know what the issue is. {{uir}} needs to get the parameter |member=participant passed to it. I added it in {{User WP Mexico City/sandbox}}, but {{User in Mexico City}} doesn't pass it on to {{uir}}. Either {{User in Mexico City}} needs to pass it through if it gets it, or it needs to always add it. I'm not sure how to do either of those things without breaking stuff, but someone more knowledgeable in template editing probably does. rchard2scout (talk) 13:08, 6 September 2018 (UTC)

Commons bleed for a non-commons image?

File:Wonder Woman.jpg is showing Commons:File:Wonder Woman.jpg (some non-notable person dressed up in a Wonder Woman Halloween costume), even though there is a (fair use) image of a comic book cover at that name locally. I have tried purging, refreshing, etc. --B (talk) 15:41, 31 August 2018 (UTC)

B, fixed. There was a redirect with the same name on commons. I don't even know the process to delete those, so I nominated it for deletion and removed the redirect. Nihlus 15:47, 31 August 2018 (UTC)
@Nihlus: So Wikipedia can't handle Commons having a redirect at the same name of one of our images? That seems like a pretty annoying bug. --B (talk) 16:51, 31 August 2018 (UTC)
@B and Nihlus: I just deleted it for you Ronhjones  (Talk) 23:34, 6 September 2018 (UTC)

Big uh-oh with uw-unsourced1

So I left a warning for a user here via Twinkle which identified me as DPL bot. I tested here on Bradv's talk and it seems to have identified me as Bradv. I suspect this is just taking the last username of the last person to sign an edit on a talk page but I can see no changes to the warning template itself. So...help? CHRISSYMAD ❯❯❯¯\_(ツ)_/¯ 15:36, 6 September 2018 (UTC)

Yup, it's definitely taking the last username from the last same comment. See Bradv's test here. CHRISSYMAD ❯❯❯¯\_(ツ)_/¯ 15:42, 6 September 2018 (UTC)
The template uses REVISIONUSER - I guess it's picking up the previous revision instead of the new one somehow? --SarekOfVulcan (talk) 15:43, 6 September 2018 (UTC)
(edit conflict) And I left a reciprocal warning for Chrissymad here and it identified me as the last person to edit her page. Is there a problem with {{subst:REVISIONUSER}}? Bradv 15:43, 6 September 2018 (UTC)
SarekOfVulcan I'm not great with templates but I don't see any changes that are immediately obvious that would be messing this up. Seems like a kind of big issue...CHRISSYMAD ❯❯❯¯\_(ツ)_/¯ 15:44, 6 September 2018 (UTC)
(edit conflict × 3)It's related to phab:T203583 according to the discussion on Wikipedia talk:Twinkle#mis-attribution stwalkerster (talk) 15:44, 6 September 2018 (UTC)
(edit conflict)Everyone, see phab:T203583. Looks like it just got deployed to enwiki (thursday..) since at every fora this is being raised at the same time. I removed that subst:revisionuser from {{uw-vandalism1}} and am working on removing from other templates.. Galobtter (pingó mió) 15:46, 6 September 2018 (UTC)
Ok, I've removed uses of subst:REVISIONUSER from all templates listed at Wikipedia:Template_messages/User_talk_namespace/Multi-level_templates, until the issue is resolved.. Galobtter (pingó mió) 16:18, 6 September 2018 (UTC)
(@Galobtter: WP:ITSTHURSDAY. --Izno (talk) 20:24, 6 September 2018 (UTC))
  • Just a note, this has been fixed. –Ammarpad (talk) 07:04, 7 September 2018 (UTC)

Panorama shots

I took a pano shot using an iPhone and uploaded the image to Facebook. Much to my surprise, FB has an auto feature that allows panning the pano, and you can do so using a mouse, touch, or tilting your iPhone or iPad while viewing. What are the chances of getting such a feature on WP? Atsme📞📧 04:43, 7 September 2018 (UTC)

Atsme, It reached 11th in last years community wishlist, so I'd say try again this year and it might have a shot. —TheDJ (talkcontribs) 07:49, 7 September 2018 (UTC)

Template changes do not take effect

Hello.

I just change a template, fixing two redirects: here.

But when I view the template, nothing appears to have changed. When I hover the mouse pointer over the links, they still show, and lead to, the redirects. The history shows the changes, but still no effect.

When I check "What links here" to the articles to which the redirects lead, it also show no changes; articles linked in the template still link to the redirect instead of the "real" article.

I tried clearing the cache by purging, but nothing happened.

What's wrong? Is there something wrong with my eyes?

HandsomeFella (talk) 09:06, 7 September 2018 (UTC)

HandsomeFella, fixed - there are multiple versions of the navbox, one when |expand=yes, one when it is set to no, one when it isn't set at all - and you only changed one Galobtter (pingó mió) 09:13, 7 September 2018 (UTC)
Ok, thanks. There was something wrong with my eyes after all. ;-) HandsomeFella (talk) 09:21, 7 September 2018 (UTC)
The template had a very poor system where a huge part of the code had to be duplicated but wasn't always. I have changed it to avoid the duplication.[30] PrimeHunter (talk) 09:55, 7 September 2018 (UTC)

accessdate v. access-date

It seems that templates like {{cite news}} no longer support the accessdate parameter. Instead of changing the parameter to the new one there is a genius bot GreenC bot running around removing accessdate content.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 04:40, 6 September 2018 (UTC)

@TonyTheTiger: No, it's still supported. The bot is only removing it from pages in this category because it's not needed there. –Ammarpad (talk) 05:58, 6 September 2018 (UTC)
Sorry about the misunderstanding.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 12:24, 7 September 2018 (UTC)

Page patrolling

When I would click the "mark this page as patrolled" link on new pages, I would get the message "<pagename> has been marked as patrolled". Now it get the message "This change to <pagename> has been marked as patrolled". Is this to mean that every change to new articles has to be patrolled? L293D ( • ) 13:44, 7 September 2018 (UTC)

@L293D: it looks like you are getting MediaWiki:Markedaspatrollednotify , we only "patrol" for "new pages" - not for each version (but other projects may) we could tweak that message a little, feel free to leave an edit request with proposed new text on its talk page. — xaosflux Talk 14:08, 7 September 2018 (UTC)
@Xaosflux: I was going to see if someone changed MediaWiki:Markedaspatrollednotify, but it apparently has no history. Is this normal? L293D ( • ) 14:12, 7 September 2018 (UTC)
It is using "mediawiki default" so the change would be in the codebases, not here on a project - I think it may be related to work on phab:T10697. — xaosflux Talk 14:19, 7 September 2018 (UTC)
Keep in mind we (enwiki) don't really use "patrol" we use "page triage" - but the interfaces share many components. — xaosflux Talk 14:21, 7 September 2018 (UTC)

No edit conflict message

See [31], User_talk:Pkbwcgs#Why_did_I_delete_all_the_other_nominations?, and User_talk:Evad37/XFDcloser.js#Silent_edit_conflict?. I opened Wikipedia:Redirects for discussion/Log/2018 September 4 for editing, during which time two edits were made by XFDcloser, then when I saved, the edits by XFDcloser were overwritten by my edit, but no edit conflict message came up. SilkTork (talk) 14:11, 6 September 2018 (UTC)

@SilkTork: Judging by your edit summary, you edited the whole page instead of just the "September 4" section. --Redrose64 🌹 (talk) 19:34, 6 September 2018 (UTC)
My edit summary indicates I edited in the same manner as others on that page, including Galobtter who used XFDcloser, and whose edits my edit removed. While I do not have a 100% recall of the incident, I do remember following the instructions (Wikipedia:Redirects_for_discussion#How_to_list_a_redirect_for_discussion} and clicking on the link offered, because I am not familiar with listing redirects for discussion. I do recall that the link delivered me to the appropriate section, and that at the time I started editing I was below the subtitle September 4, and above the 4-digit redirects entry. SilkTork (talk) 23:43, 6 September 2018 (UTC)
See below: "#Small typo fix altered other paragraphs". An edit-merge formerly would combine edits when separated by another line. However, an edit by wp:VE visual editor would overwrite all intermediate edits since the VE session began. Perhaps run "Show changes" before saving a tedious edit, just in case the longer edit might not merge with nearby changes. -Wikid77 (talk) 23:15, 6 September 2018 (UTC)
In this instance I do recall that I used Show preview, because I recall that when I looked at my edit, there was an error of a missing "}} ~~~~" that I had presumably deleted after copying and pasting {{subst:rfd2|redirect=RedirectName|target=TargetArticle|text=The action you would like to occur (deletion, re-targeting, etc.) and the rationale for that action.}} ~~~~ from the instruction page, and then deleting the existing text section ("The action you would like...") in order to write my own text. I do not recall if Galobtter's XFDcloser edits where then present. SilkTork (talk) 23:43, 6 September 2018 (UTC)
The visual editor does not overwrite intermediate changes. If it did, then I wouldn't have had to manually resolve a complicated edit conflict yesterday. Whatamidoing (WMF) (talk) 17:47, 7 September 2018 (UTC)

Headers within tables fail on mobile

OK, I understand that placing section headings within tables is discouraged by some style guides, nevertheless it is a useful practice that exists at numerous articles. Examples: 2018 in spaceflight or List of Falcon 9 and Falcon Heavy launches. Our mobile browser (at least the iOS version) can't make sense of these tables, probably because it has a strict interpretation of what a section or subsection is. Could some kind soul point me to the appropriate people willing to discuss the issue and possibly craft a ticket to the relevant developer group? — JFG talk 23:43, 2 September 2018 (UTC)

You can fix the problem here simply by ending the table before each section. I'd advise that regardless, since there's not really a reason to have a contiguous table in these cases. The tables are being used as presentation tables rather than as data tables, so you can't sort them, which is the only reason you might want to keep the tables like this. --Izno (talk) 00:19, 3 September 2018 (UTC)
Please don't confuse the term heading with header. Headings are the lines of text that go at the top of pages, sections and subsections - in HTML these are constructed using <h1>...</h1> through <h6>...</h6>. Headers are the first row or column of a table - in HTML these are constructed using <th>...</th>.

This is a heading

This is a header
followed by some data
Header may also refer to boxes shown below headings, such as the box at the top of this page that contains the text "The technical section of the village pump is used to discuss ...". --Redrose64 🌹 (talk) 08:08, 3 September 2018 (UTC)
Thanks for the report JFG. And to the rest for the clarification. I filed a task for this one. I do agree that breaking up the tables per section would be a best practice, but I hope the engineers can take a look at this for us and ponder. CKoerner (WMF) (talk) 18:45, 7 September 2018 (UTC)

A little clean-up on the lede at Special:Tags

The lede there currently reads:

This page lists the tags that the software may mark an edit or logged action with, and their meaning. See Wikipedia:Tags. Administrators are able to perform different actions in respect to tags, including deleting some of them; please refer to the section on tag management in the documentation for indications.

Bringing over text from Wikipedia:Tags and inserting links:

This page lists tags automatically placed by the MediaWiki software to mark certain edits (or logged actions), together with their meaning. Administrators are able to perform different actions with respect to tags, including deleting some of them; please refer to the section on tag management in the documentation for indications.

Thoughts? Humanengr (talk) 14:42, 8 September 2018 (UTC)

Article with Class= completed, stuck in Unassessed category

Greetings, Article Talk:John Savage (soldier) has correct class=start. It remains in Category:Unassessed biography (military) articles. I have done "Purge" to both article & category. Added WP MIL HIST, added bannershell. Have now run out of ideas of how to fix, so I'm asking for help here. Regards, JoeHebda • (talk) 17:15, 8 September 2018 (UTC)

Solved - there was "Unassessed" category coded at bottom of article, which I removed. Cheers! JoeHebda • (talk) 17:35, 8 September 2018 (UTC)

Number of Page Watchers

Page/History on any article or user page, generally will have an option about the number of watchers it has. That one feature has a tendency to come and go, and I've never figured out why. Firefox or Chrome, any skin, same thing. For instance, right now, it's missing. And, yet, it's working on Wikisource and Commons. Why does it keep appearing and disappearing on English Wikipedia? — Maile (talk) 16:58, 8 September 2018 (UTC)

I was coming here to ask the same question. As Maile points out, it's missing from the list of "external tools" at the top of the page. Anyone know what gives - or who maintains it? --MelanieN (talk) 17:58, 8 September 2018 (UTC)
@MelanieN: see below, and note it's not really an "external tool" at all. — xaosflux Talk 18:47, 8 September 2018 (UTC)
Each wiki can choose to add links in MediaWiki:Histlegend. There are no links by default. The message was edited yesterday [32] after a discussion on the talk page. The "Number of watchers" link was removed. It went to the same page as "Page information" under "Tools" in the left pane. This link is both on wiki, history and edit pages, and it has much other information than watchers. It's an internal page made automatically by MediaWiki so it was both misleading to list it under "External tools" and to only label it "Number of watchers", although it did use an anchor to highlight that field like Example. PrimeHunter (talk) 18:19, 8 September 2018 (UTC)
PrimeHunter Thank you for the quick reply, but it looks like only English Wikipedia had it taken away (as far as we know). That page provides a lot of useful information besides the number of watchers. So, a handful of whoever gets to decide whether or not we get that option. Geez Louize. Seems to me things like this should be universal and not subject to the whims of a few. — Maile (talk) 18:28, 8 September 2018 (UTC)
@Maile66: the default for "external tools" there is nothing - for example the history views on : ptwiki, dewiki, eswiki. The "number of watchers" is included in the "Page information" link on the sidebar of every page (for example, the link on the left column of this very page) that is available in every view, including history view. If you want to discuss putting it back on MediaWiki:Histlegend (which only impacts the English Wikipedia) please drop a note and edit request at MediaWiki talk:Histlegend. — xaosflux Talk 18:45, 8 September 2018 (UTC)
Thank you. — Maile (talk) 18:47, 8 September 2018 (UTC)
(edit conflict) As I said, the page is already linked in the left pane with the more informative name "Page information", also when you view or edit the wiki page. The English Wikipedia decided to stop duplicating the link with another name at the top of history pages. Most wikis make fewer customized MediaWiki messages like MediaWiki:Histlegend than us and the link isn't in page histories by default (except in the left pane as always) so I guess most wikis have never shown the link at top of page histories. You can suggest to restore the duplication at MediaWiki talk:Histlegend. PrimeHunter (talk) 18:48, 8 September 2018 (UTC)
PrimeHunter Thank you for helping us understand all this. — Maile (talk) 18:54, 8 September 2018 (UTC)
Thank you both. Glad to see it is still available. --MelanieN (talk) 19:51, 8 September 2018 (UTC)

script

Are any of you aware of a script that can automatically update all uses of a file after renaming the file? A similar script exist on commons for filemovers & admins but that doesn't work on wiki. আফতাবুজ্জামান (talk) 19:43, 7 September 2018 (UTC)

@আফতাবুজ্জামান: scripts are normally easy to port over, do you know where the script is? — xaosflux Talk 02:01, 8 September 2018 (UTC)
Could be one of the abilities of Commons delinker - see c:User:CommonsDelinker/commands. Nthep (talk) 13:19, 8 September 2018 (UTC)
@Xaosflux: here (Move & Replace function). --আফতাবুজ্জামান (talk) 15:35, 8 September 2018 (UTC)
@Perhelion: are you the maintainer for that gadget on commons? — xaosflux Talk 01:14, 9 September 2018 (UTC)

Template problem

Please click [this] link. In that, how can I make "the civil war" in the next line? I mean the heading of that section?Adithyak1997 (talk) 03:12, 4 September 2018 (UTC)

Is this what you wanted to do, Adithyak1997. Next time try to find a place to ask over at ml.wikipedia, as this message board is only for en.wikipedia. – Finnusertop (talkcontribs) 06:47, 4 September 2018 (UTC)
@Finnusertop and Adithyak1997: this technical village pump is not only for English Wikipedia, it is for all Wikipedias and by extension all WMF projects. The pool of the editors who can readily provide such technical help largely are based here and I am not aware of a rule that forbid people from smaller projects to seek technical help here. –Ammarpad (talk) 20:18, 4 September 2018 (UTC)
@Ammarpad: I disagree, this page in general is for the English Wikipedia. If you have a question about stuff on a different site, your best place to ask is at an equivalent on that site since people there are more likely to know that site's templates and other customizations. This page certainly isn't for general help with wikitext on any site anywhere. That said, questions about how to do make something work elsewhere that work here aren't necessarily out of place here.

You're right that there's no rule against asking such questions here, but such questions are less likely to get much attention and I'd expect a backlash (possibly including the creation of such a rule) if there were a massive influx of such questions. Anomie 17:03, 8 September 2018 (UTC)

@Anomie: It's good you acknowledge currently there's no rule against that kind of questions/requests, so the status quo reigns until when the community decides otherwise. Your use of the word "site" creates ambiguity, because it could mean all the 1.9b+ sites in the world, and I didn't mean that. Intentionally, in that stead I used "Wikipedias" and "WMF projects." These WMF wikis have been and will always be dependent on English Wikipedia for many things and don't have any complex templates or intricate customizations that are beyond the knowledge of people who frequent this page (incidentally, including You).
In addition, a large number of them still use directly copy-pasted templates and codes from here English Wikipedia. In fact, if the template's problem cannot be fixed or identified here on enwiki I doubt if there's any other place in all WMF wikis where it'll be fixed. A quick search of the archives showed several requests of users from smaller WMF wikis and most of them were happily answered. I don't find deluge of meaningless questions or disruption in all the 22 sample requests that I examined dating back to 2008. So actually, I find it more undesirable to scare away editors requesting harmless technical help from smaller WMF wikis than the act of requesting the help itself. –Ammarpad (talk) 18:22, 8 September 2018 (UTC)
Since this was an issue started from my side, I would like to say something. I am a wikipedia user who have started my account in 2016. I am trying to be active in my mother tongue malayalam as well as in English also. I don't have much interest in creating articles instead I am interested in removing backlog. In malayalam wikipedia, a total of 19 admins are present out of which only 9 are active. There is only 1 person(I guess) who used to deal with templates. But he is currently inactive. In such a case, I have started creating modules and templates. He as well as I have been importing modules as well as templates from english wikipedia only and doesn't know coding yet. In such a case, how do you think can our wikipedia move further without any edit in the backlog section and also without the help of this wikipedia?Adithyak1997 (talk) 05:07, 9 September 2018 (UTC)

Thumb attribute

I would like to know the usage of attribute thumb in case of images. Is it supported now-a-days in wikipedia?Adithyak1997 (talk) 05:11, 9 September 2018 (UTC)

@Adithyak1997: It's used for most thumbnail images. See Wikipedia:Extended image syntax for complete documentation. ―Mandruss  06:02, 9 September 2018 (UTC)

Editnotices in 2017 wikitext editor and VisualEditor

In 2017 wikitext editor and VisualEditor, editnotices are displayed rather like pop-ups - they are shown and hidden using a toggle icon at the top of the edit-window. In the older wikitext editor, they were displayed above the edit-window, and IMO that's how they should be shown.

These pop-up-style editnotices are really annoying, as they open automatically when the editing interface loads, and need to closed the way you close an ad. Also, on pages with lots of editnotices, the lower ones are hidden and you need to scroll down within the element to see them.

Some confusing editnotices cause new editors to freak off [33] due to the way they apppear - like warnings on doing something wrong.

The old way of showing editnotices was hence much better. Is there any software update planned that will fix this issue? SD0001 (talk) 11:20, 7 September 2018 (UTC)

Confusing edit notices are tangential to your other comments here.
As for where edit notices show up, previews also require a much different workflow for WTE2017, which is frustrating to me. Page-related logs will also show up in that flyout, which is also crap, but it's better than what it was before (which was not at all). OTOH, if it requires you to close it, maybe it is a good thing--that way people are acknowledging that they have seen what is in the flyout (whether they understand the consequences of that action). That's a good thing, IMO, rather than the banner blindness which affects many still with the old editors. (Clicking through something without reading it is of course its own issue....) --Izno (talk) 13:19, 7 September 2018 (UTC)
Esc closes the box with edit notices, and Ctrl+⌥ Option+p (using your web browser's meta keys) opens the preview in the 2017WTE. Whatamidoing (WMF) (talk) 17:51, 7 September 2018 (UTC)
@Izno: I just discovered that clicking anywhere on the edit window dismisses the editnotice, you don't have to click on the close button. So that makes your point about getting people to acknowledge the notice moot. "Confusing edit notices are tangential to your other comments here." - huh? I was saying that confusing editnotices are less likely to be perceived by new editors as warnings if they show up above edit-window rather than as pop-ups. SD0001 (talk) 11:46, 9 September 2018 (UTC)

Do you have small tasks for new contributors? It's Google Code-in time again

Hi everybody! Google Code-in (GCI) will soon take place again - a seven week long contest for 13-17 year old students to contribute to free software projects. Tasks should take an experienced contributed about two-three hours and can be of the categories Code, Documentation/Training, Outreach/Research, Quality Assurance, and User Interface/Design. Do you have an idea for a task and could you imagine mentoring that task? For example, do you have something on mind that needs documentation, research, some gadget or template issues on your "To do" list but you never had the time, and can imagine enjoying mentoring such a task to help a new contributor? If yes, please check out mw:Google Code-in/2018 and become a mentor! Thanks in advance! --AKlapper (WMF) (talk) 13:51, 9 September 2018 (UTC)

Special:Log

I expect this has already been mentioned, but I don't see where: There seems to be a problem with Special:Log, where the "From date (and earlier):" field is pre-filled with "0000-00-00". When I attempt any search, that spontaneously changes to "-0001-11-30", and thus inevitably yields no result. Is this affecting just me? Does this search yield any result for other users? Justlettersandnumbers (talk) 10:38, 7 September 2018 (UTC)

I see it too. Created a bug report. —TheDJ (talkcontribs) 11:17, 7 September 2018 (UTC)
I have already reported this at T201125, so T203782 has been merged as a duplicate. GeoffreyT2000 (talk) 01:34, 8 September 2018 (UTC)

Seems like an easy fix, both from server or user side. For developers, it is trivial enough to convert it to new date widget used in special:contributions (e.g. phabricator.wikimedia.org/T117737). Users can easily clear that initial text using js $("#mw-input-wpdate").val("");. Generally speaking though, it seems more like it is related to a browser issue. Internet explorer <=11 doesn't support the html5 date input, nor do older versions of safari or firefox. So the server shouldn't be setting the default date as 0000 ... 13:59, 9 September 2018 (UTC) — Preceding unsigned comment added by 197.235.95.127 (talk)

Small typo fix altered other paragraphs

Beware: A glitch-edit, which altered several paragraphs when changing cite "date=" to "author=", has been reverted now in page "Lawyer Milloy" (former U.S. football player), but here is the large diff: [34]. I had no idea all that text was being altered when I replaced cite "|date=" as "|author= Shipnuck, Alan" in revision 858386469 diff.

The page has been fixed now, so this is just a log of a bizarre glitch-edit when changing 1 word on a page, as if edit-merge overwrote the entire page, not just the one line I had changed. I think all recent revisions were made via mobile phones (in "desktop" view?). -Wikid77 (talk) 22:11, 6 September 2018 (UTC)

@Wikid77: You edited an old version, I suspect that you were on this version at the time that you clicked the "Edit" tab at the top, since this diff matches what you describe as your intent. The edit summary that you used has no section name in grey, which indicates that you edited the whole page and not a single section. --Redrose64 🌹 (talk) 10:52, 7 September 2018 (UTC)
Thanks. I maybe got a warning "lost session data" and when I did "Show preview" then perhaps edit-merge applied my entire edit-buffer against the latest revision, rather than merge changes relative to revision I had originally edited. Thanks for finding the old prior revision, and next time I see the warning ("lost session data"), I will consider "Show changes" for re-editing my update into the latest revision. -Wikid77 (talk) 21:12, 9 September 2018 (UTC)

Ordered description lists

I'd sometimes like to make a description list with numbers before each item (eg. at Future proof#Principles of future-proofing). This is possible with some simple css:

dl {counter-reset: item1; }
dt:before {
counter-increment: item1; content:
counter(item1) ". ";

However, I don't see a way to add page-specific CSS to an article in Help:Cascading Style Sheets, and I can't use the |style= attribute for the before pseudo-class. I'm looking for feedback from others on the best way to pursue implementing this:

  1. There is some way to add page-specific CSS to an article that I don't know about. (Wikipedia doesn't use mw:Extension:CSS, and {{
  2. tag}} won't evade the fact that <style>...</style> tags aren't allowed.)
  3. Add a new ordered-dl class with this formatting to MediaWiki:Common.css.
  4. Write a Lua module to wrap the definition list wiki markup, parse it, and add the appropriate numbers via CSS or directly in the HTML.
  5. An ordered description list is a bad idea and I shouldn't be doing this.

Thoughts? Daask (talk) 22:17, 9 September 2018 (UTC)

Wikipedia:TemplateStyles. --Redrose64 🌹 (talk) 22:48, 9 September 2018 (UTC)
I don't quite fall into category 4, but I'm close to it: I don't see a reason for numbering here. It's not important for us to capture them as separate numbered concepts. Were it important, I would just mark each line item up as a normal ordered list, like so: "# First thing of interest: Explanation of concept." As for specific answers to each question:
  1. There is WP:TemplateStyles, but I am not entirely sure this application is a good one for TemplateStyles, given what I suspect is a rare case (and which can be rewritten with the above in mind).
  2. Probably not happening, mostly because we have TemplateStyles now. ;)
  3. Could do this, but that seems like a lot of pain. And you'd want to do it in TemplateStyles anyway.
  4. Yeah, pretty much this.
--Izno (talk) 22:49, 9 September 2018 (UTC)

Separate block of text, outside the flow of an article

Moved to Wikipedia:Help desk § Separate block of text, outside the flow of an article: How-to question. ―Mandruss  08:47, 10 September 2018 (UTC)

Tech News: 2018-37

22:35, 10 September 2018 (UTC)

Very long infoboxes and mobile version - spoilers always expanded

I was looking at Galápagos tortoise with my phone. In the desktop version it looks fine but with the phone all the species and subspecies synonyms are expanded with no option to collapse them; the infobox is shown strictly before the main text (apart from the first paragraph) so you have to scroll past that to get to the main text. Information that hardly anyone will care about takes up 24 screens (counted on my phone). Is there a better solution for this? It was discussed on the talk page a while ago without conclusion. It could affect other articles as well. If there is no better way we could put the synonyms into the main article text then mobile users can hide it. --168.105.249.124 (talk) 03:49, 11 September 2018 (UTC)

I think the WMF engineers are working on making collapsibility work on mobile right now. That aside, this is a case where it might be a good idea to add a section for the synonmyns and for the infobox to link to the section, instead of having 50-100 some odd list items all in the infobox (which look quite silly in desktop too!). --Izno (talk) 03:56, 11 September 2018 (UTC)

Smart way to determine if looking at an IP range?

Do we have a good way of determining if you're looking at the contributions for an IP range? Best I've got is splitting wgTitle on /, then checking array[1] with mw.util.isIPAddress and array[2] as being between 16-32 (ipv4) or 32-128 (ipv6). ~ Amory (utc) 15:57, 9 September 2018 (UTC)

  • @Amorymeltzer: I'd avoid wgTitle entirely, at least. I'd use wgCanonicalSpecialPageName to test being on a contributions page (the property is null on non-special pages, and "Contributions" regardless of language on contribs pages) and wgRelevantUserName (with mw.util.isIPAddress() as you've already identified) to check against being an IP. {{Nihiltres |talk |edits}} 22:55, 10 September 2018 (UTC)
    • Sorry, I should have been clearer — I meant a block of addresses, like 192.168.0.0/24. wgRelevantUserName isn't defined for a range, on Special:Contributions or elsewhere, and AFAICT wgTitle is the only bit on the page that has that information. ~ Amory (utc) 23:46, 10 September 2018 (UTC)
      • My mistake. In that case, your approach seems fine, though I'd question if checking array[2] is necessary; forward slashes are technically prohibited in usernames and an invalid range makes the page return a descriptive error message on its own. One more suggestion: we might add a clear identifier to MediaWiki:Sp-contributions-footer-anon-range, making things simpler from MediaWiki's end. {{Nihiltres |talk |edits}} 04:40, 11 September 2018 (UTC)

Text of tabs in MonoBook skin

If I view a talk page in MonoBook skin, and append ?uselang=qqx to the URL in order to view the interface message names, the tabs at the top of the page are shown as follows:

(nstab-main)(nstab-talk)(monobook-view-edit)(monobook-action-addsection)(monobook-view-history)(monobook-action-delete)(monobook-action-move)(monobook-action-protect)

This to me indicates that the messages should be found at:

but all of these, except the first, are redlinks. Where do the messages really come from? In particular, the fourth one. I should be able to write "{{int:monobook-action-addsection}}" in order to emit "new section", but instead I get "⧼monobook-action-addsection⧽". --Redrose64 🌹 (talk) 19:12, 4 September 2018 (UTC)

The "nstab" ones are special, (see phab:T153867) and can use the associated MediaWiki:Main and MediaWiki:Talk messages; the others are even more special - they are in core and also appear linked to i18n, but they can be overwritten with local messages. See that first phab link for why int doesn't work here. — xaosflux Talk 19:43, 4 September 2018 (UTC)
In some cases there are multiple messages that can be used, starting with more-specific messages and falling back to more general messages if the specific message doesn't exist. The skin elements you've mentioned here work that way: the talk tab specifies MediaWiki:talk as a fallback after the namespace-specific message (MediaWiki:nstab-talk, MediaWiki:nstab-project_talk, etc.), the view history tab specifies the generic MediaWiki:history_short as a fallback for MediaWiki:monobook-view-history, and so on.

I don't know of any way to determine these fallback chains besides finding the PHP code that generates the element. The fallback chains aren't a property of the messages themselves, which is why the int: magic word can't fall back. Since the qqx language "defines" all messages, it shows only the first message in the chain. Anomie 17:17, 8 September 2018 (UTC)

The problem that I'm trying to address here is one where I'm advising various users (there have been several) on how to use discussion pages. These users all have a common factor: they are starting new discussions on talk pages in a manner that is not advised by WP:TPG. They add their new posting either (i) at the very top, above the banners; (ii) below the banners but before the first section; (iii) in some random existing discussion part-way down the page (not necessarily at the bottom of that discussion); (iv) at the bottom of the page but without adding a new heading so that the new post appears to be part of an unrelated thread. What I want to do is describe the tab that they should be using to start a new discussion, unfortunately these users could have any skin selected (out of five or six), and any language set (out of well over 100). The language problem is normally sorted by using {{int:messagename}} but I know of no way for customising for skin. A few years ago (for a few years from mid-2010 on), we could assume that all newbies were using Vector; but with mobile devices on the increase. this is no longer the case. Not all are newbies: indeed, there are also a few long-standing admins (one I could name, but won't, has been an admin for longer than I've been registered, which is nine years) who start new threads by adding to the last existing section (I can tell by the grey part of the edit summary). Accordingly, I want to suggest the internationalised form for two or three of the more common skins - Vector, Monobook, MinervaNeue. So, I find the message names for a given skin by appending ?uselang=qqx&useskin=monobook (or whichever skin I wish to inspect) to the URL. --Redrose64 🌹 (talk) 20:23, 8 September 2018 (UTC)
I think it's safe to omit MonoBook, as it is used by very few new editors. If you don't mind handling it manually, you can see from the tags on their contributions if they're using the Mobile Web site. Whatamidoing (WMF) (talk) 20:07, 11 September 2018 (UTC)

template:better source not quoting arguments correctly in rendered HTML?

Take a look at Wormholes_in_fiction. I've got this template:

{{Better source|reason=The An Unauthorized Adventure source only mentions "wormhole" in the Glossary.  It's not clear if the supplied quote about transporting mass is intended to refer to the real world, or is an in-universe comment.|date=September 2018}}

In the In literature section, under His Dark Materials. This was entered using the visual editor. The rendered HTML is:

<span title=""The" about="">better source needed</span>

which results in a tooltip of "The when you mouse over it. Somebody's not handling the quotes properly. -- RoySmith (talk) 22:40, 10 September 2018 (UTC)

  • It looks like the problem should be in {{delink}}, which the parent metatemplate {{fix}} uses to sanitize tooltip text, but a quick test doesn't show that template messing things up on its own. I have a suspicion that this is caused by automatic HTML cleanup; that would suggest that a solution would be to migrate {{fix}} to Lua. Scribunto's HTML construction functions are basically always more reliable than writing conditional HTML properties in wikitext. {{Nihiltres |talk |edits}} 23:17, 10 September 2018 (UTC)
  • Never mind; it's the obvious case of quote marks just not being escaped:
    <span title="{{delink|Foo bar baz}}">Example with no quotes</span>
    Example with no quotes
    <span title="{{delink|Foo "bar" baz}}">Example with quotes</span>
    Example with quotes
    <span title="{{delink|Foo &#34;bar&#34; baz}}">Example with &amp;#34;</span>
    Example with &#34;
    <span title="{{delink|{{replace|Foo "bar" baz|"|&#34;}}}}">Example with {{tl|replace}}</span>
    Example with {{replace}}

As you can see, we could get around the problem by wrapping the title text in {{replace|string|"|&#34;}} {{Nihiltres |talk |edits}} 15:10, 11 September 2018 (UTC)

Use single quotes. Much easier. {{Better source|reason=The An Unauthorized Adventure source only mentions 'wormhole' in the Glossary. It's not clear if the supplied quote about transporting mass is intended to refer to the real world, or is an in-universe comment.|date=September 2018}}[better source needed] for which the HTML is
<sup class="noprint Inline-Template noprint noexcerpt Template-Fact" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:NOTRS" class="mw-redirect" title="Wikipedia:NOTRS"><span title="The An Unauthorized Adventure source only mentions 'wormhole' in the Glossary. It's not clear if the supplied quote about transporting mass is intended to refer to the real world, or is an in-universe comment. (September 2018)">better&nbsp;source&nbsp;needed</span></a></i>]</sup>
The simple expln is that the |reason= parameter is putr into a title="..." attribute, with delimiting double quotes - hence the enclosed string cannot contain double quotes. Basic rule of HTML. --Redrose64 🌹 (talk) 18:29, 11 September 2018 (UTC)
Doing a string replace of (normal) quotation marks with single quote marks instead of &#34; sounds like it would work, and it's pretty elegant. Will it cause any unexpected side effects like the WP renderer attempting to insert italics if someone uses two quotation marks in a row? Humans screw up in so many creative ways. – Jonesey95 (talk) 19:00, 11 September 2018 (UTC)
You cannot have italics (or markup of any kind, including styling) in a title= attribute. It's a plain text string which is not processed by the browser in any way. Some browsers use the attribute to generate a tooltip, but this must not be relied upon. --Redrose64 🌹 (talk) 20:24, 11 September 2018 (UTC)

Cross-page diff?

Is it possible to get a diff between two different pages? As far as I can tell, you can only diff between two revisions of the same page. The only workaround I can see is to copy-paste the two pages into my sandbox as two revisions, then diff those. -- RoySmith (talk) 20:11, 11 September 2018 (UTC)

@RoySmith: That or Duplication Detector, if that's your goal. If not, then your idea's probably the best (unless there's some reason why you wouldn't want to do that). Ian.thomson (talk) 20:14, 11 September 2018 (UTC)
Actually, you can. Just get a regular diff link, and then get the revision ID of the other page and replace the appropriate ID in the URL. For example, https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&diff=859113461&oldid=859113462&diffmode=source — Preceding unsigned comment added by SarekOfVulcan (talkcontribs) 20:16, 11 September 2018 (UTC)
Ah, cool. Thanks! -- RoySmith (talk) 20:23, 11 September 2018 (UTC)
Or one can use Special:ComparePages Galobtter (pingó mió) 20:25, 11 September 2018 (UTC)
This is what I would have suggested. It's how the edit protected template works for template comparison between live and sandbox. --Izno (talk) 21:08, 11 September 2018 (UTC)
Yes, when you make the query string for a diff and you provide the oldid= and diff= parameters, the title= parameter is ignored. This is why a mis-copied URL for a diff (such as where one digit of a parameter is omitted) can produce very odd results - compare this (which is correct) with this (which lacks the final 5). --Redrose64 🌹 (talk) 20:30, 11 September 2018 (UTC)

Template doubt

My doubt is: In this template(called as ഫലകം in malayalam) why does ഫലകം:SHORTDESC appear in red line below the main heading even though the code has been pasted directly from English wikipedia?Adithyak1997 (talk) 03:14, 12 September 2018 (UTC)

The SHORTDESC magic word is not enabled on the Malayalam Wikipedia, only the English Wikipedia. — JJMC89(T·C) 04:04, 12 September 2018 (UTC)
How can it be used in Malayalam wikipedia?I mean the place where it can be done.Adithyak1997 (talk) 08:39, 12 September 2018 (UTC)
@Adithyak1997: That's Phabricator. You've to made a request and if it's approved it'll be enabled. You can read how to made the request here. –Ammarpad (talk) 11:02, 12 September 2018 (UTC)
Will there be any condition that the wikipedia has its permission to use it but I don't have access to it?Adithyak1997 (talk) 11:24, 12 September 2018 (UTC)
I don't understand what you mean. If you need the {{SHORTDESC}} to work on Malayalam Wikipedia, file a request at Phabricator, that's the only place from where it can be enabled. That's it. –Ammarpad (talk) 13:28, 12 September 2018 (UTC)

@Adithyak1997: On wikis other than the English Wikipedia, short descriptions are handled entirely by Wikidata. Earlier this year, there was community consensus on this wiki not to use short descriptions from Wikidata. Jc86035 (talk) 13:59, 12 September 2018 (UTC)

Separate section for categories

Right now for most pages, categories live under a "See also" section, or "References" section. It would be interesting to hear, what people think of possible separation of the categories from last "text" section. This can be now emulated using empty == == (section header) as a section header for the separate section of categories. This way an [edit] link appears with empty <h2>...</h2> tag. —⁠andrybak (talk) 23:35, 10 September 2018 (UTC)

Why? --Izno (talk) 00:12, 11 September 2018 (UTC)
Izno, mainly to be able to easily distinguish (in History tab, Watchlist, etc) the changes to the text section (which just happens to be last=it includes the bottom of the page) and the changes to categories/navboxes/other content at the bottom of the page. —⁠andrybak (talk) 07:15, 11 September 2018 (UTC)
Categories are in none of those places. They are in a clearly-outlined box at the bottom (Vector, Monobook, Modern); shepherded to the upper right (Cologne Blue) or into the sidebar (Timeless); or just hidden outright (MinervaNeue). A heading would be either superfluous or misleading. --Redrose64 🌹 (talk) 18:46, 11 September 2018 (UTC)
Redrose64, thank you for your reply. I'm sorry if my original question is confusing. I mean the editing of categories and navboxes, not viewing them. For manual categorization, i.e. not by a template (gadgets, like HotCat and Cat-a-lot are also a bit relevant in this regard), the categories are gathered (usually) at the bottom of the page, meaning that if you want to edit them in a "edit section" mode (and not "edit whole page" mode), you need to click [edit] link for the last section on the page, which results in an edit summary which is only technically true. —⁠andrybak (talk) 19:10, 11 September 2018 (UTC)
That is not a VPT matter, it is something for Wikipedia talk:Manual of Style/Layout, being the talk page of MOS:LAYOUT. --Redrose64 🌹 (talk) 20:33, 11 September 2018 (UTC)
The reason I'm asking here rather that on Wikipedia talk:Manual of Style/Layout is because I don't want the layout change which I described in my original message. I would like it to be a separate section created through some technical means. Like preamble is always the zeroth section, I would like to have the last section be a separate thing for categories and/or navboxes. —⁠andrybak (talk) 21:23, 11 September 2018 (UTC)
MOS:LAYOUT describes five optional appendices (Works, See also, References, Further reading, External links) and a number of optional footers, only one of which is the list of categories (although stub templates usually emit a category, sometimes two or even three). The categories need not be last: the recommended order has stub templates after the cats, and in the pre-Wikidata era we then followed the stubs with the interlanguage links (some pages still have them, because of inexact correspondence). However some people prefer to put the navboxes after the stubs (see Wikipedia talk:Manual of Style/Layout#Navigation templates to the bottom). How would the MediaWiki software know where to put this automatic heading? --Redrose64 🌹 (talk) 08:22, 12 September 2018 (UTC)
It sounds like User:Andrybak actually wants to have page metadata handled as proper metadata, in which case all of this would be easy: separate tracking in the watchlist, MediaWiki would know exactly where to stick it, etc. Also, a missing colon in a wikitext interwiki link or when linking to a category wouldn't screw up everything. There is more information at mw:Requests for comment/Multi-Content Revisions.
(While I'm thinking about the differences between communities: This is a tech RFC, which is nothing like either a popular vote, or even an English Wikipedia RFC (although it's closer to the English Wikipedia's RFCs than to the German Wikipedia's). Anyone should free to contribute relevant examples of specific things you like/dislike about the current or future systems, or particular technical details, but skip anything that sounds like an overall thumbs-up or thumbs-down. So, for example, someone could say something like "One problem that I'm having with the current system is that category changes are hard to find in the watchlist, and I hope this project could improve that situation" or "I like the fact that right now, I can write an entire article offline, including adding categories, and I hope that this project wouldn't make that impossible". Those are both actionable use cases: for the first, someone might add "make it easier to identify category changes in the watchlist" to the project's list of requirements, and for the second, someone might find a way to let you add categories in the wikitext and then automagically convert them to the correct spot in the proposed database structure. However, "I support this proposal" or "I oppose this proposal", even if followed by a reason, might be ignored or even be irritating. A tech RFC is mostly about building a good solution for identified problems, instead of deciding whether people like it.) Whatamidoing (WMF) (talk) 15:32, 12 September 2018 (UTC)
Re-ping: User:Andrybak. Whatamidoing (WMF) (talk) 15:33, 12 September 2018 (UTC)

Wikipedia:RefToolbar modification

Is it possible to change Wikipedia:RefToolbar so that it can output a {{sfn}} template (or relative) along with the citation template, instead of solely the ref tags? Jo-Jo Eumerus (talk, contributions) 20:09, 6 September 2018 (UTC)

A couple of questions to clarify: do you want sfn as another template in the "Templates" menu, as another entry in the top-level menu (alongside "Error check"), or something else? And when you say along with the citation template, looking at the sfn docs, it doesn't look like sfn goes with another template. I don't use sfn at all, so should the new menu option add something else besides just the sfn template? Enterprisey (talk!) 07:41, 7 September 2018 (UTC)
Currently the output of RefToolbar is basically <ref>{{Citation template|parameters}}</ref> or <ref name="Somename">{{Citation template|parameters}}. I wonder if it's possible to make it do something like {{Citation template|parameters}}</ref>{{sfn|parameters}} instead. Jo-Jo Eumerus (talk, contributions) 14:38, 7 September 2018 (UTC)
That seems like a rather strange usage. Normally (see Shortened footnotes) the {{sfn}} template goes inline, at a position where the <ref>...</ref> pair would have been added, and the long-form {{cite xxx}} template goes in a section near the bottom of the article. They don't go together, although if properly used they do link together. --Redrose64 🌹 (talk) 22:52, 7 September 2018 (UTC)
No, that was just a typo. There was an additional "ref" tag that I didn't remove. Yes, the issue is that as is the RefToolbar has no good function for sfn users. Jo-Jo Eumerus (talk, contributions) 07:16, 8 September 2018 (UTC)
Now you have one unbalanced <ref> and one unbalanced </ref>. But that wasn't my point: the implication of your 14:38, 7 September 2018 (UTC) post is that you want to put the two separate components side-by-side, which is not how they are intended for use. See a recent TFA for an example of the proper usage of {{sfn}} in conjunction with {{cite xxx}} templates. --Redrose64 🌹 (talk) 12:32, 8 September 2018 (UTC)
OK, seems like I did write my post incorrectly. What I wanted to ask for is an output like {{Citation template|parameters}}{{sfn|parameters}}. Jo-Jo Eumerus (talk, contributions) 12:45, 8 September 2018 (UTC)
It won't work. The tool inserts its output at a single place in the edit window, but what you are asking for is the insertion of two templates simultaneously. The problem is that these are intended to be placed at different parts of the article, like this so somehow we would need all the browser vendors to modify their browsers to allow for a second text cursor and thus a second insertion point. --Redrose64 🌹 (talk) 15:58, 8 September 2018 (UTC)
Huh. Generally when I use the ref toolbar I modify the output so that I can make a list, I don't simply insert the output and leave it. Jo-Jo Eumerus (talk, contributions) 20:32, 8 September 2018 (UTC)
Jo-Jo, it is possible that you are not entirely normal (in the best possible sense ;-) ).
More seriously, few "normal" editors use sfn, and few "normal" editors modify the output from any of the citation filling tools (more's the pity). While this would be popular among a small group of editors who work in certain specific subject areas (e.g., history, but not any of the hard sciences), this is IMO not a feature that would be widely used, and if it were easy to enable, then I worry about people accidentally screwing up the ~99% of articles that don't use sfn templates. WhatamIdoing (talk) 20:20, 11 September 2018 (UTC)
@WhatamIdoing: [citation needed] on that claim of "~99% of articles that don't use sfn templates". Are you including unreferenced articles, sub-stubs and pages that are barely above draft level? To gain a fair measure, we should be looking at the better articles. Let's take a quick check of the thirty articles that are on the TFA list for this month. Of these, the following use {{sfn}} to a greater or lesser extent (some use it exclusively):
So that's 14 out of 30, or 46.67%, using {{sfn}} to a non-insignificant level. The other 16 use <ref>...</ref> tags, in some cases to construct Shortened footnotes using {{harvnb}} tags or similar.
An FA "exemplifies our very best work and is distinguished by professional standards of writing, presentation, and sourcing". So it is clear that {{sfn}} is not something to be dismissed. --Redrose64 🌹 (talk) 10:04, 12 September 2018 (UTC)
I don't think it's a good idea to optimize a system that will be used in 100% of pages (NB: not just articles) for the 0.1% of articles (0.01% of pages) that are featured-class, either. WhatamIdoing (talk) 17:45, 12 September 2018 (UTC)

Any problems if acdate is alias of accessdate?

I am thinking to enhance templates to accept "acdate=" where only "accessdate=" was allowed. I understand cite Bots would need to hunt alias "acdate=", but any other tech issues? About 10% of cite errors are misspellings as "access date=" for "access-date=" or one-ess "accesdate=" or one-cee "acessdate=" or triple-c "acccessdate=" or even "date accessed" (as if Italian "data accesso="). I think some 1-letter variants linger from Spanish versus Portuguese ("acceso" or "acesso"), and so I hope a transition to alias "acdate=" would reduce many errors in future years. Any other technical concerns? -Wikid77 (talk) 22:56, 9 September 2018 (UTC)

(1) Bad idea, we have far too many aliases in the {{cite xxx}} templates as it is. (ii) Wrong page, requests for changes to those templates belong at Help talk:Citation Style 1. --Redrose64 🌹 (talk) 23:02, 9 September 2018 (UTC)
And (c) we should always prefer parameters that are intuitive. "acdate" is not. --Izno (talk) 23:08, 9 September 2018 (UTC)
And (IV), I think it's bad policy to accommodate editors who hit "Publish changes" and move on without checking their work. If an editor makes any of the errors listed in the OP, this is immediately and clearly apparent when they view the resulting citation. ―Mandruss  03:37, 10 September 2018 (UTC)
While pretty much agreeing with the above objections, in the unlikely event that an alias is approved, something like "checkdate" would be more intuitive. 24.151.50.175 (talk) 16:04, 10 September 2018 (UTC)
Or "verify-date" .. |access-date= is basically in support of WP:V and emphasizing "verify" might nudge more verifications. -- GreenC 16:15, 10 September 2018 (UTC)

Bad idea per all above, and per previous discussion. Headbomb {t · c · p · b} 18:17, 12 September 2018 (UTC)

Last reminder: read-only mode 14:00 UTC

Hi, the last (Village Pump) reminder for this: Because of a server test, to make sure we're prepared and can keep the wikis alive in case of a catastrophe, it won't be possible to edit the wikis for up to an hour, starting at (or slightly later than) 14:00 UTC. For more information, see m:Tech/Server switch 2018. /Johan (WMF) (talk) 12:15, 12 September 2018 (UTC)

Sure would be nice to be able to dismiss the notice.--Bbb23 (talk) 13:34, 12 September 2018 (UTC)
It's in "emergency" priority, so no dismissing for you! We could change it, but you know -- database locked :D — xaosflux Talk 13:46, 12 September 2018 (UTC)
Bbb23 Checking "Suppress display of CentralNotices" in gadgets disables it Galobtter (pingó mió) 13:50, 12 September 2018 (UTC)
Wouldn't that suppress all notices, e.g., some foolish editor has been nominated for RfA?--Bbb23 (talk) 14:37, 12 September 2018 (UTC)
@Bbb23: no only "CentralNotices" from meta: (meta:Special:CentralNotice) , not things like watchlist notices etc. And correction on my above, it's not that it was "emergency priority", just that a "close button" was not included. — xaosflux Talk 14:40, 12 September 2018 (UTC)
Clearly a conspiracy to make me suffer. Even my shrink agrees with me (the bill for her services will be sent to the Foundation).--Bbb23 (talk) 15:11, 12 September 2018 (UTC)
It looks like this took only 7.5 minutes, compared to the 20+ that we've seen in previous years. Last year, they were previosuly talking about a theoretical minimum time being around five minutes (because there are certain steps that have a built-in time delay for safety), so this may be the best we ever see in practice. I'm impressed. (Also, very glad that it all happened while I was still asleep. ;-) I haven't seen any reports of editing problems; feel free to ping me or Johan if there are problem reports elsewhere. Whatamidoing (WMF) (talk) 18:40, 12 September 2018 (UTC)

Category:Wikipedia type:landmark page with obscure subdivision

Point Hicks is in Category:Wikipedia type:landmark page with obscure subdivision, but I can't work out why. Can anyone enlighten me? TIA. DH85868993 (talk) 04:46, 12 September 2018 (UTC)

Related to BrandonXLF's recent edits to Module:ISO 3166, though I can't figure out exactly what is causing this since the code in that module itself doesn't appear to produce this category.. Galobtter (pingó mió) 05:06, 12 September 2018 (UTC)
If anyone has more time, I've replicated this in Special:PermaLink/859195974 (feel free to edit that sandbox) and expand templates is including that string twice:
|<span style="white-space:nowrap;"><span class="plainlinks nourlexpansion">[//tools.wmflabs.org/geohack/geohack.php?pagename=User:Xaosflux/sandbox65&params=37_48_11_S_149_16_32_E_region:[[Category:Wikipedia_type:landmark page with obscure subdivision]] <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">37°48′11″S</span> <span class="longitude">149°16′32″E</span></span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">37.80306°S 149.27556°E</span><span style="display:none"> / <span class="geo">-37.80306; 149.27556</span></span></span>]</span><span style="font-size: small;"><span id="coordinates">[[Geographic coordinate system|Coordinates]]: <span class="plainlinks nourlexpansion">[//tools.wmflabs.org/geohack/geohack.php?pagename=User:Xaosflux/sandbox65&params=37_48_11_S_149_16_32_E_region:[[Category:Wikipedia_type:landmark page with obscure subdivision]] <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">37°48′11″S</span> <span class="longitude">149°16′32″E</span></span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">37.80306°S 149.27556°E</span><span style="display:none"> / <span class="geo">-37.80306; 149.27556</span></span></span>]</span></span></span></span> 
xaosflux Talk 11:35, 12 September 2018 (UTC)
Narrowing it down helped; the problem arises in {{Geobox2_coor}}, where the hidden category is passed to Module:Coordinates Galobtter (pingó mió) 11:54, 12 September 2018 (UTC)
  • Note for anyone following, this is still broken. — xaosflux Talk 15:22, 12 September 2018 (UTC)
It looks like the page has a subdivision with a non ISO recognized subdivion, this putting it in that category. I did recently make a catroy called Category:pages with obscure subdivision and Category:Wikipedia type:landmark page with obscure country or subdivision exist. So suspect it's taking the input from Module:ISO 3166 and converting it to this category. I'm going to create the category page, as if this is the case if better to have it as it may get big if the subdivision are wrong. – BrandonXLF (t@lk) 20:44, 12 September 2018 (UTC)
Also, as this seams on topic, I'm wondering if I should make it so if the subdivision in Module:ISO 3166 is wrong it only displays the country and ignore the incorrect subdivision. Please ping me if you have any comments about the idea. – BrandonXLF (t@lk) 20:47, 12 September 2018 (UTC)

BrandonXLF is now adding GB data to Module:ISO 3166/data/National but it is generating damaging errors in articles that use it such as Snowdonia. Can someone else take a look at it as I’m out of reverts, and from past experience I know I won’t be able to persuade him to stop experimenting with live and widely used templates.--JohnBlackburnewordsdeeds 20:33, 12 September 2018 (UTC)

JohnBlackburne The error are fixed. If there's a error please show me an example so I can fix the issue. I did testing in the sandbox, and I can't see any errors. – BrandonXLF (t@lk) 20:34, 12 September 2018 (UTC)
See e.g. Punghina. With your rapid fire untested changes errors articles have been coming and going from the category Category:Pages with script errors, faster than I can check them.--JohnBlackburnewordsdeeds 20:58, 12 September 2018 (UTC)
This discussion doesn't seam relevant here, and the page Punghina has nothing to do with my recent edits. Can you move this to a more relevant talk page or make a new discussion here? – BrandonXLF (t@lk) 21:25, 12 September 2018 (UTC)
The error now seems fixed – it was in Module:ISO 3166 and arose after one of your changes so, yes, it had to do with your recent edits. In the recent ANI discussion it was recommended you test all edits using e.g. template sandbox pages and testcases, and seek consensus before making changes to existing templates. But here you are again, introducing untested/improperly tested changes to templates used on many thousands of pages, without seeking consensus or even explaining your changes.--JohnBlackburnewordsdeeds 21:55, 12 September 2018 (UTC)

How to disable redirects just for me

Is there a setting or user-script which would I could set to not follow redirects when clicking on links to them? — Frayæ (Talk/Spjall) 20:48, 12 September 2018 (UTC)

@Frayae: you can use this:
$('#mw-content-text a.mw-redirect').each(function(){
    var oldhref = $(this).attr('href');
    var newhref = ( /\?/.test(oldhref) ) ? oldhref + '&redirect=no' : oldhref + '?redirect=no';
    $(this).attr('href', newhref);
});
Lifted from Wikipedia talk:User scripts/Archive 6 by User:Evad37. — xaosflux Talk 21:44, 12 September 2018 (UTC)
Thanks! Face-smile.svgFrayæ (Talk/Spjall) 22:00, 12 September 2018 (UTC)

Please remind me why I have a read button on my menu

It's just to the left of the edit button. Vector skin. Doug Weller talk 13:19, 12 September 2018 (UTC)

@Doug Weller: I've always figured it was for when you're editing or viewing the history and you decide "nah, I'd rather read it." It's redundant with the "article" or "project page" tab that's to the left of the "talk" button. Ian.thomson (talk) 13:30, 12 September 2018 (UTC)
@Doug Weller: it's not just you, a "read tab" is default in Vector. If you are in edit mode it may be a handy way to cancel editing and return to reading. — xaosflux Talk 13:31, 12 September 2018 (UTC)
FWIW some people want to give "edit" precedence for display, see phab:T119871 and phab:T113157. — xaosflux Talk 13:33, 12 September 2018 (UTC)
It's not a button. It's a tab. There are several tabs and their selection is mutual exclusive (you cannot read and edit at the same time). —TheDJ (talkcontribs) 14:02, 12 September 2018 (UTC)
Thanks all. Damn, I know they are tabs, brain fart. I can't leave a page I'm editing without clicking on confirm, which is probably why it never made sense to me. 14:20, 13 September 2018 (UTC) — Preceding unsigned comment added by Doug Weller (talkcontribs)

List modules that "require" a module

I've been looking at Lua modules on WP and I'm wondering how I can find out which modules call a particular module in their code. For example, how do I find out which modules require (if any at all) the List module? "What links here" doesn't appear to help. Thanks.—Cpt.a.haddock (talk) (please ping when replying) 17:04, 13 September 2018 (UTC)

Cpt.a.haddock, a search works for doing this Galobtter (pingó mió) 17:17, 13 September 2018 (UTC)
@Galobtter: That looks good. Cheers!—Cpt.a.haddock (talk) (please ping when replying) 17:25, 13 September 2018 (UTC)

Unclosed tags

There seems to have been a change made recently which is causing unclosed formatting tags to remain unclosed in the underlying HTML, instead of how it seems it used to work that the software would close these tags when it found them. The result is that there are many old discussions where, for example, someone didn't close a strikeout tag, and every bit of text below their comment is now struck out, making it difficult to read and follow. I've been editing archives where I find instances of these errors, but I can't edit an old revision. Can this be fixed? Ivanvector (Talk/Edits) 12:29, 13 September 2018 (UTC)

See this thread in the archives. There is a new replacement for Tidy, which used to hide / clean up bad markup. Some gnomes are working on fixing pages, but there are a few million errors, so it will take a while. – Jonesey95 (talk) 13:20, 13 September 2018 (UTC)
@Ivanvector: There is currently a BRFA running at Wikipedia:Bots/Requests_for_approval/Galobot for a bot that will fix errors such as <s>...<s> instead of <s>...</s> (like on the page you linked), but for cases of simply missing end tags its best to just fix them as you find them since it's hard for a bot to judge intent. --Ahecht (TALK
PAGE
) 19:58, 13 September 2018 (UTC)
in regards to old revisions which appears to be the question by Ivanvector, probably somebody could code a JS script that could fix some of it, apart from that I don't think it can/would be fixed Galobtter (pingó mió) 20:05, 13 September 2018 (UTC)
If I get annoyed enough by this, I'm going to write a script where you can click on a location in the text to mark the proper end of a strikeout, without having to dig through many kilobytes worth of archive text. Enterprisey (talk!) 20:22, 13 September 2018 (UTC)
Regarding old revisions, I'm also kind of okay with "you'll just have to live with it". At worst it's kind of annoying. Ivanvector (Talk/Edits) 20:37, 13 September 2018 (UTC)

I accidentally removed half my watchlist

Well, yeah, I tried to edit my raw watchlist to trim it a bit but I didn't notice only half of it was loaded. So when I clicked save, 3,000 pages were gone. Is there any way to restore them (aside from remembering the pages and manually readding them)? Regards SoWhy 10:56, 13 September 2018 (UTC)

Unfortunately, that's not possible AFAIK. Only Developers can retrieve that kind of data. –Ammarpad (talk) 18:20, 13 September 2018 (UTC)
Ammarpad, actually they can't either. Well, in theory some system administrators probably can, by opening the vault with the backups, but I don't think that has ever been done for something as small an issue like this. —TheDJ (talkcontribs) 21:17, 13 September 2018 (UTC)
@Ammarpad and TheDJ: Thanks for the replies. I'll trout Self-trout then and take it as a sign to slim down my Watchlist. Regards SoWhy 06:06, 14 September 2018 (UTC)

Template:Pie chart appearance

See the discussion here. Thank you. --Hddty. (talk) 06:31, 14 September 2018 (UTC)

Thumbnail too dark?

Picture of Bell Labs Model V, circa 1947
Picture of Bell Labs Model V, circa 1947

We've got an image, File:Bell Relay Computer.png. It looks reasonably well exposed, if somewhat low contrast. I can see detail in the technician's white shirt, and even a little in his black shoes.

In Model V, we use that as a thumbnail. Here, the image looks highly underexposed. The technician is barely visible in the shadows. Is this loss of dynamic range an inevitable result of the size reduction? Is there anything that can be done to improve this? I can certainly download the image to my box, adjust things there, and upload a new copy, but I'm thinking more of something I can do within the wikimedia system. And something that will work across all image sizes. -- RoySmith (talk) 13:37, 14 September 2018 (UTC)

Top image is 240px, bottom is 241px. I think this is phab:T68337. Galobtter (pingó mió) 14:00, 14 September 2018 (UTC)
Actually phab:T106516 seems to be it. Galobtter (pingó mió) 14:17, 14 September 2018 (UTC)
It's really inexcusable that this bug has gone on for over three years without a fix. --Ahecht (TALK
PAGE
) 15:06, 14 September 2018 (UTC)
If you think that's bad; the company I last worked for left their private servers wide open to the internet for four years. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 19:08, 14 September 2018 (UTC)

Captcha?

Both my original posting and this simple edit in this thread required a captcha. Is that intended? I wasn't posting any external links, for example. (And I see that this new posting, too, is requiring one.)

(Please reply here, not to this IP address's talk page.) --76.69.47.228 (talk) 20:22, 14 September 2018 (UTC)

Regex editor trespassing

How do I get rid of this and put OhConfucius' Engvar B back please? Keith-264 (talk) 16:08, 14 September 2018 (UTC)

@Ohconfucius: somewhat recently updated User:Ohconfucius/script/EngvarB.js and may be able to help here. — xaosflux Talk 17:21, 14 September 2018 (UTC)
Thanks I've left a message. Keith-264 (talk) 17:59, 14 September 2018 (UTC)
I don't understand why this is happening, nor can I offer an explanation at this point. However, I did manage to get the script buttons by importing my monobook script. Perhaps you can try doing that instead of importing the EngvarB script? Please note that you will get maybe five sets of Engvar script buttons. Not ideal, I know, but at least they appear. Face-wink.svg -- Ohc ¡digame! 07:55, 15 September 2018 (UTC)

AWB

Is there any difference in operating WP:AWB and WP:PyAWB.--PATH SLOPU (Talk) 16:23, 11 September 2018 (UTC)

@Reedy: this is one for you. Headbomb {t · c · p · b} 14:56, 12 September 2018 (UTC)
I doubt PyAWB even works, it's not been touched for 9 years. [41] Reedy (talk) 22:04, 12 September 2018 (UTC)
@Reedy:Can I use PyAWB instead of AWB. Please help.--PATH SLOPU (Talk) 01:35, 14 September 2018 (UTC)
Try it, if it works, it works. If it doesn't, it doesn't. However, see the response above: this is pretty much outdated abandonware, and will most likely fail epically in several places, and make edits that no longer have consensus, or which are no longer valid. Headbomb {t · c · p · b} 01:41, 14 September 2018 (UTC)
@Headbomb:Thank you for your advice. Sir, I queried about this because I would like to use AWB for my bot. But I am using linux. I tried to install wine with software centre and get-apt. But I couldn't install it because of some technical problems. Is there any alternate way for that. Sir, please help.PATH SLOPU (Talk) 15:53, 14 September 2018 (UTC)
@Path slopu: Just so you know, you don't need to call people 'sir' or 'madam' or whatever every time you post somewhere. We're all equals here. Just call people by their username and talk to them normally. As for what to do with Wine or PyAWB, I suspect the best place to get advice would be at WT:AWB. Headbomb {t · c · p · b} 16:58, 14 September 2018 (UTC)
@Path slopu: You could try building your bot with Pywikibot instead. --Ahecht (TALK
PAGE
) 17:07, 14 September 2018 (UTC)
Ahecht - FYI Wikipedia:Bots/Requests for approval/Pathbot — fr+ 05:50, 15 September 2018 (UTC)
@Headbomb, Ahecht, and FR30799386:I placed my doubt in WT:AWB. I used pywikibot in earlier time. But I understood that AWB is more better than python for doing my bot's task to avoid mistakes. So I tried for AWB.PATH SLOPU (Talk) 09:12, 15 September 2018 (UTC)
@Headbomb, Ahecht, and FR30799386:Hi greetings, I added a request for using JWB for my bot in WP:PERM/AWB. Is it correct? Am I place the request in correct page? Kindly please help.--PATH SLOPU (Talk) 12:11, 15 September 2018 (UTC)

Using the Search box and limit results to not include redirects

I'm trying to do a search using "intitle:", but I wish to only get actual article titles and not redirects. I tried searching for information at Help:Searching, but couldn't find any. Hope someone here can help me out. Thanks. --Gonnym (talk) 21:09, 14 September 2018 (UTC)

@Gonnym: If you are searching for articles beginning with a specific string, you can look at this page which does appear to provide an option to hide redirects. I'm unsure if there's a corresponding page that handles titles containing a specific string.—Cpt.a.haddock (talk) (please ping when replying) 21:30, 14 September 2018 (UTC)
@Cpt.a.haddock: I'm trying to find titles using certain disambiguations. So "intitle" works for that, but then it just gives me all the redirects as well which defeat the purpose of my search. Prefix won't help here. --Gonnym (talk) 21:35, 14 September 2018 (UTC)
I was having this problem also, likely for a similar reason. It would be very nice if I could discard results from redirects. I think phab:T73491 probably blocks any similar functionality. --Izno (talk) 22:39, 14 September 2018 (UTC)

There's a script SearchSuite by The Transhumanist that can hide redirect results, and make various other improvements/adjustments to search result pages - Evad37 [talk] 12:07, 15 September 2018 (UTC)

Amazing! Thank you very much! --Gonnym (talk) 12:17, 15 September 2018 (UTC)
You are welcome. :)    — The Transhumanist   12:25, 15 September 2018 (UTC)
@Izno and Gonnym: From SearchSuite's documentation:
SR redirecteds
Turning this off doesn't just remove the notes that say "redirect from", it removes the entire entries that include those notes. It also removes entries of items from related categories, and the results that match subheadings.
Turning it back on, adds those items back onto the list.
This feature helps narrow search results down to the topic entered.
I hope you find it useful.    — The Transhumanist   12:25, 15 September 2018 (UTC)
So far it is. The way Wikipedia's system is set-up is mind blowing to me. Instead of creating a system where a title and a disambiguation are two separate entities, they are just another string in the system. This made searching for incorrect usages extremely hard. Thanks again for creating this! --Gonnym (talk) 12:30, 15 September 2018 (UTC)

G with a macron below

Hi, why doesn't the "Special characters" table (or the Latin extended set) in the editor have an underlined G? The {{underline}} template does produce something similar in G, but that is accomplished using CSS. Any alternatives? Thanks.—Cpt.a.haddock (talk) (please ping when replying) 21:02, 14 September 2018 (UTC)

Unicode doesn't have a precomposed character of G with a macron below. So you would have to use the combining diacritic U+0331 ◌̱ , as in "G̱". Nardog (talk) 21:14, 14 September 2018 (UTC)
Thank you.—Cpt.a.haddock (talk) (please ping when replying) 21:26, 14 September 2018 (UTC)
More at Macron below#Precomposed characters. --Redrose64 🌹 (talk) 20:00, 15 September 2018 (UTC)

Watchlist filter and Twinkle not loading in Chrome

I've experienced several issues in Chrome over the past week.

  1. The watchlist filter does not load. Just gets stuck on the three loading dots permanently.
  2. Twinkle doesn't load when I open a article.
  3. I'm unable to open any collapsed navboxes. The "show" links are just not present.

I'm not experiencing these issues in other browsers (Edge and IE). --The1337gamer (talk) 09:52, 16 September 2018 (UTC)

It works for me. Google Chrome 69.0.3497.92, Windows 10, Vector. What is your skin at Special:Preferences#mw-prefsection-rendering? Does https://en.wikipedia.org/wiki/Special:Watchlist?safemode=1 work? Do navboxes work if you log out? PrimeHunter (talk) 10:18, 16 September 2018 (UTC)
Also on Chrome 69.0.3497.92, Windows 10, Vector. Had to check the skin on Edge because I can't actually access Special:Preferences#mw-prefsection-rendering on Google Chrome since the tabs on Preferences don't load either when I select them. Watchlist filter is missing from that safe mode link and collapsed navboxes also don't work when I log out. --The1337gamer (talk) 10:35, 16 September 2018 (UTC)
It sounds like a browser problem with JavaScript. Does https://www.whatismybrowser.com/detect/is-javascript-enabled say JavaScript is enabled? Try to clear your entire cache. Does JavaScript work at other sites? Do you have Chrome extensions or security settings which may disable or cripple JavaScript at some sites? If you make tests at Wikipedia then I suggest being logged out. If navboxes work when logged out then you can test whether all is well when you log in. PrimeHunter (talk) 11:40, 16 September 2018 (UTC)
This happened to me and was caused by uBlock Origin. — JJMC89(T·C) 16:23, 16 September 2018 (UTC)
It seems it is the AdBlock extension on Chrome causing it for me. I've added Wikipedia to the whitelist filter and the issues are now resolved. Thanks for the help both of you. --The1337gamer (talk) 16:56, 16 September 2018 (UTC)

Wrong code in infoboxes for languages

Someone in WP:RD/L has reported that the infoboxes on the pages Dutch language, English language, German language, and Korean language all currently show the ISO 639-1 code for the respective languages as "hh". Since the "iso1" codes shown on each page are correct, this has to be a bug in whatever it is that "{{Infobox language}}" invokes. Someone who understands this, please fix. --76.69.47.228 (talk) 09:17, 14 September 2018 (UTC)

I just reverted this IP edit to {{ISO639-1}}. It has 224 transclusions which isn't a great deal but perhaps an admin would like to add some protection. Johnuniq (talk) 09:27, 14 September 2018 (UTC)
Thanks, John! --76.69.47.228 (talk) 20:19, 14 September 2018 (UTC)
Airplaneman has protected the redirect against IP. Graeme Bartlett (talk) 00:17, 17 September 2018 (UTC)

Specific Inquiry about Data on Mathematics Portal

On the Portal:Mathematics page (https://en.wikipedia.org/wiki/Portal%3AMathematics), there is a claim that "There are approximately 31,444 mathematics articles on Wikipedia. I'm curious about how Wikipedians have gone about estimating this number. Can someone point me in the right direction to find the answer? I looked at WikiData, but did not find enough of a robust dataset that could support this high count reported on the Portal.

Any help would be greatly appreciated. — Preceding unsigned comment added by 001JakubSvec (talkcontribs) 04:12, 17 September 2018 (UTC)

I've removed the statement. The count hadn't been updated since 2015. — JJMC89(T·C) 04:34, 17 September 2018 (UTC)
JJMC89, thank you for the speedy update, but I was mostly curious about how Wikipedia determined that in the first place, even if it was in 2015 that it determined that statistic. -001JakubSvec — Preceding unsigned comment added by 001JakubSvec (talkcontribs) 12:26, 17 September 2018 (UTC)
This example was kept at Wikipedia:WikiProject Mathematics/Count. The page history [42] shows it was updated by a bot until 16 June 2015‎. The edit summaries only said "daily update from wikilabs". Other examples have used counts of articles tagged by a WikiProject. Wikipedia:WikiProject Mathematics uses {{Maths rating}} but it only has around 17,000 transclusions. Category:Mathematics articles by quality gives the same total. I don't know where the bot counted the extra articles. PrimeHunter (talk) 13:04, 17 September 2018 (UTC)

Oddity with navigation popups

This has been brought up at WP:ERRORS today. At Template:Did_you_know, the last hook of the day contains a link to Crime Does Not Pay (comics). If I hover over this link, the preview actually shows me the "Spinoffs" paragraph of the article, instead of the lede as you would expect. This happens in Firefox, Edge and Chrome. However, on all three of those browsers, if I log out, it works correctly. I am on Windows Home 10.0.17134. Black Kite (talk) 09:24, 17 September 2018 (UTC)

Black Kite, does it work now? Works for me now after this which I think allows navpopups to detect the bold lead instead of skipping to the bold text in Crime_Does_Not_Pay_(comics)#Spinoffs Galobtter (pingó mió) 09:36, 17 September 2018 (UTC)
Also, when you're logged out, mw:Page_Previews is used which is different from Wikipedia:Tools/Navigation_popups Galobtter (pingó mió) 09:39, 17 September 2018 (UTC)
Seems to be working for me now (I am the editor who first raised ths at ERRORS). Thanks all for the help. DuncanHill (talk) 13:39, 17 September 2018 (UTC)
Yes, it works for me now as well, thanks. It's still a bug, though, isn't it? Black Kite (talk) 18:15, 17 September 2018 (UTC)

Tech News: 2018-38