Wikipedia:Village pump (technical)/Archive 131#Template help needed
{{Wikipedia:Village pump/Archive header}}
Minor nit about watchlist tags for mobile edits
It seems that if an edit is tagged as "mobile web edit" or "mobile app edit", it is also tagged as "mobile edit" ([https://en.wikipedia.org/w/index.php?title=Scorp%C3%A8ne-class_submarine&curid=2695159&diff=628145736&oldid=627265627 example]). Given that the first implies the second, is it possible to only display the more precise tag (mobile web/app edit) and suppress the more general tag? Or does the tag system not work that way? Is there even any other way to edit from mobile if not from the app or from the web? Regards, Orange Suede Sofa (talk) 00:42, 4 October 2014 (UTC)
:Thanks for the suggestion. I actually suggested this back when we were looking at rolling the app out, and the Analytics team at the WMF suggested that we use the current structure as it was easier for them. So I don't think we can change this at this time. --Dan Garry, Wikimedia Foundation (talk) 21:08, 6 October 2014 (UTC)
Notification not clearing
For some reason the red "1" won't clear, even when I log out and clear cookies, or view the changes, after an article I started (Molecular gyroscope) was linked to from molecular machine. It had cleared just a short time before when linked from gyroscope. Did someone break something? Wnt (talk) 20:40, 6 October 2014 (UTC)
Note: I did eventually clear this by turning off notifications then turning them back on again - the problem is, a different ping came in right when I was doing this, so I'm not actually sure which category turned off and on cleared it. Wnt (talk) 21:55, 6 October 2014 (UTC)
Adding a picture in a table with background color?
Hey, I have the page WWII Puppet States, and I have a table with most of (hopefully) the puppet states in WWII. In this page, there is a table. Some of the info in this table have background colors, using the tool
I asked this over at the help desk and after several days of no response, someone redirected me here. Hope it can get resolved.
Thanks for any help. Cnd474747 (talk) 00:53, 7 October 2014 (UTC)
:{{ping|Cnd474747}} Could you add the table with the flags to your sandbox so that we can see the code you're using? — Mr. Stradivarius ♪ talk ♪ 01:39, 7 October 2014 (UTC)
::{{ping|Mr. Stradivarius}} I would love to, but for simplicity's sake I'll just post a snippet of the problem here.
class="wikitable"
!Created!!Disestablished !width=15%|Puppet State !Flag !Country/territory!!Notes | ||||
bgcolor=lightgreen|1921-08-14 | bgcolor=lightgreen|1944-10-11 | bgcolor=lightgreen|{{collapsible list
| title = {{nowrap|Tuvan People's | | {{Langx|tyv|Tьвa Arat Respuвlik}} | {{langx|ru|Урянхайский край}} }} |bgcolor=lightgreen|100px | bgcolor=lightgreen|Tannu Uriankhai, part of China | bgcolor=lightgreen|Also known as "Tuva," Russia had been sending people (mainly farmers and fishermen) in to Tuva since 1860. In 1921, Russian-backed Bolsheviks stormed Tuva, after recently having declared its independence during the Mongolian Revolution of 1921. It was later annexed into the Tuvan Autonomous Oblast, per request of the "Little Khural," the executive committee of the Great Khural. |
1939-12-01 | 1940-03-12 | {{collapsible list
| title = {{nowrap|Finnish Democratic | | {{langx|fi|Suomen kansanvaltainen tasavalta}} | {{langx|ru|Финский Демократическая Республика}} }} |100px(no official flag was established) | Finland | Encompassing the Hanko Peninsula, Suursaari, Seiskarim Lavansaari, Tytärsaari, and "Great and Little Koivisto", the Finnish Democratic Republic (sometimes also called the "Terijoki Government," because Terjoki was the first town to be captured by the Soviets) was created during the Winter War, and later merged with the Karelian ASSR to make the Karelo-Finnish SSR |
That's weird, I swear it wasn't working the other day.Cnd474747 (talk) 01:50, 7 October 2014 (UTC)
Backtracking strange nuisance exploits
I frequently get a notification by e-mail stating that somebody has requested a password reset. However, instead of my username it says: "Username:?" It looks as though someone is trying to gain access but somehow there is a connection between my e-mail address and some account that doesn't have a printable username. Is there any way to go from an e-mail address to all accts that use that e-mail address? I know that whoever it is that initiates these requests can't get into my acct, but this nonsense has been going on for two or three years. The IP address that starts this process is always some mobile phone-type site, often in Europe, occasionally in Canada...
Unique red links
Can some master of Wiki-fu generate for me a list of article-space red links that appear precisely one article in all of Wikipedia. I have a theory that a great many such links are likely to be either misspellings or links to topics that will never have an article on them (e.g. "nothing is known about 1890s relief pitcher Billy Joey Bloggs except that as a child he lived on a farm with his younger brother, Joey Jo-Jo Bloggs, who died of consumption at the age of 15"). Cheers! bd2412 T 16:46, 1 October 2014 (UTC)
:I'm running this query now, which should do it:
select pl_title from pagelinks
inner join page as srcpage on(pl_from = srcpage.page_id)
left outer join page as dstpage on(pl_title = dstpage.page_title)
where srcpage.page_namespace = 0 and pl_namespace = 0
and dstpage.page_title is null
group by pl_title
having count(*) = 1;
:It will probably take a while. I'll let you know when it's done. Jackmcbarn (talk) 23:39, 1 October 2014 (UTC)
:It is apparently [http://tools.wmflabs.org/betacommand-dev/reports/single_red_links.7z done]. Howicus (Did I mess up?) 03:02, 2 October 2014 (UTC)
::That's Betacommand's query, which should be the same as mine. For some reason, mine's not done though. Once it is, I'll compare the two. Jackmcbarn (talk) 03:09, 2 October 2014 (UTC)
::: Sounds like it's going to be pretty big list. Well, more to do. Thanks for your help! bd2412 T 04:07, 2 October 2014 (UTC)
::::Mine was still running now, over 12 hours later. I ran out of patience and killed it, since Betacommand's is done. Just use his. Jackmcbarn (talk) 14:31, 2 October 2014 (UTC)
/* Article Red Link Counter
* Runtime: Untested
*/
SELECT
CONCAT("* ", pl_title, "") AS Redlinks,
SUM(src.page_namespace=0) AS ArticleCount,
COUNT(*) AS TotalCount
FROM page AS src
JOIN pagelinks ON pl_from=src.page_id
LEFT JOIN page AS dst
ON pl_namespace=dst.page_namespace AND pl_title=dst.page_title
WHERE dst.page_title IS NULL AND pl_namespace=0
GROUP BY pl_title
HAVING ArticleCount BETWEEN 1 AND 1;
You forgot dstpage.page_namespace=0
which is why your query ran slow. I've improved it by adding namespace totals since some people and WikiProjects like WP:VG keep internal lists of missing articles (And fixes another bug in your query). The submitter then can use Pivot Tables (MS Excel or LibreOffice) to narrow the results. — Dispenser 16:35, 2 October 2014 (UTC)
: Also, thanks. bd2412 T 13:14, 3 October 2014 (UTC)
:: Just to be clear, is this list actually being generated somewhere, or are you just discussing how to generate it? bd2412 T 12:28, 7 October 2014 (UTC)
Hashes into Section
To whomever was responsible for translating hash-marks in see-also wiki-URLs in into the section-marker... thank you. Maury Markowitz (talk) 15:16, 3 October 2014 (UTC)
:Looks like that was Mr. Stradivarius through module:hatnote. -- Gadget850 talk 16:42, 3 October 2014 (UTC)
::You're welcome! Credit also belongs to Codename Lisa for having the idea in the first place. :) — Mr. Stradivarius ♪ talk ♪ 00:35, 4 October 2014 (UTC)
:::Mr. Stradivarius, can it be adapted to not misformat already piped links to sections? The end of MOS:LINK2SECT displays the example
which renders like below (currently badly).
:::{{See also|Help:Link#Section linking (anchors){{!}}Section linking help}}
:::I have long wondered whether the hacky use of
to make piped links in some template parameters (not just hatnotes but also infoboxes and others) would cause problems later. PrimeHunter (talk) 22:05, 4 October 2014 (UTC)
::::That would be easy to fix, but I wonder if it wouldn't be better to fix the individual transclusions to not include
. If we wanted to do that, we could add a tracking category to Module:Hatnote to detect pages where they appear so that they can be changed to non-pipe versions. — Mr. Stradivarius ♪ talk ♪ 03:19, 5 October 2014 (UTC)
:::::I've made the fix in Module:Hatnote to detect piped links made with
now. (Notice that the link above displays properly again.) I'm still not sure that allowing this is the best course of action, though, so I'm thinking of adding tracking categories to the individual hatnote modules as well. — Mr. Stradivarius ♪ talk ♪ 11:03, 7 October 2014 (UTC)
::::::Thanks for the fix. Relying on the fix or removing the instances are both OK by me. I don't know how common
is to make pipes in hatnotes. I mainly see it used in infoboxes. PrimeHunter (talk) 13:08, 7 October 2014 (UTC)
The donation popup should not scale with page size.
As a visually impaired person I have to increase page size for all pages in order to be able to read anything, but with the wikipedia donation popup. I get this large obtrusive page like [http://i.imgur.com/bzaCcPj.png This]. — Preceding unsigned comment added by 68.58.108.131 (talk) 23:36, 6 October 2014 (UTC)
:Hi 68.58.108.131, I'm sorry to hear you have had trouble closing the donation banner on Wikipedia! I am sending this information along to my team to see if there is anything we can do to resolve it. In the meantime, we have a few workarounds to hide banners:
:* You can visit our donation Thank You page, which will insert a cookie to hide banners for about another year: https://wikimediafoundation.org/wiki/Thank_You/en
:* You can log in to Wikipedia, as we no longer show our banners to logged in users.
:I hope that helps! Thanks for the feedback, and please feel free to email the Fundraising team at {{nospam|donate|wikimedia.org}}. --CCogdill (WMF) (talk) 17:56, 7 October 2014 (UTC)
[[Template:Top icon]] seems to be broken in Monobook
Template:GA user topicon (which inherits from Template:Top icon) seem to now give a display style of "none" for all the icons. See User:Ritchie333/TopIcons for example. Works okay in Vector, but not in Monobook. Ritchie333 (talk) (cont) 14:15, 7 October 2014 (UTC)
:{{ping|Ritchie333}} What browser and OS are you using? Your example page worked ok for me when I used [https://en.wikipedia.org/w/index.php?title=User:Ritchie333/TopIcons&useskin=monobook this monobook-ified link] in Firefox on Ubuntu. — Mr. Stradivarius ♪ talk ♪ 14:33, 7 October 2014 (UTC)
::Windows 7 64 bit, Google Chrome, user agent is : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36
But it's just started working again. The important bit seems to be the default monobook.js overriding the style on a div in class "topicon" from "none" to "block !important" Ritchie333 (talk) (cont) 14:38, 7 October 2014 (UTC)
VisualEditor newsletter—September and October 2014
File:VisualEditor-logo.svgFile:TemplateData GUI editor with two parameters.pngDid you know?
TemplateData is a separate program that organizes information about the parameters that can be used in a template. VisualEditor reads that data, and uses it to populate its simplified template dialogs.
With the new TemplateData editor, it is easier to add information about parameters, because the ones you need to use are pre-loaded.
See the help page for TemplateData for more information about adding TemplateData. The user guide has information about how to use VisualEditor.
Since the last newsletter, the Editing team has reduced technical debt, simplified some workflows for template and citation editing, made major progress on Internet Explorer support, and fixed [https://bugzilla.wikimedia.org/buglist.cgi?list_id=349619&order=priority%252Cbug_severity&product=VisualEditor&query_format=advanced&resolution=FIXED&target_milestone=VE-deploy-2014-08-14&target_milestone=VE-deploy-2014-08-21&target_milestone=VE-deploy-2014-08-28&target_milestone=VE-deploy-2014-09-04&target_milestone=VE-deploy-2014-09-11&target_milestone=VE-deploy-2014-09-18&target_milestone=VE-deploy-2014-09-25&target_milestone=VE-deploy-2014-10-02 over 125 bugs and requests]. Several performance improvements were made, especially to the system around re-using references and reference lists. Weekly updates are posted on Mediawiki.org.
There were three issues that required urgent fixes: a deployment error that meant that many buttons didn't work correctly (bugs 69856 and 69864), a problem with edit conflicts that left the editor with nowhere to go (bug 69150), and a problem in Internet Explorer 11 that caused replaced some categories with a link to the system message, MediaWiki:Badtitletext (bug 70894) when you saved. The developers apologize for the disruption, and thank the people who reported these problems quickly.
= Increased support for devices and browsers =
Internet Explorer 10 and 11 users now have access to VisualEditor. This means that about 5% of Wikimedia's users will now get an "Edit" tab alongside the existing "Edit source" tab. Support for Internet Explorer 9 is planned for the future.
Tablet users browsing the site's mobile mode now have the option of using a mobile-specific form of VisualEditor. More editing tools, and availability of VisualEditor on smartphones, is planned for the future. The mobile version of VisualEditor was tweaked to show the context menu for citations instead of basic references (bug 68897). A bug that broke the editor in iOS was corrected and released early (bug 68949). For mobile tablet users, three bugs related to scrolling were fixed (bug 66697, bug 68828, bug 69630). You can use VisualEditor on the mobile version of Wikipedia from your tablet by clicking on the cog in the top-right when editing a page and choosing which editor to use.
= TemplateData editor =
A tool for editing TemplateData will be deployed to more Wikipedias soon. Other Wikipedias and some other projects may receive access next month. This tool makes it easier to add TemplateData to the template's documentation. When the tool is enabled, it will add a button above every editing window for a template (including documentation subpages). To use it, edit the template or a subpage, and then click the "{{int:templatedata-editbutton}}" button at the top. Read the help page for TemplateData. You can test the TemplateData editor in a sandbox at Mediawiki.org. Remember that TemplateData should be placed either on a documentation subpage or on the template page itself. Only one block of TemplateData will be used per template.
= Other changes =
Several interface messages and labels were changed to be simpler, clearer, or shorter, based on feedback from translators and editors. The formatting of dialogs was changed, and more changes to the appearance will be coming soon, when VisualEditor implements the new MediaWiki theme from Design. (A preview of the theme is available on Labs for developers.) The team also made some improvements for users of the Monobook skin that improved the size of text in toolbars and fixed selections that overlapped menus.
VisualEditor-MediaWiki now supplies the mw-redirect
or mw-disambig
class on links to redirects and disambiguation pages, so that user gadgets that colour in these in types of links can be created.
Templates' fields can be marked as 'required' in TemplateData. If a parameter is marked as required, then you cannot delete that field when you add a new template or edit an existing one (bug 60358).
Language support improved by making annotations use bi-directional isolation (so they display correctly with cursoring behaviour as expected) and by fixing a bug that crashed VisualEditor when trying to edit a page with a dir
attribute but no lang
set (bug 69955).
= Looking ahead =
The team posts details about planned work on the VisualEditor roadmap. The VisualEditor team plans to add auto-fill features for citations soon, perhaps in late October.
The team is also working on support for adding rows and columns to tables, and early work for this may appear within the month. Please comment on the design at Mediawiki.org.
In the future, real-time collaborative editing may be possible in VisualEditor. Some early preparatory work for this was recently done.
= Supporting your wiki =
At Wikimania, several developers gave presentations about VisualEditor. A translation sprint focused on improving access to VisualEditor was supported by many people. Deryck Chan was the top translator. Special honors also go to संजीव कुमार (Sanjeev Kumar), Robby, Takot, Bachounda, Bjankuloski06 and Ата. A summary of the work achieved by the translation community has been posted here. Thank you all for your work.
VisualEditor can be made available to most non-Wikipedia projects. If your community would like to test VisualEditor, please contact product manager James Forrester or file an [https://bugzilla.wikimedia.org/enter_bug.cgi?product=VisualEditor&component=General enhancement request in Bugzilla].
Please join the office hours on Saturday, 18 October 2014 at [http://www.timeanddate.com/worldclock/fixedtime.html?hour=18&min=00&sec=0&day=18&month=10&year=2014 18:00 UTC] (daytime for the Americas; evening for Africa and Europe) and on Wednesday, 19 November at [http://www.timeanddate.com/worldclock/fixedtime.html?msg=VisualEditor+office+hour+for+November&iso=20141119T16&p1=1440 16:00 UTC] on IRC.
Give feedback on VisualEditor at mw:VisualEditor/Feedback. Subscribe or unsubscribe at Meta. To help with translations, please subscribe to the Translators mailing list or contact Elitre at Meta. Thank you!
— Whatamidoing (WMF) (talk) 00:10, 8 October 2014 (UTC)
Problem with image size
File:Hajj_locations_and_rites.png
Recently I uploaded an image on Wikipedia. As it can be seen, it does not fit into the box. I can't understand where the problem is. On my PC, the image size is 900 x 570. The file has been used on Hajj article. Will anyone please tell me what the problem is? I used Illustrator CS 11 to edit this image after collecting it from an [https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D8%AD%D8%AC_%D9%81%D9%8A_%D8%A7%D9%84%D8%A5%D8%B3%D9%84%D8%A7%D9%85 Arabic article] where it fits nicely. -AsceticRosé 00:51, 8 October 2014 (UTC)
:Isn't your new file redundant to :File:Hajj1.gif anyway? Jackmcbarn (talk) 00:53, 8 October 2014 (UTC)
::Answering the original question, the image itself has a large transparent region to the left. It needs to be re-cropped. See [https://upload.wikimedia.org/wikipedia/en/archive/4/46/20141008012324%21Hajj_locations_and_rites.png this] rendering to see the problem. Regards, Orange Suede Sofa (talk) 00:56, 8 October 2014 (UTC)
:::@Jackmcbarn, Idon't think it is redundant. :File:Hajj1.gif is much smaller and hence unclear.
:::@{{U|Orange Suede Sofa}}, in Illustrator, the image has no such extra transparent area so that I can crop. -AsceticRosé 01:15, 8 October 2014 (UTC)
::::I cropped it for you, using Photoshop. In Illustrator you need to adjust the "artboard" area, I think. Begoon talk 01:24, 8 October 2014 (UTC)
:::::Thanks {{U|Begoon}} for the cooperation. -AsceticRosé 01:33, 8 October 2014 (UTC)
Adding accessdate parameter
If adding an accessdate parameter to a citation template, am I correct in that the original date the template was added should be used, and not the date the parameter was added, unless the editor verifies that the URL still supports the assertion? --NE2 10:30, 6 October 2014 (UTC)
:The date used should be the last time someone verified the link still worked and contained what the citation asserts it contains. -Rrius (talk) 10:50, 6 October 2014 (UTC)
:Oops, I thought I posted this on the policy pump. If anyone else feels it fits better there, feel free to move it. --NE2 11:43, 6 October 2014 (UTC)
:As Rrius said, use the date when the link was last verified. The point of the parameter is to let readers now how recently the URL was known to work. Here is the full documentation from :Template:Citation Style documentation:
::accessdate Full date when original URL was accessed; use the same format as other access and archive dates in the citations; requires url. Do not wikilink. Not required for web pages or linked documents that do not change; mainly for use of web pages that change frequently or have no publication date. Can be hidden or styled by registered editors.
:If you feel the documentation is misleading or incorrect in its wording, please consider improving it. Cheers, Jason Quinn (talk) 12:48, 6 October 2014 (UTC)
::I ask because the "reflinks" script appears to add the current date as accessdate, at least as it's being used by one user as I confirmed by running it. --NE2 14:00, 6 October 2014 (UTC)
:::Yes, the date on which the referenced text supports the Wikipedia article text is what is recorded in {{para|accessdate}}. It is not the most recent date on which some server happened to respond to a request for that URL. The documentation has been updated to more clearly reflect this. The script should not be updating {{para|accessdate}} to the current date without user verification that the contents still support the text in the Wikipedia article. — Makyen (talk) 15:21, 6 October 2014 (UTC)
::::{{ping|Makyen|NE2}} Then what should happen when the original reference does not have an accessdate? The tool currently does not expand references with anything beyond an external link. Zhaofeng Li
:::::Either don't add one at all, or go back in the history and find when the reference was added. --NE2 08:37, 7 October 2014 (UTC)
::::::{{edit conflict}} {{reply to|Zhaofeng Li}} The date which should be used for a missing {{para|accessdate}} is the date the reference was originally entered into the article. It can be assumed the person who entered it into the article actually was using the reference on that date. However, flagging it as something which a human should address by actually verifying the reference text supports the article text would be better. Note that it can be a non-trivial task to find the first date of when the reference was entered in the article, particularly if User:Citation bot was involved (in the past it has mangled citations quite effectively). The reference/citation can have changed form, some content and, of course, location within the page over its lifetime, potentially over several years. It can take multiple history searches to find the actual insertion of a reference with each search looking for the text that the reference was prior to a change. — Makyen (talk) 09:01, 7 October 2014 (UTC)
{{od|6}} {{ping|Makyen|NE2}} Thanks for the response. As there isn't a standard way to "flag" the references on-wiki currently, I've implemented an option to skip accessdate generation. Please try the [https://tools.wmflabs.org/fengtools/reflinkstest/ the test version] (check the "Do not add access dates in the result" box). Thanks. Zhaofeng Li
:This should be the default, not a box that needs to be checked. Something also has to be done about all the bogus accessdates that have been added. --NE2 09:18, 7 October 2014 (UTC)
::{{reply to|Zhaofeng Li}} Thank you for being responsive and making changes. I agree with both points which NE2 mentioned. Not changing the {{para|accessdate}} should be the default. The user should have to make an effort to change them. Probably, not just a checkbox. Certainly not a single checkbox for multiple references as changing the {{para|accessdate}} means you have actually read the reference and checked to be sure that it still supports the article text.
::Reverting the already made changes to {{para|accessdate}}: Yes, this should be done. I expect that it will be a pain the the rear.
::By flagging, I meant that within your user interface you indicate to the user that this particular reference should have human attention for reason X. In this case, because there was no {{para|accessdate}} and we need to figure out when the reference was inserted into the article. You can then have a link to the revision history search with the contents of the reference already filled in. Make sure to note to the user that multiple searches may be required and that they need to actually look at the diff to the version resulting from the history search to see if the reference was inserted, moved (note that they need to check at least one version earlier as it might be a copy-delete-save-paste-save type move), or changed and a new search initiated with the older version of the reference. There may be a need for multiple iterations of this process. — Makyen (talk) 10:04, 7 October 2014 (UTC)
:::This is an interest thread. Speaking as a user who regular follows citations and cite- can I add that there are two bits of information missing, verifiedby and verifieddate and even verifycomment. If I see an article in my specialism that has been verified by User:XYZ- who I know, than I am happy, If I see that it is User:Flopsybunny1996 I am likely not to trust it, and will wish to verify it. If the reference is vague but still useful I would like to comment on that. That said, all this needs to default when I chase a link- as I am not patient enough to lose focus by editing another set of boxes. What we are doing is enhancing the quality of the data.-- Clem Rutter (talk) 11:18, 7 October 2014 (UTC)
::::What if someone else trusts Flopsybunny1996 but not XYZ? --NE2 12:57, 7 October 2014 (UTC)
:::::Ditto- we have just saved them some work. We can all be more confident in the quality of the data if the verification is signed.-- Clem Rutter (talk) 18:27, 7 October 2014 (UTC)
::::::You're missing my point. XYZ comes across the article and sees it's verified by Flopsybunny1996. XYZ thinks he's more reputable than Flopsybunny1996, and replaces Flopsybunny1996 with himself after verifying the citation. Now it's less useful to my hypothetical Flopsybunny1996-truster. (I realize Flopsybunny1996 was deliberately chosen to scream 'noob', but it would be simple to change it to two editors that are roughly equivalent and have slight biases on either side of an issue, thus people on the same side are more likely to trust one over the other.) --NE2 19:11, 7 October 2014 (UTC)
:::::::It really doesn't matter, the reference is not being changed. In 1% of cases- there may be two guys who want to do that- it will appear in the edit summmary. When I know that someone has verified it there is no more to do. If an IP verified it, I would want to check again. We are verifying the existence of a reference- not the quality (that can be put in the verifiedcomment field)- that could open a can of worms in a very few cases. In the case od edit warriors with POVs, then they would just change the reference. I surmise that the only people who do take references seriously are those of us who are trying to drag an article from start through C, B to the dizzy heights.-- Clem Rutter (talk) 20:28, 7 October 2014 (UTC)
:::While I am distracted, is there a known reason why the cite family of templates don"t default to ref=harv, thus allowing the Notes/Bibliography style of referencing, we all use. The editor citation entry wizard does't even have an box to add it. It is a real pain having to teach professional newbys that way to make this work is to type 20-10-2014|ref=harv into the date box. We do need to think about the way our editor base is changing- or, if this is too complicated, not. At the last training course a very useful professional did not know about the Ctrl key and was delighted to be shown Ctrl-C/Ctrl-V. -- Clem Rutter (talk) 11:18, 7 October 2014 (UTC)
::::{{replyto|ClemRutter}} If ref=harv were turned on by default, two citations with the same author name and year would lead to invalid HTML. See Template:Citation/doc#IDs must be unique. -- John of Reading (talk) 11:36, 7 October 2014 (UTC)
:::::Thanks for that, and it is not trivial to code up a duplication check.-- Clem Rutter (talk) 18:27, 7 October 2014 (UTC)
::::::Sorry for the late response, will make no accessdate as default soon. {{ping|Smith609}} Is it possible for you to make your Citation Bot find out when a reference was added, and add accessdate to it when appropriate? Zhaofeng Li
Working On A University Project About Wikipedia - Technical Questions About Its' Information Security Systems
Good evening,
My name is Francisco Camões, I'm an 18 year-old student from Portugal. I'm currently studying at FEUP (Engeneering Faculty of Oporto's University). Me and 4 other students were given a theme to do a project about, which was to search for Wikipedia's systems to control the incoming information and it's fiability. Sadly, we couldn't find enough detailed information about it (we looked through practically every wikipedia's corner) and we're fearing our project won't correspond to our expectations.
This beeing said, we would like to kindly ask you to provide us some information about the following subjects, if possible.
1. We know Wikipedia's extremely efficient in deleting "information vandalism" in its' databases, but we wanted to know how that is processed. Is the information filtered by any computer program (bot) or is it manually checked by wikipedia's staff &/or other individuals? Or both?
1.1. Does wikipedia use any program to detect (...) or is it manually deleted:
- duplicated information
- fake information
2. Do wikipedia users have different credibilty, when writing about an article, according to previous activity on wikipedia (this means: an individual who contributed with correct & verifiable information in other posts has a bigger chance of when writting a new article getting accepted and that article beeing posted online faster? If so, that process is executed automatically or manually by the wikipedia staff?)
We would be truly thankful if we received an answer from you because this project counts a lot to our final grade,
Kind Regards,
Francisco Camões, FEUP, Oporto, Portugal
--Franciscompnsc (talk) 08:09, 7 October 2014 (UTC)
:"Wikipedia" is a vague concept. The Wikimedia foundation runs the servers and provides the infrastructure, but, as far as I know, there is no general automated gatekeeper system. Maintaining the quality of the information is done by the Wikipedia community (or communities, if you look at different projects). On the English Wikipedia, a number of Bots try to detect and revert vandalism using heuristics - see e.g. User:ClueBot. But these bots run on external servers (which may or may not be provided by the Wikimedia foundation) and use (mostly) the same API as normal users - in particular, on a technical level every user could run a bot on his own computer. However, bot operation is guided by community-enforced rules - see Wikipedia:Bots. On the other hand, many editors like working as "recent change patrollers" and improve or revert incoming changes. Yes, reputation does matter, but this is only on a social level. There is no "reputation score" being kept by the system, although users may well look at editing statistics when interacting with a user they don't know well. --Stephan Schulz (talk) 08:27, 7 October 2014 (UTC)
:: As a note, the vandal-fighting bot is User:ClueBot NG, from the family of ClueBots. As mentioned, it's volunteers' duty to verify the contents on Wikipedia. Wikimedia Foundation is responsible for the stability of the technical infrastructure, not the content, though some staffers regularly help us with the work as well. Also, there are pages with the Pending Changes feature enabled, which means every edit by new or anonymous users are manually checked by pending changes reviewers. Zhaofeng Li
:Also WP:Abuse filter - unfortunately, I have seen this abused for outright censorship just recently, and may be being used so still. The first and best "main line of defense" is patrolling of WP:Recent changes, originally done by hand, now more often perhaps with WP:Huggle or WP:Twinkle; these collaborate with the weaker setting of the abuse filter via Special:AbuseFilter/examine. Wikipedia also relies heavily on WP:Admins who try to block the source of vandalism via blocking accounts, WP:rangeblocks on IP addresses. Pending Changes is a rare and problematic form of WP:Page protection. Wnt (talk) 13:39, 7 October 2014 (UTC)
:Also should have mentioned WP:watchlists. Though these are used not infrequently more to check if your point of view differs with that of the watcher... Wnt (talk) 20:08, 7 October 2014 (UTC)
This is a good question, but please post any further replies on Franciscompnsc's talk page. Alsee (talk) 14:38, 8 October 2014 (UTC)
It's at User_talk:Franciscompnsc#Working_On_A_University_Project_About_Wikipedia_-_Technical_Questions_About_Its.27_Information_Security_Systems --15:50, 8 October 2014 (UTC)
RfC VE in [[Template:No article text]]
Please give comments at Template_talk:No_article_text#Include_visual_editor if you would like to see a reference to the Visual Editor in de Template:No article text or not. Thanks. Stratoprutser (talk) 09:24, 8 October 2014 (UTC)
Strange issue with WMF Tool Labs
Hi, I've noticed a strange issue trying to access many of the tools on the WMF tool labs. When I load a page, I just get a blank screen (the HTML code is blank too). Tools affected include [http://tools.wmflabs.org/copyvios?lang=en&project=wikipedia&title=&url= Earwig's copyvio tool], [https://tools.wmflabs.org/xtools/ec/?user=Jakec&project=en.wikipedia.org the edit counter] and the [https://tools.wmflabs.org/xtools/pages/index.php?user=Jakec&lang=en&wiki=wikipedia&namespace=0&redirects=noredirects articles created list]. Possibly there are others, I haven't checked. I've already tried refreshing my browser; that doesn't work. If it's relevant, my browser is Firefox 32.0.3. It'd be great if anyone could shed some light as to what's going on. Thanks, --Jakob (talk) 00:19, 8 October 2014 (UTC)
:When I click the coordinates link on geographic articles, it goes to https://tools.wmflabs.org/geohack/geohack.php?pagename=... but I get a blank page and a 502 (bad gateway) error. Nurg (talk) 08:08, 8 October 2014 (UTC)
:::Working for me now. What caused the problem? Nurg (talk) 19:19, 8 October 2014 (UTC)
::Edits by user is also down. --NeilN talk to me 14:08, 8 October 2014 (UTC)
Generating traffic stats for a defined list of pages?
Hi all,
We've just finished the stub contest, and one of the prizes is for the most "visited" article which has been improved - ie, the one that had the most pageview hits on a given day. We have a strong suspicion as to which one it is, but manually checking a few hundred pages seems... an unpleasant way to confirm this :-)
Is there a script somewhere (or a tool) which can take a list of page titles and spit out the traffic numbers for a given day? Andrew Gray (talk) 22:23, 8 October 2014 (UTC)
Category specific export
I want to know how to export wikipedia database xml dumps (ie, all pages) based on specific category. Example: --:category:electronics Systemconsole™ (talk) 22:48, 8 October 2014 (UTC)
:{{ping|Systemconsole™}} The "Add pages from category" box on Special:Export. Jackmcbarn (talk) 01:23, 9 October 2014 (UTC)
Change the title on the category page
There was an early attempt at Apple to make a networking system known as AppleNet. It was abandoned, and very little information on it exists. However, it is known that it was based on Xerox XNS, and that its failure led, indirectly, to AppleTalk. So I linked AppleTalk to the XNS category. Now how do I change the category link so it points to the sub-section on AppleNet? Maury Markowitz (talk) 14:56, 7 October 2014 (UTC)
:{{ping|Maury Markowitz}} You can't. What [//en.wikipedia.org/w/index.php?title=AppleTalk&diff=prev&oldid=628657215 this edit] did was to change the sort key of the category, i.e. how it is sorted alphabetically on the category page itself. You can't change the link targets of links on category pages. The closest thing you can do is to make a redirect to a section on the page you want and then categorise that redirect, but that doesn't seem to be what you are aiming to do here. — Mr. Stradivarius ♪ talk ♪ 15:20, 7 October 2014 (UTC)
:::No, but knowing I can't do it "solves" the problem after a fashion. Thanks! Maury Markowitz (talk) 15:27, 7 October 2014 (UTC)
::::{{replyto|Maury Markowitz}} As an illustration of the redirect technique mentioned above, see {{cl|Female drummers}} and look under "L" for Honey Lantree. It's in italics because a redirect - {{noredirect|Honey Lantree}} - is categorized, rather than the target article (The Honeycombs), which is about a band (bands often include drummers, but are not themselves drummers). --Redrose64 (talk) 15:59, 7 October 2014 (UTC)
::::::Ahhh, actually that does look like precisely what I want. Thanks! Maury Markowitz (talk) 16:06, 7 October 2014 (UTC)
::::::Yes, works perfect. Maury Markowitz (talk) 13:51, 9 October 2014 (UTC)
SNFref outside a cite?
I love SFN. I hate CITE. So I use SFN to point to normal text-based bib entries. However, this leaves the SFN linked to a non-existent anchor. I would like to fix that. So I did [//en.wikipedia.org/w/index.php?title=Xerox_Network_Systems&diff=628925227&oldid=628913676 this]. What did I do wrong? Maury Markowitz (talk) 13:48, 9 October 2014 (UTC)
:{{replyto|Maury Markowitz}} {{tlx|sfnref}} doesn't set an anchor, it allows an anchor to be defined which matches the one that {{tlx|sfn}} is expecting. What you can do is feed that into {{tlx|wikicite}} through its {{para|ref}} parameter, and put the unformatted ref into the {{para|reference}} parameter, {{diff|Xerox Network Systems|prev|628932017|like this}}. More at my post at Wikipedia:Village pump (technical)/Archive 106#Complex template edit request. --Redrose64 (talk) 14:57, 9 October 2014 (UTC)
::Got it, but I'm not sure I prefer that format any more than CITE. Is there any simpler syntax to achieve the same thing? Or perhaps there should be an "anchor" flag and I should suggest that somewhere? Maury Markowitz (talk) 15:08, 9 October 2014 (UTC)
:::
:::—Trappist the monk (talk) 15:14, 9 October 2014 (UTC)
:::{{ec}} I've just found Template:Sfn#Citation format does not support anchors: .7B.7Bwikicite.7D.7D.
:::You could use {{tlx|anchor|{{tlp|SfnRef|Stephens|1989}}}} which would work almost as well. The thing about {{tlx|wikicite}} is that when you click on the link that takes you there, the whole of the text enclosed by that {{tlx|wikicite}} is highlighted in pale blue (except in Internet Explorer); {{tlx|anchor}} won't give you the blue highlight. --Redrose64 (talk) 15:16, 9 October 2014 (UTC)
Edit toolbar
What is the best method of adding buttons to the Vector enhanced Edit toolbar? -- Gadget850 talk 22:31, 7 October 2014 (UTC)
:Check out mw:Extension:WikiEditor. It has a section called Toolbar_customization and there's a link in the "See also" section to mw:Extension:WikiEditor/Toolbar customization. I found this documentation very difficult to use in practice when I last tried to use it a couple years ago but you can get simple things done with determination. Cheers, Jason Quinn (talk) 01:01, 8 October 2014 (UTC)
::I saw that but it looks specific to WikiEditor. -- Gadget850 talk 11:44, 8 October 2014 (UTC)
:::{{ping|Gadget850}} The enhanced toolbar and WikiEditor are the same thing as far as I know. --V111P (talk) 22:11, 9 October 2014 (UTC)
Editing
It is really hard to edit an article using a mobile devise (i am using my ipad),because the whole thing just goes blank and you can only type and expect it to be correct. (I am not good with describing.) And there is no "undo edit" button. — Preceding unsigned comment added by Annonymus user (talk • contribs) 21:26, 9 October 2014 (UTC)
Wikidata licensing triples
We (BBC/Jisc/BUFVC partnership) have a LOD crawler which processes and indexes permissively-licensed Linked Open Data, provided it is explicitly marked as being such (i.e., the crawler ignores any data which either isn't LOD, or we can't successfully determine is permissively-licensed). More info [https://bbcarchdev.github.io/res/ here].
Currently, requests for Wikidata entities jump through 303 chains — one to disambiguate the IR/NIR, and one for content negotiation. While there's nothing about this that the crawler can't deal with (it does, as it's not an uncommon pattern), it means we end up with this, when requesting Turtle, for example:
1. Fetch http://www.wikidata.org/wiki/Q1 (303 See Other)
2. Fetch https://www.wikidata.org/wiki/Special:EntityData/Q1 (303 See Other)
3. Fetch https://www.wikidata.org/wiki/Special:EntityData/Q1.ttl
Within this graph, which has a URI of https://www.wikidata.org/wiki/Special:EntityData/Q1.ttl, there are triples describing the licensing of the data. However, the subject of those triples is the conceptual document (https://www.wikidata.org/wiki/Special:EntityData/Q1), not the concrete serialisation (https://www.wikidata.org/wiki/Special:EntityData/Q1.ttl):
schema:version 160817834 ;
schema:dateModified "2014-09-30T17:59:49Z"^^xsd:dateTime ;
a schema:Dataset ;
schema:about entity:Q1 ;
cc:license <http://creativecommons.org/publicdomain/zero/1.0/> .
As there are no triples relating to the specific serialisation, it's not possible to reliably evaluate the licensing status of https://www.wikidata.org/wiki/Special:EntityData/Q1.ttl. Unfortunately, the fact that there was an inbound 303 to it from a URI which does have licensing data is not sufficient to be able to reliably do this (it's inference of a relationship which isn't sufficiently described in the data and which manifests differently in different datasets).
Therefore, can I ask devs to consider adding triples to each RDF serialisation whose subject is the serialisation-specific URL, and either (or both!):
- Replicates the cc:license predicate/object which are emitted for the abstract document
or
- Indicates that the serialisation is a concrete representation of the abstract document (perhaps with dct:isFormatOf)
My preference is strongly towards the former, but expressing the relationship between the abstract and concrete documents may be desirable in any case, and could provide enough data to infer properly the licensing status of the graph without false-positives arising elsewhere.
Many thanks!
Nevalicori (talk) 08:34, 10 October 2014 (UTC)
:If you are specifically after Wikidata, [https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team] might be a better place to bring this up. --AKlapper (WMF) (talk) 09:20, 10 October 2014 (UTC)
::Thanks -- I was directed here in error, shall post over there! Nevalicori (talk) 10:27, 10 October 2014 (UTC)
Hiding minor edits in contibs list?
Is it possible to fetch or display only non-minor edits in Special:Contributions, either by gadget or javascript workaround? I have a lot of semi-automated Twinkle reversions, plus some other various minor edits, and I'd like to be able to hide those to see what the rest of my contributions look like. It's possible that there's already something in the gadgets or preferences that I'm just not seeing. Thanks. --Bongwarrior (talk) 20:48, 10 October 2014 (UTC)
- It could be done with jQuery in a couple lines of code, or it could be added to the core code for the page. Doing it with jQuery would hide all of the one that weren't minor, which might leave you with none on the page; whereas, doing it in the core code (not too hard, we recently added the checkbox for "new pages") would return a new page with just minor edits. — {{U|Technical 13}} (e • t • c) 21:23, 10 October 2014 (UTC)
::Sounds good, but I want to hide the minor edits, not display only minor edits. Also, I forgot to mention that the watchlist (or, at least, my watchlist - not sure if it's standard) already has this feature. --Bongwarrior (talk) 21:33, 10 October 2014 (UTC)
::* Same decision. You want to remove the minor edit (reducing the edits listed on page potentially to none) or do you want a full list of edits with no minor? .js v .php. There is a watchlist gadget (that you're likely using) that removes them on the watchlist but not on contribs or rc (if you look at rc). — {{U|Technical 13}} (e • t • c) 15:16, 11 October 2014 (UTC)
Layout Issues
Hey everyone, hope all is well. So I have had a problem today with wikipedia's layout on Google Chrome. For some reason, all infoboxes are on the left side instead of the right, the lead section is underneath the infobox instead of being adjacent and the VTE boxes are all messed up as well. Interestingly enough it only happens on Chrome (I logged into my account on Safari and everything was normal) and only when I'm on English wiki. I don't think I changed my preferences or did anything to change the settings. Anybody know what's wrong? Is it just something with my browser that I need to troubleshoot? Thanks for any help! Rupert1904 (talk) 03:43, 11 October 2014 (UTC)
:One possibility is that the stylesheet only partially loaded, for some reason (or that you happened to load a broken stylesheet while someone was experimenting with it). Try following the instructions at WP:BYPASS to bypass your cache, to see if that fixes the problem. If not, something is probably more generally broken and this might need looking into more closely. --ais523 11:02, 11 October 2014 (UTC)
::Hey ais523, you were right, thanks for the help! It was a problem with cache, so I just deleted it and now everything seems to be in order. Rupert1904 (talk) 15:15, 11 October 2014 (UTC)
Irrelevant tags
{{tracked|71947}}
Why would [http://en.wikipedia.org/w/index.php?title=M.R._Organisation_Limited&curid=44080416&diff=629153289&oldid=629153016 this] edit get tagged with copyright violation template removed and speedy deletion template removed if the edit did not remove the templates? Is this a bug in the tags system? The user used HHVM and VisualEditor, is this relevant? 109.79.177.119 (talk) 09:43, 11 October 2014 (UTC)
: Impossible to tell just like that, but something is definitely amiss here. If you review the page history a bit (which I managed to do before it was deleted), the two templates were indeed removed at a point (and that was correctly tagged) and then restored, with the next edit being tagged incorrectly. I'd rather suspect AbuseFilter (the tagging system) instead of VE or HHVM – there were some issues with incorrect tagging in the past – but who knows.
: You can examine the logic that led to that edit being tagged at Special:AbuseFilter/examine/log/10945503 – if you look at the row described as "Unified diff of changes made by edit", you can see that AbuseFilter really thinks these tags were removed in that edit (although they were not). I filed this as {{phab|73947}} Matma Rex talk 10:36, 11 October 2014 (UTC)
:Admins can see the page history at Special:Undelete/M.R. Organisation Limited. I also see two diffs with tags "copyright violation template removed, speedy deletion template removed". The first edit did remove them but not the second by the same user two hours later. Other tags in the two edits were not identical so it wasn't the complete tag sequence which was duplicated. PrimeHunter (talk) 10:50, 11 October 2014 (UTC)
"Tag: Mobile edit" and erroneous edits
It seems whenever I see a tagged "mobile edit", that the edit results in an erroneous saved page. Such as [http://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_creation/Redirects&diff=629163368&oldid=629162896] where either the top of the page is replaced with the new material, or the entire page is replaced with mobile edit material. Is this something to do with the way mobile edit works? -- 67.70.35.44 (talk) 12:41, 11 October 2014 (UTC)
:That appears to be user error, rather than any problem with the mobile editor. Jackmcbarn (talk) 13:30, 11 October 2014 (UTC)
- It's not a user issue. The mobile editor is horrendous and many of the editing gadgets cause issues when mobile editing. #Editing above likely related. — {{U|Technical 13}} (e • t • c) 15:10, 11 October 2014 (UTC)
- :Normal gadgets do not run on mobile unless explicitly enabled. I don't see any on enwp that do. Legoktm (talk) 20:03, 11 October 2014 (UTC)
Enormous blue search button
The search button on the contibs page is now big and blue, and it's one butt-ugly monstrosity in my opinion. Any chance we could switch it back, and possibly refrain from any future attempts at Facebookization? --Bongwarrior (talk) 20:07, 9 October 2014 (UTC)
:I noticed this on Wikidata yesterday or the day before which really hacked me off. This change really does imitate facebook. Jared Preston (talk) 20:11, 9 October 2014 (UTC)
:It's utterly egregious and out of keeping with the rest of the interface. William Avery (talk) 20:16, 9 October 2014 (UTC)
::The cynic in me says that after the MediaViewer debacle, someone at the WMF is trying to slip [https://www.mediawiki.org/wiki/Athena Athena] through in gradual instalments. Mogism (talk) 20:23, 9 October 2014 (UTC)
:See mw:Wikimedia Foundation Design (outdated) and [https://tools.wmflabs.org/styleguide/desktop/index.html mediawiki.ui]. In time, all buttons and controls will have this style. -- User:Edokter]] {{talk}}
20:27, 9 October 2014 (UTC)
::From the sounds of it, many if not most users were initially surprised to learn that there was a Commons file page link button at all because it had little contrast. There may be a better way to indicate to users that it is there, but until this way is presented, no changes should be made, and simply changing it back would not be helpful in my opinion. Also, unless some very drastic changes have been made since the last time I saw a Facebook page (it has been a while, emphasis on has), I don't recall the site having any association with high-contrast buttons. Dustin (talk) 20:35, 9 October 2014 (UTC)
:::FYI: I had to purge the page to see what this was about. -- Gadget850 talk 20:42, 9 October 2014 (UTC)
::::The HTML for the button changed from {{tag|input|s|params=class="mw-submit" value="Search" type="submit"}} to {{tag|input|s|params=class="mw-submit mw-ui-button mw-ui-progressive" value="Search" type="submit"}} so it gained the mw-ui-button mw-ui-progressive
classes. From what I can find out with my browser's "Inspect element" feature, it's two new CSS rules with a whole bunch of declarations:
.mw-ui-button.mw-ui-primary {
background: none repeat scroll 0% 0% #347BFF;
color: #FFF;
border-width: 1px medium;
border-style: solid none;
border-color: #347BFF -moz-use-text-color;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
text-shadow: 0px 1px rgba(0, 0, 0, 0.1);
}
.mw-ui-button {
font-family: inherit;
font-size: 1em;
display: inline-block;
padding: 0.5em 1em;
margin: 0px;
box-sizing: border-box;
background: none repeat scroll 0% 0% #FFF;
color: #555;
border: 1px solid #CCC;
border-radius: 2px;
min-width: 70px;
vertical-align: middle;
text-align: center;
font-weight: bold;
cursor: pointer;
transition: #3A6EA5 0.1s ease-in-out 0s, color 0.1s ease-in-out 0s, box-shadow 0.1s ease-in-out 0s;
} All we need to do is work out which of those we need to alter, then we can show people what to drop in their Special:MyPage/common.css. The background
border
and color
ones, obviously. --Redrose64 (talk) 20:49, 9 October 2014 (UTC)
Hi guys. This is my fault. I can assure you it was not a sneaky move. I and several others are refactoring the form interfaces across the Wikipedia site. We've been doing this behind a global but this one slipped through the net. It will restore to a normal button in a weeks time (you'll notice the button is no longer blue on mediawiki.org).
To give a tiny bit of background on the project, the goal is to describe forms semantically and consistently, to help newbies understand what the interfaces across Wikipedia do. In this case the contributions button is a progressive button which means that clicking it will not have any consequences to data. We are currently in a phase of code refactoring, but we plan to run this as an opt in feature to gather feedback.
If you are not a fan of the buttons, it will be very easy to remove the styles since they will all use a consistent selector e.g. mw-ui-button/mw-ui-progressive. It should also help gadget developers by giving them further clues about what different buttons do. I'm sharing this thread with the design mailing list so they are aware of your concerns. Thanks! Jon (WMF) (talk) 23:36, 9 October 2014 (UTC)
:I have to say, the idea of a big, high-contrast "delete" or "block" button sounds strangely appealing. But yeah, this should be it's own skin -- keep this stuff away from Monobook. MER-C 05:03, 10 October 2014 (UTC)
:Thank you for the explanation, Jon. --Bongwarrior (talk) 20:31, 10 October 2014 (UTC)
::Jon, I think you missed a word: "We've been doing this behind a global" what? Nyttend (talk) 04:05, 11 October 2014 (UTC)
:::A global variable, specifically $wgUseMediaWikiUIEverywhere
. Global variables are what MediaWiki currently uses for site configuration settings, though recently there has been some work on moving configuration into objects. PleaseStand (talk) 02:10, 12 October 2014 (UTC)
:: Yep sorry. Global variable. Writing from my volunteer account. I'm not actually sure why the styles are applying in MonoBook and I've asked why on a mailing list and if we should revisit any decision that was made there (i think it may be tied to the login form). I feel like MonoBook is the editors skin and stylistic changes there should be keep to an absolute minimum and only enabled when requested specifically by community members. The result of the change however would be that MonoBook could style these buttons differently across the site if wished. As stated the change should reset by Thursday and I feel this mistake has been enlightening and although accidental has provided useful feedback so thanks! Im hoping for a beta feature sometime this year and i hope youll be able to give us more feedback so this change can be seen as a useful one! Jdlrobson (talk) 22:06, 12 October 2014 (UTC)
Suggestion for main space blocking tool option for admins
One of our users User:David Hedlund has [https://en.wikipedia.org/w/index.php?title=User_talk%3ADavid_Hedlund&diff=629003590&oldid=628763860 suggested] that wikipedia would benefit from a tool which would allow admins to block users from mainspace edits, but allow them to use talk pages and noticeboards. David is a problem user who has been [https://en.wikipedia.org/w/index.php?title=Special:Log/block&page=David+Hedlund blocked] several times for disruptive edits, but to all appearances they are genuinely trying to improve the encyclopedia. I'm not protesting this block, or suggesting that if this tool is implemented that it should be applied to David, those are not discussions for this page. I am suggesting that a tool which allows users who have made disruptive mainspace edits to participate in community discussion would be useful for the community. That tool would serve to help those users with competence problems become productive editors and force them to learn the collaborative nature of Wikipedia. It would also serve as a possible halfway point in response to an unblock request where a user could actively show the community how they intend to interact with others in the future.Coffeepusher (talk) 14:04, 10 October 2014 (UTC)
:We're not a rehabilitation center. If a user is not to be trusted with editing the encyclopedia, why would we want them here at all? – Juliancolton | Talk 14:10, 10 October 2014 (UTC)
::I think that the collaborative aspects of the encyclopedia is one of the most difficult things to master, and also the foundation of all edits we do here. So if a user is willing to collaborate, and does bring a knowledge and skill set to the encyclopedia, then I think that allowing them to share their suggestions while at the same time limiting their access to mainspace edits will improve the encyclopedia more so than kicking them off the project entirely. We already see this form of editing in use with page protection, and that has proven to be a useful tool.Coffeepusher (talk) 14:31, 10 October 2014 (UTC)
:If this is a good idea (which I'm not convinced of), and if we get consensus for it, we could do it with just a config change. When/if we get consensus, I'll prepare the change. Jackmcbarn (talk) 14:36, 10 October 2014 (UTC)
::Thank you {{ping|Juliancolton}} and {{ping|Jackmcbarn}}, I'm interested in what the community thinks about this and do understand that there are very real concerns with opening an additional level of access to problem users, but I believe that it will improve the encyclopedia.Coffeepusher (talk) 15:19, 10 October 2014 (UTC)
- I'd personally oppose this change. Just because a user is blocked from editing on this wiki, does not mean they are blocked on all projects. The current way for a user to demonstrate that they get it is for them to constructively edit and communicate in another MediaWiki community (commons, mediawiki wiki, wiktionary, whatever). Once they have done that for awhile (time may vary depending on multiple factors), then they can come back and request an unblock on their talk page citing the work and community acceptance they have gotten working on the other project (they might even find they enjoy the other work more and decide to stay there, and as bad as we need good editors here, most of those other projects need them more). This proposal seems like an unnecessary convenience for those that come here with a wrong impression of enwiki. — {{U|Technical 13}} (e • t • c) 17:03, 10 October 2014 (UTC)
- In my impression, this sounds helpful. It's easy for me to imagine someone who's getting into excessive conflicts while editing a certain article (or group of articles) while editing productively in categories and/or templates. We might as well block the person from editing articles instead of blocking him from editing everything. Nyttend (talk) 04:00, 11 October 2014 (UTC)
- That's what topic bans are for. If they can't follow the rules and respect the topic ban and community discussion, they don't need to be editing. You might be able to convince me it's a good use case for PC2 though. Allows the article to be protected without preventing them from contributing in othe areas. — {{U|Technical 13}} (e • t • c) 15:23, 11 October 2014 (UTC)
- Yes, a social solution: a technical solution is much simpler. Why would we want to prevent someone from helping in other namespaces? Building the encyclopedia is the ultimate goal, so if someone's unable to contribute properly to part of it and able to contribute properly elsewhere, we ought to prevent editing only to the "unable" part. Nyttend (talk) 20:58, 12 October 2014 (UTC)
- If you get blocked for your behavior, what inclination should the community have to believe your behavior is different in other areas? A topic ban is one thing, because sometimes people can be overzealous. On the other hand, if you've been acting in a way to get you restricted from editing all of the main namespace, then there's an issue at hand that's more to do with editing, and I can't swallow that a user like that will be whipped into shape just by being unable to edit the mainspace. moluɐɯ 22:49, 12 October 2014 (UTC)
:*reply in this case the disruptive editing consisted of an overzealous editor who created too many articles that got deleted and had problems interacting with the community before doing major changes. Having them interact on the talk pages as an exclusive form of editing will allow editors to review their suggestions and act on them appropriately, while at the same time maintaining an editor who, in my opinion, genuinely wants to contribute but has a bit of an impulse control problem. As I have already stated the worst editors I have encountered were the one's who had thousands of mainspace edits, but few to none talk page edits. Mainspace campers are more problematic than those who learn to interact on the talk pages. Cheers! Coffeepusher (talk) 23:40, 12 October 2014 (UTC)
::*Then it sounds more like a user who needs a binding moratorium than something that needs a technical limitation on. If a user can't respect a moratorium on a particular editing behavior of theirs, I'm not going to feel any inclination to cut them slack everywhere else. If he can't work cooperatively with others, he's WP:NOTHERE. moluɐɯ 18:28, 13 October 2014 (UTC)
Diff number
Can anyone explain what happened here? (Check the tech note that follows the message). – Paine Ellsworth CLIMAX! 17:13, 11 October 2014 (UTC)
PS. and why does this URL, https://en.wikipedia.org/w/index.php?title=Template%3ATestcases_page_header&diff=629082496&oldid=625450950, take us to the correct edit? Also, I have found that the only difference between the two bare URLs is the "prev" vs. "next" at the end, as in diff=prev&oldid=625450950 vs. diff=next&oldid=625450950. Use of the "next" takes one to the correct edit. PS left by – Paine
Summary: Okay, first I used the {{tl|Diff}} template with
- {{code|
{{diff|Template:Testcases page header|prev|625450950|this edit}} }} – - {{diff|Template:Testcases page header|prev|625450950|which takes us here}}
Then I tried the bare URL
- http://en.wikipedia.org/w/index.php?title=Template:Testcases_page_header&diff=prev&oldid=625450950
- no joy –
Both of the above have the same oldid as my edit does: 625450950
Further checks showed me that if I used "next" instead of "prev" in both the URL and the Diff template
- [http://en.wikipedia.org/w/index.php?title=Template:Testcases_page_header&diff=next&oldid=625450950 http://en.wikipedia.org/w/index.php?title=Template:Testcases_page_header&diff=next&oldid=625450950]
- {{code|
{{diff|Template:Testcases page header|next|625450950| }}{{diff|Template:Testcases page header|next|625450950|which takes us here to my edit}}{{code|}} }}
These both take us to the correct edit. So the question is why both the previous edit and my edit seem to have the same oldid number? – Paine Ellsworth CLIMAX! 18:45, 11 October 2014 (UTC)
:{{ec}} {{ping|Paine Ellsworth}} The numerical oldid
codes correspond to specific page revisions, not to diffs. There are several different ways of linking to a diff page: &diff=next&oldid=X
shows the difference between revision X and the succeeding revision, while &diff=prev&oldid=X
compares X with the preceding revision. See Help:Diff#Linking to a diff. SiBr4 (talk) 18:47, 11 October 2014 (UTC)
::Thank you, SiBr4! So this says to me that it is normal and natural for two diffs to have the same oldid number, as they will have different diff numbers? This is way beyond my ken, as one would expect as you said that "The numerical oldid
codes correspond to specific page revisions," so that each revision should have its own oldid number – yet apparently this is not so (at least not for the most recent edit and the previous one). – Paine Ellsworth CLIMAX! 19:26, 11 October 2014 (UTC)
:::oldid, which refers to a revision, is basically specifying one of the revisions you're comparing. So we can say "compare oldid 625450950 with the next edit to the page", or "compare oldid 625450950 with the previous edit to the page". These are each sensible descriptions of a diff, but they refer to different diffs; one of the revisions being compared is the same, but the other one is different. --ais523 19:40, 11 October 2014 (UTC)
::::I appreciate your response, ais523, and I'm beginning to appreciate the inherent complexities of the URLs, the diff numbers and the oldid numbers, complexities which before this I took for granted. I'll just have to be more careful of the terms I use in the Diff template from now on. Joys! to all – Paine 02:52, 12 October 2014 (UTC)
The Teahouse's ask a question script is broken
Some more detail at Wikipedia talk:Teahouse#Bottom posting. Teahouse questions are mostly placed through a script that places an "ask a question" button at the top of the page. It's not working. If someone could look into this that would be great. Some pages that might give a headstart to anyone looking: {{tl|TH question page}}, Wikipedia:Teahouse/Question-form2 and Wikipedia:Teahouse/All subpages. Thanks--Fuhghettaboutit (talk) 19:39, 11 October 2014 (UTC)
- {{U|Fuhghettaboutit|F}}, can you offer some detail on how it is not working? The entire script is actually located at MediaWiki:Gadget-teahouse/content.js. — {{U|Technical 13}} (e • t • c) 22:58, 12 October 2014 (UTC)
:::Fixed! See Wikipedia_talk:Teahouse#Bottom_posting. - J-Mo Talk to Me Email Me 20:13, 13 October 2014 (UTC)
How to fix use of old script here?
In "India article statistics" on Wikipedia:WikiProject_India the numeric hyperlinks are all broken -- How do I fix it? The intended functionality is working properly onWikipedia:WikiProject_United_States page. --AmritasyaPutraT 14:47, 12 October 2014 (UTC)
:The tested links all worked for me. Can you give an example link which doesn't work for you? The links are transcluded from User:WP 1.0 bot/Tables/Project/India which has not been edited since June. PrimeHunter (talk) 15:38, 12 October 2014 (UTC)
::I think the problem is that User:WP 1.0 bot/Tables/Project/India hasn't been updated [//en.wikipedia.org/w/index.php?title=User:WP_1.0_bot/Tables/Project/India&action=history since 12 June]. This is in common with many other similar tables. The bot which updates it is {{user|WP 1.0 bot}}, which isn't actually broken, because the tables for some WikiProjects are being updated. The updating seems sporadic though, check the [//en.wikipedia.org/w/index.php?title=User:WP_1.0_bot/Tables/Project/Australia&action=history revision history] for User:WP 1.0 bot/Tables/Project/Australia. --Redrose64 (talk) 15:46, 12 October 2014 (UTC)
[[m:Special:MyLanguage/Tech/News/2014/42|Tech News: 2014-42]]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent software changes
- You can now log into Phabricator, the new tool to track bugs. Create your account and add your Bugzilla email address. We are copying the bugs from Bugzilla. Bugzilla is still open. [https://lists.wikimedia.org/pipermail/wikitech-l/2014-October/078939.html] [https://phabricator.wikimedia.org/T572]
- You will now get the VisualEditor newsletter in your language if someone has translated it. You can add translations. You can know about the next translations by joining the [https://lists.wikimedia.org/mailman/listinfo/translators-l translators list] or asking Elitre (WMF).
Problems
- 10% of Tool Labs was down on October 7. [https://lists.wikimedia.org/pipermail/labs-l/2014-October/002982.html]
- Tool Labs was also broken on October 11. [http://thread.gmane.org/gmane.org.wikimedia.labs/3005]
Software changes this week
- The new version of MediaWiki (1.25wmf3) has been on test wikis and MediaWiki.org since 9 October. It will be on non-Wikipedia wikis from 14 October, and on all Wikipedias from 16 October (calendar).
- 5% of logged-out readers are getting pages from servers that run the HHVM tool. HHVM should make pages load faster. You can also test it as a Beta Feature. [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2014-October/000965.html]
Meetings
- You can join a meeting with Language developers on October 15, 2014 [http://www.timeanddate.com/worldclock/fixedtime.html?iso=20141015T1700 at 17:00 (UTC)]. [https://lists.wikimedia.org/pipermail/wikitech-l/2014-October/078987.html]
- There is a proposal to organize file pages better. It would use the same tools as Wikidata. You can join a meeting about it on October 16, 2014 [http://www.timeanddate.com/worldclock/fixedtime.html?iso=20141016T1800 at 18:00 (UTC)]. [https://lists.wikimedia.org/pipermail/commons-l/2014-October/007371.html]
- You can join a meeting about VisualEditor on October 18, 2014 [http://www.timeanddate.com/worldclock/fixedtime.html?iso=20141018T1800 at 18:00 (UTC)]. [https://lists.wikimedia.org/pipermail/wikitech-l/2014-October/078987.html]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
Problem with Active users list?
Looking for usernames starting with "Albino" I get [https://en.wikipedia.org/w/index.php?title=Special%3AActiveUsers&limit=250&username=Albino&hidebots=1&hidesysops=1] which shows Albino 123, a puppetmaster, but not the socks {{user|Albino242}}, {{user|Albino252}} or {{user|Albino222}}. Why is this? Dougweller (talk) 11:43, 13 October 2014 (UTC)
:In the page header I'm seeing "You are viewing a cached version of this page, which can be up to 15 hours, 42 minutes and 37 seconds old", which would explain why these three are not shown. -- John of Reading (talk) 11:55, 13 October 2014 (UTC)
::Sorry, didn't read down far enough, even though I wondered if that was the problem. That really should be up at the top. Thanks very much. Dougweller (talk) 14:06, 13 October 2014 (UTC)
:::They all show up now ("11 minutes and 47 seconds"). עוד מישהו Od Mishehu 18:17, 13 October 2014 (UTC)
Moving interface Linkshere tool from (broken) tool server to third party
A discussion regarding using a third party site in the MediaWiki:Linkshere interface message has begun at MediaWiki talk:Linkshere, please see the discussion there. Thank you, — xaosflux Talk 20:32, 13 October 2014 (UTC)
Template:TOC limit does not work in mobile view
{{tracked|71726}}
I was working on trying to limit the size of the ToC as it competes with the two infoboxes on Islamic State in Iraq and the Levant and I came to realize that that {{Template:tl|TOC limit}} does not seem to work as expected in mobile view. Take a look at this mobile view link [//en.m.wikipedia.org/w/index.php?title=Islamic_State_of_Iraq_and_the_Levant&oldid=628558101 here] in mobile and desktop view and you'll see what I mean. I submitted a bug report to Bugzilla #71726 to see if there's anything that can be done to help get the desired results. It would also be nice if the TOC limit on mobile view can be set independently of normal view as well.~Technophant (talk) 03:07, 7 October 2014 (UTC)
:The {{tlx|TOC limit}} template works by wrapping a normal TOC in a {{tag|div}} which specifies an appropriate class, such as class="toclimit-3"
. The MediaWiki:Common.css file declares a CSS rule for those classes, but MediaWiki:Mobile.css doesn't. Since it's something that we have the ability to fix from our end, I don't think that it's a bugzilla matter. --Redrose64 (talk) 09:24, 7 October 2014 (UTC)
::{{replyto|Technophant}} bugzilla:71726 has been marked "Resolved Wontfix". --Redrose64 (talk) 10:31, 11 October 2014 (UTC)
:Right, we may want to add the same CSS classes to mobile.css as to common.css in order to get the template to work properly. This doesn't need support from MediaWiki itself. --ais523 10:34, 11 October 2014 (UTC)
:: I've produced a possible coding at User:ais523/mobile.css (it has to be different from the non-mobile view because the HTML layout is different). I'll go request that the edit's made; it should be uncontroversial. --ais523 10:48, 11 October 2014 (UTC)
::: And now the request's been submitted. We might want to continue this conversation over on the talk page for the site CSS, as the admins considering updating site CSS might not check this page. --ais523 10:57, 11 October 2014 (UTC)
protect?
[//en.wikipedia.org/w/index.php?title=Special:Log&dir=prev&offset=20110920154633&limit=1&page=China&type=&user=]
- 19:07, 5 September 2013 Trust Is All You Need (talk | contribs) protect
What does it mean?--GZWDer (talk) 06:38, 11 October 2014 (UTC)
:Remains of article feedback tool, it seems. https://en.wikipedia.org/w/index.php?diff=571681315 --Glaisher (talk) 06:43, 11 October 2014 (UTC)
::These unreadable log entries needs to be cleaned up.--GZWDer (talk) 07:47, 11 October 2014 (UTC)
= Weird log entry =
Can someone have a look at [http://en.wikipedia.org/w/index.php?title=Special:Log&page=Bird]? I'm seeing this at the top:
18:29, 19 October 2013 Innotata (talk | contribs) protect
This looks very strange and might be a bug of some kind. (pinging Innotata because they might know what this is?) --NYKevin 13:51, 15 October 2014 (UTC)
:Might it be from the Article Feedback tool? —innotata 14:16, 15 October 2014 (UTC)
Getting Started edit tag
{{tracked|72106}}
The "gettingstarted edit" tag is now shown as inactive on Special:Tags.
Since 10 October some edits still have been coming through with this tag, but only at about 5% of the previous rate. This has been the 8th most frequently used of all edit tags, and is of great value in WP:recent changes patrolling. It should not be de-activated without warning or explanation. Can it please be restored to full operation as soon as possible?: Noyster (talk), 17:54, 12 October 2014 (UTC)
:Not sure if that's intentional. Maybe {{u|Superm401}} or {{u|Robmoen}} know... --AKlapper (WMF) (talk) 09:26, 13 October 2014 (UTC)
::I don't think you should be seeing those at all, except when the :mw:Growth team is running an experiment with the :mw:Extension:GettingStarted software. It's not a tag for new users; it's a tag to identify users that have been given a slightly different version of the software, such as the one described for :mw:Onboarding new Wikipedians. I believe that they're a bit "between projects" at the moment, and today's a holiday for most of the WMF staff. It's likely that they'll have another one out before long. Whatamidoing (WMF) (talk) 22:14, 13 October 2014 (UTC)
:::OK if the stoppage of GettingStarted is just a short-term blip, but if it's more than that I'd like the community to be told and the WP:GettingStarted page to be amended. This feature has been active for quite a few months and over 230,000 edits have been tagged as made through it. GettingStarted has aroused considerable discussion, showing that those of us who deal with new users and their edits have a legitimate interest in the experience they are offered: Noyster (talk), 11:54, 15 October 2014 (UTC)
:::The Growth team has been retired, so it's unclear if/when we'll be able to continue experimenting with new GettingStarted features. Mattflaschen (WMF) (talk) 23:56, 15 October 2014 (UTC)
:This change is intentional. I've updated Wikipedia:GettingStarted (sorry, we should have done that before). Note that the tag was never solely for new users (it applied to all edits using a particular interface, but even when that interface was being offered to everyone, so not only for experiments), nor did it cover all edits by new users. After we added a new experimental feature ([https://www.mediawiki.org/wiki/Task_recommendations Task recommendations]) which could be used by new and existing users (which initially did not support edit tagging), we later decided not to use edit tagging for any GettingStarted edits.
:There is a separate core feature that shows only contributions from new users (if I'm reading it right, it shows the 1% newest users) at [https://en.wikipedia.org/w/index.php?title=Special:Contributions&contribs=newbie]. This applies regardless of what interface people use. But remember to focus on the edit, not the editor. New users do a lot of good work (even though they're learning the ropes), and everyone makes mistakes, new and old. Mattflaschen (WMF) (talk) 23:56, 15 October 2014 (UTC)
::Thanks for reply. I couldn't agree more: the ability to identify new editors is needed so that we can welcome and support good contributors, as well as to curb the vandals: Noyster (talk), 10:12, 16 October 2014 (UTC)
:It appears that it is still tagging edits made by users with HHVM (a small minority, as you said, since HHVM is opt-in). This is bugzilla:72106.
:Note, due to new WMF staff policy, I've split my work account off from my personal one. Going forward, User:Superm401 is now solely my personal account, and User:Mattflaschen (WMF) is my work account. (CCing User:Phuedx since he also worked on this). Mattflaschen (WMF) (talk) 23:56, 15 October 2014 (UTC)
::Sorry, I meant to ping Noyster before. Mattflaschen (WMF) (talk) 23:57, 15 October 2014 (UTC)
User script suddenly not working any more
I use User:קיפודנחש/watchlistScout.js to alert me when something on my watchlist changes. It is supposed to run on page load and refresh every 60 seconds afterwards. For the past few days, though, I have been getting nothing from the script. All of my other scripts are working, I'm getting no errors on the javascript console, and it doesn't look like anything has changed in the code of the script recently (latest change was in 2012). Is there something else that may have changed site-wide that broke the script? Possibly an update to the API or something?--Dudemanfellabra (talk) 02:34, 14 October 2014 (UTC)
:I am probably wrongly guessing here as I cannot see any suspicious function calls, but the timing would fit with https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2014-September/000953.html --AKlapper (WMF) (talk) 05:40, 14 October 2014 (UTC)
::Thanks for pointing that out. That was probably it. The creator of the script changed something related to an ajax call in the script and fixed it. I guess the old method was recently deprecated. Thanks for the help!--Dudemanfellabra (talk) 15:39, 14 October 2014 (UTC)
Search&Replace on Edit page
Using Firefox 31 and Vector skin on my laptop (Windows 7), I cannot make this function work. If I move the box to the column on the left, it disappears upwards as the page scrolls down on subsequent "Searches", and sometimes the "Search" will not highlight the word wanted at all, and is erratic at best. This even happens if the box is centred in the middle of the page. What is going wrong? I obviously use full screen mode when doing "Search&Replace". --P123ct1 (talk) 16:01, 14 October 2014 (UTC)
:For small portions of text when the edit window does not have a scroll bar of its own, the search & replace window will always move along with the main browser page. When there's a large portion of text in the editor forcing its own scroll bar you can hold your cursor above the edit window and use the mousewheel to scroll it up and down with the S&R window staying in place. As to missing search results, the search function is case-sensitive, so you will have to do a separate search for words beginning with an upper-case letter (that's why there is a tickbox "match case"). De728631 (talk) 18:14, 14 October 2014 (UTC)
::I always use "match case", but it still happens. I can't hold the cursor and move the mouse wheel, as I only have a touchpad. I'm not sure how to hold the cursor with it and still move things. --P123ct1 (talk) 07:48, 15 October 2014 (UTC)
signature Icon not responding in IE11
When deleting BLP-prods, reason is not filled in
After clicking "delete" for a page with a standard CSD or PROD template, the reason is automatically filled in for every case except BLP-prod, when it is necessary to select it from the drop-down list. This may be be a hangover from the days when BLP-prod had a ten-day wait time, but now that it is seven days like normal PRODs, could automatic fill-in of the reason be provided? JohnCD (talk) 19:21, 14 October 2014 (UTC)
:{{ping|JohnCD}} I've been looking into this, and {{tl|prod blp/dated}} actually does automatically fill in a deletion reason if you click the delete link in the template. The reason is set to a default of "Expired PROD, concern was: unsourced BLP", which cannot be changed with a parameter. From your post here, it looks like you're not seeing this text. Can you tell us exactly which delete link you're clicking? Is it the one that appears after the text in the middle of the template that looks like "Expired
"? — Mr. Stradivarius ♪ talk ♪ 11:05, 15 October 2014 (UTC)
::The usual way I delete anything - click "Delete" on the drop-down menu under "More" just left of the search box (Win7, FF33.0, Vector). That fills in the reason for CSDs and normal PRODs. JohnCD (talk) 11:48, 15 October 2014 (UTC)
:::{{ping|JohnCD}} Ok, this should be fixed now. {{tl|prod blp/dated}} was missing an HTML element with an ID of "delete-criterion", which is why the reason wasn't being automatically filled in. I've added the correct HTML, as well as doing some general template clean-up. I've also removed the default reason from {{tl|prod blp}}, but existing BLPPRODs still have it, so for the next seven days you will see a lot of deletion reasons that look like "Expired
::::That works, thanks - quick service! JohnCD (talk) 17:44, 15 October 2014 (UTC)
anchor template breaks → click in edit summary
I can no longer follow the [//en.wikipedia.org/w/index.php?title=Physics&diff=629619246&oldid=628046889 → click in this edit summary]. I had to move down the anchor template to make the → click in the edit summary work. Environment: Firefox 33, Ubuntu 12.04 LTS. --Ancheta Wis (talk | contribs) 21:06, 14 October 2014 (UTC)
:These links are always broken if there is a template in the heading. The subject of templates in section headings is under discussion at Template talk:Talk header#No links in headings. --Redrose64 (talk) 23:44, 14 October 2014 (UTC)
Why am I seeing a notice in my contributions list at times?
At times right now, I'm seeing a notice in my contributions list that says:
Changes newer than [anywhere from 10 to 15] seconds may not appear in this list.
I've never seen this notice before, ever. It's only showing up at times, not all the time. Did a new build just go out recently? Gparyani (talk) 00:26, 15 October 2014 (UTC)
:It looks like a simplified database lag message. –xenotalk 00:40, 15 October 2014 (UTC)
Very old page creations show major problems in history / contributions
{{tracked|36976}}
{{tracked|34873}}
Probably a known issue, but here goes...
Looking at the earliest edits by User:Damian Yerrick (for no particular reason, was browsing some old edits), I noted that many of those had huge negative diff sizes (up to -100 kB). Looking e.g. at the oldest edits to PUSA ([https://en.wikipedia.org/w/index.php?title=President_of_the_United_States&dir=prev&action=history]), we see [https://en.wikipedia.org/w/index.php?title=President_of_the_United_States&diff=333972330&oldid=292212 this edit] indicated with -100 kB, when it actually doubled the size of the article. The reason for these strange numbers appears when you look at [https://en.wikipedia.org/w/index.php?title=Special:Contributions/Damian_Yerrick&dir=prev&target=Damian+Yerrick], and there click on the "diff" link next to these contribs. For this particular page, the diff you get is [https://en.wikipedia.org/w/index.php?title=President_of_the_United_States&diff=prev&oldid=333972330 this], comparing a version of late 2009 to a version of late 2001. [https://en.wikipedia.org/w/index.php?title=Game_Boy_Advance&diff=prev&oldid=376594747 Here] as well, mid 2010 compared to October 2001. Or [https://en.wikipedia.org/w/index.php?title=Spam&diff=prev&oldid=428745054 here], May 2011 to September 2001.
I haven't been able to find a pattern (e.g. this happens after X edits to a page), and don't know yet if it only happens with very old edits, but it is not really good of course. But another result of this problem is that e.g. User:Swhite created the page Spam[https://en.wikipedia.org/w/index.php?title=Spam&dir=prev&action=history], but it doesn't appear in his contributions[https://en.wikipedia.org/wiki/Special:Contributions/Swhite]!
Are these inconsistencies still the result of that major database crash in the early years (2002?), or is it a new problem? I have never heard of edits appearing in one history (article history), but not in another (contributions list), but then again I haven't heard everything ;-) Fram (talk) 09:48, 15 October 2014 (UTC)
:{{ping|Fram}} This sounds like it might be in Graham87's area of expertise. I see that he's also documented some of his work at User:Graham87/Page history observations. — Mr. Stradivarius ♪ talk ♪ 11:10, 15 October 2014 (UTC)
::Thanks. Hopefully he can shed some light on this, the section "Revision ID numbers" maybe relevant here, but he will be probably much better placed to judge this. Fram (talk) 11:16, 15 October 2014 (UTC)
:::The problem with erroneous byte differences in page histories is tracked as Bug 36976, and is indeed related to revision ID numbers, as they are used to calculate the previous and next revision of a page. The problem with missing contributions is tracked as bug 34873, and occurs because many older edits are stored with a user ID of 0; the reason for this is that the accounts of the affected usernames hadn't been created in September 2002, when the older edits were mass-imported into the Wikipedia database. Graham87 11:25, 15 October 2014 (UTC)
::::OK, thanks! I'm glad that they aren't new problems. Fram (talk) 11:33, 15 October 2014 (UTC)
:Is it because I'm user 1? I've been confused with a mop bearer more than once. Anyway I clicked "next" on that edit and expected to see a revert. My, how Wikipedia has changed since then. --Damian Yerrick (talk) 23:31, 15 October 2014 (UTC)
::{{replyto|Damian Yerrick}} Nope, it's because I've done so many imports of your edits from the Nostalgia Wikipedia and other places. Graham87 09:34, 16 October 2014 (UTC)
Pages in category Section name
What is the technical Section name for what appears as 'Pages in category "Φ"' in read mode? In other words, how do I get [//en.wikipedia.org/w/index.php?title=Category%3ACS1_errors%3A_dates&diff=629718403&oldid=627011446 this] edit to work properly? Thanks {{p}} It Is Me Here t / c 14:50, 15 October 2014 (UTC)
:I tweaked it to use {{tlx|anchor}} instead of the section header.
:—Trappist the monk (talk) 15:30, 15 October 2014 (UTC)
:The html source of the rendered category page contains:
Pages in category "CS1 errors: dates"
:So the anchor name is "Pages in category". You had the right name but swapped the parameter order in {{tl|sts}}. PrimeHunter (talk) 15:39, 15 October 2014 (UTC)
::I have changed it with edit summary: use MediaWiki's anchor "mw-pages" instead of "Pages in category" which is an ugly hack added in MediaWiki:Category header so the link would fail in other user languages than the default en.[//en.wikipedia.org/w/index.php?title=Category:CS1_errors:_dates&diff=629727381&oldid=629726692] That hack can cause other problems and should probably be removed but I don't know whether we rely on it elsewhere. PrimeHunter (talk) 16:12, 15 October 2014 (UTC)
older version of the map
hello, I have uploaded a map for an article Im working on Yamhad.
the problem is that the infobox is showing an older version of the map, instead of showing this :
https://en.wikipedia.org/wiki/File:Yamhad_and_Vassals.png
its showing this ! :
https://upload.wikimedia.org/wikipedia/commons/archive/2/22/20141015123556!Yamhad_and_Vassals.png
is there anyway to fix this problem ?--Attar-Aram syria (talk) 17:29, 15 October 2014 (UTC)
:I purged the version in the article with https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Yamhad_and_Vassals.png/250px-Yamhad_and_Vassals.png?action=purge. It displays right now. PrimeHunter (talk) 17:57, 15 October 2014 (UTC)
Why do time stamps use DMY regardless of what I set my preferences to?
In my preferences, I set my timezone to CDT (America/Chicago on the list), and so that properly converts the timestamps from using UTC to instead display CDT, but regardless of what date format I set it to use, it displays in DMY. What is the problem here? Dustin (talk) 21:43, 15 October 2014 (UTC)
:It works for me at for example the history of this page.[//en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29&action=history]. What is your date format setting at Special:Preferences#mw-prefsection-rendering and where do you see DMY? If you mean in signatures then they are not software-generated but saved in the wikitext as UTC and DMY. The MediaWiki software does not change them according to your preferences. The English Wikipedia has added an option at Special:Preferences#mw-prefsection-gadgets: "Change UTC-based times and dates, such as those used in signatures, to be relative to local time". This changes the displayed time in signatures but is not supposed to affect the date format. PrimeHunter (talk) 22:51, 15 October 2014 (UTC)
::{{ping|PrimeHunter}} Just as through my preferences, date format in page histories can be chosen, and the display timestamp can be modified to work for a user's timezone, why can the date format of time stamps just be auto-converted? I don't particularly like DMY as it puts the least significant values before more significant values. I set my preferences at at Special:Preferences#mw-prefsection-rendering to use MDY because that is what I am used to, but I also have tried out or used YMD on occasion, but neither actually change how the time stamps display for me, even though they change the date format of revisions on page histories. Dustin (talk) 16:05, 16 October 2014 (UTC)
:::The MediaWiki software only has built-in functions to change the display of times which are stored as database entries, for example edit times in page histories, user contributions, watchlists, recent changes. This display is controlled by Special:Preferences#mw-prefsection-rendering. When you sign with
, the time and date is not stored as a database entry in a time field but as actual text in the wikisource of the page. That text can then be treated like any other wikitext. It is an editor at the English Wikipedia who created the gadget to identify times in wikitext and change the time zone display. If a user enables the gadget then MediaWiki:Gadgets-definition tells the software to run MediaWiki:Gadget-CommentsInLocalTime.js which loads User:Gary/comments in local time.js which is made by User:Gary. Your browser receives the original UTC time but the JavaScript then runs in your own browser and changes what you see. I'm not a JavaScript programmer and don't know whether it could be modified to get the date format from your preferences and also change that, or maybe a new gadget or user script created to do it so users can choose independently. If somebody writes the code then administrators can add gadgets with easy one-click enable/disable at Special:Preferences#mw-prefsection-gadgets. Any registered user with the right knowledge can write and run their own JavaScript or import it from elsewhere by editing their own Special:MyPage/common.js. I don't know whether somebody has a script somewhere to change the displayed date format. PrimeHunter (talk) 18:06, 16 October 2014 (UTC)
:::: With the Comments in Local Time script, you can set the date format with the instructions found here. Available date formats are DMY, MDY, and YMD. Gary (talk · scripts) 18:38, 16 October 2014 (UTC)
Randomly logging out
Every time I open a new tab (and sometimes even if I don't), I randomly log out. Help? --User J. Dalek (talk | contribs) 22:39, 15 October 2014 (UTC)
: By the way, I use IE 11. --User J. Dalek (talk | contribs) 22:43, 15 October 2014 (UTC)
::{{ping|UserJDalek}} try reloading; Works for me. --Mdann52talk to me! 16:38, 16 October 2014 (UTC)
:::It seems to work now. Thanks. --User J. Dalek (talk | contribs) 22:15, 16 October 2014 (UTC)
Can someone make a list for me?
I'd like to better understand WP:LEADLENGTH—how we do it in actual practice, not just the theory on the guideline page. One way to address this, I thought, would be to compare our (old) advice against our (recent) WP:TFAs. Does someone know how to make a table (or spreadsheet, or text file) that has this kind of information, without having to do it all by hand?
class="wikitable" | ||||||||
Article name | Number of characters | Number of words | Number of sentences | Number of paragraphs | Characters in the lead | Words in the lead | Sentences in the lead | Paragraphs in the lead |
---|---|---|---|---|---|---|---|---|
Tropical Storm Kiko (2007) | 6,050 | 965 | 50 | 6 | 1,010 | 160 | 8 | 1 |
Colorado River | 67,400 | 11,100 | 510 | 82 | 4,425 | 716 | 34 | 4 |
I'd like to have this data for, say, the last 100 consecutive TFAs. Since my manual method is slow, and since eyeballing the text to remove section headings and ref numbers is doubtless sloppy, I'm really hoping that someone can come up with a fast, easy, automated method. It seemed to me that the WP:DYK script might be useful for the character counts, but that still leaves the rest.
If you can produce the list and also feel like doing the basic analysis for me (which of the whole-page numbers correlates best with which of the lead-only numbers?), then so much the better. WhatamIdoing (talk) 22:59, 15 October 2014 (UTC)
- If you are going to build a small task force to do this work (5 members, 20 articles), or cerate a sub-page under your user-page, you may call me in there. Thanks. --Tito☸Dutta 23:18, 15 October 2014 (UTC)
- Umm, I might be able to whip up a script to do this automagically. I'll give it a shot.--v/r - TP 00:00, 16 October 2014 (UTC)
- Thanks for the offer, Tito. TParis, I hope that the script works. WhatamIdoing (talk) 20:16, 16 October 2014 (UTC)
Improving article history
I think article history should more often than it does not show information is removed then added. For example, the first sentence is all I removed from Chess#Promotion [https://en.wikipedia.org/w/index.php?title=Chess&diff=628877050&oldid=628117469 here] and it still treats it like I removed the whole thing and wrote something else. Blackbombchu (talk) 21:11, 16 October 2014 (UTC)
:By 'history', you mean the diff, right? Try wikEdDiff. — HHHIPPO 21:22, 16 October 2014 (UTC)
Wikimedia Tool Labs
{{tracked|72104}}
I use a couple of wikimedia tool labs sites such as [https://tools.wmflabs.org/xtools/ec/] to check my user statistics and [https://tools.wmflabs.org/xtools/articleinfo/] to check article statistics, bugs and such. They are really useful sites but for the last few days they have been down. I can't seem to find a place to report the sites being down and I was referred to here by the IRC help chat. I hope you can help and I appreciate you looking at my request. - SantiLak (talk) 22:08, 16 October 2014 (UTC)
:See bugzilla:72104. PrimeHunter (talk) 22:52, 16 October 2014 (UTC)
::I appreciate the help. - SantiLak (talk) 23:28, 16 October 2014 (UTC)
::Is this why I keep seeing spinning donuts and the message Waiting for tools.wmflabs.org... most every time I read or update a page? Wbm1058 (talk) 23:30, 16 October 2014 (UTC)
:::User:Wbm1058/common.js contains
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
:::The loaded meta:User:Hedonil/XTools/XTools.js contains
importScriptURI("//tools.wmflabs.org/xtools/api.php?pageid=" + ...
:::I guess that's the cause. PrimeHunter (talk) 23:57, 16 October 2014 (UTC)
::::I see, thanks. That's probably one of the causes. Perhaps there's another one or more... Wbm1058 (talk) 00:25, 17 October 2014 (UTC)
:::::I think the labs bug is the entire cause of the spinning donut and message about labs, if the Hedonil tool scrpt is loaded on the user's .js page. I've been getting it for several days. When it finally stops spinning, which seems to take forever, the Hedonil tool does not show at the top of the article page — Maile (talk) 14:47, 18 October 2014 (UTC)
What links here
Before October 16, when I type in a page for What links here, there would be no suggestion drop down list. Now there is. Usually, I know what exact article title I'm going to put in there. I don't need the dropdown list's help. Any way to disable it? (Don't completely remove it, I sometimes want it enabled.) The only way to disable it is to check box but that does it for the search box, too. I would like it to be kept for the search boxes but disabled (however I sometimes want to re-enable it) on the What links here. I did not find this in any tech news. A Great Catholic Person (talk) 05:32, 17 October 2014 (UTC)
[OAuth page] some internal links not working (e.g. Facebook)
There are several links on the OAuth page that are not rendering. Specifically, in the [http://en.wikipedia.org/wiki/OAuth#List_of_notable_OAuth_service_providers List of notable OAuth providers] the links for Facebook, LinkedIn, and Twitter do not show on the article view. What could be the cause of these links not rendering? Brylie Christopher Oxley (talk) 06:54, 17 October 2014 (UTC)
:Someone else mentioned a similar problem a few days ago over on ANI. It seems to come down to AdBlock Plus and Fanboy's Social Blocking List. They mentioned that it should be fixed now though, perhaps if you update the extension/list? Organics talk 12:34, 17 October 2014 (UTC)
Did something happen to Ambox?
I am using Monobook, and all of the templates based on {{tl|ambox}} such as {{tl|POV}}, {{tl|refimprove}}, {{tl|FAQ}}, etc. are displayed in a strange manner. [http://i.imgur.com/vN4DZvH.png See this image]. --benlisquareT•C•E 08:22, 17 October 2014 (UTC)
:I don't see a problem in Monobook. Try clearing your cache. -- User:Edokter]] {{talk}}
10:43, 17 October 2014 (UTC)
Dark colour schemes and the interface between the system, browser and Wikipedia
{{tracked|72188}}
{{tracked|72192}}
I hope this is the right place to ask this question. This is the number one issue that stops me editing Wikipedia comfortably, and it's an issue that hasn't yet been resolved, due to its technical nature. There are issues with formulae, box quotes, transparency in images (e.g. chemical structure diagrams), and the list just goes on. Adding the the problems is the new software that is coming out through 2014-15 (Media Viewer, VisualEditor, etc.) which utilises set colour schemes which from my (poor) understanding are hard to change with CSS script. I haven't filed a bug report, because it seemed others already had for the exact same issue.
File:Poor contrast on flow forms.png
One of my last sentences on that discussion page, "However, on Wikipedia, [the stylesheet is] already suitable for my daily use", has since been found to only be true for the reading of non-technical articles which didn't contain box quotes. It's very frustrating, in that it severely impedes my use of this amazing website.
The other annoying behaviour, which is related, is the actions of certain text-entry boxes. The new piece of software, Flow, is an example, as is the larger search box that pops up under the heading "Search results" when your search query isn't found. The text and text box are almost the same colour; really dark. This is probably caused by the interaction between the system and browser, but changing the browser's default colour settings isn't an option, because then everything else is unreadable. I don't know how to tell my browser to ignore my dark system colours on websites and use the default light ones (I've tried playing around with all the colour settings in Firefox already).
Another interesting observation is that the source editing form I'm using to write this is using the dark background too, but it uses the light-grey text from my system theme in tandem, meaning that reading the text is not a problem. Same with the buttons down the bottom. I'm not sure if perhaps the specific input boxes I'm having trouble with take information from the system for the background, but none for the text, which might just be set as an unchanging black?
If any of this doesn't make sense, I can post more screenshots.
I'm running Linux Mint 17 Cinnamon, with a dark colour scheme for my window manager. Firefox 33.0 is my browser.
Any help would be vastly appreciated. Thanks, Thennicke (talk) 13:24, 17 October 2014 (UTC)
: The issue for the larger search box, and probably for other things such as flow, is that the WMF UX designers have fallen in love with using dark grey rather than black text all over the place but they're only overriding the text color and not the background color. This works fine with the default white, but for people like you who've set the browser to a different color scheme this causes problems. This should be [https://bugzilla.wikimedia.org/enter_bug.cgi?format=guided&product=MediaWiki&component=MediaWiki+UI filed as a bug] if it hasn't been already. Anomie⚔ 14:45, 17 October 2014 (UTC)
::Anomie⚔, I thought it was a bit strange that only the text should be set to a different colour; that explanation makes sense though. Thank you, I'll file that bug. The issue with Wikipedia's lack of support for dark colour schemes is obviously a much bigger task. Thennicke (talk) 15:29, 17 October 2014 (UTC)
:::Thennicke, you might be interested in my suggested Appearance and accessibility panel (see Wireframe/napkin-sketch illustration in particular) - feedback appreciated!. And thanks Thennicke and Matma_Rex for filing those bugs. Quiddity (talk) 19:49, 17 October 2014 (UTC)
:I would also like light colored text on a black background, but gave up on it due to all the issues it seems to cause. If it would work, it would solve several problems. On my CRT monitor, light backgrounds require more electricity, generate more heat, cause more damage to the eyes, make flickering appear worse, and cause more electromagnetic interference. Depending on the technology, this may be true for various flat screen monitors, too. If the screen was white when you turn the monitor off, and LCDs were used to block portions of that white background, then Wikipedia's default white background would make more sense. StuRat (talk) 21:26, 17 October 2014 (UTC)
::StuRat, check out User:Dodoïste/vector.css for a prototype skin. You and I are not alone in this issue; Axl mentioned it as well, for example, and there are definitely others. The main issues with this skin at the moment are as follows:
::* Interaction with the UI elements in the new beta software
::* Templates with user-defined colour schemes are also a huge issue
::* Mathematical formulae are unreadable
::* Box quotes are unreadable
::* There's a lot of generally ugly and incompatible stuff
::Quiddity, that wireframe looks really good at the moment! I honestly don't have any suggestions to add, other than perhaps an "advanced" menu where every font size and UI element colour is customisable for people who find the defaults unsuitable. (e.g. a direct inversion of the default colour scheme, for me, is too harsh. Hence the greys used on User:Dodoïste/vector.css)
::This dark colour scheme is certainly a critical feature for me and others, and it will obviously require a community effort, because it's such a big project. Too bad I can't code. Cheers to everybody here for their help! Thennicke (talk) 05:44, 18 October 2014 (UTC)
::: Thank you for pinging me, Thennicke. For the benefit of other readers: I use the green-on-black skin to reduce background glare. However I am unable to view many diagrams properly—often the labels or lines do not appear. Also, I am not able to view the WP:GAN pages. As a result, I have stopped undertaking GAN reviews. Axl ¤ [Talk] 08:39, 18 October 2014 (UTC)
Tearing its guts out
Here's another bit of enigmatic (for me, at least) template stuff:
The way that grouping should appear is as follows:
I actually came across a redirect that was tagged like that first link above. The separation of the innards of the {{tl|Redr}} template doesn't happen if the external rcat, {{tl|R to section}}, is removed. When the Redr is placed in the usual position on the third line (or even on the second line), then all is normal. I tried using other independent rcats and received mysterious results – {{tl|R with possibilities}} gives the same puzzling separation, while {{tl|R from subpage}} looks normal. Of course, I'd like to fix this so editors don't have to be concerned about where they position the templates on a redirect, but I have no idea where to start. Is there maybe an easy fix to the template(s) for this? Is this suitable for a bug report? – Paine Ellsworth CLIMAX! 16:24, 17 October 2014 (UTC)
:Sorry, I should have been looking at this. The problem is that {{tlx|mbox}}-based templates only work properly if placed at the start of a new line, otherwise HTML Tidy screws with what's inside the box. In the case of Sandbox2, you've got a table inside a list item of an unordered list; in the case of Sandbox3, the table is after the unordered list. It often happens with {{tlx|edit protected}} - compare {{oldid|Template talk:Infobox book|612757865#Please_remove_the_code_to_flag_parameters_as_deprecated|old version}} with {{oldid|Template talk:Infobox book|612766335#Please_remove_the_code_to_flag_parameters_as_deprecated|fixed version}}; the only difference is the presence of a colon in the first one. --Redrose64 (talk) 17:16, 17 October 2014 (UTC)
::No problemo, and thank you for your explanation! The colon works well to spoil Redr as well:
::* User:Paine Ellsworth/Sandbox2
::I'll note it in the documentation. – Paine 22:11, 17 October 2014 (UTC)
Change in behaviour of Special:LinkSearch
It is possible to link Wikipedia pages in two ways: as an internal Wikilink, which shows in "What links here", or as an external link, which does not. In the past it was possible to use Special pages → External links search for such links. At the top of that page it shows MediaWiki:Linksearch-text, which advises "To search for external links to pages on this site, start with en.wikipedia.org/wiki/".
This no longer works. According to bugzilla:72185, this is because $wgRegisterInternalExternals
is not switched on. But, this certainly used to work, so when was it turned off? {{user|Bawolff}} and {{user|AKlapper (WMF)}} both say that it was intentional. --Redrose64 (talk) 19:08, 17 October 2014 (UTC)
:I believe it was turned off at about MediaWiki 1.16 (2010-ish). See rev:53104. Following the link to bugzilla:19637, this appears to be a performance optimization (I didn't realize that when I commented on the bug). User:SPringle (WMF) would be the one to ask if the performance concerns are still valid, or if it can be re-enabled. Bawolff (talk) 19:44, 17 October 2014 (UTC)
SSL 3.0 discontinued
Possibly only dozen people in the world noticed this, but in case any of them are wondering: it appears that SSL 3.0 was disabled yesterday on the Wikipedia secure server. If you try to login via https: (and of course no one passes login data over http:) and your browser has "SSL 3.0" enabled—oops! The initial error message was:
Error code: ssl error no cypher overlap
At the end of the day message changed to:
SSL protocol has been disabled.
This apparently unannounced change (I haven't seen any mention of it) is presumably due to a "[http://googleonlinesecurity.blogspot.co.uk/2014/10/this-poodle-bites-exploiting-ssl-30.html critical flaw in SSlV3]" — "POODLE" — discovered just last month.
Anyone encountering this problem should go into their browser settings and disable SSL 3.0. If you have really old browser, it's time to upgrade. ~ J. Johnson (JJ) (talk) 00:23, 18 October 2014 (UTC)
: If your browser has TLS 1.2, 1.1, or 1.0 enabled, those should be preferred (in that order) to SSL 3.0. As for announcements, see [https://lists.wikimedia.org/pipermail/wikitech-l/2014-October/079058.html] Anomie⚔ 00:46, 18 October 2014 (UTC)
Error when searching for template "a"
[https://en.wikipedia.org/w/index.php?title=Special:Search&search=template:a This query] results in the error message "An error has occurred while searching: The search backend returned an error:". Other single-letter templates are found just fine, maybe someone should take a look at this. Paradoctor (talk) 08:56, 18 October 2014 (UTC)
:When that happens, I try to get to the bare URL, as in http://en.wikipedia.org/wiki/Template:A. – Paine Ellsworth CLIMAX! 14:31, 18 October 2014 (UTC)
:It works when I enable "New search" at Special:Preferences#mw-prefsection-betafeatures. I think New search is planned to become the default or only search and there is limited interest in using resources on fixing such problems with the old search. PrimeHunter (talk) 14:39, 18 October 2014 (UTC)
:: No sweat, it's just something I noticed and thought might be of interest. Paradoctor (talk) 17:45, 18 October 2014 (UTC)
FeaturedTopicSum
Can anybody work out what the "-2" in Template:FeaturedTopicSum is for? I've been trying to convert this template to Lua at Module:FeaturedTopicSum, because it will be used in Module:Article history, but I can't work out why the current template code is the way it is. The template takes a topic name as {{param|1}}, returns {{param|2}} if the topic is a featured topic, and returns {{param|3}} otherwise. Now, one of the featured topic criteria is that 50% or more of the articles in the topic are featured articles. This criterion is translated into the following template code:
{{#ifexpr:{{PAGESINCATEGORY:Wikipedia featured topics {{{1}}} featured content}} >= ({{PAGESINCATEGORY:Wikipedia featured topics {{{1}}}}} + {{PAGESINCATEGORY:Wikipedia featured topics {{{1}}} good content}}-2)
|{{{2}}}
|{{{3}}}
}}
For a figure of 50% or more, I would expect the calculation to be "featured >= good + other", not "featured >= good + other - 2". Am I missing something here? — Mr. Stradivarius ♪ talk ♪ 18:11, 18 October 2014 (UTC)
Also, I should leave a ping for User:Ucucha, who made the most recent edit to the template. — Mr. Stradivarius ♪ talk ♪ 18:12, 18 October 2014 (UTC)
:My guess: "Wikipedia featured topics ... good content" and "Wikipedia featured topics ... featured content" are subcategories of "Wikipedia featured topics ...", so subtracting two from the {{((}}PAGESINCATEGORY:Wikipedia featured topics {{{1}}}{{))}}
term ensures that these subcategories are not included in the article count. SiBr4 (talk) 18:49, 18 October 2014 (UTC)
::{{edit conflict}} It appears the reason for this adjustment is that the page:
::*Category:Wikipedia featured topics *
::contains both category pages:
::* Wikipedia featured topics * featured content
::* Wikipedia featured topics * good content
::I expect the "-2" is to adjust for this inclusion. A quick look at the first category in the list shows:
::* :Category:Wikipedia featured topics 1906 Atlantic hurricane season pages:{{PAGESINCATEGORY:Wikipedia featured topics 1906 Atlantic hurricane season}} (with no pages actually in this category)
::* :Category:Wikipedia featured topics 1906 Atlantic hurricane season featured content pages:{{PAGESINCATEGORY:Wikipedia featured topics 1906 Atlantic hurricane season featured content}}
::* :Category:Wikipedia featured topics 1906 Atlantic hurricane season good content pages:{{PAGESINCATEGORY:Wikipedia featured topics 1906 Atlantic hurricane season good content}}
::— Makyen (talk) 19:12, 18 October 2014 (UTC)
:::Indeed, see mw:PAGESINCATEGORY. An alternative would be to use {{((}}PAGESINCATEGORY:Wikipedia featured topics {{{1}}}|pages{{))}}
, which doesn't count subcategories. — HHHIPPO 19:19, 18 October 2014 (UTC)
::::Aha, that makes sense. I was getting messed up because the equivalent code in Lua doesn't count subcategories. (Or more accurately, you can specify whether you want it to count pages, subpages, files, or all three.) Thanks, everyone. — Mr. Stradivarius ♪ talk ♪ 19:50, 18 October 2014 (UTC)
::::And looking at the PAGESINCATEGORY docs, I see that the parser function works that way as well. The option to specify pages only came in MediaWiki 1.20, though, which would be why the template didn't use it. The last update to the template was in 2010, and 1.20 was released in 2012. — Mr. Stradivarius ♪ talk ♪ 19:57, 18 October 2014 (UTC)
Login problems on IE9 Vista
I'm currently having problems logging into my account using Internet Explorer 9 on Windows Vista. I'm having no problems using this wiki when not logged in, but when attempting to log in, I get a "Internet Explorer cannot display the webpage" error; any attempt to refresh quickly regenerates the error screen, as if it's not even trying to load the login screen. I really prefer to be logged into my account whenever possible, so it is possible to do something about this issue? Thanks. --76.92.210.183 (talk) 00:09, 19 October 2014 (UTC)
:Found out what was wrong. I didn't have a specific value turned on--I had "Use TLS 1.0" off when it should have been on ("Use SSL 2.0" and "Use SSL 3.0" were already on, anybody else who's going through what I went through might want to check those as well). Shouldn't have a problem logging on now...--76.92.210.183 (talk) 06:10, 19 October 2014 (UTC)
::You were using SSL 3.0? See #SSL 3.0 discontinued, above. ~ J. Johnson (JJ) (talk) 20:44, 19 October 2014 (UTC)
Custom CSS
:"Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate . The code will be executed when previewing this page."
This is shown when I preview the CSS page. "you can ask at the appropriate ." seems to be unintended and something is missing. I post here to make you aware of it in case you want to change it. Iceblock (talk) 01:06, 19 October 2014 (UTC)
:I see MediaWiki:Jswarning which says "Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump". The text "village pump" is a link to this page, but it displays bold here instead because it's a link to the page itself. Are you sure you have nothing after "appropriate"? If you see a large space but cannot make out any text then it may be a textcolor versus background color problem on your computer. Try holding your mouse over the space. And did you copy-paste the text with your browser or retype it manually? PrimeHunter (talk) 01:24, 19 October 2014 (UTC)
::Thanks for your reply! It's my fault, it was hidden because of some settings on my computer. I have resolved it. Iceblock (talk) 01:43, 19 October 2014 (UTC)
Checking custom tables of contents
Does anybody know of an automated or partially automated way to check the accuracy of the table of contents on pages like List of birds of French Guiana? I've been checking them by clicking on each heading to see if it has a target, then generating a normal table of contents and visually comparing it to the list to see if any headings have been missed. It is tedious and there are hundreds of articles in the series {{search link|intitle:"list of birds of"|List of birds of ...}} which I'm hoping to clean up. SchreiberBike talk 03:40, 19 October 2014 (UTC)
Page in "edit" mode is broken
Page in "edit" mode is broken, left side navigation bar is pushed down, no WP logo. --Tito☸Dutta 23:22, 19 October 2014 (UTC) [https://plus.google.com/+TitoDutta/posts/LXAGSTW4eEU Here] is a screenshot (use "zoom") --Tito☸Dutta 23:27, 19 October 2014 (UTC)
:Have you tried to clear your entire cache? PrimeHunter (talk) 02:52, 20 October 2014 (UTC)
Creating a Help article
I would like to create an article named Help:Automatically generated reference list, and copy into it the information in this draft page, per the discussion at Help talk:Footnotes. But whenever I search for the not-yet-existing new page, I get "An error has occurred while searching: The search backend returned an error:". Does creating a page in the Help namespace require some kind of administrator privileges? – Margin1522 (talk) 02:32, 20 October 2014 (UTC)
:{{ping|Margin1522}} Nope, this looks like a search bug rather than a page creation bug. If you click on the link you've made above you should be able to create the page. — Mr. Stradivarius ♪ talk ♪ 02:47, 20 October 2014 (UTC)
::Yes, this has unfortunately become a common error for the default search engine. At Special:Preferences#mw-prefsection-betafeatures you can choose "New search" which doesn't have the problem. Clicking the red link also works fine. PrimeHunter (talk) 02:50, 20 October 2014 (UTC)
:::Success! Thank you both very much. Now I will go and select the new search engine. – Margin1522 (talk) 03:10, 20 October 2014 (UTC)
::::Another time, it would be more appropriate to WP:MOVE the draft to the new location. Doing so preserves the edit history, which is what is used to attribute the work and comply with the licensing model which Wikipedia uses. Even though it is (mostly) your work (there is one edit of the draft by {{U|BattyBot}}), preserving the edit history is one of the things that demonstrates that it is the work of the people credited in the history. Having a history that shows the development of the content is much stronger than having a fully formed version appearing in a first edit. — Makyen (talk) 06:05, 20 October 2014 (UTC)
:::::Actually most of the content on that page was developed on the Help:Footnotes page. I just expanded it a bit and added some formatting and examples. I should have mentioned that in the edit summary. Now that you've reminded me, I will mention it on the Talk page of the new article. (The rest of the history on the draft page, including BattyBot, is for a completely different article, Bettina von Zwehl, which is why I copied it instead of moving it.) – Margin1522 (talk) 07:58, 20 October 2014 (UTC)
::::::{{replyto|Margin1522}} If you made the new page by copying text from another page, WP:SPLIT applies and attribution is still required. --Redrose64 (talk) 15:13, 20 October 2014 (UTC)
:::::::Thanks. There was a template {{tl|Copied}}, so I added that. Essentially it duplicated information already on the talk page, but if there is a standard format it's better that way. – Margin1522 (talk) 22:05, 20 October 2014 (UTC)
I'm signed in/I'm not signed in
On a computer with Firefox, for the past several months, if I accessed Wikipedia from a search engine after signing in, it would appear that I was not signed in (and my skin would be different). If I remained on Wikipedia after signing in and searched for the appropriate article there, I remained signed in. Another option was to use a link from an email containing "https:", which is not found in the URL of an article accessed from a search engine. Inserting "https://" before "en" fixed the problem. Now, the problem appears to have been fixed, although for some strange reason at home, where I have IE9, this happened to me once and I don't remember what I did. I actually never use search engines at home.— Vchimpanzee • talk • contributions • 21:50, 20 October 2014 (UTC)
Edits cannot be made to [[Sankar Chakraborti]]
{{resolved}}
OTRS agent here, and was trying to make changes to the above article, but I definitely cannot edit it for some reason. While I can enter the edit window (edit source), I cannot submit changes. The button appears, but clicking on it yields no response. Any reason why this might be the case? I, JethroBT drop me a line 00:04, 21 October 2014 (UTC)
:It works fine for me. AndyTheGrump (talk) 00:09, 21 October 2014 (UTC)
::Also works for me. JethroBT posted more at Wikipedia:Administrators' noticeboard#Editing and other functions disabled at Sankar Chakraborti. A tested null edit in Monobook gave me no problems. There are only three transcluded pages beyond those used in {{tl|notability}}. Have you tried to clear your entire cache? PrimeHunter (talk) 00:55, 21 October 2014 (UTC)
:::Works fine for me too. If you still have problems after clearing your cache, could you please specify if you can edit other articles? Thanks! GoingBatty (talk) 01:08, 21 October 2014 (UTC)
::::Clearing the cache worked, thanks. I, JethroBT drop me a line 01:49, 21 October 2014 (UTC)
Watchlist option when moving pages
When moving a page, one has an option to tick or untick the "Watch source page and target page" box. However, more often than not, I am finding myself in need of watching only the target (i.e., where the article is being moved to) but not the source (which will become a simple redirect). Is there a technical reason why the source and the target can't be unbundled into separate boxes? It's somewhat annoying to have to go through an extra step of going back and watching the target (if the box was not checked during the move) or unwatching the redirect (if the box was checked). Surely I'm not the only one feeling so?—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); October 17, 2014; 14:03 (UTC)
:Watchlists can have thousands of entries and redirects are rarely edited so I don't see a problem in adding the redirect to the watchlist. Maybe some users would like the option but it doesn't seem significant enough to clutter the interface and ask for developer work. Note that if others move a page on your watchlist then the new title is also added to the watchlist without removing the old title. PrimeHunter (talk) 15:49, 17 October 2014 (UTC)
::I have no problem with the old title being kept on my watchlist when others move a page—in this case retaining the redirect in the watchlist actually helps see that the article has been moved, especially if consequent edits are done to the target before the move is seen on the watchlist. But keeping unnecessary (to me) records of redirects on my already overly long watchlist does not seem to be useful at all. If I kept every such redirect, my watchlist would not be just difficult to edit (as it is now, with 14,000+ entries and counting), but extremely so (I did have browsers on older PCs crash and hang when trying to open my watchlist in edit mode). And just how much of developers' time would splitting the option in two take, anyway? Ten, fifteen minutes? :) And if both options ("watch source", "watch destination" are placed on the same line, the cluttering is going to be minimal. Come to think of it, the "leave a redirect behind" seems a lot less useful than what I'm proposing. Yes, occasionally there is a need to suppress the creation of a redirect when moving a page, but does that really happen so often we need a separate option for that? Anyone else cares to chime in?—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); October 17, 2014; 17:11 (UTC)
:::"leave a redirect behind" is only seen by admins. I often use either option there. Non-admins only have one checkbox on the move form. Many of them may not realize that anyone can change the redirect, and watching the source will inform them of such changes. PrimeHunter (talk) 17:35, 17 October 2014 (UTC)
:::The ability to suppress redirects by unchecking the "leave a redirect behind" box makes some history merges and swaps much much easier, and I would vociferously object to the removal of that check box. Graham87 08:52, 18 October 2014 (UTC)
::::Well, OK, I'm not here to advocate the removal of that box; it's just something that came up during the discussion (I personally don't care either way). Any opinions on the proposed split of the "Watch source page and target page" box, though?—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); October 21, 2014; 20:09 (UTC)
Creation of the "Special talk:" namespace
{{Moved discussion to|Wikipedia:Village pump (proposals)#Creation of the "Special talk:" namespace}}
[[Template:CoNo]] to speedily insert <code><nowiki>...</nowiki><code> markup
For your coding pleasure, try out
.
This has been a bit of a wiki-Grail of mine for years, because I hate manually typing out "<code><nowiki>...</nowiki><code>
" all the time. {{tlx|CoNo}} stands on the shoulders of the giant {{U|Zenexer}}, whose {{tlx|Nowiki}} finally makes this work. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 23:30, 18 October 2014 (UTC)
: Glad to see my coding hacks put to good use! I wish I could remember who taught me the trick that I used, but it was a long time ago. —Zenexer [talk] 00:07, 19 October 2014 (UTC)
::Not to take anything away from anyone here but isn't simple stuff like this the reason User:s can add their own toolbar of useful/repetitive "inserts" using the CharInsert gadget via one's common.js file? Once in place there is no need to type anything - just highlight the target text and select the tags from your custom menu of stuff.
For example; if you add the following to your common.js file....
/* CharInsert specific */
window.charinsertDontMove = false;
window.editToolsRecall = true;
window.charinsertCustom = { User: ' | = {\{+}} [\[+|]] — Æ æ Œ œ
{\{ping|+}}' };
if(window.updateEditTools) window.updateEditTools();
::... A new menu labeled "User" containing your custom inserts will appear in the menu of CharInsert (EditTools). Hope that made sense -- George Orwell III (talk) 00:38, 19 October 2014 (UTC)
:::There is a suggestion at MediaWiki talk:Edittools#Individual customization? to add it for everybody like meta already does. PrimeHunter (talk) 00:47, 19 October 2014 (UTC)
:This doesn't actually work. For example,
::Inserting {{tag|code|content={{tag|nowiki|content=}}}} can already be done - but in two clicks, not one. Make sure the dropdown menu below the edit box set to "Wiki markup" rather than "Insert"; I never leave mine on "Insert", because everything in there is also available in "Wiki markup". --Redrose64 (talk) 07:30, 19 October 2014 (UTC)
:::Some of our sister projects have a single button for this; could we not do so also? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:35, 19 October 2014 (UTC)
:Ideally, would this be
tags in most cases? WhatamIdoing (talk) 00:46, 21 October 2014 (UTC)
{{od}}This will add a button to the edit toolbar. -- Gadget850 talk 21:31, 23 October 2014 (UTC)
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'code nowiki': {
label: 'CodeNowiki',
type: 'button',
icon: 'https://upload.wikimedia.org/wikipedia/commons/7/73/Button_code_nowiki.png',
action: {
type: 'encapsulate',
options: {
pre: "
post: ""
}
}
}
}
} );
} );
}
[[m:Special:MyLanguage/Tech/News/2014/43|Tech News: 2014-43]]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. You can read translations.
Recent changes
- You can test a new system to see math using MathML. Go to your display options and choose "{{int:mw math mathml}}".
- You can add badges in Wikidata for quality articles and featured lists. [https://bugzilla.wikimedia.org/show_bug.cgi?id=70332] [https://bugzilla.wikimedia.org/show_bug.cgi?id=70268]
File information cleanup
- You can join a wiki project to help tools read file information. It will help people reuse files.
- See how to fix metadata. You can fix it by adding markers to templates and adding templates to files.
- You can see a [https://tools.wmflabs.org/mrmetadata/ list of files] missing machine-readable information on your wiki.
- The files missing readable data are also in these categories: no license, no description, no author or no source. [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2014-October/000968.html]
Problems
- Developers fixed a security problem. If you use Internet Explorer 6, you won't be able to log in any more. You should use a newer browser. [https://blog.wikimedia.org/2014/10/17/protecting-users-against-poodle-by-removing-ssl-3-0-support/]
Changes this week
- The new version of MediaWiki (1.25wmf4) has been on test wikis and MediaWiki.org since October 16. It will be on non-Wikipedia wikis from October 21, and on all Wikipedias from October 23 (calendar).
- 10% of logged-out readers are getting pages from servers that run the HHVM tool. HHVM should make pages load faster. You can also test it as a Beta Feature. [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2014-October/000965.html]
- If you add the same parameter twice in a template, it now puts the page in a tracking category. [https://bugzilla.wikimedia.org/show_bug.cgi?id=69964] [https://gerrit.wikimedia.org/r/#/c/136123/]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
=Duplicate parameters=
The tracking category will be set by MediaWiki:Duplicate-args-category and defaults to :Category:Pages using duplicate arguments in template calls. Duplicate parameters will only put the page into the tracking category. It will not mark the specific template, so it will take some digging to figure out the duplicates. -- Gadget850 talk 01:08, 21 October 2014 (UTC)
:Also, the report uses the present tense, but actually this feature isn't yet active on enwiki. It should start working on 23 October. — Mr. Stradivarius ♪ talk ♪ 02:00, 21 October 2014 (UTC)
::The category is starting to fill up now. Some of the problems were with the templates themselves, such as [//en.wikipedia.org/w/index.php?title=Template:Redirect_template&diff=prev&oldid=630839511 Redirect template] or [//en.wikipedia.org/w/index.php?title=Template:Navbox_subgroup&diff=prev&oldid=630841283 Navbox subgroup]. -- WOSlinker (talk) 21:08, 23 October 2014 (UTC)
:::Too bad there is no provision for an error message to show where the problem is. -- Gadget850 talk 21:10, 23 October 2014 (UTC)
::::{{ping|Gadget850}} I've submitted gerrit:168607 which will add one. Jackmcbarn (talk) 16:13, 24 October 2014 (UTC)
:::::I've found that it also detects cases where a positional parameter is used in both unnamed and named forms, see the revision prior to {{diff|Talk:11:30|prev|630968435|this fix}}. --Redrose64 (talk) 19:17, 24 October 2014 (UTC)
:::::If a page uses WP:LDR, and one or more of the refs inside the {{tlx|reflist|2=refs=...}} is not used within the main text, the page is put in {{cl|Pages using duplicate arguments in template calls}} for some reason (the error message Cite error: A list-defined reference named "..." is not used in the content (see the help page). is generated as before). --Redrose64 (talk) 19:42, 24 October 2014 (UTC)
::::::{{ping|Redrose64}} That's because of an error in our local modifications to MediaWiki:Cite error references missing key. I've submitted an edit request to have it fixed. Jackmcbarn (talk) 23:06, 24 October 2014 (UTC)
:::::::which I have now actioned, thanks. --Redrose64 (talk) 23:28, 24 October 2014 (UTC)
This category has considerable potential as a tool for tracking down errors. I think it would be more useful with two enhancements:
- An error message is needed. It looks like that has been requested above.
- As we do with Citation Style 1 errors, pages in the Draft, User, and all Talk namespaces should show the error messages but should not be included in the error tracking categories, since those pages should not be subject to cleanup. See this discussion for more details.
Should we move this discussion to a more relevant location, like Category talk:Pages using duplicate arguments in template calls?
If you're working on cleaning up these errors, I recommend starting with templates, since fixing them will remove articles containing those templates from the category automatically. [//tools.wmflabs.org/catscan2/catscan2.php?depth=3&categories=Pages+using+duplicate+arguments+in+template+calls&negcats=Template+test+cases%0D%0ATemplate+sandboxes&ns%5B10%5D=1&sortby=title&doit=1 Here's a catscan query for templates in the category.]– Jonesey95 (talk) 21:52, 24 October 2014 (UTC)
:I have fixed about 30 of these templates. There are currently about 20 left. They are (and were) mostly Navboxen. Some of them appear to have a redundancy in the {{para|state}} parameter that I do not know how to fix. Others are very long, and it might be easier to just wait for the error message to appear once that patch is deployed. Still others are a mystery to me. Happy hunting! – Jonesey95 (talk) 22:47, 24 October 2014 (UTC)
:I'd oppose such a change to categorization. If you only want to see certain namespaces, then just query the category for those namespaces. There's no good reason to hide certain pages with errors from everyone, just to save a few people from having to filter the results themselves. Jackmcbarn (talk) 23:10, 24 October 2014 (UTC)
::I've fixed up three navboxes so far, their problems were different: {{diff|Template:Dundee F.C. matches|prev|630952833|Template:Dundee F.C. matches}}; {{diff|Template:Copa Libertadores seasons|prev|630963887|Template:Copa Libertadores seasons}}; {{diff|Template:Football in Lithuania|prev|630975762|Template:Football in Lithuania}}. What is this "redundancy in the {{para|state}} parameter"? --Redrose64 (talk) 23:28, 24 October 2014 (UTC)
:::Here are a few that I haven't been able to figure out a fix for: {{tlx|Crimea topics}}, {{tlx|Faroe Islands topics}}, {{tlx|CanadianTerrorism}}, {{tlx|Northern Ireland topics}}, {{tlx|Netherlands topics}}. Some of them appear to have {{para|state}} duplicated, after a fashion, but there may be something else going on as well. More templates are populating the category as the database is refreshed, or whatever it is doing. – Jonesey95 (talk) 04:37, 25 October 2014 (UTC)
::::Template:CanadianTerrorism was an easy fix. The problems with the other 4 are caused by Template:Country topics, which is not simple to fix. I'll try to fix it in the next day or so. Jackmcbarn (talk) 04:46, 25 October 2014 (UTC)
:::::I've fixed {{tl|Country topics}} with [//en.wikipedia.org/w/index.php?title=Template:Country_topics&curid=37742478&diff=631037891&oldid=600898844 this edit]. -- WOSlinker (talk) 09:09, 25 October 2014 (UTC)
::::::{{tl|Nsnavbox}} may need a similar fix. There is a whole bunch of conditional list and group numbering that may be unnecessary. It's too intricate for me to trust my editing skills. Another one that is causing a number of templates to show this error is {{tl|Don't edit this line}}. – Jonesey95 (talk) 14:03, 25 October 2014 (UTC)
:::::::I've done [//en.wikipedia.org/w/index.php?title=Template:Nsnavbox/sandbox&diff=631080863&oldid=631080136 this] in the sandbox for Nsnavbox, which might work but needs further checking. -- WOSlinker (talk) 17:38, 25 October 2014 (UTC)
:The good news is that when the problem is in the template itself, not in the way that it is used in an article, the template is now listed at {{cl|Pages using duplicate arguments in template calls}}, for example Template:Nearest star systems is shown [//en.wikipedia.org/wiki/Category:Pages_using_duplicate_arguments_in_template_calls?from=Near here].
:The bad news is that I don't know of a good fix for the problems in that navbox. What it does is to bring in between 0 and 15 child navboxes, such as {{tlx|Star systems within 0 – 5 light-years}} and {{tlx|Star systems within 70 – 75 light-years}}. Those that it wants to display are put in {{para|list2}} {{para|list3}} etc. to {{para|list16}}, and since these are valid {{tlx|navbox}} params, they display. Those that it doesn't want to display are assigned to the undefined {{para|list}} parameter, which is why the template ends up in the error cat. I want to fix it by doing [//en.wikipedia.org/wiki/Special:ComparePages?page1=Template:Nearest_star_systems&rev1=627117748&page2=Template:Nearest_star_systems/sandbox&rev2=631184407 this], but it blows out the template include size. Is there a better way? --Redrose64 (talk) 13:43, 26 October 2014 (UTC)
::{{ping|Redrose64}} I'm off to bed now so I don't have time to check it properly, but would [//en.wikipedia.org/w/index.php?title=Template:Nearest_star_systems/sandbox&diff=631198026&oldid=631184407 this kind of thing] do the trick? — Mr. Stradivarius ♪ talk ♪ 15:47, 26 October 2014 (UTC)
:::{{replyto|Mr. Stradivarius}} {{ty}} that works. --Redrose64 (talk) 17:09, 26 October 2014 (UTC)
There are perfectly good reasons to use duplicate parameters and so I think that this needs more discussion before any more templates are changed. -- PBS (talk) 15:38, 26 October 2014 (UTC)
: There are a lot of pages showing up in the category that do not have duplicate parameters. Many of them are showing up in the category but the category isn't showing up on the page itself... There's something wrong here... — {{U|Technical 13}} (e • t • c) 17:50, 26 October 2014 (UTC)
::Probably because they were using a template that had a duplicate parameter, but the template has since been fixed. Have you tried a null edit on the articles to see if they are removed from the category? -- WOSlinker (talk) 17:52, 26 October 2014 (UTC)
:::Help:Job queue. For example, yesterday I made {{diff|Template:India year nav|prev|631110178|this edit}}. Around 50 pages like 1901 in India didn't drop out of the cat immediately; but when I looked again 12 hours later, they'd all gone. --Redrose64 (talk) 18:47, 26 October 2014 (UTC)
:::: Of course I've done null edits (which is why the category doesn't show on the page)... I also did a purge. Has nothing to do with the JQ (or the null edit / purge would've fixed it), something else is not WAI here... — {{U|Technical 13}} (e • t • c) 19:50, 26 October 2014 (UTC)
:::::Please give examples of pages that won't drop out of the cat. --Redrose64 (talk) 20:06, 26 October 2014 (UTC)
:::::A purge only updates the purged page and not the categories it is in. Template edits can also cause a category to be removed from a page without the page being removed from the category until much pater. A null edit should update both the page and the categories right away but we need an example to see whether something is wrong. PrimeHunter (talk) 21:42, 26 October 2014 (UTC)
:{{ping|PBS}} There are no reasons to ever duplicate parameters. When do you think there are? Jackmcbarn (talk) 20:36, 26 October 2014 (UTC)
::Background at Template talk:Cite EB1922#HIDE_PARAMETER. --Redrose64 (talk) 21:18, 26 October 2014 (UTC)
==Whac-A-Mole, and chess templates==
Playing Whac-A-Mole with templates as they pop into the category, as well as trolling through articles looking for broken navbox templates, appears to be keeping the category in the 50,000-article range (articles are being added by the database refresh about as quickly as they are being removed).
The catscan query above shows a number of chess-related templates that I am unable to interpret or fix. Some of them invoke a Lua module, so they are not likely to blame. It looks like there may be a problem in one of the underlying templates shared by all of these templates, or else they all use the same techniques. – Jonesey95 (talk) 17:41, 26 October 2014 (UTC)
:It not actually a problem with the templates. It's the method used to call them. The documentation recommends the following format to use the templates:
{{Chess diagram
| tright
|
|=
8 |rd|nd|bd|qd|kd|bd|nd|rd|=
7 |pd|pd|pd|pd| |pd|pd|pd|=
6 | | | | | | | | |=
5 | | | | |pd| | | |=
4 | | | | |pl|pl| | |=
3 | | | | | | | | |=
2 |pl|pl|pl|pl| | |pl|pl|=
1 |rl|nl|bl|ql|kl|bl|nl|rl|=
a b c d e f g h
| The King's Gambit
}}
:and it's the ='s bits that are the problem. It is passing over the blank parameter multiple times. You could rename those parmaters and it would then be ok:
{{Chess diagram
| tright
|
|x1=
8 |rd|nd|bd|qd|kd|bd|nd|rd|x2=
7 |pd|pd|pd|pd| |pd|pd|pd|x3=
6 | | | | | | | | |x4=
5 | | | | |pd| | | |x5=
4 | | | | |pl|pl| | |x6=
3 | | | | | | | | |x7=
2 |pl|pl|pl|pl| | |pl|pl|x8=
1 |rl|nl|bl|ql|kl|bl|nl|rl|x9=
a b c d e f g h
| The King's Gambit
}}
:or remove them alltogether:
{{Chess diagram
| tright
|
|rd|nd|bd|qd|kd|bd|nd|rd
|pd|pd|pd|pd| |pd|pd|pd
| | | | | | | |
| | | | |pd| | |
| | | | |pl|pl| |
| | | | | | | |
|pl|pl|pl|pl| | |pl|pl
|rl|nl|bl|ql|kl|bl|nl|rl
| The King's Gambit
}}
:but either of those methods would probably get lots of complaints. I think it would be better if the mediawiki code could be modified to ignore the blank parameter. -- WOSlinker (talk) 17:54, 26 October 2014 (UTC)
::I recommend we switch to your second format, just removing the dummy parameters entirely. Jackmcbarn (talk) 20:35, 26 October 2014 (UTC)
:::I've just written User:Mr. Stradivarius/chessboardfix.js, which fixes chess template code in the edit window to look like WOSlinker's second example. Add it to your script.js, go to a page with a chess template invocation in edit mode, highlight the template code, and click on the "Fix chessboards" link in the toolbar (underneath "what links here"). The text should be replaced with a chess diagram without duplicate parameters. I've tested it on normal chessboard templates, and a few esoteric chessboard templates like 10x10 boards, bughouse chess, and Raumschach chess, and it seems to work ok. Results should still be checked manually, and you should be extra careful if you use it to select normal wikitext, as there is a chance it may mangle some of it. I've only tested it on Firefox, so it might not work in other browsers. Let me know if you have any suggestions for how to improve it, as I'm still pretty new to JavaScript and there are bound to be things that I could do better. — Mr. Stradivarius ♪ talk ♪ 08:26, 27 October 2014 (UTC)
==Further discussion on the Category Talk page==
I have started a couple of new discussions about specific templates at Category talk:Pages using duplicate arguments in template calls to reduce traffic about these minor errors on VPT. – Jonesey95 (talk) 19:59, 27 October 2014 (UTC)
External link CAPTCHA, PMID, and protocol-relative URL
{{tracked|61556}}
If an anonymous editor adds an external link to a page, a CAPTCHA interface is normally triggered, this is to protect against spambots. In 2012, I suggested a whitelist for links that are never going to be used for spam. This was implemented in 2013, and is at MediaWiki:Captcha-addurl-whitelist.
One of the items on the list is nih.gov, which houses PubMed, and is linked to in Template:Cite journal when a PMID number is provided, and in Template:PMID. In the latter template (and I assume in the former as well), the link is in protocol-relative form, i.e. like so: {{code|//www.ncbi.nlm.nih.gov/pubmed/15988469}}. For me, this triggers the CAPTCHA interface, whereas {{code|http://www.ncbi.nlm.nih.gov/pubmed/15988469}} does not. Is there any way to allow protocol-relative URLs in the whitelist? Or can anyone think of another way of remedying this in the templates? 137.43.188.126 (talk) 15:36, 20 October 2014 (UTC)
:This is a bug in mw:Extension:ConfirmEdit, and is being tracked as bugzilla:61556. I don't see any activity at the bug page since it was filed back in February. — Mr. Stradivarius ♪ talk ♪ 16:05, 21 October 2014 (UTC)
::Thanks, Since there is seemingly no interest in fixing the bug, should the templates be changed? Is the benefit in using protocol-relative URLs in these templates such that using it would be the lesser of the two evils? 137.43.164.84 (talk) 16:33, 21 October 2014 (UTC)
:::It would be better to fix the bug, I think. All it takes is for one person to submit a patch (and for another person to review it and commit it to the repository). Any PHP coders in the house? :) — Mr. Stradivarius ♪ talk ♪ 16:46, 21 October 2014 (UTC)
::::I submitted gerrit:168074 to fix this. We definitely should not break external SSL for all our readers just to save new editors a little bit of hassle in the meantime. Jackmcbarn (talk) 14:14, 22 October 2014 (UTC)
::::This will be fixed here on October 30th. Jackmcbarn (talk) 19:26, 23 October 2014 (UTC)
Can't edit my /skin.js subpage
Pretty much exactly what it says on the tin. Also, it's stuck in "WikiText mode" (as opposed to "JavaScript mode"). For reference, I use IE 11. --User J. Dalek (talk | contribs) 05:09, 21 October 2014 (UTC)
:Works fine for me. You may want to try not using Internet Explorer. --(ʞɿɐʇ) ɐuɐʞsǝp 06:36, 21 October 2014 (UTC)
:The tin doesn't say what goes wrong. Users with wikEd enabled at Special:Preferences#mw-prefsection-gadgets sometimes have problems editing js and css files. The usual problem is that the edit box goes blank, and temporarily disabling wikEd on the icon File:WikEd logo.png at the top right solves it. PrimeHunter (talk) 16:35, 21 October 2014 (UTC)
::{{ping|PrimeHunter}} I don't have wikiEd enabled, and I can still see the text, I just can't edit it (sorry for not being clear before). Also, for some reason It now gets stuck in "JavaScript mode", and if I click "show preview", the box goes blank. --User J. Dalek (talk | contribs) 22:23, 21 October 2014 (UTC)
:::Do you mean you can see the text in the edit box after clicking edit, but before clicking preview? Can you place a cursor in the edit box by clicking there? Do you literally mean "/skin.js" as in User:UserJDalek/skin.js. It should for you be a redirect to a page for your skin like User:UserJDalek/vector.js (others will redirect to "User:UserJDalek/theirownskin.js" which is an odd feature). What is your browser and skin? Can you create a css page like User:UserJDalek/common.css? PrimeHunter (talk) 23:00, 21 October 2014 (UTC)
::::{{ping|PrimeHunter}} To answer your first question; yes, it's exactly like that. For your second, no, it doesn't work. Third, no, I do mean my /vector.js page. Fourth, as I already said, I use Internet Explorer 11, and my skin is vector. Finally, no, I can't create the CSS page either. --User J. Dalek (talk | contribs) 02:50, 22 October 2014 (UTC)
:::::OK. I have no problem in IE9 but cannot test IE11. Have you tried to clear your entire cache? Does https://en.wikipedia.org/w/index.php?title=User:UserJDalek/vector.js&action=edit&useskin=monobook work? It would probably work to temporarily disable JavaScript in your browser but that can be cumbersome and doesn't allow you to test the code until you have saved and enabled JavaScript again. You can also ask an admin to edit the page if you don't think it will require many tweaks. PrimeHunter (talk) 03:27, 22 October 2014 (UTC)
::::::It works now, but (for reasons I can't explain here), I'm now using a different computer that runs IE10. --User J. Dalek (talk | contribs) 22:26, 22 October 2014 (UTC)
::::::Please ignore the above message, I'm back with the old computer, and yes, it works with MonoBook. --User J. Dalek (talk | contribs) 01:45, 23 October 2014 (UTC)
Layout problems
May be something on my side only, but here goes.
At 2009 UCI Cyclo-cross World Championships (and other articles in the same series, like 2008 UCI Cyclo-cross World Championships or 2010 UCI Cyclo-cross World Championships, or related ones like 2007 UCI Track Cycling World Championships, but not on unrelated articles), I get ridiculously large "edit source" and "edit beta" links next to the title and section headers, and a "Jump to: navigation, search" link beneath the standard "From Wikipedia, the free encyclopedia" line. At the bottom I get a line like "Retrieved from "http://en.wikipedia.org/w/index.php?title=2008_UCI_Cyclo-cross_World_Championships&oldid=605376531" " and the categories in some strange huge box, one above each other, instead of next to each other.
Any ideas? Fram (talk) 09:17, 21 October 2014 (UTC)
:I don't see this. But I have seen it on about two other pages in the last month. I suspect a server issue. --Redrose64 (talk) 09:39, 21 October 2014 (UTC)
::It's gone for me now a well, someone has super-rapidly corrected the error (or, more probably, it is some server issue indeed). Fram (talk) 09:59, 21 October 2014 (UTC)
:::The sometimes visible "Jump to: navigation, search" is also discussed at Talk:Main Page#Did something change? I can see it in Firefox with the procedure there: Click on "From Wikipedia, the free encyclopedia" and then press Tab. Or by just pressing Tab three times (more if there is a banner). The html source of rendered pages also says
. Maybe people see these messages if their browsers don't load classes supposed to hide them by default. PrimeHunter (talk) 19:32, 21 October 2014 (UTC)
::::{{replyto|PrimeHunter}} A visible "Jump to: navigation, search" is not the main problem here, which is a font size of approximately 150% on certain elements plus a malformed cat box. The latter I suspect is due to the styling of the hlist
class going missing. --Redrose64 (talk) 19:48, 21 October 2014 (UTC)
Get list of edited articles
Is it possible to get list of every Wikipedia article, I contributed to? I don't mean the Contributions page where every edit is present but a list of every article. It would be very handy to have something like this. --Rezonansowy (talk | contribs) 12:43, 21 October 2014 (UTC)
:Use the [http://tools.wmflabs.org/xtools/ec/ edit-count tool]. [https://tools.wmflabs.org/xtools/ec/?user=Rezonansowy&project=en.wikipedia.org click here]. Then look at the section 'Article' near the bottom. If you forget the location of the edit-count tool, there is a link to it from the bottom of your Contributions page. EdJohnston (talk) 14:59, 21 October 2014 (UTC)
::Thanks! I forgot this tool's feature. --Rezonansowy (talk | contribs) 15:09, 21 October 2014 (UTC)
::: The edit-count tools appears offline; whenever I access that URL, all I get is a blank page. At least that's the case when I try to access it form behind my workplace's firewall, which wasn't so when I used it a month or so ago. -- llywrch (talk) 22:21, 21 October 2014 (UTC)
::::This might be a temporary problem at wmflabs. Just now none of the tools in http://tools.wmflabs.org/xtools are working for me. The edit counter was working at 15:00 on 21 October. EdJohnston (talk) 02:37, 22 October 2014 (UTC)
:::::I get it too. --User J. Dalek (talk | contribs) 02:51, 22 October 2014 (UTC)
Can auto archives include a noarchive or if command....
Example: |noarchive = User talk:Name#DYK for Alligator gar ? There are certain posts I don't want archived automatically, and I'm not sure how to go about it. Any help would be greatly appreciated. Atsme☯Consult 14:57, 21 October 2014 (UTC)
:{{replyto|Atsme}} Template:Do not archive until does this job; see its page for instructions. The template goes in the relevant thread, not in the archiving instructions. -- John of Reading (talk) 15:37, 21 October 2014 (UTC)
::{{u|John of Reading}} - thank you! Atsme☯Consult 16:05, 21 October 2014 (UTC)
Why data are store after the power off
{{Anchor|WHY DATA ARE STORE AFTER THE POWER OFF}}
In non volatile memory the data are store in digital form (+ve volt and -ve volt). if power is off then data are erase because data are store in the form of digital(+ve volt and -ve volt).
THAN WHY DATA ARE STORE AFTER THE POWER OFF
HARE KRISHNA RAI — Preceding unsigned comment added by 115.118.61.166 (talk) 15:39, 21 October 2014 (UTC)
:You want Wikipedia:Reference desk/Science. This is the place to discuss site features. Ian.thomson (talk) 15:47, 21 October 2014 (UTC)
Allow me to explain. It's stored on someone else's computer (the Wikipedia servers). --User J. Dalek (talk | contribs) 02:08, 23 October 2014 (UTC)
Toollabs down?
Can we get a dev update on the status of toollabs being completely down? I'm trying to run a copyvios check with {{Noping|The Earwig}}'s tool. — {{U|Technical 13}} (e • t • c) 15:54, 21 October 2014 (UTC)
:Well, why do you think that toollabs is "completely down"? #wikimedia-labs on Freenode IRC or the [https://lists.wikimedia.org/mailman/listinfo/labs-l mailing list] might be more places to ask. --AKlapper (WMF) (talk) 09:55, 22 October 2014 (UTC)
:* For about 5 hours yesterday I got an "Internal Error" when I tried to use any tool hosted on toollabs (even the page that is suppose to list all the tools had no tools listed). Whatever the cause was, it resolved itself. — {{U|Technical 13}} (e • t • c) 03:13, 23 October 2014 (UTC)
Meta-Wiki watchlist... a bug?
{{tracked|72330}}
Hm, why do I [http://i.imgur.com/zyHnVCx.png see the same page twice] in my Meta-Wiki watchlist? Aren't pages supposed to appear once per watchlist? Is that some kind of a bug? As a note, this appeared today, newer saw it before. — Dsimic (talk | contribs) 19:58, 21 October 2014 (UTC)
:I am encountering something similar on Commons. Has the preferences checkbox "Expand watchlist to show all changes, not just the most recent" always been there? It seems that (on Commons) it has been switched on, whereas I think it was off previously (assuming it was an option prior to now). Wikipedia also has this checkbox, but it defaults to off. Dustin (talk) 20:01, 21 October 2014 (UTC)
::Just twice - is that all? I see m:Meetup/English South Coast 1 59 times, all are different edits. But that's what I would expect, since it's been edited 59 times in the last 30 days. BTW "Expand watchlist to show all changes, not just the most recent" has been an option for as long as I've been around (over 5 years), and yes I do have it set - otherwise I miss stuff. --Redrose64 (talk) 20:08, 21 October 2014 (UTC)
:::Regardless, I am suddenly seeing multiple edits on single articles with Commons (rather than just the most recent edit), and the checkbox is suddenly checked (which is why I thought it might be connected). See http://i.imgur.com/ZSurJEY.png. The help desk at Commons appears no less than 29 times total. In any case, is the proper place to discuss this? Is there a better place to continue talking about this? Dustin (talk) 20:11, 21 October 2014 (UTC)
{{done}}, I've just deployed a [https://gerrit.wikimedia.org/r/167884 configuration patch] that fixed this. Cheers, Hoo man (talk) 20:43, 21 October 2014 (UTC)
: Thanks, now it works as expected. By the way, "expand watchlist to show all changes" [http://i.imgur.com/QcXZac9.png wasn't ticked] in my preferences, I've disabled that option long time ago. — Dsimic (talk | contribs) 20:48, 21 October 2014 (UTC)
bibleversefinder tool not working
As the headline says, links to http://tools.wmflabs.org/bibleversefinder/ are not working. And they are in, like, all Bible-related articles!
It just gives me a blank page. I checked the source code and there is nothing there. At all.
How come this hasn't been noticed until now? Fix it ASAP!
Kiazore (talk) 00:33, 22 October 2014 (UTC)
:The links I examined were made with {{tl|Bibleverse}} or {{tl|Bibleverse-lb}}. It was reported an hour ago at Template talk:Bibleverse#Broken again ? PrimeHunter (talk) 00:48, 22 October 2014 (UTC)
Width hack in [[Template:Article history]]
I'm trying to figure out why there's an empty
tag near the end of Template:Article history. It has the comment "width hack", and I don't see why it's necessary, but if it's not included the template doesn't have the correct width. I'd like to find out if there's a better way to do this, or if I have to use the hack again when converting the template to Lua.
Here's a reduced example:
With this code:
Foo |
We get this output:
Foo |
But with this code:
Foo |
We get this output:
Foo |
Is there a better way of constructing the HTML to get the proper width? — Mr. Stradivarius ♪ talk ♪ 00:46, 22 October 2014 (UTC)
Those extra {{tag|td|s}} tags get converted to {{tag|td|content={{void}}}} which is an empty cell.
Foo |
I'm not sure if this is done by HTML Tidy or {{sanitizer.php}}.
The issue is that there is no table width set:
Foo |
Foo |
-- Gadget850 talk 01:03, 22 October 2014 (UTC)
:Hmm, with the main table width set to 100%, the table extends off the screen for me, but a width of 80% gets it looking right. Setting the width to 80% inline doesn't work for small message boxes, though. Looking through MediaWiki:Common.css, it seems that that "messagebox" is the class to use to set the proper width, as it has a "width: 80%" rule. And everything appears to work if we have a main table tag of