Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
 Policy Technical Proposals Idea lab Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bug reports and feature requests should be made in Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).

Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk.

Frequently asked questions (FAQ) (see also: Wikipedia:FAQ/Technical)
Click "[show]" next to each point to see more details.
If something looks wrong, purge the server's cache, then bypass your browser's cache.
This tends to solve most issues, including improper display of images, user-preferences not loading, and old versions of pages being shown.
No, we will not use JavaScript to set focus on the search box.
This would interfere with usability, accessibility, keyboard navigation and standard forms. See bug 1864. There is an accesskey property on it (default to accesskey="f" in English), and for logged in users there is a gadget available in your preferences.
No, we will not add a spell-checker, or spell-checking bot.
You can use a web browser such as Firefox, which has a spell checker.
If you have problems making your fancy signature work, check Wikipedia:How to fix your signature.
If you changed to another skin and cannot change back, use this link.
Alternatively, you can press Tab until the "Save" button is highlighted, and press Enter. Using Mozilla Firefox also seems to solve the problem.
If an image thumbnail is not showing, try purging its image description page.
If the image is from Wikimedia Commons, you might have to purge there too. If it doesn't work, try again before doing anything else. Some ad blockers, proxies, or firewalls block URLs containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear.
For server or network status, please see Wikimedia Metrics.
« Archives, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175

Contents


Not running "Community tech bot" for Popular pages[edit]

Bumping thread for 30 days. JoeHebda (talk) 02:46, 19 July 2019 (UTC) Greetings, Community tech bot appears to be down (not running) since April, 2019. Instructions are To report bugs, please write on the Community tech bot talk page on Meta. I did report in June, and with no response. Wondering if an expert here could fix? For example, Wikipedia:WikiProject Saints/Popular pages Updated: 6:32 pm, 26 April 2019, Friday (2 months, 13 days ago). Regards, JoeHebda (talk) 13:06, 8 July 2019 (UTC)

  • @MusikAnimal (WMF): any insight in to this? — xaosflux Talk 18:59, 8 July 2019 (UTC)
    The cron job for this month didn't start for some reason. I have manually triggered it. "Saints" is pretty far down the list so it may be a while before the bot gets to it. I don't have an answer as to why no report was created for May and June, but I will investigate. Also, don't forget about toolforge:massviews which can give you the same information in real-time: [1]. That tool seems to be having problems of its own (lots of errors querying the pageviews API, tracked at phab:T219857), which I'm starting to believe might be the same reason Popular Pages bot isn't finishing some reports. MusikAnimal (WMF) (talk) 20:12, 8 July 2019 (UTC)
    Thanks @MusikAnimal (WMF): - I really like viewing Popular Pages on my fav. WPs; very helpful! Wondering if bot stalls out if it's not done running current month jobs & at calendar new month (day 1) starts a second bot? Just curious... JoeHebda (talk) 12:26, 9 July 2019 (UTC)
    I suspect all the reports will be done within the next two weeks. If not, the reports for July will start populating on the 3rd. This is because it takes up to two full days for the previous month's data to be available. Best, MusikAnimal (WMF) (talk) 17:28, 9 July 2019 (UTC)
    Hello @MusikAnimal (WMF): - Since starting at 15:41, 8 July 2019, the bot as of this morning has processed 60 WPs out of over 1,600 so it has a long ways to go to complete. At 30 perday, thats 53 days of runtime. JoeHebda (talk) 14:01, 10 July 2019 (UTC)
    The bot only goes through WPs configured at User:Community Tech bot/Popular pages config.json, which is about 800 or so. Most of these are quite small and will be processed quickly. That said I certainly can't guarantee they will all be finished before the month is over. We are monitoring and are discussing ways to improve performance. Thanks for your patience, MusikAnimal (WMF) (talk) 18:39, 10 July 2019 (UTC)

────────────

  1. Should the Lists table be updated? So it matches the Config table.
  2. Should the Config page include instructions to (manually) maintain the Lists table?
  3. Any way to have Techbot update that Lists table?
  4. Should Lists page be abandoned/redirected to config page? Pageviews on List page are about 25 per day.

Discussion[edit]

These questions are beyond any decision that I can make on my own. Asking for more people to chime in with discussion. JoeHebda (talk) 20:22, 10 July 2019 (UTC)

I had no idea about WP:POPT. I don't think it worth the trouble to update that table. The list appears to be manually categorized. The only other information it has over User:Community Tech bot/Popular pages is the shortcuts, which aren't that important in my opinion. So yes, simply redirecting the list page seems sensible. MusikAnimal (WMF) (talk) 20:53, 10 July 2019 (UTC)
  •  Working - Update table? or Redirect page? JoeHebda (talk) 02:50, 19 July 2019 (UTC)

Pageviews[edit]

Greetings User:MusikAnimal (WMF) - Wonder if adding Pageviews to Popular pages would better show each WPs "Popular pages" activity? As an example, I added at Wikipedia:WikiProject Chemistry/Popular pages. Just spot-checking I've not found any WP with much activity. Maybe because of the bot not running since end of April? JoeHebda (talk) 03:34, 11 July 2019 (UTC)

If you mean no one is checking these reports, you're mostly right. A few months ago I did some spring cleaning and removed a bunch of apparently inactive WikiProjects from the config. There are probably more that we could remove. MusikAnimal (WMF) (talk) 23:56, 11 July 2019 (UTC)
  •  Working - Add Pageviews to Bot-generated popular pages? Wait until July process is done. JoeHebda (talk) 02:53, 19 July 2019 (UTC)

Bot posting to WP talk pages[edit]

Hi User:MusikAnimal (WMF) - When the bot updates User:Community Tech bot/Popular pages, could it also post a notice at the WikiProject's talk page? This would increase awareness of Popular pages & perhaps encourage usage. Regards, JoeHebda (talk) 03:40, 11 July 2019 (UTC)

We certainly can, though I'd like to hear input from more people. Many WP talk pages get a lot of spam, and some already have the popular pages report transcluded on the main WP page. MusikAnimal (WMF) (talk) 23:58, 11 July 2019 (UTC)

Discussion:[edit]

Question: Post a time-stamped completion message from Community Tech bot, onto each Wikiproject's Talk page? JoeHebda (talk) 02:57, 19 July 2019 (UTC)

Bot issue with WP Paintball[edit]

  • Good morning User:MusikAnimal (WMF) - Looking at logs for "Community Tech bot" starting at 01:14, 11 July 2019 and continuing until 02:01, 11 July 2019, the bot processed for Wikipedia:WikiProject Paintball/Popular pages eleven times. Wondering why?
  • Also noticed that since Revision as of 01:33, 11 July 2019 the bot at User:Community Tech bot/Popular pages has stopped updating WPs?
  • Sorry for these questions - similar to problems when I was involved with "WP 1.0 bot" for article assessment tables. Mostly caused by WPs not setup correctly, or Talk page coding errors causing the bot to respond incorrectly. Regards, JoeHebda (talk) 14:03, 11 July 2019 (UTC)
    These were test edits. I chose that report because apparently no one reads it. MusikAnimal (WMF) (talk) 23:53, 11 July 2019 (UTC)
    Normally the bot only updates that page after it's finished going through all WPs. I've been manually updating it (via script), just to keep track of where we are. I'm going to make the bot update it regularly on its own. MusikAnimal (WMF) (talk) 23:53, 11 July 2019 (UTC)
    No worries :) MusikAnimal (WMF) (talk) 23:53, 11 July 2019 (UTC)

Is the bot running - July 14th[edit]

  • Hi User:MusikAnimal (WMF) - checking the bot, it has not posted any updates for "Popular pages" WPs since 12:08, 13 July 2019. Has it been paused, or just stopped on it's own because of an error? Regards, JoeHebda (talk) 10:19, 14 July 2019 (UTC)
    It went down over the weekend, apparently. It's back up and running now. Rest assured I'm monitoring and we'll have all reports finished in the next week or so. There's a new, much faster version of the bot that I'm almost done with, so hopefully next month we won't see any problems. Best, MusikAnimal (WMF) (talk) 16:58, 15 July 2019 (UTC)
    Thanks User:MusikAnimal (WMF) for the update. Wondering if the number of popular pages for an individual wikiproject makes much of a difference? For example, would the bot process any faster if the WP asked for only top 100 vs. to 1,000? JoeHebda (talk) 17:41, 15 July 2019 (UTC)
    Unfortunately no. It's the size of the WikiProject itself that matters; the bot must go through every mainspace page, along with all of their redirects. MusikAnimal (WMF) (talk) 23:14, 15 July 2019 (UTC)

Version 0.7 Popular pages question[edit]

  • Hi User:MusikAnimal (WMF) - This morning I noticed Wikipedia:Version 0.7/Popular pages ran at 06:15, 17 July 2019 for about 5 minutes. After some investigation, I'm wondering if this "WP" can be made Inactive? Pageviews are very low. In the grand scheme of things, that runtime might not be much. JoeHebda (talk) 13:19, 17 July 2019 (UTC)
    It is about 31,000 articles, which isn't very many. It's up to the community if they want to remove it from the bot config. I've mostly only been removing WPs that are explicitly marked as inactive or defunct. MusikAnimal (WMF) (talk) 14:38, 17 July 2019 (UTC)

Bot completion errors?[edit]

  • Hi User:MusikAnimal (WMF) - Community Tech bot "Update report" posted over 10 times without updating any WPs in the table. From 18:01, 18 July 2019 to 21:31, 18 July 2019.
  • There are several WikiProjects that were missed (according to the table)
    • WikiProject Eastern Orthodox Church/Popular pages - 2019-03-15
    • WikiProject Software/Free Software/Popular pages - 2019-03-15
    • WikiProject Las Vegas/Popular pages - 2019-04-08
    • WikiProject Water supply and sanitation by country/Popular pages - 2019-04-26

Regards, JoeHebda (talk) 03:12, 19 July 2019 (UTC)

Thanks for alerting us! Eastern Orthodox Church was broken because of a recent rename. I've inquired about this on the talk page. Free Software has been updated. The other two WikiProjects are now inactive, so I've removed them from the config. Best, MusikAnimal (WMF) (talk) 22:08, 22 July 2019 (UTC)

Thumbnail image doesn't show in List of tallest structures in Tokyo[edit]

The thumbnail of No. 28 (Shin-Marunouchi Building) in list 1 doesn't show up here. it has been like this for days. I tried to purge the page, didn't help.

Any clue? Thanks.--fireattack (talk) 22:49, 29 July 2019 (UTC)

It works for me. Try to bypass your own cache. PrimeHunter (talk) 01:13, 30 July 2019 (UTC)
I think the reason is that particular thumbnail returns the header says "content-type: application/x-www-form-urlencoded" instead of common "image/jpeg".
Can you try to open http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Shin-marunouchi.Building-2007-01.jpg/100px-Shin-marunouchi.Building-2007-01.jpg directly and see what happens? Here, it will try to download itself instead of just display. I can see this weird behavior in both Firefox and Chrome and it doesn't happen to other images.
But in Firefox, it can still display the image this way in <img> tag (but not in Chrome). --fireattack (talk) 10:17, 30 July 2019 (UTC)

Not just this list, some other thumbnail images don't load well at List of Cheers characters, List of Friends characters, and List of The Big Bang Theory and Young Sheldon characters. Check other list pages. George Ho (talk) 00:13, 6 August 2019 (UTC)

Update: The root cause is Phab:T188831. And about why it starts to cause more apparent issue, see https://bugs.chromium.org/p/chromium/issues/detail?id=990853 .--fireattack (talk) 20:42, 6 August 2019 (UTC)

Saw the issue at List of highest-grossing films as well with the first image. Hopefully it will be resolved before long. Master of Time (talk) 05:43, 14 August 2019 (UTC)

Enable chess PGN viewer for chess articles[edit]

Should the interactive portable game notation viewer in use on the Hebrew, Russian, and Ukrainian Wikipedias be enabled on the English Wikipedia? 05:28, 30 July 2019 (UTC)

Background

Chess games can be described in a standard machine-readable format, portable game notation, so that these games can be displayed on computers. On a number of websites the user interface allows for PGN to be rendered as an interactive board so that readers can browse through games. Around 2013, User:קיפודנחש developed a JavaScript application that brings this functionality to Wikipedia articles about chess which has been in use on the Hebrew Wikipedia. You can see examples of this at the Hebrew Wikipedia articles for The Immortal Game (en) and The Evergreen Game (en). A number of discussions have occured at VPT on interactive chessboards (you can find them by searching "PGN viewer" in the archives) with the most recent being Wikipedia:Village pump (proposals)/Archive 132#Interactive chess boards in 2016. That discussion was closed by User:Cunard as having "a clear consensus to support the general proposal of enabling interactive chess boards on the English Wikipedia." While people were generally in favor of the functionality, the technical implementation was never fully discussed.

Implementation

The code at he:Mediawiki:Gadget-pgnviewer.js and he:Mediawiki:Gadget-pgnviewer.css will be copied to MediaWiki:Gadget-pgnviewer.js and MediaWiki:Gadget-pgnviewer.css. A template (perhaps {{PGN viewer}} or {{Chess game}}) will be created that takes the PGN and other parameters and outputs a <div> with the class '.pgn-source-wrapper'. MediaWiki:common.js will be modified to add the following code which only loads the PGN viewer gadget when viewing a page that has the template:

$( function() {
    if ( $('.pgn-source-wrapper').length > 0) {
        mw.loader.load( 'ext.gadget.pgnviewer' ); //"manually" load the hidden gadget
    }
} );

(For more details and alternative implementation possibilities, see Kipod's description in #"on demand" loading of scripts and gadgets)

PGN viewer discussion[edit]

  • Support as proposer. This has been around a while and seems stable enough for use on hewiki. Use on an additional Wikipedia will also help development, as previous proposals seem to have led to good feedback that קיפודנחש has taken into account to improve it on hewiki. Having a PGN viewer would greatly improve our chess coverage as readers can use the viewer to follow along with the game as the article describes it without having to know algebraic notation (chess) or have their own chess board or program. Some comments from around 2013 suggested it be turned into a gadget, but those efforts have been stalled since 2013. Plus, making it a gadget only allows logged in readers to use the PGN viewer despite it being broadly useful for reading rather than editing. Wug·a·po·des​ 05:28, 30 July 2019 (UTC)
  • This definitely should not be in common.js - rather the proposal should be for addition as a default gadget (for reasons as mentioned in the comment at the top of MediaWiki:Common.js), which can be used by any user whether logged-in or logged-out. Galobtter (pingó mió) 06:00, 30 July 2019 (UTC)

So this is in use now in hewiki, ruwiki, and ukwiki (the latter has the script and template, but it's used only in few articles). All 3 are using "on demand" loading. The script itsslf weighs 27k (20 minimized), and loading it unconditionally is undesired, as only small fraction of sll articles are chess related. The mechanism on hewiki is to create a "hidden", non-default gadget, and have common.js look for a "marker" class in page, triggering loading the gadget. (i will try to add some information WRT "on-demand", or "template-controlled" loading of scripts on ruwiki and hewiki later). peace - קיפודנחש (aka kipod) (talk) 13:29, 30 July 2019 (UTC)

@Wugapodes: i read this thread on mobile, and missed an important detail: the script on hewiki _is not_ w:he:מדיה_ויקי:Common.js/pgn.js. this one is an outdated version that should not be used. the script is in he:Mediawiki:Gadget-pgnviewer.js and its CSS, he:Mediawiki:Gadget-pgnviewer.css. this is important: User:Krinkels made some instructive comments in Wikipedia talk:WikiProject Chess/Interactive chess boards, and the correct version addresses many (most?) of the points he raised. peace - קיפודנחש (aka kipod) (talk) 14:50, 30 July 2019 (UTC)

  • yes. Please implement it. I want to study it so that I can convert it into a shogi version (although i'll probably need help for getting the dropped pieces part). – ishwar  (speak) 17:33, 30 July 2019 (UTC)
    @Ish ishwar: you really don't need it "implemented" on enwiki in order to study it. the script is available in the link above - please read the "license" notice at the top: it is more permissive than cc-by-sa. basically, it says "you can do whatever you want with this". however, the main piece there is the "pgn analyzer". i am not aware of PGN standard for shogi. i saw "PSN" mentioned, but could not find good reference explaining it. if it's similar enough to PGN, it might not be that difficult. peace - קיפודנחש (aka kipod) (talk) 19:25, 30 July 2019 (UTC)
    i see. Thank you. There is a PSN format. However, no one really uses it. (It was created by Europoean folks after all.) Probably the best is the CSA format. It looks like this:
Shogi notation example
P1-KY-KE-GI-KI-OU-KI-GI-KE-KY
P2 * -HI *  *  *  *  * -KA * 
P3-FU-FU-FU-FU-FU-FU-FU-FU-FU
P4 *  *  *  *  *  *  *  *  * 
P5 *  *  *  *  *  *  *  *  * 
P6 *  *  *  *  *  *  *  *  * 
P7+FU+FU+FU+FU+FU+FU+FU+FU+FU
P8 * +KA *  *  *  *  * +HI * 
P9+KY+KE+GI+KI+OU+KI+GI+KE+KY
P+
P-
+
+7776FU
-3334FU
+2726FU
-8384FU
+2625FU
-8485FU
+6978KI
-4132KI
  • Support for all the same reasons I supported several of these past proposals, which have been generally uncontroversial but stopped short of implementation. — Rhododendrites talk \\ 18:42, 30 July 2019 (UTC)
  • Oppose for anything on by default unless and until this is supported by an extension, which can actually deliver the Javascript as needed. As for opt-in, sure, but it should not require any change to the wikitext as that would not be supported for most people. --Izno (talk) 21:51, 31 July 2019 (UTC)
  • Support it just looks and works wonderfully on the Hebrew Wikipedia. I don't know about any technical issues, but I'd even recommend just copying the Hebrew version (if that would work similarly to what works there) and make any needed technical changes as people can agree on them. Smallbones(smalltalk) 13:33, 1 August 2019 (UTC)
  • I agree that using a template to trigger page-specific loading of scripts and gadgets is a reasonable way to implement on-demand loading of Javascript. As I prefer generic solutions to one-off solutions, I support introducing this mechanism and approving Kipod's PGN viewer gadget for on-demand loading. (This does not preclude anyone in future deciding to implement another PGN viewer gadget.) isaacl (talk) 17:52, 1 August 2019 (UTC)
  • Yes – an obvious improvement, nice interface, will be useful to readers. Levivich 06:10, 2 August 2019 (UTC)
  • Strong support: the lack of an interactive interface like this is the reason I'm often frustrated by Wikipedia chess articles and often visit other sites to find the information I'm looking for. We should have been using this PGN viewer years ago. — Bilorv (// W A K E U P //) 06:59, 2 August 2019 (UTC)
  • Support I'd like to be able to "play . a . game" — Ched :  ?  — 00:03, 4 August 2019 (UTC)
  • Support Nice addition to our chess-related articles. Pichpich (talk) 20:34, 4 August 2019 (UTC)
  • Strong Support -- I know very little about the technical aspects of Wikipedia, but since it appears to be stable on another language of this encyclopedia of ours, I fully support implementing it. -- Dolotta (talk) 22:39, 7 August 2019 (UTC)
  • Sounds good, seems harmless enough. Support. Stifle (talk) 09:51, 8 August 2019 (UTC)
  • What a neat feature to have. I love the way it's implemented in the he-wiki article. Support. 28bytes (talk) 04:53, 9 August 2019 (UTC)
  • Support as an on-demand gadget which would load automatically on relevant pages. Great work, and very informative when studying a game. — JFG talk 10:27, 12 August 2019 (UTC)
  • Support as per Dolotta. I can think of a few articles where this could be useful. --LukeSurl t c 13:48, 13 August 2019 (UTC)
  • Support.--Vulphere 15:54, 13 August 2019 (UTC)
  • Support seems like a good feature and a reasonable technical implementation. power~enwiki (π, ν) 17:46, 14 August 2019 (UTC)
  • Support: Interactive elements in websites aren't the future. They aren't the present. They were years ago. Esquivalience (talk) 04:59, 16 August 2019 (UTC)

"on demand" loading of scripts and gadgets[edit]

I'd like to describe the "on demand loading" mechanism used on ruwiki, hewiki, and others (e.g., runews, ukwiki and more).

So, most of our site-specific code has to do with utilities meant mainly for editors, but there are some scripts which affect the content, for reading. An example on enwiki is the part in mediawiki:common.js that deals with collapsing, and the part that executes special code when reading the main page.

In many cases, this special code is only relevant on minority of the content pages: for instance, most pages on enwiki do not need the special code that deals with "collapse" css classes. In this case, the code itself is short, so loading it whether it's needed or not makes little difference. However, some other projects want to load longer scripts affecting the content for reading. The pgn viewer discussed above is one such example. The wikipedians on ruwiki created a simple mechanism to support this, and i'd like to describe it here.

  • In this context, "on demand" means "template-controlled": so a template can "instruct" the system to load a script which is not normally loaded, when the template contains some element that needs this extra juice.
  • The system can't load "any arbitrary script". It can trigger loading one of well-defined set of scripts, and this set is vetted with the same level of caution used for vetting whatever goes into common.js
  • The system uses a small code snippet in common.js, and a special template for triggering the "on-demand" switch. The code on ruwiki is the 11 lines, beginning at line #325 in ru:Mediawiki:Common.js, and the template is in ru:Template:Выполнить скрипт. i will call it {{Load script}}.
  • The machinery is super simple: the "Load script" template creates a hidden element, with a specific class ("ExecuteJS"), and a data attribute that contains the name of the requested script. The common.js code scans the page for elements with this class, and if found, it extracts the script name from the data attribute, and then loads Mediawiki:Script/<scriptname>.js. The sysops make sure only sanctioned scripts will get to be in "Mediawiki/Script/", with the same level of scrutiny they use for Common.js
  • A template that desire to load a script which, e.g., adds some special behavior to "imagemap", will include something like {{ Load script | imagemap-enhancer }}. When a page transcludes this template, the script Mediawiki:Script/imagemap-enhancer.js will be loaded. This way, ruwiki can "enhance" imagemaps, without adding bloat to any page that _does not_ transclude this template (i.e., all but a handful of pages).
  • In hewiki, we tweaked this system a little bit (line #261-275 in he:Mediawiki:Common.js) , to allow loading of gadgets, as well as scripts (the gadget name must begin with "ondemand", so this can't be used to sneakily load any "normal" gadget that the reader did not enable - only one of very few sanctioned "ondemand" gadgets)

I hope this description is good enough for User:Izno to overcome their opposition. I wanted to present this mechanism to the technical community on enwiki, but it's not absolutely essential: it's possible to avoid the bloat by taking the following steps:

one-off alternative to generic "on-demand" loading
  • Create a "hidden" gadget with the script (hidden gadgets can't be selected by users, and unless you mark them "default", they never load)
  • Have a small snippet in common.js that looks approximately like so:
    $( function() {
        if ( $('.pgn-source-wrapper').length > 0) {
            mw.loader.load( 'ext.gadget.pgnviewer' ); //"manually" load the hidden gadget
        }
    } );
    

This will achieve the same objective: The script will load if and only if it should load, so if enwiki will have, say, 578 articles which want to show interactive chess game, the script will load for readers only when they view one of those pages, and the other 4M+ articles will not have to pay the bloat. peace - קיפודנחש (aka kipod) (talk) 23:41, 31 July 2019 (UTC)

I've updated the implementation section with your one-off suggestion since it seems simplest. Wug·a·po·des​ 03:14, 1 August 2019 (UTC)
One-off alternative looks good, but on enwiki rather than having that sort of small snippet in common.js, it is done in the form of a default gadget (e.g MediaWiki:Gadget-geonotice.js) that loads that "core" hidden gadget (e.g. MediaWiki:Gadget-geonotice-core.js), which also allows people to disable the gadget if they don't like it. I would agree with Izno that it would be nice if things like these were implemented as an extension rather than as a gadget, but making something to an extension would certainly delay this considerably and possibly make it so no solution is ever implemented. Galobtter (pingó mió) 06:43, 2 August 2019 (UTC)

Suppress rendering of Template:Wikipedia books[edit]

As many are aware Wikipedia books has not worked in a few years and there's no light down the tunnel of any fixes coming...Reading/Web/PDF Functionality (no update on WikiBooks in a year). I am proposing suppressing the rendering capability of Template:Wikipedia books ( related =Template:Book bar & Template:Books-inline) and removal of the Book Creator in the sidebar. This is for our readers so they don't keep going to books that don't work and haven't worked in a few years..plus these types of lists exist in outlines already. I'm thinking suppression of the template(s) is better than outright deletion in case the WMF finally does come up with something...then poof...they can all appear when transclusion is implemented again. Currently PDF rendering per page has been implemented so the link seen at Wikipedia:Books about an external program is no longer needed as our in-house PDF system is running.--Moxy 🍁 22:57, 6 August 2019 (UTC)

Discussion (Wikipedia books)[edit]

  • Good idea and a future-proof solution. Support per nom. Wug·a·po·des​ 01:20, 7 August 2019 (UTC)
  • I think this is a good idea. Headbomb did some work with this stuff years ago and he might also have some comments about it. Killiondude (talk) 06:08, 7 August 2019 (UTC)
  • Support. Ruslik_Zero 08:42, 7 August 2019 (UTC)
  • Support, I didn't even know it's not working. Stryn (talk) 10:37, 7 August 2019 (UTC)
  • Seems like phab:T224922 may be relevant here, as mw:Extension:Collection is the extension behind "books". Anomie 12:10, 7 August 2019 (UTC)
  • Support per nom. Masum Reza📞 14:22, 7 August 2019 (UTC)
  • Book namespace entirely is dead. There'd be no harm in scrapping it completely. – Ammarpad (talk) 16:24, 7 August 2019 (UTC)
  • Comment if outlines are more up to date and maintained and are basically redundant, get rid of books. But wait.... these things are for readers, right? Are readers more likely to look for "books" or "outlines"? Maybe we should migrate the excellent and maintained content from outline to "books" and then get rid of outlines. We still reduce fluff but combine maintenence with readership. NewsAndEventsGuy (talk) 17:58, 7 August 2019 (UTC)
  • If it's dead, it's dead. Can be suppressed until and if things come back online. Headbomb {t · c · p · b} 18:04, 7 August 2019 (UTC)
  • Support. Hrodvarsson (talk) 04:52, 9 August 2019 (UTC)
  • Support per nom. SD0001 (talk) 20:11, 14 August 2019 (UTC)
  • Support No point offering something to users that can't be used.Nick Moyes (talk) 12:10, 16 August 2019 (UTC)

Add printworthy {{R slang}} rcat template[edit]

{{R slang}} will tag redirects from slangs. Monniasza talk 09:00, 7 August 2019 (UTC)

We have {{R from alternative name}}. I'm not sure slang is well-defined enough when there are many varieties of English. Anyway, this is not a technical issue. It could be suggested at Wikipedia talk:Template messages/Redirect pages or Wikipedia talk:WikiProject Redirect. PrimeHunter (talk) 10:25, 7 August 2019 (UTC)
@Monniasza: I redirected it to {{r from synonym}}. You can start tagging pages with it, and if we ever want to distinguish slang from other kinds of synonyms, the pages won't have to be resorted. Wug·a·po·des​ 08:19, 9 August 2019 (UTC)

interwiki links[edit]

Hi, can somene link https://sq.wikipedia.org/wiki/E_penguara and A Girl in Exile, I think there's a page in German also... Thanks GrahamHardy (talk) 23:04, 8 August 2019 (UTC)

 DoneThjarkur (talk) 23:11, 8 August 2019 (UTC)

Thanks, also https://sq.wikipedia.org/wiki/Lulet_e_ftohta_t%C3%AB_marsit needs linking to Spring Flowers, Spring Frost and Swedish article, Thanks GrahamHardy (talk) 04:59, 9 August 2019 (UTC) above now done, but https://sq.wikipedia.org/wiki/Dosja_H needs linking to The File on H. Thanks GrahamHardy (talk) 00:00, 10 August 2019 (UTC)

@GrahamHardy: you can do these yourself, on the left side panel there is a section called "languages", click the little pencil icon in there and you can add interwiki links. — xaosflux Talk 00:36, 10 August 2019 (UTC)

Every rcat template should add Category:Redirects with target different from correct name[edit]

Hi, rcats don't provide afromentioned maitenance category. Please make rcats use category if target is different than correct form. Monniasza talk 07:01, 9 August 2019 (UTC)

That category doesn't exist. Nor does the name actually match the use you propose for it (not all redirects are "target different from correct name"). Also, what use would there be to a category containing every redirect? You could as well use Special:ListRedirects. Anomie 14:25, 9 August 2019 (UTC)

Tool to rollback an edit that sinebot signed?[edit]

Basically the header. Very very often I revert vandalism or otherwise unconstructive edits to talk pages, but I can't use the rollback or undo buttons because sinebot already signed it, so now I have to revert two edits by two different users. Is there any tool or javascript or something that would let me revert such a pair of edits as easily as using rollback? Someguy1221 (talk) 07:48, 9 August 2019 (UTC)

@Someguy1221: Twinkle's rollback knows about sinebot. If you ask it to rollback the sinebot edit, it will ask you whether you want to rollback the previous edit as well. -- John of Reading (talk) 07:57, 9 August 2019 (UTC)

User talk:GregU/dashes.js[edit]

I just noticed that User:GregU/dashes.js (User talk:GregU/dashes.js) is changing the blue linked time zone UTC−08:00 (see Lumby, British Columbia) to the red linked UTC– 08:00 (see here). It seems that Template:U:GregU hasen't edited since 2012. It needs to get fixed. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 11:32, 9 August 2019 (UTC) Oh, GregU CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 11:34, 9 August 2019 (UTC)

Someone should fork that or convert it to a gadget, relying on other people's personal scripts leads to exactly this situation when they stop being maintained. That being said, if someone has a very minor fix to suggest, drop an edit request at User talk:GregU/dashes.js and an interface admin will consider it. — xaosflux Talk 11:40, 9 August 2019 (UTC)
I noticed some problematical edits (or, rather, inaccurate edit summaries) by this script earlier, but the Lumby, British Columbia edit is equivalent to vandalism. If the diff was not forged, then the script should to be disabled as soon as possible. Incnis Mrsi (talk) 12:04, 9 August 2019 (UTC)
It's been doing it for a while. I am tempted to just delete it. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 12:08, 9 August 2019 (UTC)
@CambridgeBayWeather: yes, castrate this being, please. Incnis Mrsi (talk) 12:14, 9 August 2019 (UTC)
Or wait, was it really User:GregU/dashes.js at fault? The edit summary has two script links, the second is one WP:MOSNUMscript. Incnis Mrsi (talk) 12:08, 9 August 2019 (UTC)
The second of my links to the 2015 edit only has the one script. CambridgeBayWeather, Uqaqtuq (talk), Sunasuttuq 12:32, 9 August 2019 (UTC)

Watchlist no longer highlighted to show possible vandalism[edit]

What's changed?Doug Weller talk 12:33, 9 August 2019 (UTC)

Working normally for me? Roxy, the dog. wooF 16:05, 9 August 2019 (UTC)
The "refresh changes" indicator used with advanced watchlist is not displaying for me. I suspect WP:THURSDAY happened and now Javascript is not loading on the page, or something. --Izno (talk) 17:18, 9 August 2019 (UTC)
That said, colors are still loading for me, as with Roxy. --Izno (talk) 17:21, 9 August 2019 (UTC)
Oh, I see what happened. The refresh changes indicator got wrapped up into the Active Filters 'show/hide' box. I might have to request that one be reverted (did so--see phab:T230220)... So, it looks like I'm all good. --Izno (talk) 17:22, 9 August 2019 (UTC)
@Izno: Thanks. I had to go to mediawiki to figure it all out but it's fixed now. Doug Weller talk 09:45, 10 August 2019 (UTC)

Live updates button and active filters navigation[edit]

I used to be able to hide the active filters navigation since I have no need for it. The problem now is that it's also hiding the live updates button when I click "hide." Amaury • 14:25, 9 August 2019 (UTC)

I've been experiencing the same problem in my watchlist since roughly 8 August. I'm using the Vector skin in Firefox 68.0.1 on a Windows 10 (1903) desktop. I've tried running the watchlist in safemode, but it makes no difference. —Bruce1eetalk 15:10, 11 August 2019 (UTC)
I mentioned this in the thread just above since I wasn't sure if the problem above and mine were related. Go subscribe to the task on Phabricator if desired. --Izno (talk) 16:25, 11 August 2019 (UTC)
Yes, that's it. Thanks. Sorry, I should have seen that the above discussion was about the same problem. —Bruce1eetalk 17:07, 11 August 2019 (UTC)

request assistance[edit]

I'm trying to upload image to WikiCommons and getting message that I am not a confirmed user. I never got this message before. How can I get confirmed? Adienes (talk) 15:54, 9 August 2019 (UTC)

@Adienes: try to follow this link directly: commons:Special:UploadWizard. — xaosflux Talk 17:41, 9 August 2019 (UTC)
You will get confirmed automatically when 4 days have passed (according to an config file). Just wait.--Snaevar (talk) 19:01, 9 August 2019 (UTC)
@Snaevar: commons doesn't require autoconfirmation to upload files, and here on enwiki its 4 days and 10 edits. — xaosflux Talk 19:03, 9 August 2019 (UTC)
User:Xaosflux: For enwiki, yes, there is an 10 edit limit. For commons, see line 5233 in InitialiseSettings.php, which says no.

As for upload rights, I am not really here to argue. The user which started this discussion will find the correct answer anyway.--Snaevar (talk) 20:23, 9 August 2019 (UTC)

You can check that at commons:Special:ListGroupRights, look for (upload). — xaosflux Talk 04:51, 10 August 2019 (UTC)

Glitch on Lorrie Morgan[edit]

For some reason, the picture of Keith Whitley is not displaying under the "personal life"section of Lorrie Morgan. Purging the cache hasn't helped. Any idea what's causing this? All other pictures are showing up, just not that one. Ten Pound Hammer(What did I screw up now?) 23:45, 9 August 2019 (UTC)

 Works for me @TenPoundHammer: are you still having this issue? — xaosflux Talk 00:37, 10 August 2019 (UTC)
@Xaosflux: Yes, and a purge isn't doing anything. Ten Pound Hammer(What did I screw up now?) 00:44, 10 August 2019 (UTC)
@TenPoundHammer: how about now? — xaosflux Talk 01:29, 10 August 2019 (UTC)
And if not, can you try looking with a different browser - in case you somehow are applying something like an ad-block to it? — xaosflux Talk 01:30, 10 August 2019 (UTC)
It seems to be working now. Ten Pound Hammer(What did I screw up now?) 02:00, 10 August 2019 (UTC)

Unified Login broken (at least for Commons)?[edit]

Quick check: Is unified login broken - at least for Commons - for anyone else? I'm logged in here but not logged into Commons; I didn't even know that this was possible anymore. ElKevbo (talk) 02:46, 10 August 2019 (UTC)

 Works for me @ElKevbo: try logging out, deleting all your wmf cookies, and logging in again. — xaosflux Talk 04:49, 10 August 2019 (UTC)

SVG preview rendering Greek letter incorrectly[edit]

I was about to remove the ε in parentheses in the caption of the axial tilt illustration at Arctic Circle (direct MediaViewer link) before I opened the full SVG image directly. It appears that "ε" in text on the illustration is lost completely and "90 - ε" renders as "90?". Is this happening for anyone else? DaßWölf 07:11, 10 August 2019 (UTC)

@Daß Wölf: all ways of accessing the image show the ε correctly for me. The difference is likely to be caused by how the glyph is specified in the SVG; if it's by giving font details, you may not have the font on your system (I'm using MacOS). Depending on how the SVG file is created, there are different ways of specifying how characters should be saved. Peter coxhead (talk) 07:45, 10 August 2019 (UTC)
Oddly enough, I just rechecked the picture and it renders fine for me too now. I wish I had screenshotted the error. I suppose this was a temporary bug. DaßWölf 07:48, 10 August 2019 (UTC)
@Daß Wölf: is the problem gone after commons:File:Axial_tilt_vs_tropical_and_polar_circles.svg #filehistory? Incnis Mrsi (talk) 08:40, 10 August 2019 (UTC)
Yes, it seems so, but it was actually gone before that revision. I refreshed the page when I got Peter coxhead's ping at ~7:45 and it rendered correctly all on its own. DaßWölf 00:02, 11 August 2019 (UTC)

Page jump in edit box[edit]

EN page jump 1
EN page jump 2

Hi, Every time I paste an image in between walls of text the page jumps down or if I paste text and press enter the page will then jump down,

So for instance If I want to paste an image > the page will jump down > I have to scroll back up to the image > and then add thumb+left etc

It's been happening for the past month or 2 but it never used to, Thanks, –Davey2010Talk 12:26, 10 August 2019 (UTC)

What skin/browser/operating system do you use? I have seen a similar problem on mobile Firefox for Android, but not on desktop Firefox or Chrome. --Izno (talk) 14:20, 10 August 2019 (UTC)
Hi Izno, I'm on Windows 7 and am using Vector, Ah okay, I've used Mobile to edit but never pasted with it, Thanks, –Davey2010Talk 16:44, 10 August 2019 (UTC)

Possible STATS problem?[edit]

Seems that {{NUMBEROF|ARTICLES|total|N}} gives different results for the "Total Number of Articles" in different, but related, Wikipedias? - Example is the "Total Number of Articles" [at 14:04, August 10, 2019 (UTC)] is "50,810,571" (in the English Wikipedia => https://en.wikipedia.org/wiki/User:Drbogdan/STATS) and "48,645,009" (in the Simple English Wikipedia => https://simple.wikipedia.org/wiki/User:Drbogdan/STATS) - seems the two should match up, but don't for some reason? - in any case - Enjoy! :) Drbogdan (talk) 14:28, 10 August 2019 (UTC)

@Drbogdan: the "English Wikipedia" is just as different from the "Simple English Wikipedia" as it is from the "French Wikipedia" - their statistics are project-specific. — xaosflux Talk 14:34, 10 August 2019 (UTC)
The parameter |total is supposed to give the sum for all languages but the number is not updated automatically. {{NUMBEROF}} is not a magic word but a template and the count is taken from a template subpage which must be updated at the local wiki. Our Template:NUMBEROF/data is updated frequently by a bot. simple:Template:NUMBEROF/data has not been updated since it was manually copied from us in September 2018. PrimeHunter (talk) 14:54, 10 August 2019 (UTC)
Ah ha, well that's a messy to maintain template, fine for one project but would never scale to full-mesh - perhaps pulling something from wikidata would be better. — xaosflux Talk 15:25, 10 August 2019 (UTC)
User:Acebot is updating our data and some of the other languages but not all, and less frequently. I don't know whether it's supposed to update simple or can be requested. Pinging the operator Ace111. PrimeHunter (talk) 15:07, 10 August 2019 (UTC)
I was never asked before to update the NUMBEROF template in simple Wikipedia. Now I ran the bot once to update it, and can run it regularly, e.g. daily, in the future. Are there any objections? — Ace111 (talk) 17:02, 10 August 2019 (UTC)
Thanks. I don't work at simple but simple:Special:WhatLinksHere/Template:NUMBEROF/data shows mainspace uses so I assume they will appreciate it. Template:NUMBEROF/data (Q10452819) shows a version at many wikis but I don't know where the bot is wanted (apart from Estonian). Some are already updated by the bot, some have no mainspace uses, and some may have hard bot policies. PrimeHunter (talk) 18:21, 10 August 2019 (UTC)

@Ace111: and others - FWIW - Thank you *very much* for your comments - and efforts/updates and all - they're all *greatly* appreciated - I have no objection whatsoever re regular daily updates of the Simple English Wikipedia (or related) in the future - Thanks again - and - Enjoy! :) Drbogdan (talk) 17:27, 10 August 2019 (UTC)

Why do my searches come up empty?[edit]

If I search for say 'Airport' in the above, I'm taking to an empty result page. I'd expect it to find Wikipedia:WikiProject Airports/Article alerts, giving it's in Category:All Wikipedia article alert reports. Headbomb {t · c · p · b} 13:30, 11 August 2019 (UTC)

For category search to work correctly, the category has to actually be in the source text. Wikipedia:WikiProject Airports/Article alerts is only in Category:All Wikipedia article alert reports via a template transclusion. So for the search extension, the page does not have that category since it's not in its wikitext. – Ammarpad (talk) 14:00, 11 August 2019 (UTC)
That is... rather silly. I'll find another way then. Headbomb {t · c · p · b} 14:36, 11 August 2019 (UTC)
Actually now it shows up. Probably a caching issue then. Headbomb {t · c · p · b} 14:37, 11 August 2019 (UTC)
True. I see that. I believe it must have been enhanced at sometime, it previously didn't work with transclusion. – Ammarpad (talk) 08:27, 12 August 2019 (UTC)

Need advice on removing interlanguage link from userpage[edit]

My userpage is currently linked to Wikipédia:Userbox/Reunificação da Irlandas on the Portuguese Wikipedia although that is not a userpage and I did not link it myself. I cannot find the link to edit interlanguage links on my userpage so I was wondering if anyone here knows how to remove the link or if they could direct me to the right process? I have not created a userpage in any other language as I do not have the expertise to do so without a professional translator. My only other userpages across Wikimedia are on Commons and Wiktionary and they are both in English. I have tried asking User:Cuchullain, who is an admin, but they cannot work it out and they advised me to try leaving a note here. Tk420 (talk) 19:25, 11 August 2019 (UTC)

Fixed, was outside of the <noinclude> in {{User Northern Ireland (self determination)}} – Thjarkur (talk) 19:30, 11 August 2019 (UTC)

Blocked spammer posts link[edit]

Many or most of the blocks I perform are for spam-only accounts, especially those whose only edits are placing spam on their userpage. Just in case someone wants to apologise and become productive, I leave the talk page open when I do a {{uw-spamblock}}, unless the talk page itself has been used for spamming. On one hand, I don't want to shut down access without evidence of abuse, but on the other hand, it's possible that the talk page would be used abusively. My interest, therefore, is finding an automated way (i.e. without human edits or bot edits) to detect a post-block addition of an external link, the results of which could be evaluated as spam or not-spam by a human. I'm envisioning the following criteria:

  • User has been indefinitely blocked for spamming — detect because user is indefinitely blocked, and either rationale or talk page has {{uw-spamblock}} or some other "you have been blocked for spamming" template
  • After block is performed, user edits talk page and adds an external link
  • If user has added {{unblock}}, the external link is not inside the unblock template

Obviously this kind of thing happens sometimes, but I have no clue how often; in case it's a rare event, I don't want to request an edit filter and tie up system resources. Is there any other way to detect this (either conclusively or "this is likely"), perhaps a database report of users that are indefinitely blocked and that have external links on their talk pages? Nyttend (talk) 04:48, 12 August 2019 (UTC)

Here's a Quarry query that might serve as a database report: quarry:query/38333. Anomie 12:59, 12 August 2019 (UTC)
Hi, Anomie, and thank you. One question — can you embed links in the report, and if you can, would you link the talk pages in question? It would be a lot faster to look at these pages if I could just click a link. Nyttend (talk) 02:12, 13 August 2019 (UTC)
There does not appear to be a way to directly embed links in the quarry output. Anomie 11:57, 13 August 2019 (UTC)

"Move subpages of talk page (up to 100)" checkbox unticked by default[edit]

I'm pretty confident I've seen a thread on this topic, and we made sure the default was to then keep it checked, for reasons of not making stupid mistakes. Was the change reversed or am I seeing things? --qedk (tc) 05:24, 12 August 2019 (UTC)

QEDK, the change hasn't been merged - see phab:T222953. You can put this snippet (written by someone else) in your Special:MyPage/common.js:
:/* Automatically tick the "Move subpages" option when moving pages.*/
:var moveSubpagesBox = document.getElementsByName("wpMovesubpages")[0];
:if (moveSubpagesBox !== undefined) {
:  moveSubpagesBox.checked = true;
:}
:
to automatically tick it though. Galobtter (pingó mió) 06:13, 12 August 2019 (UTC)
Thanks, @Galobtter:, not quite sure how or where I saw the change, I do appreciate the hack! :) --qedk (tc) 17:25, 12 August 2019 (UTC)

Adjusting edit window size[edit]

When editing in wikitext mode, is there a way to set the height of the edit window? Default seems to be 26 lines, and I almost always want about double that, especially when editing long articles or tables. I suppose there is a JS or CSS variable that can be adjusted somewhere? Also, this setting should be added to Special:Preferences, under the Editing tab, Editor section, to help non-technical users. — JFG talk 07:57, 12 August 2019 (UTC)

This will double the viewport:
.mw-editform #wpTextbox1 { max-height: none; }
#wpTextbox1 { height: 200em; }Ammarpad (talk) 08:25, 12 August 2019 (UTC)
More like quadrupled it… Thanks for the tip! Any idea where to suggest an easy setting for non-techies? — JFG talk 09:48, 12 August 2019 (UTC)
AFAIR, a little while back you could change this in your Preferences. I don't know why it was removed. —Bruce1eetalk 10:17, 12 August 2019 (UTC)
@JFG:, that's true, I forgot that the size I doubled was for the default 'maximum height' of the viewport. Also note that the text area is already resizable on the fly by clicking and dragging the two diagonal lines at the bottom right corner. Actually that way is more flexible than using fixed size from your personal CSS. On your second question, that'd be making a gadget to allow one-click from Preferences page, but this is not something a lot of people are looking for, so it's not good candidate for that. Also as Bruce1ee said, it used to be somewhere on that page but I believe it must have been removed during the effort to get rid of seldom-used preferences. – Ammarpad (talk) 11:59, 12 August 2019 (UTC)
See phab:T26430 and phab:T155153 for the removal. PrimeHunter (talk) 12:20, 12 August 2019 (UTC)
Right: I was always losing time to drag that edit window bigger before I could work. Thanks for the pointers to relevant phab tickets. — JFG talk 12:32, 12 August 2019 (UTC)
This has been covered several times here at VPT, see for example Wikipedia:Village pump (technical)/Archive 153#Edit box size, Wikipedia:Village pump (technical)/Archive 169#Hard to scroll down in lower right corner of edit window, and it's also buried in Wikipedia:Village pump (technical)/Archive 171#Separate buttons for single and double bracket links in the editing toolbar (my reply of 23:48, 15 November 2018). There are other related threads in the archives. --Redrose64 🌹 (talk) 19:51, 12 August 2019 (UTC)
Mmmhh… If that's a perennial question here at VPT, perhaps the idea of re-instating a visible user setting might be answering some latent demand. First phab ticket was about columns, and that's probably not necessary given adaptive width, but in the second ticket the setting for rows was apparently discarded in one lump with the columns. Shall ww re-instate the rows setting? — JFG talk 21:30, 12 August 2019 (UTC)

Tech News: 2019-33[edit]

18:19, 12 August 2019 (UTC)

Unexpectedly different behavior depending on location of userscript's source code[edit]

After extensive testing, I have documented a weird behavior that in rare circumstances will disable Template:Show button. There appears to be three conditions required for this to happen, and one of these conditions is just having the snippet of code in my common.cs file, as opposed to being in one of my subpages and imported to my common.js. Intuitively, I would expect identical behavior, but this is not the case. Details, and the discussion, can be found at the javascript project talk page in thread Importscript vs just putting code in common.js NewsAndEventsGuy (talk) 18:59, 12 August 2019 (UTC)

Javascript is loaded and executed in different order in this two cases. What is imported with importScript is executed probably in the end. Ruslik_Zero 09:09, 13 August 2019 (UTC)
thanks for the debugging lead. NewsAndEventsGuy (talk) 10:42, 13 August 2019 (UTC)
@NewsAndEventsGuy: This might not be the answer you were looking for but we had a thread a few months back where an editor was asking about how to make scripts load in order and the general sentiment was that you can't guarantee behaviour in that manner. So, the only way would be to add manual sleeps and hope (!) that did the trick. Don't know why it could exactly apply here but I just thought I'd mention. --qedk (t c) 07:24, 15 August 2019 (UTC)
I like thinkers who cast wide nets when these mysteries pop up, thanks. NewsAndEventsGuy (talk) 11:10, 15 August 2019 (UTC)

Review of new articles and Google/Wiki search[edit]

Why new articles if not reviewed don't appear in Google search at all (as if non-indexed) and appear in Wiki search only when full name written? I guess there are some users who have reviewer user rights but it seems they miss to review some articles. I created several articles with my extended confirmed account and they stayed on Wikipedia but don't appear in searches for months. Do I need to request somewhere special for it* to be done or ask some user who already did it* once only for one of 'my' articles (*review for each article)? Thanks. --5.43.96.116 (talk) 05:40, 13 August 2019 (UTC)

See Wikipedia:Controlling_search_engine_indexing#Indexing_of_articles_("mainspace"). — xaosflux Talk 11:08, 13 August 2019 (UTC)
Thank you. --5.43.96.116 (talk) 13:26, 13 August 2019 (UTC)

VTE links not opening on mobile[edit]

Is it intended that VTE links for nav templatrs only activate tooltip with link name unlinked? I think they should normally lead to each link target (view for template page, talk for its talk page and edit for edit window for template in question). --5.43.96.116 (talk) 05:44, 13 August 2019 (UTC)

Nav templates usually aren't displayed in mobile but when they are, like on the template page https://en.m.wikipedia.org/wiki/Template:Seasons, the links work for me. Please link an example and name your mobile device or browser. PrimeHunter (talk) 12:55, 13 August 2019 (UTC)
Please identify a problem (and fix it if it's not hard for you) for sr:Румунски језик#Спољашње везе. Probably navbox template should be updated there or some MediaWiki. Those English in your example are working for me; I use latest Samsung Internet browser, and view the article in desktop view on a mobile device. --5.43.96.116 (talk) 13:23, 13 August 2019 (UTC)
I don't have an Android device but can reproduce the issue on an iPad. sr:User:PrimeHunter/sandbox has the code [[X|<abbr title="tooltip">V</abbr>]]. On an iPad I see underlining with dots and see "tooltip" when I click it but don't go anywhere. The same code here: V. On an iPad I cannot see "tooltip" but I go to X when I click it. I don't know what makes the difference. PrimeHunter (talk) 14:54, 13 August 2019 (UTC)
You mean you don't know why one doesn't go anywhere but sees only tooltip? I think something is wrong with sr:Модул:Navbar or some .css/.js MediaWiki page is not updated on sr.wikipedia. Maybe p.addItem function in sr:Модул:Navbar is not working properly but after comparing Navbox and Navbar templates and modules to that on English Wikipedia I cannot notice content difference except translations. Maybe Cyrillic translation makes problem? I don't known why it works here in your example with Template:Seasons but not with sr.wikipedia navbox template links... If someone else can help, please help. --Obsuser (talk) 17:32, 13 August 2019 (UTC)
I don't use a template, module or non-Latin characters at sr:User:PrimeHunter/sandbox. The page only contains the mentioned code: [[X|<abbr title="tooltip">V</abbr>]]. This simplified example gives a different result at srwiki and enwiki on an iPad. The navbox makes code of this form with abbr inside a wikilink. I simplified the navbox output as much as possible while still producing the issue. PrimeHunter (talk) 19:01, 13 August 2019 (UTC)
Yes, but why it gives a different result at srwiki and enwiki? --Obsuser (talk) 19:13, 13 August 2019 (UTC)
That's the question. [[X|<abbr title="tooltip">V</abbr>]] produces a working link on iPad in three other tested languages zh, de, da. It works with https://sr.wikipedia.org/wiki/User:PrimeHunter/sandbox?safemode=1. Without safemode it fails both logged in and out at srwiki. It also fails at wikt:sr: while it works at wikt:en:. PrimeHunter (talk) 20:13, 13 August 2019 (UTC)
It's caused by the default gadget sr:MediaWiki:Gadget-ReferenceTooltips.js. enwiki had the same issue at MediaWiki talk:Gadget-ReferenceTooltips.js#Interference with links on touchscreen, fixed by [5]. The Serbian gadget can only be edited by a Serbian interface administrator. The latest edits were made by User:Ранко Николић. PrimeHunter (talk) 08:17, 15 August 2019 (UTC)
@PrimeHunter: Thank you very much for that info. But if you check sr:Special:Diff/21299776/22084018 you will see that that update has already been done here (you can check diffs, only textual translations are made and code is same); however, the problem is still present as we see... Is it something else problem with this? [Please ping me...] --Obsuser (talk) 00:01, 17 August 2019 (UTC)

────────────────────── @PrimeHunter: They are working actually now for me, same behaviour as English Wikipedia when logged out and on Samsung Internet latest. Only that on both sites tooltip is displayed first with "View this template" etc. messages, this could be probably prevented somehow because no use after one clicks it on mobile, because one goes to the link destination anyhow... Btw, Template:Outdent displays one level or so less on mobile (I used 9 right above and upper vertical part is significantly left of the last paragraph's bottom left). --5.43.96.116 (talk) 07:41, 17 August 2019 (UTC)

And I'm sorry for a such comment (the one prior to the previous one) because I didn't see/notice that the update on sr.wiki gadgets's page was done on 15 August, day or two before i.e. after this thread began (13 August morning/dawn). Ranko Nikolić probably got pinged after 08:17, 15 August 2019 (UTC) comment and then reacted to solve the problem. --5.43.96.116 (talk) 07:51, 17 August 2019 (UTC)

Yes, he implemented the fix 21 minutes after my ping. It works for me now on iPad. Are you Obsuser or is he a different user who may still see the problem? PrimeHunter (talk) 08:13, 17 August 2019 (UTC)

Conflict between Template:Shortcut, lists and Microsoft[edit]

FYI: Pointer to relevant discussion elsewhere.

Please see Template talk:Shortcut#When in a list item, Edge and IE have a sad day. --Redrose64 🌹 (talk) 20:39, 13 August 2019 (UTC)

How to prevent VisualEditor from automatically loading when clicking red links?[edit]

Title says it all. VE often loads automatically when I open a red link which is annoying because most of the time, I do so to see the deleted edits. I can't seem to find a preference for it though. Regards SoWhy 07:31, 14 August 2019 (UTC)

This is the default behaviour for clicking all redlinks in both VE and Source editor (except Userpage redlink on mobile). There's a phab:T211379 asking to change this and there are comments that this is by design. – Ammarpad (talk) 08:21, 14 August 2019 (UTC)
@Ammarpad: Thanks for the phab-link! I dug up a snippet at T195914 that prevents it (thanks to Classicwiki). Regards SoWhy 09:13, 14 August 2019 (UTC)
@SoWhy: have you tried setting "Temporarily disable the visual editor while it is in beta" in Special:Preferences#mw-prefsection-editing? I have that set and never get the visual editor unless I specifically switch to it. — xaosflux Talk 11:39, 14 August 2019 (UTC)
No, because I actually use it quite extensively and that setting disables the links to the VE and the visual edit tabs that I use. But with the user script Classicwiki provided at phab, the problem is solved. Regards SoWhy 11:58, 14 August 2019 (UTC)
  • I described a related problem here (and opened T226267 on it). -- RoySmith (talk) 16:49, 14 August 2019 (UTC)

Tools for history[edit]

Resolved

Vchimpanzee • talk • contributions • 17:55, 14 August 2019 (UTC)

I didn't get a response here about why Help:Page history didn't have directions for entering a specific date such as November 8, 2019. I thought there was such a feature..— Vchimpanzee • talk • contributions • 14:49, 14 August 2019 (UTC)

Once you click on the input field a placeholder text YYYY-MM-DD and calendar widget will appear (assuming Javascript is on). That's enough visual cue to tell you what you should do next. – Ammarpad (talk) 18:01, 14 August 2019 (UTC)

Converting from one citation template to another (visual editor)?[edit]

Is there an easy way to convert one citation template to the correct type, in VE? People commonly just use the default {{Cite}} instead of, for example, {{Cite news}}. I haven't found a good way to fix that up other than to create a whole new citation and delete the old one. Which is especially annoying when it's used more than once, as in this example. It seems like it would be straight-forward to have a tool which took the existing citation and did a first pass at converting it into a different subtype, copying over whatever fields exist in both. Does such a tool exist? -- RoySmith (talk) 16:57, 14 August 2019 (UTC)

Pretty sure this is phab:T97936, and a harder problem over here phab:T87271. --Izno (talk) 03:34, 15 August 2019 (UTC)
Yeah, T87271 is exactly what I'm talking about. Thanks. -- RoySmith (talk) 03:48, 15 August 2019 (UTC)

Account creations appear to be getting throttled to 2/day for editors[edit]

Hello all, if you are running in to this, it appears to be a temporary issue. Discussion and linked phab tickets are available at Wikipedia_talk:Requests_for_permissions#T230304_and_account_creation_being_blocked if you want to follow for more information as it becomes available. Best regards, — xaosflux Talk 04:21, 15 August 2019 (UTC)

RefToolbar[edit]

Hi - I find the RefToolbar very useful, but I would like to request an additional feature. In the Web Citation popover, can we please have a checkbox (or a select menu) to specify deadurl=yes/no? I can fill in Archive URL and Archive Date in the form, but after I have inserted the reference into the article, I have to go in and type the "deadurl" bit manually, which is a bit fiddly. Does anyone know how to get someone to add this? Thanks. Cnbrb (talk) 10:07, 15 August 2019 (UTC)

CSS for tables sabotaged?[edit]

Time in Russia
     KALT Kaliningrad Time UTC+2 (MSK−1)
     MSK Moscow Time UTC+3 (MSK±0)
     SAMT Samara Time UTC+4 (MSK+1)
     YEKT Yekaterinburg Time UTC+5 (MSK+2)
     OMST Omsk Time UTC+6 (MSK+3)
     KRAT Krasnoyarsk Time UTC+7 (MSK+4)
     IRKT Irkutsk Time UTC+8 (MSK+5)
     YAKT Yakutsk Time UTC+9 (MSK+6)
     VLAT Vladivostok Time UTC+10 (MSK+7)
     MAGT Magadan Time UTC+11 (MSK+8)
     PETT Kamchatka Time UTC+12 (MSK+9)

The content of {{time zones of Russia}} is nastily clipped in Vector. In Monobook I see it differently depending on desktop. I suspect that some quick hands without feedback scrabbled in style sheets, but am unwilling to investigate. There are scores of people with privileges here, while I have none. Incnis Mrsi (talk) 10:51, 15 August 2019 (UTC)

I'm actually shocked the template works at all; I've never seen anyone put a table inside of a file caption. I don't see any issue though, any of Monobook, Vector, or Timeless. --Izno (talk) 11:48, 15 August 2019 (UTC)
Caption with a loooooooooooooooooooooooooooooooooooooooooooooooooong word
It also looks fine to me in Vector. Captions don't make horizontal scrollbars for wide content so I can imagine the right side being cut off for some users who don't have room for all the table columns. If this is what you mean by ""nastily clipped" then it's not specific to tables. It happens for me in the example image with "Caption with a loooooooooooooooooooooooooooooooooooooooooooooooooong word". I see three caption lines with the middle cut off at "looooooooooooooooooooooooo". PrimeHunter (talk) 12:03, 15 August 2019 (UTC)
The image in {{time zones of Russia}} is 300px. The smallest size where I see the full caption in Vector is 272px. We could increase the image to 350px to reduce the risk of problems. There may still be users with too large fonts but probably few. PrimeHunter (talk) 12:15, 15 August 2019 (UTC)
Thanks, I missed that the template was foolishly redesigned during last years. Should the table be extracted from the caption? Incnis Mrsi (talk) 13:45, 15 August 2019 (UTC)
I think that would be a good idea. More guaranteed not to break that way. --Izno (talk) 13:56, 15 August 2019 (UTC)
With 300px image
Time in Russia
     KALT Kaliningrad Time UTC+2 (MSK−1)
     MSK Moscow Time UTC+3 (MSK±0)
     SAMT Samara Time UTC+4 (MSK+1)
     YEKT Yekaterinburg Time UTC+5 (MSK+2)
     OMST Omsk Time UTC+6 (MSK+3)
     KRAT Krasnoyarsk Time UTC+7 (MSK+4)
     IRKT Irkutsk Time UTC+8 (MSK+5)
     YAKT Yakutsk Time UTC+9 (MSK+6)
     VLAT Vladivostok Time UTC+10 (MSK+7)
     MAGT Magadan Time UTC+11 (MSK+8)
     PETT Kamchatka Time UTC+12 (MSK+9)
With 190px image
Time in Russia
     KALT Kaliningrad Time UTC+2 (MSK−1)
     MSK Moscow Time UTC+3 (MSK±0)
     SAMT Samara Time UTC+4 (MSK+1)
     YEKT Yekaterinburg Time UTC+5 (MSK+2)
     OMST Omsk Time UTC+6 (MSK+3)
     KRAT Krasnoyarsk Time UTC+7 (MSK+4)
     IRKT Irkutsk Time UTC+8 (MSK+5)
     YAKT Yakutsk Time UTC+9 (MSK+6)
     VLAT Vladivostok Time UTC+10 (MSK+7)
     MAGT Magadan Time UTC+11 (MSK+8)
     PETT Kamchatka Time UTC+12 (MSK+9)
Tables in captions work fine as long as they aren't forced to be too wide for the image. I added a 300px and 190px version where a &nbsp; is removed to allow wrapping in "Yekaterinburg Time", and UTC/MSK is in the same cell to allow wrapping there. I see the whole caption at 190px and think almost everybody does at 300px. It's less pretty when cells wrap but I think it would be worse if there was no table but just whole unaligned lines which wrap at the end of the line. And most readers probably don't get wrapping at 300px but do get good formatting with aligned columns. PrimeHunter (talk) 16:41, 15 August 2019 (UTC)

Preferences edit request[edit]

Don't know where else to put this. At preferences, under "Gadgets", there is a checkbox related to the Watchlist. EDIT REQUEST, please add text under the watchlist tab so folks configuring watchlists can more easily find the watchlist bold toggle under the gadgets tab. (I spent 90 minutes today trying to figure out why bold wasn't working but never thought to look under gadgets... Thanks NewsAndEventsGuy (talk) 13:52, 15 August 2019 (UTC)

You mean: "Display pages on your watchlist that have changed since your last visit in bold (see customizing watchlists for more options)"? Ruslik_Zero 14:20, 15 August 2019 (UTC)
Yes... that quote is under the gadgets tab, so we're coverted going GADGETS >>>to>>> WATCHLIST. But if one starts configuring their watchlist under "watchlist" - as most preferences noobs probably do - there is no text pointing at the gadget. If such text were added, we would help people know that there is more watchlist tweaking if they go the other way, WATCHLIST >>>to>>> GADGET. NewsAndEventsGuy (talk) 14:31, 15 August 2019 (UTC)

Template:OS coord[edit]

As some of you may be aware, {{OS coord}} (and related templates) has been out to lunch since about April. It's maintained by RHaworth (talk · contribs), who has posted an appeal at Template talk:OS coord#Getting back up 2019. All suggestions welcome there. --Redrose64 🌹 (talk) 14:56, 15 August 2019 (UTC)

Flag of Greece[edit]

Have you noticed that Greece's flag is not appearing? See for example 2019–20 UEFA Champions League. Also see Template:Country data Greece. 213.133.84.227 (talk) 18:29, 15 August 2019 (UTC)

 Works for me is it only in a certain browser you see this problem? — xaosflux Talk 18:39, 15 August 2019 (UTC)

Only with Google chrome I have the problem. I have just checked it with Firefox and is ok. 213.133.84.227 (talk) 18:45, 15 August 2019 (UTC)

My Chrome's fine; try clearing cache? --Golbez (talk) 18:58, 15 August 2019 (UTC)
If it's bad cache some on this page will work and others not. -- GreenC 19:00, 15 August 2019 (UTC)

Wikipedia Beta 'Jump To' tool not functioning in Mobile View[edit]

So, I have Wikipedia Beta enabled in Mobile View on my iPad iPhone 5S, with a nice 'Tick' suggesting the 'Jump To Top' function is also enabled. But I'm not seeing any form of floating button to help me move back to the top. Nor can I easily find any url to this documented function to assist me in report the issue - hence my post here. By way of example, navigating through WP:ANI in mobile view is a real struggle, and would be helped by this tool, whereas I've already added to the {{skip to top and bottom}} template to The Teahouse which makes life so much easier when navigating up and down, whether in desktop or mobile view. I'd love to get that similar functionality working on all article pages when in Mobile View. Many thanks, Nick Moyes (talk) 23:30, 15 August 2019 (UTC)

@Nick Moyes: Weird. I am using the beta version and this floating jump to top button is fully working on my Chrome Dev 77. What browser you are using? Masum Reza📞 05:33, 16 August 2019 (UTC)
Hi Masumrezarock100, I'm using the iPhone's default Safari browser. Nick Moyes (talk) 06:51, 16 August 2019 (UTC)
@Nick Moyes: Try changing your browser. It's most likely because of lack of browser support. Does this kind of thing happened to you before or is it new? You can report about this at mw:Talk:Reading/Web/Advanced_mobile_contributions. Though it's the talk page of AMC mode not Wikipedia beta. Masum Reza📞 07:06, 16 August 2019 (UTC)
@Masumrezarock100: I don't know when the jump-to-top button was implemented, but I've only just switched from working on my phone in desktop view to experimenting with it in mobile view (in order to try out the Advanced Contributions Mode). I'll check your helpful link and report the Safari browser issue. Thanks, Nick Moyes (talk) 12:06, 16 August 2019 (UTC)

Is anyone up to the job of helping me update our page on downtime?[edit]

Wikipedia:Downtime is currently inactive and is retained for historical reference. I think it would be worthwhile to revive it. Does anyone know where I can find the information I would need to do that? My impression is that in recent years we have only had brief planned downtime while various upgrades are made, but I would like to see a page documenting the great job the server wranglers are doing. --Guy Macon (talk) 23:32, 15 August 2019 (UTC)

@Guy Macon: wikitech:Incident documentation. This includes a lot of services that don't effect readers here on enwiki, though. See also the "Production excellence" reports on Release Engineering Team blog. MusikAnimal talk 14:57, 16 August 2019 (UTC)
Thanks! I think I can separate out the actual outages and update the page with that. Might take a week or so because of that pesky real life... :) --Guy Macon (talk) 15:02, 16 August 2019 (UTC)

Disabling HTML comments for drafts?[edit]

I've seen several instances of draft authors inserting HTML comments with their replies to reviews. I assume what's going on is that instead of using the AFCH Comment button, they've accidentally discovered the "Insert comment" feature of Visual Editor. If you're new at all this, it's a perfectly understandable mistake, and leads to all sorts of confusion. Is there some way we can disable the "Insert comment" menu item in VE when editing a draft? -- RoySmith (talk) 12:54, 16 August 2019 (UTC)

@RoySmith: disabling HTML comments in Draft space all together would be a bad idea (for example they are often used to comment out categories being drafted). Can you provide a few diffs where you think this problem is being introduced though? — xaosflux Talk 13:02, 16 August 2019 (UTC)
Most recently, here, immediately followed by an attempt to fix the problem; I assume the nowiki tags got added automatically as part of some copy-paste operation. This isn't the first time I've seen stuff like this, but I'd have to do a lot of digging to find other examples. Maybe the "Insert comment" menu item should be disabled in VE for all new editors, with a preferences checkbox to enable it? It really is an advanced feature, that's not likely to be needed by new editors. -- RoySmith (talk) 13:21, 16 August 2019 (UTC)
I don't think there is project-level control of those settings (just like with the "index/noindex" control in there that is virtually useless. — xaosflux Talk 13:37, 16 August 2019 (UTC)
If possible, I would prefer that the name be changed to "insert invisible comment" with a help page created at WP:HTML Comment explaining when and why one might use the AFCH Comment button and when and why one might use the invisible comment button. We could even add a "are you sure?" extra step befor an HTML comment is placed.
In general, I don't like disabling features when a warning or explanation can do the job. --Guy Macon (talk) 13:47, 16 August 2019 (UTC)
Having the editor work differently in draft space and main space does not strike me as a desirable feature. Explaining the buttons better seems superior to removing them. —Kusma (t·c) 13:58, 16 August 2019 (UTC)
@Kusma and Guy Macon: we could change the label from "Comment" to something else in these messages. It doesn't look like it supports wikilinks or much help text there though. — xaosflux Talk 14:03, 16 August 2019 (UTC)
Changing "comment" to "invisible comment" seems like an uncontroversial change that we can make right now. Does anyone object?
Next, is it possible to put up a warning/explanation that the user only sees when they click on that button? --Guy Macon (talk) 14:28, 16 August 2019 (UTC)
Submitters of drafts don't have an AFCH Comment button unless they've turned on "Yet Another AFC Helper Script" in their gadget preferences, which they are extremely unlikely to have done. To keep them from thinking that the right way to respond to a reviewer comment is with <!-- Hidden text -->, it would be better to change VE's insert menu item from "Comment" to "Hidden text". "Comment" (or "Invisible comment") makes sense to computer programmers, but most users of VE aren't computer programmers. The text Symbol opinion vote.svg Comment: , inserted by template {{AFC comment}}, could also be changed to something else. If AFCH were modified to place the comments on the talk page, reviewer comments might not need any introductory symbol and word. The argument against using the talk page has always been that newbies are too clueless to find the talk page, but perhaps it's worth investing the effort to train them to do so. --Worldbruce (talk) 14:33, 16 August 2019 (UTC)
  • Thanks everybody for your comments. I agree that (despite it being my initial recommendation), having VE work differently in drafts than in other namespaces would be confusing. I like the idea of changing the system messages to say "invisible comment" instead of just "comment". Even if naive newbies may not understand what that means, it should certainly be a clue that this is probably not what they want. It may not be the perfect, or final, fix, but it's easy to do and gets us most of the way there. Low hanging fruit, as they say. -- RoySmith (talk) 01:46, 17 August 2019 (UTC)

Place important links on top instead[edit]

Placing important links on top will be more helpful.

Privacy policy and disclaimers are important and should be placed on top. Monniasza talk 14:19, 17 August 2019 (UTC)

People do not come here to read policy and disclaimers. --Izno (talk) 14:34, 17 August 2019 (UTC)