Jump to content

Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Peridon (talk | contribs) at 18:36, 27 October 2013 (→‎Notifications). 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. Bugs and feature requests should be made at Bugzilla (see how to report a bug). Bugs with security implications should be reported to security@wikimedia.org or filed under the "Security" product in Bugzilla.

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.


Watchlist cleanup check box

Currently here's what I have: "You have 8,545 pages on your watchlist (excluding talk pages)."

I know it's possible to edit the raw watchlist, but I'd like the option to purge it as I look through the currently active list. Can a box be added beside each line so that I can check all those I want to get rid of and thus clear the list as I go along each day? -- Brangifer (talk) 05:59, 17 October 2013 (UTC)[reply]

Isn't Special:EditWatchlist what you need (that's the link for "View and edit watchlist")? If doing bulk changes (like deleting all items that match a particular search), you would use Special:EditWatchlist/raw, copy the text into an editor, get it how you want, paste it back into the edit box, and click Update. However, I don't think there's anything realistic you can do once you have a few thousand items, apart from severely pruning almost everything. Johnuniq (talk) 06:12, 17 October 2013 (UTC)[reply]
I think Brangifer is looking for something that can be used directly from the "view relevant changes" screen, i.e. the regular watchlist. I use popups for this - you can mouse over the article link and then click the "un" link from "un|watch" in the "actions" menu. However, maybe someone's written a user script that makes an actual button/checkbox/link on the watchlist page itself. Is anyone aware of such a thing? — Mr. Stradivarius ♪ talk ♪ 06:30, 17 October 2013 (UTC)[reply]
Yes, that's what I'm looking for. I already know about the Special:EditWatchlist, but I'm only interested in pruning the no longer relevant ones which actually keep popping up on my watchlist when I'm looking at recent changes. A box would be nice so everyone has access to it on their own watchlist, without having to install a script. -- Brangifer (talk) 14:25, 17 October 2013 (UTC)[reply]
This may be more work than you want to do, but here's what I do (this on on a Mac, in Firefox, so the keyboard commands may be different for you). Hold down the Command key and click on each of the pages that I want to unwatch. This opens a bunch of tabs in the background. Close the watchlist and position your mouse arrow over the blue star that indicates that the article is watched. Click it, then use Command-W to close the tab (without moving the mouse). Click the star on the next article, Command-W, click, Command-W, etc. You can unwatch 50 articles in a couple of minutes if you get into a rhythm. – Jonesey95 (talk) 15:04, 17 October 2013 (UTC)[reply]
I'm familiar with that method and have used it, but I want something easier. I already use Firefox most of the time and often have over 20 tabs open. -- Brangifer (talk) 06:32, 18 October 2013 (UTC)[reply]
Also user:js/watchlist offers a one-click unwatch. ~HueSatLum 02:15, 20 October 2013 (UTC)[reply]
It's a very old request. bugzilla:424 has details. –Quiddity (talk) 18:45, 22 October 2013 (UTC)[reply]

geoiplookup.wikimedia.org

See also Wikipedia talk:Geonotice#Shut it off?? --Redrose64 (talk) 13:39, 19 October 2013 (UTC)[reply]

I don't know what https://geoiplookup.wikimedia.org/ is but what is wrong with it? My browsers wait ages for it till they time out. I get the impression it is happening on every WP page. Nurg (talk) 21:53, 18 October 2013 (UTC)[reply]

I'm getting the exact same thing. Basically every page, or when I click preview. Jevansen (talk) 22:11, 18 October 2013 (UTC)[reply]
I'm getting this too, and I'm seeing a pattern in our locations. --Closedmouth (talk) 05:28, 19 October 2013 (UTC)[reply]
I've never used bugzilla before and I'm not sure if that's the right forum, but I'll see if we can get someone's attention there - https://bugzilla.wikimedia.org/show_bug.cgi?id=55907. Nurg (talk) 07:57, 19 October 2013 (UTC)[reply]
You might want to add yourself to the CC list to receive updates via email. --Closedmouth (talk) 08:32, 19 October 2013 (UTC)[reply]
I'm on the other side of the planet and its affecting me..--Stemoc (talk) 14:59, 19 October 2013 (UTC)[reply]
As mentioned on Wikipedia talk:Geonotice#Shut it off?? this was due to a misconfiguration in our new caching datacenter (ulsfo). I've fixed the issue, but it'll take an hour to propagate through DNS. For the time being I've moved traffic for oceania back to eqiad. When DNS is finished propagating, I'll move the traffic back to ulsfo.--Ryan lane (talk) 01:27, 20 October 2013 (UTC)[reply]
Thank you Ryan. Nurg (talk) 01:31, 20 October 2013 (UTC)[reply]

Hi. Could someone help me with {{Gallery sequence}}? It's largely a direct copy from fr:Template:Animation... Having a bit of difficulty in making it work here... Sandbox is here. Rehman 04:25, 19 October 2013 (UTC)[reply]

Could someone help me, please? Cant seem to figure out the issue(s) in this template... Rehman 12:06, 22 October 2013 (UTC)[reply]
Rehman If you disable javascript in your browser, the French version stops working, and comes out as a vertical strip of images like your sandbox currently does -- so there's likely some default javascript at French Wikipedia that's handling that effect, and likely something we don't currently have here. In that case you wouldn't be able to get your template working here no matter how errorless the template code is :) I'll attempt to find the JS code for theirs, and maybe we can get it added here -- cause that does look like an interesting and useful template. equazcion 12:26, 22 Oct 2013 (UTC)
Thank you! :) Rehman 12:49, 22 October 2013 (UTC)[reply]
No problem :) It looks like the French common.js has the following (copied it to my userspace): User:Equazcion/DiaporamaFrench.js, which seems to be what's handling those slideshows. I was hoping this was a MediaWiki extension but it rather seems to be something custom they cooked up there (at least from what I could ascertain), so we'd need to translate the code and add it here ourselves.
I'd like to find out if this would actually happen (adding this to the site's default JS) before going ahead with any effort to make it work. Anyone have any thoughts? equazcion 13:29, 22 Oct 2013 (UTC)
This sort of thing has come up before, it might be worth looking in the archives for past discussion. One question that comes to mind is whether the printed output is sensible. Anomie 01:18, 23 October 2013 (UTC)[reply]

action=info defintions

Where are the terms used in the output of the page?action=info defined? NE Ent 21:04, 19 October 2013 (UTC)[reply]

Er, what do you mean? Which "terms"? Legoktm (talk) 22:00, 19 October 2013 (UTC)[reply]
Are you looking for this? https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&action=info&uselang=qqx Whatamidoing (WMF) (talk) 22:09, 19 October 2013 (UTC)[reply]
Yes, and maybe mw:Extension:PageInfo NE Ent 11:24, 20 October 2013 (UTC)[reply]
No, not that. action=info is core MediaWiki functionality. ^demon[omg plz] 16:49, 20 October 2013 (UTC)[reply]
Well, specifically was wondering what "recent" meant (recent edits, recent authors). Apparently 30, from Whatamidoing's link. NE Ent 11:24, 20 October 2013 (UTC)[reply]
"recent" is whatever is stored in the recentchanges table, which for most Wikimedia wikis is 30 days. Legoktm (talk) 15:59, 24 October 2013 (UTC)[reply]

How to improve scaleable vector graphics

There are so many internet images that are meant to contain 60° angles whose angles are a lot less perfect than they could have been. For example, the image in the Wikipedia article Eisenstein prime is vertically stretched as shown in the first image with the blue line having an exact 60° angle from horizontal. This is how to contruct a line with an exact 30° angle from horizontal as shown in the second image. You will see the imperfections in the image better if you view them at full resolution. I don't know if it's possible for scalable vector graphics to add a feature of automatically generating a line with an exact 30° angle from horizontal or vertical using a fractal like piecing together of that line. Furthermore, any image with a line with an exact 30° or 60° from horizontal should automatically scale up to a larger image with a larger line with an exact 30° or 60° from horizontal as well as a line slightly clockwise of that orientation always scaling up to another line slightly clockwise of that orientation and a line slightly counter clockwise of that orientation always scaling up to another line slightly counterclockwise of that orientation. Due to the quantization of possible line orientations for each size, it's possible for a line to be constucted in the first place at an orientation such that there exists no possible smaller line that can be scaled up to a line that size with that orientation. Blackbombchu (talk) 02:52, 20 October 2013 (UTC)[reply]

Your examples are both PNG files, which are not vector graphics, nor are they truly scalable. In true Scalable Vector Graphics, drawing a line at 30° - or any other angle - is very easy:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="500" height="500">
  <line x1="-1000" y1="250" x2="1000" y2="250" stroke="black" stroke-width="1" transform="rotate(-30, 250, 250)" />
</svg>
Notice the first parameter to rotate() - that's the angle. More in Coordinate Systems, Transformations and Units at Scalable Vector Graphics (SVG) 1.1 (Second Edition). --Redrose64 (talk) 10:46, 20 October 2013 (UTC)[reply]

Problems in {{Template:India Districts}}

When I edit page Kanpur District, I found a problem in this template. In the |Density section I write 1449 but it shows 1,500/km2. I unable to fix this problem. please fix!--Prateek MalviyaTalk 06:25, 20 October 2013 (UTC)[reply]

The density is calculated from population and area values -- the Density parameter is ignored. I've updated the documentation of the template. NE Ent 11:51, 20 October 2013 (UTC)[reply]
Yes, the population and area are fed into the subtemplate {{infobox settlement/densdisp}}, which determines the degree of rounding by calculation, which involves the {{Order of magnitude}} template. --Redrose64 (talk) 12:15, 20 October 2013 (UTC)[reply]
Oh I know, but calculation is still wrong. It is calculate in round figure. If you divide 4,572,951 (district population) from 3029 (district area) then it will be around 1510.--Prateek MalviyaTalk 05:05, 21 October 2013 (UTC)[reply]
Yes, it rounds it, but not to the nearest integer - or even the nearest ten. It first does the exact calculation:
{{#expr:4572951/3029}} → 1509.7230108947
Then it puts that figure through {{Order of magnitude}} and subtracts the result from 1:
{{#expr:1-{{Order of magnitude|1509.7230108947}}}} → -2
This is then used as the second argument to {{rnd}}:
{{rnd|1509.7230108947|-2}} → 1,500
Rounding to the nearest hundred is quite sufficient for everyday purposes. --Redrose64 (talk) 11:58, 21 October 2013 (UTC)[reply]

Maximum length of url when using API?

I posted this to the Wikimedia Commons pump and was advised to ask here. I'm trying to use the API to get info on many files, but in some cases, the filenames are long, as they are mostly in unicode and thus need urlescaping. For example, this url requests info for fewer than 50 pages, but as you'll see from the link, it returns the blanket error page. The same error seems to happen if I use cURL to stick the query string in the data part of a "POST" request. But both POST and GET methods start working if I reduce the URL to fewer than 8188 chars (oddly, this limit seems to apply to the urlencoded string, so that what counts is the string length of the urlencoded (%) characters, even if the request is made with non-encoded characters). This hints to me that it is a limitation in the MediaWIki software, rather than Apache etc. I can't find any reference to a maximum url length in the API docs. Can anyone point me in the direction of some API documentation about this? HYanWong (talk) 09:15, 20 October 2013 (UTC)[reply]

This query works for me when using a POST request (it doesn't with GET). Matma Rex talk 09:55, 20 October 2013 (UTC)[reply]
There are many places that such a limit could be applied. The limit could be in the caching layer (squid or varnish), or it could be in apache (possibly squid/varnish is re-encoding the URL when forwarding, or possibly it's a rewrite rule re-encoding it), or it could be in various places in PHP, or it could be in MediaWiki. Considering the error received from that particular URL, I'd guess the operative limit is in squid. As noted, doing it as a POST rather than a GET will work fine. Anomie 11:29, 20 October 2013 (UTC)[reply]
Thanks for that. Odd that I couldn't get POST working on my end, but I probably messed up something in cURL. I'll probably just stick to GET (as requested on the API page, to allow caching), but check on the title lengths and make multiple GET requests. It looks like there aren't any obvious bits of documentation I can point when commenting my code. Oh well. Thanks again for the help. HYanWong (talk) 13:23, 20 October 2013 (UTC)[reply]
+1 For getting these limits documented somewhere. Helder 13:44, 20 October 2013 (UTC)[reply]
Via the Commons pump, Bawolff kindly stuck a note on mw:API:FAQ. But as I've also asked there, I'm still getting problems (of a slightly different type) with long titles and urlescaped POST data. The query I posted above works fine for me if proper unicode characters are used in the POST data, but try, for instance, using curl http://commons.wikimedia.org/w/api.php --data @filewithURLescapedPOSTDATA.txt to send the following string as POST data to the API: action=query&format=json&prop=imageinfo%7Ccategories&iiprop=url%7Cmime%7Cmediatype&clprop=hidden&cllimit=500&redirects&titles=File%3A2010.+%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0+%D1%86%D0%B2%D0%B5%D1%82%D0%BE%D0%B2+%D0%B2+%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B5+%D0%BD%D0%B0+%D0%B4%D0%B5%D0%BD%D1%8C+%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D0%B0+01.jpg%7CFile%3A2010.+%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0+%D1%86%D0%B2%D0%B5%D1%82%D0%BE%D0%B2+%D0%B2+%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B5+%D0%BD%D0%B0+%D0%B4%D0%B5%D0%BD%D1%8C+%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D0%B0+06.jpg%7CFile%3A2010.+%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0+%D1%86%D0%B2%D0%B5%D1%82%D0%BE%D0%B2+%D0%B2+%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B5+%D0%BD%D0%B0+%D0%B4%D0%B5%D0%BD%D1%8C+%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D0%B0+08.jpg%7CFile%3A2010.+%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0+%D1%86%D0%B2%D0%B5%D1%82%D0%BE%D0%B2+%D0%B2+%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B5+%D0%BD%D0%B0+%D0%B4%D0%B5%D0%BD%D1%8C+%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D0%B0+09.jpg It works if you remove any one of the titles from the list (doesn't matter which), so I don't think it's to do with a weird character in the unicode escape sequences. What am I doing wrong? HYanWong (talk) 13:14, 21 October 2013 (UTC)[reply]
Works fine for me (Directly copying and pasting what you had there). What's the error message/code that you are getting? Bawolff (talk) 17:37, 21 October 2013 (UTC)[reply]
How odd. I'm getting the same html formatted page as the GET error: "Our servers are currently experiencing a technical problem", with

Request: POST http://commons.wikimedia.org/w/api.php, from 81.155.213.67 via amssq41.esams.wikimedia.org (squid/2.7.STABLE9) to ()
Error: ERR_INVALID_REQ, errno [No Error] at Mon, 21 Oct 2013 18:09:26 GMT

using curl 7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8y zlib/1.2.3. I've just tried pasting into a different text editor in case, but get the same. And since it's a POST request, I assume it shouldn't be cached anywhere. But if it's just my setup, I guess it's not worth documenting. HYanWong (talk) 18:14, 21 October 2013 (UTC)[reply]
Update, I've just tried it on a completely different system (curl 7.20.1 (amd64-portbld-freebsd8.0)), based in a different city (so no caching), and it fails with the same error. So it's not just my home setup. HYanWong (talk) 18:27, 21 October 2013 (UTC)[reply]
There seems to be a limit on the size of the post body. If you start randomly deleting characters from the end, at some point you start getting a reply. Since it is squid that is throwing the error, I suspect the limit is somewhere in squid actually. That would mean that if you are logged in you would bypass the problem. —TheDJ (talkcontribs) 18:51, 21 October 2013 (UTC)[reply]
While there is a limit on the size of the post body, that limit (as far as I can tell) is 100M so that's not the problem with this 1K post. The problem is that curl sends an Expect: 100-continue header by default which the squids can't handle. If you give curl an option --header 'Expect:' to suppress this header, the post works fine. BJorsch (WMF) (talk) 19:19, 21 October 2013 (UTC)[reply]
The --header 'Expect:' does the trick. Thanks a lot. I still don't understand why it works for a smaller POST body without that option to curl, but I'm happy to go with this fix. Thanks for all the help. HYanWong (talk) 22:37, 21 October 2013 (UTC)[reply]
Probably curl doesn't bother with 100-continue when the post body us under 1024 bytes or so. Anomie 00:56, 22 October 2013 (UTC)[reply]

Category handler and mbox templates moved to Lua

I have just updated Template:Category handler to use Module:Category handler. You can see the details of the change here. Please keep an eye out for any strange problems with template categorisation that may be due to the switch. — Mr. Stradivarius ♪ talk ♪ 11:04, 20 October 2013 (UTC)[reply]

And now I have converted {{mbox}}, {{ambox}}, {{cmbox}}, {{fmbox}}, {{imbox}}, {{ombox}}, and {{tmbox}} to use Module:Message box. Please keep an eye out for any strange behaviour you notice from any of these templates as well. — Mr. Stradivarius ♪ talk ♪ 12:52, 20 October 2013 (UTC)[reply]

Regex newline matching doesn't seem to work on MediaWiki page content

In a userscript attempt, I'm hitting a wall when I need to retrieve a multi-line regex match:

var request = {action:"query", titles: wgPageName, prop: "revisions|info", intoken: "edit", rvprop: "content",	indexpageids: 1, dataType: "xml", format: "xml" };
$.get(mw.config.get("wgScriptPath")+"/api.php", request, function(response){
   var content = $(response).find('rev').text();
   var regexObject = new RegExp( '== Sample title ==[\s\S]*' );
   var match = regexObject.exec(content);
});

[\s\S]* is usually supposed to match everything including new lines, but here it's only returning the title line: == Sample title ==. The "match" variable should basically be retrieving the entire page. I'm running this on User:Equazcion/sandbox2, which contains some pasted content from WP:VPP. Does anybody have any idea what I'm missing here? equazcion 17:27, 20 Oct 2013 (UTC)

When using a constructor (as opposed to a regexp literal), you have to double escape, [\\s\\S], since otherwise the single slash is "sucked up" by the built-in string handling ('\s' => 's'). Theopolisme (talk) 17:53, 20 October 2013 (UTC)[reply]
Ahh, that works! You rock, thanks Theopolisme :) equazcion 18:09, 20 Oct 2013 (UTC)

Div col problem

It looks like neither of the two templates for listing in columns is working in IE10. Wahrmund (talk) 18:01, 20 October 2013 (UTC)[reply]

ie10 supports columns. my guess is that you activated inadvertently the "Compatibility mode", which cause ie10 to emulate ie7. if this is what really happened, you can notice that the "broken page" icon in the address line turns blue. peace - קיפודנחש (aka kipod) (talk) 18:09, 20 October 2013 (UTC)[reply]
You are right. I took Compatibility View off, and it now works OK. Many thanks! Wahrmund (talk) 19:12, 20 October 2013 (UTC)[reply]

Good Evening, This page does not work: http://toolserver.org/~tparis/pages/ What is the problem, can it be resolved. Thank you alot,--عراقي1 (talk) 19:17, 20 October 2013 (UTC)[reply]

The problem is that it's on Toolserver, which has been increasingly unreliable for over a year. Some of TParis's tools are now available on WMF Labs, see for example #Pages created by....on Toolserver above. There is more in the archives for this page. --Redrose64 (talk) 19:25, 20 October 2013 (UTC)[reply]

09:17, 21 October 2013 (UTC)

Template links duplicated in article namespace

Within the past 24 hours, I've noted that Special:Whatlinkshere is showing spurious links to pages in the article namespace whose titles are identical to those of a template. For example, the article Bone transcludes {{Cleanup}}. Special:Whatlinkshere/Cleanup now includes Bone as the first linking article, even though Bone does not include a link to the mainspace page Cleanup, and also includes several hundred other articles that do not contain links to the mainspace page but do transclude the template. Special:Whatlinkshere/Template:Cleanup also (correctly) includes Bone. Neither Bone nor Template:Cleanup has been edited recently, so this seems like it has to be caused by a software change.

Using the API, I can find that there are entries in the pagelinks table showing links from Bone to both Cleanup and Template:Cleanup. Nonetheless, examining the wikitext of Bone with all templates expanded shows that no such link should exist. Also, although many pages that transclude the template now show such spurious links to mainspace pages, not all of them do.

The same thing can be found in backlinks to pages whose titles correspond to many other commonly-used templates, including Update, Tone, and POV.

Can anyone figure out what is causing this? --R'n'B (call me Russ) 10:43, 21 October 2013 (UTC)[reply]

Probably related to #Category handler and mbox templates moved to Lua. Does a null edit fix it? Werieth (talk) 10:46, 21 October 2013 (UTC)[reply]
Yes, this does sound very much like a bug in Module:Message box. I'll take a look into it. — Mr. Stradivarius ♪ talk ♪ 11:19, 21 October 2013 (UTC)[reply]
This is a tough one. I couldn't see any unusual html output, and I couldn't see any links to mainspace articles like Cleanup in the expanded template wikicode. I've reverted back to the old version of Template:Ambox for now until I can find exactly what went wrong. I did see a discrepancy in the talk page link code between the old template and the Lua version, so it might have something to do with that. At any rate, the spurious links should now disappear after a null edit. — Mr. Stradivarius ♪ talk ♪ 12:06, 21 October 2013 (UTC)[reply]
In Module:Message box at line 209, it appears that you're creating a mw.title object for "self.name", which is likely to be something like "Cleanup" rather than "Template:Cleanup". Anomie 12:45, 21 October 2013 (UTC)[reply]
Yep, that looks like the one. I'll fix this tomorrow when I have some more time. Thanks for finding the problem, and also thanks to WOSlinker who found it independently. :) — Mr. Stradivarius ♪ talk ♪ 13:28, 21 October 2013 (UTC)[reply]
Thanks for the quick response! --R'n'B (call me Russ) 13:32, 21 October 2013 (UTC)[reply]

EXIF Metadata in file description pages

There's a discussion going on at File talk:Torre dei Becci, June 2013.jpg#Metadata concerning the linking of the values shown against "Software used"; specifically, how can we sensibly link the ambiguous value "6.0" to the page iOS 6 when the camera is an Apple, and nothing else. Please contribute to that discussion. --Redrose64 (talk) 19:22, 21 October 2013 (UTC)[reply]

BOT Error Messages

Good Morning,

What are the meanings of these ERROR MESSAGES:

  1. Please add sysopnames[’wikipedia’][’ar’]=’name’ to your user-config.py
  2. No handlers could be found for logger "pywiki"
  3. Token not found on wikipedia:ar. You will not be able to edit any page. Recieved incomplete XML data.

Thank you alot, --Iraqi talk 06:10, 22 October 2013 (UTC) [reply]

Please see mw:Manual:Pywikibot/Gerrit and update your pywikibot version to the latest one out of git. You'll want to use "pywikibot/compat". Legoktm (talk) 06:33, 22 October 2013 (UTC)[reply]
(Aside) I have subst'd your signature (see WP:SIG#NT) and fixed the unbalanced "span" and "big" tags. -- John of Reading (talk) 07:05, 22 October 2013 (UTC)[reply]
Also عراقي1, it's strongly suggested in WP:Appearance and color that "big" tags be avoided in signatures. Regards, —  dainomite   15:43, 22 October 2013 (UTC)[reply]

Help update pp-template

We could use template coder eyes at Template talk:Pp-template#Update for template protection, so we can finally get that new pink lock to show up and differentiate template-protected pages. Check over the current sandbox2 version and share your thoughts on whether or not it's ready and what else might need to be done. From what I can tell, this is pretty much the final step in implementing template-protect.

This template is called by {{documentation}} when protection is present on a template, so these changes could potentially affect many pages. Though assuming we do it right, visible changes would only show up for previously indef'd templates that have been downgraded to template-protect. equazcion 14:09, 22 Oct 2013 (UTC)

Rollback button on Contributions special page

I was curious if there's a way to disable the rollback button or hide it from view when on a user's contributions page. I know there is an option in preferences to disable it for the watchlist, just curious if there is a way for the contribs page too. I often view WP on my phone and I've miss-clicked on the RB button on the watchlist in the past and would like to prevent that from possibly happening in the future, albeit on the contribs page. I can't see myself rolling back an edit without viewing it first anyway. Thanks, —  dainomite   15:36, 22 October 2013 (UTC)[reply]

You could add this to your common.js:
if (wgCanonicalSpecialPageName == "Contributions") $('.mw-rollback-link').remove();
equazcion 15:56, 22 Oct 2013 (UTC)
Another option would be add:
body.mw-special-Contributions .mw-rollback-link {display:none}
to your common.css; this way has the minor advantage of avoiding the slight loading delay to which Javascript is prone. Writ Keeper  16:25, 22 October 2013 (UTC)[reply]
Oh, Equazcion and Writ Keeper. I implemented the css change first, cleared my cache and nothing changed, the rollback button was still there. Then I implemented the jss change and still nothing. After that I started to think some more and went through my twinkle settings at Wikipedia:Twinkle/Preferences. I saw that under the "Show rollback links on these pages:" section the box marked "Contributions pages of other users" was checked. I unchecked it and saved my preferences and the rollback buttons were still there and went back to my twinkle preferences and noticed the box stayed checked no matter if I unchecked and saved. So I raised the question at WT:TWINKLE to see if that was a bug or something. Any input or comments would be much appreciated. —  dainomite   02:16, 26 October 2013 (UTC)[reply]
Do you know if you're seeing the Twinkle rollback link or the "real" rollback links? The Twinkle ones are bold and light-blue colored, while the real ones look like ordinary links. You could try going into User:Dainomite/twinkleoptions.js and removing this line: "showRollbackLinks": [], then go back to the twinkle preferences page and try unchecking the box again. equazcion 02:26, 26 Oct 2013 (UTC)
@Equazcion:, it's the twinkle buttons but I didn't realize it at the time when I made this thread. I removed that tidbit in this diff. And I unchecked the box and saved my twinkle preferences which resulted in this diff. —  dainomite   02:41, 26 October 2013 (UTC)[reply]
That looks about right now. Are you still seeing rollback in the contribs lists? Remember to bypass your cache. equazcion 02:51, 26 Oct 2013 (UTC)
Thanks for the reminder. —  dainomite   03:07, 26 October 2013 (UTC)[reply]

What has happened to Commons?

https://commons.wikimedia.org/wiki/Main_Page should show the WikiMedia Commons home page. Instead I am seeing it redirect to https://wikimediafoundation.org/wiki/Home, the Wikimedia Foundation home page. -- John of Reading (talk) 17:19, 22 October 2013 (UTC)[reply]

Anyone know what's going on over there? Beyond My Ken (talk) 17:21, 22 October 2013 (UTC)[reply]

Seems to work again. A minute ago, some URLs directed to wmf: while other URLs returned a 404 error message. --Stefan2 (talk) 17:25, 22 October 2013 (UTC)[reply]
Same with https://meta.wikimedia.org. A glitch? GregorB (talk) 17:28, 22 October 2013 (UTC)[reply]
No, still not working for me. All calls to Commons are going to WMF instead. Beyond My Ken (talk) 17:32, 22 October 2013 (UTC)[reply]
Whoops, had Commons for a second, but the next call went to WMF. Someone's tinkering? Beyond My Ken (talk) 17:33, 22 October 2013 (UTC)[reply]
Yes, Commons redirects to the Wikimediafoundation. When I tried to log in, I got the error message: "Login error. There is no user by the name "Maile66". Check your spelling." Maybe I don't have an account with the foundation.— Maile (talk) 17:48, 22 October 2013 (UTC)[reply]
I am also seeing this problem. Sometimes the URL takes you to Commons, sometimes it takes you to Wikimedia foundation. Some sort of load balanced server error?  — Amakuru (talk) 17:57, 22 October 2013 (UTC)[reply]
Interestingly, when I click on the Commons icon at the bottom of the Wikipedia Main Page, I'm asked if I want to download an application. Beyond My Ken (talk) 18:01, 22 October 2013 (UTC)[reply]
Yes, I get that error if I go to [8]. Another problem: if I try to go to a page in the project namespace, Commons sometimes removes the namespace from the page title, so I end up at "Village pump" instead of "Commons:Village pump". Is anyone else having this problem? --Stefan2 (talk) 18:07, 22 October 2013 (UTC)[reply]
Me too. I was trying to go to the description page of File:Alder Dam.JPG and for a while it would only go to a WMF page only, one that I'm not a member of. Now it seems fixed though, and the description link goes to the Commons. Soranoch (talk) 18:17, 22 October 2013 (UTC)[reply]
Now it's screwed up again the the description page goes to a WMT page. But now again it goes to the Commons. Seems to which back and forth. Soranoch (talk) 18:24, 22 October 2013 (UTC)[reply]

Now it's back to http://wikimediafoundation.org/wiki/File:Alder_Dam.JPG What's going on? And clicking the description banner there still goes to http://wikimediafoundation.org/wiki/File:Alder_Dam.JPG. Am I hallucinating? Soranoch (talk) 18:27, 22 October 2013 (UTC) [reply]

On the WP:HD help desk a user reports that changing http to https fixes th issue for him. DES (talk) 18:40, 22 October 2013 (UTC)[reply]
Server/Software problems, started about 93 minutes ago. Try to open your Watchlist..... Was completely broken when it started (no activity on Commons for 20 minutes). --Denniss (talk) 18:41, 22 October 2013 (UTC)[reply]

I had to clear my browser's cache to stop it being redirected to Wikimediafoundation when visiting links I visited when it was broken. Colin°Talk 18:59, 22 October 2013 (UTC)[reply]

Clearing the cache worked for me too (meta.wikimedia.org). GregorB (talk) 19:56, 22 October 2013 (UTC)[reply]
Working for the moment but I wouldn't call them stable. Multiple timeout/reload errors while deleting or moving files. --Denniss (talk) 20:03, 22 October 2013 (UTC)[reply]
Looked OK to me right now. Served the main page properly, and random image returned [9] - no complaints here :) Wnt (talk) 04:54, 23 October 2013 (UTC)[reply]
For those who like technical details, see http://lists.wikimedia.org/pipermail/wikitech-l/2013-October/072599.html for an explanation. --AKlapper (WMF) (talk) 14:33, 23 October 2013 (UTC)[reply]
Right now, I have the most trouble going to my contributions in the commons and going to the commons category "Chevrolet vehicles." I'm kind of afraid to clean my cache though, because if I did, it would remove my ability to enter a lot of sites, and some of them have passwords I can't keep track of. ---------User:DanTD (talk) 17:16, 26 October 2013 (UTC)[reply]

About gadget "CharInsert"

Hi, here, on en.wiki, you have the gadget (extension) CharInsert. It's nice. I also want this extension on my home wiki - on romanian wikipedia, but we don't have there this gadget.
I want to ask: can somebody develope an userscript, so i can use this thing on ro.wiki to? :) Thanks. // XXN (talk) 10:16, 23 October 2013 (UTC)[reply]

The edit tools are done in a very weird way here on en.wp… personally I'd suggest creating MediaWiki:Edittools page on ro.wp based on pl:MediaWiki:Edittools (with <charinsert> tags) and importing this gadget: pl:MediaWiki:Gadget-edittools-enhanced.js) which magically converts those to pretty dropdown lists (similar to the one here, but slightly different (it will need minor adjustments for other wikis, I can help with that if you're interested. Good luck :) Matma Rex talk 10:32, 23 October 2013 (UTC)[reply]
Related question: Is it possible to add another group of characters in your own common.js so that it shows up with the rest? VanIsaacWS Vexcontribs 11:25, 23 October 2013 (UTC)[reply]
yes. this can be achieved by defining "window.charinsertCustom" in your common.js. you can see how it's done, e.g., in User:Ilmari Karonen/monobook.js (i just searched for this variable in user's scripts - i did not test that it actually works). peace - קיפודנחש (aka kipod) (talk) 14:41, 23 October 2013 (UTC)[reply]
It doesn't seem to work for me. I've tried enabling and disabling all the edit toolbar preferences, and no combination seems to make it work. I think there's another custom variable somewhere that creates the new group which you would then be able to insert characters to. VanIsaacWS Vexcontribs 22:40, 23 October 2013 (UTC)[reply]
again, i did not test it, but the code in your user space is just wrong. you have
charinsertCustom : { "Hiragana" : "ぁ あ ぃ い ぅ う ぇ え..." }
which is incorrect JS syntax. it should be
charinsertCustom = { "Hiragana" : "ぁ あ ぃ い ぅ う ぇ え..." }
i.e., "=" instead of ":". it would be even nicer if you use "window.charinsertCustom", though in most cases this is not mandatory. it seems that in at least one of your tries you actually had it right - i think that if you return to this version and do deep refresh several times, the magic will happen. peace, קיפודנחש (aka kipod) (talk) 23:22, 24 October 2013 (UTC)[reply]
Look in the history. I've tried every permutation of equals and colon. I saw the colon syntax on a user page when I searched for "charinsertCustom", and that's where I couldn't figure out anywhere else to go. VanIsaacWS Vexcontribs 01:04, 25 October 2013 (UTC)[reply]
please note that i actually linked to one of your good edits. if you go back to this one and refresh enough times, you'll see it's working. since my previous message i tested it, and i can verify it does. peace - קיפודנחש (aka kipod) (talk) 03:20, 25 October 2013 (UTC)[reply]

I solved my problem, by creating page ro:Utilizator:XXN/common.js :) XXN (talk) 01:11, 24 October 2013 (UTC)[reply]

Gadget or Extension?

Hello Brothers,Whats this in eng wiki? Search options More info box on selection Muhammad Shuaib (talk) 10:39, 23 October 2013 (UTC)[reply]

I don't think that's a gadget or anything else related to Wikipedia. It looks more like a browser add-on that lets you search by clicking words on any page. This is an example, but there are many of these things in existence. equazcion 16:52, 23 Oct 2013 (UTC)

When decades actually begin and end. Or: counting, and what zero means.

I discovered on the 1976 article that all year articles contain incorrect mathematics: The article incorrectly states that 1976 is the 7th year of the 1970's decade. But we all know that counting begins at the number 1. So, even though it looks wrong, the 70's began on January 1st 1971. Therefore ... 1,2,3,4,5,6 ... that means 1976 is the 6th year of the seventies decade. Simple stuff really. There is no "year zero," but there is the 10th year in a series. And that 10th year belongs to the original series, not the next. Meaning 1970 is the final year of the 60's, etc. This incorrect math is seen elsewhere on Wikipedia:

"... the 1000th and last year of the 2nd millennium , 100th and last year of the 20th century, and 1st year of the 2000s decade."

Well, that contradicts itself quite obviously. Because by normal counting rules inherent to the fabric of space-time, the last of a series can't also be the first part of a series. Or: zero can't be 1, and 1 can't be zero. The year 2000 is the last year of the 1990's. The decade begins on January 1st, 2001.

So, I couldn't find where to edit 1976 to correct the math. And when I started looking around for this flaw, I noticed that it's everywhere. If there is any kind of absurd objections to my intention to correct basic math mistakes, perhaps a professional mathematician can step in and provide basic counting lessons. Then perhaps a script could be generated to automatically correct the errors, rather than having to manually edit each one.

I'm surprised this has escaped detection for this long. But obviously, basic math should be correct on an information project that calls itself an "encyclopedia."

Good luck. — Preceding unsigned comment added by 50.136.29.18 (talk) 16:41, 23 October 2013 (UTC)[reply]

I think that would be a prefect example of pedanticism, and would really not serve the encyclopedia well in practice. Although your math may be technically correct, common usage of decades doesn't follow strict math. If we made the correction you suggest, Wikipedia would likely conflict with information in the vast majority of sources. Which would be bad. equazcion 17:01, 23 Oct 2013 (UTC)
(edit conflict) It is inconsistent, but long-standing convention on Wikipedia is that when speaking of decades, we ignore the last digit of the year. So the 1970s runs from 1970 to 1979. But with centuries, the 20th century runs from 1901 to 2000. More at WP:CENTURY. --Redrose64 (talk) 17:01, 23 October 2013 (UTC)[reply]

Actual encyclopedias encode math correctly, there is no reason why Wikipedia would invent byzantine math rules on it's own. And yes, the math is technically correct, and that is what an information source like Wikipedia should be: accurate. Wikipedia should be brave enough to conflict with sources that are plainly wrong. Real encyclopedias (as Wikipedia is trying to be) are the source of information and do not have to follow incorrect math just to be in harmony with "the vast majority of sources."

And: now that it's proven that the "long-standing convention on Wikipedia" is technically incorrect, it's time to fix it. In reality, we don't "ignore the last digit of the year." As I described in my lesson how to count above, the 1970's run from 1971 to the end of 1980. The 20th century runs from 1901 to 2001 (because centuries by definition have 100 years). No words or grammatical inventions will change how basic math works in reality.

So, we are in agreement then about how to count. Numbers begin at 1, and the first unit of the next series of 10 begins with 11. All Wikipedia dates need to be corrected to represent the reality of how numbers actually work, not how the common mind misunderstands them. Common minds will gradually begin to understand how numbers work when this flaw is corrected. An online information source such as Wikipedia is highly degraded when compliance with fuzzy common misunderstandings is held to a higher standard than basic facts.

But this issue is so simple, perhaps it seems complex. Perhaps at this point a professor of mathematics should explain how counting works. Thank you for reading. — Preceding unsigned comment added by 50.136.29.18 (talk) 17:29, 23 October 2013 (UTC)[reply]

So we must count our ages from 1 as well then, since that's where numbers begin with? I guess 7 billion people got it wrong. —  HELLKNOWZ  ▎TALK 18:07, 23 October 2013 (UTC)[reply]
And tell all the people who celebrated the start of the millennium on 1 January 2000. The maths isn't wrong but society has decided it want to count 0-9. NtheP (talk) 18:53, 23 October 2013 (UTC)[reply]
This is more of a language convention issue than a mathematical one. The "courage" argument could be made for many things here, and the reason Wikipedia doesn't take such initiative is that its very principle is not to. "Common misunderstandings", when it comes to such conventions, are rather common here for that reason. We have WP:COMMONNAME, for example, which describes our practice of using names commonly associated with topics rather than names that could be said to be the most technically accurate. I'm sure many scientists and professors cringe at some of our article names, since they represent misconceptions that have worked their way into common use, and that they've been trying to dig out of their students' heads for years. Nevertheless, verifiability, not truth is the standard here (more or less). We follow the sources for a given topic, rather than seek to correct them based on our own research. equazcion 18:53, 23 Oct 2013 (UTC)

This discussion doesn't belong on VP(T). --Trovatore (talk) 18:56, 23 October 2013 (UTC)[reply]

It was originally a technical question (even though it became a policy one). equazcion 19:02, 23 Oct 2013 (UTC)
It was? It seems to be about content, not functionality. --Trovatore (talk) 19:41, 23 October 2013 (UTC)[reply]
He was asking if something technical could be done to correct a problem that he already presumed was present. At least that's how I see it. equazcion 19:57, 23 Oct 2013 (UTC)

This is a matter of words and their definitions, not of math. And the current articles have it right. The "first year" means the the first one year time period. Counting years counts the end of those time periods, and age is the amount of time span from the zero point. North8000 (talk) 19:19, 23 October 2013 (UTC)[reply]

Please if you will post the link(s) to the original discussions regarding this technical question. I don't want to waste anybody's time here. I'll just read what's there and not make a fuss. I would talk from an account, but I don't like to argue. Really, this one just seemed like a huge over-ripe piece of low-hanging Wikipedia logic-flaw fruit ready to be cut up and shared with a laugh. Enjoy, and thanks ! 50.136.29.18 (talk) 19:35, 23 October 2013 (UTC)[reply]
I don't think anyone understands what you mean about posting links. I was referring to your original question above, when I said it was originally a technical matter (in case you thought I meant this was referring to a past discussion). equazcion 19:48, 23 Oct 2013 (UTC)
This discussion started on a false premise. In fact, we do not"all know that counting begins at the number 1." Sometimes we do start from zero. ~ J. Johnson (JJ) (talk) 21:42, 23 October 2013 (UTC)[reply]
Actually, you are factually wrong. 1976 is the seventh year of the 1970s. It is, however, the sixth year of the 198th decade. Just like 2013 is the 14th year of the 2000s, but the 13th of the third millennium. When you are dealing with ordinals vs. cardinals, the rules are different. VanIsaacWS Vexcontribs 23:25, 23 October 2013 (UTC)[reply]

Wikimedia Error

I have been trying to make an edit to this page, List of auxiliary Interstate Highways, and have received several timeouts that resulted in the standard Wikimedia Error page that reads...

Our servers are currently experiencing a technical problem. This is probably temporary and should be fixed soon. Please try again in a few minutes.

You may be able to get further information in the #wikipedia channel on the Freenode IRC network.

The Wikimedia Foundation is a non-profit organisation which hosts some of the most popular sites on the Internet, including Wikipedia. It has a constant need to purchase new hardware. If you would like to help, please donate.


If you report this error to the Wikimedia System Administrators, please include the details below.


Request: POST http://en.wikipedia.org/w/index.php?title=List_of_auxiliary_Interstate_Highways&action=submit, from 97.96.192.146 via cp1001.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.129 (10.64.0.129)

Error: ERR_READ_TIMEOUT, errno [No Error] at Wed, 23 Oct 2013 18:23:51 GMT

I isolated it to this section of that page, List of auxiliary Interstate Highways#Auxiliary Interstates, by copying and pasting that section to my sandbox. I tried to make a dummy edit, but timed out to the Wikimedia Error page. This happens when I try to preview the edit. After timing out twice, I tried to edit a different page and had no problem on preview. Then I tried again to edit this page and once again timed out. I used IE10 and WIN8 for the initial edit attempts. Then I switched to Firefox24. This time I tried to save the page after edits, but again received the Wikimedia Error page. This time the bottom section read...

If you report this error to the Wikimedia System Administrators, please include the details below.

Request: POST http://en.wikipedia.org/w/index.php?title=List_of_auxiliary_Interstate_Highways&action=submit, from 97.96.192.146 via cp1009.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.129 (10.64.0.129)

Error: ERR_READ_TIMEOUT, errno [No Error] at Wed, 23 Oct 2013 19:10:24 GMT

Is there something wrong with the code in that section of that page? Is the main table too big and long? It's a very long page, but has it grown too long to edit? – Paine Ellsworth CLIMAX! 19:20, 23 October 2013 (UTC)[reply]
PS. I found that I also time out when I try to compare some recent edits from the history page. PS added by – Paine Ellsworth CLIMAX! 19:24, 23 October 2013 (UTC)[reply]

Seems the edits are getting saved even though an error gets returned, FYI. I made a successful dummy edit, and see one from User:Paine Ellsworth just before mine in the history. equazcion 19:44, 23 Oct 2013 (UTC)
I had a similar error when editing WP:FRS (i think). The extreme number of templates kept returning a timeout even though my edits got through. -- t numbermaniac c 21:05, 23 October 2013 (UTC)[reply]
The "fix" is probably to convert numerous templates to Lua. --AKlapper (WMF) (talk) 22:20, 23 October 2013 (UTC)[reply]
(edit conflict) The delays are primarily caused by the {{Jct}} template. I believe there is ongoing work to reduce the delays by converting this template to use Lua. See also Wikipedia:Village pump (technical)/Archive 119#Timing out issue on California State Route 1 and Talk:California State Route 1#Timing out issue. – PartTimeGnome (talk | contribs) 22:24, 23 October 2013 (UTC)[reply]

Fast subtemplate {JctI} for Interstates

I am working on a faster subtemplate, to be Template:JctI, which can show road junctions in the format of {Jct|state=xx|I|nnn}, but 4x-5x times faster. For example, it can reduce the reformat time, by 14-24 seconds faster, in page section:

The related templates in that section noted by Paine, including Template:Roadlink and Template:Convert, use 35 seconds and 3 seconds, towards the timeout limit of 60 seconds, which left only 22 seconds to format the {Jct} entries in the road table. In rare cases, all templates could reformat in 57 seconds, but a slight delay in the servers would exceed the 60-second timeout and hit the "504 Gateway" error during edit-preview. The draft version of {JctI} is in page User:Wikid77/Template:JctI, and seems to properly format all the {Jct} entries in that page, allowing the whole section to reformat within 40 seconds. More later. -Wikid77 (talk) 23:21, 26 October 2013 (UTC)[reply]

To editor Wikid77: That sounds much better! I also wonder if the entire section, Auxiliary Interstates could be reorganized into two or three subsections, so that subsection PREVIEW would reformat and render even faster? – Paine Ellsworth CLIMAX! 02:10, 27 October 2013 (UTC)[reply]

Going the wrong way

Recently, I've come across an unusually large number of internal links that lead to the wrong articles....most commonly, a name that leads to the wrong person. (and for some strange reason, the wrong person often turns out to be an athlete or ballplayer!) We have a bot that tells you when your link leads to a disambiguation page. Would it be possible to design a bot that searches for wrong links...maybe by comparing key words in the two articles? Obviously, you couldn't make the results definitive...just provide a suggestion to double-check...but it would be helpful (and prevent a lot of ballplayers from getting undeserved credit). WQUlrich (talk) 19:28, 23 October 2013 (UTC)[reply]

@WQUlrich: I'm guessing that the consensus here is that this is "not a good idea". And, to speculate, I'd guess one reason is a concern over false positives - if the bot decides the link is wrong, and it's not, then the bot is going to have unnecessarily bothered an editor (posting on his/her talk page about a possible error).
Moreover, this is actually a rather hard problem for a bot to understand. First, since articles don't have "key words", the bot will need to be able to create them, for each article. Then, if a link were (say) something like "Smith's father was Joe Whomever Smith", it's not at all clear that one article would have much in common with the other, and thus "key words" wouldn't really help. So you might end up with a bot that was only reasonably confident in its predictions, say 25% of the time, and still had a 10 or 20 percent error rate. And a bot that takes a LOT of time doing its processing.
But if none of that is persuasive, then you should post at WP:BOTREQ, and see if anyone there is interested. -- John Broughton (♫♫) 17:50, 25 October 2013 (UTC)[reply]
@John Broughton: That's really what I expected, but I don't know very much about programming so I thought there might be some technique I was unaware of. I guess, practically speaking, if an article gets a lot of use it shouldn't take long for someone to discover the error. If it doesn't get much use (or any) then it's hardly a burning issue. WQUlrich (talk) 19:02, 25 October 2013 (UTC)[reply]

Byte size limit of transclusions

I've learnt recently that when templates are too big, pages that transclude it display a link instead of the template. What is the byte size "border"? (If that makes sense.) -- t numbermaniac c 20:59, 23 October 2013 (UTC)[reply]

It's not necessarily that they're too big - too many can cause it too. See Wikipedia:Template limits. --Redrose64 (talk) 21:39, 23 October 2013 (UTC)[reply]

Refer to article Saengerfest. A couple of days ago, there were a small list of backlinks under "What Links Here". Right now, there are thousands and thousands of backlinks there, the majority of which seem to be article talk pages. Does anybody know what causes this phenomenon? It's listed at GA since last week, but that listing had not caused this proliferation of backlinks as of a couple of days ago.— Maile (talk) 23:37, 23 October 2013 (UTC)[reply]

It would be this edit that did it. --- WOSlinker (talk) 23:44, 23 October 2013 (UTC)[reply]
(edit conflict) Picking a few random talk pages I expanded all the templates and did a ctrl-f search for "Saengerfest", and WikiProject Texas' GAN list is the only place it showed up (I would've posted that but WOSlinker beat me to it, and had a diff to boot -- how he did that so quickly is beyond me ). Pretty sure that's all that would be needed to produce all those backlinks, no error required. equazcion 23:52, 23 Oct 2013 (UTC)
Thank, you all. — Maile (talk) 23:56, 23 October 2013 (UTC)[reply]

oldid interwiki

Is there an interwiki prefix that rewrites oldids to permanent links? --Kiyokoakiyama (talk) 02:04, 24 October 2013 (UTC)[reply]

Not that I know of, but Special:PermaLink/578426186 (or PermanentLink) works, and can be used in almost any case you would use an interwiki link. See also Special:ComparePages. πr2 (tc) 02:10, 24 October 2013 (UTC)[reply]
(edit conflict) Not sure if there's something especially for that, but you can use fullurl:
Ah, that probably answers the question better. You could also use ru:Special:PermaLink/59064415. πr2 (tc) 23:48, 24 October 2013 (UTC)[reply]

Is there a way to opt out of the mobile site?

I sometimes edit Wikipedia on my phone, using the desktop version, with no trouble. However sometimes it redirects me to the mobile site and I don't like it, I prefer the capabilities of the full version. Is there a way to turn redirecting off or a button to "switch to desktop version" within the mobile site?KonveyorBelt 04:00, 24 October 2013 (UTC)[reply]

Multiple bullet points on a line

Bullet point behavior on Wikipedia is unintuitive, and can become an intricate procedure when used during discussions. Responding well to a bullet point comment means placing your comment on the very next line with no break in-between, and with, at most, one more asterisk than the line above.

  • Hello, how are you?
    • I am fine, thank you.

One must take care not to stray from these rules, lest one look like an idiot.

  • Hello, how are you?
    • I appear to be a moron, thank you. left a blank line!
          • Wikipedia can help you pick out brain medicines, as it has for me. too many asterisks!

I have literally never come across an instance where placement of multiple bullet points on a line before a statement was intended, nor could I fathom when that might be beneficial. Can we fix this behavior and make bullet points easier to use, by doing away with these silly requirements? Let's just have multiple asterisks produce a single bullet with the requisite number of indents before it, in all cases. PS. I realize some might say bullets should just not be used in discussions, but they will be regardless. PPS. I also realize this may be some unintended technical issue, but if so I'm hoping we can agree it might be worth fixing? equazcion 04:43, 24 Oct 2013 (UTC)

  • I believe this has come up before, and I know there is a workaround to avoid this behavior.
  • Hello, how are you?
  • I appear to be a moron, thank you. left a blank line!
  • Wikipedia can help you pick out brain medicines, as it has for me. too many asterisks!
Replacing all of the leading asterisks with colons avoids the issue. Whether or not this should be fixed in the core, is up to the developers to decide (and I will almost bet there have been tickets submitted on Bugzilla about this behavior), and you may want to ping them or post a ticket on Bugzilla... Technical 13 (talk) 04:54, 24 October 2013 (UTC)[reply]
Line breaks between list items (especially those involving bullets, like the last two examples) cause problems for screen reader users like myself. Indenting using a mixture of colons and asterisks (especially when the colons come first) also creates some hideous HTML, which is presented literally by screen readers. Graham87 08:38, 24 October 2013 (UTC)[reply]
Were it up to me, I'd have a character that served the same function as : or * that would be active only in talk pages but that didn't create html lists to implement a discussion. Very often, lengthy discussions become wall-of-text-like when one writer follows immediately after another without a line break. This I think is an encumbrance on understanding.
I don't know how to implement such a mechanism because I haven't given it any more thought than what I've described. If such a mechanism is possible, it would be a solution to both Editor Graham87's and Editor Equazcion's issues. And, it would keep other editors from harping on me for adding line breaks to my contributions to talk pages.
Trappist the monk (talk) 14:32, 24 October 2013 (UTC)[reply]
Quick guide to the "right" way to reply to talk posts: 1. Never put a gap between posts. 2. Copy the asterisks (*), colons (:) and number marks (#) from the post to which you are replying, then add one symbol of your own.
<p style="margin-left: 1.5em">
Indented without list markup
</p>
I agree with Trappist regarding the need for better markup; the way to indent text without abusing list markup (shown right) is too painful for use in discussions. Another wiki I edit uses tildes for this purpose, but MediaWiki already uses tildes for signing posts. The developers are unlikely to add such markup because the upcoming Flow will automatically indent posts.
Regarding the wall-of-text problem, I have the following in my common.css to resolve this:
dd { margin-bottom: 0.5em; }
dd:last-child { margin-bottom: 0; }
This also adds extra space to definition lists in articles, but I like the extra spacing there too.
Part of the problem of multiple bullets is down to MediaWiki not requiring editors to mark the start and end of a list, to simplify markup. MediaWiki tries to figure out where lists start and end by seeing if an asterisk is matched at the same position on the next and previous lines. If there are multiple asterisks not matched on the previous line, MediaWiki takes it to be the start of multiple bulleted lists nested inside each other, hence multiple bullets appear. If the previous line is blank, all of the asterisks start a new list, so all cause a bullet to show. – PartTimeGnome (talk | contribs) 20:28, 24 October 2013 (UTC)[reply]
  • Multi-indents and need for relative ":+" indentation: We should have relative-indentation (of the form ":+" as one more tab stop than the above msg), but there is a common case where a message is followed by a double-indented response, when interjecting a 2nd response above a prior (often lengthy) response:
           : This is the original message.
           ::: This is the 2nd, but interjected, response.
           :: This is the first response.
Such cases, of double-indented lines (2 extra colons "::"), are common when someone thinks they have a more-direct response than the immediate reply had stated. In a relative style, it could be ":++" to indent by 2 levels more than the prior msg. For relative indentation as ":+" then the parser would need to be smart about remembering the indentation level of the prior text, and when too complex, just show as relative to the margin (so then ":+++" would be same as ":::"). Of course, if templates had the parser extension for global variables, then we could write a smart template which kept a counter and indented by "{{in+}}" as a template which increments the global variable for indentation in the talk-page. Unfortunately, {:+} will transclude page "+" into a discussion, so that would be even more confusing. At least we have {od}, which pretends to be smart enough to know wherever the last word was displayed, to handle the reverse outdent cases:
So, we have made some progress over the years. -Wikid77 (talk) 20:09, 24 October 2013 (UTC)[reply]
{{od}} is not that smart, nor does it pretend to be (what you describe cannot be done in a template). Using it without any parameters produces an outdent marker with a length equivalent to 10 colons of indent. If you want a different length, specify it as a parameter. E.g. {{od|::::}} will make an outdent marker equivalent to 4 colons of indent. – PartTimeGnome (talk | contribs) 20:36, 24 October 2013 (UTC)[reply]
Any solution to this is going to have to be local; the WMF devs are working on Flow, for talk pages, and that will eliminate this problem. -- John Broughton (♫♫) 17:37, 25 October 2013 (UTC)[reply]

The drop-down option for saved edit summaries/subject headers etc. has vanished for the second time (previously fixed by unclicking 'Always use a secure connection when logged in' on 'Preferences'), and I can't seem to fix it. Any help welcome. GiantSnowman 11:44, 24 October 2013 (UTC)[reply]

Hello, this is Surya - admin in Tamil Wikipedia. In Tamil Wikipedia's main page the "Categories" link & category addition option is always shown. How to remove that from main page. I searched for it in en.wiki's main page code, but, can't find though. Need help, kindly respond with any markup or CSS changes. Thanks a lot. -- SuryaPrakash  Talk... 13:15, 24 October 2013 (UTC)[reply]

I don't see any category stuff at the bottom of w:ta:Main Page. I was going to suggest this was caused by the Hotcat gadget, but it looks like you don't have that at ta.wikipedia. It looks like w:ta:User:Surya_Prakash.S.A./vector.js (your vector.js) does have w:ta:User:Jayarathina/iwt.js, which seems like it might have something to do with categories (not really sure). I would try removing that and seeing if it makes that stuff disappear from the main page, but this is just a guess. equazcion 13:49, 24 Oct 2013 (UTC)
I don't know the language but ta:Special:Gadgets shows they have HotCat. It's opt-in and can be enabled at "விரைவுப்பகுப்பி" at ta:Special:Preferences#mw-prefsection-gadgets. When I enable it I don't see it on the main page ta: but do see it on other pages. I guess Surya's account has something which prevents HotCat from being removed from the main page. PrimeHunter (talk) 16:51, 24 October 2013 (UTC)[reply]
That's odd. When I checked their gadgets just prior to my reply above, hotcat wasn't there... or at least, I could've sworn it wasn't, and I did the ctrl-f thing and everything. Wondering if I missed it somehow or they added it because of my reply referencing it here. equazcion 17:14, 24 Oct 2013 (UTC)
Nevermind. I'm using Chrome to auto-translate, and it apparently removes those .js filenames from the gadget list. So all I saw was "Viraivuppakuppi", which apparently means "Hotcat". equazcion 17:17, 24 Oct 2013 (UTC)
So, it's problem with my vector page? Thanks, I'll check it. Thanks for your efforts people :)  SuryaPrakash  Talk... 02:47, 27 October 2013 (UTC)[reply]

Unable to delete file

I'm trying to delete File:Minigun System.gif but I'm not able to. I'm getting an error when I try to do so: "Error deleting file: The file "mwstore://local-multiwrite/local-deleted/o/l/c/olcm49xeacsh8myzkuz294lv1d0n3xv.gif" is in an inconsistent state within the internal storage backends". Anyone know what the problem is? Mark Arsten (talk) 15:30, 24 October 2013 (UTC)[reply]

I've just got the same error message. GiantSnowman 15:37, 24 October 2013 (UTC)[reply]
Same. I've asked in #wikimedia-tech. Legoktm (talk) 16:02, 24 October 2013 (UTC)[reply]

For the second time today, I attempted to undelete a file and received the following message (or one similar):

Error undeleting file: The file "mwstore://local-multiwrite/local-public/1/16/Emeritus_Professor_Norman_Maclean.jpg" is in an inconsistent state within the internal storage backends

In the other instance, I had access to the file, so ignored it and re-uploaded it. In this case I do not.

Any thoughts on what to do?--SPhilbrick(Talk) 22:20, 24 October 2013 (UTC)[reply]

You mean this? That's weird, I can seem to access it just fine. Maybe it was a transient thing; can you try it again? Writ Keeper  22:22, 24 October 2013 (UTC)[reply]
Did you try to see it? I tried again and it failed. I also ran into a similar problem with:
Error undeleting file: The file "mwstore://local-multiwrite/local-public/3/33/Jackson_Laboratory_President_and_CEO_Edison_T._Liu,_M.D.jpg" is in an inconsistent state within the internal storage backends
If you can restore it, would you? I'll add the OTRS template.have to run--SPhilbrick(Talk) 22:28, 24 October 2013 (UTC)[reply]
I note that if I click on the file history, I can see the image. But restore fails.--SPhilbrick(Talk) 22:30, 24 October 2013 (UTC)[reply]
I think that the error message means that the file has wrong file access permissions set on the server. User:Fastily mentioned some similar problem at Commons:COM:UR#File:Federico díaz sembion 2003, 2004.jpg. Try bugzilla:. --Stefan2 (talk) 22:47, 24 October 2013 (UTC)[reply]
If it's still a problem, please file a ticke tin https://www.mediawiki.org/wiki/How_to_report_a_bug under "Wikimedia > Media storage". --AKlapper (WMF) (talk) 08:43, 25 October 2013 (UTC)[reply]
I undeleted a file successfully earlier today. If I hit a problem again, I'll file the bug. Thanks.--SPhilbrick(Talk) 23:18, 26 October 2013 (UTC)[reply]

Font color of article text

Has the font color of text in the body of Wikipedia pages changed? I think it used to be black, but now all pages appear to have grey text. Is this the case for anyone else? -- Toshio Yamaguchi 19:53, 24 October 2013 (UTC)[reply]

To expand a bit, I know that the font color used to be the same as the color of my signature (which is black). Now there is a noticeable contrast (at least for me). -- Toshio Yamaguchi 20:06, 24 October 2013 (UTC)[reply]

It's definitely black for me - MonoBook and Vector. --Redrose64 (talk) 20:46, 24 October 2013 (UTC)[reply]
Still grey for me (vector skin + Safari). -- Toshio Yamaguchi 11:15, 25 October 2013 (UTC)[reply]
Seems to be defined as #252525 in the style sheet. The printable versions seems to have changed as well. Not a fan. — Whisternefet (t · c) 20:45, 25 October 2013 (UTC)[reply]
I see it too. What is weird is that I can't find it defined anywhere in the source! Where the hell does it come from? Edokter (talk) — 10:19, 26 October 2013 (UTC)[reply]
It comes from Vector's skin styles, and was changed – I presume accidentally – in https://gerrit.wikimedia.org/r/#/c/79948/ . I'll submit a patch to restore the previous value. — Preceding unsigned comment added by Matma Rex (talkcontribs) 11:00, 26 October 2013 (UTC)[reply]
[edit conflict] It comes from https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=true&modules=skins.vector&only=styles&skin=vector, which is generated by LESS. It seems the new color was introduced by Jon (WMF) in gerrit:79948, but I believe it was supposed to be an opt-in beta feature. Helder 11:04, 26 October 2013 (UTC)[reply]
https://gerrit.wikimedia.org/r/#/c/92065/ Matma Rex talk 11:07, 26 October 2013 (UTC)[reply]
The color #252525 is present in the image of this document: mw:Wikimedia Foundation Design/Color usage#Color Coding/ What Colors Represent. Helder 11:17, 26 October 2013 (UTC)[reply]

Password reset

In case anyone was wondering, we recently updated Special:PasswordReset's basic design to match login and account creation on all wikis. This was noted above in Tech News, but I thought I'd give it a bit more visibility with a separate thread. Password reset is linked directly from login, and it's one of the most common ways to get there. Having login and password reset look a bit more alike will make it easier on everyone, and especially new people. What we've settled on so far isn't perfect, and ideas for further improvements are being discussed on MediaWiki.org, since this is a part of MediaWiki core. Steven Walling (WMF) • talk 19:57, 24 October 2013 (UTC)[reply]


?action=edit vs. &action=edit

I'm having a problem with url's in The Wikipedia Adventure.


This code comes up in Guided Tours as a way to send the user back to the editing page if they save without making an edit (which fails to advance the tour)

var postEditButtons = [];
if ( mw.config.get( 'wgAction' ) === 'view' && !gt.isPostEdit() ) {
        postEditButtons.push( {
                name: 'Go back and make an edit',
                onclick: function() {
                        window.location.href = window.location.href +
"?action=edit";
                }
        } );
}

https://en.wikipedia.org/wiki/MediaWiki:Guidedtour-tour-twa1.js

As you can see, I can either append ?action=edit or &action=edit, either works for only some of the urls I'm dealing with. Any ideas for a fix? Cheers, Ocaasi t | c 20:28, 24 October 2013 (UTC)[reply]

A URL may be thought of as several portions. The ? separates the main part from the "query string"; and an ampersand & is used to split the query string into two or more parameters. It follows that there can only be one question mark; that an ampersand cannot be used unless a question mark is also present; and that the first ampersand (if present) must be after the question mark. So, at this exact moment, my browser has in the address bar http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29&action=edit&section=39 - here, http://en.wikipedia.org/w/index.php is the base URL, ? separates that from the query string, which is title=Wikipedia:Village_pump_%28technical%29&action=edit&section=39 - that in turn has two ampersands, therefore three parameters: title=Wikipedia:Village_pump_%28technical%29 action=edit section=39 --Redrose64 (talk) 20:36, 24 October 2013 (UTC)[reply]
(edit conflict) URL format is generally that there's one (and only one) question mark for the first URL parameter, and if there are multiple parameters, the others get ampersands. Post-EC -- Basically what RedRose64 said, only simpler :) equazcion 20:37, 24 Oct 2013 (UTC)
In other words: Include the "index.php" portion as "/w/index.php?title=Xxx&action=edit" rather than use a "/wiki" portion. -Wikid77 (talk) 20:44, 24 October 2013 (UTC)[reply]
(edit conflict) You could try this:
if (window.location.href.indexOf('?') > -1) {
window.location.href = window.location.href + "&action=edit";
} else {
window.location.href = window.location.href + "?action=edit";
}
equazcion 20:45, 24 Oct 2013 (UTC)
You can do it with mediawiki.Uri (this is already loaded by several modules, so you probably will not be causing anything extra to be downloaded). You should use mw.loader.using to depend on it like this:
mw.loader.using( 'mediawiki.Uri', function () {
// Put the whole tour in here. ...
        onclick: function() {
                window.location.href = new mw.Uri().extend( { action: 'edit' } ).toString();
        }
// ...
} );
The nice part is that this works for any number of URL parameters (you just comma separate them), and it handles all the ? and & business for you. It will also override existing parameters with the same name . Superm401 - Talk 20:52, 24 October 2013 (UTC)[reply]

Need invisible space in Wikipedia mixed numbers

In July 2013, there was a discussion to put an &nbsp in all mixed numbers, to separate the integer portion from the fraction during a copy/paste, {{frac|21|3|4}} gives 21+34 and paste-copies as "21 3/4". The archived discussion:

Unfortunately, the extra space in the fraction is excessive (appearing as if "21 .75"), and we need a hidden space. Recall that in other cases, we put hidden text in a span-tag "position absolute" off-screen, but the copy/paste included the off-screen text when copied in any browser. So, I think:

21<span style="position:absolute; top: -9999px"> </span><sup>3</sup>...

Any thoughts? -Wikid77 (talk) 20:33/20:56, 24 October 2013 (UTC)[reply]

:Can you use &thinsp;? It looks like you already have the whole thing wrapped in a "nowrap" class, so you shouldn't necessarily need the "non-breaking" feature of &nbsp;. It looks like you're using &#32; to create a space, but I don't see that on any HTML entities lists (my Google-fu is failing me). What does it do? – Jonesey95 (talk) 22:39, 24 October 2013 (UTC) [reply]

Even a thin-space &thinsp is likely too wide, and might fail on some older browsers. In a decimal numeral, &thinsp does: "21 .75" whereas there should be no spaces inside numerals. Instead, the hidden space would be: 21<span style="position:absolute; top: -9999px">&nbsp;</span><sup>3</sup>⁄<sub>4</sub> and appear as "21 34" (←try copy/paste with that fraction). -Wikid77 (talk) 22:51, 24 October 2013 (UTC)[reply]
(e/c) Now that I've gone and read the thread linked above, which anyone should do before responding here, it looks like people have tried thinsp and other tricks, only to run into copy-paste problems when trying to copy the thinsp version of 21+34 into a text editor called "Notebook++" on Windows. I tried copying and pasting the output of the thinsp version of the fraction on my Mac, from Firefox 24 into TextWrangler 2.2.1, Outlook 2011, Notes (Mac OS 10.8), Excel 2011, and Word 2011, and it pasted just fine in all of them. With respect, I think the person with Notebook++ is basing the "it's working" test of copy and paste on an less-than-adequate text editor.
Are we forking the discussion here? Should I be responding over on the other thread? – Jonesey95 (talk) 22:55, 24 October 2013 (UTC)[reply]
Responding to myself again to point out that the existence of the space itself is a WP:MOSNUM issue that appears to be under discussion, both at the thread above and at Template_talk:Frac#Spacing.
Your example of "21 .75" does not make sense to me as relevant to the discussion of fractions. – Jonesey95 (talk) 23:05, 24 October 2013 (UTC)[reply]
If by "the thread above", you mean WT:Manual of Style/Dates and numbers/Archive 140#Non-breaking spaces in mixed numbers, there should be no ongoing discussion there, it's an archive. --Redrose64 (talk) 23:21, 24 October 2013 (UTC)[reply]
I don't know how relevant this is but regarding Notepad++, its default encoding is ANSI, and a LOT of characters common in Wikipedia articles don't render that way. You can switch the encoding easily to UTF-8 (what Wikipedia uses, I think, so anything that shows up here should come out correctly there), and even change the default to that, but some people might not realize. Someone should post a thinsp example fraction here for testing. equazcion 01:37, 25 Oct 2013 (UTC)
Copying and pasting is never going to work across the board. Personally, I see no benefit in trying to make it work. The templates are there for formatting only. Consider ⁠1+2/3 and ; you wil notice when copying that <math>...</math> rendered output cannot be copied at all. So why are we trying to make it possible with templates? Edokter (talk) — 10:01, 26 October 2013 (UTC)[reply]

"User contributions" has disappeared from my Toolbox on my user page and all other user pages

Magog the Ogre suggested I ask here. See

User contributions has disappeared from my Toolbox in left margin of user pages.

How can I get it back?

Also I now have "Message names" there in the toolbox. I have no use for that and can't even figure out what it does.

How can I get the toolbox to be like it was before (with "User contributions" and no "Message names".

Thanks, Soranoch (talk) 20:01, 24 October 2013 (UTC)[reply]

Well, I still have "User contributions", also "Logs" which should be just below it but is absent from your screen shot.
"Message names" was introduced some months ago, and was announced on this page. It's useful for technically-minded people, since it reveals which of the hundreds of MediaWiki: files contains text like "From Wikipedia, the free encyclopedia". It's not really an everyday thing. You can hide it with some CSS:
li#t-messagenames { display: none; }
just put that into Special:MyPage/common.css. --Redrose64 (talk) 20:20, 24 October 2013 (UTC)[reply]
How can I get "User contributions" back? (I don't care one way or another about "Message names" but I resent it was just put there with no explanation.) I don't follow Village Pump (technical) and I expect most users don't. It's bad that I have to do something to "hide" "Message names".
How can I get "Users contributions" back? Soranoch (talk) 20:46, 24 October 2013 (UTC)[reply]
I will start a new thread since this doesn't answer my basic concern. Soranoch (talk) 20:50, 24 October 2013 (UTC)[reply]
Please don't fragment the discussion. It makes the discussion harder to follow (and you'll probably get a reply along the lines of "see previous discussion"). People can see your comments here and would tell you if they knew what was wrong. You can help by trying a few things to narrow the problem down:
Ach, I posted too late, after you had already started a new thread. I see equazcion has already merged the threads back together. – PartTimeGnome (talk | contribs) 21:19, 24 October 2013 (UTC)[reply]

"Users contributions" has disappeared from Toolbox on my user page and those of other users when I go to their user pages. See

Magog the Ogre suggested I ask here. See

User contributions has disappeared from my Toolbox in left margin of user pages.

How can I get it back? Thanks, Soranoch (talk) 20:54, 24 October 2013 (UTC) [reply]

It looks probable that you have chosen the preference under gadgets/appearance which says "Add page and user options to drop-down menus on the toolbar." If so, you can turn that option off which will return the links to the toolbox drop-down menu or get used to seeking those options under the new user drop-down menu.—John Cline (talk) 21:02, 24 October 2013 (UTC)[reply]
Thank you! Thank you, John Cline! That was the problem. All fixed now! Sorry I got frustrated trying all that other stuff, but thank you! Soranoch (talk) 21:41, 24 October 2013 (UTC)[reply]
Yes, it looks like you have been changing preferences at Special:Preferences#mw-prefsection-gadgets. "User contributions" changes location when you enable "Add page and user options to drop-down menus on the toolbar", and "Message names" appears when you enable "Add a toolbox link to display the current page with MediaWiki message names replacing their text". PrimeHunter (talk) 21:23, 24 October 2013 (UTC)[reply]
I could be wrong but I don't think that's the problem. Pretty sure this is the same issue as is being reported in the section below. As well as in #Drop-down option for saved edit summaries/subject headers reported by User:GiantSnowman. equazcion 21:28, 24 Oct 2013 (UTC)
User:Haza-w/Drop-down menus#cite note-user-replace-1 says: 'This replaces the link in the "toolbox" portlet on user/user talk base pages. The toolbox links are removed unless tbusr is set to true.' Soranoch has confimed this was it. The linked page shows how to keep the toolbox links when the gadget is enabled. PrimeHunter (talk) 22:28, 24 October 2013 (UTC)[reply]

collapsible groups in navigation sidebar gone.

Can't think of anything I changed that would have affected this. Just today, the little triangle widgets in the navigation sidebar that allowed me to expand or collapse the groups have disappeared. Curiously, this only affects Chrome while I'm logged in. When I log out in Chrome, the widgets are there and they are there in IE whether logged in or not. Any ideas on what might be causing this? olderwiser 20:48, 24 October 2013 (UTC)[reply]

I'm getting this in Firefox on and off. I can generally hard-refresh to get them back, but it still recurs. equazcion 20:51, 24 Oct 2013 (UTC)
Looks like I only have to hard-refresh once per unique page. I guess the styles server is/was having trouble today, again. equazcion 20:53, 24 Oct 2013 (UTC)
Heh, it had been bugging me most of the day, but I figured it might be one of those things that just comes and goes of its own accord, and so I didn't bother asking. Of course, almost immediately after posting here, the widgets are back. Go figure. olderwiser 21:01, 24 October 2013 (UTC)[reply]
Looks like the two users above (User:Bkonrad, and User:Soranoch in the section above) are/were experiencing the same issue. The server that provides certain javascript and css is likely having intermittent trouble. bypassing your cache will fix this some of the time (during times when the server is back up but your browser is still showing its cached page version). I'm experiencing the same issues, FYI. equazcion 21:12, 24 Oct 2013 (UTC)

Error message when undeleting

 – merged with an existing discussion about the same problem – PartTimeGnome (talk | contribs) 22:21, 25 October 2013 (UTC)[reply]

Mobile Wikipedia overwriting Firefox's desktop request

When using Firefox for Android on my phone, I've sometimes wanted the desktop edition of a page instead of the mobile edition. Tapping "Request desktop site" isn't working. It's being overriden. I know you can click desktop at the bottom of the page, but it takes forever to scroll on pages like Template:AFC statistics. :( -- t numbermaniac c 04:42, 25 October 2013 (UTC)[reply]

The problem you are reporting sounds like a potential issue in the code of the MediaWiki software or the server configuration (and bugzilla:56139 is maybe related, maybe not). If the problem is reproducible, it would be nice if somebody who has this issue could send the software bug to the 'Bugzilla' bug tracker by following the instructions How to report a bug. This is to make developers of the software aware of the issue. If you have done so, please paste the number of the bug report (or the link) here, so others can also inform themselves about the bug's status. Thanks in advance! --AKlapper (WMF) (talk) 08:45, 25 October 2013 (UTC)[reply]
I have the same problem in others websites. The server detect that your are using mobile so it redirect you automatically to the mobile version of the site. Rabah201130 (talk) 09:02, 25 October 2013 (UTC)[reply]
It's not quite related; I will create a bug report later. -- t numbermaniac c 22:39, 25 October 2013 (UTC)[reply]
I have the same issue Andre, and it does seem to be related to bugzilla:56139 whereas I've only personally had an issue on Special: pages. Technical 13 (talk) 23:30, 25 October 2013 (UTC)[reply]
Not knowing exactly what the "Request desktop site" in Firefox does, my guess is it only modifies the URL to try and load the desktop version. MediaWiki will then send you back to the mobile version because it does not detect a cookie indicating you prefer the desktop version. That cookie is only set when you click the Desktop link. Edokter (talk) — 09:49, 26 October 2013 (UTC)[reply]

Hi, I want to know if there is a solution to get the interwiki links using a bot. Before Wikidata, the interwiki links were included in the text of the article. I'm using DotNetWikiBot API. Thanks. Rabah201130 (talk) 09:02, 25 October 2013 (UTC)[reply]

Main Page interwiki list. Werieth (talk) 12:36, 25 October 2013 (UTC)[reply]

Uncategorized pages have stopped updating

The special pages that list the uncategorized categories, templates and pages have stopped updating across wikis on September 10. Has this been discussed previously somewhere or is there a bug report filed? --Pxos (talk) 09:27, 25 October 2013 (UTC)[reply]

There are previous discussions at Archive 117#Cached special pages not being updated (26 Sep) and Archive 117#Special pages (2 Oct). There is also bug 53227 on Bugzilla. – PartTimeGnome (talk | contribs) 22:47, 25 October 2013 (UTC)[reply]

Bot Error Message

The Error Message
Error Message When I have "console_encoding = 'utf-8'"

Good Evening,

I tried to substitute a template using this code:

template.py

But, I always get Error messages. Finally I have deleted:

console_encoding = 'utf-8'

from «User-config.py» file, & it worked, but the substitute template, which is in Arabic language was unreadable. So, how can it be resolved ?

Thank you alot, --العراقي (talk) 11:53, 25 October 2013 (UTC)[reply]

What is the error message when you have console_encoding = 'utf-8' set? Werieth (talk) 12:28, 25 October 2013 (UTC)[reply]

Hi, As a PWB developer, first read this page and after that I suggest to add:

transliteration_target = 'ascii'

and check again, p.s. send my best to Abbad!:)Ladsgroupبحث 13:12, 25 October 2013 (UTC)[reply]

  • I have added
    transliteration_target = 'ascii'

& changed fonts to Consolas, but still not working.

Note: Im using «ConEmu.exe» not «cmd.exe». --العراقي (talk) 13:58, 25 October 2013 (UTC)[reply]

my output shows It has to work when you set the transliteration as ascii, It's not related to the output device because when you set it as ascii, anything will be translitered to latin (e.g. س-->s) :)Ladsgroupبحث 16:17, 25 October 2013 (UTC)[reply]
User-config.py Syntax

Good Evening Everyone,

Here is the photo that show the «syntax» I put in «User-config.py» file of my BOT to work on arabic wikipedia. Can you please tell me about mistakes in it ?

Thank you alot, --العراقي (talk) 13:36, 26 October 2013 (UTC)[reply]

Page unavailable due to technical error

I've copied the following from Village Pump (Miscellaneous) on the advice of Rivertorch:

Even for a seasoned editor like myself, WP's help pages can seem labyrinthine - I hope this is a reasonable place to post this . . . the page at River Usk has become unavailable though the talk page still functions. Last edit was by Verbcatcher a few hours ago. Can it be fixed please. Geopersona (talk) 07:20, 24 October 2013 (UTC)[reply]
Works for me. What's the exact error? --AKlapper (WMF) (talk) 14:44, 24 October 2013 (UTC)[reply]
When using Internet Explorer the title of the page appears followed by nothing more then I get locked out of Wikipedia and replaced by this error message: res://ieframe.dll/acr_error.htm#wikipedia.org,https://en.wikipedia.org/wiki/River_Usk (with Internet Explorer has stopped trying to restore this website. It appears that the website continues to have a problem. on the screen). Another user has reported the same phenomeneon on the WikiProject Wales talkpage where I'd also made mention of it. A third regular editor reported no problem when using Google Chrome. I've just tried Chrome and had no problem but IE still won't open it. I've never had this issue on WP before in several years of editing and browsing the site. thanks Geopersona (talk) 17:53, 24 October 2013 (UTC)[reply]
If you don't mind navigating one more layer in the labyrinth, you may get more and quicker responses at Wikipedia:Village pump (technical). I assume you've done all the usual cache- and cookie-clearing procedures, restarted your computer, and so on. Rivertorch (talk) 21:46, 24 October 2013 (UTC)[reply]
And the answer is 'yes' in reply to Rivertorch's recommended actions - it causes the same problems on other computers I've tried when using IE as a browser (it's IE8 on this machine). Hope someone can figure out what's going on and fix it! cheers Geopersona (talk) 16:05, 25 October 2013 (UTC)[reply]
If you look at the [history], do old versions render OK in IE 8? If so, which change results in the article rendering poorly? – Jonesey95 (talk) 22:15, 25 October 2013 (UTC)[reply]
Whilst I have actually made some edits to River Usk whilst using Chrome today, I cannot access either the current or any old version using Internet Explorer. Geopersona (talk) 11:47, 26 October 2013 (UTC)[reply]

DigiCert?

Everytime i come to wikimedia, i run a background sniffer, it detected that this site connects to DigiCert on ip (198.35.26.106) which isn't actually a wikimediaIP range (208.80.154.xxx), is this necessary?. It started recently, about a week or 2 back. I'm asking cause it uses around 252kb of data everytime I refresh the Watchlist or go to any page. I don't care about any of my pages being "safe" but I don't like unnecessary usage of Data as i'm on a Limited data plan and on wikipedia, you have to refresh your watchlist a LOT...Is there a way to disable this? Was this set in place after the recent "passwords compromised" debacle a few weeks back?--Stemoc (talk) 00:12, 26 October 2013 (UTC)[reply]

I notice that Wikipedia's SSL certificate is from DigiCert. Could it be your browser that is making this HTTP request? — This, that and the other (talk) 00:30, 26 October 2013 (UTC)[reply]
I'm on Firefox 24. If true, is there a way to disable it? cause when i do a search for the IP, it tells me its owned by Wikimedia Foundation Inc. it does eat a lot of unnecessary data and ignores the cache which means if i go to a page, it will get cached right, so when i close that tab and open it again, it should not eat the same amount of data it used in the first time since its cached but it does, which probably means that now wikipedia is running on https instead of http...--Stemoc (talk) 00:46, 26 October 2013 (UTC)[reply]
Open Tools -> Options or Edit -> Preferences (depending on your build), then go to Advanced -> Certificates -> Validation. If the first option about OCSP is on, then it's connecting to DigiCert to verify the certificate hasn't been revoked since it was issued. You can disable this if you want, but it will probably reduce your security and barely save any data at all. Jackmcbarn (talk) 03:42, 26 October 2013 (UTC)[reply]
Why do you say it is connecting to "DigiCert"? When I check whois it tells me that the IP range 198.35.26.0/23 is registered to Wikimedia, and doing a PTR lookup for the IP tells me the host name is bits-lb.ulsfo.wikimedia.org; in other words, it's the load balancer for bits.wikimedia.org at the new ulsfo caching datacenter. The 252kb is going to be the CSS and JavaScript, although your browser should be caching it so it isn't re-fetched on every page view. Anomie 01:38, 26 October 2013 (UTC)[reply]
Not necessarily connecting, but that IP is new to me and yes its registered to wikimedia, i'm only familiar with the (208.80.154.xxx) and the toolserver Ip ranges. Yes my sniffer tells me its for the 'bits-lb.ulsfo.wikimedia.org' caching datacenter but what i haven't noticed until today is that my url now has a https instead of http, It wasn't https a few days ago..the new server not only makes wikipedia run through a secured server but also prevents the browser from caching it....Is that really necessary? How do i opt-put of the "secured" option?...it is set to cache in my browser so that isn't the problem..--Stemoc (talk) 03:12, 26 October 2013 (UTC)[reply]
Hi (and welcome back I was under the impression that you left. Sorry.) Cometstyles. I think you can use http by going to Special:Preferences and deselecting "Always use a secure connection while logged in", but I would generally recommend that you use https. If caching is the issue, you should file a report on bugzilla: (I can do so if you don't want to). πr2 (tc) 04:12, 26 October 2013 (UTC)[reply]
Why did i not see that option? a slight reduction (from 272 to 140kbs), thanks...I don't know who you are lol, hehe..yeah i didn't completely leave, i created a lot of articles and i had to come around from time to time to update and fix them so i decided to create an account to look after them..thanks for the option..I'm not worried about "security" I only use wikipedia from home from my PC which is hard to hack..no need to file a bug...Thanks though :) ...--Stemoc (talk) 04:53, 26 October 2013 (UTC)[reply]
Your computer being hard to hack isn't relevant. HTTPS prevents people on other computers intercepting the login token your browser sends to the Wikimedia servers, by encrypting everything sent on the connection. The login token can be used to impersonate you on Wikimedia wikis until you log out, so it's a bad thing if someone else can discover it.
The risk is particularly high if you use Wikipedia over Wi-Fi. Even without Wi-Fi, you don't know how secure the other systems used to connect to Wikipedia are. (Using traceroute, I see my requests to Wikipedia pass through four computers before reaching Wikimedia. This will probably be different for you, depending on your ISP.) – PartTimeGnome (talk | contribs) 20:39, 26 October 2013 (UTC)[reply]
I ran a trace route on mine, went through 21 computers and yet i still feel secured. We were all on an unsecured method till last week or so when they changed the url to a secured server. WiFi is not common in my country and those that are available are protected. My IP hopped between 2 other countries before reaching USA...I think others need to be notified of the new changes, though most in developed countries wouldn't care but those like me in a very much 3rd world country with limited data would..--Stemoc (talk) 01:38, 27 October 2013 (UTC)[reply]

WMF notification email marked as spam by Yahoo

An email to me with the subject "You have a new notification at Wikipedia" (without quotation marks) sent October 23 or 24, 2013 (seen today), from wikipedia.org at IP 208.80.152.133 (involving terbium.eqiad.wmnet and mchenry.wikimedia.org) was treated by Yahoo as spam. (I have omitted sender and intermediate email addresses in here per a WP policy or guideline but can supply them if desired.) That may mean that the sender's mailing list administrator is not deleting bounced addresses after a second bounce, if that's still the current standard, or it may mean something else. It's not a problem for me, but it would be for many other recipients, because Yahoo sends such email into a spam folder instead of the regular inbox, and many users may not check the spam folder. Nick Levinson (talk) 20:03, 26 October 2013 (UTC)[reply]

Image overlaps TOC

Resolved

A reader reports that the image File:Logarithmic scale.png overlaps the TOC in Benford's law.

It doesn't on my main monitor. However, if I move it to a smaller monitor maybe 15" I do see the overlap. The reader reports the problem existing on a monitor with dimensions of 17 x 11.

I do not get overlap in Chrome, nor IE even on a laptop. In those cases, when there isn't enough room, it first squeezes the TOC, and eventually slides it down.

However, in Mozilla, the image will overlap the TOC if I view it on a 15" screen or reduce the window size to approximately that size.

I trying throwing in a {{Clear}} but that didn't help.

Is there a simple fix which will work for a modest monitor size under Mozilla?--SPhilbrick(Talk) 23:11, 26 October 2013 (UTC)[reply]

Well, that solved the problem, but I'm worried about the non-standard location of the TOC.--SPhilbrick(Talk) 12:57, 27 October 2013 (UTC)[reply]

Searching articles that are in a category

Dear tech experts: I would like to find a way to search articles inside a category for specific text. For example, right now there are about 1400 pages that are the category "Pending AfC submisssions". If I want to find out which of them have the word "football" in the text, is there a search tool that will do this? CatScan is good at searching categories for many things, but it doesn't appear to have a field for text in the body of the article. The standard search engine finds text in an article, but doesn't seems to do categories. I would like to create a link to a preprepared search (maybe in a user box) which could be placed on a WikiProject page or on a user page which would allow users to quickly check from time to time to see if there were any pending Afc submissions in their area of interest. I left a message about this at the help desk, HERE but didn't find an answer there so far so I thought that I would try here. —Anne Delong (talk) 00:26, 27 October 2013 (UTC)[reply]

I don't know how to do it, but that sounds like a useful idea.--SPhilbrick(Talk) 13:06, 27 October 2013 (UTC)[reply]
Followup: in the Help:Searching article, there's a function called "incategory", and after reading the instructions I tried this search: football incategory: Pending_AfC_submissions, but it didn't find any results. Can it be because this is a "hidden" category? —Anne Delong (talk) 13:58, 27 October 2013 (UTC)[reply]
I fear you may be right. For example, doing this search:
ammonia incategory: German_chemists
generates a hit, e.g. Eduard Zintl, but searching in the hidden category:
ammonia incategory:Wikipedia_articles_with_VIAF_identifiers
fails, even though Eduard Zintl is clearly in it.--SPhilbrick(Talk) 14:18, 27 October 2013 (UTC)[reply]
This is because the search isn't, strictly speaking, for articles in that category - rather, it's for articles with that category link in the wikitext. As a result, "German chemists" will get a hit, but "Wikipedia articles with VIAF identifers" won't, because this is generated from within a template. The same problem applies to AFC categories - it's not that they're hidden, it's that they're template-generated rather than in the article code. Andrew Gray (talk) 14:33, 27 October 2013 (UTC)[reply]
Well, I tried something different, "football -missing -draftnew prefix:Wikipedia talk:Articles for creation", which at least limits mention of the articles in other spaces and eliminates ones with missing templates and unsubmitted drafts, but I haven't found a way to distinguish between current submissions and already declined ones, because they both use the same basic template. If there was some common item that was only on pending submissions... —Anne Delong (talk) 18:16, 27 October 2013 (UTC)[reply]

Talkpage notification

In the last couple of days I've noticed that I'm no longer getting the orange notification when somebody edits my talkpage. Is this a known bug; or a feature; or am I seeing things? bobrayner (talk) 11:53, 27 October 2013 (UTC)[reply]

The yellow bar has been appearing fine for me today. The usual behaviour, as far as I'm aware, is to get the yellow bar for all posts made to your talk page apart from minor edits made by bots. So the edits on your talk page by SineBot shouldn't have triggered the orange bar, but all the other edits should have. If the yellow bar hasn't been showing up for you at all then it sounds like a bug. I'll test it by making a post on your talk page now - let me know if you see the yellow bar this time. — Mr. Stradivarius on tour ♪ talk ♪ 12:09, 27 October 2013 (UTC)[reply]
Not all other edits. It doesn't come up for rollbacked edits as well, in my experience. --Glaisher [talk] 12:43, 27 October 2013 (UTC)[reply]
Thanks for triggering it again. I got 99 notifications but an orange bar aint one:
Am using Chrome on W7 with Monobook. Haven't tweaked anything recently. bobrayner (talk) 12:46, 27 October 2013 (UTC)[reply]
You can see the text of the "talk" link is "talk: you have new messages" instead. It should be in a yellowish orange – if it's not, then it muse be overridden by some of your custom styles. Matma Rex talk 13:20, 27 October 2013 (UTC)[reply]
Hmm, actually no – it should be orange, but it's not. That's a bug, filed it as Template:Bug and I'm going to submit a patch soon. Matma Rex talk 13:32, 27 October 2013 (UTC)[reply]
Perhaps deleting
.usermessage {background-color: #d0ffd0; border: 1px solid #225522; }
from your monobook.css is worth a try, because it's not appearing green anymore, either. ~HueSatLum 13:41, 27 October 2013 (UTC)[reply]
Already done, although my understanding was that it was redundant, as it only controlled the behaviour of {{Usermessage}}; and having been like that since January, it's unlikely to have triggered the recent change in notification behaviour.
Thanks, Matma Rex, for the swift bugfix! bobrayner (talk) 13:48, 27 October 2013 (UTC)[reply]
Just as a followup, the problem persists after removing that line from my monobook.css. Can recreate in IE10. Cannot recreate in the Modern, Vector, and Cologne Blue skins. Good grief, Cologne Blue looks horrendous in IE10. My eyes are burning. bobrayner (talk) 16:27, 27 October 2013 (UTC)[reply]
I have this problem too. Lugnuts Dick Laurent is dead 13:44, 27 October 2013 (UTC)[reply]
Also here, somebody applied some Orange-B-Gon. - The Bushranger One ping only 16:21, 27 October 2013 (UTC)[reply]
Yes, yes, it's broken, thanks guys :) I submitted a patch to the bug: https://gerrit.wikimedia.org/r/92181 – it'll hopefully be merged after the weekend. The problem isn't very critical, so deployment to Wikipedia and friends will probably go per the standard timetable (within two weeks of the patch being accepted). Matma Rex talk 17:19, 27 October 2013 (UTC)[reply]

Why is the number of articles shown in the "Pages" column of Special:ValidationStatistics (currently 4,428,211) higher than the one from {{NUMBEROFARTICLES}} (4,360,748)? Opraco (talk) 14:40, 27 October 2013 (UTC)[reply]

The first one is reported as a count of "number of pages in the main namespace not counting redirects". The second one, per mw:Manual:Using custom namespaces#Content namespaces, counts "not a redirect and has one external link". I suspect this may be where the discrepancy arises, but could be wrong... Andrew Gray (talk) 15:00, 27 October 2013 (UTC)[reply]
It's one internal link (wikilink), not external. See mw:Manual:$wgArticleCountMethod for how to choose it. http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php sets it to 'link' for all Wikimedia wikis except four that are not Wikipedias and have apparently requested another setting at Bugzilla, for example bugzilla:40173. PrimeHunter (talk) 15:40, 27 October 2013 (UTC)[reply]
Apologies, yes - internal! Andrew Gray (talk) 16:10, 27 October 2013 (UTC)[reply]

Notifications

What's happened to the little yellow bar that lit up the 'talk' button? It used to come up for talk page messages while thanks and such just had the red square. Peridon (talk) 18:12, 27 October 2013 (UTC)[reply]

@Peridon: Assuming you're on the Monobook skin (you should always mention that when reporting issues), it got accidentally bonked. See #Talkpage notification above. Matma Rex talk 18:22, 27 October 2013 (UTC)[reply]
Usually do say, but got boggled by a dispute. That could also be why I didn't see that thread - I did really look at the Contents list. Thanks anyway. Peridon (talk) 18:36, 27 October 2013 (UTC)[reply]