Wikipedia:Wikipedia Signpost/2019-01-31/Technology report
When broken is easily fixed
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 {{Original upload log}} 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: Zhaofeng Li's reFill tool needs a new maintainer
- Proposed new gadget: Galobtter is proposing that his Shortdesc helper be promoted to a gadget, see village pump discussion.
- Automated script installation? Enterprisey has made a Script-Installer[1] (source) 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 Wikipedia:User scripts/List § Meta-scripts.
- Script modules idea: Evad37 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[2] (source) by User:BrandonXLF – makes the Wikipedia side panel floating.
- Global Preferences[3] (source) by User:BrandonXLF – adds a link to edit global preferences.
- Mobile View[4] (source) by User:BrandonXLF – adds a link to view mobile version of page.
- Green Redirects[5] (source) by User:BrandonXLF – makes redirects green.
- Source Assess Table Generator[6] (source) by User:Abelmoschus Esculentus - Assists users in generating a source assess table. Useful for AfD regulars.
- errors[7] (source) by User:DannyS712 – adds a link to WP:ERRORS on the main page and associated pages
- Cat next[8] (source) by User:Danski454 – adds a button to go to a random page in a category
Bot tasks
Recently approved tasks
- PkbwcgsBot (BRFA · contribs · actions log · block log · flag log · user rights) (Tasks: 14, 16, 20, 22)
- GreenC bot (BRFA · contribs · actions log · block log · flag log · user rights) (Tasks: 8, 9)
- Pi bot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 4)
- RonBot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 12)
- WOSlinkerBot (BRFA · contribs · actions log · block log · flag log · user rights) (Tasks: 2, 3)
- Dreamy Jazz Bot (BRFA · contribs · actions log · block log · flag log · user rights)
- RonBot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 14)
- MusikBot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 15)
- RF1 Bot (BRFA · contribs · actions log · block log · flag log · user rights)
- DannyS712 bot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 3)
Current requests for approval
- PkbwcgsBot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 21) – Open
- Dreamy Jazz Bot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 2) – In trial
- HostBot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 9) – In trial
- Lsmb-release-bot (BRFA · contribs · actions log · block log · flag log · user rights) – In trial
- ProgrammingBot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 2) – In trial
- LkolblyBot (BRFA · contribs · actions log · block log · flag log · user rights) – Trial complete
- OutreachDashboardBot (BRFA · contribs · actions log · block log · flag log · user rights) – Trial complete
- DannyS712 bot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 2) – Trial complete
- GreenC bot (BRFA · contribs · actions log · block log · flag log · user rights) (Task: 7) – 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. [1]
- Templates with <templatestyles> could not show the difference between the live template and the sandbox version when they were tested. This has now been fixed. <templatestyles> has a new
wrapper
parameter now. You can use it for selectors like.mw-parser-output <wrapper parameter value> <selector from CSS page>
. [2] - You can now use template styles in the
Module
namespace. [3]
Abuse filter
- On several wikis, an account named "Edit filter" 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.
- The AbuseFilter variable
minor_edit
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. - In AbuseFilter, the "Throttle" 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. [4]
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. [5][6]
- 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
Pages with unreviewed translations
to translations that might have used machine translations without fixing the problems. This is so others can find them. You can find this category inSpecial:TrackingCategories
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. [7]
- MediaWiki logstash logging is moving to a new infrastructure. This is an ongoing deployment. [8]
- codesearch.wmflabs.org has been updated, with new and updated repositories and a new search options for code. [9]
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. [10][11]
- 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. [12]
- 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. [13]
- MassMessage is used to post a message to many pages. It has not been working reliably. Some messages have not been posted to everyone. [14][15]
- 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. [16]
Meetings
- 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.
Installation code
- ^ Copy the following code, edit your user JavaScript, then paste:
{{subst:lusc|1=User:Enterprisey/script-installer.js}}
- ^ Copy the following code, click here, then paste:
importScript( 'User:BrandonXLF/FloatSide.js' ); // Backlink: User:BrandonXLF/FloatSide.js
- ^ Copy the following code, click here, then paste:
importScript( 'User:BrandonXLF/GlobalPrefs.js' ); // Backlink: User:BrandonXLF/GlobalPrefs.js
- ^ Copy the following code, click here, then paste:
importScript( 'User:BrandonXLF/MobileView.js' ); // Backlink: User:BrandonXLF/MobileView.js
- ^ Copy the following code, click here, then paste:
importScript( 'User:BrandonXLF/GreenRedirects.js' ); // Backlink: User:BrandonXLF/GreenRedirects.js
- ^ Copy the following code, click here, then paste:
importScript( 'User:Abelmoschus Esculentus/SATG.js' ); // Backlink: User:Abelmoschus Esculentus/SATG.js
- ^ Copy the following code, click here, then paste:
importScript( 'User:DannyS712/errors.js' ); // Backlink: User:DannyS712/errors.js
- ^ Copy the following code, click here, then paste:
importScript( 'User:Danski454/cat-next.js' ); // Backlink: User:Danski454/cat-next.js
Discuss this story