MediaWiki 1.22/wmf1/Changelog

Core changes

 * - Update Wikidata extensions to same as 1.21wmf12
 * - Removed &quot;flush on destruct&quot; from StatCounter.
 * - Use double quotes to use variable $oper properly
 * - Reduced indentation levels, broke long lines
 * - Installer can now customize the logo in LocalSettings.php
 * - Remove leading spaces in two messages
 * - Fixed small doc typo.
 * - Fix pretty JSON when strings end with backslashes
 * - Apply IP blocks to X-Forwarded-For header
 * - Move QoS_Atomic -&gt; QOS_ATOMIC.
 * - Make ResourceLoaderStartupModule work on mobile
 * - Remove rel=&quot;next&quot; that accompanied returnto.
 * - Drop doc mention of removed importUseModWiki.php script
 * - Revert &quot;Apply IP blocks to X-Forwarded-For header&quot;
 * - Avoid sending multiple UDP packets for the same key in wfIncrStats.
 * - Apply IP blocks to X-Forwarded-For header
 * - WebRequest::getRequestURL: Follow up Ibe00a6b8
 * - [JobQueue] Added more isQueueDeprioritized checks to avoid refreshLinks spam.
 * - Omit RC_EXTERNAL edits from UDP feed
 * - Bump 1.22
 * - If isConfirmedEmail (already confirmed), skip dbtouch/hook call
 * - Enable $wgVectorUseIconWatch by default.
 * - OpenSearch: Error for unsupported formats and adding format=jsonfm
 * - Renamed JobQueue::QoS_Atomic to JobQueue::QOS_ATOMIC per convention.
 * - Start outputting deprecation warnings when legacy linker methods are called on skins.
 * - Revert changes in fallback behavior
 * - Fix case of some Title methods (final round)
 * - Fix errors reported by phpcs in includes/HTMLForm.php
 * - Prevent PHP notice by adding isset check
 * - Use get_class( $this ) instead of __CLASS__ in RedirectSpecialPage::execute
 * - Refactored use of $wgMemc in JobQueueDB to use a field.
 * - Use MessageCache::getMsgFromNamespace to fetch conversion tables.
 * - mediawiki.api: Add xhr.abort method to promise object
 * - jquery.textSelection.test: Fix regression in Opera
 * - ErrorPageError log messages should be in English
 * - Combine JavaScript and JSON encoding logic
 * - [JobQueue] Ignore job release timestamps for de-duplication.
 * - Made sure MediaTransformOutput::getLocalCopyPath handles storage paths.
 * - Handle protocol-relative URLs in WebRequest::getRequestURL.
 * - CoreParserFunctions::anchorencode should return a string
 * - Add RL targets support to OutputPage
 * - Fix case of some Title methods
 * - Update code formatting
 * - Update code formatting
 * - Removed deprecated usage of 2nd param in Title::getLocalUrl in SpecialAllpages
 * - Handle invalid titles on ProtectedPages and ProtectedTitles
 * - showSiteStats now shows ss_active_users statistic
 * - Check return value of dir in Skin.php
 * - [JobQueue] Added a function to purge the aggregator cache.
 * - giving #p-personal a higher z-index than #content in monobook
 * - Updated PostgreSQL insertId docs to actually make sense.
 * - JSHint: Ignore docs/html and docs/js
 * - use content language for rotation comment
 * - mw.loader: Guard against odd setTimeout behaviour in old Firefox
 * - test: ignore code coverage for CleanUpTest
 * - Fix case of some Title methods
 * - Clarified FileBackend::doOperations docs a bit more.
 * - [FileBackend] Cleanup behavior for coping/moving a file over itself.
 * - Include the site language in the fallback list
 * - fix some spacing
 * - Remove Special:ActiveUsers
 * - Removed undesirable space after external link url in printout
 * - JSDuck: Cover more of external.js and implement @source
 * - Add gender aliases for Yiddish
 * - Add mobile target to jquery.getAttrs
 * - Fixes to Special:FileDuplicateSearch form
 * - Fixes to Special:WithoutInterwiki form
 * - Move RELEASE-NOTES entry to the correct section
 * - release notes update due to Change-Id:
 * - fix hiding bot edits
 * - Pass function name to insert in replace in Database class
 * -, code will be submitted in a separate review for Parsoid
 * - Add to docs that input will be HTML escaped
 * - TimeAdjustTest: Use dataProvider
 * - Add a full stop to the message &quot;noemailcreate&quot;
 * - Revert &quot;Misc follow-ups to I2fc3966e (a161c5e)&quot;
 * - DefaultSettings: Remove some empty lines
 * - New paragraphs wrapping tests in the presence of comments &amp; WS lines.
 * - Installer: Check if /extensions is readable and a directory
 * - Tests: Fix case of some methods
 * - ContentHandlerTest: Use dataProvider
 * - Test to make sure numRows calls don't show unrelated errors
 * - Update plural rules for Hebrew
 * - Remove &lt;code&gt;&lt;/code&gt; because it is not parsed
 * - A list of many words mediawiki uses as strings, comments, names.
 * - Tests: Make phpunit providers &quot;public static&quot;.
 * - Parser: Fix whitespace handling within headings
 * - Call loadFromRow as needed in Title::moveToInternal.
 * - Tests: Use more setMwGlobals
 * - MessageTest: Split test and use setMwGlobals
 * - Call loadPageData as needed in Title::moveToInternal.
 * - API: Fix parameter validation in setnotificationtimestamp
 * - Add SpecialSearchResultsPrepend/Append to release notes
 * - [JobQueue] Added support for delayed jobs with JobQueueRedis.
 * - Fix wfWaitForSlaves for foreign DBs
 * - IcuCollation::$tailoringFirstLetters: letter removal rules for Finnish
 * - Add comments for grep (includes/installer/)
 * - Fix wfWaitForSlaves so the $wiki parameter actually works correctly
 * - MagicVariableTest.php: Use dataProvider
 * - SideBarTest.php: Use dataProvider/use setMwGlobals
 * - $wgContLang global unneeded in braceSubstitution since fc00763f0
 * - Allow the retrieval of the plural rule type for a given number
 * - Remove custom plurals for Nso and Sl in favour of CLDR
 * - Added a PoolCounterWorkViaCallback convenience class.
 * - [JobQueue] Factored &quot;root job&quot; de-duplication code into base class.
 * - Add parser method to call parser functions
 * - [JobQueue] Optimized redis queue to use Lua scripts.
 * - Add tests for case-(in)sensitive magic words
 * - Add test for table with empty line between table and row tag
 * - Extend paragraph / line with block tag interaction tests
 * - Revert &quot;Change login/createaccount forms to new appearance&quot;
 * - Remove (edit) from Special:Tags for non-editinterface users
 * - Rebuild MessagesEn.php
 * - wfProfile fixes:
 * - Moved some RedisConnectionPool docs to the factory function.
 * - Change login/createaccount forms to new appearance
 * - Add mobile target to QUnit and its dependencies
 * - Cleaned up PoolCounter docs, moved up some functions, and declared public functions.
 * - Add two table parser tests
 * - A few minor doc group tweaks.
 * - Added UserCache::getUserName convenience function.
 * - Added profiling to MWHttpRequest and Http.
 * - Remove spaces in function signature
 * - Fix WDDX formatted output
 * - Adjusted the margin of &quot;userloginForm&quot;
 * - IcuCollation::$tailoringFirstLetters: 'sv', 'vi' verified
 * - Fix type of list=tags&amp;tgcontinue
 * - Check for rev_len not rev_sha1
 * - Use gettype only for debugging text
 * - Move subclasses of LogFormatter to their own file
 * - Added ScopedCallback functions for early execution or cancellation.
 * - [FileBackend] Replaced redundant &quot;disposition&quot; param with &quot;headers&quot;.
 * - [FileBackend] Replaced redundant &quot;disposition&quot; param with &quot;headers&quot;.

AbuseFilter

 * - Replace 2 deprecated methods
 * - Fix PHPDoc comments
 * - Make use of the user_timestamp index in ApiQueryAbuseLog
 * - Make AbuseLog searchable by IPv6 IPs
 * - Update afl_rev_id even if the edit summary changed

AntiSpoof

 * - tests now extends MediaWikiTestCase
 * - test: remove Comæ test which is broken

ArticleFeedbackv5

 * - Add comments for grep

CentralAuth

 * - Fix grammar (comma before but)
 * - Refactor migratePass1.php to be a maintenance script.

CentralNotice

 * - Missed a prefix in CentralNotice.sql
 * - A few table prefix lacunas
 * - Display allocations in a compact form

CodeReview

 * - Fix grammar (comma before but)

CreditsSource

 * - Split time and date in running sentence

DonationInterface

 * - maintenance notice as gateway form
 * - Adds the correct our-end success status code to boletos so we can get some logging out of it.
 * - Commenting out currency 'TRY' as paypal won't accept in it.
 * - pass 'recurring' param on to the gateway
 * - lame dependency
 * - Change PayPal adapter workflow
 * - Fix grammar (comma before but)
 * - Making the ES DD form readable
 * - Better checks for CC numbers in fields
 * - CC Numbers are at least 12 digits long
 * - set final status after direct debit set_payment
 * - Adding logging about currency/amount to DI
 * - Adding Nicaraguan Cordoba to list of active GC currencies
 * - Check moar fields for CC numbers
 * - Next Attempt at a Luhn Algorithm

EducationProgram

 * - Fix grammar (comma before but)

EventLogging

 * - Quieter installation of dependencies; defaultrebase=0
 * - Specify Draft3Validator rather than rely on default
 * - Add .travis.yml for Python tests
 * - Log level: WARNING by default, DEBUG w/'--debug'
 * - Re-create table if it was altered or dropped
 * - Add .deploy to ignore

FlaggedRevs

 * - Don't filter external change entries

MWSearch

 * - Avoid uses of magic constants in closure.

OpenStackManager

 * - GUI and LDAP implementation of service groups.

PoolCounter

 * - Add full stops to error messages
 * - archive the python version of the daemon

PostEdit

 * - Remove post-edit state detection (in core now)

RSS

 * - RELEASE_NOTES changed: line formatting of legacy versions' RELEASE-NOTES

Renameuser

 * - Replace dirname( __FILE__ ) with __DIR__
 * - Update method documentation

Scribunto

 * - Recognize Windows path+drive letter
 * - Add namespace translations for 'ilo'
 * - Add Lua version info to Special:Version
 * - Add namespace translation for 'sv'
 * - + cs namespaces
 * - Add namespace translation for 'tr'
 * - Fix errors in mw.title.new( pageid )
 * - Add namespace translation for 'bs'
 * - Add text module
 * - Improve caching in fetchModuleFromParser

SemanticForms

 * - Added qqq values for the two new messages
 * - Added new &quot;minimum instances&quot; and &quot;maximum instances&quot; template params

TimedMediaHandler

 * - Show &quot;File usage on other wikis&quot; section
 * - Add option to disable control elements per player
 * - Add option to pass sources to TimedMediaTransformOutput
 * - cache db queries for Special:TimedMediaHandler for one hour
 * - Dont show sourceSwitch for small videos
 * - use inline fallback with link for audio
 * - dont throw exception in iframe if file was deleted
 * - Fix H264 video detection now that sources have a type

Translate

 * - Refresh expired edit token
 * - Move getIcon method to TranslateUtils
 * - Do not show the first proofread tooltip when proofread disabled.
 * - When user modifies a translation, it should no longer be proofreadable
 * - Remove wrong RL module
 * - Pass the source and target languages as options to proofread, pagemode plugins
 * - Saving again discards the correction
 * - Remove unused message translate-nothing-to-do
 * - Show the bottom toolbar without a scroll
 * - Flip $wgTranslateUseTux to true by default
 * - Add $wgTranslateUseTux
 * - Allow editor to be wider in page view mode

TranslationNotifications

 * - Use the same user name for posting to all wikis
 * - Add Santhosh, Jon, Siebrand and myself as authors

UniversalLanguageSelector

 * - Add Divehi font
 * - Version update
 * - Sort modules alphabetically
 * - Make sections more clear in settings panel
 * - Add separate Resources.php

UploadWizard

 * - Don't wikilink input that is already likely to be wikicode

UserMerge

 * - Add full stops to error messages

VisualEditor

 * - Store data in LinearData class with an index-value store for objects
 * - Fix MWImageNode dimensions and implement toDomElements
 * - Make sure that rangy is initialized only once and that it is initialized before it is used.
 * - Typing support after Aliens and Entities for IE
 * - Fix for live preview in jsduck
 * - Doc: Replace &quot;@property @type {Type}&quot; with &quot;@property {Type}&quot;.
 * - Fix: focus method should be called on jQuery object not on ve.ui.TextInputWidget object itself.
 * - Added support for displaying inline images.
 * - Docgen: Add a way to override parameters to makeStaticLoader.
 * - Docgen: Re-colourise jsduck warnings.
 * - Remove auto-open of meta dialog
 * - New popup widget
 * - Initialize rangy once and globally instead of doing it in constructor of every surface.
 * - Small cleanup in CE
 * - UnicodeJS library to implement Unicode standards
 * - Message cleanup
 * - Link inspector suggestion sections
 * - Removed static &quot;overrides&quot;, which were only setting defaults
 * - Prevent adding content to aliens in IE
 * - Added layouts and fixed up dialog styling issues
 * - Add insert and remove events to MetaList
 * - Add support for slugs in ve.ce.Document.prototype.getRelativeOffset
 * - Cleanup in ve.ce.Surface.
 * - Add mutators in MetaList
 * - Fix documentation to place @emits in the correct place
 * - Move .commit/.rollback from TransactionProcessor to Document
 * - Small cleanup/refactoring to getSiblingWordBoundary
 * - Docs: Primitive -&gt; primitive.
 * - Programmatic handling for selection (arrow up and arrow down only).
 * - Programmatic handling for selection (arrow left and arrow right only).
 * - Introduce helper functions.
 * - Introduce method ve.ce.Document.getRelativeOffset.
 * - ve.init.mw.ViewPageTarget: Fix exception in deactivate.
 * - Cleanup to ve.dm.SurfaceFragment.wordBoundaryPattern
 * - Removed ve.dm.Document.getIEStyleWordBoundary method.
 * - Add MW-specific meta items for categories and language links
 * - Remove more periods
 * - Group, Select, Option, Outline and MenuSection widgets
 * - Fix transition animation between context menu/inspector
 * - Docs: Add more @source links to external.js
 * - Document and clean up events in all the things
 * - Docgen: Exit with error status code if there are warnings.
 * - Introducing method ve.dm.Document.getIEStyleWordBoundary
 * - Minor comment and licence fixes
 * - Create basic tests for AnnotationSet.

WebFonts

 * - Add Divehi fonts

WikiEditor

 * - Remove ClickTracking calls

WikiLove

 * - Fix grammar (comma before but)

WikimediaIncubator

 * - Fix grammar (comma before but)

WikimediaMessages

 * - Add temporary message for users using ancient skins

ZeroRatedMobileAccess

 * - Added vimpelcom-mobilink-pakistan i18n
 * - Reducing default memcaching of carrier preferences from 3600