Wikipedia:Wikipedia Signpost/2019-01-31/Technology report

FileExporter
A new beta feature for transferring files to Wikimedia Commons was released for all wikis on 16 January. The FileExporter allows files to be transferred along with the file history (previous versions of the file) and description page history. Existing tools can copy files over, but information such as who originally uploaded the file has to be added to the description page, for example with the template.

The feature was initially released in beta on MediaWiki.org, Meta-Wiki, Wikisource.org, and the German, Persian, Arabic, and Korean Wikipedias.

To test FileExporter, activate it in your user preferences; feedback can be left on the central talk page on MediaWiki.org.

The feature was developed by Wikimedia Deutschland's Technical Wishes project, in response to a 2013 wish from German-speaking communities. Further information is available on MediaWiki.org and Meta-Wiki.

Enter key blues
For a short time on 10 and 11 January (Thursday and Friday), several users reported that hitting the enter key in the edit summary box no longer saved the page. Instead, it opened a menu of common edit summaries, available when the default summaries gadget ("Add two new dropdown boxes below the edit summary box with some useful default summaries") is enabled. A workaround was added to MediaWiki:Gadget-defaultsummaries.js until the issue was resolved.

Emergency server switch
An emergency server switch was performed on 17 January at 07:00 (UTC), due to a hardware failure. This impacted most wikis, but not English Wikipedia, nor Commons, Wikidata, Meta, Wikispecies, and several other Wikipedias (full list). The affected sites were read-only for less than four minutes during the switch. Further information is available on Phabricator.

TemplateData failures
A recent software update to the TemplateData extension caused some templates' data to become inaccessible to various tools. The affected templates were generally those that had been edited since the update was deployed. This resulted in VisualEditor not being able to display parameters or descriptions, as well as errors in gadgets and scripts such as ProveIt (report). The bug report, filed on 16 January, was given the priority "Unbreak now!", and a software patch resolving the issue was deployed on 21 January.

In brief

 * Tool maintainer wanted: 's reFill tool needs a new maintainer
 * Proposed new gadget: is proposing that his Shortdesc helper be promoted to a gadget, see village pump discussion.
 * Automated script installation? has made a  user script, and proposed it become a gadget. There was generally support or cautious support for the idea, but concerns about a need for warnings or whitelist; see archived discussion. Other script installers/managers can be found at.
 * Script modules idea: has proposed that a pseudo-namespace be created for script modules – bits of Javascript code intended to be easily reused by userscripts.  See draft proposal and discussion.

New user scripts to customise your Wikipedia experience

 * Float Side (source)  by User:BrandonXLF – makes the Wikipedia side panel floating.
 * Global Preferences (source)  by User:BrandonXLF – adds a link to edit global preferences.
 * Mobile View (source)  by User:BrandonXLF – adds a link to view mobile version of page.
 * Green Redirects (source)  by User:BrandonXLF – makes redirects green.
 * Source Assess Table Generator (source)  by User:Abelmoschus Esculentus - Assists users in generating a source assess table. Useful for AfD regulars.
 * errors (source)  by User:DannyS712 – adds a link to WP:ERRORS on the main page and associated pages
 * Cat next (source)  by User:Danski454 – adds a button to go to a random page in a category

Recently approved tasks

 * (Tasks: 14, 16, 20, 22)
 * (Tasks: 8, 9)
 * (Tasks: 2, 3)
 * (Tasks: 2, 3)
 * (Tasks: 2, 3)

Current requests for approval

 * – Open
 * Task 7 – Open
 * Tasks 5, 17 – In trial
 * Tasks 12, 18 – Trial complete
 * – In trial
 * – In trial
 * – In trial
 * – In trial
 * – Trial complete
 * – Trial complete
 * – Trial complete
 * – Trial complete

Latest tech news
Latest tech news from the Wikimedia technical community: 2019 #2, #3, #4, & #5. Please tell other users about these changes. Not all changes will affect you. Translations are available on Meta.

Templates and TemplateStyles

 * When a template was edited with the visual editor, it would sometimes put all information on one line. This makes it difficult to read for editors who use the wikitext editor. It also makes it more difficult to see what happened in a diff. This problem affected edits made between 8 and 17 January and is now fixed.
 * Octicons-tools.svg Templates with   could not show the difference between the live template and the sandbox version when they were tested. This has now been fixed. has a new   parameter now. You can use it for selectors like.
 * You can now use template styles in the  namespace.

Abuse filter

 * Octicons-tools.svg On several wikis, an account named "" has been created on December 17 to perform some technical maintenance on AbuseFilter. This account has sysop rights but it's a system user and no human can use it. The account already existed on wikis where AbuseFilter can perform blocks, which are issued using this account. See T212268 for more information and future plans.
 * Octicons-tools.svg The AbuseFilter variable  has been removed. It was deprecated in 2016. Now you can't use it. You can fix the filters using it. You can find them if you use the search bar on Special:AbuseFilter.
 * Octicons-tools.svg In AbuseFilter, the "" action takes three parameters: count, period and groups. They must now strictly respect the requirements listed on mediawiki.org. A list of broken filters is on Phabricator. If you're familiar with AbuseFilter, please take a look and fix them.

Translations

 * You can now add captions to files on Commons. Captions are short descriptions of the file. They can be translated to all languages we use. They can't use wikitext markup.
 * You can now use Google Translate in the content translation tool.
 * The content translation tool can now use version 2 as the default version for users who turned on the beta feature. For example it adds the tracking category   to translations that might have used machine translations without fixing the problems. This is so others can find them. You can find this category in   on Wikipedias.

MediaWiki and wmflabs.org software

 * https://mediawiki2latex-large.wmflabs.org can now convert collects of up to 800 pages to PDF, EPUB or ODT. Previously this was 200 pages.
 * RelatedSites extension has been undeployed. It was used to create interwiki links on Wikivoyage, now handled by Wikidata.
 * Octicons-tools.svg MediaWiki logstash logging is moving to a new infrastructure. This is an ongoing deployment.
 * Octicons-tools.svg codesearch.wmflabs.org has been updated, with new and updated repositories and a new search options for code.

Other recent changes

 * Earlier a quoted HTML attribute had to be followed by a space. Now it doesn't. This means that some pages could look different when you save them even if you didn't edit that part of the text.
 * Users who could cause more damage to the wikis if someone took over their account have to have more secure passwords. This includes administrators and other user groups. They can't use passwords that are in a list of common passwords. Accounts with common passwords are easy to take over. The list of common passwords was made longer a few weeks ago and has a different error message. Some user groups have been added to those who can't use common passwords. This is to protect all accounts with user rights that could cause damage.
 * The Wikimedia servers use HHVM to run the PHP code. They are going to use PHP7 and stop using HHVM. You can test PHP7 with a new beta feature. That way you can help find and report problems.

Problems

 * When you see an edit in the recent changes feed or in the history of a page some of them have tags. Some tags are added automatically. You can also add tags manually. Tags for edits that have been added manually can be edited. This didn't work for a little while. This has now been fixed.
 * MassMessage is used to post a message to many pages. It has not been working reliably. Some messages have not been posted to everyone.
 * When someone moves a page to a name that already exists that page that had the name the article is moved to is deleted. For a couple of months this didn't always work. Some users saw an error message instead. This has now been fixed.

Meetings

 * Octicons-sync.svg Octicons-tools.svg You can join the technical advice meeting on IRC. During the meeting, volunteer developers can ask for advice. The meeting takes place every Wednesday from 4:00–5:00 p.m. UTC. See how to join here.