The Signpost

Technology report

New features in development; more breaking changes for scripts

Contribute   —  
Share this
By Evad37

The colour of wikitext

Syntax highlighting is now available for testing

Syntax highlighting for wikitext is a much-sought feature to assist with editing. While userscripts can and have made syntax highlighting possible, a solution integrated into MediaWiki ranked #6 on the 2016 Community Wishlist Survey. The WMF Community Tech team has a version available for testing, as a Beta feature on the test Wikipedia. Barack Obama is a suggested test article. Comments and questions should be directed to the project talk page on Meta.

Changes to Recent Changes

Recent changes filters can now be bookmarked

New filters for edit review were recently added as an optional beta feature. This feature improves Special:RecentChanges and Special:RecentChangesLinked by adding highlighting and filtering, including quality and intent filters using ORES. Filters bookmarking is now available, to save the set filters, and more new features are planned: additional filters (for namespaces, tagged edits, categories and usernames), live updates, and a redesigned navigation. The Collaboration team also plans to make the interface clearer by hiding the links currently shown at the top of the page. Mockup screenshots are available on Phabricator, and feedback on the change can be given on the MediaWiki.org talk page.

Users are also now able to choose whether they want to see Wikidata changes in the enhanced recent changes and watchlist. The enhanced mode is available in your preferences, under the "Recent changes" tab, as the "Group changes by page in recent changes and watchlist" option. This way you can see the changes that happened to data on Wikidata that is used in the Wikipedia pages. You might need to uncheck the "hide Wikidata" checkbox on the recent changes or watchlist page to see them.

Breaking script changes

The big blue buttons which may break some scripts

Accessible editing buttons ("big blue buttons") have been deployed to Meta-wiki and several large Wikipedias, and will soon be deployed elsewhere, including English Wikipedia. They are intended to be more accessible, and be consistent with the majority of the rest of the user interfaces provided in MediaWiki. Instructions for testing and fixing affected scripts are available on MediaWiki.org.

Another potentially breaking change is the upgrade of the jQuery library in MediaWiki from 1.x to 3.x (the current stable version). The timeline for deployment to production wikis was August 2017. An overview of the important changes, and advice on how to migrate code, is available from jQuery. In most cases migration involves fairly simple changes, such as using a different method name, or adding quotes in selectors. The vast majority of the added requirements and removed methods will be restored through the jQuery Migrate plugin with a deprecation warning in the console – as such, it is unlikely that code will require any immediate changes.

In brief

Fewer labs labs labs

Newly approved bot tasks

Latest tech news from the Wikimedia technical community: 2017 #26, #27, & #28. Please tell other users about these changes. Not all changes will affect you. Translations are available on Meta.

S
In this issue
+ Add a comment

Discuss this story

These comments are automatically transcluded from this article's talk page. To follow comments, add the page to your watchlist. If your comment has not appeared here, you can try purging the cache.

In "Recent changes", bullet-point #2 is "Previously, this was disabled for everyone." What is the antecedent for "this"? Is it bullet-point #1? If so, these two items should probably be merged. DMacks (talk) 13:57, 17 July 2017 (UTC)[reply]

It looks like it was about Wikidata edits now appearing in enhanced RC, and that the first sentence was dropped when copying that bullet point from m:Tech/News/2017/26. This seemed like an obvious mistake so I went ahead and fixed it. --Catrope (talk) 21:02, 17 July 2017 (UTC)[reply]



       

The Signpost · written by many · served by Sinepost V0.9 · 🄯 CC-BY-SA 4.0