Jump to content

Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Glaisher (talk | contribs) at 15:55, 10 October 2015 (→‎SQL question). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. Questions about MediaWiki in general should be posted at the MediaWiki support desk.


Missing stats dates

February 5 and September 3 continue to be missing at http://stats.grok.se/. Note that in Wikipedia:Village_pump_(technical)/Archive_139#Missing_stats_dates, you can see I already mentioned this. I have left another note at User_talk:Henrik#Missing_stats_dates.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 03:23, 21 September 2015 (UTC)[reply]

Other missing dates:

  • January 31, 2008
  • February 28, 2008
  • March 1, 2008
  • March 3–4, 2008#
  • June 1–2, 2008
  • July 1, 2008
  • July 13–31, 2008
  • October 20, 2008
  • October 21, 2008#
  • September 23, 2009
  • September 25–27, 2009
  • October 14, 2009#
  • October 15, 2009
  • October 16, 2009#
  • November 15, 2009
  • November 22, 2009#
  • January 23–24, 2010#
  • February 8, 2010#
  • June 26, 2010
  • June 28, 2010#
  • July 5, 2010#
  • July 7, 2010#
  • July 8–9, 2010
  • July 10, 2010#
  • September 2, 2011
  • October 20, 2011
  • December 24–25, 2011
  • April 30, 2012
  • July 23, 2013#
  • January 6, 2014#
  • August 28, 2014#

GeoffreyT2000 (talk) 20:33, 27 September 2015 (UTC)[reply]

  • GeoffreyT2000, Since you seem to be non-responsive. I struck your request. I believe almost all of these dates are for dates in which the data is incomplete.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 01:18, 29 September 2015 (UTC)[reply]
    • It seems that the recent dates have been caught up, but February 5 and September 3 continue to be missing even though the underlying data is complete.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 01:18, 29 September 2015 (UTC)[reply]
  • Looking more closely, several of these dates also have underlying data now. Maybe they have been restored. I will start running through this more closely, but of the first five dates above 3 of them had complete data. I have some time right now (I awoke in the middle of the night) and will look at these for a while.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 10:21, 30 September 2015 (UTC)[reply]
Let me make this list easy for someone to take care of:

Template:Multicol

Complete datafiles in need of compiling
  • January 31, 2008
  • February 28, 2008
  • March 1, 2008
  • June 1–2, 2008
  • July 1, 2008
  • July 13–31, 2008
  • October 20, 2008
  • November 15, 2009
  • June 26, 2010
  • September 2, 2011
  • October 20, 2011
  • April 30, 2012
  • February 5, 2015
  • September 3, 2015

Template:Multicol-break

Partially complete (between 1 and 23 hourly files have data) datafiles which should be considered for compiling
  • March 3–4, 2008
  • October 21, 2008
  • October 14, 2009
  • October 16, 2009
  • November 22, 2009
  • January 23–24, 2010
  • February 8, 2010
  • June 28, 2010
  • July 5, 2010
  • July 7, 2010
  • July 10, 2010
  • July 23, 2013
  • January 6, 2014
  • August 28, 2014

Template:Multicol-break

dates without datafiles that can not currently be compiled
  • September 23, 2009
  • September 25–27, 2009
  • October 15, 2009
  • July 8–9, 2010
  • December 24–25, 2011

Template:Multicol-end

IP editing from invalid addresses

IP editing from certain IP addresses, such as 127.0.0.1 (loopback) and 192.168.n.n, 10.n.n.n (like 10.0.0.3 with edits in 2005), and part of, I think, 172.n.n.n (for intranets), and some IPv6 addresses, probably should be attributed to Internet IP addresses, i.e., addresses at the nodes where the above addresses connect. For example, 127.0.0.1 should not have reached your servers. (I don't know how to check an IP range as users or for contribution lists.) An attempt from one of these addresses should be viewed as an attempt to circumvent your protective systems until proven innocent (innocence due to a glitch for a loopback address was reported in VP(T)). Therefore, a filter should detect attempts to edit from certain IP addresses. and perhaps log the attempt for a technical geek to see later. Nick Levinson (talk) 01:08, 30 September 2015 (UTC)[reply]

Do you have any recent examples (links) for edits from such IP addresses? --Malyacko (talk) 07:47, 30 September 2015 (UTC)[reply]
The loopback address hasn't been used in over two years, though to my knowledge edits attributable to that address are usually the result of server glitches. That said, edit filters are not "free", and impose a small server resource cost on edits. For that reason, we generally would not make an edit filter unless we suspected such a filter would actually catch an existing problem. Someguy1221 (talk) 07:59, 30 September 2015 (UTC)[reply]
10.0.0.x 16 found 2012
10.0.0.8 41 found 2005
10.0.0.60, 217.135.250.237 2 found 2002
10.0.0.60, 217.135.230.12 1 found 2002
10.0.0.60, 217.135.223.116 4 found 2002
10.0.0.60, 217.135.220.165 1 found 2002
10.0.0.60, 217.134.222.177 3 found 2002
10.0.0.3 8 found 2005
10.0.0.24 5 found 2005
10.0.0.23 9 found 2005
10.0.0.22 1 found 2005
10.0.0.13 1 found 2005
10.0.0.11 35 found 2005

192.168.0.2 1 found 2002
172.0.0.14 3 found 2015
127.0.0.1 84 found 2013
127.0.0.1:eighty (talk · contribs) 24 found 2008 (not blocked)
Adresses like 10.0.0.60, 217.135.250.237 are bit weird... The Quixotic Potato (talk) 08:40, 30 September 2015 (UTC)[reply]

Some of the cacheing/db stuff sits on 10.0.0/24 I suspect that is the reason (again glitches). Blocking these would probably result in valid edits being stopped.
The accounts that look like malformed IP addresses are probably just accounts. All the best: Rich Farmbrough, 00:55, 5 October 2015 (UTC).[reply]

Watchlist stars and section buttons missing on mobile

Since today, the watchlist stars at the top of articles and section links (which expand sections) have vanished. I'm using version 45.0.2454.94 of Google Chrome on Android Lollipop. I tried purging the cache but that failed to work. Everything works fine on the desktop site. -Jesant13 (talk) 22:47, 1 October 2015 (UTC)[reply]

I cleared the appropriate cookies and cache data for the site. When I came back to the site, I was logged out. While navigating the site, I was automatically logged back in and the issues returned. So something is obviously not right with the mobile site. I couldn't even find an edit link! Also,Search Wikipedia doesn't appear in the search bar. -Jesant13 (talk) 00:45, 2 October 2015 (UTC)[reply]
Just to make sure: You refer to the address https://en.m.wikipedia.org here, or what is "the mobile site"? --Malyacko (talk) 08:30, 2 October 2015 (UTC)[reply]
Yes, I'm referring to https://en.m.wikipedia.org/. I checked again before posting this and the issues still persist. -Jesant13 (talk) 16:24, 2 October 2015 (UTC)[reply]
I cleared all of the browser cache and all of the cookies yesterday. As soon as I logged in the issues returned. Some additional information is below.
  • My phone is a Samsung Galaxy S6 (SM-G920T).
  • The operating system I'm using is Android Lollipop. The version number is 5.1.1.
  • My ISP is Comcast and my cellular carrier is T-Mobile.

I also remember reading about a new version of MediaWiki being rolled out to English Wikipedia by October 1, the same day the issues began. I'm suspecting the update is to blame. I didn't change any preferences nor did I change any browser settings.

In the meantime, the desktop site continues to work normally. That's how I started this section and submitted my other edits (including this one). If there's anything else I can do to help troubleshoot, please feel free to let me know. -Jesant13 (talk) 23:28, 2 October 2015 (UTC)[reply]

I've got the same issue. Edit links are also missing, even if I turn on beta. This is a big problem for me because most of my editing is done on mobile. Like Jesant13, the desktop view works, but I prefer mobile because the zoomed-out view is harder to read. Firefox Mobile 41 on Motorola Moto X, Android 5.1. Oddly enough Chrome (and Naked Browser, also WebKit-based) is unaffected. Hairy Dude (talk) 00:00, 3 October 2015 (UTC)[reply]

I created a bug report, phab:T114599. I realized that would help improve knowledge of the issues I reported here. -Jesant13 (talk) 01:22, 4 October 2015 (UTC)[reply]

I'm having the same issue. I asked at the Teahouse, and they directed me to this post. I am hoping the issue is fixed soon because it's driving me crazy and making editing 15 times harder. I logged on and off several times hoping to clear it up, but it didn't work. White Arabian mare (Neigh) 17:37, 4 October 2015 (UTC)White Arabian mare[reply]
This has been happening to me too on my iPhone 6. The edit symbol (i.e. pencil) and watchlist stars are gone, and the sections are all permanently collapsed, making it much slower to scroll up and down pages than it should be. Also, the references for inline citations aren't popping up at the bottom of the screen on my phone when I click on them. Everymorning (talk) 01:03, 7 October 2015 (UTC)[reply]

An idea regarding infoboxes

I assume most of us know about the Infobox Wars, so I won't bother going into a big explanation here. I will say that compromise on this issue is nearly impossible, because one side says "we need an infobox" and the other says "we don't need an infobox", so there is no middle ground. That got me thinking about a possible solution. What if we made collapsible infoboxes that could be placed underneath an image? That way those who want to see it can expand it, and those who don't want to see it can leave it collapsed. Does this sound doable? RO(talk) 22:51, 1 October 2015 (UTC)[reply]

Infoboxes could certainly be made collapsible for users with JavaScript. That's the technical part. This isn't the place to discuss whether to actually do it. PrimeHunter (talk) 02:05, 2 October 2015 (UTC)[reply]
@Rationalobserver: I think this is an excellent idea. If it can save just one of the infobox wars then it will have been worthwhile. It just needs someone to code it. I might be interested in trying to do one if no one else does, although I'd probably have to think about how to do it. Already done it seems. --Jules (Mrjulesd) 14:00, 2 October 2015 (UTC)[reply]
As I suspect you (RO) know perfectly well, collapsable infoboxes have been around and in use for years, but there are rarely circumstances where their use is appropriate; they cause serious WP:ACCESS issues, screw up hard-copy printouts, and cause subsequent images to jump around as their state changes; their main use is for the route descriptions on railway articles rather than as true infoboxes for precisely these reasons. The issue with infoboxes isn't generally whether they're collapsed or uncollapsed, it's whether summarising information in an infobox leads to oversimplification of complex information, and this proposal does nothing to address that issue. ‑ iridescent 14:30, 2 October 2015 (UTC)[reply]
I had no idea we had them. RO(talk) 15:40, 2 October 2015 (UTC)[reply]
No I think the real reason is that people dislike the aesthetics, finding them unattractive. After all, the content in an infobox shouldn't affect what is in the rest of the article one bit: it is merely a summary of some of the points from an article. Or it at least it shouldn't, and doesn't seem to be the case in any articles I've seen.
Looking at WP:ACCESS and what do I see: two collapsible boxes! And from a look at the talk page of Frank Sinatra it seems to headed off one potential war. --Jules (Mrjulesd) 15:08, 2 October 2015 (UTC)[reply]
That's exactly the article I was thinking about? Didn't realize they already put in a collapsible one! RO(talk) 15:40, 2 October 2015 (UTC)[reply]
One pf the perennial issues. Collapsing infoboxes (or better not) has been discussed at length. It came up again on Frank Sinatra, but I prefer them open as in Gary Cooper. See also Joseph (opera) with a collapsed navbox compared to the infobox on the talk. - In the opera navboxes, it took me months if not years to understand that you need to click on [show] in order to get to the information, and I am only German: think of people from more exotic languages who come to the English Wikipedia because not even Sinatra is covered in their language. Collapsing also doesn't work on mobiles. - An infobox under an image has been discussed (and rejected) on Vom Himmel hoch, da komm ich her. - Reminds me to make the discussion about collapsed boxes available on WP:QAIPOST. Btw, I think the infobox war is a myth, and simple respect for the other person's view and work is all technical help required. --Gerda Arendt (talk) 05:41, 5 October 2015 (UTC)[reply]
It would seem "expand" and "collapse" would be clearer than "show" and "hide" Thisisnotatest (talk) 06:44, 5 October 2015 (UTC)[reply]

Editors sometimes have a problem with the aesthetics of an infobox, often it seems in biographies. If any editor doesn't want to see the infobox, but just wants to see the picture, you can easily add the following lines to your common.css (available via Preferences -> Appearance):

table.infobox.biography tr {display:none;}
table.infobox.biography tr:first-of-type + tr {display:table-row;}
table.infobox.biography {border:1px solid #CCC;}

You can omit the .biography on each line to suppress all infoboxes (this doesn't work so well as some infoboxes don't have a picture in the second row). Purists who only like text can omit the second and third lines completely, if you don't want to see the picture either (the Lady Whiteadder option). --RexxS (talk) 22:20, 5 October 2015 (UTC)[reply]

Content Translation conflicts

Unable to revert multiple revisions

When I'm on an article's history page and select multiple revisions to compare, I do not get the "[restore this version]" link. I've tried multiple browsers. What's strange is I do get the link on user pages, user talk pages and article talk pages. Bgwhite (talk) 01:39, 2 October 2015 (UTC)[reply]

For the record, the "[restore this version]" link is made with JavaScript when Twinkle is enabled at Special:Preferences#mw-prefsection-gadgets. It's documented at Wikipedia:Twinkle/doc#Revert and rollback. I still have it in article histories. What is your skin? Do you have the link in MonoBook like here? It should be in all skins but I guess you use Vector and wonder whether something in your vector.js or vector.css is interfering so I ask about MonoBook. PrimeHunter (talk) 02:01, 2 October 2015 (UTC)[reply]
I have vector. I haven't changed my .js or .css files in awhile. I wiped both files clean and still could not get the "[restore this version]" link. Bgwhite (talk) 04:10, 2 October 2015 (UTC)[reply]
I guess twinkle is having bigger issues. See below at Twinkle and Page Curation failing to load. Bgwhite (talk) 04:54, 2 October 2015 (UTC)[reply]
If the "TW" Twinkle tab is missing on the affected pages then it certainly sounds like the issue below. PrimeHunter (talk) 10:51, 2 October 2015 (UTC)[reply]
I spoke to a user on IRC yesterday who was having the same issue of not seeing Twinkle at all despite seeming to have it installed fine. Sam Walton (talk) 10:56, 2 October 2015 (UTC)[reply]
Issue is related to the one below. Problem is Content Translator. If one has it installed via the beta menu, twinkle will not load. For the moment, uninstalling Content Translator gets things working again. Bgwhite (talk) 20:58, 2 October 2015 (UTC)[reply]

Twinkle and Page Curation failing to load on certain pages

Twinkle and Page Curation are not loading on certain pages. It appears that this is only happening on new pages, but I'm not quite sure if that's the pattern. My talk page is working fine, and Category:Articles needing additional references from June 2006 works fine, but neither Baphomet (band) nor Soulless Child nor other new pages load Twinkle or Page Curation. Firefox 41, Vector skin, Mac 10.10.5. Oiyarbepsy (talk) 04:17, 2 October 2015 (UTC)[reply]

Having the same problem. It seems to work if you look at the article's history page, but not on the article itself. Seems to be the problem for all articles, not just newly-created ones. Currently using Google Chrome 45.0.2454.101 m, Windows 8. Narutolovehinata5 tccsdnew 04:22, 2 October 2015 (UTC)[reply]
I'm guessing this is the same issue EurovisionNim was talking about on my talk page... I'm not seeing it. Twinkle is working fine for me. Would you mind reviewing WP:JSERROR and writing back here with the errors you are seeing? (Step #6) MusikAnimal talk 04:28, 2 October 2015 (UTC)[reply]
"TypeError: Cannot read property 'data' of undefined TypeError: Cannot read property 'data' " Narutolovehinata5 tccsdnew 04:34, 2 October 2015 (UTC)[reply]

"Use of "wgServer" is deprecated. Use mw.config instead. load.php:156:550 Use of "wgArticlePath" is deprecated. Use mw.config instead. load.php:156:550 Use of "wgScriptPath" is deprecated. Use mw.config instead. load.php:156:550 Use of "wgCurRevisionId" is deprecated. Use mw.config instead. load.php:156:550 Use of "wgPageName" is deprecated. Use mw.config instead. load.php:156:550 Use of "addOnloadHook" is deprecated. Use jQuery instead. load.php:156:550 TypeError: $.uls is undefined"

  • I do have some custom javascript routines loaded. Also, I get a lot of CSS errors, if that's relevant:

"Unknown property 'zoom'. Declaration dropped. Mastuj_tehsil:2:312 Expected declaration but found '*'. Skipped to next declaration. Mastuj_tehsil:2:315 Error in parsing value for 'font-weight'. Declaration dropped. Mastuj_tehsil:3:2123 Error in parsing value for 'display'. Declaration dropped. Mastuj_tehsil:3:3052 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. Mastuj_tehsil:3:6017 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. Mastuj_tehsil:3:8098 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. Mastuj_tehsil:3:11619 Unknown property '-moz-box-shadow'. Declaration dropped. Mastuj_tehsil:2:23 Unknown property '-moz-border-radius'. Declaration dropped. Mastuj_tehsil:2:279 Unknown property '-moz-border-radius'. Declaration dropped. Mastuj_tehsil:2:1532 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. Mastuj_tehsil:2:6104 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. Mastuj_tehsil:2:8012 Unknown property '-moz-border-radius-topleft'. Declaration dropped. Mastuj_tehsil:2:9636 Unknown property '-moz-border-radius-bottomleft'. Declaration dropped. Mastuj_tehsil:2:9732 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped. Mastuj_tehsil:2:14124 Unknown property '-moz-border-radius-topleft'. Declaration dropped. Mastuj_tehsil:2:15877 Unknown property '-moz-border-radius-bottomleft'. Declaration dropped. Mastuj_tehsil:2:15973 Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped." Oiyarbepsy (talk) 12:04, 2 October 2015 (UTC)[reply]

To add another point reFill is having the same problems, just giving a heads up as it occurred to me as well. --EurovisionNim (talk to me)(see my edits) 04:32, 2 October 2015 (UTC)[reply]
@Narutolovehinata5: Remove importScript('User:AzaToth/twinkle.js'); and importScript('User:Ioeth/friendly.js'); from your monobook.js, and enable Twinkle from preferences (if not already enabled), that should solve it. - NQ-Alt (talk) 04:36, 2 October 2015 (UTC)[reply]
@NQ-Alt: I did just that and the problem hasn't been fixed. I've also tried purging and clearing the cache, to no avail. Also, I already have Twinkle enabled in preferences. Narutolovehinata5 tccsdnew 04:40, 2 October 2015 (UTC)[reply]
I'm clueless. Unfortunately that error by itself isn't going to tell me what's wrong, but thanks for taking the time to report it! EurovisionNim also probably unrelated, but I noticed you are copying/pasting the source of user scripts into your common.js. You should be importing them as with importScript('User:Anomie/useridentifier.js'); // Linkback: [[User:Anomie/useridentifier.js]]. Also WP:MOREMENU is a gadget that you can enable at Special:Preferences#mw-prefsection-gadgets. Look for "Add Page and User dropdown menus..." MusikAnimal talk 04:44, 2 October 2015 (UTC)[reply]
I too am having the same problem on Baphomet (band) nor Soulless Child. Wonder if it is related to my problem above of Unable to revert multiple revisions as that is twinkle related. Bgwhite (talk) 04:51, 2 October 2015 (UTC)[reply]
The part about it only happening on mainspace pages is just baffling. First off, could you also do step #6 of WP:JSERROR and see if it's the same error Narutolovehinata5 had (Cannot read property 'data' of undefined)? Next, while you have your JS console open, type the following and hit enter Twinkle.protect(). That I think should initialize Twinkle if it hasn't been already. E.g. if you aren't seeing the TW menu that code should create it, with "PP" as the only menu item (Twinkle.protect = protection module). MusikAnimal talk 05:03, 2 October 2015 (UTC)[reply]
@MusikAnimal: Not Bgwhite, but I attempted to enter "Twinkle.protect()" and afterwards I get a message which says that it is "undefined". The strange thing is that Twinkle works fine if I'm viewing a page history. Narutolovehinata5 tccsdnew 05:27, 2 October 2015 (UTC)[reply]
Yes, I tried myself, but it says undefined. I tried other tricks but it did not work for me --EurovisionNim (talk to me)(see my edits) 05:28, 2 October 2015 (UTC)[reply]
Narutolovehinata5 Yeah mate, but it does not work on all the articles, an example Ford Kuga and Mitsubishi Outlander. I tried but it was no success--EurovisionNim (talk to me)(see my edits) 05:32, 2 October 2015 (UTC)[reply]
The undefined return value is actually expected. The function is supposed to add whatever to the TW menu. That would have told me it's one of the modules, but looks like it's not. It does tell me that the Twinkle code is there, as otherwise you'd get a "Twinkle is not defined" error. Maybe the culprit is some conflicting gadget all of you are using? I checked your JS files and I see that there's no common script being used there MusikAnimal talk 05:37, 2 October 2015 (UTC)[reply]
Could the rest of you try #6 at WP:JSERROR and let me know what it says? If all of you are getting the same error, that'd support the theory of a conflicting gadget MusikAnimal talk 05:40, 2 October 2015 (UTC)[reply]
@MusikAnimal: Okay so I tried it again, and when I typed in "Twinkle.protect()", Twinkle did show up. However, it would only appear as long as it was on the current page; it would disappear again if I refreshed/clicked another page. Could a more permanent solution be found? Also, in addition to the aforementioned error, on the console I'm also getting a series of orange messages which goes something like "Use of "wgServer" is deprecated. Use mw.config instead." Narutolovehinata5 tccsdnew 05:45, 2 October 2015 (UTC)[reply]

() Alright, now we're on to something! There's other code that is supposed to run Twinkle.protect() on every page, and obviously it isn't. The orange messages you can ignore. I'm going to have to sign off soon but we're on the right track at least. I'll let you know if I think of anything, best MusikAnimal talk 05:51, 2 October 2015 (UTC)[reply]

I had this big long edit to type, but there was an edit conflict. Long story short. I get same error Narutolovehinata5 sees about cannot read 'data' in Chrome and IE, but not in Firefox. When I type Twinkle.protect(), Twinkle does shows up, but my only option is to page protect. Bgwhite (talk) 06:06, 2 October 2015 (UTC)[reply]
@Bgwhite: Did you lose the text you had written due to an editconflict? The Quixotic Potato (talk) 08:37, 2 October 2015 (UTC)[reply]
The Quixotic Potato No. It looked like MusikAnimal had narrowed in on the problem and didn't need the longer post. Bgwhite (talk) 08:40, 2 October 2015 (UTC)[reply]
Wonderful, I do hope that it can be fixed. Please also make sure that all the gadgets are fixed as well and can be used on all different software. The next thing you do not want is to have the same problem as well tommorrow or the next day. Also if other users with experience in scripts can help that would be wonderful :)) --EurovisionNim (talk to me)(see my edits) 08:53, 2 October 2015 (UTC)[reply]
  • When I look at a file information page, the Twinkle menu is usually missing. However, if I try to edit the page, the Twinkle menu shows up, but some Twinkle menu options remain missing. --Stefan2 (talk) 10:14, 2 October 2015 (UTC)[reply]

There seems to be a problem with the "Content Translation" beta feature. Go into Special:Preferences#mw-prefsection-betafeatures and turn it off, then see if Twinkle and other scripts come back for you... — This, that and the other (talk) 13:17, 2 October 2015 (UTC)[reply]

See also phab:T114462. — This, that and the other (talk) 13:23, 2 October 2015 (UTC)[reply]
I have never switched on the Content Translation beta feature, so this is some other problem. Although the Twinkle menu usually is missing at 'action=view', it usually shows up at 'action=edit', but unfortunately, the XFD and DI menu items are missing at 'action=edit', so I've had to create lots of sections at PUF and FFD manually, which is annoying. --Stefan2 (talk) 12:38, 3 October 2015 (UTC)[reply]

I figured out the problem. On your beta preferences you will see content translator . You must untick that to make the Twinkle gadget to work on all the articles. Sorry it's late at night for me so I am going to get some sleep before my grandma finds out and confiscates my iPhone :) --EurovisionNim (talk to me)(see my edits) 13:29, 2 October 2015 (UTC)[reply]

Also to add, if anyone has questions regarding it, please ask me on my talkpage and I will do my best to reply --EurovisionNim (talk to me)(see my edits) 13:35, 2 October 2015 (UTC)[reply]
I'm quoting this from Phabricator, "Hmm, does this still happen? I cannot reproduce it - the GoogleTrans gadget works for me, and I do have ContentTranslation enabled. We did have some issues in this area of the code, but they should be fixed in the English Wikipedia since yesterday. If it happens again, can you please reload the page with ?debug=true at the end of the URL and post the line at JavaScript line at which the error happens? Thanks!" Twinkle works for him (User:Aaharoni-WMF, who works on ContentTranslation) as well. --Elitre (WMF) (talk) 17:04, 2 October 2015 (UTC)[reply]
I think it would have to do with the beta features. Those are overriding the scripts. If you disable them then it would make life a whole lot easier. --EurovisionNim (talk to me)(see my edits) 03:42, 3 October 2015 (UTC)[reply]
More precisely, the ContentTranslation tool seems to be causing an error, after which jQuery's $(function) doesn't work anymore and so all other scripts that depend on it don't work either. MediaWiki developers should really fix that jQuery function, so that scripts that have nothing to do with each other don't depend on each other in this way. I found some solutions on the Internet some years ago and I may file a bug report if I can find them again. --V111P (talk) 13:29, 4 October 2015 (UTC)[reply]
I no longer see error messages in the console caused by the Content Translation gadget. --V111P (talk) 10:02, 6 October 2015 (UTC)[reply]

Twinkle appears to be broken

Revert links in diffs are missing, and warnings do not actually go through after submitting them. I'm using Firefox 41 on Windows 10. — Preceding unsigned comment added by Nyuszika7H (talkcontribs) 20:59, 4 October 2015 (UTC)[reply]

Nyuszika7H See above at Twinkle and Page Curation failing to load on certain pages. Short answer... turn off Content Translation under the Beta options. Bgwhite (talk) 23:32, 4 October 2015 (UTC)[reply]
@Bgwhite: Thanks, I didn't realize it's the same issue. I've never actually used Content Translation, as I prefer creating the articles myself, but I had it enabled. nyuszika7h (talk) 10:09, 5 October 2015 (UTC)[reply]

Double badge notification count is stuck at "2"

My double badge notification count is stuck at "2" and does not reset after messages are viewed, a page cache purge, a browser close, or even a device reboot. Blackberry Bold 9900 browser. Customized common.js Checkingfax (talk) 01:59, 2 October 2015 (UTC)[reply]

Notification stuck on a number

Hi, Just lately when I've been getting notifications, I click the notification box and it fades to grey but it still stays at "1" or any other number, I have to click the X on the notification for it to disappear which is rather annoying, It was working fine few weeks ago so I'm assuming it's some sort of glitch?, Thanks, –Davey2010Talk 13:38, 2 October 2015 (UTC)[reply]

Hi @Checkingfax and Davey2010: The second badge, "Messages", is purposefully not marking notifications as "read" immediately, merely by our opening the flyout. This is so that editors have a way to leave the badge-number as a reminder to themselves, of something that they don't want to work on immediately but do want to get back to, but without the attention-catching (red) coloring. Not keeping the red color for "seen but not resolved" notifications, also makes it easier to see when a new notification arrives.
You can change the number to "0" by clicking on either the "Mark all as read" button, or the per-item "x" buttons (see screenshot in File:Notifications mark all as read and x.png). (The "x" button is due to be enlarged, per phab:T112217, and the color of the grey numbered badge is due to be changed for improved accessibility, per phab:T98526).
This feature is partially in preparation for cross-wiki notifications, which work is now starting on, and which will increase the number of notifications that highly-active editors receive. There will be wider requests for feedback, once the technical possibilities and constraints are further narrowed down. For now, there's a request for feedback on this iteration over at mediawiki with more details there. Hope that helps. Quiddity (WMF) (talk) 19:15, 2 October 2015 (UTC)[reply]
Hi Quiddity (WMF), I've read the Phab part and it kinda makes sense but I'm someone who "If I'm reverted I'll check it out there and If I'm pinged I'll reply there and then" so for me it's more a hinderance than a help, Well we can't please everyone I suppose! . –Davey2010Talk 19:47, 2 October 2015 (UTC)[reply]
Thanks, Quiddity (WMF). Checkingfax (talk) 20:17, 2 October 2015 (UTC)[reply]
Hmm, i have come here for almost exactly this question ~ except in my case it's not the messages icon but the notifications one which stays on 2 all the time and, if i'm reading you correctly, Quiddity (WMF), you're describing the actions of "Messages"? Also, "Mark all as read" doesn't seem to exist on the "Notifications" badge, or am i completely blind? I'm not really interested in having to manually click on an "x" to get rid of the notifications one by one, so the utility seems a bit lost. Cheers, LindsayHello 14:39, 6 October 2015 (UTC)[reply]
@LindsayH: I just asked the devs, and there's a patch to fix some behaviours related to the flyout that were written/merged last week, and will be deployed to this wiki on Thursday (following the standard wikitech:deployments timeline). Please let me know if you experience this bug again, after that.
To confirm/clarify: Yes, only the "Messages" flyout has the "Mark all as read" button, and individual "x" buttons. The "Alerts" flyout should be marking all items as read (and reducing the badge number to '0') as soon as you open it. HTH. Quiddity (WMF) (talk) 18:35, 6 October 2015 (UTC)[reply]
Cool beans, thanks Quiddity. Cheers, LindsayHello 20:52, 6 October 2015 (UTC)[reply]

vertical bar in template parameter

Is there a way to escape a | in a template? A page title contains a | and I'm trying to use {{cite web|title = Title with | in it|date= ...NE Ent 13:35, 3 October 2015 (UTC)[reply]

In {{cite web}}, use %7c inside |url= and | in any other parameter when you want to write a vertical bar. – Jonesey95 (talk) 13:48, 3 October 2015 (UTC)[reply]
Alternatively, you can place | within nowiki tags, i.e. <nowiki>|</nowiki>. 2607:FB90:21C9:F62A:0:37:4515:9301 (talk) 17:39, 3 October 2015 (UTC)[reply]
@NE Ent: Very often, a pipe in the title of a web page is used to separate the true title of a web page from the name of the website. They might be in either order. So, a web page that is titled like "Guaranteed Roadrunner Trap | Acme" or like "Acme | Guaranteed Roadrunner Trap" would be split into |title=Guaranteed Roadrunner Trap |website=Acme. If you provide the URL of the web page, I can look at it to advise on the best action. --Redrose64 (talk) 20:54, 3 October 2015 (UTC)[reply]
Also, {{!}} will do the trick. — Mr. Stradivarius ♪ talk ♪ 04:08, 4 October 2015 (UTC)[reply]
Thanks. It's "blah blah blah | Science News" -- I don't what ya'll consider the true title ... I just use what is between the <title> </title> tags on the page. NE Ent 12:31, 10 October 2015 (UTC)[reply]

Redirects from module doc pages

When viewing a redirect from a module doc page to another module doc page, the link in the part that says "This is a documentation subpage" (below "Redirected from") refers to the parent module of the redirect (usually a redlink due to module pages not supporting redirects) rather than its target. GeoffreyT2000 (talk) 01:02, 4 October 2015 (UTC)[reply]

You're right (see e.g. [1]) but I don't think it's worth fixing this. — This, that and the other (talk) 08:49, 4 October 2015 (UTC)[reply]
The example should be when the redirect is actually followed: Module:Sandbox/QuimGil/Flagicon/doc. The text "This is a documentation subpage for Module:Sandbox/QuimGil/Flagicon" is made by the interface message MediaWiki:scribunto-doc-page-header which calls {{documentation subpage}} which uses the magic word {{BASEPAGENAME}} which in this case returns the name of the redirect page instead of the target. phab:T74230 ("Magic words broken after redirect in template called by wfMessage)" seems related. A comment by Bawolff says: "What title wfMessage() considers the current page to be can vary depending on at what time in execution it is called (Evil hidden global magic), so it helps to know at what point the function is being called." This timing issue can apparently also affect interface messages. PrimeHunter (talk) 09:55, 4 October 2015 (UTC)[reply]

comparing revisions across two or more history pages without missing some in between

When searching old revisions by comparing an older one with a newer one that necessarily are listed on different pages of the page's history, a searcher ordinarily conducts two or more searches, thereby missing the effect of one intermediate revision listed at the bottom of a history page (or two intermediate revisions at the bottom of two history pages, etc.). This is because the older revision selected on the history page is not itself reflected in the top of the resulting diff, but only implied in the midst of everything still older, thus easily missed or misunderstood. It is possible to solve this by manually constructing a URL, but that possibility is easily missed by users.

Example (frequent editing of the article will quickly make this outdated but nonetheless the model applies):

Perhaps this can be solved with a technical solution.

Nick Levinson (talk) 02:00, 4 October 2015 (UTC)[reply]

You can list up to 5000 revisions at once in a page history. Careful setting of the "From year (and earlier)"/"From month (and earlier)" options will bring the appropriate revision close to the top; or you can set &offset= This will allow you to get both on the same screen. --Redrose64 (talk) 10:43, 4 October 2015 (UTC)[reply]

History of agriculture

Template:Citation needed is not listed as being transcluded in History of agriculture when editing or clicking "Page information" on the left side. Also, Category:Articles with unsourced statements from January 2007, Category:Articles with unsourced statements from November 2008, Category:Articles with unsourced statements from December 2008, Category:Articles with unsourced statements from January 2011, Category:Articles with unsourced statements from December 2011, and Category:Articles with unsourced statements from July 2015 are not listed as hidden categories containing that article, and that article is not listed in any of those categories. Probably due to revision 683883694 by 183.83.50.106. GeoffreyT2000 (talk) 19:52, 4 October 2015 (UTC)[reply]

@GeoffreyT2000: Page information does not list more than 50 templates - if there are more, it shows the actual count at the top of the list, then the first 50, then the comment "This list is not complete." --Redrose64 (talk) 20:42, 4 October 2015 (UTC)[reply]
The problem seems to be fixed now. When going to [2], it says that there are 30 transcluded templates. GeoffreyT2000 (talk) 20:49, 4 October 2015 (UTC)[reply]

Redirect one image link to Commons

My gadget in Preferences is checked to redirect all image links to Commons. It works on everything, except one image that appears in three different articles. I'm guessing the problem is in the file name itself:

File:John Mix Stanley - 'Mrs. Benjamin Pitman (High Chiefess Kinoole-o-Liliha)', oil on canvas, 1849.jpg - this file is on Wikipedia, and the image is on Commons. The articles the image appears in are: Henry Hoʻolulu Pitman, Hoolulu and Kinooleoliliha. If I click on the image from any of those articles, I am redirected to Commons with this message:

"No file by this name exists, but you can upload it."

If I click on that image directly from the file page, I get this message:

"File not found: /v1/AUTH_mw/wikipedia-commons-local-public.3e/3/3e/John_Mix_Stanley_-_%20Mrs._Benjamin_Pitman_%20High_Chiefess_Kinoole-o-Liliha%20%20,_oil_on_canvas,_1849.jpg".

Also pinging @KAVEBEAR: because he has Henry Hoʻolulu Pitman at GAC right now. — Maile (talk) 20:45, 4 October 2015 (UTC)[reply]

Do you have the Firefox add-on NoScript? It's probably the issue at Wikipedia:Village pump (technical)/Archive 140#Redirect to Commons on one issue. PrimeHunter (talk) 21:02, 4 October 2015 (UTC)[reply]
Oh, that was you. Do you have reason to think it isn't NoScript this time? PrimeHunter (talk) 21:04, 4 October 2015 (UTC)[reply]
Facepalm Facepalm Yep. The image works fine on IE. Sorry about that. — Maile (talk) 21:14, 4 October 2015 (UTC)[reply]

Sorting problems with annotated tables

The "expand-child" class for subordinate/child rows in sortable tables has stopped working properly; using it now breaks the sorting feature when at least up until a few months ago it worked fine. Is this a temporary glitch, or is there now different code performing this function? Example table using it at 2014 term United States Supreme Court opinions of Ruth Bader Ginsburg; the code I was using for the child row is |- class="expand-child" . postdlf (talk) 12:11, 5 October 2015 (UTC)[reply]

Possibly this broke because we tried to fix colspan. Expand-child doesn't have testcases, so a breakage would go undetected there probably. Please file a bug report. —TheDJ (talkcontribs) 18:07, 5 October 2015 (UTC)[reply]
That's kind of reassuring, as I was concerned that it was intentional deprecation. This is the first time I've used this bug reporting system, so let me know if I did it right. postdlf (talk) 23:23, 5 October 2015 (UTC)[reply]

e-mail issue

On 28 September, I sent an e-mail to Megalibrarygirl. I also asked that a copy be sent to my e-mail. The system said it was sent and that it might take "some time" for it to arrive. Neither of us have ever received a copy of the e-mail. In the time that has passed, I could have driven from Mexico to Texas and delivered the message myself. Is there an issue with the e-mail system? Can the message be retrieved and resent? I don't need her help anymore, but would still like to confirm that we have the ability for e-mail contact. SusunW (talk) 14:00, 5 October 2015 (UTC)[reply]

Hey SusunW, I assume that both of you have also checked the Spam folder? I think I remember this was the case for the editor who had a similar complaint recently. If you can confirm none of you got the email, I'll try and dig deeper. (OTOH, is a road trip from Mexico to Texas really so unpleasant? :) --Elitre (WMF) (talk) 11:06, 6 October 2015 (UTC)[reply]
Elitre We have both checked our spam folder and there is nada. (I should also say I have gotten other e-mails from Wikipedia people during this time, but we had already been connected). And no, the road from Texas to Mexico is often lovely, if one takes care in the northern states, to drive only in daylight. But I am about as far south in Mexico as you can get, thus it is about a four-day journey to the border. SusunW (talk) 14:51, 6 October 2015 (UTC)[reply]
I should also state we tried this again today and also tried in reverse (her to message me). Neither worked. SusunW (talk) 20:41, 6 October 2015 (UTC)[reply]
SusunW, OK, thanks for the details, I'll ping you after I put this on Phabricator. --Elitre (WMF) (talk) 15:03, 7 October 2015 (UTC)[reply]
@SusunW and Megalibrarygirl: Any chance you both use yahoo as your email provider? - NQ-Alt (talk) 15:31, 7 October 2015 (UTC)[reply]
No, my provider is AOL. I know, I know, but I've had the e-mail since 1979 so everyone I know has that address. To change it would be a major PITA. SusunW (talk) 15:33, 7 October 2015 (UTC)[reply]
I use Gmail. I've received email in the past, but I'm not getting it now. Megalibrarygirl (talk) 15:35, 7 October 2015 (UTC)[reply]
@SusunW: Ok. You not being able to send emails might have to do with phab:T66795 that concerns Yahoo and AOL users. @Megalibrarygirl: I've emailed you both via the wiki interface, please check your mailbox and see if you've received it. - NQ-Alt (talk) 15:53, 7 October 2015 (UTC)[reply]
NQ-Alt I got your e-mail and responded to it. SusunW (talk) 15:57, 7 October 2015 (UTC)[reply]
I got the email and replied, too. Megalibrarygirl (talk) 16:06, 7 October 2015 (UTC)[reply]
@SusunW and Megalibrarygirl: Yes, thanks to phab:T56130, I received notifications on Wikipedia confirming that you both emailed me via the Special:Emailuser interface, but unfortunately only Megalibrarygirl's email made it to my inbox. SusunW, have you been able to successfully send emails via the wiki interface before? - NQ-Alt (talk) 16:12, 7 October 2015 (UTC)[reply]
@Megalibrarygirl: If you try emailing SusunW via Special:EmailUser/SusunW, it should go through, could you check please? - NQ-Alt (talk) 16:16, 7 October 2015 (UTC)[reply]
OK. I've emailed SusunW. Megalibrarygirl (talk) 16:22, 7 October 2015 (UTC)[reply]
I'm not sure that I understand what you mean. I have sent e-mails without problem to at least 3 people from their user pages on Wikipedia. Is that "interface"? If so then yes, never had a problem before. SusunW (talk) 16:24, 7 October 2015 (UTC)[reply]
And yay! I got Megalibrarygirl's mail. Did you get my response? SusunW (talk) 16:26, 7 October 2015 (UTC)[reply]
It worked this time, SusunW! :) Megalibrarygirl (talk) 16:27, 7 October 2015 (UTC)[reply]
Woo Hoo! Thank you so much for waving your magic wand NQ-Alt. I don't really understand technical issues, but whatever ou did, it is much appreciated. SusunW (talk) 16:31, 7 October 2015 (UTC)[reply]

@SusunW: Well, I didn't do anything. If this is what I think it is, you still won't be able to send email to other users. Others can send you mail and you'd be able to reply to it which is what happened just now. See Wikipedia:Village pump (technical)/Archive 134#Wikipedia's eMail interface and Wikipedia:Village pump (technical)/Archive 136#Email is not working - NQ-Alt (talk) 16:40, 7 October 2015 (UTC)[reply]

NQ-Alt shhhhhhhhh, you are magic. I am in awe of your powers. I can only say that all of the people I have contacted through Wikipedia e-mail have been in the last 2-3 months and contact was initiated by me. That link you provided said the problem with Yahoo and AOL began in January. Thus, whatever the problem was that you used your superpowers to fix, I am not convinced that it was that. I do totally appreciate whatever you did. SusunW (talk) 16:50, 7 October 2015 (UTC)[reply]
haha, well... okay! @TheDJ: any thoughts? - NQ-Alt (talk) 16:58, 7 October 2015 (UTC)[reply]
What if we found AOL users to test this further and check if NQ's hunch is correct? --Elitre (WMF) (talk) 17:04, 7 October 2015 (UTC)[reply]

Auto-expire watchlist items

Most articles that I make serious contributions to I want to watch for ever. There are other articles where I have only done maintenance tasks or fixed some vandalism that I only want to watch for a short period to see if there is any feedback on my work (ie Bots fixing my mistakes, heaven forbid) or returning vandals. For these it would be useful if there were a box or boxes to tick to choose to watch the page for either so many days, or so many edits, at which point they would automatically be removed from my watchlist. Derek Andrews (talk) 14:38, 5 October 2015 (UTC)[reply]

See T100508 in Phabricator. --AKlapper (WMF) (talk) 07:33, 6 October 2015 (UTC)[reply]

New Pages Patrolling Script

Any ideas why the new pages patrolling script I installed from the instructions here does not appear to work User:JustBerry/monobook.js? Where should the script appear? Please ping me when you reply. --JustBerry (talk) 14:40, 5 October 2015 (UTC)[reply]

@JustBerry: From above, turn off Content Translation from the beta menu. Content Translation is currently causing problems to different scripts including the NPP script. Bgwhite (talk) 22:54, 5 October 2015 (UTC)[reply]
@Bgwhite: Thanks for your reply. In my Beta Menu, Content Translation wasn't checked in the first place; however, I unchecked Visual Editing, leaving no checked boxes in the Beta Menu (and pressed Save). I can't seem to find or access the script at all - seems very weird. Where exactly d o I find it? I also reset my browser cache and all. (Reminder: Please ping me when you reply.) --JustBerry (talk) 01:25, 6 October 2015 (UTC)[reply]
@JustBerry: Look for the "New Pages" box under the WP logo in the sidebar. - NQ-Alt (talk) 15:38, 7 October 2015 (UTC)[reply]
NQ-Alt Nothing found. Did Ctrl+F too. --JustBerry (talk) 00:44, 8 October 2015 (UTC)[reply]
@JustBerry: I just tested with your script configuration and there doesn’t seem to be any conflicts. Do you use the monobook skin? If not, you need to add the script to your common.js - NQ-Alt (talk) 05:57, 8 October 2015 (UTC)[reply]
NQ-Alt Works, thanks a bunch! --JustBerry (talk) 14:25, 8 October 2015 (UTC)[reply]

JS redirects

Some JS redirects, such as User:LimitationsAndRestrictions495656778774/common.js, do not work. GeoffreyT2000 (talk) 15:46, 5 October 2015 (UTC)[reply]

That one is not properly formatted. -- [[User:Edokter]] {{talk}} 16:27, 5 October 2015 (UTC)[reply]
The code
/* #REDIRECT */
is a comment, nothing else. --Redrose64 (talk) 19:49, 5 October 2015 (UTC)[reply]

Most vandalized pages

Is there any tool which shows the most vandalized pages in past 12 months; or pages with maximum reverts in past one year?--The Amazing Spiderman (talk) 17:05, 5 October 2015 (UTC)[reply]

intitle:vandalism "most vandalized"CpiralCpiral 04:28, 6 October 2015 (UTC)[reply]
How do you define "vandalism" or "reverts"? It's hard to get a tool-calculateable definition of either one, since vandalism can be sneaky (to a computer, really simple vandalism is no different from typo correction) and vandalism reversion can involve custom edit summaries and someone both undoing vandalism and fixing something else in the same edit. Also note that pages subject to non-vandalistic edit warring might rank high on the maximum-reverts list. My best suggestion is to figure out a way to track the mainspace pages most frequently edited by ClueBot NG: it doesn't edit mainspace except to revert what it believes to be vandalism, its false-positive rate is quite low, and it uses standard edit summaries. Nyttend (talk) 14:19, 6 October 2015 (UTC)[reply]

18:33, 5 October 2015 (UTC)

Do you have Safari browser? Can you check this URL works?

Hi, I'm a template author and a user is reporting they are unable to access this URL via Safari on Mac:

Could anyone with Safari check that it works for you? The problem being reported is the https doesn't work. Thanks, -- GreenC 19:04, 5 October 2015 (UTC)[reply]

Using 5 year old iPad with Safari here and it does not open. Returns "Safari cannot open the page because it could not establish a secure connection to the server". Other users with later iPad/Safari may succeed, but I normally have no trouble opening any page. Akld guy (talk) 22:01, 5 October 2015 (UTC)[reply]
The same happens to me in Safari, Opera and IE on Windows Vista. It works in Firefox and Chrome. The problem is for all pages at https://www.gutenberg.org. There are no problems at http://www.gutenberg.org. PrimeHunter (talk) 22:30, 5 October 2015 (UTC)[reply]
SSLLabs report shows that gutenberg.org have setup their HTTPs so strictly, that it doesn't support a whole slew of older browsers/Operating systems. Seems they have gone a bit overboard there... —TheDJ (talkcontribs) 22:38, 5 October 2015 (UTC)[reply]
Yea, gutenberg.org only supports TLS v1.2. Matrix shows no support for IE on Vista and only Safari on OS X 10.9 or iOS 5 and above. Bgwhite (talk) 22:49, 5 October 2015 (UTC)[reply]
I get the same security error on Safari on an iPad 1 with iOS 5.1.1. On the desktop, using Safari 9.0 on OS X 10.11 it opens fine. The Gutenberg site also works on the iPad if you open with 'http' instead of 'https'. Until Gutenberg fixes this (if they do) it's another reason not to go around putting 'https' in all references mechanically. Making a protocol-independent link would solve this. EdJohnston (talk) 18:40, 7 October 2015 (UTC):[reply]
I'm poking their hosting partnerTheDJ (talkcontribs) 14:42, 8 October 2015 (UTC)[reply]

Wikimedia error message

Read-only mode

I was editing a typo here and got the read-only error message just a few minutes ago. Just for documentation.— Vchimpanzee • talk • contributions • 22:10, 5 October 2015 (UTC)[reply]

Wikimedia Foundation error message

I was getting the error "PHP fatal error: Call to undefined function arrray()" when browsing Wikipedia for a minute. What happened? Gparyani (talk) 23:40, 5 October 2015 (UTC)[reply]

If that was just a minute or two ago, I got an error message that Wikimedia was temporarily having problems. When I clicked again, the message went away. — Maile (talk) 23:49, 5 October 2015 (UTC)[reply]
wikitech:Incident_documentation/20151005-MediaWiki. 2601:646:8301:E297:AEB5:7DFF:FE20:498A (talk) 15:10, 7 October 2015 (UTC)[reply]

Case folding question

An editor posted a dispute resolution to the dispute resolution noticeboard, using the {{pagelinks}} as specified. The editor identified the article in question as Programmatic Media, which results in a talk page link of Talk: Programmatic Media. The former was a blue link, but the latter was a red link. My first thought was that maybe the article did not yet have a talk page (in which case it would be necessary to decline the dispute due to lack of discussion on the talk page). However, then on viewing the article itself, I saw that it was actually Programmatic media. I then edited the reference to the article, and everything worked. My question has to do with the case folding. This apparently worked for the article, but not for the talk page. Does case folding work differently for article pages than for talk pages, or is there some anomaly about the template? Seeing a blue link to an article and a red link to a talk page made me draw a reasonable but incorrect initial conclusion. Where are the rules on case folding documented? Is this the proper forum for this question, or should I go back to the Help Desk? Robert McClenon (talk) 02:45, 6 October 2015 (UTC)[reply]

After entering the references to the article and to the talk page without using a template, I see that the article is blue-linked and the talk page is red-linked. Is there a reason why case is folded in referring to article pages, but not to talk pages? Robert McClenon (talk) 02:46, 6 October 2015 (UTC)[reply]

The talk page for the redirect Programmatic Media (under the title is the link to the redirect) does not exist. — CpiralCpiral 04:08, 6 October 2015 (UTC)[reply]
@Robert McClenon: The rules are the same in all namespaces: wikilinks are case-sensitive on all except the first character (ignoring any namespace prefix like Help:). See Help:Link#Wikilinks and Wikipedia:Case sensitivity. --Redrose64 (talk) 07:23, 6 October 2015 (UTC)[reply]
So the case folding is done entirely by redirects? Are the title redirects to fold case created automatically, or are they created by the originator of the article? Robert McClenon (talk) 15:12, 6 October 2015 (UTC)[reply]
Anyone can create redirects at any time. It's not automatic (except for the old title in page moves). I don't know statistics about how many redirects are made by the article creator. Redirects for talk pages are almost never made, except for the automatic redirect if the talk page existed when a page was moved together with its talk page. The search box has a feature where you are automatically taken to a matching page name with other capitalization. But wikilinks and url's must have the right capitalization, apart from the initial character. Programmatic Media is a redirect to Programmatic media. {{pagelinks|Programmatic Media}} produces: Programmatic Media (edit | talk | history | links | watch | logs). All links in the parentheses are for the redirect title and therefore wrong. {{pagelinks|Programmatic media}} produces the right links: Programmatic media (edit | talk | history | links | watch | logs). The error was made when the section was started [8] by the creator of both the article and the redirect. It has been fixed now. PrimeHunter (talk) 15:51, 6 October 2015 (UTC)[reply]

infobox3cols template with a url with parameters doesn't work when the parameters get too long

I am currently working with a template that implements infobox3cols. In one of the columns I have a url with several parameters. Previously, these were fairly short, but have increased in size as I am using various lua functions. Now the url no longer links correctly. It seems like if it goes to a newline it could be breaking the link. Anyone else experience similar issues?

ie: Here is what I had when it was working (https://en.wikipedia.org/wiki/Template:PBB/6239 at the bottom of the info box UCSC): | data23a = {{#ifexpr:{{#if:{{{Hs_GenLoc_chr|}}}|1|0}}*{{#if:{{{Hs_GenLoc_start|}}}|1|0}}*{{#if:{{{Hs_GenLoc_end|}}}|1|0}}|<span class="plainlinks" style="white-space: nowrap">[http://genome.ucsc.edu/cgi-bin/hgTracks?org=Human{{#if:{{{Hs_GenLoc_db|}}}|&db={{{Hs_GenLoc_db}}}|}}&position=chr{{{Hs_GenLoc_chr}}}:{{{Hs_GenLoc_start}}}-{{{Hs_GenLoc_end}}} Chr {{{Hs_GenLoc_chr}}}:<br />{{#expr:{{{Hs_GenLoc_start}}} / 1000000 round 2}} – {{#expr:{{{Hs_GenLoc_end}}} / 1000000 round 2}} Mb]</span>|n/a }}

Now that I have replaced with various lua calls it breaks the url link (https://en.wikipedia.org/wiki/RREB1): | data21a = {{#ifexpr:{{#if:|{{#invoke:Wikidata|getValue|P1057|{{{entrez|FETCH_WIKIDATA}}} }}|1|0}}*{{#if:{{#invoke:Wikidata|getValue|P644|{{{entrez|FETCH_WIKIDATA}}} }}|1|0}}*{{#if:{{#invoke:Wikidata|getValue|P645|{{{entrez|FETCH_WIKIDATA}}} }}|1|0}}|<span class="plainlinks" style="white-space: nowrap">[http://genome.ucsc.edu/cgi-bin/hgTracks?org=Human{{#if{{#invoke:Sandbox/genewiki/geneboxdev|getAliasFromGenomeAssembly|{{#invoke:Sandbox/genewiki/geneboxdev|getQualifierID|P644|P659|FETCH_WIKIDATA}} }}|&db={{#invoke:Sandbox/genewiki/geneboxdev|getAliasFromGenomeAssembly|{{#invoke:Sandbox/genewiki/geneboxdev|getQualifierID|P644|P659|FETCH_WIKIDATA}} }}|}}&position=chr{{#invoke:Sandbox/genewiki/geneboxdev|trimChromosome|{{#invoke:Wikidata|getValue|P1057|{{{entrez|FETCH_WIKIDATA}}}}}}}:{{#invoke:Wikidata|getValue|P644|{{{entrez|FETCH_WIKIDATA}}} }}-{{#invoke:Wikidata|getValueFromID|{{#invoke:Sandbox/genewiki/geneboxdev |getQIDFromID |{{#invoke:Wikidata|pageId}} |P684}}|P645|FETCH_WIKIDATA}} Chr {{#invoke:Sandbox/genewiki/geneboxdev|trimChromosome|{{#invoke:Wikidata|getValue|P1057|{{{entrez|FETCH_WIKIDATA}}}}}}}:<br />{{#expr:{{#invoke:Wikidata|getValue|P644|{{{entrez|FETCH_WIKIDATA}}} }} / 1000000 round 2}} – {{#expr:{{#invoke:Wikidata|getValueFromID|{{#invoke:Sandbox/genewiki/geneboxdev |getQIDFromID |{{#invoke:Wikidata|pageId}} |P684}}|P645|FETCH_WIKIDATA}} / 1000000 round 2}} Mb]</span>|n/a }} Julialturner (talk) 04:37, 6 October 2015 (UTC)[reply]

@Julialturner: Which link on RREB1 is broken? Both the links at the bottom of the infobox look like they are working to me. Also, you shouldn't be using subpages of Module:Sandbox in real templates - if the code in the sandbox is ready for use in real templates, it would be better to rename it. — Mr. Stradivarius ♪ talk ♪ 06:50, 6 October 2015 (UTC)[reply]
@Julialturner: The first infobox field after "Location (UCSC)" on RREB1 currently says "6:7107597-37952005 Chr 6: 7.11 – 37.95 Mb". Is it this text you wanted to be an external link similar to the same field at Template:PBB/6239? When {{Infobox gene}} is used on RREB1, the code {{#invoke:Sandbox/genewiki/geneboxdev|trimChromosome|{{#invoke:Wikidata|getValue|P1057|{{{entrez|FETCH_WIKIDATA}}} }} }} in parameter data21a produces the wikilink 6. Maybe you want it to only produce the unlinked digit 6 so it can be used in a url. Something similar happens a second time in the parameter. That's as far as I got. Hope it helps. PrimeHunter (talk) 13:04, 6 October 2015 (UTC)[reply]
That is it exactly. I want it to produce the unlinked digit 6 so it can be used in a url, but I am not sure how to make that happen. Julialturner (talk) 20:37, 6 October 2015 (UTC)[reply]
Module:Wikidata says:
  • getValue: Returns wiki-linked values, if applicable. All other values will be output similar to {{#property:}}, except that if values with preferred rank exist, then only they are returned.
  • getRawValue: Returns non-linked property values and numbers with the thousand separator. All other values will be output similar to {{#property:}}, including normal values, even if preferred values exist.
Replacing getValue by getRawValue will produce an unlinked 6. If you have a wikilinked value then you can also use {{Delink}} to remove the wikilink and only return the text. PrimeHunter (talk) 22:18, 6 October 2015 (UTC)[reply]
@PrimeHunter: Thank you so much it works perfectly now that I added getRawValue! Julialturner (talk) 05:52, 7 October 2015 (UTC)[reply]

How to hide minor edits from Contributions page

Does anyone know of any simple way to hide minor edits in one's Contributions page? One can set Recent changes or one's Watchlist for this, but apparently not one's Contributions page. I do a lot of minor editing, so I could really use a quick way to examine my major-contribution history. Thanks for any suggestions. ~ Jeff Q (talk) 11:15, 6 October 2015 (UTC)[reply]

I just asked for this feature at phab:T114763. עוד מישהו Od Mishehu 15:23, 6 October 2015 (UTC)[reply]
Thanks, Od Mishehu! However, I see that it's been crossed off as a duplicate. This is apparently a very old request that's had at least 2 earlier incarnations (phab:T16086, phab:T11605), some confusion about its target (Contributions, not Recent changes), and a low priority that leaves it unresolved for 7 years. That's a shame. Wish I had the wherewithal to attack MediaWiki stuff myself. ~ Jeff Q (talk) 22:20, 6 October 2015 (UTC)[reply]
@Jeffq: Green tickY Almost done. phab:T16086 - courtesy of User:This, that and the other. - NQ-Alt (talk) 11:58, 7 October 2015 (UTC)[reply]
Good to know, and much thanks to TTO! I'm looking forward to it going live. ~ Jeff Q (talk) 08:55, 9 October 2015 (UTC)[reply]

Wikipedia:Dashboard

Wikipedia:Dashboard hasn't been updated in a while; is there a problem with Legobot? Per this, it stopped on 2 October 2015. ʍw 17:32, 6 October 2015 (UTC)[reply]

Hello? Pinging @Legoktm: (I would have tried that first, but it seemed like he might not be around). ʍw 01:37, 7 October 2015 (UTC)[reply]

He's around and looking into the issue. 2601:646:8301:E297:AEB5:7DFF:FE20:498A (talk) 04:42, 7 October 2015 (UTC)[reply]
It should be running now. Legoktm is silly and forgot to update his bots for a breaking change he announced. 2601:646:8301:E297:AEB5:7DFF:FE20:498A (talk) 05:15, 7 October 2015 (UTC)[reply]
Thanks! ʍw 16:16, 7 October 2015 (UTC)[reply]

Flac files

I would like to access music via plain text instead of using icons. For example, clicking on this plain text causes an "ogg" file to play music:

Likewise, clicking on this plain text causes a "mid" file to play music:

But, clicking on this plain text does not cause a "flac" file to play music:

Do I need to use a different code or format to get the flac file to play? Note that I have no problem playing this flac file using the usual icon format: Thanks for any advice.Anythingyouwant (talk) 05:06, 7 October 2015 (UTC)[reply]

Operating system and web browser and web browser version information is highly welcome, to start with. --Malyacko (talk) 09:02, 7 October 2015 (UTC)[reply]
@Malyacko: I'd like this to work for most people pretty much regardless of their web browser. This is for Wikipedia:Sound/list/C and the like. But as regards my own, I use Mozilla Firefox, version 41.0.1.Anythingyouwant (talk) 12:27, 7 October 2015 (UTC)[reply]
Then you need to talk to browser and Operating system vendors, because they are the ones who determine if a file is playable as a raw file download. —TheDJ (talkcontribs) 13:27, 7 October 2015 (UTC)[reply]
Okay, then maybe I'll have to use the crummy icons.Anythingyouwant (talk) 13:34, 7 October 2015 (UTC)[reply]

Recent Twinkle changes

The protection module now checks the protection and pending changes logs and reports if there were previous protection periods. This makes it considerably easier for admins in deciding what duration to go with, and also for non-admins in what duration/type to request. There were also some styling changes made affecting all of Twinkle and any other script that uses the Morebits library. If you are using OSX the checkboxes might not be vertically aligned. Unfortunately there's no perfect cross-platform solution, but I don't think it looks that bad and hopefully you'll agree. That aside, let me know if you run into any issues/bugs! Best MusikAnimal talk 14:48, 7 October 2015 (UTC)[reply]

The visual editor’s preference has moved

Hi all, this is just an update to my (now archived) announcement from last week. You can read a longer note at WT:VE if you’re interested in details. Best, Elitre (WMF) (talk) 15:11, 7 October 2015 (UTC)[reply]

Shutting off pings from specific users

I really do like the pings in general, and I can apparently shut them off overall, but sometimes I'm dealing with a user who has gotten "ping-happy" and stays that way even after I've asked them to stop doing that. I don't want to go as far as reporting the user, but I sure would like to have their pings to me shut off. Is there any way this can happen? Stevie is the man! TalkWork 16:09, 7 October 2015 (UTC)[reply]

Probably better place to ask is WT:Echo, but it sounds like a good idea. --Edgars2007 (talk/contribs) 17:30, 8 October 2015 (UTC)[reply]

There is fairly universal agreement, at Wikipedia talk:Special:WantedPages, that this automated list is, in its current form, almost worthless. That's because the high-count items are being generated by either signatures on article talk and other pages, or by templates on article talk pages.

What is useful is Wikipedia:Most-wanted articles. That's built using red links from article pages, only. But it's not automatically generated - it's not a special page.

So, a purely technical question: Who has the authority/ability to modify the parameters that generate the Special:WantedPages content? I'm aiming, of course, at getting those parameters changed so that only red links on article pages will count; I'd like to know who has to be convinced that the current content isn't worthwhile. -- John Broughton (♫♫) 21:36, 7 October 2015 (UTC)[reply]

WantedPages is hard-coded into the MediaWiki software as including pages from all namespaces. So there is no parameter to change at the moment. The relevant task is phab:T37758.
Personally I think the query pages need a lot of help, since most of them (not just WantedPages) are pretty worthless on large wikis like English Wikipedia. Unless and until any improvements are made, Labs is the best place for developers to create improved alternatives to the query pages. — This, that and the other (talk) 01:21, 8 October 2015 (UTC)[reply]

i'm now live in china. how can i visit chinese wikipedia?

i'm now live in china. i can't visit chinese wikipedia, it was blocked by chinese government. how can i visit chinese wikipedia?--Zhouxingxingxx (talk) 08:25, 8 October 2015 (UTC)[reply]

See Wikipedia:Advice to users using Tor.Jo-Jo Eumerus (talk, contributions) 08:27, 8 October 2015 (UTC)[reply]

Coordinates via API

Why does https://en.wikipedia.org/w/api.php?action=query&prop=coordinates&titles=Shropshire&format=xml&redirects not return the coordinates visible at Shropshire? --Flominator (talk) 13:33, 8 October 2015 (UTC)[reply]

Coordinates are added to the page using the {{coord}} template, and (AFAIK) transcluded templates are not accesible via the API. -- [[User:Edokter]] {{talk}} 15:40, 8 October 2015 (UTC)[reply]
Coordinates aren't scraped from teplates though, relying on {{#coordinates:}}. And in this case, it was working, but the coordinate wasn't marked as primary, thus it wasn't returned unless coprimary=all was specified. Fixed with[9]. Max Semenik (talk) 21:42, 8 October 2015 (UTC)[reply]
Edokter, coordinates are stored in database, BTW (see, for example, this one). And that's why(?) they are accesible via the API --Edgars2007 (talk/contribs) 06:32, 9 October 2015 (UTC)[reply]
Thanks, --Flominator (talk) 07:59, 9 October 2015 (UTC)[reply]

"HTTPS everywhere" considered harmful

Supporting what a number of users have said, Tim Berners-Lee recently published a note with the above title.

The crux is that migration to only https: breaks the web. Breaking the web is something WP has been reluctant to do from the early days. Berners-Lee presents alternative ways forward.

All the best: Rich Farmbrough, 15:46, 8 October 2015 (UTC).[reply]

Although we don't wish to break the web, we cannot single handily fix it either. What Berners-Lee proposes goes much deeper than we have influence over and can only rly be solved by standards committee's, browsers and Operating system vendors... I personally think he is probably right, but the web is developed much more around practicalities then around 'right' :) —TheDJ (talkcontribs) 19:11, 8 October 2015 (UTC)[reply]
Indeed, if the Web were built around what was right we probably wouldn't have a Web... --Izno (talk) 20:27, 8 October 2015 (UTC)[reply]

Is there a way to auto-populate categories through Wikidata/other wiki comparison?

I just created Category:Polish skydivers and Category:Cichociemni, both based on Polish Wikipedia categories (linked through Wikidata). Now, pl wiki categories have quite a few entries, and I expect 20-30% of them are on en wiki already. Is there some way (bot, script) that would automate checking which entries categorized under equivalent Polish categories exist here, and auto-tag them? It seems like something that should be possible to automate. --Piotr Konieczny aka Prokonsul Piotrus| reply here 09:15, 9 October 2015 (UTC)[reply]

If nobody has better solution, I have one, but it's quite crappy. Take Autolist, fill the parameters and get the list of Wikidata items. The URL with parameters for Cichociemni is here (it will take some few minutes to open). Then you can open each article and add category by yourself. Yes, it doesn't actually ease the work very much :D --Edgars2007 (talk/contribs) 10:51, 9 October 2015 (UTC)[reply]
But anyway - 👍 Like the idea. Would really like to use such tool, which at least gets that list of pages, that needs to be categorised. --Edgars2007 (talk/contribs) 14:22, 9 October 2015 (UTC)[reply]
@Magnus Manske: Possible? --Izno (talk) 03:09, 10 October 2015 (UTC)[reply]

Stats.grok.se capitalization question

Does anyone know how stats.grok.se works with capitalization? My question is in relation to the page view stats for Eta and ETA. I find it hard to believe that the view stats are identical (the stats are the same for all time frames). Is there a way to know which page the stats are for, and knowing that, how to get stats for the page it isn't showing (assuming that it isn't combining the two pages into one chart)? -Niceguyedc Go Huskies! 11:13, 9 October 2015 (UTC)[reply]

See User:Killiondude/stats#Is_it_case_sensitive.3F. Legoktm (talk) 04:36, 10 October 2015 (UTC)[reply]

WP:NOTIFICATIONS - Needs content updating

Hi all, I've run across the WP:Notifications page and noticed that it hasn't been updated to include the new system currently being used which I presume is permanent now? I put up a post on the talk page asking for help to update the content as I am not wanting to "butcher" the article and be slammed by editors, as well as a general lack of style and technical knowledge. Wondering if I could get at least one preferably more editors interested in helping update the page? Mention me or drop me, leave a comment here or on the talk page, or drop a line to my talk page. Cheers, Drcrazy102 (talk) 11:49, 9 October 2015 (UTC)[reply]

See Wikipedia:Village_pump_(technical)/Archive_140#Notifications_indicators_have_changed, and please update that page Drcrazy. I'm afraid all you'll get is "be bold". See also Help:Searching/Draft. Happy editing! — CpiralCpiral 19:00, 9 October 2015 (UTC)[reply]

Recent change to how timestamps are shown in protection logs

For everyone's benefit, I'm going to post my findings about the recent change (around 3 October) to timestamps in protection logs, as outlined at phab:T47988. I believe this is only a concern if you are using the timezone conversion gadget, listed as "Change UTC-based times and dates...".

As a preface, in the logs, the timestamp of when the protection was applied does not contain the string "UTC" even though it is in UTC. On the contrary, the expiry does contain the string "UTC".

Now, while logged out, or with the gadget off, see [10]. Here I protected my sandbox for three hours. The times you see are in UTC and are correct, it's just that the expiry timestamp doesn't indicate it's in UTC (compare with the bottom entry in that log). Looking at the same log with the gadget on, you'll see it correctly converted both to your timezone.

Now, with the gadget off (or logged out), have a look at [11]. Here I protected Robin Williams at 5:07 UTC and it expires at 5:07 UTC, which is correct. The difference here is that the expiry timestamp does indicate it's in UTC. Looking at the same log with the gadget on, you'll see the gadget converted the first timestamp (when the protection was applied) but did not convert the second one, which will still say 5:07 UTC.

So there you have it. Unless I've done a horrible job of diagnosing the issue, we are better off now than we were before. For the logs, the gadget for some reason didn't convert timestamps that contained the string UTC. It was a bug that we all got used to, and was incidentally fixed by the MediaWiki change. Hooray.

Hope this helps someone other than just myself MusikAnimal talk 16:07, 9 October 2015 (UTC)[reply]

To be clear, the format of the log has not changed; it is the format of the log entry which has changed. This is stored as 255 bytes of text, optionally including Wiki markup, consequently what is found in the text beginning at the word or phrase "protected", "changed protection level for" or "removed protection from" cannot be predicted with certainty.
The change under discussion occurred at some point between 18:01 and 18:05, 1 October 2015 (UTC), since when the six characters " (UTC)" are no longer suffixed to expiry times. The five protection actions before and after the change may be found here. At the same time, other changes to the content of the log entry also changed: "edit=autoconfirmed" became "Edit=Allow only autoconfirmed users"; "create=sysop" became "Create=Allow only administrators", etc.
The displayed expiry times may be timezone adjusted in either of two ways: there is the aforementioned Preferences → Gadgets → (U) Change UTC-based times and dates, such as those used in signatures, to be relative to local time (documentation) gadget, but there is also the setting at Preferences → Appearance → Time offset. Try turning off the gadget, go to Preferences → Appearance → Time offset and at "Time zone" set the dropdown to "Other (specify offset)", then put various values like "00:00", "+01:00" etc. into the window immediately below the dropdown, and try my "five protection actions" link again. --Redrose64 (talk) 09:08, 10 October 2015 (UTC)[reply]

Collapsing MOS-compliant tables

I posted a suggested change earlier to MediaWiki talk:Common.js § Collapsing MOS-compliant tables. I'm not sure how many eyes that page gets, however, so I'm cross-posting here so any interested people can have a look. Relentlessly (talk) 19:10, 9 October 2015 (UTC)[reply]

Table won't sort

On List of Xbox Live Arcade games, there is a table of 707 rows. (At least, the article says there are 707 games. I haven't counted the rows.) When clicking the arrow next to the text of the "Release Date" column header, there is a delay of a few seconds, and then the arrow will change, as expected; but the table does not sort.

I don't see this behavior when sorting by the other columns; the table sorts normally after clicking one of those arrows. Tarcil (talk) 00:03, 10 October 2015 (UTC)[reply]

@Tarcil: I've fixed this by adding data-sort-value for each of the rows, as described at Help:Sorting#Specifying a sort key for a cell. — Mr. Stradivarius ♪ talk ♪ 01:20, 10 October 2015 (UTC)[reply]
Works fine for me. Tvx1 01:20, 10 October 2015 (UTC)[reply]

SQL question

I've been trying to find out the total admin actions per month in order to answer a question at WT:RFA, but I've been having problems running my SQL query on Quarry. My query to find the total admin actions for September ran fine, but when I tried to expand that to all months from January 2001, my query took over 20 minutes to execute and was killed. Is there anything I can do to improve the efficiency of this, or am I better off just making separate database queries for each month from an external script? — Mr. Stradivarius ♪ talk ♪ 11:49, 10 October 2015 (UTC)[reply]

Backend is mysql? If log_timestamp isn't indexed, it's likely to be slow regardless of your query. You could try using the IN operator [12] instead of the multiple OR statements. NE Ent 12:29, 10 October 2015 (UTC)[reply]
Thanks for the tips. :) Yes, it's mysql. I've tried using the IN operator and also reducing the number of dates from 1000 to 300, so we'll see if that helps. It's waiting in the queue now, but there are no other queries running - I think I might have lost my right to have it executed straight away after the previous two attempts... — Mr. Stradivarius ♪ talk ♪ 13:40, 10 October 2015 (UTC)[reply]
Actually, I just saw this example query, which is an approach that should be much more efficient. I'll give that one a try. — Mr. Stradivarius ♪ talk ♪ 14:19, 10 October 2015 (UTC)[reply]
You can also sign up for a tool labs account and run the query manually instead of using quarry :) Legoktm (talk) 15:08, 10 October 2015 (UTC)[reply]
I have one, actually, but I wanted to do it on Quarry so that other people could easily see the results and maybe modify the query. In any case it will have to wait, as I'm getting "SELECT command denied" errors at the moment. — Mr. Stradivarius ♪ talk ♪ 15:43, 10 October 2015 (UTC)[reply]
It's because you are trying to run the query on the private "enwiki" database, not "enwiki_p" which is public. I just ran it on enwiki_p here. --Glaisher (talk) 15:55, 10 October 2015 (UTC)[reply]