This page contains discussions that have been archived from Village pump (technical). Please do not edit the contents of this page. If you wish to revive any of these discussions, either start a new thread or use the talk page associated with that topic.
< Older discussions · Archives: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AV, AW, AX · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214
A year ago, User:Pldx1 apparently accidentally blanked most of 2007's Deletion review archive as part of a campaign for getting pages off of Category:Pages where template include size is exceeded. I restored some of them, but some cannot be restored due to the presence of links to spam-blocked sites in the templates; January has multiple blocks, while February and April have one each. I will split to fix the template overflow issue, and I put in requests to remove the sites that are dead, but is there any way to get the spam-blocked templates back? I can't just get the pages unblocked, since I'll have to create new ones, and all of the ones blocking January definitely have to stay on the list. SilverbackNet talk 01:44, 3 May 2017 (UTC)
There are many blacklisted links on those pages, which only serve as convenience for the discussion. The domains/links have since been blacklisted. Of those, only two are now sites that are 'dead'. For me, the better solution is to disable the linking to all the blacklisted domains in those discussions - they do not serve much purpose (except for the very few cases where editors want to follow a 10-year old link, in which case they will have to copy-paste the url). (note: generally links in the content namespaces are removed, outside of that they are left as is as many are in archived pages which are not edited that much anymore (they are not re-added anyway). Every now and then there are archiving problems (as witnessed by the blacklist hits by our archiving bots), which I try to resolve in the same manner). -- Dirk Beetstra T C 07:46, 4 May 2017 (UTC)
By the way, I think that rollback would work. 'Breaking' the pages in two will be problematic, as that would need page-creation, and hence fresh addition of the links. -- Dirk Beetstra T C 07:47, 4 May 2017 (UTC)
Currently, MediaWiki keeps a tally of every registered user's edit count in the database. This edit count is used for various things like figuring out when a user is auto-confirmed or extended-confirmed. It is also used by various user scripts like User:PleaseStand/userinfo.js. Currently, this edit count is incremented every time a user does any of the following:
The edit count is not incremented for the following:
Should the MediaWiki software be modified to count any of those actions as "edits"? FWIW, the XTools Edit Counter counts page moves and automatic redirect creations as "edits", which is why its edit counts don't match those of MediaWiki. Ryan Kaldari (WMF) ( talk) 22:15, 2 May 2017 (UTC)
I need to determine the edit/move protections on a page via the API (e.g., office, full, semi, pending-changes, etc).
It is not easy to do via category memberships. For example, although there is a top-level "Category:Wikipedia semi-protected pages", beneath that there is also a "Category:Wikipedia_indefinitely_semi-protected_pages" and many other variations. When recursing through to find sub-categories, you quickly encounter sub-categories that contain pages that aren't under protection, and a greater depth, almost listing every category on the encyclopedia.
I haven't been able to find an efficient way to do this on a per-page basis. Could I download the entire list of protected pages from the "Special:" function? Probably, but that seems like overkill for a quick task. West.andrew.g ( talk) 02:21, 7 April 2017 (UTC)
{{
pp-semi}}
. For example,
User:Redrose64/Sandbox12 is semi-protected until 09:28, 7 May 2017 (UTC), but is not in any "protected pages" cats. --
Redrose64 🌹 (
talk)
09:30, 7 April 2017 (UTC)Is there any Global watchlist for all wikimedia projects? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 08:36, 7 May 2017 (UTC)
Which one of the following is the correct dash?
Maiō T. ( talk) 19:11, 6 May 2017 (UTC)
The next to last editors button on the diff page used to be broken in that it was always visible, but only showed the most recent editor no matter what page it was clicked on. Now it always show no difference, even though when you show the changes manually, it is obvious that changes were made. Natureium ( talk) 18:37, 26 April 2017 (UTC)
Why are cats not visible in mobiles? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 12:21, 7 May 2017 (UTC)
Hello. I install Mediawiki 1.28.2 on XAMPP. I create this template. But when I try use I see that there is a problem. When I use settlement_type parametr then there is occur additional
</th></tr>
code.
Example 1 (without problem) :
{{Infobox settlement | official_name=Istanbul | native_name=''İstanbul'' | native_name_lang=tr | image_skyline=Istanbul collage 5j.jpg | imagesize=270px | image_alt=See caption | image_caption=Clockwise from top: View of the [[Golden Horn]] between [[Karaköy]] and [[Sarayburnu]] within the [[Historic Areas of Istanbul|historic areas]]; [[Maiden's Tower]]; a [[Istanbul nostalgic tramways|nostalgic tram]] on [[İstiklal Avenue]]; [[Levent]] business district with [[Dolmabahçe Palace]]; [[Ortaköy Mosque]] in front of the [[Bosphorus Bridge]]; and [[Hagia Sophia]]. }}
Example 2 (with problem) :
{{Infobox settlement | official_name=Istanbul | native_name=''İstanbul'' | native_name_lang=tr | settlement_type=[[Metropolitan municipalities in Turkey|Metropolitan municipality]] | image_skyline=Istanbul collage 5j.jpg | imagesize=270px | image_alt=See caption | image_caption=Clockwise from top: View of the [[Golden Horn]] between [[Karaköy]] and [[Sarayburnu]] within the [[Historic Areas of Istanbul|historic areas]]; [[Maiden's Tower]]; a [[Istanbul nostalgic tramways|nostalgic tram]] on [[İstiklal Avenue]]; [[Levent]] business district with [[Dolmabahçe Palace]]; [[Ortaköy Mosque]] in front of the [[Bosphorus Bridge]]; and [[Hagia Sophia]]. }}
How I can fix it? -- Drabdullayev17 ( talk) 06:37, 7 May 2017 (UTC)
Why doesn't mobile display coords in all situations that desktop does? Wanting to find the location of the
Battle of the Crater when visiting the area today, I loaded the article, but to my surprise it had no visible coords.
/info/en/?search=Battle_of_the_Crater has coordinates at top (as if they were done with |display=inline
), but
https://en.m.wikipedia.org/wiki/Battle_of_the_Crater has no coordinates.
Nyttend (
talk)
02:12, 7 May 2017 (UTC)
{{coord|37.2183|-77.3777|region:US_type:event|display=title}}
For the last week or two I've been having an intermittent issue where overlong lines of text in the Wiki source code editor get hard-wrapped, turning a space into newline+space, which causes whatever was after that point in the line to turn into an indented block of text. This is on MacOS X (10.12.4) and Chrome (58.0.3029.81) if that makes a difference. Has anyone else been seeing this or is it just me? — Preceding unsigned comment added by David Eppstein ( talk • contribs) 00:28, 7 May 2017 (UTC)
When a redirect is being discussed, Template:Rfd is substituted per Template:Rfd/doc. When this is done, the redirect is intentionally broken while {{ Rfd}} is in use. Is that the best we can do? Would it be possible for a bot to message the user on their talk page when they use a redirect that is being discussed instead? Would it be worth doing? Thank you for considering this.-- John Cline ( talk) 00:47, 8 May 2017 (UTC)
Would there be a possibility to globally add the "upright" option for embedding images? I think this could in fact be useful since that function is used not exactly rarely. Thanks in advance for commenting, best-- Hubon ( talk) 20:51, 5 May 2017 (UTC)
upright
option at
Wikipedia:Extended image syntax#Size works in all Wikimedia wikis. Is it about adding the option in some editing tool?
PrimeHunter (
talk)
21:20, 5 May 2017 (UTC)
Hi, for those, who are on Facebook, I have founded Effectivity (Wikimedia) group, to share ideas, how to ease contributing to Wikimedia projects via technical tools and methodological ways.-- Juandev ( talk) 10:53, 8 May 2017 (UTC)
Birgit Müller (WMDE) 14:28, 8 May 2017 (UTC)
Hi there, I just have a quick question regarding x-tools. Why do some accounts show as having 0 edits and load in a matter of seconds when they in fact have thousands of edits and (in some cases) are admins? An example of this can be found here. Thanks for your time -- TheSandDoctor ( talk) 19:50, 8 May 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
Hide categorization of pages
in your watchlist preferences. You can turn off Expand watchlist to show all changes, not just the most recent
in your watchlist preferences. You can remove problematic categories from
Special:EditWatchlist/raw.
[1]Changes this week
Visual editing
and Source editing
instead of Switch to visual editing
and Switch to code editing
. This is because it was confusing when the menu said you could switch to the editor you were already using.
[3]Meetings
Future changes
-{
is used in
transclusions or
web addresses it has to be
escaped appropriately. You can use -<nowiki/>{
for transclusions and %2D{
in web addresses. A transclusion could for example be when you use -{
in a template: {{1x| sad :-{ face }}
. This is because of some code fixes to the
preprocessor and affects all wikis.
[6]
[7]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
02:25, 9 May 2017 (UTC)
I do a lot of disambiguation fixing and similar gnoming. Every once in a while, after fixing a bad link, I will get a "warning" that an edit has been reverted, with a message about adding spam or adding an incorrect genre. In fact, this message is intended for the previous editor who made to whichever edit I just made a link fix, whose addition was also reverted. I don't know whether the editor who actually made the offending edit also sees this warning, but I certainly don't need to see it. bd2412 T 02:26, 9 May 2017 (UTC)
Hi, is there something going on with the diff display? Over at Honeyguide, the following diff
https://en.wikipedia.org/?title=Honeyguide&curid=255432&diff=779422017&oldid=772944792
basically fails completely (to an embarrassing extent, to say the least). It's not been working specially well for a long while, but if it does this it really does need fixing as it's an important tool and at the moment not far off useless. Chiswick Chap ( talk) 20:47, 8 May 2017 (UTC)
Several months ago, I set up a "merge" tab (in Monobook) with the following code:
mw.util.addPortletLink('p-cactions', mw.config.get('wgScriptPath') + '/index.php?title=Special:MergeHistory&target=' + encodeURIComponent(mw.config.get('wgRelevantPageName')), 'Merge');
Later on, when I was no longer using this tab much, I added the beta feature "Compact language links". More recently, I noticed that the "merge" tab has disappeared, and that I can only bring it back by disabling the "Compact language links". Can someone come up with a better fix for the problem? עוד מישהו Od Mishehu 04:37, 9 May 2017 (UTC)
This is C&P'ed form the helpdesk where I originally posted it. I'm not sure if it counts as a bug, so bringing it up here first:
I've just noticed that a big chunk of my edits appear twice in my contributions list. It appears to be a very specific cut-off - I made an edit at 2027h 4th September 2015 which only appears once, but then the next edit made at 2029h 4th September appears twice - and this continues up until 23rd August 2016.
They only appear once in the article history though, so I presume it's an error in retrieving the data? Chaheel Riens ( talk) 13:39, 8 May 2017 (UTC)
- Wow, that's weird! Easy links to see this spanning date it stops.-- Fuhghettaboutit ( talk) 22:17, 8 May 2017 (UTC)
I half expected to get responses along the lines of "Oh yeah - known issue" etc - but the only response came from Fuhghettaboutit, and that implies that it's not been seen before. Chaheel Riens ( talk) 07:46, 9 May 2017 (UTC)
Has there been a change in how edits via the API are processed? Say I have a page with an out-of-date template transclusion (for example, a category page that contains {{
Category redirect}}
-- if the category has contents, the template will automatically categorize the page into
Category:Wikipedia non-empty soft redirected categories -- but if the contents are then recategorized, the template does not update until the page is edited again or a forcerecursivelinkupdate is performed). If I do a null edit on this page through the Web interface, the template updates and the inapplicable category is removed; but if I do a null edit through the API, nothing happens. At least until fairly recently, null edits through the API and through the Web interface worked the same way. --
R'n'B (
call me Russ)
19:25, 9 May 2017 (UTC)
Hello tech helpers. I was attempting to clean up the header template at the teahouse and was informed that the changes somehow made the "ask a question" gadget not function. I was not able to see anything in the old or new template that would have changed the gadget function. Any advice? Gtstricky Talk or C 14:58, 9 May 2017 (UTC)
This page purports to tell me how many new articles I have created. It doesn't say how it could have obtained such information. Is there some way to find a list that says WHICH new articles I created? Michael Hardy ( talk) 05:37, 9 May 2017 (UTC)
Thank you, @ Johnuniq: and @ Xaosflux:. Michael Hardy ( talk) 00:41, 10 May 2017 (UTC)
This has been happening sporadically (off/on) for the last year. It's been happening with more frequency this year, even though I pruned my watchlist in case having too many articles on it was the problem. Most recent example: one article on my watchlist (that I have been very actively involved in editing) was edited 3 times by one editor on "21 April", and by GreenC bot on 25 April -- but I did not receive emails about it. I only discovered the edits because I visited the article today (29 April 2017) and looked at its history. I double-checked my watchlist and, yes, the article is included in it.
I checked the Watchlist settings. It says:
In Preferences > Advanced options only the following are checked:
There's nothing in the options preventing my receiving email notifications. Pyxis Solitary ( talk) 09:56, 29 April 2017 (UTC)
After saving an edit in mobile, previously you would be sent to the section of the article that you were editing. This is good and convenient (though sometimes the way it loads means you end up with another section in the viewport, but that's a browser issue). Recently though it's been redirecting to the editor opening at that section, and the back button and the "cancel edit" button don't work. This is never what I want and makes it a huge pain to find my place again to carry on reading. I've found this happening in both Chrome and Firefox for Android. Hairy Dude ( talk) 19:51, 9 May 2017 (UTC)
I just got a Error: 503, Backend fetch failed which cleared itself after a few moments. I've saved details about the problem, should I report them, and if so where? Mathglot ( talk) 00:43, 10 May 2017 (UTC)
Sharing a little JavaScript snippet that advanced users may find useful. This adds a RC link with the beta ORES filters pre-configured, and is done in a way that makes it easy to adjust the individual params. I've omitted all the "hidexxx=0" params for brevity (so they will use the wiki's defaults), but you can easily add any you prefer to change, or any other ORES options. It would go in your common.js or skin.js, and needs the usual mw.loader and document ready wrapper around it. This is needed because the beta filters can't currently save your configuration, and it's annoying to reconfigure it every time (yes, browser bookmarks would work, but I prefer this).
mw.util.addPortletLink(
'p-interaction',
mw.util.getUrl('Special:RecentChanges', {
damaging: 'maybebad;likelybad;verylikelybad',
goodfaith: 'maybebad;likelybad;verylikelybad',
highlight: 1,
damaging__likelygood_color: 'c1',
damaging__maybebad_color: 'c3',
damaging__likelybad_color: 'c4',
damaging__verylikelybad_color: 'c5',
goodfaith__likelygood_color: 'c2',
goodfaith__maybebad_color: 'c3',
goodfaith__likelybad_color: 'c4',
goodfaith__verylikelybad_color: 'c5',
}),
'Recent changes (ORES)',
'n-recentchanges-ores',
'A list of recent changes in the wiki, with ORES filter enabled',
null,
document.getElementById('n-recentchanges').nextSibling
);
Murph9000 ( talk) 10:56, 10 May 2017 (UTC)
The Templates people said I should move this to PHAB. PHAB says I should try the Village Pump first. Therefore:
When I do a What Links here on Issik Qaghan or any page containing Template Göktürks I get everything in the template. The purpose of What Links Here is to find pages that say something about the base page. Things in the template usually say nothing about the base page, can be found from the template separately from What Links Here and make relevant pages hard to find. I often skip What Links Here rather than search 50 pages that are probably irrelevant. This make checking difficult and lowers the quality of our work. Would it be possible to make What Links Here point only to the template and not to the template contents? This would make important related pages easier to check and improve the quality of our work. Benjamin Trovato ( talk) 23:22, 8 May 2017 (UTC)
linksto:
like so:
10 results including a link to the page. --
Izno (
talk)
23:46, 8 May 2017 (UTC)importScript('User:PrimeHunter/Source links.js'); // Linkback: [[User:PrimeHunter/Source links.js]]
linksto
directive is an indexed one, which significantly speeds up most searching. Usually, adding the plain-text version (search parameter of simply "name_of_article") can also help to speed up searches. However, linksto
is case-sensitive, so perhaps that should be indicated to the user somehow. --
Izno (
talk)
12:10, 9 May 2017 (UTC)
linksto
automatically gets the correct case, but if users manually edit the search afterwards then they might write a wrong case. The regex insource
is also case sensitive by default and that can miss some pages if the feature is used on non-mainspace pages and a source uses a namespace alias or doesn't use standard capitalization of the namespace. I did make the initial letter case insensitive so [[example]] and [[Example]] are both found. The whole name could be made case insensitive with insource:/regexp/i
at
mw:Help:CirrusSearch#Insource but that is less efficient. It could also give false positives but that should be very rare when only pages with the correct link are searched. It still wouldn't catch namespace aliases like File/Image and Wikipedia/WP. There are other ways to fool the search like using underscores instead of spaces, or having spaces around the page name inside the link brackets. Some of these could be caught with more complicated regex but I'm not sure it's worth it.
PrimeHunter (
talk)
13:52, 9 May 2017 (UTC)
{{
Source links}}
. {{
Source links|Bagha Qaghan}}
produces
Source links which also omits
Orkhon inscriptions and other pages which only link via a used template. We could add {{
Source links}}
in
MediaWiki:Linkshere so it would show up next to "External tools: Show redirects only" at
Special:WhatLinksHere/Bagha Qaghan. insource
with regex is expensive and I don't whether the high visibility on all WhatLinksHere pages (except registered users with another interface language) would give performance problems. It starts by filtering with linksto
so I guess it's only a serious problem on pages with huge numbers of incoming links.
PrimeHunter (
talk)
21:50, 10 May 2017 (UTC)Read this in another language • Subscription list for this multilingual newsletter
Did you know that you can review your changes visually?
In visual mode, you will see additions, removals, new links, and formatting highlighted. Other changes, such as changing the size of an image, are described in notes on the side.
Click the toggle button to switch between visual and wikitext diffs.
The wikitext diff is the same diff tool that is used in the wikitext editors and in the page history.
You can read and help translate the user guide, which has more information about how to use the visual editor.
Since the last newsletter, the VisualEditor Team has spent most of their time supporting the 2017 wikitext editor mode which is available inside the visual editor as a Beta Feature, and adding the new visual diff tool. Their workboard is available in Phabricator. You can find links to the work finished each week at mw:VisualEditor/Weekly triage meetings. Their current priorities are fixing bugs, supporting the 2017 wikitext editor as a beta feature, and improving the visual diff tool.
A new wikitext editing mode is available as a Beta Feature on desktop devices. The 2017 wikitext editor has the same toolbar as the visual editor and can use the citoid service and other modern tools. Go to Special:Preferences#mw-prefsection-betafeatures to enable the ⧼Visualeditor-preference-newwikitexteditor-label⧽.
A new visual diff tool is available in VisualEditor's visual mode. You can toggle between wikitext and visual diffs. More features will be added to this later. In the future, this tool may be integrated into other MediaWiki components. [8]
The team have added
multi-column support for lists of footnotes. The <references />
block can automatically display long lists of references in columns on wide screens. This makes footnotes easier to read. You can
request multi-column support for your wiki.
[9]
Other changes:
<chem>
tags (sometimes used as <ce>
) for chemical formulas inside the visual editor.
[14]Control
+Shift
+K
on a PC, or Command
+Shift
+K
on a Mac. It is based on the keyboard shortcut for making links, which is Control
+K
on a PC or Command
+K
on a Mac.
[18]<ref>
tags and other types of wikitext syntax. You will be able to turn it on and off. It will first become available in VisualEditor's built-in wikitext mode, maybe late in 2017.
[19]&ooui=1
to the end of the URL, like this:
https://www.mediawiki.org/wiki/Project:Sandbox?action=edit&ooui=1 The old appearance will no longer be possible, even with local CSS changes.
[20]If you aren't reading this in your preferred language, then please help us with translations! Subscribe to the Translators mailing list or contact us directly, so that we can notify you when the next issue is ready. Thank you! User:Whatamidoing (WMF) ( talk) 19:18, 9 May 2017 (UTC)
Hi all, in the Wikipedia Library program at the Wikimedia Foundation we have been working with OCLC to make autofilled ISBN citations available, through using their WorldCat database. We have deployed the feature on all language Wikipedias: you can learn more about it on the Wikimedia blog: https://blog.wikimedia.org/2017/05/11/wikimedia-oclc-partnership/
Cheers, Jake Ocaasi (WMF) ( talk) 19:54, 11 May 2017 (UTC)
Could someone else please advise at User talk:Aetheling1125#Your signature? Thanks. Beeblebrox ( talk) 07:05, 12 May 2017 (UTC)
That is all. Thanks. -- Cwek ( talk) 07:12, 11 May 2017 (UTC)
When I woke up this morning and checked in with a few ongoing discussions on articles I edit, I found that a lot of the articles had all of their sections expanded and editing was unavailable. I can edit some articles like 2017 World Rally Championship, but not others, such as 2017 Formula One season. Prisonermonkeys ( talk) 09:48, 12 May 2017 (UTC)
So today I got an edit conflict, and a very different message than I'm used to seeing popped up. I should have taken a screen shot, but I didn't. At any rate, it did not behave like I expected and wouldn't let me save changes. I'd like to experiment with it further, but it's hard to intentionally create an edit conflict. Has any one else gotten a very different edit conflict message, or know anything about this? I'm thinking it has something to do with the community wishlist, where people had asked for improved handling of edit conflicts, but I'd like to see more documentation about what exactly has been implemented, because what I saw was not an improvement. ~ ONUnicorn( Talk| Contribs) problem solving 15:22, 12 May 2017 (UTC)
… or is it just me? Hover-tips gives the message "Looks like there's no preview for this page" for all pages. DYK Check gives all page sizes as 0 bytes; on Safari, but not on Chrome, I also get an "API error" message. Has somebody changed something without testing it first? Justlettersandnumbers ( talk) 15:13, 12 May 2017 (UTC)
Grace Banu, a prominent Dalit transgender activist was the first transgender woman to attend and earn an engineering degree from a university in Tamil Nadu, India. Very neat person. But despite everything I've tried, it simply doesn't show up in google, not when I search "Grace Banu" or more mysteriously, even "Grace Banu site:en.wikipedia.org", and even moreso " /info/en/?search=Grace_Banu". The article:
Any idea why this article seems to be invisible? Thanks! Jake Ocaasi t | c 17:11, 12 May 2017 (UTC)
Your request has been received and will be processed shortly.. — xaosflux Talk 17:38, 12 May 2017 (UTC)
noindex
was removed from the html source.
PrimeHunter (
talk)
17:45, 12 May 2017 (UTC)
$wgPageTriageNoIndexUnreviewedNewArticles
, documented at
mw:Extension:PageTriage#Extension configuration. It's false by default but set true for Wikimedia in
https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php and
https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php. The feature was introduced at
phab:T147544 in October 2016. Should we file a bug to request coordination with "Page information"?
PrimeHunter (
talk)
17:58, 12 May 2017 (UTC)
&actin=info
would only be a net positive - perhaps a listing of EACH index control that is currently configured/overridden/disallowed - as well as what the "net result" is. —
xaosflux
Talk
18:35, 12 May 2017 (UTC)
Hey guys, I've been working on a new external MediaWiki editor for a bit now, and would like to get some preliminary feedback. It's over here. Mind you, it's very beta, but I would like to see if it's useful for some, and what other features y'all might like in a tool like this. Mind you, this editor works quite a bit differently because it "truly" parses the MediaWiki markup, which means it will generate errors instead of simply showing it broken. Anywho, thanks in advance! Drewmutt (^ᴥ^) talk 23:57, 9 May 2017 (UTC)
I tried adding a page to my watchlist, and got this error message: mobile-frontend-watchlist-error Anyone know why this appears to be happening? Leggomygreggo8 ( talk) 13:49, 12 May 2017 (UTC)
On Thursday, a change went live that was meant to fix this kind of issue for a particular browser (Firefox for Android), but apparently it made it worse instead. I have filed phab:T165209. Regards, Tbayer (WMF) ( talk) 00:58, 13 May 2017 (UTC)
I just responded to a help request that had shown up in Category:Wikipedians looking for help - only after responding did I see the datestamp; the template I was responding to was placed back in October 2015. How did it not show up in the category until now? Yunshui 雲 水 10:57, 11 May 2017 (UTC)
Hi there. In a discussion I started on WT:Twinkle, Cabayi brought up the idea of removing closed XFDs and SPIs from your Watchlist (semi-)automatically. Does OAuth allow reading your Watchlist? And if so, could someone maybe create a tool that reads the Watchlist, filters out all pages of a certain kind (XFDs, SPIs etc.) and checks if they are still open (and removes them if they aren't)? I'm no expert but I assume that shouldn't be too hard for someone with some skill. Regards So Why 12:57, 12 May 2017 (UTC)
So, I've been thinking about the legacy status and future deprecation of importScript()
, which has been floating around for a while. The suggested replacement at
mw:ResourceLoader/Legacy JavaScript is:
mw.loader.load( '/?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
Now, as a coder, that really does not feel like a good replacement to me. It just looks unclean compared to giving a wiki page name. Yes, it's functional and works, but it's ugly. So, I've come up with the following, and I'm wondering if there's a good reason why it (or something similar) is not a suggested replacement for loading local scripts:
mw.loader.using( 'mediawiki.util' ).then( function () {
var loadParamsJS = {
action: 'raw',
ctype: 'text/javascript'
};
var loadScript = function (page) {
mw.loader.load( mw.util.getUrl( page, loadParamsJS ));
};
loadScript( 'User:Example/Pullson.js' );
loadScript( 'User:Example/Fulminator.js' );
loadScript( 'User:Example/Mark III.js' );
…
});
Not a raw URL in sight, no hacky string manipulation, just (hopefully) clean code making good use of the available library functions. It can easily be extended to provide a loadStylesheet()
function. So, any thoughts on that, have I failed to spot a snag? Is there a reason it's not being suggested in the MW docs as a possible replacement for loading local scripts (it does not know what an interwiki link is, so it's local-only)?
Murph9000 ( talk) 13:06, 13 May 2017 (UTC)
When my bot attempts to process KrioRus it produces garbage. For example at the top is
.. the bot outputs
The bot is UTF-8 per specs but the article looks like it contains UTF-16/32 chars? Assuming this is accurate, how would one fix it? -- Green C 19:13, 13 May 2017 (UTC)
<meta charset="UTF-8"/>
) is declared for UTF8. —
xaosflux
Talk
02:00, 14 May 2017 (UTC)Figured it out, sort of. One of my bot's formatting fixes produced a garbage UTF-16/32 character due to something related to Cyrillic which caused something else to interpret the whole document as UTF-16/32. -- Green C 03:07, 14 May 2017 (UTC)
Can someone please tell me what I'm doing wrong here?
Suarez, David L. (2009). [
https://books.google.com/books?id=eZjFavPmuxAC&pg=PA3 "Influenza a Virus"]. In David E. Swayne (ed.). Avian Influenza. John Wiley & Sons. p. 3.
ISBN
9780813818665. {{
cite book}}
: Check |chapter-url=
value (
help); Check |isbn=
value: invalid character (
help)
Thanks.
Anythingyouwant (
talk)
22:45, 14 May 2017 (UTC)
|isbn=9780813818665
. The first character is the invisible character U+202A Left-to-right Embedding Unicode Character. You copied and pasted this isbn from some other place?|chapter-url=
except that the first character (also invisible) is U+202C Pop Directional Formatting Unicode Character.Suarez, David L. (2009).
"Influenza a Virus". In David E. Swayne (ed.). Avian Influenza. John Wiley & Sons. p. 3.
ISBN
9780813818665.
Anythingyouwant (
talk)
23:20, 14 May 2017 (UTC)
|editor=David E. Swayne
is the U+202A character. Also copy/pasted?Why do I keep getting this dialog popping up when I look at articles? Sam Walton ( talk) 18:03, 13 May 2017 (UTC)
(Tag: 2017 source edit). That seems like a likely place to start looking (e.g. try disabling that beta, and see what happens). Murph9000 ( talk) 18:21, 13 May 2017 (UTC)
I've been stuck on a viewport repositioning problem. If this is something you have familiarity with, I could sure use your help. The Transhumanist 17:25, 15 May 2017 (UTC)
Is there any bot or script that can replace redirects and deleted / updated pages on Index of Jainism-related articles. Further, is there any script to remove [[Some page|This label]] from links? — Preceding unsigned comment added by Capankajsmilyo ( talk • contribs) 06:23, 7 May 2017 (UTC)
[[redirect]]
in mainspace pages, and am against changing that to [[target|redirect]]
except in navigational templates. --
Redrose64 🌹 (
talk)
11:11, 8 May 2017 (UTC)
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 changes
Problems
mediawiki.util
library does not load automatically any more. Your
Special:MyPage/common.js may use it. If you have technical problems that started a couple of weeks ago you can try adding mw.loader.using( 'mediawiki.util' ).done(function(){
as the first line in the file and });
as a last one. Tech News wrote about this in the
2017/18 issue.
[25]Changes this week
Future changes
-{
is used in
transclusions or
web addresses it has to be
escaped appropriately. You can use -<nowiki/>{
for transclusions and %2D{
in web addresses. This is because of some code fixes to the
preprocessor and affects all wikis. You can now see
the full list of wikis with this problem and help fix them to avoid that things break later this month. You might find
false positives. You can
read more about what to fix.
[29]
[30]Older unreported changes
__NOGLOBAL__
to your Meta user page to stop this.
[31]
[32]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
21:48, 15 May 2017 (UTC)
After the recent scriptpocalypse I made all the requisite changes and everything was working again, but then a couple days ago some of my scripts stopped working again. After some testing, I saw that commenting out my mw.util.addPortletLink calls in common.js fixed the issues. Has anyone else run into this? Stevie is the man! Talk • Work 19:06, 13 May 2017 (UTC)
mediawiki.util
was still being auto-loaded into the base JS environment until sometime in the last few days. For the record, this thread title makes me think of some horrible disaster involving a laser printer.
Murph9000 (
talk)
02:55, 16 May 2017 (UTC)I have noticed a change that seems to have happened the last week. Infoboxes started appearing to me, an android app user, in the very beginning of every article instead after a lead paragraph, which renders the article preview that appears when I press hyperlinks empty and useless. would anyone tell me what happened? please mention me with the {{ping}}
template if you reply. •
Sammy Majed •
Talk •
Creations •
Wikipedia Arabic •
15:56, 13 May 2017 (UTC)
Since yesterday my Watchlist has stopped loading. This is the only Wikipedia page I'm having trouble with. Occasionally it shows "This page isn’t working. en.wikipedia.org is currently unable to handle this request. HTTP ERROR 500." It loads if I disable the Expand watchlist to show all changes, not just the most recent option in my Preferences, but that's not ideal. Browser: Chrome Version 58.0.3029.110. -- The1337gamer ( talk) 06:21, 16 May 2017 (UTC)
Wouldn't it make sense to globally (meaning for all wikis) add the "upright" option for embedding images with the corresponding tool in the "regular" 2010 vector editor toolbar? This function is used actually not so rarely and so a default function could be quite useful I think. What is your view?-- Hubon ( talk) 07:12, 16 May 2017 (UTC)
I don't know whether this is a browser issue or a Wikipedia issue, but it only occurs in Chrome. The issue occurs when editing. If I backspace to remove a character, then use Wikipedia's 'Insert' toolbar to insert a replacement character, the new character will be inserted in the wrong place - not where the mouse pointer is positioned, but after the next character. For example, in the phrase "Ecuadorian-Peruvian war", I want to replace the hyphen by an endash, so I backspace to remove the hyphen, then click on the endash from the toolbar; the result is "EcuadorianP–eruvian war" instead of "Ecuadorian–Peruvian war". I've tried this in Firefox, Edge and Opera - the problem doesn't arise. It's only Chrome. Another note: if instead I remove the unwanted character by positioning the pointer to the left of it and pressing Delete, there is no problem; the replacement character appears in the correct location. Colonies Chris ( talk) 08:57, 16 May 2017 (UTC)
I am having no luck figuring out an issue I noticed regarding the MW footer on IP contribution pages, MediaWiki:Sp-contributions-footer-anon. The footer transcludes {{ anontools}}, and the WHOIS link in the template calls tools.wmflabs.org/whois/gateway.py. However, the footer on IP contribution pages ( example) is calling Robtex whois, which has recently gone from being a relatively useful tool to being almost useless. No amount of null edits or purging has been changed the link, so I've decided that I must be missing something, like I'm looking at the wrong footer code or something. Hopefully, someone can shed some light on this for me. Thanks. — DoRD ( talk) 14:50, 16 May 2017 (UTC)
The page San Francisco (sans-serif typeface) is rendering its title (for me, anyway) with lowercase "san" ("san Francisco") and I can't figure out why, there's no DISPLAYTITLE on the page. Is this a bug? Ivanvector ( Talk/ Edits) 14:12, 16 May 2017 (UTC)
Something odd is going on with File:Aleta Ogord.jpg. The oldest revision shows at the top of the upload history, and, while the file has been reduced in size, the older, larger image is what shows in the file preview. Any idea as to why this is happening and how best to deal with it? clpo13( talk) 17:20, 16 May 2017 (UTC)
I have been logged out of STiki twice in 5 minutes and then again 15 minutes later when I fired up STiki again. The error message says it is WMF problem not mine or STiki's. Is anyone else suffering? d.g. L3X1 (distant write) 03:00, 16 May 2017 (UTC)
Prior to 26 September 2015, cs1|2 templates ({{
cite book}}
, {{
citation}}
, ...) had their output wrapped in <span>...</span>
tags that held class=
and id=
attributes. On that date, the wrapping changed to <cite>...</cite>
tags because the forced italicization of the content of that tag had been removed and because <cite>...</cite>
is more semantically correct. What we apparently did not notice is that with the change, cs1|2 citations lost rendered urls in the printable versions of an article.
Here are three examples:
If, from the Print/export menu in the left sidebar I click Printable version, I get something that looks like this:
If I look at the page source of the printable version, I see:
<li><a class="external text" href="https://www.example.com">without span or cite tags</a></li> <li><span><a class="external text" href="https://www.example.com">with span tags</a></span></li> <li><cite><a class="external text" href="https://www.example.com">with cite tags</a></cite></li>
Does that mean that this is a browser issue? an html issue? a css issue? a MediaWiki issue? something else?
I suspect that it is important for printed article pages to show the urls that are hidden behind title text in the online version.
— Trappist the monk ( talk) 11:40, 16 May 2017 (UTC)
cite
element, it says The cite
element
represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, which may be in an abbreviated form as per the conventions used for the addition of citation metadata.
, so our usage, which does include at least one of these (where feasible), is valid. --
Redrose64 🌹 (
talk)
20:26, 16 May 2017 (UTC)Given a piped link such as [[Topic A|Name A]], is it possible to get a list of the different uses of "Name A" that are used with the link of "Topic A"? I'm sure there's some AWB magic that could be used but I'm curious if there's an on-wiki way.
The specific case that I'd like this for is for video games: for articles on games that require an online connection, some editors have linked to Always-on DRM (Digital rights management) with the piped text of "online", which can be a bit of POV-pushing in some cases - DRM is generally seen as controversial, and just because a game is online-only doesn't mean it is attempting to control DRM, but players often see it as such, incorrectly. I'd like to review the cases where this specific [[Always-on DRM|online]] piped link is being used. -- MASEM ( t) 00:45, 17 May 2017 (UTC)
I'm planning to propose that a WikiProject I'm very involved with should discontinue using the "importance" parameter in the banner. It is of little to no actual value in managing the project, the rating is entirely subjective and leads to unhappiness and even fights as some people feel that a low rating is actually an insult to the article subject. Is it possible to actually remove/switch off the parameter so that it no longer displays in the banner or in the project's article assessment tables? Roger (Dodger67) ( talk) 16:50, 16 May 2017 (UTC)
|IMPORTANCE_SCALE=no
is treated the same as |IMPORTANCE_SCALE=yes
or |IMPORTANCE_SCALE=standard
; even physically removing the parameter will simply be treated as if |IMPORTANCE_SCALE=standard
(which is the default) were present. This is because {{
WPBannerMeta/importance}}
recognises only two values: inline
and subpage
- everything else, including no
and absence, is treated as standard
. To disable the importance scale, you need to remove the |importance={{{importance|}}}
parameter. Removing the |IMPORTANCE_SCALE=
parameter (if present) can be done as well, but is not essential.Can anyone explain this to me please? It looks... Massive, compared to the scripts usually used. I assumed some kind of WP:NOTREPOSITORY or something, but would like a deeper understanding if that's possible. Cheers! — O Fortuna semper crescis, aut decrescis 06:26, 17 May 2017 (UTC)
Hi, I've created a simple gadget that will load the categories and add them to a mobile interface page. You can test it from the Gadgets in your preferences section. If people think this is desirable, than the gadget can be made default on (for everyone or just for some specific usergroups). — TheDJ ( talk • contribs) 13:37, 17 May 2017 (UTC)
I am trying to use the Wikipedia:File Upload Wizard But one I click on "click here to start the upload wizard", nothing happens. Any thoughts?
I see that it ends in .JS so I assume it is JavaScript. I have separately noticed that my own JavaScript file doesn't seem to be working so I assume it's related. I vaguely recall some traffic about some issues but don't recall where I start or how to resolve it.-- S Philbrick (Talk) 13:45, 17 May 2017 (UTC)
Maybe it's time we expand MediaWiki:Jswarning, with some advice to use Gadgets when possible and be able to understand what Javascript is... — TheDJ ( talk • contribs) 14:40, 17 May 2017 (UTC)
It is an inherent flaw (or feature) of the internet (or at least html) that all pages (or most) consist of simple text. This means that browsers, javascript, browser extensions, and even the operating system can easily mangle (or change) just about anything you receive in the browser. It is what makes web development a nightmare compared to a native OS application. In this case it means that whenever people use javascript without understanding it well enough they can easily cause script errors that prevent "proper" rendering or display. In fact, a good number of errors reported in websites are actually caused by external factors (e.g. userscripts, extensions, network connections or ISP).
It is fortunate that readers can just disable javascript and escape from 90% of these problems, but unfortunate that +90% of them probably don't even know such a switch exists or what it does. — Preceding unsigned comment added by 197.218.88.223 ( talk) 15:02, 17 May 2017 (UTC)
I've collected some information at mw:OOjs UI/Fixing scripts and gadgets about the upcoming change to the "Save" button (and some other buttons nearby). This is a technical change, not just a change to the color, and it appears that it will unfortunately break multiple editing-related scripts. If you maintain a script, please check that page and test your script (instructions on the page). Whatamidoing (WMF) ( talk) 19:20, 17 May 2017 (UTC)
I have some trouble changing an link in the sidebar of is.wikisource, with the intent to link to is:s:Hjálp:Efnisyfirlit. Years ago I changed the help link on is.wikipedia like so, but when Ruslik did the same on is.wikisource after I asked him to do so, it did not work. Granted some years have passed since I made said change on is.wikipedia but I am still puzzled by this. Are the links in the sidebar supposed to be changed in some other way? Why is the change linked above on is.wikisource not working? -- Snaevar ( talk) 18:32, 17 May 2017 (UTC)
At the moment if you send an email via the 'Email this user' function, you have a choice when finished, of 'Return to User:Example' (or go, bizarrely, to main page!- I've always thought 'Back to where you were' would be most sensible). Since the same text also points out that you can let them know they have email using {{ygm}}, etc., wouldn't it be more useful if the choice was to 'Return to User talk:Example'? I mean, you are either going to want to leave a ygm notice or not. If you do, then you want to be on the talk page to do so. If you don't, then it doesn't matter what page is recommended! — O Fortuna semper crescis, aut decrescis 13:45, 16 May 2017 (UTC)
{{PAGENAME}}
or similar to detect the username. The message "Return to User:Example" is probably made by
MediaWiki:Returnto which is used in lots of other places. My conclusion: The MediaWiki default has no particular reason to link the user talk page, and I don't currently see a way we could do it at the English Wikipedia without a change in the MediaWiki software like a $1 parameter with the user name in the call of
MediaWiki:Emailsenttext. It's possible a customized
MediaWiki:Returnto could detect whether it's on
Special:EmailUser and add a user talk link in that case, but I'm not sure it has access to analyze $1 to detect the username or manipulate the link. And it's a minor issue anyway, probably not worth the performance cost of customizing
MediaWiki:Returnto with parser functions.
PrimeHunter (
talk)
14:15, 16 May 2017 (UTC)
Please help! The chart in the bottom of the article looks totally terrible in the mobile Wikipedia: https://bg.m.wikipedia.org/wiki/%D0%A4%D1%80%D0%B0%D0%B9%D0%B1%D1%83%D1%80%D0%B3
The same here: https://en.m.wikipedia.org/?title=Jeremy_Corbyn&oldid=731595817#Growth_in_the_Labour_Party
Thanks! — Preceding unsigned comment added by Димитър Янков ( talk • contribs) 09:04, 17 May 2017 (UTC)
<div>...</div>
element has a style=
attribute containing the declaration max-width:1px;
(the Bulgarian one) or max-width:2px;
(the Corbyn one) which I am fairly certain is the direct cause. There is also a bad CSS declaration veritical-align:top;
in the same attribute: being invalid, this will be ignored. I'm no Lua expert, but
searching Module: space for that spelling mistake "veritical" suggests that the drawXlegends
function in
Module:Chart would be a good place to start. --
Redrose64 🌹 (
talk)
09:23, 17 May 2017 (UTC)max-width:-1px
"works" for you is that
negative values for that property are illegal, so that your browser is ignoring the declaration. This might not be the case for other browsers, so it's safer to remove the declaration entirely. --
Redrose64 🌹 (
talk)
16:00, 18 May 2017 (UTC)Similar to template:PAGENAME, but instead gives you the subpage name. For example if the title is Evanescence/The Open Door, it gives you The Open Door only. Is there such template?— Lost Whispers talk 16:48, 18 May 2017 (UTC)
{{SUBPAGENAME}}
. See
mw:Help:Magic_words#Page_namesHello,
One of the most requested features for Wikidata is to enable editing of Wikidata’s data directly from Wikipedia, so the editors can continue their workflow without switching websites.
The Wikidata development team has been working on a tool to achieve this goal: fill and edit the Wikipedia infoboxes with information from Wikidata, directly on Wikipedia, via the Visual Editor.
We already asked for feedback in 2015, and collected some interesting ideas which we shared with you in this thesis. We would like to present to you our first prototype and collect your feedback, in order to improve and continue the development of this feature.
We present this work to you very early, so we can include your feedback before and all along the development. You are the core users of this feature, so we want to make sure that it fits your needs and editing processes.
You will find the prototype, description of the features, and a demo video, on this page. Feel free to add any comment or feedback on the talk page. The page is currently not translated in every languages, but you can add your contribution by helping to translate it.
You can either add your feedback on the talk page on Wikidata, or add a comment here. I’ll follow this discussion to make sure that all of your feedback is taken into account. However, it would be better to write your message on the central Wikidata page so everyone can read your input.
Thanks, Lea Lacroix (WMDE) ( talk) 15:31, 15 May 2017 (UTC)
Rather fundamental problem (one of many, but simply one I think of now): at the moment, when I go from enwiki to wikidata, I am logged in at enwiki, but not logged in at wikidata. If this happens with the easy editing tool, it looks as if my wikidata editing would not happen under my account but as an IP. Not good... Fram ( talk) 12:42, 19 May 2017 (UTC)
Birgit Müller (WMDE) 14:39, 16 May 2017 (UTC)
&limit=5000
or whatever into the url; is there a way to do that, a preference, whatever?
Justlettersandnumbers (
talk)
13:15, 18 May 2017 (UTC)
Is there a way to disable bot edits from triggering watchlist notifications ? - Mlpearc ( open channel) 14:34, 19 May 2017 (UTC)
The opening section after the lead section in Walter Benjamin is formatted with an error message printing in the text. Could someone take a look? ManKnowsInfinity ( talk) 19:16, 19 May 2017 (UTC)
I have a RichText with hyperlinks, and I want to copy it into a Wiki page; specifically, I'm looking for some tool that transforms the links in the original text properly into Wiki Markup links. Any idea? — Pajz ( talk) 05:39, 19 May 2017 (UTC)
The WP:Twinkle tab (TW) that normally appears at the top, to the right of the "More" tab, has vanished from user and user talk pages. It is still there on all other pages. If I look at the user contributions I get an abbreviated tab. But I would like the full tab back. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 11:45, 17 May 2017 (UTC)
Could someone help on where to change target for the main sidebar link "Upload file" so that it leads to the Upload wizard instead of Special:Upload on sr.wiki? We've translated it and it's working (but on a separate page).
Also, could someone find a glitch that causes message about current uploading to stay even after an upload is finished (header should display other message, about finished upload).
Thanks. @ Future Perfect at Sunrise: -- Obsuser ( talk) 18:08, 18 May 2017 (UTC)
My watchlist is showing a blank white screen since 2 days. What is the issue, how to fix? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 10:15, 20 May 2017 (UTC)
//
to the start of each line to comment it out (temporarily disable it). If that fixes it, remove the comments one at a time (saving the JS file each time), until you find the script that is broken. There were changes to MediaWiki recently that have caused some old scripts to break. I don't know if the ones you are loading are some of the broken ones or not, it's just a good first step. If disabling them does not fix the problem, at least we know it isn't down to the scripts.
Murph9000 (
talk)
10:30, 20 May 2017 (UTC)
“ | Database error
To avoid creating high replication lag, this transaction was aborted because the write duration (11.156260490417) exceeded the 3 second limit. If you are changing many items at once, try doing multiple smaller operations instead.[WSAuMwpAMFUAAKXhtwIAAABX] 2017-05-20 11:53:38: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError" |
” |
-- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 11:55, 20 May 2017 (UTC)
Are you having that problem only when trying to readd in bulk, or even if just adding a single page? About how many entries are you trying to add? — xaosflux Talk 13:06, 20 May 2017 (UTC)
For some reason, the table that's supposed to appear in the "Certifications" section in The Very Best of Kiss is appearing at the very bottom of the article. I'm using Safari 10.1.1 on OS X 10.12.5. Esszet ( talk) 02:02, 21 May 2017 (UTC)
{{
Certification Table Bottom}}
from it, causing the formatting failure. My gut says it was a good faith or unintended mistake.
Murph9000 (
talk)
02:09, 21 May 2017 (UTC)Currently we have to add {{ Authority control}} manually to pages. Is it possible to make it a default addition to pages? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 04:52, 21 May 2017 (UTC)
I clicked on New section to add the first section of an article's talk page but after finishing my edit, I don't see the section on the talk page:
https://en.wikipedia.org/?title=Talk:Elias_Beckingham&oldid=781319801
I'm experiencing this problem in Firefox 53.0.3 on a Windows 10 PC and on an up-to-date Chromebook. Thanks in advance. -- Dyspeptic skeptic ( talk) 14:46, 20 May 2017 (UTC)
{{
hat}}
inside the subpage. Bots may still get confused by the transcluded GA page, and think it's part of the header (so may still add stuff below it). What should be completely fixed is stuff getting erroneously hidden inside the hat.
Murph9000 (
talk)
09:49, 21 May 2017 (UTC)Is it possible to get a {{
reflist}}
to indent for use on the talk page?
For example if I am in the middle of a discussion four (4) colons deep, and I write this (silly example) in wiki-markup:
::::I agree completely<ref>Well, not completely, for example...</ref> with what was said<ref>The word "said" has a very interesting etymology. [Discourse on the word said.]</ref>above.<ref>Other thing that might interest you...</ref>
::::Notes:
:::::{{reflist}}
I get this:
Everything indented nicely, except the reflist. This drives me nuts, because it looks so awful and distracting on the talk page. I looked in the documentation for {{
reflist}}
and searched for "indent" and nothing came up. I have never seen anyone indent a reflist. I have seen {{
reflist talk}}
but that isn't any better. Is there a way to do it?
-- David Tornheim ( talk) 10:26, 21 May 2017 (UTC)
<div style="margin-left: 4em;">{{reflist}}</div>
could be used.
[1]|indent=
parameter should be added to {{
reflist-talk}}.
Template:Reflist-talk#Limitations mentions the problem.
PrimeHunter (
talk)
11:03, 21 May 2017 (UTC)
Please reply at Wikipedia talk:WikiProject JavaScript#What is jsfiddle?. The Transhumanist 20:46, 21 May 2017 (UTC)
Having popped in to make an edit on Heinz Tomato Ketchup after being away for awhile, I just hit 'submit' and got suprised when - due to my having the 'remind me to leave edit summaries' box tixed - the reminder/preview page came up COMPLETELY unformatted. I think it's...CSS scripts that are related to this? It's consistent, both with that and staight-up hitting 'preview', and the same thing happens on this page when I hit preview. However the 'regular' page works fine, as does the regular edit box. What gives? - The Bushranger One ping only 00:44, 15 May 2017 (UTC)
Hello. I don't remember having this problem before. Using a netbook device with ff configured for extra security and without scripts, I could usually access my notifications and preferences. Now since the notifications page only shows a loading gif animation, I thought that perhaps it's because of a gadget or setting I recently enabled using a desktop with a ff instance on which I enabled scripts for Wikipedia. However, I also now noticed that only the main/default preferences tab is visible (so I cannot go into the gadgets or notifications settings from this netbook anymore; I see links to them but they simply point to the same page with other anchors to invisible components). — Paleo Neonate — 21:38, 21 May 2017 (UTC)
The tabs to, for example, warn a user or report an account to AIV, have not been showing up for a while. I've tried my alternate account, which uses a different skin, and I've tried different browsers, clearing my cache, logging off/on, etc. It's been so long I don't remember if they were part of a userscript, Twinkle, or something else. Anyone know what might be the cause? — Rhododendrites talk \\ 13:03, 22 May 2017 (UTC)
Adding {{ reflist-talk}} to talk pages has produced a red link for me several times, most recently at Talk:Comma splice § "I came, I saw, I conquered". Please help. — Sangdeboeuf ( talk) 05:24, 23 May 2017 (UTC)
%E2%80%8B
is an encoding of
U+200B, or
zero-width space. I have expressed my dislike for such characters several times, most recently at
User talk:Corinne#MoS. --
Redrose64 🌹 (
talk)
08:50, 23 May 2017 (UTC)Please check out Category:Wikipedian_librarians ( [35]).
The output List I get starts like this:
Any idea what is going on? I'm guessing some of the user names start with non-alphanumeric and/or non-standard, non-printing characters. I'm wondering if the code that processes the list of users in the categories is deliberately sorting some users into categories that start with "(" or "*", or if the code does not expect those characters in the user name and is acting funky like this. If anyone does decide to look at the display code, can you tell me where it is? I'm starting to get curious about what the code looks like and where to find it... -- David Tornheim ( talk) 12:52, 23 May 2017 (UTC)
[[Category:Wikipedian_librarians| Aphilli]]
[[Category:Wikipedian_librarians|Aphilli]]
The {{
cite news}}
template with |script-title=
is messing up the display of a Hebrew title with an embedded number and displaying the external link icon centered on the link anchor text instead of to its right. Here are three examples. The first two examples use |script-title=
for the original Hebrew and |title=
for the English translation. The third example uses |title=
for the original Hebrew and |trans-title=
for the English translation. The first example replaces the number, "1.5", in the Hebrew title, to an asterisk (*), and display is normal. The second and third examples use the correct Hebrew title with the number "1.5" . In the second example, using the full Hebrew title with |script-title=
, the Hebrew title displays wrong near the number, extra white space is added to make up for the error, and the external link icon is misplaced. This would seem to be a bug. The third example displays normally. Note: surrounding the Hebrew title with <bdi lang="he" dir="rtl">...</bdi> does not help.
|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע * מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS * million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[1]|script-title=
and |title=
(number: 1.5) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |title=גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[3]— Anomalocaris ( talk) 00:50, 23 May 2017 (UTC)
|script-title=
, you should tell it what language you are using. In this case, |script-title=he:...
– the language code helps browsers to display it correctly; I do know that when using |script-title=
, |title=
is to be used for a transliteration of the original language title; I do know that |trans-title=
is to hold the English language translation of the title in |script-title=
.centered on the link anchor text.
{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}
|script-title=
helps a little. The external link symbol is not centered, but off to the right where it belongs, and the Hebrew letters near "1.5" are less scrunched. In fact, what seems to happen is that the Hebrew before (to the right of) "1.5" displays normally, starting from the right; then "1.5" displays, but instead of "1.5" being entirely to the left of the Hebrew preceding it, the "1" in "1.5" is just to the left of the last word before it, so that ".5" overwrites the right end of the last word before it, and then the Hebrew after (to the left of) "1.5" starts up, rather than entirely to the left of "1.5", just to the left of the "5", overwriting "1.". Here is a shorter example set:|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל * תפוחים |language=he |title=Doctor: Eat * apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[1]|script-title=
and |title=
(number: 2) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל 2 תפוחים |language=he |title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |title=he:הרופא: תאכל 2 תפוחים |language=he |trans-title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[3]In this shorter example set, using |script-title=
, the Hebrew near the number ("2") is scrunched and the external link symbol is misplaced, but when "2" is replaced with "*" it works fine, and it also works fine to avoid |script-title=
entirely and use |title=
and |trans-title=
. The bug is: if |script-title=
is in a right-to-left language and includes an embedded number, even if only one digit long, the display is messed up near the number. —
Anomalocaris (
talk)
05:03, 23 May 2017 (UTC)
|title=
in these examples. The English translation of the Hebrew goes in |trans-title=
; when |script-title=
is used, |title=
gets the transliteration of the original language title; in this case, Hebrew words written with Latin characters.|trans-title=
is for the English translation whether the foreign title is in |title=
or |script-title=
. That's irrelevant to the bug of bad display of |script-title=
containing Hebrew with embedded digits. —16:00, 23 May 2017 (UTC)Thank you,
עוד מישהו, for suggesting the possibility that it is browser-related. For all three browsers, it makes no difference if I am logged in or not. Can we make the output of |script-title=
containing Hebrew with embedded digits render correctly for Mozilla Firefox? —16:00, 23 May 2017 (UTC)
Thank you for the constructive feedback and discussion during the recent RfC. The following sister project snippets will be displayed on enwiki are listed below (in no particular order):
The following projects will not display on enwiki at this time:
Barring any unforeseen circumstances or significant new issues being raised, we’ll enable this new feature on the search results page for all Wikipedias during the week of May 30th, 2017. Cheers, DTankersley (WMF) ( talk) 10:34, 20 May 2017 (UTC)
-- fireattack ( talk) 08:10, 24 May 2017 (UTC)
Is there a way to hide/collapse inline citations when editing an article? Sometimes they get in the way, and doing this would be a great help. Thanks. SharkD Talk 12:00, 24 May 2017 (UTC)
Is there a way to make a very long URL wrap within the normal width of the page instead of doing this? -- Roger (Dodger67) ( talk) 12:06, 24 May 2017 (UTC)
<div style="overflow-wrap: break-word; word-break: break-all;">...</div>
also wraps for me in Edge:will update
•
Sammy Majed •
Talk •
Creations •
Wikipedia Arabic •
08:58, 24 May 2017 (UTC)
@ MHolloway (WMF): Indeed, Android.
I will do another report of bugs I encountered afterwards in the bottom of this page. please, remeber that while I report bugs to you do not expect technical knowledge from me. • Sammy Majed • Talk • Creations • Wikipedia Arabic • 05:02, 25 May 2017 (UTC)
[[Talk:User:Example]]
instead of [[User Talk:Example]]
.• Sammy Majed • Talk • Creations • Wikipedia Arabic • 05:14, 25 May 2017 (UTC)
In the search facility there is the linksto:<page> clause.
Is there the opposite, or the equivalent to, that is, a linksfrom:<page> clause, that is, returning all the pages linked to from within an article ?
Eno Lirpa ( talk) 14:44, 18 May 2017 (UTC)
Any ideas anyone? Eno Lirpa ( talk) 13:44, 23 May 2017 (UTC)
I gotthe error message (in my console) when an article failed to load except for the first sentence. I get these hangups once or twice a day. I'm going to try to renew all my scripts but would like to understand this message. Thanks. Doug Weller talk 12:26, 25 May 2017 (UTC)
I was just looking up some articles on my phone, when I noticed that the infobox is appearing below the first paragraph of the lead in mobile view, opposed to the first thing when looking at an article. See Captain America: Civil War, United Kingdom, and Agents of S.H.I.E.L.D. for some examples. - Favre1fan93 ( talk) 18:51, 24 May 2017 (UTC)
phab:T143139, phab:T145216, phab:T150325. Nirmos ( talk) 11:14, 25 May 2017 (UTC)
I accidentally logged myself out on my PC. I was able to log back in with no problem (had to get my 2FA code but that's all), but on my iPad I keep getting "There seems to be a problem with your login session, this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and try again. But that doesn't work. Doug Weller talk 19:37, 25 May 2017 (UTC)
At Talk:Victoria Park & Bow railway station, the section heading "coordinates" appears at upper right, instead of the proper place at the top of its section. Why is this? -- Redrose64 🌹 ( talk) 22:19, 25 May 2017 (UTC)
#coordinates
at the top of
MediaWiki:Vector.css. Capitalising the section heading solves that particular instance of it. Really the selector should be more specific, to avoid this problem. It needs some careful thought as to exactly what more specific selector (or possibly group of selectors) should be used, as there's a few scenarios to cover. My first guesses would be that it could be changed to element#coordinates
, or .some-class#coordinates
, possibly for several different classes.
Murph9000 (
talk)
22:36, 25 May 2017 (UTC)
span#coordinates
is probably the appropriate fix. I'm not absolutely certain that module is the only place generating it, but it probably should be.
Murph9000 (
talk)
22:53, 25 May 2017 (UTC)
"coordinates" insource:/=coordinates=/
, and 45 on "coordinates" insource:/= coordinates =/
. None of them are in mainspace. All tested examples display the problem.
PrimeHunter (
talk)
23:01, 25 May 2017 (UTC)I don't see how changing the selector to span#coordinates
would solve the problem. If we look at the heading structure in
Special:PermanentLink/782185879, the element with the id "coordinates" is a span. However, changing it to span #coordinates
might work, because proper coordinates are wrapped in an outer span that sets the font size to small.
Nirmos (
talk)
04:01, 26 May 2017 (UTC)
span > #coordinates
would be more efficient. Even better might be to change the module to add a class, then use .coordinates-title#coordinates
, or something like that. Another alternative would be #coordinates:not(.mw-headline)
.
Murph9000 (
talk)
18:49, 26 May 2017 (UTC)This just started to happen today. I don't know if it's a glitch or a deliberate design change, but if it's the latter I'm not a fan. It's incredibly jarring to read about a game and then get through the intro only to have to scroll through the infobox. -- Deathawk ( talk) 04:21, 26 May 2017 (UTC)
When I remove bot edits from my watchlist, I don't see the article even if on that same day an edit was made by a non-bot. Is this a bug? Debresser ( talk) 21:10, 24 May 2017 (UTC)
Hi, the doc page for {{ X2 review help}} isn't transcluding onto the template page, after I moved the template out of my sandbox where the doc transclusion was working fine.
What I see when I look at {{ X2 review help}} is just the arg-less expanded template, followed by a rump blue rectangle at the bottom labeled Template documentation and inviting me to " [ Create]" the page. Clicking the 'Create' anchor goes to an edit window filled with the documentation page content. There is also a line at the bottom of the blue box saying, "Please add categories to the /doc subpage. Subpages of this template." where "/doc" is red and has this exact value: " https://en.wikipedia.org/?title=Template:X2_review_help/doc&action=edit&redlink=1" but clicking it goes right to the subpage, and clicking the "Subpages" link shows the doc (in blue) as the only subpage, and the blue link works. Somehow, the template page itself is the only one that can't see the doc, and doesn't transclude it. Why? I tried a fresh browser that has never seen that page, so doesn't appear to be a cache issue, at least not locally. Mathglot ( talk) 06:06, 28 May 2017 (UTC)
&action=purge
to the end of the URL of the page I want to purge. —
Gestrid (
talk)
19:04, 28 May 2017 (UTC)
Hello! We have been using {{ collapsible list}} in Basque Wikipedia for a while, and I have noticed that is not working anymore. You can see the effect in an infobox, for example at eu:Steven Spielberg. The module and template haven't been touched, so I think the problem is elsewhere. Could someone help us with this? Thanks! - Theklan ( talk) 10:07, 27 May 2017 (UTC)
ReferenceError: bklCheck is not defined
. The only place where bklCheck
is mentioned is
eu:MediaWiki:Gadget-ArgipenBila.js. The code seems to be a copy of old code that once was on dewp but is not anymore according to
de:Benutzer:Schnark/js/bkl-check. (Note: This problem might be unrelated to the actual problem you're facing.) --
AKlapper (WMF) (
talk)
22:15, 28 May 2017 (UTC)
Is it just me, or has the quality of diffs within the English Wikipedia declined recently? Maybe the quality is the same, but I have become more discerning...
Here is an example: https://en.wikipedia.org/?title=MalwareTech&diff=782456060&oldid=782449642 .
As you can see, both the left and right columns have hunks that begin "Following his work on the WannaCry ransomware attack in 2017" and that are almost identical ( edit distance: 3) but that have been aligned with other hunks instead of with each other, making it very hard to spot what has changed between them. (To spare you searching, it is "he's" to "he has".)
Is this a regression? Is it a known bug? Please WP:MENTION me in your reply. Thanks for your time :) zazpot ( talk) 20:10, 28 May 2017 (UTC)
Question: I recently encountered a case where an IP had been locally and globally blocked. On the user page (which had not been created), I saw the local block notice (the red box at the top) However, I did not see the global block notice until I looked at the IP's contributions page. Why do we have it setup that way? Shouldn't global block notices be able to be seen anywhere a local block notice is seen? — Gestrid ( talk) 18:59, 28 May 2017 (UTC)
There's an RfC on enabling two-factor verification (2FA) for all users across all Wikimedia projects. Please vote and comment! -- RezonansowyakaRezy ( talk | contribs) 13:34, 29 May 2017 (UTC)
Hi, I'm learning about the mediawiki query API and something I'd like to do is query for articles that are both within a certain radius around a given geographical location, and also within a given set of categories. What would be the best way to do that?
On Friday I went to log in to my account, and the password didn't work. It was a different computer than I usually use, but I was logged into my Chrome account, and the passwords are synced between devices. I even went to my password manager and directly copy-pasted to be absolutely sure I had the right password, but the login attempts still failed.
Fearing a possible hack, I reset my password, as well as my email account's password; and Reedy was kind enough to run a script server-side that logged out every session I had open. So now that that's handled, I find myself wondering what caused the initial problem, and was wondering if anyone here has any ideas.
The way I figure it, there are five possible ways my password could have stopped working:
So all of this leaves me suspecting it's number five, which is what brings me here. Any thoughts? — PinkAmpers & (Je vous invite à me parler) 18:39, 29 May 2017 (UTC)
Yesterday a user left me a barnstar and I thanked them in a reply. They replied back on my talkpage later but I didn't get the normal notification. I'm wondering if this is a bug? I only noticed because I saw it on my watch list. White Arabian Filly Neigh 20:17, 29 May 2017 (UTC)
Template {{ tracklist}} displays "Track listing error: Time value does not contain a colon" when a time is not inserted into the line for a particular song. Case in point, Prevail I. -- Jax 0677 ( talk) 01:33, 30 May 2017 (UTC)
It appears that Template:Infobox road is somehow transcluding the non-free File:Alberta Yellowhead Highway.png into the article Yellowhead Trail (Edmonton). Each use of a non-free image is required to be provided with a separate specific non-free use rationale per WP:NFCC#10c and setting templates up to transcude a non-free image is problematic because it assumes the the file's use will be non-free compliant by default in any article where this particular version of the template is used which may not always be the case per WP:NFCC#9 and other remaining non-free cirteria. I've been searching for the file somewhere in the template so that I can remove it, but have not been able to find it. Does anyone know how the template is using this particular file and where to find it? -- Marchjuly ( talk) 05:42, 30 May 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
Meetings
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
12:18, 30 May 2017 (UTC)
Village pump pages (like this VPT) have a navigation header with four #local links:
However, when in mobile view the links TOC and EoPage are idle. Can they be made to function, or otherwise be hidden in mobile view? The header is {{ Village pump page header}}. - DePiep ( talk) 11:33, 30 May 2017 (UTC)
Category:MusicBrainz artist not in Wikidata includes Magnapop but sure enough, they have a MusicBrainz ID on Wikidata. Can anyone explain (and please {{ Ping}} me)? ― Justin (koavf)❤ T☮ C☺ M☯ 06:07, 30 May 2017 (UTC)
|property=
is the p### of the property. The "p" should be lowercase.|wdc-property=p434
with lowercase p as requested in a parameter later passed to
Module:WikidataCheck by {{
MusicBrainz meta}}. But uppercase P434
seems to work better. Nearly all templates call
Module:WikidataCheck with uppercase property=P...
. I suspect the documentation is wrong. The documentation also says a wrong number in the example with property=p343
but {{
MusicBrainz artist}} correctly uses 434 and not 343. There is no
Wikidata:Property:P343 while
Wikidata:Property:P434 is MusicBrainz artist ID.
PrimeHunter (
talk)
11:17, 30 May 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes this week
<div>
tag around HTML from the MediaWiki wikitext
parser. Gadgets with code that does not follow recommendations could have problems with this. You can
report new problems you think are related to this.
[38]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
22:02, 22 May 2017 (UTC)
<div>...</div>
elements that enclose the parsed page content? Indeed, when I view the source for this page, I find that this section - like all the other sections - is five divs deep: <div id="globalWrapper">
<div id="column-content">
<div id="content" class="mw-body" role="main">
<div id="bodyContent" class="mw-body-content">
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
Gadgets with code that does not follow recommendations…It might be useful if you could provide a pointer to these recommendations, please, to help everyone know what to look for. Thanks. Murph9000 ( talk) 23:07, 22 May 2017 (UTC)
<div>...</div>
elements that enclose the parsed page content?
#mw-content-text
does not only contain parsed page content. It also contains .diff
, .diff-hr
and .diff-currentversion-title
in diffs and .patrollink
on unpatrolled pages.#column-content
or #globalWrapper
– but yes.#mw-content-text
will break. In other words, any CSS like #mw-content-text > .infobox
or JavaScript like $( '#mw-content-text' ).children( '.infobox' )
would need to be changed to #mw-content-text .infobox
and $( '#mw-content-text' ).find( '.infobox' )
respectively.I have Windows 10 and Microsoft Edge. Earlier today the computer went through a major update that took an hour to complete. When it was done, the font looked less like what a text from an older typewriter looked like, and more like the electric typewriter I used when taking a business class in high school in 1978. I'm probably asking in the wrong place since this is likely not Wikipedia-related, but I was curious what happened.— Vchimpanzee • talk • contributions • 21:28, 29 May 2017 (UTC)
font-family: monospace;
, so it will normally use whatever your browser feels like using by default. Your browser may have a config option for the default monospace font. You can control this from WP by adding something to your
common.css (the precise selectors needed may vary with different skins and editor options), e.g. form#editform textarea.mw-editfont-monospace { font-family: 'Courier', monospace; }
Greetings, Recently I have started updating Teahouse ( WP:TH ) pages with a new "Header 2" wikicode. For the Wikipedia:Teahouse/Guests page there is complex wikicode. Specifically, for the "Introduce yourself" button. If someone could please cleanup the old header wikicode without that button disappearing? Whenever I attempted a cleanup the "Introduce yourself" goes away & I have no idea how to keep it there. Thanks. Regards, — JoeHebda • ( talk) 14:45, 30 May 2017 (UTC)
Could someone help on why successfull upload message is not displayed after a successful upload on sr.wiki? Message about current upload in progress is getting displayed all time... ( sr:Википедија:Водич за отпремање)
Also, both on en.wiki and sr.wiki, title
attribute for tag a
generating hover text in image-present-on-Commons file description is not supplied but stays "File:Example.svg". Maybe adding thumbA[i].setAttribute('title', 'File:' .. name);
and thumbA.title = 'File:' .. name;
can be added in
Mediawiki:FileUploadWizard.js to fix this.
Maybe magic word gender can be used in module for username of the user who uploaded file on Commons in this message, and it can be linked by "[[c:User:Username]]
", instead of displaying only unlinked username and not differentiating gender (gender is issue for other languages, including Serbian, that have different verb suffixes for male and female sexes). @
Future Perfect at Sunrise: --
Obsuser (
talk)
02:37, 31 May 2017 (UTC)
Hello. I would like a tool please that ensures redlinked categories at user pages do not end up in Special:WantedCategories. Thanks. The reason for this is that Wikipedia has a fun tradition of users putting humorous redlinked categories on their user pages, but this clogs up the list of more serious redlinks that must be dealt with by serious editors. Anythingyouwant ( talk) 01:17, 26 May 2017 (UTC)
user categories should not be used as "bottom-of-the-page" noticesor the policy WP:NOTSOCIAL.
tiny minority of editors [who chose] to be selfish extremists, intentionally creating redlinked usercats specifically in order to troll and create work for the editors engaged in this form of maintenance– seriously, BHG, you can't see the failure of AGF in your statement?
the point about consensus is that we don't have to like the outcome, just accept that it stands until overturned.Sometimes, a "consensus" is so wrong that IAR mandates it be rejected or ignored. The consensus of the gay wikipedians deletion was, whatever the participants may have thought, in effect a consensus that discrimination against LGBT editors was acceptable. There are US Supreme Court decisions described as "anti-canon", cases that are so flawed that they are now taken as exemplars of bad legal decision making, and were wrong on their face at the time they were taken – examples include Dred Scott and Korematsu. Though not on that level of seriousness, the gay wikipedians decision is similar in that it was wrong on its face at the time. Sometimes, wrong decisions must be called out and met with Rosa Parks-like defiance... and in those cases, we don't applaud the idea that sitting and waiting to be treated fairly is the only approach. Sometimes, if the source of the discrimination is a decision about categories, the way to highlight it is through categories.
why can't you show us a working demo to evaluate?Because I have no interest in doing anything to make your life easier. I've said this before (which you've quoted out of context to fallaciously "justify" yet another personal attack against me). I find your behavior in this matter to be utterly reprehensible and will do nothing to encourage it. Not to mention the fact that there's no need for it, as bluelinked and categorized user cats fixes the problem quite nicely. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 15:48, 26 May 2017 (UTC)
utterly reprehensible, you do well to clean up your own act. That includes cleaning up behavior like your comment to which I responded at WT:UCAT [43], where your response to evidence of flaws in your code was yet more personal attacks. -- BrownHairedGirl (talk) • ( contribs) 16:50, 26 May 2017 (UTC)
I also take issue with the above allegation that those supporting the deletion of Category:Gay Wikipedians were somehow homophobic.I ask that you note that I was careful to say that those supporting the deletion were supporting an action that had the effect of anti-LGBT discrimination, not that their intent was homophobic per se. As a group, the editors participating in the deletion and DRv discussions did not cover themselves in glory... to put it mildly... but I am certain that those advocating deletion were and are not necessarily motivated by discrimination / homophobia nor was prejudice necessarily their motivation in their comments. EdChem ( talk) 04:31, 31 May 2017 (UTC)
Can we please keep this discussion focused on the technical request? This is VPT. The link to the RFC is below, if you would like to discuss the categories themselves. Thanks. – Jonesey95 ( talk) 05:49, 27 May 2017 (UTC)
We have a guideline at Wikipedia:User categories#Overcategorization (substantially duplicated or forked at Wikipedia:Overcategorization/User categories) that should provide enough guidance to tell whether these redlinked categories should be created or removed from pages. If it does not provide such guidance, the guideline should be improved. Excluding them from a report is not provided as an option in the guideline. – Jonesey95 ( talk) 15:30, 26 May 2017 (UTC)
The {{
cite news}}
template with |script-title=
is messing up the display of a Hebrew title with an embedded number and displaying the external link icon centered on the link anchor text instead of to its right. Here are three examples. The first two examples use |script-title=
for the original Hebrew and |title=
for the English translation. The third example uses |title=
for the original Hebrew and |trans-title=
for the English translation. The first example replaces the number, "1.5", in the Hebrew title, to an asterisk (*), and display is normal. The second and third examples use the correct Hebrew title with the number "1.5" . In the second example, using the full Hebrew title wit h |script-title=
, the Hebrew title displays wrong near the number, extra white space is added to make up for the error, and the external link icon is misplaced. This would seem to be a bug. The third example displays normally. Note: surrounding the Hebrew title with <bdi lang="he" dir="rtl">...</bdi> does not help.
|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע * מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS * million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[1]|script-title=
and |title=
(number: 1.5) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |title=גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[3]— Anomalocaris ( talk) 00:50, 23 May 2017 (UTC)
|script-title=
, you should tell it what language you are using. In this case, |script-title=he:...
– the language code helps browsers to display it correctly; I do know that when using |script-title=
, |title=
is to be used for a transliteration of the original language title; I do know that |trans-title=
is to hold the English language translation of the title in |script-title=
.centered on the link anchor text.
{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}
|script-title=
helps a little. The external link symbol is not centered, but off to the right where it belongs, and the Hebrew letters near "1.5" are less scrunched. In fact, what seems to happen is that the Hebrew before (to the right of) "1.5" displays normally, starting from the right; then "1.5" displays, but instead of "1.5" being entirely to the left of the Hebrew preceding it, the "1" in "1.5" is just to the left of the last word before it, so that ".5" overwrites the right end of the last word before it, and then the Hebrew after (to the left of) "1.5" starts up, rather than entirely to the left of "1.5", just to the left of the "5", overwriting "1.". Here is a shorter example set:|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל * תפוחים |language=he |title=Doctor: Eat * apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[1]|script-title=
and |title=
(number: 2) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל 2 תפוחים |language=he |title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |title=he:הרופא: תאכל 2 תפוחים |language=he |trans-title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[3]In this shorter example set, using |script-title=
, the Hebrew near the number ("2") is scrunched and the external link symbol is misplaced, but when "2" is replaced with "*" it works fine, and it also works fine to avoid |script-title=
entirely and use |title=
and |trans-title=
. The bug is: if |script-title=
is in a right-to-left language and includes an embedded number, even if only one digit long, the display is messed up near the number. —
Anomalocaris (
talk)
05:03, 23 May 2017 (UTC)
|title=
in these examples. The English translation of the Hebrew goes in |trans-title=
; when |script-title=
is used, |title=
gets the transliteration of the original language title; in this case, Hebrew words written with Latin characters.|trans-title=
is for the English translation whether the foreign title is in |title=
or |script-title=
. That's irrelevant to the bug of bad display of |script-title=
containing Hebrew with embedded digits. —16:00, 23 May 2017 (UTC)Thank you,
עוד מישהו, for suggesting the possibility that it is browser-related. For all three browsers, it makes no difference if I am logged in or not. Can we make the output of |script-title=
containing Hebrew with embedded digits render correctly for Mozilla Firefox? —16:00, 23 May 2017 (UTC)
— Anomalocaris ( talk) 03:11, 30 May 2017 (UTC)
|url=
parameter is included. Does this help? —
Anomalocaris (
talk)
19:04, 30 May 2017 (UTC)
<bdi>...</bdi>
is overkill, is there a better solution when it is necessary to mix rtl scripts with English or other ltr scripts within a citation?
The following wikitext fails with Expression error: Unrecognized punctuation character "{".
when substituted, but not when transcluded:
{{{{{|safesubst:}}}#ifexpr:{{#if:{{{param|}}}|1|0}}|yes}}
I'm sure I'm missing something very simple, but I can't figure out what's causing this behaviour. TheDragonFire ( talk) 08:29, 31 May 2017 (UTC)
{{{{{|safesubst:}}}#ifexpr:{{{{{|safesubst:}}}#if:{{{param|}}}|1|0}}|yes}}
Is there any chance we can persuade TPTB to fix this relatively long running problem? It's more important than deprecating ISBN, which we don't want, but perhaps not on the WMF agenda...
All the best:
Rich
Farmbrough,
15:39, 28 May 2017 (UTC).
The Bing search site:www.en.wikipedia.org says 12200 results but the links like https://www.en.wikipedia.org/wiki/Antonio_Lamela are broken. The right link is /info/en/?search=Antonio_Lamela. The bad url's can show up in normal searches like https://www.en.wikipedia.org/wiki/Michele_Ragusa in a search on Michele Ragusa. The issue was reported at Wikipedia:Help desk#Search engines adding a "www" to wikipage where I posted more details. Is this Bing's fault or do our servers sometimes give results (lacking styling according to Bing's cache) on the bad url's? PrimeHunter ( talk) 00:06, 1 June 2017 (UTC)
It is annoyingly commonplace to to see things like the following in Wikipedia articles:
of course one immediately corrects it so that it says
But for about the last week, if you put the cursor where the hyphen had been, so that you see 200512, and click on the en-dash in the "insert" menu below the edit window, instead of 2005–12, you see 20051–2.
Has no one else noticed this? I've seen it several times every day for about a week, and never before then. What's going on? Michael Hardy ( talk) 13:47, 31 May 2017 (UTC)
This was previously reported at Wikipedia:Village pump (technical)/Archive 155#Chrome issue with inserting character after backspacing but didn't receive any comments. — JJMC89 ( T· C) 15:19, 31 May 2017 (UTC)
Hey folks, I'm doing an experimental Reddit AMA ("ask me anything") in r/IAmA on June 1st at 21:00 UTC. For those who don't know, I create artificial intelligences that support the volunteers who edit Wikipedia. I've been studying the ways that crowds of volunteers build massive, high quality information resources like Wikipedia for over ten years. This AMA will allow me to channel that for new audiences in a different (for us) way. I'll be talking about the work I'm doing with the ethics and transparency of the design of AI, how we think about artificial intelligence on Wikipedia, and ways we’re working to counteract vandalism. I'd love to have your feedback, comments, and questions—preferably when the AMA begins, but also through the ORES talkpage on MediaWiki.
If you'd like to know more about what I do, see my WMF staff user page, this Wired piece about my work or my paper, " The Rise and Decline of an Open Collaboration System: How Wikipedia’s reaction to popularity is causing its decline". -- EpochFail ( talk • contribs) 14:50, 24 May 2017 (UTC)
Has anyone else experienced a bug wherein wikEd inserts dozens of non-breaking spaces when making an otherwise trivial edit? See this edit by WereSpielChequers, which I reverted and then attempted to reinstate the typo correction only to experience the same issue. I'm using Chrome 58.0.3029.110.- Mr X 21:07, 29 May 2017 (UTC)
When you insert a new section into a page, it creates a kind of pseudo- tag called, oddly enough, new section. However, although it looks like a tag, it doesn't function like one; you cannot use it to filter user contributions, for example. Could we turn that function on? It would likely be of limited value in article-space, but it would greatly help searching through contributions and article histories in Wikipedia spaces such as the RefDesk, the Help Desk, and similar areas. Although it's not something I do much of, I imagine it would also help searching through the page histories of extensive talk pages. Really, any area where the user would like to search through extensive histories by the beginnings of discussions. Matt Deres ( talk) 23:37, 1 June 2017 (UTC)
("*/ new section" in summary)
. There could be rare false positives when users manually enter "new section" as edit summary. If you really want to look for new section additions now then many desktop browsers can search a string on the current page with Ctrl+F. This method would be limited to edits currently displayed in the window so a tag could do much more but I doubt it would be used enough to justify the performance cost. An edit filter to add a tag can be requested at
Wikipedia:Edit filter/Requested. If you want the MediaWiki software itself to add a tag then it's a request for
phab:.
PrimeHunter (
talk)
10:41, 2 June 2017 (UTC)I noticed that usernames containing potential wikimarkup (such as *Treker) will render as such in {{ db-meta}} (see example). Can someone with more template skills please fix that? Regards So Why 11:14, 30 May 2017 (UTC)
{{REVISIONUSER:User:*Treker/sandbox}}
produces *Treker
, while {{PAGENAME:*Lisp}}
produces *Lisp
. A post in
phab:T28781 says: "r80511 and r80512 should fix the issue of insufficient escaping of the output of {{PAGENAME}} and friends". It appears {{REVISIONUSER}} wasn't included in friends. This means Last edited by [[User:{{REVISIONUSER:User:*Treker/sandbox}}]]
produces:Last edited by User:Xaosflux
Last edited by [[User:{{PAGENAME:*Lisp}}]]
produces:Last edited by User:*Lisp
Last edited by [[User:{{replace|{{REVISIONUSER:User:*Treker/sandbox}}|*|*}}]]
produces:Last edited by User:Xaosflux
{{REVISIONUSER}}
like in
this fix of {{
Db-meta}}. The
example from the original post works now. Hopefully there are no bad side effects. Last edited by [[User:{{REVISIONUSER2|User:*Treker/sandbox}}]]
produces:Last edited by User:Xaosflux
{{REVISIONUSER:User:*Treker/sandbox}}
was broken.
PrimeHunter (
talk)
22:39, 2 June 2017 (UTC)This is recent and sporadic. I've only noticed in the last week or so. I'll be typing in the edit window, and suddenly the screen does a refresh on its own. When it does that, everything I just typed is gone, and I have to start all over. I use Firefox, but I'm not sure that's the cause of the oddity. Windows 10 did an install of its latest version a little over a week ago, so it could be that. Or it could be something Wikipedia did in an update. The only time this happens, is in Wikipedia, when an edit window is open and I'm actively typing in it. As I say, it's just now and then, but it sure is a time waster. — Maile ( talk) 17:52, 31 May 2017 (UTC)
safemode
option, which might save you some time in determining whether a script or gadget is the problem.
Whatamidoing (WMF) (
talk)
04:47, 4 June 2017 (UTC)I am looking at this chart generated by the Pageview Analysis tool for the page Wikipedia:WikiProject Video games. I am wondering, why are the numbers so low for the first few months and then jump higher afterward? Did the tool experience downtime during this period? Is there another explanation? Can I get further info regarding all periods of downtime? Thanks! SharkD Talk 13:28, 4 June 2017 (UTC)
Special:Preferences#mw-prefsection-editing
"Enable wizards for links, formatting, tables, citations, and the search and replace function"
Can this be broken up in preferences? I would like to try out the table wizard for now. But not the rest. They just get in the way. -- Timeshifter ( talk) 05:02, 28 May 2017 (UTC)
(unindent). In the last few days it looks like "Enable enhanced editing toolbar" has incorporated "Enable wizards for links, formatting, tables, citations, and the search and replace function". Because this no longer exists as a preference: "Enable wizards for links, formatting, tables, citations, and the search and replace function". Those wizards are now part of the enhanced editing toolbar. It has to be chosen in preferences. It is not default. -- Timeshifter ( talk) 16:09, 4 June 2017 (UTC)
Hello Everyone,
A while back, the content translation tool was behaving undesirably ( context). This left us with about 5000 articles which were either newly created by this tool, or were overwritten by this tool. The articles are listed here: [48]. The edit which either created or overwrite the page has an edit summary that looks something like this: (Created by translating the page "[Name of article on foreign language wiki]") (thank) (Tag: ContentTranslation). I need to know which of these edits were overwrites, and which were creations, so we can check to see if the overwritten page was acceptable. To do this, either I need the full edit summary where the CXT edit happened for each article (overwrites will have undo), the revision history for each article, including full edit summaries in a form I can edit (a .txt file, for example, I can do regex on this to extract the information), or a list of which articles had (or preferably, didn't have) the CXT edit as their first edit. I suspect a quarry search will be a good attack on this problem, as that's how the original list was generated. Pinging @ Xaosflux:, who ran that Quarry search. Pinging @ Mathglot:. Tazerdadog ( talk) 01:21, 19 May 2017 (UTC)
(unarchived from Archive 155 by Mathglot ( talk) 09:57, 30 May 2017 (UTC))
I don't believe it was Tazerdadog's intention to imply that this was no longer a problem, and I believe they may have been misunderstood, since there were no further responses, and the thread was archived. This problem remains, and needs to be addressed. Shall we start over with a restatement of the existing problem?
We are in the process of assessing articles created by CXT to see whether to retain them or not under CSD X2 via a mass delete. When CXT overwrites a previously existing, good article with a bad one, then if we delete that article, that is the wrong outcome—we should keep the article instead. But it's not easy to find those articles manually, we'll probably miss some (or a lot) of them, and some good articles will get deleted. A db query returning titles of articles that are in the current list and tagged in some rev other than the first, would highlight that article list, and allow us to examine those articles for this exact situation so we don't delete the clobbers. Did I state that correctly, Tazerdadog? Mathglot ( talk) 10:41, 30 May 2017 (UTC)
Editors who wish to help with tagging the overwritten articles on the list, please see WP:CXT/PTR/Clobbers. Thanks, Mathglot ( talk) 06:23, 1 June 2017 (UTC)
Has anyone noticed a problem with {{ ping}}? I am getting ping alerts, mostly, I believe, (but then again, how would I know for sure?), but I've suspected that there are sporadically some missing alerts. For example, here's an edit I spotted from my watchlist that pings me, but I don't see it in my alert notifications.
On the flip side, I've occasionally pinged lots of users ( 13 in this case) and not gotten any response. Perhaps they're just busy or chose not to respond. I'm loathe to ping twice [a], that could be seen as being bothersome, but now I can't help wonder if all of those notifications were delivered. Mathglot ( talk) 20:26, 4 June 2017 (UTC)
[[User:Mathglot]]
or a template (such as {{
reply to}}
, {{
user}}
, {{
user link}}
, or one of their redirects) is used, the crucial feature is that the user page be linked in some way.Will update • Sammy Majed • Talk • Creations • Wikipedia Arabic • 13:32, 2 June 2017 (UTC)
Is it possible to render archive searches in date order? I sometimes need to refer back to a post I made on discussion pages such as VP, HD, etc. When I search the archives for my username the resulting list is apparently in a random order. This is not helpful when I know the post I'm looking for was in the last month or two. So, I think the ability to search a specific date range or have the search results sorted in date order by default would be far more useful than the current random order. Roger (Dodger67) ( talk) 08:19, 5 June 2017 (UTC)
prefer-recent:1,1
from
mw:Help:CirrusSearch#Prefer-recent but old archives sometimes have a recent edit. If the last edits are close to eachother then precise sorting may require a fraction as second argument like prefer-recent:1,0.1
. For discussion pages you can include something like "May 2017" in the search to find pages with posts signed that month, or "May 2017 UTC" to reduce the risk of false positives for pages mentioning the month outside a signature.
PrimeHunter (
talk)
09:37, 5 June 2017 (UTC)
The "Move succeeded" page contains text strings such as You should also update the associated Wikidata item to maintain language links on moved page
and A redirect has been created
. They don't appear in
MediaWiki:Movepage-moved and I can't find where they are generated.
Jo-Jo Eumerus (
talk,
contributions)
12:19, 5 June 2017 (UTC)
On
Aquaman, {{
Aquaman}} is not expanded, even tho I have |state=expanded
in the text. I have also tried |state=uncollapsed
with the same result. Can someone please explain what is happening and {{
ping}} me? Thank you. ―
Justin (koavf)❤
T☮
C☺
M☯
21:16, 5 June 2017 (UTC)
| state = {{{state|autocollapse}}}
(which I just changed it to). The previous coding was ignoring any state parameter.
Murph9000 (
talk)
21:22, 5 June 2017 (UTC)
Please tell me what's wrong with the third line
{{flag|USA|size=23x14px}}
{{flag|USA|size=23x15px}}
{{flag|USA|size=23x16px}}
{{flag|USA|size=23x17px}}
Maiō T. ( talk) 11:45, 3 June 2017 (UTC)
@ PrimeHunter: I'm testing those alignments at {{ flag/sandbox}}. I've edited just one word and here is the result:
{{flag/sandbox|USA}}
{{flag/sandbox|Switzerland}}
{{flag/sandbox|Nepal}}
{{flag/sandbox|Vatican}}
{{flag/sandbox|FRA}}
I think it's worth to edit the protected template {{ flag}}. Maiō T. ( talk) 15:39, 3 June 2017 (UTC)
The current hybrid situation is not very good:
{{flag|Switzerland}}
{{flag|Niger}}
{{flag|Nepal}}
{{flag|Monaco}}
{{flag|France}}
We should remove those NBSPs at Nepal & Switzerland flags, or use the aligning method as a default. Maiō T. ( talk) 11:11, 4 June 2017 (UTC)
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 changes
Problems
Changes this week
Meetings
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
19:04, 5 June 2017 (UTC)
var customizeToolbar = function () {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
buttonId: {
label: 'Nowrap',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/5e/Button_template_join.png',
action: {
type: 'encapsulate',
options: {
pre: '{{nowrap|',
peri: '',
post: '}}'
}
}
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
buttonId: {
label: 'Uncertainty',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/94/Button_template_dev.png',
action: {
type: 'encapsulate',
options: {
pre: '{{±|',
peri: '',
post: '}}'
}
}
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
buttonId: {
label: 'Small',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/58/Button_small.png',
action: {
type: 'encapsulate',
options: {
pre: '{{small|',
peri: '',
post: '}}'
}
}
}
}
} );
};
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */
if ( $.inArray( mw.config.get( 'wgAction' ), 'edit', 'submit' ) !== -1 ) {
mw.loader.using( 'user.options' ).then( function () {
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {
$.when(
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready
).then( customizeToolbar );
}
} );
}
(This discussion was moved from the Reference Desk/Computing, where I started it by mistake- darthbunk pakt dunf t) Hi, I am wondering if someone knows an easy and fast way (a bot?) to correct Paulin Martin's name in the bblg footnotes of literally hundreds of articles ( /info/en/?search=Special:WhatLinksHere/Paulin_Martin) where it is erroneously spelled Jean-Pierre-Paul Martin? The most simple way would be to change it to the form it has on books i.e Jean P.P. Martin or even more simply J.P.P. Martin. [D 1] Thanks. darthbunk pakt dunf t 20:58, 5 June 2017 (UTC)
Hi, I renamed Nuestra Señora de Encarnación today (removing Spanish Ship from the title). The original (and wrong) title was displaying correctly with Nuestra Señora de Encarnación only in italic. But now, the template italic title I had put on the page is overriden by a DISPLAYTITLE somewhere... but I can't find it. If someone could fix that, I'd be grateful. Thanks in advance.darthbunk pakt dunf t 22:46, 6 June 2017 (UTC)
|display title=
param.
Ppp
ery
00:07, 7 June 2017 (UTC)
Could somebody with more expertise in table coding than I have take a look at Academy of Canadian Cinema and Television Award for Best Live Action Short Drama?
For reasons I've never really understood, the table code I used to format the pages always required me to set the rowspan number for the first column one higher than the number of rows I actually wanted that header to span — if there were five nominees for the award in a given year, I had to set the year column's rowspan number to 6, not 5, for the table to work correctly. In some years, however, I needed to include a single row to indicate that the award was not presented that year so go to this other article instead — for those instances, rowspan=2 formerly worked correctly, but something appears to have changed: the box around that text now occupies about half of the "row" for its year, leaving weird blank spaces scattered throughout the table and stuttering the right margin. But neither changing the rowspan on the year header from 2 to 1 nor changing the rowspan on the content line from 1 to 2 actually fixes the issue; doing either of those things just borks the table even worse.
So does anybody know how to fix this? Or what it is about this table code that made me have to set the rowspan numbers one higher than the number of rows being spanned, even though I haven't had to do that in most other tables on most other articles? Bearcat ( talk) 06:22, 7 June 2017 (UTC)
Is there some way to make the "Revision history statistics" link go to this tool rather than this tool? Beyond My Ken ( talk) 03:26, 7 June 2017 (UTC)
I unchecked the "Temporarily disable the visual editor while it is in beta" option in preferences to turn Visual Editor on for a while. But now I can't turn it off! It's stuck. Can anyone help? SharkD Talk 23:54, 5 June 2017 (UTC)
Is it possible to create a chart like {{
Game of Thrones ratings}} in Vega or with
Module:Chart, without any odd spacing issues? EasyTimeline is problematic since the y-axis only allows integer spacings and is therefore inflexible since 0.1 spacings are better for some of the bar charts. (The module used to create those charts,
Module:Television ratings graph, can convert the values to thousands but it would be preferable not to so as to remain consistent with other data.)
—
Jc86035 (
talk) Use {{
re|Jc86035}}
to reply to me
07:59, 8 June 2017 (UTC)
As a Wikiproject we use the template {{location map~|Dorset|label =|mark = |position = |lat = |long = |caption =|float = |marksize = }} to add icons to this map Wikipedia:WikiProject Dorset/Map. Is there anyway a parameter can be added so that, when hovering the cursor over the icons, the corresponding article names are revealed? There is currently an option to label but because it is permanent, using it creates a mess. If this isn't the right place for such a question, please can someone let me know where is. Thanks-- Ykraps ( talk) 07:02, 8 June 2017 (UTC)
|link =
to make clickable links to the articles. It will depend on browser and user settings what happens when you hover over the link.
PrimeHunter (
talk)
08:04, 8 June 2017 (UTC)
|label=HOVERTEXT
and |position=none
to the parameters and then it should work. --
WOSlinker (
talk)
12:33, 8 June 2017 (UTC)
Wikipedia is forcing HTTPS with protocol relative URLs, even when the underlying URL doesn't support HTTPS. Example:
This is breaking untold 10s or 100s of thousands of links. See the messed up American rotation. It also makes using protocol relative URLs useless, in essence Wikipedia is saying we don't support protocol relative URLs. WP:PRURL has some past discussions about PRURLs on certain sites, but I can't find anything about forcing HTTPS. It looks like we need to convert all the PRURLs to https/http as appropriate. Comments, thoughts? -- Green C 15:14, 8 June 2017 (UTC)
Sometimes I come across usernames made all of hexadecimal digits and colons, e.g. 2601:584:100:E310:51CC:3CBD:F2D2:F25 . This example made no sense when I tried to decode it, treating it as hexadecimal codes for Unicode characters, whether as big-endian or as little-endian. What are such usernames? Anthony Appleyard ( talk) 05:05, 7 June 2017 (UTC)
Wouldn't it make sense to globally (meaning for all wikis) add the "upright" option for embedding images with the corresponding tool in the "regular" 2010 vector editor toolbar? This function is used actually not so rarely and so a default function could be quite useful I think. What is your view?-- Hubon ( talk) 22:42, 5 June 2017 (UTC)
|upright
option sets the width to 75% of the |thumb
width (set by user preference, or 220px for logged-out users), and used with a value sets a scale factor - so |upright=1.25
increases the width by 25%. But it's based purely on width - image height cannot be set directly, it is scaled by the same factor as the width. An image whose natural size is 360x640, scaled |upright=0.75
, will be displayed taller than an image whose natural size is 960x1280 scaled to the same factor: both will be displayed 165px wide. Square bounding boxes, on the other hand, would have set the longer dimension - whether that be width or height. --
Redrose64 🌹 (
talk)
23:35, 7 June 2017 (UTC)
|upright
was actually taken. The first replacement option has also been rejected, but the need for a better solution doesn't invalidate the decision to deprecate |upright
.
Whatamidoing (WMF) (
talk)
04:19, 9 June 2017 (UTC)So... following this discussion, at least my own user pages were in fact indexed by google. Is... there a particular reason for this? I thought userspace and draftspace were invisible? TimothyJosephWood 22:29, 4 June 2017 (UTC)
<head>...</head>
and <meta>
tags are not whitelisted. As far as I am aware, the only HTML tags that are whitelisted are those that are normally found between <body>...</body>
tags - and not all of those, either; the most familiar examples of not being whitelisted are <a>...</a>
and <img />
. --
Redrose64 🌹 (
talk)
09:46, 5 June 2017 (UTC)
<link>
and <meta>
are not permitted.
PrimeHunter (
talk)
10:41, 5 June 2017 (UTC)
<meta />
is generally not permitted and renders as plain text: <meta />. But <meta itemprop="test" content="test" />
is permitted and added to the html instead of rendering here: . <link />
is generally not permitted and renders as plain text: <link />. But <link itemprop="test" href="test" />
is permitted and added to the html instead of rendering here: .
PrimeHunter (
talk)
11:09, 5 June 2017 (UTC)
__INDEX__
until I changed it now. Templates are indexed anyway so it doesn't matter. The {{
WikEd}} documentation is in noinclude tags so it had no effect on pages transcluding {{
WikEd}}, but userspace pages transcluding
User:Cacycle/wikEd template were indexed. This is an unexpected effect for the users so I have coded the page to only add __INDEX__
in Cacycle's userspace.
[72]
PrimeHunter (
talk)
14:32, 5 June 2017 (UTC)
__INDEX__
in userspace does switch off the light. The default for English Wikipedia userspace is for MediaWiki to automatically add the html
noindex to the page with <meta name="robots" content="noindex,follow"/>
. This always happens if the page doesn't have __INDEX__
in the wikitext. The effect of __INDEX__
in userspace is to remove the default noindex tag. There is no "index tag" in html to say you allow indexing. It's assumed to be allowed when there isn't a noindex. It doesn't matter in userspace whether there is a __NOINDEX__
or nothing. But as Redrose64 says, if a page has been indexed by a search engine when it was allowed then it remains indexed by that search engine until it visits the page again and dicovers indexing is now disallowed.
PrimeHunter (
talk)
09:58, 6 June 2017 (UTC)There is an AfD here hinging on the question of whether non-encyclopedic pages can be retained in mainspace as a technical workaround. It's not clear yet how the community feels about this, but it is clear that more attention is needed to the matter. — swpb T 12:47, 9 June 2017 (UTC)
Since Mr.Z-man has been gone for a while: when closing as "redirect" (and presumably "delete and redirect", which isn't available to me as a non-admin) for a page that's already a redirect, the script will apply the effect of the close to the redirect target - see this for example. I think it's because when the script was written, the URL you'd get when visiting a redirect was the title of the redirect, whereas now it's the title of the target article. I don't know Javascript, so I'm not sure why this is and how to fix it; could someone see what can be done? My thought is to check if the article on which the script is about to carry out the task is the same as the one it's meant to be for, but I'm not sure how delete-and-redirect would work after that. ansh 666 04:00, 6 June 2017 (UTC)
A user is unable to create an account on Commons due to a range block. I would like this user to be able to create an account, and I provide IP block exempt. Is this possible? See User talk:Xandtha, c:User talk:101.127.231.19. Magog the Ogre ( t • c) 03:25, 9 June 2017 (UTC)
After finding out I could save filters on Recent Changes. I had the namespace set to "Article", but sometimes when I click "Show" it automatically sets the namespace to "all" and gives me changes for non-articles too. (but it does follow my filter) So the question either is "what's causing the bug" or "how do I get around the bug". -- MrHumanPersonGuy ( talk) 00:23, 10 June 2017 (UTC)
Is it possible to find out which articles Wikipedia thinks I have reviewed for GA? When I start a new review, it says 39 on the WP:GAN page, but this appears to be about 6 more than I think I have done. Bob1960evens ( talk) 12:32, 9 June 2017 (UTC)
{{
GA nominee}}
template; the other is people attempting to manually update pages that should be left for Legobot, which becomes confused, and can double-count an action. --
Redrose64 🌹 (
talk)
22:44, 9 June 2017 (UTC)
Is anyone maintaining the templatecount tool on Tool Labs?
Jc86035 (
talk) Use {{
re|Jc86035}}
to reply to me
15:27, 10 June 2017 (UTC)
See this edit. Where I wrote
[https://en.wikipedia.org/?title=User_talk:King_of_Hearts&diff=prev&oldid=783623376 your comment to {{U|King of Hearts}}]
the rendered text shows the link ending after "to", and the "King of Hearts" part not being in the link. Is this a problem with how the template is defined, or just working as expected? -- RoySmith (talk) 15:36, 10 June 2017 (UTC)
{{
U|username}}
generates a link to the user, e.g. {{
U|RoySmith}}
produces
RoySmith. The parser is doing its best to guess what you wanted, so giving you both links, split at the point of impossibility. It's not just a MediaWiki thing, HTML does not provide a way to have a link somehow embedded inside a link. I'm not sure about "working as expected", as it's essentially invalid markup, but it's certainly working about as well as it could ever hope to work. You can use templates inside external link wiki markup, but they can't generate anything which would be invalid as contents of a HTML <a>
element.
Murph9000 (
talk)
16:50, 10 June 2017 (UTC)
<div>
<a href="(url for markasread)">
<div>
<div>
<div>
Example mentioned you on <strong>(pagename)</strong> in "<strong>(section name)</strong>".
</div>
First part of post...
</div>
<div>
<div>
<a href="(url to user page)">Example</a>
</div>
<div>
<a href="(url of diff)">View changes</a>
</div>
</div>(time)
</div>
</a>
</div>
<a>...</a>
element encloses a <div>...</div>
that ultimately contains two more <a>...</a>
elements. --
Redrose64 🌹 (
talk)
22:26, 10 June 2017 (UTC)
Transparent, but there must be no interactive content descendant.[1] [2] HTML5.1 strengthens that to
Transparent, but there must be no interactive content or a element descendants.[3] [4] The other fork of the standard similarly restricts it, currently with the stronger restriction from HTML 5.1. [5] Murph9000 ( talk) 23:49, 10 June 2017 (UTC)
References
In February of 2016 the Wikimedia foundation started sending information to all of the websites we link to that allow the owner of the website (or someone who hacks the website, or law enforcement with a search warrant / subpoena) to figure out what Wikipedia page the user was reading when they clicked on the external link.
The WMF is not bound by Wikipedia RfCs, but we can use an advisory-only RfC to decide what information, if any, we want to send to websites we link to and then put in a request to the WMF. I have posted such an advisory-only RfC, which may be found here:
Wikipedia:Village pump (policy)#RfC: Wikimedia referrer policy
Please comment so that we can determine the consensus of the Wikipedia community on this matter. -- Guy Macon ( talk) 21:45, 10 June 2017 (UTC)
Before 2011, Wikipedia was an HTTP site with full URLs sent in the referrer. In 2011, Wikipedia added support for Hyper Text Transfer Protocol Secure (HTTPS). Users who accessed Wikipedia with HTTP still sent full URLs in the referrer. Users who accessed Wikipedia through HTTPS and clicked on an HTTPS external link also sent full URLs in the referrer. Users who accessed Wikipedia through HTTPS and clicked on an HTTP external link sent no referrer information. In 2015, Wikipedia stopped offering HTTP and only offered access to the site with HTTPS.It's not like this is some kind of revelation; what has changed is that we're now aware that spammers and government agencies are aggressively harvesting referred data. ‑ Iridescent 00:47, 11 June 2017 (UTC)
Does anyone experience 'script hickups' with a.o. Twinkle? Sometimes when I load a contributions page I do not have the 'more' and 'TW' dropdown menus (vector skin / Chrome browser), and one of my user scripts is sometimes not loading through to the next part it needs to execute. Things then tend to work after reloading the page one or two times. -- Dirk Beetstra T C 06:48, 7 June 2017 (UTC)
mw.loader.using( 'mediawiki.something' )
wrapper, causing it to intermittently fail if it happens to complete loading prior to something else which loads the necessary module. Some modules were loaded by default until relatively recently, and scripts which have not been updated can fail now that they are not being automatically pre-loaded. Here's a generic outer wrapper for scripts which isolates them from global namespace, loads various MW modules, and waits for document ready:/**
* Example generic script wrapper, with basic debugging
*/
( function ( mw, $ ) {
'use strict';
var FILE = 'User:Example/example.js';
console.info( FILE, 'starting' );
$.when(
mw.loader.using(
// Modules your code uses, for example:
'mediawiki.Title',
'mediawiki.Uri',
'mediawiki.util',
),
$.ready
).done( function () {
console.log( FILE, 'ready' );
// Your code here
// Listed modules have been loaded
// Document is ready (DOM fully loaded)
console.log( FILE, 'done' );
} );
} )( mediaWiki, jQuery );
$.ready
, for example loading other scripts should not wait for document ready (unless those scripts are broken and that is being used as a workaround for them).
Murph9000 (
talk)
05:47, 10 June 2017 (UTC)
load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:176 ReferenceError: addPortletLink is not defined ReferenceError: addPortletLink is not defined
- at eval (eval at <anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:2:140)
- at HTMLDocument.<anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:177)
- at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at Object.add [as done] (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at jQuery.fn.init.jQuery.fn.ready (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)
- at jQuery.fn.init (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:41)
- at jQuery (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:1)
- at load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:177
- at eval (eval at <anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:2:5)
at eval (<anonymous>)
index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript:179 Uncaught TypeError: Cannot read property 'hasClass' of null
- at index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript:179
- at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at Object.fireWith (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:46)
- at Object.fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:175)
- at HTMLDocument.eval (eval at <anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:1), <anonymous>:1:9452)
- at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at Object.fireWith [as resolveWith] (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:46)
- at Function.ready (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)
at completed (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)
addOnloadHook( … addPortletLink() )
at the bottom of your vector.js. I suggest replacing it with the following:$.when(
mw.loader.using( 'mediawiki.util' ),
$.ready
).done( function () {
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Contributions' ) {
mw.util.addPortletLink(
'p-cactions',
'javascript:hidetopcontrib()',
'show/hide top',
'ca-hidetop',
"Show/hide pages for which you're the top contributor"
);
}
// You can use this loader / ready wrapper for any additional
// mw.util.addPortletLink() calls in the future.
} );
addPortletLink()
instead of a wrapped mw.util.addPortletLink()
. If I was going for a more complete overhaul, I'd also wrap the function above it in a global immediate function, and change from a javascript:hidetopcontrib()
URL to a click event handler. The minimal overhaul addresses the things which are quite likely to be problematic, the other bits are less likely to be an immediate issue.addOnloadHook()
and addPortletLink()
will be going away at some point (see
mw:ResourceLoader/Legacy JavaScript), and they have been deprecated for quite a while now. Cautious updating is perfectly reasonable, but you'll need to deal with those eventually (could be as soon as the next big update, could be longer, I'm not certain of the timescale).
Murph9000 (
talk)
05:39, 11 June 2017 (UTC)My most recent changes to the following 2 articles fail to reflect:
Am I doing something wrong? → Wordbuilder ( talk) 18:24, 11 June 2017 (UTC)
|accessdate=
and |access-date=
- the message does not concern the parameter name, but the value that is being fed in. --
Redrose64 🌹 (
talk)
18:29, 11 June 2017 (UTC)It was suggested at this discussion that VPT may be a better venue, so here goes. The average views that the main page receives has shown an odd pattern over the last few months. The views average ~25M a day till 18 March, then 20M a day till 24 May, and 16M a day after that; and the declines happen stepwise, seemingly separate from the day-to-day variation. Personally, I find this quite strange. Is this an artifact of the counter? Or is this something else? Vanamonde ( talk) 02:25, 12 June 2017 (UTC)
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 changes
Changes this week
Meetings
Future changes
&fuzzy=1
to the end of the web address when looking at
Special:Undelete.
[78]
[79]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:29, 12 June 2017 (UTC)
When Wikipedia previews your edit on mobile, there is a text box with your edit summary. It has "example: Fixed typo, added content". This leads to over 400,000 actions on the edit filter, and that's just "Fixed typo", "added content", or two word edit summaries. There is and will be much more, including "content", "added facts", etc. The majority of these canned edit summaries are unconstructive edits. This misleads people, which is what I hate. So instead of making this problem worse, can someone change "Example: Fixed typo, added content" to "Describe your changes" or something? That is what it reads on visual editor: "Describe your changes". That is why there is (almost) no canned edit summary issues on Visual editor. Someone please make the mobile edit look that way. Wikipedia will look significantly better because of less misleading edit summaries. Is there anywhere else I can put these comments, too? What I suggested here will help Wikipedia look so much better. Examples
https://en.wikipedia.org/?title=Thomas_M%C3%BCller&diff=783988446&oldid=783362248
https://en.wikipedia.org/?title=Captain_Underpants&diff=784001544&oldid=783954424
https://en.wikipedia.org/?title=In_the_House_(TV_series)&diff=784067332&oldid=784029543
Wikipedia vandalism may still exist after these changes are made, but at least they don't have these edit summaries. No more "facts" "content" etc. 68.228.254.131 ( talk) 05:38, 7 June 2017 (UTC)
The tool seems to be broken and now it's a bit harder to check eligibility for DYK articles, particularly those that were expanded. Could someone try and fix the problem? The tool's creator hasn't been active much lately. Narutolovehinata5 t c csd new 00:10, 13 June 2017 (UTC)
Is there any way the "thank" feature can be ghosted after it's used? I'm guilty of forgetting I already thanked someone for an edit and end up thanking them 2ce or more.
Atsme
📞
📧
14:56, 14 June 2017 (UTC)
On any article with <math>
tags, I see SVGPNG images, despite having "MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools)" selected in my preferences. The image that displays has the class "mwe-math-fallback-image-inline", suggesting that I'm seeing the SVGPNG fallback decribed in the settings. I don't see why I should be though: there are MathML tags on the page too, with display: none
set and the class mwe-math-mathml-a11y
. If I get rid of that, then I can see the MathML content absolutely fine. Why are these classes being applied?
User:GKFX
talk
14:19, 13 June 2017 (UTC) (edited 21:43, 13 June 2017 (UTC))
/* hack for svg -> mathml in firefox */
.mwe-math-fallback-image-inline {
display: none !important;
}
.mwe-math-mathml-a11y {
display:inherit;
position: inherit;
clip:inherit;
width:inherit;
height:inherit;
opacity:inherit
}
<dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" >
See https://www.mediawiki.org/wiki/Extension:Math#Viewing_math or https://phabricator.wikimedia.org/T147319 . — Preceding unsigned comment added by 197.218.84.235 ( talk) 15:07, 14 June 2017 (UTC)
Sorry to bother you again Redrose, but would you mind taking a look at this technical issue?
1 | 2 |
---|---|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
A |
B | |
C | D |
E | F |
Per Help:Table#mw-datatable, this style of table formatting allows for row highlighting, yet there is a slight problem concerning the rowspan option. If one hovers cell C then cell D is also highlighted. Yet highlighting the rowspanned Lorem ipsum text only highlights cell A not B. I may be missing something here. I'd much appreciate your thoughts on this. Warm regards.-- Nevé – selbert 18:54, 15 June 2017 (UTC)
rowapan=
attribute doesn't actually merge rows; the Lorem cell still belongs to just one row. This should be clear from the markup: each row has two cells, except for the middle one which has just one cell - in the second column. --
Redrose64 🌹 (
talk)
21:25, 15 June 2017 (UTC)
1 | 2 |
---|---|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
style="vertical-align:top"| A B |
C | D |
E | F |
| {{Lorem ipsum}} ||style="vertical-align:top"| A<hr/>B
User:GKFX
talk
23:38, 15 June 2017 (UTC)
[ https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy ] says:
Other ways to set a referrer policy:
This comes from [ https://www.w3.org/TR/referrer-policy/ ],section 4.3.
I am trying to figure out which browsers allow setting a referrer policy on a standard HTML A link, but I can't seem to find any references that say which browsers support it. Does anyone know the answer? -- Guy Macon ( talk) 17:15, 15 June 2017 (UTC)
Are there guidelines about nested categories?
I was looking at Category:Assassinated British politicians and see it has 4 sub categories including Category:Assassinated English politicians. The 4 sub categories only have around 50 entries which along with the ~10 at the top level would comfortably fit onto one page.
Is there a way of getting an exploded view of all the articles in one list?
Is it right that a person should be both in a sub-category and in the top level category (eg Richard Sharples)?
-- SGBailey ( talk) 07:04, 16 June 2017 (UTC)
Hi all, not sure if anyone else has experienced this but when trying to log in on a new computer all my 2FA tokens are saying "Invalid". This has also happened to Chrissymad, and as she kept her scratch codes (unlike me, derp) she tried using them to log in, however they too are apparently "Invalid" ~ TNT Public 13:13, 16 June 2017 (UTC)
Upgrade MySQL Schema Run the storage upgrade script to upgrade databases (host "m3-master.eqiad.wmnet" is out of date). Missing patches: phabricator:20170528.maniphestdupes.php, phabricator:20170612.repository.image.01.sql. Run this command: phabricator/ $ ./bin/storage upgrade
Google Authenticator --> Settings --> Time correction for codes --> Sync now
~
TNT
Public
14:11, 16 June 2017 (UTC)Is itpossible for someone to pop over to my talk and give an opinion? Much appreciated if possible. Cheers! — O Fortuna semper crescis, aut decrescis 15:44, 15 June 2017 (UTC)
Greetings, When I added the "Subject bar" template to article University of Notre Dame, the override "v-search" still defaults to article name, and is ignoring "South Bend" search value. Wondering if there is something that I'm missing? Regards, — JoeHebda • ( talk) 14:53, 16 June 2017 (UTC)
Deletion nominations originating from Twinkle are not appearing in the page log. For instance Endrit Braimllari is currently at AFD and the nomination is listed in the logs. However, Karl Holluba, also currently at AFD, is not listed in the logs. The difference is that the first example was nominated through Page Curation and the second one was nominated through Twinkle. The same thing is happening with CSD and Prod, and possibly other Twinkle processes. Is this a bug with Twinkle, with the Wikimedia software, or with the templates being used? In other words, where is the best place to report it? Spinning Spark 17:42, 15 June 2017 (UTC)
Before an editor made this edit, the references displayed in the Notes okay, now they don't. Reflist 30em looks okay. Some hidden control characters lurking somewhere? CV9933 ( talk) 19:18, 18 June 2017 (UTC)
Why Periodic table legend displays improperly on mobile view (right border is not complete and box is not centered)? -- 5.43.106.119 ( talk) 21:34, 17 June 2017 (UTC)
At Wikipedia:Village pump (policy)#A solution that satisfies privacy and GLAM requirements? (which is a section of Wikipedia:Village pump (policy)#RfC: Wikimedia referrer policy I have an editor who claimed without evidence that a particular feature is supported only by the chrome browser. my research suggests that it is supported by all major browsers, but the ref I am basing that on is is to searchengineland, and I really am hoping to find a better source. I could really use some technical help here.
In particular, if Wikipedia puts the following in the head of the HTML...
<meta name="referrer" content="same-origin">
...thus sending no referrer information when a user clicks on a link to a non-Wikipedia page, and then Wikipedia adds the following to selected links...
<a href="http://example.com" referrerpolicy="always">
..to override the meta tag in the head, what browsers support this?
According to [ https://caniuse.com/#feat=referrer-policy ] Referrer Policy is supported by Firefox, Chrome, Safari, Opera, iOS Safari, Android Browser, and Chrome for Android and (maybe) Microsoft Edge. (It is not supported by Internet Explorer, but because Internet Explorer doesn't support the referrer meta tag or referrerpolicy on the link, IE will always have the default HTTP/HTTPS behavior no matter what we do with our meta tags and links.)
According to [ http://searchengineland.com/need-know-referrer-policy-276185 ], There are many ways you can deliver the referrer policy:
I have searched and searched and cannot find a shred of evidence that this is only supported by chrome, but I am also lacking good, strong evidence that it is supported by other browsers.
Help me, Obi-Wan Kenobi! You're my only hope!! :) -- Guy Macon ( talk) 13:35, 17 June 2017 (UTC)
Wikipedia:Village_pump_(technical)#Other_ways_to_set_a_referrer_policy — TheDJ ( talk • contribs) 11:18, 19 June 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
Changes this week
irc.wikimedia.org
has to be rebooted. This will probably happen on 21 June. It may be postponed. Some tools use this to get the recent changes feed. They will not work when it is down.
[89]Special:PageData
will be an entry point for machine-readable page data.
[90]Meetings
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:44, 19 June 2017 (UTC)
While it's fairly easy to match a string in regex, it's quite hard to not match it.
For instance, let's say <ABC> marks the start of a string and <XYZ>, and I want to match the first part in
How do I do that? My mind thinks <ABC>[^(<XYZ>)]+<XYZ> (e.g. match <ABC>, match NOT <XYZ>, match <XYZ>), but that's not valid regex. Headbomb { t · c · p · b} 15:31, 19 June 2017 (UTC)
.
should work. If you want to grab all text up to the first instance of <XYZ>
, use \<ABC\>.*?\<XYZ\>
. If you want to grab all text up to the last instance of <XYZ>
(including all intervening <XYZ>
s), use \<ABC\>.*\<XYZ\>
, without the ?
from my first example. Of course, the best practice is, if possible, try to eliminate the use of .
by enumerating all the potential characters. .
can also be set to either include or exclude \r\n
characters, depending on your application. ~
Tom.Reding (
talk ⋅
dgaf)
15:50, 19 June 2017 (UTC)doi:
. The second matches everything first and greedily, so the negative lookahead at the end doesn't matter. The third pattern matches greedily, which may or may not be what you want; you can use .*? for a non-greedy match.((?!<\/ref>).)*
. Warning: I didn't test that; just something off the top of my head. But checking for a trailing sentinel value (as you've done with the positive lookahead assertion, and Tom.Reding did with his example) is typically easier to understand. As long as there are no nesting issues it is often good enough combined with a non-greedy match.
isaacl (
talk)
20:41, 19 June 2017 (UTC)
If you want to get a better insight into regex, I can highly advise https://regex101.com It's a great site to validate and debug various regex flavors. — TheDJ ( talk • contribs) 23:22, 19 June 2017 (UTC)
I can't log in with Firefox anymore.
The WP login window keeps giving me this message:
"There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again."
I followed those instructions, but I keep getting the same message.
So I loaded chromium, and was able to log in fine with that.
But I still can't log in with my Firefox browser.
Please help! The Transhumanist 03:50, 20 June 2017 (UTC)
Is there a way to search edit summaries (not the entire edit histories), not just for one article, but for all articles? Thanks. SharkD Talk 14:35, 19 June 2017 (UTC)
Why infobox titles in mobile view, e.g. for article YouTube (uses {{ Infobox website}}, leads directly to {{ Infobox}} i.e. Module:Infobox), display uncentered and not enlarged? -- 5.43.106.119 ( talk) 21:34, 17 June 2017 (UTC)
<table><caption>YouTube</caption><tr><td>Video hosting service</td></tr></table>
:Video hosting service |
.content table caption { display:block; text-align:left }
This page contains discussions that have been archived from Village pump (technical). Please do not edit the contents of this page. If you wish to revive any of these discussions, either start a new thread or use the talk page associated with that topic.
< Older discussions · Archives: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AV, AW, AX · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214
A year ago, User:Pldx1 apparently accidentally blanked most of 2007's Deletion review archive as part of a campaign for getting pages off of Category:Pages where template include size is exceeded. I restored some of them, but some cannot be restored due to the presence of links to spam-blocked sites in the templates; January has multiple blocks, while February and April have one each. I will split to fix the template overflow issue, and I put in requests to remove the sites that are dead, but is there any way to get the spam-blocked templates back? I can't just get the pages unblocked, since I'll have to create new ones, and all of the ones blocking January definitely have to stay on the list. SilverbackNet talk 01:44, 3 May 2017 (UTC)
There are many blacklisted links on those pages, which only serve as convenience for the discussion. The domains/links have since been blacklisted. Of those, only two are now sites that are 'dead'. For me, the better solution is to disable the linking to all the blacklisted domains in those discussions - they do not serve much purpose (except for the very few cases where editors want to follow a 10-year old link, in which case they will have to copy-paste the url). (note: generally links in the content namespaces are removed, outside of that they are left as is as many are in archived pages which are not edited that much anymore (they are not re-added anyway). Every now and then there are archiving problems (as witnessed by the blacklist hits by our archiving bots), which I try to resolve in the same manner). -- Dirk Beetstra T C 07:46, 4 May 2017 (UTC)
By the way, I think that rollback would work. 'Breaking' the pages in two will be problematic, as that would need page-creation, and hence fresh addition of the links. -- Dirk Beetstra T C 07:47, 4 May 2017 (UTC)
Currently, MediaWiki keeps a tally of every registered user's edit count in the database. This edit count is used for various things like figuring out when a user is auto-confirmed or extended-confirmed. It is also used by various user scripts like User:PleaseStand/userinfo.js. Currently, this edit count is incremented every time a user does any of the following:
The edit count is not incremented for the following:
Should the MediaWiki software be modified to count any of those actions as "edits"? FWIW, the XTools Edit Counter counts page moves and automatic redirect creations as "edits", which is why its edit counts don't match those of MediaWiki. Ryan Kaldari (WMF) ( talk) 22:15, 2 May 2017 (UTC)
I need to determine the edit/move protections on a page via the API (e.g., office, full, semi, pending-changes, etc).
It is not easy to do via category memberships. For example, although there is a top-level "Category:Wikipedia semi-protected pages", beneath that there is also a "Category:Wikipedia_indefinitely_semi-protected_pages" and many other variations. When recursing through to find sub-categories, you quickly encounter sub-categories that contain pages that aren't under protection, and a greater depth, almost listing every category on the encyclopedia.
I haven't been able to find an efficient way to do this on a per-page basis. Could I download the entire list of protected pages from the "Special:" function? Probably, but that seems like overkill for a quick task. West.andrew.g ( talk) 02:21, 7 April 2017 (UTC)
{{
pp-semi}}
. For example,
User:Redrose64/Sandbox12 is semi-protected until 09:28, 7 May 2017 (UTC), but is not in any "protected pages" cats. --
Redrose64 🌹 (
talk)
09:30, 7 April 2017 (UTC)Is there any Global watchlist for all wikimedia projects? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 08:36, 7 May 2017 (UTC)
Which one of the following is the correct dash?
Maiō T. ( talk) 19:11, 6 May 2017 (UTC)
The next to last editors button on the diff page used to be broken in that it was always visible, but only showed the most recent editor no matter what page it was clicked on. Now it always show no difference, even though when you show the changes manually, it is obvious that changes were made. Natureium ( talk) 18:37, 26 April 2017 (UTC)
Why are cats not visible in mobiles? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 12:21, 7 May 2017 (UTC)
Hello. I install Mediawiki 1.28.2 on XAMPP. I create this template. But when I try use I see that there is a problem. When I use settlement_type parametr then there is occur additional
</th></tr>
code.
Example 1 (without problem) :
{{Infobox settlement | official_name=Istanbul | native_name=''İstanbul'' | native_name_lang=tr | image_skyline=Istanbul collage 5j.jpg | imagesize=270px | image_alt=See caption | image_caption=Clockwise from top: View of the [[Golden Horn]] between [[Karaköy]] and [[Sarayburnu]] within the [[Historic Areas of Istanbul|historic areas]]; [[Maiden's Tower]]; a [[Istanbul nostalgic tramways|nostalgic tram]] on [[İstiklal Avenue]]; [[Levent]] business district with [[Dolmabahçe Palace]]; [[Ortaköy Mosque]] in front of the [[Bosphorus Bridge]]; and [[Hagia Sophia]]. }}
Example 2 (with problem) :
{{Infobox settlement | official_name=Istanbul | native_name=''İstanbul'' | native_name_lang=tr | settlement_type=[[Metropolitan municipalities in Turkey|Metropolitan municipality]] | image_skyline=Istanbul collage 5j.jpg | imagesize=270px | image_alt=See caption | image_caption=Clockwise from top: View of the [[Golden Horn]] between [[Karaköy]] and [[Sarayburnu]] within the [[Historic Areas of Istanbul|historic areas]]; [[Maiden's Tower]]; a [[Istanbul nostalgic tramways|nostalgic tram]] on [[İstiklal Avenue]]; [[Levent]] business district with [[Dolmabahçe Palace]]; [[Ortaköy Mosque]] in front of the [[Bosphorus Bridge]]; and [[Hagia Sophia]]. }}
How I can fix it? -- Drabdullayev17 ( talk) 06:37, 7 May 2017 (UTC)
Why doesn't mobile display coords in all situations that desktop does? Wanting to find the location of the
Battle of the Crater when visiting the area today, I loaded the article, but to my surprise it had no visible coords.
/info/en/?search=Battle_of_the_Crater has coordinates at top (as if they were done with |display=inline
), but
https://en.m.wikipedia.org/wiki/Battle_of_the_Crater has no coordinates.
Nyttend (
talk)
02:12, 7 May 2017 (UTC)
{{coord|37.2183|-77.3777|region:US_type:event|display=title}}
For the last week or two I've been having an intermittent issue where overlong lines of text in the Wiki source code editor get hard-wrapped, turning a space into newline+space, which causes whatever was after that point in the line to turn into an indented block of text. This is on MacOS X (10.12.4) and Chrome (58.0.3029.81) if that makes a difference. Has anyone else been seeing this or is it just me? — Preceding unsigned comment added by David Eppstein ( talk • contribs) 00:28, 7 May 2017 (UTC)
When a redirect is being discussed, Template:Rfd is substituted per Template:Rfd/doc. When this is done, the redirect is intentionally broken while {{ Rfd}} is in use. Is that the best we can do? Would it be possible for a bot to message the user on their talk page when they use a redirect that is being discussed instead? Would it be worth doing? Thank you for considering this.-- John Cline ( talk) 00:47, 8 May 2017 (UTC)
Would there be a possibility to globally add the "upright" option for embedding images? I think this could in fact be useful since that function is used not exactly rarely. Thanks in advance for commenting, best-- Hubon ( talk) 20:51, 5 May 2017 (UTC)
upright
option at
Wikipedia:Extended image syntax#Size works in all Wikimedia wikis. Is it about adding the option in some editing tool?
PrimeHunter (
talk)
21:20, 5 May 2017 (UTC)
Hi, for those, who are on Facebook, I have founded Effectivity (Wikimedia) group, to share ideas, how to ease contributing to Wikimedia projects via technical tools and methodological ways.-- Juandev ( talk) 10:53, 8 May 2017 (UTC)
Birgit Müller (WMDE) 14:28, 8 May 2017 (UTC)
Hi there, I just have a quick question regarding x-tools. Why do some accounts show as having 0 edits and load in a matter of seconds when they in fact have thousands of edits and (in some cases) are admins? An example of this can be found here. Thanks for your time -- TheSandDoctor ( talk) 19:50, 8 May 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
Hide categorization of pages
in your watchlist preferences. You can turn off Expand watchlist to show all changes, not just the most recent
in your watchlist preferences. You can remove problematic categories from
Special:EditWatchlist/raw.
[1]Changes this week
Visual editing
and Source editing
instead of Switch to visual editing
and Switch to code editing
. This is because it was confusing when the menu said you could switch to the editor you were already using.
[3]Meetings
Future changes
-{
is used in
transclusions or
web addresses it has to be
escaped appropriately. You can use -<nowiki/>{
for transclusions and %2D{
in web addresses. A transclusion could for example be when you use -{
in a template: {{1x| sad :-{ face }}
. This is because of some code fixes to the
preprocessor and affects all wikis.
[6]
[7]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
02:25, 9 May 2017 (UTC)
I do a lot of disambiguation fixing and similar gnoming. Every once in a while, after fixing a bad link, I will get a "warning" that an edit has been reverted, with a message about adding spam or adding an incorrect genre. In fact, this message is intended for the previous editor who made to whichever edit I just made a link fix, whose addition was also reverted. I don't know whether the editor who actually made the offending edit also sees this warning, but I certainly don't need to see it. bd2412 T 02:26, 9 May 2017 (UTC)
Hi, is there something going on with the diff display? Over at Honeyguide, the following diff
https://en.wikipedia.org/?title=Honeyguide&curid=255432&diff=779422017&oldid=772944792
basically fails completely (to an embarrassing extent, to say the least). It's not been working specially well for a long while, but if it does this it really does need fixing as it's an important tool and at the moment not far off useless. Chiswick Chap ( talk) 20:47, 8 May 2017 (UTC)
Several months ago, I set up a "merge" tab (in Monobook) with the following code:
mw.util.addPortletLink('p-cactions', mw.config.get('wgScriptPath') + '/index.php?title=Special:MergeHistory&target=' + encodeURIComponent(mw.config.get('wgRelevantPageName')), 'Merge');
Later on, when I was no longer using this tab much, I added the beta feature "Compact language links". More recently, I noticed that the "merge" tab has disappeared, and that I can only bring it back by disabling the "Compact language links". Can someone come up with a better fix for the problem? עוד מישהו Od Mishehu 04:37, 9 May 2017 (UTC)
This is C&P'ed form the helpdesk where I originally posted it. I'm not sure if it counts as a bug, so bringing it up here first:
I've just noticed that a big chunk of my edits appear twice in my contributions list. It appears to be a very specific cut-off - I made an edit at 2027h 4th September 2015 which only appears once, but then the next edit made at 2029h 4th September appears twice - and this continues up until 23rd August 2016.
They only appear once in the article history though, so I presume it's an error in retrieving the data? Chaheel Riens ( talk) 13:39, 8 May 2017 (UTC)
- Wow, that's weird! Easy links to see this spanning date it stops.-- Fuhghettaboutit ( talk) 22:17, 8 May 2017 (UTC)
I half expected to get responses along the lines of "Oh yeah - known issue" etc - but the only response came from Fuhghettaboutit, and that implies that it's not been seen before. Chaheel Riens ( talk) 07:46, 9 May 2017 (UTC)
Has there been a change in how edits via the API are processed? Say I have a page with an out-of-date template transclusion (for example, a category page that contains {{
Category redirect}}
-- if the category has contents, the template will automatically categorize the page into
Category:Wikipedia non-empty soft redirected categories -- but if the contents are then recategorized, the template does not update until the page is edited again or a forcerecursivelinkupdate is performed). If I do a null edit on this page through the Web interface, the template updates and the inapplicable category is removed; but if I do a null edit through the API, nothing happens. At least until fairly recently, null edits through the API and through the Web interface worked the same way. --
R'n'B (
call me Russ)
19:25, 9 May 2017 (UTC)
Hello tech helpers. I was attempting to clean up the header template at the teahouse and was informed that the changes somehow made the "ask a question" gadget not function. I was not able to see anything in the old or new template that would have changed the gadget function. Any advice? Gtstricky Talk or C 14:58, 9 May 2017 (UTC)
This page purports to tell me how many new articles I have created. It doesn't say how it could have obtained such information. Is there some way to find a list that says WHICH new articles I created? Michael Hardy ( talk) 05:37, 9 May 2017 (UTC)
Thank you, @ Johnuniq: and @ Xaosflux:. Michael Hardy ( talk) 00:41, 10 May 2017 (UTC)
This has been happening sporadically (off/on) for the last year. It's been happening with more frequency this year, even though I pruned my watchlist in case having too many articles on it was the problem. Most recent example: one article on my watchlist (that I have been very actively involved in editing) was edited 3 times by one editor on "21 April", and by GreenC bot on 25 April -- but I did not receive emails about it. I only discovered the edits because I visited the article today (29 April 2017) and looked at its history. I double-checked my watchlist and, yes, the article is included in it.
I checked the Watchlist settings. It says:
In Preferences > Advanced options only the following are checked:
There's nothing in the options preventing my receiving email notifications. Pyxis Solitary ( talk) 09:56, 29 April 2017 (UTC)
After saving an edit in mobile, previously you would be sent to the section of the article that you were editing. This is good and convenient (though sometimes the way it loads means you end up with another section in the viewport, but that's a browser issue). Recently though it's been redirecting to the editor opening at that section, and the back button and the "cancel edit" button don't work. This is never what I want and makes it a huge pain to find my place again to carry on reading. I've found this happening in both Chrome and Firefox for Android. Hairy Dude ( talk) 19:51, 9 May 2017 (UTC)
I just got a Error: 503, Backend fetch failed which cleared itself after a few moments. I've saved details about the problem, should I report them, and if so where? Mathglot ( talk) 00:43, 10 May 2017 (UTC)
Sharing a little JavaScript snippet that advanced users may find useful. This adds a RC link with the beta ORES filters pre-configured, and is done in a way that makes it easy to adjust the individual params. I've omitted all the "hidexxx=0" params for brevity (so they will use the wiki's defaults), but you can easily add any you prefer to change, or any other ORES options. It would go in your common.js or skin.js, and needs the usual mw.loader and document ready wrapper around it. This is needed because the beta filters can't currently save your configuration, and it's annoying to reconfigure it every time (yes, browser bookmarks would work, but I prefer this).
mw.util.addPortletLink(
'p-interaction',
mw.util.getUrl('Special:RecentChanges', {
damaging: 'maybebad;likelybad;verylikelybad',
goodfaith: 'maybebad;likelybad;verylikelybad',
highlight: 1,
damaging__likelygood_color: 'c1',
damaging__maybebad_color: 'c3',
damaging__likelybad_color: 'c4',
damaging__verylikelybad_color: 'c5',
goodfaith__likelygood_color: 'c2',
goodfaith__maybebad_color: 'c3',
goodfaith__likelybad_color: 'c4',
goodfaith__verylikelybad_color: 'c5',
}),
'Recent changes (ORES)',
'n-recentchanges-ores',
'A list of recent changes in the wiki, with ORES filter enabled',
null,
document.getElementById('n-recentchanges').nextSibling
);
Murph9000 ( talk) 10:56, 10 May 2017 (UTC)
The Templates people said I should move this to PHAB. PHAB says I should try the Village Pump first. Therefore:
When I do a What Links here on Issik Qaghan or any page containing Template Göktürks I get everything in the template. The purpose of What Links Here is to find pages that say something about the base page. Things in the template usually say nothing about the base page, can be found from the template separately from What Links Here and make relevant pages hard to find. I often skip What Links Here rather than search 50 pages that are probably irrelevant. This make checking difficult and lowers the quality of our work. Would it be possible to make What Links Here point only to the template and not to the template contents? This would make important related pages easier to check and improve the quality of our work. Benjamin Trovato ( talk) 23:22, 8 May 2017 (UTC)
linksto:
like so:
10 results including a link to the page. --
Izno (
talk)
23:46, 8 May 2017 (UTC)importScript('User:PrimeHunter/Source links.js'); // Linkback: [[User:PrimeHunter/Source links.js]]
linksto
directive is an indexed one, which significantly speeds up most searching. Usually, adding the plain-text version (search parameter of simply "name_of_article") can also help to speed up searches. However, linksto
is case-sensitive, so perhaps that should be indicated to the user somehow. --
Izno (
talk)
12:10, 9 May 2017 (UTC)
linksto
automatically gets the correct case, but if users manually edit the search afterwards then they might write a wrong case. The regex insource
is also case sensitive by default and that can miss some pages if the feature is used on non-mainspace pages and a source uses a namespace alias or doesn't use standard capitalization of the namespace. I did make the initial letter case insensitive so [[example]] and [[Example]] are both found. The whole name could be made case insensitive with insource:/regexp/i
at
mw:Help:CirrusSearch#Insource but that is less efficient. It could also give false positives but that should be very rare when only pages with the correct link are searched. It still wouldn't catch namespace aliases like File/Image and Wikipedia/WP. There are other ways to fool the search like using underscores instead of spaces, or having spaces around the page name inside the link brackets. Some of these could be caught with more complicated regex but I'm not sure it's worth it.
PrimeHunter (
talk)
13:52, 9 May 2017 (UTC)
{{
Source links}}
. {{
Source links|Bagha Qaghan}}
produces
Source links which also omits
Orkhon inscriptions and other pages which only link via a used template. We could add {{
Source links}}
in
MediaWiki:Linkshere so it would show up next to "External tools: Show redirects only" at
Special:WhatLinksHere/Bagha Qaghan. insource
with regex is expensive and I don't whether the high visibility on all WhatLinksHere pages (except registered users with another interface language) would give performance problems. It starts by filtering with linksto
so I guess it's only a serious problem on pages with huge numbers of incoming links.
PrimeHunter (
talk)
21:50, 10 May 2017 (UTC)Read this in another language • Subscription list for this multilingual newsletter
Did you know that you can review your changes visually?
In visual mode, you will see additions, removals, new links, and formatting highlighted. Other changes, such as changing the size of an image, are described in notes on the side.
Click the toggle button to switch between visual and wikitext diffs.
The wikitext diff is the same diff tool that is used in the wikitext editors and in the page history.
You can read and help translate the user guide, which has more information about how to use the visual editor.
Since the last newsletter, the VisualEditor Team has spent most of their time supporting the 2017 wikitext editor mode which is available inside the visual editor as a Beta Feature, and adding the new visual diff tool. Their workboard is available in Phabricator. You can find links to the work finished each week at mw:VisualEditor/Weekly triage meetings. Their current priorities are fixing bugs, supporting the 2017 wikitext editor as a beta feature, and improving the visual diff tool.
A new wikitext editing mode is available as a Beta Feature on desktop devices. The 2017 wikitext editor has the same toolbar as the visual editor and can use the citoid service and other modern tools. Go to Special:Preferences#mw-prefsection-betafeatures to enable the ⧼Visualeditor-preference-newwikitexteditor-label⧽.
A new visual diff tool is available in VisualEditor's visual mode. You can toggle between wikitext and visual diffs. More features will be added to this later. In the future, this tool may be integrated into other MediaWiki components. [8]
The team have added
multi-column support for lists of footnotes. The <references />
block can automatically display long lists of references in columns on wide screens. This makes footnotes easier to read. You can
request multi-column support for your wiki.
[9]
Other changes:
<chem>
tags (sometimes used as <ce>
) for chemical formulas inside the visual editor.
[14]Control
+Shift
+K
on a PC, or Command
+Shift
+K
on a Mac. It is based on the keyboard shortcut for making links, which is Control
+K
on a PC or Command
+K
on a Mac.
[18]<ref>
tags and other types of wikitext syntax. You will be able to turn it on and off. It will first become available in VisualEditor's built-in wikitext mode, maybe late in 2017.
[19]&ooui=1
to the end of the URL, like this:
https://www.mediawiki.org/wiki/Project:Sandbox?action=edit&ooui=1 The old appearance will no longer be possible, even with local CSS changes.
[20]If you aren't reading this in your preferred language, then please help us with translations! Subscribe to the Translators mailing list or contact us directly, so that we can notify you when the next issue is ready. Thank you! User:Whatamidoing (WMF) ( talk) 19:18, 9 May 2017 (UTC)
Hi all, in the Wikipedia Library program at the Wikimedia Foundation we have been working with OCLC to make autofilled ISBN citations available, through using their WorldCat database. We have deployed the feature on all language Wikipedias: you can learn more about it on the Wikimedia blog: https://blog.wikimedia.org/2017/05/11/wikimedia-oclc-partnership/
Cheers, Jake Ocaasi (WMF) ( talk) 19:54, 11 May 2017 (UTC)
Could someone else please advise at User talk:Aetheling1125#Your signature? Thanks. Beeblebrox ( talk) 07:05, 12 May 2017 (UTC)
That is all. Thanks. -- Cwek ( talk) 07:12, 11 May 2017 (UTC)
When I woke up this morning and checked in with a few ongoing discussions on articles I edit, I found that a lot of the articles had all of their sections expanded and editing was unavailable. I can edit some articles like 2017 World Rally Championship, but not others, such as 2017 Formula One season. Prisonermonkeys ( talk) 09:48, 12 May 2017 (UTC)
So today I got an edit conflict, and a very different message than I'm used to seeing popped up. I should have taken a screen shot, but I didn't. At any rate, it did not behave like I expected and wouldn't let me save changes. I'd like to experiment with it further, but it's hard to intentionally create an edit conflict. Has any one else gotten a very different edit conflict message, or know anything about this? I'm thinking it has something to do with the community wishlist, where people had asked for improved handling of edit conflicts, but I'd like to see more documentation about what exactly has been implemented, because what I saw was not an improvement. ~ ONUnicorn( Talk| Contribs) problem solving 15:22, 12 May 2017 (UTC)
… or is it just me? Hover-tips gives the message "Looks like there's no preview for this page" for all pages. DYK Check gives all page sizes as 0 bytes; on Safari, but not on Chrome, I also get an "API error" message. Has somebody changed something without testing it first? Justlettersandnumbers ( talk) 15:13, 12 May 2017 (UTC)
Grace Banu, a prominent Dalit transgender activist was the first transgender woman to attend and earn an engineering degree from a university in Tamil Nadu, India. Very neat person. But despite everything I've tried, it simply doesn't show up in google, not when I search "Grace Banu" or more mysteriously, even "Grace Banu site:en.wikipedia.org", and even moreso " /info/en/?search=Grace_Banu". The article:
Any idea why this article seems to be invisible? Thanks! Jake Ocaasi t | c 17:11, 12 May 2017 (UTC)
Your request has been received and will be processed shortly.. — xaosflux Talk 17:38, 12 May 2017 (UTC)
noindex
was removed from the html source.
PrimeHunter (
talk)
17:45, 12 May 2017 (UTC)
$wgPageTriageNoIndexUnreviewedNewArticles
, documented at
mw:Extension:PageTriage#Extension configuration. It's false by default but set true for Wikimedia in
https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php and
https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php. The feature was introduced at
phab:T147544 in October 2016. Should we file a bug to request coordination with "Page information"?
PrimeHunter (
talk)
17:58, 12 May 2017 (UTC)
&actin=info
would only be a net positive - perhaps a listing of EACH index control that is currently configured/overridden/disallowed - as well as what the "net result" is. —
xaosflux
Talk
18:35, 12 May 2017 (UTC)
Hey guys, I've been working on a new external MediaWiki editor for a bit now, and would like to get some preliminary feedback. It's over here. Mind you, it's very beta, but I would like to see if it's useful for some, and what other features y'all might like in a tool like this. Mind you, this editor works quite a bit differently because it "truly" parses the MediaWiki markup, which means it will generate errors instead of simply showing it broken. Anywho, thanks in advance! Drewmutt (^ᴥ^) talk 23:57, 9 May 2017 (UTC)
I tried adding a page to my watchlist, and got this error message: mobile-frontend-watchlist-error Anyone know why this appears to be happening? Leggomygreggo8 ( talk) 13:49, 12 May 2017 (UTC)
On Thursday, a change went live that was meant to fix this kind of issue for a particular browser (Firefox for Android), but apparently it made it worse instead. I have filed phab:T165209. Regards, Tbayer (WMF) ( talk) 00:58, 13 May 2017 (UTC)
I just responded to a help request that had shown up in Category:Wikipedians looking for help - only after responding did I see the datestamp; the template I was responding to was placed back in October 2015. How did it not show up in the category until now? Yunshui 雲 水 10:57, 11 May 2017 (UTC)
Hi there. In a discussion I started on WT:Twinkle, Cabayi brought up the idea of removing closed XFDs and SPIs from your Watchlist (semi-)automatically. Does OAuth allow reading your Watchlist? And if so, could someone maybe create a tool that reads the Watchlist, filters out all pages of a certain kind (XFDs, SPIs etc.) and checks if they are still open (and removes them if they aren't)? I'm no expert but I assume that shouldn't be too hard for someone with some skill. Regards So Why 12:57, 12 May 2017 (UTC)
So, I've been thinking about the legacy status and future deprecation of importScript()
, which has been floating around for a while. The suggested replacement at
mw:ResourceLoader/Legacy JavaScript is:
mw.loader.load( '/?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
Now, as a coder, that really does not feel like a good replacement to me. It just looks unclean compared to giving a wiki page name. Yes, it's functional and works, but it's ugly. So, I've come up with the following, and I'm wondering if there's a good reason why it (or something similar) is not a suggested replacement for loading local scripts:
mw.loader.using( 'mediawiki.util' ).then( function () {
var loadParamsJS = {
action: 'raw',
ctype: 'text/javascript'
};
var loadScript = function (page) {
mw.loader.load( mw.util.getUrl( page, loadParamsJS ));
};
loadScript( 'User:Example/Pullson.js' );
loadScript( 'User:Example/Fulminator.js' );
loadScript( 'User:Example/Mark III.js' );
…
});
Not a raw URL in sight, no hacky string manipulation, just (hopefully) clean code making good use of the available library functions. It can easily be extended to provide a loadStylesheet()
function. So, any thoughts on that, have I failed to spot a snag? Is there a reason it's not being suggested in the MW docs as a possible replacement for loading local scripts (it does not know what an interwiki link is, so it's local-only)?
Murph9000 ( talk) 13:06, 13 May 2017 (UTC)
When my bot attempts to process KrioRus it produces garbage. For example at the top is
.. the bot outputs
The bot is UTF-8 per specs but the article looks like it contains UTF-16/32 chars? Assuming this is accurate, how would one fix it? -- Green C 19:13, 13 May 2017 (UTC)
<meta charset="UTF-8"/>
) is declared for UTF8. —
xaosflux
Talk
02:00, 14 May 2017 (UTC)Figured it out, sort of. One of my bot's formatting fixes produced a garbage UTF-16/32 character due to something related to Cyrillic which caused something else to interpret the whole document as UTF-16/32. -- Green C 03:07, 14 May 2017 (UTC)
Can someone please tell me what I'm doing wrong here?
Suarez, David L. (2009). [
https://books.google.com/books?id=eZjFavPmuxAC&pg=PA3 "Influenza a Virus"]. In David E. Swayne (ed.). Avian Influenza. John Wiley & Sons. p. 3.
ISBN
9780813818665. {{
cite book}}
: Check |chapter-url=
value (
help); Check |isbn=
value: invalid character (
help)
Thanks.
Anythingyouwant (
talk)
22:45, 14 May 2017 (UTC)
|isbn=9780813818665
. The first character is the invisible character U+202A Left-to-right Embedding Unicode Character. You copied and pasted this isbn from some other place?|chapter-url=
except that the first character (also invisible) is U+202C Pop Directional Formatting Unicode Character.Suarez, David L. (2009).
"Influenza a Virus". In David E. Swayne (ed.). Avian Influenza. John Wiley & Sons. p. 3.
ISBN
9780813818665.
Anythingyouwant (
talk)
23:20, 14 May 2017 (UTC)
|editor=David E. Swayne
is the U+202A character. Also copy/pasted?Why do I keep getting this dialog popping up when I look at articles? Sam Walton ( talk) 18:03, 13 May 2017 (UTC)
(Tag: 2017 source edit). That seems like a likely place to start looking (e.g. try disabling that beta, and see what happens). Murph9000 ( talk) 18:21, 13 May 2017 (UTC)
I've been stuck on a viewport repositioning problem. If this is something you have familiarity with, I could sure use your help. The Transhumanist 17:25, 15 May 2017 (UTC)
Is there any bot or script that can replace redirects and deleted / updated pages on Index of Jainism-related articles. Further, is there any script to remove [[Some page|This label]] from links? — Preceding unsigned comment added by Capankajsmilyo ( talk • contribs) 06:23, 7 May 2017 (UTC)
[[redirect]]
in mainspace pages, and am against changing that to [[target|redirect]]
except in navigational templates. --
Redrose64 🌹 (
talk)
11:11, 8 May 2017 (UTC)
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 changes
Problems
mediawiki.util
library does not load automatically any more. Your
Special:MyPage/common.js may use it. If you have technical problems that started a couple of weeks ago you can try adding mw.loader.using( 'mediawiki.util' ).done(function(){
as the first line in the file and });
as a last one. Tech News wrote about this in the
2017/18 issue.
[25]Changes this week
Future changes
-{
is used in
transclusions or
web addresses it has to be
escaped appropriately. You can use -<nowiki/>{
for transclusions and %2D{
in web addresses. This is because of some code fixes to the
preprocessor and affects all wikis. You can now see
the full list of wikis with this problem and help fix them to avoid that things break later this month. You might find
false positives. You can
read more about what to fix.
[29]
[30]Older unreported changes
__NOGLOBAL__
to your Meta user page to stop this.
[31]
[32]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
21:48, 15 May 2017 (UTC)
After the recent scriptpocalypse I made all the requisite changes and everything was working again, but then a couple days ago some of my scripts stopped working again. After some testing, I saw that commenting out my mw.util.addPortletLink calls in common.js fixed the issues. Has anyone else run into this? Stevie is the man! Talk • Work 19:06, 13 May 2017 (UTC)
mediawiki.util
was still being auto-loaded into the base JS environment until sometime in the last few days. For the record, this thread title makes me think of some horrible disaster involving a laser printer.
Murph9000 (
talk)
02:55, 16 May 2017 (UTC)I have noticed a change that seems to have happened the last week. Infoboxes started appearing to me, an android app user, in the very beginning of every article instead after a lead paragraph, which renders the article preview that appears when I press hyperlinks empty and useless. would anyone tell me what happened? please mention me with the {{ping}}
template if you reply. •
Sammy Majed •
Talk •
Creations •
Wikipedia Arabic •
15:56, 13 May 2017 (UTC)
Since yesterday my Watchlist has stopped loading. This is the only Wikipedia page I'm having trouble with. Occasionally it shows "This page isn’t working. en.wikipedia.org is currently unable to handle this request. HTTP ERROR 500." It loads if I disable the Expand watchlist to show all changes, not just the most recent option in my Preferences, but that's not ideal. Browser: Chrome Version 58.0.3029.110. -- The1337gamer ( talk) 06:21, 16 May 2017 (UTC)
Wouldn't it make sense to globally (meaning for all wikis) add the "upright" option for embedding images with the corresponding tool in the "regular" 2010 vector editor toolbar? This function is used actually not so rarely and so a default function could be quite useful I think. What is your view?-- Hubon ( talk) 07:12, 16 May 2017 (UTC)
I don't know whether this is a browser issue or a Wikipedia issue, but it only occurs in Chrome. The issue occurs when editing. If I backspace to remove a character, then use Wikipedia's 'Insert' toolbar to insert a replacement character, the new character will be inserted in the wrong place - not where the mouse pointer is positioned, but after the next character. For example, in the phrase "Ecuadorian-Peruvian war", I want to replace the hyphen by an endash, so I backspace to remove the hyphen, then click on the endash from the toolbar; the result is "EcuadorianP–eruvian war" instead of "Ecuadorian–Peruvian war". I've tried this in Firefox, Edge and Opera - the problem doesn't arise. It's only Chrome. Another note: if instead I remove the unwanted character by positioning the pointer to the left of it and pressing Delete, there is no problem; the replacement character appears in the correct location. Colonies Chris ( talk) 08:57, 16 May 2017 (UTC)
I am having no luck figuring out an issue I noticed regarding the MW footer on IP contribution pages, MediaWiki:Sp-contributions-footer-anon. The footer transcludes {{ anontools}}, and the WHOIS link in the template calls tools.wmflabs.org/whois/gateway.py. However, the footer on IP contribution pages ( example) is calling Robtex whois, which has recently gone from being a relatively useful tool to being almost useless. No amount of null edits or purging has been changed the link, so I've decided that I must be missing something, like I'm looking at the wrong footer code or something. Hopefully, someone can shed some light on this for me. Thanks. — DoRD ( talk) 14:50, 16 May 2017 (UTC)
The page San Francisco (sans-serif typeface) is rendering its title (for me, anyway) with lowercase "san" ("san Francisco") and I can't figure out why, there's no DISPLAYTITLE on the page. Is this a bug? Ivanvector ( Talk/ Edits) 14:12, 16 May 2017 (UTC)
Something odd is going on with File:Aleta Ogord.jpg. The oldest revision shows at the top of the upload history, and, while the file has been reduced in size, the older, larger image is what shows in the file preview. Any idea as to why this is happening and how best to deal with it? clpo13( talk) 17:20, 16 May 2017 (UTC)
I have been logged out of STiki twice in 5 minutes and then again 15 minutes later when I fired up STiki again. The error message says it is WMF problem not mine or STiki's. Is anyone else suffering? d.g. L3X1 (distant write) 03:00, 16 May 2017 (UTC)
Prior to 26 September 2015, cs1|2 templates ({{
cite book}}
, {{
citation}}
, ...) had their output wrapped in <span>...</span>
tags that held class=
and id=
attributes. On that date, the wrapping changed to <cite>...</cite>
tags because the forced italicization of the content of that tag had been removed and because <cite>...</cite>
is more semantically correct. What we apparently did not notice is that with the change, cs1|2 citations lost rendered urls in the printable versions of an article.
Here are three examples:
If, from the Print/export menu in the left sidebar I click Printable version, I get something that looks like this:
If I look at the page source of the printable version, I see:
<li><a class="external text" href="https://www.example.com">without span or cite tags</a></li> <li><span><a class="external text" href="https://www.example.com">with span tags</a></span></li> <li><cite><a class="external text" href="https://www.example.com">with cite tags</a></cite></li>
Does that mean that this is a browser issue? an html issue? a css issue? a MediaWiki issue? something else?
I suspect that it is important for printed article pages to show the urls that are hidden behind title text in the online version.
— Trappist the monk ( talk) 11:40, 16 May 2017 (UTC)
cite
element, it says The cite
element
represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, which may be in an abbreviated form as per the conventions used for the addition of citation metadata.
, so our usage, which does include at least one of these (where feasible), is valid. --
Redrose64 🌹 (
talk)
20:26, 16 May 2017 (UTC)Given a piped link such as [[Topic A|Name A]], is it possible to get a list of the different uses of "Name A" that are used with the link of "Topic A"? I'm sure there's some AWB magic that could be used but I'm curious if there's an on-wiki way.
The specific case that I'd like this for is for video games: for articles on games that require an online connection, some editors have linked to Always-on DRM (Digital rights management) with the piped text of "online", which can be a bit of POV-pushing in some cases - DRM is generally seen as controversial, and just because a game is online-only doesn't mean it is attempting to control DRM, but players often see it as such, incorrectly. I'd like to review the cases where this specific [[Always-on DRM|online]] piped link is being used. -- MASEM ( t) 00:45, 17 May 2017 (UTC)
I'm planning to propose that a WikiProject I'm very involved with should discontinue using the "importance" parameter in the banner. It is of little to no actual value in managing the project, the rating is entirely subjective and leads to unhappiness and even fights as some people feel that a low rating is actually an insult to the article subject. Is it possible to actually remove/switch off the parameter so that it no longer displays in the banner or in the project's article assessment tables? Roger (Dodger67) ( talk) 16:50, 16 May 2017 (UTC)
|IMPORTANCE_SCALE=no
is treated the same as |IMPORTANCE_SCALE=yes
or |IMPORTANCE_SCALE=standard
; even physically removing the parameter will simply be treated as if |IMPORTANCE_SCALE=standard
(which is the default) were present. This is because {{
WPBannerMeta/importance}}
recognises only two values: inline
and subpage
- everything else, including no
and absence, is treated as standard
. To disable the importance scale, you need to remove the |importance={{{importance|}}}
parameter. Removing the |IMPORTANCE_SCALE=
parameter (if present) can be done as well, but is not essential.Can anyone explain this to me please? It looks... Massive, compared to the scripts usually used. I assumed some kind of WP:NOTREPOSITORY or something, but would like a deeper understanding if that's possible. Cheers! — O Fortuna semper crescis, aut decrescis 06:26, 17 May 2017 (UTC)
Hi, I've created a simple gadget that will load the categories and add them to a mobile interface page. You can test it from the Gadgets in your preferences section. If people think this is desirable, than the gadget can be made default on (for everyone or just for some specific usergroups). — TheDJ ( talk • contribs) 13:37, 17 May 2017 (UTC)
I am trying to use the Wikipedia:File Upload Wizard But one I click on "click here to start the upload wizard", nothing happens. Any thoughts?
I see that it ends in .JS so I assume it is JavaScript. I have separately noticed that my own JavaScript file doesn't seem to be working so I assume it's related. I vaguely recall some traffic about some issues but don't recall where I start or how to resolve it.-- S Philbrick (Talk) 13:45, 17 May 2017 (UTC)
Maybe it's time we expand MediaWiki:Jswarning, with some advice to use Gadgets when possible and be able to understand what Javascript is... — TheDJ ( talk • contribs) 14:40, 17 May 2017 (UTC)
It is an inherent flaw (or feature) of the internet (or at least html) that all pages (or most) consist of simple text. This means that browsers, javascript, browser extensions, and even the operating system can easily mangle (or change) just about anything you receive in the browser. It is what makes web development a nightmare compared to a native OS application. In this case it means that whenever people use javascript without understanding it well enough they can easily cause script errors that prevent "proper" rendering or display. In fact, a good number of errors reported in websites are actually caused by external factors (e.g. userscripts, extensions, network connections or ISP).
It is fortunate that readers can just disable javascript and escape from 90% of these problems, but unfortunate that +90% of them probably don't even know such a switch exists or what it does. — Preceding unsigned comment added by 197.218.88.223 ( talk) 15:02, 17 May 2017 (UTC)
I've collected some information at mw:OOjs UI/Fixing scripts and gadgets about the upcoming change to the "Save" button (and some other buttons nearby). This is a technical change, not just a change to the color, and it appears that it will unfortunately break multiple editing-related scripts. If you maintain a script, please check that page and test your script (instructions on the page). Whatamidoing (WMF) ( talk) 19:20, 17 May 2017 (UTC)
I have some trouble changing an link in the sidebar of is.wikisource, with the intent to link to is:s:Hjálp:Efnisyfirlit. Years ago I changed the help link on is.wikipedia like so, but when Ruslik did the same on is.wikisource after I asked him to do so, it did not work. Granted some years have passed since I made said change on is.wikipedia but I am still puzzled by this. Are the links in the sidebar supposed to be changed in some other way? Why is the change linked above on is.wikisource not working? -- Snaevar ( talk) 18:32, 17 May 2017 (UTC)
At the moment if you send an email via the 'Email this user' function, you have a choice when finished, of 'Return to User:Example' (or go, bizarrely, to main page!- I've always thought 'Back to where you were' would be most sensible). Since the same text also points out that you can let them know they have email using {{ygm}}, etc., wouldn't it be more useful if the choice was to 'Return to User talk:Example'? I mean, you are either going to want to leave a ygm notice or not. If you do, then you want to be on the talk page to do so. If you don't, then it doesn't matter what page is recommended! — O Fortuna semper crescis, aut decrescis 13:45, 16 May 2017 (UTC)
{{PAGENAME}}
or similar to detect the username. The message "Return to User:Example" is probably made by
MediaWiki:Returnto which is used in lots of other places. My conclusion: The MediaWiki default has no particular reason to link the user talk page, and I don't currently see a way we could do it at the English Wikipedia without a change in the MediaWiki software like a $1 parameter with the user name in the call of
MediaWiki:Emailsenttext. It's possible a customized
MediaWiki:Returnto could detect whether it's on
Special:EmailUser and add a user talk link in that case, but I'm not sure it has access to analyze $1 to detect the username or manipulate the link. And it's a minor issue anyway, probably not worth the performance cost of customizing
MediaWiki:Returnto with parser functions.
PrimeHunter (
talk)
14:15, 16 May 2017 (UTC)
Please help! The chart in the bottom of the article looks totally terrible in the mobile Wikipedia: https://bg.m.wikipedia.org/wiki/%D0%A4%D1%80%D0%B0%D0%B9%D0%B1%D1%83%D1%80%D0%B3
The same here: https://en.m.wikipedia.org/?title=Jeremy_Corbyn&oldid=731595817#Growth_in_the_Labour_Party
Thanks! — Preceding unsigned comment added by Димитър Янков ( talk • contribs) 09:04, 17 May 2017 (UTC)
<div>...</div>
element has a style=
attribute containing the declaration max-width:1px;
(the Bulgarian one) or max-width:2px;
(the Corbyn one) which I am fairly certain is the direct cause. There is also a bad CSS declaration veritical-align:top;
in the same attribute: being invalid, this will be ignored. I'm no Lua expert, but
searching Module: space for that spelling mistake "veritical" suggests that the drawXlegends
function in
Module:Chart would be a good place to start. --
Redrose64 🌹 (
talk)
09:23, 17 May 2017 (UTC)max-width:-1px
"works" for you is that
negative values for that property are illegal, so that your browser is ignoring the declaration. This might not be the case for other browsers, so it's safer to remove the declaration entirely. --
Redrose64 🌹 (
talk)
16:00, 18 May 2017 (UTC)Similar to template:PAGENAME, but instead gives you the subpage name. For example if the title is Evanescence/The Open Door, it gives you The Open Door only. Is there such template?— Lost Whispers talk 16:48, 18 May 2017 (UTC)
{{SUBPAGENAME}}
. See
mw:Help:Magic_words#Page_namesHello,
One of the most requested features for Wikidata is to enable editing of Wikidata’s data directly from Wikipedia, so the editors can continue their workflow without switching websites.
The Wikidata development team has been working on a tool to achieve this goal: fill and edit the Wikipedia infoboxes with information from Wikidata, directly on Wikipedia, via the Visual Editor.
We already asked for feedback in 2015, and collected some interesting ideas which we shared with you in this thesis. We would like to present to you our first prototype and collect your feedback, in order to improve and continue the development of this feature.
We present this work to you very early, so we can include your feedback before and all along the development. You are the core users of this feature, so we want to make sure that it fits your needs and editing processes.
You will find the prototype, description of the features, and a demo video, on this page. Feel free to add any comment or feedback on the talk page. The page is currently not translated in every languages, but you can add your contribution by helping to translate it.
You can either add your feedback on the talk page on Wikidata, or add a comment here. I’ll follow this discussion to make sure that all of your feedback is taken into account. However, it would be better to write your message on the central Wikidata page so everyone can read your input.
Thanks, Lea Lacroix (WMDE) ( talk) 15:31, 15 May 2017 (UTC)
Rather fundamental problem (one of many, but simply one I think of now): at the moment, when I go from enwiki to wikidata, I am logged in at enwiki, but not logged in at wikidata. If this happens with the easy editing tool, it looks as if my wikidata editing would not happen under my account but as an IP. Not good... Fram ( talk) 12:42, 19 May 2017 (UTC)
Birgit Müller (WMDE) 14:39, 16 May 2017 (UTC)
&limit=5000
or whatever into the url; is there a way to do that, a preference, whatever?
Justlettersandnumbers (
talk)
13:15, 18 May 2017 (UTC)
Is there a way to disable bot edits from triggering watchlist notifications ? - Mlpearc ( open channel) 14:34, 19 May 2017 (UTC)
The opening section after the lead section in Walter Benjamin is formatted with an error message printing in the text. Could someone take a look? ManKnowsInfinity ( talk) 19:16, 19 May 2017 (UTC)
I have a RichText with hyperlinks, and I want to copy it into a Wiki page; specifically, I'm looking for some tool that transforms the links in the original text properly into Wiki Markup links. Any idea? — Pajz ( talk) 05:39, 19 May 2017 (UTC)
The WP:Twinkle tab (TW) that normally appears at the top, to the right of the "More" tab, has vanished from user and user talk pages. It is still there on all other pages. If I look at the user contributions I get an abbreviated tab. But I would like the full tab back. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 11:45, 17 May 2017 (UTC)
Could someone help on where to change target for the main sidebar link "Upload file" so that it leads to the Upload wizard instead of Special:Upload on sr.wiki? We've translated it and it's working (but on a separate page).
Also, could someone find a glitch that causes message about current uploading to stay even after an upload is finished (header should display other message, about finished upload).
Thanks. @ Future Perfect at Sunrise: -- Obsuser ( talk) 18:08, 18 May 2017 (UTC)
My watchlist is showing a blank white screen since 2 days. What is the issue, how to fix? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 10:15, 20 May 2017 (UTC)
//
to the start of each line to comment it out (temporarily disable it). If that fixes it, remove the comments one at a time (saving the JS file each time), until you find the script that is broken. There were changes to MediaWiki recently that have caused some old scripts to break. I don't know if the ones you are loading are some of the broken ones or not, it's just a good first step. If disabling them does not fix the problem, at least we know it isn't down to the scripts.
Murph9000 (
talk)
10:30, 20 May 2017 (UTC)
“ | Database error
To avoid creating high replication lag, this transaction was aborted because the write duration (11.156260490417) exceeded the 3 second limit. If you are changing many items at once, try doing multiple smaller operations instead.[WSAuMwpAMFUAAKXhtwIAAABX] 2017-05-20 11:53:38: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError" |
” |
-- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 11:55, 20 May 2017 (UTC)
Are you having that problem only when trying to readd in bulk, or even if just adding a single page? About how many entries are you trying to add? — xaosflux Talk 13:06, 20 May 2017 (UTC)
For some reason, the table that's supposed to appear in the "Certifications" section in The Very Best of Kiss is appearing at the very bottom of the article. I'm using Safari 10.1.1 on OS X 10.12.5. Esszet ( talk) 02:02, 21 May 2017 (UTC)
{{
Certification Table Bottom}}
from it, causing the formatting failure. My gut says it was a good faith or unintended mistake.
Murph9000 (
talk)
02:09, 21 May 2017 (UTC)Currently we have to add {{ Authority control}} manually to pages. Is it possible to make it a default addition to pages? -- Pankaj Jain Capankajsmilyo ( talk · contribs · count) 04:52, 21 May 2017 (UTC)
I clicked on New section to add the first section of an article's talk page but after finishing my edit, I don't see the section on the talk page:
https://en.wikipedia.org/?title=Talk:Elias_Beckingham&oldid=781319801
I'm experiencing this problem in Firefox 53.0.3 on a Windows 10 PC and on an up-to-date Chromebook. Thanks in advance. -- Dyspeptic skeptic ( talk) 14:46, 20 May 2017 (UTC)
{{
hat}}
inside the subpage. Bots may still get confused by the transcluded GA page, and think it's part of the header (so may still add stuff below it). What should be completely fixed is stuff getting erroneously hidden inside the hat.
Murph9000 (
talk)
09:49, 21 May 2017 (UTC)Is it possible to get a {{
reflist}}
to indent for use on the talk page?
For example if I am in the middle of a discussion four (4) colons deep, and I write this (silly example) in wiki-markup:
::::I agree completely<ref>Well, not completely, for example...</ref> with what was said<ref>The word "said" has a very interesting etymology. [Discourse on the word said.]</ref>above.<ref>Other thing that might interest you...</ref>
::::Notes:
:::::{{reflist}}
I get this:
Everything indented nicely, except the reflist. This drives me nuts, because it looks so awful and distracting on the talk page. I looked in the documentation for {{
reflist}}
and searched for "indent" and nothing came up. I have never seen anyone indent a reflist. I have seen {{
reflist talk}}
but that isn't any better. Is there a way to do it?
-- David Tornheim ( talk) 10:26, 21 May 2017 (UTC)
<div style="margin-left: 4em;">{{reflist}}</div>
could be used.
[1]|indent=
parameter should be added to {{
reflist-talk}}.
Template:Reflist-talk#Limitations mentions the problem.
PrimeHunter (
talk)
11:03, 21 May 2017 (UTC)
Please reply at Wikipedia talk:WikiProject JavaScript#What is jsfiddle?. The Transhumanist 20:46, 21 May 2017 (UTC)
Having popped in to make an edit on Heinz Tomato Ketchup after being away for awhile, I just hit 'submit' and got suprised when - due to my having the 'remind me to leave edit summaries' box tixed - the reminder/preview page came up COMPLETELY unformatted. I think it's...CSS scripts that are related to this? It's consistent, both with that and staight-up hitting 'preview', and the same thing happens on this page when I hit preview. However the 'regular' page works fine, as does the regular edit box. What gives? - The Bushranger One ping only 00:44, 15 May 2017 (UTC)
Hello. I don't remember having this problem before. Using a netbook device with ff configured for extra security and without scripts, I could usually access my notifications and preferences. Now since the notifications page only shows a loading gif animation, I thought that perhaps it's because of a gadget or setting I recently enabled using a desktop with a ff instance on which I enabled scripts for Wikipedia. However, I also now noticed that only the main/default preferences tab is visible (so I cannot go into the gadgets or notifications settings from this netbook anymore; I see links to them but they simply point to the same page with other anchors to invisible components). — Paleo Neonate — 21:38, 21 May 2017 (UTC)
The tabs to, for example, warn a user or report an account to AIV, have not been showing up for a while. I've tried my alternate account, which uses a different skin, and I've tried different browsers, clearing my cache, logging off/on, etc. It's been so long I don't remember if they were part of a userscript, Twinkle, or something else. Anyone know what might be the cause? — Rhododendrites talk \\ 13:03, 22 May 2017 (UTC)
Adding {{ reflist-talk}} to talk pages has produced a red link for me several times, most recently at Talk:Comma splice § "I came, I saw, I conquered". Please help. — Sangdeboeuf ( talk) 05:24, 23 May 2017 (UTC)
%E2%80%8B
is an encoding of
U+200B, or
zero-width space. I have expressed my dislike for such characters several times, most recently at
User talk:Corinne#MoS. --
Redrose64 🌹 (
talk)
08:50, 23 May 2017 (UTC)Please check out Category:Wikipedian_librarians ( [35]).
The output List I get starts like this:
Any idea what is going on? I'm guessing some of the user names start with non-alphanumeric and/or non-standard, non-printing characters. I'm wondering if the code that processes the list of users in the categories is deliberately sorting some users into categories that start with "(" or "*", or if the code does not expect those characters in the user name and is acting funky like this. If anyone does decide to look at the display code, can you tell me where it is? I'm starting to get curious about what the code looks like and where to find it... -- David Tornheim ( talk) 12:52, 23 May 2017 (UTC)
[[Category:Wikipedian_librarians| Aphilli]]
[[Category:Wikipedian_librarians|Aphilli]]
The {{
cite news}}
template with |script-title=
is messing up the display of a Hebrew title with an embedded number and displaying the external link icon centered on the link anchor text instead of to its right. Here are three examples. The first two examples use |script-title=
for the original Hebrew and |title=
for the English translation. The third example uses |title=
for the original Hebrew and |trans-title=
for the English translation. The first example replaces the number, "1.5", in the Hebrew title, to an asterisk (*), and display is normal. The second and third examples use the correct Hebrew title with the number "1.5" . In the second example, using the full Hebrew title with |script-title=
, the Hebrew title displays wrong near the number, extra white space is added to make up for the error, and the external link icon is misplaced. This would seem to be a bug. The third example displays normally. Note: surrounding the Hebrew title with <bdi lang="he" dir="rtl">...</bdi> does not help.
|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע * מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS * million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[1]|script-title=
and |title=
(number: 1.5) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |title=גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[3]— Anomalocaris ( talk) 00:50, 23 May 2017 (UTC)
|script-title=
, you should tell it what language you are using. In this case, |script-title=he:...
– the language code helps browsers to display it correctly; I do know that when using |script-title=
, |title=
is to be used for a transliteration of the original language title; I do know that |trans-title=
is to hold the English language translation of the title in |script-title=
.centered on the link anchor text.
{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}
|script-title=
helps a little. The external link symbol is not centered, but off to the right where it belongs, and the Hebrew letters near "1.5" are less scrunched. In fact, what seems to happen is that the Hebrew before (to the right of) "1.5" displays normally, starting from the right; then "1.5" displays, but instead of "1.5" being entirely to the left of the Hebrew preceding it, the "1" in "1.5" is just to the left of the last word before it, so that ".5" overwrites the right end of the last word before it, and then the Hebrew after (to the left of) "1.5" starts up, rather than entirely to the left of "1.5", just to the left of the "5", overwriting "1.". Here is a shorter example set:|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל * תפוחים |language=he |title=Doctor: Eat * apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[1]|script-title=
and |title=
(number: 2) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל 2 תפוחים |language=he |title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |title=he:הרופא: תאכל 2 תפוחים |language=he |trans-title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[3]In this shorter example set, using |script-title=
, the Hebrew near the number ("2") is scrunched and the external link symbol is misplaced, but when "2" is replaced with "*" it works fine, and it also works fine to avoid |script-title=
entirely and use |title=
and |trans-title=
. The bug is: if |script-title=
is in a right-to-left language and includes an embedded number, even if only one digit long, the display is messed up near the number. —
Anomalocaris (
talk)
05:03, 23 May 2017 (UTC)
|title=
in these examples. The English translation of the Hebrew goes in |trans-title=
; when |script-title=
is used, |title=
gets the transliteration of the original language title; in this case, Hebrew words written with Latin characters.|trans-title=
is for the English translation whether the foreign title is in |title=
or |script-title=
. That's irrelevant to the bug of bad display of |script-title=
containing Hebrew with embedded digits. —16:00, 23 May 2017 (UTC)Thank you,
עוד מישהו, for suggesting the possibility that it is browser-related. For all three browsers, it makes no difference if I am logged in or not. Can we make the output of |script-title=
containing Hebrew with embedded digits render correctly for Mozilla Firefox? —16:00, 23 May 2017 (UTC)
Thank you for the constructive feedback and discussion during the recent RfC. The following sister project snippets will be displayed on enwiki are listed below (in no particular order):
The following projects will not display on enwiki at this time:
Barring any unforeseen circumstances or significant new issues being raised, we’ll enable this new feature on the search results page for all Wikipedias during the week of May 30th, 2017. Cheers, DTankersley (WMF) ( talk) 10:34, 20 May 2017 (UTC)
-- fireattack ( talk) 08:10, 24 May 2017 (UTC)
Is there a way to hide/collapse inline citations when editing an article? Sometimes they get in the way, and doing this would be a great help. Thanks. SharkD Talk 12:00, 24 May 2017 (UTC)
Is there a way to make a very long URL wrap within the normal width of the page instead of doing this? -- Roger (Dodger67) ( talk) 12:06, 24 May 2017 (UTC)
<div style="overflow-wrap: break-word; word-break: break-all;">...</div>
also wraps for me in Edge:will update
•
Sammy Majed •
Talk •
Creations •
Wikipedia Arabic •
08:58, 24 May 2017 (UTC)
@ MHolloway (WMF): Indeed, Android.
I will do another report of bugs I encountered afterwards in the bottom of this page. please, remeber that while I report bugs to you do not expect technical knowledge from me. • Sammy Majed • Talk • Creations • Wikipedia Arabic • 05:02, 25 May 2017 (UTC)
[[Talk:User:Example]]
instead of [[User Talk:Example]]
.• Sammy Majed • Talk • Creations • Wikipedia Arabic • 05:14, 25 May 2017 (UTC)
In the search facility there is the linksto:<page> clause.
Is there the opposite, or the equivalent to, that is, a linksfrom:<page> clause, that is, returning all the pages linked to from within an article ?
Eno Lirpa ( talk) 14:44, 18 May 2017 (UTC)
Any ideas anyone? Eno Lirpa ( talk) 13:44, 23 May 2017 (UTC)
I gotthe error message (in my console) when an article failed to load except for the first sentence. I get these hangups once or twice a day. I'm going to try to renew all my scripts but would like to understand this message. Thanks. Doug Weller talk 12:26, 25 May 2017 (UTC)
I was just looking up some articles on my phone, when I noticed that the infobox is appearing below the first paragraph of the lead in mobile view, opposed to the first thing when looking at an article. See Captain America: Civil War, United Kingdom, and Agents of S.H.I.E.L.D. for some examples. - Favre1fan93 ( talk) 18:51, 24 May 2017 (UTC)
phab:T143139, phab:T145216, phab:T150325. Nirmos ( talk) 11:14, 25 May 2017 (UTC)
I accidentally logged myself out on my PC. I was able to log back in with no problem (had to get my 2FA code but that's all), but on my iPad I keep getting "There seems to be a problem with your login session, this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and try again. But that doesn't work. Doug Weller talk 19:37, 25 May 2017 (UTC)
At Talk:Victoria Park & Bow railway station, the section heading "coordinates" appears at upper right, instead of the proper place at the top of its section. Why is this? -- Redrose64 🌹 ( talk) 22:19, 25 May 2017 (UTC)
#coordinates
at the top of
MediaWiki:Vector.css. Capitalising the section heading solves that particular instance of it. Really the selector should be more specific, to avoid this problem. It needs some careful thought as to exactly what more specific selector (or possibly group of selectors) should be used, as there's a few scenarios to cover. My first guesses would be that it could be changed to element#coordinates
, or .some-class#coordinates
, possibly for several different classes.
Murph9000 (
talk)
22:36, 25 May 2017 (UTC)
span#coordinates
is probably the appropriate fix. I'm not absolutely certain that module is the only place generating it, but it probably should be.
Murph9000 (
talk)
22:53, 25 May 2017 (UTC)
"coordinates" insource:/=coordinates=/
, and 45 on "coordinates" insource:/= coordinates =/
. None of them are in mainspace. All tested examples display the problem.
PrimeHunter (
talk)
23:01, 25 May 2017 (UTC)I don't see how changing the selector to span#coordinates
would solve the problem. If we look at the heading structure in
Special:PermanentLink/782185879, the element with the id "coordinates" is a span. However, changing it to span #coordinates
might work, because proper coordinates are wrapped in an outer span that sets the font size to small.
Nirmos (
talk)
04:01, 26 May 2017 (UTC)
span > #coordinates
would be more efficient. Even better might be to change the module to add a class, then use .coordinates-title#coordinates
, or something like that. Another alternative would be #coordinates:not(.mw-headline)
.
Murph9000 (
talk)
18:49, 26 May 2017 (UTC)This just started to happen today. I don't know if it's a glitch or a deliberate design change, but if it's the latter I'm not a fan. It's incredibly jarring to read about a game and then get through the intro only to have to scroll through the infobox. -- Deathawk ( talk) 04:21, 26 May 2017 (UTC)
When I remove bot edits from my watchlist, I don't see the article even if on that same day an edit was made by a non-bot. Is this a bug? Debresser ( talk) 21:10, 24 May 2017 (UTC)
Hi, the doc page for {{ X2 review help}} isn't transcluding onto the template page, after I moved the template out of my sandbox where the doc transclusion was working fine.
What I see when I look at {{ X2 review help}} is just the arg-less expanded template, followed by a rump blue rectangle at the bottom labeled Template documentation and inviting me to " [ Create]" the page. Clicking the 'Create' anchor goes to an edit window filled with the documentation page content. There is also a line at the bottom of the blue box saying, "Please add categories to the /doc subpage. Subpages of this template." where "/doc" is red and has this exact value: " https://en.wikipedia.org/?title=Template:X2_review_help/doc&action=edit&redlink=1" but clicking it goes right to the subpage, and clicking the "Subpages" link shows the doc (in blue) as the only subpage, and the blue link works. Somehow, the template page itself is the only one that can't see the doc, and doesn't transclude it. Why? I tried a fresh browser that has never seen that page, so doesn't appear to be a cache issue, at least not locally. Mathglot ( talk) 06:06, 28 May 2017 (UTC)
&action=purge
to the end of the URL of the page I want to purge. —
Gestrid (
talk)
19:04, 28 May 2017 (UTC)
Hello! We have been using {{ collapsible list}} in Basque Wikipedia for a while, and I have noticed that is not working anymore. You can see the effect in an infobox, for example at eu:Steven Spielberg. The module and template haven't been touched, so I think the problem is elsewhere. Could someone help us with this? Thanks! - Theklan ( talk) 10:07, 27 May 2017 (UTC)
ReferenceError: bklCheck is not defined
. The only place where bklCheck
is mentioned is
eu:MediaWiki:Gadget-ArgipenBila.js. The code seems to be a copy of old code that once was on dewp but is not anymore according to
de:Benutzer:Schnark/js/bkl-check. (Note: This problem might be unrelated to the actual problem you're facing.) --
AKlapper (WMF) (
talk)
22:15, 28 May 2017 (UTC)
Is it just me, or has the quality of diffs within the English Wikipedia declined recently? Maybe the quality is the same, but I have become more discerning...
Here is an example: https://en.wikipedia.org/?title=MalwareTech&diff=782456060&oldid=782449642 .
As you can see, both the left and right columns have hunks that begin "Following his work on the WannaCry ransomware attack in 2017" and that are almost identical ( edit distance: 3) but that have been aligned with other hunks instead of with each other, making it very hard to spot what has changed between them. (To spare you searching, it is "he's" to "he has".)
Is this a regression? Is it a known bug? Please WP:MENTION me in your reply. Thanks for your time :) zazpot ( talk) 20:10, 28 May 2017 (UTC)
Question: I recently encountered a case where an IP had been locally and globally blocked. On the user page (which had not been created), I saw the local block notice (the red box at the top) However, I did not see the global block notice until I looked at the IP's contributions page. Why do we have it setup that way? Shouldn't global block notices be able to be seen anywhere a local block notice is seen? — Gestrid ( talk) 18:59, 28 May 2017 (UTC)
There's an RfC on enabling two-factor verification (2FA) for all users across all Wikimedia projects. Please vote and comment! -- RezonansowyakaRezy ( talk | contribs) 13:34, 29 May 2017 (UTC)
Hi, I'm learning about the mediawiki query API and something I'd like to do is query for articles that are both within a certain radius around a given geographical location, and also within a given set of categories. What would be the best way to do that?
On Friday I went to log in to my account, and the password didn't work. It was a different computer than I usually use, but I was logged into my Chrome account, and the passwords are synced between devices. I even went to my password manager and directly copy-pasted to be absolutely sure I had the right password, but the login attempts still failed.
Fearing a possible hack, I reset my password, as well as my email account's password; and Reedy was kind enough to run a script server-side that logged out every session I had open. So now that that's handled, I find myself wondering what caused the initial problem, and was wondering if anyone here has any ideas.
The way I figure it, there are five possible ways my password could have stopped working:
So all of this leaves me suspecting it's number five, which is what brings me here. Any thoughts? — PinkAmpers & (Je vous invite à me parler) 18:39, 29 May 2017 (UTC)
Yesterday a user left me a barnstar and I thanked them in a reply. They replied back on my talkpage later but I didn't get the normal notification. I'm wondering if this is a bug? I only noticed because I saw it on my watch list. White Arabian Filly Neigh 20:17, 29 May 2017 (UTC)
Template {{ tracklist}} displays "Track listing error: Time value does not contain a colon" when a time is not inserted into the line for a particular song. Case in point, Prevail I. -- Jax 0677 ( talk) 01:33, 30 May 2017 (UTC)
It appears that Template:Infobox road is somehow transcluding the non-free File:Alberta Yellowhead Highway.png into the article Yellowhead Trail (Edmonton). Each use of a non-free image is required to be provided with a separate specific non-free use rationale per WP:NFCC#10c and setting templates up to transcude a non-free image is problematic because it assumes the the file's use will be non-free compliant by default in any article where this particular version of the template is used which may not always be the case per WP:NFCC#9 and other remaining non-free cirteria. I've been searching for the file somewhere in the template so that I can remove it, but have not been able to find it. Does anyone know how the template is using this particular file and where to find it? -- Marchjuly ( talk) 05:42, 30 May 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
Meetings
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
12:18, 30 May 2017 (UTC)
Village pump pages (like this VPT) have a navigation header with four #local links:
However, when in mobile view the links TOC and EoPage are idle. Can they be made to function, or otherwise be hidden in mobile view? The header is {{ Village pump page header}}. - DePiep ( talk) 11:33, 30 May 2017 (UTC)
Category:MusicBrainz artist not in Wikidata includes Magnapop but sure enough, they have a MusicBrainz ID on Wikidata. Can anyone explain (and please {{ Ping}} me)? ― Justin (koavf)❤ T☮ C☺ M☯ 06:07, 30 May 2017 (UTC)
|property=
is the p### of the property. The "p" should be lowercase.|wdc-property=p434
with lowercase p as requested in a parameter later passed to
Module:WikidataCheck by {{
MusicBrainz meta}}. But uppercase P434
seems to work better. Nearly all templates call
Module:WikidataCheck with uppercase property=P...
. I suspect the documentation is wrong. The documentation also says a wrong number in the example with property=p343
but {{
MusicBrainz artist}} correctly uses 434 and not 343. There is no
Wikidata:Property:P343 while
Wikidata:Property:P434 is MusicBrainz artist ID.
PrimeHunter (
talk)
11:17, 30 May 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes this week
<div>
tag around HTML from the MediaWiki wikitext
parser. Gadgets with code that does not follow recommendations could have problems with this. You can
report new problems you think are related to this.
[38]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
22:02, 22 May 2017 (UTC)
<div>...</div>
elements that enclose the parsed page content? Indeed, when I view the source for this page, I find that this section - like all the other sections - is five divs deep: <div id="globalWrapper">
<div id="column-content">
<div id="content" class="mw-body" role="main">
<div id="bodyContent" class="mw-body-content">
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
Gadgets with code that does not follow recommendations…It might be useful if you could provide a pointer to these recommendations, please, to help everyone know what to look for. Thanks. Murph9000 ( talk) 23:07, 22 May 2017 (UTC)
<div>...</div>
elements that enclose the parsed page content?
#mw-content-text
does not only contain parsed page content. It also contains .diff
, .diff-hr
and .diff-currentversion-title
in diffs and .patrollink
on unpatrolled pages.#column-content
or #globalWrapper
– but yes.#mw-content-text
will break. In other words, any CSS like #mw-content-text > .infobox
or JavaScript like $( '#mw-content-text' ).children( '.infobox' )
would need to be changed to #mw-content-text .infobox
and $( '#mw-content-text' ).find( '.infobox' )
respectively.I have Windows 10 and Microsoft Edge. Earlier today the computer went through a major update that took an hour to complete. When it was done, the font looked less like what a text from an older typewriter looked like, and more like the electric typewriter I used when taking a business class in high school in 1978. I'm probably asking in the wrong place since this is likely not Wikipedia-related, but I was curious what happened.— Vchimpanzee • talk • contributions • 21:28, 29 May 2017 (UTC)
font-family: monospace;
, so it will normally use whatever your browser feels like using by default. Your browser may have a config option for the default monospace font. You can control this from WP by adding something to your
common.css (the precise selectors needed may vary with different skins and editor options), e.g. form#editform textarea.mw-editfont-monospace { font-family: 'Courier', monospace; }
Greetings, Recently I have started updating Teahouse ( WP:TH ) pages with a new "Header 2" wikicode. For the Wikipedia:Teahouse/Guests page there is complex wikicode. Specifically, for the "Introduce yourself" button. If someone could please cleanup the old header wikicode without that button disappearing? Whenever I attempted a cleanup the "Introduce yourself" goes away & I have no idea how to keep it there. Thanks. Regards, — JoeHebda • ( talk) 14:45, 30 May 2017 (UTC)
Could someone help on why successfull upload message is not displayed after a successful upload on sr.wiki? Message about current upload in progress is getting displayed all time... ( sr:Википедија:Водич за отпремање)
Also, both on en.wiki and sr.wiki, title
attribute for tag a
generating hover text in image-present-on-Commons file description is not supplied but stays "File:Example.svg". Maybe adding thumbA[i].setAttribute('title', 'File:' .. name);
and thumbA.title = 'File:' .. name;
can be added in
Mediawiki:FileUploadWizard.js to fix this.
Maybe magic word gender can be used in module for username of the user who uploaded file on Commons in this message, and it can be linked by "[[c:User:Username]]
", instead of displaying only unlinked username and not differentiating gender (gender is issue for other languages, including Serbian, that have different verb suffixes for male and female sexes). @
Future Perfect at Sunrise: --
Obsuser (
talk)
02:37, 31 May 2017 (UTC)
Hello. I would like a tool please that ensures redlinked categories at user pages do not end up in Special:WantedCategories. Thanks. The reason for this is that Wikipedia has a fun tradition of users putting humorous redlinked categories on their user pages, but this clogs up the list of more serious redlinks that must be dealt with by serious editors. Anythingyouwant ( talk) 01:17, 26 May 2017 (UTC)
user categories should not be used as "bottom-of-the-page" noticesor the policy WP:NOTSOCIAL.
tiny minority of editors [who chose] to be selfish extremists, intentionally creating redlinked usercats specifically in order to troll and create work for the editors engaged in this form of maintenance– seriously, BHG, you can't see the failure of AGF in your statement?
the point about consensus is that we don't have to like the outcome, just accept that it stands until overturned.Sometimes, a "consensus" is so wrong that IAR mandates it be rejected or ignored. The consensus of the gay wikipedians deletion was, whatever the participants may have thought, in effect a consensus that discrimination against LGBT editors was acceptable. There are US Supreme Court decisions described as "anti-canon", cases that are so flawed that they are now taken as exemplars of bad legal decision making, and were wrong on their face at the time they were taken – examples include Dred Scott and Korematsu. Though not on that level of seriousness, the gay wikipedians decision is similar in that it was wrong on its face at the time. Sometimes, wrong decisions must be called out and met with Rosa Parks-like defiance... and in those cases, we don't applaud the idea that sitting and waiting to be treated fairly is the only approach. Sometimes, if the source of the discrimination is a decision about categories, the way to highlight it is through categories.
why can't you show us a working demo to evaluate?Because I have no interest in doing anything to make your life easier. I've said this before (which you've quoted out of context to fallaciously "justify" yet another personal attack against me). I find your behavior in this matter to be utterly reprehensible and will do nothing to encourage it. Not to mention the fact that there's no need for it, as bluelinked and categorized user cats fixes the problem quite nicely. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 15:48, 26 May 2017 (UTC)
utterly reprehensible, you do well to clean up your own act. That includes cleaning up behavior like your comment to which I responded at WT:UCAT [43], where your response to evidence of flaws in your code was yet more personal attacks. -- BrownHairedGirl (talk) • ( contribs) 16:50, 26 May 2017 (UTC)
I also take issue with the above allegation that those supporting the deletion of Category:Gay Wikipedians were somehow homophobic.I ask that you note that I was careful to say that those supporting the deletion were supporting an action that had the effect of anti-LGBT discrimination, not that their intent was homophobic per se. As a group, the editors participating in the deletion and DRv discussions did not cover themselves in glory... to put it mildly... but I am certain that those advocating deletion were and are not necessarily motivated by discrimination / homophobia nor was prejudice necessarily their motivation in their comments. EdChem ( talk) 04:31, 31 May 2017 (UTC)
Can we please keep this discussion focused on the technical request? This is VPT. The link to the RFC is below, if you would like to discuss the categories themselves. Thanks. – Jonesey95 ( talk) 05:49, 27 May 2017 (UTC)
We have a guideline at Wikipedia:User categories#Overcategorization (substantially duplicated or forked at Wikipedia:Overcategorization/User categories) that should provide enough guidance to tell whether these redlinked categories should be created or removed from pages. If it does not provide such guidance, the guideline should be improved. Excluding them from a report is not provided as an option in the guideline. – Jonesey95 ( talk) 15:30, 26 May 2017 (UTC)
The {{
cite news}}
template with |script-title=
is messing up the display of a Hebrew title with an embedded number and displaying the external link icon centered on the link anchor text instead of to its right. Here are three examples. The first two examples use |script-title=
for the original Hebrew and |title=
for the English translation. The third example uses |title=
for the original Hebrew and |trans-title=
for the English translation. The first example replaces the number, "1.5", in the Hebrew title, to an asterisk (*), and display is normal. The second and third examples use the correct Hebrew title with the number "1.5" . In the second example, using the full Hebrew title wit h |script-title=
, the Hebrew title displays wrong near the number, extra white space is added to make up for the error, and the external link icon is misplaced. This would seem to be a bug. The third example displays normally. Note: surrounding the Hebrew title with <bdi lang="he" dir="rtl">...</bdi> does not help.
|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע * מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS * million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[1]|script-title=
and |title=
(number: 1.5) (markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |title=גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}</ref> (display)
[3]— Anomalocaris ( talk) 00:50, 23 May 2017 (UTC)
|script-title=
, you should tell it what language you are using. In this case, |script-title=he:...
– the language code helps browsers to display it correctly; I do know that when using |script-title=
, |title=
is to be used for a transliteration of the original language title; I do know that |trans-title=
is to hold the English language translation of the title in |script-title=
.centered on the link anchor text.
{{cite news |author=Alexander Katz |url=http://www.ice.co.il/media/news/article/361862 |script-title=he:גם ג'רוזלם פוסט נכנס לטרנד: השקיע 1.5 מיליון ש' במהדורת חדשות באינטרנט |language=he |trans-title=The Jerusalem Post also enters trend: it invested NIS 1.5 million on an Internet news edition |publisher=ICE.co.il |date=10 June 2013 |accessdate=2013-11-21}}
|script-title=
helps a little. The external link symbol is not centered, but off to the right where it belongs, and the Hebrew letters near "1.5" are less scrunched. In fact, what seems to happen is that the Hebrew before (to the right of) "1.5" displays normally, starting from the right; then "1.5" displays, but instead of "1.5" being entirely to the left of the Hebrew preceding it, the "1" in "1.5" is just to the left of the last word before it, so that ".5" overwrites the right end of the last word before it, and then the Hebrew after (to the left of) "1.5" starts up, rather than entirely to the left of "1.5", just to the left of the "5", overwriting "1.". Here is a shorter example set:|script-title=
and |title=
(asterisk: *) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל * תפוחים |language=he |title=Doctor: Eat * apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[1]|script-title=
and |title=
(number: 2) (markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |script-title=he:הרופא: תאכל 2 תפוחים |language=he |title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[2]|title=
and |trans-title=
(markup)<ref>{{cite web |author=Johnny Appleseed |url=http://www.apple.org/ |title=he:הרופא: תאכל 2 תפוחים |language=he |trans-title=Doctor: Eat 2 apples |publisher=apple.org |date=10 June 2017}}</ref> (display)
[3]In this shorter example set, using |script-title=
, the Hebrew near the number ("2") is scrunched and the external link symbol is misplaced, but when "2" is replaced with "*" it works fine, and it also works fine to avoid |script-title=
entirely and use |title=
and |trans-title=
. The bug is: if |script-title=
is in a right-to-left language and includes an embedded number, even if only one digit long, the display is messed up near the number. —
Anomalocaris (
talk)
05:03, 23 May 2017 (UTC)
|title=
in these examples. The English translation of the Hebrew goes in |trans-title=
; when |script-title=
is used, |title=
gets the transliteration of the original language title; in this case, Hebrew words written with Latin characters.|trans-title=
is for the English translation whether the foreign title is in |title=
or |script-title=
. That's irrelevant to the bug of bad display of |script-title=
containing Hebrew with embedded digits. —16:00, 23 May 2017 (UTC)Thank you,
עוד מישהו, for suggesting the possibility that it is browser-related. For all three browsers, it makes no difference if I am logged in or not. Can we make the output of |script-title=
containing Hebrew with embedded digits render correctly for Mozilla Firefox? —16:00, 23 May 2017 (UTC)
— Anomalocaris ( talk) 03:11, 30 May 2017 (UTC)
|url=
parameter is included. Does this help? —
Anomalocaris (
talk)
19:04, 30 May 2017 (UTC)
<bdi>...</bdi>
is overkill, is there a better solution when it is necessary to mix rtl scripts with English or other ltr scripts within a citation?
The following wikitext fails with Expression error: Unrecognized punctuation character "{".
when substituted, but not when transcluded:
{{{{{|safesubst:}}}#ifexpr:{{#if:{{{param|}}}|1|0}}|yes}}
I'm sure I'm missing something very simple, but I can't figure out what's causing this behaviour. TheDragonFire ( talk) 08:29, 31 May 2017 (UTC)
{{{{{|safesubst:}}}#ifexpr:{{{{{|safesubst:}}}#if:{{{param|}}}|1|0}}|yes}}
Is there any chance we can persuade TPTB to fix this relatively long running problem? It's more important than deprecating ISBN, which we don't want, but perhaps not on the WMF agenda...
All the best:
Rich
Farmbrough,
15:39, 28 May 2017 (UTC).
The Bing search site:www.en.wikipedia.org says 12200 results but the links like https://www.en.wikipedia.org/wiki/Antonio_Lamela are broken. The right link is /info/en/?search=Antonio_Lamela. The bad url's can show up in normal searches like https://www.en.wikipedia.org/wiki/Michele_Ragusa in a search on Michele Ragusa. The issue was reported at Wikipedia:Help desk#Search engines adding a "www" to wikipage where I posted more details. Is this Bing's fault or do our servers sometimes give results (lacking styling according to Bing's cache) on the bad url's? PrimeHunter ( talk) 00:06, 1 June 2017 (UTC)
It is annoyingly commonplace to to see things like the following in Wikipedia articles:
of course one immediately corrects it so that it says
But for about the last week, if you put the cursor where the hyphen had been, so that you see 200512, and click on the en-dash in the "insert" menu below the edit window, instead of 2005–12, you see 20051–2.
Has no one else noticed this? I've seen it several times every day for about a week, and never before then. What's going on? Michael Hardy ( talk) 13:47, 31 May 2017 (UTC)
This was previously reported at Wikipedia:Village pump (technical)/Archive 155#Chrome issue with inserting character after backspacing but didn't receive any comments. — JJMC89 ( T· C) 15:19, 31 May 2017 (UTC)
Hey folks, I'm doing an experimental Reddit AMA ("ask me anything") in r/IAmA on June 1st at 21:00 UTC. For those who don't know, I create artificial intelligences that support the volunteers who edit Wikipedia. I've been studying the ways that crowds of volunteers build massive, high quality information resources like Wikipedia for over ten years. This AMA will allow me to channel that for new audiences in a different (for us) way. I'll be talking about the work I'm doing with the ethics and transparency of the design of AI, how we think about artificial intelligence on Wikipedia, and ways we’re working to counteract vandalism. I'd love to have your feedback, comments, and questions—preferably when the AMA begins, but also through the ORES talkpage on MediaWiki.
If you'd like to know more about what I do, see my WMF staff user page, this Wired piece about my work or my paper, " The Rise and Decline of an Open Collaboration System: How Wikipedia’s reaction to popularity is causing its decline". -- EpochFail ( talk • contribs) 14:50, 24 May 2017 (UTC)
Has anyone else experienced a bug wherein wikEd inserts dozens of non-breaking spaces when making an otherwise trivial edit? See this edit by WereSpielChequers, which I reverted and then attempted to reinstate the typo correction only to experience the same issue. I'm using Chrome 58.0.3029.110.- Mr X 21:07, 29 May 2017 (UTC)
When you insert a new section into a page, it creates a kind of pseudo- tag called, oddly enough, new section. However, although it looks like a tag, it doesn't function like one; you cannot use it to filter user contributions, for example. Could we turn that function on? It would likely be of limited value in article-space, but it would greatly help searching through contributions and article histories in Wikipedia spaces such as the RefDesk, the Help Desk, and similar areas. Although it's not something I do much of, I imagine it would also help searching through the page histories of extensive talk pages. Really, any area where the user would like to search through extensive histories by the beginnings of discussions. Matt Deres ( talk) 23:37, 1 June 2017 (UTC)
("*/ new section" in summary)
. There could be rare false positives when users manually enter "new section" as edit summary. If you really want to look for new section additions now then many desktop browsers can search a string on the current page with Ctrl+F. This method would be limited to edits currently displayed in the window so a tag could do much more but I doubt it would be used enough to justify the performance cost. An edit filter to add a tag can be requested at
Wikipedia:Edit filter/Requested. If you want the MediaWiki software itself to add a tag then it's a request for
phab:.
PrimeHunter (
talk)
10:41, 2 June 2017 (UTC)I noticed that usernames containing potential wikimarkup (such as *Treker) will render as such in {{ db-meta}} (see example). Can someone with more template skills please fix that? Regards So Why 11:14, 30 May 2017 (UTC)
{{REVISIONUSER:User:*Treker/sandbox}}
produces *Treker
, while {{PAGENAME:*Lisp}}
produces *Lisp
. A post in
phab:T28781 says: "r80511 and r80512 should fix the issue of insufficient escaping of the output of {{PAGENAME}} and friends". It appears {{REVISIONUSER}} wasn't included in friends. This means Last edited by [[User:{{REVISIONUSER:User:*Treker/sandbox}}]]
produces:Last edited by User:Xaosflux
Last edited by [[User:{{PAGENAME:*Lisp}}]]
produces:Last edited by User:*Lisp
Last edited by [[User:{{replace|{{REVISIONUSER:User:*Treker/sandbox}}|*|*}}]]
produces:Last edited by User:Xaosflux
{{REVISIONUSER}}
like in
this fix of {{
Db-meta}}. The
example from the original post works now. Hopefully there are no bad side effects. Last edited by [[User:{{REVISIONUSER2|User:*Treker/sandbox}}]]
produces:Last edited by User:Xaosflux
{{REVISIONUSER:User:*Treker/sandbox}}
was broken.
PrimeHunter (
talk)
22:39, 2 June 2017 (UTC)This is recent and sporadic. I've only noticed in the last week or so. I'll be typing in the edit window, and suddenly the screen does a refresh on its own. When it does that, everything I just typed is gone, and I have to start all over. I use Firefox, but I'm not sure that's the cause of the oddity. Windows 10 did an install of its latest version a little over a week ago, so it could be that. Or it could be something Wikipedia did in an update. The only time this happens, is in Wikipedia, when an edit window is open and I'm actively typing in it. As I say, it's just now and then, but it sure is a time waster. — Maile ( talk) 17:52, 31 May 2017 (UTC)
safemode
option, which might save you some time in determining whether a script or gadget is the problem.
Whatamidoing (WMF) (
talk)
04:47, 4 June 2017 (UTC)I am looking at this chart generated by the Pageview Analysis tool for the page Wikipedia:WikiProject Video games. I am wondering, why are the numbers so low for the first few months and then jump higher afterward? Did the tool experience downtime during this period? Is there another explanation? Can I get further info regarding all periods of downtime? Thanks! SharkD Talk 13:28, 4 June 2017 (UTC)
Special:Preferences#mw-prefsection-editing
"Enable wizards for links, formatting, tables, citations, and the search and replace function"
Can this be broken up in preferences? I would like to try out the table wizard for now. But not the rest. They just get in the way. -- Timeshifter ( talk) 05:02, 28 May 2017 (UTC)
(unindent). In the last few days it looks like "Enable enhanced editing toolbar" has incorporated "Enable wizards for links, formatting, tables, citations, and the search and replace function". Because this no longer exists as a preference: "Enable wizards for links, formatting, tables, citations, and the search and replace function". Those wizards are now part of the enhanced editing toolbar. It has to be chosen in preferences. It is not default. -- Timeshifter ( talk) 16:09, 4 June 2017 (UTC)
Hello Everyone,
A while back, the content translation tool was behaving undesirably ( context). This left us with about 5000 articles which were either newly created by this tool, or were overwritten by this tool. The articles are listed here: [48]. The edit which either created or overwrite the page has an edit summary that looks something like this: (Created by translating the page "[Name of article on foreign language wiki]") (thank) (Tag: ContentTranslation). I need to know which of these edits were overwrites, and which were creations, so we can check to see if the overwritten page was acceptable. To do this, either I need the full edit summary where the CXT edit happened for each article (overwrites will have undo), the revision history for each article, including full edit summaries in a form I can edit (a .txt file, for example, I can do regex on this to extract the information), or a list of which articles had (or preferably, didn't have) the CXT edit as their first edit. I suspect a quarry search will be a good attack on this problem, as that's how the original list was generated. Pinging @ Xaosflux:, who ran that Quarry search. Pinging @ Mathglot:. Tazerdadog ( talk) 01:21, 19 May 2017 (UTC)
(unarchived from Archive 155 by Mathglot ( talk) 09:57, 30 May 2017 (UTC))
I don't believe it was Tazerdadog's intention to imply that this was no longer a problem, and I believe they may have been misunderstood, since there were no further responses, and the thread was archived. This problem remains, and needs to be addressed. Shall we start over with a restatement of the existing problem?
We are in the process of assessing articles created by CXT to see whether to retain them or not under CSD X2 via a mass delete. When CXT overwrites a previously existing, good article with a bad one, then if we delete that article, that is the wrong outcome—we should keep the article instead. But it's not easy to find those articles manually, we'll probably miss some (or a lot) of them, and some good articles will get deleted. A db query returning titles of articles that are in the current list and tagged in some rev other than the first, would highlight that article list, and allow us to examine those articles for this exact situation so we don't delete the clobbers. Did I state that correctly, Tazerdadog? Mathglot ( talk) 10:41, 30 May 2017 (UTC)
Editors who wish to help with tagging the overwritten articles on the list, please see WP:CXT/PTR/Clobbers. Thanks, Mathglot ( talk) 06:23, 1 June 2017 (UTC)
Has anyone noticed a problem with {{ ping}}? I am getting ping alerts, mostly, I believe, (but then again, how would I know for sure?), but I've suspected that there are sporadically some missing alerts. For example, here's an edit I spotted from my watchlist that pings me, but I don't see it in my alert notifications.
On the flip side, I've occasionally pinged lots of users ( 13 in this case) and not gotten any response. Perhaps they're just busy or chose not to respond. I'm loathe to ping twice [a], that could be seen as being bothersome, but now I can't help wonder if all of those notifications were delivered. Mathglot ( talk) 20:26, 4 June 2017 (UTC)
[[User:Mathglot]]
or a template (such as {{
reply to}}
, {{
user}}
, {{
user link}}
, or one of their redirects) is used, the crucial feature is that the user page be linked in some way.Will update • Sammy Majed • Talk • Creations • Wikipedia Arabic • 13:32, 2 June 2017 (UTC)
Is it possible to render archive searches in date order? I sometimes need to refer back to a post I made on discussion pages such as VP, HD, etc. When I search the archives for my username the resulting list is apparently in a random order. This is not helpful when I know the post I'm looking for was in the last month or two. So, I think the ability to search a specific date range or have the search results sorted in date order by default would be far more useful than the current random order. Roger (Dodger67) ( talk) 08:19, 5 June 2017 (UTC)
prefer-recent:1,1
from
mw:Help:CirrusSearch#Prefer-recent but old archives sometimes have a recent edit. If the last edits are close to eachother then precise sorting may require a fraction as second argument like prefer-recent:1,0.1
. For discussion pages you can include something like "May 2017" in the search to find pages with posts signed that month, or "May 2017 UTC" to reduce the risk of false positives for pages mentioning the month outside a signature.
PrimeHunter (
talk)
09:37, 5 June 2017 (UTC)
The "Move succeeded" page contains text strings such as You should also update the associated Wikidata item to maintain language links on moved page
and A redirect has been created
. They don't appear in
MediaWiki:Movepage-moved and I can't find where they are generated.
Jo-Jo Eumerus (
talk,
contributions)
12:19, 5 June 2017 (UTC)
On
Aquaman, {{
Aquaman}} is not expanded, even tho I have |state=expanded
in the text. I have also tried |state=uncollapsed
with the same result. Can someone please explain what is happening and {{
ping}} me? Thank you. ―
Justin (koavf)❤
T☮
C☺
M☯
21:16, 5 June 2017 (UTC)
| state = {{{state|autocollapse}}}
(which I just changed it to). The previous coding was ignoring any state parameter.
Murph9000 (
talk)
21:22, 5 June 2017 (UTC)
Please tell me what's wrong with the third line
{{flag|USA|size=23x14px}}
{{flag|USA|size=23x15px}}
{{flag|USA|size=23x16px}}
{{flag|USA|size=23x17px}}
Maiō T. ( talk) 11:45, 3 June 2017 (UTC)
@ PrimeHunter: I'm testing those alignments at {{ flag/sandbox}}. I've edited just one word and here is the result:
{{flag/sandbox|USA}}
{{flag/sandbox|Switzerland}}
{{flag/sandbox|Nepal}}
{{flag/sandbox|Vatican}}
{{flag/sandbox|FRA}}
I think it's worth to edit the protected template {{ flag}}. Maiō T. ( talk) 15:39, 3 June 2017 (UTC)
The current hybrid situation is not very good:
{{flag|Switzerland}}
{{flag|Niger}}
{{flag|Nepal}}
{{flag|Monaco}}
{{flag|France}}
We should remove those NBSPs at Nepal & Switzerland flags, or use the aligning method as a default. Maiō T. ( talk) 11:11, 4 June 2017 (UTC)
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 changes
Problems
Changes this week
Meetings
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
19:04, 5 June 2017 (UTC)
var customizeToolbar = function () {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
buttonId: {
label: 'Nowrap',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/5e/Button_template_join.png',
action: {
type: 'encapsulate',
options: {
pre: '{{nowrap|',
peri: '',
post: '}}'
}
}
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
buttonId: {
label: 'Uncertainty',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/94/Button_template_dev.png',
action: {
type: 'encapsulate',
options: {
pre: '{{±|',
peri: '',
post: '}}'
}
}
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
buttonId: {
label: 'Small',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/58/Button_small.png',
action: {
type: 'encapsulate',
options: {
pre: '{{small|',
peri: '',
post: '}}'
}
}
}
}
} );
};
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */
if ( $.inArray( mw.config.get( 'wgAction' ), 'edit', 'submit' ) !== -1 ) {
mw.loader.using( 'user.options' ).then( function () {
// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {
$.when(
mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready
).then( customizeToolbar );
}
} );
}
(This discussion was moved from the Reference Desk/Computing, where I started it by mistake- darthbunk pakt dunf t) Hi, I am wondering if someone knows an easy and fast way (a bot?) to correct Paulin Martin's name in the bblg footnotes of literally hundreds of articles ( /info/en/?search=Special:WhatLinksHere/Paulin_Martin) where it is erroneously spelled Jean-Pierre-Paul Martin? The most simple way would be to change it to the form it has on books i.e Jean P.P. Martin or even more simply J.P.P. Martin. [D 1] Thanks. darthbunk pakt dunf t 20:58, 5 June 2017 (UTC)
Hi, I renamed Nuestra Señora de Encarnación today (removing Spanish Ship from the title). The original (and wrong) title was displaying correctly with Nuestra Señora de Encarnación only in italic. But now, the template italic title I had put on the page is overriden by a DISPLAYTITLE somewhere... but I can't find it. If someone could fix that, I'd be grateful. Thanks in advance.darthbunk pakt dunf t 22:46, 6 June 2017 (UTC)
|display title=
param.
Ppp
ery
00:07, 7 June 2017 (UTC)
Could somebody with more expertise in table coding than I have take a look at Academy of Canadian Cinema and Television Award for Best Live Action Short Drama?
For reasons I've never really understood, the table code I used to format the pages always required me to set the rowspan number for the first column one higher than the number of rows I actually wanted that header to span — if there were five nominees for the award in a given year, I had to set the year column's rowspan number to 6, not 5, for the table to work correctly. In some years, however, I needed to include a single row to indicate that the award was not presented that year so go to this other article instead — for those instances, rowspan=2 formerly worked correctly, but something appears to have changed: the box around that text now occupies about half of the "row" for its year, leaving weird blank spaces scattered throughout the table and stuttering the right margin. But neither changing the rowspan on the year header from 2 to 1 nor changing the rowspan on the content line from 1 to 2 actually fixes the issue; doing either of those things just borks the table even worse.
So does anybody know how to fix this? Or what it is about this table code that made me have to set the rowspan numbers one higher than the number of rows being spanned, even though I haven't had to do that in most other tables on most other articles? Bearcat ( talk) 06:22, 7 June 2017 (UTC)
Is there some way to make the "Revision history statistics" link go to this tool rather than this tool? Beyond My Ken ( talk) 03:26, 7 June 2017 (UTC)
I unchecked the "Temporarily disable the visual editor while it is in beta" option in preferences to turn Visual Editor on for a while. But now I can't turn it off! It's stuck. Can anyone help? SharkD Talk 23:54, 5 June 2017 (UTC)
Is it possible to create a chart like {{
Game of Thrones ratings}} in Vega or with
Module:Chart, without any odd spacing issues? EasyTimeline is problematic since the y-axis only allows integer spacings and is therefore inflexible since 0.1 spacings are better for some of the bar charts. (The module used to create those charts,
Module:Television ratings graph, can convert the values to thousands but it would be preferable not to so as to remain consistent with other data.)
—
Jc86035 (
talk) Use {{
re|Jc86035}}
to reply to me
07:59, 8 June 2017 (UTC)
As a Wikiproject we use the template {{location map~|Dorset|label =|mark = |position = |lat = |long = |caption =|float = |marksize = }} to add icons to this map Wikipedia:WikiProject Dorset/Map. Is there anyway a parameter can be added so that, when hovering the cursor over the icons, the corresponding article names are revealed? There is currently an option to label but because it is permanent, using it creates a mess. If this isn't the right place for such a question, please can someone let me know where is. Thanks-- Ykraps ( talk) 07:02, 8 June 2017 (UTC)
|link =
to make clickable links to the articles. It will depend on browser and user settings what happens when you hover over the link.
PrimeHunter (
talk)
08:04, 8 June 2017 (UTC)
|label=HOVERTEXT
and |position=none
to the parameters and then it should work. --
WOSlinker (
talk)
12:33, 8 June 2017 (UTC)
Wikipedia is forcing HTTPS with protocol relative URLs, even when the underlying URL doesn't support HTTPS. Example:
This is breaking untold 10s or 100s of thousands of links. See the messed up American rotation. It also makes using protocol relative URLs useless, in essence Wikipedia is saying we don't support protocol relative URLs. WP:PRURL has some past discussions about PRURLs on certain sites, but I can't find anything about forcing HTTPS. It looks like we need to convert all the PRURLs to https/http as appropriate. Comments, thoughts? -- Green C 15:14, 8 June 2017 (UTC)
Sometimes I come across usernames made all of hexadecimal digits and colons, e.g. 2601:584:100:E310:51CC:3CBD:F2D2:F25 . This example made no sense when I tried to decode it, treating it as hexadecimal codes for Unicode characters, whether as big-endian or as little-endian. What are such usernames? Anthony Appleyard ( talk) 05:05, 7 June 2017 (UTC)
Wouldn't it make sense to globally (meaning for all wikis) add the "upright" option for embedding images with the corresponding tool in the "regular" 2010 vector editor toolbar? This function is used actually not so rarely and so a default function could be quite useful I think. What is your view?-- Hubon ( talk) 22:42, 5 June 2017 (UTC)
|upright
option sets the width to 75% of the |thumb
width (set by user preference, or 220px for logged-out users), and used with a value sets a scale factor - so |upright=1.25
increases the width by 25%. But it's based purely on width - image height cannot be set directly, it is scaled by the same factor as the width. An image whose natural size is 360x640, scaled |upright=0.75
, will be displayed taller than an image whose natural size is 960x1280 scaled to the same factor: both will be displayed 165px wide. Square bounding boxes, on the other hand, would have set the longer dimension - whether that be width or height. --
Redrose64 🌹 (
talk)
23:35, 7 June 2017 (UTC)
|upright
was actually taken. The first replacement option has also been rejected, but the need for a better solution doesn't invalidate the decision to deprecate |upright
.
Whatamidoing (WMF) (
talk)
04:19, 9 June 2017 (UTC)So... following this discussion, at least my own user pages were in fact indexed by google. Is... there a particular reason for this? I thought userspace and draftspace were invisible? TimothyJosephWood 22:29, 4 June 2017 (UTC)
<head>...</head>
and <meta>
tags are not whitelisted. As far as I am aware, the only HTML tags that are whitelisted are those that are normally found between <body>...</body>
tags - and not all of those, either; the most familiar examples of not being whitelisted are <a>...</a>
and <img />
. --
Redrose64 🌹 (
talk)
09:46, 5 June 2017 (UTC)
<link>
and <meta>
are not permitted.
PrimeHunter (
talk)
10:41, 5 June 2017 (UTC)
<meta />
is generally not permitted and renders as plain text: <meta />. But <meta itemprop="test" content="test" />
is permitted and added to the html instead of rendering here: . <link />
is generally not permitted and renders as plain text: <link />. But <link itemprop="test" href="test" />
is permitted and added to the html instead of rendering here: .
PrimeHunter (
talk)
11:09, 5 June 2017 (UTC)
__INDEX__
until I changed it now. Templates are indexed anyway so it doesn't matter. The {{
WikEd}} documentation is in noinclude tags so it had no effect on pages transcluding {{
WikEd}}, but userspace pages transcluding
User:Cacycle/wikEd template were indexed. This is an unexpected effect for the users so I have coded the page to only add __INDEX__
in Cacycle's userspace.
[72]
PrimeHunter (
talk)
14:32, 5 June 2017 (UTC)
__INDEX__
in userspace does switch off the light. The default for English Wikipedia userspace is for MediaWiki to automatically add the html
noindex to the page with <meta name="robots" content="noindex,follow"/>
. This always happens if the page doesn't have __INDEX__
in the wikitext. The effect of __INDEX__
in userspace is to remove the default noindex tag. There is no "index tag" in html to say you allow indexing. It's assumed to be allowed when there isn't a noindex. It doesn't matter in userspace whether there is a __NOINDEX__
or nothing. But as Redrose64 says, if a page has been indexed by a search engine when it was allowed then it remains indexed by that search engine until it visits the page again and dicovers indexing is now disallowed.
PrimeHunter (
talk)
09:58, 6 June 2017 (UTC)There is an AfD here hinging on the question of whether non-encyclopedic pages can be retained in mainspace as a technical workaround. It's not clear yet how the community feels about this, but it is clear that more attention is needed to the matter. — swpb T 12:47, 9 June 2017 (UTC)
Since Mr.Z-man has been gone for a while: when closing as "redirect" (and presumably "delete and redirect", which isn't available to me as a non-admin) for a page that's already a redirect, the script will apply the effect of the close to the redirect target - see this for example. I think it's because when the script was written, the URL you'd get when visiting a redirect was the title of the redirect, whereas now it's the title of the target article. I don't know Javascript, so I'm not sure why this is and how to fix it; could someone see what can be done? My thought is to check if the article on which the script is about to carry out the task is the same as the one it's meant to be for, but I'm not sure how delete-and-redirect would work after that. ansh 666 04:00, 6 June 2017 (UTC)
A user is unable to create an account on Commons due to a range block. I would like this user to be able to create an account, and I provide IP block exempt. Is this possible? See User talk:Xandtha, c:User talk:101.127.231.19. Magog the Ogre ( t • c) 03:25, 9 June 2017 (UTC)
After finding out I could save filters on Recent Changes. I had the namespace set to "Article", but sometimes when I click "Show" it automatically sets the namespace to "all" and gives me changes for non-articles too. (but it does follow my filter) So the question either is "what's causing the bug" or "how do I get around the bug". -- MrHumanPersonGuy ( talk) 00:23, 10 June 2017 (UTC)
Is it possible to find out which articles Wikipedia thinks I have reviewed for GA? When I start a new review, it says 39 on the WP:GAN page, but this appears to be about 6 more than I think I have done. Bob1960evens ( talk) 12:32, 9 June 2017 (UTC)
{{
GA nominee}}
template; the other is people attempting to manually update pages that should be left for Legobot, which becomes confused, and can double-count an action. --
Redrose64 🌹 (
talk)
22:44, 9 June 2017 (UTC)
Is anyone maintaining the templatecount tool on Tool Labs?
Jc86035 (
talk) Use {{
re|Jc86035}}
to reply to me
15:27, 10 June 2017 (UTC)
See this edit. Where I wrote
[https://en.wikipedia.org/?title=User_talk:King_of_Hearts&diff=prev&oldid=783623376 your comment to {{U|King of Hearts}}]
the rendered text shows the link ending after "to", and the "King of Hearts" part not being in the link. Is this a problem with how the template is defined, or just working as expected? -- RoySmith (talk) 15:36, 10 June 2017 (UTC)
{{
U|username}}
generates a link to the user, e.g. {{
U|RoySmith}}
produces
RoySmith. The parser is doing its best to guess what you wanted, so giving you both links, split at the point of impossibility. It's not just a MediaWiki thing, HTML does not provide a way to have a link somehow embedded inside a link. I'm not sure about "working as expected", as it's essentially invalid markup, but it's certainly working about as well as it could ever hope to work. You can use templates inside external link wiki markup, but they can't generate anything which would be invalid as contents of a HTML <a>
element.
Murph9000 (
talk)
16:50, 10 June 2017 (UTC)
<div>
<a href="(url for markasread)">
<div>
<div>
<div>
Example mentioned you on <strong>(pagename)</strong> in "<strong>(section name)</strong>".
</div>
First part of post...
</div>
<div>
<div>
<a href="(url to user page)">Example</a>
</div>
<div>
<a href="(url of diff)">View changes</a>
</div>
</div>(time)
</div>
</a>
</div>
<a>...</a>
element encloses a <div>...</div>
that ultimately contains two more <a>...</a>
elements. --
Redrose64 🌹 (
talk)
22:26, 10 June 2017 (UTC)
Transparent, but there must be no interactive content descendant.[1] [2] HTML5.1 strengthens that to
Transparent, but there must be no interactive content or a element descendants.[3] [4] The other fork of the standard similarly restricts it, currently with the stronger restriction from HTML 5.1. [5] Murph9000 ( talk) 23:49, 10 June 2017 (UTC)
References
In February of 2016 the Wikimedia foundation started sending information to all of the websites we link to that allow the owner of the website (or someone who hacks the website, or law enforcement with a search warrant / subpoena) to figure out what Wikipedia page the user was reading when they clicked on the external link.
The WMF is not bound by Wikipedia RfCs, but we can use an advisory-only RfC to decide what information, if any, we want to send to websites we link to and then put in a request to the WMF. I have posted such an advisory-only RfC, which may be found here:
Wikipedia:Village pump (policy)#RfC: Wikimedia referrer policy
Please comment so that we can determine the consensus of the Wikipedia community on this matter. -- Guy Macon ( talk) 21:45, 10 June 2017 (UTC)
Before 2011, Wikipedia was an HTTP site with full URLs sent in the referrer. In 2011, Wikipedia added support for Hyper Text Transfer Protocol Secure (HTTPS). Users who accessed Wikipedia with HTTP still sent full URLs in the referrer. Users who accessed Wikipedia through HTTPS and clicked on an HTTPS external link also sent full URLs in the referrer. Users who accessed Wikipedia through HTTPS and clicked on an HTTP external link sent no referrer information. In 2015, Wikipedia stopped offering HTTP and only offered access to the site with HTTPS.It's not like this is some kind of revelation; what has changed is that we're now aware that spammers and government agencies are aggressively harvesting referred data. ‑ Iridescent 00:47, 11 June 2017 (UTC)
Does anyone experience 'script hickups' with a.o. Twinkle? Sometimes when I load a contributions page I do not have the 'more' and 'TW' dropdown menus (vector skin / Chrome browser), and one of my user scripts is sometimes not loading through to the next part it needs to execute. Things then tend to work after reloading the page one or two times. -- Dirk Beetstra T C 06:48, 7 June 2017 (UTC)
mw.loader.using( 'mediawiki.something' )
wrapper, causing it to intermittently fail if it happens to complete loading prior to something else which loads the necessary module. Some modules were loaded by default until relatively recently, and scripts which have not been updated can fail now that they are not being automatically pre-loaded. Here's a generic outer wrapper for scripts which isolates them from global namespace, loads various MW modules, and waits for document ready:/**
* Example generic script wrapper, with basic debugging
*/
( function ( mw, $ ) {
'use strict';
var FILE = 'User:Example/example.js';
console.info( FILE, 'starting' );
$.when(
mw.loader.using(
// Modules your code uses, for example:
'mediawiki.Title',
'mediawiki.Uri',
'mediawiki.util',
),
$.ready
).done( function () {
console.log( FILE, 'ready' );
// Your code here
// Listed modules have been loaded
// Document is ready (DOM fully loaded)
console.log( FILE, 'done' );
} );
} )( mediaWiki, jQuery );
$.ready
, for example loading other scripts should not wait for document ready (unless those scripts are broken and that is being used as a workaround for them).
Murph9000 (
talk)
05:47, 10 June 2017 (UTC)
load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:176 ReferenceError: addPortletLink is not defined ReferenceError: addPortletLink is not defined
- at eval (eval at <anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:2:140)
- at HTMLDocument.<anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:177)
- at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at Object.add [as done] (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at jQuery.fn.init.jQuery.fn.ready (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)
- at jQuery.fn.init (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:41)
- at jQuery (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:1)
- at load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:177
- at eval (eval at <anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:4), <anonymous>:2:5)
at eval (<anonymous>)
index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript:179 Uncaught TypeError: Cannot read property 'hasClass' of null
- at index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript:179
- at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at Object.fireWith (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:46)
- at Object.fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:175)
- at HTMLDocument.eval (eval at <anonymous> (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:1), <anonymous>:1:9452)
- at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:45)
- at Object.fireWith [as resolveWith] (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:46)
- at Function.ready (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)
at completed (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin…:49)
addOnloadHook( … addPortletLink() )
at the bottom of your vector.js. I suggest replacing it with the following:$.when(
mw.loader.using( 'mediawiki.util' ),
$.ready
).done( function () {
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Contributions' ) {
mw.util.addPortletLink(
'p-cactions',
'javascript:hidetopcontrib()',
'show/hide top',
'ca-hidetop',
"Show/hide pages for which you're the top contributor"
);
}
// You can use this loader / ready wrapper for any additional
// mw.util.addPortletLink() calls in the future.
} );
addPortletLink()
instead of a wrapped mw.util.addPortletLink()
. If I was going for a more complete overhaul, I'd also wrap the function above it in a global immediate function, and change from a javascript:hidetopcontrib()
URL to a click event handler. The minimal overhaul addresses the things which are quite likely to be problematic, the other bits are less likely to be an immediate issue.addOnloadHook()
and addPortletLink()
will be going away at some point (see
mw:ResourceLoader/Legacy JavaScript), and they have been deprecated for quite a while now. Cautious updating is perfectly reasonable, but you'll need to deal with those eventually (could be as soon as the next big update, could be longer, I'm not certain of the timescale).
Murph9000 (
talk)
05:39, 11 June 2017 (UTC)My most recent changes to the following 2 articles fail to reflect:
Am I doing something wrong? → Wordbuilder ( talk) 18:24, 11 June 2017 (UTC)
|accessdate=
and |access-date=
- the message does not concern the parameter name, but the value that is being fed in. --
Redrose64 🌹 (
talk)
18:29, 11 June 2017 (UTC)It was suggested at this discussion that VPT may be a better venue, so here goes. The average views that the main page receives has shown an odd pattern over the last few months. The views average ~25M a day till 18 March, then 20M a day till 24 May, and 16M a day after that; and the declines happen stepwise, seemingly separate from the day-to-day variation. Personally, I find this quite strange. Is this an artifact of the counter? Or is this something else? Vanamonde ( talk) 02:25, 12 June 2017 (UTC)
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 changes
Changes this week
Meetings
Future changes
&fuzzy=1
to the end of the web address when looking at
Special:Undelete.
[78]
[79]Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:29, 12 June 2017 (UTC)
When Wikipedia previews your edit on mobile, there is a text box with your edit summary. It has "example: Fixed typo, added content". This leads to over 400,000 actions on the edit filter, and that's just "Fixed typo", "added content", or two word edit summaries. There is and will be much more, including "content", "added facts", etc. The majority of these canned edit summaries are unconstructive edits. This misleads people, which is what I hate. So instead of making this problem worse, can someone change "Example: Fixed typo, added content" to "Describe your changes" or something? That is what it reads on visual editor: "Describe your changes". That is why there is (almost) no canned edit summary issues on Visual editor. Someone please make the mobile edit look that way. Wikipedia will look significantly better because of less misleading edit summaries. Is there anywhere else I can put these comments, too? What I suggested here will help Wikipedia look so much better. Examples
https://en.wikipedia.org/?title=Thomas_M%C3%BCller&diff=783988446&oldid=783362248
https://en.wikipedia.org/?title=Captain_Underpants&diff=784001544&oldid=783954424
https://en.wikipedia.org/?title=In_the_House_(TV_series)&diff=784067332&oldid=784029543
Wikipedia vandalism may still exist after these changes are made, but at least they don't have these edit summaries. No more "facts" "content" etc. 68.228.254.131 ( talk) 05:38, 7 June 2017 (UTC)
The tool seems to be broken and now it's a bit harder to check eligibility for DYK articles, particularly those that were expanded. Could someone try and fix the problem? The tool's creator hasn't been active much lately. Narutolovehinata5 t c csd new 00:10, 13 June 2017 (UTC)
Is there any way the "thank" feature can be ghosted after it's used? I'm guilty of forgetting I already thanked someone for an edit and end up thanking them 2ce or more.
Atsme
📞
📧
14:56, 14 June 2017 (UTC)
On any article with <math>
tags, I see SVGPNG images, despite having "MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools)" selected in my preferences. The image that displays has the class "mwe-math-fallback-image-inline", suggesting that I'm seeing the SVGPNG fallback decribed in the settings. I don't see why I should be though: there are MathML tags on the page too, with display: none
set and the class mwe-math-mathml-a11y
. If I get rid of that, then I can see the MathML content absolutely fine. Why are these classes being applied?
User:GKFX
talk
14:19, 13 June 2017 (UTC) (edited 21:43, 13 June 2017 (UTC))
/* hack for svg -> mathml in firefox */
.mwe-math-fallback-image-inline {
display: none !important;
}
.mwe-math-mathml-a11y {
display:inherit;
position: inherit;
clip:inherit;
width:inherit;
height:inherit;
opacity:inherit
}
<dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" >
See https://www.mediawiki.org/wiki/Extension:Math#Viewing_math or https://phabricator.wikimedia.org/T147319 . — Preceding unsigned comment added by 197.218.84.235 ( talk) 15:07, 14 June 2017 (UTC)
Sorry to bother you again Redrose, but would you mind taking a look at this technical issue?
1 | 2 |
---|---|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
A |
B | |
C | D |
E | F |
Per Help:Table#mw-datatable, this style of table formatting allows for row highlighting, yet there is a slight problem concerning the rowspan option. If one hovers cell C then cell D is also highlighted. Yet highlighting the rowspanned Lorem ipsum text only highlights cell A not B. I may be missing something here. I'd much appreciate your thoughts on this. Warm regards.-- Nevé – selbert 18:54, 15 June 2017 (UTC)
rowapan=
attribute doesn't actually merge rows; the Lorem cell still belongs to just one row. This should be clear from the markup: each row has two cells, except for the middle one which has just one cell - in the second column. --
Redrose64 🌹 (
talk)
21:25, 15 June 2017 (UTC)
1 | 2 |
---|---|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
style="vertical-align:top"| A B |
C | D |
E | F |
| {{Lorem ipsum}} ||style="vertical-align:top"| A<hr/>B
User:GKFX
talk
23:38, 15 June 2017 (UTC)
[ https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy ] says:
Other ways to set a referrer policy:
This comes from [ https://www.w3.org/TR/referrer-policy/ ],section 4.3.
I am trying to figure out which browsers allow setting a referrer policy on a standard HTML A link, but I can't seem to find any references that say which browsers support it. Does anyone know the answer? -- Guy Macon ( talk) 17:15, 15 June 2017 (UTC)
Are there guidelines about nested categories?
I was looking at Category:Assassinated British politicians and see it has 4 sub categories including Category:Assassinated English politicians. The 4 sub categories only have around 50 entries which along with the ~10 at the top level would comfortably fit onto one page.
Is there a way of getting an exploded view of all the articles in one list?
Is it right that a person should be both in a sub-category and in the top level category (eg Richard Sharples)?
-- SGBailey ( talk) 07:04, 16 June 2017 (UTC)
Hi all, not sure if anyone else has experienced this but when trying to log in on a new computer all my 2FA tokens are saying "Invalid". This has also happened to Chrissymad, and as she kept her scratch codes (unlike me, derp) she tried using them to log in, however they too are apparently "Invalid" ~ TNT Public 13:13, 16 June 2017 (UTC)
Upgrade MySQL Schema Run the storage upgrade script to upgrade databases (host "m3-master.eqiad.wmnet" is out of date). Missing patches: phabricator:20170528.maniphestdupes.php, phabricator:20170612.repository.image.01.sql. Run this command: phabricator/ $ ./bin/storage upgrade
Google Authenticator --> Settings --> Time correction for codes --> Sync now
~
TNT
Public
14:11, 16 June 2017 (UTC)Is itpossible for someone to pop over to my talk and give an opinion? Much appreciated if possible. Cheers! — O Fortuna semper crescis, aut decrescis 15:44, 15 June 2017 (UTC)
Greetings, When I added the "Subject bar" template to article University of Notre Dame, the override "v-search" still defaults to article name, and is ignoring "South Bend" search value. Wondering if there is something that I'm missing? Regards, — JoeHebda • ( talk) 14:53, 16 June 2017 (UTC)
Deletion nominations originating from Twinkle are not appearing in the page log. For instance Endrit Braimllari is currently at AFD and the nomination is listed in the logs. However, Karl Holluba, also currently at AFD, is not listed in the logs. The difference is that the first example was nominated through Page Curation and the second one was nominated through Twinkle. The same thing is happening with CSD and Prod, and possibly other Twinkle processes. Is this a bug with Twinkle, with the Wikimedia software, or with the templates being used? In other words, where is the best place to report it? Spinning Spark 17:42, 15 June 2017 (UTC)
Before an editor made this edit, the references displayed in the Notes okay, now they don't. Reflist 30em looks okay. Some hidden control characters lurking somewhere? CV9933 ( talk) 19:18, 18 June 2017 (UTC)
Why Periodic table legend displays improperly on mobile view (right border is not complete and box is not centered)? -- 5.43.106.119 ( talk) 21:34, 17 June 2017 (UTC)
At Wikipedia:Village pump (policy)#A solution that satisfies privacy and GLAM requirements? (which is a section of Wikipedia:Village pump (policy)#RfC: Wikimedia referrer policy I have an editor who claimed without evidence that a particular feature is supported only by the chrome browser. my research suggests that it is supported by all major browsers, but the ref I am basing that on is is to searchengineland, and I really am hoping to find a better source. I could really use some technical help here.
In particular, if Wikipedia puts the following in the head of the HTML...
<meta name="referrer" content="same-origin">
...thus sending no referrer information when a user clicks on a link to a non-Wikipedia page, and then Wikipedia adds the following to selected links...
<a href="http://example.com" referrerpolicy="always">
..to override the meta tag in the head, what browsers support this?
According to [ https://caniuse.com/#feat=referrer-policy ] Referrer Policy is supported by Firefox, Chrome, Safari, Opera, iOS Safari, Android Browser, and Chrome for Android and (maybe) Microsoft Edge. (It is not supported by Internet Explorer, but because Internet Explorer doesn't support the referrer meta tag or referrerpolicy on the link, IE will always have the default HTTP/HTTPS behavior no matter what we do with our meta tags and links.)
According to [ http://searchengineland.com/need-know-referrer-policy-276185 ], There are many ways you can deliver the referrer policy:
I have searched and searched and cannot find a shred of evidence that this is only supported by chrome, but I am also lacking good, strong evidence that it is supported by other browsers.
Help me, Obi-Wan Kenobi! You're my only hope!! :) -- Guy Macon ( talk) 13:35, 17 June 2017 (UTC)
Wikipedia:Village_pump_(technical)#Other_ways_to_set_a_referrer_policy — TheDJ ( talk • contribs) 11:18, 19 June 2017 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
Changes this week
irc.wikimedia.org
has to be rebooted. This will probably happen on 21 June. It may be postponed. Some tools use this to get the recent changes feed. They will not work when it is down.
[89]Special:PageData
will be an entry point for machine-readable page data.
[90]Meetings
Future changes
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:44, 19 June 2017 (UTC)
While it's fairly easy to match a string in regex, it's quite hard to not match it.
For instance, let's say <ABC> marks the start of a string and <XYZ>, and I want to match the first part in
How do I do that? My mind thinks <ABC>[^(<XYZ>)]+<XYZ> (e.g. match <ABC>, match NOT <XYZ>, match <XYZ>), but that's not valid regex. Headbomb { t · c · p · b} 15:31, 19 June 2017 (UTC)
.
should work. If you want to grab all text up to the first instance of <XYZ>
, use \<ABC\>.*?\<XYZ\>
. If you want to grab all text up to the last instance of <XYZ>
(including all intervening <XYZ>
s), use \<ABC\>.*\<XYZ\>
, without the ?
from my first example. Of course, the best practice is, if possible, try to eliminate the use of .
by enumerating all the potential characters. .
can also be set to either include or exclude \r\n
characters, depending on your application. ~
Tom.Reding (
talk ⋅
dgaf)
15:50, 19 June 2017 (UTC)doi:
. The second matches everything first and greedily, so the negative lookahead at the end doesn't matter. The third pattern matches greedily, which may or may not be what you want; you can use .*? for a non-greedy match.((?!<\/ref>).)*
. Warning: I didn't test that; just something off the top of my head. But checking for a trailing sentinel value (as you've done with the positive lookahead assertion, and Tom.Reding did with his example) is typically easier to understand. As long as there are no nesting issues it is often good enough combined with a non-greedy match.
isaacl (
talk)
20:41, 19 June 2017 (UTC)
If you want to get a better insight into regex, I can highly advise https://regex101.com It's a great site to validate and debug various regex flavors. — TheDJ ( talk • contribs) 23:22, 19 June 2017 (UTC)
I can't log in with Firefox anymore.
The WP login window keeps giving me this message:
"There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again."
I followed those instructions, but I keep getting the same message.
So I loaded chromium, and was able to log in fine with that.
But I still can't log in with my Firefox browser.
Please help! The Transhumanist 03:50, 20 June 2017 (UTC)
Is there a way to search edit summaries (not the entire edit histories), not just for one article, but for all articles? Thanks. SharkD Talk 14:35, 19 June 2017 (UTC)
Why infobox titles in mobile view, e.g. for article YouTube (uses {{ Infobox website}}, leads directly to {{ Infobox}} i.e. Module:Infobox), display uncentered and not enlarged? -- 5.43.106.119 ( talk) 21:34, 17 June 2017 (UTC)
<table><caption>YouTube</caption><tr><td>Video hosting service</td></tr></table>
:Video hosting service |
.content table caption { display:block; text-align:left }