MediaWiki 1.20/wmf4

Deployment of MediaWiki 1.20wmf4 to Wikimedia sites
The latest version (labeled "1.20wmf4") of MediaWiki, the software that powers Wikipedia and its sister sites, will soon be deployed to all Wikimedia sites in stages.

Deployment will start on Monday, May 28 and continue until Wednesday, June 6 (see the roadmap).

We will continue to deploy the latest software every two weeks. This is intended to minimize disruption and possible issues, and make it easier to identify the cause of problems, since the possibly problematic code will be much more recent.

Core changes

 * 6198771 - Updating .gitreview to point at the wmf/1.20wmf4 branch
 * 62a81ff - Applied patches to new WMF 1.20wmf4 branch
 * d99b391 - Creating new WMF 1.20wmf4 branch
 * 246a7dd - Revert &quot;Remove old compat methods/functions for mb_ functions&quot;
 * 2815101 - remove windows lines ending
 * 4394040 - Check validity of fetched titles and show a descriptive messages when an invalid title is encountered.
 * e778bf8 - setTitle on a new null revision
 * 221b42e - Fix trailing whitespace (and mixed spaces) in XSD files
 * 1497bd1 - Remove old compat methods/functions for mb_ functions
 * ad2c25f - Revert &quot;Re-phrased titles for diff and history pages&quot;
 * b6c0472 - Removed function_exists check for header_remove since it's now always available.
 * a44edf4 - Set title for Linker::revComment on Special:NewPages
 * c82961b - Check validity of fetched titles and show a descriptive messages when an invalid title is encountered.
 * 852221d - Follow up change Ia4147e83: Register new message key
 * e302c67 - [ResourceLoader] Use getLanguage accessor as the field is lazy-loaded.
 * db08936 - Adding a prefs header for options related to User Pages
 * 69ebd8d - Add some more detailed info about the xslt param of format=xml
 * 2f190c4 - user table: replace some '*' with explicit fields in selects
 * beccc67 - Title.php: replace some '*' with explicit fields in selects
 * 6c2cf98 - Block.php: replace '*' with explicit fields in selects
 * 1a7f80b - Add passing test for definition list with empty definition
 * d2e8dd6 - dump schema get unique contraints on id
 * 57200c5 - Fix a typo in resources/jquery/jquery.byteLimit.js
 * 1aead61 - Add and fix comments in some includes files
 * 6d55d44 - Workaround for autoloading when using php namespace.
 * 9180ab0 - Make it work in wikis not configured in English. (hardcodes message values) php phpunit.php includes/WikiPageTest.php
 * 41aa27c - Work around annoying Revision::newFromArchiveRow exception.
 * d94a5c8 - Skip legacy archives rows that already have the sha1 filled.
 * bca71b1 - Revert &quot; Add, to every API upload response, the warnings raised.&quot;
 * aad9d5f - Removed checks for the &quot;MEDIAWIKI&quot; constant on files that only define classes.
 * b22063a - When file sha1 populator fixes wrong values, make it fix the other metadata.
 * eea4ece - Added canonical url check for squid caching on view.
 * f27ff69 - Added missing GPLv2 headers in some places.
 * 11b67f0 - [FileRepo] Cleanup of URL config.
 * 92c7c6f - Remove OutputPage::uncacheableBecauseRequestvars
 * fd17a43 - Refactor DeviceDetection: make it OOP and extendable
 * e2b3d53 - Add, to every API upload response, the warnings raised.
 * 44ec396 - Added missing GPLv2 headers in some places.
 * 723b886 - [FileBackend] Avoid an extra RTT on Swift listing operations.
 * 4d3620a - HTMLForm: throw a warning when no callback is set
 * 7fc5234 - Scribunto parser support
 * 7c20a00 - &quot;Mark pages as visited&quot; should submit previously established filter options The form was missing the hidden inputs containing the filter options already selected. This change fixes adds those inputs.
 * 1082c71 - Added missing GPLv2 headers in some places.
 * af988ec - Re-phrased titles for diff and history pages
 * 264a4a4 - added since tag to wikiScript after I wasted a minute finding when it was added - joy!
 * 945ff2f - Adding params to getArrow
 * 3783b0b - Remove some methods from FakeTitle that do not exist anymore in Title.
 * ac97386 - Messages parsed through MessageCache should never show edit links. Copy to MessageCache.php the r92703 (d70ad8c) fix. Fixes
 * a350d68 - [FileBackend] Added some Swift listing profiling.
 * 3bbda78 - Added missing GPLv2 headers in some places.
 * 1aaac4c - Avoid extreme performance regression in ImagePage.
 * 7a0f6f5 - give path when not able to write the thumb
 * dbaec6e - Wrap message querypage-no-updates into a class
 * 3992cd8 - Add var dataCacheTime to mw.config
 * fc4683a - [FileBackend] Made supported ops check more explicit for sanity.
 * d0facbf - [FileRepo] Disabled ancient migration code, kills performance.
 * 5ef42e2 - Fixed undefined var notice.
 * fa132be - fix for Ibe3e88fa: restoring doDeleteUpdates.
 * 120a3f2 - Language::isValidBuiltInCode passed an object
 * 68f5001 - Improved/added parameter documentation
 * 24cad34 - [FileBackend] Moved closeResources call up to parent class function.
 * 3287397 - At least use /*$wgDBTableOptions*/; if passed through MW
 * 79b044a - Document DBO_PERSISTENT in DefaultSettings.php
 * bbb1131 - [FileBackend] Added profiling to doQuickOperationsInternal.
 * 159cc27 - [FileBackend] A few code cleanups and some error message improvements.
 * 930c9f8 - [FileRepo] Use faster doQuickOperations function for thumbnails ops.
 * 7443931 - Tweak includes/zhtable/Makefile.py
 * 1abcd5e - [FileBackend] Improved connection error handling and logging a bit for Swift.
 * 7b8e963 - empty string test for old page_restricions entries
 * 278bb44 - multi dbms support in api
 * 6e9ca6e - add since tags
 * 0ea2c38 - Fill GenderCache inside ApiPageSet
 * a5e50e8 - prop=revisions: join user table to get user name
 * 268fa20 - Revert &quot;Added RandomRootPage extension &quot;
 * d5bfa3b - Added RandomRootPage extension
 * 0981ec8 - Updating Release Notes about addition of getCreator and getOldestRevision methods
 * 29be04d - Update autonym for 'bpy'.
 * 6a460ed - Renamed new BagOStuff getBatch function to getMulti for consistency.
 * e2aa8b4 - Don't log HttpError
 * d3fd5db - Minor PECL client fixes
 * 059823d - [FileBackend] Removed likely surperflous memcached retry code.
 * 3c62077 - Implemented a wrapper for the memcached PECL client
 * 2df7fae - Add/update function level parameter documentation
 * 908b4d4 - [FileBackend] Added CDN support to Swift for third-party sites.
 * adedb66 - [FileBackend] Added getScopedLocksForOps function.
 * 15e9fcc - Added missing GPLv2 headers in some places.
 * 843738b - Bug 36785 Special:Shortpages lists only NS_MAIN pages. (pages from all $wgContentNamespaces should be listed)
 * 21b50f1 - Cosmetic change: add a new line after a section title.
 * a12ce17 - Generalizing LinksUpdate to allow extensions to add arbitrary update handlers.
 * 0a5e1bf - Add DebugInfos to api result
 * 4198866 - GROUP BY and ORDER BY supports arrays in Database class
 * 84b8ca9 - Remove extra unneeded whitespace
 * ebc43af - Add includes/zhtable/.gitignore to avoid data files to be committed.
 * 8ffaa46 - Reduced contention slam potential in User::invalidateCache.
 * 456177b - [IP] Added an IP::prettifyIP function for displaying IPs.
 * b5153c2 - Set $wgLanguageConverterCacheType to CACHE_NONE in installer
 * 94fc70a - exclude immovable namespaces from the namespace selector on Special:MovePage
 * 717e93b - Adding NamespaceIsMovable hook to isMovable in MWNamespace, much like done in Title::isMovable.
 * 0697701 - Various fixes to Special:Mostlinked.
 * aed0328 - fetchLanguageNames: fallback to default instead of false
 * b1e0daa - Make errors from ArticleSave hooks propagate to the interface
 * 5c18fed - The message on the top of Special:RecentChanges is now displayed in user language instead of content language
 * d086fc9 - [FileBackend] Made it easy to use registed file backend config in multi-write backends.
 * 12ddff3 - Various fixes to Special:Mostcategories.
 * cc39383 - [FileBackend] Syncing from journal support.
 * 9ae175d - Title::moveToInternal doesn't return anything, but it does throw an exception

ArticleFeedback

 * 647f03c - Fix a variable name: track -&gt; tracked.

CategoryTree

 * 427e684 - Bug 36486 - CategoryTree: get_object_vars expects parameter 1 to be object, null given

Cite

 * bbfb773 - Make Special:Cite translatable

CodeReview

 * 55e31a6 - [CodeReview] Commit i18n change from mediawiki.org

Collection

 * f2c1582 - Bug 36706 - Collection: Invalid argument supplied for foreach

DismissableSiteNotice

 * f4abc9c - Replacing table with div and fixing directionality.

DonationInterface

 * 99bf3bd - Fixed a small bug in the IP velocity filter extra, and made sure it was hard-coded in the off position for the orphan recitfier, until we know it's using the correct client IP.
 * 95fa6d9 - Adding an IP velocity filter for DonationInterface. It uses memcache, and the php5-memcached library, but should fail nicely if those things aren't installed/configured and the filter is enabled.
 * 4412da3 - (mingle-fr-2012-448) Adding utm fraud handling for log parser.
 * fa59692 - Tiny cleanup in the orphan slayer logs. Could have something to do with the line endings smooshing after the aggregator runs.
 * c2d7067 - (mingle-fr-2012-448) Fixing nightly fraud emails
 * c7e8957 - Switching all of the values back to numbers instead of strings. Strings cause validation to be performed as strings and not numbers, thus 100 &lt; 5
 * 296f46a - (mingle-fr-2012-69) Added fraud handling for email domains.
 * 100daa4 - (mingle-fr-2012-69) Added fraud handling for utm_medium and utm_source
 * 4ecfff3 - (mingle-fr-2012-69) Updating utm_campaign fraud detection
 * 066b458 - (mingle-fr-2012-69) Adding a custom filter for risky countries.
 * 972f406 - (mingle-fr-2012-67-fix-class-extends) Fixed the extending class.
 * 13871f8 - (mingle-fr-2012-67) minFraud servers can now be set in LocalSettings.php
 * 94f8dfe - (mingle-fr-2012-67) Upgrade our implementation of MaxMind minFraud
 * b65f089 - Fundraiser 2012 card #65 Stops the GC adapter (and orphan slayer) from trying to do a cancel_payment where GC will think no payment exists. Also fixes a minor bug that would only pop up in the orphan slayer.
 * cf6a5eb - (mingle-fr-2012-67) Upgrade our implementation of MaxMind minFraud

FlaggedRevs

 * 26a52e5 - Removed noflip param after some $wgLanguageCode testing.
 * e1e4876 - Fixed alignment of diffs in notices on view/edit.

Gadgets

 * 283d800 - Show 'viewsource' when user is not allow to edit gadgets

Interwiki

 * 2b7e457 - Fix output of form
 * 1935444 - Add/update parameter docs

LiquidThreads

 * ffed9e2 - Update PostgreSQL schema for LiquidThreads

MobileFrontend

 * 57e36cf - email -&gt; e-mail
 * d2691d7 - Reintroduces changes removed in 59fa8d9a7071849c01b305e8a840664bdc462319 that broke MW 1.19 compatibility.
 * 5daaf75 - * Makes feedback form for technical problems appear only if there is not a link configured for techcnical problem feedback * Changes getFeedbackHtml to renderFeedbackHtml since the method was already partially rendering the HTML anyway. Now it renders all of the HTML generated in this function so behavior is consistent and predictable. * Adds htmlspecialchars escaping to generated feedback links
 * 3476b78 - close section link in beta
 * 42df9b0 - add beta class to body tag when beta enabled
 * 0dd6df3 - Bug 37097 - stuck action=mobileview cache
 * 7751076 - increment z-index of references on beta
 * 8e84dab - deal with landscape differently
 * 8cd2f4e - give navigation icons a min-width
 * aae1c7c - don't keep menu open when clicking menu items
 * bb050cc - remove tests moved to mf-navigation-legacy test
 * 215f166 - fix broken tests
 * a879e99 - adjust transitions for change to full screen search
 * 16cb74c - Bug 37049: Non-latin characters get converted into entities
 * b31ce3c - use history api to avoid problems with buggy browsers
 * dc8255a - Simplify robots and Apple touch icon outputting
 * ef2e63b - remove last edited information from footer
 * 59fa8d9 - Remove deadbeef
 * 6e31372 - Refactoring of option cookies
 * 4582995 - Don't display two similar headings on beta opt in/out forms

MoodBar

 * 93106ff - Fix all trailing whitespace

Narayam

 * eb9080e - Added a test for Amharic.
 * 005b483 - Add new rule to Kannada transliteration
 * b811d9f - Changed Gujarati transliteration rules according to feedback

OggHandler

 * 7713e12 - Function level parameter documentation

Oversight

 * f5c92aa - Add missing action messages displayed on Special:Oversight

PageTriage

 * e2471ba - Adding a spinner to the list refresh button
 * 3e7e54b - Add the API for tagging, which includes tags and deletion
 * 18f62aa - Set up language file and config file for tags
 * 39e1cfe - Enabling 'unmark as reviewed'
 * 0d4416d - Adding pokey to curation toolbar
 * ad0e5e5 - Moving toolbar hook from BeforeArticleDisplay to ArticleViewFooter
 * 39e9c8a - Creating layout for the toolbar Patch 2: some more styling Change-Id: Idf428eababd59ae9856a3ffd1408358d68eb1043
 * 887ec1d - Fixup more whitespace
 * ee56f28 - Fixup documentation and whitespace and such
 * 740dd4d - Styling tweaks for the review button and flyout content area
 * ca3e81e - Adding Mark as Reviewed functionality to curation toolbar
 * 960170c - Fix obvious error, style inconsistenties and missing punctuation.
 * bc51e5d - Add template tags to curation toolbar
 * 28ed9ef - Making sure that curation toolbar doesn't display unless it's supposed to
 * 65c0388 - Adding .gitignore.
 * 6172c11 - Fixing - making sure float status is always correct
 * 3ad979c - updated README
 * 7af411d - Fixing (floating nav width issue) and fixing some whitespace while I'm at it
 * a31c9cc - Pass required variables to article template
 * ab2aa26 - Adding missing articleInfo template
 * 3d84caa - Added icons, made flyouts work
 * dd7ee4f - Adding a button for refreshing the page list
 * 3688578 - Adding badger jQuery plugin, modified for use in curation toolbar Patches: Making some modifications to the plug-in Change-Id: Ic3d53c2f64189b9a3d9afaa83057cde75fe2063e
 * cb33183 - Fixing - display an error message if interface loading fails Patch 1: more specific error message and removing commented out debugging code Change-Id: Iaf538f31db7a68803e531c43e43875f50cb527f4
 * 1276b15 - Removing unneeded dependencies for the article reviewing action
 * 76a2e4d - Add some fix to articlemetadata unittest

ProofreadPage

 * 911b74e - ProofreadPage image width on edit.

Renameuser

 * 6bc6c4e - Change the &quot;Block log&quot; button to &quot;Show block log for user&quot;.
 * e13c6fa - Adding .gitignore.

SiteMatrix

 * 51e04cb - Bug 36792 - api action=sitematrix puts out //$lang.wikipedia.org as sitename

SpamBlacklist

 * 1d03a61 - Remove Wikimedia-specific configuration from the extension.

SwiftCloudFiles

 * 3b36e7c - Remove period from description message.
 * 03c00af - cURL handle fixes.
 * a1f6d05 - Tweak description to look shorter
 * 1e35eba - Made $unused param optional.

SyntaxHighlight_GeSHi

 * b06fbd3 - Remove usage of mw-code-inline

TorBlock

 * 1fc1a59 - Bug 36708 - TorBlock still use wfGetIp

Translate

 * 10a65e7 - Update check blacklist for 'cite_text'.
 * 4869ddf - Removed unnecessary token check from Special:AggregateGroups
 * 8996728 - In Special:AggregateGroups, sort aggregates and their subgroups
 * 4b812ee - Outdated caches were not recreated when file and wiki state match.
 * 6c7291f - Sort subgroups of an aggregate group on Special:AggregateGroups.
 * 5d57734 - Remove unused variables left by refactoring
 * 7c353ad - Fix - Fatal error on Special:AggregateGroups
 * 1404211 - Make 9*9@72dpi icons into 33*33@264dpi icons.
 * 13eb991 - Special:AggregatGroups works now well enough to be listed
 * 598cbbf - Link translation admin pages like translator pages are
 * 775ed32 - Remove support for OpenLayers

TranslationNotifications

 * fb61bf4 - : Filter source language signups
 * fd247d2 - Excluding discouraged pages

UploadWizard

 * c8eb07e - Add message for, then implement, redirecting to UW

VisualEditor

 * b2adee0 - Basic rt support for indent pre variant
 * c52c24b - Slightly improve formatting of web service; test commit message tweak
 * c692bc2 - Use '/bin/sh' instead of '/bin/bash'
 * a31ccaa - Support definition lists with empty definition
 * 1ce2bc6 - Add a small test runner with result archiving in git repo
 * 06b51b1 - Properly round-trip dd/dt; 178 round-trip tests passing.
 * 6f62878 - Resolve subpage links, and remove hack for H: titles
 * dc61f31 - Notes on missing parser functions, more error reporting tweaks
 * cc10aab - Add self alias
 * 13ae7cd - A few (partly hackish) improvements
 * 540d14d - More tweaks to the intro message
 * 987ff8a - Add a longer welcome/help message and a link to the Parsoid docs
 * 3e0e11b - Sanity check for tokens being an array
 * 93ce745 - Fake fullpagename et al a bit better
 * cdd1eca - Fix non-existing revision error reporting
 * f03fc39 - Report missing revisions when retrieving templates
 * caf2fa6 - Keep going on tokenizer errors
 * a5c96be - Improve shell wrapper for parsoid service
 * e70448e - Use text/x-mediawiki content type, and handle tokenizer errors without --debug
 * 4cc2d25 - Fix a debug print reference error
 * 6dac7de - Capital T in second part of Content-Type
 * d6af3b3 - Improve the serializer and its output display in the web service
 * 95496c0 - Add an extra newline before headings, and ignore favicon.ico requests
 * e2ee66e - Start slightly more workers than there are CPUs
 * 21286a5 - Make sure pageName is set in the web service, and handle empty page name in parser function
 * a862718 - Add some checks against undefined tokens returned from async transforms
 * a4c5d43 - Fix an external link regression, and add server shell wrapper and setup docs
 * b89f507 - Basic parser / serializer web service
 * febb912 - No end delimiter after template row attributes
 * 39c6f42 - Link round-tripping and other improvements
 * fb7d541 - Round-trip nowiki
 * a6610e5 - Serializer and table round-tripping improvements
 * 54e75b9 - Support table captions and properly delimit the end of table options
 * c39eb36 - Use outerHTML to serialize unhandled DOM node in serializer
 * 3c6d829 - Fix first bug caught by new roundtrip mode for parserTests
 * 9b84e93 - First pass updating parserTests to verify dom-&gt;wikitext serialization.
 * ae4810b - Renamed items to itemCount for better code readability.
 * 58da03b - Track list prefixes in the list start handler and use them to output serialized text in list item handlers.
 * 04fc74c - Strip RDFa attributes in parserTests
 * e2815b5 - Start to handle links
 * b7fd449 - Use single _serializeToken handler for both DOM and tokens
 * 8dbc2f5 - Simplistic wikitext round-tripping with parse.js --wikitext
 * 3414418 - Don't eat newline tokens in the ListHandler
 * 542921b - Removed html5 parser patch no longer needed with 0.3.8
 * 96ee9ad - Add a new wikitext serializer, with limited functionality.
 * d918fa1 - Big token transform framework overhaul part 2

WebFonts

 * 0673600 - ext.webfonts.fontlist.js: Fix trailing comma in object literal (broke IE7)

WikiEditor

 * 80067e8 - Making ltr default for characters.
 * 5622bdb - Fix for
 * 71b0323 - Change the code of Greek to 'el'.
 * 44122de - fixing some RTL issues with Wikieditor dialogs.

WikiLove

 * 61240bf - WikiLove is no longer experimental, updating preferences

WikimediaIncubator

 * aba428e - Fix message escaping
 * 6d1f4e0 - Better main page detection, and adapt the info page when a main page is found
 * 1b87926 - Simplify code by passing a Title object to analyzePrefix which checks namespaces
 * cdeb01d - Remove redundant code
 * 5267d4c - analyzePrefix updates and other minor updates
 * 51f2b3e - Update to code standards

WikimediaMaintenance

 * 4740254 - Add maintenance/archives/patch-filejournal.sql to new wikis