MediaWiki 1.25/wmf1/Changelog

Core changes

 * - 9
 * - Update WikimediaEvents for cherry-picks
 * - Update WikimediaEvents for cherry-picks
 * - HashBagOStuff: use the value itself as the CAS token
 * - Update Wikidata, fixes for serialization issues
 * - Update NavigationTiming for cherry-picks
 * - and editing properties
 * - MobileFrontend: grab https://gerrit.wikimedia.org/r/#/c/164543/
 * - Update NavigationTiming for cherry-picks
 * - Update NavigationTiming for cherry-picks
 * - Avoid the page join when not really needed
 * - Update Wikidata, fix hhvm, js and site link diff issues
 * - Workaround for thumbnail pre rendering with PHP &lt; 5.4.7
 * - Bump GuidedTour for two bug fixes
 * - Update VisualEditor for cherry-pick of I346903
 * - Avoid stupid mariadb filesort in findMissingFiles.php
 * - Updating to ZeroBanner master
 * - Update Wikidata, fix for editing properties and api debugging
 * - Revert Echo user notifications trim job backport
 * - Update Echo with user notifications trim job
 * - Revert &quot;Revert &quot;Revert &quot;More sensible behavior when special page aliases conflict&quot;&quot;&quot;
 * - Update VisualEditor to I77a6d8
 * - Update Wikidata, fix for jquery.wikibase.sitelinklistview.js and hhvm
 * - Update MultimediaViewer submodule
 * - Update VisualEditor for cherry-pick of Ic5bf22106b
 * - MobileFrontend: recreate 1.25wmf1
 * - PasswordFactory::newFromPlaintext( null ) needs to work
 * - Implement FauxRequest::getRequestURL - needed for MF tests
 * - Revert &quot;Revert &quot;More sensible behavior when special page aliases conflict&quot;&quot;
 * - Update MultimediaViewer submodule
 * - Update Wikidata, fix hhvm issues
 * - Update Scribunto for I7185e186d
 * - Fix extension asset path error in I333049828
 * - Update WikimediaEvents for 0e087daea5
 * - Vector: https://gerrit.wikimedia.org/r/#/c/163021/
 * - Update CentralAuth to 1.25wmf1 HEAD
 * - Revert &quot;Set site logo url in ResourceLoaderSiteModule instead of inline styles&quot;
 * - Revert &quot;API: Fix list=allusers with multiple values for augroup&quot;
 * - Revert &quot;More sensible behavior when special page aliases conflict&quot;
 * - Bump Flow submodule in 1.25wmf1
 * - Update CentralAuth to 1.25wmf1 HEAD
 * - mediawiki.action.history.diff: Remove white background from table.diff
 * - Couple of type hints for Block
 * - More sensible behavior when special page aliases conflict
 * - Minor code cleanup and a doc type cleanup
 * - resourceloader: Clean up $localBasePath variable assignment
 * - Limit active DB connections spawned in waitForAll to one
 * - Fixed doc typo
 * - Made JobQueueDB::doWaitForBackups wait for the right slaves
 * - SECURITY: Enhance CSS filtering in SVG files
 * - Fix function case: WebRequest::getIntorNull -&gt; getIntOrNull
 * - HtmlForm: Add @since annotation for methods added to UI standardization
 * - $wgTitle is not needed for running parser tests
 * - Add a process cache for fetchLanguageNames
 * - Profiling for Language::fetchLanguageNames
 * - Fix API-related 1.25 release notes
 * - API: ApiBase::PROP_* constants are deprecated
 * - Add API output skin
 * - Split SkinTemplate.php per-class
 * - Fixed header in file history
 * - HtmlForm: Use mw-ui-checkbox only if wgUseMediaWikiUIEverywhere is enabled
 * - Randomize the JobRunner slave lags checks a bit
 * - Slave lag check tweaks to JobRunner
 * - Special:BookSources: Use getConfig instead of Global
 * - Fixed bug in BloomCacheRedis::getConnection
 * - Special:BookSources Add global
 * - Tweak checkbox sizes to be relative depending on where used.
 * - Make &quot;/*@noflip*/ /*@embed*/&quot; annotation work without CSSJanus hacks
 * - Update OOjs UI to v0.1.0-pre (880100c45e)
 * - Special:BlockList: Use mw-ui-progressive for search button
 * - Fixes to prevent duplicate rows in ActiveUser cache
 * - Special:EditWatchlist: Use destructive button and style checkboxes
 * - ResourceLoaderWikiModule: Only check content format instead of namespace
 * - Special:BookSources: Use appropriate mediawiki.ui classes and update strings
 * - Message: Correct output of wfMessage( 'non-existent-msg' )-&gt;text
 * - Add tests for Job::toString
 * - Update OOjs UI to v0.1.0-pre (4ea8e2cba9)
 * - API: Remove XML tag highlighting from non-XML formats
 * - Move code to load User data from cache out of loadFromId
 * - doxygen: Document problem with slashes and fix a few
 * - Restore Composer hook providing MediaWiki version
 * - Reduce duplication in some Special:ListGroupRights code
 * - Use as strict comparison to check whether an user name was provided in Special:ListFiles
 * - Use a less confusing column alias in findMissingFiles.php
 * - Disable thumbnail chaining support for PNGs
 * - Add mw-ui-icon
 * - Add missing space to log message
 * - Make linker warning useful
 * - doxygen: Fix leading space in class member descriptions
 * - doxygen: Fix trailing star in class member descriptions
 * - inputs.less: Add disabled state
 * - Begin logging RequestContexts relying on global title
 * - Per 5a4a33a, remove support for magic quotes gpc
 * - MediaWikiTestCase: Centralise insertPage logic from SearchEngineTest
 * - Remove $wgTitle from WebStart forever
 * - Special:ActiveUsers: Use mw-ui-input-inline
 * - Set site logo url in ResourceLoaderSiteModule instead of inline styles
 * - Break accidental references in Parser::__clone
 * - Delete maintenance/purgeOldText.inc
 * - mw.Title: Add method to get title relative to an arbitrary namespace
 * - Add maxlength of 6 for time correction in preferences
 * - Arrays in PHP are a bit special...
 * - Allow logged-in users to view and use the login form again
 * - Update CLDRPluralRuleParser library
 * - Improve coverage of MailAddress::toString
 * - Add @covers tags to SpecialPageFactoryTest
 * - Fix duplicate messages key in 'mediawiki.special.preferences' definition
 * - mediawiki.api.edit: Remove &quot;format: 'json'&quot;
 * - mediawiki.api: Support assert parameter in getToken and postWithToken
 * - Fix typo in release notes
 * - Copy translations of Special:MyLanguage alias from Translate
 * - findHooks.php, importSiteScripts.php: Use format=json
 * - CSSJanus: Add Apache license header
 * - Fix special case at Special:MediaStatistics
 * - UserTest: Fix edit count test which incorrectly added user to db
 * - maintenance: Remove cssjanus.py
 * - Move default logo to resources/assets/ directory
 * - Fix CSSJanus flipping in LESS mixins and remove broken custom LESS functions
 * - Set mw.config wgFileCanRotate only on Special:Upload instead of
 * - Strict standards: Static function PasswordTestCase::providePasswordTests should not be abstract
 * - Automatic direction for the license in Special:Version
 * - UserTest: Don't rely on the behavior of unknown user options
 * - Improve mod_security warning
 * - Unset redirect param in MoveLogFormatter::getMessageParameters
 * - DatabaseMysqlBase: Use VERSION rather than server_info
 * - Completely remove skin autodiscovery
 * - Remove WMF deployment hack for 'Enlarge' image
 * - Fixed --maxtime handling by JobRunner
 * - Reduce new button min-width from 80px to 70px
 * - Bump 1.25
 * - Remove redundant $db-&gt;resultObject calls
 * - Move non-user specific things from Title::isValidMoveOperation to MovePage
 * - Remove 'move' from LogPage::getTitleLink
 * - i18n: Native digits on 'mergehistory-success'
 * - Improve test coverage of Title::isValidMoveOperation
 * - Added missing NULL value to sql insert statement.
 * - Fix some issues with Microsoft SQL Server Driver
 * - Re-apply Ic917c7d, don't cast SpecialPageFactory::$list to an object
 * - Remove unused message
 * - Add missing &lt;/div&gt; tag to packed-overlay galleries
 * - Add &quot;unsaved changes&quot; warning to Special:Preferences
 * - Deprecate HTMLFileCache::newFromTitle in favor of constructor
 * - Add a hook to allow extensions to prevent HTML file caching
 * - SpecialUndelete: Check permissions on a per-page basis
 * - Update OOjs UI to v0.1.0-pre (f2c3f12959)
 * - API: Add prop modules for backlinks
 * - Style guide: Visually separate buttons
 * - SpecialChangeEmail: Use vform and remove wrapper
 * - API: No mustposttoken error with $wgDebugAPI
 * - test: Clean up data providers that should be static
 * - Make ArchivedFile load title regardless of how constructed.
 * - SpecialChangeEmail: Remove cancel button
 * - checkbox.less: Set cursor on label instead of pseudo element
 * - mediawiki.util: Deprecate mw.util.updateTooltipAccessKeys
 * - Add release notes for recent Config-related changes
 * - Support for enabling skins in the command-line installer
 * - Add Special:MediaStatistics page for file type stats
 * - inputs.less: Lower baseline
 * - checkbox.less: Use @borderRadius
 * - mediawiki.ui: Add @borderRadius variable to be used for inputs and buttons
 * - Add duration field in query=imageinfo&amp;iiprop=dimensions
 * - Do not require iiurlwidth when getting thumbnails.
 * - Move EmailNotification watchlist handling into helper method
 * - Made QueryPage use startAtomic for trx handling
 * - Add cURL constants test
 * - jquery.confirmable: Add a space between buttons
 * - Add ability to pre-render thumbnails at upload time

BetaFeatures

 * - Remove unused JS checkbox code
 * - Provide styles when JavaScript is disabled
 * - HTMLFeatureFieldTest: Set $wgWellFormedXml = true
 * - Use the existing .client-js class to hide items when JS is enabled
 * - Populate $features even if there aren't any requirements
 * - Unset the preference key before adding it
 * - Display allowed skins if and only if the current skin is not allowed

CentralAuth

 * - Revert &quot;Revert &quot;Auto-migrate matching accounts where no global account exists&quot;&quot;
 * - Don't try to update a user's password if they don't exist
 * - Only show hidden level to users that can see hidden accounts
 * - Remove global user id from SpecialCentralAuth
 * - Don't show homewiki on SpecialCentralAuth/SpecialMultiLock
 * - SepcialCentralAuth: Don't place the unmerge button in the table
 * - Fix missing global variable declaration
 * - Revert &quot;Auto-migrate matching accounts where no global account exists&quot;
 * - Check for renamed user on login
 * - Allow login with pre-rename username and password
 * - Remove duplicate qqq.json for logentry-gblrename-rename
 * - Request a global account rename
 * - Add tests for CentralAuthUser::getInstance

CirrusSearch

 * - Don't remove auxiliary text if mw is too old
 * - Use proper page sizes
 * - Remove old i18n fallback. We don't support anything below 1.23 anyway
 * - Make method public so it works with zend
 * - Add more retry logic to reindexing
 * - Redo job that counts incoming links
 * - Support escaped quotes in filters
 * - Fix total_shards_per_node config
 * - Reduce queries to count links
 * - Fix a broken test
 * - Add stats group for link_count queries
 * - Highlighting for insource
 * - Test regexes with spaces
 * - Remove useless file
 * - Fix multiple phrase queries in same search
 * - Add stats to &quot;get&quot; searches
 * - [tests] Fix some bugs with page creation
 * - Add error messages for pool queue full
 * - Support strings in namespace weights
 * - Add asciifolding to some French analyzers
 * - Better error messaging in maintenance scripts
 * - Lower default phrase window to 512

Collection

 * - Conform settings to metabook.json spec

ContentTranslation

 * - Selections: Clean up work for selections
 * - Format Tool card
 * - Show full personal bar on Special:CX
 * - Keep section alignment on window resize
 * - Selections: Update MT Tool to use Selection class
 * - Selections: Update LinkTool to use new Selection class
 * - Selections: Change Selection class so it saves and restores ranges
 * - MT: Service selector menu should contain only service provider name
 * - Add missing dependency to the source module
 * - Layout adjustments for page size
 * - Selections: Preserve selection/cursor position in translation
 * - Selections: Add Selection class inside new util module
 * - When adapting an image, make the values of href and resource the same
 * - Create SiteMapper module
 * - Links: Various improvements
 * - Dictionary: Avoid random text selection going through api
 * - Also fill above heading when clicking a placeholder
 * - Use LESS nested blocks more
 * - Dictionary: Cache the dictionary api requests

DonationInterface

 * - Fix WorldPay AVS settings to work with non-(US|UK|CA)
 * - Fix form HTML generation test

Echo

 * - Revert &quot;Add job to keep user notifications in reasonable volume&quot;
 * - Add job to keep user notifications in reasonable volume
 * - Don't make the notifications list 5px taller than the screen
 * - QA: Refactoring and making the nojs test dtrt

FlaggedRevs

 * - Removed mid-transaction wfWaitForSlaves calls
 * - Avoided use of deprecated job method

Flow

 * - Handlebars helpers have different signature than used
 * - Remove title from moderation modal
 * - Fix autofocus textareas being compressed into inputs
 * - Hide mw.Modal next button
 * - Implement disableCloseOnOutsideClick option in mw.Modal
 * - Change prop=flowinfo prefix to &quot;fli&quot;
 * - Make recursive progressiveEnhancements work on non-FF browsers
 * - First trim content, then truncate
 * - Remove lower-level posts' right padding
 * - Placeholder should only contain text of exactly the topic being replied to
 * - Fix [Object object] placeholder text in topic reply field
 * - Show error message at correct location
 * - H-99: Dont collapse away the title of moderated topics in topic namespace
 * - Properly escape topic title in compare-post-revisions
 * - Don't treat topic title as wikitext
 * - Add mediawiki.ui.text to loader
 * - Repair individual post collapse in Topic namespace
 * - QA: Test that hidden post's content isn't visible
 * - Fix broken Special:EditWatchlist
 * - QA: fix Topic collapsing for new modal dialog
 * - Make hide available to anonymous users
 * - Hygiene: Add missing qqq messages
 * - I3: Include board name in topic html title
 * - Swap order of parent::tearDown to attempt getting thanks tests working
 * - Repair Special:Contributions and Special:RecentChanges
 * - Implement mw-ui-modal and remove jquery.ui usage
 * - Autodismiss new-topic notifications from the board
 * - Don't run progressiveEnhancements through handlebars.js
 * - Hygiene: Move SpecialFlow.php into includes/

GeoData

 * - Return distance from a given point

GettingStarted

 * - QA: update Ruby gems
 * - Simplify loading CSS
 * - Add loading state to flyout.
 * - Use CSS to hide and show flyout states

GlobalCssJs

 * - Remove old PHP i18n shims since this extension only supports 1.24+

GuidedTour

 * - FIx handleLinkClick to handle sub-elements within links
 * - Turn allowAutomaticNext off for tours using the legacy API

LiquidThreads

 * - Do not pass nulls to Linker::link

Mantle

 * - OOjs: Use OO for class inheritance

MassMessage

 * - Make MassMessageJob methods protected
 * - Add Flow support
 * - Use __DIR__ directly
 * - Cache non-category targets
 * - Call normalizeTargets in MassMessageTargets::getTargets
 * - Don't require context for MassMessage::submit
 * - Use canonical parser options when getting targets
 * - Refactor and add tests for MassMessageSubmitJob
 * - Clean up test directory structure
 * - Improve coverage of MassMessage::getDBName
 * - Clean up SpecialMassMessage

MobileFrontend

 * - Use less function to embed editor images
 * - Using same API data for wikigrokeval and askWikidataQuestion
 * - Fix false 'already logged in' message.
 * - Hygiene: Hide API yukiness
 * - Hygiene: Rename getOccupations to something more appropriate
 * - Hygiene: Abstract more of the nastiness of the wikidata api
 * - Hygiene: Add JSONP support to API classes
 * - Hygiene: Move DOM handling out of postRender
 * - Support internal redirects
 * - Hygiene: WikiDataApi::getClaims
 * - Adding mobile.startup to wikigrok dependencies for debug=true
 * - Fix fatals due to core changes
 * - Hygiene: Gitting rid of skins.minerva.chrome.styles.beta and uiNew.less
 * - Add padding to mobile talk icon text in RTL
 * - Hygiene: Add recordOccupation method to WikiGrokApi
 * - Ensure mw.user is available to WikiGrok
 * - Add notification cap
 * - QA: workaround for ChromeDriver bug with confirm dialog
 * - Adjust mobileWebEditing to fit anon editing
 * - Hygiene: Manage z-index with less variables
 * - Don't rely on global title state for url generation
 * - Detect retina displays and load the image in the correct size.
 * - Hygiene: Introduce WikiGrokApi
 * - Hygiene: Create WikiDataApi
 * - Hygiene: Remove unused talk-Template
 * - Use inline-block rather than floating
 * - Add 'truncated-text' class to image description
 * - Optimise galleries on mobile and tablets
 * - Switch to using $.inArray instead of indexOf for arrays
 * - Hygiene: Move logic for rendering WikiGrokPanel out of Panel itself
 * - Hygiene: Make more info dialog reusable
 * - Hygiene: Use tabs instead of spaces in en.json
 * - Hygiene: Use core mediawiki ui colors where possible
 * - Make sure WikiGrok more info overlay doesn't interfere with search
 * - Profile page content alignment fix
 * - Better message to explain Images on Special:MobileOptions
 * - Ensure we log success events
 * - i18n: Consistency tweak
 * - Fixes for Talk feature
 * - Wikigrok: Make query string override reset the opt out
 * - Hygiene: Remove unused icon files and rules
 * - QA: straightforward id for new beta label element
 * - Use mwui Checkboxes on Special:MobileOptions
 * - Hygiene: Remove the last instance of _super
 * - Hygiene: Use partial for cancel button
 * - Adjust button sizes in WikiGrok
 * - Revert &quot;Making sure mediawiki.ui buttons use regular box-sizing&quot;
 * - Making sure mediawiki.ui buttons use regular box-sizing
 * - Use Special:EditWatchlist for A-Z View
 * - Hygiene: Rename to mode
 * - Fix button spacing in WikiGrok for iOS
 * - Kill super
 * - Use Mantle version of Class, eventemitter and View
 * - Fixing loading of loggingSchemas for mobile
 * - Add some more tests to TalkOverlay
 * - Remove Language and Nearby Beta features
 * - Improvements to add discussion on talk page
 * - Move load content out of initialize

MultimediaViewer

 * - Initialise dialogOpen value to false
 * - Remove duplicate details link in metadata panel
 * - Revert &quot;Layout adjustments to reduce overlap with chevron&quot;
 * - Revert &quot;Show initially part of the below the fold area&quot;
 * - Change tooltip wording
 * - More details button color fix
 * - Fix dialog class
 * - Fix bug where download dialog doesn't unattach
 * - Move focus event handlers to mmv.ui.Element
 * - Style fixes for the UI changes
 * - Move dialogs to the left, make arrows point right
 * - Make the download pane into its own dialog
 * - Layout adjustments to reduce overlap with chevron
 * - Show initially part of the below the fold area
 * - QA: Refactored performance tests
 * - Make &quot;more details&quot; button bigger 'n' prettier
 * - Add shadow when scrolling panel
 * - Rename file page button
 * - Make the reuse button part of the canvas

NavigationTiming

 * - Route `$wgPercentHHVM` of users to HHVM cluster, if set
 * - Log save time

PageTriage

 * - Replace deprecated mw.user.name with mw.user.getName

Popups

 * - article: Fix settings' icon alignment

ProofreadPage

 * - Adds a test to be sure that is replaced by a roman number if needed

Scribunto

 * - Throw an exception if LuaSandboxFunction::call returns false
 * - Don't escape the delete character
 * - Use single quotes for &lt;pre&gt; (easier to read)

TemplateData

 * - spec: Fix Markdown syntax to be compatible with gitblit
 * - spec: Rewrite, reshape, reform! (Markdown)

Thanks

 * - Use postWithToken
 * - Use Title::hasContentModel instead of a direct comparison

TimedMediaHandler

 * - Protect against exceeding memory errors when parsing Ogg files

Translate

 * - Spaces to tabs in i18n files
 * - Move Special:MyLanguage aliases to a separate file
 * - Rename module: ext.translate.special.pagepreparation
 * - Replace $wgSpecialPageGroups with SpecialPage::getGroupName

UniversalLanguageSelector

 * - Compact links: Set href for langugage links in ULS panel
 * - Update jquery.uls to upstream at a8afed3
 * - Remove extension function, move code into hooks

UploadWizard

 * - Revert &quot;Pass CampaignContent as a constructor param&quot;
 * - Fix missing tutorial steps in the funnel logging
 * - Make options of a custom campaign field parseable
 * - Add model base class, description model
 * - Pass CampaignContent as a constructor param

VectorBeta

 * - Remove duplicate BeforePageDisplay hook registration

VisualEditor

 * - Account for categories being removed twice in MWCategoryWidget
 * - Update VE core sub-module to wmf/1.25wmf1 for cherry-pick (560f89e)
 * - Update VE core for cherry-pick
 * - [BrowserTest] Disable screenshots for broken scenarios
 * - Really fix CategoryWidget checks for redirects to hidden categories this time
 * - Unbreak category widget check for hidden pages
 * - Replace use of ve.isArray with native Array.isArray
 * - Use LinkCache instead of an object in MWCategoryWidget to store hidden status (to be shared with the input widget)
 * - ve.ui.MWLiveExtensionInspector: Fix comment typo
 * - Check the existence of BetaFeatures before adding the 'visualeditor-enable' preference
 * - Add 'autovalue' to TemplateData
 * - Remove 'new' keyword where not used

Wikidata

 * - 9
 * - Update Wikidata, fixes for serialization issues
 * - and editing properties
 * - New deployment build, fix hhvm, js and site link diff issues
 * - New deployment build, fix for editing properties and add api debugging
 * - Update Wikidata, fix for jquery.wikibase.sitelinklistview.js and hhvm
 * - Update deployment build, fixes for class_alias issues

WikimediaEvents

 * - Fix-up for Ied71b5032: restore user ID check
 * - Groundwork for HHVM productivity analysis
 * - Fix extension asset path error in I333049828
 * - HHVM BetaFeature: Add screenshot; improve text
 * - jshintrc: Remove unused globals
 * - Add tag-HHVM-description message
 * - Lowercase HHVM cookie name
 * - HHVM beta feature: just manage the cookie for now

WikimediaMessages

 * - Add grammar forms for Wikidata in Polish

Vector

 * - Revert &quot;Use mw-wiki-logo class instead of inline background-image&quot;
 * - Use mw-wiki-logo class instead of inline background-image