MediaWiki 1.27/wmf.1/Changelog

Core changes

 * - Fix plural in mergehistory-done message
 * - mw.widgets.TitleOptionWidget: Prevent page navigation by clicking labels
 * - Fix incomplete PHPDoc tags in ApiBase
 * - mediawiki.jqueryMsg: Allow more than one thing inside a wikilink
 * - mw.widgets.DateInputWidget: Actually display the indicator
 * - mw.widgets.DateInputWidget: Actually enforce date requiredness
 * - SpecialMergeHistory: add redirect=no on target parameter on success message
 * - Fallback and namespace names changes for Asturianu (ast)
 * - Restructure /resources/src/mediawiki.page/
 * - Restructure /resources/src/mediawiki.api/
 * - mw.widgets.DateInputWidget: Implement $overlay config option
 * - WatchAction: Clean up redundant getFormFields and show
 * - Clarified WAN cache docs by using "datacenter" consistently
 * - OOjs UI: Backport d190bc51e60195eed81f147e9324c9ec21c9e68c
 * - Added $opts to WANObjectCache::set to detect snapshot lag
 * - WatchAction: Require POST for index.php action=watch
 * - Include additional analytics in Special:Search
 * - Fixed sanity cache clear in User::saveSettings
 * - Add release notes for protect log changes
 * - resourceloader: Cleaned up makeModuleResponse param docs
 * - resourceloader: Tidy up RL to simplify ResourceLoaderEditToolbarModule
 * - build: Set private flag in package.json (for now)
 * - Remove blue border from DateInputWidget calendar
 * - Give instructions on removing email address from account
 * - Use variable documentation in Preprocessor_DOM.php
 * - Remove border radii from CalendarWidget
 * - mediawiki.widgets: Cleanup TitleWidget styles and improve API
 * - Put InfoAction distinct user counts behind miser mode
 * - Code cleanups and simplifications to SpecialMergeHistory
 * - Don't overwrite all available object caches
 * - mediawiki.widgets: Add temporary workaround for upstream oojs-ui bug
 * - Convert Russian grammar cases from PHP to JSON
 * - Remove duplicate entry
 * - Add new grammar forms for language names in Russian
 * - Fix most PHP CodeSniffer warnings in includes/api
 * - Fix two PHPCS warnings in NaiveForeignTitleFactory.php
 * - Fix PHPCS warnings in includes/specials/
 * - Fix a PHPCS warning in SkinTemplate.php
 * - Fix a PHPCS warning in SearchMySQL.php
 * - Fix 3 PHPCS warnings in ResourceLoaderImage.php
 * - Fix 5 PHPCS warnings in WikiPage.php
 * - Fix PHPCS warnings in /includes/media/
 * - Cleanup LanguageTyv.php
 * - Fix PHPCS warnings in /includes/mail/
 * - Fix PHP CS warning in LogPager.php
 * - Fix 2 PHPCS warnings in ThumbnailRenderJob.php
 * - Make lines short to pass phpcs in testHelpers.inc
 * - Fix PHPCS warnings in includes/installer
 * - Fix PHPCS warnings in includes/htmlform/
 * - Fix 3 PHPCS warnings in includes/filerepo/
 * - Fix 4 PHPCS warnings in Searchupdate.php
 * - Rewrite comments on member variables of ParserOutput as proper variables documentation
 * - Fix 3 PHPCS warnings in MessageCache.php
 * - Set fallback to Spanish (es) for Extremaduran (ext)
 * - Setting $namespaceGenderAliases for Aragonese (an)
 * - In parserTests.php, fix upload directory handling
 * - mediawiki.toolbar: temporary workaround for T113868
 * - API: Fix some unclosed tags in en.json
 * - Move italic redirect link styles to modules
 * - Make lines short to pass phpcs in profileinfo.php
 * - Revert "composer.json: Bump Monolog to 1.17.1"
 * - composer.json: Bump Monolog to 1.17.1
 * - Make lines short to pass phpcs in files under includes/resourceloader
 * - Make lines short to pass phpcs in files under includes/
 * - Make lines short to pass phpcs in files under includes/db/
 * - Make lines short to pass phpcs in files under maintenance/
 * - Normalizing namespaces for Spanish language
 * - Add $namespaceGenderAliases for catalan language
 * - Optimized wfIsBadImage redirect check
 * - composer.json: alphabetize sections
 * - Make lines short to pass phpcs in OutputPage.php
 * - Make lines short to pass phpcs in KafkaHandler.php
 * - Remove an unnecessary condition from Ukrainian grammar rules
 * - Update Ukrainian grammar rules and tests
 * - Update grammar rules and test for Ukrainian
 * - Make lines short to pass phpcs in Language.php
 * - Web installer: Fix collapsing of field help text
 * - Re-enable WhiteSpace.SpaceBeforeSingleLineComment sniff
 * - Add space after "//" to pass SpaceBeforeSingleLineComment sniff
 * - Fix issues identified by SpaceBeforeSingleLineComment sniff
 * - Add 'hash' object cache for installer
 * - Disable EmptyComment and SingleSpaceBeforeSingleLineComment code sniffers
 * - Update mediawiki-codesniffer dependency
 * - Remove excess newlines at the end of files
 * - Add ignoreList for valid global variable name sniff in phpcs.xml
 * - Add ignoreList for prefixed functions sniff in phpcs.xml
 * - Fixed spacing
 * - Add curly braces to if statement
 * - Fix a spelling mistake in a test description
 * - Wrap some long strings in tests/
 * - Revert "Swap leading spaces to tabs in backup phpunit tests"
 * - Wrap some long lines...
 * - Make lines shorter to pass phpcs in thumb.php
 * - Make lines short to pass phpcs in six files under includes/
 * - Fixed DatabaseBase references in IDatabase docs
 * - Make lines shorter to pass phpcs under includes/libs
 * - Make line shorter to pass phpcs in LinkerTest.php
 * - Make lines shorter to pass phpcs in some files under includes/parser
 * - Database: Remove resultObject from the public interface
 * - Updated key WANObjectCache::delete callers to avoid races
 * - Swap leading spaces to tabs in backup phpunit tests
 * - Removed used of resultObject in QueryPage
 * - Re-enable MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect
 * - Make long lines shorter to pass phpcs in 6 files
 * - Linker.php: Make long lines shorter to pass phpcs
 * - Fix LineLength in includes/media
 * - Re-enable Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed
 * - Re-enable Squiz.WhiteSpace.SemicolonSpacing.Incorrect
 * - Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceBeforeCloseParenthesis
 * - Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceAfterOpenParenthesis
 * - Re-enable Squiz.WhiteSpace.ScopeClosingBrace.Indent
 * - Make the comment in the beginning of LanguageFi.php shorter
 * - Re-enable PSR2.Methods.MethodDeclaration.AbstractAfterVisibility
 * - Re-enable PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter
 * - Re-enable PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
 * - Re-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
 * - Re-enable Generic.Files.EndFileNewline.NotFound
 * - Add talk link to excontentauthor
 * - Re-enable MediaWiki.VariableAnalysis.UnusedGlobalVariables
 * - SpecialSearchTest.php: Make lines shorter to make phpcs happier
 * - MediaWikiTestCase.php: Make lines shorter to make phpcs happier
 * - WebRequest.php: Make lines shorter to make phpcs happier
 * - StatusTest.php: Make lines shorter to make phpcs happier
 * - ImagePage.php: Make lines shorter to make phpcs happier
 * - phpunit.php: Make lines shorter to make phpcs happier
 * - phpcs: Disable failing sniffs in phpcs.xml
 * - MaintenanceTest.php: Make lines shorter to make phpcs happier
 * - Add RELEASE-NOTES entries for PHP library upgrades and additions
 * - Begin 1.27 development cycle
 * - WebStart.php: Make lines shorter to make phpcs happier
 * - Made convertNamespace use APC
 * - Assorted WANObjectCache doc tweaks
 * - resourceloader: Include exception log id in error message
 * - mediawiki.widgets: Create TitleSearchWidget
 * - Made wfIsBadImage use APC
 * - Turn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery
 * - Add ids to "Did you mean" links so they can be distinguished
 * - Improve the wording of apihelp-parse-param-section
 * - Do not pass void into output function in SpecialListfiles.php
 * - Include phpunit license for backported classes
 * - Add // @codingStandardsIgnoreFile to FormatMetadata
 * - Fix spacing in ReplacementArray
 * - Hoist validation errors from hidden fields to the top of the form
 * - Add @codingStandardsIgnoreFile to ConsecutiveParametersMatcher.php
 * - ResourceLoaderEditToolbarModule::cssSerializeString → CSSMin::serializeStringValue
 * - Use a constructive button on Special:MovePage
 * - Move LogFormatter test comment block
 * - Migrate protect log to new log system
 * - MovePageForm: Remove incorrectly copied line (dead code)
 * - Remove unused private property LinkCache::$mClassVer
 * - MovePageForm: Add value attribute to reason field back again
 * - build: Bump various devDependencies to latest
 * - Avoid CAS errors on double post to ApiOptions
 * - phpunit: Set $wgMainStash to 'hash' during test execution
 * - Move FileContentsHasher into includes/utils/
 * - registration: Vary the loaded queue cache on $wgVersion
 * - Moved all load balancer classes to /loadbalancer
 * - jquery.tablesorter: Improve detection and handling of isoDate
 * - Replacing old references from Bugzilla to Phabricator
 * - Use wikimedia/cldr-plural-rule-parser
 * - Made HTMLCacheUpdateJob flush the trx between jobs
 * - Fixed IDE errors due to SquidUpdate::newFromTitles
 * - oyejorge/less.php 1.7.0.5 → 1.7.0.8
 * - Lowered $wgUpdateRowsPerJob to avoid slave lag
 * - Fix type hint in unprefixRow
 * - RollbackAction: Remove dead argument
 * - Remove unused argument
 * - Remove unused $pageSet var
 * - Typo fix to phab reference in comment
 * - Remove dead code
 * - mediawiki.action.edit.preview: Remove use of deprecated 'modulemessages'
 * - Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes
 * - Load module mediawiki.page.gallery.styles for all ImageGalleries
 * - Add unit tests for FileContentsHasher
 * - phpunit: Replace APC with HashBagOStuff during a test
 * - Add language 'olo' Livvi-Karelian
 * - Skip ImportTest if allow_url_fopen disabled
 * - i18n: mw.Upload.BookletLayout: Update message names
 * - Sync up with Parsoid parserTests.
 * - Add GENDER support
 * - resourceloader: Keep module_deps handling inside module base class
 * - Use 'Create account' for button in Special:UserLogin/Signup
 * - Set $wgBlockAllowsUTEdit = true; by default
 * - resourceloader: Use FileContentsHasher in safeFileHash
 * - Make $file->getLength return duration of GIF and APNG files.
 * - resourceloader: Improve caching for LESS file compilation
 * - Fix stray literal \n in output
 * - Remove $this reference in static method
 * - Add MWTimestamp::getTimezoneString, use it in file revert message
 * - Remove closing PHP tag from MediaWiki\Tidy\RaggettWrapper
 * - Use tab instead of spaces in ParsoidVirtualRESTService
 * - OOUIHTMLForm: s/else if/elseif/
 * - Terminate free external link on  (and numeric versions of <>)
 * - Revert "Do not double load gallery styles now cache has expired"
 * - Fix hook doc for SkinTemplateBuildNavUrlsNav_urlsAfterPermalink
 * - Added support for enqueueable DataUpdates
 * - Fix hooks documentation for ArticleProtect/ArticleProtectComplete
 * - Fix hook documentation for PageHistoryLineEnding
 * - Fix hook documentation for ImagePageFileHistoryLine
 * - Remove oversight references from i18n
 * - Feed.php: Apply wfBCP47 to language code
 * - SpecialNewpages: Add redirect=no only to links to redirects
 * - Improvements to WANObjectCache::getWithSetCallback
 * - UploadFromUrl: Display an error to the user on invalid wpUploadFileURL
 * - API: Correct 'from_namespace' logic in ApiQueryBacklinksprop
 * - Fix PHP notice when logging the result of a DNS blacklist check.
 * - Add wfWaitForSlaves call in DatabaseUpdater::runUpdates
 * - mediawiki.Upload.Dialog: Factor out booklet layout
 * - docs: mediawiki.ForeignStructuredUpload: Fix formatting
 * - CategorySelector: Add different ways of searching
 * - Don't attempt to render block if none of the lines can be shown
 * - Compat fix for HHVM on non-Linux OSs
 * - Remove superfluous rules from print CSS
 * - Add hook to allow lazy loading of import sources
 * - Fix hook documentation for PageRenderingHash
 * - jsduck: Load OOjs and OOjs UI in eg-iframe.html
 * - build: Enable jscs jsDoc rule 'checkRedundantReturns' and make pass
 * - Add my second gerrit e-mail to .mailmap
 * - objectcache: Fix some doc bullet points in WANObjectCache
 * - objectcache: Add comments about DB isolation to WANObjectCache
 * - mw.storage: Fix broken test (incompatible with Chrome 45)
 * - Update OOjs UI to v0.12.9
 * - Mark UserRights hook as deprecated
 * - Fix exception in Import, when import of a revision fails
 * - Update mailmap from USERINFO
 * - Translate password reset e-mail subject into proper language
 * - Fix hook documentation for UploadFormSourceDescriptors
 * - tests: add structure and less tests to 'skins' suite

Vendor

 * - Revert "Update to monolog 1.17.1"
 * - Update to monolog 1.17.1
 * - Alphabetize require section entries
 * - oyejorge/less.php 1.7.0.5 → 1.7.0.8
 * - Add wikimedia/cldr-plural-rule-parser 1.0.0

AbuseFilter

 * - Pass __METHOD__ to query call

CentralAuth

 * - Made saveToCache use the since option with set
 * - Modify 
 * - Modify 
 * - Use a pre-commit hook for quickInvalidateCache purges
 * - Improve "centralauth-rename-antispoofconflicts2" message

CheckUser

 * - Add jshint and jscs test to npm

CirrusSearch

 * - Normalize CirrusSearch in stats collection names
 * - Do not run broken scenario during Jenkins job
 * - Fix frozen index tests
 * - Fix OtherIndexes getConnection
 * - Fix interwiki search
 * - Fix OtherIndexes constructor
 * - Updated watir-webdriver Ruby gem to the latest version

Citoid

 * - Revert "Removing a reference to a screen position"
 * - Remove tabItem label hack, rely on item config working
 * - Replace CSS hack with new config option

ConfirmEdit

 * - Add a way to use different tab indexes for CAPTCHA input form

ContentTranslation

 * - Dashboard: Use ULS for language selection
 * - Relax section id validations in mw.cx.getSourceSection and getTranslationSection
 * - Set absolute URLs for source links
 * - Fix dashboard header overlapping page selector
 * - Fix the broken discard translation feature
 * - Discard draft: Validate against last updated translator
 * - Center the placeholder text vertically and horizontally
 * - Fix vertical alignment of very small in height source sections
 * - Fix some message use in stats
 * - Updated RuboCop to the latest version
 * - CXStats: Club the cumulative and trend under tabs
 * - Dashboard: Infinite scroll for translation and suggestion lists
 * - Fix namespace handling for non-main-space pages
 * - Dashboard: Avoid the list jump when the translation filter is sticky
 * - Define explicit position for module ext.cx.header.skin
 * - Display the personal menu in the correct direction

Disambiguator

 * - Remove redundant $db->resultObject call

DonationInterface

 * - Don't close Amazon order reference in DI

Echo

 * - Fixed Metrics/LineLength RuboCop offense
 * - Updated RuboCop to the latest version
 * - Mark all read button should always start invisible
 * - Rewrite browser tests for Echo
 * - Add intermediate metrics for API and ext.echo.ui loading response times
 * - Update seen time only if the popup is actually open
 * - Make middle-clicking badge work
 * - Remove 'initiallyUnseen' class when the popup closes
 * - Remove duplicate 'MediaWiki' prefix from echo.unseen stats
 * - Prevent the badge icon from flashing red when updating notifications
 * - Replace the orange bar with talk-page link, don't remove it
 * - Move timing.MediaWiki.echo.overlay stats into ext.echo.init

EducationProgram

 * - Correct some API text
 * - i18n: Add documentation for 'ep-role-add-link-text-view-course'
 * - ambassador -> volunteer for consisteny

EventLogging

 * - build: Add jshint to npm-test

Flow

 * - Enable user activity logging for flowOptIn tour
 * - Ignore null edits for topic title, post, description, and summary
 * - Fix Flow board layout on Special:Undelete
 * - Browser tests: Refresh flow page until optin process is finished
 * - Grant 'flow-suppress' to the 'suppress' group as well
 * - Optin: Copy templates before first heading from talk page to Flow board
 * - Add reasons when moving pages during optin process
 * - Work around JS error when switching editors while an inspector is open
 * - Show the wikitext editor first on the undo pages
 * - EditTopicSummary widget
 * - Read new page id from master
 * - Add better debug info for FlowFixLinks.php failure
 * - Fix 'cur' and 'prev' links for topic summary
 * - Log a warning when no title is given for parameter 'new-topics-permalink'
 * - Try loading moved Flow board content differently
 * - Adjust to removal of Connection::getSingleton in Cirrus
 * - Wrap author name with tags

Gather

 * - Update mediawiki-codesniffer and parallel-lint settings

GettingStarted

 * - Fixed Style/Tab RuboCop offense
 * - Fixed Style/StringLiterals RuboCop offense
 * - Fixed Style/SpaceInsideStringInterpolation RuboCop offense
 * - Updated RuboCop to the latest version
 * - Updated watir-webdriver Ruby gem to the latest version

GlobalBlocking

 * - Show the globally blocked range in block message

GlobalCssJs

 * - Update namemsg to convention

GlobalUserPage

 * - Remove "modulemessages" handling code
 * - Use formatversion=2 to simplify reading API response
 * - Remove some 1.24 compat code

Interwiki

 * - Update mediawiki-codesniffer and parallel-lint settings
 * - Add php code sniffer
 * - Update Interwiki tests
 * - Add MediaWiki version requirement to extension.json

Josa

 * - Add jshint and jscs in npm

MobileApp

 * - Fix image widening on xxhdpi+ devices

MobileFrontend

 * - Update mediawiki-codesniffer and parallel-lint settings
 * - Fix font of h1s in content area for minerva
 * - Removing deprecated modules(9)
 * - Hygiene: Remove deprecated mobile.templates module
 * - Add explicit GENDER support for mobile-frontend-logged-in-homepage-notification
 * - Don't try to redirect to Special:MobileEditor on a POST request
 * - Removing deprecated modules(8)
 * - Removing deprecated modules(7)
 * - Remove api code that is not used or replicated in core
 * - Hygiene: SearchApi -> SearchGateway
 * - Hygiene: Remove unused global variables
 * - Fix media viewer for files with special characters
 * - Fix overlay headings
 * - Removing deprecated modules(3)
 * - Use correct wording for last modified on Special:EditWatchlist
 * - Removing deprecated modules(6)
 * - Removing deprecated modules(5)
 * - Removing deprecated modules(2)
 * - Removing deprecated modules
 * - Break all headings across lines
 * - a element in a heading causes a line break in mobile view
 * - Fix beta media viewer
 * - Hygiene: Don't spy on constructor functions
 * - Skip localStorage tests
 * - Hygiene: Repurpose ImageApi as ImageGateway

MoodBar

 * - Make jshint happy by ignoring problems

MultimediaViewer

 * - Turn mmv-next/mmv-prev into OO events
 * - Add explicit word-wrap: break-word to textareas

OpenStackManager

 * - Adjust MediaWiki images that have been renamed
 * - .gitignore composer related files
 * - Add composer.json

ParserFunctions

 * - Add MediaWiki version requirement to extension.json

ParsoidBatchAPI

 * - In imageinfo, check for invalid title

RSS

 * - Merge RSSHighlighter class into RSSParser::highlightTerms

Renameuser

 * - Add MediaWiki version requirement to extension.json

Scribunto

 * - Fix off-by one error in gsub

Thanks

 * - Use the new module name for eventlogging module
 * - Hygiene: Call to deprecated toast module updated

TimedMediaHandler

 * - Change message timedmedia-desc to timedmediahandler-desc
 * - Update i18n messages
 * - build: Bump grunt-jscs from 1.8.0 to 2.1.0

Translate

 * - Fix all open PHP CodeSniffer issues
 * - Change optional message from *-skinname to skinname-*
 * - Fix stupid copy-paste error which hid the real query error
 * - On /en subpages don't force the action=edit tab to "translate"
 * - Mark keys "*-skinnname" as optional
 * - Autotag some message keys as optional
 * - Update namemsg to convention
 * - Add translatable extension name
 * - Fix garbled display of page mode on Special:Translate when zooming

UniversalLanguageSelector

 * - Set default value of ULSMobileWebfontsEnabled to false
 * - Add php code sniffing
 * - Localization update from upstream
 * - Updated watir-webdriver Ruby gem to the latest version
 * - Add grunt-jscs

UploadWizard

 * - Update for I51f7966add: load oojs-ui.styles.icons
 * - Add composer.json
 * - Add feedbackLink config param for bugs
 * - Set a name attribute for the date input field
 * - SpecialUploadWizard: Escape messages
 * - Correct config documentation mentioning non-existent option
 * - Remove TODO comment that offers bad advice
 * - Unbreak confirmation of no categories being set
 * - Adding PLURAL support to mwe-upwiz-multi-file-select message
 * - Pass 'verbose: true' to all MessageDialogs to get bigger font size
 * - Allow displaying more than 50 Flickr images at once
 * - UploadWizardDetails: Remove broken updateCopyMsgs function
 * - Add a link to Commons:Geocoding page in location entry tooltip
 * - Flickr: Added support for cc-zero & public domain mark

VisualEditor

 * - MWInlineExtensionNode: Don't assume responses are always -wrapper
 * - Update autodisable logic
 * - Autodisable preference
 * - build: Update mediawiki-codesniffer from 0.3.0 to 0.4.0
 * - MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget
 * - MWLinkAnnotationInspector: Update actions when changing tabs
 * - Add scroll padding equal to the document height for iOS
 * - Add MediaWiki version requirement to extension.json
 * - Update VE core submodule to master (27fc244)
 * - Update VE core submodule to master (64a932b)
 * - Save dialog: Make review/resolve actions work in mobile
 * - [BrowserTest] Screenshot gem version updated to 0.0.7
 * - Autolink of magic links should create node not annotation
 * - Adjust uses of renamed PreviewWidget to PreviewElement
 * - Allow autolinking ISBN/PMID/RFC inside list items
 * - Update VE core submodule to master (518456c)
 * - ve.init.mw.LinkCache: Update comment about Disambiguator extension
 * - Update VE core submodule to master (3c65a2a)
 * - Update VE core submodule to master (e650f93)

WikiEditor

 * - build: Update mediawiki-codesniffer from 0.3.0 to 0.4.0
 * - Set $wgWikiEditorFeatures in extension.json
 * - Remove use of deprecated 'modulemessages'

WikidataPageBanner

 * - Fix Monobook skin rendering of banner
 * - Update namemsg to convention
 * - Show a warning if there are unknown parameters

ZeroBanner

 * - Interstitial should be fixed position
 * - Delete broken browser tests
 * - Custom interstitial button for non-js browsers
 * - DTAC Interstitial design change

wikihiero

 * - Removed onRejectParserCacheValue function

CologneBlue

 * - Revert "Update namemsg to convention"
 * - Update namemsg to convention

Modern

 * - Revert "Update namemsg to convention"
 * - Update namemsg to convention

MonoBook

 * - Revert "Update namemsg to convention"
 * - Update namemsg to convention
 * - Add MediaWiki version requirement to skin.json

Nostalgia

 * - Remove redundant 'token' parameter from watch/unwatch links
 * - Revert "Update namemsg to convention"
 * - Update namemsg to convention

Vector

 * - Revert "Update namemsg to convention"
 * - Update namemsg to convention
 * - Add MediaWiki version requirement to skin.json