Jump to content

Wikipedia:Village pump (technical)/Archive 153

From Wikipedia, the free encyclopedia

Bullets showing in shortcut box

On Wikipedia:Policies and guidelines, and quite possibly elsewhere, bullets are showing up in the shortcut box, see screenshot.

The shortcut box on Wikipedia:Policies and guidelines

Some sub-template may have edited incorrectly, perhaps? - Evad37 [talk] 17:30, 3 February 2017 (UTC)

I have limited CSS knowledge but in my Firefox, the bullets appear after this edit to {{Ombox/shortcut}} by SMcCandlish, and not if the previous version is used. MediaWiki:Common.css says:
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ol li,
.plainlist ul li {
    margin-bottom: 0;
}
PrimeHunter (talk) 18:00, 3 February 2017 (UTC)
Interestingly, SMcCandlish's comment is CSS fix (plainlist applies to list elements, not divs...). However, the the CSS quoted above means "lists that are inside plainlist wrappers," not "lists that are plainlists." So either the pre-edit usage was correct (and the comment is not) or site CSS needs to be changed from .plainlist ol, .plainlist ul to ol.plainlist, ul.plainlist. FWIW, the value of the existing CSS is that you don't have to use explicit <ol>, <ul>, and <li> tags. You can just use normal wikitext (* or #), and still the styling would apply to the generated lists. --Unready (talk) 20:06, 3 February 2017 (UTC)
I've reverted and been bold, all in one. --Unready (talk) 20:38, 3 February 2017 (UTC)
@PrimeHunter, Unready, and Evad37: Didn't fix the problem reported in the quoted thread. Stray bullets and undesired addition of vertical space are still appearing, e.g. at Wikipedia:WikiProject Cats.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  21:57, 3 February 2017 (UTC)
There is no quoted thread, but the problem on Wikipedia:WikiProject Cats is that Template:WikiProject status uses class=hlist and embeds the shortcuts in that. --Unready (talk) 22:07, 3 February 2017 (UTC)
If I use jQuery in my console to remove class="hlist" on the rendered version of Wikipedia:WikiProject Cats, the problem of the stray bullets goes away. What is the impact of removing class=hlist from Template:WikiProject status for other Wikiprojects? It seems like that's the solution. --Unready (talk) 22:23, 3 February 2017 (UTC)
BOOM! Let's see who screams. --Unready (talk) 22:47, 3 February 2017 (UTC)

New user script for references

Hello! I created a new user script for converting article references to list-defined format. It's called References Consolidator. It's code is partially based on ProveIt, but it's interface is much simpler. I have tested it extensively in my home Wikipedia (Estonian Wikipedia), haven't tested it much here yet. Just tried on a couple of pages, and everything worked correctly. It is easily portable to other wikis, since it's configuration is in a separate file and the main file is wiki-agnostic. I'm not a native English speaker, so I'm not sure if the script's name and it's few interface messages sound natural and logical to a native English speaker. I'm open to suggestions.

About the script: tried to keep it very simple, yet flexible. It's functionality is similar to User:PleaseStand/References segregator, but it does not have any intermediate steps where user has to input something. That means you don't get to choose reference names, these are assigned randomly. But there are already other tools for renaming references, like ProveIt. It's flexibility means that References Consolidator works correctly with multiple {{reflist}} templates on a page – this is something that I haven't seen any other script that works with references do, even ProveIt does not do that yet.

Anyway, feel free to check it out. I'm thankful for any feedback, bug reports, suggestions, etc. Cumbril (talk) 05:08, 4 February 2017 (UTC)

@Cumbril: My advice would be to change:
{{subst:iusc|User:Cumbril/RefConsolidate_start.js}}
to
importScript( 'User:Cumbril/RefConsolidate_start.js' ); // Backlink: [[User:Cumbril/RefConsolidate_start.js]]
on the following page: User:Cumbril/References Consolidator
If we use the {{subst:iusc method then we receive a warning saying: "The document contains errors. Are you sure you want to save?". (((The Quixotic Potato))) (talk) 05:34, 4 February 2017 (UTC)
@The Quixotic Potato: Thanks! I saw the warning but thought that {{subst:iusc}} is the standard way for user scripts in English Wikipedia. Changed it to:
mw.loader.load( '/w/index.php?title=User:Cumbril/RefConsolidate_start.js&action=raw&ctype=text/javascript', 'text/javascript' ); // Backlink: [[User:Cumbril/RefConsolidate_start.js]].
— Preceding unsigned comment added by Cumbril (talkcontribs) 05:47, 4 February 2017 (UTC)

Parameter default is ignored when separate parameter is defined?

I created a template over at wikispecies (species:template:Au), and it's causing me a headache. I'm using an #ifexist: check on {{FULLPAGENAME:{{{1}}} {{{2}}}}} to generate a link to pages. I'd like that check to fail if parameter 1 is undefined (parameter two alone will usually generate a link to a disambiguation or redirect page), so I (quite sensibly in my opinion) set a nonsense default to parameter 1: {{FULLPAGENAME:{{{1|unlink}}} {{{2}}}}}.

This is where my problems start. This expression correctly generates the string "unlink" but only as long as parameter 2 is undefined. The default for parameter 1 is completely ignored if parameter 2 is set (as can be seen in fourth "base use" example), and I have no idea what could possibly cause this to happen. I've never used FULLPAGENAME before (it's been a LONG time since I meddled around in this sort of templating), but I don't see why that should be an issue... Circéus (talk) 12:30, 4 February 2017 (UTC)

P.S. Anyone knows how I can check what's the Wikispecies setting for mw:Manual:$wgExpensiveParserFunctionLimit ? Circéus (talk) 12:30, 4 February 2017 (UTC)

In your test call {{au||Darwin}}, parameter 1 is not undefined. It is set to the empty string so {{{1|unlink}}} evaluates to empty. It only evaluates to unlink if parameter 1 is undefined, for example in {{au}} or {{au|2=Darwin}}. If parameter 1 is undefined then {{{1}}} evaluates to itself, i.e. that exact 7-character string. You can use that. PrimeHunter (talk) 13:21, 4 February 2017 (UTC)
https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php says $wgExpensiveParserFunctionLimit = 500; That means it's 500 for all Wikimedia wikis. I have verified it be previewing #ifexist calls at wikispecies. It produces: "Warning: This page contains too many expensive parser function calls. It should have less than 500 calls, there are now 501 calls." Exactly 500 is allowed so "less than 500" is a little imprecise, at least with the standard mathematical definition. PrimeHunter (talk) 13:33, 4 February 2017 (UTC)
Thank you for pointing what should have been obvious to me <<;;. And for the Parserfunction answer. 500 should be _more_ than enough for what we need on Wikispecies. Circéus (talk) 13:43, 4 February 2017 (UTC)

Section-templates don't show on mobile

Here I found that section-templates. such as {{Expand section}}, don't show on mobile.

I can see the note neither on the mobile version of Wikipedia nor the mobile app. Article hatnotes seemed to always show fine - for them it says "Page issues" (which can be shown/expanded by a click on it) - hence for sections it should say "Section issues". User:Redrose64 said that this would be due to Module:Message box using the metadata class, which is "always hidden in mobile".

Whatever the issue is here - please fix it ASAP! Mobile users should also be able to see section-templates, it probably means that there needs to be an alternative way for doing whatever the metadata class was hidden for - however an exception or alike might work as well. Not sure if I should make a phabricator ticket for it.

--Fixuture (talk) 17:36, 4 February 2017 (UTC)

Is Template:Install_user_script outdated? Is mw.loader.load better?

Is mw.loader.load better? See the section above. (((The Quixotic Potato))) (talk) 06:41, 4 February 2017 (UTC)

mw.loader.load is used primarily to load scripts from the sites different from the current site. Ruslik_Zero 20:03, 4 February 2017 (UTC)

16:02, 5 February 2017 (UTC)

Odd 'script error' and preview problem

As I write the only article in Category:Pages with script errors is Mlle Raucourt. Visiting it to see if there’s any problem I can’t see any, and the category is not listed among the article’s category. None of that is unusual as it takes anything from seconds to days for the category to be updated after article changes. As the article has not changed recently it’s probably a template that was temporarily broken.

But I decide to edit it, to see if I can spot any potential sources of problems, such as unprotected templates. Simply editing and hitting preview lists all the templates (and categories) below.

Except now it lists Category:Pages with script errors among its categories, even though I have not changed it. Odd. Where it gets really odd though is: if I delete everything and hit preview it still lists the category. There are no script errors as there are no scripts, no contents. But it says if I hit save it will be in Category:Pages with script errors. As well as in Category:Articles with hCards, Category:Wikipedia articles incorporating a citation from the 1911 Encyclopaedia Britannica with Wikisource reference and Category:Wikipedia articles incorporating text from the 1911 Encyclopædia Britannica. Even though there is no content.

I tried this on another article a couple of days ago and saw the same thing. Categories appearing which made no sense even when there is no content. No recent changes to the article or templates that I can see that might be causing it. The article is OK, so there is nothing to fix in the content but it seems something is broken in the preview mechanism.--JohnBlackburnewordsdeeds 20:42, 5 February 2017 (UTC)

It appears that the list of hidden categories is always taken from the saved page, as compared to the list of templates which is taken from the saved page on the initial load of the edit page and from the preview on preview. Anomie 21:26, 5 February 2017 (UTC)
Thanks. I only looked for previous reports on this page (thinking it was a new problem), and did not think of Phabricator. Added myself there, nothing to do here.--JohnBlackburnewordsdeeds 22:22, 5 February 2017 (UTC)

Developer Wishlist Survey: Vote for Proposals

Almost two weeks ago, the Technical Collaboration team invited proposals for the first edition of the Developer Wishlist survey!

We collected around 77 proposals that were marked as suitable for the developer wishlist and met the defined scope and criteria. These proposals fall into the following nine categories: Frontend, Backend, Code Contribution (Process, Guidelines), Extensions, Technical Debt, Developer Environment, Documentation, Tools (Phabricator, Gerrit) and Community Engagement.

Voting phase starts now and will run until February 14th, 23:59 UTC. Click here on a category and show support for the proposals you care for most. Use the 'Vote' and 'Endorse' buttons next to a proposal to do so.

What happens next?
Proposals that will gather most votes will be included in the final results which will be published on Wednesday, February 15th. These proposals will also be considered in the Wikimedia Foundation’s annual plan FY 2017-18 - SSethi_(WMF) (talk) 04:41, 6 February 2017 (UTC)

Conditional expression for detecting a redirect?

Similar to {{#ifexist for detecting the existence of an article, is there something to detect whether a page is a redirect? I searched in the help pages but found nothing. (This sort of thing will useful at User:Aymatth2/SvG clean-up/Race walkers - to see which pages are still in draft: and which have moveed to mainspace.) 103.6.159.78 (talk) 14:23, 6 February 2017 (UTC)

This can be done in WP:Lua, with Module:Redirect – e.g.
  • {{#invoke:redirect|isRedirect|WP:AFC}} → yes
  • {{#invoke:redirect|isRedirect|Wikipedia:Articles for creation}}
- Evad37 [talk] 15:23, 6 February 2017 (UTC)
Thanks! 103.6.159.78 (talk) 16:01, 6 February 2017 (UTC)

19:45, 6 February 2017 (UTC)

How to filter user contributions for newer than a date

Special:Contributions has menus to view only "From year (and earlier)" and "From month (and earlier)". Is there a way to do the opposite, that is, only see edits from some year/month to present? I like to look at recent activity when thinking about blocking an IP-vandal to weigh collateral damage (any recent good edits), and other checks of recent range abuse. DMacks (talk) 16:50, 6 February 2017 (UTC)

You can for example start with earlier than a date and click "newer 50". &limit=n in the url will show n entries for n up to 5000. PrimeHunter (talk) 22:15, 6 February 2017 (UTC)
That's a neat trick. Thanks! Unfortunately, it only works for named accounts or single IPs, not IP ranges:( DMacks (talk) 02:15, 7 February 2017 (UTC)
There is a current project to develop a range contributions tool: phab:T145912. I am not sure what date range features are to be supported, but you could request something. User:MusikAnimal is one of the people involved. EdJohnston (talk) 02:37, 7 February 2017 (UTC)
phab:T120733 is the task you are looking for :) I think it's nearing completion but I am not certain. Range contributions will support the same options MusikAnimal talk 03:00, 7 February 2017 (UTC)

date arithmetic, perhaps with days-since-epoch?

I'd like to create a function to calculate the moon phase on a given date.

The logic that sprang to mind was:
(a) note the date of known full moon
(b) convert that date to days-since-some-epoch
(c) take the target date and convert that to days-since-some-epoch
(d) the difference modulo 29.530588853 gives me the number of days since the last full moon, from which I can estimate the phase.

I've hunted up and down categories, templates, articles but haven't found anything for days-since-epoch (or seconds-since-epoch). Can you point me in the right direction, please? Scarabocchio (talk) 21:57, 6 February 2017 (UTC)

You can for example use {{Age in days}} on a known full moon and skip a step. PrimeHunter (talk) 22:06, 6 February 2017 (UTC)
{{Age in days}} should do the job, but if there is a problem, ask at my talk for information about driving Module:Age. Johnuniq (talk) 02:29, 7 February 2017 (UTC)
Many thanks, both. {{Age in days}} looks perfect ... Scarabocchio (talk) 06:32, 7 February 2017 (UTC)

Tools for genealogical tree

Are there any tools to easy make genealogical tree like this Copy & Paste Excel-to-Wiki Converter ?--Kaiyr (talk) 09:38, 7 February 2017 (UTC)

Responsive content gadget

I propose to add my responsive content style sheet as a gadget to our preferences. It gives additional styling rules to bring much of the responsiveness of the mobile website, to Vector and at the same time also gives some nice improvements to users of wide screens (like 27" iMacs), by moving images and infoboxes into sidebars, enlarging the font size and limiting the width of the content for those specific users.

It is part of my effort to explore bringing back some of the enhancements of mobile back into the core of the software, and I've given a short presentation about it recently. Note that the demonstration includes changes to both the content and the layout of Vector, but the gadget i'm making available here would only effect the content area. (A complete Vector gadget might follow later at some point, but is more complicated).

My hope is that by having this gadget, it will be easier for editors to experience what content looks like on mobile screens. Those who want to try it right now, can add

mw.loader.load( '/w/index.php?title=User:TheDJ/responsiveContent.css&action=raw&ctype=text/css', 'text/css' );

to their JS files (note that you will get a styling flash because of this, which is one of the reasons I want to make this available as a pure CSS gadget). —TheDJ (talkcontribs) 15:29, 7 February 2017 (UTC)

  • I broadly support this—layout improvements are worthwhile. That said, as a Gadget it should probably be marked experimental; trying it on TFA Johnson Creek (Willamette River) I saw a {{wide image}} run off the left of the screen as a result of the right-hand gutter (for reference, measured window.innerWidth at about 1400px). We should be clear in Gadgets when they are expected or known to be buggy. More broadly, I'll advocate for T90914, because most of the issues in implementing stuff like this—and this ultimately ought to be default—will run up against wikitext-based hacks ({{wide image}}, {{double image}}, Category:Graphics templates, etc.) for displaying images nicely. We should pre-empt some of those issues by improving the underlying markup. {{Nihiltres |talk |edits}} 16:06, 7 February 2017 (UTC)
    Options are fine, but since when should sidebar-ed images and infoboxes be default? BethNaught (talk) 16:13, 7 February 2017 (UTC)
    Have you tried ? I'm guessing most people won't even experience this, unless they have a rather large screen. Also, I don't intend to put all these changes into core at the same time, definitely not potentially controversial ones like sidebars. My preference would be to have sidebar markers be emitted by the parser actually, and then have the skin, or skin settings determine how to present that. But that's all way out there into the future as far as I'm concerned (I have very little time for this). —TheDJ (talkcontribs) 16:51, 7 February 2017 (UTC)
    @Nihiltres: I'm specifically doing this in a gadget in this phase, because I want to find things like wide-image, before even attempting to do this in core and having to go into a 1 year back and forth with community. —TheDJ (talkcontribs) 16:51, 7 February 2017 (UTC)
    @TheDJ: Yes, I understand and think that's a great approach. My point's only that it should be marked as experimental so that users know what to expect when enabling it. I'll still emphasize T90914, of course: better, more semantic image markup could resolve many of the potential problems before or as they arise. {{Nihiltres |talk |edits}} 17:03, 7 February 2017 (UTC)
    Yeah i have no problem with that. It's working surprisingly well in 99% of the cases though. If you consider how 'dirty' this hack actually is, I was expecting many more issues with it. —TheDJ (talkcontribs) 17:07, 7 February 2017 (UTC)
  • @TheDJ: I don't think it's necessary to put that line on a user's JS page, if they instead add this line
    @import "/w/index.php?title=User:TheDJ/responsiveContent.css&action=raw&ctype=text/css";
    
    to the top of their CSS page. --Redrose64 🌹 (talk) 16:35, 7 February 2017 (UTC)
    @Redrose64: I think that doesn't reliably work. All your user stylesheets get concatenated, and there is nothing making sure that the final stylesheet has these all these import's at the top as far as I remember. As such it is probably safer to test with JS loading. —TheDJ (talkcontribs) 16:51, 7 February 2017 (UTC)

I have a question about using Template:CSS image crop. It is a very useful template for displaying large maps, and I have used it on several articles. At Port Anderson, Mississippi, I used it in the infobox (where it must be center-justified to display properly). At Mound Landing, Mississippi and at Christie Street, I added it to the article. My question is: is there an easy way to set up this template? Finding the exact "oTop" and "oLeft" coordinates is entirely by trial and error. To do this, I load the template into my sandbox, start with a very small "bSize", and then slowly increase the bSize as I manipulate the oTop and OLeft to find the exact spot on the image I am looking for. This can take a very long time when manipulating a large map. Is there a tool or a trick for easily finding the coordinates? Does this meet the definition of a First World problem? Thanks! Magnolia677 (talk) 12:50, 8 February 2017 (UTC)

Note that you are forcing every visitor of Mound Landing, Mississippi, to download a 2440px by 9363px image of almost 5MB, and I don't think that is reasonable. If you have an old phone, that will basically cause it to freeze up and require a reboot of the device. —TheDJ (talkcontribs) 13:30, 8 February 2017 (UTC)

Lack of geographical coordinates in the exported pdf webpages

Hello everybody. I just joined Wikipedia as a user, so please forgive me in case I am not reporting this the right way or in the right place. I am currently saving some Wikipedia webpages as pdf files (using the tool "Download as PDF" in the "Print/export" section) to store for future reviews. The pages I am saving are related to geographical locations, therefore the coordinates usually reported in the top-right corner of the page are really useful. However, I noticed that in the pdf version of the Wikipedia page, the coordinates are omitted. Am I the only one who thinks this would be a nice feature to implement (and most probably not that difficult to implement for the programmers)? Would it be possible, in the future, to modify the exporting tool to include them? — Preceding unsigned comment added by Tommasosacco (talkcontribs) 15:45, 8 February 2017 (UTC)

Ranking articles in a certain category by number of incoming wikilinks?

Hi! Does anyone know if there is a tool that lets you rank Wikipedia articles that are in a certain category according to how many other Wikipedia articles link to them? I'm looking for a method that is easier than going into the "What links here" page for each individual article in a category and manually filling the data into a spreadsheet. --Dodi 8238 (talk) 09:16, 8 February 2017 (UTC)

A query can probably sort this; it might also be an interesting change to WP:Petscan. --Izno (talk) 12:59, 8 February 2017 (UTC)
Thanks for the reply! I figured out how to get the result I was looking for in Petscan:
  1. Enter a category in the "Categories" section
  2. Select "Sort: by incoming links (ns0)" and "Sort order: descending" in the "Output" section
  3. Press "Do it!"
--Dodi 8238 (talk) 19:25, 8 February 2017 (UTC)

Can we get an accurate estimate of how many users were affected and not the heretofore incorrect "all the spam systems out there from blocking us"? It's pretty irritating to now have every email display as from "Wikipedia". --NeilN talk to me 23:25, 8 February 2017 (UTC)

Extraneous spaces in edit requests

Hey all, weird question. I notice that the grand majority of the time, when a user submits an edit request to a talk page, like here or here, an extraneous space often appears before the user's signature. Any idea why this could be? Terribly anal of me, I know, I'm just curious cuz the resulting signature-in-a-box irritates the crap out of me. Thanks, Cyphoidbomb (talk) 17:56, 7 February 2017 (UTC)

In short, they're not following the instruction to "Write your request ABOVE this line". Template:Submit an edit request/preload ends with the line
}}}} ~~<noinclude />~~
Those two pairs of braces terminate a {{subst:trim}} and a {{subst:^}} and if nothing is entered, they substitute to nothing - and the next character is a space, which ends up at the start of a line, with the signature following it. --Redrose64 🌹 (talk) 18:12, 7 February 2017 (UTC)
Thanks for the explanation, Redrose64. Appreciated. Cyphoidbomb (talk) 17:53, 8 February 2017 (UTC)
If we hide the space from the MediaWiki parser, by altering that line to
}}}}&#32;~~<noinclude />~~
it'll still work, and the signature will have a normal (not monospaced) appearance when no text is entered. --Redrose64 🌹 (talk) 00:13, 9 February 2017 (UTC)

Fuzzy image

Resolved

Hello. Pigsonthewing suggested I post here. As I mentioned initially in this thread, I've uploaded a new cover image at Chemistry Education Research and Practice. My source image is high quality, however the displayed image on the page is fuzzy, particularly around the words. How do I fix this? I've tried purging the page. Msuxg (talk) 11:32, 9 February 2017 (UTC)

@Msuxg: This is because the original has a lot of 'noise' pixels around the letters and such. This will confuse the scaling and sharpening algorithms slightly, resulting in soft edges in the small thumbnails (especially with JPG). Either cleaning up the original manually, or finding an original without compression or scanning artefacts is your best bet to improving this. —TheDJ (talkcontribs) 11:45, 9 February 2017 (UTC)
Jpegs are always fuzzy. It's an unavoidable effect of the lossy compression inherent to the JPEG format. An image which is not a photograph (like File:CoverIssueCERP.jpg) shouldn't really use a format that was designed specifically for photos (see JPEG#Typical usage, second paragraph) - instead, something like the PNG format would be significantly better. --Redrose64 🌹 (talk) 12:09, 9 February 2017 (UTC)
The large original has only slight quality issues, and the problems are all scaling artefacts. It will help if you resize the image to something near the display size required on the article page and upload it again at that size. Fair-use images should be low-res anyway. William Avery (talk) 12:22, 9 February 2017 (UTC)
I've done that. Looks better. William Avery (talk) 12:35, 9 February 2017 (UTC)
@Msuxg: Apart from the scaling issues, your 2489 × 3249 version was far too large for a fair use image, and you kept |Low_resolution = Yes at File:CoverIssueCERP.jpg#Summary. See WP:Image resolution. PrimeHunter (talk) 13:17, 9 February 2017 (UTC)

Many thanks to everyone for their help and suggestions, that looks much better now. Msuxg (talk) 13:20, 9 February 2017 (UTC)

Adding status to |statusChanger2.js

Hello all, I was wondering if you could offer some help with how to add a status, "phone", to the above. My current js is here, and the source code for original is here. I have attempted to add the status "phone" by way of making the same additions as Kraftlos did to add sleep, but this has not worked. -- Iazyges Consermonor Opus meum 14:16, 9 February 2017 (UTC)

You didn't say what the problem is. I guess it is that User:Iazyges says "Status: Unknown" when User:Iazyges/Status says "sleepphone". What others see has nothing to do with your JavaScript files which run in your own browser and only affects what you see and can do. User:Iazyges uses {{Statustop}} which doesn't recognize "phone" so that value in User:Iazyges/Status isn't going to work unless you modify or don't use {{Statustop}}. The documentation shows it can redefine what is displayed for "sleep" so you could use "sleep" to display "Phone" with {{Statustop|link=User:Iazyges/Statuses|sleep=Phone}}. This would mean you can no longer display "Sleeping", but offline and away would still be available. Your script is only a fancy way to change the value in User:Iazyges/Status instead of manually editing it. If you keep using the current {{Statustop}} then there is no reason for a script to place "phone" in User:Iazyges/Status. PrimeHunter (talk) 17:59, 9 February 2017 (UTC)

Revision History Statistics

Anyone know how to get the revision history statistics? You used to be able to click on "Revision history statistics" on the Revision history screen but this has been replaced with a "Wikihistory" page of very limited use. Anyone know how to access the old version? Hawkeye7 (talk) 03:28, 9 February 2017 (UTC)

Yes, ditto from me. A while back we used to get the pie chart filled in with % edits by user for the current version of an article (which is more relevant than the list of number of edits made by each user going back ten or more years). I found this very useful when coming to an article for the first time and being able to check who were the major contributors so far, with a view to perhaps notifying them if I planned to completely rewrite the article. JG66 (talk) 03:41, 9 February 2017 (UTC)

The links at top of page histories are made by MediaWiki:Histlegend. https://tools.wmflabs.org/xtools-articleinfo was recently removed because the tool was down.[6] It may be back up currently but the xtools have been unstable for years. The bottom of "Page information" under "Tools" in the left pane displays MediaWiki:Pageinfo-footer which has linked to xtools-articleinfo in the past but has only used other tools since 2015. PrimeHunter (talk) 04:03, 9 February 2017 (UTC)
I had a similar reason to JG66. Thanks for that - it worked for me. Hawkeye7 (talk) 19:46, 9 February 2017 (UTC)

Is there documentation on the code editor?

Where can I find info about it? The Transhumanist 04:14, 10 February 2017 (UTC)

Found it (mw:Extension:CodeEditor). The Transhumanist 06:07, 10 February 2017 (UTC)

noindex,nofollow

Why somepages have html tag robots with value of noindex,nofollow? Mjbmr (talk) 19:35, 9 February 2017 (UTC)

So that search engines do not index them. Do you have a question about a specific page? --Unready (talk) 19:51, 9 February 2017 (UTC)
See Wikipedia:Controlling search engine indexing for noindex. External links automatically get nofollow, mainly to make link spamming less attractive (I have seen SEO people complain it's to greedily suck up page rank without giving any back). See meta:nofollow. PrimeHunter (talk) 20:27, 9 February 2017 (UTC)
Specifically, this presumably relates to a page like Cody Strong. New pages are not allowed to be indexed until they have been reviewed as part of Wikipedia:New pages patrol. There are currently 14,950 unreviewed pages.. 2596 pages were reviewed this week, so it might take a couple of months before someone comes across it so it can be indexed. -- zzuuzz (talk) 20:38, 9 February 2017 (UTC)
Note there is also a timer on these - if the patrolling goes ignored long enough they will start becoming indexed anyway. — xaosflux Talk 21:00, 9 February 2017 (UTC)
Yes, 30 days. I'll add some more info to the page. Cenarium (talk) 21:31, 9 February 2017 (UTC)
So why there is no public log for them and why on the info page says "Indexing by robots: Allowed". Mjbmr (talk) 02:27, 10 February 2017 (UTC)
You need to click show patrol log to view the patrol log in logs. The info page saying that indexing is allowed is incorrect, it's a bug, I've made a task for this: phab:T157747. Cenarium (talk) 03:05, 10 February 2017 (UTC)
What about pages that are not patrolled and are created less than a month such as OmarGoshTV. Mjbmr (talk) 06:02, 10 February 2017 (UTC)
I think OmarGoshTV doesn't have noindex because it was moved to that title by an administrator.[7] Administrators are Wikipedia:Autopatrolled. A deleted version was patrolled.[8] PrimeHunter (talk) 11:00, 10 February 2017 (UTC)
It doesn't say any present revision of it was patrolled. Mjbmr (talk) 14:50, 10 February 2017 (UTC)
Indeed there are a couple of bugs affecting moving and patrolling, such as not leaving a log entry when moved, mostly because we can't patrol moves in MW core (phab:T98617). Cenarium (talk) 16:36, 10 February 2017 (UTC)

I'm running Fedora 23 Linux with Firefox 50.1.0. When I open a certain upcoming Featured Picture of the Day, namely Template:POTD/2017-02-16, the thumbnail displays with the wrong color palette—the beige background becomes magenta, the black becomes cyan, and most of the rest is either cyan or magenta also. Same if I click through to the image's own page File:Fromental Halévy, L'Éclair score cover - Restoration.jpg and view the full image or any of the other available sizes. (If I download the image file and open it with xv or okular, it looks normal.) Looking at the file history on the image's page, I see that all the earlier versions appear correctly and there is a comment "+ color profile" on the newest one. Presumably this "color profile" is what's making it not work for me, but this is beyond my knowledge of how JPGs work.

I remember reporting a similar problem with an image once before (I would have been using a different IP address at the time), but I don't remember how it was resolved. Considering that we're talking about a Featured Picture of the Day and that Firefox is not exactly a nonstandard tool, I think there's a case for fixing the problem even if the image is technically correct. --76.71.6.254 (talk) 22:09, 9 February 2017 (UTC)

Added note: I was going to plant a courtesy pointer to this posting on who last edited the image file, but if I've found the the right one, it's semi-protected both on Wikipedia and on Commons, so I can't. --76.71.6.254 (talk) 22:17, 9 February 2017 (UTC)
Does the previous version exhibit the same problem for you? FWIW, beige in the JPG looks beige to me.... --Unready (talk) 23:10, 9 February 2017 (UTC)
No, as I said, all the earlier versions in the image history look normal to me. --76.71.6.254 (talk) 07:49, 10 February 2017 (UTC)
Added information: I've now updated to Fedora 25 with Firefox 51.0.1, and it still looks bad for me. --76.71.6.254 (talk) 23:29, 10 February 2017 (UTC)

What's wrong with WT:WikiProject Equine headers

For some reason, on mobile view I see the top header, then the one about the breeds infobox, and...nothing. The additional threads below don't show up separately but as a part of that one. What's wrong? White Arabian Filly Neigh 22:54, 10 February 2017 (UTC)

 Fixed. There was an unclosed "div" tag that appears to have been messing up the mobile view. Pinging White Arabian Filly. – Jonesey95 (talk) 00:10, 11 February 2017 (UTC)

Cyberbot I continually cleaning sandboxes

Since December 16, 2016, Cyberbot I has been continually cleaning template sandboxes without other activity taking place. That has been reported here and here to the bot operator, who thinks it's the fault of the mediawiki software but isn't sure which projects to address at Phabricator. Dhtwiki (talk) 22:29, 10 February 2017 (UTC)

Also User_talk:Cyberpower678#Cyberbot_I_.22no_difference.22_edits - Evad37 [talk] 00:30, 11 February 2017 (UTC)
If there is no content change, it's a null edit, and is not normally recorded in the page history, the user's contributions, etc. The fact that it is being recorded implies that the MediaWiki software is not treating it as a null edit. My guess is that the page contains some strange character which is not being overwritten, so it doesn't show in the diff. There was a case a few years back where redirects had been created with a double newline at the end, and a null edit removed the second newline - but the diff showed no change. --Redrose64 🌹 (talk) 00:20, 11 February 2017 (UTC)
Looking at the bot's source code, it just uses {{subst:Template sandbox reset}} to reset the template sandboxes, so that template would likely be where the problem is. - Evad37 [talk] 00:30, 11 February 2017 (UTC)
I've just replaced the box characters with asterisks[9], maybe that will solve the problem - Evad37 [talk] 00:34, 11 February 2017 (UTC)

It does appear to be a bug, but removing the trailing linefeed in Template:Template sandbox reset resolved it. — xaosflux Talk 00:54, 11 February 2017 (UTC)

Broken gif

Original size
Scaled thumbnail
Scaled thumbnail at 199px

Am wondering if a tech person can help fix an animated gif that doesn't animate until clicking on the image (at the resulting image info page, it anmates fine). There are similar gifs by the same creator that animate fine in articles and don't require going to the image info page for it to animate. The gif creator (Commons user) hasn't edited since 2014, so probably no help there. Please advise if there is more appropriate board for this. Ok, --IHTS (talk) 01:20, 10 February 2017 (UTC)

You failed to link the gif or article but from your contributions I assume you refer to commons:File:Queen (chess) movements.gif. It's affected by mw:Manual:$wgMaxAnimatedGifArea so it only animates if it's used at the original size. I have displayed it here. I don't have a tool to make a smaller version which can be scaled but Wikipedia:Graphics Lab/Illustration workshop or commons:Commons:Graphic Lab/Illustration workshop would probably be the place to ask. PrimeHunter (talk) 01:57, 10 February 2017 (UTC)
The value for commons:File:Queen (chess) movements.gif should be 512 × 512 × 224 = 58,720,256. That's well above the default 1.25e7 at mw:Manual:$wgMaxAnimatedGifArea, but https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php says $wgMaxAnimatedGifArea = 10e7; // 100MP. That should actually be enough here so I guess it only fails because a thumbnail was cached before the limit was raised to the current value. I tried a 199px version (unusual number unlikely to be cached) and it works! The middle version has unspecified size which for me means 220px set at Special:Preferences#mw-prefsection-rendering, and failure to animate. I thought our limit was 50 MP before looking it up. commons:Category:Animated GIF files affected by MediaWiki restrictions has a 50 MP subcategory so I guess the current limit is relatively recent. 50 MP wasn't enough here. PrimeHunter (talk) 02:25, 10 February 2017 (UTC)
Thank you for all the investigative digging & testing, PrimeHunter! Sincere, --IHTS (talk) 12:10, 10 February 2017 (UTC)
I have purged the image at Commons, and it seems that the 220 thumbnail now animates as well. —TheDJ (talkcontribs) 11:57, 10 February 2017 (UTC)
Yes! Could you please do the same thing (purge) for one more? (The other chess piece gifs work fine, only the queen & knight had size limitation problems.) Thank you!
Scaled thumbnail
--IHTS (talk) 12:10, 10 February 2017 (UTC) p.s. (ping) TheDJ --IHTS (talk) 21:11, 10 February 2017 (UTC)
@Ihardlythinkso: You can do this yourself. The WP:PURGE technique is the same at Commons as it is here (see c:Help:Purge), although some of the gadgets are described differently; and like the purge feature here, it's available to all users. --Redrose64 🌹 (talk) 00:39, 11 February 2017 (UTC)
Redrose64, thx, but not working for some reason. (Both Commons & WP, went to Preferences, Gadgets, checked box to turn on Purge option, confirmed my skin is default Vector, ... no Purge gadget appears. Logged out & on again, still nothing.) --IHTS (talk) 01:08, 11 February 2017 (UTC)
The alt method worked, thx for your help! --IHTS (talk) 05:52, 11 February 2017 (UTC)
Try adding ?action=purge at the end of the url. Cenarium (talk) 03:49, 11 February 2017 (UTC)
Worked, thank u! --IHTS (talk) 05:52, 11 February 2017 (UTC)
In Vector, the purge gadget shows as an option in the "More" tab; in MonoBook skin it's a separate tab containing only an asterisk. In both skins, you need to wait for the JavaScript to finish running before it displays reliably. --Redrose64 🌹 (talk) 09:47, 11 February 2017 (UTC)

Inline images on mobile

At Yngvi#The Ingwaz rune there are runes presented inline with the text using images. Presumably this is because many (most?) people don't have fonts for Unicode runes. On mobile, they appear as block elements, even with frameless, which is supposed to force inline style. Bizarrely, it appears correctly in the edit preview! Hairy Dude (talk) 14:50, 11 February 2017 (UTC)

dead-end Page

Hello, I want to update this https://sa.wikipedia.org/w/index.php?title=विशेषः:निराग्रपृष्टानि&limit=500&offset=0 page. In English this called https://en.wikipedia.org/wiki/Special:DeadendPages. Please update if some one can. NehalDaveND (talk) 10:54, 11 February 2017 (UTC)

@NehalDaveND: you have to request at phabricator, you can use this ticket as an example phab:T10663. — xaosflux Talk 14:32, 11 February 2017 (UTC)
@Xaosflux: Thank you. NehalDaveND (talk) 14:39, 11 February 2017 (UTC)

Some special pages like dead end pages update periodically (e.g. every week, month), due to the heavy amount of processing and time to do this (see https://www.mediawiki.org/wiki/Manual:$wgMiserMode). So it will eventually update at some point, see:

https://phabricator.wikimedia.org/T45668 https://phabricator.wikimedia.org/T17434

The only actionable report here would be correcting the message in the page that erroneously states that the report will not update (and maybe include the next update date) when in reality some special pages in miser mode update at a given interval. — Preceding unsigned comment added by 197.218.83.4 (talk) 15:32, 11 February 2017 (UTC) For small wikis one can use a tool like dev:CacheCheck. — Preceding unsigned comment added by 197.218.83.4 (talk) 15:48, 11 February 2017 (UTC)

Prose size script bug?

When running User:Dr_pda/prosesize.js on bouncing ball, it stops functioning after the sentence "If Reynolds number is very low (Re < 1), the force on the ball is described by Stokes' law[7]".

Is the script bugged, or does the article contain some weird css/html thing that makes the script choke? This is the only page I know that the script can't handle. Headbomb {talk / contribs / physics / books} 15:27, 11 February 2017 (UTC)

I don't know what this means, but if you comment out the "Drag" and "Magnus effect" sections, the script works. Feel free to experiment in User:Jonesey95/sandbox3. – Jonesey95 (talk) 17:11, 11 February 2017 (UTC)
I found the reason. This is caused by inline <math></math> tags. Very annoying to say the least. Could anyone fix that script? Or make a new one? Headbomb {talk / contribs / physics / books} 17:25, 11 February 2017 (UTC)

This page doesn't work (it should link to Special:MyContributions, as Special:Contribs does to Special:Contributions) 95.49.34.243 (talk) 18:22, 11 February 2017 (UTC)

The Special: namespace is beyond what can be technicaly done on-wiki. Please see Wikipedia:Bug reports and feature requests. עוד מישהו Od Mishehu 18:29, 11 February 2017 (UTC)
If by "it should work" you mean it was working and broke, can you say the last time it did work? If you mean "I would like this changed", follow Od Mishehu's link - Special: pages redirects are called "aliases" when placing a phabricator ticket. — xaosflux Talk 18:31, 11 February 2017 (UTC)
I don't think Special:MyContribs has ever worked or been promised to work. mw:Release notes/1.18#New features in 1.18 only says "Special:Contribs now redirects to Special:Contributions." A wiki cannot redirect special pages so it would have to be done in MediaWiki. It's rare to link to Special:MyContributions and it's already the first suggestion in the search box when I type "special:my", so a redirect doesn't seem significant. PrimeHunter (talk) 18:41, 11 February 2017 (UTC)

Is there some sort of bot malfunction?

Hi. It seems that the table entitled "Genetics articles by quality and importance" on Wikipedia:WikiProject_Genetics hasn't been updated in several days. That is the only one I'm watching, so I don't know if this problem is unique to genetics or is system wide. Could you please check and/or advise me what to do? I've contemplated changing an assessment on some other project page to see if that updates, and if you suggest that I do, I will. Specifically, there are 230 unassessed articles listed at the genetics site, but it appears to me that the assessment ratings actually do appear on the talk page, but aren't showing on the table. Thanks, DennisPietras (talk) 02:48, 11 February 2017 (UTC)

@DennisPietras: I think you are referring to User:WP 1.0 bot/Tables/Project/Genetics, normally updated by User:WP 1.0 bot. That bot's operators are @Theopolisme: and @Wolfgang42: - who have been gone for a while. Last time the project talk at Wikipedia talk:Version 1.0 Editorial Team/Index had a bot issue, @Bamyers99: responded. — xaosflux Talk 03:33, 11 February 2017 (UTC)
@Xaosflux: Yes, that is the table in question. Thank you for contacting the right people! DennisPietras (talk) 04:11, 11 February 2017 (UTC)
@Xaosflux and DennisPietras: I am not a maintainer for the WP 1.0 project. The only thing that I did was requested via IRC that a Tool Labs admin restart the webservice. There is a way to request a manual stats update via Update project data. It may be time for someone to invoke the Tool Labs Abandoned tool policy. --Bamyers99 (talk) 18:54, 11 February 2017 (UTC)
Thanks for the update - the risk of relying on a bot operator too much! — xaosflux Talk 19:06, 11 February 2017 (UTC)
Thanks all! DennisPietras (talk) 20:33, 11 February 2017 (UTC)
Resolved

User:Alligators1974 recently used Checklinks to insert multiple 'dead link' tags into John Key. The edit inserted the tags before the closing </ref> instead of after it. The result is that the tags do not show on a reading of the article. Because Checklinks may be used by multiple editors on multiple articles, this has the potential to become a widespread problem. @Alligators1974:, please stop using Checklinks until this problem is clarified. I would report this to the developer of Checklinks myself but am pressed for time right now. Akld guy (talk) 18:58, 11 February 2017 (UTC)

That's where {{Dead link}} is supposed to be. Template:Dead link#Usage says: "If the article uses clickable footnotes, then this tag should be placed just before the </ref> that contains the dead link. The notice will then correctly appear in the reference section (instead of in the body of the text, which is not recommended)." PrimeHunter (talk) 19:38, 11 February 2017 (UTC)
You're right. After many years I learned something new. Akld guy (talk) 20:46, 11 February 2017 (UTC)

Interactive map

Hi. Could someone help me understand why this lovely map works on Meta but not on the English Wikipedia? Thanks in advance! Rehman 17:14, 11 February 2017 (UTC)

@Rehman: looks like its not done being implemented, see phab:T138057. — xaosflux Talk 18:51, 11 February 2017 (UTC)
The map is made with <mapframe>...</mapframe> from mw:Extension:Kartographer. meta:Special:Version and our Special:Version both list Kartographer under Installed extensions, but only meta lists <mapframe> under Parser extension tags. It means <mapframe>...</mapframe> is ignored as a tag here and just displayed as text with the inside rendered as wikitext:
<mapframe> problems:
  • Attribute "width" is missing
  • Attribute "height" is missing

. https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php sets wgKartographerEnableMapFrame to false for Wikipedias except seven languages. I don't know why. phab:T151591 and phab:T154021 show two languages getting it enabled on request with a link to a local consensus. PrimeHunter (talk) 19:49, 11 February 2017 (UTC)

Thanks for the replies User:Xaosflux and User:PrimeHunter. That is a really great feature; I'm sure everyone will agree. Maybe it's time we raise a consensus to enable it here too? Rehman 23:07, 11 February 2017 (UTC)
Per phab:T153158, it looks like English Wikipedia and other large wikipedias will be among the last to get it. Also, until phab:T151665 gets resolved, maps may not work properly with Pending changes-protected pages. - Evad37 [talk] 23:53, 11 February 2017 (UTC)
Note that <maplink>...</maplink> is available, and there's even a template {{maplink}} to make it easier to use. - Evad37 [talk] 23:56, 11 February 2017 (UTC)

Template:Webarchive

I'm alerted on my talk page to a possible error in Template:Webarchive. The page about it starts "Error in webarchive template: Check |url= value. Empty." There seems to be nothing much to the template other than the invoking of Module:Webarchive (most recently edited by User:Green Cardamom). I have no experience of editing this kind of thing, and so bring up the matter here. -- Hoary (talk) 09:52, 12 February 2017 (UTC)

It's not an error. A template often displays poorly on the template page itself because it doesn't get mandatory parameters, in this case |url=. Some templates are coded to avoid the issue by using <includeonly>...</includeonly> around the template code, or supply example parameters inside <noinclude>...</noinclude>. But this has disadvantages for users who expect the template page to display what a call without parameters would display. I think it's OK that Template:Webarchive does that. PrimeHunter (talk) 11:20, 12 February 2017 (UTC)
I understand. Thank you, PrimeHunter. -- Hoary (talk) 12:45, 12 February 2017 (UTC)

Disabling book popup?

Earlier, I went on Special:Book while I was looking around the special page list. I didn't click anything, just opened the page and then left it. However, now, whenever I hover over a wikilink to anything in the article space, I get a little popup with an option to "add the linked wiki page to your book". How do I disable this? — Train2104 (talk • contribs) 05:05, 12 February 2017 (UTC)

I just reproduced your problem. At the top of any article, I found a "Book creater" banner, with the option of disabling "Book creater". After confirming that I wanted to disable it, and bypassing my browser's cache, it's gone. עוד מישהו Od Mishehu 08:39, 12 February 2017 (UTC)
The question is should it be so easy to activate "Book Creator" accidentally?Nigel Ish (talk) 11:38, 12 February 2017 (UTC)
Found the disable link, thanks. It's in the sidebar, not obvious at all. Though that's where the link to the special page is, so one could make that argument. — Train2104 (talk • contribs) 14:54, 12 February 2017 (UTC)

color displayed by {{u|example}}

Hi again. I'm an admitedly stubborn and eccentric newbie. When I use the template {{u|example}} "example" appears in a bluish color. There exists some code somewhere that specifies that color. I've tried to look at documentation pages for that template, but can't find the code. I'd like to personalize my "pings" (recall my eccentricity) by specifying a different color. I don't care if there is a paragraph-long code that needs to be used in place of {{u|}}. I would simply save that code in a text document, and when I want to use my personalized "ping", simply copy and paste that into the wiki page (recall that I'm stubborn). Can anybody please give me the wiki code for that {{u|}} template? Thanks, DennisPietras (talk) 17:06, 12 February 2017 (UTC)

The code {{u}} or {{u|...parameters here....}} calls the template at Template:U, in this case a redirect to Template:User link. Click "Edit" or "View source" to see its code. It doesn't add any coloring. It just makes a wikilink to a user page. Some users haven't made a user page for their account. Internal wikilinks are automatically blue if the page exists and red if it doesn't exist. If your browser has visited the link then the color may change a little to indicate this. See more at Help:Link color. It's possible to directly specify the color of links but it must be done inside the link brackets after a pipe. It causes confusion for readers who know the meaning of the normal link colors so please don't do it in pings or most other situations. PrimeHunter (talk) 18:21, 12 February 2017 (UTC)
Thank you DennisPietras (talk) 20:44, 12 February 2017 (UTC)
Resolved

18:06, 13 February 2017 (UTC)

Script dependencies

Let's say a script works for one person, but not another. Or it's working on two machines, but after one is cold booted, it doesn't work on that one.

How would one find the dependencies required by the script?   The Transhumanist 12:16, 12 February 2017 (UTC)

@The Transhumanist: I am guessing that your problems are not caused by a lack of dependencies, but rather by the way you are using the localStorage object. According to the docs, you should be using localStorage.setItem('foo', 'bar'), not localStorage.foo = 'bar'. If you use the API in a non-standard way I wouldn't be surprised if there were differences between the way the various browsers handle it. — Mr. Stradivarius ♪ talk ♪ 13:18, 12 February 2017 (UTC)
Actually, after some more reading, it seems that the localStorage.foo = 'bar' syntax is fine (although the setItem syntax is preferred). That link does give some other suggestions as to things that could be wrong, though - localStorage might not be implemented on old browsers, it might be disabled by users, or it might be full. — Mr. Stradivarius ♪ talk ♪ 15:01, 12 February 2017 (UTC)
Also, I would use a unique prefix for your localStorage keys, maybe olutils_ (so the current key would be olutils_redlinks), to reduce the chance of clashes between your data and other localStorage data saved by MediaWiki or by other gadgets. — Mr. Stradivarius ♪ talk ♪ 13:24, 12 February 2017 (UTC)
@Mr. Stradivarius: It had little to do with memory, but your suggestion provided the essential clue. Since I had 2 versions of the script running simultaneously, the second one worked because of data stored locally by the first one. Without that storage there, the second script failed, which became apparent when I customized the localstorage key per your suggestion. Which led me to a bug. I fixed the bug, and the now the second script works on its own. Though there are still some bugs (the menu item has to be clicked again after getting a preview, twice, for it to work, but it does work). Thank you! The Transhumanist 00:59, 13 February 2017 (UTC)
@The Transhumanist: Also, all calls to LocalStorage should always be wrapped in a try catch. Localstorage can easily fail due to being full, or due to being in a privacy mode or some other restriction that the browser is placing. —TheDJ (talkcontribs) 07:32, 13 February 2017 (UTC)
Thanks, I'll look that up. The Transhumanist 20:01, 13 February 2017 (UTC)

Location maps

Does anyone can help me to create a simple location map? Xaris333 (talk) 15:29, 12 February 2017 (UTC)

I want only a part of File:Cyprus adm location map.svg. Xaris333 (talk) 16:04, 12 February 2017 (UTC)

@Xaris333: Unless you know Lua, head to Wikipedia talk:Lua. I once made a request there. – Finnusertop (talkcontribs) 03:41, 13 February 2017 (UTC)
@Xaris333: Were the replies at Wikipedia:Village pump (technical)/Archive 152#Location map not helpful? --Redrose64 🌹 (talk) 23:18, 13 February 2017 (UTC)

Coordinates

I have create File:PaphosDistrict.svg with the help of File:Cyprus adm location map.svg. The coordinates I have add are wrong. Anyideas how can I find the correct coordinates? Xaris333 (talk) 21:05, 13 February 2017 (UTC)

Is this a technical issue with Visual Editor or mobile editing? Figured I'd post it here to get some eyeballs on it. (The problem is that the brackets around Maharashtra got substituted with object replacement characters, which smells like a bug to me.) https://en.wikipedia.org/w/index.php?title=Worli&diff=763830426&oldid=760079008 —{{u|Goldenshimmer}}|✝️|ze/zer|😹|T/C|☮️|John15:12|🍂 10:59, 13 February 2017 (UTC) (forgot to sign)

I think it's related to mobile editing, probably their browser, or then they accidentally just did something strange. Stryn (talk) 18:06, 13 February 2017 (UTC)
I've come across something like this before, four or five years ago - turned out that somebody had a browser extension that modified certain characters to a different Unicode codepoint. --Redrose64 🌹 (talk) 23:42, 13 February 2017 (UTC)

Querying all articles that reference a particular site/url

Is there a tool or API available to get back a list of all articles that cite a particular reference? Thanks Pj quil (talk) 16:45, 14 February 2017 (UTC)

Pj quil, how about Special:LinkSearch? --NeilN talk to me 16:48, 14 February 2017 (UTC)
NeilN That's great! Just what I was looking for. Thanks! Pj quil (talk) 16:58, 14 February 2017 (UTC)

Is it possible to create additional magic links? The comments at mw:Requests for comment/Future of magic links make me guess not, but perhaps it's saying that existing ones included in core MediaWiki are unchangeable but not commenting on the idea of adding others. Help:Magic links says that the links are defined by Parser.php, but to my surprise, that page is a 404 error.

Background — I wonder if it would be useful to add one for OCLC numbers (e.g. OCLC 636181190 would produce OCLC 636181190) for the English Wikipedia only, but there's no point in requesting people's opinions in a proposal if it's not possible to implement it here. Nyttend (talk) 02:36, 13 February 2017 (UTC)

@Nyttend: I fixed that link for you by updating {{MediaWiki file}}. To answer your question, sure it's possible, but it would require changes to the core MediaWiki software, and that probably won't happen. — Mr. Stradivarius ♪ talk ♪ 02:59, 13 February 2017 (UTC)
Thank you for fix and for response. "require changes to the core MediaWiki software", I wasn't suggesting something that would require that much work (I just wanted the change if we could tweak some local settings), so thank you for preventing a pointless discussion. Nyttend (talk) 03:01, 13 February 2017 (UTC)
It's not really a lot of work (well, minus the localized bit), but it's definitely more than a configuration change. And, as the RFC points out, such feature requests would be denied if they were requested today (for a bunch of reasons outlined there). Lua modules and templates are far more suited to do this (or heck, even some parser functions if such an extension was written) than by the very fragile and inflexible magic link code. ^demon[omg plz] 21:01, 13 February 2017 (UTC)
But a major issue at the Meta RFC is that local projects can't modify or exempt themselves from the existing magic links, and if this were just a configuration change, it wouldn't have those issues. Nyttend (talk) 00:04, 14 February 2017 (UTC)
Adding configuration is basically the same problem as adding localisation. If you have a serialisation language, it is really annoying to have arbitrary tokens. That's why developers want to get rid of it. These features are tokens in the parser language, inflexible ones, non-translatable ones, non-configurable ones, now, but especially into the future. There is a reason a template or magic word starts with {{ and that is because it isn't natural language and isn't generally used in natural language. I get that people focus on the usability of such 'magic' links, but this is not the right technical solution. The right usability + technical solution is to have the edit page say "it looks like you are pasting an OCLC number, would you like me to properly format that for you". —TheDJ (talkcontribs) 09:52, 14 February 2017 (UTC)
People don't want to be reminded of the Microsoft paperclip. --Redrose64 🌹 (talk) 17:42, 14 February 2017 (UTC)
Oh FFS, don't get hung up on the language. Per the 'community' our developers wouldn't even be smart enough to come up with something like clippy, so why even put it in my brain. What i'm proposing requires as much 'intelligence' as the current magic links require, as much as recognizing [[ and opening the insert link dialog. I gave a playful user story, not a design idea. —TheDJ (talkcontribs) 23:55, 14 February 2017 (UTC)

The time allocated for running scripts has expired

One editor (johnuniq) has taken time to start messing with Cebu and {{Bohol}}. As far as I know, or those messages were abandoned at least 2 years ago when Lua came in. So do the messages have any meaning, and should anything be done? 112.198.102.167 (talk) 00:20, 14 February 2017 (UTC)

This relates to my posts at User talk:Alice Zhang Mengping#Template:PHxxx regarding the "pages with script errors" category (articles). I have not taken any action other than post at the above talk and at Talk:Cebu/Archives/2017/February#Template errors. It was JohnBlackburne who edited Cebu. Viewing the html source for Cebu and searching for "NewPP" currently shows "Lua time usage: 10.046/10.000 seconds". That is the reason the article has numerous error messages ("The time allocated for running scripts has expired") at the bottom. The timing varies presumably depending on the speed and load of the server that renders the page. Sometimes Cebu displays without errors (because the Lua time is just under 10 seconds), but often errors are shown. I have been contemplating asking for opinions here. The problem appears to be that {{PH wikidata}} is called 1193 times. It often accesses the same property multiple times because of the limitations of templates which cannot store a value in a temporary variable, and my guess is that the large number of calls to Module:Wikidata is too much overhead. Does anyone know what overhead is involved in accessing Wikidata as in a property for the current page, and a property for another page specified by qid? Can several hundred such accesses be reliably done in a reasonable time? Johnuniq (talk) 00:37, 14 February 2017 (UTC)
Yes, I manually substituted the first level of template (the top level template {{PH town table}} is utterly useless as it just invokes one of three templates based on whether it‘s a top, middle or bottom, but this something an editor knows and is not going to change; better to invoke the template directly). Hard to tell how much of a speedup it provided, it did not fix the problem.
The next step would be to look at the sub-templates, {{PH town table/mid}} in particular where most of the time is spent. But the more time I spent down that rabbit whole the more I discovered the templates are unfixable. {{PH town table/mid}} invokes more templates {{PH town table/mid5}} ... {{PH town table/mid9}}, some of which invoke yet more templates. None of the templates are documented anywhere, while the coding style renders them particularly unmaintainable: not only the multiple interdependencies but the use of parser functions rather than Lua. Lua is faster and more maintainable in general, and would be especially beneficial here in dealing with the excessive calls to {{PH wikidata}}.
So the best thing would be to replace these with a Lua implementation. Despite their complexity they are not doing anything that difficult, so a replacement should be much simpler. The performance benefits of doing so should be especially significant in this case. In the meantime perhaps substitute the templates, i.e. replace them with the data, to fix the performance and error problems.--JohnBlackburnewordsdeeds 01:12, 14 February 2017 (UTC)
As I thought - you have know idea what you are talking about. Changing e.g. {{Cebu}}, works maybe once ever 3 months, so work means 10 sec / 3 months. The fact is that the messages are read only by ex-programmers with nothing else to do. Subroutines are to get rid of editors, not the other way round. 112.198.102.167 (talk) 01:33, 14 February 2017 (UTC)
Presumably you have not yet seen the errors that often occur towards the end of Cebu and occasionally at Bohol. My first message above included the fact that the Lua time usage at the time I posted was 10.046/10.000 seconds. That means 10.046 seconds were used out of the maximum possible of 10.000 seconds (it went slightly over because that was when the server noticed and truncated the process that was rendering the page). Right now, Cebu is working without errors because the Lua time was 9.679/10.000 seconds when it tried again. However, that value is right on the limit which is not sustainable. Johnuniq (talk) 03:09, 14 February 2017 (UTC)
They are not "read only by ex-programmers", or even only by programmers. The reason it came to my attention is it frequently ends up in the category, Category:Pages with script errors. Normally that happens when a script fails with a programming error, but occasionally as here when the page runs out of time running scripts which is more serious, as when that happens every script on the page executing after time runs out fails, and there can be dozens of red messages on the page visible to everyone.
The arguably more serious problem is that even when there are no errors and red messages the page takes way too long to generate. This impacts anyone editing the page, hitting edit or save and wanting to see their work. It is not a long or complex page, so should not have such performance problems.--JohnBlackburnewordsdeeds 03:14, 14 February 2017 (UTC)
{{PH town table/mid5}}, at least, uses a lot of math code and templates such as {{rnd}} and {{sigfig}}, which could perhaps be simplified to #expr? Pppery 03:40, 14 February 2017 (UTC)
I think the bottleneck is the fact that there are 1193 calls to {{PH wikidata}}. See Talk:Cebu/Archives/2017/February#Template errors. Johnuniq (talk) 04:39, 14 February 2017 (UTC)
@Johnuniq: I've made some changes in the sandbox that reduce the number of calls by four per use. There's probably still too many calls, but that might push it out of the timeout state. Pppery 02:20, 15 February 2017 (UTC)
I would welcome anything which brings the Lua time down so it is consistently below, say, 8 seconds. I haven't looked at your changes but you could pop them in and see what happens. I was just gloomily contemplating what would be involved in translating {{PH wikidata}} to a module. It is certainly do-able and I think that's where the major gains would occur because it would cut down a lot of the duplicate Wikidata calls. However, I should be doing other things and anything that works would suit me. Johnuniq (talk) 02:41, 15 February 2017 (UTC)
@Johnuniq: I synced my changes, and the lua time seems to have dropped by one second, putting it in the 8-9 range without any overflows in like 5 previews. Pppery 03:22, 15 February 2017 (UTC)
(And then was reverted because I forgot a pair of curly brackets ..., added the missing pair, and synced it again) Pppery 03:39, 15 February 2017 (UTC)
As you say, your edits at {{PH town table/mid}} and {{PH town table/mid5}} have reduced the Lua time at Cebu to 8.4 seconds which is higher than we would like, but at least it works. Thanks. JohnBlackburne and I patrol the error category and will notice if it creeps back up. Johnuniq (talk) 06:41, 15 February 2017 (UTC)

Scribunto has a function profiler on preview, but you need to add a "forceprofile" parameter when submitting the preview and it's somewhat broken at the moment with HHVM. With a little work I got some useful results out of it:

Scribunto_LuaSandboxCallback::getLabel 5900 ms 41.6%
recursiveClone <mwInit.lua:32> 1700 ms 12.0%
Scribunto_LuaSandboxCallback::formatPropertyValues 1520 ms 10.7%
mw.executeModule <mw.lua:458> 1300 ms 9.2%
Scribunto_LuaSandboxCallback::getExpandedArgument 1060 ms 7.5%
Scribunto_LuaSandboxCallback::getEntity 860 ms 6.1%
type 360 ms 2.5%
(for generator) 280 ms 2.0%
Scribunto_LuaSandboxCallback::loadPackage 140 ms 1.0%
? 120 ms 0.8%
[others] 940 ms 6.6%

The "getLabel" method there that's using 5.9 seconds of the 10-second time limit is almost certainly mw:Extension:Wikibase Client/Lua#mw.wikibase.entity:getLabel, i.e. Johnuniq is probably right about excessive calls to wikidata. Anomie 04:56, 14 February 2017 (UTC)

Very interesting, thanks. While contemplating debugging tools, it would be useful if there were a way to tell a sandbox that it should act like a particular article as far as Wikidata is concerned. For example, I captured all the PHxxx templates from the wikitext at Cebu and was planning to save it in a sandbox to get the NewPP report, and then repeat after removing some of the calls to see the difference. However, I stopped on realizing that a sandbox would behave very differently from the article due to Wikidata. At Special:ExpandTemplates I can enter "Cebu" for the Context title to make it work properly getting Wikidata properties, but there is no NewPP report for that Special page. Johnuniq (talk) 06:08, 14 February 2017 (UTC)
You could do that using the API's parse action (see the title and text parameters), or possibly with Special:TemplateSandbox. Or just by using the editor's preview button instead of saving the edit. Anomie 13:25, 14 February 2017 (UTC)

Internal search engine results

Why in the world is there no option to sort results by date or any other parameter? Results like this are absurdly primitive and make it extremely time-consuming (a complete, senseless waste of time) to search pages and archives for something.

Why are search results unsortable in 20176? Is this something that can be addressed with a simple phab request or is our search engine so horrible that it would be have to be completely redone? Jytdog (talk) 20:58, 26 January 2017 (UTC) (fix date, per below. duh on me. Jytdog (talk) 03:50, 28 January 2017 (UTC))

The top right of search pages link to Help:Searching on "Help". It mentions prefer-recent and the see also section includes mw:Help:CirrusSearch, the MediaWiki documentation for the search feature. See mw:Help:CirrusSearch#Prefer-recent. PrimeHunter (talk) 21:14, 26 January 2017 (UTC)
thanks for your reply. but wow. I have to use obscure things like adding prefer-recent to simply get results in date order? Oy. In any case I added that to the search query and I got basically the same results: see here. So... not only baroque, but mostly useless. People use search engines every day. It should not take obscure coding to sort various ways (like, why can I not search only section headers, by clicking a box or doing something simple?) This is something that anybody who wants to bring diffs in a discussion struggles with every day. Why is our search function so awful? Jytdog (talk) 22:58, 26 January 2017 (UTC)
FWIW, I totally agree. It is the most primitive search tool and next to useless for anything other than a very simple query. Leaky Caldron 23:09, 26 January 2017 (UTC)
You can search with prefer-recent:1,1 to only search by date per mw:Help:CirrusSearch#Prefer-recent. I agree it's complicated and few users will find it. PrimeHunter (talk) 23:15, 26 January 2017 (UTC)
Yes, I see that. But why not make is user friendly? If a date range is required, who is going to know the syntax? It is not the sort of feature these days that requires near-programming skills. Leaky Caldron 23:24, 26 January 2017 (UTC)
Search is mainly used by readers in mainspace. Last modified is rarely relevant there so sorting by it may be low priority. PrimeHunter (talk) 23:28, 26 January 2017 (UTC)
Yep. helping editors and facilitating community interaction is a low priority - this is clear. Jytdog (talk) 00:50, 27 January 2017 (UTC)
Sorry you're frustrated Jytdog, but that's not very kind. :( Admittedly, search on Wikimedia projects has room for improvement. Discovery folks are probably some of the most aware of that. :) Heck, I could imagine more advanced search features have probably been discussed since 2001!
To the matter at hand, there is active work on improving the UI for search results, faster updates to the index, cross-project search, and - you guessed it - improving advanced search features. Just a few weeks ago there was a good session at the Wikimedia Developer Summit that covered two active initiatives (session notes here). The first is the Advanced search workshop hosted by WMDE as part of their WMDE Technical wishes. I hear tell they even have a prototype coming soon! The second is Discovery's own work on cross-wiki search results improvements - a component of which has been a discussion around UI changes to make apparent more of these 'hidden' features present. The team is hoping to have some A/B tests in place this quarter .
That's not to say that we're going to see overnight changes here. Making changes to something that touches every Wikimedia project is dicey business (see [15] [16] for humor on this topic). Folks use search in many different ways, and adding bunches of checkboxes or drastic changes to the behavior of search is not something to be taken lightly. Improvements are improvements and I hope you and other members of the community welcome them (and let us know if we get off track!).
Besides that more targeted work, myself and Cpiral among others are active at Help_talk:CirrusSearch. Together (well really Cpiral gets all the credit) we recently reworked much of the documentation, made it available for translation, and made sure the "? Help" link from almost all Special:Search results page link to the documentation (Humorously enough the English Wikipedia search results don't link to the updated documentation. Anyone want to help with that?).
If you want to know more, I'm happy to help. You can see our statistics on the quality of search at http://discovery.wmflabs.org/metrics/. If you have suggestions for the cross-wiki search results improvements, feel free to drop a note on the talk page there. Constructive, actionable feedback is much appreciated! General suggestions for improvement are welcome wherever you can put finger to key, just ping me to get my attention.
I hope this finds you well. I'm sorry if you're still frustrated, but please do know I'm doing my best. CKoerner (WMF) (talk) 04:29, 27 January 2017 (UTC)
Thanks for your note, I am sorry you find it unkind. I find that the communication between the editing and dev communities has sucked rocks as long as I have been here. But really - I have zero time to go read documentation and use bizarre functions that don't even work like prefer-recent. And I find it just weird that you are even suggesting that I devote time to that. I want tools that work. Happy to test stuff and happy to tell anybody what i want. Jytdog (talk) 06:23, 27 January 2017 (UTC)
Me bookmarks this, so that I can point the few people who will complain about the 'undesired changes' to the searchpage, when the work of the German techteam changes the Search UI somewhere in the next year. :) —TheDJ (talkcontribs) 07:18, 27 January 2017 (UTC)
Whoops, sorry Jytdog, my intent wasn't to tell you, "Go read the manual", it was to say, "Hey there are folks interested in helping with search-related questions, we hang out over here. Come ask us questions." I got a little off topic talking about the improvements to the documentation we made. Sorry for the confusion. To make sure your feedback doesn't get lost in the archive I created a Phab task to have the team take your suggestion into consideration. Take care. CKoerner (WMF) (talk) 15:22, 27 January 2017 (UTC)
@CKoerner (WMF): The target of the Help link on search pages is determined by MediaWiki:Search-helppage. The default for Wikimedia wikis is mw:Special:MyLanguage/Help:CirrusSearch. The English Wikipedia (me specifically) has set it to the local page Help:Searching. It includes some Wikipedia-specific information but may be lacking in other areas. I mentioned the setting at MediaWiki talk:Search-summary#Protected edit request on 2 November 2015. Before that we used MediaWiki:Search-summary (displayed at top left [17]) to link to Help:Searching since 2011. PrimeHunter (talk) 11:25, 27 January 2017 (UTC)
PrimeHunter, that's helpful background and context. Thank you for pointing it out. I'll try to find some time to look over Help:Searching and if I see any suggested improvements I'll drop a note on the talk page. CKoerner (WMF) (talk) 20:05, 27 January 2017 (UTC)
Few know Search, and the docs don't seem to explain it well enough. It's very good. I learned about it by posting at Help talk:Searching and phabricator. I don't understand why Help talk:Searching has always been so quiet (by Wikipedia standards). ... Hey, a post there just announced WP:Request a query. I wonder if that will somehow help Search get the attention it needs. — Cpiral§Cpiral 23:52, 26 January 2017 (UTC)

https://phabricator.wikimedia.org/T23139 — Preceding unsigned comment added by 197.218.90.119 (talk) 12:31, 27 January 2017 (UTC)

Jytdog "Why in the world is there no option to sort results by date or any other parameter?" Because Google doesn't do it. Yes, I'm being serious here. See this. --NeilN talk to me 15:04, 27 January 2017 (UTC)

@NeilN: Hello again. As with last time, your characterisation of the situation is inaccurate, and your anger misplaced. I said the reason why Google does not have it is the same reason we don't, namely degradation of experience. This is not the same as simply doing what Google does like you imply. To repeat, the reason this feature is not a priority is because it will degrade the search experience for the vast majority of users. I acknowledge that it is a useful feature for some users, such as yourself and Jytdog, but often I have to make hard decisions about how to prioritise the few resources we create the maximum impact, which in this case sadly means not prioritising your request. It's currently the hope of the Search Team that we can work on advanced query features, potentially such as this one, in Q4 (i.e. April - June 2017); we've been laying a lot of groundwork over the past few months, and it may finally be a time when we can really improve things. I am hopeful that we can partner on this and work together, and put any previous hostility behind us. --Dan Garry, Wikimedia Foundation (talk) 16:26, 27 January 2017 (UTC)
Sorting by date (or by page title) is useful when searching in discussion page archives; if that is not practical, filtering by date would also be helpful. I often find myself searching for a discussion that happened sometime in the last year on a given talk page, and getting apparently randomized results from the last 15 years of discussion is not helpful in those cases. I hope that WMF staff will return here when they are working on a spec for improving search. There are many constructive, helpful editors who watch this page. – Jonesey95 (talk) 16:44, 27 January 2017 (UTC)
@Jonesey95: Thanks so much! We'll be sure to reach out to you and others for your input when we start planning the work. --Dan Garry, Wikimedia Foundation (talk) 17:00, 27 January 2017 (UTC)
@Deskana (WMF): No, I think my characterization of the situation is pretty accurate. You repeat it will "result in degraded performance for the vast majority of users" over and over again but have never justified or explained your assertion. --NeilN talk to me 16:48, 27 January 2017 (UTC)
@NeilN: You said the same thing last time in spite of my giving an example, but very well, I shall try again. Three years ago, in phab:T40403#477014, I gave an example; "Due to the way search works, for most queries this would generate a list of articles with nothing in common. For example, searching for Barack Obama and sorting alphabetically would generate nonsensical results such as Aaron McGruder, an American cartoonist, followed shortly thereafter by Abbottabad, a city in northeastern Pakistan". For the use case Jytdog mentioned, searching for his username in discussion namespaces, this makes perfect sense. For searching the article namespace as a casual reader, it does not make sense, which is the danger with exposing such functionality plainly. This does not mean that there are not legitimate use cases, but it does mean caution is necessary. Sadly, as with last time, I won't respond further due to your hostility. --Dan Garry, Wikimedia Foundation (talk) 17:00, 27 January 2017 (UTC)
@Deskana (WMF): I don't think I'm hostile, just aware of the game you seem to be playing. I've dealt with similar situations in my professional life and, if I'm honest, used the technique too. You can always custom craft examples to show why change wouldn't be good. Note the emphasis in all of these requests is sort results by date, not alphabetically - this is your red herring. And no one is suggesting that the default behavior of search be changed so, again, "degraded performance for the vast majority of users" still has no justification. --NeilN talk to me 17:19, 27 January 2017 (UTC)
@NeilN: wow, on that prior discussion and the discussions linked-to there. Just wow. Yep, discussions between people who work in dev and editors who need to work in community and dig around in histories and archives in order to do so, is completely bolloxed. Our search engine sucks rocks for that purpose and devs are just completely, utterly deaf to that. I can't see any place where reasonable efforts have been made to even to try to fix that problem. I may be unaware of them, but I have not seen them. (of course trying to find them will be a pain the butt and i am uninterested in using the crappy search engine to even try to find them.) Jytdog (talk) 22:16, 27 January 2017 (UTC)
@Jytdog: Yep. I've interacted with WMF devs before and I have always understood when they say something like "our user surveys indicate this feature request does not have high priority with other users" but don't feed me a line like it will degrade performance for the vast majority of users and then refuse to back up that assertion with any kind of proper justification. Just say you don't want to do it and accept the (deserved) brickbats thrown at you instead of coming up with a bogus explanation. I mean, adding two dropdowns (sort by, sort order - default to Relevance, Descending) to this screen is going to "degrade performance for the vast majority of users"? Really? --NeilN talk to me 22:42, 27 January 2017 (UTC)
@Jytdog: No need to search. Discovery Quarterly Check-in Q2-Q3 2016-2017 Edit: Forgot a link to our weekly updates. Hope that helps. CKoerner (WMF) (talk) 23:28, 27 January 2017 (UTC)
I took the bait and reviewed the pdf document. There is nothing there about past discussions between the dev community and the editing community about making internal search work better on page histories and archives. This is the second instance (the first being discussions about the Discovery engine) where you have responded to stuff i have written by sending me to go read things that had nothing to do with what I was asking about. You wasted my time and volunteer time is the most important asset WMF has (not that mine is particularly valuable compared to others). And you have acted for the 2nd time now as a PR guy instead of a liaison. Stop wasting my time. Jytdog (talk) 23:46, 27 January 2017 (UTC)
I'm not sure why you're emphasizing the wrong year. It's 2017.
I agree that site search is rudimentary and would benefit from additional features. If you can convince Erik B. of the merits, that would be your best path forward. Trying to deal with other members of the "Discovery" team is just useless, as you all are apparently re-discovering here. It also isn't really fair to flatly say that developers are missing the point or causing problems here, given that Dan G. and Chris K. aren't developers. Some developers, such as Chad H., certainly aren't helping matters, though.
It's in discussions like this, where people like Dan G. talk about the "hard decisions" he's forced to make, that I'm re-reminded why nobody should donate money to the Wikimedia Foundation. It's gotten far too big and bloated. --MZMcBride (talk) 03:31, 28 January 2017 (UTC)
You just made me laugh. Thanks for that! Yes it is 2017.  :) I am emphasizing the year as the search engine appears to be so primitive, and we are so, so hamstrung by it. So much time wasted pouring over these search results that appear to be presented in random order. I see no sense, at all, in the order of search results in my OP. There are 944 archive pages for ANI. Really, this is not fixable with existing technology in 2017? Really?? This makes me grit my teeth any time I go looking in archives, or even just blow it off, as I mentioned above with regard to finding past iterations of this exact discussion - am not going to wade through however many of the 154 archives (!) of this page mention "search engine", randomly presented to me.
Somebody above said that google can't sort by date, but it can very precisely limit the date (on bing and duckduckgo too). But as noted above, google is a bad example as it searches the whole darn web. I use Pubmed a ton and there are zillions of filters that can be used on that, which are simple to use. Why can we have not a decent search of archives?
and thanks for the pointer to the apparent wizard, Erik B ! Will head down the yellow brick road to find them. Jytdog (talk) 03:50, 28 January 2017 (UTC)
The Google comparison also falls apart when you dig into it. It can certainly sort by date - see this. Of course the news search has more structured data to work from... kind of like a certain website. --NeilN talk to me 05:51, 28 January 2017 (UTC)
I've re-opened phabricator:T40403 for further consideration.
When Nik E. left the Wikimedia Foundation, Erik B. took over the CirrusSearch maintenance and support. Nik actually went to go work at Elastic, the company that makes Elasticsearch, which is what powers Special:Search currently. CirrusSearch is the MediaWiki implementation of Elasticsearch. --MZMcBride (talk) 08:00, 28 January 2017 (UTC)
Well that didn't end well :( —TheDJ (talkcontribs) 20:18, 30 January 2017 (UTC)
Thanks for the call-out/criticism without the ping :) But....huh? I haven't had anything to do with search in quite some time. I'm not sure what I'm supposed to be helping that I'm not. ^demon[omg plz] 20:37, 30 January 2017 (UTC)
It doesn't seem like you needed a ping to find this discussion. ;-)
I was specifically referring to phabricator:T40403#477138. You went further than saying "I'm/we're not going to work on this", extending it to "nobody should work on this, patches won't be accepted". This comment is from March 2014, back when you were more involved with search. (If you weren't involved with search in March 2014, then that comment is even more unusual and upsetting.) Comments like this can stall work and progress literally for years, which I find pretty unhelpful, yes. --MZMcBride (talk) 01:27, 31 January 2017 (UTC)
In reading back over it, I realized that comment was actually misplaced entirely, as Andre was suggesting that people could make local hacks or extensions for their own wiki to accomplish this--not suggesting they be committed to Cirrus or core. So it was useless to state that. Fair enough that this may be discouraging, but it was nearly 3 years ago when I was actually involved. I can remove/retract it if that'll help. I don't care strongly about this anymore... ^demon[omg plz] 02:16, 31 January 2017 (UTC)

It is funny that those who help build an encyclopedia won't do the basic research to back their claims when it really counts, though having made a similar request (based on indexing time html5 tag and sorting using that) in a non-WMF it is easy to empathize.

Raw sorting using dates will certainly provide worse results unless they are filtered, [18][19]. There are also studies providing evidence that end-users prefer sorting based on ranking, Disambiguating, categories, [20]. Examples of current garbage results yielded by data ranges or filtering, in which the dates have 0 relevance are easy to find even in a Billion dollar search engine: [21]. They would be far worse in a Wiki, due to vandalism, bogus dates from imports, or even a routine bot edit that invalidates dates.

For readers, however, sorting and filtering articles using wikidata related dates would be much more meaningful than using either creation date or last-edited date. — Preceding unsigned comment added by 197.218.80.247 (talk) 21:14, 30 January 2017 (UTC)

Listen, the following are facts:

  • Editors need to find things in archives as part of their work in community
  • The search engine is useless in that effort, as the results are presently random. Whatever the engine understands as "relevance" is irrelevant when searching for an exact phrase. The results are random. Instead of using the search engine for this, I browse - I go though the archives manually, one by one starting at the most recent or around the date when I remember something being discussed, and use my browser's "find" function to search for the string. That is how useless the search engine is for this.
  • Nobody from the dev world has even acknowledged that the search engine absolutely sucks for this. That makes the responses here and at phab all the more bitter to receive.
  • They are hard to hear anyway, as they have been knee-jerk rejection at worst, and uncreative elaboration of "present priorities and limitations of technology blah blah blah" or dismissed as something that only "power users" need which is a) bullshit and b) clueless about how the WP community works..
  • I have no idea how the back end works, but here are two ideas pulled out of my ass (yes, I know nothing about the back end)
    • could talk archives and Wikipedia space be indexed separately, searched separately, and available via federated search for general searching only if selected, so that whatever "resources" this would take up are not incurred in general search by readers? (they are not relevant for people who want to read articles anyway)
    • is it really so resource-intensive to have the results from the present engine sorted by Archive number (almost all archives are numbered; part of the very URL that is presented in the results includes the string "Archive_#") (For example, could sorting by archive number in the URL not be done as a separate step after the engine generates results and before they are presented?)
I am sure those will easily be shot down. Which is what I expect to happen, along with more dismissive, uncreative, bullshit comments that ignore the problem for the editing community. And the problem will remain unsolved Jytdog (talk) 18:26, 2 February 2017 (UTC)
Hey Jytdog. I'm still listening as are others. Real quick, saying “I am sure those will easily be shot down.” immediately makes replying with any information difficult. Any response you perceive as contrary to your proposed facts have the chance to be construed as ‘being shot down’. But hey, it’s my job and i’m still going to give it my best - not because I have any hope to convince you that WMF staff are not evil incompetent poo-poo heads, but because others might appreciate alternative facts. No, wait, that came out wrong. Others might appreciate clarifications on the claims you have put forth. :)
Please, AGF in my response.
Editors need to find things in archives as part of their work in community
Totally agree. No one is arguing this. As we all know the same thing replies to Readers, which unfortunately are harder to reach and hear from than editors. When making any decisions, folks at the WMF have to balance the needs of people who have a voice, such as yourself, with those that aren’t around to tell us what’s working or not. It is not something to be taken lightly.
That, I think, is the crux of the “degrade the search experience” concern. It’s not that super handy search tools for editors are unwelcome, but it’s a challenge to build something that works for editors and everyone else we (editors and WMF) support with our work.
The search engine is useless in that effort, as the results are presently random. Whatever the engine understands as "relevance" is irrelevant when searching for an exact phrase. The results are random. Instead of using the search engine for this, I browse - I go though the archives manually, one by one starting at the most recent or around the date when I remember something being discussed, and use my browser's "find" function to search for the string. That is how useless the search engine is for this.
Random makes me think of 'by chance'. Like as if when you search we spin a giant wheel in the background and out pops whatever pages we can find. :) You might think that would be better than what currently happens, but I can assure you there is far more logic and reason behind search.
Elastic, the company that created Elasticsearch, has some very technical (over my head) documentation on how scoring works. That's just the 'out of the box stuff'. We've been tuning it for movement needs beyond that for quite some time now. I have another thought on this further down. Maybe search isn't the thing you need?
But, since all we have is search right now: Have you tried putting a query in quotes? It will return results for that exact phrase. If that's not working then do let us know. [22]
Nobody from the dev world has even acknowledged that the search engine absolutely sucks for this. That makes the responses here and at phab all the more bitter to receive.
There are about 16 people working in Discovery. We all know search can be made better and each of us show up to work every day to make it so. You may have missed it after you unsubscribed from the task, but we are considering the feature request and the intent is to keep the task open until a time where we're ready to work on it. Another editor also mentioned creating a user script and I would love to see that as a possible solution myself.
They are hard to hear anyway, as they have been knee-jerk rejection at worst, and uncreative elaboration of "present priorities and limitations of technology blah blah blah" or dismissed as something that only "power users" need which is a) bullshit and b) clueless about how the WP community works..
Oh, man. This is really not helpful. That 'knee-jerk' reaction comes from members of the department being at the foundation for years and editors and admins for years before that. You can't really use that argument I'm afraid. Saying "blah blah blah" is equally dismissive as your claim and does not further the dialog. :(
I have no idea how the back end works, but here are two ideas pulled out of my ass (yes, I know nothing about the back end)...
Which is fine, we're not all backend developers (who, while magical, are not mythical). Feedback like this is what people like me strive for. Good ideas to make better tools for editors are appreciated. The rest of the stuff, ehh, it makes my day crappy and you come across as a jerk. Not a good situation for anyone.
could talk archives and Wikipedia space be indexed separately, searched separately, and available via federated search for general searching only if selected, so that whatever "resources" this would take up are not incurred in general search by readers? (they are not relevant for people who want to read articles anyway)
Bingo, this is the exact question we're asking with the proposal (and similar). How do we surface project Wikipedia content in a way that doesn't confuse, frustrate, or worse alienate folks who are satisfied with general search? That's what we're trying to get to with discussions around reworking the UI of Special:Search and thinking about incorporating advanced search - of which your suggestion is one in consideration!
is it really so resource-intensive to have the results from the present engine sorted by Archive number (almost all archives are numbered; part of the very URL that is presented in the results includes the string "Archive_#") (For example, could sorting by archive number in the URL not be done as a separate step after the engine generates results and before they are presented?)
"Almost all", but "not all" means very different things! As smart as search engines are, they are only as good as what you put in. That's why searching is 'fuzzy'. Imagine how frustrated you would be to make a search thinking everything in the archive is structured only to discover the early days were more lax and you see no results?. Oh, wait, you already are. :(
This also points out one of the challenges in using search to find info in archives. As TheDJ pointed out in the phab task, "Talk archives are edited all the time (and thus their recent indicator that we currently have isn't useful to determine their age)."
While not at attempt to shoot this idea down, perhaps this is something like a Special:Archive could accomplish better. You know that currently search isn't great for it. Maybe we're at the point of looking at the hammer and wondering if a screwdriver wouldn't be better. :) Something separate from search that provides an index of specified Archive pages? You give it a "Talk:" page title and it spits back every section heading for each Archive number?
Ok, so while I may not have convinced you of anything, at least know I tried to be as modest and creative in addressing the concerns you bring forth. I think the problem will remain unsolved if we can't have a civil and agreeable conversation on this topic. However, if you can meet us half way (as you did with your latter suggestions here and in Phabricator) I think you'll be pleasantly surprised at what we can accomplish together.
For folks not keen on participating in Phabricator, the ticket I created in response to Jytdog’s feedback earlier in this thread was merged with an existing task from 2015 and reopened by a community member. The search team is reviewing the task and will consider it when we look to approach advanced search in the future. Feedback there is welcome or wherever you can ping me. CKoerner (WMF) (talk) 20:34, 2 February 2017 (UTC)
Thanks for your note.
If you search for a string in quotes, many pages will have the string, so "match" is simple. There is no apparent order in which they are presented. Quibbling over "random" is off topic.
It is not true in my experience that talk archives "are edited all the time". Archives have big tags on them saying "DO NOT EDIT" and in my experience are edited rarely. The assertion at phab was just that - an assertion.
Having the search engine present results when searching archives that are useful most of the time (for archives that are numbered, which most of them are in my experience) would be way better than search results that are always useless for searching archives. Everybody understands that things are limited in the real world. That includes me.
With regard to WMF priorities, I have nothing to say about that. Your priorities are set by your bosses and everybody knows the history there. To the extent this can be addressed with the resources you have been given, that would be great. Jytdog (talk) 21:02, 2 February 2017 (UTC)
I must admit, the prefer-recent search parameter does not work clearly and consistently well to actually sort by date. I don't even know, at this point, that it works as intended. In any case, the end-user of CirrusSearch is currently in a rough terrain: exposed to complexity of its page ranking, while not having recourse to discussions on the talk page, which take place on phabricator. Plus I admint that I am not, alone, as a volunteer and non-expert, able to document search to the level that happier, more experienced users of CirrusSearch can simply reply, in cases like this, "RTFM".
Search can be improved without taxing developers and the Discovery Team too much if more volunteers work on it, discuss it, document it. Yet the places to do so are not frequented in proportion to the value and importance of Search. This conversation might have happened on Help talk: Searching, right? — Cpiral§Cpiral 23:22, 5 February 2017 (UTC)
I put this here as i don't need help with the current search function. The current search function is worthless for searching archives. There is no "help" for that. Jytdog (talk) 23:35, 6 February 2017 (UTC)
Just as a quick note about prefer-recent, since I wrote it. It was never designed as a full filter by date. It was primarily built to replicate old behavior for Wikinews (hardcoded in lsearchd) that helps their recent articles be preferred (while still searching primarily on text). So yes, while it helps *prefer* a date based order it doesn't actually *enforce* it if other factors provide a better match. It was simply exposed to all wikis because it's easy enough to do so. For the usecase here (actually ordering by date) it's not a real workaround. Sorting by *anything* is a simple technical solution...the data is all there. I will note, it would be pretty easy (and not clutter a UI at all) to just expose an order-by: parameter just as easily we do for prefer-recent, has-template, or any of a dozen other parameters we already support. This also avoids the "we don't want to confuse the UI for readers/non-power-users who don't need them." ^demon[omg plz] 02:48, 10 February 2017 (UTC)
Talk is cheap, show us the code!!! Seriously though, sorting will keep failing unless the search engine indexes every single history page. That's something that would likely use massive amounts of space and processing power, and would never be acceptable because history pages contain a lot of illegal, obscene and spammy content. Another issue is that anyone with enough brain cells to write a bot can easily fire one to go through all archives and do a small edit. That would immediately make those "sorted" results as pointless as they are currently. The simple fact that is that the notion of archives doesn't exist in mediawiki. Moving those "pages" into subpages, and calling them something else doesn't change what they are, nor does it remove their limitations. Manure by any other name smells just as bad. — Preceding unsigned comment added by 197.218.81.60 (talk) 23:46, 10 February 2017‎ (UTC)
  • Note about the hullaballoo over WP "banning" the daily mail. Where did that "banning" take place? Oh, at RSN. What is "RSN'? It is the noticeboard where the community discusses whether sources are reliable. Guess what? Many sources, like the Daily Mail, have been brought up zillions of times there. How many archives does RSN have? 219. Why do you think people keep using the same awful refs over and over and we need to keep having the same discussion over and over, which is what probably led to the RfC that led to the "ban"? Gee maybe because in the world of search engines, the one you force us to work with to find past discussions and the consensus we already reached, is about the same quality as the Daily Mail in the world of reliable sources. Jytdog (talk) 19:57, 9 February 2017 (UTC)
  • This section is so long that I didn't read all of it, so I hope that this is not redundant. Two points about searching by date:
  • For those searching through talk pages that are automatically archived, it's possible to narrow down a search. For example, at the Wikipedia:Help desk, if I type "Anne Delong" "Archives/2013" into the archives search box, I get only results archived in 2013. "Anne Delong" "Archives/2013/July" gives me results from July 2013.
  • Adding "prefer-recent:1,0.0007" to a search will give well sorted results by date, but it's hard t remember and annoying to type. There's a handy template that allows a user pre-specify areas to search by presetting the "prefix" parameter. You can also include a reminder note and just copy-paste the "prefer-recent:1,0.0007". Here's one that looks in a couple of talk namespaces, but it can be set to be more specific, for example, just my own user pages.
According to Template:Search templates, the search box is created by something called Extension:InputBox. Perhaps someone familiar with this process could expand the template above by adding one more item: preset search parameters= which would insert a text string (such as is done in Template:Search link) after the user's search words but before the prefix. In this way, users could make their own custom searches, and those wanting date-ordered results could preset "prefer-recent:1,0.0007" (or any other text) in the template and save it on their user page or wherever handy.—Anne Delong (talk) 13:18, 11 February 2017 (UTC)
I used the search tool and it gave me results just fine: Talk:Muhammad/images/Archive 6#Painted by muslims linked to the website which is the subject of my research. It then led me to Wikipedia:WikiProject Spam/LinkReports/petitionsite.com and Wikipedia:Wikipedia Signpost/2008-02-11/Muhammad image. How do I locate the blacklist entry for this site and find out who blacklisted it, when and why? 176.25.77.192 (talk) 11:09, 15 February 2017 (UTC)
Found something: m:Talk:Spam blacklist/Archives/2010-12#thepetitionsite.com/1/ban-wikipedia. Looks like there was prior discussion on en:wp. How would I find that? 176.25.77.192 (talk) 11:19, 15 February 2017 (UTC)
Seem to have tracked it down: MediaWiki talk:Spam-blacklist/archives/June 2010#thepetitionsite.com. 176.25.77.192 (talk) 11:38, 15 February 2017 (UTC)

[Resore this version]

Hi, y'all. I want to [Restore this version] of my Talk page using Twinkle. I was in the middle of archiving with 1CA when a large chunk of my Talk page got deleted when I tweaked the Archive basics parameters, so I want to Restore to that diff and then archive parts of my Talk page.

The problem is that there is a DS/A in the Deleted portion, so the Edit Filter blocks the Restore. Any ideas? I am not sure if this diff is any different.

I am also switching over to Archy McArchface. Ping me back. Cheers! {{u|Checkingfax}} {Talk} 05:05, 15 February 2017 (UTC)

Update: I ran [Restore this version] via Twinkle again and this time the Edit Filter let the Restore go through.

Okay, so now, can anybody help me make Archy McArchface work? 1CA was only working intermittently. Ping me back. Cheers! {{u|Checkingfax}} {Talk} 05:08, 15 February 2017 (UTC)

For anybody wondering what DS/A was, per the edit filter log, it's discretionary sanctions alerts. Graham87 08:43, 15 February 2017 (UTC)
This filter is set to :warn+tag" - that is, make sure you know what you're doing, and make it easy for other suers to review the eidt as required based on what it looks like. Many of these filters have a medium false positive rate. If you have any future issues with the edit filter, please report them at Wikipedia:Edit filter/False positives, as the warning you got tells you to. עוד מישהו Od Mishehu 11:55, 15 February 2017 (UTC)

Javascript for current user status

Hi, I have an idea for a javascript (which is for the moment pretty much just an idea) to automatically show user status (online, offline, away, etc.) based on how recent their most recent contribution has been. The biggest hurdle I'm facing right now is arguably the lack of javascript programming skills in me. I do know a bit C++ so the task should be easier.

Anyway, to the components of the idea:

  1. A page in the user's namespace, let's say "USTATUS" (created for the purpose) that should have a single word, like "online","offline","away", etc.
  2. A piece of code that is placed in the user's custom .js file that runs every time the user visits any page on Wikipedia. (I'm assuming that the javascript runs this way). This code snippet serves to check the above mentioned user's page and replace all content on page USTATUS with the word "online" (or leave it unchanged if the page already has nothing but "online").
  3. Another piece of javascript code (placed on a separate page - NOT in user's custom .js) that, when run, checks the user's "Conributions" page and retrieves the time of the latest contribution. If the latest contribution is more than, say, 600 seconds old, this code should replace everything on USTATUS with "away", or if it is greater than 3600 seconds, "offline".
  4. A template that is placed on the user's talk page that checks that checks USTATUS each time it is run (or purged) and shows status accordingly. (Example: If USTATUS has "online", the template should show something like "The user is online"). Also, this template should have the above component (3) embedded in it so that each time the template is purged, the javascript is executed. Of course, first the code should be executed, then the template should show the appropriate message reflecting "online","offline" or "away". (This is the part I'm mostly doubtful of. I'm not sure if such embedding is possible)
  5. Optionally: Another piece of code in the user's custom javascript file that changes the "Log out" button to include code to change USTATUS to "offline". (NOTE: Not an extra button, but modifying the same one)

Note that I'm already aware of the related user scripts that exist (and maybe some code could be borrowed from them) but none of them automate the process.

Any input, regarding the logic or anything else would be greatly appreciated. Contact me on my talk page if need be. Also, I'm hoping this is the right place to post this. Thank you! RoCo(talk) 13:59, 14 February 2017 (UTC)

(1) and (4) (apart from embedding 3) can already be done with a template like {{Statustop}} or similar. (2) and (5) should be possible to code. (3) probably isn't possible the way you imagine it – you can't force other users to run your personal scripts when they view/purge your userspace pages – and if you try to do it yourself, the code from (2) would be triggered and set your status to online. - Evad37 [talk] 14:37, 14 February 2017 (UTC)
(3) checks the contributions of the user where the template is present. It does not matter what the status is until another user wants to find out. So it can be "online" for a long time, even for days if no one checks the page. The moment another editor clicks the purge button on the template, it should check recent contributions and update as such. I don't see where (2) would come into place as the script doesn't run when the user is not using Wikipedia. Am I missing a point? EDIT:To clarify, (2) is in the custom javascript, whereas (3) is common for all users, and is available on a separate page.RoCo(talk) 14:47, 14 February 2017 (UTC)
While technically possible to add common js for all users, in MediaWiki:Common.js, I don't think you would be likely to get consensus for it – per the top comment there, "Keep code in MediaWiki:Common.js to a minimum as it is unconditionally loaded for all users on every wiki page." Plus users would be probably have to be warned that checking your status could cause them to edit your USTATUS page... basically it would be messy, and could slow the site down for everyone. A better idea might be a bot that runs at specific times throughout the day, and updates the status subpages of users (who have signed up for it) by checking the timestamp of their last contribution. - Evad37 [talk] 15:30, 14 February 2017 (UTC)
I'm truly amazed by my ability to mess statements up. This is embarrassing, but I didn't mean "common" in that way.. (2) would be in user's personal javascript. Good. (3) would be on another javascript page (For example, in my user space, User:Rollingcontributor:newfile.js or something). When the template is purged, it should run the code on newfile.js, with an argument as the user where the template was originally placed. The newfile.js code should then edit what user page has been passed to it as an argument, and then the template should check it and update. Did I confuse you even more? If yes, sorry, let me know. Also, a bot would consume a lot of resources if it needs to constantly monitor a lot of pages. RoCo(talk) 15:42, 14 February 2017 (UTC)
Quite right - the developers requested we stop allowing status bots to operate because they made too many edits. –xenotalk 15:45, 14 February 2017 (UTC)
I didn't know there existed a bot for this. I couldn't find much about what the bot actually did. Could you let me know? Thanks! RoCo(talk) 15:54, 14 February 2017 (UTC)
This might be worth referring to. RoCo(talk) 15:59, 14 February 2017 (UTC)
@Rollingcontributor: See User talk:SoxBot V for other links and the oldest contributions of the bot. –xenotalk 19:21, 14 February 2017 (UTC)
Maybe its also me... it is quite late in my timezone. Anyway, perhaps you clarify if this is what you want:
  • You haven't been editing for several hours, and in fact are not online, or interacting with Wikipedia at all – no open tabs/windows, and lets say you've also logged out – but you status page is still set to 'online'. Another user comes along, decides to check your status, and so clicks on the purge link in the template. An edit gets made to your status page, changing 'online' to 'offline', and the template now shows you are offline.
Now, if that's right, who makes the edit (as shown in the page history)?... and if you are not online, who is running the javascript for this? - Evad37 [talk] 16:24, 14 February 2017 (UTC)
Well, that's something I didn't think about! I guess it would be technically possible for the user who presses the purge or whatever on the template to make the edit? Wrong? Also, I didn't quite understand "and if you are not online, who is running the javascript for this". The script that changes to "online" is only needed when the user is actually online. The script that changes to "away" or "offline" is, as told earlier, on a separate page, which is run when someone else comes and presses purge. So what we would be needing is a "purge" button that does more than just purge. Did it clarify? RoCo(talk) 16:38, 14 February 2017 (UTC)
As noted by Xeno, this won't happen because the developers forbid it (at least the 'automated part of it). And that is because wikitext is not designed for problems like this. If you want something like this, you should integrate with a more suitable system. I think you will want to integrate with something slack.com-like (perhaps a mattermost or rocket chat instance on wmflabs) and use THAT to keep track of status. —TheDJ (talkcontribs) 16:49, 14 February 2017 (UTC)
BTW. 2 and 5 are exactly what TheDJ/Qui and a few other status changer scripts used to do. But it doesn't work properly enough, without a good solution for 3 and 4. Most people just stopped using it after StatusBot was stopped, because it's just annoying and unreliable without automating parts of the status updates. —TheDJ (talkcontribs) 16:57, 14 February 2017 (UTC)
The edits would only be made when a user explicitly clicks on the button (and only once the user logs in). This doesn't use a bot, and doesn't make a lot of edits, as edits are made only when they are required. It would still be a good idea to integrate, as you've suggested, but that could take a lot of time, effort and programming. Also, it doesn't hurt to try and make this code work, right? RoCo(talk) 17:02, 14 February 2017 (UTC)
Laziness with regard to implementations doesn't scale to top 10 websites. The whole point is, yes fixing this properly is a lot of work. Doing it not-properly has been tried in various ways already and didn't work (proof, you didn't know about the ways that have been tried before). —TheDJ (talkcontribs) 17:21, 14 February 2017 (UTC)
I know little about the advanced programming and integration into a larger system. I only suggested what was in my immediate power and knowledge to try and help make this work. I do accept that laziness in implementation has no place on Wikipedia, but, as you've seen (and so did I now), the problem is nearly a decade old, and there hasn't been a proper solution yet, even though it was pointed by numerous users. Anyway, it would still be better to escalate this. RoCo(talk) 17:46, 14 February 2017 (UTC)
We have hundreds if not thousands of technical 'problems' that are a decade old. And you could say that having only 4,931 featured articles after 16 years is a problem. But it's all relative and the easiest solution to all these problems is 'more skilled contributors to produce more results'. But that's also where the scarcity is. That said, you can easily take an old copy of Qui, fork it, fix it, and reach 50-1000 people. But that's still just a drop in the ocean. In my opinion the effort required for that is better invested differently at this point in time (either writing articles, or writing a proper system). —TheDJ (talkcontribs) 00:04, 15 February 2017 (UTC)

If you want to see when a user edited last simply by loading his/her user page or talk page, see User:PleaseStand/User info. עוד מישהו Od Mishehu 05:14, 15 February 2017 (UTC)

Since AFAICT, it's been over 8.5 years since the last status bot was shut down, it's perhaps worth just checking that developers will still reject any bot.

More importantly, both Extension:OnlineStatus [23] and Extension:OnlineStatusBar [24] are both marked as stable. I don't know how true it is, but I see mention of the extensions at Wikipedia:Village pump (technical)/Archive 81#Status changers, Wikipedia:Village_pump (technical)/Archive 94#User online status Wikipedia:Village pump (proposals)/Archive 81#Online Status. Notably in the last discussion the conclusion is to move development of opt-in online status to technical review. I think the key problem is even if the extensions are truly stable and suitable for en.wikipedia, the developers are bound to require very good evidence of that before they consider implementing them. There is mention of this in the discussion, and I think that's the hold up. [25] seems to be the BugZilla which is for OnlineStatusBar but there's been no real activity since 2012 and it never went through proper review.

As I understand it, the OnlineStatusBar has some automation. OnlineStatus doesn't have any. But I think both would also be amenable to a bot and since these extensions use their own database to store the online status (so don't need to store so much stuff and can also be de-prioritised), they will probably get around performance concerns of the developers if implemented properly. (Actually if you look at discussion around time of the bots being shut down, developers suggested an extension.) So it seems the extensions may be a possibility but people will need to help with the reviews and somehow convince the developers to partake. Stronger community desire for the extension is likely to help with the later.

Nil Einne (talk) 07:23, 15 February 2017 (UTC)

Taking into Consideration the different scripts that have been used previously, I believe it is indeed possible. I will likely visit this idea sometime soon and see if I get access to any more information in the meanwhile. Thank you everyone for your comments and suggestions. RoCo(talk) 12:18, 15 February 2017 (UTC)

Changing Preferences UI interface

Where would I go to request a wording change to a Preferences page? See Wikipedia_talk:Signatures#Link_required.3F --NeilN talk to me 16:58, 15 February 2017 (UTC)

https://en.wikipedia.org/wiki/Special:Preferences?uselang=qqx says "(tog-fancysig)" so the message is MediaWiki:Tog-fancysig for users with the default language "en - English". {{Edit fully-protected}} can be used on the talk page. PrimeHunter (talk) 17:39, 15 February 2017 (UTC)
Thank you very much PrimeHunter. --NeilN talk to me 20:06, 15 February 2017 (UTC)

How should we handle the case of Template:Wayback which was recently merged to {{webarchive}}. {{wayback}} is an old template that pre-merger had over 100,000 transclusions so it's widely known and used, thus deletion/red linking may cause disruption (ie. confusion about a replacement available). It also contains a few hundred non-transclusion links that would be disruptive to red link (it's not possible to create a redirect since the arguments and docs are completely different). Any other options, or just delete? -- GreenC 17:32, 15 February 2017 (UTC)

One posibility: Set up {{wayback}} so that {{subst:wayback}} will become a normal-looking use of {{webarchive}}. Having done that, put {{wayback}} into Category:Wikipedia templates to be automatically substituted, and tell users not to use it. The few users who don't see this notice, or who forget it, will have the template replaced by a bot. עוד מישהו Od Mishehu 17:51, 15 February 2017 (UTC)
Have it transclude {{webarchive}} with the correct parameters and make the Wayback template to be substituted. All transclusions will throw a big red error.—CYBERPOWER (Chat) 20:29, 15 February 2017 (UTC)

There is a gadget used (User:Kephir/gadgets/rater) that is inadvertently swapping out Project Haiti with its former parent Project Caribbean as seen here [26] This is a problem that reoccurs now-and-then even after several attempts to amend its code, which was previously reported by Meno25 shown here [27] but has appeared to go unresolved. After many manual assessments by myself and others within the project, to have it systemically change constantly via usage of a gadget by other editors that come in and contribute to articles in good faith, indirectly (and unknowingly) undermine the project and sets us back each time. Is there a way to change this code to make sure it is going to WP:HAITI? We would prefer to manually include Project Caribbean on a case-by-case basis where deemed applicable to its entirely, such as geography-based articles etc. Project Caribbean sadly is also largely inactive, which furthers our need for this code to be amended as soon as possible. I was referred here by Meno25, in hopes of resolving this issue. Please ping me in a response. Thank you kindly. Savvyjack23 (talk) 20:53, 15 February 2017 (UTC)

@Savvyjack23: User:Kephir/gadgets/rater is not what MediaWiki calls a gadget. It's a user script by User:Kephir who would be the natural person to ask. I looked around and found User:Kephir/gadgets/rater/aliases.js which says:
"WikiProject Haiti": "WikiProject Caribbean",
Removing that line would probably prevent such Haiti edits in the future. {{WikiProject Haiti}} hasn't redirected to {{WikiProject Caribbean}} since 2014.[28] User:Kephir/gadgets/rater/aliases.js might have other obsolete data but I haven't examined it. PrimeHunter (talk) 21:24, 15 February 2017 (UTC)
@Savvyjack23 and PrimeHunter: I removed that line and tested the script. It should be working correctly now. Thank you. --Meno25 (talk) 09:51, 16 February 2017 (UTC)

Structured Data Errors

Hello. To whom it may concern, while running some random Wikipedia articles in Google's Structured Data Testing Tool there are errors which show up. Does anybody know if this poses an indexing problem on Google's Knowledge Graph and if so does anybody know how to fix them? --Omer Toledano (talk) 07:54, 16 February 2017 (UTC)

What are the exact "errors which show up"? --Malyacko (talk) 10:13, 16 February 2017 (UTC)

Problem with citation generation

I have two questions -

  1. Can someone advise me on the best place to post this sort of concern?
  2. My actual concern is the below issue.

I tried to generate a citation from a PMID with the citation generator in what I think is the Wikipedia:RefToolbar.

Here is what I get With source editor, input is PMID (missing PMC link)

  • Yuk, SM; Han, KT; Kim, SJ; Kim, W; Sohn, TY; Jeon, B; Kim, YM; Park, EC (16 September 2015). "Consumption of pharmaceutical drugs in exception region of separation for drug prescribing and dispensing program in South Korea". Substance Abuse Treatment, Prevention, and Policy. 10: 36. doi:10.1186/s13011-015-0032-3. PMC 4572639. PMID 26376979.

With visual editor, input is PMID (problem with PMC link)

This citation should have a PMC link, which would mean a correct number in the PMC field. The problem with the second citation is that it inserts the letters "PMC" before the number in the field. Removing those letters generates the correct citation, which is

Here is the request -

  • Harmonize the citation generators
  • PMC field should include PMC number without appending the letters PMC in the front

Thoughts? To whom should I direct this feedback? Blue Rasberry (talk) 16:17, 16 February 2017 (UTC)

This bug is being tracked in Phabricator bug report T157152. Until it is resolved, you'll need to remove the "PMC" characters manually. – Jonesey95 (talk) 17:29, 16 February 2017 (UTC)
Resolved

from an English Wikipedia perspective. Blue Rasberry (talk) 20:34, 16 February 2017 (UTC)

<br/> or <br>?

Is there any difference between <br/> and <br>? -- Magioladitis (talk) 18:50, 12 February 2017 (UTC)

See Wikipedia:Line-break handling#.3Cbr.3E. PrimeHunter (talk) 19:01, 12 February 2017 (UTC)
Also, <br/> and <br /> are preferred for anyone who uses this syntax highlighter. kennethaw88talk 20:09, 12 February 2017 (UTC)
See this guide from W3Schools — both are valid in HTML, but <br> is considered invalid for XHTML purposes. Nyttend (talk) 02:28, 13 February 2017 (UTC)
I believe that consensus is that <br> should not be converted to <br/> unless there are substantive changes being made at the same time. I have no evidence to support this belief, however. – Jonesey95 (talk) 02:41, 13 February 2017 (UTC)
You're probably thinking of the fact that bots are prohibited from making this kind of change, basically because they clog up a large number of edit histories with no visible effect. Since humans can't edit as fast, someone making such changes presumably wouldn't encounter opposition; the likely response would be something like "why do that; you're wasting your time". Nyttend (talk) 02:53, 13 February 2017 (UTC)
Or edit wars between two people who obstinately disagree on / or <br/> vs. <br />. I've seen that (elsewhere). --Unready (talk) 05:20, 13 February 2017 (UTC)
Nyttend, in most cases you would be right, but in this case, I was actually thinking that the OP needed to see the words I wrote above, given the situation in which he has placed himself recently. – Jonesey95 (talk) 06:00, 13 February 2017 (UTC)
@Magioladitis: I am certain that I answered this question for you, some months ago. IIRC it was on a user talk page, not necessarily your own.
Anyway, the Wikimedia sites (including Wikipedia) serve HTML5, where (according to the W3C docs - don't believe all you read at W3Schools) the space and the slash of the <br /> tag are both optional. But when the tag has attributes, and the last attribute doesn't end with a quote character, for example
<br style="clear:both;" id=gap1 />
the space is mandatory if the slash is present. Even if there are no attributes, some browsers don't like the space to be omitted if the slash is present.
Until a few years ago, the Wikimedia sites served XHTML 1.0, where (regardless of attributes) the space is optional but the slash is mandatory. --Redrose64 🌹 (talk) 23:37, 13 February 2017 (UTC)
The last major browser to require a space before /> was Netscape 4.0, which was released almost 20 years ago. If anything since then can't handle a space, it's a browser bug. --Unready (talk) 01:39, 14 February 2017 (UTC)
@Unready: Consider a tag like <br id=gap1/> - is the slash part of the value of the id= attribute, or not? It might be; and so the unquoted attribute value syntax states

If an attribute using the unquoted attribute syntax is to be followed by another attribute or by the optional "/" (U+002F) character allowed in step 6 of the start tag syntax above, then there must be a space character separating the two.

It therefore requires a space to resolve the ambiguity between <br id=gap1/ > where it is part of the value, and <br id=gap1 /> where it is not. --Redrose64 🌹 (talk) 12:41, 14 February 2017 (UTC)
From the W3C HTML5 reference:

However, in the XHTML syntax, attribute values must always be quoted using either single or double quotes.

... which would apply to self-closed tags. In HTML syntax (not self-closed), quotes are optional. --Unready (talk) 21:54, 14 February 2017 (UTC)
Self-closed tags are not forbidden in HTML5 - see section 8.1.2.1 Start tags

Then, if the element is one of the void elements, or if the element is a foreign element, then there may be a single "/" (U+002F) character. This character has no effect on void elements, but on foreign elements it marks the start tag as self-closing.

So the presence of a slash before the greater-than sign does not make it XHTML, nor does it make quotes necessary; the self-closed form is both HTML and XHTML, and so if the document is declared as HTML in its <!DOCTYPE ... > (Wikipedia pages all begin with <!DOCTYPE html>), there is no need to observe the stricter XHTML rules. --Redrose64 🌹 (talk) 01:11, 15 February 2017 (UTC)
If I write <br> <br/> <br /> in a wiki page, all three of them get transformed by the MediaWiki software to <br />. So from a wikitext perspective, it doesn't matter which one you write, and there are no accessibility or compatibility considerations to worry about. WP:Line-break handling says "<br /> is preferred as it will be rendered correctly in all circumstances, including strict XHTML", which is nonsensical in view of the way these tags are actually processed by MediaWiki. — This, that and the other (talk) 00:55, 14 February 2017 (UTC)
@This, that and the other: The MediaWiki software doesn't touch it. The transformation is done by HTML Tidy, which we're on the point of dropping; partly because it doesn't understand those parts of HTML5 that weren't carried over from HTML 4.01. --Redrose64 🌹 (talk) 00:58, 14 February 2017 (UTC)
@Redrose64: That isn't the case. I tested this on my local MediaWiki installation, which definitely does not have Tidy installed, and the transformation occurred regardless. This is done by the slightly misleadingly named function Sanitizer::removeHTMLtags in MediaWiki's PHP code. — This, that and the other (talk) 01:30, 14 February 2017 (UTC)
Tidy isn't a separate installation. Sanitizer is Tidy, until Sanitizer becomes HTML5Depurate, which is "soon." --Unready (talk) 22:02, 14 February 2017 (UTC)
If you look into it you'll find Tidy is a distinct PHP extension that is called from MediaWiki code when enabled. (For interest, Tidy doesn't appear to be enabled at translatewiki:, so you might like to experiment in the sandbox there to see how things behave without Tidy.) In any case, suffice it to say that MediaWiki does more tidying that one might have thought. mw:Parsing/Replacing Tidy makes no mention of <br> tags, so we don't have anything to worry about in that regard. — This, that and the other (talk) 10:31, 15 February 2017 (UTC)

As far as I'm concerned, <br> is valid wikitext, and whether it's valid in any particular output format or version of HTML pretty much irrelevant. We'll make it keep working one way or another. I recommend using it in that form in wikitext, without the slash, because it's shorter. This was my position during the XHTML era, and is vindicated now in the HTML 5 era.

WHATWG (the body that made HTML 5) denigrates the idea of XHTML in a few different places. In the syntax section of the HTML 5 spec, it has a kind of joke definition of XHTML which seems to serve only as an argument against its existence. As Redrose64 says, MediaWiki does not output XHTML, we use <!DOCTYPE html> which means we are outputting HTML 5. In HTML 5, self-closing tags exist only as a very limited backwards compatibility concession. Except for foreign content like embedded SVG, self-closing slashes are only recognised in places where they are unnecessary. For example, <div/> is a parse error and is interpreted as if the slash were absent: <div>. Only in void elements like <br> are they allowed, but void elements by definition do not require, and cannot have, closing tags. The HTML 5 fragment serialization algorithm, which defines conversion of a DOM tree to a string, requires that br elements be represented as "<br>".

During the XHTML era, we never actually output XHTML, we declared our output to be "XHTML transitional" which was really just tag soup with aspirations. But XHTML had mindshare and so it made more sense to be arguing about writing wikitext as if it were XHTML. Those days are over, so I don't think that there are two defensible sides of this argument anymore.

We'll soon be getting rid of Tidy on WMF websites in favour of a pure PHP solution called RemexHtml that I recently wrote. It should eventually become the default for new MediaWiki installations as well. It accepts either form and will initially output "<br />" for compatibility with parser tests. -- Tim Starling (talk) 10:03, 17 February 2017 (UTC)

Could one of your techno-wizards take a look at the automatic-archiving set-up for this talkpage and figure out what is wrong?
I had already posted about this problem on the article's talkpage: on Talk:Grigori Rasputin at: Talk Archive with no responses but here is the issue:

  • The automatic-archiving is working for the talkpage but the linkage isn't showing up on the article's talk page. And yes, I do know there are two different Archives for the (merged)"Rasputin's penis" talkpage and for the main article talkpage plus that both of the (manually archived) archives are malformed according to the Bots' naming conventions, they are named "Talk:[article name]/Archive#" instead of "Talk:[article name]/Archive[sp]#. The bot is doing its work correctly - there is a Talk:Grigori Rasputin/Archive 6 that it is moving content to - but the article talk page doesn't know that Archive 6 exists. Oh! and there is no Talk: Grigori Rasputin/Archive5 or Talk:Grigori Rasputin/Archive 5. Thanks, Shearonink (talk) 17:49, 17 February 2017 (UTC)
It's been fixed already (in the time it took for me to type this up). Thanks User:Joshua Jonathan! Cheers, everyone - Shearonink (talk) 17:52, 17 February 2017 (UTC)

Is there a way to hide edits that got reverted from watchlist?

You know, when someone edit the page but got reverted. Bertdrunk (talk) 00:45, 14 February 2017 (UTC)

No, because a revert is merely an edit that cancels out the effect of one or more previous edits. They're not marked in any special way, except that some reversion methods (such as WP:ROLLBACK) use a boilerplate edit summary. --Redrose64 🌹 (talk) 01:01, 14 February 2017 (UTC)
Users with the rollback privilege can mark edits and their rollback as a bot edits, even if it's interactive. That's as close as you're going to get. --Unready (talk) 04:07, 14 February 2017 (UTC)
"Users with the rollback privilege can mark edits and their rollback as a bot edits, even if it's interactive." UH? Since when (and how? but because of WP:BEANS, by email please) can you do that? That seems like a terrible idea too. Headbomb {talk / contribs / physics / books} 12:49, 14 February 2017 (UTC)
It's not part of the rollback right (or the rollbackers group), it's the markbotedits right that sysops have. The "how" is documented at mw:Manual:Administrators#Rollback. As for "since when", apparently since December 2003, although back then it was just part of the sysop package. It was moved to the rollback right in October 2004, seemingly broken in November 2007 due to a typo, and took its modern use of the markbotedits right in August 2008. Anomie 13:47, 14 February 2017 (UTC)
That seems like a terrible idea... The idea, as the manual link above says, is to hide vandalism (which is when someone would/should use rollback) from Recent Changes, although it still doesn't hide it if users choose to show bot edits. Also, oops, it's a separate privilege associated with rollback, not rollback itself. --Unready (talk) 22:15, 14 February 2017 (UTC)
There's a project (by Analytics?) to mark reverted revisions. When that's finished, it might be possible to do something like that. Whatamidoing (WMF) (talk) 18:21, 17 February 2017 (UTC)
For reference, phab:T152434 would allow to detect reverts in RC, but detecting (and even more so, filtering out) the edits that were reverted would be trickier. Cenarium (talk) 18:39, 17 February 2017 (UTC)

Module or other way to convert spaces to underscores in a string

I'm looking for a way to take a string like "John Doe" and convert it with a module or some other method to "John_Doe" for use in a URL.

Full disclosure of my goal: I stumbled across Template:Cite Banglapedia/testcases, created by Worldbruce, and I'm fiddling with the |url= and |title= parameters of the template. The title is added to the end of the URL; the title parameter should display with spaces in the citation, but it needs to have underscores when it is used in the URL. – Jonesey95 (talk) 17:24, 17 February 2017 (UTC)

How about {{urlencode:John Doe|WIKI}} > John_Doe ? -- John of Reading (talk) 17:32, 17 February 2017 (UTC)
BTW, I created the testcases in part to highlight misgivings about certain aspects of the design of the recently created template, including its construction of a full url from a partial url (the title with underscores substituted for spaces). Since Banglapedia went online, they've gone through no less than eight different url schemes. Until the most recent one, they've all be more cryptic, like http://banglapedia.org/HT/C_0308.HTM being the url for their article titled "Comilla District" (although in an earlier or later scheme C_0308 might have been the code for a completely different article beginning with "C". Perhaps their current urls are regular enough and stable enough that Wikipedia can safely construct them from article titles. {{EB1911}} and similar templates construct urls for wikisource articles, but whereas we may have considerable influence over a sister project's urls, we have none over Banglapedia's.
I didn't expect this template to be of interest to anyone outside of the small Bangladesh-related-articles community, but the additional technical minds are very welcome. --Worldbruce (talk) 18:10, 17 February 2017 (UTC)
Thanks, urlencode appears to work. – Jonesey95 (talk) 01:16, 18 February 2017 (UTC)

Unable to see archives box where Template:Talk header used

Hi all, I raised a question on the talk page but am keen to see if this is a more general problem - on pages using {{Talk header}} I cannot see any archives box with links to the archives. For example: Talk:Rodrigues, Talk:Human body, or even Template talk:Talk header.

I cannot see any relevant changes to that template but don't know markup well enough to trace anything back to the transcluded templates. Is this just me and my setup (maybe I broke it with a preference change)? Thanks for looking. BW |→ Spaully ~talk~  09:17, 18 February 2017 (UTC)

I can see links to archives at all three of the links you posted. For example at Template talk:Talk header, the headers at the top of the page include the text "Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9" and a "Search archives" box. -- John of Reading (talk) 09:30, 18 February 2017 (UTC)
Thanks, I still don't see them so will take a look through my preferences.
@Zupotachyon: has reported the same thing on their talk page, on which I also cannot see any archive links. I wonder if Zupotachyon have fixed the problem? BW |→ Spaully ~talk~  09:52, 18 February 2017 (UTC)
@Spaully and Zupotachyon: Zupotachyon's archives are named by year and month. As the documentation at {{Talk header}} says, that template only supports numeric archives. -- John of Reading (talk) 11:56, 18 February 2017 (UTC)

 Done Thanks, all sorted - I had changed back to MonoBook but had a custom .css that I had last edited in 2009 including "#talkheader {display:none;}", funnily enough that suppressed the talk header. Please ignore my stupidity! |→ Spaully ~talk~  12:07, 18 February 2017 (UTC)

Script request for checking sources

Not sure if this is the right place to post this, so please let me know if there's a WP:SCRIPTREQ or something similar. I just did a source review on Æthelflæd, part of which was a tedious manual process that I think could be partially automated. The citations look like this:

  • Keynes & Lapidge 1983, pp. 11–12.
  • Stenton 1971, pp. 246–248.
  • Williams 1991b; Williams 1991c.
  • ...

and the bibliography looks like this:

  • Abels, Richard (1998). Alfred the Great: War, Kingship and Culture in Anglo-Saxon England. Harlow, UK: Longman. ISBN 0-582-04047-7.
  • Bailey, Maggie (2001). "Ælfwynn, Second Lady of the Mercians". In Higham, Nick; Hill, David. Edward the Elder 899–924. Abingdon, UK: Routledge. pp. 112–27. ISBN 0-415-21497-1.
  • Baker, Nigel; Holt, Richard (2004). Urban Growth and the Medieval Church: Gloucester and Worcester. Aldershot, UK: Ashgate. ISBN 0-7546-0266-4.
  • ...

I dropped both lists in Excel, scraped off some unnecessary text, alphabetized both, and was then able to run down both lists at the same time and verify that every citation had a bibliographic line corresponding to it, and every work in the bibliography was used.

I don't think a script could reliably do the verification, because there are plenty of exceptions that will come up, but just the basics of alphabetizing the two lists and presenting them in such a way that an eyeball comparison could be done would be a huge time-saver. Is there a way to write a script to do this? Mike Christie (talk - contribs - library) 22:20, 18 February 2017 (UTC)

Does User:Ucucha/HarvErrors.js already do this? Jenks24 (talk) 04:38, 19 February 2017 (UTC)
For Harvard citations it does, but the need to do this is general to all forms of citation. (Thanks for pointing that out, though; I don't use Harvard citations myself and didn't know about the script.) Sino-Roman relations is an example of an article that doesn't use Harvard citations that needs this capability. Mike Christie (talk - contribs - library) 10:36, 19 February 2017 (UTC)

The tag is useful when dating a statement that is expected to change with the passage of time. Unfortunately, it is only useful at the beginning of a sentence, because it forces an upper case 'a'. If the editor tries to use it in mid-sentence, eg. "Many banknotes still carry his signature, As of February 2017, from his term as governor.", the upper case "A" is inappropriate. Is someone able & willing to modify the tag to follow the editor's intention for either 'a' or 'A'? Akld guy (talk) 04:14, 19 February 2017 (UTC)

Akld guy, if you look at {{as of}}, you'll see that you can add the parameter |lc=y to make the "A" lowercase. For example, "as of February 2017". Huntster (t @ c) 04:28, 19 February 2017 (UTC)
Thank you. I think, though, that after reading about how to use the tag, I shouldn't have to also read the template article for a detail like that. That fact should be in the WP:As_of article itself. If nobody bothers to insert it, I will. Akld guy (talk) 04:42, 19 February 2017 (UTC)
By "the template article", I assume that you mean its documentation - the part of the template inside the green box that is headed "Template documentation". The template documentation should be the first place to look for information about the template's parameters. --Redrose64 🌹 (talk) 07:59, 19 February 2017 (UTC)
Yes, that's what I meant - the link is provided by Huntster above. In this edit, I've made it more obvious at WP:As_of that the template documentation needs to be referred to for optional parameters. Akld guy (talk) 11:34, 19 February 2017 (UTC)

Changing redirect after move.

Is there an automated or a simplified way to change redirects after moving a page. For example, I moved Peter Adamson to Peter Adamson (actor), and plan to turn the bare Peter Adamson to a disambigation page for the three current articles with that name. Before doing that I think it's better to replace all current link to Peter Adamson with links to Peter Adamson (actor). HaEr48 (talk) 08:56, 20 February 2017 (UTC)

I don’t think there is. A bot could be instructed to do such a task, but In most cases it makes no sense to do so. I mean, if you are moving the page to Peter Adamson (actor) to disambiguate the name, then some of the links to Peter Adamson might be ones which also need disambiguating, as people have linked to the actor but meaning to link to someone else. That is often the driver of disambiguation, when many incoming links are inappropriate. In which case automatically updating them makes no sense: better to manually check them and fix them on a case by case basis.--JohnBlackburnewordsdeeds 13:45, 20 February 2017 (UTC)
See Wikipedia:WikiProject Disambiguation for some tools. PrimeHunter (talk) 14:14, 20 February 2017 (UTC)

19:25, 20 February 2017 (UTC)

Thursday blues

The user interface in MonoBook skin has changed. When editing a page, the edit summary window takes up more space then it did before; and when creating a new section, the section heading box is bigger. Both have a blue border when they have focus. Blue border - good; more occupation of real estate - bad. --Redrose64 🌹 (talk) 21:55, 16 February 2017 (UTC)

Seems to be the case in Vector as well. Eman235/talk 22:23, 16 February 2017 (UTC)
The following css placed on Special:MyPage/common.css (or skin-specific css page) will reduce the size of the box:
#wpSummary { padding: 0.2em !important; }
(you can play around with the number until it looks right for you) - Evad37 [talk] 00:07, 17 February 2017 (UTC)

I think the font size has changed too. Does anyone remember what the old one was? DaßWölf 01:13, 17 February 2017 (UTC)

The change was linked from Tech News above. Luckily, it was the first line of the many changes listed, T152025. The changes appear to have been made here, but I could very well be wrong. Does that help anyone? – Jonesey95 (talk) 06:04, 17 February 2017 (UTC)
Yes, it does. Much appreciated. Hawkeye7 (talk) 21:08, 17 February 2017 (UTC)

Hey, These actions are being made as a part of UI standardization. See phab:M101 and this. We are also changing the whole edit parts and modernize it. For screenshots see phab:T111088. Ladsgroupoverleg 17:51, 17 February 2017 (UTC)

Can you please make some option to turn off all the animations? They are useless and annoying. And why the summary input is now always narrower than the available width? Even before the summary text was not always fitting in the visible area, but now it is even worse (and this meaningless arbitrary right margin does not seem to serve any purpose). — Mikhail Ryazanov (talk) 00:20, 18 February 2017 (UTC)
On Firefox I can only see the tops of letters in the edit summary, no problem with Chrome. Vector skin.Doug Weller talk 20:06, 18 February 2017 (UTC)
When using just Firefox, my edit summary box displays well; but when I have wikEd turned on , its edit summary window is now almost useless, which I assume is related to these changes. Dhtwiki (talk) 00:42, 19 February 2017 (UTC)

Meantime, this is how my edit summary box is displaying text (Firefox). —ATS 🖖 talk 02:39, 18 February 2017 (UTC)

Here is how it looks "plain" (default settings, without any gadgets):
Very strange margins and a quite arbitrary vertical size, neither consistent with the text, nor with the buttons. — Mikhail Ryazanov (talk) 05:50, 20 February 2017 (UTC)

Why are Subject/headline and Edit summary wider?

Is this new?— Vchimpanzee • talk • contributions • 21:43, 17 February 2017 (UTC)

See #Thursday blues. PrimeHunter (talk) 21:47, 17 February 2017 (UTC)

Illegible Edit summary textbox

For like 10 days now, my edit summary textbox has turned so slim that the input texts have become illegible. I am able to view only the middle portion of the typed text. I haven't made any changes to my preferences. I noticed that somebody raised an issue about wider textbox earlier but mine is exasperatingly slender. I am using Firefox 51.0.1. Any help? Hitro talk 18:10, 21 February 2017 (UTC)

Does it look like this (screenshot on tinypic)? If yes, it's a problem with the WikEd. Stryn (talk) 18:36, 21 February 2017 (UTC)
See the "Thursday blues" section above for a workaround. Also this problem has been reported to the wikEd maintainer. – Jonesey95 (talk) 18:44, 21 February 2017 (UTC)

Different IP (four tilde) compared to running Windows CMD tool - ipconfig

Background - I have moved (in the real world) and had hence to change my internet supplier. As I was about to change my e-mail address , I accidentally happened to see that my IP - made by the foure tilde signs, if one isn't logged on, differed from what my IPCONFIG tool state my IP is. And I have had 192.168.1.94 for longer than a fortnight now. But the tilde signs states my IP is 81.230.36.59 - at the one and same time !. Further, someone has (externally) mixed with my computer somway. I could't take screenshots - after in a mail recommended an other user to use the PrtSc keyboard button. Many effects, like sound were also delayed about 8-10 seconds. So I re-installed Windows. Could anyone please help me ? Am I under surveillance, by some one with admin-tools. Perhaps from an other Wiki ? Or do we get a new IP each time we use Wikipedia ? - simultaineously with the "normal IP", presented by the IPCONFIG-command ? I'm a programmer of embedded systems, but TCP/IP and networks are really not my cup of tea, if I may express myself in that way ? Any honest comments would be much appreciated. Boeing720 (talk) 00:53, 21 February 2017 (UTC)

Your computer connects via a cable or wireless to your router which also acts as a modem to connect to the ISP (internet service provider). The network card in your computer has the 192.x.x.x IP address, but the connection to Wikipedia actually comes from your router (81.x.x.x) so that is what is shown at Wikipedia or sites which display your IP address like this. See network address translation for a lot of detail. Johnuniq (talk) 01:06, 21 February 2017 (UTC)
Hello and thanks , Johnuniq! A good explanation, and I will study your suggested information further. It was however, already through your reply, relieving to read. Thank you very much again ! Boeing720 (talk) 09:43, 21 February 2017 (UTC)
@Boeing720: Any IP address which begins 192.168 (but not others beginning 192) is within a private network; they show as some other IP address when seen from outside that network.
WP:RD/C answers a lot of queries like this. --Redrose64 🌹 (talk) 21:07, 21 February 2017 (UTC)

From Wikipedia:Potentially_unreliable_sources#Wikipedia_mirrors and the next section covering SELFPUB companies, is there any way to automate stopping these additions? All of them seem to propagate via Google Books alone. More specific examples, at WT:INB, books by the Gyan publication keep getting used as references and Gyan is shown to be a mirror our articles without acknowledgement, even with their own authors and dates. Right now, dedicated editors have to keep a tab on their occurrences here via linksearch (routine cleanups), since they keep cropping back up.

Since they do not concern a single url, the usual Mw:Blacklist, filters or XlinkBot can't be used normally. The only thing playing in my head is making XlinkBot have this additional function which checks any edit with a GB link, uses the available GB citation tools to extract the publisher, compares that to its own blacklist and then acts. Is this feasible or are there any better ideas? Ugog Nizdast (talk) 07:46, 14 February 2017 (UTC)

Shouldn't be hard for the bot to find it. Google Book webpages contain metadata in the page source, including a line labeled "publisher". Should be feasible for a bot to check new links to Google Books, pull out that metadata, and then if the publisher appears to be on a blacklist, add the diff to some page for review by a human. And of course if it's just amazingly efficient, enable the bot to just revert. Someguy1221 (talk) 08:35, 14 February 2017 (UTC)
I could add this, given time (which I don't have too much). I would however blacklist those on sight, it otherwise keeps eating editor's time. Today you see one, research and remove, tomorrow it is someone else who has to go through it, and the day after ... XLinkBot may however be a good detection. I need to have a look how to do this. --Dirk Beetstra T C 13:37, 18 February 2017 (UTC)
Can I have a couple of specific examples of this (preferably popular ones). I may already have this functionality, but am not sure if it was thoroughly tested). --Dirk Beetstra T C 13:45, 18 February 2017 (UTC)
Do you know more on how GB works? all I know is it's extremely unpredictable in terms of content and links. I've recently seen an old link to a history book take me a random book about my horoscope. In addition to that, catching each of the publication's books on sight would seem a big task compared to just blacklisting it by its name. This one-by-one method also wouldn't prevent future additions which will have to be "registered" to be prevented.
The most popular one is this Gyan publishing house, though in my watchlist, this is the most recent edit which removed one, links to this: "Fairs and Festivals of India: Andaman and Nicobar Islands, Kerala, Lakshadweep, Pondicherry, Tamil Nadu". I could search for more but I suspect Sitush and Utcursch have first-hand experience on this. Ugog Nizdast (talk) 01:29, 19 February 2017 (UTC)
@Beetstra: Some examples are listed at Wikipedia:Potentially unreliable sources/Books that plagiarize Wikipedia.
Nearly all the edits are in form of links to Google Books. E.g.
  • books.google.com/books?id=alllAwAAQBAJ&pg=1
  • books.google.co.in/books?printsec=frontcover&id=alllAwAAQBAJ
  • books.google.ca/books?id=alllAwAAQBAJ&lpg=PP1
Maybe we can use regex to ban anything that matches books.google.* and the unique id. utcursch | talk 02:05, 19 February 2017 (UTC)
I would indeed expect that each book has a unique and identifyable ID that we can match in the blacklist. If one book gets varying IDs then it becomes problematic. \bbooks.google.*?id=alllAwAAQBAJ\b should do that.
I will have a look at the content as well, and try to see what I can make XLinkBot do here. --Dirk Beetstra T C 02:55, 19 February 2017 (UTC)
I have brought the discussion to the spam blacklist, here, but I will leave that open for discussion until we decide that we really want to blacklist this stuff (I haven't seen any evidence of spamming, and I hence am somewhat reluctant to pull the trigger purely on an 'it is not reliable' reason, I'd prefer to have community input on that). --Dirk Beetstra T C 06:11, 20 February 2017 (UTC)
A couple of questions. We need evidence of spamming and discussion for the mw-blacklist, right? I feel we won't get any blatant and repeated instances because this isn't clear-cut spamming. This is more a slow but persistent problem which is usually done by AGF editors (mostly new) who didn't know better. Atleast two additional experienced editors whom I know of and who usually deal with this cleanup haven't been active enough for joining this discussion. For discussions, just typing that in the archives search of WP:RSN and WT:INB show a lot.
Can't get diffs but I can demonstrate its prevalence here, just use "insource:Gyan" for instance. However, maybe because being unfamiliar with this issue, I'm having my own doubts about this specific house, I just did the search and so many FAs and GA articles from the first result page itself have it! Earth, India, Cold War! @Fowler&fowler:, at India, this has been there for long, are you aware of this publication or it being used as a source? Also once again pinging (if available) Sitush and SpacemanSpiff about Gyan being is so many high quality articles?
About blacklisting it, it's a good immediate fix but won't it be a really big list in the end? Just this one publisher I mentioned above seems to have a lot of books, this list is going to swell and how can we be sure we've covered them all? And how permanent are these unique ids? Are we sure they won't change later to some other book? Ugog Nizdast (talk) 08:18, 20 February 2017 (UTC)
Hi, I've never heard of these publishers, and can't really speak to their reliability, or lack thereof. I typically only use established scholarly publishers, such as Oxford, Cambridge, Wiley, Routledge, Blackwell etc. Fowler&fowler«Talk» 11:51, 20 February 2017 (UTC)
Tyagi's Martial Races of Undivided India is perhaps the most notorious example from Gyan that I regularly clean up. There will be a couple of examples at User:Sitush/Common#Gyan. The problem is that Gyan were publishing before WP existed and some of there earlier things thus certainly cannot be mirrors, although they may still be violating the copyright of other authors/publishers. - Sitush (talk) 13:29, 20 February 2017 (UTC)
@Ugog Nizdast: We generally only blacklist if there is sign of abuse. However, if, e.g. a source comes back 10 times in different contexts on WP:RS/N then we can, based on these 10 discussions say that there is community consensus that these sources should not be used, and use that consensus in a WP:IAR way to use the spam blacklist for that. I will personally not blacklist on a 'hey, this is unreliable, blacklist it' (I am not that rogue), I will however if there are several discussions showing the same trend. A similar example are the high-profile porn sites - they are not spammed, they are not spam (in Wikipedia terms), and actually in specific cases these links are of use .. but we can show persistent abuse of the links to a level that restriction and using whitelisting is much less damaging to Wikipedia (and to many BLPs specific) than allowing the vandalism/abuse to continue. I opened the thread on the SBL to get some of this data, links to a handful of discussions and/or people agreeing etc., and I will then happily pull the trigger (I am keeping an eye on the discussion).
@Sitush: The blacklist would disallow specific books, allowing the rest of the same publisher. XLinkBot would in principle revert all books of a publisher (if I can have it understand it), but there would be a possibility to whitelist books that should not be reverted.
{{rto}} If there would be abuse by such publishers (which then would qualify as 'them spamming Wikipedia with their books') then I would indeed not hesitate to pull the trigger without waiting for reliability discussions. Note that next blacklistings of such material will be performed faster, we just point back to the precedent. --Dirk Beetstra T C 11:40, 22 February 2017 (UTC)
@SpacemanSpiff: are these two ID's mentioned on the SBL request (just to make sure that they are gone after we pull the trigger on the first batch)? --Dirk Beetstra T C 11:40, 22 February 2017 (UTC)

Family tree in linear text format

Hello,

I'd like to include in an article what I could call a "family tree in linear text format" such as the one I included [33] here on the French Wikipédia, at the end of the article. I know that classical trees (with boxes) are available on the English Wikipedia, but is there also a mean to produce such "linear text format" trees? I don't know where to find the answer. Thanks beforehand for any help.

This is an example of the French syntax that is used:

{{Arbre début}}
* '''Samuel Woodforde''', ''théologien, poète et membre fondateur de la ''[[Royal Society]] <small>(1636 - 1701)</small>
** '''Heighes Woodforde''', ''recteur d'Epsom (Surrey)'' <small>(1664 - 1724)</small>
*** {{Arbre/Branche finale}} ''descendance de Heighes Woodforde'' 
** {{Arbre/Branche finale}} '''Robert Woodforde'''
{{Arbre fin}}

Pepys (talk) 11:06, 22 February 2017 (UTC)

@Pepys: {{tree list}} and its subtemplates are the local versions of French Wikipedia's {{Arbre début}} and its related templates - Evad37 [talk] 13:20, 22 February 2017 (UTC)
Thanks again for your help. Pepys (talk) 13:34, 22 February 2017 (UTC)

Default color code of template hyperlinks?

QUESTION: What is the exact default html hex color code for hyperlinks on templates - for example, what is the default color code for the right-hand margin hyperlink text of the Template:Nature timeline ( or {{Nature timeline}} ) - I'm trying to match exact colors if possible - the following blue color code in the template seems close, but not exact => <div style="line-height:9pt"><small>[[Cambrian explosion|{{font|size=90%|color=#0052cc|'''Cambrian explosion'''}}]]</small></div> - in any case - Thanks in advance for your help - and - Enjoy! :) Drbogdan (talk) 15:10, 22 February 2017 (UTC)

The correct color is #0645ad. Pppery 15:42, 22 February 2017 (UTC)
Yes, see Help:Link color. PrimeHunter (talk) 15:54, 22 February 2017 (UTC)
@Pppery and PrimeHunter: Excellent - Thank you *very much* for your help with this - it's *greatly* appreciated - Enjoy! :) Drbogdan (talk) 16:16, 22 February 2017 (UTC)

Inkscape map

Hello. Does anyone knoww Inkscape or another svg edit software? I need help to make a map with the help of File:Cyprus adm location map.svg. Xaris333 (talk) 12:24, 18 February 2017 (UTC)

@Xaris333: It may be easier for you to find help at Wikipedia:Graphics Lab/Map workshop. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
15:53, 18 February 2017 (UTC)

Name of the area on a map

Let's say that I am using the File:Administrative map of Cyprus.jpg. Some areas are yellow. Is there a way if someone move it's cursor above one of the yellow areas, to show the name of the area? It's not a locator map. Xaris333 (talk) 22:39, 19 February 2017 (UTC)

mw:Extension:ImageMap can do it but making an image map can be a lot of work. It also makes a clickable link for each defined area. I don't know whether the link can be disabled but if it's a link to a non-existing anchor on the same page then clicking may have no effect in browsers. PrimeHunter (talk) 23:32, 19 February 2017 (UTC)
Thanks. Xaris333 (talk) 14:47, 21 February 2017 (UTC)

Image map coordinates

Hello. I am trying to do an ImageMap . I am using polygon selection. Do you know if there is a software that can select an area (maybe by color or by magic wand) to find the coordinates? Polygon selection is not the best solution. Xaris333 (talk) 14:50, 21 February 2017 (UTC)

@Xaris333: FWIW - May wish to try the following online website => "http://imagemap-generator.dariodomi.de/" - very helpful for me with several of my own image maps, including "https://en.wikipedia.org/wiki/Template:Renoir-BoatingParty-ImageMap" and "https://en.wikipedia.org/wiki/Template:Mars_map" - in any case - Enjoy! :) Drbogdan (talk) 15:31, 22 February 2017 (UTC)
It is not solve my problem. But thanks! Xaris333 (talk) 16:51, 22 February 2017 (UTC)

Quick way to find out how many GARs opened in a certain time period?

Is this possible?

The only way I have been able to find to count GARs is by opening all the pages in a category and checking the dates on each one individually. Are they arranged chronologically anywhere, even in an approximate manner like noticeboard archives?

The reason I ask is because the GAR instructions were radically altered last March, and I suspect this might have had the effect of making the process more difficult and thus discouraging its use. So I'd like to know how many GARs were opened since March 2016 compared to how many were opened in the previous eleven months.

Hijiri 88 (やや) 22:11, 20 February 2017 (UTC)

I'm not aware of any such page, but one can try to cobble something together with search, like this, or this, which search talk subpages and subpages of Wikipedia:Good article reassessment respectively. Both of these sort by the date that page was last edited, which isn't quite right, but better than nothing. Pppery 19:12, 22 February 2017 (UTC)

www.wikipedia.org page looks weird

the page https://www.wikipedia.org doesn't seem to work properly. The images don't load and it doesn't auto-finish my search.

Merijn2 (talk) 15:49, 22 February 2017 (UTC)

Same here. From the console there seems to be a fatal problem with the Javascript code for the page.--JohnBlackburnewordsdeeds 16:06, 22 February 2017 (UTC)
Filed as phab:T158782. Matma Rex talk 17:10, 22 February 2017 (UTC)
Per the phab report it seems fixed now, though I needed to empty my browser cache to see it.--JohnBlackburnewordsdeeds 18:54, 22 February 2017 (UTC)
The incident report is at wikitech:Incident_documentation/20170222-www-portals. Christian75 (talk) 22:10, 22 February 2017 (UTC)
JohnBlackburne it still looks like in the image above for me. Joseph2302 (talk) 07:33, 23 February 2017 (UTC)
How you fix ir is browser dependent – here is some help: Wikipedia:Bypass your cache.--JohnBlackburnewordsdeeds 08:56, 23 February 2017 (UTC)

Watchlist preference anomaly

There's an anomaly in Special:Preferences#mw-prefsection-watchlist - one tickbox is labelled "Add pages I create and files I upload to my watchlist", and another "Add new files I upload to my watchlist". Is there any reason for this? I haven't tested it to see if files are watched if one box is ticked but not the other. Optimist on the run (talk) 09:29, 23 February 2017 (UTC)

I assume an action is watched if there is at least one enabled setting saying to watch it. I don't see a problem with some overlap. Uploading a new file creates a file page so uploads are a subset of page creations which is itself a subset of edits. It would be possible to make all settings disjoint but then you get silly options like "Add pages I edit except pages I create". Who would choose that without also choosing "Add pages I create"? PrimeHunter (talk) 10:24, 23 February 2017 (UTC)
By that argument, the first option should be "Add pages I create to my watchlist" - this would cover all pages created (including files), and remove the disjointedness. Optimist on the run (talk) 11:04, 23 February 2017 (UTC)
It said that in the past before a setting was added to only watch uploads. Many users wouldn't know whether an upload counts as a page creation. PrimeHunter (talk) 11:49, 23 February 2017 (UTC)
The action of uploading a file is distinct from creating a page. If you upload a new version of an existing file, you are not creating a page, so only the setting in "Add new files I upload to my watchlist" would be used. On the other hand, if you create a file page by clicking the "Create" tab (such as creating a file redirect), you are not uploading a file, so only the setting in "Add pages I create and files I upload to my watchlist" would be used. If you upload a brand new file, then the page would be added to your watchlist if one or both of those settings are checked (as PrimeHunter suggested). I haven't verified any of this, but it seems likely that this is the way it would work. — This, that and the other (talk) 12:25, 23 February 2017 (UTC)

Watchlist

Is there an ongoing issue with the 'mark all pages as visited' button? Appears when first clicking on watchlist but then vanishes as the page completes loading. (Using Chrome). Thanks. Eagleash (talk) 01:28, 17 February 2017 (UTC)

Ditto. Mine disappeared completely. —ATS 🖖 talk 01:44, 17 February 2017 (UTC)

Ditto -- ferret (talk) 02:25, 17 February 2017 (UTC)

Same here: Mobile Safari on iPad: brief glimpse as page loads, then it's gone. I also noticed more spacious text boxes—the edit summary, for instance—that are very welcome! — Gorthian (talk) 02:28, 17 February 2017 (UTC)

It may be an issue with gadget loading order. It's hidden by "(This loads the base style for the watchlist. Please do not disable this option.)" at Special:Preferences#mw-prefsection-gadgets. The code is in MediaWiki:Gadget-WatchlistBase.css:
#mw-watchlist-resetbutton {
    display: none;
}
It should then be unhidden if any of the two following gadgets are enabled: "Display green collapsible arrows and green bullets for changed pages in your watchlist, page history and recent changes" and "Display pages on your watchlist that have changed since your last visit in bold". They both include:
#mw-watchlist-resetbutton {
    display: block;
}
But something goes wrong and it stays hidden. It can be forced to display by placing the latter code in your CSS. PrimeHunter (talk) 02:32, 17 February 2017 (UTC)
That worked. My thanks! Now someone needs to fix the edit summary line that seems larger but covers up part of the text. ATS 🖖 talk 02:38, 17 February 2017 (UTC)
Worked for me too. With regard to the ES box, the box for adding the heading after clicking 'new section' also appeared larger when starting this 'thread'. Thanks PrimeHunter Eagleash (talk) 02:58, 17 February 2017 (UTC)
@Eagleash: I don't think that the increased size of those boxes is anything to do with the 'mark all pages as visited' button problem. See the section above - the box change occurred by 21:55, 16 February 2017, some hours before Krinkle's edit (00:47, 17 February 2017). --Redrose64 🌹 (talk) 21:40, 17 February 2017 (UTC)
@Redrose64: Probably not; it just appeared to me at the same time. Others (see above) noted it also. Not a problem as far as I'm concerned. Eagleash (talk) 21:53, 17 February 2017 (UTC)

PrimeHunter, i don't exactly understand. L.S. inc. (talk) 05:57, 17 February 2017 (UTC)

@L.S. inc.: Click "your CSS", create the page if it doesn't exist, copy the above three lines with display: block;, and save. PrimeHunter (talk) 11:05, 17 February 2017 (UTC)
Krinkle edited MediaWiki:Gadgets-definition 41 minutes before the first report.[34] That may be the cause. PrimeHunter (talk) 11:57, 17 February 2017 (UTC)
The gadget definitions have been corrected by Amire80 since, and this problem should be fixed now (it is for me at least on Vector). The new gadget feature that triggered this, gives lots of opportunities to remove the late changes to the UI changes when the page loads btw. So gadget authors can get to work :) —TheDJ (talkcontribs) 12:03, 17 February 2017 (UTC)
I removed my personal CSS and it also works for me now. PrimeHunter (talk) 12:23, 17 February 2017 (UTC)

Don’t know if this is related, but for the first time in a while my watchilist is bolding unvisited pages. That’s as well as the green dots that are the advertised way of highlighting such pages. Tried clearing my browser cache in case but it made no difference. It’s happening whether or not I have 'Expand watchlist to show all changes, not just the most recent' enabled.--JohnBlackburnewordsdeeds 12:38, 17 February 2017 (UTC)

PrimeHunter,thanks so much. L.S. inc. (talk) 14:17, 17 February 2017 (UTC)

JohnBlackburne, the "Display pages on your watchlist that have changed since your last visit in bold (see customizing watchlists for more options)" button at Special:Preferences#mw-prefsection-gadgets is on. if not, than ask again in detail. L.S. inc. (talk) 14:21, 17 February 2017 (UTC)

Oh, and when you are done at Special:Preferences#mw-prefsection-gadgets, go to the bottom of the page and press the "save" button.L.S. inc. (talk) 14:28, 17 February 2017 (UTC)

No, that is off. I did not realise there was such an option, I must have turned it off a long time ago. So confirming: " Display pages on your watchlist that have changed since your last visit in bold" is off, but my watchlist is bolding all items I have not visited.--JohnBlackburnewordsdeeds 14:30, 17 February 2017 (UTC)
You are not alone. My check box is unchecked (has always been unchecked); my watchlist has gone bold (before Thursday wasn't bold). Hasn't this just recently been broken and then fixed? And now is broken again? Why? How about fixing it and leaving it fixed? Is that so hard?
Trappist the monk (talk) 14:45, 17 February 2017 (UTC)

Now the same with my watchlist.PrimeHunter, did the CSS thing have anything to do with this? L.S. inc. (talk) 14:51, 17 February 2017 (UTC)

Trappist the monk, calm down. Nearly everyone has the same thing. L.S. inc. (talk) 14:54, 17 February 2017 (UTC)

Why? You wrote in your reply to Editor JohnBlackburne that his "Display pages on your watchlist that have changed since your last visit in bold ..." button ... is on. You jumped to the conclusion that this problem was his fault. Clearly that is not true.
Is it not true that we have recently had this problem? Did it not recently get fixed? Is it unreasonable to ask why we are broken again? Is it unreasonable to ask that it get fixed and remain fixed?
Trappist the monk (talk) 15:09, 17 February 2017 (UTC)
Tried toggling that setting, in case it did something. Nope, no change switching it on or off. Yes, L.S. inc. was a bit presumptuous assuming it might be my fault, but they are a new user, may have just discovered how it worked themselves, so may have assumed it’s new to other people. L.S. inc., if you enable Navigation Popups on the same prefs panel you can easily see when editors have been around for a while and probably have a lot of experience of WP.--JohnBlackburnewordsdeeds 15:42, 17 February 2017 (UTC)
" Is it unreasonable to ask why we are broken again? Is it unreasonable to ask that it get fixed and remain fixed?" not unreasonable, but yeah. gadgets and user scripts break. That's what they do. This one is easily fixable. Unfortunately i'm going on vacation, so I can't get around to this as fast as I would like... —TheDJ (talkcontribs) 16:57, 17 February 2017 (UTC)

This (the bolding of every unvisited page on my watchlist) is a bit annoying. But what a I really don't understand is why a gadget breaking effects me when I don't have that gadget enabled? Jenks24 (talk) 22:43, 17 February 2017 (UTC)

Bolding is the default in MediaWiki itself. If no gadgets are enabled or work then you get bolding. The English Wikipedia has chosen to remove the bolding with a default gadget: "(This loads the base style for the watchlist. Please do not disable this option.)". Another gadget can add it back (if it works): "Display pages on your watchlist that have changed since your last visit in bold". PrimeHunter (talk) 23:15, 17 February 2017 (UTC)
OK, that makes sense. Though I suppose figuring out why it's the MediaWiki default isn't worth going into. And the bolding problem has now been fixed, thanks to whoever did that. Jenks24 (talk) 00:28, 18 February 2017 (UTC)

Why exactly are we telling people not to disable that gadget? Surely watchlist style should be each individual editor's choice about whether they want green dots and/or bold-faced titles. "Please do not disable" makes it sound like we're discouraging people from having whatever style they want. WhatamIdoing (talk) 20:32, 20 February 2017 (UTC)

@WhatamIdoing: It predated 'hidden' gadgets, and it was because we changed the site wide defaults (you could reenable with the 'bold' gadget two gadgets lower). We can do some further cleanup there, but we probably have to do some experimenting on test.wp first. —TheDJ (talkcontribs) 21:39, 23 February 2017 (UTC)

I'm running Windows 10 with the latest version of the IE browser [not Microsoft Edge, of which I'm not fond], and when I try to load this file, I get nothingness; clicking on it returns the same results as merely loading the file page. I'm tempted to delete it under Commons:GCSD#1, but before that I'd like input from someone with a different computer — ideally, an Apple user who's using neither Windows nor IE. Can you load this file? Nyttend (talk) 12:24, 23 February 2017 (UTC)

The PDF loads in Microsoft Edge with screwy fonts, and in Google Chrome with garbled characters in part of the heading, so I suspect the PDF is slightly corrupt (or at least, poorly generated). It displays correctly in Adobe Acrobat. In any case, I don't think it is in scope for Commons (PDF files are rarely in scope), so it ought to be deleted one way or another. — This, that and the other (talk) 12:30, 23 February 2017 (UTC)
Using Chrome on a Mac, it "almost" comes thru perfectly. But actually the "almost" is important. The title, everything above the foto except the word "(Guadalajara)" is all scrambled in crazy fonts. Hope this helps. Let me know if you want me to save the foto, but all I know how to do is take a screen shot. Smallbones(smalltalk) 01:40, 24 February 2017 (UTC)

Two questions from a newbie template editor: template insertion via Twinkle RfD nom + parsing a string in template

Apologies if this is misplaced, but I could really not find a better place to ask. I recently created {{link current revision}} (it took a bit of trial-and-error but I got what I wanted) and have two related questions (please see the template doc).

  1. After a Twinkle RfD nomination, I had to edit the page to force the template to substitute, because it printed in plain text in the Twinkle nomination. Is it a known Twinkle glitch, a miscoding of the template...?
  2. I wish to add a way to link to the current revision with a particular section anchor, so as to be able to make calls such as {{subst:link current revision|Wikipedia:Help Desk#Some section of interest}}. Algorithmically, it is fairly simple: if the page argument includes a # (e.g. Foo#Bar) then split the string at that point, apply the regular processing to the first part (Foo), then append "#" + the second part (#Bar). However, I could not find a way to do that in mediawiki language in Help:Template and related pages - does this need Lua modules?

TigraanClick here to contact me 16:41, 24 February 2017 (UTC)

Hello,

The page Freedom of speech in the United States does not appear as a suggestion when typing in the search box. This happened on both my Android smartphone using Chrome and on my laptop running Windows 10 using Firefox. After completely typing the article name and pressing enter, I am taken to the article and there's nothing under the title saying "Redirected from X". On the Windows laptop, I didn't previously have that page open (Firefox clears all data when it's closed). Also, the article is not new. AHeneen (talk) 13:55, 23 February 2017 (UTC)

AHeneen, what precisely did you type? The search box can be really finicky if you don't do things precisely the way it likes them, so giving the precise text string will help with the diagnosis. Nyttend (talk) 16:15, 23 February 2017 (UTC)
@AHeneen: I looked at the data the search engine had about the page and it was empty. These kinds of errors are very rare but they do crop up sometimes for a variety of different reasons, some of which we know about and some of which we don't. This was possibly caused by a full reindex of enwiki content that we did recently, but it's hard to say for sure. Normally the best advice I can give is "make a null edit and wait 24 hours" which will fix most problems with pages being missing from search. Since making a null edit, the search index now has information about the page (as you can see from ?action=cirrusdump) so the search box should pick up the article in the next 24 hours or so. Hope that helps! :-) --Dan Garry, Wikimedia Foundation (talk) 16:46, 23 February 2017 (UTC)
@AHeneen: Following up, the page now appears as a suggestion in the search box. Hope that helps! --Dan Garry, Wikimedia Foundation (talk) 15:48, 24 February 2017 (UTC)

 Resolved Thanks, User:Deskana (WMF). @Nyttend: I simply typed the characters and normal spaces on a regular US keyboard. Thanks for your help. AHeneen (talk) 22:29, 24 February 2017 (UTC)

For some reason, searching "Sweden Democrats" in the search bar doesn't give the party's article as a result until the last letter (i.e., exact title) is typed; even up to "Sweden Dem", only Sweden Democratic Youth and Sweden-Denmark relations are offered as results. Any insights as to why? The party's Swedish name Sverigedemokraterna seems to be similarly affected; none of the other Swedish political parties are similarly affected. Mélencron (talk) 01:30, 23 February 2017 (UTC)

@Mélencron: It was probably the same problem as § Page not appearing as suggestion in search box. It seems to be working now for Sweden Democrats. - Evad37 [talk] 07:34, 25 February 2017 (UTC)

Picture and list

Hello. I want to use a picture. Under the picture I want, if I click one it, to show a list. Is there an example of that in an article to see how it can be done? Xaris333 (talk) 13:02, 25 February 2017 (UTC)

Not really, afaik. You can have an image and you can have a collapsed list, but you expand the list by hitting show, rather than clicking the image. --Tagishsimon (talk) 14:52, 25 February 2017 (UTC)

US gallon -> litre conversion is inconsistent

At MV Joyita, {{convert|2,500|USgal|litre}} resulted in "2,500 US gallons (9,500 L)". Fair enough, and a second conversion with 3,000 US gallons resulted in 11,000 L. The ratio 2500:3000 is 1.2, and therefore the second conversion should have resulted in 11,400 litres. What's wrong here? Akld guy (talk) 14:22, 25 February 2017 (UTC)

Probably rounding of some sort. I seem to remember this question pops up periodically, and that's normally the answer. --Tagishsimon (talk) 14:28, 25 February 2017 (UTC)
Template:Convert#Default rounding may help. --Tagishsimon (talk) 14:29, 25 February 2017 (UTC)
That's a huge rounding. Akld guy (talk) 14:37, 25 February 2017 (UTC)
I got it right with 0 rounding, like this: {{convert|2,500|USgal|litre|0}} which results in "2,500 US gallons (9,464 L)". Akld guy (talk) 14:48, 25 February 2017 (UTC)
@Akld guy: That's probably too precise, rounding to the nearest 1 litre – per MOS:CONVERSIONS "Converted quantity values should use a level of precision similar to that of the source quantity value". I would suggest using |sigfig= e.g. {{convert|3000|USgal|litre|sigfig=3}} → 3,000 US gallons (11,400 L), or use a negative number for rounding e.g. {{convert|3000|USgal|litre|-2}} → 3,000 US gallons (11,400 L) - Evad37 [talk] 15:00, 25 February 2017 (UTC)
@Evad37: Thank you for that. The -2 option was just what was required and I have changed the article accordingly. Akld guy (talk) 15:12, 25 February 2017 (UTC)

Can't log into Wikipedia sites using Safari browser on Apple devices

Beginning from a few days ago, I have been having trouble logging into all Wikipedia sites (specifically the English versions of Wikipedia, the Wikimedia Commons, and the Wiktionary) on my iPhone and iPad using the Safari browser (not sure which version – how do I check?). I get the error message:

There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again.

I cannot bypass this message, and neither reloading the page nor going to some other page helps. I do not know if Safari's built-in function for autofilling user-ids and passwords is causing the problem, but even if I manually enter the user-id and password the problem occurs. I tried reporting this issue to the Phabricator, but since it seems to be specific to Safari (the problem doesn't seem to occur with the Mozilla Firefox browser) I was told that it was not a problem on the Wikipedia side. Any idea how to solve this problem? — SMUconlaw (talk) 11:49, 11 February 2017 (UTC)

@Smuconlaw: try to clear your cookies (Wikimedia-related) in Safari. Stryn (talk) 18:09, 13 February 2017 (UTC)
I did try that, but it doesn't seem to have worked. — SMUconlaw (talk) 18:21, 13 February 2017 (UTC)
So no one else is experiencing this problem, and nothing can be done about it? I'm still unable to log in on my mobile devices, which is very annoying. — SMUconlaw (talk) 17:34, 17 February 2017 (UTC)
@Smuconlaw: Tried just now and it works fine for me. For reference, I'm on an iPhone 6S with iOS 10.2.1 (latest version). Find your version number by opening the Settings app -> General -> About -> Version. If you're on an older version of iOS, update by going to Settings app -> General ->Software Update. -FASTILY 07:29, 22 February 2017 (UTC)
I'm using iOS 10.2.1 too. This is really strange. Do you use Safari's saved passwords feature? I wonder if that is causing the problem. — SMUconlaw (talk) 10:11, 22 February 2017 (UTC)
Yes, I do, and it does not cause me any problems. It sounds like you have a broken/corrupt cookie. Try deleting cookies/temporary files by opening the Settings app -> Safari -> Clear History and Website Data. Next, close all your open tabs in Safari. Then, kill all running apps on your device and reboot it. Do this for each device. That should fix the problem. -FASTILY 03:33, 23 February 2017 (UTC)
Thanks, that worked! — SMUconlaw (talk) 17:24, 25 February 2017 (UTC)

Regular expression

Hi, i'm from Bengali wikipedia. I need help. Sometime i use WP:AWB there. I need help with regular expression. I have a words like [[ঢাকা|ঢাকা]] and i want to replace it with [[ঢাকা]]. How can i do it using regular expression? --Aftabuzzaman (talk) 21:44, 25 February 2017 (UTC)

Is your red character a variable item? s"\[\[ঢাকা|ঢাকা\([^\]*]\]\]"\[\[ঢাকা\]\]\1" will do the replacement in sed. (that's not AWB though) The number of "\" may differ depending on the shell. Graeme Bartlett (talk) 22:24, 25 February 2017 (UTC)
Come on over and ask at Wikipedia talk:AutoWikiBrowser.Naraht (talk) 12:35, 26 February 2017 (UTC)

Sortable lists

Is it possible to set this sortable list to default open with the fifth column ("Total English speakers") sorted? Or do sortable lists always default open with the first column sorted? --Anthonyhcole (talk · contribs · email) 16:22, 26 February 2017 (UTC)

@Anthonyhcole: Help:Sorting#Initial sort order of rows documents that the table default is however the wikitext is formatted - so fix it in the editor. — xaosflux Talk 16:56, 26 February 2017 (UTC)
Just what I was looking for. Thank you, User:Xaosflux. Anthonyhcole (talk · contribs · email) 17:51, 26 February 2017 (UTC)

User groups shown in plural form in mobile

When I view any mobile diff such as [35], the user groups are now shown in the plural form rather than the singular. Special:ListUsers still uses the singular form. GeoffreyT2000 (talk, contribs) 16:06, 26 February 2017 (UTC)

The mobile link uses for example MediaWiki:Group-rollbacker ("Rollbackers") while Listusers uses MediaWiki:Group-rollbacker-member ("rollbacker"). I don't see the different choices as a problem. Special:UserRights/GeoffreyT2000 uses MediaWiki:Group-rollbacker-member like mobile. In addition it says "Member of:" so plural is logical there while both could be used in the other cases. PrimeHunter (talk) 23:15, 26 February 2017 (UTC)

Bug in mobile view

Mobile view apparently does not correctly display in-line images in a table header after the first section header. Here's what I observe:

If I've missed something glaring, let me know. Otherwise, please direct me to where I can report this as a bug. Many thanks. YBG (talk) 01:48, 26 February 2017 (UTC)

This is a bug, and like any bug, you can report it on phabricator, as mentioned in the 2nd line of the header of this page. —TheDJ (talkcontribs) 22:00, 26 February 2017 (UTC)
Thanks. I should have seen that. YBG (talk) 23:46, 26 February 2017 (UTC)

RFC here -> MediaWiki_talk:Wdsearch.js#Add_link_to_search. --Superchilum(talk to me!) 08:11, 27 February 2017 (UTC)

Infobox in Infobox

Is it possible to include Infobox (ex. 1 and 2) in Infobox (ex. A) to get result not in column, but side by side?

No

Infobox A
subInfobox 1
subInfobox 2

Yes

Infobox A
subInfobox 1 | subInfobox 2

Thanks. - Kareyac (talk) 12:21, 27 February 2017 (UTC)

Many things are possible, but what's the use case, and is that a valid use case ? The infobox is meant as a single element on a page or section, to describe the facts of that topic. It is highly recognisable element that creates expectations both for readers, but also for software reusing our content. If you need to use two next to each other, than you are breaking those expectations. —TheDJ (talkcontribs) 12:34, 27 February 2017 (UTC)
I meant Infoboxes like Battle, Bilarerial relations, Couple, that could have 2 and more equal sides. We have additional infoboxes in infoboxes ex. Template:Infobox album, details in Template:Infobox#Subboxes. subInfobox in table is for Subbox- Kareyac (talk) 12:59, 27 February 2017 (UTC)

19:55, 27 February 2017 (UTC)

Mobile "languages" interface is visually broken (search text area)

See: https://en.m.wikipedia.org/wiki/Academy_Award_for_Best_Picture#/languages --fireattack (talk) 21:03, 27 February 2017 (UTC)

@Fireattack: Please describe what you are seeing, and what you are expecting to see a bit more thoroughly. "visually broken" doesn't really help people, as they can't see what you are seeing on your screen. —TheDJ (talkcontribs) 21:15, 27 February 2017 (UTC)
@TheDJ: Sorry I thought it's pretty obvious if you open the link. There are a whole batch of magnifying glasses, instead of just one. And they're blocking/overlapping on what you type in.
It's reproducible on different devices/browsers (tested in Firefox, Chrome, and Chrome Android).--fireattack (talk) 21:23, 27 February 2017 (UTC)

I disabled the mobile website beta setting, and i can now confirm. I have reported it in phabricator. —TheDJ (talkcontribs) 21:31, 27 February 2017 (UTC)

Thank you!--fireattack (talk) 22:03, 27 February 2017 (UTC)

URL encoding

I understand URI's should use url encoding only, not HTML:

I understand URI's should not mix-in proprietary encoding formats such as Wikitext

This is based on numerous RFC's such as RFC3986 which say URI's (which are universal objects) only use percent encoding. URL's from Wikipedia can be used by bots and other downstream processes (Wikidata) without requiring built-in HTML decoding engines, or a built-in Wikitext decoding engines, or whatever-decoding engine. Bots and other downstream process can rest assured there is no mixture of multiple encoding types within a URI which result in ambiguous encoding that's impossible to decode. This is why url encoding was created - a single universal encoding type for URIs.

I'm a bot writer and constantly running into URLs that I can't decode easily or at all. For example {{BillboardURLbyName}} instructs editors to use it within CS1|2 templates .. I can't decode that nor can anyone else who isn't the Enwiki rendering engine. It even gets mixed together with a normal URI like this.

Do we have standards or policy about URIs and encoding that is in-line with the IETF RFCs? -- GreenC 15:26, 27 February 2017 (UTC)

You seem to be confusing URIs with the wikitext that produces HTML that includes links to URIs. Anomie 01:53, 28 February 2017 (UTC)
URI's in wikitext are not actually URIs? -- GreenC 06:13, 28 February 2017 (UTC)
@Green Cardamom: No, they only have to be URIs after the templates have been processed. -- John of Reading (talk) 07:29, 28 February 2017 (UTC)
This is surprising. Is that documented somewhere? It creates all sorts of issues with bots and other processes. For example, migrating URLs to Wikidata. Link rot bots maintaining dead links. -- GreenC 13:47, 28 February 2017 (UTC)

Log sheet missing on AfD

Afternoon all, The log sheet for the 19th February appears to be missing on the main WP:AFD page. I have found it manually, but cannot see as to why it has been ommitted? Thanks Nördic Nightfury 13:50, 28 February 2017 (UTC)

@Nordic Nightfury: A bot has removed it from Wikipedia:Articles for deletion/Old after checking that all the discussions for that day have been closed. Only the days with long-running discussions are still listed. John of Reading (talk) 14:05, 28 February 2017 (UTC)
Thanks John of Reading. At least I'm not going senile!! Nördic Nightfury 16:06, 28 February 2017 (UTC)

Single-article abuse filter

Has there been any attempt to create a modified version of the Abuse Filter extension that would apply to single pages only? I'm not talking about a local edit filter that's applied to one page only — I'm interested in a hypothetical piece of Mediawiki software that would work the same way but be able to work with one page only. Of course it doesn't exist; I just wonder about past history before making a formal request for a new feature. Rationale: our Wikipedia:Artist biography article template page repeatedly has its contents replaced with actual biographies, which isn't good, but creating an edit filter that checks every single edit made to Wikipedia would be a poor use of resources. It would be nice if we had the ability to create a filter specifically for this page that would reject an edit if it met certain criteria, without worrying about the filter checking edits to other pages. Nyttend (talk) 12:24, 28 February 2017 (UTC)

Such a technology would prove useful in a variety of pages. It could eliminate most cases of page protection resulting from meme-based vandalism or BLP violations. Ian.thomson (talk) 12:28, 28 February 2017 (UTC)

Help fixing broken template display

(Background). I am hoping someone can help with the broken display of {{Birdsong}}. The template links to audio file listings at a well known ornithology website, but also allows up to four Commons audio files to be linked. It displays fine for me when not linking to Commons files. However, it displays like this for me, when a Commons audio file is invoked – I am viewing on a mac using the latest Firefox. The screenshot of its broken output is from the example use in the template's documentation for a Commons file. The display problem does not seem to affect everyone.

I imported the template from fr:Modèle:Chants d'oiseaux, where the documentation makes use of the same audio file from the Commons as its corresponding example of a Commons file use, and where it displays fine for me despite being the same use – indicating there must be some difference between the French original's code, or how it's working, and my imported version. Can someone take a look for a fix? Thanks.--Fuhghettaboutit (talk) 19:55, 28 February 2017 (UTC)

Looks OK in Firefox 51.0.1 in MonoBook on Windows XP. --Redrose64 🌹 (talk) 20:04, 28 February 2017 (UTC)
Works for me on the latest Chrome for Windows and on Firefox 48 Mac. Fuhghettaboutit, have you tried logging out to see if it looks different? – Jonesey95 (talk) 20:40, 28 February 2017 (UTC)
@Jonesey95: Ahh, It's something to do with my logged-in settings. Yes, it looks okay when logged out but has the same broken display at work from a different computer, though also a mac and also using Firefox. However, when I look at it in Safari it displays fine while logged in. So I am guessing either it's some setting peculiar to me, or maybe it's a combination of mac, Firefox and the monobook skin. If the former, then this is resolved. If the latter, well it's not a big deal, but it would be nice to have someone on a mac, running Firefox check using Monobook.--Fuhghettaboutit (talk) 22:38, 28 February 2017 (UTC)
Duh. Mark this resolved. Of course I should check using a different skin. Same broken display in Vector, so it looks like it's just me. Something in my common CSS or js maybe.--Fuhghettaboutit (talk) 22:45, 28 February 2017 (UTC)

How do you subst a parameter only?

Right now, when substing {{Bot Top}}/{{Bot Bottom}} in closed BRFAs, it substs a template depending on what the first parameter of {{Bot Top}} is. That is, substing {{subst:Bot Top|1=Approved}}, later invokes a {{subst:Bot{{{1}}}}} (e.g. {{subst:BotApproved}}), which creates a hard-coded instance of {{BotApproved}}.

What I'm looking for is a way to subst {{Bot Top}} that would transclude {{BotApproved}} (e.g. transcluding {{Bot{{{subst:1}}}}} or something) instead of substing it. How do I do that? [41] didn't work. Headbomb {talk / contribs / physics / books} 21:50, 28 February 2017 (UTC)

@Headbomb: I'm not sure why you think your edit didn't work. With the current version of the template (with {{Bot{{{1}}}}}), {{subst:Bot Top|Approved}} produces <snip> The result of the discussion was {{BotApproved}}<!-- from Template:Bot Top-->. So after the substitution, {{BotApproved}} is being transcluded on the page. — Mr. Stradivarius ♪ talk ♪ 00:32, 1 March 2017 (UTC)

Publishing Javascript

Hello. I've written a custom Javascript that filters the watchlist based on various criteria. A few questions:

  1. How can I publish this code as a global preference on Commons?
  2. Does the Wikimedia minifier transpile ES6 features yet? I've run the code through a BabelJS feature, but this caused CommonsMaintenanceBot to get quite cross with me.

Magog the Ogre (tc) 05:12, 27 February 2017 (UTC)

  1. We don't have global preferences
  2. You are probably thinking about a Gadget. Ask on Commons on their village pump, or at commons:MediaWiki:Gadgets-definition.
  3. No, MediaWiki does not transpile ES6.
TheDJ (talkcontribs) 10:46, 27 February 2017 (UTC)
@TheDJ: why isn't it appearing?[42] The console is still saying jquery is an invalid dependency even though I already removed it.[43] Magog the Ogre (tc) 00:14, 28 February 2017 (UTC)
@Magog the Ogre: because the gadget file it refers to doesn't exist. commons:MediaWiki:Gadget-ExpandedWatchlist.js. See also commons:Special:Gadgets. —TheDJ (talkcontribs) 07:59, 28 February 2017 (UTC)
Yes, move commons:MediaWiki:ExpandedWatchlist.js and update the instructions in commons:User:Magog the Ogre/ExpandedWatchlist.js. PrimeHunter (talk) 11:41, 28 February 2017 (UTC)
That was it! Thanks, guys. Magog the Ogre (tc) 04:08, 1 March 2017 (UTC)

Breaking a part of list into columns

(I originally posted it at Wikipedia:Help desk, but I'll ask here instead.)

I'm planning to fix List of songs in My Little Pony: Friendship Is Magic article to counter legibility issues (especially on small screens), and this is what I came up with, so far.

; "Episode Whatever"
# "First song"
#* '''Music:''' John Doe
#* '''Lyrics:''' Jane Public
#; Performer (character)
#: Actress A (Pony A)
#; Backing vocals
#: Actress B (Unicorn B)
#: Actress C (Pegasus A)
#; Context: Pony A has a problem so Unicorn B and Pegasus A cheer her.
# "Second song"
#* '''Music:''' John Doe
#* '''Lyrics:''' Jane Public
#; Performer (character)
#: Actress A (Pony A)
#; Context: Pony A wonders if her problem was solved well.

Resulting:

"Episode Whatever"
  1. "First song"
    • Music: John Doe
    • Lyrics: Jane Public
    Performer (character)
    Actress A (Pony A)
    Backing vocals
    Actress B (Unicorn B)
    Actress C (Pegasus A)
    Context
    Pony A has a problem so Unicorn B and Pegasus A cheer her.
  2. "Second song"
    • Music: John Doe
    • Lyrics: Jane Public
    Performer (character)
    Actress A (Pony A)
    Context
    Pony A wonders if her problem was solved well.

I'm thinking of using some trick so the list would be (roughly) look like:

"Episode title"

1. "Song title"

  • Music: composer
  • Lyrics: writer
Vocals
List
of
credited
performers
Context
All the context

Of course, I'd use adaptive column template so it would look like not broken into columns on smartphones.

But is there a solution to achieve that, while numbers are not broken like 1. "First song" and 1. "Second song"? JSH-alive/talk/cont/mail 08:56, 26 February 2017 (UTC)

No, there isn't a way to do that without having odd breaks. Either way, the information that we're presenting at the article presently, and which you are trying to change the representation thereof, is correctly tabular information, and should probably continue to use the tabular method. --Izno (talk) 20:10, 26 February 2017 (UTC)
Okay. I'll have to go with bullet list, then. JSH-alive/talk/cont/mail 08:57, 1 March 2017 (UTC)

In the linkbar that appears at the bottom of an IP's contribs page (the one that has WHOIS, Geolocate, etc.) can a link be added to the new Range Contribs tool? (Example) Either for any IP or only when a range is searched, I don't think it matters. I would do it myself but I have no idea how. Ivanvector (Talk/Edits) 12:56, 1 March 2017 (UTC)

Summoning MusikAnimal, who I believe may be involved. --Izno (talk) 13:26, 1 March 2017 (UTC)
(edit conflict) @Ivanvector: At Preferences → Gadgets, ensure that you have 'Allow /16, /24 and /27 – /32 CIDR ranges on Special:Contributions forms, as well as wildcard prefix searches (e.g., "Splark*") (report issues)' enabled. Then you can use wildcards in the first entry item in the "Search for contributions" box, e.g. 192.168.0.*. --Redrose64 🌹 (talk) 13:27, 1 March 2017 (UTC)
Good advice, but I do have the gadget enabled and prefer the functionality of the external tool. The native tool cannot filter by date, for example, and doesn't seem to work for ranges which are not /16, /24, /27 or /32, nor for IPv6 at all. Wildcards are nice but not quite what I'm looking for, unless you can think of a wildcard that would catch 134.154.0.0 - 134.154.63.255 but exclude 134.154.64.0 - 134.154.255.255. Ivanvector (Talk/Edits) 13:32, 1 March 2017 (UTC)
The message is made by MediaWiki:Sp-contributions-footer-anon which transcludes {{Anontools}} which uses {{Anontools/ipv4}} or {{Anontools/ipv6}} to make the links. If the tool can handle the traffic then a link could certainly be added. Template talk:Anontools is the common talk page. PrimeHunter (talk) 13:34, 1 March 2017 (UTC)
The problem with this is knowing which range to lookup. It's possible to always link to a /32, or a /16, /18, or /24, but knowing which to use is always going to be a problem. It would almost be better to link to the tool without any parameters. -- zzuuzz (talk) 13:45, 1 March 2017 (UTC)
Feel free to link to XTools in system message, sure, but know that soon, hopefully by the summer, we'll have a core solution :) More at phab:T145912. Whether we use XTools or the core tool, Zzuuzz is right that we don't know what range to link to given a single IP. The new tool will support IPv6, so for that maybe we could link to the common residential /64 range, not sure if we could apply a similar sensible default for IPv4 though. There will also be a range calculator bundled in with the new tool MusikAnimal talk 17:01, 1 March 2017 (UTC)
We are all looking forward to the core tool. In the meantime, the only solution I can think of is to write a custom script or gadget which checks the querystring for an IP range, and appends an XTools link somewhere on the page (I am not volunteering). -- zzuuzz (talk) 19:55, 1 March 2017 (UTC)

I noticed that Wikipedia:Google Custom Search imports a google css, as can be seen here. Chrome does not load it because the imported script uses http instead of https. What's a good place to report this? Coderzombie (talk) 14:53, 28 February 2017 (UTC)

Wikipedia:Google Custom Search says to import User:Csewiki/vector.js or User:Csewiki/monobook.js. User:Csewiki has not edited since 2009 and may have been created for the purpose. The pages were last edited by User:TheDJ who is still active and would be the natural person to contact. PrimeHunter (talk) 15:23, 28 February 2017 (UTC)
Thanks. Good idea to ping @TheDJ: Coderzombie (talk) 15:39, 28 February 2017 (UTC)
I changed them to the protocol relative format. Ruslik_Zero 20:03, 28 February 2017 (UTC)
@Ruslik0: I believe you still need to update User:Csewiki/csewiki.css and User:Csewiki/monobook.css (User:Csewiki/vector.css on the other hand, seems not actually used).--fireattack (talk) 05:35, 1 March 2017 (UTC)
Done. Ruslik_Zero 20:44, 1 March 2017 (UTC)

Lua coding project at Template:MonthlyArchive

Template:MonthlyArchive is causing a few hundred talk page archive pages to hit the expensive parser function limit. Are there any Lua programmers here who might be willing to take a look at it? See the template's talk page and documentation for details. Thanks. – Jonesey95 (talk) 21:43, 1 March 2017 (UTC)

I confirmed using User talk:Rukn950 that the issue is the most recent edit, which brings the count up (on ths page) from 476 to 510. עוד מישהו Od Mishehu 22:13, 1 March 2017 (UTC)
See Wikipedia:Village pump (technical)/Archive 148#Lua error: too many expensive function calls. WP:EXPENSIVE says "Some Lua functions, many equivalent to other items in this list". That sounds to me like a Lua module would have the same issue but I don't know the details. PrimeHunter (talk) 22:20, 1 March 2017 (UTC)
The most recent edit brought the underlying problems in the code to light: each new year on the calendar increases the parser calls. There are workarounds, but a more permanent fix would be helpful. Please continue discussion on the Template Talk page. – Jonesey95 (talk) 22:59, 1 March 2017 (UTC)

Feedback requested on XTools rewrite

Hello! Community Tech is teaming up with Matthewrbowker to address the 2016 top 10 wish of rewriting the popular XTools suite. The first tool Community Tech will be working on is Articleinfo (accessible via the "Revision history statistics" link on history pages). At it's simplest, our goal is to rewrite it to be stable and fully functional. Before we get started, we want your feedback on what you'd like to see in the new version, and what you don't like about the current version. Please review our plans provide any feedback at meta:Community Tech/Rewrite Xtools/Articleinfo. Thanks! MusikAnimal talk 00:10, 2 March 2017 (UTC)

Cannot delete a page in my user space

Hi,

I am trying to delete User:Amire80/monobook.js, and I cannot. The deletion form just reappears and the page is not deleted.

What I'm asking here is not so much to delete the page, but to understand why does it actually happen, because it's really odd. --Amir E. Aharoni (talk) 06:56, 2 March 2017 (UTC)

OK, so I managed to delete it, but only by doing this using the Chrome browser. I couldn't do it from Firefox. Any ideas? Perhaps another instance of Frequent loss of session data? --Amir E. Aharoni (talk) 07:04, 2 March 2017 (UTC)

Cannot change my skin

I tried to experiment with different skins, and I simply cannot change them. When I change from Vector to Monobook in the Preferences, I see Monobook selected after I save the preferences, but the actual skin is still Vector. And if I refresh the preferences, it goes back to Vector.

This is broken on Firefox, but works on Chrome. This may or may not be related to the "Cannot delete a page in my user space" issue, which I reported in a section above. --Amir E. Aharoni (talk) 07:01, 2 March 2017 (UTC)

As it is browser-specific, sounds like this is more likely on your end. In Firefox try this: Help, Restart with addons disabled. This will help rule out any extensions you have installed locally. — xaosflux Talk 11:34, 2 March 2017 (UTC)

IP blocked last week, couldn't use the UTRS

Last week, when I tried to edit a page, I was notified that my IP address was blocked because of activities of another user. I tried to use the UTRS, indicating that I was requesting exemption from an IP block. When I submitted the form, the response was that my IP wasn't blocked. I went back and forth between trying to edit a page and trying to submit the UTRS form. In page editing mode I was consistently advised that I was blocked. The UTRS form consistently told me that I wasn't.

Ultimately I figured out that I could just put an unblock request on my own user talk page, which worked quickly. The block notice instructions actually say that, but it was obfuscated by the huge, expanded template right in the middle of the instruction as to what to add to my user talk page, such that I had to read really carefully to see that it was telling me what to do on my user talk page.

My grousing about the edit mode notification aside, I'm writing here to report the UTRS form situation. Largoplazo (talk) 18:20, 2 March 2017 (UTC)

Checkuser block on IP address 127.0.0.1

An editor was recently blocked for editing from the IP address 127.0.0.1 while his/her account was blocked. That is technically impossible (or at least highly improbable.) Can someone with technical experience look into it? I found this previous discussion in the archives. James J. Lambden (talk) 20:39, 2 March 2017 (UTC)

This isn't quite right. It's the autoblock unblock template that shows that address, which did not show up in CU and has nothing to do with the actual block. Why does the template show an irrelevant address? Doug Weller talk 20:56, 2 March 2017 (UTC)
That's just the default address used by the template when it's a numbered autoblock and it should be ignored. ​—DoRD (talk)​ 20:59, 2 March 2017 (UTC)
Now it makes sense. I'm sorry if I missed that explanation earlier. James J. Lambden (talk) 21:10, 2 March 2017 (UTC)

Infobox in Wikipedia app

I don't seem to be able to figure out how to view the infobox in articles in the Wikipedia mobile app. Is there in fact a way to do this? Air.light (talk) 03:31, 23 February 2017 (UTC)

You mean an infobox that is usually in top, or the navbox (usually near the bottom) that does not show in mobile view? Could you give an example article name? -DePiep (talk) 09:00, 23 February 2017 (UTC)
The Vancouver article is one such example. I'm talking about the infobox that appears at the top right of an article when viewing on a desktop computer. Air.light (talk) 00:56, 24 February 2017 (UTC)
@Air.light: Which mobile app, on which app platform ? —TheDJ (talkcontribs) 22:04, 26 February 2017 (UTC)
The app simply called "Wikipedia", on Android. Air.light (talk) 22:41, 26 February 2017 (UTC)

Pinging User:DBrant (WMF) for questions about the Android app. Whatamidoing (WMF) (talk) 21:57, 2 March 2017 (UTC)

Help with edit filters on Kurdish Wikipedia

Hi all, I'm trying to help the Kurdish community to improve their language Wikipedias (there are 2 of them) and one of the problems is a lot of vandalism. I am in touch with a lot of bilingual English/Kurdish speakers and they are looking for someone to give them advice about how they can implement edit filters to prevent some of the vandalism they are experiencing. Can anyone point me in the direction of someone who can help? Jwslubbock (talk) 16:46, 24 February 2017 (UTC)

It depends on the kind of vandalism that this wiki experiences. You can look at our filters or you can ask this question at m:Help_Forum where members of m:Small_Wiki_Monitoring_Team can help you. Ruslik_Zero 18:56, 25 February 2017 (UTC)
People familiar with edit filters on English Wikipedia tend to hang around WP:EFN. --Izno (talk) 01:24, 26 February 2017 (UTC)
I think that you might want to look into m:Objective Revision Evaluation Service, as anoter way to identifying edits that require prompt review. Whatamidoing (WMF) (talk) 21:58, 2 March 2017 (UTC)

Help re: references to NRHP documents readable in Microsoft Edge but not Chrome or Netscape

What the heck should be done, for readers, for thousands of references to National Register of Historic Places documents that are readable when you use Microsoft Edge browser, but which just show a blank in Netscape and which show gibberish in Chrome? I want to give them the link but warn them they should try a different browser if they can't read it. Can a program determine which of the documents will need such a warning?

This just came up in discussion at User talk:SusunW#Glen Mitchell House. The link at Glen Mitchell House to https://npgallery.nps.gov/pdfhost/docs/NRHP/Text/64500490.pdf is an example. How should users be warned? That example is unusual as it is not about a NRHP-listed property. Most links to these documents are from NRHP-listed places, e.g. Barden-O'Connor House's two links to https://npgallery.nps.gov/pdfhost/docs/NRHP/Text/64000855.pdf, one from an inline reference and one from the NRHP infobox.

This applies to most or all of the NRHP documents for "multiple property submissions" or "multiple resource areas" which are mostly listed at wp:MPS and which are cited in many thousands of articles, either in full references or more minimally by link from the NRHP infobox. All of these have NRHP reference numbers starting with "64". Most of the NRHP documents for individual properties or for historic districts are not subject to this problem. I am forgetting where, but perhaps some individual U.S. state's NRHP documents are all like this too.

Are there any other examples out there of classes of documents whose readability is browser-dependent? What is done for readers, if anything, in these cases? If the readers are using Microsoft Edge, they should have no issue. But if they are using Chrome, they should be given some warning.

It seems to me that the links should be kept but marked by a template giving warning to Chrome users, or if necessary to all readers, which could be easily altered if/when the browsers change. If Edge can read the documents, perhaps sometime Chrome can read them too. But this has remained as a steady problem for quite a long time (years i think) now, so it seems like we should do something for Wikipedia readers.--doncram 22:13, 2 March 2017 (UTC)

If a warning is used, it should suggest downloading the PDFs to read in a real PDF viewer. Ntsimp (talk) 23:07, 2 March 2017 (UTC)
Since when were PDF files only viewable using Microsoft products? If they're not viewable in Acrobat Reader (which is freeware), they should not be misdescribed as PDF files. --Redrose64 🌹 (talk) 23:16, 2 March 2017 (UTC)
They display fine using Reader if you download them, but the OP is correct, if you click on the links directly they appear perfectly well in Edge but not in Firefox or Chrome, so there's obviously something wrong with them. Black Kite (talk) 23:46, 2 March 2017 (UTC)
Glen Mitchell House does not link to https://npgallery.nps.gov/pdfhost/docs/NRHP/Text/64500490.pdf. I can download it with Firefox and open it with Adobe Reader 9.5.5. I can read it online in Opera 12.18 but not Firefox 51.0.1. I'm not a PDF expert and don't know whether it has poor compliance, uses rare PDF features or what. I would just make sure citations are marked as PDF files like |format=PDF in common citation templates, in addition to the automatically generated PDF icon. We don't know which past and future browser versions can read them or whether the publisher will change them so let's not start listing browsers where some editor's current version works. PrimeHunter (talk) 00:04, 3 March 2017 (UTC)
Odd that the article did not have the reference, I swear that i put it in today (and also that i revised related article on architect Bruce Goff earlier today), but maybe I did not hit "Save". Or why else would my edits disappear? Anyhow, another editor just added a version of the intended reference. --doncram 01:03, 3 March 2017 (UTC)
According to https://www.pdf-online.com/osa/validate.aspx, those two PDF files have invalid syntax. Some browsers are presumably better than others at working around syntax problems in PDFs. The best resolution is probably to correspond with the organization hosting the PDFs to see if they would be willing to run them through some sort of script to clean them up. I believe that Acrobat has a "PDF syntax" check in its preflight commands; that check could probably be turned into a script of some sort. It is not Wikipedia's job to fix bad PDFs, but we might want to create a page with a name like to Help:Viewing PDF files that tells people how to deal with PDFs that do not display properly (i.e. right-click and choose Save Link As, and similar advice). – Jonesey95 (talk) 00:44, 3 March 2017 (UTC)
This is a pretty big class of documents. Really they are linked from many hundreds/thousands of articles. I am pretty sure that the PDF files WERE readable in all browsers, this really was not a problem until a year or two ago. Then the browsers eventually changed, perhaps roughly with Windows 10 i dunno? I wonder were the files technically always in violation of some PDF standard that the browsers did not find to be a problem, then the browsers got more strict? Or did the PDF standard change? I could request to the National Park Service for all the files to be changed somehow (i don't understand how yet). It is possible that they would take action; they have been responsive to other requests about access to their documents. So I am taking from this discussion that there are not other examples of Wikipedia trying to handle browser-dependency in links given. --doncram 01:03, 3 March 2017 (UTC)
Thank you to you several respondents. This is helpful and enables me to correspond with the National Register now, with me now much better informed. I will try to follow up here about how it goes. Thanks! --doncram 04:06, 3 March 2017 (UTC)

Vanishing orphan template

This edit removed most of one of those multiple issues templates, leaving just the "This article is an orphan" template. In that diff, I can't see the orphan template on its own. When I restored the multiple issues template, there it was. I checked on the desktop versions of IE, Chrome, and Firefox and it's not there in any of them. Is anything wrong with the orphan template if it appears on its own? CityOfSilver 20:26, 3 March 2017 (UTC)

See Template:Orphan#Visibility; it's automatically hidden if it's both not in a {{multiple issues}} container and dated to older than the previous month. I disagree with this behaviour—not least because it's confusing, as you've experienced—but last I checked I'm in the minority. {{Nihiltres |talk |edits}} 20:31, 3 March 2017 (UTC)
@Nihiltres: I did not know that so thank you. The rationale there makes no sense. This measure is an effort at getting the orphan backlog under control. But whether or not these articles are on it or not can't possibly make a real difference when that backlog is permanently unstable. So why not maintain visibility to nudge people? CityOfSilver 20:51, 3 March 2017 (UTC)
There is plenty on this matter in the archives of Template talk:Orphan (and also in the VPT archives, we get asked about it every two or three months). --Redrose64 🌹 (talk) 21:46, 3 March 2017 (UTC)

A quick look at a graph

If possible could someone take a quick look at this graph discussed here [44]. Is this easy or complex to do? ManKnowsInfinity (talk) 16:55, 4 March 2017 (UTC)

"hovering" behaves differently in sandboxes vs mainspace

Hi folks! I'm a newbie, so this question is probably ancient. Sorry if so. When you hover over a superscripted reference number in an article in mainspace (I hope I'm using the correct terminology), a window pops up showing you the content of the reference so that you don't need to follow down to the references section. When you hover over the same sort of number in a sandbox (for example any of the references here, the window doesn't pop up. I'm using Firefox, but I doubt that matters. Why? Is there some way to fix that difference? Thanks, DennisPietras (talk) 03:11, 4 March 2017 (UTC)

The "default" behavior is to highlight the reference when hovering the link, on articles. You can enable more in your Gadgets settings - notably the navigation popups gadget. Do you have that enabled? — xaosflux Talk 04:02, 4 March 2017 (UTC)
@Xaosflux: No, I didn't have the nav popups enabled, and now that I do, it works fine!!! Thank you DennisPietras (talk) 21:30, 4 March 2017 (UTC)

VFC on en.wp

Is anyone here interested in porting the c:MediaWiki:VisualFileChange.js for use on Wikipedia? --XXN, 23:33, 5 March 2017 (UTC)

Ambiguity filtering problem

Wikipedia article titles are all capitalized, whether they start with proper nouns or not.

Given a list of random article titles, how can you automatically separate the list into two: one list with articles starting with terms that are always capitalized, and the other list with articles starting with common terms that are generally not capitalized?

I look forward to your replies. The Transhumanist 02:47, 1 March 2017 (UTC)

This sounds like a Microsoft interview question. I don't think there is a way to do it based on the article's title alone, but you could use categories as a way to do an initial division of articles into two or more groups. Anything in Category:Living people, for example, is very likely to be a proper noun. – Jonesey95 (talk) 03:59, 1 March 2017 (UTC)
@Jonesey95: (Maybe I should go screen applicants for them. I wonder, does MS ask applicants for the solutions to unsolved problems?)
That would take a lot of gathering of selection criteria, as the various relevant categories branch out into thousands of subcats. I've already found a way to filter out 2/3 of the titles. (Those with the last word capitalized virtually always have a capitalized first word). I'm left with filtering what's left over. The Transhumanist 05:04, 1 March 2017 (UTC)
There is no way to solve this problem completely simply by looking at any number of lists or categories on Wikipedia. There is an obvious programmatic method of answering the question. That would be to download the entire database of Wikipedia articles, and scan the text of each for its own title in the article body. Specifically, you would be looking to see if instances of the article title that are not at the beginning of a sentence are capitalized. This would then filter out into "always capitalized", "only capitalized in title", "insufficient data" and "inconsistent". Someguy1221 (talk) 04:09, 1 March 2017 (UTC)
@Someguy1221: Unfortunately, %%title%% doesn't work in AWB's database scanner's regex searches, which would make it easy via content searching. So I'm looking further afield for a solution. Please let me know if you have any more ideas. Thank you! The Transhumanist 05:04, 1 March 2017 (UTC)
A probably-saner way would be to get the set of Wikidata items which have a Wikipedia page in the mainspace and then see whether those items have labels which start with lowercase or uppercase. --Izno (talk) 04:20, 1 March 2017 (UTC)
@Izno: For what percentage would that work? The word "aerobics" is capitalized on Wikidata. The Transhumanist 04:45, 1 March 2017 (UTC)
A Wiktionary scan for {{wikipedia}} might produce a good comparison list. The entries on there are only capitalized for proper nouns. Thanks! I think this could work. The Transhumanist 05:36, 1 March 2017 (UTC)
@The Transhumanist: Right, Wiktionary would also work, but may not have the number of proper nouns which Wikidata has (which has the same rules give-or-take w.r.t. labels and page names). --Izno (talk) 13:23, 1 March 2017 (UTC)
@Izno: Wikidata seems convoluted. I typed "dog", then "cat", then "horse", and in none of those searches did the data item come up in the results. I expected it to jump straight to the page, like Wikipedia does. Or at least see that data item at the top of the search results. What the hell? Which makes me wonder how one would generate a list from Wikidata of item titles corresponding to Wikipedia articles. I have AWB. The Transhumanist 16:50, 1 March 2017 (UTC)

@The Transhumanist: That's odd. There may be an issue with the search service or your Javascript may not have loaded correctly. If you can reproduce the problem, that's one for d:WD:Contact the development team.

Regarding a list, I think the users at d:WD:Request a query can trivially help you with the entire query (while I can visualize the query, I'm not good at actually building them). --Izno (talk) 17:15, 1 March 2017 (UTC)
@Izno: yes, there is such problem with searching. Search for "As title. See" (without quotes) at Project chat. --Edgars2007 (talk/contribs) 08:49, 6 March 2017 (UTC)

I find it hard to believe that we could generate a list of categories such that an article should be categorized if and only if it's in at least one of them. For example, Thomson's gazelle would not be in any such category, yet it should always be capitalized because it starts with a person's name. By the way, any article which contains {{lowercase}} should definitely not be capitalized, even though many of them are in capitalization categories. For example, we have an article about a song at eBay (song) - and that song (as well as the web site it's named after) should be called eBay, not EBay. עוד מישהו Od Mishehu 09:12, 1 March 2017 (UTC)

We can't determine whether an article title begins with a proper name or not just by examining the title. We can't even do it satisfactorily by a human reading the text (such matters have been generating much heat in recent weeks at e.g. WT:UKRAIL). So there is no way that an automated process can do it. --Redrose64 🌹 (talk) 10:33, 1 March 2017 (UTC)
You can also start at Category:Infobox templates and make a list of infoboxes which are likely to require capitalization like in Category:Geography and place infobox templates, Category:People and person infobox templates, and infoboxes for works like films, books, albums, songs. PrimeHunter (talk) 12:20, 1 March 2017 (UTC)
The Wikidata query for this is something like this. Not that it's working without any filtering (by 'to looka t what kind of items'), bet ... P.S. Thanks to everyone about ideas. I had a similar problem for other language, now I have some more ideas. --Edgars2007 (talk/contribs) 08:41, 6 March 2017 (UTC)

Should search let you know if the search term is available in a different language?

I'm trying to respond to a request in OTRS (for agents ticket:2017030610010477)

I suspect this has been discussed but I'm not recalling such a discussion, so I'm hoping someone can point me either to a discussion with this has been proposed and rejected or if it can work but I'm just not doing it correctly.

All illustrate with an example.

There is no article in the English Wikipedia about Konstantin Meyl, but there is one in the German Wikipedia. While it may be useful to create a translation at some time, in the interim it may be helpful for the search bar to suggest that there is such an article in a different language. People who have multiple language skills may think to search first in the English Wikipedia but may be perfectly comfortable reading it, in this case, in German.

In addition, given that we now have the ability to do translations, shouldn't this be something that is provided in the search? Currently the search suggests there is nothing for the reader.--S Philbrick(Talk) 15:03, 6 March 2017 (UTC)

@Sphilbrick: I can't find it right now, but this is something that's in development and/or already functioning to some degree. I found T3837 which seems to be related, but I'm pretty sure I've seen a working version of searching and receiving a suggestion from another language Wiki. Sam Walton (talk) 15:10, 6 March 2017 (UTC)
Yes there is some work going on regarding this topic. See the large epic story phab:T145918. You can test out some of that work by using the cirrusUserTesting=recall_sidebar_results flag in the search url. See for instance English Wikipedia, polish wikipedia, Farsi, Catalan. It's far from finished however, can be quite resource intensive and especially the cross language search isn't part of it yet I believe. It's being worked on however, which cannot be said about the 10 years prior :) —TheDJ (talkcontribs) 15:25, 6 March 2017 (UTC)
Thanks for the timely responses. I'm happy to hear that it is being worked on currently.--S Philbrick(Talk) 15:53, 6 March 2017 (UTC)

23:23, 6 March 2017 (UTC)

time parser function

I had edited WP:AFD/T a few days ago to use the following parser function to transclude the current day's page: {{Wikipedia:Articles for deletion/Log/{{#time: Y F n}}|}}. The documentation says that absent an input value, the time parser function uses {{CURRENTTIMESTAMP}}. However, the page transcluded was the page as of March 3 (the edit date) and did not update, even if the page was purged. What am I missing here? — Train2104 (t • c) 22:15, 6 March 2017 (UTC)

n is the month index, i.e. the month as a number, currently 3 for March. See mw:Help:Extension:ParserFunctions##time. PrimeHunter (talk) 22:25, 6 March 2017 (UTC)
D'oh! Thanks... — Train2104 (t • c) 23:26, 6 March 2017 (UTC)

Edit Summary box (text) size

Hi - as I type in the edit summary box I can only see the top half of the text. This came about recently tho I aint made any changes in Preferences section for ages. I've looked everywhere for a fix but no dice. How do I increase font size in the edit box, or the box size itself? Thanks. MarkDask 04:22, 7 March 2017 (UTC)

See if the fix described here doesn't help your situation. Dhtwiki (talk) 04:52, 7 March 2017 (UTC)
Excellent - thanks MarkDask —Preceding undated comment added 05:37, 7 March 2017 (UTC)

Please comment here -> MediaWiki_talk:Wdsearch.js#Add_link_to_search. --Superchilum(talk to me!) 09:31, 7 March 2017 (UTC)

Horizon project

I recently became aware of the Horizon project, apparently something wikitech-related. It has been, for the lack of a better description, eating pages on the English Wikipedia (try editing that redirect to see what I mean). Is there some sort of workaround? Do we really need a "Horizon:" shortcut for that project? Huon (talk) 00:54, 3 March 2017 (UTC)

horizon was added to meta:Interwiki map 22 April 2016 [51] after meta:Talk:Interwiki map/Archives/2016#Horizon. Nearly all Wikimedia projects have an interwiki prefix, and many users expect it to be so and look for the prefix. Existing page names starting with it and a colon become inaccessible with normal methods, and new pages cannot be created. I wouldn't worry about it when no article disappears in a black hole (which has happened for other prefixes). PrimeHunter (talk) 01:21, 3 March 2017 (UTC)
User:Luke081515 and User:MarcoAurelio will probably want to know about this, so they can try to figure out whether any other projects have 'lost' pages this way. WhatamIdoing (talk) 06:30, 3 March 2017 (UTC)
Thanks for the ping. Sadly this is not new. I've had a discussion in the past when the interwiki prefix "vd:" was added as an alias for Wikidia. It caused that an entire wiki namespace aliases to break. I resolved it by removing the interwiki link and asking a developer to update the database, not without much discussion from the supporters of that interwiki though. The easiest solution would be for a developer to run namespaceDupes.php, first in dry-run mode, to see how many links are bad. Trying to edit those pages will result in an error so it needs to be done by the back door. Other option would be to request the removal or modification of the Interwiki prefix at m:Talk:Interwiki map, but given that this is a Wikimedia service, I doubt that the request would be granted. I'd suggest to use the first option (namespaceDupes.php or cleanupTitles.php). I'll ask at Phabricator for the list of broken titles and will let you know. Regards, MarcoAurelio (talk) 08:10, 3 March 2017 (UTC)
While removing an interwiki to horizon: may not be supported, changing the identifier to something else (e.g. horizonlabs:) could be. — xaosflux Talk 12:30, 3 March 2017 (UTC)
+1 to removing horizon in favor of horizonlabs. Generally speaking, I think we should be a little more vigilant on adding new IW prefixes to make sure they're not introducing super obvious conflicts like this one. ^demon[omg plz] 17:47, 3 March 2017 (UTC)

The horizon: IWL is not horizonlabs: and the IWM is updated so this should not be a problem no more. Regards, MarcoAurelio (talk) 13:52, 7 March 2017 (UTC)

Forgotten password

Is there anyway of getting a new password if there is no email address registered for the account? I created a login account two days ago and although I am sure of the password I used I am obviously wrong?

Also CAPTCHA is giving the same word every time, and will not reset either?

49.182.80.11 (talk) 14:19, 7 March 2017 (UTC)

You have to create a new account with another name. The CAPTCHA issue is known and discussed at phab:T159607. PrimeHunter (talk) 14:28, 7 March 2017 (UTC)

Missing comment for admins in speedy deletion templates

Until recently, any speedy deletion template had a small message which said something along the lines of "Admins, please check the page history before deletion", when the word "deletion" was a link to the deletion page, with the deletion reason already filled out. Any idea what happened to that message? עוד מישהו Od Mishehu 13:27, 7 March 2017 (UTC)

I see this with various links on all examined pages in Category:Candidates for speedy deletion: Administrators: check links, history (last), and logs before deletion. It's only displayed to admins. Can you give an example where you don't see it in your admin account? It's made by {{Db-meta}} and I also see it on the template page. PrimeHunter (talk) 14:03, 7 March 2017 (UTC)
Please see the screenshot at File:No deletion link in tag.png, made while logged in under this account. עוד מישהו Od Mishehu 19:54, 7 March 2017 (UTC)
I also see the text there. Maybe MediaWiki:Group-sysop.css isn't working for you. What is your skin and browser? Do you see text here: This text is in class="sysop-show". I see This text is in class="sysop-show". I use Vector and Firefox. PrimeHunter (talk) 20:40, 7 March 2017 (UTC)
No, I don't see that text. And I use Firefox and the Monobook skin (in my screenshot. you can see the tabs on top). עוד מישהו Od Mishehu 21:54, 7 March 2017 (UTC)
How about https://en.wikipedia.org/wiki/User:Nidhifathima?withCSS=MediaWiki:Group-sysop.css, or https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)?withCSS=MediaWiki:Group-sysop.css#Missing_comment_for_admins_in_speedy_deletion_templates. I see the text there even if I'm logged out. The class sysop-show is hidden by MediaWiki:Common.css and then made visible for admins who should automatically get MediaWiki:Group-sysop.css. PrimeHunter (talk) 23:33, 7 March 2017 (UTC)
I'm wondering if it's something in User:Od Mishehu/common.js. Try blanking that page, see if the class="sysop-show" text becomes visible. If it does, restore items to User:Od Mishehu/common.js one by one until you find out which one is hiding it again. --Redrose64 🌹 (talk) 00:27, 8 March 2017 (UTC)
Thanks, found the problem. עוד מישהו Od Mishehu 04:07, 8 March 2017 (UTC)

WikiMiniAtlas with overlay

Hi, Is it possible to disable the overlay on the WikiMiniAtlas for a specific page. On Ottawa River page the {{coord}} 100km scale is substituted by the 2km scale of the overlay. thx --YB 13:22, 8 March 2017 (UTC)

Captcha not working

Not that I really mind, but over the past couple of days the captcha for IP editors does not update properly. Tonight it is "glibhaber"-- every time.104.163.140.193 (talk) 08:28, 5 March 2017 (UTC)

Seems to be related to T159607 (and its subtask). Sam Walton (talk) 17:52, 5 March 2017 (UTC)
still not working.104.163.140.193 (talk) 08:34, 6 March 2017 (UTC)
Still not working. "clemglory" eight times in a row. 2600:1002:B103:C87C:E87E:1AA8:8787:5283 (talk) 17:17, 8 March 2017 (UTC)

Request for all uses of Template:Open-source attribution to be updated to Template:Free-content attribution

Hi

The template Template:Open-source attribution has been moved to Template:Free-content attribution, this is causing me problems in tracking where content from different organisations is being used on Wikipedia. Please could a friendly wizard be able to change all instances of {{Open-source attribution to {{Free-content attribution ? It is less than 100 pages.

Many thanks

--John Cummings (talk) 10:22, 7 March 2017 (UTC)

Requests like this can be posted to Wikipedia:AutoWikiBrowser/Tasks but we usually don't edit a page just to replace a redirect. What is your tracking method? hastemplate:"Free-content attribution" also finds pages using redirects. PrimeHunter (talk) 11:09, 7 March 2017 (UTC)
Thanks PrimeHunter, all the pages using Template:Free-content attribution that have a publisher are added to a category for free content from that organisation, this allows any organisation to understand where the content from their organisation is used. Unfortunately Template:Open-source attribution doesn't have this functionality. Also it will make thing much easier in future when doing tracking tasks to not have to account for a small number of files in another category. --John Cummings (talk) 12:46, 7 March 2017 (UTC)
Template:Open-source attribution redirects to Template:Free-content attribution. It makes no difference to the result which of the templates is used. That's how template redirects work. If you are missing a category somewhere then it has another cause. Can you give an example of a page where you are missing a category? {{Free-content attribution}} omits [[Category:Free-content from ...]] if there is an unnamed parameter. I'm not sure why. Pigsonthewing made the code in [52]. PrimeHunter (talk) 13:16, 7 March 2017 (UTC)
The code in 9 is what I need, its a really helpful tool that makes it possible to measure page views. Basically it will add all the open license text reuses to Category:Free-content from UNESCO, which means I can use TreeViews to easily measure page views for the content. Having them all under one template will also allow me to use other methods to look at which articles come from specific publications using a Regex Search. Basically having two templates doubles the amount of work I have to do for any metrics collection. Can you explain why it is a problem to switch the template names? I don't understand why its a problem. --John Cummings (talk) 14:49, 7 March 2017 (UTC)
As I said, the used template name has no effect on categories. You still haven't given an example so I cannot see what the real issue is but I guess it's an unnamed parameter. See WP:NOTBROKEN about changing working redirects. Some users don't like additions to page histories, watchlists and recent changes for something so minor with no effect on the result. PrimeHunter (talk) 19:18, 7 March 2017 (UTC)

I'm sorry I'm not explaining myself very well, here is an example of where having two templates names different things breaks the metrics tool, it can't pick up on both the templates at once. Thanks --John Cummings (talk) 21:48, 7 March 2017 (UTC)

As I said, hastemplate:"Free-content attribution" also finds pages using redirects so you can just use that instead of insource:"Free-content attribution". insource is an inefficient and unreliable method to find template use. PrimeHunter (talk) 22:34, 7 March 2017 (UTC)
Hi PrimeHunter, ok thanks, that works, thanks for being so patient explaining things. One last question, I'm getting a weird result and I don't understand why, if I search for hastemplate:"Free-content attribution" UNESCO I get a different result to hastemplate:"Free-content attribution" unesco.org despite both terms being present in all pages that come up when I just search UNESCO. Do you know why? This will be problematic when trying to do searches for specific subsets of information.
Thanks again
--John Cummings (talk) 09:46, 8 March 2017 (UTC)
Massviews uses Wikipedia's own search so the same test can be made here. hastemplate:"Free-content attribution" unesco.org finds pages where unesco.org is displayed in the rendered page. But unesco.org is usually part of a non-displayed url. hastemplate:"Free-content attribution" insource:unesco.org also finds those cases. It gives 88 results like hastemplate:"Free-content attribution" UNESCO. I haven't examined whether it's the same 88 pages. PrimeHunter (talk) 11:23, 8 March 2017 (UTC)
Perfect, thanks very much for your help PrimeHunter. --John Cummings (talk) 17:35, 8 March 2017 (UTC)

Main page column widths

Please see the discussion at Talk:Main Page#Main page column widths regarding balancing the Main page and provide your comments. Stephen 00:42, 9 March 2017 (UTC)

Account created date missing

At Special:NewPages I noticed when I hovered over Jbignell's name that WP:NAVPOP omits their account creation date, "1336 edits since: , last edit on 2017-03-08". It doesn't seem to be a popup error because it's also happening at Special:ListUsers/Jbignell. I've seen this behaviour before on other accounts but I can't recall which accounts were affected. Anybody got an idea what's going on? Thanks, Cabayi (talk) 11:38, 8 March 2017 (UTC)

Should mention, the data IS available. XTools reports it, [53]. Cabayi (talk) 11:39, 8 March 2017 (UTC)
What xTools reports is not when the account was registered, but rather when the first edit was made. What other tools use is when the accounts registered. Some accounts predate when account creation timestamps where logged.—CYBERPOWER (Chat) 11:47, 8 March 2017 (UTC)
Not the case here. This happens for a number of accounts created in late 2005. You can find the date at the bottom of this page. -- zzuuzz (talk) 11:49, 8 March 2017 (UTC)

Is this something I need to add to my account?JBignell (talk) 11:57, 8 March 2017 (UTC)

Not at all. One day the developers might get around to fixing it for you, but it's not any kind of problem. -- zzuuzz (talk) 12:03, 8 March 2017 (UTC)
The user creation log was made in September 2005: Wikipedia:Wikipedia Signpost/2005-09-12/New user log. The oldest entries are from 7 September 2005.[54] I think some of the early entries were not registered in the same way as today. Jbignell can only be found by searching Performer and not Target. PrimeHunter (talk) 12:26, 8 March 2017 (UTC)
Apologies to Jbignell, I didn't mean to alarm you, but nor did I want to talk about your account behind your back.
Thanks to Cyberpower678, zzuuzz, & PrimeHunter for putting me straight. I had looked at Special:ListUsers/Koavf, "(Created on 5 March 2005 at 20:22)", who lies outside the date range given, yet still has an account creation date. The only difference I can see is that Koavf has been granted extra permissions over the years. Cabayi (talk) 15:26, 8 March 2017 (UTC)
I once read somewhere that some old account creations from before the log was introduced were added later based on some data. The alleged account creation is the same minute as the oldest edit so maybe the edit was used. Koavf is not listed in the user creation log Special:Log/newusers. PrimeHunter (talk) 15:39, 8 March 2017 (UTC)
@PrimeHunter: Yes, that's correct. It's based on the user's earliest edit as recorded when the dates were added (I don't know when that was). That's the same as the user's first edit *ever* 99.99% of the time, unless an earlier edit by the user was later imported from somewhere like the Nostalgia Wikipedia. An example where this is the case is Jimbo Wales, whose account creation date as recorded by Special:Listusers and earliest edit date as recorded by Special:Contributions don't match. Graham87 07:14, 9 March 2017 (UTC)

Problems editing in desktop view on a mobile device

I sometimes access Wikipedia with a tablet when I don't want to boot my computer up. I love the app for reading, but when I'm in "editing mode" (ie I'm looking at internal pages, page histories, contributions, watchlist, as well as actually editing) I use the desktop interface through Chrome, as I'm doing now. I appreciate that this makess me a 'power user' and not a typical case, but in the last week or so, I've frequently been redirected to the app when I've tried to load a Wikipedia page in Chrome (which for "Special:" pages results in being redirected back to chrome but to the mobile site). Selecting "request desktop site" or clicking the "desktop" link on the page has no effect. The only way to get back to the page I want is to manually manipulate the URL in Chrome after being re-re-directed. Has anyone else had similar issues? Is there anything that can be done about it? Thanks, HJ Mitchell | Penny for your thoughts? 15:41, 8 March 2017 (UTC)

Are you using the iOS or the Android app? Whatamidoing (WMF) (talk) 16:36, 8 March 2017 (UTC)
Android. :) HJ Mitchell | Penny for your thoughts? 16:38, 8 March 2017 (UTC)
incidentally I got stuck in this looposition again as I saved the above comment. The edit saved but the page opened in the app and I couldn't get back here in Chrome without making the app redirect me to the mobile site and then manipulating the URL. HJ Mitchell | Penny for your thoughts? 16:44, 8 March 2017 (UTC)
Maybe this will help you: https://www.howtogeek.com/howto/43135/how-to-change-the-default-application-for-android-tasksTheDJ (talkcontribs) 17:24, 8 March 2017 (UTC)
I'll try that. Thanks, DJ. HJ Mitchell | Penny for your thoughts? 08:53, 9 March 2017 (UTC)

Deliberate error category or tag

Is there a category or template that logs pages with deliberate errors on them? I'm thinking about Document pages mainly, where having an error on display is useful to teach the user what to look for and how to fix it. - X201 (talk) 11:28, 7 March 2017 (UTC)

I have never seen a category that tracks deliberate errors. Several templates/modules have a technique to not add a category when a deliberate error is shown on a documentation page. For example, {{val}} uses nocategory=yes and {{navbox}} uses tracking=no, while {{convert}} only includes a category on articles, so nothing is needed for documentation pages. Johnuniq (talk) 21:41, 7 March 2017 (UTC)
OK, Thanks - X201 (talk) 10:16, 9 March 2017 (UTC)

How do I find out why an edit filter exists?

I just found out about Special:AbuseFilter/550, and I'm curious: is adding nowiki tags a frequent indicator of vandalism or something? It seems like something non-regulars wouldn't know about.

Even if someone can answer this particular question, I'm more curious if these were established by community consensus somewhere (on meta?) and where I can find that info.

Hijiri 88 (やや) 10:53, 9 March 2017 (UTC)

Adding nowikis is often the mark of a newbie doing something they shouldn't, probably using the nowiki button on the formatting toolbar. Considering the filter has been disabled a couple of times, and the last entry in the notes says, "Enabling for a short time. Need to test ...", I'd suggest it's probably a candidate for disabling. A lot of filters are created without much discussion. There's some talk in the archives here. The filter's original name was, "Page mutilated by visual editor", which seems to accurately reflect its origin. -- zzuuzz (talk) 11:08, 9 March 2017 (UTC)
(edit conflict) Ah, right. I forgot there was a button. I always do it manually, and it's essentially the only filter I've triggered that I could figure out what it was supposed to do, just not why. (A bunch of random edits to my own talk page in autumn 2015 apparently triggered filter 1, but I don't really know or care why, and filter 650 makes obvious sense.)
Anyway, thanks for clearing that up!
Hijiri 88 (やや) 11:23, 9 March 2017 (UTC)
See also Wikipedia:Edit filter/Requested. VisualEditor used to add a lot of nowiki tags the user didn't write. VisualEditor wouldn't let users write markup code directly so it automatically added nowiki tags to any attempt or anything it thought was an attempt. PrimeHunter (talk) 11:16, 9 March 2017 (UTC)
Huh. That's interesting. I've been ignoring VisualEditor, honestly. Never understood the appeal; my technophobe dad figured out wiki markup for himself, so I find it difficult to imagine the community is expanded a lot by VE's existence. Hijiri 88 (やや) 11:23, 9 March 2017 (UTC)

References with the same name

Dear editors: I occasionally accidentally give two references the same name; usually the parser complains loudly in red ink, prompting me to fix the problem. Today, however, when I was working on a draft in my user space, HERE, the software combined two references with different content but the same name. In this case it was because the citation tool automatically named the magazine issues by the year. I noticed it because I've only just started on this draft and there were only three references, so I easily saw that one was not showing up. Is this a new "feature", or is it a bug? I can fix it on my draft by changing the reference name to something else, but I fear that in a longer article the merging may go unnoticed.—Anne Delong (talk) 08:35, 9 March 2017 (UTC)

@Anne Delong: Reference error messages are hidden in various namespaces by default, but can be shown if you add something to your CSS file - see H:SHOWCITEERROR. -- John of Reading (talk) 09:06, 9 March 2017 (UTC)
Thanks, John of Reading; I hadn't noticed that. A "feature, then. It seems an odd choice to have the little blue number from one reference be used to represent a different one, when the software has already detected that it's an error. However, since the problem will be flagged right away when a page is moved to mainspace, I'll leave my CSS as is so that I see what everyone else sees, and just take care to recheck the references each time I move a page.—Anne Delong (talk) 13:57, 9 March 2017 (UTC)

Curious about Template talk:Did you know sidebar

A minor thing - on Template talk:Did you know I see a separate scrollbar for the left-hand sidebar menu; it looks like it's being treated as a separate pane. This doesn't seem to appear on any other pages (which is a bit of a shame, as it's quite useful). I'm just curious as to what causes that, and whether I can get other pages to display the same way. It only seems to work when I'm logged in to my main account, so I'm guessing it's one of the scripts I'm running... (browsers used are Chrome 56.0.2924.87 and Firefox 51.0.1, FWIW). Any ideas? Yunshui  14:40, 8 March 2017 (UTC)

I see a scrollbar in the table of contents on the right, made with {{Fancy TOC}}. The sidebar is where the Interaction and Tools menus are. Is it really there you have a scrollbar? What is the first and last item? What is your skin? Maybe Fancy TOC interferes with something for you. Do you see it at other pages at Special:WhatLinksHere/Template:Fancy TOC? PrimeHunter (talk) 15:22, 8 March 2017 (UTC)
Doesn't seem to be the {{Fancy TOC}} template - none of the other pages that use it seem to show the same effect. The scrollbar affects everything on the left, from the Wikipedia logo at the top down to the Languages links at the bottom. I do have ResponseHelper running, which does mess about with some of options there, as well as igloo and reFill. I'm using the default Vector skin, if that's any help.
To be honest I wouldn't suggest you lose any sleep over it - I'm asking more to satisfy my own curiosity than anything. Thanks for the response nevertheless. Yunshui  14:33, 9 March 2017 (UTC)

"Loss of session data"

I am a long-term editor, but in the last couple of days I've been unable to edit from my laptop while logged on because I get the message: Sorry! We could not process your edit due to a loss of session data. Please try saving your changes again. If it still does not work, try logging out and logging back in.

I've logged off, logged on again, and each time I log on I get the slightly weird message: Central user log in - No active login attempt is in progress for your session. - Return to the previous page. though the logon appears to succeed. But I still can't edit. I've also rebooted the laptop.

About the time that this started I was trying to work out how to edit my common.js (which appears not to exist) following instructions at Wikipedia_talk:WikiProject_Women_in_Red/Archive_12#Gadget_for_facilitating_data_entry_to_Wikidata_for_new_Wikipedia_articles. I don't appear to have succeeded in creating a common.js, as if I go there again now it invites me to "create" rather than "edit" it. I don't know whether that's coincidence.

I've managed to do a few edits from my phone during this time, though that's laborious.

Any ideas on what's gone wrong / how I can fix it? 92.5.97.181 (talk) 14:15, 9 March 2017 (UTC)

Can you try going to https://login.wikimedia.org and logging in and out there ? If that works, please do report back on success. If that doesn't work, you will need to delete the cookies for the wikipedia.org and wikimedia.org domains. Information on how to do that in Chrome can be found here. —TheDJ (talkcontribs) 14:41, 9 March 2017 (UTC)
Oh, and do you use Firefox ? There is a known problem with Firefox atm and loss of cookies, so if you could confirm or deny usage of that browser, then that would also be very useful. —TheDJ (talkcontribs) 14:59, 9 March 2017 (UTC)
@TheDJ: Thanks for picking this up: I tried logging on to https://login.wikimedia.org and it appeared to be successful, so I logged out. And yes, I use Firefox. 92.5.97.181 (talk) 15:06, 9 March 2017 (UTC)
@TheDJ: Definitely Firefox-related: I've just tried to log on and edit using the Edge browser which comes with Windows 10, and managed to do a test edit to my sandbox. So in practical terms I can continue editing, though I'd be much happier if I could do so in Firefox. Is there a workround for the Firefox problem or are we waiting for them to mend their code? 92.5.97.181 (talk) 15:10, 9 March 2017 (UTC)
The work around is to delete all cookies that firefox has for all *.wikipedia.org and *.wikimedia.org domains. They are going to be releasing a fix for this in the next month or so, but for now, deleting all the cookies is the only workaround. —TheDJ (talkcontribs) 15:21, 9 March 2017 (UTC)
@TheDJ: Thanks, I found out how to delete those cookies, and it seems to have worked. Thanks for your help! 92.5.97.181 (talk) 16:22, 9 March 2017 (UTC)
https://bugzilla.mozilla.org/show_bug.cgi?id=1319403 implies that there will be an improvement in Firefox 53. --AKlapper (WMF) (talk) 18:53, 9 March 2017 (UTC)
But History of Firefox#Version 52 (ESR) is the last version to support Windows XP and Windows Vista.[55] I use Firefox on Vista and deleting cookies solved the issue for me (so far). PrimeHunter (talk) 19:02, 9 March 2017 (UTC)

AfD template problem

At Wikipedia:Articles for deletion/Ulmus americana 'JFS-Prince II' = Colonial Spirit[56] Twinke delivered a poor AfD template, and I couldn't correct it (so I removed the bad part). I presume the "=" in the rather complicated article title is the culprit. Any help in getting this right is appreciated. Fram (talk) 13:31, 10 March 2017 (UTC)

Fixed by adding |1= to unnamed parameters with equals signs.[57] See the first bullet at Help:Template#Usage hints and workarounds. This could be reported to Twinkle. See Wikipedia:Twinkle#Quick info. PrimeHunter (talk) 13:50, 10 March 2017 (UTC)
Thanks (both you and Cryptic). I must have known this, once upon a time, but clearly not any longer! Fram (talk) 14:12, 10 March 2017 (UTC)

Interesting 2017 update edits on Wikipedia article in comparing to 2015

There were interesting update edits which were done on Wikiproject tabulations for 2017 here [58]. There is still alot of blank 'white' space in that graph and possibly there is a way of preserving the old data results by simultaneously adding the old data from 2-3 years back into the graph to stand as column graphs superimposed and next to the brand new 2017 columns. There's lots of 'white' space unused in the chart space area and it might be nice to see the growth aspects of Wikipedia charted in comparing the old data from 2015 to the new data in 2017. Can these graphs be superimposed side-by-side? ManKnowsInfinity (talk) 16:42, 10 March 2017 (UTC)

Geo-api issue

https://en.wikipedia.org/w/api.php?action=query&list=geosearch&gslimit=500&gsradius=8840.83476483185&gsprop=region&gscoord=51.4413646847267%7C0.397224351924451&format=json should pick up Denton Halt, but it does not. Any ideas why? All the best: Rich Farmbrough, 21:49, 8 March 2017 (UTC).

The API returns primary coordinates only by default. The coordinate wasn't marked as such, I did that now. It is possible to request secondary coordinates, however the result is pretty useless as it includes e.g. coordinates mentioned in passing. Max Semenik (talk) 22:22, 8 March 2017 (UTC)
Many thanks. All the best: Rich Farmbrough, 21:14, 10 March 2017 (UTC).

Idea: Make the use of ping more easy for new users (phab:T159908)

Browsing through talk pages I noticed the following: A new user had asked another user a question and started it with @username. He probably expected the other user to be notified, but as it does not work this way in mediawiki, never got an answer.

So, it would be easy to do a javascript, that scans through input boxes and if a "@" at the start of a line or preceded by a space is found, then if the following word matches an user name or a sig of an user that is either mentioned on the page or can be verified by an api call to be a local user, then the script opens a box with a text that tells an ip-user to login and then use ping, or asks a logged in user, if this should be transformed to a wiki link to that user.

But this does only make sense, if it is not an user script or gadget, but only if it is integrated in the system javascript of all wm-sites.

Additionaly there could be gadgets to allow experienced users to opt out or alternatively to skip the box questioning, if the transformation should be made.

Local wikis could set a configuration variable, so that the script inserts a local ping template instead.

(original idea was modified after input from MusikAnimal) --𝔊 (Gradzeichen DiſkTalk) 03:01, 8 March 2017 (UTC)

@°: Even though IP users can't be pinged, they can ping registered users. Graham87 07:28, 8 March 2017 (UTC)
I didn't knew, that they can ping, but most will not know, that @name will - unlike most other websites - will not do the trick. --𝔊 (Gradzeichen DiſkTalk) 09:44, 8 March 2017 (UTC)
We allow spaces in usernames so it could be problematic to automatically determine who a user is trying to ping. PrimeHunter (talk) 12:34, 8 March 2017 (UTC)
Flow's system is kind of nice for that: it pops up a box that searches for the username (which is particularly helpful when you're trying to remember the exact spelling or capitalization for an unfamiliar name). But absent something like that, I think that PrimeHunter is right: it's going to be difficult to detect the end of the username. Whatamidoing (WMF) (talk) 16:33, 8 March 2017 (UTC)
The script could search through the page for [[user:(.*){\|\]} (sigs with a space) and if there are matches, that contain a space, use the found prefixes to test "@" sequences. --𝔊 (Gradzeichen DiſkTalk) 19:33, 8 March 2017 (UTC)
If someone types @Are you sure?, how will your proposed script figure out whether to ping Are you or Are you sure?? Whatamidoing (WMF) (talk) 19:26, 9 March 2017 (UTC)
Good question. What I imagine might be possible though idle speculation up ahead: is to use the edit filter system to at least give other users a way of finding those attempts and explaining how pinging works. Maybe a filter that looks for the addition of @ in the various talk namespaces by non-registered and new users. (Limit should probably be higher than merely (auto)confirmed, someone who's been around a few days and made maybe two dozen edits is still almost as likely to make that mistake as a non(-auto-)confirmed user is.) Probably should have at least the more common e-mail providers in as exceptions lest it throws around false positives like candy every time a new or IP-user tries to add a hotmail (or gmail/msn/yahoo/etc.) address in a talkpage message.
Could add a tag like 'possible failed pinging attempt' or the likes so other editors can at least find them and explain how to actually ping (and who knows, some of the new/IP users might actually click the link and figure out what they did wrong). Maybe throw up a warning explaining what's going on, too, provided it's actually possible to append a custom 'warning' to a specific filter rather than the general 'might be unconstructive' warning I know filters can throw up—that one would be counterproductive and confusing here, not helpful. AddWittyNameHere (talk) 20:05, 9 March 2017 (UTC)
@Whatamidoing (WMF): That would only be a problem, if both "Are you" and "Are you suree" have posted before on the page in question,. But even in that case. it would not be a problem, because the script does not automatic translate the text, but open a box, to ask the user, if the transformation should be made (and can then tell, what username has been found). --𝔊 (Gradzeichen DiſkTalk) 20:29, 9 March 2017 (UTC)
This is not going to fly, sorry. Perhaps something that was opt-in would be ok, but many editors (I'm one) are not keen on being pinged all the time. When indenting is not quite enough to clarify what my reply is addressing, I may prefix a comment with "@Example" and I definitely do not want an automatic ping generated. Rather than generating automatic pings, development should be done to show a pop-up alerting the sender about how many pings they have sent because editors are still confused and think that fixing a typo in a ping will cause a new ping to be sent. Johnuniq (talk) 00:59, 10 March 2017 (UTC)
Perhaps opt-in: IP-users cannot opt-in, new users will not know about an opt-in.
many users (I'm one) (== power users) -> this users could opt-out (and will know how to)
definitely not automatic: It is not automatic, but asks, if you meant to ping, and tells you how to (unless you opt-out)
development should do a pop-up: There is: in preferences/notifications enable "successful notifications" / "failed notifications"
WMF/WMDE do spent money to find new authors for wikipedia. But if a new user comes here, he finds an unusual, strange and complicated editing system. Emulating known notification behaviour of other sites would help new users.
--𝔊 (Gradzeichen DiſkTalk) 22:27, 10 March 2017 (UTC)

New filters for edit review

It looks like there is a new approach to RecentChanges available on the Beta Cluster. To have a look, go to these two pages:

You will need a separate account on the Beta Cluster to try this out. It can have your usual name, etc., but please please please heed the warning against re-using a password from any other account. Whatamidoing (WMF) (talk) 04:07, 12 March 2017 (UTC)

Automagic columns for refs

Another update (you'd think that the quarter was ending in another couple of weeks or something:  ;-)

In 2011, the German Wikipedia requested that Mediawiki and Cite.php be updated to automatically provide columns, without needing a template or user script, if there were more than a few <ref>...</ref> tags on a page. Six short years later, this request has been granted, and it's finally ready for production.

This is a major improvement for accessibility, simplicity, performance, etc. It provides dynamic columns based on each reader's screen width, but keeps a single column if there are fewer than 10 refs on the page. (IMO this feature is particularly nice because it eliminates any need to manually update the reflist template if someone adds or removes a lot of sources from a page.)

Also, it is (sort of) incompatible with the current state of the {{reflist}} template, whose use has since doubled(!) at the English Wikipedia in the meantime.

So to avoid screwing up a minority of articles here, this feature is being deployed "default-off" everywhere. Getting it turned on at a local wiki requires a config change by the devs. If you are aware of a wiki (Wikipedia or any other project) that's ready to go, then please let them know (e.g., file a Phab task or leave a note at mw:Talk:Editing/Projects/Columns for references). But otherwise, I think that the main point to remember when you see Tech New on Monday is that this is not changing anything visible right now. Whatamidoing (WMF) (talk) 04:33, 12 March 2017 (UTC)

Structured data at Commons

My team's hiring someone to work on c:Commons:Structured data. If you're interested, the job description is at https://boards.greenhouse.io/wikimedia/jobs/610643 Whatamidoing (WMF) (talk) 04:54, 12 March 2017 (UTC)

They are also hiring a product manager: https://boards.greenhouse.io/wikimedia/jobs/609403

I have the gadget called "Add an [edit] link for the lead section of a page" enabled, and have done for as long as I can remember. Just in the last couple of days, probably since Thursday, the "edit" link for the lead section shows in a different font from the "edit" links for all of the other sections on the page. This is happening in every namespace, as far as I can tell. Is it just me?

The lead section "edit" link shows in a serif font, and the regular edit links show in the usual sans serif font used for body text on pages. I am using the Vector skin and have made no changes to my skin or Preferences recently. – Jonesey95 (talk) 04:20, 11 March 2017 (UTC)

Not just you, this also changed for me in the last couple of days. Jenks24 (talk) 11:48, 11 March 2017 (UTC)
I see serif in Vector but sans-serif in Cologne Blue, Modern and MonoBook. The gadget code is in MediaWiki:Gadget-edittop.js and MediaWiki:Gadget-edittop.css. PrimeHunter (talk) 12:37, 11 March 2017 (UTC)
I submitted a bug report via Phabricator. – Jonesey95 (talk) 04:59, 12 March 2017 (UTC)


I've tried to run IABot via Fix dead link tool at the List_of_wheel-well_stowaway_flights, but after analyzing nothing happened: the statistics said "Links analyzed: 79 Links rescued: 0 Links tagged: 0 Links archived: 0". The page still contains unfixed dead links. Why is that? Is this feature still in development? Brandmeistertalk 15:52, 10 March 2017 (UTC)

That IABot does not fix the links right away is normal. This is an feature that tries to ensure that the bot does not replace links that are not accessible intermittently. Pywikibots weblinkchecker works in the same way. Both bots should replace the links on the second run.--Snaevar (talk) 19:42, 12 March 2017 (UTC)

Find out textual context (header) from where module was transcluded

Is there some way to find out which ==Level 2 Header== a module was invoked under? Is this possible if the invocation happened through a template instantiation? Moberg (talk) 08:33, 12 March 2017 (UTC)

No, apart from guessing. I sometimes copy the wikitext of an article to a local text editor, then paste half of the article into a sandbox and preview the result. If it shows the module as being used, I halve it again, etc. In principle you can view the module documentation to see whether it is supposed to be used with a template, then search for the template in the article's wikitext. Or, use "what links here" on the module page and set the namespace to "template" to see what templates use it. Johnuniq (talk) 23:16, 12 March 2017 (UTC)
You may be able to Cmd-tab or Ctrl-tab on each of the level 2 section edit links to open each section in a new tab in edit mode. Then, in each tab, scroll down to "Templates used in this section:" and fold it down to see what is in there. Tedious, but it might get you what you want. – Jonesey95 (talk) 00:30, 13 March 2017 (UTC)
You have to preview a section to see the used templates. PrimeHunter (talk) 00:41, 13 March 2017 (UTC)

Category intersections and Wikidata

Could I use a category intersection to create a list of topics, then feed that list into a wikidata search and retrieve additional data? Could I then create a Web page that displays this info in the form of a table? Could this be done without a lot of human intervention? Thanks. SharkD  Talk  19:42, 13 March 2017 (UTC)

Server switch, with resulting editing outage

Remember m:Tech/Server switch 2016, when nobody could edit for about 40 minutes on two days?

I've just gotten the schedule for the next round. The first outage will be on Wednesday, 19 April 2017, and the second will be on Wednesday, 3 May 2017 (two weeks later). The time of day is still be discussed, but it will probably be during the afternoon in Europe and Africa, and the morning in the Americas. Please mark your calendars.

The official schedule is at http://wikitech.wikimedia.org/wiki/Switch_Datacenter The draft of the first widespread announcement is at m:Tech/Server switch 2017.

Last year, we did extensive communication work to let editors know what was happening, and it seemed to be successful. I'm planning to do something similar this year: announcements to the Village Pumps, notices in Tech News, etc. OTOH, the projects are constantly changing, so if there's something new that you think needs to be done, or something that seems less useful than it was in the past, then feel free to share your ideas with me. Also, if someone is on IRC and wouldn't mind posting these dates to relevant channels, then I'd appreciate that. Whatamidoing (WMF) (talk) 20:26, 13 March 2017 (UTC)

503 unavailable

I've been getting errors when saving pages, for the past couple of hours. Sometimes it just sits there forever, others it gives the WMF error-screen, saying "503 service unavailable" and the page about IRC, etc.

I'm pretty sure it's not a problem on my side; everything else is working fine, as is reading anything. I'm on a good connection too.

It's just taken me 10 attempts over about an hour to save this edit - I left it "waiting for en.wikipedia..." for 10 mins, tried again, after a few minutes got the error-screen, tried again, and so forth. Same thing has happened on other pages. 86.20.193.222 (talk) 01:07, 14 March 2017 (UTC)

Is some hidden toolbar changing "Trump" do "Drumpf"?

Recently I've seen a number of reports by users who were "just" editing one part of an article, and yet in a totally different paert of it the edit included changing "Trump" to "Drumpf". Most recent was this edit. Is this due to several users who think they can get away with such lies, or is this the result of some web browser addons? עוד מישהו Od Mishehu 07:48, 14 March 2017 (UTC)

Sounds like the work of the 'Drumpfinator' browser add-on. AddWittyNameHere (talk) 07:54, 14 March 2017 (UTC)
I made some notes about related issues here. A pointer to an ANI archive regarding the Drumpf issue was added. Johnuniq (talk) 08:55, 14 March 2017 (UTC)
At Wikipedia:Edit filter/Requested/Archive 9#Drumpf I suggested warning the users about it. PrimeHunter (talk) 10:20, 14 March 2017 (UTC)

Issue with userspace AfC drafts

I usually help with drafts in the userspace for AfC (Category:Pending AfC submissions in userspace), but recently many pages in user sandboxes that are multiple years old and have not been submitted for AfC review are being shown in the category. I'm pretty confused - the only similarity between them are that they have the Template:Template sandbox embedded on the page, but I have cleared the template and have found no issues (I have also purged the category). Could anyone else verify that this is happening, and why? Thanks. -Liancetalk/contribs 06:26, 14 March 2017 (UTC)

There are currently nine pages in the category. I see a big "Review waiting" box at the bottom of all of them. This edit today added {{AFC submission}} to {{Template sandbox}}. It was reverted later but after a template edit it can take a very long time before category listings affected by the template are updated. A purge will not update it. You have to null edit the listed page (not the category page). PrimeHunter (talk) 10:33, 14 March 2017 (UTC)

Heads up on a UI change

To all of the people who had problems with the size of the edit summary box recently:

This time, they're planning to do the same thing to the 'Save' button (and the other buttons next to it). I hope that I'm wrong, but I'm guessing that if you had a problem when the edit summary box was converted to the standard scheme, then you may find that this is problematic, too. Please report any problems here (or in Phabricator).

(ping: Eagleash Redrose64 L.S. inc. TheDJ Eman235 Evad37 Daß Wölf Jonesey95 Hawkeye7 Doug Weller Dhtwiki ATS Mikhail Ryazanov Vchimpanzee HitroMilanese Stryn Markdask)

For everyone else: The save button is going to be big and blue. The other buttons will be bigger, too. Since few of us on this page actually look at this button any more (you just tab out of the editing box, add your edit summary, hit return, and you're done, right?), it's likely to be something that we all find weird for a few days, and then don't really think about after a while. But (based upon a recent conversation with a guy running a third-party wiki and whose boss hates big blue buttons), it looks like it's pretty difficult to completely override this kind of change.

This is just the next step in the multi-year UI standardization/update/tweaking. It may not affect all editing systems, although the two oldest wikitext editors and the new-ish code editor were definitely on the list the last time I checked.

I can't guarantee a deployment date; it's already been delayed at least once. However, I currently believe that this will ride the deployment train next week, which means that we may see a round of "Thursday blues" somewhat more literally than usual. Whatamidoing (WMF) (talk) 22:44, 10 March 2017 (UTC)

(you just tab out of the editing box, add your edit summary, hit return, and you're done, right?) Right—when I don't click the looking glass to preview, that is. ATS 🖖 talk 22:54, 10 March 2017 (UTC)
@Whatamidoing (WMF): Quick question. On my WMF account I have #wpSave{background-color:#b5deff} (turns the save button blue) in my common.css to remind myself which account I'm logged into. Can I still do something similar with the new button? (Obviously I'm going to have to pick another colour!) Sam Walton (talk) 22:56, 10 March 2017 (UTC)
I don't know. If mw:OOjs UI/Widgets/Buttons and Switches doesn't have the answer that you need (and it might not, because those screenshots are definitely out of date, so it's possible that everything's changed since the page was last updated), then you could consider trying m:User:Jalexander-WMF/global.css instead. Whatamidoing (WMF) (talk) 02:43, 11 March 2017 (UTC)
@Whatamidoing (WMF): by the way, is there any documentation about this stuff? I was able to return the edit summary to its normal size in my global.css, but I could not find how to disable the thick blue frame when it is focused (although its animation is removable through the CSS). — Mikhail Ryazanov (talk) 01:57, 11 March 2017 (UTC)
You might start with mw:OOjs UI/Using OOjs UI in MediaWiki, but I'm not sure how complete or useful it is. In terms of figuring out what might happen next, https://phabricator.wikimedia.org/tag/oojs-ui/ is the Phab workboard for this long-term project. Whatamidoing (WMF) (talk) 02:43, 11 March 2017 (UTC)
The blue border doesn't seem to be added by CSS, so it must be JavaScript, which means that it will be difficult to turn off. --Redrose64 🌹 (talk) 08:39, 11 March 2017 (UTC)
https://developer.mozilla.org/en-US/docs/tag/CSS%20Pseudo-class
https://developer.mozilla.org/en/docs/Web/CSS/Pseudo-classes — Preceding unsigned comment added by 197.218.80.141 (talk) 12:14, 11 March 2017 (UTC)
https://www.codecademy.com/tracks/htmlcss — Preceding unsigned comment added by 197.218.80.141 (talk) 11:28, 11 March 2017 (UTC)
I'm used to the larger edit summary and heading boxes. What I would like to know is where they get the list of what I can put there without typing more than the first letters. I can't seem to get a response on the Computing Reference Desk. They got hung up not on the detail of my question, but the incorrect heading that I typed because I didn't know the terminology.— Vchimpanzee • talk • contributions • 17:08, 11 March 2017 (UTC)
Over several years, I have learnt lots of CSS, and am aware of pseudo-classes; but when I use my browser's "Inspect element" feature, I cannot find any evidence that pseudo-classes are in use. It's not like the bell and car-door icons for notifications, which use ::before and :;after. --Redrose64 🌹 (talk) 20:09, 11 March 2017 (UTC)
http://stackoverflow.com/questions/6767278/how-can-i-see-the-styles-attached-to-hover-and-other-pseudo-classes-in-firebug , http://www.growingwiththeweb.com/2013/11/you-can-now-inspect-pseudo-elements-in.html — Preceding unsigned comment added by 197.218.90.89 (talk) 22:35, 11 March 2017 (UTC)
Vchimpanzee, edit summaries are remembered by your local web browser. Whatamidoing (WMF) (talk) 03:58, 12 March 2017 (UTC)
Whatamidoing (WMF), yes, but no one is explaining this.— Vchimpanzee • talk • contributions • 17:59, 12 March 2017 (UTC)
@Vchimpanzee: They're not explaining it because you didn't ask for it to be explained. You started off by asking about web sites listed when you click on the URL; you seemed to mention edit summaries only tangentially, in the fourth sentence (I get a different list when starting to type a section heading or edit summary), so it's not at all obvious that this was your primary problem. --Redrose64 🌹 (talk) 19:26, 12 March 2017 (UTC)
Just a guess, but if you want to know how Microsoft Edge chooses or prioritizes its auto-fill information, then you might have better luck at a support forum for Microsoft Edge. Whatamidoing (WMF) (talk) 18:22, 14 March 2017 (UTC)
The summary box is unusable with WikEd, but only in Firefox. Wrote about it at User talk:Cacycle/wikEd#Narrow summary box with a solution. — Dispenser 02:11, 12 March 2017 (UTC)

sort order of article Language links is messed up

Did something happen to to screw up the sort order of languages in the left sidebar of articles? I'm looking at the Vichy France article for example, and the languages list starts thus: "Euskara, Polski, Español, Occitan, Magyar, Kiswahili, Brezhoneg, Ελληνικά, پنجابی, Svenska, and ends thus: Azərbaycanca, Кыргызча, 粵語, Ido, Čeština, Bahasa Indonesia, 中文, Scots, Latina, Français, What's going on? P.S. The sort order is correct in the German article. Mathglot (talk) 19:49, 14 March 2017 (UTC)

I've created phab:T160465 about this issue. Nirmos (talk) 20:59, 14 March 2017 (UTC)

Edit box size

Now that "size of edit box" has been removed from preferences, is there any way to change the settings? Because I use a variety of devices ranging from phones and notebooks to 5120x2880px Apple behemoths, this was probably only setting in prefs I regularly changed, and its sudden disappearance a couple of months ago has left it locked at the 80-line depth I happened to have it set to when the setting box disappeared, which is long enough to be irritating to use on smaller devices. (If there is still a way to change it—or even a way to restore it to the default—it doesn't appear to be documented anywhere, and I don't think it's unreasonable to say that I know more about the under-the-hood operations of Wikipedia than most, and if I can't find the setting new and newish users will certainly struggle.) ‑ Iridescent 13:18, 13 March 2017 (UTC)

In the bottom-right corner of the edit box, you should see six dots in a triangle. Hover your mouse there, the pointer should turn into the up-down double arrow ↕ - click and drag up or down. Unfortunately, such resizing persists for this edit alone, it's not permanent.
The styling applied to the <textarea>...</textarea> element includes the property min-height: 5em; which prevents you from shrinking it below a height of 5em, and the property max-height: 100vh; which prevents it from becoming taller than your viewport. --Redrose64 🌹 (talk) 14:04, 13 March 2017 (UTC)
One could easily write a gadget that stored those dimensions in your browsers localstorage. However that would cause the screen to 'relayout' while opening an edit page, and people have found that to be rather annoying in the past. Sizing textareas in browsers, is one of those things that hasn't really been dragged into 2010's yet in my opinion. —TheDJ (talkcontribs) 14:11, 13 March 2017 (UTC)
@Iridescent: Got it, and it's actually quite simple. At Special:MyPage/common.css, add this rule:
textarea#wpTextbox1 {
  height: 25em;
}
Here, 25em is just an example - set anything you like within the bounds set by the declarations min-height: 5em; max-height: 100vh; --Redrose64 🌹 (talk) 14:14, 13 March 2017 (UTC)
Ta. Any idea why it was removed from preferences in the first place, given that it had happily sat there for a decade without causing any apparent problems? I can't be the only one who's been caught by this—anyone who uses both a laptop/tablet and desktop PC to edit presumably finds it convenient to flick between different edit-box sizes. ‑ Iridescent 16:06, 13 March 2017 (UTC)
Two or so years ago they decided to trim down the available preferences, this has taken some time: the columns/rows options at Preferences → Editing were still there (between "Edit area font style:" and "Prompt me when entering a blank edit summary (or the default undo summary)") in October 2016. IIRC those prefs which have been removed were selected on the basis that only a small number of people had altered the pref away from the default setting, so few people would be impacted. Each pref removed marginally improves page load time for logged-in users. --Redrose64 🌹 (talk) 17:23, 13 March 2017 (UTC)
You'd think if they're going to remove the ability to change a pref, they'd at least have a "restore to default" option (or forcibly restore those who had altered it). Locking everything in place at whatever setting it happened to be at for each individual editor at the time of removal is as WMF a fudge as I've ever seen. ‑ Iridescent 17:34, 13 March 2017 (UTC)
We didn't lock it in place for every editor where it'd been set prior. It was hardcoded to the original default value that users would have had they never edited it (or pressed reset on their own preferences). In your case, 80 columns happened to also be the default, which is why you didn't see it change. From the change itself: "Used defaults of 80 columns and 25 rows in places that still were asking for it." ^demon[omg plz] 19:10, 13 March 2017 (UTC)
@^demon: No, it's locked for me at 80 rows, not 80 columns—see screenshot to the right. I happened to be editing on a computer with an enormous monitor, and had the preferences pushed up accordingly to avoid a screen-full of whitespace, at the time the choice was removed from preferences, and consequently have this 80-line edit window enforced even if I'm just editing from a phone. It's an annoyance rather than a massive inconvenience for me, but for someone using a setup where having to constantly use the scrollbars is more difficult, it would be quite a serious accessibility issue. ‑ Iridescent 16:04, 14 March 2017 (UTC)
Ok, I see what you mean now. That's odd, and I wonder if you have some userland JS or CSS that is doing this (maybe a Gadget?). I only say that because there's no way that MediaWiki would know about the old preference you have: it's been removed. Yes, there's still a legacy entry still hanging around in the database, but nothing is using it... ^demon[omg plz] 16:38, 14 March 2017 (UTC)
You had enforced this yourself with personal CSS styling. I have changed it back to defaults. —TheDJ (talkcontribs) 16:49, 14 March 2017 (UTC)
Ah, thank you, and sincere apologies for wasting everyone's time. I have absolutely no recollection of adding that to my personal css (I have no recollection of adding anything to my personal css), but I obviously did—I checked my vector.js page to see if there was any code in there that could be doing it but it never occurred to me to check css as well. ‑ Iridescent 16:52, 14 March 2017 (UTC)
@Iridescent: On a side issue, which browser is this grabbed from? You're clearly being given a font without blurring, which is what I want - see my posts here for background to that. --Redrose64 🌹 (talk) 17:12, 14 March 2017 (UTC)
Chrome, with "monospace font" selected in WP prefs. ‑ Iridescent 18:03, 14 March 2017 (UTC)
I was thinking of the bit at the bottom that says "Edit summary (Briefly describe your changes)". It's nice and sharp - unfortunately, Chrome is no longer supported for Windows XP. --Redrose64 🌹 (talk) 20:28, 14 March 2017 (UTC)
thank you for the script.... odd to see Wikipedia going backwards in terms of accessibility.--Moxy (talk) 17:54, 13 March 2017 (UTC)
I'd like to echo both of Moxy's sentiments: thank you for the script and it's surprising(and frankly speaking, not a positive surprise, either) to have Wikipedia go backwards as far as accessibility goes. AddWittyNameHere (talk) 18:42, 13 March 2017 (UTC)
What script? --Redrose64 🌹 (talk) 19:36, 13 March 2017 (UTC)
I think she means the CSS snippet above. — foxj 18:43, 14 March 2017 (UTC)
Yeah, sorry. Should've been clearer, it's of course just a CSS snippet. Too tired when I responded, I guess? *sigh* AddWittyNameHere (talk) 18:51, 14 March 2017 (UTC)
I write CSS rules - my edit of 14:14, 13 March 2017 (UTC) provided exactly one CSS rule, consisting of one selector and one declaration. Snippets I don't know about, scripts I can't write to save my life. I once borrowed a book on JavaScript, keyed in the "Hello World" example, clicked the button it displayed - and it crashed my PC, losing two docs I was working on at the time. Never again. --Redrose64 🌹 (talk) 21:13, 14 March 2017 (UTC)

Forgotten articles not showing in category

I'm currently clearing Category:Pages using infobox single with unknown parameters, as I've cleared this category I've noticed something that I can't find an answer to. Correct me if I'm wrong but shouldn't an edit to a Template eventually trigger a recompile of an article and with it any category membership triggered by that template? If so, it doesn't seem to be working. This article {Back It Up (Swami song)) has just appeared in the category, an editor has just edited part of it and because of that it caused a recompile, triggering the template to add the article to the error category (the user didn't add the error). The previous last edit to that article was in 2014, there have been numerous edits to the Infobox single template in the intervening period, so why didn't any of the template edits cause the page to recompile and join the category? - X201 (talk) 15:53, 10 March 2017 (UTC)

Yes, the job queue is supposed to eventually cause a new rendering of a page when a used template is edited. It occasionally fails but here it would have required many failures during years so it may be something else. The parameter error in the article is the nasty looking | [ Recorded = 2009-2012]. My guess is that the MediaWiki software previously treated that as the value of an unnamed parameter. It's currently treated as an assignment of a parameter called [ Recorded. The English Wikipedia got mw:MediaWiki 1.29/wmf.15 yesterday but any MediaWiki change since the last article rendering could be the cause. An equals signs in an apparently unnamed parameter will be treated as a parameter assignment unless the equals sign is interpreted as being part of a syntactic element. This may be a border case which has changed behaviour. PrimeHunter (talk) 17:00, 10 March 2017 (UTC)
This may be related to T132467: categorization takes days or months when templates or modules change, or T157670: categorization takes months or forever when MediaWiki code changes. – Jonesey95 (talk) 19:08, 10 March 2017 (UTC)
The tracking category was added to the infobox code 29 April 2016 [59] so it's "only" 10 months delayed if MediaWiki hasn't changed behaviour. That actually looks plausible. It's a hidden category so it isn't displayed visibly in the Internet Archive or Google's cache but hidden categories are in the html source for everybody. They just get class="mw-hidden-cats-hidden" to hide them. If you enable "Show hidden categories" at Special:Preferences#mw-prefsection-rendering then they get class="mw-hidden-cats-user-shown" instead. The Internet Archive cached the article 8 November 2016 [60] and the category is in their cached html source. Sometimes a page is rendered to display a category long before the category page is updated. A purge of the page will not update the category page but a null edit will. PrimeHunter (talk) 22:00, 10 March 2017 (UTC)

@PrimeHunter and Jonesey95: Thanks for the info/explanation. The obvious follow up question is about to arrive. When I've finished cleaning that category it will be empty, except that I know that there will be sleeper articles out there, just waiting for a genuine or null edit to put them in the category. It has an added importance as there is currently an RFC about merging a number of Infoboxes (single/song/etc) into the same template. Obviously, cleaning up any errors before the merge - if it happens - would be desirable to ease the roll out of the new merged infobox. So how do I force a full re-render of all articles that transclude Infobox single? A bot to null edit all transclusions? or do I just run AWB over every article to check for errors? - X201 (talk) 09:01, 14 March 2017 (UTC)

I think you would have to file a bot request. – Jonesey95 (talk) 13:03, 14 March 2017 (UTC)
Joe's Null Bot (talk · contribs) exists for precisely this purpose. --Redrose64 🌹 (talk) 14:18, 14 March 2017 (UTC)
Thanks for that. I'll clear out the category and then contact him about doing a bot run. Thanks. - X201 (talk) 08:52, 15 March 2017 (UTC)

Wikidata equivalent of WP:Village pumps

On Wikidata, the WP:VPx is d:Wikidata:Project chat. Other major topic pages are d:Wikidata:Item, d:Wikidata:Property. -DePiep (talk) 22:18, 11 March 2017 (UTC)

Not Wikipedia:Village pump (technical) (Q4582194). -DePiep (talk) 22:34, 11 March 2017 (UTC)
I'm not sure what your point is. "Wikidata item" under "Tools" in the left pane links to the Wikidata page where the equivalent pages in Wikimedia wikis are listed. For this page it is Wikipedia:Village pump (technical) (Q4582194). "Wikidata" under "In other projects" links to the equivalent of this page at the Wikidata project itself: d:Wikidata:Contact the development team. d:Wikidata:Project chat is registered as the equivalent of our main Wikipedia:Village pump. PrimeHunter (talk) 22:44, 11 March 2017 (UTC)
I think you just illustrated my point. -DePiep (talk) 23:18, 11 March 2017 (UTC)
I'm not convinced they did - I'm still confused. What exactly is the issue? What PrimeHunter said seems to make sense. Sam Walton (talk) 23:44, 11 March 2017 (UTC)
  • In short: this page's Wikidata link "Wikidata item" [tools menu] is not the link to the Wikidata:Village pump.
That is what I wanted to note for fellow editors here. There was no original 'issue' or question. I am working to get involved in Wikidata. On a presumed simple quest for their WD:village pump page, I lost hours & patience. Allow me to save others that experience. @Samwalton9: -DePiep (talk) 18:54, 15 March 2017 (UTC)
In case the prominent link on every single page immediately under the Wikidata logo to Community portal isn't enough, you mean? ‑ Iridescent 19:04, 15 March 2017 (UTC)
I think you mean wikidata:Wikidata:Community portal. — xaosflux Talk 20:19, 15 March 2017 (UTC)
Yup, fixed ‑ Iridescent 20:24, 15 March 2017 (UTC)
You just chose the wrong Wikidata link. "Wikidata item" under "Tools" always links to the Wikidata page where the equivalent pages in Wikimedia wikis are listed. There is usually also data about the subject when it's an article. The link has mouseover "Link to connected data repository item". "Wikidata" under "In other projects" always links to the equivalent of the page at the Wikidata project itself. Like all projects in that menu there is no mouseover. It may be a little confusing that both links include "Wikidata" but they both go to Wikidata so I think it makes sense. The inclusion of "item", the placement in the Tools menu and the mouseover all give clues to the difference. A long permanently displayed description (as opposed to the mouseover) would be annoying. Most pages, e.g. articles, only have the "Wikidata item" link. PrimeHunter (talk) 20:00, 15 March 2017 (UTC)

Watchlist option hide page categorization check box re-checks itself

Watchlist option hide page categorization check box is always checked when I got to my watchlist and I uncheck it. But I just noticed after I do the search it re-checks itself. Was there a recent change that caused this or was it doing it all along and I didn't notice? Richard-of-Earth (talk) 08:31, 17 March 2017 (UTC)

Check the watchlist section of you preferences. Hiding categories is an option there and IIRC was set to default hide when introduced. Unchecking on the watchlist itself is a temporary override only. Nthep (talk) 09:10, 17 March 2017 (UTC)
Thanks Richard-of-Earth (talk) 18:35, 17 March 2017 (UTC)

Transcluded footnote is good in original article but causes error on transcluded article

The footnote #256 on the article for Wikipedia is transcluded from footnote #40 on the article for English Wikipedia, though it causes an error on the Wikipedia article footnote which was not an error on the footnote of the original article English Wikipedia. Could someone do a look-and-see? ManKnowsInfinity (talk) 18:52, 17 March 2017 (UTC)

The reference was defined in both articles with minor differences. I have fixed it by commenting out the new definition.[61] It could also be deleted but that would make it harder to fix if the transclusion changes later. PrimeHunter (talk) 19:25, 17 March 2017 (UTC)
Worked like a charm. ManKnowsInfinity (talk) 19:54, 17 March 2017 (UTC)

Greetings en-wiki users!

My home-wiki (da-wiki) recently had a large discussion regarding WikiProject templates, up until the end of 2016 we used roughly the same yellow banners you use for WikiProjects, placed on the talk pages. A group of users claimed it was annoying to click a blue talk page link to see that there was no discussion about the article, but just a bunch of project templates. While I disagreed (massively) with their reasoning, they unfortunately prevailed in a majority vote about the issue and now the WP-templates have to be removed from the talk page.

Now, obviously noone wanted to eradicate the classification system that WikiProjects provided, so me and another user tried to make some templates that might allow the templates to be placed on article pages without being intrusive to a non-editor. The other user's proposal was rejected, and I decided not to propose my own as it was too intrusive and also looked stupid. Then I had an odd idea, and I want to ask if it's even possible.

Would it be possible to make a MediaWiki gadget, browser plugin or some other gizmo which does the following:

  1. Check the talk page of an article (without the user actually navigating to the talk page).
  2. See if the talk page consists only of transcluded templates.
  3. If the above is true, change the talk page color to red or some third color to indicate that it only contains templates.

As an example, let's say I click on the article .st. Since the talk page only contains templates, the link would be red (or purple etc., you get the idea). Is this possible? I know this has nothing to do with en-wiki, but your language fork is by far the one with the most experienced coders when it comes to templates & gadgets.

Respectfully, InsaneHacker (💬) 12:41, 16 March 2017 (UTC)

@InsaneHacker: You will be interested in the recent discussions at WT:WikiProject Council/Archive 22#Overhaul of article assessments and should feel free to reach out the users involved there, especially Harej. It probably fits what you are looking for. :) --Izno (talk) 12:50, 16 March 2017 (UTC)
Also Template talk:WPBannerMeta#Adding PageAssessments parser function and mw:Extension:PageAssessments. --Redrose64 🌹 (talk) 13:02, 16 March 2017 (UTC)
Yes, it is very possible to make a user script that changes the color of the talk tab's link. Turning that into a gadget should be trivial, while adapting it for another language would require changing the regex that looks for the "#REDIRECT" wikitext to also accept the localized version. Anomie 15:00, 16 March 2017 (UTC)
I guess it could also be made portable by using mw:API:Info to check for redirects. PrimeHunter (talk) 16:47, 16 March 2017 (UTC)
An easier and more efficient check than "does it contain only templates" would be "does it contain a level2 header". By WP:TP guideline, discussions all go in sections, whereas the project banners and related notices all go above the first header (in the "lede"). Now obviously we do get talkpages where someone starts the first discussion without making a header. But this could also be an opportunity to check for that situation and add headers. DMacks (talk) 20:13, 17 March 2017 (UTC)

15:25, 13 March 2017 (UTC)

FYI to curious readers, "old web browsers" in Future changes means browsers that don't support ES5 strict, so IE 10+ (including Edge), FF 4+, Chrome 13+, Safari 6+, and Opera 12.1+ is a short list of browsers that will still be fine. --Unready (talk) 23:59, 17 March 2017 (UTC)

Tool for over-linking?

Do we have any tool/script/gadget/whatever to deal with over-linking? Manual removal of repeated links from an article such as this is seriously time-consuming. Justlettersandnumbers (talk) 10:33, 18 March 2017 (UTC)

Yes, User:Ohconfucius/script/Common Terms. Graham87 12:32, 18 March 2017 (UTC)
That's certainly useful, thank you Graham87! But what I meant was a tool that would go through a page and remove all but the first occurrence of each wikilink (if it was smart it could have options to ignore the infobox and/or the lead). Does anyone know of anything that does this? Justlettersandnumbers (talk) 21:42, 18 March 2017 (UTC)
AWB will make it easier for you, doesn't do the work for you but at least it will identify the terms multi-linked. Nthep (talk) 21:57, 18 March 2017 (UTC)

Special:Nearby

What is Special:Nearby and why might it have problems with coordinates in infoboxes? Background information at Template talk:Coord#decimal degrees to degrees, minutes, and seconds of arc, but we should probably discuss it here since it's a technical matter, not related to the original problem in that thread. --Redrose64 🌹 (talk) 11:53, 16 March 2017 (UTC)

I'm fairly certain it's used directly in the mobile frontend, where it has a more obvious use ("take a picture of this thing which has an article! and then add the image!"). --Izno (talk) 12:47, 16 March 2017 (UTC)
You are mainly talking about the magic word #coordinates, which is specifies coordinates for a lot of things, among those is Special:Nearby. Special:Nearby is an nice example of that and I will oversimplify what #coordinates really is in the following description. Special:Nearby obviously shows users which subjects are near to them. In order to give you this information Special:Nearby needs information on where the subject of the article is situated, e.g. the GPS of the subject, and the location (GPS) of you, which it gets from your browser. The GPS data of your browser is then compared to the GPS of the article and converted from an coordinate over to an distance like kilometres from said subject. Special:Nearby knows where the subject is due to the #coordinates magic word, which was implemented into Template:Coord shortly after that feature was added. Of course there are more coordinates on some articles than just the location of the subject the article is about, but that does not cause major issues as the #coordinates magic word has an marker called "primary" which marks which coordinate represents the location of the subject the article is about. Hopefully this was simple enough for you.--Snaevar (talk) 19:21, 18 March 2017 (UTC)
@Snaevar: OK, so given that {{Infobox UK school}} calls {{coord}} with |display=title, and therefore uses {{#coordinates:}}, why should it make a difference for Back ache (talk · contribs) to move the coordinates out of the infobox, as here? In fact, why should changing the position within the page source of a {{coord}}, with no other change, as here, make any difference at all? This is what we are trying to get the bottom of at Template talk:Coord#decimal degrees to degrees, minutes, and seconds of arc. --Redrose64 🌹 (talk) 09:53, 19 March 2017 (UTC)
@Redrose64: It's probably because calling {{Coord}} from the infobox template rather than the article causes problems with the parser function. Since infoboxes are being converted so that {{Coord}} is inserted in |coordinates=, replacing separate lat/long parameters, it shouldn't be a problem after they're all converted. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
10:06, 19 March 2017 (UTC)
This simply doesn't stand up. Writing
{{Infobox UK school 
...
| latitude     = 51.3742
| longitude    = 0.0186
| dms          = yes
...
}}
will plug the appropriate values into {{coord}} exactly as if we had used
{{Coord|51.3742|0.0186|region:GB_type:edu_dim:100|display=title|format=dms}}
directly. Why should it behave any differently? What is there to say "this is inside an infobox and so must be disregarded"? --Redrose64 🌹 (talk) 11:30, 19 March 2017 (UTC)
@Snaevar: Other than Special:Nearby and our old OSM service, what is the #coordinates API actually used for? How much does Wikidata duplicate its function? Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
10:50, 19 March 2017 (UTC)

Popcat template

The "related topics" internal link in Template:Underpopulated category doesn't look helpful. It leads to something like this, requiring an Einstein to figure out what to search. Maybe remove this from the template? Brandmeistertalk 15:27, 19 March 2017 (UTC)

I removed a '&' which broke the search url.[67] I guess it worked in the past. Now your example from Category:1926 archaeological discoveries produces [68]. Other uses will be fixed when the job queue gets to them. PrimeHunter (talk) 16:01, 19 March 2017 (UTC)
Thanks. Brandmeistertalk 16:11, 19 March 2017 (UTC)

pending protection not shown in page's log

Hi there. I noticed this protection does not appear in the logs for this article. Is there a known bug that old pending changes protections are not in the logs or am I missing something else? Regards SoWhy 11:35, 18 March 2017 (UTC)

The page was moved from the title you can see in the edit summary. Logs are not moved - the log's here. Someone might chip in to say how old this issue is and whether it will be fixed.. -- zzuuzz (talk) 11:40, 18 March 2017 (UTC)
phab:T10731 and phab:T40123 are the only tasks I can find. Jo-Jo Eumerus (talk, contributions) 11:45, 18 March 2017 (UTC)
So basically it's a known problem for at least five years now and no one worked on it? Okay, thanks. You learn something new each day. Regards SoWhy 13:14, 18 March 2017 (UTC)
Logs have pretty much always been left behind when pages are moved - ever since the page-move feature was first added, waaaaay back in 2003. --Redrose64 🌹 (talk) 23:16, 18 March 2017 (UTC)
@SoWhy: Yes, but the bug has been fixed (not retrospectively) since the time of that protection; the report can be found at T59912. (It took me a ridiculous amount of time to find that bug report, even though I'd submitted it). And @Redrose64:, just a pedantic correction to your reply: the page move feature was made accessible to all users in 2002, but even existed in UseModWiki in 2001. Graham87 09:10, 19 March 2017 (UTC)
Thanks for the heads-up. Weird that the other bugs mentioned by Jo-Jo Eumerus have not been closed then. Or does this refer to other problems? Regards SoWhy 09:25, 19 March 2017 (UTC)
@SoWhy: Those bugs refer to other problems; they're about logs moving with pages more generally. Graham87 10:10, 19 March 2017 (UTC)
Hmmm, any chance you could just add an easy cross-reference to logs under previous names in the output, rather than move the log? I can see why people would get antsy about moving log files, since the whole idea of logs is not to mess with them. Wnt (talk) 16:14, 19 March 2017 (UTC)

Mobile browser fonts

Is there a way to customize the display fonts on mobile phone browsers, the same way I can, using the custom CSS? --Mahmudmasri (talk) 18:44, 17 March 2017 (UTC)

Mahmudmasri: Special:MyPage/minerva.css. Nirmos (talk) 03:39, 18 March 2017 (UTC)
Thanks! It works! Is there a way to make all other wikis use it, similarly as the global CSS works? --Mahmudmasri (talk) 12:37, 18 March 2017 (UTC)
Any idea, Nirmos? Anyone? --Mahmudmasri (talk) 21:13, 19 March 2017 (UTC)
Sorry, MediaWiki does not support global mobile css to my knowledge. Nirmos (talk) 23:08, 19 March 2017 (UTC)
Thanks. --Mahmudmasri (talk) 23:50, 19 March 2017 (UTC)

DYK user topicon

{{DYK user topicon}} seems to be malfunctioning as of today. No icons are showing, just the alt-text and link. There's no edits on the template page. EvergreenFir (talk) 16:21, 20 March 2017 (UTC)

@EvergreenFir: When I purged your user page the icons came back. --NeilN talk to me 16:27, 20 March 2017 (UTC)
Maybe yesterday's icon deletion. [69] --NeilN talk to me 16:30, 20 March 2017 (UTC)
@NeilN: Ah, okay! Thank you! EvergreenFir (talk) 16:42, 20 March 2017 (UTC)

Reference bundling

Is it possible, at all, to use a ref name tag inside a reference bundle? When I preview the reference bundle with a ref name tag inside it does not appear to work, so I was wondering if there was a way, at all, to work around the issue? ElectrodeandtheAnode (talk) 16:17, 17 March 2017 (UTC)

Do you mean that you want to place a ref inside another ref? --Redrose64 🌹 (talk) 16:39, 17 March 2017 (UTC)
@Redrose64: yes, that is what I mean. Is it possible do you know? ElectrodeandtheAnode (talk) 10:35, 19 March 2017 (UTC)
Yes it is, you have to use the magic word #ref. Have a look at user:Nthep/sandbox2 for an example. Nthep (talk) 10:44, 19 March 2017 (UTC)
I would like to see an example of where this is to be done - if a ref itself needs to be referenced, there's probably something wrong. Refs should be able to stand up for themselves without justification. --Redrose64 🌹 (talk) 11:23, 19 March 2017 (UTC)
Before I swapped to using {{efn}} I used #ref in an explanatory note that needed sourcing. But that's about all I can envisage. Nthep (talk) 11:48, 19 March 2017 (UTC)
I don't think I've tried to explain this very well. If I use an example from an article I am currently working on to try and promote its status to Good Article (Casualty (series 30)), a suggestion was made that the article uses reference bundling. This was an example of a paragraph using a reference bundle:

Henry previously appeared in several episodes in 2011. Tom Chambers made two guest appearances as his Holby City character Sam Strachan in episodes twenty-three and twenty-four, whilst Emily Carey returned in the role of Grace Beauchamp in a storyline which reunited Sam with Connie, his former partner and Grace's mother. Rosie Marcel made a guest appearance as her Holby City character Jac Naylor in episode twenty-three.[1]

As you can see in this reference bundle all the references use a cite web tag. However, later on in the Series 30 article, two of the references which have been used in the reference bundle (the references about S30–E23 and S30–E24), appear again, used to reference a different part of the article. So, what I'm wondering is, can you put the ref name tag inside a bundle and the reference bundle still work? Because what is happening at the moment, is this:

[Random use of ref:] "Hearts and Flowers", written by: Dominique Moloney, directed by: David Innes Edwards.[2]

Henry previously appeared in several episodes in 2011. Tom Chambers made two guest appearances as his Holby City character Sam Strachan in episodes twenty-three and twenty-four, whilst Emily Carey returned in the role of Grace Beauchamp in a storyline which reunited Sam with Connie, his former partner and Grace's mother. Rosie Marcel made a guest appearance as her Holby City character Jac Naylor in episode twenty-three.Cite error: A <ref> tag is missing the closing </ref> (see the help page).

So is there a way to use a ref name inside a reference bundle and not have the message pop-up about a Cite Error. Have I made myself a little clearer now? Sorry about the confusion. ElectrodeandtheAnode (talk) 17:32, 19 March 2017 (UTC)
#ref would probably work but I'd ask the more basic question, why bundle the refs? If they are all saying the same thing then that is WP:OVERCITE. There's also a question of style, the rest of the article doesn't use bundled refs and if you want a GA there should, IMO, be consistency of appearance. Nthep (talk) 18:04, 19 March 2017 (UTC)
I'm not sure that it will work. You could compromise by bundling the ones that aren't re-used, but I think it's important to remember the WP:GACR do not include a criterion of "use the exact WP:CITEVAR that the reviewer likes best", so the article can't legitimately be failed over that anyway. WhatamIdoing (talk) 18:46, 20 March 2017 (UTC)

References

  1. ^ Sources:
  2. ^ "S30–E23 Hearts and Flowers". Radio Times. Retrieved 13 February 2016.

Minor edits can be very difficult to find

Minor edits can be significant but very difficult to track down. It took me several minutes to find the edit made by an IP at [70]. It was a correct edit, inserting italics around Equus mosbachensis, but it could easily have been disruptive. It would be very helpful if edits could be made easier to find, for example by putting + and - sign next to each line which has been changed. Dudley Miles (talk) 11:28, 20 March 2017 (UTC)

Have you tried the option at Wikipedia:Tip of the day/January 30? --David Biddulph (talk) 11:38, 20 March 2017 (UTC)
(edit conflict) I see a light blue background for the added apostrophes. It's easy to see for me. If your browser or eye sight makes it hard then it has class="diffchange diffchange-inline". The styling can be changed in your CSS. Or you can try "Display diffs with the old yellow-and-green colors and design" at Special:Preferences#mw-prefsection-gadgets. The code is in MediaWiki:Gadget-OldDiff.css. You can also try wikEdDiff for an alternative way to display diffs. PrimeHunter (talk) 11:46, 20 March 2017 (UTC)
Thanks for the advice. I will try these options. Dudley Miles (talk) 13:29, 20 March 2017 (UTC)
You suggest "by putting + and - sign next to each line which has been changed" - it already does this, and IIRC has done for as long as I've been around (almost 8 yrs) --Redrose64 🌹 (talk) 17:23, 20 March 2017 (UTC)
I suspect that Dudley is asking for the diff page to mark the relevant line-on-his-screen (70 characters on mine) rather than the line-in-the-wikitext-database (1,575 characters). Whatamidoing (WMF) (talk) 18:57, 20 March 2017 (UTC)
Can't be done. We have no way of knowing how wide a user's screen is, so what with word wrapping, no way of knowing how many "lines" down the change is. For the edit in question, I see sixteen "lines", with the actual change being on "lines" 4-5: that's if we assume that line 4 begins "from the northwest" and line 5 begins "mosbachensis'' and are". --Redrose64 🌹 (talk) 19:16, 20 March 2017 (UTC)

Pending changes is restraining the wrong edits

This is one example but I've seen this a bunch of times. When I went to the edit history at Cameron Diaz, I noticed that all four edits before this one were waiting for a response from a pending changes reviewer. User:XboxGamer22408 has been here almost four years, User:Red Jay has been here over eleven years, neither has ever been blocked, and both are pending changes reviewers. Why didn't their edits get automatically accepted? CityOfSilver 18:38, 20 March 2017 (UTC)

Both editors were reverting back to an unaccepted revision containing vandalism from an unregistered user. That's how it's supposed to work. If they'd reverted manually then they would have had an option to accept the edit(s), but they were both using rollback so wouldn't have had the option. -- zzuuzz (talk) 18:46, 20 March 2017 (UTC)
@Zzuuzz: Got it, thank you. I know this is contrarian (and given how powerful rollback is, probably impossible) but it seems like if someone can be trusted to review pending changes, they should be allowed to undo good work and restore vandalism since the presumption is that they're going to keep working from there. That yellow background on good editors' contributions is confusing and played hell with my ability to assess the damage at Diaz's article. CityOfSilver 19:18, 20 March 2017 (UTC)
If done automatically that would only cause a lot more vandalism to remain. PC reviewers can actually do what you suggest, but it needs to be a conscious decision to tick a box. "That yellow background" is a useful sign that something has probably slipped through the net. -- zzuuzz (talk) 19:35, 20 March 2017 (UTC)
@Zzuuzz: I mean, I know. I just applied to become a reviewer because I can see how I'd need it to react to situations like these in the future. CityOfSilver 19:38, 20 March 2017 (UTC)

22:03, 20 March 2017 (UTC)

Special:AllPages disabled

Special:AllPages has been disabled due to some performance issues. Just incase various reports end up here Reedy (talk) 15:11, 20 March 2017 (UTC)

Special:Allpages still displays MediaWiki:Allpages-summary at the top so I have created the message with this: "Special:Allpages was temporarily disabled 20 March 2017 due to performance issues. This is reported at Wikipedia:Village pump (technical)#Special:AllPages disabled and phab:T160916." PrimeHunter (talk) 15:33, 20 March 2017 (UTC)
I am the one who was fetching those pages because i need to discover all content pages. I have successfully harvested all pages in Turkish and Arabic Wikipedia. But i have been having problems in English wikipedia. Any estimated time you can fix the issue and return that feature back? Or any chance you can dump somewhere all content pages links?BurstPower (talk) 15:38, 20 March 2017 (UTC)
Why weren't you using the API? Have you seen the database dumps at [78] which have things like page links? Reedy (talk) 15:51, 20 March 2017 (UTC)
Also, we provide database replicas on tool labs wikitech:Help:Tool_Labs/Database Reedy (talk) 15:53, 20 March 2017 (UTC)
@Reedy where is this API that can let me fetch content pages' URLs? I am checking dumps but there are so many stuff and i don't know which one of them i can obtain URLs of the content pages. Any help is appreciate. Thank you. BurstPower (talk) 16:07, 20 March 2017 (UTC)
@BurstPower: mw:API. --AKlapper (WMF) (talk) 16:11, 20 March 2017 (UTC)
@AKlapper (WMF): Ty for the answer. However i do not see anywhere in the api Special:AllPages feature. If you could provide me all pages links' dump i would appreciate a lot. I mean all links of "5,363,329 articles in English" which is written in top left main page. Any ETA when will Special:AllPages return? I would expect WikiPedia to have pagination but i think it doesn't have right? BurstPower (talk) 16:19, 20 March 2017 (UTC)
The API has an "all pages" module that is detailed at [79]. Yes the Special Page does have pagination. That's how you're making continuation queries. But that doesn't help when many requests are made simultaneously. Of course, AllPages doesn't tell you which are actually content pages, just which are in the right NS. Some wikis have content pages in other namespaces. For the dumps, see [80], you want "Wiki page-to-page link records." ala enwiki-20170301-pagelinks.sql.gz and possibly "List of page titles in main namespace" which is enwiki-20170301-all-titles-in-ns0.gz. Technically, also, you don't need the URLs, you just need the page names. https://en.wikipedia.org/wiki/ + pagename would give you the URL Reedy (talk) 16:29, 20 March 2017 (UTC)

BurstPower, you said that you "need to discover all content pages". Why do you need to do this? What's your end goal? Whatamidoing (WMF) (talk) 19:01, 20 March 2017 (UTC)

Yes, I think this is the real question. The best way to get those URLs is going to depend on what you want to use them for. The different ways of accessing the data (data dumps, the API, and the Tool Labs database replicas via e.g. quarry) all have their strengths and weaknesses. — Mr. Stradivarius ♪ talk ♪ 22:16, 20 March 2017 (UTC)

Special:AllPages re-enabled

Special:AllPages is back again. But the filter for redirects is gone as the cause of the performance problem. It might come back again in the near future, but is likely to take a while, as it could require a new DB index. Reedy (talk) 20:16, 20 March 2017 (UTC)

Reedy redirect pages are parsed as italic am i right? BurstPower (talk) 17:27, 21 March 2017 (UTC)
If that's how you're doing it, you're doing it VERY wrong. Reedy (talk) 18:54, 21 March 2017 (UTC)
BurstPower, please tell us what you're trying to accomplish. There may already be a tool for it. Someone here may be able to save you a lot amount of time and energy (or the servers). The regulars on this page are often incredibly helpful. Even if your project is "just" for fun, please tell us about it. Whatamidoing (WMF) (talk) 01:12, 22 March 2017 (UTC)

Page size tool

I just tried running the page size script at User:Dr pda/prosesize.js (which usually works perfectly) on the article Standing wave ratio. The script got a certain way through the article (as shown by the yellow highlighting) and then stopped. It seems it stops on every inline instance of <math>\Gamma</math> in the article. There are a couple of other math expressions that stop it as well, but it does not stop on every inline math expression. By inline, I mean inline with the article prose as opposed to an expression on its own line. This is quite strange, I have not come across it before, despite using this script for many years. Does anyone have any ideas how to fix this? SpinningSpark 15:56, 21 March 2017 (UTC)

Can you report what you see in the browser console? Ruslik_Zero 20:12, 21 March 2017 (UTC)
01:01:04.982 TypeError: id.childNodes[i].className is undefined 1 index.php:90:1
There is a lot of other stuff from when the page loads, but this seems to be the only line generated by running the page size script. SpinningSpark 01:15, 22 March 2017 (UTC)
Fixed. Bit of a wonder that it worked at all, any nested comment would make it fail and those aren't exactly rare... —TheDJ (talkcontribs) 09:52, 22 March 2017 (UTC)
All looks good now, thanks. SpinningSpark 11:46, 22 March 2017 (UTC)

Where download talk pages?

Are the talk pages for English WP available for download?

If so, where?

I'd like to (AWB) database scan them for WikiProject tags.

I look forward to your replies. The Transhumanist 21:45, 21 March 2017 (UTC)

@The Transhumanist: Yes. Start at https://dumps.wikimedia.org/backup-index.html and look for "enwiki". The current dump is incomplete so jump back to the 20170301 dump. Then look down for the link whose name ends "-pages-meta-current.xml.bz2". A mere 25 Gigabyte download... -- John of Reading (talk) 07:50, 22 March 2017 (UTC)
@John of Reading: Thank you. By the way, what other kinds of pages are included in the definition of "meta"? The Transhumanist 09:06, 22 March 2017 (UTC)
@The Transhumanist: It's not clear, is it? The "pages-meta" dumps include everything; the "pages-articles" dumps exclude all the talk namespaces and all user pages. -- John of Reading (talk) 12:28, 22 March 2017 (UTC)
Download failed twice. Switched to bittorrent. Will let you know how the database scan goes. Thanks for the info! The Transhumanist 21:41, 22 March 2017 (UTC)

Documenting for Template:!

It seems the bang template "{{!}}" (magic word) has fallen through the documentation cracks, and needs more explanation somewhere(s). It was even TfD'ed again in December 2016 to merge with {{pipe}}, as if parser function "{{#if:}}" should be merged with "{if}" to avoid so many #/colon characters! There are templates designed to allow wp:subst which avoid simple "{{!}}" and use "{{SAFESUBST:<noinclude/>!}}" instead, which further shows the need to explain how using "{{!}}" is not a template call any longer. I will put an {ombox} at top of Template_talk:! to clarify usage. I plan to reset Template:! back as "&124;" to generate bar pipe "|" if the template is force called as "{{! |}}", but I will discuss that at Template_talk:!. When did "{{!}}" become a magic word to bypass the template? -Wikid77 (talk) 11:44, 21 March 2017 (UTC)

mw:MediaWiki 1.24/wmf12#Core changes says "git #c313a75c - Support {{!}} as a magic word". mw:MediaWiki 1.24/Roadmap says 1.24wmf12 was installed here 10 July 2014. PrimeHunter (talk) 12:50, 21 March 2017 (UTC)
Good. I also noticed "July 2014" mentioned in the Template_talk:! page. -Wikid77 (talk) 22:13, 22 March 2017 (UTC)
Wikipedia:Village pump (technical)/Archive 127#Tech News: 2014-27 which links to gerrit:136234. --Redrose64 🌹 (talk) 13:48, 21 March 2017 (UTC)
Thanks. I see "{{!}}" operates the same, while double "{{!!}}" is only a template, which lists below during edit-preview. But I need to note the subst'ing for "{{!}}" still requires "{{SAFESUBST:<noinclude/>!}}" or similar to avoid literal "{{!}}" being stored inside the page. -Wikid77 (talk) 22:13, 22 March 2017 (UTC)

Editnotices for (new?) users creating new articles poorly formatted in VE

See:

Editnotice that normally appears above article appears in side thing. Is very squished. 50.205.115.50 (talk) 01:49, 22 March 2017 (UTC)

I don't really use VE - so fired it up to what the EN's look like - and was somewhat shocked to not even get one AT ALL (see screenshot)

Has this always been broken, or is this something new? — xaosflux Talk 02:15, 22 March 2017 (UTC)

@Xaosflux:, did you switch from source editor to VE in one session by chance? Starting with Visual Editor (i.e. for Abortion) shows the edit notices for me (albeit in a squished display as mentioned). Starting with source editor and then switching to VE looses the edit notices (they should still be available clicking on the exclamation mark in the menu) --> this seems to be a bug (Windows XP, Vector, Firefox). GermanJoe (talk) 02:27, 22 March 2017 (UTC)
After switching they are just gone all together - I'm guessing a problem like in phab:T153118. — xaosflux Talk 03:24, 22 March 2017 (UTC)
I have no such problem. Maybe it's a gadget/userscript/adblocker interfering ? —TheDJ (talkcontribs) 22:12, 22 March 2017 (UTC)
@TheDJ: Just reproduced on another computer, with a vanilla Chrome install - generic wiki account using Vector but with text editor default. Open the page, got the edit notice, switched the VE - no more edit notice. — xaosflux Talk 23:42, 22 March 2017 (UTC)

Hmm, yeah, {{newarticletext-unconfirmed}} will have to get some responsive design treatment... Maybe i can take a shot at it later today. —TheDJ (talkcontribs) 07:35, 22 March 2017 (UTC)

This should be a bit better now aka. readable. We can revisit as needed. —TheDJ (talkcontribs) 21:49, 22 March 2017 (UTC)

First of all, I apologize in advance if VP/T is the wrong place to ask this. I'm trying to figure out how to add a "navigation template" of some kind to the tops of my archived user talk pages as well as to either fix or remove (if it can't be fixed) the red-linked "Archive 1" in the archive box on my main user talk page. I've tried reading through H:ARC, but can't seem to figure out what to do. Basically, I'd like to be able to move chronologically from one archived page to another without having to return to my main user talk. My archives were set up by another editor back when I started editing; I asked them for assistance early last year, but they no longer appear to be active. So, if anyone can advise me on how to do this type of thing or where to better ask for assistance, then I'd be most grateful. -- Marchjuly (talk) 04:40, 23 March 2017 (UTC)

The redlink has been fixed thanks to JJMC89. -- Marchjuly (talk) 05:05, 23 March 2017 (UTC)
@Marchjuly: I've created User talk:Marchjuly/Archives/header for the top of your archive pages. Newly created archives will now use it instead of the default. If you're happy with it, it can replace the header on your existing archives. — JJMC89(T·C) 05:11, 23 March 2017 (UTC)
Thank you so much for taking the time to do all that. If you don't mind, then sure please fix the old pages as well. -- Marchjuly (talk) 05:33, 23 March 2017 (UTC)
 Done. — JJMC89(T·C) 05:42, 23 March 2017 (UTC)
Thanks once again. -- Marchjuly (talk) 06:29, 23 March 2017 (UTC)

Showing template nav in mobile view

Nav is an important part of a page. Can we add it to the mobile view? Golopotw (talk) 01:58, 23 March 2017 (UTC)

I guess you mean navigation templates. They are deliberately omitted in mobile to save bandwidth and screen space. Mobile does not have collapsible tables so they would all be expanded. They are excluded from the download so you cannot make them visible with user CSS. PrimeHunter (talk) 11:11, 23 March 2017 (UTC)

Media widget?

Who develops the media player used to play movies on Wikipedia/Wikimedia? Is there a discussion page just for this widget? Thanks. SharkD  Talk  21:10, 23 March 2017 (UTC)

no one. I patch it up at times and have been trying to get it replaced with something more sensibel. —TheDJ (talkcontribs) 21:41, 23 March 2017 (UTC)
Do you think you could patch in a "Repeat" button? I have made cyclical animations such as this one that are meant to be looped back to the beginning and played again over and over. Thanks. SharkD  Talk  21:49, 23 March 2017 (UTC)
There is a ticket for something like that under phab:T116501. —TheDJ (talkcontribs) 21:57, 23 March 2017 (UTC)

Afrikaans mail page

This may not be the appropriate venue, but if I try to reach the Afrikaans main page (Tuisblad), I just get a blank page

Has it been hacked? The Afrikaans community is in bed now because of the time difference, so if anyone can help here, I'd appreciate Jcwf (talk) 02:27, 24 March 2017 (UTC)

Is this still a problem? af: looks fine here. Johnuniq (talk) 02:31, 24 March 2017 (UTC)
Edit conflict. No, it is fine now. Thanks! Jcwf (talk) 02:32, 24 March 2017 (UTC)

Module:Redirect

I am confident in Lua, but I thought I would ask for help instead, so I do not break anything. Concerning Module:Redirect, which retrieves the target of a redirect page, the module uses .prefixedText to return the target of the page. However, I am looking to add (not necessarily replace) the option to use .fullText, and return the contents from that call.

For example, calling {{#invoke:redirect|main|List of Daredevil episodes|fulltext=y}} would return "Daredevil (TV series)#Episodes", where {{#invoke:redirect|main|List of Daredevil episodes}} would still return "Daredevil (TV series)".

This is so that I can check if a redirecting page links to a particular section on a the target article (e.g. the example already given), or if it does not. (For example, Vikings (season 5) redirects to "List of Vikings episodes", no section.) Cheers. -- AlexTW 09:32, 19 March 2017 (UTC)

@Mr. Stradivarius and Wnt: Pinging some major contributors to the module. -- AlexTW 15:55, 19 March 2017 (UTC)
The .prefixedText was added subsequent to my editing, and I don't think I ever thought about this issue. The edit summary for Stradivarius' addition here credits @Jackmcbarn: for the request, so I'll ping him. Wnt (talk) 16:11, 19 March 2017 (UTC)
While I imagine this change would not affect most modules using the getTarget function, some of them may be relying on the fact that the returned title string doesn't include a fragment, so adding one may break them. To avoid breaking them, there are basically two choices: a) go through all the modules using getTarget and alter them to work with fragments if that is necessary (that search gets 103 hits, so it's doable); or b) edit the getTarget function in such a way that it doesn't break existing uses. For b) you could add a flag to either return a fragment or not, or my preferred solution would be to write another function like getTarget that returns a mw.title object instead of a string, and then use that function from the main function instead. If I were to write getTarget again, I'd make it return a title object, as that is more flexible than just a string. — Mr. Stradivarius ♪ talk ♪ 22:34, 19 March 2017 (UTC)
@Mr. Stradivarius: Thanks for the reply. So, there wouldn't be a way to do it just for this module? -- AlexTW 01:01, 20 March 2017 (UTC)

I wasn't thinking about fullText when I wrote that originally. My preference now is actually to switch to that altogether, assuming that it wouldn't break anything. Jackmcbarn (talk) 17:34, 20 March 2017 (UTC)

@Mr. Stradivarius: Would this be allowable? -- AlexTW 09:25, 23 March 2017 (UTC)
@AlexTheWhovian: Sure, it sounds fine to me. Just make sure you don't break any of the modules that use Module:Redirect, that's all. :) — Mr. Stradivarius ♪ talk ♪ 14:45, 23 March 2017 (UTC)
Also, I'm not too sure what you mean by "a way to do it just for this module". Pretty much anything is possible - for example, you could copy the whole contents of Module:Redirect to a new module and then just edit that a little if you wanted. The important thing is what is going to be maintainable and reusable over the long run. Imagine that you are going to have to come back in six months and edit this module again - what would you do to make that process as easy as possible for yourself? — Mr. Stradivarius ♪ talk ♪ 14:50, 23 March 2017 (UTC)
I can think of a straightforward if inefficient way to go about this. You set up a parameter fulltext as suggested which makes FullTextFlag true; otherwise it's false. Then you replace *.prefixedText with FullTextFlag and *.fullText or *.prefixedText wherever it appears in the module. Then you preview each of the modules where you change the invoke to have the fulltext parameter set, and if need be save them like that for a few days/weeks to see if you get complaints. When every calling module (saving the most used for last) has successfully had the parameter set, you can then safely change that code above to *.fullText. And with no further complaints, you can revert each of the modules you changed the parameter in before. There are probably more sophisticated ways to do this... I personally don't think I'd trust my ability to preview all those modules and/or write up sufficient tests for all of them at once before committing to an edit. Wnt (talk) 22:43, 24 March 2017 (UTC)

Just can not edit Wikipedia

For last 2 hours, I am unable to edit Wikipedia. "Sorry! We could not process your edit due to a loss of session data. Please try saving your changes again. If it still does not work, try logging out and logging back in."
I tried logging out and logging in. Now trying to post now from IP. -- User:Titodutta posted from the 2406:E00:100:EC26:C4E7:B356:863E:4C75 (talk) 18:00, 25 March 2017 (UTC)

See Wikipedia:Village pump (technical)/Archive 153#"Loss of session data". PrimeHunter (talk) 18:10, 25 March 2017 (UTC)
  • a) login.wikimedia,org suggestion did not work here, I am using Firefox 52.0.1 (32 bit). a) I was able to to save edit from private window from my account Titodutta and b) general window anonymously (like the post above), but can not make edit once I log in to my account from Firefox. Chrome is working. --Tito Dutta (talk) 18:31, 25 March 2017 (UTC)
Have you tried to delete the cookies for wikipedia.org and wikimedia.org in Firefox? PrimeHunter (talk) 18:41, 25 March 2017 (UTC)

Module:Text count

There seems to be something wrong. For San Fernando, Cebu the list of its barangays in infobox should be …
San Isidro
Sangap

shouldn't it. Or am I doing something wrong? 112.198.82.25 (talk) 11:51, 24 March 2017 (UTC)

Sorry, don't understand. What "list of its barangays in infobox"? --Redrose64 🌹 (talk) 12:01, 24 March 2017 (UTC)
(edit conflict) Please clarify the perceived problem. Module:Text count isn't used in San Fernando, Cebu and the infobox (the box at the top right) has no mention of San Isidro or Sangap. The table in San Fernando, Cebu#Barangays mentions San Isidro and Sangat (t at the end). PrimeHunter (talk) 12:06, 24 March 2017 (UTC)
Here is another one at Siquijor, Siquijor
In infobox there is a line for {{PH barangay parts}} which takes Module:Text count. It seems like space and {{nbhyph}} are ignored.
San Fernando, Cebu#Barangays is not the problem. Wikidata for San Fernando (Q316318) shows the problem. (Sorry, Sangat) And Siquijor (Q174373). 112.198.82.25 (talk) 13:41, 24 March 2017 (UTC)
It still takes some work to figure out what problem you perceive. San Fernando, Cebu doesn't use {{PH barangay parts}} but if it's previewed there then it displays a collapsed list of the names at wikidata:Q316318#P150. Module:Text count counts the number of names. There are 21 names in the Wikidata item, there are 21 names in the list displayed by {{PH barangay parts}}, and it correctly counts there are 21. So I see no problem in Module:Text count. Are you thinking of the sorting made by Module:Sorted plain list? It places "Sangat" before "San Isidro" while it's probably more common to say space sorts before letters so "San Isidro" should come first. {{#invoke:sorted plain list|asc|San Isidro, Sangat, SanH, SanJ}} produces:
  • San Isidro
  • SanH
  • SanJ
  • Sangat
It currently ignores the space and displays in the order Sangat, SanH, San Isidro, SanJ. That's the second approach at Alphabetical order#Treatment of multiword strings. PrimeHunter (talk) 14:28, 24 March 2017 (UTC)
Pinging Frietjes who made Module:Sorted plain list. PrimeHunter (talk) 14:31, 24 March 2017 (UTC)
I'm not a Lua coder but it looks like the module simply calls the Lua function table.sort which uses a default Lua sort order. It's possible to supply your own order function but I guess it would complicate matters and hurt performance. If there is no serious problem with Lua's sort order then I think we should stick to it. Ignoring spaces and some special characters seems like a valid option to me. PrimeHunter (talk) 14:53, 24 March 2017 (UTC)
yes, the sort is based on the default string ordering in LUA. it is possible to change the comparison function (indeed we do something special for numbers) but you would need to do some additional string processing. Frietjes (talk) 18:19, 24 March 2017 (UTC)
if the question is how to have the list appear in the infobox, then the answer is that you would do this. Frietjes (talk) 18:25, 24 March 2017 (UTC)
Certainly you can add a parameter to use a different sort function; that wouldn't adversely affect performance anywhere it wasn't specified. But what order do you want? You'll have to be very clear. Wnt (talk) 22:54, 24 March 2017 (UTC)
Sorry I had a bit of it wrong when I started this question. I had the {{PH barangay parts}} ready to get the problem, as I hadn't actually committed the update. So yes it should have been same as Frietjes tried. As I said, a better looking problem can see in Siquijor, Siquijor. Basically, it should have the list emitted "normally".
{{#invoke:sorted plain list|asc|San Blas, San Carlos, San Isidro, San Tomas, Santa Fe, Santa Ursula, Santat }} produces:
  • San Blas
  • San Carlos
  • San Isidro
  • San Tomas
  • Santa Fe
  • Santa Ursula
  • Santat

I think it should be the first approach at Alphabetical order#Treatment of multiword strings.
[
As an aside, but there was a problem with a name including a comma. There was only one. I had to change Juan Climaco, Sr. (Magdugo) to become Juan Climaco‚ Sr. (Magdugo):
{{#invoke:sorted plain list|asc|Juan Climaco, Sr. (Magdugo) }}
  • Juan Climaco
  • Sr. (Magdugo)
versus
{{#invoke:sorted plain list|asc|Juan Climaco‚ Sr. (Magdugo) }}
  • Juan Climaco‚ Sr. (Magdugo)
]
112.198.82.25 (talk) 02:14, 25 March 2017 (UTC)
the sort order is determined by the result of the LUA string comparison, so if you want a different sort order, you have to create a different string comparison function. as for the comma in "Juan Climaco, Sr. (Magdugo)", clearly, if you asking it to split on the comma, it will split on the comma. if you have commas in the entries, then use a different delimiter. as for an actual problem in an article, when I check Toledo, Cebu there seems to be no actual problem in the list in the infobox since you used "," instead of "," for the comma. Frietjes (talk) 13:03, 25 March 2017 (UTC)
Reading the first option, it basically treats space as the highest alphabetical value, whereas the second omits it. I was disappointed to find that ~ and @ have the same treatment as space, but still {{#invoke:sorted plain list|asc|SanZZZZZZIsidro, Sangat, SanH, SanJ}} -> >
  • SanH
  • SanJ
  • SanZZZZZZIsidro
  • Sangat
. We can do a simple substitution of all the input parameter spaces to ZZZZZZs and then back again in the output, and put a note on it that the module doesn't work on text containing ZZZZZZ when the alternate sort algorithm parameter is set. Then we have a working option with only a small linear-time overhead for the substitution, rather than doing the whole sort more slowly. (This is still an awful kludge ... there must be a better way someone is about to tell me...) Wnt (talk) 19:19, 25 March 2017 (UTC)

Unexplained italics in an article

Several paragraphs in the Cowdenbeath article appear in italics even though they aren't enclosed in a pair of double apostrophes. It looks odd and I've tried to remove it but I've had no success and can't figure out what is causing the problem. Can anybody diagnose and fix this nonsense as it has me stumped! Keresaspa (talk) 00:58, 25 March 2017 (UTC)

this seems to fix it. My method was to remove ... stuff ... until the italics went away. The DIVs were obvious candidates, both in terms of their location immediately above the first instance, and then because they're just plain not the way we do things here. Why they had the result they had is above my pay-grade. --Tagishsimon (talk) 01:29, 25 March 2017 (UTC)
Ah, I missed those. Thank you very much though, a job well done. Keresaspa (talk) 19:49, 25 March 2017 (UTC)

My user script files (local and global) and gadgets have stopped working consistently

I have local (User:StevenJ81/common.js) and global (m:User:StevenJ81/global.js) script files that I use regularly here. Up until about two weeks ago, they generally ran correctly. Every once in a while I'd have a problem that they didn't automatically load; I attributed that to issues with MediaWiki upgrades, because by a week later or so, when the next upgrade was loaded, things starting working right again. However, this time, it's been about 2.5 weeks, and things are still not working right.

Here are some technical details:

  • Started two weeks ago, I think right after a MW upgrade.
  • I've seen the problem on two different computers. One is running Windows 7 Enterprise, and I've had problems both under Google Chrome (my usual browser, v. 56.0.2924.87) and also under IE (v. 11.0.9600.18537). The other is running Windows 10, again with Chrome. However, I don't have the problem on my iPad (iOS 10, running Safari, running in desktop rather than mobile mode).
  • Bypassing the cache helps sometimes, but not always.
  • Similarly: sometimes my script files load properly, sometimes they don't. On enwiki, they probably load properly more often than they don't, but no more than about 2/3 of the time. On Meta, they rarely load properly at all.
  • Looking at the JS console, even when pages run correctly, I am told I'm using some deprecated modules. When the pages don't run correctly, I also get an Uncaught TypeError: Cannot read property 'add PortletLink' of undefined and then gives me links to four different times it could not do so.
  • Testing the situation by removing certain tools from the script files one at a time does not consistently help.
  • To repeat: until 2.5 weeks ago, things were working correctly.
  • If this were only affecting my script files, maybe that would be my problem. But it also affects gadgets and mw:Extension:Translate.

If someone can be of assistance I'd greatly appreciate it. StevenJ81 (talk) 19:06, 24 March 2017 (UTC)

That error message suggests that "mw.util" is undefined, which means the module wasn't loaded properly. Try wrapping your code in
 mw.loader.using( ['mediawiki.util'], function () { 
// [rest of code]
});
Pppery 19:29, 24 March 2017 (UTC)
@StevenJ81: I already fixed your common.js script, I hope you'll be able to copy the strategy towards your global script file on meta. —TheDJ (talkcontribs) 20:55, 24 March 2017 (UTC)
Thanks to both. I'll try to get to them tomorrow night or Sunday. StevenJ81 (talk) 22:41, 24 March 2017 (UTC)
@TheDJ and Pppery: That seems to have done the job. Thank you very much. StevenJ81 (talk) 02:29, 26 March 2017 (UTC)

Content model change - is it valid?

I'm fixing up a series of bad edits made by Jo-Jo Eumerus (talk · contribs) to templates, and I've found this change to the content model. Was it a valid change? The page is not just CSS, it's got Wikitext as well, albeit enclosed in a <noinclude>...</noinclude>. I recall that content model changes caused a lot of trouble last year (see Wikipedia:Village pump (technical)/Archive 144#Wikitext on .js page; Wikipedia:Village pump (technical)/Archive 147#MW Error message when undoing "content model" change. --Redrose64 🌹 (talk) 19:16, 26 March 2017 (UTC)

I did test it in my user sandboxes beforehand, where it didn't change the display of the transcluded template. The issues linked there are different, the first is people having the wrong content model on a page where it is supposed to be JS and the second was an issue with how the page history interacts with content model changes. Jo-Jo Eumerus (talk, contributions) 19:21, 26 March 2017 (UTC)
Content model changes affect the display of a page, not really how it is transcluded: See User:Jo-Jo Eumerus/sandbox2, User:Jo-Jo Eumerus/sandbox3 and User:Jo-Jo Eumerus/sandbox4. Jo-Jo Eumerus (talk, contributions) 19:30, 26 March 2017 (UTC)
My humble opinion is that changing the content model should occur only when it provides a substantive benefit. I think the only effect in the above example is that Template:Divbox/style/gray looks pretty, and that is not sufficient to balance the confusion to people wondering why it looks pretty and what a content model is. On that last point, can someone explain the implications of setting a content model? The waffle at mw:Help:ChangeContentModel does not do the job. For example, does the js content model enable execution of script? Johnuniq (talk) 01:50, 27 March 2017 (UTC)
@Johnuniq: Content model changes change the way the page displays, like introducing the boxing for JSON pages, syntax highlighting in JS and CSS pages and forming the list format in MassMessage pages. So yeah, it's mostly a cosmetic thing - I'll stop doing it. Unless it's on an userspace page, then changing the content model from and to CSS/JS can cause the automatic protection that user JS and CSS enjoy to disappear (or appear), so one must be careful there. Jo-Jo Eumerus (talk, contributions) 14:46, 27 March 2017 (UTC)

14:46, 27 March 2017 (UTC)

Won't start a new line when it should

I've had this problem maybe 200 times in 43,000 edits spread over 7 years. (so it's only happening about once in 200 edits) So I assumed it was common and thought I could find it in the archives but couldn't. Each of these times is a case where there is a new line in the editing text but the text is all run together, i.e. there is no line break where there should be one.) when the page is displayed. Usually I can fix it by just entering a new line. This morning I just had the most stubborn one ever (at the bottom of the wp:ver talk page by the subsection title "Force line break") where the line break was badly needed where nothing I put in could cause a line break until in desperation I put in a section header just to cause a line break. This has been on many different computers although the only browser I use is Firefox. Does anyone know the cause or fix of the problem? Is it likely to show only on my computer (in which case I could just leave it) or would the problem show up all over the place? North8000 (talk) 19:55, 24 March 2017 (UTC)

@North8000:. In this particular case it is because the author before you User:S Marshall, was adding raw <p>'s, without closing them with </p>. —TheDJ (talkcontribs) 20:49, 24 March 2017 (UTC)
Thanks! Also curious about the more common case where a blank line is all that it takes to fix it. North8000 (talk) 21:08, 24 March 2017 (UTC)

The default behaviour of wikitext has always been that a newline in the source does not produce a newline in the rendering. This sentence is on its own source line but the rendering doesn't show that. To get a new rendered line you need something other than a single newline, for example a blank line (i.e. two consectuive newlines), a <br />, or at least one of the two lines starting with a colon or asterisk. See more at Wikipedia:Line-break handling. PrimeHunter (talk) 21:30, 24 March 2017 (UTC)

Wow. I remember the days when <p> was a self-closing tag and closing it was frowned upon. It surprises me that closing it is now obligatory, and failing to do so creates a hard to find bug ... was MediaWiki always like that, or was something changed? Wnt (talk) 23:05, 24 March 2017 (UTC)
The wikicode parser has many quirks. I didn't know this one, but it doesn't surprise me either. When you mix html parsing, with wikicode parsing and then need several sanitizer runs, things start behaving weird :) Doubt it's new behavior however, we almost never make changes to the parser anymore (exactly because it's impossible what weird stuff would break). —TheDJ (talkcontribs) 13:05, 25 March 2017 (UTC)
@PrimeHunter: That wasn't the case here, North8000 (talk · contribs) did have double newlines - and even tried changing to a triple newline - but the text still ran together. --Redrose64 🌹 (talk) 23:36, 24 March 2017 (UTC)
Yes, I was replying to "Also curious about the more common case where a blank line is all that it takes to fix it." I omitted indentation to demonstrate that a single newline has no effect. PrimeHunter (talk) 23:50, 24 March 2017 (UTC)

Thanks to all! I never noticed that a single line break never forces a new line. I guess I missed it because it's rarer to do that than I realized. Usually line breaks are also a paragraph breaks or something else like bulletting. Sincerely, North8000 (talk) 16:42, 27 March 2017 (UTC)

Local clock gadget apparently enabled without user intervention

This proposal regards the local gadget ("Add a clock to the personal toolbar that displays the current time in UTC").

I do not recall enabling the clock. I noticed it for the first time today on my personal toolbar and the time has caused some confusion (since the UK is on BST and is presently a UTC+1 time zone).

It would seem that the gadget was enabled automatically and this is arguably undesirable. Assuming that this gadget is somehow enabled by default, I propose that it not be.

Thank you for reading and considering this issue. — Preceding unsigned comment added by Martin Ming (talkcontribs) 14:35, 28 March 2017 (UTC)

@Martin Ming: It is not enabled by default. Usually when reports like this come in, people have managed to accidentally enable a gadget by exploring their preference, or they enabled in the past, but for various reasons it didn't work for them back then. Then something in the flow of the website, or their browser changed, causing the gadget to suddenly start working, giving the perception of it having been freshly enabled. —TheDJ (talkcontribs) 14:47, 28 March 2017 (UTC)

section headings not functioning correctly

At Wikipedia:Redirects for discussion/Log/2017 March 27 there are 13 level 4 section headings, however headings 1.6-1.9 ("Agie", "Mankri", "Amtrak acs64 622" and "Twenty One Pilots (album)(redirects)") have no edit links, and their content is visible when you click to edit section 1.5 ("First aerial victory by the U.S. military") as if they were subheadings. All the wikimarkup in those sections works as expected and the anchor links from the table of contents work exactly as they should too. I can't see anything in section 1.5's code that is obvious to me but I'm no coder. Thryduulf (talk) 08:08, 28 March 2017 (UTC)

Fixed, I think. A bracket mismatch in a link meant everything after an opening {{ was considered part of a template. Nthep (talk) 08:18, 28 March 2017 (UTC)
Thank you, although I'm puzzled by your insertion of several non-breaking spaces elsewhere on the page. Thryduulf (talk) 08:26, 28 March 2017 (UTC)
no idea where those came from! I didn't go anywhere near those sections. Nthep (talk) 08:30, 28 March 2017 (UTC)
I've ran into this issue in the past: [84]. @Nthep: are you using wikEd? – Train2104 (t • c) 10:06, 28 March 2017 (UTC)
Yes. Nthep (talk) 10:15, 28 March 2017 (UTC)
I bumped into this with an edit made by Headbomb. WikEd will automatically convert actual non-breaking spaces to their HTML entity representations. I think this is broadly a good thing, though it can be unexpected. --Izno (talk) 11:27, 28 March 2017 (UTC)
Changing invisible nbsp characters to HTML entities is recommended by MOS. – Jonesey95 (talk) 14:38, 28 March 2017 (UTC)
This traces its way back to MediaWiki:Dot-separator, which has the nbsp properly encoded, but in Lua table.concat seems to convert the HTML entities into the invisible character. Since there was no consensus to unsubst anything, this will have to be addressed downline. (Lua tableModule:ToolbarModule:PageLinksTemplate:Page-multiTemplate:Rfd2) – Train2104 (t • c) 15:05, 28 March 2017 (UTC)
table.concat does not do anything at all to HTML entities. MediaWiki does it while fetching the message. Anomie 15:40, 28 March 2017 (UTC)

Search stats?

To help with the discussion Wikipedia:Village pump (idea lab)/Archive 23#Question redirects, please answer the following question:

"Does Wikipedia collect statistics on what the most common search terms are?"

Thank you. The Transhumanist 23:07, 28 March 2017 (UTC)

Wikipedia doesn't, wikimedia does: https://phabricator.wikimedia.org/T115085 https://lists.wikimedia.org/pipermail/wikimedia-l/2016-July/084745.html — Preceding unsigned comment added by 197.218.88.234 (talk) 23:57, 28 March 2017 (UTC)

Search engine

What's the search engine and extensions used for Wikipedia? The Transhumanist 00:59, 29 March 2017 (UTC)

Wikipedia uses mw:Extension:CirrusSearch. Special:Version has a list of installed extensions at the English Wikipedia. PrimeHunter (talk) 02:00, 29 March 2017 (UTC)

You are invited to join the discussion at WT:NFCC#Template:Missing rationale2. -- Marchjuly (talk) 06:08, 29 March 2017 (UTC)

Faulty template...

Resolved

Template:Philippine name gives a grammatically-faulty result of

"In this Philippine name. The family name is {{{first}}} ."

The correct dabnote/hatnote wording should be

"In this Philippine name, the family name is {{{first}}} ."

I have no idea how to fix this issue. Could someone type out the code-fix here explaining the whys etc and then go fix it on the page? I tried to look at the code but am *so* not a coder and it all just looks like mush to me. Plus I don't understand how to get the different results listed on the Template's page. Explanations of the changes are really appreciated - they help me learn how to maybe do this sort of thing the next time. Thanks in advance O Smart Ones - Shearonink (talk) 17:04, 28 March 2017 (UTC)

Forgot to mention that this has come up on the Template's talkpage - Typo in this hatnote. Shearonink (talk) 17:06, 28 March 2017 (UTC)
This has been fixed. – Jonesey95 (talk) 19:33, 28 March 2017 (UTC)
Bless you - I'll go take a look and see if I can figure it all out. Shearonink (talk) 16:09, 29 March 2017 (UTC)

Evaluation of technical feasibility

It was recommended that I ask here to get input on technical implementation of a proposal now in second draft at User:Timothyjosephwood/Page protector, which is intended to be an attempt at a follow up to a similar proposal at Wikipedia talk:Protection policy. Input is welcome. TimothyJosephWood 19:29, 29 March 2017 (UTC)

No editing on 19 April and 3 May 2017 from 14:00 to 14:30 UTC

Hello, all.

Due to the server switch project, all of the wikis will be in read-only mode for 20 to 30 minutes on two days soon:

  • Wednesday, 19 April 2017, starting at 14:00 UTC
  • Wednesday, 3 May 2017 (two weeks later), starting at 14:00 UTC

Those who remember last year's similar project already know the drill: Please share the news with your friends and favorite bot ops (it's possible that a bot or two will need to be restarted), don't try to save something important at the last possible second (because you might lose your work), and could someone make sure that the IRC help channels are aware of this event?

If you are a MediaWiki hacker, then please note that the normal deployment schedule has been canceled during both of those weeks.

There is more information at m:Tech/Server switch 2017. There will be official announcements shortly beforehand. If you have questions/problems/ideas, then please ping me. Whatamidoing (WMF) (talk) 22:00, 29 March 2017 (UTC)

My Twinkle stopped working.

Recently, my Twinkle just stopped appearing on my screen. I have checked my preferences, but Twinkle option is applied. However, when I checked Twinkle preferences, it said that I did not have Twinkle installed. Can you help me out? --Cheers, FriyMan talk 16:36, 29 March 2017 (UTC)

I see you changed User:FriyMan/common.js on March 20th. Has Twinkle worked for you at any time after that? f not (or if you're not sure), you may want to try to undo these changes and see if that helps. עוד מישהו Od Mishehu 19:34, 29 March 2017 (UTC)
I do not know if this is magic or something else, but the second I entered the history of my common.js page, the Twinkle started working. Thank you for advice. --Cheers, FriyMan talk 20:36, 29 March 2017 (UTC)
Od Mishehu Nevermind, it didn't start working magically. But removing my attempt to make navshortcuts fixed it. Thank you. --Cheers, FriyMan talk 20:39, 29 March 2017 (UTC)
@FriyMan: The problem isn't so much with the edits of 20 March but that the preceding code is unterminated (there's a missing semicolon) - i.e. change
importScript('User:Equazcion/OneClickArchiver.js')
to
importScript('User:Equazcion/OneClickArchiver.js');
- then you should be able to add more code without problem. --Redrose64 🌹 (talk) 22:28, 29 March 2017 (UTC)

What is this character? And can we purge it from existence on Wikipedia?

https://en.wikipedia.org/w/index.php?title=Sex_assignment&type=revision&diff=772877122&oldid=772818778

I never encountered this. It made editing the pmid very weird, both in AWB and in Wikipedia's editing window.Headbomb {t · c · p · b} 21:47, 29 March 2017 (UTC)

It appears to be the Hebrew word which Google says translates to "Foundation". Hebrew script does make editing very difficult, as it goes in the opposite direction to English. DuncanHill (talk) 21:50, 29 March 2017 (UTC)
Ah, vandalism, not some database interaction issue. My bad. Headbomb {t · c · p · b} 21:54, 29 March 2017 (UTC)
Well, it could be a test edit, I've put a note on the IP's talk page suggesting they use the sandbox. DuncanHill (talk) 21:55, 29 March 2017 (UTC)
Unicode Character 'HEBREW LETTER QOF' (U+05E7) --Redrose64 🌹 (talk) 23:29, 29 March 2017 (UTC)

Why doesn't [[Geo: Geography and Environment]] link?

If you try to link [[Geo: Geography and Environment]], it doesn't work. What gives? Headbomb {t · c · p · b} 01:06, 30 March 2017 (UTC)

Might have something to do with geo: making magic links URI scheme making external links like geo:37.786971,-122.399677 (but maybe that's just coincidence)? - Evad37 [talk] 01:25, 30 March 2017 (UTC)
It's definitely related to that. geo: is in mw:Manual:$wgUrlProtocols like http://, https:// and many others. They behave similarly (just displaying without doing anything) in wikilink syntax with a space right after the protocol: [[geo: something]], [[http:// something]]. Compare to unspaced [[85]] ([[geo:something]]) or [[86]] ([[http://something]]. They are interpreted as external link syntax where the inner brackets make the external link while the outer brackets have no syntactic function but are just displayed. [geo: something] should display "something" on a link to [geo:], but no external link can actually be made when there is nothing after the protocol. So [[Geo: Geography and Environment]] was never supposed to make a wikilink. It was supposed to make an external link to [geo:] with link text "Geography and Environment" and some arbitrary characters which happen to be brackets displayed around the link. Summary: It's a quirk, just ignore it. PrimeHunter (talk) 02:16, 30 March 2017 (UTC)