Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia
  (Redirected from Village pump (technical))
Jump to: navigation, search
  Policy   Technical   Proposals   Idea lab   Miscellaneous  
Shortcuts:
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.

« Older discussions, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128
Centralized discussion
Proposals Discussions Recurring proposals

Note: inactive discussions, closed or not, should be archived.

Contents


Missing reference markup will no longer show an error[edit]

As noted above, "If you use references on a page, you will soon always see them at the bottom of the page, even if you forget to add the <references /> tag (or a template)."

This has been deployed and has a few issues:

More discussion at Help talk:Footnotes#Missing reference markup will no longer show an error. --  Gadget850 talk 11:08, 11 July 2014 (UTC)

@Gadget850: bug 66700http://bugzilla.wikimedia.org/show_bug.cgi?id=66700 doesn't look related, did you mean something else? — This, that and the other (talk) 11:22, 11 July 2014 (UTC)
Fixed. Thanks! --  Gadget850 talk 11:29, 11 July 2014 (UTC)
bug 67854http://bugzilla.wikimedia.org/show_bug.cgi?id=67854 doesn't exist? --Redrose64 (talk) 12:09, 11 July 2014 (UTC)
bug 67845http://bugzilla.wikimedia.org/show_bug.cgi?id=67845. --Glaisher (talk) 12:13, 11 July 2014 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────Can the auto system be upgraded to add a References section header, and keep the references section at the bottom? We are now getting talk pages, with no separation between one post and the ref-list, and another post is then added beneath it e.g. Talk:Soka Gakkai where it appears that the references relate to the post above them, although they don't.

The current arrangement means that, althiough the list appears, someone has to go around and manually add the ==References== section header, which is also one of the most common misspellings (I have corrected "Refrences" at least once in 140 of the last 142 weeks, plus the corrections to "Refferences" "Referrences" and "Referneces") - Arjayay (talk) 13:37, 12 July 2014 (UTC)

Depending on how bug 67700http://bugzilla.wikimedia.org/show_bug.cgi?id=67700 is resolved, I would add namespace detection like we do with the other cite errors. On talk pages, we could just not show the list or show it with a header. --  Gadget850 talk 23:21, 12 July 2014 (UTC)
Looking at the patch, I think it is just going to add a maintenance category, which would be blank by default. I will have to see this implemented to see how it actually works. --  Gadget850 talk 23:38, 12 July 2014 (UTC)
@Arjayay: Based on your post, I created Wikipedia talk:AutoWikiBrowser/Feature requests#Update FixHeadings to fix misspelling of References. GoingBatty (talk) 17:41, 13 July 2014 (UTC)
Thanks - but if it automatically added the (correctly spelled) References section, this would not be necessary. - Arjayay (talk) 17:48, 13 July 2014 (UTC)
It won't. And the auto reference list will always be put in the wrong place. If we had kept the previous error checking, then we could have done this. --  Gadget850 talk 13:25, 14 July 2014 (UTC)
The tracking category should be deployed in 1.24wmf14. --  Gadget850 talk 15:59, 16 July 2014 (UTC)

Adding this feature caused explosion on pages with missing references section. -- Magioladitis (talk) 18:02, 21 July 2014 (UTC)

Details please. What sort of explosion? Example? --  Gadget850 talk 17:14, 24 July 2014 (UTC)
Gadget850 me and Bgwhite and perhaps more, fix daily Page with references list missing. Last month there were very few pages so we could fix them manually, checking for vandalism etc. The last days we have to fix more than 100 pages per day. At some point I had to use my bot. Bgwhite asked help from other bots that add references lists because as far as I remember some other bots were also checking for references lists removed and had better performance than AWB. -- Magioladitis (talk) 17:27, 24 July 2014 (UTC)

w:(lang) links[edit]

Did something change in recent months relating to the way MediaWiki handles [[w:(lang):Example]] links? Previously, [[w:de:Australien]] should have worked in exactly the same manner as [[:de:Australien]] to produce a link to this page, however it doesn't seem to work anymore, for any non-English language code. For some reason, the en language code still works: w:en:Test and en:Test both do the same thing. --benlisquareTCE 17:45, 15 July 2014 (UTC)

It has changed [1], there have been some fixes aiming to make the handling of "local interwiki links" like [[en:Dog]] or w:Dog more consistent. It seems that the fixes indeed introduced a little regression, [[w:de:Australien]] is now handled like [[de:Australien]] instead of [[:de:Australien]]. This, that and the other should know what to do with this. Matma Rex talk 19:00, 15 July 2014 (UTC)
Hmm, this is interesting. The new behavior is arguably more correct, and I suppose I designed the changes so it would work this way. But on reflection, it doesn't seem quite right; in particular, from a cross-wiki code reuse/transclusion perspective, it is definitely not right. I'll have a think about this and perhaps write a patch for MW core. Benlisquare, thanks for bringing this up! — This, that and the other (talk) 02:52, 16 July 2014 (UTC)
Now that I've looked a bit more deeper into the issue, does this apply to enwiki only? w: links seem to still work just as before on the Chinese Wikipedia and other language Wikipedias. --benlisquareTCE 06:23, 16 July 2014 (UTC)
I've found (see User talk:RexxS#Oh no, not her again) that all you need to do to fix these is either insert a colon right at the start ([[:w:de:Australien]]w:de:Australien), or omit the initial w ([[:de:Australien]]de:Australien). So long as it begins with a colon, it's treated as a clickable link, not a H:ILL.
That's true, but the intention is to restore the old behavior, so there is no need to go around willy-nilly adding leading colons everywhere! — This, that and the other (talk) 02:48, 17 July 2014 (UTC)
Yes, there is the chance that templates and pages throughout Wikipedia have such links which have yet to be modified by someone following the change to link behaviour, meaning that there may be non-functional links lying around. --benlisquareTCE 04:58, 17 July 2014 (UTC)
Given Wikidata has removed the old way of doing interwiki links that needed a colon, should the non-colon functionality be made identical to colon, or is there anything where it's still relevant? Adam Cuerden (talk) 20:46, 16 July 2014 (UTC)
@Adam Cuerden: ILL are still needed for #section links, and for topics with 2 pages at wiki-A but only 1 page at wiki-B. See H:ILL#Local links (2nd bullet point) and d:Help:FAQ#Editing (#14 and #15) for details on each. Quiddity (talk) 21:16, 16 July 2014 (UTC)
Also for pages in User: space. --Redrose64 (talk) 21:54, 16 July 2014 (UTC)

This is now tracked as bug 68085http://bugzilla.wikimedia.org/show_bug.cgi?id=68085, with a fix pending review. Matma Rex talk 23:05, 16 July 2014 (UTC)

two annoying problems[edit]

I mostly edit from an iPad. So, a while back they switched in the mobile site by default. As it does not support admin tools I opted to go back to the desktop version. For some reason in the last 48 hours I keep getting sent to the mobile version at the start of each new session, even though I'm still logged in from before. I've searched my preferences and can't find anything in there to deal with this. Is there a way to permanently disable the mobile site?

Also, I though maybe I'd try asking the devs over at the technical forum on meta and it seems SUL is not working over there. I navigated there from here and when I got there I was not logged in and for some reason it is not accepting the password I use here. I may have had a separate password over there in the pre-SUL days but I certainly don't remember what it was now. Beeblebrox (talk) 21:05, 19 July 2014 (UTC)

Beeblebrox, I don't know much about tablets, but it sounds like the two most common problems when this happens are the user going directly to the mobile website via the URL (if you type "http://en.m.wikipedia.org", then you'll get the mobile site no matter what your prefs say and no matter what kind of device you're using), and corrupted cookies. So you might double-check the URL, and you might see if there's a way to clear cookies. If neither of those help, then perhaps someone else will know more than I do. Whatamidoing (WMF) (talk) 23:54, 19 July 2014 (UTC)
I've never navigated directly to the mobile site, so it's not that. I've had the same link in bookmarks for three years and it has always taken me to the desktop version of my watchlist. The way they do watchlisting on mobile is one of the worst things about it, I can't understand why anyone thought it was a good idea. I cleared all my cookies and loged back in and it took me to the mobile site again, so it looks like it's not that either. Beeblebrox (talk) 01:27, 20 July 2014 (UTC)
Hrm. @DGarry (WMF):? Ironholds (talk) 04:11, 20 July 2014 (UTC)
[Re: The second problem, your Meta account is attached to your SUL account, so you theoretically shouldn't have a problem logging into that site. Graham87 12:16, 20 July 2014 (UTC)
Tried again just now. Once I bypassed the mobile version over there, it prompted me to reload the page to apply my user settings, seems to be ok now. When I clicked back over here I got the mobile version again.... Beeblebrox (talk) 17:24, 20 July 2014 (UTC)

@Beeblebrox: For the questions about the mobile web interface, Maryana is your woman. For the SUL stuff, Special:CentralAuth/Beeblebrox says that Beeblebrox on Meta is attached to your global account, so I can't explain the issues you're having crossing wikis. Try totally clearing your browser cache and cookies, and if the problem still persists then, file a bug on Bugzilla with as much information as possible. --Dan Garry, Wikimedia Foundation (talk) 17:00, 21 July 2014 (UTC)

The SUL thing seems to have resolved itself, must have been a temporary issue. I've completely reset my browser, removing all history and cookies, twice. Pretty sure the problem is not on my end. But I have to say I hate the idea that I have to set up an account on another website to get attention to an issue on this website. If someone with a bugzilla account wants to copy this over that would be great:
  • Issue:persistently redirected to mobile site despite repeatedly trying to opt out. If I leave WP, even without logging out, when I return I am sent to the mobile site. I can see the URL for the desktop site actually change to the mobile site about a half second after I click the link. Have removed all cookies and cleared all history, issue is persistent.
  • Time frame: last 3-4 days
  • equipment: ipad2
  • OS:ios7.1.4
Thanks in advance, Beeblebrox (talk) 17:31, 21 July 2014 (UTC)
  • Hmm, that's no good... Thanks for the bug report, Beeblebrox; I've added it to Bugzilla. Will get the devs to take a look. Maryana (WMF) (talk) 22:19, 21 July 2014 (UTC)
@Maryana (WMF): Ok, here's a weird thing: I went into my bookmarks menu to look at the actual URL, which did not have the "m" for the mobile site in it. I removed it anyway, went to my watchlist and added a new bookmark with the same URL and now it isn't redirecting me. I have no idea how that makes the least bit of sense but there it is. Beeblebrox (talk) 19:18, 23 July 2014 (UTC)
That could potentially make sense if the mobile redirect thingy is, or has ever been, using a wrong kind of HTTP redirect (permanent HTTP 301 instead of one of the temporary ones). I haven't checked if it does. Matma Rex talk 22:43, 23 July 2014 (UTC)

Running template within Lua and a few other questions[edit]

I'm working on a Lua replacement for {{UND}}

My original goal was to allow an optional parameter to indicate that it should be signed. I'm still mulling how to do that, but wanted to recreate the existing functionality first.

My draft attempt is Module:Sandbox/Sphilbrick/UNDiftest

My main issues:

  1. Several of the output strings include a template. I don't quite see how to run a template inside a string. For example, one of the output strings has {{Font color|white|green|Submit your draft when you are ready for it to be reviewed!}}. That one should be easy, but I also have to accept an admin name and convert that to the usual output.
  2. The copyvio option has an optional input. - you can run it with or without an external site name. I think I want to do something like if frame.args[2] but I'm not quite sure.
  3. I believe we don't usually end with a module, but wrap the module in a template. I'm missing how to deal with the fact that the module will have 1-4 arguments
  4. In some cases, the template used safesubst rather than subst. I didn't use either. What should I do?
  5. I'd like to convert upper case input to lower case for the parameters. I know Lua is case-senstive, so if someone passes "D" as an argument, I'd like to autoconvert to "d". I chexkws the refernce manual and didn't see such a function.

I know I still have to write documentation and create testcases. I will work on that, but want to make sure I don't have to fundamentally restructure first.--S Philbrick(Talk) 17:39, 20 July 2014 (UTC)

@Sphilbrick: As I look at that template, I don't see any advantage to converting it to Lua. Jackmcbarn (talk) 18:21, 20 July 2014 (UTC)


What I really want is a better version of the CBB templates, as seen in:
North Carolina Tar Heels women's basketball
The problem:
When adding the 2013–14 entry, it isn't hart to enter the wins and losses overall and by conference. But it is a pain to update the coach records and the overall records, especially when you consider that they are occasionally done wrong, so you should verify the complete sums, not just add the most recent year to the totals.
AFAIK, ordinary templates don't do math well. They can calculate ratios within a row, but I don't know how to sum across records.
My impression is that Lua can do this, so I thought I would learn Lua to work on it.
However, I wanted to tackle something easier as a start.
I had independently been working at both WP:SCV and Wikipedia:Requests for undeletion. In each case, there are canned templates to deliver standardized answers. However, the SCV templates automatically add a signature, and a bullet point, and are designed to be added to the end of the entry, rather than the next row. In contrast, the UND templates do not automatically add a signature, and you need to add your own indention and place on the next row. Not a big difference, but when going back and forth it means I have to stop and think each time which convention has been adopted.
I suggested that the UND templates be modified to auto add signatures, and that was rejected. So I thought it would be a good excuse to learn some Lua skills and either create some templates which could handle either case, r if not, at least create some that would work for me.
If you tell me either how to do math in traditional templates, or that Lua can't handle math, I'll probalby abandon my attemtps to lean Lua, and simply make a custom version of UND templates for my own use.--S Philbrick(Talk) 19:42, 21 July 2014 (UTC)
You can use the {{#expr:}} parser function, covered at m:Help:Calculation. For example, {{#expr:2+2}} → 4 --Redrose64 (talk) 20:54, 21 July 2014 (UTC)
That would actually be mw.ext.ParserFunctions.expr("2+2") inside Lua. Jackmcbarn (talk) 20:59, 21 July 2014 (UTC)
It was in reply to Sphilbrick's q "how to do math in traditional templates". --Redrose64 (talk) 21:53, 21 July 2014 (UTC)
I know how to do something simple like add two numbers in the same string. However, I have wins for each year, and need a total. For example, in Karl_Smesko#Head_coaching_record, the current approach has a separate template for each year, and subtotal templates. As you can see, I calculated the win loss ratio for the Walsh University year, but tpo get the sums of wins and losses for the subtotal and total lines, I need to do it in an external spreadsheet. That works if I always do the updates, but many of these were already created, so adding a new year, which is an upcoming task, is quite a pain.--S Philbrick(Talk) 22:07, 21 July 2014 (UTC)
I think I asked once before and was told I cannot do math across templates, if that makes sense, so I need to build the table as a simple template, to have access to all the values. I'm assuming that is that much rework is needed, it ought to be done in Lua.--S Philbrick(Talk) 22:09, 21 July 2014 (UTC)

Copyright detecting bot[edit]

Dear technical experts: When I first joined Wikipedia I remember that there was a bot that went around checking and tagging pages for copyright violations. I haven't seen any pages so tagged for some time, and of course the ones it tagged have either been deleted or had tags removed. Can someone tell me the name of this bot and if it's still around? It appeared to be very useful. —Anne Delong (talk) 05:07, 21 July 2014 (UTC)

User:CorenSearchBot and WP:SCV? MER-C 05:23, 21 July 2014 (UTC)
Also see WT:MED#Exhausted which points to WP:Turnitin. CorenSearchBot handles new pages only, not changes to existing pages, and the others are hopes that something might be done for additions to existing pages. Johnuniq (talk) 06:25, 21 July 2014 (UTC)
As noted above CSB only searches new pages. If you want to see some, see Wikipedia:SCV. There are dozens of new ones every day, and not a lot of editors clearing them. If anyone has any spare time...--S Philbrick(Talk) 19:47, 21 July 2014 (UTC)
If the bot only tags new mainspace articles, that explains why I haven't encountered it lately. I've been working mainly with pages in the Category:G13 eligible AfC submissions, which are all at least six months old, although, surprisingly, many of them are copyright violations. It would be nice if the bot could also check newly created pages in the Draft: namespace. Thanks for taking time to reply. Sorry, I won't have spare time to help with that backlog until I clear out my own.Anne Delong (talk) 20:30, 23 July 2014 (UTC)
CorenSearchBot misses many that would be easily found with a Google search. This is in part because CorenSearchBot (and MadmanBot, which I believe is a clone) are not permitted to use Google search per Google's Terms of Service. This is a place where a phone call from the Foundation might solve a big problem. --j⚛e deckertalk 19:12, 24 July 2014 (UTC)
Ah! MadmanBot is the one I remember seeing. Does it check AfC pages? There are other search engines. It would also be nice to have a process that would go through a pre-prepared list of links to articles. —Anne Delong (talk) 19:26, 24 July 2014 (UTC)
Yeah, I've seen it catch some things at AfC, for sure. A lot of those get handled quickly, so if you don't spent a lot of time at the most recent end of the "0 days" category, you may not have seen them But you are absolutely right that too much slips through, when I was playing with G13s before there was a G13bot, I can't begin to tell you how many things marked "advert" were also copyvios, it was insane.
When I was noticing that, I looked into feeding MadmanBot (or one of the other CorenBot-alikes) the G13s, and none of them came out hits. You can point it at individual pages at User:MadmanBot/manual. That's what led me, along with some other evidence and discussion, to my conclusion regarding Google. --j⚛e deckertalk 20:09, 24 July 2014 (UTC)

Watchlist on Android beta[edit]

I regularly use my Android mobile phone to look for changes on my (ridiculously large) watchlist: we're a two-person one-computer household. I'm using Beta but not "experimental". I have set my watchlist to "Hide bot edits from the watchlist", in my preferences. This works fine on the desktop, but seems to be ignored on the mobile: every bot edit is still listed.

Three other annoying factors about the mobile watchlist:

  • The only way to see User Talk pages is under "all"
  • There is no "more" option at the bottom of each list, so the system restricts how many changes are shown
  • Multiple changes to one page are all shown individually, rather than aggregated as on the normal watchlist.

Like many people, I have DGG's talkpage watchlisted. He currently gets a massive number of separate messages from HasteurBot every morning. As a result, I cannot see on my mobile watchlist any changes made to User talk pages between the last time I looked and about 2am UK time: the day's bundle of HasteurBot messages shifts anything earlier into invisibility.

Is there any chance of any of the 5 contributing factors being fixed?

  1. Make the "hide bot edits from watchlist" preference work on mobile
  2. Add a "more" option at bottom of watchlist listings on mobile, so I can see the rest of the changes
  3. Create a 5th heading for the mobile watchlist, for "User talk" (or include them in "Other")
  4. Aggregate changes to a page so that they list as one item in the mobile watchlist, capable of expansion, as on the desktop version
  5. Get HasteurBot to aggregate its daily messages per talk page.

I get the feeling that mobile users are considered to be the great unwashed, encouraged to upload photos but not expected to be serious editors. More and more people expect to be able to use their phone for a wide range of activities, and aren't always sitting at a desktop. Please can someone offer some help in this area of mobile watchlists? Thanks in advance! PamD 07:19, 22 July 2014 (UTC)

bugzilla:68365, bugzilla:68367, bugzilla:68368, bugzilla:68369. And it is not 'unwashed', it is strategy. The thing is still being build and the initial focus was to make Wikipedia accessible to readers on Mobile devices. Only THEN the team would start looking at what editor related functions would make sense on mobile and slowly build that out. —TheDJ (talkcontribs) 10:02, 22 July 2014 (UTC)
Thanks. Will await progress with interest. PamD 21:22, 22 July 2014 (UTC)
Also just realised: "Hide my own edits" doesn't work either. Can't face trying to read or edit Bugzilla on mobile. PamD 22:01, 25 July 2014 (UTC)

Tables / HTML[edit]

What is the correct sintax for some HTML code?

Variant A Variant B Variant C
background bgcolor=#RRGGBB style="background-color:#C0C0C0;" style="background:#C0C0C0;"
RGB - U/l #RRGGBB #rrggbb
RGB - 3/6 #RGB #RRGGBB

For now it's all, but I think I had something more :) And am I right, that mixing bgcolor and background/background-color in one article could cause some problems with some browser? I read about it in one talk page. And which is the place (Wikipedia, Internet) where I could get the correct sintax?

For the tables, I think the Help:Tables could be expanded (in code size). These are the changes (never mind the reference, it is unrelated). And the tool warned for the deprecated HTML elements. --Edgars2007 (talk/contribs) 15:06, 22 July 2014 (UTC)

Technically, variant B is the only correct one (though the RGB values may be specified using eiter 3 or 6 octets in either upper or lower case). Variant C will work, but is actually a shorthand for background-color, background-image and background-position combined. If you only want to change the color, don't use it to prevent potential CSS inheritance issues (when overriding it on a cell level for instance). -- [[User:Edokter]] {{talk}} 15:59, 22 July 2014 (UTC)
@Edgars2007: See Wikipedia:Village pump (technical)/Archive 127#Background colour on mobile devices regarding bgcolor= and compatibility. If you find that bgcolor= is still mentioned in help pages, please list them here and we'll fix them up. --Redrose64 (talk) 17:48, 22 July 2014 (UTC)
Thanks. @Edokter, Redrose64: What about making changes to Help:Table? --Edgars2007 (talk/contribs) 08:51, 23 July 2014 (UTC)
I have already amended it to not use the bgcolor= attribute (six weeks ago). What's still wrong with it? --Redrose64 (talk) 09:12, 23 July 2014 (UTC)
@Redrose64: I was talking about these changes (most of which were made with Dispenser Reflinks tool), there are some deprecated HTML elements, too. --Edgars2007 (talk/contribs) 13:54, 23 July 2014 (UTC)
I've eliminated all use of the bgcolor= attribute from Help:Table. Is any of the other deprecated markup actually causing problems? --Redrose64 (talk) 15:15, 23 July 2014 (UTC)
I just thought, that help page should represent correct sintax, so that people could use it (at least those, who read that page), but OK, if I'm wrong, then it's my problem :) And yes, I know about the WP:AINT. --Edgars2007 (talk/contribs) 15:26, 23 July 2014 (UTC)
There is a demonstrable problem with the bgcolor= attribute on mobile devices, this is mainly because that attribute was never a formal part of the HTML spec except when used in the <body> tag, so it is good practice to hunt down and fix such markup.
However, a lot of other deprecated markup was valid at some time or other - this includes align= on a <table>, <tr> or <td>; valign= on a <td>; and width= on a <th>. In particular, the border= attribute is still valid on the <table> tag and is not deprecated. Some of the changes made in that edit to User:Edgars2007/tables was completely unnecessary, such as changing underscores to spaces in the left-hand side of piped links, changing the case of hex colour values, and adding spaces in section headings. Trivial changes like those make it difficult to spot the real changes. --Redrose64 (talk) 16:25, 23 July 2014 (UTC)
The latest HTML5 draft is showing align= on <table>, <tr> or <td> under "11.2 Non-conforming features": "Elements in the following list are entirely obsolete, and must not be used by authors". border= on <table> is not showing as obsolete or deprecated, but the W3C validator gives a warning that "The border attribute on the table element is presentational markup". --  Gadget850 talk 17:02, 23 July 2014 (UTC)

RfC: Should the hidden navbar be removed from the base Stub and WikiProject banner templates?[edit]

Should the CSS-hidden navbar be removed from the base Stub (1.8 million pages) and WikiProject banner (5.5 million pages) templates? -- Netoholic @ 23:44, 22 July 2014 (UTC)

Survey[edit]

  • Remove - This {{navbar}} template call was added to the WikiProject banner back in 2008, but then immediately hidden by CSS (display:none) in {{WPBannerMeta/core}}. The same thing exists in the Stub base template {{Asbox}}. There is a CSS trick which editors can add to their custom CSS files, but this trick hasn't been publicized and is in use by only a handful of already experienced users. Even though it is hidden by CSS, it still adds a few hundred characters to every stubbed or bannered talk page download (and pages with multiple banners add it multiple times). The navbar template transclusion itself is called every time a page is saved (which for talk pages can be alot). Now, normally, we don't worry about performance, but in the template design space we do have to weigh the costs vs benefits, and since these templates are so widely used, I think every small efficiency we can do deserves consideration. The people that know about this hidden trick or would use it, are also experienced enough to get by without it on the rare occasions they need to edit a particular stub or WikiProject template. -- Netoholic @ 23:44, 22 July 2014 (UTC)
  • Procedural close as wrong venue. It has been pointed out before that RfCs are not hosted at VPT; if the template's own talk page is unsuitable (why might that be?), it's a WP:VPR matter. --Redrose64 (talk) 08:07, 23 July 2014 (UTC)
    This applies to templates, not policies, and is fairly technical to understand. And since the identical issue is present on two different templates, no one talk page is appropriate. -- Netoholic @ 09:05, 23 July 2014 (UTC)
    VPR is proposals, not policies. That page is currently carrying several RfCs, some of which are technical (including the very first one on the page). --Redrose64 (talk) 09:40, 23 July 2014 (UTC)

Threaded discussion[edit]

Need directions with MediaWiki:Spam-blacklist[edit]

There is a very simple way to bypass the MediaWiki:Spam-blacklist and insert any blacklisted link, and this was exploited recently. Where to report this bug for urgent attention? The related talk pages don't seem active, and, though the exploit is simple, I hesitate to post it in open. Any advice? Materialscientist (talk) 05:10, 23 July 2014 (UTC)

security@wikimedia.org or bugzilla (check the options, public posting is the default). MER-C 06:51, 23 July 2014 (UTC)
https://bugzilla.wikimedia.org/enter_bug.cgi?product=Security allows creating a bug report with very restricted visibility. I am aware of some reports about Spam Blacklist, so dropping an email to the security mailing list might be less work to start with. :) --AKlapper (WMF) (talk) 09:32, 23 July 2014 (UTC)
There's no real problem here. It's well-known that it's trivial to bypass the spam blacklist. It's also not fixable, since fixing it would require checking the blacklist every parse, which has been tried before and undone because it was so bad for performance. Jackmcbarn (talk) 16:07, 23 July 2014 (UTC)

Padlock symbol[edit]

I have just repaired a broken-link footnote and now see a small padlock symbol beside the footnote in the "References" section of the article. None of the other footnotes show this symbol. Does this affect the footnote in any way? How can I ensure the symbol does not appear when I next mend a broken-link footnote? What does the padlock symbol mean anyway? You can see the padlock at footnote #171, "Another wave of bombings hit Iraq", in Islamic State of Iraq and the Levant. --P123ct1 (talk) 09:26, 23 July 2014 (UTC)

@P123ct1: The padlock appeared because you used a https: URL in this edit. The web.archive.org website allows both http: and https: forms, so you could have used http: - but it is better to omit it entirely, to give a protocol-relative URL.
Please note that a URL of an archive site shouldn't be put in the |url= parameter, but in |archiveurl= instead, like this. --Redrose64 (talk) 09:51, 23 July 2014 (UTC)
Thanks for making the adjustment. I had no idea about this. There is nothing in the Wiki help on link-rot about how to deal with archive.org URLs, or have I missed it? I have used the Wayback Machine a lot to mend broken links, but never had this problem before, so can only assume it always came up with an http. --P123ct1 (talk) 11:30, 23 July 2014 (UTC)
Some websites allow only the http: form; some allow only the https: form; some allow either. For those that allow either, it can normally be omitted - such as [//www.example.com Example web page] or {{cite web |url=//www.example.com |title=Example web page }}, and this is known as a protocol-relative URL. This does not work for bare URLs like http://www.example.com
The {{wayback}} template uses the https: form internally, so you always get the little padlock when you use that template. It should be possible to alter it to be protocol-relative, and I see from the template's talk page that a discussion was raised about six months ago on this matter, but which doesn't seem to have been resolved. --Redrose64 (talk) 13:47, 23 July 2014 (UTC)
I wonder why we kept the icon for HTTPS while removing all the others? (PDF is added locally). --  Gadget850 talk 20:32, 23 July 2014 (UTC)

Problem with template[edit]

I'm not sure where to post this, but this seems a good fit. A 2013 (!) edit to Template:Current Kenyan MPs updated the template, but also changed something so that the information will not display. See my post on the talk page for a diff. This needs fixing. --Auric talk 13:45, 23 July 2014 (UTC)

Replied there. --Redrose64 (talk) 13:52, 23 July 2014 (UTC)

Can you transclude pages from other projects?[edit]

I would like to transclude Tech News weekly summaries on my user page: {{m:Tech/News/Latest}}. Is this possible? Wbm1058 (talk) 14:16, 23 July 2014 (UTC)

Or a solution similar to {{Signpost-subscription}} for Tech News? Wbm1058 (talk) 14:26, 23 July 2014 (UTC)
It's not possible to transclude across wikis. A number of things would be much easier if it were. Re your second suggestion: you could ask for this at m:Talk:Tech/News. --Redrose64 (talk) 15:06, 23 July 2014 (UTC)
@Redrose64: Thanks for the tip to look at that talk page, where I found the section Template for user pages?, which pointed me to {{Latest tech news}}. Just what I was looking for! Look at the syntax of that template code. I'll have to study that to figure out how it magically transcludes the current news. Wbm1058 (talk) 16:14, 23 July 2014 (UTC)
I see that I'm just the third editor to transclude {{Latest tech news}}. A tip of the hat to the Technical Communications Manager, Wikimedia Foundation for creating it. Wbm1058 (talk) 19:45, 23 July 2014 (UTC)
He also set up Wikipedia:Tech news and signed that page up for Global message delivery of the news from meta. #lst: must be a parser function for the last section on the page (i.e., the most recent mass message delivery is added at the bottom). Nice! I don't see #lst: documented at Help:Magic words. @Guillom: Where is that documented? Wbm1058 (talk) 20:16, 23 July 2014 (UTC)
#lst is labeled section transclusion. But it won't work across wikis. It is not documented at Magic Words because it is part of a software extension. --  Gadget850 talk 20:18, 23 July 2014 (UTC)
Thanks, I recall having run into documentation of that feature before but had never seen it in action, and this specific example is helpful. I just noticed the <section begin="technews-2014-W17"/> and <section end="technews-2014-W17"/> tags etc. in Wikipedia:Tech news that make it work. Too bad that per mw:Extension:Labeled Section Transclusion#Transcluding sections by headings we can't just use the regular headings, but I guess the work-around isn't that difficult.
Is there a list of all the extensions that are enabled on English Wikipedia anywhere? Wbm1058 (talk) 01:08, 24 July 2014 (UTC)
See Special:Version for a listing. Fwiw... we use #lst like crazy over on Wikisource and have scripted/templatized several solutions to make using it a bit easier, though still nothing simple abut using "regular" headings there as well. -- George Orwell III (talk) 01:50, 24 July 2014 (UTC)
... and fwiw - I recall cross-domain transclusions through the API are possible with some scripting(?). Somebody tried something like that with s:MediaWiki:InterWikiTransclusion.js but we never really wound up using it so I can't tell you much more about it. -- George Orwell III (talk) 01:58, 24 July 2014 (UTC)
We use {{#lst:}} for the Citation Style 1 error help pages to transclude the help section to the tracking category. I have used it a few other places. --  Gadget850 talk 02:15, 24 July 2014 (UTC)
Wbm1058: I just saw your notification, and I see you've found the answers you were looking for :) I'm glad {{Latest tech news}} is useful. Let me know if you have any follow-up questions about Tech News or LST. guillom 08:17, 26 July 2014 (UTC)

Looking for user script[edit]

Is there, or can there be a script that would change selected/detected ALL CAPS as in this diff ? I assume maybe AWB has a setting for this but, I'm hoping for a .js script or something or even a lab tool. Thanx, Mlpearc (open channel) 18:54, 23 July 2014 (UTC)

Mlpearc, how often do you need to do that? If not very often, you can convert text to lower case in the JavaScript console of your browser (press F12 to open it) like this: "MAJESTY KING ZWELITHINI".toLowerCase() If you want title case, that will be a little bit more code. You can try User:V111P/js/Templates/Textarea1.js to see if you need a script like that one, it is an example script that replaces all spaces with underscores in the text you selected in the textarea (when editing the wiki source code). You run it by pressing its button in the toolbar. --V111P (talk) 05:29, 27 July 2014 (UTC)
Obviously not very often, I figure why not convert it as found. Thanks for the reply, I'll play around with the F12 function and figure it out. Thanx, Mlpearc (open channel) 18:18, 27 July 2014 (UTC)

If someone comes to my talk page in all caps I just slap a LOWER CASE SPAN AROUND THE SHOUTING(<span style="text-transform:lowercase;">). I wonder if there is a template for that? Chillum 18:26, 27 July 2014 (UTC)

Customizing top-of-page navigation links[edit]

Some questions about the navigation links that normally appear right-justified at the top line of the window (Username, Talk, Sandbox, Preferences, etc.):

  • Is "navigation links" the right term to use to refer specifically to the links that appear at the top of every page while viewing Wikipedia, or is there some other preferred term?
  • Is adding addPortletLink() statements to one's own "common.js" file still the recommended way of customizing these links, or has this been deprecated in favor of some other method?
  • Can the default links be removed or redefined? If so, how?
  • I can't seem to find any documentation for addPortletLink(); using Google I was able to locate only this brief discussion. Help?

Thanks, — Jaydiem (talk) 19:48, 23 July 2014 (UTC)

The gadget 'Add a "Sandbox" link to the personal toolbar area.' calls it the "personal toolbar area" but its script calls it the "personal portlet menu"; it uses mw.util.addPortletLink(). --Redrose64 (talk) 20:10, 23 July 2014 (UTC)
There is some documentation here. -- WOSlinker (talk) 20:22, 23 July 2014 (UTC)
I don't know about removing links, but I was able to add one. Look for the portlet code in User:Jonesey95/vector.js. — Preceding unsigned comment added by Jonesey95 (talkcontribs) 20:37, 23 July 2014 (UTC)
There is proper documentation for addPortletLink here. —TheDJ (talkcontribs) 07:12, 24 July 2014 (UTC)

User:Mr.Z-man/closeAFD.js (2)[edit]

... does not seem to be working properly (it's been a while since I was going through the AFDs, back in March it was still fine). I found that a similar problem has been discussed back in 2012 already, then fixed. But there may be another reason now. Help kindly requested. --Tone 20:45, 23 July 2014 (UTC)

Is it still not working for you? I just closed Wikipedia:Articles_for_deletion/Dunmore_Candy_Kitchen successfully with it. --j⚛e deckertalk 18:41, 24 July 2014 (UTC)
What exactly is wrong with it? I've closed several in the past month, seemed to be working fine. Ansh666 08:43, 25 July 2014 (UTC)

Automatically generated reference lists- tracking[edit]

With the deployment of 1.24wmf13, a page with <ref> tags but no the reference list markup ({{reflist}} or <references>) no longer generates an error. Instead, the reference list automatically shows at the bottom of the page.

The automatically generated reference list (AGRL) has issues: it is always at the very bottom of the page, has no heading and can be displayed oddly depending on the markup before it (bug 68293http://bugzilla.wikimedia.org/show_bug.cgi?id=68293).

1.24wmf14 will be deployed later today. It adds a tracking category so we can locate and fix AGRL issues. The category is set through MediaWiki:Cite error refs without references category and I have set it to Category:Pages with an automatically generated reference list. I have added namespace detection so that user and talk pages are not categorized per previous consensus. The AGRL will still show on user and talk pages, it just won't show in the tracking category.

--  Gadget850 talk 17:34, 24 July 2014 (UTC)

This is all super-awesome. Thank you. --j⚛e deckertalk 18:42, 24 July 2014 (UTC)
The patch cause strip markers to be exposed and was reverted. --  Gadget850 talk 21:01, 24 July 2014 (UTC)
Ah well. In time, I'm sure. The idea is still excellent, I think. --j⚛e deckertalk 22:45, 24 July 2014 (UTC)
At the moment, there are a few hundred pages listed in this category, and almost all of them are old AFDs. WhatamIdoing (talk) 18:58, 25 July 2014 (UTC)

Job queue rate[edit]

It's pretty easy to get the Help:job queue size in number of items, does anyone have any intuition about the rate jobs are processed from it? I had a request for a null bot job that I don't think should be required, the JQ is about 80K entries right now, but I don't have an intuitive sense of whether that represents a second, a minute, an hour, a day or a week in terms of latency. --j⚛e deckertalk 18:36, 24 July 2014 (UTC)

So, [2] is the graph of hourly job queue rates, but it applies to the entire cluster, not just enwp. Legoktm (talk) 23:37, 24 July 2014 (UTC)
Legoktm, there's five graphs there, with dozens of numbers in the images. Which one of those numbers is the best one for estimating how long typically elapses between a job being submitted and a job being completed? WhatamIdoing (talk) 19:04, 25 July 2014 (UTC)
There is some lack of clarity in what is being graphed there. The green parts of graphs 1 and 2 at least are "jobs per minute", which contradicts the title of the page and Kegoktm's comments, which suggest hours, not minutes. I actually expect that graph 1 and 2 might be in jobs completed per hour, but I find it difficult to read graphs 3 and 4 in a manner consistent with what graphs 1 and 2 would suggest. The big y axis jump in graph 4 only makes sense if 1 and 2 are per minute, though. Hmm.--j⚛e deckertalk 21:36, 25 July 2014 (UTC)

some sort of mediawiki error is happening[edit]

copied from ANI Compare these two diffs, both which are doing mass replacements. (Or there is a very unsubtle sock)

This appears to be a known issue, but this appears to have been "resolved" quite some time go https://www.mediawiki.org/wiki/QINU_fix

Any way to escalate this to someone? If this isn't socking (which based on the bug report seems likely) then this is probably happening all over the wiki currently. Gaijin42 (talk) 19:28, 24 July 2014 (UTC)

Yep, it's happening here to the refs: User:NE2/temp --NE2 19:46, 24 July 2014 (UTC)
@Gaijin42, NE2: Yeah, we spotted this after this morning's deployment and just un-deployed the code in Cite that changed – it should now stop recurring. Sorry for the disruption! Jdforrester (WMF) (talk) 20:15, 24 July 2014 (UTC)
What do we do with all the errors that have already happened? There are about forty instances of "UNIQ..." all over the help desk; how do we figure out what the posts meant? Altamel (talk) 01:26, 25 July 2014 (UTC)
These are exposed strip markers; see Help:strip markers. It is going to be hard to figure out what those markers originally were; you can only pick out the parser tag that caused it to be exposed. --  Gadget850 talk 01:57, 25 July 2014 (UTC)
Talk pages are minor compared to the articles, such as Neeloor. --  Gadget850 talk 02:05, 25 July 2014 (UTC)
I have the "new search" turned on, searched for "QINU" in all namespaces, then searched within the results for "24 July 2014" and "25 July 2014". That identified about 20 pages, which I fixed, though some only needed a purge. Is that the lot? What is the lag in the "new search" results? -- John of Reading (talk) 08:18, 25 July 2014 (UTC)

Missing toolbar[edit]

The toolbar under the edit window used for insertion of special characters has disappeared. I have checked Preferences->Gadgets->Editing to make sure that CharInsert box is ticked, which it is. How can I recover the toolbar? Brianboulton (talk) 20:30, 24 July 2014 (UTC)

I still seem to have it. Johnbod (talk) 13:59, 25 July 2014 (UTC)

Can the email throttle be bypassed?[edit]

A user is asking at User talk:Taylordw#Question for administrator whether the email throttle limiting the number of emails sent in 24 hours can be bypassed for a particular purpose. He has a reason for wanting to use email rather than a mass message to talk pages. My question here is, is that technically possible? It is not one of the standard user-right groups in WP:User rights. JohnCD (talk) 21:36, 24 July 2014 (UTC)

Technically, yes. Several groups have the noratelimit right, which would remove the throttle. Among them are 'crats, admins, and, notably, accountcreators and bots. I saw that adminhelp you're referring to and thought about it a bit; I thought that it was a thing to ask BAG about (basically, create a mass-email bot account and send it to BAG for approval), but after asking some people about it, they didn't think that would fly. (After doing so, I meant to leave a note to that user, letting them know I was looking into it, but apparently I forgot; that was my fault, and I'm sorry for it.) Simply granting them accountcreator would work, of course, and I suppose it's within the realm of simple admin discretion, but I'm a bit leery of that personally, since it's not what accountcreator is meant for. But yeah, it's technically possible. Writ Keeper  21:50, 24 July 2014 (UTC)
Thanks. I think this is a case for WP:IAR, but I am not quite comfortable with doing it off my own bat, so I have asked at AN if there any objections. JohnCD (talk) 15:34, 25 July 2014 (UTC)

User analysis tool missing the graphs[edit]

Hello! I keep a link to the User Analysis Tool on my userpage, and I was checking it today when I found that neither the pie chart of edits by namespace nor the bar graph of edits by month are showing. Is this happening for anyone else, and if so is there a way to correct it? Howicus (Did I mess up?) 22:15, 24 July 2014 (UTC)

I left a note at User talk:cyberpower678. He supports this. Wbm1058 (talk) 02:56, 25 July 2014 (UTC)

Leaving messages[edit]

If a message is left on a general Talk page or Help desk for a particular user in this form, @Username:, is the user automatically alerted that they have a message? --P123ct1 (talk) 08:34, 25 July 2014 (UTC)

@P123ct1: Yes, provided that (a) the link to the user's home page (which might be in the form of a {{replyto}}) gets added in the same post that your signature was added and (b) at Preferences → Notifications they have "Mention" enabled (for either Web or Email); if it's enabled for web only, they also need to have "Show talk page message indicator in my toolbar" (on the same page) enabled. More at WP:ECHO. --Redrose64 (talk) 09:23, 25 July 2014 (UTC)
Thanks, Redrose. --P123ct1 (talk) 09:47, 25 July 2014 (UTC)

pdf format[edit]

I am not at all sure this is the right place for this query. I cannot use all the functions in some pdf files (e.g. in footnotes) on my new laptop, e.g. Search and Go to page number. Do I need to update some software in my laptop, and if so, how, please? For technical questions that are not directly related to Wikipedia, is there a forum on Wikipedia that can deal with them? --P123ct1 (talk) 09:47, 25 July 2014 (UTC)

@P123ct1: Yes, it's WP:RD/C. --Redrose64 (talk) 09:54, 25 July 2014 (UTC)
Thanks again. --P123ct1 (talk) 13:36, 25 July 2014 (UTC)

Searching the Wikipedia archives[edit]

I want to find a long post I made, either on the main Help Desk or on a Wikipedia article Talk page, but can only remember the month I made it (April this year) and the content, not where I posted it. I have tried to locate it but without success. Is there some way I can do a global search using key phrases from my post and my username? Even looking at the list of topics for each month in the main Help Desk archives is not going to help, as I cannot remember exactly what topic I was posting under. Can I do a global search of all the posts I have made since the beginning of the year? The User Contributions list will not help either because I can't use key phrases to search it. Does Wikipedia have a brilliant data-mining tool that I don't know about? --P123ct1 (talk) 13:36, 25 July 2014 (UTC)

http://en.wikipedia.org/w/index.php?limit=50&tagfilter=&title=Special%3AContributions&contribs=user&target=P123ct1&namespace=1&tagfilter=&year=2014&month=3

84.106.11.117 (talk) 13:41, 25 July 2014 (UTC)

When I've wanted to do this before I just use Google specifying site:en.wikipedia.org I'd be surprised if you couldn't find it pretty quickly. QuiteUnusual (talk) 13:49, 25 July 2014 (UTC)
This one, and following edits?. You only started editing just before so your "Contributions" set to "Oldest" found it very quickly. Johnbod (talk) 13:56, 25 July 2014 (UTC)

What about mobile users??[edit]

I'm not a registered user. I frequently use my mobile (android) to access Wikipedia but I'm facing trouble. I can't edit pages from the mobile version Wikipedia. Even this edit was made by toggling to desktop version from mobile. This is a serious problem for me, why can't I edit pages from the mobile version?? I can't register an account due to privacy reasons. I want to edit pages by mobile without getting registered. Is it possible?? Since the slogan of Wikipedia says "anyone can edit" - why can't I edit?? There are some countries were desktop, laptop etc is not available widely; they use there phone. I think it is acting as a barrier between people like me and editing a page. I hope someone can help me. :) 101.221.128.88 (talk) 13:55, 25 July 2014 (UTC)

You will get better privacy editing with an account than without. Johnbod (talk) 13:57, 25 July 2014 (UTC)
I guess, I haven't asked a question about privacy. I want to know why I can't edit through mobile version. 101.221.128.88 (talk) 14:01, 25 July 2014 (UTC)
Are you getting a specific error, or is the edit function just not available? Which mobile platform are you using? — xaosflux Talk 15:02, 25 July 2014 (UTC)
You cannot edit via mobile as a non-registered user because it is not enabled. Bug 53076 implies that some work is ongoing. --AKlapper (WMF) (talk) 15:26, 25 July 2014 (UTC)
User:Maryana (WMF) is the product manager for mobile editing and could tell you the current status, but I believe that the overall plan is that logged-out editing will be permitted eventually. Whatamidoing (WMF) (talk) 19:09, 25 July 2014 (UTC)
To clarify, Maryana is the product manager for mobile web, whereas I am the product manager for mobile apps. And, also to clarify, you can edit anonymously on the mobile apps. :-) --Dan Garry, Wikimedia Foundation (talk) 01:09, 26 July 2014 (UTC)
Thanks for the reply Whatamidoing (WMF), AKlapper (WMF) & Xaosflux. I hope to see this function quickly. Btw I've found another problem. I can't see the "go" button and the drop down menus in this special page when I was browsing through my andriod phone. Both, the go button and those two drop down menu were vanished when I saw it through my phone. Can someone fix it?? Thanks -- 101.221.130.34 (talk) 19:30, 25 July 2014 (UTC)

Unexpected behavior by Notifications[edit]

I am reporting what appears to be a bug in Notifications, and my workaround to suppress messages such as

Since these unwanted messages were not the usual Thank or Mention notifications, I altered my Preferences, Notifications, uncheck all but Thank or Mention or User rights, Save.

I kept the check marks for New message indicator and Talk page message.

Since this change, there have been no notifications of Query from [No Page], etc., which started appearing 4 or 5 days ago. --Ancheta Wis   (talk | contribs) 14:38, 25 July 2014 (UTC)

This is a known bug – it happens when the page which the notification was about gets deleted. See bug 50829http://bugzilla.wikimedia.org/show_bug.cgi?id=50829. Matma Rex talk 18:37, 25 July 2014 (UTC)

CSS code to change the background color to black and font color to green[edit]

Hi all! I don't know anything about CSS. Could someone write a CSS code for me to change the background color of wiki to black and font color to green please? I'll put this code onto my preference section within my account so that I can view wiki in black color with green words. Thank you~ — Preceding unsigned comment added by Saucelord (talkcontribs) 19:32, 25 July 2014

Hey, Saucelord! This actually already exists in your Special:Preferences page. First, go to the "Appearance" tag and switch to the "Monobook" skin (by switching to the Monobook radio button and hitting the Save button at the very bottom). Then go to the Gadgets tab and, at the bottom of the "Appearance" section in that tab, check the box for "Use a black background with green text on the Monobook skin" and hit the Save button at the bottom again. It's not perfect, but it might get the job done. Writ Keeper  19:52, 25 July 2014 (UTC)

Wow, it works! Thank you, Writ Keeper! That is really what I exactly needs! I am happy~~ — Preceding unsigned comment added by Saucelord (talkcontribs) 01:43, 26 July 2014

Mobile again - info about IP editors[edit]

If I read an article to look for information (as a reader rather than an editor), I usually click on "history" to see whether it's been the subject of controversy, vandalism, etc (and I advise others to do so too, when discussing the reliability of Wikipedia). If I read an article on mobile (Android, beta), I see "Last edited x days ago by Editor", and I know that if I click on the first half of that line, even though it isn't bolded, I get to see the history. If I click on a diff, I get to see the diff and, below it, a link to the editor who made it. If I follow that link and they're a named editor, I get to see a rather strange profile page (is it really appropriate to show the latest file they uploaded, however many years ago? Or to identify the editor who last thanked them - thanking is usually confidential, surely?). I can get to see their contributions list, by clicking on the number of edits where it's stated: "Joined over x years ago with y edits and z uploads". I can also get to their talk page, to make a comment.

But if it's an IP editor I don't get any of that. I get the message "Redirecting to editor", followed by a flash of "This page doesn't exist, why not be bold and create it?", and am then set up in edit mode to create a user page for the IP editor. Not a good idea, surely. In fact, I think it's a bug. Or three bugs:

(a) It's not appropriate to encourage mobile editors to create user pages for IP editors
(b) It should be possible for mobile readers to get to see the user contributions for an IP editor (OK this is probably more for mobile editors: I want to see whether the bit of vandalism I've just found on my watchlist is part of a spree of related rubbish, but even for an IP address the contributions list can give an indication of the seriousness of the editor). The only way to do this at present is to get back to the article, go into desktop mode (which involves stretching each page manually to make it a just-legible font size on my not-very-smartphone), click "history", get the editor, get the contributions list ... only to find it was their one and only edit, usually.
(c) It should be possible for mobile readers to get to see, and edit, the User Talk page of IP editors. I've just checked, and the above result, that clicking the red IP address link leads to an offer to create a user page for them, applies whether or not that IP address has a User Talk page.

A possible solution to all 3 problems would be if clicking on an IP editor led to a "profile" page saying something like "The editor using this IP address has not registered a Wikipedia username. There may be more than one person editing from this IP address. The most recent edits from this IP address are shown _here_. See/Start the _User Talk Page_ for this IP address." (As appropriate) PamD 20:09, 25 July 2014 (UTC)

Most of this is for Maryana, but I can tell you that Thanks is only semi-confidential at best. You can see in the public logs who is thanking whom. You can't see which diff the person was thanked for. However, for people involved in disputes, you can often guess very easily. Whatamidoing (WMF) (talk) 22:55, 25 July 2014 (UTC)

Custom sig formatting issue[edit]

Sometime during the last few months; and I hope it's visible to most reading this and is not just on my end; I've noticed that when signing my sig it has started to leave a rather annoying leading inter-line space before the last line of text I write. This has never been an issue before and I don't think this has anything to do with my browser (Firefox), skin (Vector), or preferences as they have not changed in years. What has changed fairly recently, I notice, is the typography the entire site uses, and I think what's behind the issue is the superscripted ™ after my 'ligature' pushing the last line of text down. Okay okay I know how pretentious my sig looks with a bogus 'trademark' symbol that links to my talk page.. but if it's all the same I've been using this crazy sig for many years and have grown accustomed to it so I'd rather not alter it nor change my default skin. So wondering if there's any workaround where I can avoid this unsightly line gap but still retain the superscripted ™? If that is even the issue, and assuming the site-wide typography change is permanent.. -- œ 20:42, 25 July 2014 (UTC)

@OlEnglish: It's not the superscript (although superscripts and subscripts used to cause this, but it was fixed a long time ago), it's the huge font size. It also causes a gap below your signature, not just above. Matma Rex talk 21:00, 25 July 2014 (UTC)
The <font> tag is deprecated. You should swithc to CSS. The following should work (it also reduces the font size): <span style="font-size:1.6em;line-height:.8em;">œ</span>, which results in œ. -- [[User:Edokter]] {{talk}} 21:11, 25 July 2014 (UTC)
Great! thanks, that did the trick. Just wondering though, if the <font> tag still works, and causes the overall sig code to be shorter/simpler, then why not still use it? I'm guessing it's because not all browsers support it? -- œ 00:31, 26 July 2014 (UTC)
It is deprecated in HTML5 which we use now. It still works, but it runs the risk of not working one day, when the tag is declared obsolete. -- [[User:Edokter]] {{talk}} 08:40, 26 July 2014 (UTC)
If you noticed above, the css formating works, but it still leaves the gaps above and below, like Matma Rex said it is because you are changing the font size. — xaosflux Talk 12:12, 26 July 2014 (UTC)
The line-height property controls the line height (and thus the "gaps"), and it is used here (<font> doesn't allow that) clearly with the aim of getting rid of them. However, I have no idea how Edokter arrived at the value of 0.8 em for it, perhaps it's just an educated guess :) Matma Rex talk 19:06, 26 July 2014 (UTC)
Just a bit of trail and error. With a font zise of 1.6em, the added height disappeared with .8em (with default fonts etc.). Different fonts may behave differently though. -- [[User:Edokter]] {{talk}} 20:10, 26 July 2014 (UTC)

"What links here" seems to be having some issues... maybe?[edit]

Hello everyone! Here's something that either seems to be an issue with the "what links here" feature, or I'm horribly missing something. In a few words, when I try to see what links to the kernfs disambiguation page, I get over 50 pages; however, when checked by hand (at least for 10+ I've checked) those pages have no links to the kernfs page, while they include the {{Linux kernel}} template. This template used to have a link to kernfs, but it has been replaced with a link to kernfs (Linux).

Any clues? Am I wrong somewhere? — Dsimic (talk | contribs) 21:13, 25 July 2014 (UTC)

For about a year now, there has been a problem with the job queue whereby a change to the linking within a template such as {{Linux kernel}}, the what links here has often failed to update (there are other demonstrable problems too). There was definitely a change to the job queue software about that time, connected with Visual Editor, but various explanations have been put forward, ranging from "there is no problem, it's supposed to work like that" to "yes it is a problem, but we don't really know how to fix it". --Redrose64 (talk) 22:09, 25 July 2014 (UTC)
Thank you for the explanation! As far as I can see, unfortunately there's little to be done there. — Dsimic (talk | contribs) 22:20, 25 July 2014 (UTC)
Sometimes, if you leave it a few days, it sorts itself. Or it might take weeks. If you get fed up waiting - or it's clear after a month or three that nothing is happening - the only fix is to WP:NULLEDIT every page that is in "what links here" that shouldn't be. That won't fix pages that should be in "what links here", but aren't. In a recent post on this page, the forcerecursivelinkupdate API call was suggested, but I've never succeeded in getting that to work. --Redrose64 (talk) 22:59, 25 July 2014 (UTC)
Hm, that's pretty much crazy, if you ask me. How can it be that WikiMedia developers can't fix this issue, what's even more surprising knowing that it's an old and well known bug? Even more, I'm receiving "Kernfs (Linux) was linked from XYZ" notifications for articles that have {{Linux kernel}} template included, and by no means links to kernfs (Linux) were added to those articles in referenced edits – that seems to be inline with your description of updates to internal caches upon editing pages. — Dsimic (talk | contribs) 00:25, 26 July 2014 (UTC)
From what I've been told, the HHVM project which is being worked on, which should improve performance of MediaWiki across the board, will also increase the rate at which jobs in the job queue are processed. As part of the phasing in of HHVM, part of the job queue is currently running on HHVM, but unfortunately that part doesn't increase the rate. The plan is that the rest of the queue will get migrated over, but only when it's ready. However, bear in mind that I am only relaying what I have been told as I am only tangentially involved in this project. --Dan Garry, Wikimedia Foundation (talk) 01:00, 26 July 2014 (UTC)
So that isn't a bug, but an issue associated with too much data? — Dsimic (talk | contribs) 01:06, 26 July 2014 (UTC)
@Dsimic: In fact, I don't know how it's classified. I was just commenting on the fact that there is engineering work being done that'll speed the queue up. --Dan Garry, Wikimedia Foundation (talk) 01:30, 26 July 2014 (UTC)
That sounds good to me, the issue/bug/whatever is being worked on. — Dsimic (talk | contribs) 01:34, 26 July 2014 (UTC)
Just as a note, "what links here" looks good now for kernfs, seems that some internal caches got refreshed over these few days. — Dsimic (talk | contribs) 05:14, 27 July 2014 (UTC)

It would be even better to be able to see what pages link to something other than only in a navbox. --NE2 01:18, 26 July 2014 (UTC)

Totally agreed. — Dsimic (talk | contribs) 01:23, 26 July 2014 (UTC)
We've been asking for that since at least 2005. From what I've read in previous discussions, the most we can hope for is to have an outside tool (running at tools.wmflabs.org) working from a copy of the database. It wouldn't be real-time, but it would be adequate for most purposes. Whatamidoing (WMF) (talk) 22:24, 27 July 2014 (UTC)

Improve restore functionality[edit]

When restoring a deleted article, one enters a reason and clicks on the "restore" button". I assume that button activates some script. Is that scrip user accessible or only to the development team?

My motivation is that when restoring a CSD or Prod, one then has to edit the restored article and remove the CSD or prod template. There may be times this needs to be done manually, but it would be nice to have another option. One button could still say "restore" and the next one "Restore and remove CSD/PROD notice".

I was contemplating whether one could build a script to do the restore and remove the notice semi-automatically, but it occurs to me that the capability ought to be done in the restore step.--S Philbrick(Talk) 14:31, 26 July 2014 (UTC)

tl:fbas[edit]

I have an idea: Let's create a new template "fbas" which would produce a flagicon & wikilink to a national football association article, instead of this full code:

{{flagicon|GER}} [[German Football Association|Germany]] – code used in many many articles

{{fbas|GER}} – my idea

Germany Germany – result of both

But how to do it? Maiō T. (talk) 15:08, 26 July 2014 (UTC)

@Maiō T.: What's wrong with {{fb|GER}} Germany ? --Redrose64 (talk) 16:25, 26 July 2014 (UTC)
It's a different article. (national team instead of national F.A.) Maiō T. (talk) 16:31, 26 July 2014 (UTC)
Well, why not add a new parameter to {{fb}} - this would avoid creation of a new template. Incidentally, have WT:FOOTY been informed? --Redrose64 (talk) 17:12, 26 July 2014 (UTC)

Yes check.svg Done Copied to WT:FOOTY. Maiō T. (talk) 17:28, 26 July 2014 (UTC)

Global gadget for LinkFA[edit]

Hi!

I would like your input on this: MediaWiki talk:Common.js#Global gadget for LinkFA. Helder.wiki 16:14, 26 July 2014 (UTC)

Discretionary Sanctions Template Edit Request[edit]

The {{Discretionary sanctions}} template has a few issues. The documentation says user can just add the code and the style into the template, but that does not work. For it to work properly, we must use "topic=" and "style=". For example:

{{Discretionary sanctions|pa|long}}, as suggested by

{{Discretionary sanctions|topic=pa|style=long}}

My template-fu is too weak to figure this out in any timely fashion. Are any template experts able to fix this? Thank you! EvergreenFir (talk) Please {{re}} 16:58, 26 July 2014 (UTC)

Afterthought: The topic=/style= method would have to be preserved as that's what talk pages user now. Also, I tested it on another topic code and still the same issues. EvergreenFir (talk) Please {{re}} 17:00, 26 July 2014 (UTC)
This edit should do it. Basically, when a parameter has aliases (in this case {{{topic|}}} {{{t|}}} and {{{1|}}}), every time one of them is used, the others must be used as well. There were four uses each of {{{topic|}}} and {{{t|}}} but only one {{{1|}}}. --Redrose64 (talk) 17:26, 26 July 2014 (UTC)
@Redrose64: Awesome! Any chance you can get the style= to do the same thing? EvergreenFir (talk) Please {{re}} 17:30, 26 July 2014 (UTC)
It already did. In your first demo above, you used {{Discretionary sanctions|pa|brief}}. Try adjusting that to match the text preceding your words "as suggested by". --Redrose64 (talk) 17:32, 26 July 2014 (UTC)
So I did... the dangers of copy-paste. Thank you again!!! EvergreenFir (talk) Please {{re}} 17:39, 26 July 2014 (UTC)

DISPLAYTITLE warning[edit]

Apparently multiple uses of the DISPLAYTITLE magic word on one article produce a warning at the bottom of the page: Warning: Display title "Bambi Kino" overrides earlier display title "<i>Bambi Kino</i>". here, for example. While that can be resolved by setting the album infobox not to italicize the title, I wonder whether this warning isn't too false positive-prone to be useful. Thoughts? Huon (talk) 17:29, 26 July 2014 (UTC)

This is new from mw:MediaWiki 1.24/wmf14#Core changes:
  • #af66fecb - Warn when DISPLAYTITLE is used more than once (Bugzilla: 50449)
It works poorly at the English Wikipedia where DISPLAYTITLE is often used by infoboxes and changed later. Without a tracking category it seems hard to find the occurrences and set the infobox parameters to not use DISPLAYTITLE. PrimeHunter (talk) 20:52, 26 July 2014 (UTC)
Please note the new parameters: {{DISPLAYTITLE:...|noerror}} suppresses the warning and {{DISPLAYTITLE:...|noreplace}} does not replace the DISPLAYTITLE. noerror could be added to the infobox template, couldn't it? Raymond (talk) 07:21, 27 July 2014 (UTC)
I don't think that adjusting the infobox template would do much good, as it's likely the infobox that's being overridden. It's the second call that needs "noerror" added.
The error message can be adjusted using MediaWiki:duplicate-displaytitle. The best course of action would be to add a tracking category to that message, much like we already do with MediaWiki:duplicate-defaultsort. If the problem is widespread enough, the message could (temporarily!) add the tracking category with no visible error message until people have a chance to clean things up. Anomie 23:46, 27 July 2014 (UTC)
I decided to just be bold and add the tracking category. It should populate as pages are edited or otherwise purged. This isn't to say we shouldn't do the "tracking category with no message" idea if further discussion decides that's a good idea, but we certainly want a tracking category so we may as well not wait on that part. Anomie 23:52, 27 July 2014 (UTC)
Seems to be working, that's how I found this. --Redrose64 (talk) 08:11, 28 July 2014 (UTC)

Yet again a trouble for android users[edit]

Hello there, I'm having a trouble. Why I can't check my contributions through this from android?? And yes I'm a IP user. Yes, I'm a proud IP, I'm - 101.221.128.220 (talk) 18:07, 26 July 2014 (UTC)

Are you using Andoid web or the Android app? Whatamidoing (WMF) (talk) 22:26, 27 July 2014 (UTC)
I can confirm using the Android web version it leads to a page saying "No such page" when visiting Special:MyContributions and not logged into an account. It works fine when logged in. I don't have the app so I didn't test that. Killiondude (talk) 23:59, 27 July 2014 (UTC)
It looks like there are a couple of related bugs open. User:Maryana (WMF) will know whether this is a separate one. Whatamidoing (WMF) (talk) 01:56, 28 July 2014 (UTC)
Thanks. I believe it's bugzilla:65039 but the OP conflated two issues. I made a comment there about it. Killiondude (talk) 02:09, 28 July 2014 (UTC)

Migrating Geonotice to a gadget[edit]

I would like to move MediaWiki:Geonotice.js to MediaWiki:Gadget-geonotice.js, so that

If you enable the option "<gadget-geonotice>" which I added to testwiki:Special:Preferences#mw-prefsection-gadgets, you should see a test notice on testwiki:Special:Watchlist. On English Wikipedia, the gadget would be enabled by default, to keep the current behavior. Helder.wiki 00:18, 27 July 2014 (UTC)

It already is opt-out; I've explained at least three times how to do it. Most (if not all) should be in the archives of this page.
li.geonotice { display: none; }
in Special:MyPage/common.css. --Redrose64 (talk) 00:26, 27 July 2014 (UTC)
That would still load the JavaScript (in a separate request) and keep the CSS mixed in the middle of the JavaScript code. Helder.wiki 00:29, 27 July 2014 (UTC)

auto-reviewing not working?[edit]

Have a look at the history of Arijit Singh. The article is configured to automatically accept edits by auto-confirmed users. It was vandalized and then reverted by ClueBot NG, yet the bot's edit is still shown to be "pending review." Anyone know what's going on? --Ixfd64 (talk) 15:56, 27 July 2014 (UTC)

@Ixfd64: Isn't that because the earlier edits by Deepedits still needed to be reviewed? -- John of Reading (talk) 17:54, 27 July 2014 (UTC)
Exactly, Clue Bot reverted to a revision which was still pending review. If it had reverted to an accepted revision, its edit would be marked as accepted as well. The same is true for all reviewers - if you revert to a pending revision, you still need to manually accept it afterwards. 2Flows (talk) 19:27, 27 July 2014 (UTC)

{{nobr}} doesn't generates &nbsp;[edit]

Hello. I have noticed that the {{nobr}} template uses the HTML <span> tag rather than converting spaces to not breaking spaces in the HTML rendering. Previously I assumed both methods to keep text together to be equivalent, but now I'm afraid that they will have different behaviors. For example, I think that it may be possible (I'm not an expert in HTML) that a browser may copy text produced by the template as containing ASCII spaces, while text using &nbsp; will be copied as such (U+00A0). I think that just with the issue of Unicode superscripts and the usage of <sup>, Wikipedia should settle on a single style and standardize it in its manual of style. I suggest modifying the {{nobr}} template so that it replaces spaces with U+00A0. I don't know which one to use when writing and editing articles, please provide me with feedback on this choice (Accounting for the current situation) as well (I tend to use {{val}} for quantities, since it's the most specific template). QrTTf7fH (talk) 17:37, 27 July 2014 (UTC).

The <span>...</span> element does nothing, other than define the scope of its attributes. It is the class="nowrap" attribute, as used in {{nobr}}, that does the work; this class is associated with the rule
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
  white-space: nowrap;
}
This uses the white-space property, which has been a perfectly acceptable way of controlling word wrapping since CSS 1.0 - over seventeen years ago. It's in CSS 2 (three years old) and will (virtually) certainly be retained in CSS 3 when that finally reaches the W3C Recommendation stage. --Redrose64 (talk) 18:59, 27 July 2014 (UTC)

Sourcing a footnote[edit]

I wasn't sure where else to post this. I found a source for the second footnote here, but apparently, I can't insert reference formatting inside reference formatting. What would be the best way around this? Airplaneman 22:15, 27 July 2014 (UTC)

@Airplaneman: The best way would be not to use a footnote: if it's worth referencing, it's worth being placed in article body text. However, an awful, awful way of nesting references, which you should never use, is descibed at WP:REFNEST. Matma Rex talk 22:44, 27 July 2014 (UTC)
Thanks, Matma, I'll look into it! Airplaneman 22:47, 27 July 2014 (UTC)

Custom edit of Template:Infobox language possible?[edit]

OK. I have a situation on the Cree language page where the Infobox for that page has the wrong information. One of the Infobox lines is for ISO-639-3, where it lists cre – inclusive code, then goes on to list 9 dialects. Only problem is that cre covers 6 of those dialects, and the other 3, though part of the Cree language, are not part of the cre ISO 639 macrolanguage code. However, the template won't allow me to list 4 ISO-639-3 codes, with the fourth one being the cre, and then having the remaining 6 displayed. If I want to have such a custom display, how would I go about doing it without recreating the template from scratch? Is there a way I can enter commands to custom edit that template? I had originally asked this question at WP:HD on July 24, and it was recommended that I pose the question here. CJLippert (talk) 23:10, 27 July 2014 (UTC)

Code issue?[edit]

I have found something strange on a page named Kiler (company). External links and References sections are "mixing" one into another. Is something wrong with the template coding? --BiH (talk) 08:06, 28 July 2014 (UTC)

A <ref> tag was left unclosed:
==History==

From 1984 onwards members of the Kiler family opened a number of supermarkets in the Istanbul area, which in 1994 were incorporated as Kiler Supermarket Gıda Sanayi ve Tic. A.Ş. By 2004 the group had 33 stores in the Istanbul area and went to acquire chains of supermarkets in other parts of Turkey. By 2010 Kiler had 172 stores in 26 cities. Stores range from 600 to 2,500m2 but the Kiler concept is based on supermarkets with an average size of 900m2. <ref name="About Kiler">{{cite web|url=http://www.kilerkurumsal.com/content/about.aspx|title=Company Profile |publisher=kilerkurumsal.com|accessdate=2014-07-28}}

==References==
{{Reflist}}

==External links==
* {{Official website|http://www.kiler.com.tr}}

{{Istanbul Stock Exchange companies}}
Note the lack of a </ref> at the end of the {{cite web}} template. 23W 08:35, 28 July 2014 (UTC)

Tech News: 2014-31[edit]

08:09, 28 July 2014 (UTC)