Wikipedia:Village pump (technical)

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

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

« Older discussions, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161

Contents


Archive-date parameter[edit]

"Clipping" of text/caret in edit summary and subject/headline[edit]

When I enter an edit summary the lower part of the text is not displayed - eg the bottom of the letter "g" and underscore characters are not visible. When the text gets long enough to reach the right-hand side of the edit summary text box (near the remaining-character count) the caret (vertical bar) disappears. This is quite annoying. The problem appears with MonoBook skin. It always seems to be a problem with articles, and sometime is also a problem with subject/headline. I'm using Pale Moon (web browser) v27.6.2 (the current version), but a similar problem occurs with FireFox v54. FF v57 fixes the descenders but not the disappearing caret. Does anyone know if this is a problem with Wikipedia, or is it a problem with the browser? If it's the browser, does anyone know if there is a specific bug (eg on Mozilla's website) covering it, which I could point the Pale Moon developers at? Or is there some other fix eg my custom CSS)? Mitch Ames (talk) 07:13, 2 December 2017 (UTC)

Opera too, and not just those: most one-line input boxes, including those in the goshawful new preferences thing (such as the custom signature). I picked MonoBook over Vector for some very good reasons, two of which were compactness and clarity. These are being thrown by the wayside and soon we will have a situation where it doesn't matter what skin we pick, it'll all look the same - unreadable. This is NOT GOOD for accessibility, and I REQUIRE some means of obtaining the former appearance. --Redrose64 🌹 (talk) 00:30, 3 December 2017 (UTC)
Nevermind that basically every accessibility guideline in existence disagrees with you when it comes to compactness. Padding is good for the eyes. But hey, maybe people will listen to your REQUIREMENTS. — Preceding unsigned comment added by 195.88.208.155 (talk) 03:44, 3 December 2017 (UTC)
Listen, I have poor eyesight. The MonoBook version of the prefs was just fine. This one is not. Clipping off descenders can in no way be considered "helpful". --Redrose64 🌹 (talk) 19:55, 3 December 2017 (UTC)
I think we can safely trust users to know whether they can read things on their own computer screens. Whatamidoing (WMF) (talk) 19:41, 4 December 2017 (UTC)

Unable to reproduce on macOS. Can someone check on Windows/Linux ? —TheDJ (talkcontribs) 15:39, 4 December 2017 (UTC)

I have the problem on Windows 7. Mitch Ames (talk) 12:17, 5 December 2017 (UTC)
Could someone with this problem please check to see whether the descenders are clipped on the edit summary box while logged out/in a private window, or in &safemode=1? I'd like to see if we can rule out the possibility of broken scripts. Whatamidoing (WMF) (talk) 19:41, 4 December 2017 (UTC)
While logged out the problem does not appear (i.e. descenders and underscores are visible, caret is visible at the extreme right of the edit box) - but so far as I know you can't chose anything other than the default skin unless logged in, and even when I am logged in I see the problem with MonoBook but not Vector. (I.e the difference may not be that I am logged in/out, but that I have a different skin when logged out.)
While logged in, with MonoBook and &safemode=1 (e.g. https://en.wikipedia.org/w/index.php?title=Assyria&action=edit&safemode=1) I can see descenders and underscores, but the caret disappears when it is on the right side of the edit box.
Mitch Ames (talk) 14:02, 5 December 2017 (UTC)
You can try https://en.wikipedia.org/w/index.php?title=Assyria&action=edit&useskin=monobook while logged out/in a private window. But I think that these results so far suggest that the problem with the descenders is in a gadget or script. Perhaps you and Redrose64 have a script in common? Whatamidoing (WMF) (talk) 18:00, 5 December 2017 (UTC)
I was under the impression that user scripts were disabled at Special:Preferences, so that you would still have a recovery means if you happened to lock yourself out with careless scripts. --Redrose64 🌹 (talk) 18:36, 5 December 2017 (UTC)
I don't think that user scripts (that is in one's own .js subpages) can be controlled through a preference. Jo-Jo Eumerus (talk, contributions) 19:19, 5 December 2017 (UTC)
I'm not saying that they can be controlled through a preference. I'm saying that user scripts are normally sent to your browser automatically when you visit any Wikipedia page (perhaps in a <link /> element or a <script>...</script> element), and such scripts are suppressed when you visit Special:Preferences as a safety feature. --Redrose64 🌹 (talk) 19:40, 5 December 2017 (UTC)
https://en.wikipedia.org/w/index.php?title=Assyria&action=edit&useskin=monobook while not logged in behaves the same (other than the expected MonoBook look) as the default: descenders and underscores are visible, caret is visible at the extreme right of the edit box.
Perhaps you and Redrose64 have a script in common — How do I get a definitive list of what scripts I'm running? I know I'm using mw:User:Remember the dot/Syntax highlighter, and my common.css has #wpTextbox1 { height: 52em; }. Mitch Ames (talk) 11:18, 6 December 2017 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── There are at least these modifications to your account:

Are you still using WikEd? Whatamidoing (WMF) (talk) 19:08, 6 December 2017 (UTC)

The problem appears to be the syntax highlighter gadget. Clearing all of my .js and .css scripts made no difference, but the missing descenders and underscores is only a problem when the syntax highlighter is enabled. @Remember the dot: can you help us out here?
The caret still disappears at the right end of the edit box, even with the syntax highlighter disabled.
(I tried WikEd and the Beta Wikitext syntax highlighting, but for various reasons I much prefer the syntax highlighter.)
Mitch Ames (talk) 13:22, 9 December 2017 (UTC)
I can reproduce both the invisible underscore problem and the disappearing cursor problem, with or without the syntax highlighter enabled, using the MonoBook skin on Pale Moon 27.6.2 on Windows 10. I can't reproduce either problem with Pale Moon on Linux. You could try different versions of Firefox to figure out approximately when the behavior changed, and then look for people discussing similar problems online. —Remember the dot (talk) 02:21, 11 December 2017 (UTC)
I've just tested with Pale Moon on Windows 10 (in a VirtualBox virtual machine) and I get the same results - the problem appears whether or not use the syntax highlighter. Also, the problem appears with Pale Moon and not syntax highlighter on my normal Windows 7 machine if I delete my Pale Moon profile and use a default profile. It looks like some obscure combination of any number of things is triggering the problem. Mitch Ames (talk) 13:23, 11 December 2017 (UTC)
Just to make it more interesting, I tried Windows 7 in a VM, with a new Windows user (default Windows and PM profile), not logged in to Wikipedia - now in both Win 7 and 10 I can see the descenders and underscores disappear and re-appear as I scroll the up and down the page using the browser scroll bars! If nothing else, this gives me something reproducible to report to the Pale Moon developers. Mitch Ames (talk) 13:42, 11 December 2017 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── I've reported the problem on the Pale Moon bug report forum: [1]. Mitch Ames (talk) 12:32, 15 December 2017 (UTC) Restored section archived by Lowercase sigmabot III to give the Pale Moon people a bit longer to look at it. Mitch Ames (talk) 06:41, 26 December 2017 (UTC)

Very strange spike in views in several articles[edit]

A number of low-profile articles about places in the Middle East ('Ain Ghazal, Ayn Ghazal, Al-Bassa, Al-Bassah, Al-Buwaydah, Buwaydah, Al Baqa, Baqa'a refugee camp, Diban) started receiving huge increase in views this year: Pageviews Analysis (Up to 50,000+ each). If you check 'Agent' parameter on the left, you'll see that until June 9 it was "Spider", and then "User". Views for some of those are almost identical day-by-day, and it stops and starts randomly. It's 100% unnatural. What can explain this? --Triggerhippie4 (talk) 23:01, 2 December 2017 (UTC)

Web crawler maybe? --Malyacko (talk) 00:10, 3 December 2017 (UTC)
But why these articles? --Triggerhippie4 (talk) 00:18, 3 December 2017 (UTC)
I have seen these sorts of pattern before, but I can see no sense to them, unless the pages are being used as a covert messaging channel. All the best: Rich Farmbrough, 14:58, 4 December 2017 (UTC).
It's possible these towns were discussed and linked in an Arabic news article or social media site. External linkage can create traffic spikes that sustain over a couple weeks. It's sometimes possible to track down the source but sometimes not. -- GreenC 15:21, 4 December 2017 (UTC)
Yes, as Onceinawhile pointed out, it is only the English version which gets these hits.[2], [3] If it had been in the Arabic news, then also ar.wp articles would have gotten hits. Huldra (talk) 21:56, 6 December 2017 (UTC)
No way. These places are not in the news, numbers are identical for different pages and they suddenly disappear and reappear. Only English wiki pages of these articles are affected. Click on Pageviews Analysis above. --Triggerhippie4 (talk) 18:14, 4 December 2017 (UTC)
In my experience, when you see a pattern like that it's generally because a celebrity has tweeted a link to the page for some reason or another (there's a particularly extreme example of the phenomenon here). ‑ Iridescent 18:21, 4 December 2017 (UTC)
That's different. Your example is a developed article about known subject of broad interest (urban legend/internet meme kind of thing). It has at least hundreds of views each day and it changes more gradually. I'm talking about stubs about unrelated non-notable villages that no one tweeted about, and that go back and forth like this simultaneously: Pageviews Analysis. --Triggerhippie4 (talk) 02:57, 5 December 2017 (UTC)
It's really difficult to tell. For example Al-Bassa is linked from this page and maybe that page is the one getting the traffic due to news etc.. with some viewers clicking through to Wikipedia. Or possibly that page has a maintenance script that has gone haywire, polling Wikipedia for existence. Do you have any theories? -- GreenC 15:14, 5 December 2017 (UTC)
I suppose it's some technical error. I decided to bring it here because it's seems too odd that articles that always averaged less than 100 views a day, now accumulated more than 10 million views in the last 8 months. --Triggerhippie4 (talk) 17:01, 5 December 2017 (UTC)
User:Onceinawhile noted the same, back in September, here. As one of the editors who have done lots of work on both articles, Ayn Ghazal and Al-Bassa, I am totally bewildered. I am quite familiar with the fact that whenever a place in the Middle East is in the news, then the page views goes through the sky on that article. But this is something different. For one thing, none of the places have been particularly in the news, lately, AFAIK. Secondly, look at the page views for both articles for the last 90 days: they follow each other closely. It would be interesting to see if the page views came from the same IP address...or if this is just some technical error. Huldra (talk) 20:49, 6 December 2017 (UTC)
My guess is machine generated because there is no collateral spike in connected articles. For example Ayn Ghazal, which gets 15k-30k hits a day, the lead section prominently mentions Ofer. But Ofer is only getting about 10 hits a day. If they were live people visiting Ayn Ghazal, some percentage would be clicking through to Ofer, but that is not happening: (PageView Ayn_Ghazal|Ofer). Ofer stays at a very low flat rate while Ayn Ghazal jumps up and down with high numbers (higher than Israel itself at times). Can't think how it would make sense unless machine generated. -- GreenC 21:24, 6 December 2017 (UTC)
I agree that this numbers are false, in one way or another. The question is: is it the Wikipedia page views counting which is wrong, or is some machine sitting somewhere viewing these articles over and over again? Huldra (talk) 21:28, 6 December 2017 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────@BBlack (WMF): please could you let us know who is best placed to investigate this? It has been going on for many months now. Perhaps a quick look at the IP addresses of the tens of thousands of daily hits would quickly shed some light on the issue. Onceinawhile (talk) 11:16, 16 December 2017 (UTC)

I looked into this, specifically 'Ain Ghazal on November 29, 2017. I don't know how much I'm allowed to say, so I'll keep it generalized :) On that day, most of the hits originated from a single city. It is a large city (where we'd expect more viewers), but the ratio was still big enough that I'd say it's inline with other false positives I've seen. Indeed, when I compare desktop pageviews vs. mobile web (or mobile app), you'll see the spike in traffic is strictly on desktop. For the English Wikipedia, generally mobile viewership will be on par if not more than desktop. As such, I would say with some confidence that this article is being continually scraped by an undeclared bot. I suspect the same is true with the other articles you speak of -- just try comparing desktop vs mobile. This is the same trick that The Signpost uses to filter out their WP:TOP25 reports. The issue unfortunately is common. Currently I believe the logic to identify bots and other non-human sources is solely to go by the user agent. Of course if someone were to spoof their user agent to look like it is human, there's no a whole lot we can do. More on that at phab:T123442 and in the Topviews FAQ (I can add the same information to the Pageviews FAQ, since this issue is not limited to the top-viewed articles API). It is possible to dig deeper and get more answers, but I should let you know this sort of research is very tedious and time consuming. The takeaway here I think is to improve bot detection, as it seems every time we investigate a report it is the same story of an undeclared bot. Hope this helps! MusikAnimal (WMF) (talk) 19:12, 16 December 2017 (UTC)
@MusikAnimal (WMF): thank you for looking into this, and for confirming our suspicions. I didn’t understand all of the technical language in your post, but imagine the results you describe mean that the traffic is mostly emanating from one person’s computer. I just can’t understand what possible motive someone would have to set up a bot crawling over these articles of relatively minor interest.
Pinging @Triggerhippie4, Malyacko, Rich Farmbrough, GreenC, Huldra, and Iridescent: in case you hadn’t seen. Onceinawhile (talk) 21:55, 16 December 2017 (UTC)
One reason might be inclusion in the top views list. It could have political repercussions, such as using the metric to embarrass Israel about Wikipedia "spotlight" on these villages. Or it might be a script gone haywire and no one noticed. The mystery is probably better than the truth :) -- GreenC 22:17, 16 December 2017 (UTC)
Whatever it is, they seem to have gone on holiday for the last three days, as the page views have been down to normal since the 28th, Huldra (talk) 23:21, 30 December 2017 (UTC)

Edits (rather than the text of edits) being imported into Wikipedias of other languages[edit]

(Before the heading title above raises false alarms that my account's login credentials have been somehow compromised, they have not. This issue appears to involve some sort of (new?) MediaWiki importation tool.)

I've been editing Wikipedia for a long, long time, around a decade and a half, during which many articles I wrote or contributed to have been copied and pasted and translated into Wikipedias of other languages. That's fine/great; no problem! I'm happy/delighted to share the results or work product of my edits in other languages! But I just encountered something new and different.

I was just given a welcome message to the Bihari Wikipedia by another user, thanking me for my edits there. This surprised me as I don't speak or understand the Bihari languages, so why would I ever have edited there? So, I checked bh:Special:Contributions/Lowellian. And I recognize those edits: I did make those edits, but I made those edits to the English Wikipedia, not the Bihari Wikipedia!

After poking around the page histories some more (and navigation is difficult due to the aforementioned fact that I don't understand Bihari, so I have to do some informed guesswork clicking on links), for example https://bh.wikipedia.org/w/index.php?title=Template:Countries_and_territories_of_Southeast_Asia&limit=500&action=history, I can see that my edits have been somehow "copied" from the English Wikipedia to the Bihari Wikipedia, and in a way different from a normal page move: normally, when a page is moved, the edits are also moved with it so that each edit still only appears in one page history (unless it was a copy-and-paste move, in which case the text of the edits but not the edits themselves get copied/moved). But this situation appears to be something different, in which my edits are now duplicated so that the same edit history appears on both the English and Bihari Wikipedias, accredited to me.

This is fundamentally different from normal copying-and-translation of articles into other languages since that copies the prose/text (the work product of edits) rather than the actual edit history (the edits themselves). This concerns me because those page histories make it look like I have been editing the Bihari Wikipedia when I have never done so. I don't want, for instance, people complaining to me about edits I made on another-language Wikipedia that I had no knowledge of and did not make. (This is different from normal copying/translation of articles into other-language editions, since normal copying/translation doesn't make it look like I directly edited those other-language editions.)

This all appears to be done by some sort of (new?) MediaWiki importation tool? Can someone in the know provide background for what all is happening here?

Lowellian (reply) 22:42, 12 December 2017 (UTC)

@Lowellian: from bhwiki's log I can see that @SM7: has imported these using the normal transwiki import process. This part is OK and normal. phab:T179832 describes some of the intricicies of imported usernames and how it is being dealt with. — xaosflux Talk 23:32, 12 December 2017 (UTC)
Okay, I don't really understand the issues described in phab:T179832 or whether they apply to this specific case, but maybe someone can at least clear this up for me: if you look at https://bh.wikipedia.org/w/index.php?title=Template:Countries_and_territories_of_Southeast_Asia&limit=500&action=history, some edits are marked "imported>" followed by the username. My problem is that my edits, at least, seem to have been imported without even that "imported>" designation, as if I made the edits directly to the Bihari Wikipedia, when I did not. My edits should be marked "imported>" if they were imported. Is this something that has been looked at and fixed so that it won't happen in the future? —Lowellian (reply) 23:41, 12 December 2017 (UTC)
See meta:Help:Import for the feature. It's from 2003.[4] You can select English as interface language at Special:Preferences at a foreign wiki. This may make it easier: https://bh.wikipedia.org/wiki/Special:Preferences?uselang=en. I don't know when an edit will say "imported>". I haven't seen that before so the anomaly may not be that it's "missing" from you but that it's shown for some of the others. PrimeHunter (talk) 00:02, 13 December 2017 (UTC)
The import process recently got a few enhancements, which is what phab:T179832 was talking about.
When importing edits, the importer must specify the source of the import, and can choose whether imported edits by users who exist in SUL are attributed to the local account for the user or in a fashion like "en>Example" that links to the source wiki from the edit history.
Of course, we also have over a decade of imports that were done under the previous system, where edits were attributed to a local user even if that user didn't exist. A cleanup script is being run on the servers to update the attribution to the SUL user where possible and with a "imported>" prefix otherwise. Since Lowellian's account is in SUL, they were attributed to that SUL account. BJorsch (WMF) (talk) 02:00, 13 December 2017 (UTC)
Thanks for the explanation. In that case, I would like to strongly make the following suggestion: in all cases when edits are imported, including for SUL accounts, there should always be some sort of marker/designation in the page history that the edit is an import in order to avoid the incorrect implication that the editor made that edit directly to that particular language-edition Wikipedia. It is inconsistent and misleading that only some users' imported edits are marked as imported while other users' imported edits are not marked as such, and unfair to make users look like they were spamming English edits onto Wikipedia editions in other languages when they did not do so. —Lowellian (reply) 02:38, 13 December 2017 (UTC)
The best place to make suggestions is in Phabricator. The best indication would probably be a tag. But note there's no way to reliably identify all past imported edits. Anomie 14:07, 13 December 2017 (UTC)
See also Wikipedia:Requests for page importation where we handle requests to copy histories TO enwiki from elsewhere for reference. — xaosflux Talk 23:36, 12 December 2017 (UTC)

Local accounts attached without a visit (and welcomed without an edit)[edit]

Today I have been getting Welcomed on both the Latvian and Kazakh wikis. I have never edited over there. I checked my contribs over there, but nothing shows. Could this be part of the same issue [ the previous topic about imported contributions ]? Bit of a coincidence that they both happened today and it has never happened before. — Insertcleverphrasehere (or here) 07:26, 13 December 2017 (UTC)

This is exactly what the previous topic is about. These welcome messages are being triggered by your edits being imported over to other-language-edition Wikipedias without your knowledge, making you look like a new editor to welcomebots, so they start leaving you welcome messages. Everyone complaining here, please add your voice to that topic if you have complaints about how this process is happening. It is wrong that edits from the English Wikipedia are being imported over to other-language Wikipedias without any indication that those edits are imported. —Lowellian (reply) 21:16, 13 December 2017 (UTC)
It happened on the Punjabi Wiki as well... What is going on here? — Insertcleverphrasehere (or here) 10:38, 13 December 2017 (UTC)
Insertcleverphrasehere, local wiki accounts get attached to your global account the first time you visit that wiki while logged-in. All three of lv:, kk: and pa: were attached to your account this morning. On some wikis you automatically get a welcome message the first time you log in. So I don't think this has any relation to the topic of imported edits (and have therefore separated this topic from that section). --Pipetricker (talk) 11:41, 13 December 2017 (UTC)
Turned out I was wrong about that. --Pipetricker (talk) 10:56, 17 December 2017 (UTC)
I wonder why all three happened today though? Must be the rollout of some kind of welcome bot. — Insertcleverphrasehere (or here) 11:47, 13 December 2017 (UTC)
As Pipetricker said: "local wiki accounts get attached to your global account the first time you visit that wiki while logged-in. All three of lv, kk and pa were attached to your account this morning." According to Special:CentralAuth/Insertcleverphrasehere you visited a large number of wikis for the first time today. Many users have been confused by such welcome messages in foreign languages. I have thought about suggesting at meta to ban welcome messages to users who have no edits at a wiki and didn't create the account there but just had it created automatically by viewing a page. PrimeHunter (talk) 11:55, 13 December 2017 (UTC)
Well, I definitely didn't visit all of those wikis today. I did however submit a SQL Query on Quarry for the first time, which required me to authorise it on Mediawiki, which is probably related? Still strange though. — Insertcleverphrasehere (or here) 12:04, 13 December 2017 (UTC)
That's unrelated. I have done no such thing recently and was welcomed on three wikis also. :) --Izno (talk) 12:23, 13 December 2017 (UTC)
Izno, are you saying the SQL query is unrelated to the attachment of a number of local accounts at about the same time, despite Insertcleverphrasehere not having visited those wikis? --Pipetricker (talk) 14:04, 13 December 2017 (UTC)
Yes. --Izno (talk) 15:41, 13 December 2017 (UTC)
Actually, it probably is related. The process of attributing those old imported edits to the SUL account includes creating the local account for the attribution to belong to, which would trigger the welcome message on wikis that do automated welcome messages on account creation. Anomie 14:10, 13 December 2017 (UTC)
Probably related to the topic of imported contributions, that is. --Pipetricker (talk) 16:46, 13 December 2017 (UTC)
I'm seeing this too. Of the 32-and-still-rising wikis that Special:CentralAuth/Cryptic says I attached in December 2017, I've only ever been to two - Gujarati Wikiquote and Persian Wikivoyage, and those only afterward, because I can'tcouldn't get the notifications for the welcomebot messages to go away no matter what I try. —Cryptic 14:50, 13 December 2017 (UTC)
(In case that crops up for anyone else - what finally worked was logging in directly on those wikis and checking off the notification at Special:Notifications, not just the dropdown on the sidebar.) —Cryptic 15:21, 13 December 2017 (UTC)
I also got two or three notifications. Emir of Wikipedia (talk) 14:55, 13 December 2017 (UTC)
CentralAuth shows many accounts being added. Emir of Wikipedia (talk) 15:01, 13 December 2017 (UTC)
I notice now that ilo.wikipedia.org was attached to my account tonight, when I was asleep and my computers were turned off. It's not in my browser history previous to that, and I have no contributions there (and have received no welcome). --Pipetricker (talk) 15:10, 13 December 2017 (UTC)
My wuu.wikipedia account was created 45 minutes ago when my computer was turned off. There is clearly some current process creating accounts at other wikis without user action, maybe releated to work on phab:T179832: "Handling of imported usernames". I don't currently have edits registered at wuu:Special:Contributions/PrimeHunter but maybe there are old imported edits somewhere which have not been added to my contributions. PrimeHunter (talk) 16:05, 13 December 2017 (UTC)
Yes, there is some current process, as I stated in the section above. See phab:T181731 for the task about it. I note that the script is already done with all the "small" wikis. The wikis still in progress or pending are dewiki, enwiki, eswiki, fawiki, frwiktionary, hewiki, huwiki, itwiki, jawiki, kowiki, metawiki, nlwiki, nowiki, plwiki, ptwiki, rowiki, ruwiki, svwiki, thwiki, trwiki, ukwiki, viwiki, wikidatawiki, and zhwiki. BJorsch (WMF) (talk) 00:40, 14 December 2017 (UTC)
If the script is still pending for larger wikis, then those future runs should be stopped and held off until the problems people are complaining about are fixed. As a starting point, per User:Anomie's suggestion above, it should tag imported edits of SULs as imports instead of misleadingly implying that they were normal edits to Wikipedias of that particular language-edition. —Lowellian (reply) 06:33, 14 December 2017 (UTC)
Something should be done. See Wikipedia:Village pump (miscellaneous)/Archive 57#Rogue bot or what on other language wikipedias where I raised this. Andrewa (talk) 10:18, 14 December 2017 (UTC)
I see those things as honestly unnecessary. It causes a one-time notification on a per-wiki basis where any of your edits have been imported. Given that there are only 20 wikis left, spending time now would only prevent finishing the task while waiting for the extra work that is already planned-for down the road. --Izno (talk) 12:26, 14 December 2017 (UTC)
The problem is not really the welcome notifications. That's just a side effect / symptom of the ultimate cause and real problem, that we are being attributed, without our permission, to edits that we did not make. —Lowellian (reply) 20:58, 14 December 2017 (UTC)
We made our edits to articles which according to the licences we agreed to can be copied provided they are attributed. So it seems to me we agreed to the copies being attributed to us. (Maybe I misunderstood what you mean, but any way if it isn't a technical issue the tech Village pump isn't really the place to discuss that.) --Pipetricker (talk) 23:26, 14 December 2017 (UTC)
Attribution has multiple components: who wrote something, what was written, when it was written, and where it was written. The problem is that imports without tagging misrepresent one of those components: where it was written. These attributions aren't accurate because they are edits made to a specific wiki that are now being attributed as edits to a different wiki. And this is certainly a technical issue: it started out as a technical question asking why certain unusual behavior was being noticed, and it has continued as a technical discussion that includes how to, on a technical level, get those edits properly attributed; see the comments below where Xaosflux works out a technical solution to add tagging. —Lowellian (reply) 23:40, 14 December 2017 (UTC)
When you make an edit, above the edit box there is a notice containing the sentence "Work submitted to Wikipedia can be edited, used, and redistributed—by anyone—subject to certain terms and conditions." So by making the edit, you implicitly gave permission for reuse. Checking those T&Cs, I see that attribution allows several alternatives; one of them is "or c) a list of all authors". By crediting each individual edit to the person who made that edit, even if that edit was on another wiki, sufficient attribution is given. --Redrose64 🌹 (talk) 11:21, 15 December 2017 (UTC)
No, it isn't, and the legal language being quoted here only says that reuse and redistribution is allowed with proper attribution, which actually supports my point. Wikipedia allows reuse and redistribution with proper attribution, and the problem here is that the attribution is wrong. Redistribution copies text without claiming that the text was originally written directly to the copy. An attribution that claims someone wrote something somewhere that they did not write it (directly to the copy, instead of somewhere else that is then reproduced by the copy) is a fundamentally incorrect attribution, particularly when, as in this case, the copy is only a partial, non-identical copy, being in a different language. Copying over text from one wiki to another is not the same thing as claiming someone wrote directly to a wiki that the person did not. —Lowellian (reply) 22:32, 19 December 2017 (UTC)
  1. I see you have twice listed four alleged requirements for proper attribution. The policy at Wikipedia:Copyrights#Re-use of text says that attribution under CC-BY-SA has exactly one requirement, namely that you must "provide credit to the authors". It further says that "a list of authors" (even if just plain text), is adequate. Do you believe that the policy is wrong? Can you find anything in Wikipedia:Text of Creative Commons Attribution-ShareAlike 3.0 Unported License that requires, for example, that attribution include "when it was written"?
  2. Why does it actually matter to you that your revision has been copied from the enwiki database over to another one, without saying "copied from this other database" on it? Do you think that someone (who?) will think you've done something disreputable, as a result of omitting such a label? If you're familiar with the 5 Whys analysis, then I'm very interested in the "fifth why", or the underlying problem.
WhatamIdoing (talk) 20:19, 20 December 2017 (UTC)
Exactly, attribution must "provide credit to the authors". That is the problem: when a credit claims someone wrote something somewhere that they did not write it, then that credit is wrong, since the actual editor is the import script, not the person claimed by the import script. Consider the following example: Alice adds the text "lorem ipsum foobar" to an article. Bob copies that "lorem ipsum foobar" text and then pastes it into another article. Alice may be the originator of the text, but the edit history would correctly show Bob, not Alice, as the editor who added it to the second article. If that text is disputed on the second article, then Bob, not Alice, is accountable for adding that text on the second article. But here, the import script is breaking that standard and instead giving the false appearance that Alice was the editor who added the text to the second article, so that Alice becomes the person who is then held accountable.
False attribution is false attribution; it should be corrected without any further justification being needed. I would think that accuracy and truth are fundamental to the goals of Wikipedia as an encyclopedia. That said, at the very least, these wrong credits also give the false appearance that the author is spamming a wiki with text in the wrong language for that wiki. On top of that, different wikis have different stylistic guidelines regarding things like formatting or titling conventions. This gives the false appearance that the author is ignorant or willfully ignoring those guidelines and conventions. Furthermore, what if text added is controversial? The author could then potentially be accused of, for example, POV-pushing on a wiki that the author has never even edited.
Lowellian (reply) 22:03, 20 December 2017 (UTC)
Is there an example of "false attribution"? You might copy the URL of a diff from a history page on another Wikipedia. Lots of fake books are sold by scammers who have copied various articles. They usually include a list of authors from the history pages to comply with the re-use procedures, so your user name may be printed by them. It's not false attribution. Johnuniq (talk) 23:45, 20 December 2017 (UTC)
Let's have a look at a page that Lowellian created - Template:Undated (Revision history) and the same at bh.wikipedia - bh:टेम्पलेट:Undated (Revision history). Other people made edits, and checking the lists together, there is a remarkable correspondence, apart from one or two users like Enterprisey / APerson which can be explained as a username change back in May 2016. Oh, I see that I'm in both lists too. Did I make this edit? There's no denying it, guilty as charged. Did I also make this edit? Well, it says that I did, but I don't recall ever making that edit on that wiki. However, if that edit is going to be credited to anybody, I'd rather that it was credited to me and not to somebody else pretending that it was their idea. Am I kicking up a stink? No. --Redrose64 🌹 (talk) 23:57, 20 December 2017 (UTC)
If these attribution issues don't bother you, that's fine, but please don't just dismiss others' concerns as "kicking up a stink". I'm not the only one who has raised concerns about the behavior of these imports. Why is it so terrible to have an imported edit be credited to both the original author and the import script via an automated tag? Automated tagging doesn't hurt you in any way, while it improves the situation for those who do care about proper attribution. That's all I'm asking for: that the import script should place a tag indicating, in addition to the original author of the text, that the edit is an import, so that there is a way to distinguish between edits made directly and edits that are imported. —Lowellian (reply) 22:49, 21 December 2017 (UTC)
Do you see the imported edit as saying not only "Lowellian wrote this", but actually "Lowellian personally placed this content on this wiki"?
I don't think that's what's intended. The point is to identify who owns the copyright, not which software database you originally placed the content in. (In your example, the copyright holder would be Alice, not Bob; if Bob copied Alice's text from one article to another, then Bob needs to include an edit summary that identifies either who originally wrote the text or which article it came from). WhatamIdoing (talk) 18:02, 21 December 2017 (UTC)
Having the implication be "this user personally placed this content on this wiki" is not intended, but it is what is happening. That is why it is so important to have some sort of tag indicating that it's an import rather than something written directly. —Lowellian (reply) 22:49, 21 December 2017 (UTC)
Who do you think interprets it that way? Not you, of course, because you already know that's not what happened. Not the admin who imported it, or the regulars at any wiki where importing edits is typical, because they already know how it works. So who do you think would be both aware of these imported edits (i.e., not >99.9% of readers) and honestly confused by it? WhatamIdoing (talk) 01:28, 22 December 2017 (UTC)
The only reason that I even know about these imports is because of those welcome alerts that drew me into this issue. I've been an admin over a decade and still didn't even know about of this import mechanism until I started asking questions in this discussion, which makes it very likely that >99.9% of editors aren't aware there is an import mechanism and upon seeing those untagged edits while examining edit history (which will become ever more common as those wikis grow in the future and more and more editors join and edit) would think they were regular edits and not know that they were imports. This issue is fresh in the minds of the editors here in this discussion right now, but we cannot expect editors outside this discussion to be aware of it years from now. That's why we need a tagging mechanism, so there will be not be any long-term future confusion. —Lowellian (reply) 23:01, 22 December 2017 (UTC)
If you're a regular editor at a wiki where this is done, then you will have seen this in dozens of articles at your wiki. If you don't know, you'll ask, and one of the other regular editors will tell you.
This has been done for years at the German Wikipedia. It looks like you've got about 10 imported edits there for every "real" one you've made directly. The numbers are very similar for me. Apparently, neither of us have ever been asked about those imported edits. I don't think that I've ever seen a question or complaint about an imported edit, and I assume that's true for you, too, or you'd have already known that it was possible to import edits. I therefore think that it's reasonably safe to assume that the likelihood of some hypothetical future editor yelling at us for doing something "wrong" on another wiki is pretty close the actual experience of it never having happened before in all these past years. WhatamIdoing (talk) 07:10, 23 December 2017 (UTC)
Actually, that you're saying that this has been done for years at the German Wikipedia actually raises another issue about there being no way from the edit history to tell when the imports were done. But to get back to the original issue, only a very small number of my edits have thus far been imported to the German Wikipedia, concentrated on a few articles. It is not reasonable to conclude from a small number of imports that that there aren't going to be complaints as the number of imports grows. And I will reiterate that fundamentally, attribution should be correct without needing to be justified. Tagging imports helps the situation for those of us who care about this attribution issue and has no effect on those who do not care, so there's no reason not to do it. —Lowellian (reply) 17:22, 23 December 2017 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── You've had about 200 edits imported to the German Wikipedia so far, which the median editor would likely not describe as a small number, and about as many again across some other wikis (one at tewiki, two at arzwiki, three at gdwiki, orwiki, and lmowiki, six at mlwikisource, eight at hiwiki and simplewiki, 10 at elwiki, 12 at the testwiki, 15 at maiwiki, 20 at bhwiki, 24 at knwiki, 34 at mlwiki, and 52 at the English Wikibooks, for anyone who's keeping count).

And, as the edits are attributed to you, I suggest again that the attribution is already correct. It appears to be your personal preference for attribution to say which wiki you happened to be using at the time your original edit was saved, but I have found no actual requirement to do so. I'll cheerfully admit that I'm wrong on that point when you quote me a line from the license that says that attribution must include information about which sub-domain of which website you first posted your copyrighted content to, rather than just your name.

This is where the disconnect seems to be. You seem to have gotten the idea that there is only one "correct" way to provide attribution, and that this One True Way™ requires four specific details, and the current system provides only three of them. I can find no source that supports your belief that anything more than your username is required. For that matter, I can't even find out whether your alleged requirement of "where it was published" refers to the physical location where it was published, the legal/copyright location where it was published, or the name of the larger work that it was included in. (There is, after all, a big difference between "printed in China", "published in the United States", and "published as part of the Anthology of Something", and (given the realities of printing costs) all three of those might be simultaneously true for any given work.) So at the risk of sounding rather Wikipedian about this, please cite your sources. I've cited mine: the license doesn't mention any requirement beyond identifying (in some fashion) the human who originally created and licensed the work in question, and which work is so licensed. WhatamIdoing (talk) 03:49, 27 December 2017 (UTC) ────────────────────────────────────────────────────────────────────────────────────────────────────

The sources you cite do not support the argument that untagged imports are providing proper attribution. You've cited a license that says that for redistribution, credit must be provided to the authors. But this isn't a simple case of redistribution, and credit has not been provided to the authors. Redistribution should not change the meaning of the underlying text; if it does, then it is not just redistribution, but new authorship. Let's say Alice adds to the article on the planet Earth the text that "The subject of this article is the third planet from the sun," a true statement. Bob copies that same exact text ("The subject of this article is the third planet from the sun") to the articles on Pluto and on mathematics: those statements have now become, respectively, false and absurd. Should Alice be held accountable as a liar or vandal for text that she originated but whose meaning Bob altered by placing it on a different article? No.
Is Bob or Alice the author of that text on Pluto or television? It is at least as much Bob as Alice; Alice may have originated that text, but by placing that text in a different context that changes its meaning, Bob has also become an author. Similarly, since these import scripts are copying text to different articles in different contexts, the import scripts are also an author, and the attribution is wrong when it only credits the originator of the text, since the text no longer has the same meaning in this different context. This is why imports need to be tagged as such for proper attribution.
Lowellian (reply) 00:51, 30 December 2017 (UTC)
Again: Where are your sources, the ones that allegedly support your claim that "Lowellian wrote this" (complete with a link to your account, so that everyone knows which Lowellian we're talking about) does not "provide credit to the author"? I see repeated assertions and a whole lot of IDONTLIKEIT, but I also see zero sources behind those assertions. Can you please provide any (single) plausibly reliable source to back up your personal opinion? WhatamIdoing (talk) 20:06, 2 January 2018 (UTC)
I have absolutely provided a source: the license, which requires credit be provided to the authors. Where are your sources, the ones that allegedly support your claim that the entity posting an edit is not an author? I see repeated assertions and a whole lot of IDONTLIKEIT, but I also see zero sources behind those assertions. Can you please provide any (single) plausibly reliable source to back up your personal opinion? (Note that, for the previous last two sentences, I just reused your words in a different context, that of my argument. In the edit history of this page, this reuse of words is attributed to me, not to you, because their context has been altered as part of this comment that I am posting, demonstrating the principle in question: the editor is an author.)
I don't think you and I are going to reach agreement on this issue, so let's just agree to disagree, since the debate is academic at this point, given that Xaosflux provided below a solution to tag imports.
Lowellian (reply) 20:56, 2 January 2018 (UTC)

Tagging imports[edit]

There's no way to reliably identify old imports to tag the edits, so that's not going to happen. The unexpected creation of accounts should be mostly done since most of the wikis are done. Anomie 13:56, 14 December 2017 (UTC)

But I'm not asking to identify old imports to tag the edits. I'm asking that future imports should tag imported edits as they are being imported. —Lowellian (reply) 20:56, 14 December 2017 (UTC)
@Lowellian: See the history of User:Xaosflux/Sandbox3z (for enwiki) and test2wiki:Male user:Xaosflux/Sandbox3z (for a remote wiki) for how NEWLY imported pages will appear in histories. Does the > identifier satisfy what you are looking for? — xaosflux Talk 22:18, 14 December 2017 (UTC)
@Xaosflux: Yes, that's great, thank you so much, that's pretty much exactly what I'm looking for! :) I don't know how involved you are in the process of these Wikipedia imports; are you in position to actually get that change done immediately for all future imports? —Lowellian (reply) 22:41, 14 December 2017 (UTC)
@Lowellian: I'm not working on the ticket, so here's the situation: any newly imported revisions will follow that already - its already live. The problem that you are seeing is that pages that were imported to projects previously have no information stored to change them in to this new style. — xaosflux Talk 23:20, 14 December 2017 (UTC)
@Xaosflux: Given the lack of stored information on previous imports, I see the difficulty there and am satisfied as long as these identifiers apply to all future imports. But I want to ask for clarification on something: these identifiers will apply to ALL future imports, including imports of edits from SUL accounts, right? Because that was the previous issue: imports of edits of non-SUL accounts were already being marked with an "imported>" identifier before the username, but edits of SUL accounts were not marked/identified in any manner. —Lowellian (reply) 23:52, 14 December 2017 (UTC)
@Lowellian: unless the software changes again in the future, then yes that is the plan for all imports going forward as far as I know, I think it is a good thing. The problem with the other edits is they USED to say your name on them, but in the database they didn't reference your userid, some of these appear to be resolvable, but many were not - in the database cleanup they are now saying "import>NAME" instead of just "NAME", because there is no way for them to know if it should be en:NAME, or es:NAME, or fr:wikisource:NAME, etc. For edits that did match a SUL account from the point of view of the destination wiki they already did match your SUL ID and there is nothing to do. — xaosflux Talk 03:56, 15 December 2017 (UTC)
@Xaosflux: Unless the person doing the import checks the "Assign edits to local users where the named user exists locally" checkbox. If they check that box, then SUL accounts will be attributed to the local name as was done by the maintenance script. As I told Lowellian in this edit, feature requests are better made in Phabricator than by continuing to demand changes here. Anomie 15:10, 16 December 2017 (UTC)
@Anomie: thanks for the clarification. I wasn't demanding anything, but will open a feature request to include an edit type identifier. — xaosflux Talk 15:57, 16 December 2017 (UTC)
See phab:T183061. — xaosflux Talk 16:10, 16 December 2017 (UTC)
  • I can see how the welcome notification when you haven't visited the wiki is annoying. There is no moral or legal obligation to "fix" anything in regards to attribution of your edit. Lowellian: Please see Wikipedia:Copying within Wikipedia. — Preceding unsigned comment added by Killiondude (talkcontribs) 00:05, 15 December 2017 (UTC)
    • It's annoying, confusing, unnecessary and just plain bad design. As is using a lonely bullet point for emphasis. Bullet points belong in bulleted lists. Andrewa (talk) 00:21, 15 December 2017 (UTC)
      • Thank you for your input. Killiondude (talk) 00:50, 15 December 2017 (UTC)
The normal process of copying within Wikipedia attributes that copying, within edit history, to the editor who was actually doing the copying. These imports are copying while attributing the copying to someone who didn't do the copying, to a wiki that they didn't edit. To repeat part of what I wrote above, attribution has multiple components: who wrote something, what was written, when it was written, and where it was written. The problem is that imports without tagging misrepresent at these components: who wrote it (since it is really the import script copying over what someone else wrote rather than that person writing it directly) and where it was written. These attributions aren't accurate because they are edits made to a specific wiki that are now being attributed as edits to a different wiki. —Lowellian (reply) 01:03, 15 December 2017 (UTC)
Regardless, the way it's happening is a confusing and annoying mess. The "welcomes" in unintelligible tongues of men and angels (for all the good they do) are just a symptom.
The problem appears to be, these so-called attributions are undecipherable. If this were not the case, the scripts would not have such problems. And since attribution is required, this is serious. Andrewa (talk) 01:46, 15 December 2017 (UTC)

Auto-created local accounts though no imported contributions[edit]

Here's what I haven't yet understood about this:
So, on wikis where articles previously have been imported, local accounts are created in order to attribute the contributing users. But most or at least some of the newly created accounts that have been reported in this thread have no contributions! Are those accounts just a side effect with no big significance (other than causing annoying welcomes and uncertainty)? Or do they reflect that contributions by that user have been imported, but the details have somehow been lost and won't therefore appear in the contributions list? --Pipetricker (talk) 10:09, 15 December 2017 (UTC)

This recent comment by jhsoby at phab:T181731 seems to say it's basically a side effect, related to Wikidata. (@Anomie) --Pipetricker (talk) 10:38, 15 December 2017 (UTC)
This comment is probably more relevant.  BTW, for some reason your ping didn't work. Possibly because the edit edited another line in addition to adding a comment. Anomie 15:15, 16 December 2017 (UTC)
I don't see how that comment is relevant: I didn't mean to ask about edit counts, but about why for example ilo:Espesial:Contributions/Pipetricker and wuu:Special:用户贡献/PrimeHunter have no contributions listed, when those local accounts were created by the maintenance script. --Pipetricker (talk) 09:59, 17 December 2017 (UTC)

Information vs text[edit]

The issues raised at Wikipedia:Village pump (miscellaneous)/Archive 57#Rogue bot or what on other language wikipedias seem better discussed here. Perhaps I should in hindsight have come here first.

One of the possible problems that occurs to me is really a restatement of the initial problem raised here by Lowellian. Somehow, we've lost sight of the difference between information, which can't be copyrighted but must be sourced by references, and text, which can be copyrighted and so must be attributed.

Accurate translation preserves the information but not the text. So when going from one language wiki to another, the references should be kept, but the attributions should not be.

In English Wikipedia, other language Wikipedias are not acceptable references, so translation into English should not be a problem: The sources are kept, the attributions discarded. Other language Wikipedias may have different policies on this, in which case it may be acceptable to add a reference to English Wikipedia if translating from here. But regardless, the attributions belong only in English Wikipedia.

Am I missing something? Andrewa (talk) 05:55, 16 December 2017 (UTC)

It seems you would be interested in reading derivative work. Killiondude (talk) 06:13, 16 December 2017 (UTC)
Good point but not quite so simple. While translation of a literary work certainly preserves the creative element of the original, the translation of an encyclopedia article does not. The creative aspect of the text of an encyclopedia article is purely in the phrasing (we prohibit original research, for example), and is lost in the translation.
It's a bit of a can of worms with regard to lists, but in general, the translation of an encyclopedia article is not automatically a derivative work.
In fact the better the article is written and the better the translation is performed, the less of a problem this becomes. But it's a very good point, and probably where the paranoia for preserving attributions through translation arises.
Preserving attributions is in general a good thing, and often required, and always important when required. But not as simple as it might appear, as we have been finding out. And playing safe is not always the safest strategy! Andrewa (talk) 07:37, 16 December 2017 (UTC)
Not to impugn on any of your thoughts here, but Wikipedia is a top 10 website. Much time, effort, and legal help has been put into its licensing. Killiondude (talk) 08:15, 16 December 2017 (UTC)
Not to suggest that it's not! But perhaps it is not perfect, despite its popularity? Perhaps fixing this might help us to stay popular?
Nor to suggest that my legal opinion is superior to that of the legal department. IANAL. Lawyers are important (perhaps unfortunately, if Shakespeare is to be believed). But they should never be allowed to tell an organisation what it wants to do. Their role is to help an organisation to decide how best to do it.
This has all the earmarks of lawyers calling the shots. The main problem with the legal perspective is that they tend to want everything spelled out in terms only another lawyer would understand. And isn't that exactly what we are doing with these useless attributions? Ones that even our own coding cannot interpret correctly?
There must be a better way. And yes, the lawyers have a role in finding it. And so does the community. Andrewa (talk) 16:36, 16 December 2017 (UTC)

WikEd blocks the keyboard shortcuts on Google Chrome and Firefox.[edit]

@Imaginelenin: I'm using Firefox v56, and they work fine. Maybe it's a script conflict. Do you have any (other) scripts installed? Have you reset your preferences to test if it works with no [other] gadgets installed? The Transhumanist 13:29, 19 December 2017 (UTC)
thank you @The Transhumanist: I did unistall all other scripts and alt+shift+save worked on Google chrome. I have other wikis and alt+shift+s [save] also works just fine too. So it is definitely an issue with WikEd. Does alt+shift+s work when you have WikEd installed? Imaginelenin (talk) 14:51, 19 December 2017 (UTC)
Testing, testing...
Yes.
@Imaginelenin: What version of Firefox are you using? The Transhumanist 18:02, 19 December 2017 (UTC)
57.0.2 @The Transhumanist:
It works on Firefox! I think the problem was I had the English/Russian language on for Microsoft 10, and those keyboard shortcuts were conflicting with Wikipedia shortcuts. But that doesn't explain why it won't work on Google Chrome!
It still DOES NOT work with Google Chrome.
Let me make a video...
Here is the youtube video: https://www.youtube.com/edit?video_id=11LoI-eSI1Y&video_referrer=watch
Definitely WikEd, as you can see in the video. Thanks for your time Trans :) Imaginelenin (talk) 19:30, 23 December 2017 (UTC)
@Imaginelenin: I don't have nor desire a youtube account. Not sure why the link is protected.
I tried some of the WP keyboard shortcuts in Chromium, while in WikEd, and they do not work. I tried them in the regular editor, and they work. Yep, it's WikEd, just like you said. Updated the report at User:Cacycle/wikEd#Known general issues, and also posted my findings in your thread on the talk page. I don't have time to dig deeper at the moment, but will be certain to return to this issue soon. The Transhumanist 07:32, 29 December 2017 (UTC)

Global object?[edit]

"mw" is the alias for "mediaWiki", the global object.

What is a global object? The Transhumanist 12:58, 19 December 2017 (UTC)

@The Transhumanist: is this a quote from somewhere else, context may help. You may be referring to the meta:Interwiki map. — xaosflux Talk 13:50, 19 December 2017 (UTC)
@Xaosflux: Context, right. See below... The Transhumanist 18:39, 19 December 2017 (UTC)
I think you are talking about a Javascript object. Global variables are declared outside any function, and they can be accessed (used) on any function in the program. Local variables are declared inside a function, and can be used only inside that function. Same thing with global and local objects. mw:ResourceLoader/Core modules Disclaimer: I am not a Javascript expert. (((The Quixotic Potato))) (talk) 17:57, 19 December 2017 (UTC)
@The Quixotic Potato: That link is where I came across the term. At mw:ResourceLoader/Core modules#mediawiki It says:

This is the mediawiki base module. It initialises the mediaWiki global object (with mw as alias). Alias mw is available everywhere and should be used.

But I can't find the definition of "global object" anywhere. As far as I can tell, it means that "mediaWiki" and "mw" refer to the mediaWiki object (initialized by the mediawiki base module) no matter what script they are used in on Wikipedia.
Does that mean scripts on Wikipedia don't need a bodyguard function to protect the mw alias?
Is "global object" a neologism? It would be nice to be able to look up the definition. The Transhumanist 18:25, 19 December 2017 (UTC)
I'll ping @TheDJ: who knows a hell of a lot more about this stuff than I do. (((The Quixotic Potato))) (talk) 18:29, 19 December 2017 (UTC)
mediaWiki is a library using the javascript object structure. It is accessible via the variable name mediaWiki (or mw) in javascript's global scope for variables. Global variables can be written and read by everyone, so they are a bit dangerous to use, therefor we try to limit how many we use, so that we make fewer mistakes. We use bodyguards functions to 'hoist' these global variable names and make them functionally scoped variables (we import jQuery and mediaWiki, and instead of using them directly within the bodyguard, we use by renaming them to the function parameters $ and mw). This has multiple advantages. First, by lifting, we basically get to name them however we want and we can be consistent about that throughout the module (pick one and stick to it). Second, we won't be bothered by other libraries accidentally overwriting the global variable after our code in the bodyguard began executing (these can be very hard problems to debug, as they are cause by someone else's code). Third, it makes it easier to keep track of the global variables that you are using, making it harder to unintentionally use a global variable. For jshint/eslint, we define just the globals that we import with the bodyguard, allowing us to easily spot unintentional global variable usage in any other place in the code. —TheDJ (talkcontribs) 19:47, 19 December 2017 (UTC)
@TheDJ: I don't understand the answer (I was expecting a "yes" or "no" response). Do "mediaWiki" and "mw" have the power of reserved words (in scripts on Wikipedia)? Do scripts on Wikipedia need a bodyguard function to protect the mw alias? I generally include the following, but is it providing any benefit?
// Start off with a bodyguard function to reserve the aliases mw and $
( function ( mw, $ ) {
    // body of program goes here
}( mediaWiki, jQuery ) );
What am I missing?
By the way, I'm still having trouble grasping a particular term. On the page at mw:ResourceLoader/Core modules#mediawiki it says:

This is the mediawiki base module. It initialises the mediaWiki global object (with mw as alias). Alias mw is available everywhere and should be used.

In the quote above, what exactly does "mediaWiki global object" refer to? I look forward to your replies. The Transhumanist 15:31, 30 December 2017 (UTC)
I assume "global" refers to scope (computer science) (especially global scope) whereas object refers to a Javascript object. In other words, it is an object which any program can access on a specific MediaWiki page. Changing some attribute of the object will cause all other programs or scripts accessing the object to be affected. (And for that reason, I assume that the majority of attributes of the object are read-only.) --Izno (talk) 18:35, 19 December 2017 (UTC)
@Izno: Thank you. Any comments on TheDJ's Dec 19 answer above? (I don't get it). The Transhumanist 23:26, 23 December 2017 (UTC)

Simple diff[edit]

Normal diff - text and markup
Simple diff - text only, no markup

I'm looking for someone or a team who can program Mediawiki. I'm sick of squinting at diffs trying to find the text changes amongst all the markup. I want a simple diff option: a diff that shows only changes to article text and none of the markup. To make this simple diff to the right, I (1) copied just the article text from the current version and a historical version of an article (2) pasted my copy of the historical version into a new wiki page and saved it (3) replaced that text with my copy of the current version and (4) clicked "cur" beside the older version in that page's history. It's this process I'd like to be automated. Can anybody help?

I submitted this to the WMF "community tech wish list" last month. There were 214 proposals and this proposal shared 21st place with two others. The WMF community tech team has only been funded to address the ten most popular proposals.

Any volunteers? --Anthonyhcole (talk · contribs · email) 11:08, 23 December 2017 (UTC)

You're referring to meta:2017 Community Wishlist Survey/Reading/Simple diff I assume. Have you tried WikEdDiff? It is a gadget that makes reading changes much easier, with or without syntax changes. --Izno (talk) 15:10, 23 December 2017 (UTC)
I played with it a year ago but was unable to make a diff like this. Maybe I'm doing it wrong or maybe it's evolved in the meantime. Are you able to make a simple diff using it, @Izno:? --Anthonyhcole (talk · contribs · email) 13:44, 24 December 2017 (UTC)
@Anthonyhcole:Please don't use text from Wikipedia, including in screenshot form, without attribution to its author(s); linking to the original page is considered good enough, but a simple statement of "Wikipedia editors" isn't. עוד מישהו Od Mishehu 07:32, 24 December 2017 (UTC)
More at WP:WPSHOT. --Redrose64 🌹 (talk) 07:56, 24 December 2017 (UTC)
Thank you both, Od Mishehu and Redrose64; I hadn't thought about that and will do in future. --Anthonyhcole (talk · contribs · email) 13:44, 24 December 2017 (UTC)
There is already something like this in the works: visual diff. But it needs some further optimization and it needs some better support for changes in big blocks like tables and templates, before it will become available. —TheDJ (talkcontribs) 11:05, 24 December 2017 (UTC)
I'm aware of that and discussed it with James Forrester. Presently, it can't do anything remotely like what I need, and my guess is it will be at least two years before it can. I want this now. --Anthonyhcole (talk · contribs · email) 13:44, 24 December 2017 (UTC)

What if I offered to pay for this?[edit]

Does anybody here have a feel for the amount of labor this task would involve, and so the order of cost? Or do you know anyone who might be able to sensibly estimate the cost? (The task is automating steps 1 to 4 in my opening post.) --Anthonyhcole (talk · contribs · email) 13:44, 24 December 2017 (UTC)

@Anthonyhcole: I've made a userscript in less than 24 hours that basically does what you want: User:Evad37/TextDiff.js. It's a bit rough, quite slow, and probably buggy, but it seems to work on a few diffs that I tested, and refinements should be possible. - Evad37 [talk] 19:10, 24 December 2017 (UTC)
Interesting. How muuch do you want for it, Evad37, and can you show me how to install it (if that's the right word) and use it? --Anthonyhcole (talk · contribs · email) 01:12, 25 December 2017 (UTC)
@Anthonyhcole: See User:Evad37/TextDiff for installation/usage instructions. I honestly didn't do this for any sort of monetary reward (I didn't see you're offer to pay until after I had finished it), so you don't have to pay me anything. But if you still want to reward me with something, whatever you decide would be fine – email me and we'll work out the details. - Evad37 [talk] 03:53, 25 December 2017 (UTC)
Jesus Evad37, you are a machine. The WMF should have hired you years ago. — Insertcleverphrasehere (or here) 04:02, 25 December 2017 (UTC)
I love it User:Evad37 amazing work. Barnstars on it way :-) Doc James (talk · contribs · email) 06:35, 30 December 2017 (UTC)
Evad37, I just tested this too, and it is awesome. Presenting it as a 'toggle' is perfect. I think I will use this quite regularly. I add my thanks to the others. -- Begoon 06:53, 30 December 2017 (UTC)

Non breaking spaces[edit]

Invisible non-breaking spaces are being added to Wikipedia in the 100s. They were added in this edit for example.[5]

Than when one edits the article with WP:WikEd on, the 450 invisible non-breaking spaces turn into these "&nbsp;"

I think this has something to do with WP:VE as the edits adding the invisible hard spaces are always edits via VE.

Have started this phabricator ticket[6] trying to figure out how to get this issue fixed. Others thoughts? Doc James (talk · contribs · email) 08:14, 24 December 2017 (UTC)

I've been getting exactly the same thing for months now and wondering wtf. I've got WikiEd enabled and it only happens when I'm in Visual Editor. Thanks for raising this, James. --Anthonyhcole (talk · contribs · email) 13:59, 24 December 2017 (UTC)
Actually, James, I just checked my preferences and I've got wikiEdDiff enabled, not wikiEd. --Anthonyhcole (talk · contribs · email) 14:31, 24 December 2017 (UTC)
Yes the problem appears to be being generated by WP:VE. Maybe we can look at blocking edits from VE that contain this error? Doc James (talk · contribs · email) 03:39, 25 December 2017 (UTC)
Also see the discussion and comments in phab:T183647. --AKlapper (WMF) (talk) 14:01, 25 December 2017 (UTC)
User:Beetstra as an expert in edit filters, can these invisible hardspaces be blocked? Doc James (talk · contribs · email) 00:28, 26 December 2017 (UTC)
I recommend not setting up an abuse filter for that. The end result will be losing content from users who didn't cause the problem and (in 99% of the cases) can neither see the problem nor fix it. If it bothers you, then you could try to convince WikEd to ask how you want 'invisible' non-breaking spaces to be converted (i.e., to plain spaces or to visible HTML codes). In the meantime, I think you should let the devs look over the bug report and see if it can be fixed first, and if you want that to happen faster, then it'd be really helpful to know exactly how those spaces are getting added. If you directly type non-breaking spaces into the visual editor, then it automagically converts them to normal spaces (in Safari 11/Mac OS 10.12). Whatamidoing (WMF) (talk) 06:44, 27 December 2017 (UTC)
The original description of phab:T183647 is incorrect. It appears that something (VE? copy/paste using an external editor?) is inserting dozens of U+00A0 characters into articles. An edit filter could at least tag such edits so their source can be examined. wikEd was only mentioned because it makes the problem visible when it converts the U+00A0 characters to &nbsp;. Johnuniq (talk) 07:15, 27 December 2017 (UTC)
Yes, the ideal solution is to figure out how some editors are putting non-breaking spaces into articles while using the visual editor, and to stop that. Or, ideally, to stop them from doing it accidentally and allow me to do it intentionally. If you (or anyone) can figure out how to create non-breaking spaces in the visual editor, then please share that information.
But WikEd is relevant: If WikEd didn't blindly convert all of the nbsp's to the HTML code, but instead first asked Doc James whether he actually wanted to convert them to HTML or to plain spaces (especially on talk pages!), then it could be a one-click solution to his immediate problem. Whatamidoing (WMF) (talk) 07:27, 27 December 2017 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── Okay it is fairly easy to verify that their are hidden hard spaces in this version of the article.[7] As it is impossible to seperate "Spine," and "sternoclavicular" in the Signs and symptoms section. It would definitely be best if VE stopped adding them. I will see if I can duplicate the problem. Doc James (talk · contribs · email) 08:25, 27 December 2017 (UTC)

Okay I have just replicated the issue.
1) Take this section of the article Septic_arthritis#Signs_and_symptoms. Hit edit using VE.
2) Copied it here within VE editing mode User:Doc_James/HardspaceTest
3) Copied it from User:Doc_James/HardspaceTest but did not hitting edit in VE first (just copied in reading mode).
4) Pasted it back[8]
5) They appear.[9]
In this version I cannot separate "fever" and "is" so even when not visible they are there. These are NOT being added by WikEd but by VE.
Doc James (talk · contribs · email) 08:31, 27 December 2017 (UTC)
Note that it does not appear to happen if the copying occurred within the edit mode of VE.
The edit filter could explain to people that they need to be in the edit mode before they copy and paste.
Edit mode is also required to bring the references along, so useful advice regardless. Doc James (talk · contribs · email) 08:35, 27 December 2017 (UTC)
It's not easy to see U+00A0. Two browsers that I have tried copy them as normal spaces. I used wget to download
"https://en.wikipedia.org/w/index.php?title=Septic_arthritis&oldid=817270489&action=raw"
and searched the file for U+00A0. As Doc James reports, his 08:28, 27 December 2017 edit introduced several of them. For example, the red asterisks in the following show where the edit replaced a normal space with U+00A0.
joint rigidly.*Fever*is also a symptom
For testing, I could write a Q&D module to show U+00A0 if it were really needed, but an edit filter to tag them would be better. Johnuniq (talk) 09:07, 27 December 2017 (UTC)
User:Johnuniq how would we go about creating an edit filter?
I have started a request here as I do not know how to make one myself. Doc James (talk · contribs · email) 09:26, 27 December 2017 (UTC)
Sorry, I can't help create a filter, but I commented at the filter request. Writing a filter requires experience. Johnuniq (talk) 09:48, 27 December 2017 (UTC)
The edit filter (as proposed, to "explain to people that they need to be in the edit mode before they copy and paste") is too late. Imagine a new editor doing this. He works for an hour to get sourced information ready. Then he tries to save his changes. What happens then? He gets a note from the AbuseFilter that basically says, "Hey, probably about 57 minutes ago, you should have magically known that you needed to click an extra button before copying something. Now, somewhere in your changes, there's at least one non-breaking space, which (a) you can't see, (b) you can't find, and (c) you might not be able to fix even if you do." What do you think he's going to do then, other than feel bad?
Until the problem can be fixed properly (which could be as soon as next week), I think it's better to leave the hapless, innocent editor alone and clean these spaces up later. Which, as I've repeatedly said, would be a lot easier for some editors to do if WikEd included an option for stripping pre-existing invisible nbsps, instead of always converting pre-existing invisible nbsps to their visible HTML code. Whatamidoing (WMF) (talk) 17:35, 27 December 2017 (UTC)
The discussions on this are confused. An edit filter should merely tag insertions of U+00A0 without notifying anyone. That is needed for a few days to gather evidence about whether there is a significant issue. WikEd is not relevant except that it reveals the problem. The underlying issue (if significant) should be fixed.
The problem is seen at Septic arthritis:
  • An edit by a new user (tagged Visual edit) occurred at 00:30, 23 December 2017: diff.
  • That changed the first of the following permalinks to the second:
I had to download the permalinks with wget to verify the above. Why did VE insert 234 U+00A0 characters? Are other examples available? Johnuniq (talk) 01:12, 28 December 2017 (UTC)
So yes we need to simple start by tagging the problem
Agree it would be nice if WikEd gave the option of removing rather than converting these (agree the problem is not created by WikEd but they could be part of a temporary solution)
The Visual Editor team needs to fix this. Certainly they can be given a few more weeks.
Doc James (talk · contribs · email) 05:43, 28 December 2017 (UTC)

How to quote a poem in a citation template's |quote= ?[edit]

Resolved

Use–mention distinction#Notes has a footnote (not written by me) which quotes a limerick. The limerick is formatted using : and :: wiki markup, but the (required) preceeding line breaks lead to line feed character in |quote= at position 245 (help). Is there a right way to do this? 23.83.37.241 (talk) 09:40, 24 December 2017 (UTC)

This has been resolved by another editor. Thanks for reporting it. Wtmitchell (talk) (earlier Boracay Bill) 07:55, 25 December 2017 (UTC)

The Wikitext Infobox in an article has been broken and I don't know how to repair it )[edit]

Resolved

Offset_(rapper)

I hope this is the right place to make this request. At some point, an editor broke the Infobox on this Wikipedia page, and I don't yet have the knowledge to repair it. Thank you. Beauty School Dropout (talk) 05:22, 25 December 2017 (UTC)

Problem has been solved by another editor. Thank you. Beauty School Dropout (talk) 05:31, 25 December 2017 (UTC)

URLs of Wikipedia articles in print[edit]

Merry Christmas everyone. I was just wondering whether there's a template that display the URLs of Wikipedia pages in print.--Nevéselbert 13:39, 25 December 2017 (UTC)

You do not need a template. You can use {{fullurl:{{FULLPAGENAME}}|printable=yes}}, which produces this. Ruslik_Zero 19:25, 25 December 2017 (UTC)

Problem with named footnote[edit]

Resolved

The Population decline complains, "Cite error: The named reference bizweek was invoked but never defined". I took a look, and it looks as if it is defined OK to me. I'm probably missing something which should be obvious; could someone else please take a look? Thanks. Wtmitchell (talk) (earlier Boracay Bill) 00:53, 26 December 2017 (UTC)

another <ref> was missing its </ref>.
Trappist the monk (talk) 00:58, 26 December 2017 (UTC)
Thanks. I thought to go look for that while you were responding with astounding rapidity. I fixed it. Thanks. Wtmitchell (talk) (earlier Boracay Bill) 01:02, 26 December 2017 (UTC)

Is there a template for Country/The Country?[edit]

Resolved

Do we a have template to check whether a country's name is prefixed with "the" in running text?

Something which would take the name of a country, and return it with or without the prefix as appropriate.

e.g.

  • {{TheCountry|Canada}}Canada
  • {{TheCountry|Comoros}}the Comoros
  • {{TheCountry|Japan}}Japan
  • {{TheCountry|Gambia}}the Gambia
  • {{TheCountry|Spain}}Spain
  • {{TheCountry|United States}}the United States

or maybe just return either "the" or nothing e.g.

  • {{TheCountry|Canada}}
  • {{TheCountry|Comoros}}the
  • {{TheCountry|Japan}}
  • {{TheCountry|Gambia}}the
  • {{TheCountry|Spain}}
  • {{TheCountry|United States}}the

I vaguely remember finding something like that before, but may be mistaken. --BrownHairedGirl (talk) • (contribs) 19:48, 26 December 2017 (UTC)

Duh. Facepalm
I made it myself, in January: {{CountryPrefixThe}}. --BrownHairedGirl (talk) • (contribs) 20:11, 26 December 2017 (UTC)
What an interesting idea! Do you think it could be used to fix this ambassador-article-naming problem? – Jonesey95 (talk) 21:11, 26 December 2017 (UTC)
Yes, @Jonesey95. Looks like it would solve that problem. --BrownHairedGirl (talk) • (contribs) 21:24, 26 December 2017 (UTC)

Mobile viewing of closed discussions[edit]

When reading discussion pages (usually ITNC) in mobile view, the standard archive template used there (ITNC) displays irregularly, with several screen's worth of blank space between the top closing statement and the actual discussion. Is this normal? A lad insane talk 21:23, 26 December 2017 (UTC)

Same with {{archive top}} ... {{archive bottom}}. -DePiep (talk) 11:04, 27 December 2017 (UTC)
Wikipedia:Village pump (technical)/Archive 158#template:Archive-top on mobile? Anomie 18:37, 28 December 2017 (UTC)

User contributions[edit]

User contributions has changed. It used to have a From year (and earlier) box and a From month (and earlier) box which was simple and quick to use. It now has a From date and To date box, which requires some fiddling to get to the year and month required. Also, sadly, it doesn't work at all for me. I suspect it may be because I have javascript disabled by default on my main browser. However, when trying it out on a browser with java enabled, though it was more responsive, it still did not take me to the year I wanted. Is there a way I can return to the previous system? SilkTork (talk) 23:15, 26 December 2017 (UTC)

On my device, I do get the date selector dialog, but I am still able to directly type in the date in YYYY-MM-DD format. Does that not work for you? 🎄BethNaught (talk)🎄 23:19, 26 December 2017 (UTC)
I am now using a third browser, which allows all scripts, and on that it does work. So, it seems to fail if java is disabled (which is my preference), and if noscripts is running. On your device I assume you are running java. If you turn off java, you'll see the problem.
Is it possible for me to do a user contributions history search without having to enable java? And, preferably, using the previous system which was quick and easy. SilkTork (talk) 23:27, 26 December 2017 (UTC)
Yes, when I disabled JavaScript I ended up without direct text input. I can't answer your other question, sorry. If nobody can help I suggest you open a Phabricator task. 🎄BethNaught (talk)🎄 23:32, 26 December 2017 (UTC)
Thanks Beth. Sometimes when there are technical changes which create user difficulties, somebody develops a fix or workaround which can be used. If there is one, perhaps someone will direct me to it. SilkTork (talk) 00:09, 27 December 2017 (UTC)
@SilkTork: Works for me; Both with javascript enabled, and with javascript disabled (BTW Java is something different). I suspect this is due to the usage of noscript, which blocks execution of certain scripts, instead of actually disabling scripting, which makes it very simple to accidentally break the website. Likely the website detects that you have javascript capabilities and starts running on that assumption, then you block some, but not all of the Javascript and stuff gets confused. Usage of no script is NOT supported, just to be clear. —TheDJ (talkcontribs) 09:44, 27 December 2017 (UTC)
Thanks for that. Yes, I meant javascript throughout. I'm looking at my browser configuration to see what it is that I've done that may be breaking the code. I have noscript on my Waterfox, but not on Opera, my main browser, because it's rather interfering! SilkTork (talk) 09:55, 27 December 2017 (UTC)

NOINDEX[edit]

How did User talk:The359 get to be in Category:Noindexed pages? User:The359 does not know; see User talk:The359#NOINDEX. —Anomalocaris (talk) 07:16, 27 December 2017 (UTC)

John of Reading discovered the reason: I pasted the whole of this talk page into Special:ExpandTemplates to track it down. In the January 2017 section, above, there is an {{Unblock-auto reviewed}} template; that template calls {{vandal}} to display some links about the IP address; and that template includes the __NOINDEX__ keyword. And, finally, pages containing that keyword are automagically placed in the category. עוד מישהו Od Mishehu 11:09, 27 December 2017 (UTC)
עוד מישהו: Thanks for the explanation! —Anomalocaris (talk) 02:50, 30 December 2017 (UTC)

Edit filter question[edit]

Moved to Wikipedia:Edit_filter_noticeboard#Article_age_variable: To prevent forking. — xaosflux Talk 19:46, 27 December 2017 (UTC)

Twinkle and bot edits[edit]

Resolved: Question has been answered. For further discussion, see WP:VPR#Twinkle's "unlink backlinks" feature and meatbot edits; for the drama, see WP:ANI#Near-orphaning of English language. – Uanfala (talk) 20:48, 27 December 2017 (UTC)

Anyone has an idea what's happened here. That's over 400 edits done by a single user in the space of two minutes, all apparently bearing a Twinkle tag in the edit summary. I know you can write anything in your edit summary (like link to Twinkle without actually having used the tool), and there's apparently nothing physically stopping users from running unauthorised bots, but that still appears somewhat strange. – Uanfala (talk) 18:24, 27 December 2017 (UTC)

Could it have been the editor used it to avoid being stopped by an edit filter? (Hoping someone with familiarity with current filters will chime in.) Killiondude (talk) 18:44, 27 December 2017 (UTC)
Ah, it turns out they've used Twinkle's unlink backlinks feature (thanks Galobtter for pointing this out!). Mystery solved. But then this leaves me wondering how on Earth is access to this feature not restricted in some way, given its potential for wreaking havoc? – Uanfala (talk) 19:11, 27 December 2017 (UTC)
You know, when I learned about that feature, I too had (and have) the same question of "huh?" how is anyone with over 10 edits have access to that feature. There should be some sort of guideline on it. Maybe WP:BEANS though; but i'd say surely he should've gotten consensus for that first. Galobtter (pingó mió) 19:20, 27 December 2017 (UTC)
there is some limit. Both inside twinkle, and the server has rate limits. Anyway. Twinkle doesn't allow you to do anything you couldn't do by opening 400 browser windows. It's your perception that assumes this is a lot of edits, but it really isn't that much. :) —TheDJ (talkcontribs) 09:12, 29 December 2017 (UTC)

Sidebar problem[edit]

I am currently experiencing an issue with a particular sidebar, which I brought up before Christmas here. Screenshot.--Nevéselbert 21:13, 27 December 2017 (UTC)

I seem to be unable to reproduce the problem. Are you using IE 11 (v11.125.16299.0) on Win10? What is the zoom level and screen size? (((The Quixotic Potato))) (talk) 17:56, 28 December 2017 (UTC)

Watchlist issue?[edit]

Resolved

Hi, my watchlist appears as empty and I'm getting a Below are the last 0 changes in the last 0 hours, as of 28 December 2017, 12:09 message despite having more than 4000 pages on my watchlist. Anyone is having the same issue? -- Luk talk 12:11, 28 December 2017 (UTC)

@Luk: Go to Preferences → Watchlist and make sure that "Days to show in watchlist:" and "Maximum number of changes to show in watchlist:" are both positive and non-zero. --Redrose64 🌹 (talk) 12:16, 28 December 2017 (UTC)
@Redrose64: yay thanks! Days to show in watchlist was set to 0. Weird... -- Luk talk 12:23, 28 December 2017 (UTC)
At one time, 0 was interpreted as "maximum legal value", which for Days to show in watchlist: was 30. A few weeks ago, they altered it to be treated literally. --Redrose64 🌹 (talk) 12:26, 28 December 2017 (UTC)

I froze my sandbox[edit]

Hi while drafting a new article I evidently piled in too many templates or something. The result is I can’t access my sandbox in any browser any more, it just times out. Same for other editors who’ve tried from their machines. Is there any clever way of just zapping everything in my sandbox so I can start again? Many thanks.Mccapra (talk) 14:12, 28 December 2017 (UTC)

Tag the page with {{db-u1}}, an administrator deletes it, make the page again, and then ask an administrator to restore the deleted revisions. --Izno (talk) 14:15, 28 December 2017 (UTC)
How is tagging going to be possible if one cannot even access the sandbox? It isn't working for me either. Galobtter (pingó mió) 14:17, 28 December 2017 (UTC)
I was able to access the page. I use Firefox 57 on Windows 8 FWIW. It's very odd that the user can't access the page as there's only about 2kb of wikitext. What browser and OS are you two using? I've just reverted to the September blanking. --Izno (talk) 14:21, 28 December 2017 (UTC)
Also, what gadgets/Javascript are you two loading? --Izno (talk) 14:22, 28 December 2017 (UTC)
Works on firefox for me, not on chrome. On firefox it is slow to load but it loads. Galobtter (pingó mió) 14:30, 28 December 2017 (UTC)
@Mccapra: I deleted User:Mccapra/Sandbox for you. — xaosflux Talk 14:35, 28 December 2017 (UTC)
wow that was quick! Thank you all very much for your help!Mccapra (talk) 15:13, 28 December 2017 (UTC)
For those wondering how to edit an un-readable page: You can hand-edit the URL without first visiting the page to read it. Just tack ?action=edit onto the end of the regular URL that won't load, or ?action=submit if you have the beta feature for the 2017 wikitext mode enabled, and you want to bypass that in favor of the 2010 WikiEditor. Whatamidoing (WMF) (talk) 18:39, 28 December 2017 (UTC)
Or you can supply a delete link for an admin to action, by using ?action=delete and pasting the result into a discussion page that admins are known to visit. If you really want to be complete about it, use ?action=delete&wpReason=%5B%5BWP%3ACSD%23U1%5D%5D%3A+User+request+to+delete+page+in+own+userspace The %5B%5BWP%3ACSD%23U1%5D%5D part is merely an encoding of the link WP:CSD#U1. --Redrose64 🌹 (talk) 22:43, 28 December 2017 (UTC)

Bot removal of <center> in Template:US Census population[edit]

I have requested approval for a bot (BRFA) to remove <center> where it is present inside |footnote= of {{US Census population}} and to replace it with |align-fn=center, in the mainspace. This would cause approximately 20,000 edits, mostly to articles on US locations.

I am looking to do this as part of the WP:Lint effort as <center> is an obsolete HTML tag. From a visual point of view today, there would likely be no change for the majority of readers. From an non-visual point of view, these tags cause validation warnings. At some point in the future (either in MediaWiki or in your Internet browser), these tags will not appear as they do today (it is likely that the tag will either be silently ignored, or displayed as the literal string <center>centered thing</center>).

This first effort is a low-hanging fruit out of the 16 million obsolete tag errors. This task would not be authorized to remove <center> everywhere. (<center> is sometimes context-sensitive, especially in tables where there are superior replacement options.)

Your feedback is appreciated. --Izno (talk) 17:54, 28 December 2017 (UTC)

I want to say: Thank you for working on this huge and important project, whose goal is to fix pages now, so that some upcoming technical changes to MediaWiki parsing don't result in readers getting visibly broken pages. I appreciate and admire your dedication, and I hope that other technically minded folks will pitch in to help out. Whatamidoing (WMF) (talk) 18:36, 28 December 2017 (UTC)
I don't know how the Wikipedia template software works, so I have a question. Instead of making 20K edits, is it possible to instead have the template ignore the <center> code and not emit it back out when it generates the HTML? RudolfRed (talk) 23:43, 28 December 2017 (UTC)
The template could do this, but that makes both the template itself and the page in which the template is placed more complex (without obvious good reason besides avoiding bot edits--the purpose of the template doesn't require the additional complexity), and additionally it requires expensive processing of the input.
The direct answer aside, these are probably going to come off these pages with some other bot run in some way. There are approximately 80k pages in total of this particular tag, and the vast majority are not inside templates. --Izno (talk) 00:06, 29 December 2017 (UTC)
One other point: teaching newbies to use better syntax is easier when they do not have bad examples to follow.
I did have an aside that PrimeHunter didn't touch on but which came to mind: instead of adding the |align-fn=center, it might be easier just to remove center and then add the alignment by default in the template. --Izno (talk) 00:24, 29 December 2017 (UTC)
Seems fine to me, though I would advise a low edit rate (because people are weird about that). I also think you should just make the style for that template centered by default, instead of adding align-fn=center, if in any way possible without being too disruptive. One more thing you should check, is if there is any images or other block content, as <center> enforces both text and block alignment, whereas those are two different things in CSS. —TheDJ (talkcontribs) 09:06, 29 December 2017 (UTC)
@TheDJ: As it happens, 18.5k are using <center> and 6.5k are using align-fn to center the text (total 25k of the 30k uses), so I've just made the default text alignment centered. I'll plan to remove the center tags only now.
In the limited (anecdotal--set was not random) AWB run I've already done on IznoRepeat, I didn't see any files or other block content. Although my regex-fu isn't strong, this is a search that would capture the file/image case, all of which are false positives (I did not realize insource could capture newlines with the . class--+ too). Every other block content is either unaffected by the difference (lists and tables would have a slight rendering delta due to the block centering lost, but I don't see a big issue in the context of these tables) or invalid in wikitext (figure/video/canvas) given the default styling of browsers for the tag in question. --Izno (talk) 14:10, 29 December 2017 (UTC)

I totally support the removal of the html center tag. -- Magioladitis (talk) 18:23, 31 December 2017 (UTC)

I'm not particularly familiar with this issue, so maybe you should ignore this comment as clueless :-) Is there a way that the template could be coded so that it interprets <center as |align-fn=center? If so, what's the point of making all these edits? If you can't, I agree that a bot run should be performed. Nyttend (talk) 23:50, 31 December 2017 (UTC)

@Nyttend: See response to RudolfRed above, broadly, as well as the first paragraph in re to TheDJ. TL;DR: No, not clueless, your suggestion is possible. However, this is only the low-hanging fruit of an effort to remove these everywhere, and given the quantity, those removals will need to be botted also. --Izno (talk) 06:42, 1 January 2018 (UTC)
I'd stopped reading halfway through this discussion; I saw the response to RudolfRed but not the part about making the template centered by default. Thank you for the pointer. Nyttend (talk) 12:22, 1 January 2018 (UTC)

Should pages of the namespaces:Draft, Template and User be included in Category:Commons category template with no category set[edit]

Hello,

I would like to raise the attention to some questions I rose on Category talk:Commons category template with no category set#Should pages of the namespaces:Draft, Template and User be included in this category? here in order to reach a bigger number of users.

many thanks for your attention and for your feedback on this topic. --Robby (talk) 22:08, 28 December 2017 (UTC)

Search for multiple incategory tags: doc/functionality is broken?[edit]

Context: Wikipedia:Help_desk#Search_question.

Help:Searching#Parameters gives that example for a double incategory: search, but the resulting output is empty (which it should not be, for instance Brooklyn bridge should pop out). I am not sure if that is a problem with the search itself, with the handling of subcategories, or something else entirely. TigraanClick here to contact me 14:19, 29 December 2017 (UTC)

@Tigraan: incategory doesn't look in subcategories. --Izno (talk) 14:33, 29 December 2017 (UTC)
OK then... (1) Is there a way to search through subcategories? (2) Shouldn't the doc be corrected, then? TigraanClick here to contact me 14:39, 29 December 2017 (UTC)
(2) Possibly. I didn't review the doc.
(1) You have to use another tool such as WP:Petscan, but that's less a search and more a query. Try it, see if you like it. --Izno (talk) 15:13, 29 December 2017 (UTC)

Throttle on the number of edits per minute from a single user?[edit]

Does the Mediawiki software have any built-in defence against unauthorised bots? Is there any way to detect high editing rates coming from a single user? Does some sort of throttle exist? If not, is it technically feasible to introduce one? – Uanfala (talk) 17:46, 29 December 2017 (UTC)

Our current configuration is 8edit/min for non-logged in and very new users. — xaosflux Talk 17:50, 29 December 2017 (UTC)
I believe there are different limits for different actions, but admins and bots are exempt from them (just as well because I made >400 edits in two minutes the other day). HJ Mitchell | Penny for your thoughts? 17:53, 29 December 2017 (UTC)
Correct, for example it is 20 Special:Email/day for normal users. — xaosflux Talk 17:55, 29 December 2017 (UTC)
Here is someone making 400+ edits in two minutes, see Wikipedia:Village_pump_(technical)#Twinkle_and_bot_edits. (((The Quixotic Potato))) (talk) 17:56, 29 December 2017 (UTC)
See Wikipedia:Village_pump_(proposals)#Twinkle's_"unlink_backlinks"_feature_and_meatbot_edits for a discussion on that. — xaosflux Talk 17:58, 29 December 2017 (UTC)
From a technical point of view, we could change the edit rate across the entire project, it would need a well discussed RFC to do it. As @HJ Mitchell: mentioned above, certain accounts (like admins and bots) are exempt. — xaosflux Talk 17:59, 29 December 2017 (UTC)
@Xaosflux: Are these limits documented anywhere? Perhaps Wikpedia:Rate limits should be turned blue? HJ Mitchell | Penny for your thoughts? 18:35, 29 December 2017 (UTC)
@HJ Mitchell: see InitialiseSettings (search page for wgRateLimits). For the tech manual on this configuration see mw:Manual:$wgRateLimits. — xaosflux Talk 18:43, 29 December 2017 (UTC)
  • So where should a proposed threshold be, in edits per minute? It needs to be high enough so that it lets in those who use AWB at a rate where they're able to review individual edits. And it should be low enough so it stops other Twinkle unlink incidents (or people running AWB too fast to see what they're doing). Are there any acceptable editing practices that will become difficult with such a limit? – Uanfala (talk) 20:00, 29 December 2017 (UTC)
  • Most proposals get at least linked to Wikipedia:Village pump (proposals), you could blue link Wikpedia:Rate limits, document the current and discuss on the talk (with discussion links in from well advertised venues) - it would be worth spending time drafting and discussing to determine (a)what is the actual current problem (b)is there an existing way to deal with this? (c)what are the edge cases?. Twinkle automation, AWB, etc are all things to consider. The throttle is in edits per seconds so it could be 100 per min, 1000 edits per hour, 10 edits per second, etc - I don't think they can be stacked (e.g. 10edits per second AND 50 edits per min). The throttle can apply to a usergroup, and different throttles can apply to different user groups. — xaosflux Talk 20:25, 29 December 2017 (UTC)
  • This seems like an overreaction. The rate limits are to protect the entire project, not against abusers of a single tool. As the tool notes: "Warning: You take full responsibility for any action you perform". The rate limits are very high for a reason, because during normal use they should NEVER be tripped. I consider the usage referred to as a 'normal' usage of the servers and as such they should not be adapted. The rate limits have so far not been documented per WP:BEANS. I currently don't see the need, it's not like something like this happens every month or so. —TheDJ (talkcontribs) 22:03, 29 December 2017 (UTC)
    From a less VPT perspective, I agree mostly with TheDJ here; it appears this conversation is driven by a behavioral edge case - and those can be controlled administratively. — xaosflux Talk 00:13, 30 December 2017 (UTC)
    Well, if there's an easy method to prevent such behavioural "edge cases" from occurring, and if this method does no collateral damage, then it should be the default choice, no? For me, the question is whether there is such collateral damage. That's why I'm wondering if there are any situations where it's acceptable for a user to be editing at bot speed without having a bot tag. – Uanfala (talk) 01:36, 30 December 2017 (UTC)
    And for the record, I don't think it's only edge cases. True, Twinkle unlink fails get to ANI about once a year. But we don't know how many get solved without the drama, and we know that Twinkle's unlink feature is not the only tool that can be misused. I occasionally witness (and quietly deal with) AWB cock-ups that would have never occurred had the perpetrator been forced to actually see what they were doing (as they were supposed to anyway, and not that they don't know it: in one of those cases it was an admin who did that). – Uanfala (talk) 01:44, 30 December 2017 (UTC)
  • Strong oppose. At the very least, admins need to be able to quickly revert large-scale vandalism, even if the vandal figures out a way to get away with doing it slowly. There are also definitely circumstances where I have needed to make rote edits more quickly than proposed, to tackle large tasks. bd2412 T 02:15, 30 December 2017 (UTC)
    • So there are situations in which it's legitimate for a non-admin to be making edits at bot speed without bot approval? Just for the avoidance of doubt, I haven't made any proposal, nor have I named anyone or tried to stop them from pursuing their favourite projects. I'm just trying to find out if there are such projects that will get disrupted. – Uanfala (talk) 02:27, 30 December 2017 (UTC)
      • Large scale disambiguation fixes following a consensus-based page move would be an appropriate time for a trusted editor—admin or not—to make edits at such a rate. I can easily do forty edits a minute that way. bd2412 T 02:43, 30 December 2017 (UTC)
        • This is precisely the most common situation in which I've witnessed AWB cock ups. But again, if an editor is capable of making forty edits per minute and sees what they're doing, I see no problems in that: any hypothetical proposed limit will anyway be around a similar number. – Uanfala (talk) 03:02, 30 December 2017 (UTC)
    • @BD2412: please note: Account creators, Bots, Bureaucrats, Stewards, and Administrators (and a few global groups) are exempt from ratelimits. Any change to that setting would not impact them. — xaosflux Talk 03:06, 30 December 2017 (UTC)
      • Still leery of throttling if applied to long-term trusted editors. If we're talking about comparatively untested accounts, that's different, but it's not clear to me that any leeway is being suggested. bd2412 T 03:09, 30 December 2017 (UTC)
        • @Bd2412: I'm not really advocating for this, but technically a "fast editors" type of configuration could be tied to an existing user group (e.g. rollbackers, extended confirmed) or yet another new group could be made to set a different limit. {E.g. (ip/newbies get 8edits/60seconds), ("fast editors" get 50edits/60seconds), (exempted are still exempted)}. — xaosflux Talk 16:51, 30 December 2017 (UTC)
Reasonable, fast but not limitless, enough to prevent major disruption. Galobtter (pingó mió) 17:18, 30 December 2017 (UTC)
Of those responsible for the situations that brought me here, more than half happen to hold various sorts of semi-advanced permissions, so I don't think tying the configuration to a particular group will have enough of a benefit. And I don't know if introducing the complication of a dedicated new user group will be commensurate with the scale of the problem that this will be trying to solve. – Uanfala (talk) 17:47, 30 December 2017 (UTC)
Ehh, 50 edits per minute is still slower, and would've meant it would've taken 8 minutes for him to do that instead of 1. Galobtter (pingó mió) 17:52, 30 December 2017 (UTC)
Well, 8 minutes is not much different from 1 minute: the community's reaction times are generally slower than that. But then that's an issue with any reasonable rate limit. As far as I understand the settings, if a user exceeds the limit then they get html error 500. This is so generic that I suspect the user is unlikely to figure out why this has happened. Is there any way to throw up a more meaningful message, something along the lines of "The wikipedia servers have detected that you're going too fast. Please have a look at the bot policy and the guidelines for automatic editing."? – Uanfala (talk) 18:08, 30 December 2017 (UTC)
@Uanfala: I expect it would have caused their process to end when it hit an error, then would have to be manually restarted afterwords - over and over again. It would not prevent them restarting, but perhaps would pause to reconsider. — xaosflux Talk 18:12, 30 December 2017 (UTC)
@Uanfala: Also, they wont get a 500 error, they will get: MediaWiki:Actionthrottledtext, this unexpected result may make client side scripts (like Twinkle) fail out though. — xaosflux Talk 23:38, 30 December 2017 (UTC)
It actually returns a 429 (too many requests) along with that message. Bots & user scripts like Twinkle could use this and provide useful feedback to the editor. FACE WITH TEARS OF JOY [u+1F602] 14:43, 31 December 2017 (UTC)
Well, this is more helpful then. I got the reference to error 500 from mw:Manual:$wgRateLimits. – Uanfala (talk) 17:23, 31 December 2017 (UTC)
On an earlier question: Reverting vandalism is not an admin-only task. Therefore, that, too, is a situation in which it's legitimate for a non-admin to be making high-speed edits.
Also, if null edits and purging are rate-limited (I don't know if they're counted the same way), then there wouldn't necessarily be anything to "see". WhatamIdoing (talk) 20:16, 2 January 2018 (UTC)

KML data for Wilts & Berks Canal article[edit]

There seems to be a problem with the kml data on the Wilts & Berks Canal article. In the "Map of route" section, there is a GeoGroup template, with options to show all co-ordinates on Google maps and on OSM. Clicking the Google maps option works ok, and shows the 20 or so points on the map. Clicking on the OSM option shows just a single point, and when you click on the description in OSM, it takes you back to the article on Wiltshire, rather than the Wilts & Berks Canal. I have tried replacing the GeoGroup template with a kml template, but that looks and works in the same fashion. I have checked the OSM option on several other canal articles, and they all work fine. It feels like the kml data that is passed to OSM is for the wrong article (ie Wiltshire), and that flushing something somewhere might fix it, but I have no idea if this is the case of not. Cheers. Bob1960evens (talk) 18:11, 30 December 2017 (UTC)

I think I may have found part of the solution. It appears that the ampersand in the title Wilts & Berks Canal confuses whatever invokes OSM, and it picks up the data from Wilts_, rather than Wilts_&_Berks_Canal. I don't know if anything can be done about that, or whether this should now be reported as a bug, and if so, where? Bob1960evens (talk) 18:16, 30 December 2017 (UTC)
Yes, it looks like some weird urlencoding thing - the template tries to encode the & as %26, then osm4wiki on the toolserver encodes that again into %2526, and it then seems to treat this as the end of the page title. Seems to be a bug in osm4wiki and I'm not sure how to report that.
There is a workaround, though! If you tell the template to look at Wilts and Berks Canal, which is a redirect to the ampersand title, it follows that redirect okay and picks up all the points - it displays a little bit clunkily but it's definitely functional. {{GeoGroup|article=Wilts and Berks Canal}}. I've made the change on the page. Andrew Gray (talk) 00:05, 31 December 2017 (UTC)
There are maintainers listed at https://tools.wmflabs.org/admin/tool/osm4wiki. PrimeHunter (talk) 00:18, 31 December 2017 (UTC)
Thanks for your help. Bob1960evens (talk) 09:57, 1 January 2018 (UTC)

How did this happen?[edit]

A few minutes ago, I decided to take a quick glance at the New Pages Feed. When filtered to articles created "by newcomers," three appeared on the list: Qasymbek Arabin, Allan Katerega, and Marcus Van Wattum. The first article was created on December 28 by an IP. This case is especially remarkable; I thought IPs had been forbidden from creating article for over a decade, ever since the Seigenthaler incident. The latter two articles were created by non-autoconfirmed users on December 5 and 27, respectively. Both dates are after the implementation of the ACTRIAL.

Is there some kind of loophole here? Biblio (talk) 02:02, 31 December 2017 (UTC)

Drafts moved to mainspace... The 3rd one by a new user, as soon as they became autoconfirmed, maybe a COI, from username - but nevertheless, moved by autoconfirmed user. -- Begoon 02:20, 31 December 2017 (UTC)
I see. Evidently, some AFC reviewers do not mark pages as patrolled when they move them. Biblio (talk) 02:32, 31 December 2017 (UTC)

File deletion - small bug[edit]

I just deleted file:Sui_Dhaaga_2018.jpg and got the message back:

"Sui Dhaaga 2018.jpg" has been deleted undelete | salt.

Note that in the undelete and salt links there is a "File:" missing. Please fix. — RHaworth (talk · contribs) 13:12, 1 January 2018 (UTC)

I just undeleted and redeleted it, and the message is identical. But it's not just this one; I got the same links with File:Nyttend's bad link alignment.png. Commons is different; I just deleted c:File:Kukoamines 2D Structure.png and got links to c:Special:Undelete/File:Kukoamines 2D Structure.png and c:Special:WhatLinksHere/File:Kukoamines 2D Structure.png. Nyttend (talk) 13:37, 1 January 2018 (UTC)
It must have been caused by this this edit to MediaWiki:Filedelete-success. I have made a fix.[10] It didn't work a minute after my edit but there is sometimes a delay before edits to the MediaWiki namespace take effect. PrimeHunter (talk) 14:26, 1 January 2018 (UTC)

Lang template[edit]

The {{lang}} template (i.e. not the lang-xx ones such as {{lang-de}}) now seems to automatically make the target text italicised. It didn't use to, but now for example {{user de-1}}, which uses the template, is all in italics, this has happened in the last few days I think, though the last edit to Template:lang was made weeks ago. Does anyone know what happened and why? – filelakeshoe (t / c) 00:52, 2 January 2018 (UTC)

The template was recently rewritten to use Lua, so most of the action now happens at Module:Lang. I haven't been following the recent developments but the italics question figures quite prominently in several thread on the template's talk page. – Uanfala (talk) 01:07, 2 January 2018 (UTC)
It looks like adding |italic=no to {{lang}} in the user box would remove the italics. Johnuniq (talk) 02:19, 2 January 2018 (UTC)
Seems to me that this text should be italicized on en.wp. --Izno (talk) 14:02, 2 January 2018 (UTC)

Template:Timecell[edit]

Template:Timecell doesn't show the correct date in the Chinese calendar, and purging doesn't help. The problem might be caused by Template:Ctime:d, which is supposed to output the day of the month, but currently outputs 46. I am not familiar with the template syntax. Can someone fix the problem? Gulumeemee (talk) 03:46, 2 January 2018 (UTC)

This seems to be part of a whole set of templates written in 2015 by Orienomesh-w (talk · contribs), who hasn't been active for six months:
Documentation is minimal, and there are no discussion pages. In most cases, the only edits not by Orienomesh-w were by Cydebot (talk · contribs), which was renaming a category. In one case, there was also one inconsequential edit by John of Reading (talk · contribs). But in the case of Template:Ctime:N, there have been five edits by three different IPs which may or may not have been detrimental.
What I suspect is that the template can't handle the period between the two New Years Days. I can't confirm this. --Redrose64 🌹 (talk) 11:36, 2 January 2018 (UTC)
The template can't handle some dates before the Gregorian calendar's New Year. {{Ctime:f|2017-12-30}} and {{Ctime:d|2017-12-30}} produce 10 and 43. {{Ctime:d|2017-10-30}} outputs -18. Gulumeemee (talk) 09:44, 4 January 2018 (UTC)

Search across a category and a WikiProject[edit]

Hi. How would I be able to search in the category Category:No local image but image on Wikidata for biographies that are tagged for the Olympic Project? Is that possible? Thanks in advance. Lugnuts Fire Walk with Me 14:33, 2 January 2018 (UTC)

@Lugnuts: Fairly certain WP:Petscan can do that for you. --Izno (talk) 14:38, 2 January 2018 (UTC)
Of course! I think I cracked it with this. Thanks Izno. Lugnuts Fire Walk with Me 14:50, 2 January 2018 (UTC)

Column or table formatting problems[edit]

In looking for an example of an unrelated bug, a couple of us ran across some pages with formatting problems. Here are two: Hazelwood, Missouri#Climate and Broward County Public Schools#Elementary Schools. Could someone figure out whether this is just an accident, or if there are problems with some of the formatting templates? Whatamidoing (WMF) (talk) 20:25, 2 January 2018 (UTC)

The public schools page at that section is missing an opening template (i.e. a "col-start" or similar), which usually indicates mistake or vandalism. The same for the former. --Izno (talk) 20:50, 2 January 2018 (UTC)
In the case of Broward County Public Schools, it was caused by this edit from September 2017, which was probably well-intentioned. In the case of Hazelwood, Missouri, it was caused by this good-faith edit in April 2014, which was ultimately caused by a botched attempt to move the text around in April 2011. I've fixed both the articles. Graham87 06:10, 3 January 2018 (UTC)

Blocking defaults[edit]

Is it possible for me to specify a default expiration time and reason on the Special:Block page? --NeilN talk to me 20:45, 2 January 2018 (UTC)

Not in the UI that I know of, but I think something equivalent can be done with Javascript. What time/reason did you have in mind? Writ Keeper  20:47, 2 January 2018 (UTC)
24 hours and [[WP:Blocking policy#Evasion of blocks|Block evasion]]. I normally use this interface when blocking LTAs and don't want to leave a talk page message. --NeilN talk to me 20:53, 2 January 2018 (UTC)
@NeilN: Give User:Writ Keeper/Scripts/simpleBlockDefaults.js a shot (installed in the usual fashion to the .js page of your choice). Might take a second to load, but it should do the trick, I think. Writ Keeper  21:40, 2 January 2018 (UTC)
@Writ Keeper: Works like a charm! Thank you! --NeilN talk to me 21:47, 2 January 2018 (UTC)

Canceling copyright warnings[edit]

There are some copyright warnings like MediaWiki:Editpage-head-copy-warn and MediaWiki:Wikimedia-copyrightwarning making users scroll down more than necessary. After more than 10 years of editing Wikipedia I would like to disable them. Is it possible to find a technical solution so warnings could be canceled under some conditions, maybe in preferences? --Janezdrilc (talk) 22:25, 2 January 2018 (UTC)

A single scroll doesn't really seem like much since that statement is a legally binding release of your work under a different copyright license than would normally be present. In any case, those warnings are set by WMF legal. Even if there was a gadget for disabling them I don't think, for legal reasons, that it would be made readily available. --Majora (talk) 22:32, 2 January 2018 (UTC)
I can just imagine someone saying that the own the copyright as no warning was present. Emir of Wikipedia (talk) 22:35, 2 January 2018 (UTC)
You can hide the messages with this in your CSS:
.editpage-head-copywarn {display: none;}
#editpage-copywarn {display: none;}
PrimeHunter (talk) 22:47, 2 January 2018 (UTC)
Thanks, PrimeHunter. At least you understand me. --Janezdrilc (talk) 23:15, 2 January 2018 (UTC)

Section citation formatting bug(?)[edit]

When I added a citation in a section here: List of Foreign Archaeological Institutes in Greece, it was formatted as part of the last section of the page, although in the preview it appeared correctly; is this a known bug? 195.251.104.50 (talk) 07:20, 3 January 2018 (UTC)

It's intended behaviour and not a bug. If there is no instruction like {{Reflist}} for where to display references then they are displayed at the bottom of the page or preview. See Help:Referencing for beginners. An editor has added a References section with {{Reflist}}.[11] Wikipedia does not display references at the end of sections. PrimeHunter (talk) 11:07, 3 January 2018 (UTC)

Username disabling a move[edit]

While doing NPP I noticed that PEARL IDEA had made a blank article, so I decided that I would move it to their user space. Not allowed, apparently. The blacklist disallows moves to titles that have nine or more capital letters. This is obviously some regex that needs refining, to stop innocent users from doing their work. BTW the article ended up at Draft:Tera_Baap_Mera_Baap. !dave 15:25, 3 January 2018 (UTC)

More than 9 capitals with no lowercase letters between them is disallowed. User:PEARL IDEA/Tera Baap Mera Baap is disallowed because 'T' counts as the 10th capital. You can make a suggestion at MediaWiki talk:Titleblacklist but I think it's a rare issue and the blacklist would be unable to test whether the user exists. Administrators and Template editors can make the move. See Wikipedia:Requested moves#Requesting technical moves. PrimeHunter (talk) 16:32, 3 January 2018 (UTC)
You could ask for autoconfirmed to be added to the conditions for the entry, if we want to allow autoconfirmed users to make such a move. Jo-Jo Eumerus (talk, contributions) 16:39, 3 January 2018 (UTC)
Eh. I guess the rationale for blacklisting is that WE DON'T WANT PEOPLE SCREAMING IN ARTICLE TITLES, but that is not really a problem if the screaming is part of the user name. (Well, it could be a problem, but that is not a problem to address via title blacklisting). (@PrimeHunter: I do not think we really care about testing whether the username exists. That is a test to avoid screaming, not a test for an allowed subpage.)
The regexp could probably be tweaked to ignore the username part in the screaming test. If I assume the current regexp is something that looks like (pattern){10,} (where the pattern matches for "capitals without lowercase"), and it does not already call ^ to match the start of the string, we can simply use (^User:[^\/]*\/|^)((pattern){10,}). I tested on https://www.regexpal.com/ for basic cases, this seems to do the job of "ignore the User:Foo/ part if it exists". TigraanClick here to contact me 17:23, 3 January 2018 (UTC)
Note: I just suggested that change on the aforementioned page. TigraanClick here to contact me 17:29, 3 January 2018 (UTC)