Update git submodules
[mediawiki.git] / HISTORY
blob0e3322a038a1a9a6e423aed26fbb3735f207fab5
1 Change notes from older releases. For current info, see RELEASE-NOTES-1.41.
3 = MediaWiki 1.40 =
5 PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/
6 PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
7 PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
8 PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
10 == MediaWiki 1.40.1 ==
12 This is a security and maintenance release of the MediaWiki 1.40 branch.
14 === Changes since MediaWiki 1.40.0 ===
15 * Localisation updates.
16 * (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for self-redirects
17   with variants conversion.
18 * docs: Fix a few typos in MainConfigSchema.
19 * (T290464) Add DiscussionTools bundling to release notes.
20 * (T309714) mime: Add support for 'font/sfnt' mime type.
21 * (T341434) WikiImporter: Improve error message output.
22 * (T341737) ApiBase: Cast $id to string in filterIDs.
23 * (T286291, T296188) Merge zh and zh-tw namespace translations back to zh-hans,
24   zh-hant, zh-hk respectively.
25 * (T337875) WRStats: Round up SequenceSpec::hardExpiry to the nearest integer.
26 * (T237898) installer: Check MariaDB version in updater/installer.
27 * (T342632) ApiComparePages: Add help url.
28 * (T326182, T324903) EditPage: Add #[AllowDynamicProperties].
29 * (T342351) rdbms: Fix postgres db function call.
30 * (T343675) user: Use {@} to escape annotation when writting about annotation.
31 * (T343797) LanguageWa: Fix double timezone adjustment.
32 * (T343669) skins: Avoid function call on array.
33 * (T326454) Update pear/mail to 1.5.1.
34 * (T343622) docs: Set the <comment> tag back to optional.
35 * (T330528) Upgrade wikimedia/html-formatter from 3.0.1 to 4.0.3.
36 * Updated jQuery from v3.6.1 to v3.7.1.
37 * (T337463) wdio-mediawiki: await saveScreenshot.
38 * (T208477) $wgPrivilegedGroups – Users belonging in some of the listed groups
39   will be audited more aggressively.
40 * doc: Improve description of "type" in extension.schema.v2.json.
41 * Added PrivilegedGroups attribute for extension.json / skin.json, which lets
42   you add any new user groups you define to wgPrivilegedGroups (see above).
43 * (T288624) MultiHttpClient: Unset $this->cmh after closing it.
44 * (T345039) Do not run SkinAfterBottomScripts hook twice unconditionally.
45 * (T265734) API Help: Note that parameters may be inherited from other context.
46 * (T285545) i18n: Split apihelp for standard dir parameter.
47 * (T285545) i18n: Split apihelp for redirects/linkshere/transcludedin/fileusage
48   show.
49 * (T285545) i18n: Split apihelp for parameter list=deletedrevs&drprop=.
50 * (T285545) i18n: Split apihelp for parameter list=allpages&apprexpiry=.
51 * (T285545) i18n: Split apihelp for parameter action=opensearch&redirects=.
52 * (T285545) i18n: Split apihelp for parameter action=managetags&operation=.
53 * (T285545) api: Add message for list=watchlist&wlprop=expiry.
54 * (T334011) ApiComparePages: expose 'difftype' param if wikidiff2 is installed.
55 * (T342633) api: Add message for action=compare&prop=timestamp.
56 * API: revids=… does not necessarily return the queried revisions.
57 * (T235207) Get correct main page in API call examples.
58 * doc: Make extension.schema.v2.json a valid JSON schema.
59 * (T326696) Add since tag to UserOptionsManager::MAX_BYTES_OPTION_VALUE.
60 * updateSpecialPages.php: Avoid implicit float conversion on modulo.
61 * (T347227) ImportReporter: Make callback functions public.
62 * (T346898) importDump: Unconditionally call $importer->setUsernamePrefix().
63 * doc: Improve description of type in extension.schema.v1.json.
64 * (T340217, CVE-2023-45359) SECURITY: Vector 2022: Numerous unescaped messages
65   leading to potential XSS.
66 * (T340220, CVE-2023-45361) SECURITY: Vector 2022: vector-intro-page message
67   is assumed to yield a valid title.
68 * (T340221, CVE-2023-45360) SECURITY: XSS via 'youhavenewmessagesmanyusers'
69   and 'youhavenewmessages' messages.
70 * (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser ("X intermediate
71   revisions by the same user not shown") ignores username suppression.
72 * (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted
73   XML file to Special:Upload (non standard configuration).
75 == MediaWiki 1.40.0 ==
77 === Changes since MediaWiki 1.40.0-rc.0 ===
78 * Localisation updates.
79 * (T330464) Work around argument corruption bug in XMLReader::open.
80 * build: Updating mediawiki/mediawiki-phan-config to 0.12.1.
81 * Fix frame and frameless rdfa depending on file existing.
82 * (T329214) Pass whether current rev of file exists to
83   Linker::makeBrokenImageLinkObj.
84 * (T334659) Handle thumb errors when !$enableLegacyMediaDOM.
85 * A manualthumb that doesn't exist should be considered a thumb error.
86 * (T313157) IndexPager: Also protect against $offset being 0.
87 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
89 == MediaWiki 1.40.0-rc.0 ==
91 == Upgrading notes for 1.40 ==
92 Don't forget to always back up your database before upgrading!
94 See the file UPGRADE for more detailed per-version upgrade instructions from the
95 oldest supported upgrading version, MediaWiki 1.35.
97 Some specific notes for MediaWiki 1.40 upgrades are below:
98 * Maintenance scripts should now be executed using maintenance/run.php, e.g.
99   maintenance/run.php update not maintenance/update.php as before.
100 * Five extensions have now been bundled with MediaWiki:
101   * The DiscussionTools extension, which provides a forum-like editing
102     experience for wikitext-based discussion pages.
103   * The Echo extension, which provides a system of user notifications.
104   * The Linter extension, which warns about use of deprecated wikitext.
105   * The LoginNotify extension, which warns users about failed attempted logins.
106   * The Thanks extension, which lets users thank editors for edits.
107 * The Renameuser extension has been moved to MediaWiki core. It is now possible
108   to rename users without installing an extension. The extension had already
109   been bundled with MediaWiki since 1.18.
111 For notes on 1.39.x and older releases, see HISTORY.
113 === Configuration changes for system administrators in 1.40 ===
114 * When computing PBKDF2 password hashes, MediaWiki now detects and uses OpenSSL
115   support if available, unless $wgPasswordConfig['pbkdf2']['class'] is set in
116   LocalSettings.php. OpenSSL is more efficient, so if that setting is present,
117   you should remove it (or set it to 'Pbkdf2PasswordUsingOpenSSL' if possible).
118   If users get an internal error when trying to log in, you can try setting it
119   to 'Pbkdf2PasswordUsingHashExtension'. In particular, this would be necessary
120   if existing PBKDF2 password hashes were computed using a hash algorithm other
121   than "sha512" or "sha256" (the current and prior defaults).
122 * You should configure your webserver to return the http header
123   'X-Content-Type-Options: nosniff' for the /images directory. This will
124   instruct browsers to not apply content sniffing when accessing the files.
125   MediaWiki before 1.40 shipped with a content sniffer which disallowed
126   potentially dangerous files at upload time, but this protection has now been
127   removed in favor of this 'X-Content-Type-Options: nosniff' header and the
128   installer will return a warning when it is not in place.
129 * Support for MW_USE_LEGACY_DEFAULT_SETTINGS has been removed, setting this
130   constant will not have any effect. Use of MW_USE_LEGACY_DEFAULT_SETTINGS
131   had been deprecated since 1.39.
133 ==== New configuration ====
134 * $wgThumbnailNamespaces - This setting lets you define the namespaces for which
135   image thumbnails (or a placeholder in the absence of a thumbnail) will be
136   displayed on Special:Search.
137 * $wgResourceLoaderClientPreferences – This experimental flag lets you enable
138   client-side preferences for logged-out users.
139 * $wgExternalLinksSchemaMigrationStage – This temporary flag lets you control
140   the migration stage for the new schema for the external links database table.
141   Ignore it unless you have a large wiki farm with complex migration needs.
142 * $wgCommentTempTableSchemaMigrationStage – This temporary flag lets you control
143   the migration stage for the temporary comment database table, from revision.
144   Ignore it unless you have a large wiki farm with complex migration needs.
145 * $wgSpecialContributeSkinsEnabled – This setting lets you list skins on which
146   Special:Contribute is available, for where others don't work for the feature.
147 * $wgPrivilegedGroups – Users belonging in some of the listed groups will be
148   audited more aggressively.
150 ==== Changed configuration ====
151 * $wgPasswordPolicies – This setting, which controls what makes for a valid
152   password for wiki accounts, has been adjusted to raise the minimal password
153   length from 1 to 8 characters. The initial limit of 1 has been in place since
154   MediaWiki 1.26. If you wish to allow shorter passwords, you can over-ride it
155   in your LocalSettings following the guidance on MediaWiki.org.
156 * (T254045) New accounts can no longer use an equals sign (=) in their
157   usernames because of issues it causes in wikitext syntax. This can be
158   adjusted by changing the value of $wgInvalidUsernameCharacters.
159 * (T314318) $wgParserEnableLegacyMediaDOM – This setting has been changed, so
160   the alternative modern HTML structure for media is now the default. You can
161   disable it for now by over-riding this back to `true` in LocalSettings, but
162   this configuration will be removed in future versions of MediaWiki. For more
163   details, see the documentation at:
164   https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Media_structure/FAQ
165 * $wgWatchlistExpiryMaxDuration – This setting, which controls the maximum
166   allowed duration for users to set their temporary watchlist entries for expiry
167   if that feature is enabled, has been increased from 6 months to 1 year.
169 ==== Removed configuration ====
170 * $wgShellboxUrl – This setting, deprecated in 1.37, has now been removed; use
171   $wgShellboxUrls instead.
172 * $wgMainWANCache and $wgWANObjectCaches – These never-used settings have been
173   removed. To inject WANObjectCache parameters, use $wgWANObjectCache instead.
174   These variables were introduced for multi-DC wiki farms to add a separate
175   memcached proxy for cross-DC relaying of purges but never used because
176   WANObjectCache works based on route prefixes, which can be transparently
177   handled by the main memcached proxy.
178 * $wgParserTestFiles – This setting, deprecated in 1.30, has now been removed;
179   extensions can place their parser test files in `tests/parser` instead.
180 * (T231412) $wgAutoloadAttemptLowercase – This setting, deprecated in 1.35, no
181   longer has any effect. If you run into difficulties, fix the names of miscased
182   local files.
183 * (T309787) $wgVerifyMimeTypeIE – This setting, to provide extra security checks
184   for very old versions of Internet Explorer clients, was removed. These user
185   agents aren't used in practice, and haven't been served JavaScript content for
186   years.
188 === New user-facing features in 1.40 ===
189 * Special:Search can now show thumbnails for results for titles outside NS_FILE.
190   This is controlled via the new onSearchResultProvideThumbnail hook.
191 * A new preference ('search-thumbnail-extra-namespaces') to allow users to
192   control whether to show more thumbnails (per $wgThumbnailNamespaces)
193 * (T324910) On pages using multi-content revisions, the raw content of a
194   specific slot can be retrieved using the action=raw&slot=<role-name> query
195   parameters.
196 * (T313804) The preferences page now provides a search bar to find preferences,
197   regardless of the tab on which they appear.
199 === New developer features in 1.40 ===
200 * The MediaWiki-Docker development environment is now configured to
201   run on PHP 8.1 by default, up from PHP 7.4 now that that's EOL.
202 * Vue development mode is enabled by default in DevelopmentSettings.php
203 * (T277618) The @noVarDump annotation from the DebugInfoTrait tool can now be
204   added to references to stop them from being expanded when their object is
205   passed to var_dump(), to make its use for debugging more feasible.
206 * The ApiSandbox will now by default request responses in the latest API format,
207   rather than the original format. Users can set `formatversion` to a different
208   value if needed.
209 * A new hook, GetBlockErrorMessageKeyHook, allows extensions' block error
210   messages to be received and displayed by BlockErrorFormatter.
211 * A new hook, SpecialCreateAccountBenefits, lets extensions and local code set
212   custom content on the signup page about the benefits of using an account.
213 * (T321412) A new 'PageUndeleteComplete' hook has been added for more thorough
214   information about a page post restoration than the 'PageUndelete' hook passes.
215   This provides similar functionality to the 'PageDeleteComplete' hook.
216 * The Linker::specialLink() method can now link to a Special page's with a sub-
217   page or action parameter set, e.g. [[Special:Contributions/JohnDoe]].
218 * The PHPUnit entrypoints (tests/phpunit/phpunit.php and vendor/bin/phpunit)
219   now check if composer dependencies are up-to-date, like update.php, using
220   CheckComposerLockUpToDate. To disable this check, use
221   MW_SKIP_EXTERNAL_DEPENDENCIES=1 environment flag when running PHPUnit.
222 * ManualLogEntry::setForceBotFlag() has been added to allow the forcing of the
223   bot flag for log entries which are inserted to the recent changes.
225 === External library changes in 1.40 ===
227 ==== New external libraries ====
228 * Added codex-design-tokens at v0.6.2.
229 * Added symfony/polyfill-php81 at v1.27.0.
230 * Added wikimedia/bcp-47-code at v1.0.0.
232 ===== New development-only external libraries =====
233 * Added wikimedia/langconv at v0.4.2.
235 ==== Changed external libraries ====
236 * Updated OOUI from v0.44.3 to v0.46.3.
237 * Updated codex, codex-search, and codex-icons from v0.2.2 to v0.6.2.
238 * Updated cssjanus/cssjanus from 2.1.0 to 2.1.1.
239 * Updated guzzlehttp/guzzle 7.4.5 to 7.5.0.
240 * Updated justinrainbow/json-schema from 5.2.11 to 5.2.12.
241 * Updated pear/mail from 1.4.1 to 1.5.1.
242 * Updated pear/net_smtp from 0.10.0 to 0.10.1.
243 * Updated psr/container from 1.1.1 to 1.1.2.
244 * Updated symfony/polyfill-php80 from 1.26.0 to 1.27.0.
245 * Updated symfony/yaml from 5.4.10 to 5.4.17.
246 * Updated wikimedia/html-formatter from 3.0.1 to 4.0.3.
247 * Updated wikimedia/less.php from 3.1.0 to 4.0.0.
248 * Updated wikimedia/object-factory from 4.0.0 to 5.0.1.
249 * Updated wikimedia/parsoid from 0.16.0 to 0.17.0.
250 * Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
251 * Updated wikimedia/shellbox from 3.0.0 to 4.0.0.
252 * Updated wikimedia/timestamp from 4.0.0 to 4.1.0.
253 * Updated wikimedia/xmp-reader from 0.8.4 to 0.9.1.
255 ===== Changed development-only external libraries =====
256 * Updated QUnit from 2.18.2 to 2.19.4.
257 * Updated api-testing from 1.5.0 to 1.5.1.
258 * Updated composer/spdx-licenses from 1.5.6 to 1.5.7.
259 * Updated eslint-config-wikimedia from 0.22.1 to 0.24.0.
260 * Updated giorgiosironi/eris from ^0.10.0 to ^0.13.0.
261 * Updated grunt from 1.5.2 to 1.6.1.
262 * Updated grunt-banana-checker from 0.9.0 to 0.10.0.
263 * Updated grunt-eslint from 24.0.0 to 24.0.1.
264 * Updated karma from 6.3.15 to 6.4.1.
265 * Updated mediawiki/mediawiki-codesniffer from 38.0.0 to 41.0.0.
266 * Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1.
267 * Updated php-parallel-lint/php-console-highlighter from 0.5 to 1.0.0.
268 * Updated php-parallel-lint/php-parallel-lint from 1.3.1 to 1.3.2.
269 * Updated phpunit/phpunit from 8.5.28 to 9.5.28.
270 * Updated stylelint-config-wikimedia from 0.13.0 to 0.13.1.
271 * Updated wikimedia/alea from 0.9.3 to 1.0.0.
273 ==== Removed external libraries ====
274 * jquery.throttle-debounce, deprecated since MediaWiki 1.33.
275 * WVUI, deprecated since MediaWiki 1.39.
277 === Action API changes in 1.40 ===
278 * New `cancreateaccount` parameter on action=query&meta=userinfo that allows
279   you to check if the user can create an account. Some of the errors that have
280   previously been returned by action=query&list=users&usprop=cancreate are now
281   returned here.
283 === Languages updated in 1.40 ===
284 MediaWiki supports over 400 languages. Many localisations are updated regularly.
285 Below only new and removed languages are listed, as well as changes to languages
286 because of Phabricator reports.
288 * (T300378) Added language support for Toki Pona (tok).
289 * (T320465) Added language support for Magahi (mag).
290 * (T320912) Added language support for Arakanese (rki).
291 * (T323971) Added language support for Khakas (kjh).
292 * (T326526) Added language support for Igala (igl).
293 * (T329476) Added language support for Kusaal (kus).
294 * (T330266) Added language support for Southern Dagaare (dga).
295 * (T331596) Added language support for Obolo (ann).
296 * (T331597) Added language support for Nogai (nog).
297 * (T331599) Added language support for Wolaytta (wal).
298 * (T295637) Add no to fallback chain of nb and nn.
300 === Breaking changes in 1.40 ===
301 * OutputPage::enableClientCache no longer accepts a parameter, nor does it
302   return the current value. It simply sets the OutputPage::mEnableClientCache
303   to true. Use OutputPage::disableClientCache to disable client side caching
304   instead.
305 * ResourceLoader::makeMessageSetScript, unused since 1.26, has been removed
306   without deprecation.
307 * Changes to skins:
308   - The internal protected method Skin::getFooterLinks() was removed.
309     It had no known usages. Different from SkinTemplate::getFooterLinks.
310   - The internal public method Skin::getSiteFooterLinks() was removed.
311     It had no known usages.
312 * The 'oojs-router' module has been removed without deprecation in favour
313   of the 'mediawiki.router' wrapper module.
314 * BagOStuff::makeKeyInternal(), deprecated for public use in 1.36, is now a
315   protected method of MediumSpecificBagOStuff.
316 * WANObjectCache::reap() and WANObjectCache::reapCheckKey(), deprecated since
317   1.39, have been removed.
318 * The EnqueueJob class, unused since 1.31, has been removed without
319   deprecation.
320 * JobQueueGroup::singleton() and ::destroySingletons(), deprecated since 1.37,
321   have been removed.
322 * JobRunner no longer supports manually calling the constructor,
323   use MediaWikiServices::getInstance()->getJobRunner() instead.
324 * JobRunner::setLogger, deprecated since 1.35, has been removed.
325 * ContextSource::getStats, deprecated since 1.27, has been removed.
326 * The following public properties of Parser, deprecated in 1.35,
327   have been made private: Parser::$mLinkId, Parser::$mIncludeSizes,
328   Parser::$mDoubleUnderscore, Parser::$mShowToc, Parser::$mRevisionId,
329   Parser::$mRevisionTimestamp, Parser::$mRevisionUser, Parser::$mRevisionSize,
330   Parser::$mInputSize, Parser::$mInParse, Parser::$mFirstCall,
331   Parser::$mGeneratedPPNodeCount
332 * The MWGrants class, deprecated since 1.38, has been removed.
333 * PageProps::getInstance(), deprecated since 1.38, has been removed.
334 * Global functions wfReadOnly and wfReadOnlyReason, deprecated since 1.38, have
335   been removed.
336 * Global function wfQueriesMustScale, deprecated since 1.39, has been removed.
337 * Global function wfLogProfilingData, deprecated since 1.38, has been removed.
338 * The HTMLCacheUpdate class, deprecated since 1.34, has been removed.
339 * Linker::normaliseSpecialPage(), deprecated since 1.35, has been removed.
340 * MWTimestamp::getHumanTimestamp(), deprecated since 1.26, has been removed.
341 * Collation::singleton() and ::factory(), deprecated since 1.37, have been
342   removed.
343 * SpecialVersion::listToText() and SpecialVersion::arrayToString()
344   have become private or internal without deprecation.
345 * The 'ParserTestFiles' key in the schema for extension.json has been removed.
346   This was deprecated in 1.30 and the corresponding $wgParserTestFiles
347   configuration variable has also been removed in this release.  Extensions
348   can put parser test files in their `tests/parser` directory to have them
349   automatically run.
350 * DBLockManager, MySqlLockManager, and PostgreSqlLockManager have been
351   removed without deprecation.
352 * MediaWikiTestCaseTrait::checkPHPExtension() has been removed without
353   deprecation. Use PHPUnit @requires annotations instead.
354 * EditPage::getCopywarn(), deprecated since 1.38, has been removed.
355 * EditPage::getCopyrightWarning() now requires a MessageLocalizer parameter.
356   Use of other parameter types or omitting it was deprecated since 1.38.
357 * Action constructor now requires Article and IContextSource parameters.
358   Use of other parameter types or omitting them was deprecated since 1.35.
359 * Article::viewRedirect(), deprecated since 1.30, has been removed.
360 * Title::getNotificationTimestamp(), deprecated since 1.35, has been removed.
361 * WikiRevision::$fileIsTemp property, deprecated since 1.29, has been removed.
362 * Use of CommentStore::insertWithTempTable() with 'img_description' is no
363   longer supported, it was deprecated since 1.32. Use CommentStore::insert()
364   instead.
365 * Return values in the parameter $pageLang of the PageContentLanguage hook with
366   other types than a Language object, deprecated since 1.33 & emitting warnings
367   since 1.38, now throws an exception.
368 * FormatMetadata::flattenArrayContentLang(), deprecated since 1.36, has been
369   removed.
370 * WikiRevision::downloadSource() and ::importUpload(), deprecated since 1.31,
371   have been removed.
372 * DataUpdate::runUpdates(), deprecated since 1.28, has been removed.
373 * CdnCacheUpdate::newFromTitles(), deprecated since 1.35, has been removed.
374 * HtmlFileCacheUpdate::newFromTitles(), deprecated since 1.37, has been
375   removed.
376 * BaseTemplate::renderAfterPortlet() and ::getAfterPortlet(), has been removed.
377   Use the corresponding methods in Skin class.
378 * DifferenceEngine::textDiff(), deprecated since 1.32, has been removed.
379 * Skin::getSearchPageTitle() and Skin::setSearchPageTitle(), deprecated since
380   1.38, have been removed.
381 * DifferenceEngine::getDiffBodyCacheKey(), deprecated since 1.31, has been
382   removed.
383 * ForeignDBViaLBRepo::getMasterDB(), LocalRepo::getMasterDB(), and
384   JobQueueDB::getMasterDB(), deprecated since 1.37, have been removed.
385 * Clarified that the InitializeArticleMaybeRedirect hook should not change
386   its $article parameter; the behavior when doing so was previously
387   undocumented.
388 * IDatabase::ping()'s $rtt parameter was removed without deprecation.
389 * IDatabase::setBigSelects(), unused, was removed without deprecation.
390 * IDatabase::attributesFromType(), unused, was removed without deprecation.
391 * IMaintainableDatabase::deadlockLoop() was removed without deprecation.
392 * DatabasePostgres::remappedTableName(), deprecated since 1.37, has been
393   removed.
394 * ILBFactory::getChronologyProtectorClientId and ::commitAll, unused, were
395    removed without deprecation.
396 * LoadBalancer::haveIndex() and ::isNonZeroLoad(), deprecated in 1.34,
397   have been removed.
398 * LoadBalancer::getLazyConnectionRef(), deprecated in 1.38, has been removed.
399 * ILBFactory::forEachLB(), deprecated in 1.39, has been removed.
400 * LoadBalancer::getTransactionRoundStage and ::commitAll, unused, were
401   removed without deprecation.
402 * ILoadBalancer::getLaggedReplicaMode, unused, was removed  without
403   deprecation. Use ILBFactory::laggedReplicaUsed() instead.
404 * Optional parameters of ILoadBalancer::waitForPrimaryPos(), $pos and $timeout
405   have been removed without deprecation as they are unused.
406 * LoadMonitorMysql was removed without deprecation. Use LoadMonitor instead.
407 * IDatabase::selectDB(), deprecated since 1.32, has been removed.
408   Use IDatabase::selectDomain() instead.
409 * The following deprecated hooks have been removed:
410   - BaseTemplateAfterPortlet, deprecated in 1.35
411   - BeforeParserFetchTemplateAndtitle, deprecated in 1.36
412   - BeforeParserrenderImageGallery, deprecated in 1.35
413   - InternalParseBeforeSanitize, deprecated in 1.35
414   - LinksUpdateConstructed, deprecated in 1.38
415   - LinksUpdateAfterInsert, deprecated in 1.38
416   - ParserSectionCreate, deprecated in 1.35
417   - ResourceLoaderTestModules, deprecated in 1.33
418   - SpecialMuteSubmit, deprecated in 1.35
419   - UserLoadFromDatabase, deprecated in 1.37
420   - UserSetCookies, deprecated in 1.27
421 * RemexDriver::__construct() now only accepts a ServiceOptions instance as
422   the only argument. Passing an array was deprecated since 1.36.
423 * TidyDriverBase::supportsValidate(), deprecated since 1.36, has been removed.
424 * RevDelList::reloadFromMaster(), deprecated since 1.37, has been removed.
425 * ExternalStoreDB::getMaster(), deprecated since 1.37, has been removed.
426 * DeletePage::deletionWasScheduled(), deprecated since 1.38, has been removed.
427 * The SearchResultProvideThumbnailHook (which was unstable) and now no longer
428   used, has been removed. Use SearchResultProvideThumbnailHook in the search
429   namespace: MediaWiki\Search\Hook\SearchResultProvideThumbnailHook.
430 * Command::cgroup(), deprecated since 1.36, has been removed.
431 * When running tests, the serialize_precision INI setting is now set to -1
432   (current PHP default) instead of 17. Extension tests may need to be adjusted
433   accordingly; string representations of floating-point numbers in serialized
434   or JSON-encoded data may change.
435 * WikiRevision::$sha1base36 is now private.
436 * IcuCollation::getUnicodeVersionForICU() was removed without deprecation.
437 * LinkFilter::supportsIDN() was removed without deprecation.
438 * The ability to pass null for the errorData parameter of HttpException and
439   LocalizedHttpException was removed without deprecation.
440 * ApiQueryExtLinksUsage::getProtocolPrefix() and ::prepareProtocols() have
441   been moved to LinkFilter with the same name.
442 * .box-sizing() Less mixin, deprecated since 1.37, has been removed.
443   Use CSS box-sizing now.
444 * MimeAnalyzer::getIEMimeTypes() and IEContentAnalyzer were removed.
445 * Language::commafy and mw.language.commafy, deprecated since 1.36, has been
446   removed.
447 * BagOStuff::decr(), deprecated since 1.28, has been removed.
448 * BagOStuff::incr(), deprecated since 1.28, has been removed.
450 === Deprecations in 1.40 ===
451 * Changes to skins:
452   - The public Skin::footerLink is deprecated.
453     Use SkinComponentMenuLink::getTemplateData instead.
454     It now emits deprecation warnings.
455   - The protected Skin::lastModified is deprecated, and marked for @internal use
456     and now emits deprecation warnings.
457 * Manipulating $wgHooks after initialization is deprecated.
458   HookContainer::register() or HookContainer::scopedRegister() should be
459   used instead. During initialization, SettingsBuilder::registerHookHandlers
460   can be used. For backwards compatibility, $wgHooks is replaced by a fake
461   array that calls methods on HookContainer. $wgHooks can still be used as a
462   configuration variable, only dynamic manipulation is deprecated.
463 * ParserOptions::{get,set}ExternalLinkTarget() and
464   ParserOptions::{get,set}MaxTemplateDepth() have been deprecated and marked
465   for @internal use only.
466 * ParserOutput::getCategories() has been deprecated; use ::getCategoryNames()
467   and ::getCategorySortKey() instead.
468 * ParserOutput::{get,set}TOCHTML() has been deprecated; use
469   ::{get,set}TOCData() instead.
470 * TransactionProfiler::setSilenced() is deprecated.
471   Use TransactionProfiler::silenceForScope() instead.
472 * The following methods in the Title class, deprecated since 1.37, emits
473   deprecations warnings:
474   - ::areCascadeProtectionSourcesLoaded()
475   - ::areRestrictionsCascading()
476   - ::areRestrictionsLoaded()
477   - ::getAllRestrictions()
478   - ::getCascadeProtectionSources()
479   - ::getFilteredRestrictionTypes()
480   - ::getRestrictionExpiry()
481   - ::getRestrictionTypes()
482   - ::getRestrictions()
483   - ::isCascadeProtected()
484   - ::isProtected()
485   - ::isSemiProtected()
486   - ::loadRestrictionsFromRows()
487 * The class Pbkdf2Password was renamed to Pbkdf2PasswordUsingHashExtension,
488   and the old name is now deprecated.
489 * WikiPage::factory(), ::newFromID() and ::newFromRow, deprecated in 1.36, now
490   emit deprecation warnings.
491 * Manually constructing a LinkBatch object, deprecated in 1.35, now emits
492   deprecation warnings. Use LinkBatchFactory instead.
493 * Calling MediaWikiSite::getFileUrl() without a $path argument is deprecated.
494   If you need the "generic" full file path, with $1 not replaced by anything,
495   call $site->getPath( MediaWikiSite::PATH_FILE ) directly.
496 * In SessionConsistentConnectionManager, the methods
497   getReadConnectionRef() and getWriteConnectionRef() are deprecated;
498   the ConnectionManager methods they override had been deprecated already.
499 * Database::wasErrorReissuable() is deprecated.
500 * MimeAnalyzer::isPHPImageType was not used and will now emit deprecation
501   warnings.
502 * GenericArrayObject, originally developed for Wikibase and SiteList, has been
503   deprecated. Use built-in ArrayObject directly instead.
504 * Parser::getFunctionLang() has been deprecated; use
505   Parser::getTargetLanguage() instead.
506 * MagicWordArray::getVariableRegex(), deprecated in 1.36, now emits deprecation
507   warnings.
508 * AbstractBlock::getId() now emits deprecation warnings in case of cross-wiki
509   access. This use was deprecated in 1.38.
510 * CommentStore::getStore, deprecated in 1.31, now emits deprecation warnings.
511 * BacklinkCache::get(), ::getLinks() and ::getCascadeProtectedLinks(),
512   deprecated in 1.37, now emit deprecation warnings.
513 * LanguageConverterFactory::isTitleConversionDisabled(), deprecated in 1.36,
514   now emits deprecation warnings.
515 * Language::getFileName(), ::getMessagesFileName() and
516   ::getJsonMessagesFileName(), deprecated in 1.34,
517   now emit deprecation warnings.
518 * Language::getLocalisationCache(), deprecated in 1.34, also
519   Language::getMessagesFor(), ::getMessageFor() and ::getMessageKeysFor(),
520   deprecated in 1.35, now emit deprecation warnings.
521 * User::incEditCount(), deprecated in 1.37, now emits deprecation warnings.
522 * User::idFromName(), deprecated in 1.37, now emits deprecation warnings.
523 * The ability to override and use User::$mRights, deprecated in 1.34, now emits
524   deprecation warnings.
525 * IndexPager::getHookContainer is deprecated and emits deprecation warnings.
526   Inject a HookContainer instead.
527 * User::getGroupPermissions(), ::getGroupsWithPermission() and
528   ::groupHasPermission(), deprecated in 1.34, now emit deprecation warnings.
529 * PermissionManager::getGroupPermissions(), ::getGroupsWithPermission() and
530   ::groupHasPermission(), deprecated in 1.36, now emit deprecation warnings.
531 * Global function wfShowingResults is deprecated and emits deprecation warnings.
532 * UserGroupMembership::getGroupMemberName is deprecated, the deprecation of
533   UserGroupMembership::getGroupName in 1.38 missed a release note.
534   Use Language::getGroupMemberName or ::getGroupName instead.
535 * AbstractBlock::getPermissionsError(), deprecated in 1.35, now emits
536   deprecation warnings.
537 * SearchEngine::getNearMatcher() and ::getDefaultMatcher() have been deprecated
538   in favor of MediaWikiServices::getInstance()->getTitleMatcher().
539 * SearchNearMatcher class has been deprecated in 1.40 in favor of TitleMatcher.
540 * The following functions are deprecated: User::isBlockedGlobally and
541   User::getGlobalBlock. Use User::getBlock instead.
542 * The UserIsBlockedGlobally hook is deprecated.
543   Use GetUserBlock hook instead.
544 * The SystemBlock type global-block is deprecated.
545   GlobalBlocks are now added into CompositeBlocks via the GetUserBlock hook.
546 * Language::isWellFormedLanguageTag(), deprecated in 1.39, now emits deprecation
547   notices. Please use LanguageCode::isWellFormedLanguageTag() instead.
548 * Language::fetchLanguageNames() and ::fetchLanguageName(), deprecated in 1.34,
549   now emit deprecation warnings.
550 * Language::getFallbackFor(), ::getFallbacksIncludingSiteLanguage() and
551   ::getFallbacksFor(), deprecated in 1.35, now emit deprecation warnings.
552 * Language::isSupportedLanguage(), ::isValidCode(), ::isValidBuiltInCode() and
553   ::isKnownLanguageTag(), deprecated in 1.34, now emit deprecation warnings.
554 * Language::getConverter(), ::autoConvert(), ::autoConvertToAllVariants(),
555   ::convert(), ::convertNamespace(), ::convertHtml(), ::convertCategoryKey(),
556   ::getVariants(), ::hasVariants(), ::hasVariant(), ::getDefaultVariant(),
557   ::getURLVariant(), ::getExtraHashOptions(), ::getConvRuleTitle(),
558   deprecated in 1.35, now emit deprecation warnings.
559 * Language::factory() and ::getParentLanguage(), deprecated in 1.35, now emit
560   deprecation warnings.
561 * Executing maintenance scripts directly is deprecated. The maintenance/run.php
562   entry point should be used instead.
563 * MWHttpRequest::factory, deprecated in 1.34, now emits deprecation warnings.
564 * Job::factory is deprecated, use JobFactory::newJob instead.
565 * Http::request(), ::get(), ::post(), ::userAgent() and ::isValidURI(),
566   deprecated in 1.34, now emit deprecation warnings.
567 * Title.js's confusingly-named getName() and getNameText() methods, for using
568   media files' pages, have been renamed to getFileNameWithoutExtension() and
569   getFileNameTextWithoutExtension() respectively. The old names are deprecated.
570 * Command::whitelistPaths() should now emit deprecation warnings. Make use of
571   Command::allowPaths/disallowPaths() instead.
572 * When manually creating an HTMLFormField (i.e. not via HTMLForm::factory),
573   it is deprecated to not include the "parent" field as one of the parameters.
574 * The MWException class is deprecated. Use native exceptions, either directly
575   or as base classes.
576 * SelectQueryBuilder::lockForUpdate() is deprecated. Use ::forUpdate() with
577   ::fetchRowCount() or ::acquireRowLocks() instead.
578 * ArticleUndelete hook is deprecated. Use PageUndeleteComplete hook instead.
579 * The global function wfReportTime() is now deprecated.
580 * PrevNextNavigationRenderer, deprecated in 1.39, now emits deprecation
581   warnings.
582 * PagerNavigationBuilder::setMakeLinkCallback(), deprecated in 1.39, now emits
583   deprecation warnings.
584 * IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
585   IndexPager::buildPrevNextNavigation(), deprecated in 1.39, now emit
586   deprecation warnings.
587 * Overriding the method IndexPager::makeLink(), deprecated in 1.39, now emits
588   deprecation warnings.
589 * The following class names were namespaced (and, for the special pages,
590   also renamed), and the old class names are now deprecated:
591   - MostimagesPage -> MediaWiki\Specials\SpecialMostImages
592   - MovePageForm -> MediaWiki\Specials\SpecialMovePage
593   - UserrightsPage -> MediaWiki\Specials\SpecialUserRights
594   - WantedFilesPage -> MediaWiki\Specials\SpecialWantedFiles
595   - WantedPagesPage -> MediaWiki\Specials\SpecialWantedPages
596   - DerivativeRequest -> MediaWiki\Request\DerivativeRequest
597   - FauxRequest -> MediaWiki\Request\FauxRequest
598   - FauxRequestUpload -> MediaWiki\Request\FauxRequestUpload
599   - PathRouter -> MediaWiki\Request\PathRouter
600   - WebRequestUpload -> MediaWiki\Request\WebRequestUpload
601   - HeaderCallback -> MediaWiki\Request\HeaderCallback
602   - FauxResponse -> MediaWiki\Request\FauxResponse
603   - WebResponse -> MediaWiki\Request\WebResponse
604   - ForeignResourceManager ->
605     MediaWiki\ResourceLoader\ForeignResourceManager
606   - DummyLinker -> MediaWiki\Linker\DummyLinker
607   - Linker -> MediaWiki\Linker\Linker
608   - PageProps -> MediaWiki\Page\PageProps
609   - MagicWord -> MediaWiki\Parser\MagicWord
610   - MagicWordArray -> MediaWiki\Parser\MagicWordArray
611   - MagicWordFactory -> MediaWiki\Parser\MagicWordFactory
612   - RawMessage -> MediaWiki\Language\RawMessage
613   - ActorMigration -> MediaWiki\User\ActorMigration
614   - ActorMigrationBase -> MediaWiki\User\ActorMigrationBase
615   - CategoriesRdf -> MediaWiki\Category\CategoriesRdf
616   - Category -> MediaWiki\Category\Category
617   - CategoryViewer -> MediaWiki\Category\CategoryViewer
618   - TrackingCategories -> MediaWiki\Category\TrackingCategories
619   - EditPage -> MediaWiki\EditPage\EditPage
620   - TemplatesOnThisPageFormatter ->
621     MediaWiki\EditPage\TemplatesOnThisPageFormatter
622   - ContentSecurityPolicy -> MediaWiki\Request\ContentSecurityPolicy
623   - FormOptions -> MediaWiki\Html\FormOptions
624   - Html -> MediaWiki\Html\Html
625   - HtmlHelper -> MediaWiki\Html\HtmlHelper
626   - TemplateParser -> MediaWiki\Html\TemplateParser
627   - FormOptions -> MediaWiki\Html\FormOptions
628   - WikiMap -> MediaWiki\WikiMap\WikiMap
629   - WikiReference -> MediaWiki\WikiMap\WikiReference
630   - MediaWiki\BadFileLookup -> MediaWiki\Page\File\BadFileLookup
631   - FileDeleteForm -> MediaWiki\Page\File\FileDeleteForm
632   - MergeHistory -> MediaWiki\Page\MergeHistory
633   - MovePage -> MediaWiki\Page\MovePage
634   - ProtectionForm -> MediaWiki\Page\ProtectionForm
635   - LinkFilter -> MediaWiki\ExternalLinks\LinkFilter
636   - TitleArray -> MediaWiki\Title\TitleArray
637   - TitleArrayFromResult -> MediaWiki\Title\TitleArrayFromResult
638   - TitleFactory -> MediaWiki\Title\TitleFactory
639   - Title -> MediaWiki\Title\Title
640   - ForkController -> MediaWiki\Maintenance\ForkController
641   - OrderedStreamingForkController ->
642     MediaWiki\Maintenance\OrderedStreamingForkController
643   - AtomFeed -> MediaWiki\Feed\AtomFeed
644   - ChannelFeed -> MediaWiki\Feed\ChannelFeed
645   - FeedItem -> MediaWiki\Feed\FeedItem
646   - FeedUtils -> MediaWiki\Feed\FeedUtils
647   - RSSFeed -> MediaWiki\Feed\RSSFeed
648   - DeprecatedGlobal -> MediaWiki\StubObject\DeprecatedGlobal
649   - StubGlobalUser -> MediaWiki\StubObject\StubGlobalUser
650   - StubObject -> MediaWiki\StubObject\StubObject
651   - StubUserLang -> MediaWiki\StubObject\StubUserLang
652 * ContentHandler::getParserOutputForIndexing() and ::getDataForSearchIndex()
653   now take an optional RevisionRecord parameter.
654 * The SearchDataForIndex hook is deprecated in favor of SearchDataForIndex2
655 * IDatabase::lastQuery and IReadableDatabase::lastQuery are deprecated without
656   without replacement.
658 === Other changes in 1.40 ===
659 * Calling RecentChange::doMarkPatrolled() with $auto = true has no effect and
660   logs a warning. Since 1.31, it would mark the change as manually patrolled,
661   but would not log it as such in patrol log and would still require
662   'autopatrol' right (not 'patrol'). Generally, whether a change should become
663   autopatrolled, is usually determined before it's inserted in the database.
664 * In versions of MediaWiki before 1.39, the table of contents location
665   was marked internally with <mw:toc>...</mw:toc>; in version 1.39
666   this was changed to an empty tag <mw:tocplace />.  In 1.40 this has
667   been changed a final time to use an empty <meta> tag for future
668   Parsoid compatibility (see Parser::TOC_PLACEHOLDER).  This may
669   affect you if stale content is left in the ParserCache or if your
670   skin did manual ToC replacement without using the recommended
671   Parser::replaceTableOfContentsMarker() function.
672 * Skins can now choose which Codex theme should be loaded by setting the
673   SkinCodexThemes attribute in their skin.json file.
674 * The parser test framework has been updated, and the 'pst', 'ill', 'cat'
675   and 'showflags' options have slight differences in their output.  These
676   options are not much used outside core, but third parties may need to
677   update parser tests.
678 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
680 == Compatibility ==
682 MediaWiki 1.40 requires PHP 7.4.3 or later and the following PHP extensions:
684 * ctype
685 * dom
686 * fileinfo
687 * iconv
688 * intl
689 * json
690 * mbstring
691 * xml
693 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
694 be used instead, but support for them is somewhat less mature.
696 The supported versions are:
698 * MariaDB 10.3 or higher
699 * MySQL 5.7.0 or higher
700 * PostgreSQL 10 or later
701 * SQLite 3.8.0 or later
703 == Online documentation ==
704 Documentation for both end-users and site administrators is available on
705 MediaWiki.org, and is covered under the GNU Free Documentation License (except
706 for pages that explicitly state that their contents are in the public domain):
708        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
710 == Mailing list ==
711 A mailing list is available for MediaWiki user support and discussion:
713        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
715 A low-traffic announcements-only list is also available:
717        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
719 It's highly recommended that you sign up for one of these lists if you're
720 going to run a public MediaWiki, so you can be notified of security fixes.
722 == IRC help ==
723 There's usually someone online in #mediawiki on irc.libera.chat.
725 = MediaWiki 1.39 =
727 PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/
728 PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
729 PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
730 PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
732 == MediaWiki 1.39.5 ==
734 This is a security and maintenance release of the MediaWiki 1.39 branch.
736 === Changes since MediaWiki 1.39.4 ===
737 * Localisation updates.
738 * (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for self-redirects
739   with variants conversion.
740 * docs: Fix a few typos in MainConfigSchema.
741 * (T309714) mime: Add support for 'font/sfnt' mime type.
742 * (T341434) WikiImporter: Improve error message output.
743 * (T317255) VueComponentParser: Use Zest's getElementsByTagName() rather than
744   PHP's.
745 * (T341737) ApiBase: Cast $id to string in filterIDs.
746 * (T286291, T296188) Merge zh and zh-tw namespace translations back to zh-hans,
747   zh-hant, zh-hk respectively.
748 * (T337875) WRStats: Round up SequenceSpec::hardExpiry to the nearest integer.
749 * (T237898) installer: Check MariaDB version in updater/installer.
750 * (T342632) ApiComparePages: Add help url.
751 * (T326182, T324903) EditPage: Add #[AllowDynamicProperties].
752 * (T342351) rdbms: Fix postgres db function call.
753 * (T343675) user: Use {@} to escape annotation when writting about annotation.
754 * (T343797) LanguageWa: Fix double timezone adjustment.
755 * (T326454) Update pear/mail to 1.5.1.
756 * (T343622) docs: Set the <comment> tag back to optional.
757 * (T330528) Upgrade wikimedia/html-formatter from 3.0.1 to 4.0.3.
758 * (T337463) wdio-mediawiki: await saveScreenshot.
759 * (T274041) Include core PSR-4 classes in the generated classmap.
760 * (T208477) $wgPrivilegedGroups – Users belonging in some of the listed groups
761   will be audited more aggressively.
762 * doc: Improve description of "type" in extension.schema.v2.json.
763 * Added PrivilegedGroups attribute for extension.json / skin.json, which lets
764   you add any new user groups you define to wgPrivilegedGroups (see above).
765 * HTMLForm: Fix E_NOTICE when hide-if is used with setFormIdentifier.
766 * (T288624) MultiHttpClient: Unset $this->cmh after closing it.
767 * (T345039) Do not run SkinAfterBottomScripts hook twice unconditionally.
768 * (T265734) API Help: Note that parameters may be inherited from other context.
769 * API: Make continue parameter help description more specific.
770 * (T285545) i18n: Split apihelp for standard dir parameter.
771 * (T285545) i18n: Split apihelp for redirects/linkshere/transcludedin/fileusage
772   show.
773 * (T285545) i18n: Split apihelp for parameter list=deletedrevs&drprop=.
774 * (T285545) i18n: Split apihelp for parameter list=allpages&apprexpiry=.
775 * (T285545) i18n: Split apihelp for parameter action=opensearch&redirects=.
776 * (T285545) i18n: Split apihelp for parameter action=managetags&operation=.
777 * (T285545) api: Add message for list=watchlist&wlprop=expiry.
778 * (T334011) ApiComparePages: expose 'difftype' param if wikidiff2 is installed.
779 * (T342633) api: Add message for action=compare&prop=timestamp.
780 * API: revids=… does not necessarily return the queried revisions.
781 * (T326696) user: Truncate option value in UserOptionsManager.
782 * (T326696) ApiOptions: Give warning if the value is too long.
783 * API i18n: Add {{PLURAL:}} for byte count messages.
784 * (T235207) Get correct main page in API call examples.
785 * doc: Make extension.schema.v2.json a valid JSON schema.
786 * updateSpecialPages.php: Avoid implicit float conversion on modulo.
787 * (T347227) ImportReporter: Make callback functions public.
788 * (T346898) importDump: Unconditionally call $importer->setUsernamePrefix().
789 * doc: Improve description of type in extension.schema.v1.json.
790 * (T340217, CVE-2023-45359) SECURITY: Vector 2022: Numerous unescaped
791   messages leading to potential XSS.
792 * (T340220, CVE-2023-45361) SECURITY: Vector 2022: vector-intro-page
793   message is assumed to yield a valid title.
794 * (T340221, CVE-2023-45360) SECURITY: XSS via
795   'youhavenewmessagesmanyusers' and 'youhavenewmessages' messages.
796 * (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser
797   ("X intermediate revisions by the same user not shown") ignores
798   username suppression.
799 * (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted
800   XML file to Special:Upload (non-standard configuration).
802 == MediaWiki 1.39.4 ==
804 This is a security and maintenance release of the MediaWiki 1.39 branch.
806 === Changes since MediaWiki 1.39.3 ===
807 * Localisation updates.
808 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
809 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
810   (2.4.0 => 2.4.5).
811 * (T333776) {{ACTIVEUSERS}} wasn't being updated without updateSpecialPages.php.
812 * (T258860) Prevent LogicCache exception from message cache during IO errors
813   from memcache.
814 * (T336868) Improve idempotency of postgres index upgrades.
815 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
816 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
817 * A fake MessageLocalizer for use in unit tests.
818 * (T338114) Title: Add forward alias.
819 * composer: Add symfony/polyfill-php81 like symfony/polyfill-php80.
820 * (T330464) Work around argument corruption bug in XMLReader::open.
821 * Fix frame and frameless rdfa depending on file existing.
822 * Fixes for the phan upgrade, part 1.
823 * Fixes for the phan upgrade, part 2.
824 * (T298571) build: Update mediawiki/mediawiki-phan-config to 0.12.0.
825 * build: Updating mediawiki/mediawiki-phan-config to 0.12.1.
826 * (T329214) Pass whether current rev of file exists to
827   Linker::makeBrokenImageLinkObj.
828 * (T334659) Handle thumb errors when !$enableLegacyMediaDOM.
829 * A manualthumb that doesn't exist should be considered a thumb error.
830 * (T313157) IndexPager: Also protect against $offset being 0.
831 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
833 == MediaWiki 1.39.3 ==
835 This is a security and maintenance release of the MediaWiki 1.39 branch.
837 === Changes since MediaWiki 1.39.2 ===
838 * Localisation updates.
839 * (T328477) LinksUpdate: Use DB key for category links table.
840 * GlobalFunctions: Remove check for MEDIAWIKI constant.
841 * (T329484) API: Fix query+allimages user parameter description.
842 * (T330529) SpecialEditTags: Set default of '' for wpReason.
843 * (T330382) postgres: Make the upgrade ignore dropping indexes that
844   might not exist.
845 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
846   multiselects.
847 * (T291753) rdbms: escape backslashes in makeConnectionString for PostgreSQL.
848 * (T325529) Fix total breakage of wgCanonicalServer fallback.
849 * (T318103) mediawiki.storage: Disable async GC during integration test.
850 * (T332461, T332397) TempFSFile: Keep the WeakMap alive.
851 * (T332902) page: fix InvalidArgumentException in SQLPlatform::makeList.
852 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
853   XFF headers.
855 == MediaWiki 1.39.2 ==
857 This is a maintenance release of the MediaWiki 1.39 branch.
859 === Changes since MediaWiki 1.39.1 ===
860 * Localisation updates.
861 * (T325872) ChangeTags: Remove table name from condition.
862 * (T324895) MWCallbackStream: Add explicit $stream property.
863 * (T297031, T326039) PostgresUpdater: Move setDefault ahead of
864   changeNullableField.
865 * (T321319) Produce HTML for invalid JSON.
866 * (T215466, T326071) MigrateActors: Write to revision table (Follow-up 24115a8).
867 * (T223027) ReservedUsernames config: Add reserved names from maintenance
868   scripts.
869 * (T325000, T324896, T307631) Updated OOUI from v0.44.3 to v0.44.5.
870 * Remove /images .htaccess rules that are no longer relevant.
871 * Disable php in .htaccess of images directory as a hardening measure.
872 * (T322583) Include missing message parameter in message.
873 * LocalFileTest: use encodeBlob/decodeBlob for img_metadata.
874 * DatabaseSqlite: fix null blobs.
875 * rdbms: avoid pg_escape_bytea() call-style deprecation notices.
876 * (T322278) Improve LocalisationCache post-merge validation check.
877 * (T324408, T326367) Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
878 * (T322278) Fix the remaining Phan failures on PHP 8.1.
879 * (T322278, T326367) Respond to some messages from Phan on PHP 8.1.
880 * Fix phan error when Excimer is enabled.
881 * (T326021) Add matrix: to $wgUrlProtocols.
882 * (T314099) stream wrapper: Declare $context class property.
883 * (T314099) libs\jsminplus: Declare JSNode::$expression.
884 * (T314096) composer.json: Updated composer/spdx-licenses from 1.5.6 to 1.5.7.
885 * (T326472) Upgrading cssjanus/cssjanus (v2.1.0 => v2.1.1).
886 * (T308536) rdbms: Remove deprecation mark for $wgSharedDB.
887 * (T215466, T326071) installer: Split drop action out of the SQL patch for actor
888   migration.
889 * (T322603) SqliteMaintenance.php: Fix fatally broken instanceof check.
890 * (T326377) rdbms: Use DBConnRef in SelectQueryBuilder.
891 * api/en.json: api-help-datatype-expiry add missing 'may'.
892 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
893 * (T328222) Pass empty string to strlen() if schema is null for
894   PostgresDatabase.
895 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
896 * (T155582, T328503) Fix XML dumps for content types with non-string
897   getNativeData().
898 * (T326886) PoolCounterRedis: Fix wrong cast, locks weren't being released.
899 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses
900 * (T327821) skin: Restore default 'value' attribute in makeSearchButton().
901 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
902 * (T329415) Clear the statsd data buffer regardless of StatsdServer config.
903 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text' tag.
904 * (T330049) UnregisteredLocalFile: Don't call MimeAnalyzer if no path.
905 * (T324894 TempFSFile: Use a WeakMap for reference tracking if available.
906 * (T295637) Add no to fallback chain of nb and nn.
908 == MediaWiki 1.39.1 ==
910 This is a security and maintenance release of the MediaWiki 1.39 branch.
912 === Changes since MediaWiki 1.39.0 ===
913 * Localisation updates.
914 * PostgresUpdater: Remove trailing space from 'user_id ' column.
915 * (T304515) LCStoreStaticArray: atomically replace the cache file.
916 * (T324516) postgres: Fix upgrade for templatelinks primary key.
917 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
918 * (T324513) uuid\GlobalIdGenerator: Check if getmyuid() exists.
919 * (T314099) OutputPage: Remove unused dynamic property ParserOptions->isBogus.
920 * (T314099) api: Remove use of undeclared property in action=comparepages.
921 * Upgrading wikimedia/xmp-reader (0.8.5 => 0.8.6).
922 * (T324489) Upgrading wikimedia/parsoid (v0.16.0 => v0.16.1).
923 * Updated pear/mail (v1.4.1 => v1.5.0).
924 * Removed wikimedia/dodo (v0.4.0).
925 * (T324910) On pages using multi-content revisions, the raw content of a
926   specific slot can be retrieved using the action=raw&slot=<role-name> query
927   parameters.
928 * (T322637) SECURITY: sqlite should not create DB file world-readable.
930 == MediaWiki 1.39.0 ==
932 === Changes since MediaWiki 1.39.0-rc.1 ===
933 * Localisation updates.
934 * exception: Tolerate no service container when trying DB rollback.
935 * (T320282) Upgrading wikimedia/xmp-reader (0.8.3 => 0.8.4).
936 * objectcache: Deprecate WANObjectCache::reap() and ::reapCheckKey().
937 * (T320864) When calling mail(), use an array for headers.
938 * Upgrading wikimedia/xmp-reader (0.8.4 => 0.8.5).
939 * (T321154) Call setFormIdentifier() on LogEventsList form.
940 * When importing revision with same timestamp as latest revision, treat
941   it as the new latest.
942 * (T320726) RandomImageGenerator::getImageSpec: Don't pass a float to mt_rand(),
943   for PHP 8.1.
944 * (T298485, T322360) WikiExporter: Avoid calling reload in processing every row.
945 * (T321551) pager: Fix null used for foreach in Pager::getNavigationBar.
946 * (T321551) pager: Remove unused AlphabeticPager::getOrderTypeMessages()
947   support.
948 * pager: Remove unused PagerNavigationBuilder::setExtra().
949 * PagerNavigationBuilder: Document that nulls in setLinkQuery() etc. are
950   allowed.
951 * (T322335) ApiQueryRevisionsBase: Fix 'rvdiffto' parameter handling on PHP 8.0.
952 * (T314096) TestFileEditor: Fix string interpolation.
953 * (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions.
954 * (T322803) SpecialBotPasswords: Don't pass null to trim().
955 * (T289926) Fix incomplete ITextFormatter mocks.
956 * Language: Handle ronna and quetta.
957 * (T72510) rdbms: make SqlitePlatform::tableName() apply double quotes.
958 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0.
959 * .gitattributes: Ship docker-compose.yml to the tarball.
961 == MediaWiki 1.39.0-rc.1 ==
963 === Changes since MediaWiki 1.39.0-rc.0 ===
964 * Localisation updates.
965 * (T318481) composer: Drop symfony/php73-polyfill.
966 * (T318460) SpecialChangeEmail: Set default for returntoquery.
967 * (T318307) HTMLFormField::validate(): Update docs to permit all data types
968 * (T306802) docker: update to latest published images.
969 * (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset.
970 * (T227047) Soft-deprecate the remainder of ActorMigration.
971 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
972   in an IP range check on Special:Contributions.
973 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
974   of hidden users.
975 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
976   "alreadyrolled" can leak revision deleted user name.
977 * (T319186) .phan/config.php: Update minimum_target_php_version.
978 * Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings).
979 * (T319186) .phan/config.php: Update minimum_target_php_version.
980 * (T310243) Deprecate use of 'wvui-search' package.
981 * utils: Fix return doc about false/null for UrlUtils::expand.
982 * (T319000) WebInstaller: Don't try and run trim() on null.
983 * In the event of preg failure in MagicWordArray throw exception.
984 * (T318753) Installer: Disable logo dropper for now.
986 == MediaWiki 1.39.0-rc.0 ==
988 == Upgrading notes for 1.39 ==
989 Don't forget to always back up your database before upgrading!
991 See the file UPGRADE for more detailed per-version upgrade instructions from the
992 oldest supported upgrading version, MediaWiki 1.31.
994 Some specific notes for MediaWiki 1.39 upgrades are below:
995 * (T278139) Drop PHP 7.3 support in MediaWiki 1.39; require 7.4.3 or higher.
997 For notes on 1.38.x and older releases, see HISTORY.
999 === Configuration changes for system administrators in 1.39 ===
1001 ==== New configuration ====
1002 * $wgAutoCreateTempUser – This configures automatic user creation on page save.
1003 * $wgCopyUploadAllowOnWikiDomainConfig – This configures if administrators can
1004   use the MediaWiki:Copyupload-allowed-domains system message to define which
1005   domains can be used with the upload-by-url tool.
1006 * $wgCdnMatchParameterOrder – This can be set to false if MediaWiki is behind a
1007   CDN that re-orders query parameters. This will make the code that matches
1008   request URLs to canonical CDN URLs insensitive to parameter order.
1009 * $wgMultiShardSiteStats – This allows you to split site_stats across multiple
1010   rows. Only useful for very large, heavily edited wikis. (T306589)
1011 * $wgPrivilegedGroups – Users belonging in some of the listed groups will be
1012   audited more aggressively.
1014 ==== Changed configuration ====
1015 * $wgInvalidUsernameCharacters – This setting now contains the char '>', which
1016   is now the reserved delimiter for external user names.
1017 * $wgLocalFileRepo – The default serialization method for file meta-data has
1018   been changed to JSON. You can revert it to PHP by setting the property
1019   'useJsonMetadata' to false.
1020 * $wgLBFactoryConf – The 'configCallback' flag can now be set to a callback
1021   function that returns an array with keys to update in $wgLBFactoryConf. This
1022   can be used to update the database configuration on the fly, e.g. to take
1023   replica hosts out of rotation.
1024 * $wgDBservers and $wgLBFactoryConf – The DBO_SSL flag in has been deprecated in
1025   favour of a boolean "ssl" parameter.
1026 * $wgObjectCaches – The 'globalKeyLB' and 'localKeyLB' flags are no longer
1027   supported.
1029 ==== Removed configuration ====
1030 * $wgMultiContentRevisionSchemaMigrationStage - This transition flag, deprecated
1031   since MediaWiki 1.35, has been removed; the data migration is over.
1032 * $wgActorTableSchemaMigrationStage - This transition flag has been removed; the
1033   data migration is over.
1034 * $wgWikiFarmSiteDetector – This experimental setting has been removed without
1035   replacement. Use the MW_WIKI_NAME environment variable to specifiy the name of
1036   the site for which to load configuration. Using the WIKI_NAME environment
1037   variable for this purpose is deprecated.
1038 * $wgParserCacheUseJson - The ParserCache now always uses JSON serialization.
1039   Reading old non-JSON cache entries is still supported. The setting had been
1040   deprecated since 1.36.
1041 * $wgAllowJavaUploads - To allow uploads of JAR files, remove application/java
1042   from $wgMimeTypeExclusions.
1043 * $wgMaxRedirects – This broken feature was removed, as it never worked as
1044   intended (T296430).
1045 * $wgElementTiming – This experimental, default-disabled feature has been
1046   removed without replacement.
1047 * $wgPriorityHints and $wgPriorityHintsRatio – The related experimental feature
1048   has been removed without replacement.
1049 * $wgIncludeLegacyJavaScript – This flag has been removed, without loss of any
1050   functionality in this release. Most former "wikibits" functions were removed
1051   after deprecation in previous releases. The remaining functions, such as
1052   importScript, are now available unconditionally.
1053 * $wgLegacySchemaConversion - This unused setting has been removed.
1054 * $wgInterwikiPrefixDisplayTypes - This unused setting has been removed.
1055 * $wgMangleFlashPolicy – This is no longer functional, and is now deprecated.
1056   Users who are somehow still using Flash as a browser extension will be exposed
1057   to CSRF vulnerabilities.
1059 === New user-facing features in 1.39 ===
1060 * Optional automatic user creation on page save ($wgAutoCreateTempUser)
1061 * Administrators now have the option to delete/undelete the associated "Talk"
1062   page when they are (un)deleting a given page. `deletetalk` and `undeletetalk`
1063   options were added to the 'delete' and 'undelete' action APIs in MW 1.38.
1064 * `{{=}}` is now a wikitext built-in magic word, expanding to `=`.  This is
1065   conventionally used as an escape mechanism to allow the use of `=` in
1066   unnamed template arguments.  Defining [[Template:=]] to expand to something
1067   other than `=` has been deprecated since 1.36, with affected pages put into
1068   a special tracking category for migration.
1069 * (T284020) Bot passwords are now supported when using the REST API.
1071 === New developer features in 1.39 ===
1072 * Added optional $size param to SearchResultProvideThumbnail hook.
1073 * SearchResultProvideThumbnail hook interface moved from MediaWiki\Rest\Hook
1074   namespace to MediaWiki\Search\Hook.
1075 * JsonValidateSaveHook has been added to allow extensions to set additional
1076   pre-save validations for specific JSON pages (T313254)
1077 * Added 'PermissionErrorAudit' hook, enabling extensions to audit permission
1078   errors on specfic actions. For instance account registration failed attempts
1079   due to a block (T306018).
1081 === External library changes in 1.39 ===
1083 ==== New external libraries ====
1084 * Added Codex v0.1.1. This replaces the now deprecated wvui library.
1085 * Added symfony/polyfill-php81.
1087 ===== New development-only external libraries =====
1088 * Updated QUnit from 2.18.0 to 2.18.2.
1090 ==== Changed external libraries ====
1091 * Updated jQuery from v3.6.0 to v3.6.1.
1092 * Updated OOUI from v0.43.2 to v0.44.5.
1093 * Updated composer/semver from 3.2.6 to 3.3.2.
1094 * Updated cssjanus/cssjanus fromv2.1.0 to v2.1.1.
1095 * Updated pear/mail from v1.4.1 to v1.5.1.
1096 * Updated symfony/polyfill-php73 from 1.25.0 to 1.26.0.
1097 * Updated symfony/polyfill-php80 from 1.25.0 to 1.26.0.
1098 * Updated symfony/yaml from 5.4.3 to 5.4.10.
1099 * Updated vue/compat from 3.2.23 to 3.2.37.
1100 * Updated wikimedia/base-convert from 2.0.1 to 2.0.2.
1101 * Updated wikimedia/html-formatter from 3.0.1 to 4.0.3.
1102 * Updated wikimedia/ip-set from 3.0.0 to 3.1.0.
1103 * Updated wikimedia/minify from 2.2.6 to 2.3.0.
1104 * Updated wikimedia/php-session-serializer from 2.0.0 to 2.0.1.
1105 * Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
1106 * Updated wikimedia/running-stat from 1.2.1 to 2.1.0.
1107 * Updated wikimedia/scoped-callback from 3.0.0 to 4.0.0.
1108 * Updated wikimedia/services from 2.0.1 to 3.0.0.
1109 * Updated wikimedia/timestamp from 3.0.0 to 4.0.0.
1110 * Updated wikimedia/xmp-reader from 0.8.1 to 0.8.6.
1112 ===== Changed development-only external libraries =====
1113 * Updated composer/spdx-licenses from 1.5.5 to 1.5.7.
1114 * Updated doctrine/dbal for PHP < 7.3 from 2.13.6 to 2.13.9.
1115 * Updated doctrine/dbal for PHP >= 7.3 from 3.1.5 to 3.4.2.
1116 * Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1.
1118 ==== Removed external libraries ====
1119 * Removed wikimedia/dodo (v0.4.0).
1121 === Bug fixes in 1.39 ===
1122 * (T314013) $wgExtraNamespaces no longer overrides canonical namespace names
1123   specified in extension.json files. While this setting can still be used to
1124   rename extension-defined namespaces, system administrators may need to run
1125   namespaceDupes.php after upgrading.
1127 === Action API changes in 1.39 ===
1128 * New `undeletetalk` parameter on action=undelete that allows you to restore
1129   all revisions of the associated talk page.
1131 === Languages updated in 1.39 ===
1132 MediaWiki supports over 350 languages. Many localisations are updated regularly.
1133 Below only new and removed languages are listed, as well as changes to languages
1134 because of Phabricator reports.
1136 * Actual localization was added for several languages, which were already
1137   in Names.php and even used for a Wikipedia:
1138 ** (T313200) Added language support for Rundi (Kirundi, rn).
1139 ** (T310976) Added language support for Tumbuka (ChiTumbuka, tum).
1140 ** (T314270) Added language support for Kanuri (kr).
1141 * (T313199) Added language support for Sylheti (syl).
1142 * (T311975) Added language support for Ghanaian Pidgin (gpe).
1143 * (T307080) Added language support for Okinawan (ryu).
1144 * (T307887) Added language support for Mooré (mos).
1145 * (T308813) Added language support for Nigerian Pidgin (pcm).
1146 * (T309763) Added language support for Tai Nüa (tdd).
1147 * (T310040) Added language support for Fante (fat).
1148 * (T311034) Added language support for Campidanese Sardinian (sro).
1149 * (T315406) Fix the autonym of the Iñupiaq language to "Iñupiatun".
1150 * (T315677) Removed French fallback from the Fula language (ff).
1151 * (T304920) In Swahili, The "Media" namespace is now "Media", as in English,
1152   and the "File" namespace is now "Faili". The old name of the "File" namespace
1153   was "Picha", and it's kept for backwards compatibility. If you manage a wiki
1154   in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and
1155   you mean to use it as "Media:", these need to be replaced to "Media:".
1156 * (T309866) Some namespace translations were updated for Kyrgyz (ky). The old
1157   ones are retained as aliases for backwards compatibility.
1158 * (T117845) Started the renaming of the language codes for Serbian from sr-ec
1159   and sr-el to sr-cyrl and sr-latn.
1160 * (T295637) Add no to fallback chain of nb and nn.
1162 === Breaking changes in 1.39 ===
1163 * Basic non-JavaScript (Grade C) support has been dropped for Internet Explorer
1164   9-10, Firefox 27-38, and Android 4.3-4.4.
1165 * The following methods, deprecated since 1.37, have been removed from IDatabase
1166   - ::fetchObject()
1167   - ::fetchRow()
1168   - ::numRows()
1169   - ::freeResult()
1170 * Title::getDefaultNamespace(), deprecated since 1.37, has been removed.
1171 * The DBPrimaryPos class alias 'DBMasterPos' has been removed.
1172 * The global function wfGetLB(), deprecated since 1.27, has been removed.
1173 * Passing a db to BlockRestrictionStore::loadByBlockId() is no longer supported.
1174   BlockRestrictionStoreFactory should be used to fetch a correct
1175   BlockRestrictionStore instead. This was deprecated since 1.38.
1176 * The global function wfGetCache(), deprecated since 1.32, has been removed. You
1177   can use ObjectCache::getInstance() instead.
1178 * The global function wfGetMainCache(), deprecated since 1.32, has been removed.
1179   You can use ObjectCache::getLocalClusterInstance() instead.
1180 * MovePage::__construct() now requires that all parameters be passed. The
1181   fallback to MediaWikiServices emitted deprecation notices since 1.37.
1182 * WikiPage::doEditContent(), deprecated since 1.32, was removed.
1183 * WikiPage::prepareContentForEdit() now requires a UserIdentity parameter to be
1184   provided. Not providing one has been deprecated since 1.37.
1185 * EventRelayerKafka, deprecated in 1.38, was removed.
1186 * MediaWiki\Logger\Monolog\KafkaHandler, deprecated in 1.38, was removed.
1187 * The "trace" option of SectionProfiler, deprecated in 1.38, was removed.
1188 * The global function wfWikiID(), deprecated since 1.35, has been removed.
1189 * Database::wasKnownStatementRollbackError() was removed. Subclasses should
1190   override isKnownStatementRollbackError() instead.
1191 * Database::wasQueryTimeoutError() was removed. Subclasses should
1192   override isQueryTimeoutError() instead.
1193 * Database::buildSuperlative() has been removed without deprecation.
1194 * The following methods, deprecated in 1.37, have been removed:
1195   - Linker::setStubThreshold(), ::getStubThreshold().
1196   - LinkRendererFactory::createForUser().
1197   - ParserOptions::getStubThreshold(), ::setStubThreshold().
1198 * Changes to ResourceLoader modules:
1199   - The mediawiki.viewport module, deprecated in 1.37 has been
1200      removed. Use IntersectionObserver instead.
1201 * If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere,
1202   and you mean to use it as "Media:", replace it with "Media:". See T304920.
1203 * Changes to skins:
1204   - Skin::getCopyrightIcon(), ::getPoweredBy(), deprecated in 1.37 have been
1205     removed.
1206   - Skin::bottomScripts, deprecated in 1.37, now emits deprecation notices.
1207     Skins using SkinTemplate must set bodyOnly as a skin option and
1208     remove lines of code generating html, body and head elements.
1209   - Skin::makeSearchButton and Skin::makeSearchInput were deprecated in 1.38.
1210     Use SkinTemplate methods with the same name or Skin::getTemplateData
1211     instead.
1212   - Styles for the HTML classes `warningbox`, `errorbox` and `successbox` have
1213     been removed in favor of Html class methods.
1214   - The feature `legacy` used inside ResourceLoaderSkinModule,
1215     deprecated in 1.37, will no longer ship any styles.
1216   - Skin::getSkinStylePath, deprecated since 1.36, has been removed.
1217   - Skin::getPortletData has been made private.
1218   - SkinTemplate::getPersonalToolsList(), deprecated in 1.35 has been
1219     removed.
1220   - The following SkinTemplate template data, deprecated in 1.37,
1221     have been removed:
1222      - poweredbyico
1223      - copyrightico
1224   - The following hooks, deprecated in 1.37, have been removed:
1225      - SkinGetPoweredBy: SkinGetPoweredByHook
1226   - The following hooks are deprecated and replaced with
1227     SkinTemplateNavigation::Universal:
1228      - SkinTemplateNavigation::SpecialPage
1229      - SkinTemplateNavigation
1230      - PersonalUrls
1231   - The mediawiki.skinning.content.externallinks module, which was
1232     deprecated in 1.36 has been removed. Skins that still rely on it
1233     will lose the icon styling of external links by type.
1234 * Experimental wiki farm support: Automatic detection of the requested site
1235   within a wiki farm based on the requested domain has been removed.
1236   Use the MW_WIKI_NAME environment variable to specify the name of the site
1237   to load configuration for. Using the WIKI_NAME environment variable for this
1238   purpose is deprecated. This is only relevant if you have been using
1239   $wgWikiFarmSettingsDirectory to load wiki farm config.
1240 * MWExceptionHandler::installHandler was marked @internal and had required
1241   arguments added. This method is intended for use in bootstrap code and is
1242   unused in known extensions.
1243 * MWException::useOutputPage was made private without deprecation.
1244   This method was apparently only public for testing and is unused in known
1245   extensions.
1246 * Calling getId() on a User or UserIdentityValue from the wrong wiki, deprecated
1247   since 1.36, now throws an exception.
1248 * The following methods have been removed from ExtensionRegistry without
1249   deprecation and without replacement. They had been introduced in 1.35 for use
1250   in the testing framework, and were not in use by any known extension:
1251   - exportAutoloadClassesAndNamespaces
1252   - exportTestAutoloadClassesAndNamespaces
1253 * The MWNamespace class, deprecated since 1.34, has been removed. Use the
1254   NamespaceInfo service instead.
1255 * The UnknownContent and UnknownContentHandler class aliases have been removed,
1256   use FallbackContent and FallbackContentHandler instead.
1257 * IResultWrapper::next() now returns void, to match the Iterator interface that
1258   it implements. fetchObject() has the same behavior as next() used to.
1259 * In HTMLForm HTMLAutoCompleteSelectFields, the parameters 'autocomplete' and
1260   'autocomplete-messages', which were deprecated in MediaWiki 1.29, were
1261   removed. Instead, use 'autocomplete-data' and 'autocomplete-data-messages'.
1262 * The global $wgParser, deprecated in 1.32, was removed. Use
1263   MediaWikiServices::getInstance()->getParser() instead.
1264 * ParserOutput::setText will now set the ParserOutput's text to null if
1265   given null. Previously it did nothing if given null.
1266 * The default value for the first argument to the ParserOutput constructor
1267   is now null instead of ''.
1268 * IDatabase::lockTables() and IDatabase::unlockTables(), deprecated since 1.38,
1269   have been removed.
1270 * The $context parameter to `new HTMLForm( … )` and `HTMLForm::factory( … )`
1271   is now required.
1272 * The class alias for revision related classes in namespace MediaWiki\Storage
1273   has been removed. Classes are IncompleteRevisionException,
1274   MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
1275   RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
1276   RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
1277   SuppressedDataException.
1278 * Calling getBy() on an AbstractBlock from the wrong wiki, deprecated since
1279   1.38, now throws an exception.
1280 * Passing a MediaWiki\Linker\LinkTarget to EditPage::makeTemplatesOnThisPageList
1281   or TemplatesOnThisPageFormatter::format is no longer supported,
1282   a MediaWiki\Page\PageIdentity is required.
1283 * The deprecated class alias FakeConverter has been removed, use
1284   TrivialLanguageConverter instead.
1285 * The deprecated ApiQueryContributions class alias has been removed, use
1286   ApiQueryUserContribs instead.
1287 * The deprecated MediaWiki\Special\SpecialPageFactory class alias has been
1288   removed, use MediaWiki\SpecialPage\SpecialPageFactory instead.
1289 * The following skin modules, deprecated in 1.37, have been removed:
1290         - mediawiki.skinning.elements
1291         - mediawiki.skinning.content
1292         - mediawiki.toc.styles
1293         - mediawiki.legacy.config
1294         - mediawiki.legacy.shared
1295         - mediawiki.legacy.commonPrint
1296 * FileModule::compileLessFile(), deprecated since 1.35, has been removed. Use
1297   ::compileLessString() instead.
1298 * LogFormatter::styleRestricedElement(), deprecated since 1.37, has been
1299   removed. Use ::styleRestrictedElement() instead.
1300 * Title::isNamespaceProtected(), deprecated in 1.34, has been removed.
1301 * ApiStashEdit::parseAndStash(), deprecated in 1.34, has been removed.
1302 * LinkCache::forUpdate(), deprecated in 1.34, has been removed.
1303 * Passing null instead of a NamespaceInfo instance to LinkCache::__construct()
1304   is not supported anymore. It is recommended to request an instance from the
1305   service container.
1306 * ApiQueryBase::showHiddenUsersAddBlockInfo(), deprecated in 1.34, has been
1307   removed. Use ApiQueryBlockInfoTrait instead.
1308 * ApiQueryBase::prefixedTitlePartToKey(), deprecated in 1.35, has been removed.
1309   Use ::parsePrefixedTitlePart() instead.
1310 * ExternalStoreDB::getSlave(), deprecated in 1.34, has been removed. Use
1311   ExternalStoreDB::getReplica() instead.
1312 * ChangesListSpecialPage::checkStructuredFilterUiEnabled() and
1313   SpecialWatchlist::checkStructuredFilterUiEnabled() now support UserIdentity
1314   as the only argument. Passing Config argument was deprecated in 1.34.
1315 * DatabaseUpdater::ifNoActorTable(), deprecated in 1.35, has been removed. Use
1316   ::ifTableNotExists() instead.
1317 * MediaWiki\Revision\RevisionStoreFactory::getRevisionStore was documented
1318   to allow passing bool true as a dbDomain, this is no longer possible,
1319   because that is an invalid value for a dbDomain.
1320 * LinkHolderArray::__construct() had its signature changed. The class was marked
1321   internal in 1.35.
1322 * SpecialMute::isTargetBlacklisted(), deprecated in 1.35, has been removed. Use
1323   ::isTargetMuted() instead.
1324 * WebRequest::checkUrlExtension(), deprecated in 1.35, has been removed.
1325 * ContentHandler::cleanupHandlersCache(), deprecated in 1.35, has been removed.
1326 * SpecialVersion::getExtAuthorsFileName, deprecated in 1.35, has been removed.
1327   Use MediaWiki\ExtensionInfo::getAuthorsFileName.
1328 * SpecialVersion::getExtLicenseFileName, deprecated in 1.35, has been removed.
1329   Use MediaWiki\ExtensionInfo::getLicenseFileNames.
1330 * CategoryPage::getCategoryViewerClass and ::setCategoryViewerClass, deprecated
1331   in 1.35, have been removed.
1332 * SqlBlobStore::getLegacyEncodingConversionLang(), deprecated in 1.34, has been
1333   removed.
1334 * wfCanIPUseHTTPS(), deprecated in 1.37, has been removed.
1335 * wfGetScriptUrl(), deprecated in 1.35, has been removed.
1336 * The following methods of Database class, are no longer stable to override:
1337   - ::implicitOrderby()
1338   - ::selectSQLText()
1339   - ::bitNot()
1340   - ::bitAnd()
1341   - ::bitOr()
1342   - ::buildConcat()
1343   - ::buildGreatest()
1344   - ::buildLeast()
1345   - ::buildSubstring()
1346   - ::buildStringCast()
1347   - ::buildIntegerCast()
1348   - ::tableName()
1349   - ::addIdentifierQuotes()
1350   - ::buildLike()
1351   - ::limitResult()
1352   - ::unionSupportsOrderAndLimit()
1353   - ::unionQueries()
1354   - ::conditional()
1355   - ::strreplace()
1356   - ::timestamp()
1357   - ::getInfinity()
1358   - ::setTableAliases()
1359   - ::setIndexAliases()
1360   - ::buildGroupConcatField()
1361 * SpecialUnblock::processUnblock(), deprecated in 1.36, has been removed. Use
1362   UnblockUser instead.
1363 * wfLocalFile() and wfFindFile(), deprecated in 1.34, have been removed.
1364 * Maintenance script resetUserTokens.php, deprecated in 1.27, has been removed.
1365 * These methods in Database have been removed without deprecation as they are
1366   not used outside core. Users should override corresponding methods in
1367   SQLPlatform instead:
1368   - Database::doInsert -> SQLPlatform::insertSqlText
1369   - Database::doDropTable -> SQLPlatform::dropTableSqlText
1370   - Database::doRollback -> SQLPlatform::rollbackSqlText
1371   - Database::doSavepoint -> SQLPlatform::savepointSqlText
1372   - Database::doReleaseSavepoint -> SQLPlatform::releaseSavepointSqlText
1373   - Database::doRollbackToSavepoint -> SQLPlatform::rollbackToSavepointSqlText
1374 * The following protected methods of Database class have been removed without
1375   deprecation as they are not used outside core. Users should call
1376   corresponding methods in SQLPlatform:
1377   - Database::makeInsertLists -> SQLPlatform::makeInsertLists
1378   - Database::isFlagInOptions -> SQLPlatform::isFlagInOptions
1379   - Database::normalizeOptions -> SQLPlatform::normalizeOptions
1380   - Database::fieldNameWithAlias -> SQLPlatform::fieldNameWithAlias
1381   - Database::isTransactableQuery -> SQLPlatform::isTransactableQuery
1382 * $wgCanonicalNamespaceNames no longer includes custom namespaces defined using
1383   $wgExtraNamespaces. Extensions should use the NamespaceInfo service instead
1384   of accessing this configuration setting directly.
1385 * The following hook, deprecated in 1.35, has been removed:
1386      - ParserGetVariableValueVarCache: ParserGetVariableValueVarCacheHook
1387 * The $variableCache parameter to the ParserGetVariableValueSwitch hook is
1388   no longer used; non-standard use of this parameter has been deprecated since
1389   1.35.
1390 * These methods have been moved from IDatabase to IMaintainableDatabase:
1391   - IDatabase::fieldExists -> IMaintainableDatabase::fieldExists
1392   - IDatabase::indexExists -> IMaintainableDatabase::indexExists
1393   - IDatabase::tableExists -> IMaintainableDatabase::tableExists
1394 * DBConnRef doesn't accept live connection in constructor anymore.
1395   Only parameters for getting connection should be provided.
1396 * IDatabase::getTopologyRootPrimary() was removed.
1397 * User::blockedBy(), deprecated since 1.38, has been removed.
1398 * User::getBlockId(), deprecated since 1.38, has been removed.
1399 * AlphabeticPager::getOrderTypeMessages(), unused since 1.13, has been removed
1400   without deprecation.
1402 === Deprecations in 1.39 ===
1403 * PageProps::getInstance(), deprecated since 1.38, emits deprecations warnings.
1404 * The global function wfGetDB() has been deprecated. Use
1405   LoadBalancer::getConnection() instead.
1406 * SpecialRedirectWithAction::__construct without SearchEngineFactory argument
1407   will now emit a deprecation notice.
1408 * Use of the SiteStatsUpdate constructor has been deprecated in favor of
1409   the ::factory() method.
1410 * AuthManager::checkAccountCreatePermissions has been deprecated. Use
1411   AuthManager::authorizeCreateAccount or AuthManager::probablyCanCreateAccount
1412   instead.
1413 * Title::getSelectFields() has been deprecated in favor of
1414   PageStore::newSelectQueryBuilder()
1415 * Title::newFromTitleValue(), deprecated since in 1.34, now emits deprecation
1416   warnings. Use ::newFromLinkTarget() instead.
1417 * ExtensionRegistry::readFromQueue() has been marked @internal. Extensions
1418   should use ExtensionProcessor instead.
1419 * Processor::getExtraAutoloaderPaths() and
1420   ExtensionProcessor::getExtraAutoloaderPaths() have been deprecated, use get
1421   getExtractedAutoloadInfo() instead.
1422 * The following global functions are deprecated in favor of the listed UrlUtils
1423   methods.
1424   - wfExpandUrl -> UrlUtils::expand
1425   - wfGetServerUrl -> UrlUtils::getServer
1426   - wfAssembleUrl -> UrlUtils::assemble
1427   - wfRemoveDotSegments -> UrlUtils::removeDotSegments
1428   - wfUrlProtocols -> UrlUtils::validProtocols
1429   - wfUrlProtocolsWithoutProtRel -> UrlUtils::validAbsoluteProtocols
1430   - wfParseUrl -> UrlUtils::parse
1431   - wfExpandIRI -> UrlUtils::expandIRI
1432   - wfMatchesDomainList -> UrlUtils::matchesDomainList
1433   These methods are exact replacements except that
1434   1) they return null instead of false or empty string on error (where
1435      applicable);
1436   2) UrlUtils::validProtocols does not take a parameter (documentation said not
1437      to pass one to wfUrlProtocols anyway);
1438   3) they use type hints (don't try passing null instead of string, etc.).
1439 * MaintainableDBConnRef is deprecated, use DBConnRef instead.
1440 * Loading DefaultSettings.php is deprecated. To get default values of main
1441   config settings, use MainConfigSchema::listDefaultValues() or
1442   MainConfigSchema::getDefaultValue().
1443 * AbstractContent::getRedirectChain() and
1444   AbstractContent::getUltimateRedirectTarget() are now emitting deprecation
1445   warnings (T296430).
1446 * (T244138) QueryPage::getSQL() is deprecated. Instead QueryPage::getQueryInfo()
1447   should be overridden.
1448 * Calling new JobRunner() directly without $serviceOptions now emits
1449   deprecation warnings. Use MediaWikiServices::getInstance()->getJobRunner()
1450   instead.
1451 * Passing an array of targets to Article::getRedirectHeaderHtml() is
1452   deprecated. Supply a single redirect target instead (T296430).
1453 * The following Less mediawiki.mixins have been deprecated:
1454   - .animation()
1455   - .animation-delay()
1456   - .transform-rotate()
1457 * Skin::getAction is deprecated. Use IContextSource::getActionName instead.
1458 * User::getOption, deprecated since 1.35, now emits deprecation warnings.
1459   Use UserOptionsLookup::getOption instead.
1460 * ILBFactory::forEachLB() is deprecated. Use ::getAllLBs().
1461 * LoadBalancer::forEachOpenConnection() and ::forEachOpenPrimaryConnection()
1462   are deprecated without replacement.
1463 * The following classes were moved from the root namespace to the
1464   MediaWiki\ResourceLoader namespace, the old names becoming deprecated aliases:
1465   ResourceLoader, MessageBlobStore, VueComponentParser.
1466 * The following classes had the "ResourceLoader" prefix stripped while being
1467   moved to the MediaWiki\ResourceLoader namespace, the old names becoming
1468   deprecated aliases: DerivativeResourceLoaderContext,
1469   ResourceLoaderCircularDependencyError, ResourceLoaderClientHtml,
1470   ResourceLoaderCodexModule, ResourceLoaderContext, ResourceLoaderFileModule,
1471   ResourceLoaderFilePath, ResourceLoaderForeignApiModule, ResourceLoaderImage,
1472   ResourceLoaderImageModule, ResourceLoaderLanguageDataModule,
1473   ResourceLoaderLessVarFileModule, ResourceLoaderModule,
1474   ResourceLoaderMwUrlModule, ResourceLoaderOOUIFileModule,
1475   ResourceLoaderOOUIIconPackModule, ResourceLoaderOOUIImageModule,
1476   ResourceLoaderOOUIModule, ResourceLoaderSiteModule,
1477   ResourceLoaderSiteStylesModule, ResourceLoaderSkinModule,
1478   ResourceLoaderStartUpModule, ResourceLoaderUserModule,
1479   ResourceLoaderUserOptionsModule, ResourceLoaderUserStylesModule,
1480   ResourceLoaderWikiModule.
1481 * WANObjectCache::reap() and WANObjectCache::reapCheckKey() have been
1482   deprecated without replacement.
1483 * The following methods in WikiRevision and their interfaces
1484   ImportableUploadRevision and ImportableOldRevision are deprecated:
1485   - ::getUserObj() → ::getUser()
1486   - ::setUserObj() → ::setUsername()
1487   - ::setUserIP() → ::setUsername()
1488 * ObjectCache::addBusyCallback() is deprecated and non-functional.
1489 * MWTimestamp::getHumanTimestamp(), deprecated in 1.26, now emits deprecation
1490   warnings.
1491 * Article::viewRedirect(), deprecated in 1.30, now emits deprecation warnings.
1492 * Parser::getFreshParser() is deprecated, use ParserFactory::getInstance().
1493 * CoreParserFunctions::mwnamespace() is deprecated and emits deprecation
1494   warnings, use CoreParserFunctions::namespace() instead.
1495 * Registering magic variables whose names include a colon is deprecated.
1496 * User::blockedFor(), deprecated in 1.35, now emits deprecation warnings.
1497 * Access to previously public properties AbstractBlock::$mExpiry,
1498   AbstractBlock::$mHideName, AbstractBlock::$mTimestamp, DatabaseBlock::$mAuto,
1499   and DatabaseBlock::$mParentBlockId, deprecated in 1.34, now emits deprecation
1500   warnings.
1501 * Access to previously public properties User::$mBlock, User::$mBlockedby, and
1502   User::$mHideName, deprecated in 1.35, now emits deprecation warnings.
1503 * JobQueueGroup::singleton() and ::destroySingletons(), deprecated in 1.37, now
1504   emit deprecation warnings.
1505 * Title::getNotificationTimestamp(), deprecated in 1.35, now emits deprecation
1506   warnings.
1507 * Global functions wfReadOnly and wfReadOnlyReason, deprecated in 1.38, now
1508   emit deprecation warnings.
1509 * Overriding or calling DifferenceEngine::getDiffBodyCacheKey(), deprecated in
1510   1.31, now emits deprecation warnings.
1511 * Access to previously public property WikiRevision::$fileIsTemp, deprecated in
1512   1.29, now emits deprecation warnings.
1513 * wfQueriesMustScale() has been deprecated and emits deprecation warnings.
1514 * ContextSource::getStats(), RequestContext::getStats(), and
1515   DerivativeContext::getStats(), deprecated in 1.27, now emit deprecation
1516   warnings.
1517 * ManualLogEntry::setTags(), deprecated in 1.33, now emits deprecation warnings.
1518 * WikiRevision::downloadSource(), deprecated in 1.31, now emits deprecation
1519   warnings.
1520 * DifferenceEngine::textDiff(), deprecated in 1.32, now emits deprecation
1521   warnings.
1522 * FormatMetadata::flattenArrayContentLang(), deprecated in 1.36, now emits
1523   deprecation warnings.
1524 * SkinTemplate::getNameSpaceKey(), deprecated in 1.35, now emits deprecation
1525   warnings.
1526 * EnqueueJob::newFromJobsByWiki(), deprecated in 1.33, now emits deprecation
1527   warnings.
1528 * The following methods of the MWGrants class, all deprecated since 1.38,
1529   are now emitting deprecation warnings:
1530   - getValidGrants
1531   - getRightsByGrant
1532   - grantName
1533   - grantNames
1534   - getGrantRights
1535   - grantsAreValid
1536   - getGrantGroups
1537   - getHiddenGrants
1538   - getGrantsLink
1539   - getGrantsWikiText
1540 * DataUpdate::runUpdates(), deprecated in 1.28, now emits deprecation warnings.
1541 * CdnCacheUpdate::newFromTitles(), deprecated in 1.35, now emits deprecation
1542   warnings.
1543 * Instantiating HTMLCacheUpdate class, deprecated in 1.34, now emits deprecation
1544   warnings.
1545 * ISQLPlatform::tableNames() (implemented by IDatabase) is now deprecated.
1546   None of the tableName*() functions should be used by most users;
1547   if you absolutely must use raw SQL, write several tableName() calls instead.
1548 * Language::isWellFormedLanguageTag() has been deprecated in favor of
1549   LanguageCode::isWellFormedLanguageTag().
1550 * The PrevNextNavigationRenderer helper class has been deprecated in favor of
1551   the new PagerNavigationBuilder one.
1552 * The methods IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
1553   IndexPager::buildPrevNextNavigation() have been deprecated in favor of
1554   IndexPager::getNavigationBuilder().
1555 * Overriding the method IndexPager::makeLink() has been deprecated.
1556 * ActorMigration is deprecated. The temporary table is no longer needed, the
1557   actor table can be directly joined to the revision table, which is simple
1558   enough to not need a helper class. See the methods of ActorMigration for more
1559   specific information on replacements. ActorMigrationBase remains usable for
1560   migrations in extension tables.
1562 === Other changes in 1.39 ===
1563 * Dynamic default values are now applied before extension registration callbacks
1564   are run. This way, extensions have a complete view of config variables, with
1565   all defaults applied. For example, when the default value of X used to be
1566   static but becomes dynamic, and an extension reads the value of X in the
1567   registration callback, it will now continue to function as expected. In some
1568   cases however, this may cause an undesired change in behavior: if the dynamic
1569   default of setting X depends on the value of setting Y, and an extension
1570   changes Y, the changed value of Y will no longer affect the value of X.
1572 == Compatibility ==
1574 MediaWiki 1.39 requires PHP 7.4.3 or later and the following PHP extensions:
1576 * ctype
1577 * dom
1578 * fileinfo
1579 * iconv
1580 * intl
1581 * json
1582 * mbstring
1583 * xml
1585 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
1586 be used instead, but support for them is somewhat less mature.
1588 The supported versions are:
1590 * MariaDB 10.3 or higher
1591 * MySQL 5.7.0 or higher
1592 * PostgreSQL 10 or later
1593 * SQLite 3.8.0 or later
1595 == Online documentation ==
1596 Documentation for both end-users and site administrators is available on
1597 MediaWiki.org, and is covered under the GNU Free Documentation License (except
1598 for pages that explicitly state that their contents are in the public domain):
1600        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
1602 == Mailing list ==
1603 A mailing list is available for MediaWiki user support and discussion:
1605        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
1607 A low-traffic announcements-only list is also available:
1609        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
1611 It's highly recommended that you sign up for one of these lists if you're
1612 going to run a public MediaWiki, so you can be notified of security fixes.
1614 == IRC help ==
1615 There's usually someone online in #mediawiki on irc.libera.chat.
1617 = MediaWiki 1.38 =
1619 == MediaWiki 1.38.7 ==
1621 This is a security and maintenance release of the MediaWiki 1.38 branch.
1623 === Changes since MediaWiki 1.38.6 ===
1624 * Localisation updates.
1625 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
1626 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
1627   (2.4.0 => 2.4.5).
1628 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
1629 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
1630 * (T330464) Work around argument corruption bug in XMLReader::open.
1631 * (T313157) IndexPager: Also protect against $offset being 0.
1632 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
1634 == MediaWiki 1.38.6 ==
1636 This is a security and maintenance release of the MediaWiki 1.38 branch.
1638 === Changes since MediaWiki 1.38.5 ===
1639 * Localisation updates.
1640 * (T325872) ChangeTags: Remove table name from condition.
1641 * (T324895) MWCallbackStream: Add explicit $stream property.
1642 * (T297031, T326039) PostgresUpdater: Move setDefault ahead of
1643   changeNullableField.
1644 * Remove /images .htaccess rules that are no longer relevent.
1645 * Disable php in .htaccess of images directory as a hardening measure.
1646 * (T322583) Include missing message parameter in message.
1647 * Fix phan error when Excimer is enabled.
1648 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0
1649 * (T326021) Add matrix: to $wgUrlProtocols.
1650 * (T326377) rdbms: Use DBConnRef in SelectQueryBuilder.
1651 * api/en.json: api-help-datatype-expiry add missing 'may'.
1652 * (T328222) Pass empty string to strlen() if schema is null for
1653   PostgresDatabase.
1654 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
1655 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
1656 * (T155582, T328503) Fix XML dumps for content types with non-string
1657   getNativeData().
1658 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses.
1659 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
1660 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text'
1661   tag.
1662 * (T295637) Add no to fallback chain of nb and nn.
1663 * (T329484) API: Fix query+allimages user parameter description.
1664 * (T330529) SpecialEditTags: Set default of '' for wpReason.
1665 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
1666   multiselects.
1667 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
1668   XFF headers.
1670 == MediaWiki 1.38.5 ==
1672 This is a security and maintenance release of the MediaWiki 1.38 branch.
1674 === Changes since MediaWiki 1.38.4 ===
1675 * Localisation updates.
1676 * Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings).
1677 * (T319000) WebInstaller: Don't try and run trim() on null.
1678 * (T318753) Installer: Disable logo dropper for now.
1679 * (T320864) When calling mail(), use an array for headers.
1680 * (T311567) In ManualLogEntry, cast the comment to string.
1681 * (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions.
1682 * (T322803) SpecialBotPasswords: Don't pass null to trim().
1683 * (T323082) Upgrading wikimedia/xmp-reader (0.8.1 => 0.8.5).
1684 * Language: Handle ronna and quetta.
1685 * PostgresUpdater: Remove trailing space from 'user_id ' column.
1686 * (T304515) LCStoreStaticArray: atomically replace the cache file.
1687 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
1688 * (T324910) On pages using multi-content revisions, the raw content of a
1689   specific slot can be retrieved using the action=raw&slot=<role-name> query
1690   parameters.
1691 * (T322637) SECURITY: sqlite should not create DB file world-readable.
1693 == MediaWiki 1.38.4 ==
1695 This is a maintenance release of the MediaWiki 1.38 branch.
1697 === Changes since MediaWiki 1.38.3 ===
1698 * Fix missing use statement from backport of fix for T307278.
1700 == MediaWiki 1.38.3 ==
1702 This is a security and maintenance release of the MediaWiki 1.38 branch.
1704 === Changes since MediaWiki 1.38.2 ===
1705 * Localisation updates.
1706 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
1707 * (T311559) SpecialListFiles: user parameter isn't always present.
1708 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
1709 * (T311920) SpecialBlockList: Prevent passing null to trim().
1710 * (T311921) SpecialUserrights: Don't pass null to str_replace.
1711 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
1712   Title::capitalize().
1713 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
1714 * (T311360) RecentChange: Straight join to actor table when needed.
1715 * (T311360) RecentChange: Make join to comment table also straight.
1716 * Remove messages in en-gb.json.
1717 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
1718 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
1719 * (T312302) SpecialRedirect: Don't pass null to explode.
1720 * RemoveInvalidEmails: Fix quoting for postgres.
1721 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
1722   strlen().
1723 * (T312300) SpecialDiff: Don't pass null to explode().
1724 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
1725 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
1726 * (T289926) Ensure that strlen() does not get passed a (valid) null.
1727 * (T312301) SpecialDiff: Don't pass null to trim().
1728 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
1729 * (T289926) Ensure we don't pass null to mb_strlen.
1730 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
1731   calls.
1732 * (T289926) site: Consistently return null from Site::getDomain().
1733 * (T307304, T289879) filebackend,jobqueue: Add signature for
1734   FilterIterator::accept().
1735 * (T304559) Use page ID from parent revision, improve logging.
1736 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
1737 * Add application/vnd.ms-opentype to MIME list.
1738 * Allow composer/installers plugin in composer.json.
1739 * (T313663) Make ReadOnlyModeTest work in php8.
1740 * (T313663) Make HandlerTestTrait compatible with php8.1.
1741 * (T313663) [php8] Make DeletePageTest stop giving warnings on php8.1.
1742 * Change type hints for BatchRowIterator and NotRecursiveIterator for
1743   compatibility with PHP 8.1.
1744 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
1745 * (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix
1746   php8.1.
1747 * (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for
1748   ImportSource.
1749 * Fix tests so getName() doesn't return null.
1750 * (T313663) [php8] Don't use strlen on potentially null string.
1751 * (T313663) [php8.1] Suppress test warning about providing null.
1752 * (T313663) [php8.1] mock User::getTitleKey() in DeaultPreferencesFactoryTest.
1753 * (T313663) Parser will use current timestamp instead of null if passed a
1754   RevisionRecord that does not have a timestamp.
1755 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
1756 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
1757 * (T313663) Mock UserOptionsManager::getOption for php8.1.
1758 * (T289879, T289926) Get rid of warnings on PHP 8.1.
1759 * (T313663) Check for null return of preg_replace in MediaWikiTitleCodec.
1760 * (T313663) cast db name to string when checking if it is read only [php8.1].
1761 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
1762 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
1763 * (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1].
1764 * (T314096) Migrate use of ${var}-style string interpolation.
1765 * (T314099) preprocessor: Add missing field declarations.
1766 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
1767   '' not null.
1768 * (T313663) [php8.1] Mock out getLocalDomainID for WatchedItemStore tests.
1769 * (T313663) Suppress warnings for the null test of addIdentifierQuotes.
1770 * (T314225) SpecialCategories: Null coalescene $par.
1771 * (T314099) User: Allow dynamic properties on PHP 8.2.
1772 * (T314404) SpecialGoToInterwiki: Null coalescene $par.
1773 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
1774 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
1775 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
1776 * (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1.
1777 * (T313663) Do not test giving a null fragment to Title::makeTitle.
1778 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
1779 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
1780 * (T313663) Cast results of Sqlite test to string [php 8.1].
1781 * (T314208) Set $wgServer for HttpRequestFactoryTest to prevent warnings on
1782   php8.1.
1783 * (T314208, T297082) phpunit: Fallback to global default user options.
1784 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
1785 * Fix a couple deprecation warnings in the installer under PHP 8.1.
1786 * api: Add rel=nofollow to help examples.
1787 * (T307613) Validate length of user email on Special:ChangeEmail/
1788   Special:CreateAccount.
1789 * (T314226) LoginSignupSpecialPage: Check if $value is a string before length.
1790 * (T314824) tests: Update parser test after i18n change.
1791 * (T313663, T296083) context: Replace deprecated User::getOption.
1792 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
1793 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
1794   wpNamespaceRestrictions.
1795 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
1796 * (T315892) composer.json: Pin phpunit to 8.5.28.
1797 * (T313663) Do not compare byte-for-byte of serialized items in tests [php8.1].
1798 * objectcache: avoid php 8.1 argument type warnings in
1799   genericKeyFromComponents().
1800 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
1801   change.
1802 * ManualLogEntry: Don't pass null to trim() as PHP 8.1 whines.
1803 * (T313663) Add a null check VueComponentParser to prevent php8.1 issues.
1804 * (T313049) Bump wikimedia/parsoid to v0.15.1.
1805 * (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset.
1806 * (T318460) SpecialChangeEmail: Set default for returntoquery.
1807 * (T318307) Update docs for HTMLFormField::validate() to permit all data types.
1808 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
1809   in an IP range check on Special:Contributions.
1810 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
1811   of hidden users.
1812 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
1813   "alreadyrolled" can leak revision deleted user name.
1815 == MediaWiki 1.38.2 ==
1817 This is a security and maintenance release of the MediaWiki 1.38 branch.
1819 === Changes since MediaWiki 1.38.1 ===
1820 * Localisation updates.
1821 * (T309426) Repair language selector for SVGs.
1822 * (T310013) Fix default value for $wgShowEXIF and $wgUsePathInfo.
1823 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
1824 * (T308473) SECURITY: Escape contributions-title msg for use within page title.
1825 * (T311272) Call parent constructor of AddSite maintenance script first.
1826 * MediaWiki: Don't eagerly initialize action name.
1827 * (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.4.1 to 7.4.5.
1828 * (T289926) Avoid passing null to trim() in SkinTemplate.
1829 * (T289879) Address deprecations for PHP 8.1.
1830 * (T311473) rollbackEdits: Pass user identity to RollbackPage.
1831 * Upgrade wikimedia/remex-html from 3.0.1 to 3.0.2.
1832 * (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null.
1833 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
1834 * (T311569) FileBackend::isStoragePath() Handle being passed null.
1835 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
1836 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
1837 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
1838 * Upgrade wikimedia/common-passwords from 0.3.0 to 0.4.0.
1840 == MediaWiki 1.38.1 ==
1842 This is a maintenance release of the MediaWiki 1.38 branch.
1844 === Changes since MediaWiki 1.38.0 ===
1845 * (T309860) Add justinrainbow/json-schema to vendor.
1846 * (T309933) Drop PHP 7.2 support in MediaWiki 1.38; require 7.3.19.
1848 == MediaWiki 1.38.0 ==
1850 === Changes since MediaWiki 1.38.0-rc.1 ===
1851 * Localisation updates.
1852 * (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail
1853   jobs triggered.
1854 * (T305779) phpunit: Support setting skin context in BundleSizeTest subclasses.
1855 * (T309028) SECURITY: ApiEditPage: update title after redirects.
1856 * (T308967) notifications: prevent log spam when invalid user object listed.
1857 * composer: Lock Parsoid version to specific 0.15.0 release.
1858 * (T306362, T308680) change-your-logo.svg: Resize to 135px square, re-crush,
1859   and manually minify.
1861 == MediaWiki 1.38.0-rc.1 ==
1863 === Changes since MediaWiki 1.38.0-rc.0 ===
1864 * Localisation updates.
1865 * (T305028) Undeprecate EditPage::$textbox2.
1866 * (T305635) LogActions is a map, not a list.
1867 * (T306721) Add wikimedia/equivset to vendor; needed by bundled AbuseFilter.
1868 * (T307284) Simplify TransactionManager::pendingWriteQueryDuration.
1869 * (T307307) Add symfony/yaml to vendor.
1870 * Fix old_name in UserLogoutComplete hook.
1871 * REST: don't send stack trace in error responses.
1872 * (T307998) SessionManager: stop storing an ObjectFactory instance.
1873 * (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update.
1875 == Upgrading notes for 1.38 ==
1876 Don't forget to always back up your database before upgrading!
1878 See the file UPGRADE for more detailed per-version upgrade instructions from the
1879 oldest supported upgrading version, MediaWiki 1.29.
1881 Some specific notes for MediaWiki 1.38 upgrades are below:
1882 * (T191740) The AbuseFilter extension is now bundled with MediaWiki. This is an
1883   anti-abuse feature that lets privileged users to set specific actions to be
1884   taken when actions by users, such as edits or file uploads, match certain
1885   criteria.
1886 * (T232948) The Math extension is now bundled with MediaWiki. This is a content
1887   feature that lets users create mathematical formulæ, written in a sub-set of
1888   LaTeX and rendered in MathML with a fallback SVG image. By default, it will
1889   use Wikimedia's mathoid service to render each formula, but local rendering
1890   can be set up for network isolation or performance.
1891 * (T191743) The Minerva skin is now bundled with MediaWiki. This is a simple,
1892   light-weight, and scalable skin that is particularly optimised for mobile use,
1893   and integrates well with the MobileFrontend extension (available separately),
1894   but can also be used as a regular desktop skin.
1896 For notes on 1.37.x and older releases, see HISTORY.
1898 === Configuration changes for system administrators in 1.38 ===
1900 ==== New configuration ====
1901 * (T297708) $wgMaxExecutionTimeForExpensiveQueries - This setting can be used to
1902   control the maximum execution time for several expensive query pages (e.g.
1903   RecentChanges and UserContribs).
1904 * $wgBrowserFormatDetection – This setting allows overriding browsers' automatic
1905   detection and handling of formats. It's initially used to prevent auto-linking
1906   of possible telephone numbers in wiki pages' output in Safari on iOS; this can
1907   be re-enabled if you wish, or locally extended for other browsers' quirks.
1908 * (T240685) $wgMetricsTarget, $wgMetricsFormat, $wgMetricsPrefix - These provide
1909   configuration for a new MetricsFactory service with support for the dogstatsd
1910   format, intended for integration with Prometheus integration.
1911 * $wgGroupInheritsPermissions – This setting allows inheriting permissions, both
1912   granted and revoked, from another group.
1913 * $wgForeignApiRepos – ForeignAPIRepo now has a apiMetadataExpiry option to
1914   control for how long file metadata is cached. Additionally the default changed
1915   from 1 hour to 4 hours.
1916 * $wgSkinsPreferred – This lets you set a list of preferred skins to be listed
1917   higher in Special:Preferences.
1918 * $wgWikiFarmSettingsDirectory – A directory that contains site-specific
1919   configuration files. Setting this will enable multi-tenant ("wiki farm")
1920   mode, causing site-specific settings to be loaded based on information from
1921   the web request. EXPERIMENTAL.
1922 * $wgWikiFarmSettingsExtension – The file extension to be used when looking up
1923   site-specific settings files in $wgWikiFarmSettingsDirectory, such as 'json'
1924   or 'yaml'. EXPERIMENTAL.
1925 * $wgWikiFarmSiteDetector – A callback function that returns the name of the
1926   wiki for the current request. This is used in multi-tenant ("wiki farm")
1927   mode to determine which settings file to load from
1928   $wgWikiFarmSettingsDirectory. EXPERIMENTAL.
1929 * $wgEnableRemoteBagOStuffTests – This replaces the environment variable
1930   PHPUNIT_USE_BAGOSTUFF.
1931 * (T230211) $wgForceDeferredUpdatesPreSend – Force deferred updates to be run
1932   before sending a response to the client, instead of attempting to run them
1933   after sending the response. Setting this to true is useful for end-to-end
1934   testing, to ensure that the effects of a request are visible to any subsequent
1935   requests, even if they are made immediately after the first one. Note however
1936   that this does not ensure that database replication is complete, nor does it
1937   execute any jobs enqueued for later.
1938 * $wgTemplateLinksSchemaMigrationStage – Templatelinks table schema migration
1939   stage, for normalizing tl_namespace and tl_title fields.
1941 ==== Changed configuration ====
1942 * $wgStyleDirectory and $wgExtensionDirectory – These are now set later, so can
1943   no longer be used within LocalSettings.php unless explicitly set in that file.
1944 * $wgFileBackends – This setting no longer takes 'fileJournal' as an option.
1945 * $wgMaxImageArea - This setting may now be set to false to disable size.
1946   checking before scaling. Extensions can still override its value by using the
1947   BitmapHandlerCheckImageArea hook.
1948 * $wgAjaxUploadDestCheck – This is now deprecated, and act as always-true.
1949 * $wgInterwikiCache – This no longer supports the string value for CDB files.
1950 * $wgParserOutputHooks – This is now deprecated; adjustments using this should
1951   be done with OutputPageParserOutputHook instead. (T292321)
1952 * $wgExternalStores – This is newly documentated in
1953   includes/externalstore/README.md.
1955 ==== Removed configuration ====
1956 * $wgShellLocale - This setting has been removed as it was a flawed solution to
1957   the problem of locale dependence, MediaWiki will now always set a locale of
1958   C.UTF-8 or C and works around the remaining problems of the C locale by not
1959   using escapeshellarg. This follows the direction of PHP 8.0, which sets a
1960   locale of C by default instead of respecting LC_CTYPE.
1961 * $wgLoggedOutMaxAge - Experiment removed, originally added in 1.35. (T293848)
1962 * $wgIncludejQueryMigrate - Deprecated in 1.36. We only support jQuery v3.
1963 * $wgUseCategoryBrowser - This experimental feature has been removed. If you
1964   still need to use this feature, please see [[mw:Extension:CategoryExplorer]].
1965 * $wgStyleSheetPath - alias for $wgStylePath, deprecated since 1.3 (2004).
1967 === User-facing changes in 1.38 ===
1968 * (T284921) The "auto-number headings" feature was removed following a
1969   consultation, due to performance reasons.
1971 === New operator/developer features in 1.38 ===
1972 * EXPERIMENTAL: The environment variable MW_CONFIG_FILE can be used to specify
1973   the location of the settings file. This allows alternative settings files to
1974   be loaded depending on the environment. Settings files may be given as PHP
1975   files like the traditional LocalSettings.php file, or they may use JSON or
1976   YAML format.
1977   See https://www.mediawiki.org/wiki/Manual:YAML_settings_file_format
1978 * Added a deleteUserEmail maintenance script - This file enables the deletion of
1979   a given user's associated email address. It can be helpful for
1980   privacy-preserving operations.
1981 * The description array for constructing an HTMLForm now can use 'disable-if' to
1982   disable fields on condition easily, supported expressions are the same as
1983   'hide-if'.
1984 * There is a new interface, IForeignRepoWithMWApi, to allows you to mark file
1985   repos provided by an extension as supporting making API queries against the
1986   foreign file repo so that extensions like TimedMediaHandler that depend on
1987   this can stop hard-coding looking for specific class names.
1988 * Added EXPERIMENTAL support for an easy to configure multi-tenant ("wiki
1989   farm") mode:
1990   Settings for each site can be placed in a directory specified by
1991   $wgWikiFarmSettingsDirectory. Site detection is controlled by
1992   $wgWikiFarmSiteDetector and defaults to the requested host name.
1993   For example, setting $wgWikiFarmSettingsDirectory = "sites" would cause
1994   the settings for wiki.example.com to be loaded from
1995   "sites/wiki_example_com.yaml".
1996   WARNING: YAML files under the web root may be accessible to browsers, please
1997   take appropriate measures to protect them from access via HTTP.
1998 * Running QUnit tests for an individual test suite module is possible with
1999   `grunt qunit --qunit-component={componentName}`, where {componentName} is
2000   "MediaWiki" to run core's QUnit tests or the skin or extension name.
2001 * The 'mediawiki.mixins' module now has a `.user-select()` Less mixin.
2003 === External library changes in 1.38 ===
2005 ==== New external libraries ====
2006 * symfony/yaml was promoted from development-only.
2007 * justinrainbow/json-schema was promoted from development-only.
2009 ==== Changed external libraries ====
2010 * Updated OOUI from v0.42.0 to v0.43.2.
2011 * Updated Vue from 2.6.11 to 3.2.23.
2012 * Updated WVUI from v0.3.0 to v0.4.0.
2013 * Updated composer/semver from 3.2.5 to 3.2.6.
2014 * Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
2015 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
2016 * Updated pear/net_smtp from 1.9.2 to 1.10.0.
2017 * Updated psr/log from 1.1.3 to 1.1.4.
2018 * Updated psy/psysh from 0.10.5 to 0.11.1.
2019 * Updated symfony/polyfill-php80 from 1.23.1 to 1.25.0.
2020 * Updated wikimedia/assert from 0.5.0 to 0.5.1.
2021 * Updated wikimedia/cdb from 1.4.1 to 2.0.0.
2022 * Updated wikimedia/ip-utils from 3.0.2 to 4.0.0.
2023 * Updated wikimedia/minify from 2.2.4 to 2.2.6.
2024 * Updated wikimedia/object-factory from 3.0.2 to 4.0.0.
2025 * Updated wikimedia/parsoid from v0.14.0-a14 to v0.15.0.
2026 * Updated wikimedia/purtle from 1.0.7 to 1.0.8.
2027 * Updated wikimedia/request-timeout from 1.1.0 to 1.2.0.
2028 * Updated wikimedia/shellbox from 2.0.0 to 3.0.0.
2029 * Updated wikimedia/wrappedstring from 3.2.0 to 4.0.1.
2030 * Updated wikimedia/remex-html from 3.0.1 to 3.0.2.
2031 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
2033 ===== Changed development-only external libraries =====
2034 * Updated QUnit from 2.16.0 to 2.18.0.
2035 * Updated composer/semver from 3.5.4 to 3.5.5.
2036 * Updated composer/spdx-licenses from 1.5.4 to 1.5.5.
2037 * Updated doctrine/dbal for PHP < 7.3 from 2.10.4 to 2.13.6.
2038 * Updated doctrine/dbal for PHP >= 7.3 from 3.0.0 to 3.1.5.
2040 ==== Removed external libraries ====
2041 * jquery.jStorage, deprecated since MW 1.28; use "mediawiki.storage" instead.
2043 === Action API changes in 1.38 ===
2044 * New `deletetalk` parameter on action=delete that allows you to delete the
2045   associated talk page of a subject page.
2046 * New `variant` parameter for all API actions, for specifying language variant
2047   (akin to the existing `variant` parameter for index.php). Task T117549.
2049 === Languages updated in 1.38 ===
2050 MediaWiki supports over 400 languages. Many localisations are updated regularly.
2051 Below only new and removed languages are listed, as well as changes to languages
2052 because of Phabricator reports.
2054 * (T292166) Updated namespace names for the Lombard language.
2055 * (T299201) Changed the autonym of the Angika language to अंगिका
2056 * (T298309) Changed the autonym of the Abkhaz language to аԥсшәа
2057 * (T302972) Changed the autonym of the Kirundi language to ikirundi
2058 * (T220303) Show numbered lists with Burmese numerals in relevant languages
2059 * (T291899) Added language support for Xiang Chinese (hsn).
2060 * (T292612) Added language support for S'gaw Karen (ksw).
2061 * (T293656) Added language support for Farefare (gur).
2062 * (T294729) Added language support for Pa'O (blk).
2063 * (T296286) Added language support for Skolt Sámi (sms).
2064 * (T296612) Added language support for Makhuwa (vmw).
2065 * (T296707) Added language support for Ga (gaa).
2066 * (T297073) Added language support for Nanai (gld).
2067 * (T297074) Added language support for Nawdm (nmz).
2068 * (T298075) Added language support for Northern Thai (nod).
2069 * (T298182) Added language support for Cape Verdean Creole (kea).
2070 * (T298385) Added language support for Nheengatu (yrl).
2071 * (T299329) Added language support for Fon (fon).
2072 * (T300474) Added language support for Nkore (nyn).
2073 * (T302556) Added language support for Pannonian Rusyn (rsk).
2075 === Breaking changes in 1.38 ===
2076 * (T291008) The IP class, deprecated since 1.35 in favor of the IPUtils library,
2077   has been removed. The IP related regexes which were also deprecated in favor
2078   of the IPUtils library were also removed, IPUtils::RE_* should be used
2079   instead.
2080 * (T293043) The MediaWikiIntegrationTestCase class alias 'MediaWikiTestCase' has
2081   been removed.
2082 * LinkCache::singleton(), deprecated since 1.28, has been removed.
2083 * RepoGroup::singleton(), ::destroySingletons() and setSingleton(), all
2084   deprecated since 1.34, have been removed.
2085 * The following methods from FileDeleteForm were removed:
2086   - ::__construct (the class is no longer newable)
2087   - ::execute()
2088   - ::haveDeletableFile()
2089   Use FileDeleteAction instead.
2090 * MessageCache::singleton(), deprecated since 1.34, has been removed.
2091 * LockManagerGroup::singleton() and ::destroySingletons(), both deprecated since
2092   1.34, have been removed.
2093 * FileBackendGroup::singleton() and ::destroySingletons(), both deprecated since
2094   1.35, have been removed.
2095 * TemplateParser used to support disabling the cache with a boolean parameter in
2096   its constructor. This was deprecated in 1.35 and has now been removed.
2097 * The ArticleUndeleteLogEntry hook, deprecated in 1.37, was removed.
2098 * The BeforeResetNotificationTimestamp hook, deprecated in 1.37, was removed.
2099 * The global function mimeTypeMatch() has been removed without a deprecation
2100   process.
2101 * The following JavaScript mw.config keys have been removed:
2102   - $wgCookiePrefix
2103   - $wgCookieDomain
2104   - $wgCookiePath
2105   - $wgCookieExpiration
2106   Use mw.cookie from the mediawiki.cookie module instead.
2107 * The signature of PageUpdater::markAsRevert method was changed. It has never
2108   been used outside of MediaWiki core.
2109 * If you want to use interwiki titles with HTMLTitleTextField, you now need to
2110   pass 'interwiki' => true. In 1.37, the default behavior was to let interwiki
2111   title through by default, logging a deprecation warning.
2112 * The `UndeleteForm::undelete` hook, deprecated in 1.37, was removed.
2113 * BagOStuff::setDebug(), deprecated since 1.36, has been removed.
2114 * The `jquery.mw-jump` ResourceLoader module was removed.
2115 * The `wgForeignUploadTargets` and `wgEnableUploads` configuration values were
2116   removed from mw.config. They had previously been documented as being included
2117   for internal use by the mediawiki.ForeignUpload module.
2118 *The `&$hasHistory` parameter to WikiPage::getAutoDeleteReason() and
2119   ContentHandler::getAutoDeleteReason() was hard-deprecated with no replacement.
2120 * Several Skin methods, which have emitted deprecation warnings since 1.36, have
2121   been removed. These include:
2122   - Skin::privacyLink()
2123   - Skin::aboutLink()
2124   - Skin::disclaimerLink()
2125     For these, instead use Skin::footerLink() to alter footer links.
2126   - Skin::getLogo()
2127     For this, use ResourceLoaderSkinModule::getAvailableLogos() instead.
2128   - Skin::getIndicatorsHTML()
2129     For this, use Skin::getIndicatorsData() instead.
2130   - Skin::subPageSubtitle()
2131     For this, use Skin::prepareSubtitle() instead.
2132   - Skin::makeVariablesScript()
2133     For this, use ResourceLoader::makeInlineScript() instead.
2134   - Skin::getAllowedSkins()
2135   - Skin::getSkinNames()
2136     For these, use SkinFactory::getAllowedSkins() or ::getInstalledSkins().
2137   - Skin::makeUrl()
2138   - Skin::getSearchLink()
2139   - Skin::mainPageLink()
2140 * Parser::getUser and ::mUser, as well as ParserOptions::getUser, deprecated
2141   since 1.37, has been removed.
2142 * Parser::$mStripState, deprecated in 1.35, has been made private. Use
2143   Parser::getStripState() instead.
2144 * The following deprecated features in blocks were removed:
2145   - DatabaseBlock constructor 'byText' property with blocker's name, use 'by'
2146     property with UserIdentity value instead.
2147   - DatabaseBlock constructor 'by' property with blocker's ID, use 'by' property
2148     with UserIdentity value instead.
2149   - DatabaseBlock::isWhitelistedFromAutoblocks, use ::isExemptedFromAutoblocks.
2150   - DatabaseBlock::setBlocker now only accepts UserIdentity.
2151   - AbstractBlock::getTargetAndType and ::getTarget, use ::getTargetName,
2152     ::getTargetUserIdentity and ::getType instead
2153 * The following functions, emitting deprecations since 1.37, have been removed:
2154   - Title::isWatchable()
2155   - WatchAction::doWatchOrUnwatch(), WatchAction::doWatch(),
2156     WatchAction::doUnwatch(), WatchAction::getWatchToken()
2157   - User::isWatched(), User::isTempWatched(), User::addWatch(),
2158     User::removeWatch()
2159 * ParserOptions::setTidy() that had no effect and was deprecated since 1.35 has
2160   been removed.
2161 * The "YAML" encoding option of EtcdConfig, has been removed without
2162   deprecation.
2163 * The constant ApiBase::PARAM_VALUE_LINKS, deprecated since 1.35 has been
2164   removed.
2165 * UserLoadOptions, UserSaveOptions and UserResetAllOptions hooks, deprecated
2166   since 1.37, were removed.
2167 * The experimental FileJournal system has been removed without deprecation. This
2168   includes the FileJournal abstract class, its implementation classes
2169   DBFileJournal and NullFileJournal, various minor getters and setters, and the
2170   option for the wiki configuration $wgFileBackends.
2171 * The return values for each `bind` function in checkboxHack.js has been changed
2172   from an object to a function. In addition, the `unbind` function has been
2173   removed. A deprecation process was assumed unnecessary as there were no known
2174   usages.
2175 * File::getUser, ::getImageSize, ArchivedFile::getRawDescription, ::getUser,
2176   ::getRawUser and ::getRawDescription, deprecated since 1.37, has been removed.
2177 * ShellboxHttpClient class has been removed without deprecation. It was an
2178   internal class used by ShellboxClientFactory.
2179 * The following hard deprecated User methods have been removed:
2180   - ::resetIdByNameCache,
2181   - ::getStubThreshold,
2182   - ::matchEditTokenNoSuffix,
2183   - ::changeableByGroup,
2184   - ::changeableGroups,
2185   - ::isAllowUsertalk,
2186   - ::getRights
2187   - ::isAllowUsertalk
2188   - ::isIP,
2189   - ::isIPRange,
2190   - ::isValidUserName,
2191   - ::isUsableName,
2192   - ::isCreatableName,
2193   - ::getCanonicalName,
2194   - ::addAutopromoteOnceGroups,
2195   - ::getDefaultOptions,
2196   - ::getDefaultOption,
2197   - ::getOptions,
2198   - ::getBoolOption,
2199   - ::getIntOption,
2200   - ::setOption
2201   - ::listOptionKinds
2202   - ::getOptionKinds,
2203   - ::resetOptions,
2204   - ::getEffectiveGroups,
2205   - ::getAutomaticGroups,
2206   - ::getFormerGroups
2207   - ::isLoggedIn
2208   - ::getFirstEditTimestamp
2209   - ::getLatestEditTimestamp
2210 * Http::$httpEngine, deprecated since 1.34, has been removed. The only available
2211   HTTP engine is now Guzzle. CurlHttpRequest and PhpHttpRequest classes were
2212   removed.
2213 * The UserRightsProxy class was deprecated. Pass the correct domain to
2214   UserGroupManagerFactory instead.
2215 * Parser option enableLimitReport was deprecated. The report is now generated
2216   post-parse and can be included by providing 'includeDebugInfo' option to
2217   ParserOutput::getText. Thus, ParserOptions::enableLimitReport and
2218   ::getEnableLimitReport methods were deprecated.
2219 * Ajax action that was deprecated in 1.27 now has been removed.
2220 * The following methods have been removed from IDatabase without deprecation as
2221   they were completely unused:
2222   - ::preCommitCallbacksPending()
2223   - ::pendingWriteRowsAffected()
2224   - ::getServerUptime()
2225   - ::maxListLen()
2226 * The following deprecated methods have been removed from IDatabase:
2227   - ::aggregateValue() soft-deprecated since 1.33
2228   - ::getTopologyRootMaster() since 1.37
2229   - ::masterPosWait() since 1.37
2230   - ::dataSeek() soft-deprecated since 1.37
2231   - ::numFields() soft-deprecated since 1.37
2232   - ::fieldName() soft-deprecated since 1.37
2233   - ::onTransactionIdle() soft-deprecated since 1.32
2234   - ::getMasterPos() since 1.37
2235 * DatabaseMysqlBase::fieldType() and DatabasePostgres::fieldType(), deprecated
2236   since 1.37, have been removed.
2237 * Database::assertIsWritableMaster(), deprecated since 1.37, has been removed.
2238 * ResultWrapper::getInternalResult(), soft-deprecated since 1.37 and
2239   ResultWrapper::unwrap(), deprecated since 1.37, have been removed.
2240 * Language::AS_AUTONYMS, deprecated since 1.34, has been removed. You can use
2241   the LanguageNameUtils::AUTONYMS constant instead.
2242 * Several Language class variables deprecated in 1.35 have been removed; they
2243   are each replaced by a constant, as listed after the arrow:
2244   - ::$mWeekdayMsgs → WEEKDAY_MESSAGES
2245   - ::$mWeekdayAbbrevMsg → WEEKDAY_ABBREVIATED_MESSAGES
2246   - ::$mMonthGenMsgs → MONTH_GENITIVE_MESSAGES
2247   - ::$mIranianCalendarMonthMsgs → IRANIAN_CALENDAR_MONTHS_MESSAGES
2248   - ::$mHebrewCalendarMonthMsgs → HEBREW_CALENDAR_MONTHS_MESSAGES
2249   - ::$mHebrewCalendarMonthGenMsgs → HEBREW_CALENDAR_MONTH_GENITIVE_MESSAGES
2250   - ::$mHijriCalendarMonthMsgs → HIJRI_CALENDAR_MONTH_MESSAGES
2251 * wfIncrStats, deprecated since 1.36, has been removed.
2252 * Profiler::profileIn and ::profileOut, deprecated in 1.33, has been removed.
2253 * IEditObject::AS_CANNOT_USE_CUSTOM_MODEL, deprecated in 1.35, was removed.
2254 * Several protected methods in EditPage were made private. None of these was
2255   used outside of EditPage itself. Since the class is not stable to extend,
2256   this change happened without a deprecation phase.
2257 * The following public methods in EditPage, unused externally, were
2258   made private:
2259    - ::getCancelLink()
2260    - ::isSupportedContentModel()
2261    - ::getParentRevId()
2262 * EditPage::setApiEditOverride() was marked as @internal for use by
2263   ApiEditPage only.
2264 * SelectQueryBuilder::straightJoin() was renamed to straightJoinOption().
2265 * The following deprecated methods have been removed from ILBFactory:
2266   - ::beginMasterChanges() since 1.37
2267   - ::commitMasterChanges() since 1.37
2268   - ::rollbackMasterChanges() since 1.37
2269   - ::hasMasterChanges() since 1.37
2270   - ::hasOrMadeRecentMasterChanges() since 1.37
2271 * The "groupLoadsByDB" option to LBFactoryMulti has been removed. Consider using
2272   "groupLoadsBySection" instead.
2273 * The following methods have been removed from ILoadBalancer without deprecation
2274   as they were completely unused:
2275   - ::waitForOne()
2276   - ::allowLagged()
2277   - ::forEachOpenReplicaConnection()
2278 * The following deprecated methods have been removed from ILoadBalancer:
2279   - ::getMasterPos() since 1.37
2280   - ::finalizeMasterChanges() since 1.37
2281   - ::approveMasterChanges() since 1.37
2282   - ::beginMasterChanges() since 1.37
2283   - ::commitMasterChanges() since 1.37
2284   - ::runMasterTransactionIdleCallbacks() since 1.37
2285   - ::runMasterTransactionListenerCallbacks() since 1.37
2286   - ::rollbackMasterChanges() since 1.37
2287   - ::flushMasterSnapshots() since 1.37
2288   - ::hasMasterConnection() since 1.37
2289   - ::hasMasterChanges() since 1.37
2290   - ::lastMasterChangeTimestamp() since 1.37
2291   - ::hasOrMadeRecentMasterChanges() since 1.37
2292   - ::pendingMasterChangeCallers() since 1.37
2293   - ::forEachOpenMasterConnection() since 1.37
2294   - ::waitForMasterPos() since 1.37
2295 * LoadBalancer::safeGetLag() which has been soft-deprecated since 1.34 has been
2296   removed.
2297 * The following properties of the EditPage class, deprecated since 1.35, were
2298   made private:
2299   - ::$deletedSinceEdit
2300   - ::$lastDelete
2301   - ::$mTokenOk
2302   - ::$mTriedSave
2303   - ::$incompleteForm
2304   - ::$tooBig
2305   - ::$missingComment
2306   - ::$missingSummary
2307   - ::$allowBlankSummary
2308   - ::$autoSumm
2309   - ::$mParserOutput
2310   - ::$hasPresetSummary
2311   - ::$minoredit
2312   - ::$watchthis
2313   - ::$recreate
2314   - ::$nosummaryparentRevId
2315   - ::$editintro
2316   - ::$scrolltop
2317   - ::$markAsBot
2318 * Special:ListFiles and Special:NewFiles no longer allows to search for parts of
2319   file names (option was not available for $wgMiserMode = true)
2320 * DBAccessBase, deprecated since 1.37, has been removed.
2321 * The UserNamePrefixSearch service no longer supports a UserIdentity parameter
2322   to search(), to check for a specific audience an Authority object is required.
2323 * The methods CoreParserFunctions::register() and CoreTagHooks::register() have
2324   been marked @internal, and had a seconds parameter added. These methods are
2325   intended for use in Parser's constructor, and are not used by any known
2326   extension.
2327 * LoadBalancer::openConnection(), deprecated since 1.34, has been removed.
2328 * Skin::preloadExistence has been made private. There is no known usages outside
2329   of MediaWiki core.
2331 === Deprecations in 1.38 ===
2332 * The MWGrants class is deprecated in favor of the new GrantsInfo and
2333   GrantsLocalization services.
2334 * The global functions wfReadOnly() and wfReadOnlyReason() have been deprecated
2335   in favor of the ReadOnlyMode service.
2336 * PageProps::getInstance() has been deprecated. Use
2337   MediaWikiServices::getPageProps() instead.
2338 * User::setOption(), deprecated since 1.35, now emits deprecation warnings.
2339 * Linker::formatComment(), ::formatLinksInComment(), ::commentBlock() and
2340   revComment() were deprecated. Use the new CommentFormatter service.
2341 * Several Skin methods have been deprecated.
2342   - Skin::setSearchPageTitle(), Skin::getSearchPageTitle(). For these,
2343     use SpecialPage::newSearchPage() or associated user preference instead.
2344   - Skin::getSkinStylePath now triggers deprecation warnings. Direct string path
2345   should be used instead.
2346   - SkinTemplate::getPersonalToolsList(), deprecated since 1.35, now emits
2347   deprecation warnings.
2348   - In preparation for SkinTemplate::getPortletData becoming a private
2349     function, extending the method is no longer permitted. Use
2350     SkinTemplate::getTemplateData instead.
2351   - SkinTemplate::buildContentNavigationUrls is now deprecated. Skins can
2352     use the runOnSkinTemplateNavigationHooks method or the
2353     SkinTemplateNavigation__Universal hook if they need access to this data.
2354 * Usage of several template data keys in QuickTemplate are now deprecated:
2355   - searchaction, poweredbyico, copyrightico
2356 * DatabaseBlock::purgeExpired(), deprecated since 1.36, now emits deprecation
2357   warnings.
2358 * The following methods from the User class now trigger deprecation warnings:
2359    - ::blockedBy
2360    - ::getBlockId
2361 * Content::getParserOutput and AbstractContent::fillParserOutput was
2362   hard-deprecated, use ContentRenderer::getParserOutput instead. Extensions
2363   defining a content model should override ContentHandler::fillParserOutput.
2364 * Title::newFromIDs and TitleFactory::newFromIDs have been hard deprecated. Use
2365   a PageSelectQueryBuilder from a PageStore instead.
2366 * Content::getRedirectChain() and Content::getUltimateRedirectTarget() have been
2367   deprecated with no replacement because support for $wgMaxRedirect will be
2368   removed completely. See T296430 for more information.
2369 * WikiPage::getRedirectTarget() has been deprecated. Use the equivalent
2370   RedirectLookup::getRedirectTarget() instead.
2371 * Article::doDelete() was deprecated. Use WikiPage::doDeleteArticleReal if you
2372   only need to delete the article. If you also need things to happen with
2373   OutputPage, you may want to check the hooks in DeleteAction instead.
2374 * Instantiating the MessageContent class now emits deprecation notices.
2375 * Message::content() now triggers deprecation warnings.
2376 * Parser::setDefaultSort(), Parser::getDefaultSort(), and
2377   Parser::getCustomDefaultSort() now trigger deprecation warnings. Use
2378   ParserOutput::{get,set}PageProperty('defaultsort') instead.
2379 * The following methods from the ParserOutput class now emit deprecation
2380   warnings:
2381    - ::hideNewSection()      - use ::setHideNewSection()
2382    - ::preventClickjacking() - use ::{get,set}PreventClickjacking()
2383    - ::getProperty()         - use ::getPageProperty() (return value changed)
2384    - ::setProperty()         - use ::setPageProperty()
2385    - ::unsetProperty()       - use ::unsetPageProperties()
2386    - ::getProperties()       - use ::getPageProperties()
2387    - ::getCategoryLinks()    - use ::getCategoryNames()
2388    - ::setCategoryLinks()    - use ::setCategories()
2389    - ::addTrackingCategory() - use Parser::addTrackingCategory()
2390                                or TrackingCategories::addTrackingCategory()
2391    - ::addWarning()          - use ::addWarningMsg()
2392    - ::hasDynamicContent()   - use ::hasReducedExpiry()
2393 * The following methods from the ParserOutput class were deprecated:
2394    - ::getFlag() - use ::getOutputFlag()
2395    - ::setFlag() - use ::setOutputFlag()
2396    - ::getAllFlags() - this method is now marked @internal
2397    - ::addJsConfigVars() - use ::setJsConfigVar() or ::appendJsConfigVar()
2398    - ::addOutputHook() / ::getOutputHooks() - these hooks should be migrated
2399      to use the OutputPageParserOutput hook instead
2400 * The use of ParserOutput::setExtensionData() to overwrite previous values
2401   stored under a given key has been deprecated; use the new
2402   ::appendExtensionData() to collect multiple values in the ParserOutput rather
2403   than destructively updating stored values. (T300981)
2404 * The signatures of the following methods from the ParserOutput class were
2405   narrowed, restricting the permitted argument types:
2406   - ::addModules() - if you formerly passed a string, pass an array with
2407      the string as the only element.
2408    - ::addModuleStyles() - if you formerly passed a string, pass an array
2409      with the string as the only element.
2410 * Access to the following public or protected properties of OutputPage was
2411   deprecated; they will be made private or removed in a future release.
2412   Use accessor functions instead.
2413   - ::$mCategoryLinks
2414   - ::$mCategories
2415   - ::$mIndicators
2416   - ::$mHeadItems
2417   - ::$mModules
2418   - ::$mModuleStyles
2419   - ::$mJsConfigVars
2420   - ::$mTemplateIds
2421   - ::$mEnableClientCache
2422   - ::$mNewSectionLink
2423   - ::$mHideNewSectionLink
2424   - ::$mNoGallery
2425 * The following methods were deprecated; use ::setPreventClickjacking(..)
2426   instead:
2427    - OutputPage::preventClickjacking()
2428    - OutputPage::allowClickjacking()
2429    - ImageHistoryList::preventClickjacking()
2430    - ImageHistoryPseudoPager::preventClickjacking()
2431    - ContribsPager::preventClickjacking()
2432 * OutputPage::enableClientCache() was deprecated, because it is universally used
2433   to do the opposite -- use OutputPage::disableClientCache() instead.
2434 * Sanitizer::removeHTMLtags() has been deprecated. Its output can include
2435   unbalanced or ill-formed HTML and thus external callers may be misled about
2436   how to safely incorporate its output into a page. It is recommended to use the
2437   new Sanitizer::removeSomeTags() method instead, which will always return
2438   balanced HTML.
2439 * EventRelayerKafka was deprecated. To use $wgEventRelayerConfig with Kafka,
2440   add a similar class to your code.
2441 * MediaWiki\Logger\Monolog\KafkaHandler was deprecated. Consider using
2442   $wgMWLoggerDefaultSpi with SyslogHandler, or to use Kafka, add a similar
2443   Monolog handler class to your code.
2444 * Collation::singleton() and ::factory() now trigger deprecation warnings.
2445 * The following methods in MWNamespace, all deprecated since 1.34, now emit
2446   deprecation warnings:
2447   - isTalk()
2448   - exists()
2449   - subjectEquals()
2450   - getCanonicalNamespaces()
2451   - getCanonicalName()
2452   - getCanonicalIndex()
2453   - getValidNamespaces()
2454   - isContent()
2455   - hasSubpages()
2456   - getContentNamespaces()
2457 * Return values in the parameter $pageLang of the hook PageContentLanguage with
2458   other types than a Language object, deprecated since 1.33, now emmits
2459   deprecation warnings.
2460 * Passing a db to BlockRestrictionStore::loadByBlockId() is deprecated.
2461   BlockRestrictionStoreFactory should be used to fetch a correct
2462   BlockRestrictionStore instead.
2463 * All external access to ParserOutput and CacheTime classes properties will now
2464   emit deprecation warnings. Use getters and setters instead.
2465 * The custom jQuery event `watchpage.mw` emitted on #ca-watch and #ca-unwatch is
2466   now deprecated in favour of the new `wikipage.watchlistChange` hook.
2467 * The global function wfLogProfilingData() has been deprecated without a
2468   replacement. The logic has been moved to the MediaWiki class.
2469 * The "trace" option of SectionProfiler has been deprecated.
2470 * The PageArchive class has had several methods deprecated. The replacements are
2471   as follows:
2472    - Use UndeletePage instead of ::undeleteAsUser(), ::getFileStatus() and
2473      ::getRevisionStatus().
2474    - Use the respective methods of the new ArchivedRevisionLookup service
2475      instead of ::listRevisions, ::getRevisionRecordByTimestamp,
2476      ::getArchivedRevisionRecord, ::getPreviousRevisionRecord and
2477      ::getLastRevisionId.
2478    - Use ArchivedRevisionLookup::hasArchivedRevisions instead of ::isDeleted.
2479 * PageUpdater::isUnchanged() has been deprecated, use wasRevisionCreated()
2480   instead.
2481 * The `mediawiki.pager.tablePager` module was deprecated in favor of the more
2482   generic `mediawiki.pager.styles`.
2483 * wfGetCache() and wfGetMainCache(), both deprecated since 1.32, now emit
2484   deprecation warnings.
2485 * LinkCache::addGoodLinkObj() has been hard deprecated.
2486 * ApiStashEdit::parseAndStash has been hard deprecated.
2487 * Content::prepareSave was hard-deprecated, now emits deprecation warnings.
2488   Use ContentHandler::validateSave instead.
2489 * The hooks LinksUpdateAfterInsert and LinksUpdateConstructed were deprecated.
2490 * Access to all public properties in LinksUpdate was deprecated.
2491 * The global variable $IP has been deprecated for use in application logic.
2492   It will remain available for use in LocalSettings.php for now, though
2493   $wgBaseDirectory is preferred.
2494   Application logic should use the BaseDirectory setting from the main config.
2495   Tests and framework code that need to function without MediaWiki being
2496   fully initialized should use the MW_INSTALL_PATH constant.
2497 * The global function wfWikiID(), deprecated since 1.35, now emits deprecation
2498   warnings.
2499 * AbstractBlock::getBy() now takes a wikiId as a parameter and emits deprecation
2500   warnings in case of cross-wiki accesses.
2501 * The `button` parameter for `bindUpdateAriaExpandedOnInput` and
2502   `updateAriaExpanded` in checkboxHack.js have been deprecated.
2503   `bindToggleOnSpaceEnter` has also been deprecated in favor of
2504   `bindToggleOnEnter`.
2505 * IDatabase::lockTables() and IDatabase::unlockTables() have been deprecated
2506   with no replacement. Instead, callers should batch updates into atomic
2507   transactions, using FOR UPDATE for SELECT queries.
2508 * EditPage::addNewLineAtEnd() was deprecated; use
2509   TextboxBuilder::addNewLineAtEnd instead.
2510 * EditPage::getCopywarn() was deprecated; use EditPage::getCopyrightWarning
2511   instead.
2512 * EditPage::getCopyrightWarning() without passing a MessageLocalizer parameter
2513   has been deprecated.
2514 * Passing the $formCallback parameter to EditPage::showEditForm, deprecated in
2515   1.25 and previously emitting a warn notice, now emits a deprecation notice.
2516 * EditPage::$action has been deprecated.
2517 * The following properties in EditPage now emit deprecation notices when used
2518   from another class:
2519   - mArticle (use ::getArticle() instead)
2520   - mTitle (use ::getTitle() instead)
2521   - isNew (no replacement)
2522   - allowBlankArticle (no replacement)
2523   - selfRedirect (no replacement)
2524   - allowSelfRedirect (no replacement)
2525   - diff (no replacement)
2526   - textbox2 (no replacement)
2527   - undoAfter (no replacement)
2528   - edit (no replacement)
2529   - contentLength (no replacement)
2530 * The HTMLForm methods getPreText, setPreText, addPreText, getPostText,
2531   setPostText, addPostText, getHeaderText, setHeaderText, addHeaderText,
2532   getFooterText, setFooterText and addFooterText have been renamed to
2533   getPreHtml, setPreHtml, addPreHtml, getPostHtml, setPostHtml, addPostHtml,
2534   getHeaderHtml, setHeaderHtml, addHeaderHtml, getFooterHtml, setFooterHtml and
2535   addFooterHtml respectively.
2536 * The FormSpecialPage methods preText and postText have been renamed to preHtml
2537   and postHtml respectively.
2538 * Article::doDelete, deprecated in 1.37, now emits deprecation notices.
2539 * The following Less mediawiki.mixins have been deprecated:
2540   - .background-image()
2541   - .list-style-image()
2542 * Category::getPageCount now takes a parameter. Category::COUNT_ALL_MEMBERS
2543   return count of all members while Category::COUNT_CONTENT_PAGES return that
2544   of content pages. For the former behavior use Category::getMemberCount()
2545 * Using `new HTMLForm( … )` or `HTMLForm::factory( … )` without the $context
2546   parameter is now deprecated.
2547 * BagOStuff::incr() and BagOStuff::decr() are now deprecated.
2548 * Action::exists() and ActionFactory::actionExists() are deprecated, use
2549   (bool)ActionFactory::getAction().
2551 === Other changes in 1.38 ===
2552 * The following things were changed in the file deletion form:
2553    - The name and ID of the submit button are now `wpConfirmB`, not
2554       `mw-filedelete-submit`
2555    - The ID of the form is now `deleteconfirm`, not `mw-img-deleteconfirm`
2556    - The `mw-filedelete-editreasons` class was replaced with
2557      `mw-delete-editreasons`
2558   The goal of these changes is to make the HTML more similar to that of
2559   normal page deletion.
2560 * ParserOptions created with ::newFrom* or ::newCanonical are now identical.
2561 * MediaWiki initialization order have been changed to load vendor autoload
2562   earlier. This means that extensions that are installed via composer and
2563   execute code upon autoloading can not depend on any MediaWiki classes,
2564   constants or globals in that code.
2565 * The source of truth for configuration defaults is now the MainConfigSchema
2566   class. DefaultSettings.php still exists for backwards compatibility. A PHP
2567   file generated for optimized loading will be used in Setup.php to initialize
2568   configuration variables. Setup.php can be made to load DefaultSettings.php
2569   as before by setting MW_USE_LEGACY_DEFAULT_SETTINGS as  an environment
2570   variable (e.g. via SetEnv in htaccess) or a PHP constant (e.g. via
2571   auto_prepend_file in php.ini).
2573 == Compatibility ==
2574 MediaWiki 1.38 requires PHP 7.3.19 or later and the following PHP extensions:
2576 * ctype
2577 * dom
2578 * fileinfo
2579 * iconv
2580 * intl
2581 * json
2582 * mbstring
2583 * xml
2585 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
2586 but support for them is somewhat less mature.
2588 The supported versions are:
2590 * MySQL 5.5.8 or later
2591 * PostgreSQL 9.4 or later
2592 * SQLite 3.8.0 or later
2594 == Online documentation ==
2595 Documentation for both end-users and site administrators is available on
2596 MediaWiki.org, and is covered under the GNU Free Documentation License (except
2597 for pages that explicitly state that their contents are in the public domain):
2599        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
2601 == Mailing list ==
2602 A mailing list is available for MediaWiki user support and discussion:
2604        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2606 A low-traffic announcements-only list is also available:
2608        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
2610 It's highly recommended that you sign up for one of these lists if you're
2611 going to run a public MediaWiki, so you can be notified of security fixes.
2613 == IRC help ==
2614 There's usually someone online in #mediawiki on irc.libera.chat.
2616 = MediaWiki 1.37 =
2618 == MediaWiki 1.37.6 ==
2620 This is a maintenance release of the MediaWiki 1.37 branch.
2622 === Changes since MediaWiki 1.37.5 ===
2623 * Fix missing use statement from backport of fix for T307278.
2625 == MediaWiki 1.37.5 ==
2627 This is a security and maintenance release of the MediaWiki 1.37 branch.
2629 === Changes since MediaWiki 1.37.4 ===
2630 * Localisation updates.
2631 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
2632 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
2633 * (T312302) SpecialRedirect: Don't pass null to explode.
2634 * RemoveInvalidEmails: Fix quoting for postgres.
2635 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
2636   strlen().
2637 * (T312300) SpecialDiff: Don't pass null to explode().
2638 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
2639 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
2640 * (T289926) Ensure that strlen() does not get passed a (valid) null.
2641 * (T312301) SpecialDiff: Don't pass null to trim().
2642 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
2643 * (T289926) Ensure we don't pass null to mb_strlen.
2644 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
2645   calls.
2646 * (T289926) site: Consistently return null from Site::getDomain().
2647 * (T307304, T289879) filebackend,jobqueue: Add signature for
2648   FilterIterator::accept().
2649 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
2650 * Add application/vnd.ms-opentype to MIME list.
2651 * Allow composer/installers plugin in composer.json.
2652 * Change type hints for BatchRowIterator and NotRecursiveIterator for
2653   compatibility with PHP 8.1.
2654 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
2655 * (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix
2656   php8.1.
2657 * (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for
2658   ImportSource.
2659 * Fix tests so getName() doesn't return null.
2660 * (T313663) [php8] Don't use strlen on potentially null string.
2661 * (T313663) [php8.1] Suppress test warning about providing null.
2662 * (T313663) Parser will use current timestamp instead of null if passed a
2663   RevisionRecord that does not have a timestamp.
2664 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
2665 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
2666 * (T313663) Mock UserOptionsManager::getOption for php8.1.
2667 * (T289879, T289926) Get rid of warnings on PHP 8.1.
2668 * (T313663) Check for null return of preg_replace in MediaWikiTitleCodec.
2669 * (T313663) cast db name to string when checking if it is read only [php8.1].
2670 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
2671 * Fix a couple deprecation warnings in the installer under PHP 8.1.
2672 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
2673 * (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1].
2674 * (T314096) Migrate use of ${var}-style string interpolation.
2675 * (T314099) preprocessor: Add missing field declarations.
2676 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
2677   '' not null.
2678 * (T314225) SpecialCategories: Null coalescene $par.
2679 * (T314099) User: Allow dynamic properties on PHP 8.2.
2680 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
2681 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
2682 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
2683 * (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1.
2684 * (T313663) Do not test giving a null fragment to Title::makeTitle.
2685 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
2686 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
2687 * api: Add rel=nofollow to help examples.
2688 * (T307613) Validate length of user email on Special:ChangeEmail/
2689   Special:CreateAccount.
2690 * (T314226) LoginSignupSpecialPage: Check if $value is a string before length.
2691 * (T314824) tests: Update parser test after i18n change.
2692 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
2693 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
2694   wpNamespaceRestrictions.
2695 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
2696 * (T315892) composer.json: Pin phpunit to 8.5.28.
2697 * (T313049) Bump wikimedia/parsoid to v0.14.2.
2698 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
2699   change.
2700 * (T318079) SpecialEditTags: Set default value of wpTagsToRemove to empty array.
2701 * (T318460) SpecialChangeEmail: Set default for returntoquery.
2702 * (T318307) Update docs for HTMLFormField::validate() to permit all data types.
2703 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
2704   in an IP range check on Special:Contributions.
2705 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
2706   of hidden users.
2707 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
2708   "alreadyrolled" can leak revision deleted user name.
2710 == MediaWiki 1.37.4 ==
2712 This is a maintenance release of the MediaWiki 1.37 branch.
2714 === Changes since MediaWiki 1.37.3 ===
2715 * Localisation updates.
2716 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
2717 * (T311559) SpecialListFiles: user parameter isn't always present.
2718 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
2719 * (T311920) SpecialBlockList: Prevent passing null to trim().
2720 * (T311921) SpecialUserrights: Don't pass null to str_replace.
2721 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
2722   Title::capitalize().
2723 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
2724 * (T312059) Update guzzlehttp/guzzle to 7.4.5 in vendor.
2725 * (T296435, T297669) cache: Add four fields to LinkCache::getSelectFields.
2727 == MediaWiki 1.37.3 ==
2729 This is a security and maintenance release of the MediaWiki 1.37 branch.
2731 === Changes since MediaWiki 1.37.2 ===
2732 * Localisation updates.
2733 * (T289879) Type hints for ArrayAccess and JsonSerializable.
2734 * (T304783) TemplateParser: avoid warnings when called by NoLocalSettings.
2735 * Rebuilt vendor with composer 2.3.3.
2736 * Fix old_name in UserLogoutComplete hook.
2737 * (T289879) Address some deprecations for PHP 8.1.
2738 * (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update.
2739 * (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail jobs
2740   triggered.
2741 * (T307982) Updated wikimedia/parsoid from v0.14.0 to v0.14.1.
2742 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
2743 * (T308473) SECURITY: Escape contributions-title msg for use within page title.
2744 * (T311272) Call parent constructor of AddSite maintenance script first.
2745 * MediaWiki: Don't eagerly initialize action name.
2746 * Updated wikimedia/shellbox from v2.0.0 to v2.1.1.
2747 * (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
2748 * (T289926) Avoid passing null to trim() in SkinTemplate.
2749 * (T311473) rollbackEdits: Pass user identity to RollbackPage.
2750 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
2751 * (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null.
2752 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
2753 * (T311569) FileBackend::isStoragePath() Handle being passed null.
2754 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
2755 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
2756 * (T281741) ChangeTags: Fix adding CSS classes for hidden tags.
2757 * (T296642) changetags: Fix management of a '0' tag.
2758 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
2759 * (T303033) Handle null in ChangeTags::modifyDisplayQuery.
2760 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
2762 == MediaWiki 1.37.2 ==
2764 This is a security and maintenance release of the MediaWiki 1.37 branch.
2766 === Changes since MediaWiki 1.37.1 ===
2767 * (T298261) Fix support for Composer 2.2.
2768 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
2769 * Update doctrine/dbal (3.0.0 => 3.1.5).
2770 * (T296898) Add entry point name to disabled Session exception if possible.
2771 * (T298564) MemcachedClient: Add support for IPv6.
2772 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
2773   galleries and Special:RevisionDelete.
2774 * (T289956) WatchAction: Fix bug that prevents showing proper success
2775   message in the noscript fallback mode.
2776 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
2777 * (T283275) Fix PHP 8.0 failure of RefreshSecondaryDataUpdateTest.
2778 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
2779 * (T275673) objectcache: Avoid getCurrentTime() call in MapCacheLRU::has().
2780 * (T275673) objectcache: split up MapCacheLRU::getAge() to avoid conditional
2781   overhead.
2782 * Fix the json schema and the extension processor for Parsoid extension modules.
2783 * (T299696) update.php: Avoid passing null to substr.
2784 * (T195807, T256401) Fix signature of DatabasePostgres::buildGroupConcatField.
2785 * In PHP 8.1 don't throw exceptions from mysqli.
2786 * (T289926) SiteConfiguration: Don't pass null to str_replace().
2787 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
2788 * (T260735) Stop using is_resource() where possible.
2789 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
2790   interfaces.
2791 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
2792 * ExtensionRegistry: Add process cache for lazy attributes.
2793 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
2794 * Allow ParsoidModules extension schema to register services.
2795 * (T300462) SpecialUndelete: Do not show empty comments as deleted.
2796 * (T297708) Allow setting max execution time to several special pages.
2797 * (T205349) LinkCache: Try invalidating cache before throwing.
2798 * (T302540) composer.json: Add ext-calendar to require.
2799 * (T302540) composer.json: Add ext-simplexml to require-dev.
2800 * (T302540) composer.json: Add various PHP extensions to suggests.
2801 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
2802 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
2803 * (T293576) listFiles: Display file name instead of version.
2804 * (T303871) Fix @since of Title::getId().
2805 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
2806 * wrapOldPasswords: add \n to two output calls.
2807 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
2808   loop if it points to a local interwiki.
2809 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
2810   uploads with actor as a condition can result in a DoS.
2811 * (T297754, CVE-2022-28204) Special:WhatLinksHere can result in a DoS when a
2812   page is used on a extremely large number of other pages.
2814 == MediaWiki 1.37.1 ==
2816 This is a security and maintenance release of the MediaWiki 1.37 branch.
2818 === Changes since MediaWiki 1.37.0 ===
2819 * (T296112) Allow inserting new sections named '0'.
2820 * Fix path for ZhConversion.php.
2821 * nukeNS: don't run purgeRedundantText() after every change.
2822 * (T286779, T297031) installer: Fix Postgres mistakes in using changeField
2823   method.
2824 * (T225888) RollbackAction: fix missing pagetitle.
2825 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
2826   undo actions.
2827 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
2828 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
2829 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
2830   when changing content model.
2832 == MediaWiki 1.37.0 ==
2834 === Changes since MediaWiki 1.37.0-rc.2 ===
2835 * Remove justinrainbow/json-schema from vendor.
2836 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
2837 * Update deprecated Guzzle Psr7 function calls.
2838 * (T281972) UserIdentityValue: Correct @since tags.
2839 * Updated wikimedia/parsoid from v0.14.0-a19 to v0.14.0.
2840 * Localisation updates.
2841 * Tweak error message for missing composer dependencies.
2843 == MediaWiki 1.37.0-rc.2 ==
2845 === Changes since MediaWiki 1.37.0-rc.1 ===
2846 * (T295173) Re-add wikimedia/normalized-exception to vendor.
2847 * Remove wikimedia/testing-access-wrapper, psr/simple-cache, psr/http-factory
2848   from vendor.
2849 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is set.
2850 * (T212428) Allow populateContentTables to continue when there are bad blobs.
2852 == MediaWiki 1.37.0-rc.1 ==
2854 === Changes since MediaWiki 1.37.0-rc.0 ===
2855 * (T294043) checkStorage: pass no parameters to WikiRevision::getContent().
2856 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
2857   results.
2858 * (T293783) ApiQueryImageInfo: don't show empty comments as deleted.
2859 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
2860 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
2861 * Remove duplicate settings from DefaultSettings.
2862 * (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser.
2864 == MediaWiki 1.37.0-rc.0 ==
2866 == Upgrading notes for 1.37 ==
2867 Don't forget to always back up your database before upgrading!
2869 See the file UPGRADE for more detailed per-version upgrade instructions from the
2870 oldest supported upgrading version, MediaWiki 1.27.
2872 Some specific notes for MediaWiki 1.37 upgrades are below:
2873 * (T280806) Deprecated methods of fetching API tokens have been removed. This
2874   may cause older bots and scripts to fail. Most queries are trivially
2875   updateable to using new methods. See the Action API changes section below
2876   for more information.
2878 For notes on 1.36.x and older releases, see HISTORY.
2880 === Configuration changes for system administrators in 1.37 ===
2881 * (T242768) The PasswordCannotMatchUsername password policy has been removed,
2882   please use PasswordCannotBeSubstringInUsername instead. If you have not
2883   customised your password policies, there will be nothing to do here.
2885 ==== New configuration ====
2886 * $wgBrowserFormatDetection - This setting allows the enabling or disabling
2887   of automatic detection of possible phone numbers in a webpage in iOS Safari.
2888 * $wgParserEnableLegacyMediaDOM - This setting defaults to true, and enables
2889   the legacy media HTML structure in the output from the Parser.  The
2890   alternative modern HTML structure for media is described at
2891   https://www.mediawiki.org/wiki/Parsing/Media_structure
2892   In a future release of MediaWiki this option will default to false,
2893   so it's a good idea to test this setting on your wiki early and report
2894   any issues.
2896 ==== Changed configuration ====
2897 * $wgContentHandlerTextFallback - This migration setting, which defines how to
2898   react if a plain text version of a non-text Content object is requested using
2899   ContentHandler::getContentText(), is deprecated.
2900 * $wgActions – This setting lets sysadmins over-ride which actions can be used.
2901   It has been re-worked to support injecting dependencies into Action sub-
2902   classes as part of wider work on dependency injection. Previously, $wgActions
2903   was an array where the keys were the names of actions, and the values had the
2904   following impacts (for a given key 'Foo'):
2905   - `true`: use the class 'FooAction' unless for a specific page
2906     WikiPage::getActionOverrides() wants to override that action
2907   - a string: use the class with that name, and do not allow over-riding on a
2908     per-page basis
2909   - `false`: the action is disabled
2910   - a callable: use the Action instance returned by invoking that callback, and
2911     do not allow overriding on a per-page basis
2912   - an object: use that specific Action instance, and do not allow overr-iding
2913     on a per-page basis.
2914   As part of T253078, values can now be arrays that are not callables, which are
2915   treated as ObjectFactory specs, allowing for services to be injected.
2916   Additionally, the distinction between values that allow per-page overrides and
2917   those that do not was removed - all actions can now be overridden on a per-
2918   page basis using WikiPage::getActionOverrides().
2919 * $wgShellboxUrl – This setting, new in 1.36 to configure the novel Shellbox
2920   encapsulation system, is now deprecated; use $wgShellboxUrls as a mapping of
2921   service => URL instead.
2922 * $wgIncludejQueryMigrate – This setting, introduced in 1.29 to on whether to
2923   provide a migration layer for jQuery, has now switched its default value from
2924   true to false. This may break gadgets that depended on methods that were
2925   removed in jQuery 3 in 2017. See T280944 for more information.
2926 * A number of settings have been renamed. The former configuration variable
2927   names are deprecated, but will be used as the fall back if they are still set,
2928   and remain temporarily available for extensions which might try to read them:
2929   - $wgFileBlacklist is now $wgProhibitedFileExtensions
2930   - $wgMimeTypeBlacklist is now $wgMimeTypeExclusions
2931   - $wgEnableUserEmailBlacklist is now $wgEnableUserEmailMuteList
2932   - $wgShortPagesNamespaceBlacklist is now $wgShortPagesNamespaceExclusions
2933 * $wgMimeTypeExclusions - As well as being renamed, this configuration array now
2934   also prohibits the RFC 4329 form of JavaScript, 'application/javascript', as
2935   well as previous MIME types.
2936 * $wgFragmentMode - This setting, which determines the encoding of section IDs,
2937   has now switched its default value from legacy-first to html5-first: both the
2938   HTML5 anchor and the legacy percent-encoding-style anchor will still be
2939   generated for section titles, but references to them will use the HTML5
2940   version, resulting in human-readable fragments.
2942 ==== Removed configuration ====
2943 * $wgLegacyJavaScriptGlobals, deprecated in 1.36.
2944 * (T274695) $wgAjaxEditStash, deprecated in 1.36.
2945 * $wgShowDBErrorBacktrace, deprecated and non-functional since 1.32.
2946 * $wgShowSQLErrors, deprecated and non-functional since 1.32.
2947 * $wgLangObjCacheSize, without deprecation; the LanguageFactory service now
2948   always retains at most 10 objects in its LRU-cache.
2949 * $wgDjvuToXML, without deprecation; the tool it enables is obsolete and
2950   abandoned upstream. Use $wgDjvuDump to use that tool instead.
2952 === New user-facing features in 1.37 ===
2953 * (T161934) MediaWiki now supports JPEG2000 files, to a limited extent.
2955 === External library changes in 1.37 ===
2957 ==== New external libraries ====
2958 * Added symfony/polyfill-php80 1.23.1.
2959 * Added whatwg-fetch 3.6.2.
2960 * Added wikimedia/normalized-exception 1.0.1.
2962 ==== Changed external libraries ====
2963 * Updated OOjs from v5.0.0 to v6.0.0
2964 * Updated OOjs-Router from v0.2.0 to v0.3.0
2965 * Updated OOUI from v0.41.3 to v0.42.0
2966 * Updated WVUI from v0.1.0 to v0.3.0
2967 * Updated cssjanus/cssjanus from v1.3.0 to v2.1.0.
2968 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
2969 * Updated psr/container from v1.0.0 to v1.1.1.
2970 * Updated wikimedia/minify from v2.2.2 to v2.2.4.
2971 * Updated wikimedia/object-factory from v3.0.0 to v3.0.2.
2972 * Updated wikimedia/parsoid from v0.13.1 to v0.14.1.
2973 * Updated wikimedia/relpath from v2.1.1 to v3.0.0.
2974 * Updated wikimedia/remex-html from v2.3.1 to v2.3.2.
2975 * Updated wikimedia/shellbox from v1.0.4 to v2.1.1.
2976 * Updated wikimedia/wait-condition-loop from v2.0.1 to v2.0.2.
2977 * Updated zordius/lightncandy from v1.2.5 to v1.2.6.
2978 * Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
2979 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
2981 ===== Changed development-only external libraries =====
2982 * Updated qunit from 2.10.0 to 2.16.0.
2984 ==== Removed external libraries ====
2985 * The pimple/pimple development-only library has been removed.
2987 === Action API changes in 1.37 ===
2988 * (T280806) The API methods for fetching tokens which were deprecated in
2989   MediaWiki 1.24 have been removed. action=query&meta=tokens&type= should be
2990   used instead. Please note some token types no longer exist, and you should
2991   just use type=csrf for those instead.
2992   - action=query&prop=info&intoken ->
2993       action=query&meta=tokens&type=csrf
2994   - action=tokens&type= ->
2995       action=query&meta=tokens&type=
2996   - action=query&list=recentchanges&rctoken ->
2997       action=query&meta=tokens&type=csrf
2998   - action=query&prop=revisions&rvtoken=rollback ->
2999       action=query&meta=tokens&type=rollback
3000   - action=query&meta=userinfo&uiprop=preferencestoken ->
3001       action=query&meta=tokens&type=csrf
3002   - action=query&list=users&ustoken=userrights ->
3003       action=query&meta=tokens&type=userrights
3005 === Languages updated in 1.37 ===
3006 MediaWiki supports over 350 languages. Many localisations are updated regularly.
3007 Below only new and removed languages are listed, as well as changes to languages
3008 because of Phabricator reports.
3010 * (T280435) LRM and RLM characters were removed from names of languages with
3011   parentheses in Names.php
3012 * (T283422) Add namespace name translations and change the autonym of
3013   the Kinyarwanda language to "Ikinyarwanda".
3014 * (T283423) Change the autonym of the Lombard language from "lumbaart"
3015   to "lombard".
3016 * (T279619) Added language support for Dagbani (dag).
3017 * (T282085) Added language support for Malay in Arabic (Jawi) script (ms-arab).
3018 * (T283053) Added language support for Ojibwe (ojb).
3019 * (T283480) Added language support for Wallisian (wls, Fakaʻuvea).
3020 * (T284002) Added language support for Paiwan (pwn).
3021 * (T284044) Added language support for Carpathian Romani (rmc).
3022 * (T286460) Added language support for Gun (guw, Gungbe).
3023 * (T287345) Added language support for Baoulé (bci).
3024 * (T290126) Added language support for Kildin Sami (sjd).
3025 * (T290408) Added language support for Pite Sami (sje).
3026 * (T25216) Started the renaming of the language code for Norman from nrm to
3027   nrf.
3029 === Breaking changes in 1.37 ===
3030 * The Revision class, emitting deprecation warnings since 1.35, was removed
3031   entirely. As part of this, the following hooks that included a Revision object
3032   were removed:
3033     - ArticleRevisionUndeleted - use RevisionUndeleted
3034     - ArticleRollbackComplete - use RollbackComplete
3035     - DiffRevisionTools - use DiffTools
3036     - DiffViewHeader - use DifferenceEngineViewHeader
3037     - HistoryRevisionTools - use HistoryTools
3038     - NewRevisionFromEditComplete - use RevisionFromEditComplete
3039     - PageContentInsertComplete - use PageSaveComplete
3040     - PageContentSaveComplete - use PageSaveComplete
3041     - ParserFetchTemplate - use BeforeParserFetchTemplateRevisionRecord
3042     - RevisionInsertComplete - use RevisionRecordInserted
3043     - TitleMoveComplete - use PageMoveComplete
3044     - TitleMoveCompleting - use PageMoveCompleting
3045     - UndeleteShowRevision - no replacement
3046     - UserRetrieveNewTalks - no replacement
3047   … the following methods and variables have been removed:
3048     - Article::$mRevision
3049     - Article::getRevisionFetched()
3050     - ContribsPager::tryToCreateValidRevision()
3051     - EditPage::$mBaseRevision
3052     - EditPage::getBaseRevision()
3053     - LinksUpdate::getRevision()
3054     - LinksUpdate::setRevision()
3055     - PageArchive::getArchivedRevision()
3056     - PageArchive::getPreviousRevision()
3057     - PageArchive::getRevision()
3058     - Parser::$mRevisionObject
3059     - Parser::fetchCurrentRevisionOfTitle()
3060     - Parser::getRevisionObject()
3061     - Parser::statelessFetchRevision()
3062     - ParserOptions::getCurrentRevisionCallback()
3063     - ParserOptions::setCurrentRevisionCallback()
3064     - Title::countAuthorsBetween()
3065     - Title::getFirstRevision()
3066     - User::getNewMessageLinks()
3067     - User::getNewMessageRevisionId()
3068     - User::setNewtalk()
3069     - WikiPage::getOldestRevision()
3070     - WikiPage::getRevision()
3071     - WikiPage::getUndoContent()
3072     - WikiPage::updateIfNewerOn()
3073   … and the following methods no longer accept Revision objects as parameters:
3074     - CategoryMembershipChange::__construct()
3075     - ContentHandler::getUndoContent()
3076     - DerivedPageDataUpdater::prepareUpdate()
3077     - DifferenceEngine::getRevisionHeader()
3078     - Linker::buildRollbackLink()
3079     - Linker::generateRollback()
3080     - Linker::getRevDeleteLink()
3081     - Linker::getRollbackEditCount()
3082     - Linker::revComment()
3083     - Linker::revUserLink()
3084     - Linker::revUserTools()
3085     - WikiPage::doDeleteUpdates()
3086     - WikiPage::doEditUpdates()
3087     - WikiPage::hasDifferencesOutsideMainSlot()
3088     - WikiPage::onArticleEdit()
3089     - WikiPage::prepareContentForEdit()
3090     - WikiPage::updateRevisionOn()
3091   The following methods return arrays that formerly included a 'revision'
3092   key that would emit deprecation warnings when accessed and return a
3093   Revision object. The Revision object has been removed from the arrays,
3094   and the 'revision-record' key should be used to get the relevant
3095   RevisionRecord instead:
3096     - PageUpdater::doCreate()
3097     - PageUpdater::doModify()
3098     - Parser::statelessFetchTemplate()
3099     - WikiPage::doEditContent()
3100   Finally, the ParserOptions `templateCallback` option is a callback that is
3101   called in Parser::fetchTemplateAndTitle() and should return an array - the
3102   'revision' key to that array used to be a Revision object and was used if
3103   no 'revision-record' was returned - is now ignored.
3104 * Previously, the classes RevisionTestModifyableContent and
3105   RevisionTestModifyableContentHandler were loaded for use in tests, but were
3106   only used within the tests for the since-removed Revision class. This content
3107   and content handler class were removed without deprecation.
3108 * WANObjectCache::HOLDOFF_NONE, deprecated since 1.35, was removed. Use
3109   WANObjectCache::HOLDOFF_TTL_NONE instead.
3110 * Calling ResourceLoader::makeVersionQuery() without $modules parameter,
3111   deprecated since MediaWiki 1.34, is no longer supported.
3112 * LocalFile::recordUpload2(), deprecated since 1.35, was removed.
3113 * The following methods and fields in the Language class, deprecated since 1.35,
3114   have been removed:
3115    - ::classFromCode()
3116    - ::clearCaches()
3117    - ::convertTitle()
3118    - ::findVariantLink()
3119    - ::$mConverter
3120    - ::updateConversionTable()
3121 * The following methods in the Parser class have been removed after having been
3122   deprecated in 1.35:
3123    - fetchTemplate()
3124    - Title()
3125 * (T273354) When an edit is prevented by an 'EditFilterMergedContent' hook
3126   handler without changing the status, the edit form will now be displayed.
3127 * User::clearNotification() which had been deprecated in 1.35 has been removed.
3128   Use WatchlistManager::clearTitleUserNotification() instead.
3129 * User::getNewtalk() which had been deprecated in 1.35 has been removed. Use
3130   TalkPageNotificationManager::userHasNewMessages() instead.
3131 * The Autopromote class, deprecated since 1.35, was removed. Use
3132   UserGroupManager instead.
3133 * The CachedAction, SpecialCachedPage, CacheHelper, and ICacheHelper classes,
3134   all emitting deprecation warnings since 1.36, have been removed.
3135 * The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS, deprecated
3136   in 1.35, were removed.
3137 * The TitleArrayFromResult hook, deprecated in 1.36, was removed.
3138 * The deprecated "es6-promise" alias ResourceLoader module has been removed. Use
3139   the "es6-polyfills" module directly intead.
3140 * The deprecated "mediawiki.legacy.protect" ResourceLoader module, deprecated
3141   since 1.36, has been removed. Use "mediawiki.action.protect" instead.
3142 * The JavaScript alias $j for references to jQuery, deprecated since 1.23, has
3143   been removed. Use $ instead.
3144 * The AuthenticationProvider interface and the SessionProvider class no longer
3145   extend the PSR LoggerAwareInterface concept, so they can't be typehinted as
3146   LoggerAwareInterface.
3147 * User::getGrantName(), emitting deprecation warnings since 1.36, has been
3148   removed. Use MWGrants::grantName() instead.
3149 * The following ApiBase methods, deprecated since 1.35, have been removed:
3150   - ApiBase::explodeMultiValue
3151   - ApiBase::parseMultiValue
3152   - ApiBase::validateLimit
3153   - ApiBase::validateTimestamp
3154 * The User::idCacheByName() public static field was removed without deprecation.
3155   Instead of using it, get a UserIdentity by name from the UserIdentityLookup
3156   service.
3157 * IDatabase::upsert() and IDatabase::replace() now only accept a single unique
3158   key. Previously, a warning was issued if there were multiple unique keys
3159   provided.
3160 * The MediaWiki:Autoblock_whitelist block exemption control was moved in 1.36 to
3161   MediaWiki:Block-autoblock-exemptionlist. The backward-compatibility of reading
3162   the old MediaWiki:Autoblock_whitelist page has now been dropped.
3163 * The following overridable methods in File hierarchy have changed signatures:
3164   - File::deleteFile() - now accepts UserIdentity instead of User
3165   - File::getDescription() - now accepts Authority instead of User
3166   - File::userCan() - now accepts Authority instead of User
3167   - LocalFile::deleteOldFile() - now accepts UserIdentity instead of User
3168 * The following global methods, each deprecated since 1.36, have been removed:
3169   - wfAppendToArrayIfNotDefault()
3170   - wfAcceptToPrefs()
3171   - wfConfiguredReadOnlyReason()
3172   - wfDebugMem()
3173   - wfGetPrecompiledData()
3174   - wfNegotiateType()
3175 * The following deprecated methods of the Title class have been removed:
3176   - ::nameOf(), deprecated in 1.36
3177   - ::getPreviousRevisionID(), deprecated in 1.34
3178   - ::getNextRevisionID(), deprecated in 1.34
3179   - ::getEarliestRevTime(), deprecated in 1.35
3180 * UploadBase::stashFile(), deprecated since 1.28, was removed.
3181 * wfGetRusage(), deprecated since 1.35, has been removed.
3182 * The following CLI options were removed from tests/phpunit.php:
3183     - use-filebackend
3184     - use-jobqueue
3185     - use-bagostuff
3186   The following options (inherited from Maintenance) were also removed:
3187     - conf
3188     - dbuser
3189     - dbpass
3190     - dbdefaultgroup
3191     - globals
3192     - memory-limit
3193     - profiler
3194     - server
3195   The following options were changed to environment variables:
3196     - wiki => PHPUNIT_WIKI
3197     - use-normal-tables => PHPUNIT_USE_NORMAL_TABLES
3198     - use-filebackend => PHPUNIT_USE_FILEBACKEND
3199     - use-bagostuff => PHPUNIT_USE_BAGOSTUFF
3200     - use-jobqueue => PHPUNIT_USE_JOBQUEUE
3201   This is so that we can use the default PHPUnit entry point (T90875).
3202 * The PHPUNIT_REUSE_DB / --reuse-db option was removed from the phpunit.php
3203   runner. It had been broken for at least three years already. The original use
3204   case was speeding up tests on Oracle, but Oracle support was dropped several
3205   releases ago.
3206 * The MediaWikiPHPUnitTest__endTestHook and MediaWikiPHPUnitTest__startTestHook
3207   PHPUnit hooks were removed. MediaWikiHooksPHPUnitExtension was also removed.
3208 * EntryPoint::getTextFormatters() was made private without a deprecation period;
3209   it had no known external callers.
3210 * DatabaseBlock::chooseBlock(), deprecated since 1.35, was removed.
3211 * SpecialPageFactory::getRestrictedPages(), deprecated since 1.36, was removed.
3212 * SpecialBlock::validateTarget(), deprecated since 1.36, was removed.
3213 * The PatchFileLocation trait was removed without deprecation.
3214 * ActorMigrationBase::getExistingActorId() and ::getNewActorId(), emitting
3215   deprecation warnings since 1.36, were removed.
3216 * Hook handlers implementing the MediaWikiServicesHook hook are now prohibited
3217   from having services injected. This is because by definition, this hook runs
3218   before the service container is fully initialized.
3219 * The protected property LocalFile::$metadata was removed without deprecation.
3220 * WatchedItem::getUser(), emitting deprecation warnings since 1.36, has been
3221   removed.
3222 * AuthManager::singleton(), emitting deprecation warnings since 1.36, has been
3223   removed.
3224 * The AugmentPageProps class was removed without deprecation. It had no known
3225   uses.
3226 * Html::infobox(), deprecated since 1.36, was removed.
3227 * ParserOptions::__construct() now requires that the first parameter is a
3228   UserIdentity object - passing `null` used to fallback to the global
3229   $wgUser but was deprecated since 1.36.
3230 * ParserOptions::newCanonical() no longer supports the first parameter being
3231   null (or omitted entirely), which would fallback to the global $wgUser but
3232   was deprecated since 1.35.
3233 * The SkinTemplatePreventOtherActiveTabs hook, deprecated in 1.35, was removed
3234   entirely.
3235 * The SkinTemplateTabAction hook, deprecated in 1.35, was removed entirely.
3236 * The SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook, deprecated in 1.35,
3237   was removed entirely.
3238 * The SkinTemplateToolboxEndHook, deprecated in 1.35, was removed entirely.
3239 * The following methods of RevisionStore class, formerly emitting deprecation
3240   warnings, were removed:
3241   - ::newMutableRevisionFromArray()
3242   - ::loadRevisionFromPageId()
3243   - ::loadRevisionFromTitle()
3244   - ::loadRevisionFromTimestamp()
3245   - ::listRevisionSizes()
3246 * LogEntry::getPerformer(), deprecated since 1.36, was removed along with
3247   methods in sub-classes: DatabaseLogEntry, ManualLogEntry, RCDatabaseLogEntry.
3248 * Skin::getRelevantUser() now returns an instance of UserIdentity, and not
3249   necessarily a User object. There is no known usages in MediaWiki ecosystem
3250   that were not satisfied with UserIdentity.
3251 * Direct construction of MergeHistory class, deprecated since 1.35, is no longer
3252   supported. Use MergeHistoryFactory instead. MergeHistory::checkPermissions,
3253   deprecated since 1.36, was removed.
3254 * Skin::generateDebugHTML(), deprecated since 1.35, was removed. Call
3255   MWDebug::getHTMLDebugLog() directly.
3256 * The ApiTestCase class no longer interacts with the global $wgUser.
3257   Previously, the global variable was set at the start of each test, and in
3258   ApiTestCase::doApiRequest() if a performer was specified $wgUser was
3259   updated to match, and if no performer was specified $wgUser was used
3260   instead. Now, $wgUser is not updated, and if no performer is specified
3261   the reusable TestUser object for the sysop is relied on. Extensions
3262   or skins that rely on the global $wgUser variable (which has been
3263   deprecated since 1.35) should instead retrieve the acting user from the
3264   relevant context source.
3265 * SkinTemplate::makeArticleUrlDetails(), deprecated since 1.35, was removed.
3266 * Skin::makeNSUrl(), deprecated since 1.35, was removed.
3267 * Skin::getRevisionId(), deprecated since 1.34, was removed. Use
3268   OutputPage::getRevisionId() instead.
3269 * Skin::isRevisionCurrent(), deprecated since 1.34, was removed. Use
3270   OutputPage::isRevisionCurrent() instead.
3271 * AbstractBlock::parseTarget(), deprecated since 1.36, was removed.
3272 * The ArticleEditUpdates hook, deprecated since 1.35, was removed.
3273 * The `@stable to extend` class CentralIdLookup has following changes:
3274   - The protected ::checkAudience() method now returns an Authority instead of a
3275     User instance.
3276   - A number of its `@stable to override` methods now accept an Authority
3277     instead of a User instance as the $audience parameter.
3278   - A number of methods now accept a UserIdentity instead of their User
3279     parameter.
3280   - The ::localUserFromCentralId() method now returns UserIdentity and not
3281     necessarily a User object.
3282   All extensions that extend this class or use this method were updated to be
3283   ready to the new behavior.
3284 * WatchedItemStoreInterface::enqueueWatchlistExpiryJob(), deprecated since 1.36,
3285   was removed.
3286 * ResultWrapper is now abstract. It cannot be directly constructed (T286694).
3287 * The SecondaryDataUpdates hook, deprecated in 1.32, was removed entirely.
3288 * Content::getDeletionUpdates(), was removed. Use
3289   ContentHandler::getDeletionUpdates() instead.
3290 * Content::getSecondaryDataUpdates(), was removed. Use
3291   ContentHandler::getSecondaryDataUpdates() instead.
3292 * wfDiff(), deprecated since 1.25, has been removed.
3293 * Language::$mLangObjCache, deprecated since 1.35, was removed.
3294 * Language::$transformData, deprecated since 1.35, was removed.
3295 * Language::transformUsingPairFile() was marked @internal. Its deprecated
3296   parameters are no longer supported.
3297 * SpecialMute::getTarget(), unused outside of the SpecialMute class, was
3298   made private.
3299 * The Skin::setupSkinUserCss() method, deprecated in 1.32, was removed. Please
3300   use skin registration instead.
3301 * The ResourceLoaderSkinModule `legacy`, `content` and `content-thumbnails`
3302   features were deprecated. Skins should instead select from the features
3303   listed on [[mw:Manual:ResourceLoaderSkinModule]].
3304 * ParserCache::getKey() and ::getEtag(), deprecated since 1.36, were removed.
3305 * The BaseTemplateToolbox hook, deprecated since 1.35, was removed.
3306 * Previously a capitalize-all-nouns class was added to the body element of
3307   languages where nouns must be capitalized. This class is no longer added to
3308   the body tag and must be provided by skins.
3309 * The SkinTemplateOutputPageBeforeExec hook, deprecated since 1.35, was removed.
3310 * Calling Message::toString() without a parameter, which triggered deprecation
3311   warnings since 1.36, is no longer supported. You can instead use the explicit
3312   formatting methods directly, such as Message::text() and Message::escaped().
3313 * Article::getContentObject(), deprecated since 1.32, was removed.
3314 * Article::delete(), Article::confirmDelete() and ImagePage::delete() were
3315   removed. The logic responsible for building the form is being
3316   moved to DeleteAction, while the actual deletion logic will be moved to a
3317   separate service.
3318 * WikiImporter::debugRevisionHandler(), unused and for debug only, was removed.
3319 * Content::preloadTransform() now emits deprecation warnings. Instead, please
3320   use ContentTransformer::preloadTransform(). Extensions defining a content
3321   model should override ContentHandler::preloadTransform().
3322 * Content::preSaveTransform() now emits deprecation warnings. Instead, please
3323   use ContentTransformer::preSaveTransform() instead. Extensions defining
3324   a content model should override ContentHandler::preSaveTransform().
3325 * Constructing WikiPage objects from Title instances that cannot exist, emitting
3326   deprecation warnings since 1.36, now throws an exception. Additionally,
3327   WikiPage now implements ProperPageIdentity, rather than just PageIdentity.
3328 * The Skin::bottomScripts() method is deprecated. Please instead use
3329   OutputPage::getBottomScripts().
3330 * LinksUpdate::getTriggeringUser() now returns ?UserIdentity instead of ?User.
3331 * The LESS mixin `.box-shadow()` (from mediawiki.mixins.less), deprecated since
3332   1.36, was removed. Use CSS property `box-shadow` unprefixed for all basic
3333   supported browsers instead.
3334 * The LESS mixin `.flex()` now no longer tries to support the 2009 version of
3335   the Flexbox specification; support for the 2012 and modern standard versions
3336   remains unchanged.
3337 * The StorageAwareness::ATTR_SYNCWRITES, StorageAwareness::QOS_SYNCWRITES_*,
3338   StorageAwareness::ATTR_LOCALITY, and StorageAwareness::QOS_LOCALITY_*
3339   constants were removed.
3341 === Deprecations in 1.37 ===
3342 * JobQueue::getWiki(), deprecated in 1.33, now emits deprecation warnings.
3343 * AbstractBlock::getTargetAndType() and ::getTarget() now emit deprecation
3344   warnings. Use ::getTargetName() and ::getTargetUserIdentity() together with
3345   ::getType().
3346 * Passing a UserIdentity to WatchlistManager::clearAllUserNotifications() and
3347   WatchlistManager::clearTitleUserNotifications() is now deprecated. Pass an
3348   Authority instead.
3349 * Passing LinkTarget to WatchlistManager::clearTitleUserNotifications() and
3350   WatchlistManager::getTitleNotificationTimestamp(). Pass PageIdentity instead.
3351 * The User class methods ::isWatched(), ::isTempWatched(), ::removeWatch(), and
3352   ::addWatch() have been deprecated. Use corresponding methods in
3353   WatchlistManager instead.
3354 * Multiple WatchAction methods have been deprecated in lieu of WatchlistManager:
3355    - ::doWatchOrUnwatch() use WatchlistManager::setWatch()
3356    - ::doWatch() -> WatchlistManager::addWatch()
3357    - ::doUnwatch() -> WatchlistManager::removeWatch()
3358 * WatchAction::getWatchToken() now emits deprecation warnings. Instead use
3359   CsrfTokenSet::getToken().
3360 * Action::getHookContainer() has been marked as internal. Actions that require
3361   access to a hook container should have one injected instead.
3362 * The ::getTitle() and ::setTitle() methods in Parser have been deprecated.
3363   Use ::getPage() and ::setPage() instead.
3364 * Title::isWatchable() has been deprecated. Use WatchlistManager::isWatchable()
3365   instead.
3366 * Methods and classes related to the primary database, previously referred to as
3367   'master', have been deprecated, with the new ones replacing them as follows:
3368   - The DBMasterPos and MySQLMasterPos classes have been respectively renamed to
3369     DBPrimaryPos and MySQLPrimaryPos.
3370   - LocalRepo::getMasterDB() -> ::getPrimaryDB()
3371   - ForeignDBRepo::getMasterDB() -> ::getPrimaryDB()
3372   - JobQueueDB::getMasterDB() -> ::getPrimaryDB()
3373   - ForeignDBViaLBRepo::getMasterDB() -> ::getPrimaryDB()
3374   - DBFileJournal::getMasterDB() -> ::getPrimaryDB()
3375   - ILoadBalancer::getMasterPos() -> ::getPrimaryPos()
3376   - IDatabase::getMasterPos() -> ::getPrimaryPos()
3377   - ILoadBalancer::finalizeMasterChanges() -> ::finalizePrimaryChanges()
3378   - ILoadBalancer::approveMasterChanges() -> ::approvePrimaryChanges()
3379   - ILoadBalancer::beginMasterChanges() -> ::beginPrimaryChanges()
3380   - ILBFactory::beginMasterChanges() -> ::beginPrimaryChanges()
3381   - ILoadBalancer::commitMasterChanges() -> ::commitPrimaryChanges()
3382   - ILBFactory::commitMasterChanges() -> ::commitPrimaryChanges()
3383   - IDatabase::getTopologyRootMaster() -> ::getTopologyRootPrimary()
3384   - IDatabase::masterPosWait() -> ::primaryPosWait()
3385   - ILoadBalancer::runMasterTransactionIdleCallbacks() ->
3386       ::runPrimaryTransactionIdleCallbacks()
3387   - ILoadBalancer::runMasterTransactionListenerCallbacks() ->
3388       ::runPrimaryTransactionListenerCallbacks()
3389   - ILoadBalancer::rollbackMasterChanges() -> ::rollbackPrimaryChanges()
3390   - ILBFactory::rollbackMasterChanges() -> ::rollbackPrimaryChanges()
3391   - ILoadBalancer::flushMasterSnapshots() -> ::flushPrimarySnapshots()
3392   - ILoadBalancer::hasMasterConnection() -> ::hasPrimaryConnection()
3393   - ILoadBalancer::hasMasterChanges() -> ::hasPrimaryChanges()
3394   - ILBFactory::hasMasterChanges() -> ::hasPrimaryChanges()
3395   - ILoadBalancer::lastMasterChangeTimestamp() -> ::lastPrimaryChangeTimestamp()
3396   - ILoadBalancer::hasOrMadeRecentMasterChanges() ->
3397       ::hasOrMadeRecentPrimaryChanges()
3398   - ILBFactory::hasOrMadeRecentMasterChanges() ->
3399       ::hasOrMadeRecentPrimaryChanges()
3400   - ILoadBalancer::pendingMasterChangeCallers() ->
3401       ::pendingPrimaryChangeCallers()
3402   - ILoadBalancer::forEachOpenMasterConnection() ->
3403       ::forEachOpenPrimaryConnection()
3404   - ILoadBalancer::waitForMasterPos() -> ::waitForPrimaryPos()
3405   - Database::assertIsWritableMaster() -> ::assertIsWritablePrimary()
3406   - RevDelList::reloadFromMaster() -> ::reloadFromPrimary()
3407   - ExternalStoreDB::getMaster() -> ::getPrimary()
3408   - DatabaseMysqlBase::getMasterServerInfo() -> ::getPrimaryServerInfo()
3409   - MWExceptionHandler::rollbackMasterChangesAndLog() ->
3410       ::rollbackPrimaryChangesAndLog()
3411 * wfGetLB(), deprecated since 1.27, now emits deprecation warnings.
3412 * wfLocalFile(), deprecated since 1.34, now emits deprecation warnings.
3413 * wfFindFile(), deprecated since 1.34, now emits deprecation warnings.
3414 * wfIncrStats(), deprecated in 1.36, now emits deprecation warnings.
3415 * wfCanIPUseHTTPS() is now deprecated, and always returns true.
3416 * The UserLoadFromDatabase hook has been deprecated. It had no known uses.
3417 * The following methods in ApiPageSet have been deprecated:
3418    - ::getTitles(), use ::getTargets() instead.
3419    - ::getGoodTitles(), use ::getGoodPages() instead.
3420    - ::getMissingTitles(), use ::getMissingPages() instead.
3421    - ::getGoodAndMissingTitles(), use ::getGoodAndMissingPages() instead.
3422    - ::getRedirectTitles(), use ::getRedirectTargets() instead.
3423    - ::getSpecialTitles(), use ::getSpecialPages() instead.
3424 * The following methods from the User class, deprecated in 1.35, now each emit
3425   deprecation warnings:
3426    - ::getOptions()
3427    - ::isIP()
3428    - ::isUsableName()
3429    - ::isCreatableName()
3430    - ::getCanonicalName()
3431    - ::addAutopromoteOnceGroups()
3432    - ::getEffectiveGroups()
3433    - ::getAutomaticGroups()
3434    - ::getFormerGroups()
3435    - ::getIntOption()
3436    - ::getBoolOption()
3437 * The following methods in User were deprecated:
3438   - ::idFromName() - use UserIdentityLookup::getUserIdentityByName() instead.
3439   - ::resetIdByNameCache() - in tests, reset service container. No replacement
3440     needed in production code.
3441 * Use of ActorMigration for any table except revision, deprecated in 1.34, now
3442   emits deprecation warnings. Instead of getInsertValues(), use
3443   ActorNormalization::acquireActorId(). Instead of getWhere() and getJoin(),
3444   do your own join on the actor table.
3445 * DatabasePostgres::remappedTableName() and its dependent constructor parameter
3446   'keywordTableMap' are deprecated. Reserved identifiers that are used as table
3447   names should be quoted where necessary.
3448 * LinkCache::singleton(), deprecated since 1.28, now emits deprecation warnings.
3449 * MessageCache::singleton(), deprecated since 1.34, now emits deprecation
3450   warnings.
3451 * LockManagerGroup::singleton() and ::destroySingletons(), deprecated since
3452   1.34, now emit deprecation warnings.
3453 * HtmlFileCacheUpdate::newFromTitles() is now deprecated and emitting warnings.
3454   Use newFromPages() instead.
3455 * SessionProvider ::setLogger(), ::setManager(), ::setConfig(), and
3456   ::setHookContainer() were deprecated. Use ::init() to inject dependencies, or
3457   override ::postInitSetup() to do any custom post-initialization configuration.
3458 * AbstractAuthenticationProvider ::setLogger(), ::setManager(), ::setConfig(),
3459   and ::setHookContainer() now emit deprecation warnings. Use ::init() to inject
3460   dependencies, or override ::postInitSetup() to do any custom post-
3461   initialization configuration.
3462 * User::isLoggedIn(), deprecated since 1.36, now emits deprecation warnings. Use
3463   the method it wraps, User::isRegistered(), instead.
3464 * FileBackendGroup::singleton() and ::destroySingletons(), deprecated since
3465   1.35, now emit deprecation warnings.
3466 * The first parameter of User::getBlock() should now be an integer using the
3467   Authority::FOR_XXX constants. Providing a boolean is deprecated.
3468 * ApiBase::addBlockInfoToStatus() is deprecated for use by extensions. It is now
3469   marked as @internal and may be deleted in the future.
3470   It should not be necessary to call this method, Authority should be providing
3471   all relevant information via a PermissionStatus object.
3472 * JobQueueGroup::singleton() was deprecated - use
3473   MediaWikiServices::getJobQueueGroup() instead.
3474 * JobQueueGroup::destroySingletons() was deprecated. JobQueueGroups are now
3475   automatically destroyed after tests.
3476 * LinkCache::addGoodLinkObj() has been deprecated, since it is prone to
3477   corrupting the cache with invalid information. Use addGoodLinkObjFromRow()
3478   instead. PHPUnit tests must use LinkCacheTestTrait::addGoodLinkObject().
3479 * ContentHandler::getContentText() is now deprecated. Use Content::getText()
3480   instead.
3481 * LinkCache::addLinkObj() has been deprecated, use PageStore::getPageForLink()
3482   instead.
3483 * MediaWiki\User\UserNamePrefixSearch::search() previously accepted as its first
3484   parameter either the string 'public' or a UserIdentity object, to filter
3485   results for. It now expects an Authority object instead of UserIdentity, and
3486   providing just a UserIdentity will now trigger a deprecation warning.
3487 * User::getRights(), deprecated since 1.34, now emits deprecation warnings.
3488 * User::changeableGroups() and ::changeableByGroup() now emit deprecation
3489   warnings, use corresponding methods in UserGroupManager instead.
3490 * User::incEditCount() was deprecated in favor of the new method
3491   UserEditTracker::incrementUserEditCount().
3492 * RepoGroup::singleton(), ::destroySingleton() and ::setSingleton(), deprecated
3493   since 1.34, now emit deprecation warnings.
3494 * RecentChange::getPerformer(), deprecated since 1.36, now emits deprecation
3495   warnings. Use ::getPerformerIdentity() instead.
3496 * ContentHandler::cleanupHandlersCache(), deprecated since 1.35, now emits
3497   deprecation warnings.
3498 * Category::getTitle() was deprecated in favor of Category::getPage()
3499 * File::getUser() method now emits deprecation warnings, along with its over-
3500   rides in LocalFile and ForeignApiFile in favor of ::getUploader().
3501 * SpecialBlock::checkUnblockSelf(), deprecated in 1.36, now emits deprecation
3502   warnings.
3503 * (T284179) The mediawiki.viewport ResourceLoader module is deprecated. You can
3504   now just use MutationObserver or InterSectionObserver directly, which are
3505   widely available in all supported JavaScript browsers.
3506 * The following constructor options of DatabaseBlock class will now trigger
3507   deprecation warnings:
3508     - the 'byText' property with blocker's name,
3509     - the 'by' property with blocker's ID,
3510   For both of these, use the 'by' property with UserIdentity value instead.
3511 * The BeforeResetNotificationTimestamp hook was deprecated.
3512 * ArchivedFile::getUser() ::getRawUser() ::getRawUserText() were deprecated in
3513   favor of ::getUploader.() ::getRawDescription() was deprecated in favor of
3514   ::getDescription() with RAW audience parameter.
3515 * When calling LocalFile::newFromRow() or LocalFile::loadFromRow(), passing
3516   extra fields not requested by ::getQueryInfo() will now trigger deprecation
3517   warnings. This is to warn callers that deprefixing and automatic assignment of
3518   such fields will not be done in a future version.
3519 * JobSpecification::getTitle() was deprecated without providing a replacement.
3520   It wasn't used and job given the purpose of JobSpecification class it is not
3521   needed.
3522 * The protected method File::getImageSize() is now deprecated.
3523 * BacklinkCache::get() was deprecated, use
3524   BacklinkCacheFactory::getBacklinkCache() instead.
3525 * Title::getBacklinkCache() now emits deprecation warnings. Instead, use the
3526   ::getBacklinkCache() method in the BacklinkCacheFactory service.
3527 * MediaHandler::getImageSize(), ::getMetadata(), and ::isMetadataValid() were
3528   deprecated and should no longer be overridden. Instead, sub-classes should
3529   override getSizeAndMetadata().
3530 * Deprecated File::getMetadata(). Instead use ::getMetadataArray(),
3531   ::getMetadataItem() and ::getMetadataItems().
3532 * Message::title() has been deprecated; use Message::page() instead.
3533 * BaseTemplate::getAfterPortlet(), BaseTemplate::renderAfterPortlet(), and the
3534   BaseTemplateAfterPortlet hook, which were deprecated in 1.35,
3535   now emit deprecation warnings.
3536 * The LocalFile::getHistory() hook is deprecated.
3537 * Previously the Skin templateDirectory option inside skin.json had to be
3538   relative to MediaWiki core. This should now be relative to the skin.
3539 * Calling WikiPage::prepareContentForEdit() without a UserIdentity is now
3540   deprecated.
3541 * User::getEditTokenObject(), ::getEditToken(), and ::matchEditToken() were each
3542   deprecated. Use CsrfTokenRepository, which is available via IContextSource,
3543   instead. ::matchEditTokenNoSuffix() was deprecated without replacement.
3544   It was introduced to be able to provide custom error message if the token
3545   was submitted, but ending slashes were stripped by some ASCII mangling proxy.
3546   Use ::matchToken() instead, such proxies are much less common now and there's
3547   not much benefit in customising the error message.
3548 * ContentHandler::getForTitle(), deprecated since 1.35, now emits deprecation
3549   warnings.
3550 * User::listOptionKinds(), deprecated since 1.35, now emits deprecation
3551   warnings.
3552 * WikiPage::doEditContent(), deprecated since 1.32, now emits deprecation
3553   warnings.
3554 * CentralIdLookup::factory() and ::factoryNonLocal() now emit deprecation
3555   warnings; obtain an instance from MediaWikiServices instead.
3556 * The class RandomPage was renamed to SpecialRandomPage. The class RandomPage
3557   is now deprecated.
3558 * BotPassword::invalidateAllPasswordsForCentralId() was deprecated.
3559 * BotPassword::removeAllPasswordsForCentralId() was deprecated.
3560 * The Title class members: $mTextform, $mUrlform, $mDbkeyform, $mNamespace,
3561   $mInterwiki, and $mFragment have been deprecated to not be used directly.
3562   Instead, their corresponding accessor methods should be used.
3563 * IDatabase::fetchObject(), ::fetchRow(), ::numRows(), ::numFields(),
3564   ::fieldName(), ::freeResult() and ::dataSeek() are deprecated. Use the
3565   corresponding methods in IResultWrapper instead.
3566 * ResultWrapper::unwrap(), DatabaseMysqlBase::fieldType() and
3567   DatabasePostgres::fieldType() each now emit deprecation warnings.
3568 * Sub-classes implementing Database::doQuery() should return either boolean or
3569   an IResultWrapper. To do otherwise will now trigger a deprecation warning.
3570 * User::getOptionKinds() and ::resetOptions(), both deprecated since 1.35,
3571   now emit deprecation warnings.
3572 * The following methods in MWNamespace, all deprecated since 1.34, now emit
3573   deprecation warnings:
3574   - ::isMovable()
3575   - ::isSubject()
3576   - ::getTalk()
3577   - ::getSubject()
3578   - ::getAssociated()
3579   - ::equals()
3580   - ::subjectEquals()
3581   - ::hasTalkNamespace()
3582   - ::wantSignatures()
3583   - ::isWatchable()
3584   - ::getSubjectNamespaces()
3585   - ::getTalkNamespaces()
3586   - ::isCapitalized()
3587   - ::hasGenderDistinction()
3588   - ::isNonincludable()
3589   - ::getNamespaceContentModel()
3590   - ::getRestrictionLevels()
3591   - ::getCategoryLinkType()
3592 * LogFormatter::styleRestricedElement() has been deprecated in favor of
3593   LogFormatter::styleRestrictedElement()
3594 * The following hooks related to user preferences were deprecated:
3595   - UserLoadOptions: use LoadUserOptions instead.
3596   - UserSaveOptions: use SaveUserOptions instead.
3597   - UserResetAllOptions: no replacement was provided, the hook is not used.
3598 * Title::isNamespaceProtected(), deprecated in 1.34, now emits deprecation
3599   warnings.
3600 * UserSelectQueryBuilder::userIds(), ::userNames(), and ::userNamePrefix() has
3601   been deprecated in favor of ::whereUserIds(), ::whereUserNames(), and
3602   ::whereUserNamePrefix().
3603 * Manually constructing a MovePage object, deprecated in 1.34, now emits
3604   deprecation warnings. Use MovePageFactory instead.
3605 * The following deletion-related methods were deprecated:
3606   - WikiPage::doDeleteArticleReal() (soft) - use DeletePage
3607   - WikiPage::doDeleteArticleBatched() (soft) - no replacement
3608   - WikiPage::isBatchedDelete() (soft) - use DeletePage
3609   - WikiPage::doDeleteUpdates() (hard) - no replacement
3610   - WikiPage::getDeletionUpdates() (hard) - no replacement
3611   - Title::isBigDeletion (soft) - no replacement
3612 * Relying on PermissionManager or Authority to check for big deletions
3613   was deprecated. This is now automatically checked if you use
3614   DeletePage::deleteIfAllowed(). (T288759)
3615 * The userCan hook now emits deprecation warnings. Use the
3616   getUserPermissionsErrors or getUserPermissionsErrorsExpensive hooks instead.
3617 * Parser::$mUser public access, and the methods ParserOptions::getUser() and
3618   Parser::getUser() each now emit deprecation warnings.
3619 * The following methods in the Title class have been deprecated in favor of the
3620   corresponding methods in the new RestrictionStore service (with different
3621   names where indicated):
3622   - ::areCascadeProtectionSourcesLoaded()
3623   - ::areRestrictionsCascading()
3624   - ::areRestrictionsLoaded()
3625   - ::getAllRestrictions()
3626   - ::getCascadeProtectionSources()
3627   - ::getFilteredRestrictionTypes()
3628       -> ::listAllRestrictionTypes()
3629   - ::getRestrictionExpiry()
3630   - ::getRestrictionTypes()
3631       -> ::listApplicableRestrictionTypes()
3632   - ::getRestrictions()
3633   - ::isCascadeProtected()
3634   - ::isProtected()
3635   - ::isSemiProtected()
3636   - ::loadRestrictionsFromRows()
3637 * The following Title methods have been deprecated with no direct public
3638   replacement:
3639   - ::deleteTitleProtection()
3640   - ::getTitleProtection()
3641   - ::flushRestrictions()
3642   - ::loadRestrictions()
3643 * User::isAllowUsertalk() now emits deprecation warnings. Use User::getBlock()
3644   and AbstractBlock::isUsertalkEditAllowed() instead.
3645 * Classes used by Preprocessor_DOM have been merged with classes used by
3646   Preprocessor_Hash, as Preprocessor_DOM was removed in 1.35.
3647    - PPDPart has been merged into PPDPart_Hash
3648    - PPDStack has been merged into PPDStack_Hash
3649    - PPDStackElement has been merged into PPDStackElement_Hash
3650 * By default, the global variable $wgUser is now an instance of the new class
3651   StubGlobalUser rather than User, and the first time it is used it will emit
3652   deprecation warnings (the $wgUser variable was deprecated in 1.35). For
3653   extensions that read from this variable, please use a relevant ContextSource
3654   instead, falling back to RequestContext::getMain() if none is available.
3655 * Collation::singleton() and ::factory() were deprecated; obtain an instance of
3656   the CollationFactory from MediaWikiServices instead.
3657 * Title::getDefaultNamespace() has been deprecated to be removed because there
3658   are no known callers/consumers.
3659 * With removal of the stub threshold feature, the following methods now emit
3660   deprecation warnings:
3661   - LinkRenderer::setStubThreshold() and ::getStubThreshold() - no replacement.
3662   - LinkRendererFactory::createForUser() - calling ::create() is now sufficient
3663   - ParserOptions::setStubThreshold() and ::getStubThreshold() - no replacement.
3664   - User::getStubThreshold() - no replacement.
3665 * The ArticleDelete and ArticleDeleteComplete hooks were deprecated. Use
3666   PageDelete and PageDeleteComplete instead.
3667 * The ArticleUndeleteLogEntry hook was deprecated without replacement.
3668 * The following LESS mediawiki.mixins have been deprecated:
3669   - .box-sizing()
3670   - .transform()
3671   - .transform-origin()
3672   - .transition()
3673   - .transition-transform()
3674 * The `UndeleteForm::undelete` hook was deprecated. A new hook was
3675   introduced, `PageUndelete`, that provides handlers with more information and
3676   is also called for non-UI requests. The capability of replacing the
3677   PageArchive object has been removed, as that violates the laws of nature.
3679 === Other changes in 1.37 ===
3680 * WatchlistManager::addWatch() and WatchlistManager::addWatchIgnoringRights(),
3681   which replace User::addWatch(), now call the WatchArticle and
3682   WatchArticleComplete hooks.
3683 * WatchlistManager::removeWatch() and
3684   WatchlistManager::removeWatchIgnoringRights(), which replace
3685   User::removeWatch(), now call the UnwatchArticle and UnwatchArticleComplete
3686   hooks.
3687 * The overridable postInitSetup() method was added to the
3688   AbstractAuthenticationProvider class. A provider can override postInitSetup()
3689   to do any custom post-initialization configuration.
3690 * The overridable postInitSetup() method was added to the SessionProvider
3691   class. A provider can override postInitSetup() to do any custom
3692   post-initialization configuration.
3693 * The protected getConfig() method was added to the SessionProvider class.
3694   Use SessionProvider::getConfig() to get a config.
3695 * The DBAccessBase class is deprecated. Classes that used to extend it
3696   should get a load balancer (factory) injected in the constructor instead.
3697 * ActorNormalization::acquireActorId() now requires IDatabase parameter.
3698   Not providing one emitted deprecation warnings since 1.36.
3699 * Anti-lock constants ALF_PRELOAD_LINK, ALF_NO_BLOCK_LOCK, ALF_NO_LINK_LOCK
3700   and ALF_PRELOAD_EXISTENCE have been removed. They're unused since 1.25.
3701 * (T278036) CSS class 'mw-htmlform-field-autoinfuse' used by some forms has been
3702   renamed to 'mw-htmlform-autoinfuse'.
3703 * User::newFromRow() does not accept pre-loaded user preferences under
3704   $data['user_properties'] anymore. This optimization was not used.
3705 * The following files change the letter case of the file names:
3706   - SpecialRandompage.php -> SpecialRandomPage.php
3707   - SpecialRandomredirect.php -> SpecialRandomRedirect.php
3708   - SpecialRandomrootpage.php -> SpecialRandomRootPage.php
3709 * Media files which are uploaded server side using the importImages.php
3710   maintenance script will now have the "mw-server-side-upload" change tag.
3711 * (T284917) The stub threshold feature has been removed.
3712 * Skin::getPoweredBy() and Skin::getCopyrightIcon() have been deprecated as they
3713   are only designed for use by skins extended BaseTemplate. You can move calls
3714   to instead use BaseTemplate::getPoweredByHTML() and ::getCopyrightIconHTML()
3715   respectively.
3716 * The SkinGetPoweredBy hook is deprecated. No replacement is provided.
3717 * HTMLTitleTextField didn't support interwiki titles well previously.
3718   Starting with 1.37, HTMLTitleTextField has a new parameter, 'interwiki',
3719   which can be used to control acceptance of interwiki titles. To provide
3720   a transitional period, the default value ('interwiki' => null) ensures
3721   MW will have the same behavior as before (logging a deprecation warning).
3722   In 1.38, the default behavior will change to "interwiki links aren't allowed".
3724 == Compatibility ==
3726 MediaWiki 1.37 requires PHP 7.3.19 or later, or PHP 7.4.3 or later, and the
3727 following PHP extensions:
3729 * ctype
3730 * dom
3731 * fileinfo
3732 * iconv
3733 * intl
3734 * json
3735 * mbstring
3736 * xml
3738 Support for PHP 8.0 is not yet complete.
3740 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
3741 but support for them is somewhat less mature.
3743 The supported versions are:
3745 * MySQL 5.5.8 or later
3746 * PostgreSQL 9.4 or later
3747 * SQLite 3.8.0 or later
3749 == Online documentation ==
3750 Documentation for both end-users and site administrators is available on
3751 MediaWiki.org, and is covered under the GNU Free Documentation License (except
3752 for pages that explicitly state that their contents are in the public domain):
3754        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
3756 == Mailing list ==
3757 A mailing list is available for MediaWiki user support and discussion:
3759        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
3761 A low-traffic announcements-only list is also available:
3763        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
3765 It's highly recommended that you sign up for one of these lists if you're
3766 going to run a public MediaWiki, so you can be notified of security fixes.
3768 == IRC help ==
3769 There's usually someone online in #mediawiki on irc.libera.chat.
3771 = MediaWiki 1.36 =
3773 == MediaWiki 1.36.4 ==
3775 This is a security and maintenance release of the MediaWiki 1.36 branch.
3777 === Changes since MediaWiki 1.36.3 ===
3778 * (T298261) Fix support for Composer 2.2.
3779 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
3780 * Update doctrine/dbal (3.0.0 => 3.1.5).
3781 * (T296898) Add entry point name to disabled Session exception if possible.
3782 * (T298564) MemcachedClient: Add support for IPv6.
3783 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
3784   galleries and Special:RevisionDelete.
3785 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
3786 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
3787 * Fix the json schema and the extension processor for Parsoid extension modules.
3788 * (T299696) update.php: Avoid passing null to substr.
3789 * In PHP 8.1 don't throw exceptions from mysqli.
3790 * (T289926) SiteConfiguration: Don't pass null to str_replace().
3791 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
3792 * (T260735) Stop using is_resource() where possible.
3793 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
3794   interfaces.
3795 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
3796 * ExtensionRegistry: Add process cache for lazy attributes.
3797 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
3798 * Allow ParsoidModules extension schema to register services.
3799 * (T297708) Allow setting max execution time to several special pages.
3800 * (T302540) composer.json: Add ext-calendar to require.
3801 * (T302540) composer.json: Add ext-simplexml to require-dev.
3802 * (T302540) composer.json: Add various PHP extensions to suggests.
3803 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
3804 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
3805 * (T293576) listFiles: Display file name instead of version.
3806 * (T303871) Fix @since of Title::getId().
3807 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
3808 * wrapOldPasswords: add \n to two output calls.
3809 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
3810   loop if it points to a local interwiki.
3811 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
3812   uploads with actor as a condition can result in a DoS.
3814 == MediaWiki 1.36.3 ==
3816 This is a security and maintenance release of the MediaWiki 1.36 branch.
3818 === Changes since MediaWiki 1.36.2 ===
3819 * (T280363) mediawiki.page.ready: Introduce wikipage.indicators hook.
3820 * (T290697) Add symfony/polyfill-php80.
3821 * IcuCollation: Add some more icu to unicode version mappings.
3822 * ApiBase: Annotate deprecated constants individually.
3823 * PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy.
3824 * (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater.
3825 * (T291127) Always encode spaces in cookie values as "%20".
3826 * Use LocalFile::getHookRunner instead of LocalFile::hookRunner.
3827 * (T293564) mediawiki.page.ready: Fire hook 'wikipage.indicators' with
3828   children.
3829 * HistoryBlobStub: add getLocation() to get $mOldId.
3830 * Fix checkStorage.php.
3831 * checkStorage: pass no parameters to WikiRevision::getContent().
3832 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
3833   results.
3834 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
3835 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
3836 * (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser.
3837 * (T212428, T267468) Allow populateContentTables to continue when there are
3838   bad blobs.
3839 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is
3840   set.
3841 * Update pear/mail_mime to 1.10.11.
3842 * Update deprecated Guzzle Psr7 function calls.
3843 * (T281972) Follow-Up: I10fbd4b6a: Update @since tags as those were backported.
3844 * Tweak error message for missing composer dependencies.
3845 * (T296112) Allow inserting new sections named '0'.
3846 * nukeNS: don't run purgeRedundantText() after every change.
3847 * (T286779, T297031) installer: Fix Postgres mistakes in using changeField
3848   method.
3849 * (T225888) RollbackAction: fix missing pagetitle.
3850 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
3851   undo actions.
3852 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
3853 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
3854 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
3855   when changing content model.
3857 == MediaWiki 1.36.2 ==
3859 This is a security and maintenance release of the MediaWiki 1.36 branch.
3861 === Changes since MediaWiki 1.36.1 ===
3862 * Don't access MWServices prematurely in Maintenence.php.
3863 * (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode.
3864 * Installer: Fix foundation.wikimedia.org link in config-pingback-help.
3865 * (T283273) Make postgres IRC channel point to libera.chat.
3866 * composer.json: Promote and pin monolog/monolog to require from require-dev.
3867 * (T287526) JavaScriptMinifer: Recognize `...` as a single token.
3868 * (T287526) Update wikimedia/minify to 2.2.4.
3869 * (T289108) ExtensionProcessor: Remove loaderScripts from extension.json
3870   schemas.
3871 * (T281549) Installer: Fix mediawiki-announce auto subscription code.
3872 * FormatJson: Optimize encode() for supported PHP versions.
3873 * (T290398) renameRestrictions.php: Update protected_titles as well.
3874 * (T290489) objectcache: Fix PHP warning for ReplicatedBagOStuff::setMulti.
3875 * $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329
3876   form of JavaScript, 'application/javascript', as well as previous MIME types.
3877 * (T51097, T290273) resourceloader: Call getStyleFiles from
3878   FileModule::getFileHashes.
3879 * (T277788) parser: Avoid calling ParserOptions::getOption() too many times.
3880 * (T291244) Unserialize objects in ParserCache->mExtensionData as objects.
3881 * MysqlUpdater: Add updatelog entries for dropDefault.
3882 * (T290776) Fix $phase check in OutputHandler.
3883 * The wikimedia/parsoid library has been upgraded from v0.13.0 to v0.13.1.
3884 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search.
3885 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
3886   table scan.
3887 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
3888   Special:Contributions.
3890 == MediaWiki 1.36.1 ==
3892 This is a security and maintenance release of the MediaWiki 1.36 branch.
3894 === Changes since MediaWiki 1.36.0 ===
3895 * (T283942) DatabaseInstaller.php: Only run core schema file if specified table
3896   doesn't already exist.
3897 * (T247223) Optimise MessageCache::isMainCacheable() for the single-message
3898   case.
3899 * (T283244) JavaScriptMinifer: Fix handling of "delete" as object property.
3900 * (T284391) Fix SkinModule to correctly prepend remote path on document root
3901   installs.
3902 * (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors.
3903 * (T278579) Don't send headers on ob_end_clean().
3904 * (T285287) MultiHttpClient: Replace PHP version check with defined().
3905 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging pages.
3907 == MediaWiki 1.36.0 ==
3909 === Changes since MediaWiki 1.36.0-rc.0 ===
3910 * (T248481) rdbms: Use server time in
3911   DatabaseMysqlBase::getLagFromPtHeartbeat().
3912 * (T281549) WebInstaller: Don't show the announce-l subscribe checkbox for now.
3913 * (T264214) Follow-ups for UserGroupManager.
3914 * (T282280) resourceloader: Fix path-only URLs in wiki modules when script path
3915   is docroot.
3916 * (T281972) UserIdentityValue: Introduce convenience static factory methods.
3917 * (T230428) Make page_is_redirect and page_is_new unsigned.
3918 * (T280292) Legacy feature should not load thumbnail style rules (only layout).
3919 * (T283247) Freenode -> Libera per wikimedia moving from freenode to libera.
3920 * (T280270) composer: Lock Parsoid version to specific 0.13.0 release.
3921 * (T142663) Add extension.json merge strategy "provide_default".
3922 * (T283540) HookContainer: Fix normalization of callback for static handler.
3923 * (T283464) registration: Fix array order for array_replace_recursive merge
3924   strategy.
3925 * (T283539) Interwiki: Fix calling "onInterwikiLoadPrefix" hook.
3926 * (T282594) Timeless: Re-branch to 40eb3dad1for REL1_36.
3928 == MediaWiki 1.36.0-rc.0 ==
3930 == Upgrading notes for 1.36 ==
3931 Don't forget to always back up your database before upgrading!
3933 See the file UPGRADE for more detailed per-version upgrade instructions from the
3934 oldest supported upgrading version, MediaWiki 1.27.
3936 Some specific notes for MediaWiki 1.36 upgrades are below:
3937 * MediaWiki 1.36 now requires the PHP internationalization extension (commonly
3938   referred to as Intl, ext-intl, or php-intl).
3939 * The MediaWiki:Autoblock_whitelist block exemption control has been moved to
3940   MediaWiki:Block-autoblock-exemptionlist. If you use this feature, please move
3941   the MediaWiki:Autoblock_whitelist page.
3942 * (T275334) $wgExtensionFunctions is sometimes used to change configuration
3943   settings. This is not safe; extension functions are run relatively late, some
3944   services are already initialized by that point and so they use the old
3945   configuration. Changes in 1.36 make this kind of breakage even more common.
3946   You can use the MediaWikiServices hook instead. (In the future there might be
3947   a dedicated hook for configuration changes.)
3949 For notes on 1.35.x and older releases, see HISTORY.
3951 === Configuration changes for system administrators in 1.36 ===
3952 The MediaWiki update script, maintenance/update.php, used to accept `--nopurge`
3953 as an option to prevent clearing caches stored in the database during upgrade.
3954 This is no longer encouraged, and the option has been removed.
3956 ==== New configuration ====
3957 * (T256001) $wgManualRevertSearchRadius – This setting controls a new feature
3958   that marks edits as reverts if they restore the page to an exact previous
3959   state. This configuration variable sets the maximum number of revisions of a
3960   page that will be checked against every new edit. Set this to 0 to disable the
3961   feature entirely.
3962 * (T244058) $wgOldRevisionParserCacheExpireTime — This setting was added to
3963   control caching of ParserOutput for old (non-current) revisions.
3964 * (T265263) $wgRememberMe - This setting configures the "remember me" checkbox
3965   on account log-in systems via RememberMeAuthenticationRequest.
3966 * (T157145) $wgSkinMetaTags – This setting lets sysadmins configure skins that
3967   support meta tags. These tags make sharing of MediaWiki pages on a variety of
3968   social platforms more contentful and thus useful.
3969 * (T280944) $wgIncludejQueryMigrate - This setting lets sysadmins disable the
3970   jQuery Migrate plugin. It has been enabled by default since MediaWiki 1.27.
3971   In future releases it will be disabled by default.
3973 ==== Changed configuration ====
3974 * $wgLogos – This setting selects the logo shown on the site. The default value
3975   for the site logo, which is shown in an install if you have not set one, will
3976   now be the new logo of MediaWiki.
3977 * (T274695) $wgAjaxEditStash — This setting, to disable the edit stashing
3978   feature when users start writing an edit summary, has been deprecated. In
3979   future releases, this feature will always be enabled.
3980 * $wgUploadStashScalerBaseUrl – This setting, to enable remote on-demand media
3981   scaling, was deprecated. Use the `thumbProxyUrl` setting in $wgLocalFileRepo
3982   instead.
3983 * $wgSlaveLagWarning and $wgSlaveLagCritical – These settings have been renamed,
3984   to $wgDatabaseReplicaLagWarning & $wgDatabaseReplicaLagCritical respectively.
3985   The former configuration variable names are deprecated, but will be used as
3986   the fall back if they are still set, and remain temporarily available for
3987   extensions which try to read them.
3988 * $wgWANObjectCaches - The "coalesceKeys" option was removed without deprecation
3989   and replaced by a new "coalesceScheme" option, set to "hash_stop" by default.
3990   If you use Dynomite, then set the new "coalesceKeys" option to "hash_tag". The
3991   "cluster" and "mcrouterAware" options were also removed without deprecation.
3992   Use "broadcastRoutingPrefix" instead.
3994 ==== Removed configuration ====
3995 * $wgUseTwoButtonsSearchForm — This setting, deprecated in 1.35, has been
3996   removed.
3997 * $wgAllowImageMoving — This setting, deprecated in 1.35, has been removed. Use
3998   group permission settings instead. For example, to prevent sysops from
3999   moving files, set `$wgGroupPermissions['sysop']['movefile'] = false;`
4000 * $wgExtNewTables, $wgExtNewFields, $wgExtNewIndexes, $wgExtPGNewFields,
4001   $wgExtPGAlteredFields, $wgExtModifiedFields — These settings were removed.
4002   They became obsolete after 1.17 overhauled the database updater, but were kept
4003   for backwards compatibility. The LoadExtensionSchemaUpdates hook should be
4004   used instead.
4005 * $wgParserConf - This setting, deprecated in 1.35, has been removed. The last
4006   use of this setting was for pre-processor configuration, which was deprecated
4007   in 1.34 and removed in 1.35.
4008 * $wgEnableRestAPI - This setting, ignored since 1.35, has been removed.
4009 * $wgPagePropsHaveSortkey – This temporary setting has been removed, along with
4010   the schema change upgrade path it controlled. If your site is still using it,
4011   meaning you have not yet applied the `pp_sortkey` schema change from 1.24, you
4012   must now apply it before upgrading.
4013 * The deprecated password policies PasswordCannotMatchBlacklist and
4014   PasswordNotInLargeBlacklist were removed. Please use
4015   PasswordCannotMatchDefaults and PasswordNotInCommonList respectively instead.
4017 === New user-facing features in 1.36 ===
4018 * The logo of MediaWiki has changed. This means that the "Powered By MediaWiki"
4019   button shown in the skin footer will be different.
4020 * All HTML5 named entities are now accepted in wikitext.
4021 * (T106263) The file description page's alternate sizes now include 2048px.
4023 === New developer features in 1.36 ===
4024 * Parser test files can now declare a dependency on a specific extension being
4025   loaded, not just on the presence of a certain extension tag hook. This is a
4026   better fit for extensions like TimedMediaHandler, which affect the output but
4027   don't register parser hooks. Use `extension:Foo` in the `!! hooks` section of
4028   your parser test file to declare a dependency on the `Foo` extension being
4029   loaded.
4030 * To expose code previously present in SpecialBlock/SpecialUnblock to other
4031   parts of the code, or to extensions, the new BlockUser and UnblockUser command
4032   objects were added. Use the BlockUserFactory and UnblockUserFactory services
4033   to create them.
4034 * The hook UsersPagerDoBatchLookupsHook takes now a \Wikimedia\Rdbms\IDatabase,
4035   instead of \Wikimedia\Rdbms\DBConnRef, as the first parameter.
4036 * MediaHandlers can now customize the formatting of the metadata they emit by
4037   over-riding MediaHandler::formatTag( $key, $value ). The default for unknown
4038   tags is numeric formatting; non-EXIF tags which are non-numeric should always
4039   use this method to specify the desired formatting.
4040 * The new 'title' type can be used to validate action API and REST API inputs.
4041 * The new ArticleParserOptions hook allows customizing the parser options used
4042   to parse wikitext for an article, based on user preferences, title, etc.
4043 * The new 'raw' type can be used to validate action API inputs. It bypasses the
4044   Unicode NFC normalization done on inputs of type 'string', so it more suitable
4045   when the input is binary or may contain deprecated Unicode sequences or
4046   characters (such as U+2001) that should be passed unmodified.
4047 * (T260330) A new abstraction for running shell commands has been introduced,
4048   called BoxedCommand. A BoxedCommand object can be obtained with
4049   MediaWikiServices::getInstance()->getCommandFactory()->createBoxed().
4050 * ResourceLoader modules can now mark themselves as ES6-only by setting
4051   `'es6' => true` in their module definition. ES6-only modules will not be
4052   executed in browsers that don't support ES6, such as IE11.
4054 === External library changes in 1.36 ===
4056 ==== New external libraries ====
4057 * Added wikimedia/minify 2.2.2.
4058 * Added wikimedia/request-timeout 1.1.0.
4059 * Added wikimedia/shellbox 1.0.4.
4060 * Added WVUI 0.1.0.
4061 * Added symfony/symfony/polyfill-php80 1.23.1.
4063 ==== Changed external libraries ====
4064 * Updated composer/semver from 1.5.1 to 3.2.4.
4065 * Updated guzzlehttp/guzzle from 6.5.4 to 7.2.0.
4066 * Updated jQuery from v3.4.1 to v3.6.0.
4067 * Updated jQuery Migrate from v3.1.0 to v3.3.2.
4068 * Updated jquery.client from 2.0.2 to 3.0.0.
4069 * Updated OOUI from 0.39.3 to 0.41.3.
4070 * Updated pear/mail_mime from 1.10.8 to 1.10.9.
4071 * Updated pear/net_smtp from 1.9.1 to 1.9.2.
4072 * Updated pimple/pimple from 3.3.0 to 3.3.1.
4073 * Updated wikimedia/at-ease from 2.0.0 to 2.1.0.
4074 * Updated wikimedia/cldr-plural-rule-parser from 1.0.0 to 2.0.0.
4075 * Updated wikimedia/common-passwords from 0.2.0 to 0.3.0.
4076 * Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1.
4077 * Updated wikimedia/html-formatter from 1.0.2 to 3.0.1.
4078 * Updated wikimedia/ip-set from 2.1.0 to 3.0.0.
4079 * Updated wikimedia/ip-utils from 1.0.0 to 3.0.2.
4080 * Updated wikimedia/less.php from 3.0.0 to 3.1.0.
4081 * Updated wikimedia/object-factory from 2.1.0 to 3.0.0.
4082 * Updated wikimedia/php-session-serializer from 1.0.7 to 2.0.0.
4083 * Updated wikimedia/remex-html from 2.2.0 to 2.2.2.
4084 * Updated wikimedia/utfnormal from 2.0.0 to 3.0.2.
4085 * Updated wikimedia/wait-condition-loop from 1.0.1 to 2.0.1.
4086 * Updated wikimedia/xmp-reader from 0.7.0 to 0.8.1.
4088 ===== Changed development-only external libraries =====
4089 * Updated composer/spdx-licenses from 1.5.3 to 1.5.4.
4090 * Updated doctrine/dbal from 2.10.2 to 3.0.0.
4091 * Updated doctrine/sql-formatter from 1.1.0 to 1.1.1.
4092 * Updated mediawiki/mediawiki-phan-config from 0.10.2 to 0.10.6.
4093 * Updated monolog/monolog from 1.25.3 to 2.2.0.
4094 * Updated nikic/php-parser from 4.4.0 to 4.10.2.
4095 * Updated psy/psysh from 0.10.4 to 0.10.5.
4096 * Updated seld/jsonlint from 1.7.1 to 1.8.3.
4097 * Updated symfony/yaml from ~3.4|~4.3|~5.0.5 to ~3.4|~5.1.
4098 * Updated wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0.
4100 ==== Removed external libraries ====
4101 * The html5shiv library has been removed, as support for Internet Explorer 8 has
4102   been dropped.
4103 * The wikimedia/avro suggested development-only library has been removed, as the
4104   support for logging in Avro format has been dropped.
4106 === Bug fixes in 1.36 ===
4107 * (T190285) ApiEditPage module used to switch 'undo' and 'undoafter' parameters,
4108   if it founds you reversed them (based on assumption that higher revision ID
4109   indicates a later revision). The assumption is not always true, and is
4110   hindering proper edit undoing in some cases, hence the logic has been removed.
4111   Reversing the parameters will now lead to edit conflict or undefined behavior.
4112 * (T263340) In history merging, pages with a content model that does not support
4113   redirects will now be recorded as deleted if no revision is being left in the
4114   source page (that's if all revisions of the page have been merged to another).
4116 === Action API changes in 1.36 ===
4117 * (T269636) `Access-Control-Max-Age` was added to the default list of headers
4118   allowed for cross-origin API requests ($wgAllowedCorsHeaders).
4119 * (T258108) Accounts with the 'bot' right no longer have pages automatically
4120   added to the watchlist when making API edits, regardless of their preferences.
4121   This is to reduce the size of the watchlist data in the database. To add API
4122   bot edits to the watchlist, explicitly set the 'watch' option.
4124 === Languages updated in 1.36 ===
4125 MediaWiki supports over 350 languages. Many localisations are updated regularly.
4126 Below only new and removed languages are listed, as well as changes to languages
4127 because of Phabricator reports.
4129 * (T258975) Added a Latin/Cyrillic script converter for the Talysh language.
4130 * (T245359) Split Bali script locale from "ban" (Balinese) (ban-bali).
4131 * (T264582) Added language support for Madurese (mad).
4132 * (T259330) Added language support for Mara (mrh).
4133 * (T263968) Added language support for Nias (nia).
4134 * (T270365) Added language support for Tyap (kcg).
4135 * (T276745) Added language support for Wayuu (guc).
4137 === Breaking changes in 1.36 ===
4138 * Grade C (non-JavaScript) support for Internet Explorer 8 has been dropped.
4139 * (T249459) wfIsBadImage(), deprecated in 1.34, has been removed.
4140 * (T176526) EditPage::getContextTitle() will now throw an exception if a context
4141   title was not set using setContextTitle(). Previously, this mis-use would only
4142   cause a deprecation warning to be emitted.
4143 * The DeferredStringifier class, deprecated since 1.31, was removed.
4144 * Multiple methods that fell back to the $wgUser global variable were
4145   individually hard deprecated previously. The following have now been removed:
4146   - ApiTestCase::doLogin
4147   - Article::doDeleteArticle
4148   - Article::doDeleteArticleReal
4149   - Article::getComment
4150   - Article::getCreator
4151   - Article::getUser
4152   - Article::getUserText
4153   - Article::insertProtectNullRevision
4154   - File::delete
4155   - File::recordUpload
4156   - ForeignDBFile::delete
4157   - ForeignDBFile::recordUpload
4158   - LocalFile::delete
4159   - LocalFile::deleteOld
4160   - LocalFile::recordUpload
4161   - PageArchive::undelete
4162   - RecentChange::markPatrolled
4163   - Title::getUserPermissionsErrors
4164   - Title::quickUserCan
4165   - Title::userCan
4166   - WebRequest::getLimitOffset
4167   - WikiPage::doDeleteArticle
4168   - WikiPage::insertProtectNullRevision
4169 * The SpecialPageFactory class, deprecated in 1.32, has been removed. Use the
4170   SpecialPageFactory service instead.
4171 * Multiple methods previously had optional User parameters, with fallbacks
4172   to the $wgUser global variable. Not passing a User to those methods was
4173   previously hard deprecated, and support for not passing a User has now
4174   been removed:
4175    - ArchivedFile::userCan
4176    - File::userCan
4177    - FileDeleteForm::__construct
4178    - FileDeleteForm::doDelete
4179    - LocalFileDeleteBatch::__construct
4180    - LogEventsList::getExcludeClause (only needed for the 'user' audience)
4181    - LogEventsList::userCan
4182    - LogEventsList::userCanBitfield
4183    - LogEventsList::userCanViewLogType
4184    - LogPage::addEntry (also accepts user id instead)
4185    - OldLocalFile::userCan
4186    - PatrolLog::record
4187    - Title::getNotificationTimestamp (though the entire method is deprecated)
4188    - WikiPage::getComment (only needed for the FOR_THIS_USER audience)
4189    - WikiPage::getCreator (only needed for the FOR_THIS_USER audience)
4190    - WikiPage::getUser (only needed for the FOR_THIS_USER audience)
4191    - WikiPage::getUserText (only needed for the FOR_THIS_USER audience)
4192 * The following hooks have been removed:
4193    - APIQueryInfoTokens
4194    - APIQueryRecentChangesTokens
4195    - APIQueryRevisionsTokens
4196    - APIQueryUsersTokens
4197    - ApiTokensGetTokenTypes
4198 * LogEventsList::typeAction previously accepted an optional right parameter, and
4199   checked if the context user ($wgUser) had that right. Passing a right was hard
4200   deprecated in 1.35, and support for passing a right has now been removed.
4201 * WikiPage::doDeleteArticleReal previously accepted an optional user as its
4202   fifth parameter, and fell back to $wgUser if not user was provided. The
4203   signature changed to have the user as the second parameter, and the old
4204   signature was hard deprecated in 1.35. Support for the old signature has now
4205   been removed.
4206 * User::addNewUserLogEntry, deprecated since 1.27, was removed.
4207 * As part of refactoring the EditPage class, EditPage::setPreloadedContent,
4208   which had no known callers was removed entirely. Additionally, the following
4209   public methods were made private:
4210   - ::extractSectionTitle
4211   - ::getSummaryInputWidget
4212   - ::noSuchSectionPage
4213   - ::initialiseForm
4214 * EditPage::matchSpamRegex and ::matchSummarySpamRegex, deprecated in 1.35,
4215   were removed. Use the SpamChecker service instead.
4216 * The global function `wfWaitForSlaves`, deprecated in 1.27 and hard-deprecated
4217   in 1.35, has been removed. Use LBFactory::waitForReplication() instead.
4218 * Calling Action::factory() with null as the first parameter, rather than a
4219   string, was deprecated in 1.35 and support was now removed.
4220 * Calling Action::factory() with an object that wasn't an Article as the second
4221   parameter was deprecated in 1.35 and support was now removed.
4222 * The global variable $wgMemc, deprecated since 1.35, has been removed. Usage
4223   should generally be migrated to WANObjectCache, or if you really need the
4224   internal object, use ObjectCache::getLocalClusterInstance instead.
4225 * The preprocessDump.php maintenance script was removed.
4226 * CategoryFinder, which was deprecated in 1.31 and hard-deprecated in 1.35,
4227   has been removed.
4228 * GenderCache::singleton(), which was deprecated in 1.28 and hard-deprecated
4229   in 1.35, has been removed.
4230 * Sanitizer::escapeId(), deprecated in 1.30, has been removed.
4231 * Direct invocation of Parser::__construct() (instead of via a ParserFactory)
4232   now throws an exception; support has also been removed for several
4233   deprecated variants on the arguments passed to Parser::__construct.
4234   Direct invocation of Parser::__construct was deprecated in 1.34.
4235 * Parser::setFunctionTagHook(), deprecated in 1.35, has been removed.
4236 * The following properties of Parser, deprecated in 1.35, have been made
4237   private:
4238   - $mTagHooks - use Parser::getTags()
4239   - $mFunctionHooks - use Parser::getFunctionHooks()
4240   - $mOutput - use Parser::getOutput()
4241   - $mPreprocessor - use Parser::getPreprocessor()
4242 * The ParserBeforeTidy hook, deprecated in 1.35, has been removed.
4243 * The ParserBeforeTidy, ParserBeforeStrip, and ParserAfterStrip hooks,
4244   deprecated in 1.35, have been removed.
4245 * All methods of MWTidy except for MW::tidy() have been removed. These were each
4246   either marked as @internal or deprecated in 1.35.
4247 * (T248062) Mixins `.background-image-svg()` and `.background-image-svg-quick()`
4248   (provided by mediawiki.mixins.less), which have been deprecated since 1.35,
4249   have now been removed. MediaWiki no longer supports any browser which would
4250   require this SVG-fallback PNG support, so you can simply use the regular CSS
4251   `background-image:` declaration instead.
4252 * The ResourceLoader module `mediawiki.legacy.oldshared` and its file
4253   'oldshared.css', deprecated since 1.35 has been removed (T248357).
4254 * `ResourceLoader::__construct` now requires a Config parameter. The optional
4255   nature of this parameter was deprecated in 1.34.
4256 * The LinkBegin and LinkEnd hooks, deprecated in 1.28, have been removed. You
4257   can instead use the HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
4258   hooks, respectively.
4259 * The EmailUser hook passes its fifth param, $error, by reference, to allow
4260   hook handlers to add error messages, indicate that they have sent the email
4261   instead of core, etc. Setting the parameter to something other than a
4262   Status object, true, false, an empty string, an array, or a MessageSpecifier,
4263   object, which had been deprecated in 1.29, is no longer supported, and now
4264   results in an MWException being thrown.
4265 * Skin::getDynamicStylesheetQuery(), deprecated in 1.32, has been removed. You
4266   should use action=raw&ctype=text/css directly.
4267 * Skin::makeI18nUrl(), deprecated in 1.35, has been removed.
4268 * The following User methods, deprecated and moved to BlockManager in 1.34, were
4269   removed:
4270   - ::isDnsBlacklisted
4271   - ::inDnsBlacklist
4272   - ::isLocallyBlockedProxy
4273   - ::trackBlockWithCookie
4274 * Support for v1 of the parser tests file format has been removed; it was
4275   deprecated in 1.35. (T174199)
4276 * SpecialUnblockUser::processUIUnblock() now returns a Status object instead of
4277   an array of messages or a boolean value. This function was also marked as
4278   @internal and is no longer safe to call it publicly.
4279 * mw.Title.getDotExtension() from the 'mediawiki.Title' module was removed
4280   without deprecation. You should use mw.Title.getExtension() and prepend the
4281   dot if need be.
4282 * Profiler::getTemplated and Profiler::setTemplated, deprecated in 1.34, have
4283   been removed.
4284 * DatabaseMysqlBase now requires MySQL version 5.6.4+ when "lagDetectionMethod"
4285   is set to "pt-heartbeat".
4286 * Removed HookContainer::getOriginalHooksForTest() without deprecation. This
4287   method was introduced in 1.35 for internal use, and appears unused outside of
4288   MediaWiki core.
4289 * ParserCache::__construct() now requires three parameters.
4290 * Message->getFormat(), deprecated in 1.29, has been removed.
4291 * Support for passing Article to ParserCache::get, deprecated in 1.35, has been
4292   removed.
4293 * ParserCache::singleton(), deprecated in 1.30, has been removed.
4294 * DatabaseBlock::deleteIfExpired and ::fromMaster, deprecated in 1.35, have been
4295   removed.
4296 * Some deprecated AbstractBlock methods have been removed:
4297   - ::prevents, deprecated in 1.33
4298   - ::shouldTrackWithCookie, deprecated in 1.34
4299   - ::getBlocker, deprecated in 1.35
4300   - ::setBlocker, deprecated in 1.35
4301   - ::getBlockErrorParams, deprecated in 1.35
4302 * Multiple DatabaseBlock methods dealing with cookies, deprecated in 1.34,
4303   have been removed:
4304   - ::setCookie
4305   - ::clearCookie
4306   - ::getCookieValue
4307   - ::getIdFromCookieValue
4308   - ::shouldTrackWithCookie
4309 * The public static callback function SpecialUnblock::processUIUnblock has been
4310   removed. This method was for internal use only, and appears unused outside of
4311   MediaWiki core.
4312 * ChangeTags::truncateTagDescription, deprecated in 1.35, has been removed.
4313 * Deprecated null fallbacks in PasswordReset constructor have been removed.
4314 * User::isEveryoneAllowed and User::getAllRights, deprecated in 1.34, has been
4315   removed.
4316 * The following methods of the UserGroupMembership class, deprecated in 1.35,
4317   has been removed:
4318   - ::initFromRow
4319   - ::newFromRow - use UserGroupManager::newGroupMembershipFromRow
4320   - ::selectFields - use UserGroupManager::getQueryInfo
4321   - ::delete - use UserGroupManager::removeUserFromGroup
4322   - ::insert - use UserGroupManager::addUserToGroup
4323   - ::purgeExpired - use UserGroupManager::purgeExpired
4324   - ::getMembershipsForUser - use UserGroupManager::getUserGroupMemberships
4325   - ::getMembership - use UserGroupManager::getUserGroupMemberships
4326 * The public static callback function SpecialBlock::validateTargetField has been
4327   removed. This method was for internal use only, and appears unused outside of
4328   MediaWiki core.
4329 * The public static callback function SpecialUploadStash::tryClearStashedUploads
4330   has been removed. This method was for internal use only, and appears unused
4331   outside of MediaWiki core.
4332 * SpecialComparePages::showDiff() ::revOrTitle(), ::checkExistingTitle(), and
4333   ::checkExistingRevision() were marked as @internal to allow for breaking
4334   changes. They are no longer safe to call. The methods were unused outside of
4335   MediaWiki core.
4336 * Each special page within core now uses service injection via it constructor.
4337   When extending these special pages, a call to the grandparent constructor
4338   (`SpecialPage::__construct()`) in the sub-class would now break the derived
4339   special page, as the fallback code in the parent constructor cannot set the
4340   services as needed. Be sure to call the parent constructor when extending
4341   core special pages. Extending core's special pages is not part of the stable
4342   interface, and should generally be avoided.
4343 * Language::getExtraUserToggles and ::viewPrevNext, deprecated in 1.34, have
4344   been removed.
4345 * StreamFile::send404Message and ::parseRange, deprecated in 1.34, have been
4346   removed.
4347 * SVGMetadataExtractor class, deprecated in 1.34, has been removed.
4348 * ProcessCacheLRU class, deprecated in 1.32, has been removed.
4349 * wfForeignMemcKey(), deprecated in 1.35, has been removed.
4350 * LoadBalancer::safeWaitForMasterPos(), deprecated in 1.34, has been removed.
4351 * JobQueue::factory() now requires its `idGenerator` option. The optional
4352   nature of this option was deprecated in 1.35.
4353 * ApiFeedRecentChanges::getFeedObject has been changed to private, and appears
4354   unused outside of MediaWiki core.
4355 * Skin::subPageSubtitle() has been changed to private method. Callers should
4356   use Skin::prepareSubtitle().
4357 * RevisionDeleter::checkRevisionExistence was removed without deprecation.
4358   It had no known callers.
4359 * wfForeignMemcKey() and wfMemcKey(), deprecated in 1.35, have been removed.
4360 * MediaWiki now also requires the php-intl extension.
4361 * BotPassword::save() now returns a Status object for the result rather than
4362   a bool.
4363 * The methods in CoreTagHooks have been marked @internal and type hints have
4364   been added. The methods appeared to be unused outside of MediaWiki core.
4365 * SquidPurgeClient and SquidPurgeClientPool, deprecated since 1.35, have been
4366   removed.
4367 * Several methods on WikiPage will now throw an exception when called on a
4368   WikiPage instance that where constructed on a title that does not refer to a
4369   proper page (but rather a special page or interwiki link). The behavior was
4370   previously undefined and could in some cases lead to data corruption. Affected
4371   methods are: getId(), insertOn(), newPageUpdater(), doUpdateRestrictions(),
4372   doDeleteArticleReal(), doRollback(), and doEditContent().
4373 * The ParserTestRunner no longer invokes the ParserTestTables hook. Instead, it
4374   clones all database tables before running tests, like MediaWikiIntegrationTest
4375   does. If an extension was mis-using the hook to *exclude* tables from the
4376   clone, that will no longer occur, and tests may fail.
4377 * The following classes, which were only loaded for tests and had no uses found
4378   in public MediaWiki-related git, were removed:
4379    - MockWebRequest
4380    - UserWrapper
4381 * Passing Title as a second parameter to RevisionStore::getPreviousRevision and
4382   getNextRevision, hard deprecated since 1.31, was prohibited.
4383 * (T275619) Maintenance::hasOption and Maintenance::getOption now behave as
4384   documented and are not altered by previous calls to these methods.
4385 * The internal class FirejailCommand was removed.
4386 * Command::execute() now returns a Shellbox\Command\UnboxedResult instead of a
4387   MediaWiki\Shell\Result. Any type hints should be updated.
4388 * WikiPage::$mIsRedirect was removed.
4389 * ObjectCache::detectLocalServerCache(), deprecated in 1.35, was removed.
4390 * The following functions from the Title class have been removed:
4391    - countRevisionsBetween
4392    - getAuthorsBetween
4393 * The PageProps class was converted to a service. PageProps::overrideInstance
4394   was removed, and MediaWikiServices::redefineService should be used
4395   instead.
4396 * Support for creating a MediaWikiTitleCodec object without the InterwikiLookup
4397   and NamespaceInfo services, deprecated in 1.34, was removed. Note that the
4398   MediaWikiTitleCodec class is not @newable or @stable to create, and should
4399   be retrieved from MediaWikiServices instead.
4400 * The $wgContLang variable, deprecated in 1.32, was removed. You can instead use
4401   MediaWikiServices::getInstance()->getContentLanguage().
4402 * User::clearAllNotifications(), hard deprecated in 1.35, was removed. Use
4403   WatchlistManager::clearAllUserNotifications() instead.
4404 * DatabaseBlock::getBlocker can return any UserIdentity instance, not just User.
4405 * MediaWiki::triggerJobs(), deprecated in 1.34, was removed.
4406 * The following Article methods, deprecated in 1.35, were removed:
4407   - checkFlags
4408   - checkTouched
4409   - clearPreparedEdit
4410   - doDeleteUpdates
4411   - doEditUpdates
4412   - doPurge
4413   - doViewUpdates
4414   - exists
4415   - followRedirect
4416   - getAutoDeleteReason
4417   - getCategories
4418   - getContentHandler
4419   - getContentModel
4420   - getContributors
4421   - getDeletionUpdates
4422   - getHiddenCategories
4423   - getId
4424   - getLatest
4425   - getLinksTimestamp
4426   - getMinorEdit
4427   - getOldestRevision
4428   - getRedirectTarget
4429   - getRedirectURL
4430   - getRevision
4431   - getTouched
4432   - getUndoContent
4433   - hasViewableContent
4434   - insertOn
4435   - insertRedirect
4436   - insertRedirectEntry
4437   - isCountable
4438   - isRedirect
4439   - loadFromRow
4440   - loadPageData
4441   - lockAndGetLatest
4442   - makeParserOptions
4443   - pageDataFromId
4444   - pageDataFromTitle
4445   - prepareContentForEdit
4446   - protectDescription
4447   - protectDescriptionLog
4448   - replaceSectionAtRev
4449   - replaceSectionContent
4450   - setTimestamp
4451   - shouldCheckParserCache
4452   - supportsSections
4453   - triggerOpportunisticLinksUpdate
4454   - updateCategoryCounts
4455   - updateIfNewerOn
4456   - updateRedirectOn
4457   - updateRevisionOn
4458   - doUpdateRestrictions
4459   - updateRestrictions
4460   - doRollback
4461   - commitRollback
4462   - generateReason
4463 * The monolog-based logging system has dropped the Avro format. Because of this,
4464   the AvroFormatter class and the AvroValidator utility class have been removed
4465   without deprecation.
4466 * AbstractBlock::$mReason, deprecated in 1.34, was removed.
4467   Use AbstractBlock::getReasonComment and AbstractBlock::setReason instead.
4469 === Deprecations in 1.36 ===
4470 * (T278026) The DB_MASTER constant has been deprecated in favour of DB_PRIMARY.
4471 * (T245963) User::getGrantName() is now hard deprecated and will be removed in
4472   a subsequent release. Use MWGrants::grantName() instead.
4473 * wfIncrStats() is now deprecated. Use MediaWikiServices::getInstance()
4474   ->getStatsdDataFactory()->updateCount() instead.
4475 * WikiPage::doEditContent() is now deprecated. Use
4476   WikiPage::doUserEditContent() instead. Note that doEditContent() was also
4477   deprecated in 1.32 for unrelated reasons and doUserEditContent() is
4478   deprecated for other reasons, however, using doUserEditContent() is
4479   recommended over using doEditContent().
4480 * WikiPage::doUserEditContent() is now deprecated. Use
4481   PageUpdater::saveRevision instead. Note that the new method expects callers
4482   to take care of checking EDIT_MINOR against the minoredit right, and to apply
4483   the autopatrol right as appropriate.
4484 * LocalFile::recordUpload2, soft deprecated in 1.35, now emits deprecation
4485   warnings. Use ::recordUpload3 instead.
4486 * Constructing a new instance of the ParserOptions class without providing
4487   a User object, which falls back to the global $wgUser, is now deprecated.
4488 * The User class, which was marked as @newable in 1.35, is no longer newable,
4489   meaning that it is no longer safe to manually call the constructor via
4490   `new User`. Instead, use the UserFactory service. Additionally, the
4491   following static constructor methods were deprecated in favor of using the
4492   UserFactory service:
4493    - User::newFromName
4494    - User::newFromId
4495    - User::newFromActorId
4496    - User::newFromIdentity
4497    - User::newFromAnyId
4498    - User::newFromConfirmationCode
4499 * The following User methods have been hard deprecated in favor of the new
4500   UserEditTracker service:
4501    - User::getFirstEditTimestamp
4502    - User::getLatestEditTimestamp
4503 * The confusingly-named User->isLoggedIn() method has been deprecated in favour
4504   of the method it wraps, User->isRegistered().
4505 * Use of the `preprocessor=Preprocessor_DOM` option in parser test files has
4506   been deprecated. Preprocessor_DOM was removed in 1.35.
4507 * ParserOptions::setTidy() has been deprecated. It has had no effect since
4508   1.35.
4509 * Sanitizer::escapeIdReferenceList() has been deprecated; it will eventually
4510   be made private to the class, as it appears to have no uses outside the
4511   Sanitizer class.
4512 * Sanitizer::hackDocType() is deprecated; it will eventually be made private.
4513 * Skin::getIndicatorsHTML() is deprecated. The functionality can be retained
4514   by reimplementing the method using the raw indicators data from
4515   OutputPage::getIndicators.
4516 * Skin::makeVariablesScript() has been deprecated. Use
4517   ResourceLoader::makeInlineScript() instead.
4518 * SpecialPageFactory::getRestrictedPages() has been deprecated.
4519   Use SpecialPageFactory::getUsablePages() instead.
4520 * Title::nameOf() is deprecated; use Title::newFromID()->getPrefixedDBkey()
4521   instead.
4522 * DatabaseBlock::insert, DatabaseBlock::update, DatabaseBlock::purgeExpired and
4523   DatabaseBlock::delete are deprecated. Use DatabaseBlockStore::insertBlock,
4524   DatabaseBlockStore::updateBlock, DatabaseBlockStore::purgeExpiredBlocks and
4525   DatabaseBlockStore::deleteBlock instead.
4526 * SpecialBlock::getTargetAndType and AbstractBlock::parseTarget are deprecated.
4527   Call BlockUtils::parseBlockTarget instead.
4528 * SpecialUnblock::processUnblock was deprecated - use UnblockUserFactory
4529   service instead.
4530 * Deprecated MediaWikiIntegrationtestCase::removeTemporaryHook() in favor of
4531   MediaWikiIntegrationtestCase::clearHook().
4532 * Skin::getSearchLink(), also exposed as 'searchaction' option in SkinTemplate,
4533   has been deprecated. Use Title or SpecialPage methods directly.
4534 * Skin::getAllowedSkins and ::getSkinNames have been deprecated. Use their
4535   respective equivalents in SkinFactory instead.
4536 * The RollbackComplete hook has been deprecated, use the PageSaveComplete hook
4537   instead.
4538 * Skin::makeUrl() has been deprecated. Title methods should be used instead.
4539 * Skin::privacyLink(), Skin::disclaimerLink() and Skin::aboutLink() have been
4540   deprecated. Please use Skin::footerLink() instead.
4541 * Skin::getLogo() has been deprecated. Use ResourceLoaderSkinModule instead.
4542 * The module `mediawiki.toc.styles` has been replaced by
4543   ResourceLoaderSkinModule. If you are having problems styling table of contents
4544   ensure you have an updated skin.
4545 * Skin::mainPageLink() has been deprecated. Use LinkRenderer service instead.
4546 * BaseTemplate::getToolbox() method has been hard deprecated. The toolbox data
4547   is now available in a sidebar data array which you can get from any class
4548   that's extending QuickTemplate class.
4549 * Constructing a DefaultPreferencesFactory, LinkHolderArray or PasswordReset
4550   without a $hookContainer parameter is deprecated.
4551 * Autopromote class, soft deprecated since 1.35, now emits deprecation warnings.
4552   Use UserGroupManager instead.
4553 * SpecialBlock::canBlockEmail has been deprecated. Please use
4554   BlockPermissionChecker::checkEmailPermissions instead.
4555 * SpecialBlock::checkUnblockSelf has been deprecated. Please use
4556   BlockPermissionChecker::checkBlockPermissions instead.
4557 * SpecialBlock::parseExpiryInput was deprecated - use
4558   BlockUser::parseExpiryInput instead.
4559 * SpecialBlock::validateTarget has been deprecated, use BlockUtils instead.
4560 * SpecialBlock::validateTargetField has been deprecated for external use,
4561   use BlockUtils instead.
4562 * SpecialPage::getLanguageConverter has been deprecated, use
4563   LanguageConverterFactory::getLanguageConverter() directly.
4564 * ParserCache::getKey has been deprecated. Use ParserCache::getMetadata and
4565   ParserCache::makeParserOutputKey instead.
4566 * The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4,
4567   was removed. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
4568   support.
4569 * The PHPUnit6And8Compat class, used to provide compatibility with PHPUnit 6,
4570   was removed without deprecation. This class was introduced during the
4571   upgrade to PHPUnit 8, but never used.
4572 * MediaWikiIntegrationTestCase::assertType, hard-deprecated in 1.35 due to
4573   incompatibility with PHPUnit 8, was removed.
4574 * ParserCache::getETag has been deprecated, instead build suitable etag
4575   explicitly.
4576 * The following functions from the Language class have been hard deprecated
4577   and will be removed in a subsequent release:
4578    - findVariantLink
4579    - convertTitle
4580    - updateConversionTable
4581    - commafy
4582 * The following functions from the Title class have been hard deprecated:
4583    - getPreviousRevisionID
4584    - getNextRevisionID
4585    - getEarliestRevTime
4586 * The following functions from the User class have been hard deprecated:
4587    - getDefaultOptions
4588    - getDefaultOption
4589 * The mw.language.commafy client-side method has been deprecated, to match
4590   the deprecation of Language::commafy. Use mw.language.convertNumber
4591   instead.
4592 * The "es6-promise" module has been deprecated. Use "es6-polyfills" instead.
4593 * Title::isDeleted() and Title::isDeletedQuick() have been deprecated. Please
4594   use Title::getDeletedEditsCount() and Title::hasDeletedEdits() instead.
4595 * Article::getContentObject, soft-deprecated since 1.32, was hard-deprecated.
4596 * WikiRevision::importUpload, soft-deprecated since 1.31, was hard-deprecated.
4597 * Html::infoBox() has been deprecated. There's no replacement.
4598 * Message::toString() without a $format parameter, soft-deprecated since 1.28,
4599   was hard-deprecated. Use explicit formatting methods instead, such as
4600   Message::text() and Message::escaped().
4601 * BagOStuff::makeKeyInternal() usage outside of BagOStuff has been deprecated.
4602 * BagOStuff::setDebug() is deprecated and calls to it are ignored. Debug logs
4603   are now unconditionally enabled.
4604 * The following global functions have been hard deprecated:
4605    - wfAppendToArrayIfNotDefault
4606    - wfAcceptToPrefs
4607    - wfClearOutputBuffers
4608    - wfConfiguredReadOnlyReason
4609    - wfDebugMem
4610    - wfGetPrecompiledData
4611    - wfNegotiateType
4612 * BeforeParserFetchTemplateAndtitleHook has been deprecated; replace
4613   with the new BeforeParserFetchTemplateRevisionRecord hook. (The
4614   similar ParserFetchTemplateHook was deprecated in 1.35; the new hook
4615   replaces both.)
4616 * The InterwikiLoadPrefix hook has been deprecated; it is not compatible
4617   with future wikitext parsers (which need to enumerate all interwiki
4618   prefixes). In test cases please use $wgInterwikiCache instead.
4619 * WikiPage instances should no longer be constructed for titles that do not
4620   represent editable pages (e.g. special pages). WikiPages were always
4621   documented to represent "MediaWiki article and history".
4622 * Skin::getSkinStylePath() has been deprecated. Please replace usages with
4623   the direct path to the resources.
4624 * The second argument of EnhancedChangesList::getDiffHistLinks, $query, has
4625   been deprecated.
4626 * The ParserTestTables hook has been deprecated; it is no longer necessary
4627   after a ParserTestRunner refactoring.
4628 * The following classes have been hard deprecated: CachedAction,
4629   SpecialCachedPage, CacheHelper, ICacheHelper. They were unused in MediaWiki
4630   ecosystem, so no replacement was provided.
4631 * The ProtectionForm::buildForm hook has been deprecated. Please use the
4632   ProtectionFormAddFormFields hook instead.
4633 * RevisionStore::newMutableRevisionFromArray has been hard deprecated. Instead,
4634   MutableRevisionRecord should be constructed directly via constructor.
4635 * UserIdentity::getActorId() is deprecated. The actor ID should not be exposed
4636   to application logic. Storage layer code should use the ActorNormalization
4637   service for normalizing and denormalizing user names.
4638 * Constructing a UserIdentityValue with an actor ID as the third parameter is
4639   deprecated. The parameter should be omitted. Storage layer code should use
4640   the ActorNormalization service for normalizing and denormalizing user names.
4641 * Command::cgroup() is deprecated and no longer functional. $wgShellCgroup is
4642   now implemented as an Executor option.
4643 * Command::restrict() is deprecated. Instead use the new separate accessors.
4644 * MWTidy::tidy() is deprecated. Use MediaWikiServices::getTidy()-tidy() instead.
4645 * TidyDriverBase::supportsValidate() is deprecated; it has always returned
4646   false since 1.33.
4647 * WatchedItem::getUser hard-deprecated in favor of ::getUserIdentity.
4648 * WatchedItemStoreInterface::enqueueWatchlistExpiryJob was hard deprecated in
4649   favor of the new method maybeEnqueueWatchlistExpiryJob that takes care of
4650   relevant configuration checks.
4651 * LogEntry::getPerformer() and its implementations have been hard-deprecated, in
4652   favor of ::getPerformerIdentity().
4653 * AuthManager::singleton(), deprecated in 1.35, is hard deprecated. Use
4654   MediaWikiServices::getAuthManager() instead.
4655 * User::clearNotification(), deprecated in 1.35, is hard deprecated. Use
4656   WatchlistManager::clearTitleUserNotification() instead.
4657 * Passing string to DatabaseBlock::setBlocker was deprecated. Only UserIdentity
4658   is now allowed.
4659 * DatabaseBlock constructor 'byText' option was deprecated in favour of 'by'
4660   option, which now accepts UserIdentity. Passing user ID is deprecated.
4661 * Parser::getUser was deprecated. Use Parser::getUserIdentity instead.
4662 * DatabaseBlock::isWhitelistedFromAutoblocks was deprecated. Use
4663   DatabaseBlock::isExemptedFromAutoblocks instead.
4664 * User::isIPRange(), deprecated in 1.35, is hard deprecated.
4665   Use the UserNameUtils service or IPUtils directly.
4666 * BaseTemplate::getFooterIcons(), deprecated in 1.35, is hard deprecated. Read
4667   footer icons from template data requested via $this->get('footericons').
4668 * `box-shadow()` LESS mixin from mediawiki.mixins is deprecated due to updated
4669   basic browser support. Use unprefixed property `box-shadow:` instead.
4670 * MergeHistory::checkPermissions was deprecated. Use ::probablyCanMerge or
4671   ::authorizeMerge instead.
4672 * User::isValidUserName(), deprecated in 1.35, is hard deprecated.
4673   Use the UserNameUtils service instead.
4674 * The TitleArrayFromResult hook has been deprecated.
4675 * The EditPageBeforeEditToolbar hook has been deprecated; it has become
4676   defunct after the classic edit toolbar was removed. Use one of the many
4677   other EditPage hooks instead.
4678 * Deprecated the class name MediaWiki\User\WatchlistNotificationManager; use
4679   MediaWiki\Watchlist\WatchlistManager instead. Deprecated the method
4680   MediaWikiServices->getWatchlistNotificationManager(); use
4681   MediaWikiServices->getWatchlistManager() instead.
4682 * The "ArticleEditUpdatesDeleteFromRecentchanges" hook, deprecated in 1.35, has
4683   been removed. Other hooks like "RecentChange_save" can be used instead.
4685 === Other changes in 1.36 ===
4686 * The 'tidy' key in ParserOptions (used in the parser cache) has been removed.
4687   It has had no effect since 1.35.
4688 * A future release of MediaWiki will make `{{=}}` a built-in parser function,
4689   for use when automatically escaping the `=` character in template arguments.
4690   A tracking category and parser warning have been added to this release when
4691   `{{=}}` is used and it expands to something other than `=`.
4692 * The implementation of TestFileReader::read has been changed to use Parsoid's
4693   parser test file parser. This should be compatible with existing code, but it
4694   only supports version 2 of the test file specification and may be more strict
4695   when parsing invalid input, including duplicate tests.
4696 * BeforeParserFetchTemplateRevisionRecord, a new hook, unifies and replaces the
4697   old BeforeParserFetchTemplateAndtitleHook and ParserFetchTemplateHook.
4698 * The SkinLessImportPaths attribute was added, allowing skins to add a directory
4699   to the import path for LESS stylesheets. Skins can use this to provide a
4700   custom version of mediawiki.skin.variables.less, setting skin-specific values
4701   for certain LESS variables.
4702 * The interaction between ContentHandler::getParserOutputForIndexing() and
4703   ContentHandler::getDataForSearchIndex() has been clarified (the latter should
4704   only be called with the result of the former). Extensions may override
4705   getParserOutputForIndexing() to skip generating HTML, which may improve
4706   indexing performance. (The default implementation still generates HTML, and
4707   getDataForSearchIndex() implementations can still rely on it if they do not
4708   over-ride getParserOutputForIndexing().)
4709 * Article::fetchContentObject, ::mContentObject, ::mContentLoaded,
4710   ::mRevIdFetched, all deprecated since 1.32, were removed.
4711 * Article::mParserOptions and ::setParserOptions were removed.
4712 * Article and ImagePage::getEmptyPageParserOutput, unused, were removed.
4713 * ParserCache's default serialization format was changed from PHP serialization
4714   to JSON serialization. In case some installed extension do not support JSON
4715   yet, $wgParserCacheUseJson can be used to revert back to PHP serialization.
4716 * PermissionManager::groupHasPermission, ::getGroupPermissions and
4717   ::getGroupsWithPermission were deprecated, use GroupPermissionsLookup
4718   service instead.
4719 * WatchedItemStoreInterface now accepts PageIdentity where it accepted
4720   LinkTarget, calling with LinkTarget was deprecated.
4721 * 'movable' attribute has been added to the 'namespaces' property of
4722   extension.json schema. Extensions that define namespaces can set it to
4723   `false` to disallow moving pages in the specified namespace. Extensions
4724   should either use this or NamespaceIsMovableHook, but not both. The hook
4725   overrides the attribute.
4727 == Compatibility ==
4729 MediaWiki 1.36 requires PHP 7.3.19 or later and the following PHP extensions:
4731 * ctype
4732 * dom
4733 * fileinfo
4734 * iconv
4735 * intl
4736 * json
4737 * mbstring
4738 * xml
4740 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
4741 but support for them is somewhat less mature.
4743 The supported versions are:
4745 * MySQL 5.5.8 or later
4746 * PostgreSQL 9.4 or later
4747 * SQLite 3.8.0 or later
4749 == Online documentation ==
4750 Documentation for both end-users and site administrators is available on
4751 MediaWiki.org, and is covered under the GNU Free Documentation License (except
4752 for pages that explicitly state that their contents are in the public domain):
4754        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
4756 == Mailing list ==
4757 A mailing list is available for MediaWiki user support and discussion:
4759        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
4761 A low-traffic announcements-only list is also available:
4763        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
4765 It's highly recommended that you sign up for one of these lists if you're
4766 going to run a public MediaWiki, so you can be notified of security fixes.
4768 == IRC help ==
4769 There's usually someone online in #mediawiki on irc.libera.chat.
4771 = MediaWiki 1.35 =
4773 MediaWiki 1.35 should mostly work on PHP 8.0/8.1, however it is not
4774 currently actively supported. Testing (on a development wiki!) is
4775 appreciated, and bugs with PHP 8.0/8.1 on MediaWiki 1.35 will be accepted.
4777 It is anticipated that in a later MediaWiki 1.35 point release, we can
4778 declare 1.35 as supporting PHP 8.0/8.1.
4780 PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/
4781 PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
4782 PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
4783 PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
4785 == MediaWiki 1.35.13 ==
4787 This is a maintenance release of the MediaWiki 1.35 branch.
4789 === Changes since MediaWiki 1.35.12 ===
4790 * Tarball release to fix backport issues with patch for T341529.
4792 == MediaWiki 1.35.12 ==
4794 This is a security and maintenance release of the MediaWiki 1.35 branch.
4796 === Changes since MediaWiki 1.35.11 ===
4797 * Localisation updates.
4798 * (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for
4799   self-redirects with variants conversion.
4800 * (T341434) WikiImporter: Improve error message output.
4801 * (T341737) ApiBase: Cast $id to string in filterIDs.
4802 * (T342632) ApiComparePages: Add help url.
4803 * (T347227) ImportReporter: Make callback functions public.
4804 * doc: Improve description of type in extension.schema.v1.json.
4805 * (T340221, CVE-2023-45360) SECURITY: XSS via
4806   'youhavenewmessagesmanyusers' and 'youhavenewmessages' messages.
4807 * (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser
4808   ("X intermediate revisions by the same user not shown") ignores username
4809   suppression.
4810 * (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted XML
4811   file to Special:Upload (non-standard configuration).
4813 == MediaWiki 1.35.11 ==
4815 This is a security and maintenance release of the MediaWiki 1.35 branch.
4817 === Changes since MediaWiki 1.35.10 ===
4818 * Localisation updates.
4819 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
4820 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
4821   (1.9.0 => 1.9.1).
4822 * (T269636) Add Access-Control-Max-Age to $wgAllowedCorsHeaders.
4823 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
4824 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
4825 * (T297917) objectcache: avoid use of ctype_digit() in
4826   WANObjectCache::adaptiveTTL().
4827 * (T330464) Work around argument corruption bug in XMLReader::open.
4828 * (T313157) IndexPager: Also protect against $offset being 0.
4829 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
4831 == MediaWiki 1.35.10 ==
4833 This is a security and maintenance release of the MediaWiki 1.35 branch.
4835 === Changes since MediaWiki 1.35.9 ===
4836 * Localisation updates.
4837 * (T324895) MWCallbackStream: Add explicit $stream property.
4838 * Remove /images .htaccess rules that are no longer relevent.
4839 * Disable php in .htaccess of images directory as a hardening measure.
4840 * (T322583) Include missing message parameter in message.
4841 * Fix phan error when Excimer is enabled.
4842 * (T274966) tests: Make pass on php8.0.
4843 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0.
4844 * (T326021) Add matrix: to $wgUrlProtocols.
4845 * api/en.json: api-help-datatype-expiry add missing 'may'.
4846 * (T225218) Wait until the recent changes are updated.
4847 * (T328222) Pass empty string to strlen() if schema is null for
4848   PostgresDatabase.
4849 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
4850 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
4851 * (T155582, T328503) Fix XML dumps for content types with non-string
4852   getNativeData().
4853 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
4854 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses.
4855 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
4856 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text'
4857   tag.
4858 * (T329484) API: Fix query+allimages user parameter description.
4859 * (T330529) SpecialEditTags: Set default of '' for wpReason.
4860 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
4861   multiselects.
4862 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
4863   XFF headers.
4865 == MediaWiki 1.35.9 ==
4867 This is a security and maintenance release of the MediaWiki 1.35 branch.
4869 === Changes since MediaWiki 1.35.8 ===
4870 * Localisation updates.
4871 * (T319000) WebInstaller: Don't try and run trim() on null.
4872 * (T320864) When calling mail(), use an array for headers.
4873 * (T311567) In ManualLogEntry, cast the comment to string.
4874 * (T323082) Upgrading wikimedia/xmp-reader (0.7.0 => 0.8.5).
4875 * Language: Handle ronna and quetta.
4876 * (T304515) LCStoreStaticArray: atomically replace the cache file.
4877 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
4878 * (T322637) SECURITY: sqlite should not create DB file world-readable.
4880 == MediaWiki 1.35.8 ==
4882 This is a security and maintenance release of the MediaWiki 1.35 branch.
4884 === Changes since MediaWiki 1.35.7 ===
4885 * Localisation updates.
4886 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
4887 * (T311559) SpecialListFiles: user parameter isn't always present.
4888 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
4889 * (T311920) SpecialBlockList: Prevent passing null to trim().
4890 * (T311921) SpecialUserrights: Don't pass null to str_replace.
4891 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
4892   Title::capitalize().
4893 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
4894 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
4895 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
4896 * (T312302) SpecialRedirect: Don't pass null to explode.
4897 * RemoveInvalidEmails: Fix quoting for postgres.
4898 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
4899   strlen().
4900 * (T312300) SpecialDiff: Don't pass null to explode().
4901 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
4902 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
4903 * (T289926) Ensure that strlen() does not get passed a (valid) null.
4904 * (T312301) SpecialDiff: Don't pass null to trim().
4905 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
4906 * (T289926) Ensure we don't pass null to mb_strlen.
4907 * (T312305, T311572, T311571, T311578) HtmlForm: Null coalescence in trim()
4908   calls.
4909 * (T289926) site: Consistently return null from Site::getDomain().
4910 * (T307304, T289879) filebackend,jobqueue: Add signature for
4911   FilterIterator::accept().
4912 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
4913 * Add application/vnd.ms-opentype to MIME list.
4914 * Allow composer/installers plugin in composer.json.
4915 * (T313663) Make HandlerTestTrait compatible with php8.1.
4916 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
4917 * Change type hints for BatchRowIterator and NotRecursiveIterator for
4918   compatibility with PHP 8.1.
4919 * (T313663) [php8] Don't use strlen on potentially null string.
4920 * (T313663) [php8.1] Suppress test warning about providing null.
4921 * (T313663) Parser will use current timestamp instead of null if passed a
4922   RevisionRecord that does not have a timestamp.
4923 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
4924 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
4925 * (T289879, T289926) Get rid of warnings on PHP 8.1.
4926 * rdbms: fix some PHP 8 warnings in Database/LoadBalancer/LBFactory.
4927 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
4928 * Fix a couple deprecation warnings in the installer under PHP 8.1.
4929 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
4930 * (T314096) Migrate use of ${var}-style string interpolation.
4931 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
4932   '' not null.
4933 * (T314225) SpecialCategories: Null coalescene $par.
4934 * (T314099) User: Allow dynamic properties on PHP 8.2.
4935 * (T314404) SpecialGoToInterwiki: Null coalescene $par.
4936 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
4937 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
4938 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
4939 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
4940 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
4941 * api: Add rel=nofollow to help examples.
4942 * (T314824) tests: Update parser test after i18n change.
4943 * (T263927) Add autocomplete HTML attribute to common auth form fields.
4944 * (T307613) Validate length of user email on Special:ChangeEmail/
4945   Special:CreateAccount.
4946 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
4947   wpNamespaceRestrictions.
4948 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
4949 * (T315892) composer.json: Pin phpunit to 8.5.28.
4950 * (T229092) MigrateActors.php: ignore duplicate creations of actors.
4951 * (T313049) Bump wikimedia/parsoid to v0.12.3.
4952 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
4953   change.
4954 * (T318460) SpecialChangeEmail: Set default for returntoquery.
4955 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
4956   in an IP range check on Special:Contributions.
4957 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
4958   of hidden users.
4960 == MediaWiki 1.35.7 ==
4962 This is a security and maintenance release of the MediaWiki 1.35 branch.
4964 === Changes since MediaWiki 1.35.6 ===
4965 * Localisation updates.
4966 * (T289879) Type hints for ArrayAccess.
4967 * (T304783) TemplateParser: avoid warnings when called by NoLocalSettings.
4968 * Rebuilt vendor with composer 2.3.3.
4969 * (T289879) Address some deprecations for PHP 8.1.
4970 * Fix old_name in UserLogoutComplete hook.
4971 * (T286260, T307979) objectcache: normalize $exptime to a TTL in
4972   APCUBagOStuff/WinCacheBagOStuff.
4973 * MediaSearchWidget should declare an explicit dependency on mediawiki.user
4974   module.
4975 * (T288423) WikiImporter: Replace deprecated WikiRevision::setText.
4976 * (T309377, CVE-2022-29248, T311384, CVE-2022-27776) Updating guzzlehttp/guzzle
4977   (6.5.5 => 6.5.8).
4978 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
4979 * (T311272) Call parent constructor of AddSite maintenance script first.
4980 * MediaWiki: Don't eagerly initialize action name.
4981 * (T289926) Avoid passing null to trim() in SkinTemplate.
4982 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
4983 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
4984 * (T311569) FileBackend::isStoragePath() Handle being passed null.
4985 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
4986 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
4987 * (T281741) ChangeTags: Fix adding CSS classes for hidden tags.
4988 * (T296642) changetags: Fix management of a '0' tag.
4989 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
4990 * (T303033) Handle null in ChangeTags::modifyDisplayQuery.
4992 == MediaWiki 1.35.6 ==
4994 This is a security and maintenance release of the MediaWiki 1.35 branch.
4996 === Changes since MediaWiki 1.35.5 ===
4997 * (T298261) Fix support for Composer 2.2.
4998 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
4999 * Update doctrine/dbal (3.0.0 => 3.1.5).
5000 * (T298564) MemcachedClient: Add support for IPv6.
5001 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
5002   galleries and Special:RevisionDelete.
5003 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
5004 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
5005 * (T274966) Upgrading wikimedia/html-formatter (1.0.2 => 2.0.1).
5006 * Fix the json schema and the extension processor for Parsoid extension modules.
5007 * (T299696) update.php: Avoid passing null to substr.
5008 * In PHP 8.1 don't throw exceptions from mysqli.
5009 * (T289926) SiteConfiguration: Don't pass null to str_replace().
5010 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
5011 * (T260735) Stop using is_resource() where possible.
5012 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
5013   interfaces.
5014 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
5015 * ExtensionRegistry: Add process cache for lazy attributes.
5016 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
5017 * Allow ParsoidModules extension schema to register services.
5018 * (T297708) Allow setting max execution time to several special pages.
5019 * Upgrading wikimedia/object-factory (v2.1.0 => v2.2.0).
5020 * (T302540) composer.json: Add ext-calendar to require.
5021 * (T302540) composer.json: Add ext-simplexml to require-dev.
5022 * (T302540) composer.json: Add various PHP extensions to suggests.
5023 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
5024 * (T303871) Add Title::getId() as an alias for ::getArticleId().
5025 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
5026 * (T293576) listFiles: Display file name instead of version.
5027 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
5028 * wrapOldPasswords: add \n to two output calls.
5029 * (T304993) Make editcontentmodel a part of editpage grant.
5030 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
5031   loop if it points to a local interwiki.
5032 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
5033   uploads with actor as a condition can result in a DoS.
5035 == MediaWiki 1.35.5 ==
5037 This is a security and maintenance release of the MediaWiki 1.35 branch.
5039 === Changes since MediaWiki 1.35.4 ===
5040 * (T290697) Add symfony/polyfill-php80.
5041 * IcuCollation: Add some more icu to unicode version mappings.
5042 * ApiBase: Annotate deprecated constants individually.
5043 * PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy.
5044 * (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater.
5045 * (T291127) Always encode spaces in cookie values as "%20".
5046 * Use LocalFile::getHookRunner instead of LocalFile::hookRunner.
5047 * HistoryBlobStub: add getLocation() to get $mOldId.
5048 * Fix checkStorage.php.
5049 * checkStorage: pass no parameters to WikiRevision::getContent().
5050 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
5051   results.
5052 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
5053 * (T250068) resources: Upgrade jQuery from 3.4.1 to 3.6.0.
5054 * (T250068) resources: Upgrade jquery-migrate from 3.1.0 (patched) to 3.3.2
5055   (patched).
5056 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
5057 * (T212428, T267468) Allow populateContentTables to continue when there are
5058   bad blobs.
5059 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is
5060   set.
5061 * Update pear/mail_mime to 1.10.11.
5062 * Update deprecated Guzzle Psr7 function calls.
5063 * Tweak error message for missing composer dependencies.
5064 * (T296112) Allow inserting new sections named '0'.
5065 * nukeNS: don't run purgeRedundantText() after every change.
5066 * (T225888) RollbackAction: fix missing pagetitle.
5067 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
5068   undo actions.
5069 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
5070 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
5071 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
5072   when changing content model.
5074 == MediaWiki 1.35.4 ==
5076 This is a security and maintenance release of the MediaWiki 1.35 branch.
5078 === Changes since MediaWiki 1.35.3 ===
5079 * (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode.
5080 * (T283273) Make postgres IRC channel point to libera.chat.
5081 * (T289108) ExtensionProcessor: Remove loaderScripts from extension.json
5082   schemas.
5083 * (T281549) Installer: Fix mediawiki-announce auto subscription code.
5084 * FormatJson: Optimize encode() for supported PHP versions.
5085 * (T290398) renameRestrictions.php: Update protected_titles as well.
5086 * $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329
5087   form of JavaScript, 'application/javascript', as well as previous MIME types.
5088 * (T51097, T290273) resourceloader: Call getStyleFiles from
5089   FileModule::getFileHashes.
5090 * (T277788) parser: Avoid calling ParserOptions::getOption() too many times.
5091 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search.
5092 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
5093   table scan.
5094 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
5095   Special:Contributions.
5097 == MediaWiki 1.35.3 ==
5099 This is a security and maintenance release of the MediaWiki 1.35 branch.
5101 === Changes since MediaWiki 1.35.2 ===
5102 * (T259685) SQLite compatibility with ZeroConf VisualEditor was fixed in 1.35.2.
5103 * (T196906, T242751) Fix the test MonologSpiTest::testDefaultChannel.
5104 * (T279964) Parser: Trim trailing whitespace as the last step in pre-save
5105   transform.
5106 * (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER.
5107 * (T252853) Update updateSearchIndex.php to 2006+ standards.
5108 * (T276945) Define a batch size in maintenance/manageJobs.php.
5109 * (T276945) Implement JobQueueDB::getAllAbandonedJobs.
5110 * (T269676) authevents: strval() variables passed to status when logging.
5111 * (T280944) $wgIncludejQueryMigrate - This setting allows the jQuery Migrate
5112   plugin to be disabled. It has been enabled by default since MediaWiki 1.27.
5113 * (T281584) apihelp-query+iwlinks-param-prop: s/interlanguage/interwiki/.
5114 * (T281635) Delete maintenance/cleanupAncientTables.php.
5115 * (T282133) RedisConnectionPool: Suppress phan issue.
5116 * (T281549) WebInstaller: Don't show the announce-l subscribe
5117   checkbox temporarily.
5118 * (T278266) Fix annoying E_NOTICE about undefined 'alt' index in
5119   Skin#makeFooterIcon.
5120 * (T264214) UserRightsProxy::addGroup has to be allowed to update the
5121   old group as well, which is used for granting interwiki rights.
5122 * (T269776, T278266) getFooterIcons should not return empty arrays.
5123 * (T274966) Skip AvroFormatterTest::testSchemaNotAvailable on PHP 8.0.
5124 * phpunit: fail on warnings.
5125 * (T283247) Freenode -> Libera per wikimedia moving from
5126   freenode to libera.
5127 * (T243124) Make phpunit:unit accept extension*.json to populate the classes.
5128 * (T142663) Add extension.json merge strategy "provide_default".
5129 * (T283540) HookContainer: Fix normalization of callback for static handler.
5130 * (T283464) Fix array order for array_replace_recursive merge strategy.
5131 * (T247223) Optimise MessageCache::isMainCacheable() for the single-message
5132   case.
5133 * (T278579) Don't send headers on ob_end_clean().
5134 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging
5135   pages.
5137 == MediaWiki 1.35.2 ==
5139 This is a security and maintenance release of the MediaWiki 1.35 branch.
5141 MediaWiki 1.35.2 supports Composer 2.0. It is recommended to make sure your
5142 libraries are up to date on Composer 1.x, before running Composer 2.x.
5144 While normally running update.php isn't required for point releases,
5145 it is recommended to run it for 1.35.2 so that iwlinks.iwl_prefix is
5146 updated to take 32 characters.
5148 === Changes since MediaWiki 1.35.1 ===
5149 * (T270450) The confusingly-named User->isLoggedIn() method has been deprecated
5150   in favour of the method it wraps, User->isRegistered().
5151 * Upgrade pimple/pimple from 3.3.0 to 3.3.1 for PHP 8.0 support.
5152 * Upgrade seld/jsonlint from 1.7.1 to 1.8.3 for PHP 8.0 support.
5153 * Upgrade doctrine/dbal from 2.10.4 to 3.0.0 for PHP 8.0 support.
5154 * (T270734) Fix display of Special:Preferences URL in password reset email.
5155 * (T252774, T271441) resourceloader: Give SkinModule 'features' option an
5156   extensible default.
5157 * (T271441) Unknown features shouldn't break style output.
5158 * (T264986) Make use of CURLMOPT_MAX_HOST_CONNECTIONS conditional on having
5159   curl >= 7.30.0.
5160 * DefaultSettings.php: Update $wgPingback documentation.
5161 * Fix docs for LanguageConverter::translate.
5162 * (T272250) Don't rely on implicit string->int cast in comparison.
5163 * (T272327) Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine.
5164 * (T272328) UploadBase: Don't call MimeAnalyzer if mTempPath is null.
5165 * Remove nonfunctional default sampling for WANObjectCache metrics.
5166 * (T258851) Prevent service injection to LoadExtensionSchemaUpdates hook.
5167 * (T270852) Hooks: Map dash character to underscore when generating hook names.
5168 * (T271551, T270145) Fix fetching ipblock-exempt within
5169   BlockManager::getUserBlock.
5170 * PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0.
5171 * (T248925) Set empty closures in DatabaseTest to fix PHP 8 tests.
5172 * (T34217) rdbms: Remove outdated MySQL 4 references and fix doc URLs.
5173 * (T248925) Special:Contributions reports negative namespace error on PHP 8.
5174 * (T248925) objectcache: Fix non-numeric string check in HashBagOStuff for
5175   PHP 8.
5176 * (T248925) Fix CacheTime::getCacheExpiry for PHP 8.
5177 * (T259685) Allow REST API POST handlers to opt out of mandatory SQLite locking.
5178 * (T91820, T259685) MWLBFactory: rename magic HTTP header for opting out of
5179   SQLite write lock.
5180 * (T272326) Fix DeprecationHelperTest on PHP 8.
5181 * Upgrade wikimedia/less.php from 3.0.0 to 3.1.0 for PHP 8.0 support.
5182 * (T236639) OutputPage: Make $wgDebugRedirects work again.
5183 * (T274648) registration: Allow reusing cached metadata between wikis.
5184 * CdnCacheUpdate: Send full URL instead of path to Curl for purge.
5185 * Upgrade monolog/monolog from 1.25.3 to 2.2.0 for PHP 8.0 support.
5186 * FileBackend: Do not use SOCKET_ENOENT on windows.
5187 * (T275441) ApiQueryUserInfo: Allow all uiprops to be requested at once.
5188 * (T275261) Escape wikitext in the title in invalid title error messages.
5189 * (T275242) Extend iwlinks.iwl_prefix to VARBINARY(32) on MySQL.
5190 * (T246594, T270228) PHPVersionCheck: Complain about known-bad versions above
5191   minimum.
5192 * (T275824) Upgrade wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1 for
5193   Composer 2.0 support.
5194 * (T269293) Record all used options in metadata.
5195 * Allow usage of Composer 2.0 to install MediaWiki's dependencies.
5196 * (T259872) skins: Call headElement() after getTemplateData() in SkinMustache.
5197 * (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access
5198   Special:ResetTokens.
5199 * (T272412) Add "Account data" section to user preferences.
5200 * (T268310) Add list of thumbnail urls to LocalFilePurgeThumbnails hook.
5201 * (T277520) registration: Allow specifying immovable namespaces in
5202   extension.json.
5203 * (T275619) Maintenance::hasOption and Maintenance::getOption now behave as
5204   documented and are not altered by previous calls to these methods.
5205 * (T254688) Remove page inner join from subquery in SpecialWhatLinksHere.
5206 * (T122124) signup: added help message for security.
5207 * (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-* messages
5208   on Special:NewFiles.
5209 * (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages on
5210   ChangesList pages.
5211 * (T277414) HTMLFormField: Use non namespaced class name rather than
5212   static::class.
5213 * (T268673) maintenance: Don't create SearchUpdate in rebuildtextindex.php
5214   for page_namespace below 0.
5215 * (T246594, T270228) Mark ParserOptionsTests skipped on PHP 7.4.0-7.4.8.
5216 * (T268230) Switch to new MediaWiki logo by Serhio Magpie.
5217 * (T271735) Expand config-pingback-help, link to privacy policy in
5218   config-pingback.
5219 * Fix documentation of user-global in $wgRateLimits.
5220 * BackupDumper: Add -o as shortcode for --output.
5221 * (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors.
5222 * (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection they
5223   have right to do so via action=protect.
5224 * (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in fast
5225   double move.
5226 * (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user can
5227   create pages.
5228 * (T279451, CVE-2021-30458) SECURITY: Parsoid comment fostering allows for
5229   inserting mostly arbitrary <meta> tags.
5231 == MediaWiki 1.35.1 ==
5233 This is a security and maintenance release of the MediaWiki 1.35 branch.
5235 While normally running update.php isn't required for point releases,
5236 it is recommended to run it for 1.35.1 so that sites.site_language is
5237 updated to take 35 characters.
5239 Watchlist Expiry is no longer considered experimental, but is off by default.
5240 To enable it, set $wgWatchlistExpiry = true; in your LocalSettings.php.
5242 === Changes since MediaWiki 1.35.0 ===
5243 * (T263929) purgeList.php Fix all-namespaces option to match one used in code.
5244 * (T248719) ParserCache::get - fix wfDeprecated call.
5245 * (T261430) WatchlistExpiryWidget: Move focus to expiry dropdown after hitting
5246   Tab.
5247 * Preload mediawiki.watchstar.widgets before api request.
5248 * (T261030) ApiEditPage: Show existing watchlist expiry if status is not being
5249   changed.
5250 * (T264502) Fix PHP 8 compat with strcspn() $length parameter exceeding string.
5251 * (T248925) Remove final modifier on private function.
5252 * (T264683) Remove ipb_anon_only from ipb_address_unique index addition.
5253 * (T261415) Add days left messages to changes-lists' clock icons.
5254 * Fix order of wfDeprecated parameters in ExternalStoreDB::getSlave.
5255 * (T261260) Preload class used in HeaderCallback.
5256 * (T260868, T260009) Normalize WatchedItem expiry field.
5257 * (T264683) Remove doTable check from (Mysql|Sqlite)Updater::indexHasFields.
5258 * (T264534) ApiPageSet: Avoid infinite loop when merging redirects.
5259 * (T196906) Empty Monolog loggers are now real blackholes.
5260 * (T258649) WatchAction: avoid UPDATE when old and new watch period is
5261   indefinite.
5262 * Parser: Adjust typehint to show that getTitle can return null.
5263 * (T263592) media: Fix case of FlashPixVersion in
5264   FormatMetadata::makeFormattedData().
5265 * (T265223) BaseTemplate: Guard against passing zero arg to array_merge().
5266 * (T264965) Fix base path handling for MessagePosterModule registration.
5267 * (T252183) Fix Database::getTempTableWrites for multi table DDLs.
5268 * (T182546) Fix switch/case indentation per mediawiki coding conventions.
5269 * Flip Yoda conditionals.
5270 * (T263213) Move SkinTemplate::getFooterLinks() to Skin.
5271 * build: Updating mediawiki/mediawiki-codesniffer to 33.0.0.
5272 * (T267105) Make ImageBuilder::checkMissingImage public.
5273 * Updating guzzlehttp/guzzle (6.5.4 => 6.5.5).
5274 * (T266681) Support new style hook registration on install and update.
5275 * (T266980) Fix unsetting of copyright icon in FooterIcons.
5276 * upload.js: Don't assume that warnings array will include 'code' key.
5277 * upload.js:  Fix typo in upload API.
5278 * (T264333, T190988, T266903) Pass along ignorewarnings param to all
5279   individual chunks being uploaded.
5280 * (T267558) importTextFiles.php: Replace deprecated WikiRevision:setText().
5281 * (T266418) composer.json: add requirement for composer-plugin-api ^1.1.
5282 * (T261431) Add ARIA attributes to watchlink and its notification.
5283 * (T258877) Change invalid 'Content-Encoding: none' header.
5284 * Fix trailing ; in patch-sites-site_language-35.sql.
5285 * (T248852) wfAssembleUrl: Handle empty query field in URL bits.
5286 * (T268846) Updating wikimedia/testing-access-wrapper (1.0.0 => 2.0.0).
5287 * (T268887) migrateComments: Cast array keys back to string before passing
5288   to the DB.
5289 * (T266619) Introduce new $wgThumbPath config.
5290 * (T269178) MemcachedClient: Cast Resource to integer.
5291 * (T263925) Use the old HookContainer to set up the post-reset services.
5292 * Change "site cache" to just "cache" in the right-purge message.
5293 * [UploadedFileStreamTest] Skip test with chmod.
5294 * (T269710) Updating composer/semver (1.5.1 => 1.7.2).
5295 * (T269710) Updating mediawiki/mediawiki-codesniffer (33.0.0 => 34.0.0).
5296 * (T260631, T260633), BotPassword::save() now returns a Status object for the
5297   result rather than a bool. The length of the bot password grants and
5298   restriction fields are now validated, and an error will be thrown if it
5299   would be truncated by the database.
5300 * (T265778) Fix English/*nix specific error messages in FSFileBackend.
5301 * (T267543) Split dropping of image.img_user_timestamp.
5302 * [FileTest] Do not assume /tmp exists on windows.
5303 * Clean up temp files correctly after unit tests.
5304 * Skip undo related phpunit tests when diff3 is missing.
5305 * (T269964) rdbms: Remove outer parentheses in insert query for Postgres.
5306 * (T263911) In MWExceptionHandler::report(), catch all throwables.
5307 * (T268894, CVE-2020-35474) SECURITY: Use Html::element in
5308   ChangeListSpecialPage for sanity.
5309 * (T268917) Use Xml::element in SpecialUserrights for sanity.
5310 * (T268938, CVE-2020-35478, CVE-2020-35479) SECURITY: Pass escaped html
5311   to LogFormatter::makePageLink for sanity.
5312 * (T268938) Fixed mixed escaping in Language::translateBlockExpiry.
5313 * (T263911) UserOptionsManager: don't differentiate anons caches.
5314 * (T261260) HeaderCallback: pre-cache request ID.
5315 * Parsoid updated to v0.12.1.
5316 * (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log
5317   entries when MediaWiki:Mainpage uses Special:MyLanguage.
5318 * (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions
5319   and user pages of hidden users and missing users.
5320 * (T270145) Fix condition that can lead to using APCOND_BLOCKED in
5321   $wgAutopromote to cause an OOM in PHP.
5323 == MediaWiki 1.35.0 ==
5325 === Changes since MediaWiki 1.35.0-rc.3 ===
5326 * (T261258) Remove checks for ancient ImageMagick versions in BitmapHandler.
5327 * (T260232) Don't include null page ids in query list for category dumps.
5328 * (T260009) Check existing watchitem when saving action=watch.
5329 * (T259055) Correct success messages for action=watch.
5330 * mediawiki.page.ready: Simpler tablesorter/makeCollapsible call.
5331 * mediawiki.page.ready: Fix skin override config flags, wrong way round.
5332 * (T262175, T248512) Remove requirement for ApiWatchlistTrait to be in ApiBase.
5333 * (T259053, T260434) Watchlist: Fix updateWatchLink removing css class when
5334   action=watch.
5335 * (T261901, T261476) mediawiki.notification: Don't close notif when clicking
5336   <select> element.
5337 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
5338 * (T259452) Parsoid updated to v0.12.0.
5339 * (T261970) watch.ajax: Add expiry support to watchpage.mw event.
5340 * (T262900) Fix failure of rebuildLocalisationCache.php due to ResourceLoader
5341   hook.
5342 * (T263014) Hard deprecate File::userCan() with $user=null.
5343 * (T262547) Use localized success message after watching via action=watch.
5344 * (T201491) Fix typo 'Watchlst' in `apihelp-edit-param-watchlistexpiry`.
5345 * (T261081) Installer: consistently reset Language objects.
5346 * (T250449, T250450) Installer: consistently reset Language objects.
5347 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
5348 * (T262934) Ensure dropdown label is always on its own line.
5349 * (T246855) resourceloader: Use a local HookRunner.
5350 * (T263604) Have findBadBlobs.php require Maintenance.php rather than
5351   cleanupTable.inc.
5352 * (T263606) Set fake time, to avoid flaky tests.
5353 * (T261325) Add FindMissingActors script.
5354 * (T262364) shell: Don't blacklist /run/firejail.
5355 * (T263655) NewPagesPager: Ignore nonexistent namespaces.
5356 * Update specialPageAliases and magicWords for Egyptian Arabic (arz).
5357 * (T261347) ParserOutput: don't throw on bad editsection.
5358 * (T232568, CVE-2020-25813) SpecialUserrights: If a viewer lacks `hideuser`,
5359   ignore hidden users.
5360 * (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on
5361   Special:Contributions.
5362 * (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within
5363   LogEventsList.
5364 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
5365   firejail's --output functionality.
5366 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
5367   'style' attribute.
5368 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
5369   mw.message( ... ).parse().
5370 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
5371   database.
5372 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
5373 * Add Finnish special page aliases.
5374 * Fix GuzzleHttpRequest request headers.
5375 * Fix description for pruneFileCache.php.
5376 * emptyUserGroup.php: handle more than 5000 users.
5377 * Make ApiSandbox copyable URL absolute.
5378 * (T261087) Add a link from a deleted page to that page's logs.
5380 == MediaWiki 1.35.0-rc.3 ==
5382 === Changes since MediaWiki 1.35.0-rc.2 ===
5383 * (T258662) mediawiki.visibleTimeout: Update the nextVisibleTimeoutId value.
5384 * Ensure Parsoid doesn't throw when <ref> is used w/o Cite installed.
5385 * Remove maintenance/createCommonPasswordCdb.php.
5386 * (T260468) Increase "sites.site_global_key" to varbinary(64).
5387 * (T183759) Fix shell edge-cases in Windows.
5388 * (T257879) Drop PHP 7.2 support; require 7.3.19.
5389 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global
5390   rate limit type.
5391 * (T246991) User: enforce pingLimiter() expiry time.
5392 * (T256831) Rest: Handle Uri constructor exception.
5393 * (T259094) Fix RequestFromGlobalsTest failing in Travis CI.
5394 * (T256831, T261344) Rest: Use try/catch to handle URIs with embedded colon.
5396 == MediaWiki 1.35.0-rc.2 ==
5398 === Changes since MediaWiki 1.35.0-rc.1 ===
5399 * (T259693) uuid: Fix filenames on Windows.
5400 * Remove Gruntfile.js and package-lock.json from the tarball.
5401 * firejail: Strengthen by copying from Wikimedia's profile.
5402 * (T260059) ResourceLoaderOOUIImageModule: loadOOUIDefinition() may return
5403   false.
5404 * (T30162, T245387) The installer supports using a Postgres server running
5405   on a custom port other than 5432.
5406 * (T260201) Support private wikis in Parsoid zero configuration mode.
5407 * Fix bad use of `|=` PHP bit operation where `= … ||` bool is intended.
5408 * (T259212) SpecialBlock: Show error if a block could not be inserted or found.
5409 * (T255842) UserOptionsManager: fix options reset.
5410 * (T258649) WatchAction: avoid unnecessary UPDATEs when expiry is unchanged.
5411 * (T250851) Allow skins to override mediawiki.page.ready initialisation.
5412 * (T250851) mediawiki.page.ready: Allow skins to disable search lazy load.
5413 * (T253135, T255632) Update language in watchlist expiry.
5414 * Use IPset in MWRestrictions::checkIP.
5415 * (T259564) Fix race condition on edit page.
5416 * (T260759) Hide watchlist expiry label in edit form.
5417 * mime: Fix docs of MIME_EXTENSIONS, they're arrays, not space-seperated.
5418 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
5419 * (T259379) WatchedItemStore: Cache single WatchedItems with preexisting expiry.
5420 * Add a maintenance script to create bot passwords.
5421 * (T201269) Add Traditional Chinese zh-hant as fallback for Amis (ami).
5422 * Improve wfParseUrl docs.
5423 * (T251038) Add multi index fields in ImageListPager for unique paginate.
5424 * (T259916) Guard against 'Widget not found' error.
5426 == MediaWiki 1.35.0-rc.1 ==
5428 === Changes since MediaWiki 1.35.0-rc.0 ===
5429 * (T252136) Fix RecentChanges watchlist filters when WatchlistExpiry is off.
5430 * (T258662) Update time period for watchlist expiry pop-up.
5431 * (T258443) Fix expiry dropdown not getting disabled on edit page.
5432 * (T259398) Add license information for promise-polyfill.
5433 * Remove executable bit from scripts without shebang.
5434 * (T256526) Fix bold of watched items on Special:RecentChangesLinked.
5435 * (T259060) Edit page expiry dropdown should keep state after
5436   disabling/enabling.
5437 * (T259009) Translate expiry period in pop-up message for watchlist expiry.
5438 * (T258310) Add watchlist clock icon to RecentChanges.
5439 * (T259362) Permit temporary table writes on replica DB connections.
5440 * (T250214) Add UI support in Special:EditWatchlist for watchlist expiry.
5441 * (T72470) Disable wgLegacyJavaScriptGlobals by default.
5442 * (T130906) Add Edge to MediaWiki:Clearyourcache.
5443 * (T257279) Add mediawiki.ui Less variable deprecation note.
5444 * (T249521) Fixed reassignEdits.php to work with anonymous users.
5445 * (T259448) Fix Circular dependency when creating service in
5446   DBLoadBalancerFactory.
5447 * (T257259) Default to using watchlist expiry of old page when moving pages.
5449 == MediaWiki 1.35.0-rc.0 ==
5451 == Upgrading notes for 1.35 ==
5452 1.35 requires PHP 7.3.19 or above (up from 7.2.9). (T257879)
5454 1.35 has several database changes since 1.34, and will not work without schema
5455 updates. Note that due to changes to some very large tables like the revision
5456 table, the schema update may take quite long (minutes on a medium sized site,
5457 many hours on a large site).
5459 Don't forget to always back up your database before upgrading!
5461 MediaWiki 1.35 is the next LTS after 1.31, and will be supported for around 3
5462 years.
5464 MediaWiki has a lot of both soft and hard deprecations, and code removed. As
5465 always, make sure your versions of extensions match the MediaWiki version,
5466 and updates may be required to any custom extensions.
5468 See the file UPGRADE for more detailed upgrade instructions, including
5469 important information when upgrading from versions prior to 1.11.
5471 Some specific notes for MediaWiki 1.35 upgrades are below:
5472 * (T259685) When using SQLite as the database backend for MediaWiki,
5473   Zeroconf (zero-configuration) VisualEditor/Parsoid only works with
5474   MediaWiki 1.35.2 and above.  It is still recommended to use
5475   MySQL/MariaDB rather than SQLite when using VisualEditor.
5477 For notes on 1.34.x and older releases, see HISTORY.
5479 === Configuration changes for system administrators in 1.35 ===
5481 * (T72470) $wgLegacyJavaScriptGlobals is now false by default. This feature
5482   will be completely removed in a later MediaWiki release.
5484 ==== New configuration ====
5485 * $wgDiffEngine — This can be used to specify the difference engine to use,
5486   rather than MediaWiki choosing the first of $wgExternalDiffEngine, wikidiff2,
5487   or php that is usable.
5488 * $wgSearchMatchRedirectPreference — This configuration setting controls whether
5489   users can set a new preference, search-match-redirect, which decides if search
5490   should redirect them to exact matches is available. By default, this is set to
5491   false, which maintains the previous behaviour without preference bloat. Change
5492   your site's default by setting $wgDefaultUserOptions['search-match-redirect'].
5493 * $wgPoolCounterConf['SpecialContributions'] — Per-user concurrency in the use
5494   of SpecialContributions can now be limited by setting this appropriately.
5495 * $wgPasswordPolicy — PasswordCannotBeSubstringInUsername is a new password
5496   policy check. Similar to the existing PasswordCannotMatchUsername check, this
5497   check ensures that a user's (case-insensitive) password cannot be a part of
5498   their username. e.g. password = MyPass, username = ThisUsersPasswordIsMyPass.
5499 * $wgLogos — This new configuration setting combines the now-deprecated $wgLogo
5500   and $wgLogoHD settings into a single, associative array. It provides support
5501   for a new key, 'wordmark', for setting a horizontal wordmark to show next to
5502   the graphical logo. To do this, set 'wordmark' to an array with 'src' set to
5503   the path of the wordmark image, and 'width' and 'height' for its dimensions
5504   in pixels. $wgLogos inherits the existing support provided by its predecessor
5505   settings: '1x' mapping to the path of the logo as a 135x135px raster image
5506   (equivalent to $wgLogo), and '1.5x', '2x', and 'svg' operating as before for
5507   $wgLogoHD. If $wgLogos is unset, $wgLogo and $wgLogoHD values are read for
5508   temporary backwards compatibility. (T232140)
5509 * $wgWatchlistExpiry — (EXPERIMENTAL) This enables the new watchlist expiry
5510   feature. The database table (watchlist_expiry) for this is created regardless
5511   of this setting, but all other aspects of the expiry feature are controlled
5512   by it. Enabling in production is discouraged for the time being. A future
5513   MediaWiki 1.35 release will advertise this feature once it is stable.
5514 * $wgWatchlistPurgeRate — This sets the chance of expired watchlist items being
5515   purged on each page edit. Only has effect if $wgWatchlistExpiry is true.
5516 * $wgWatchlistExpiryMaxDuration — This is the maximum definite relative duration
5517   for watchlist expiries. Only has effect if $wgWatchlistExpiry is true.
5518 * $wgImgAuthPath – This can be used to override the path prefix used when
5519   handling img_auth.php requests. (T235357)
5520 * $wgAllowedCorsHeaders — This is a list of headers which can be used in a
5521   cross-site API request.
5522 * $wgHTTPMaxTimeout and $wgHTTPMaxConnectTimeout — These allow site
5523   administrators to limit the timeouts used by the HTTP client libraries.
5524   This only affects callers using HttpRequestFactory and the deprecated
5525   wrappers in the Http class.
5526 * $wgCdnMaxageStale — This controls the Cache-Control s-maxage header for page
5527   views when PoolCounter lock contention indicates that a stale cache entry
5528   should be sent.
5529 * $wgForceHTTPS — This makes the HTTP to HTTPS redirect be unconditional and
5530   suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
5531   recommend this be set to true on pure HTTPS wikis.
5532 * $wgCookieSameSite — This setting allows login cookies to be sent with
5533   SameSite=None. This is required for cross-site CentralAuth auto-login after
5534   Chrome 84.
5535 * $wgUseSameSiteLegacyCookies — This adds a compatibility hack to
5536   SameSite=None cookies for browsers which implemented an incompatible draft
5537   version of the specification.
5539 ==== Changed configuration ====
5540 * $wgResourceLoaderMaxage (T235314) — This configuration array controls the
5541   max-age for HTTP caching through the Cache-Control header. It has uses the
5542   "versioned" key for urls that do have a version parameter, and the
5543   "unversioned" key for urls without a version parameter. The sub keys for
5544   "client" and "server" are no longer supported in MediaWiki 1.35.
5545 * $wgEnableOpenSearchSuggest — This boolean variable is deprecated and no longer
5546   used. The OpenSearch API is now always enabled.
5547 * $wgAuthManagerConfig and $wgAuthManagerAutoConfig — These can now use the
5548   'services' option in provider specifications.
5549 * $wgVirtualRestConfig['modules']['parsoid'] —
5550   - The defaults have been updated. If you were relying on the default values,
5551     you may need to update your configuration.
5552   - The 'URL' parameter, previously allowed for backwards-compatibility, has
5553     been deprecated. Use 'url' instead.
5554 * $wgXmlDumpSchemaVersion — Default is now set to XML_DUMP_SCHEMA_VERSION_11, so
5555   dumps use the new dump format per default. Consumers of XML dumps should not
5556   be affected if they ignore any unknown tags they encounter. Also, the format
5557   is effectively unchanged for revisions that only contain the main slot. The
5558   --schema-version option can be used with the dumpBackup.php script to set the
5559   dump format. (T238921)
5560 * $wgParserConf — This configuration is now deprecated. It has been
5561   effectively constant since 2008, and is ignored by core code.
5562   Configure the ParserFactory service in order to customize the Parser used.
5563 * $wgAutoloadAttemptLowercase — This has been deprecated, and the default value
5564   changed to false.
5565 * $wgAllowImageMoving — This configuration setting is now deprecated. Instead,
5566   use $wgGroupPermissions; e.g., to revoke sysops' ability to move images use
5567   $wgGroupPermissions['sysop']['movefile'] = false.
5568 * $wgAllowImageTag — This configuration is now deprecated; future parsers will
5569   not support direct use of the HTML <img> tag in wikitext.
5570 * $wgUseTwoButtonsSearchForm — This has been deprecated. If you maintain a skin
5571   that relies on this and wishes to let system administrators change it, you
5572   should convert it to a config variable specific to your skin. If you're using
5573   it to configure your wiki, you should check individual skins to see whether
5574   they have local skin config for the feature and use that.
5575 * $wgPasswordPolicy — The deprecated policy 'PasswordCannotBePopular' has been
5576   removed. Use PasswordNotInCommonList instead which covers many more passwords.
5577 * Backwards compatibility for using an associative array
5578   (e.g. [ '127.0.0.1' => 'bad-ip' ]) for $wgProxyList has been removed. This
5579   was deprecated since 1.30. Please convert these arrays to indexed/sequential
5580   ones (e.g. [ '127.0.0.1' ]).
5581 * $wgShellRestrictionMethod — This now defaults to 'autodetect', which will
5582   enable sandboxing for shell commands using firejail, if it's installed. To
5583   disable restrictions, set it to false.
5584 * $wgLegacyJavaScriptGlobals – This deprecated setting now default to false,
5585   instead of true, ahead of its planned removal.
5587 ==== Removed configuration ====
5588 * $wgSysopEmailBans — This setting, deprecated in 1.34, was removed. To let
5589   sysops block email access, use $wgGroupPermissions['sysop']['blockemail'].
5590 * $wgDBWindowsAuthentication — This setting had no effect anymore after support
5591   for SQL Server was removed in 1.34. (T230418)
5592 * $wgProfileOnly — This setting, deprecated in 1.23, was removed. The profiler
5593   output should instead be configured via $wgProfiler['output'].
5594 * $wgProfileLimit — This setting, deprecated in 1.25, was removed.
5595   Set $wgProfiler['threshold'] instead.
5596 * $wgDebugTimestamps — This setting was removed. It affected the text output
5597   produced via $wgDebugComments, if enabled.
5598 * $wgSkipSkin — This setting, deprecated in 1.23, was removed. To disable a
5599   skin from being shown, use $wgSkipSkins.
5600 * $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and $wgSquidMaxage —
5601   These, deprecated in 1.34, have been removed. Use $wgUseCdn, $wgCdnServers,
5602   $wgCdnServersNoPurge, or $wgCdnMaxAge instead.
5603 * $wgDisableCounters — This, deprecated in 1.25, was removed. The feature that
5604   it controlled was already removed in 1.26, but the variable remained existent
5605   with a value of `false` for backward-compatibility.
5606 * $wgMaxGeneratedPPNodeCount — This setting was removed. It only affected
5607   Preprocessor_DOM, which was deprecated in 1.34 and removed in this release.
5608 * $wgFixArabicUnicode and $wgFixMalayalamUnicode — These, deprecated in 1.33,
5609   were removed. The fixes are now always enabled for their respective languages.
5610 * $wgAllowTitlesInSVG — This, unused and deprecated since 1.34, was removed.
5611 * $wgEnablePartialBlocks — This setting, deprecated when it was added in 1.33,
5612   was removed. Partial blocks are now always enabled.
5613 * $wgLocalInterwiki — This setting, deprecated in 1.23, has been removed.
5614 * $wgContentHandlerUseDB — This setting, deprecated in 1.34, has been removed.
5615 * $wgMultiContentRevisionSchemaMigrationStage — This setting must no longer
5616   be set locally. If the migration stage was set to anything other than
5617   SCHEMA_COMPAT_NEW locally, update.php must be run after removing the setting.
5618   Usage of the setting in code is deprecated. The setting will be removed
5619   completely in 1.36.
5620 * $wgEnableRestAPI — This setting is no longer obeyed by MediaWiki core, and
5621   should not be set set locally. Usage of the setting in code is deprecated; it
5622   is now set true by default. The setting will be removed completely in 1.36.
5623 * $wgObjectCaches — The 'slaveOnly' option for SqlBagOStuff, deprecated in 1.34,
5624   was removed. Use 'replicaOnly' instead.
5626 === New user-facing features in 1.35 ===
5627 * (T204618) Whitelisted the aria-hidden HTML attribute for all elements in
5628   wikitext.
5629 * (T13456) Special:EditPage, Special:PageHistory, Special:PageInfo, and
5630   Special:Purge have been created as shortcuts for each action.
5631   Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory,
5632   PageInfo, and Purge corresponding to action= history, info, and purge
5633   respectively. When linked to, its subpage is used as the target. Otherwise,
5634   it displays a basic interface to allow the end user to specify the target
5635   manually.
5636 * (T139221) The generated table of contents is now a navigation landmark role
5637   for assistive technologies.
5638 * (T245931) interwiki map API doesn't report foreign language if
5639   $wgInterwikiMagic=false
5640 * The form at ?action=watch has a new dropdown list to support expiry dates for
5641   watchlist items (if $wgWatchlistExpiry is true).
5643 === New developer features in 1.35 ===
5644 * A Docker based local development develpoment environment configuration is
5645   included (T238224) and DEVELOPERS.md has been added with usage documentation
5646   and links to further help.
5647 * If CSP is enabled, extensions can now add additional sources using the
5648   ContentSecurityPolicy::addDefaultSource, ::addStyleSrc and ::addScriptSrc
5649   methods (e.g. $context->getOutput()->getCSP()->addDefaultSrc( 'example.com' ))
5650 * Extensions can now specify classes and namespaces to be autoloaded by the
5651   test autoloader, by setting the "TestAutoloadNamespaces" and
5652   "TestAutoloadClasses" properties in extension.json. (T196090)
5653 * (T250977) extension.json now allows "SearchMappings" which maps the canonical
5654   name of the search engine (used in wgSearchType and wgSearchTypeAlternatives)
5655   to a specification using the ObjectFactory specification. This allows
5656   extensions to register Search Engines using namespaced classes.
5657 * Added getters for OutputPage's robot, index and follow policies;
5658   getRobotPolicy() returns the entire policy as a string in the form
5659   <index policy>,<follow policy> while getIndexPolicy() and getFollowPolicy()
5660   return their respective policies as a string.
5661 * The ResourceLoaderSiteModulePages and ResourceLoaderSiteStylesModulePages
5662   hooks were added to allow changing which wiki pages these modules contain.
5663 * The SkinFactory now allows skins to be specified as an ObjectFactory spec,
5664   allowing the construction of skins with services injected.
5665 * ContentHandlerFactory for most ContentHandler static methods. It has been
5666   added to the constructors for many classes to improve SOLID / GRASP.
5667 * FileDeleteForm's constructor now accepts a user as the second parameter.
5668   Support for not passing a user has also been hard-deprecated and will be
5669   removed in 1.36.
5670 * The ParserPreSaveTransformComplete hook was added.
5671 * The ParserBeforePreprocess hook was added.
5672 * The ResourceLoaderSkinModule class now has a "legacy" feature that loads
5673   the stylesheets previously part of the "mediawiki.legacy.shared" and
5674   "mediawiki.legacy.commonPrint" module.
5675   Those modules are now deprecated and no longer loaded by skins.
5676   For skins needing to retain these styles, you will need to load these
5677   styles via a module using the ResourceLoaderSkinModule class.
5678   See Vector and Monobook for examples.
5679 * ParserOutput now has methods addExtraCSPStyleSrc, addExtraCSPDefaultSrc
5680   addExtraCSPScriptSrc for parser tags/functions to be able to add sources
5681   to the Content Security Policy.
5682 * The HtmlCacheUpdater service was added to unify the logic of purging CDN cache
5683   and HTML file cache to simplify callers and make them more consistent.
5684 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
5685 * Preferences which use HTMLTitlesMultiselectField can make use of
5686   MultiTitleFilter class for saving title text to/from article IDs in user
5687   preferences.
5688 * OutputPage::addHtmlClasses() was added to allow injecting CSS classes on
5689   to the <html> element on page load.
5690 * The SkinAddFooterLinks hook is added to allow extensions to add items to skin
5691   footers. Previously this had to be done via SkinTemplateOutputPageBeforeExec.
5692   Doing so using that hook is now hard deprecated.
5693 * A new BlockPermissionChecker service was introduced for checking
5694   block-related permissions.
5695 * The support of 'database' type of extensions has been added to allow 3d party
5696   databases like Percona be used as storage. See T226857, T253248.
5697 * Three new return parameters have been added to the
5698   EditPageGetCheckboxesDefinition hook. Handlers of this hook are no longer
5699   restricted to defining checkboxes. See the documentation of
5700   EditPage::getCheckboxesDefinition() for more details.
5701 * New flag File::RENDER_TMP was added in order to allow
5702   File::generateAndSaveThumb and File::trasform to render a thumbnail without
5703   saving it to the storage.
5705 === External library changes in 1.35 ===
5707 ==== New external libraries ====
5708 * Added wikimedia/ip-utils 1.0.0.
5709 * Added wikimedia/parsoid 0.12.3.
5710 * Added wikimedia/services 2.0.1.
5711 * Added taylorhakes/promise-polyfill v8.1.3.
5712 * Added vuejs v2.6.11.
5713 * Added vuex v3.1.3.
5714 * Added symfony/symfony/polyfill-php80 1.25.0.
5716 ===== New development-only external libraries =====
5717 * Added doctrine/dbal 3.1.5.
5718 * Added doctrine/sql-formatter 1.1.0.
5719 * Added pimple/pimple 3.3.1.
5721 ==== Changed external libraries ====
5722 * pear/mail_mime was upgraded from 1.10.2 to 1.10.11.
5723 * wikimedia/less.php was upgraded from 1.8.0 to 3.1.0.
5724 * Updated oojs from 3.0.0 to 5.0.0.
5725 * Updated OOUI from 0.35.1 to 0.39.3.
5726 * zordius/lightncandy was upgraded from 0.23.0 to 1.2.5.
5727 * Updated jQuery from v3.3.1 to v3.6.0.
5728 * Updated jQuery Migrate from v3.0.1 to v3.3.2.
5729 * Updated wikimedia/assert from 0.2.2 to 0.5.0.
5730 * Updated pear/net_smtp from 1.8.1 from to 1.9.1.
5731 * Updated psr/log from 1.0.2 to 1.1.3.
5732 * Updated jquery.i18n from 1.0.5 to 1.0.7.
5733 * Updated guzzlehttp/guzzle from 6.3.3 to 6.5.8.
5734 * Updated wikimedia/xmp-reader from 0.6.3 to 0.8.5.
5735   Fixes error log spam with too-large XMP data, and adds support for GPano tags.
5736 * Updated wikimedia/base-convert from v2.0.0 to v2.0.1.
5737 * Updated composer/semver from 1.5.0 to 1.7.2.
5738 * Updated wikimedia/remex-html from 2.1.0 to 2.2.0.
5739 * Replaced wikimedia/password-blacklist 0.1.4 with wikimedia/common-passwords
5740   0.2.0.
5741 * Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1.
5742 * Updated wikimedia/html-formatter from 1.0.2 to 2.0.1.
5743 * Updated wikimedia/object-factory from 2.1.0 to 2.2.0.
5745 ===== Changed development-only external libraries =====
5746 * Updated symfony/yaml from 3.4.28 to 5.0.5.
5747 * Updated nikic/php-parser from 3.1.5 to 4.4.0.
5748 * Updated php-parallel-lint/php-console-highlighter from v0.3.2 to v0.5.
5749 * Updated php-parallel-lint/php-parallel-lint from v0.9.2 to v1.2.0.
5750 * Updated psy/psysh from 0.9.9 to 0.10.4.
5751 * Updated monolog/monolog from 1.24.0 to 2.2.0.
5752 * Upgrade mediawiki-codesniffer from 28.0.0 to 38.0.0.
5753 * Updated composer/spdx-licenses from 1.5.1 to 1.5.3.
5754 * Updated monolog/monolog from 1.25.2 to 1.25.3.
5755 * Updated qunit from 2.9.1 to 2.10.0.
5756 * Updating wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0.
5757 * Updated seld/jsonlint from 1.7.1 to 1.8.3.
5759 ==== Removed external libraries ====
5760 * phpunit/php-invoker (dev-only).
5761   Removing this unbreaks development on Windows systems, in exchange for losing
5762   time limits in running unit tests.
5763 * The jquery.getAttrs module was removed.
5765 === Action API changes in 1.35 ===
5766 * The 'suggest' parameter of action=opensearch has been deprecated.
5767   The API behaves the same with and without this parameter.
5768   It was previously used by $wgEnableOpenSearchSuggest to partially
5769   disable the API if set to false. Specifically, it would deny internal
5770   frontend requests carrying this parameter, whilst accepting other requests.
5771 * Integer-type parameters are now validated for syntax rather than being
5772   interpreted in surprising ways. For example, the following will now return a
5773   badinteger error:
5774   - "1.9" (formerly interpreted as "1")
5775   - " 1" (formerly interpreted as "1")
5776   - "1e1" (formerly interpreted as "1" or "10", depending on the PHP version)
5777   - "1foobar" (formerly interpreted as "1")
5778   - "foobar" (formerly intepreted as "0")
5779   parameters. Ranges should be assumed to be enforced.
5780 * Many user-type parameters now accept a user ID, formatted like "#12345".
5781 * The 'assert' parameter used by all API modules now supports the value 'anon'.
5782   When specified, the API will return the 'assertanonfailed' error if the user
5783   is logged in.
5784 * action=edit now supports  the 'baserevid' parameter for edit conflict
5785   detection, as an alternative to 'basetimestamp'. Note that self-conflicts
5786   will continue to be ignored if 'basetimestamp' is set, but not if only
5787   'baserevid' is set.
5788 * A new module was added to change the content model of existing pages.
5789   Use action=changecontentmodel. Unlike Special:ChangeContentModel, the api
5790   module does not work for pages that do not already exist.
5791 * If $wgWatchlistExpiry is true, the following API changes are made:
5792   - action=watch accepts a new 'expiry' parameter analagous to the expiry
5793     accepted by action=userrights, action=block, etc., except it must be no
5794     greater than $wgWatchlistExpiryMaxDuration, or an infinity value.
5795   - action=query&list=watchlistraw returns pages' watchlist expiry dates.
5796 * (T249526) action=login will now return Failed rather than NeedToken on
5797   session loss.
5799 === Action API internal changes in 1.35 ===
5800 * The Action API now uses the Wikimedia\ParamValidator library for parameter
5801   validation, which brings some new features and changes. For the most part
5802   existing module code should work as it did before, but see subsequent notes
5803   for changes.
5804   - The values for all ApiBase PARAM_* constants have changed. Code should have
5805     been using the constants rather than hard-coding the values.
5806   - Several ApiBase PARAM_* constants have been deprecated, see the in-class
5807     documentation for details. Use the equivalent ParamValidator constants
5808     instead.
5809   - The value returned for 'upload'-type parameters has changed from
5810     WebRequestUpload to Psr\Http\Message\UploadedFileInterface.
5811 * Validation of 'user'-type parameters is more flexible. PARAM constants exist
5812   to specify the type of "user" allowed and to request UserIdentity objects
5813   rather than name strings. The default is to accept all types (name, IP,
5814   range, and interwiki) that were formerly accepted.
5815 * Maximum limits are no longer ignored in "internal mode".
5816 * The $paramName to ApiBase::handleParamNormalization() should now include the
5817   prefix.
5818 * (T245931) meta=siteinfo&siprop=interwikimap no longer reports language or
5819   extralanglink when $wgInterwikiMagic is false.
5821 === Languages updated in 1.35 ===
5822 MediaWiki supports over 350 languages. Many localisations are updated regularly.
5823 Below only new and removed languages are listed, as well as changes to languages
5824 because of Phabricator reports.
5826 * The default targets for the ISBN search from Special:BookSources in English
5827   have been updated for better international suppport. They will now be
5828   BetterWorldBooks.com, OpenLibrary.org and Worldcat.org.
5829 * (T237672) Changed the Moroccan Arabic language (ary) to the Arabic script.
5830 * (T201269) Added language support for Amis (ami).
5831 * (T248299) Added language support for Inari Sami (smn).
5832 * (T251369) Added language support for Ladin (lld).
5833 * (T251369) Added language support for Seediq (trv), also known as Taroko.
5834 * (T254854) Added language support for Southern Altay (alt).
5836 === Breaking changes in 1.35 ===
5837 * MediaWiki no longer supports PHP 7.2; use PHP 7.3.19+ (T228346, T257879).
5838 * ResourceLoader::getLessVars(), deprecated in 1.32, was removed.
5839   Use ResourceLoaderModule::getLessVars() instead.
5840 * The jquery.tabIndex module, deprecated in 1.34, has been removed.
5841 * The mediawiki.RegExp module alias, deprecated in 1.34, was removed.
5842   Use the mediawiki.util module instead.
5843 * The easy-deflate.inflate module, unused since 1.32, was removed.
5844 * The easy-deflate.deflate module was removed. Use the mediawiki.deflate
5845   module instead.
5846 * The mediawiki.notify module was removed. The mw.notify() shortcut is now
5847   available by default, without any dependency.
5848 * (T219604) The "jquery.ui.*" and "jquery.effects.*" module aliases,
5849   deprecated in 1.34, have been removed. Use "jquery.ui" instead.
5850 * (T235457) The "user.tokens" module has been removed.
5851   Use "user.options" instead.
5852 * (T251855) The mw.Map#exists method in JavaScript no longer supports checking
5853   multiple keys. This affects mw.config.exists() and mw.user.tokens.exists().
5854 * The internal variable $constructorOptions for the Parser & SpecialPageFactory,
5855   exposed only for integration purposes, are now each replaced by a const called
5856   CONSTRUCTOR_OPTIONS. This was a breaking change made without deprecation.
5857 * ObjectCache::getWANInstance, deprecated in 1.34, was removed.
5858   Use MediaWikiServices::getMainWANObjectCache instead.
5859 * ObjectCache::newWANCacheFromParams, deprecated in 1.34, was removed.
5860   Construct WANObjectCache directly instead, or use MediaWikiServices.
5861 * (T231366) The ProfilerOutputDb class and profileinfo.php entry point,
5862   deprecated in 1.34, was removed.
5863 * SiteConfiguration->localVHosts, deprecated in 1.25, was removed.
5864   Use $wgLocalVirtualHosts instead.
5865 * The $wgContLanguageCode read-only variable was removed.
5866   It has been a non-configurable copy of $wgLanguageCode since MW 1.8 (2006).
5867   Use $wgLanguageCode directly instead.
5868 * ApiQueryUserInfo::getBlockInfo, deprecated in 1.34, was removed. Use
5869   ApiBlockInfoTrait::getBlockDetails instead.
5870 * Password::equals(), deprecated in 1.33, was removed. Use Password::verify().
5871 * QuickTemplate::setRef(), deprecated in 1.31, was removed. Use set().
5872 * The mediawiki.ui.text module, deprecated in 1.28 and unused, was removed.
5873 * AbstractBlock::mReason, deprecated in 1.34, is no longer public.
5874 * The GetBlockedStatus and UserIsHidden, deprecated in 1.34, has been removed.
5875   Instead, use the GetUserBlock hook.
5876 * As part of work to replace the Parser, a large number of breaking changes have
5877   been made, principally in related methods and properties being removed or made
5878   private:
5879   - disableCache(), deprecated in 1.28.
5880   - serializeHalfParsedText() and the helpers unserializeHalfParsedText(),
5881     isValidHalfParsedText(), and StripState::getSubState() and
5882     StripState::merge(), all deprecated in 1.31. The helper functions
5883     LinkHolderArray::mergeForeign() and LinkHolderArray::getSubArray()
5884     were also removed.
5885   - getConverterLanguage(), deprecated in 1.32. Use getTargetLanguage() instead.
5886   - A large set of methods exposed only for historical reasons, deprecated in
5887     1.34, have now been removed or made private:
5888     - areSubpagesAllowed()
5889     - armorLinks()
5890     - createAssocArgs()
5891     - doAllQuotes()
5892     - doDoubleUnderscore()
5893     - doHeadings()
5894     - doMagicLinks()
5895     - formatHeadings()
5896     - getImageParams()
5897     - getVariableValue()
5898     - initialiseVariables()
5899     - makeKnownLinkHolder()
5900     - maybeDoSubpageLink()
5901     - parseLinkParameter()
5902     - replaceExternalLinks()
5903     - replaceInternalLinks()
5904     - replaceInternalLinks2()
5905     - replaceLinkHoldersText().
5906     - splitWhitespace()
5907     - stripAltText()
5908     - testPreprocess()
5909     - testPst()
5910     - testSrvus()
5911   - incrementIncludeSize(), setTransparentTagHook(), replaceTransparentTags(),
5912     and $mTransparentTagHooks have been removed without deprecation.
5913   - The following constants have been made private without deprecation:
5914     - ::EXT_LINK_ADDR
5915     - ::EXT_IMAGE_REGEX
5916     - ::SPACE_NOT_NL
5917   - The following properties have been removed without deprecation:
5918     - ::$mDefaultStripList
5919     - ::$mIncludeCount
5920     - ::$mRevIdForTs
5921   - The following properties have been made private without deprecation:
5922     - ::$mFunctionSynonyms
5923     - ::$mFunctionTagHooks
5924     - ::$mStripList
5925     - ::$mVarCache
5926     - ::$mImageParams
5927     - ::$mImageParamsMagicArray
5928     - ::$mSubstWords
5929     - ::$mVariables
5930     - ::$mConf (deprecated in 1.34)
5931     - ::$mExtLinkBracketedRegex
5932     - ::$mUrlProtocols
5933     - ::$mAutonumber
5934     - ::$mLinkHolders
5935     - ::$mDefaultSort
5936     - ::$mTplRedirCache
5937     - ::$mForceTocPosition
5938     - ::$mTplDomCache
5939     - ::$mOutputType
5940     - ::$mLangLinkLanguages
5941     - ::$currentRevisionCache
5942     - ::$mProfiler
5943     - ::$mLinkRenderer
5944   - Parser::getTitle() will now throw a TypeError if $mTitle is uninitialized.
5945     This use pattern was deprecated in 1.34.
5946   - ContentHandler::makeParserOptions(), deprecated in 1.32, was removed. Use
5947     WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
5948   - The ParserAfterUnstrip hook, believed to be unused, was removed without
5949     deprecation.
5950   - Preprocessor_DOM and related classes, deprecated in 1.34, have been removed.
5951     Consequently, the related ParserOptions::getMaxGeneratedPPNodeCount() and
5952     ::setMaxGeneratedPPNodeCount() have been removed without deprecation.
5953   - The support for the old signature for ParserFactory::__construct, which was
5954     deprecated in 1.34, has been removed.
5955   - Parser::getDefaultPreprocessorClass(), deprecated in 1.34, has been removed.
5956 * MediaWikiTestCase::prepareServices(), deprecated in 1.32, has been removed
5957 * The method ContentHandler::getSlotDiffRendererInternal is replaced with
5958   ContentHandler::getSlotDiffRendererWithOptions. This breaks consumers which
5959   call parent::getSlotDiffRendererInternal (no instances of which are known).
5960 * TextContent::getHighlightHtml, deprecated since 1.24, has been removed. Use
5961   TextContent::getHtml instead.
5962 * ExtensionRegistry::load(), deprecated in 1.34, was removed. Instead, use
5963   ExtensionRegistry::queue().
5964 * MWMessagePack class, deprecated in 1.34, was removed.
5965 * The cdb.php maintenance script was removed. Use the 'cdb' command from the
5966   wikimedia/cdb library instead.
5967 * User::addNewUserLogEntryAutoCreate, deprecated in 1.27, was removed.
5968 * FileBasedSiteLookup class, deprecated in 1.33, was removed.
5969 * The wfGlobalCacheKey global function, deprecated in 1.30, was removed.
5970 * The APCBagOStuff class was removed. MediaWiki requires PHP 7.2+ (support
5971   for HHVM was dropped) and these versions of PHP only support apcu. The default
5972   "apc" entry in $wgObjectCaches now refers to APCUBagOStuff.
5973 * Database::bufferResults(), deprecated in 1.34, has been removed.
5974 * CannotReplaceActiveServiceException, ContainerDisabledException,
5975   DestructibleService, NoSuchServiceException, SalvageableService,
5976   ServiceAlreadyDefinedException, ServiceContainer and ServiceDisabledException
5977   in the global namespace, deprecated in 1.33, were removed. Use the classes in
5978   the MediaWiki\\Services namespace instead.
5979 * The following methods in the Interwiki class were removed: ::fetch(),
5980   ::isValidInterwiki(), ::invalidateCache(), and ::getAllPrefixes().
5981 * The UsersMultiselectWidget config 'allowArbitrary' is now false by default. To
5982   accept arbitrary entries, pass in true for this config.
5983 * OutputPage::parse() and OutputPage::parseInline(), deprecated in 1.32, have
5984   been removed. Use ::parseAsContent() or ::parseAsInterface(), as
5985   appropriate.
5986 * WikiPage::selectFields, deprecated in 1.31, was removed. Use ::getQueryInfo.
5987 * The remaining static methods for MagicWord, deprecated in 1.32, were removed.
5988   These were MagicWord::get(), ::getSubstIDs(), ::getDoubleUnderscoreArray(),
5989   ::getVariableIDs(), and ::getCacheTTL(). Instead, use MagicWordFactory (via
5990   MediaWikiServices).
5991 * ApiBase::checkTitleUserPermissions no longer accepts a User as the third
5992   parameter. Passing a user was deprecated in 1.33.
5993 * Sanitizer::setupAttributeWhitelist() and Sanitizer::attributeWhitelist(),
5994   deprecated in 1.34, have been removed. They should not have been public.
5995 * Passing a sequential array as the second parameter to
5996   Sanitizer::validateAttributes() has been deprecated; use an associative
5997   array where keys are the allowed attributes.
5998 * The $warnCallback parameter to Sanitizer::removeHTMLtags, deprecated since
5999   its introduction in 1.28, has been removed.
6000 * SpecialRecentChanges::filterByCategories(), deprecated in 1.31, was removed.
6001 * The `ArticleContentViewCustom` hook, deprecated in 1.32, was removed.
6002 * AuthManager::callLegacyAuthPlugin, deprecated in 1.33, was removed.
6003 * wfGetMessageCacheStorage was removed without deprecation.
6004 * Title::moveSubpages, deprecated in 1.34, was removed. Use the MovePage class
6005   and MovePage::moveSubpages instead.
6006 * Article::doEditContent, deprecated in 1.29, was removed. Instead, use
6007   WikiPage::doEditContent.
6008 * CommentStore::newKey, deprecated in 1.31, was removed.
6009 * EditPage::$hookError was changed from public to private.
6010 * Title::isValidMoveOperation, ::moveTo, and ::isValidMoveTarget, deprecated
6011   in 1.25, were removed. Use the MovePage class and its methods instead.
6012 * Title::getUserCaseDBKey(), deprecated in 1.33, was removed. Use ::getDBkey().
6013 * StringUtils::explodeMarkup() was removed without deprecation.
6014 * AjaxResponse methods that were unused have been removed without deprecation:
6015   - checkLastModified
6016   - loadFromMemcached
6017   - storeInMemcached
6018   - setCacheDuration
6019   - setVary
6020 * ApiDelete::delete and ::deleteFile, both of which were protected methods,
6021   have been made private to allow a signature change.
6022 * HistoryPager::revLink, ::curLink, ::lastLink, and ::diffButtons, which had
6023   no visibilities defined, have been made private to allow signature changes.
6024 * SpecialNewpages::revisionFromRcResult, which previously was protected, has
6025   been made private to allow a signature change.
6026 * DifferenceEngine::$mOldRev and $mNewRev, deprecated for public access in
6027   1.32, have been removed.
6028 * DifferenceEngine::revisionDeleteLink, which was previosuly protected, has
6029   been made private to allow a signature change.
6030 * DifferenceEngine::getParserOutput, which is protected, has had a breaking
6031   signature change: the second parameter must be a RevisionRecord object,
6032   rather than a Revision object.
6033 * WikiPage::setLastEdit, which was previously protected, has been made
6034   private to allow a signature change.
6035 * Skin::getSkinNameMessages() deprecated in 1.34, has been removed.
6036 * Skin::escapeSearchLink() deprecated in 1.34, has been removed, use
6037   Skin::getSearchLink() instead.
6038 * Skin::shouldPreloadLogo() deprecated in  1.32, has been removed.
6039 * Revision::loadFromId and RevisionStore::loadRevisionFromId have been
6040   removed.
6041 * OutputPage::parserOptions doesn't accept an $options parameter anymore.
6042 * MessageCache::getParserOptions previously did not have a visibility set.
6043   It has been made private.
6044 * SpecialUndelete::showDiff previously did not have a visibilty set. It
6045   hav been made private to allow a signature change.
6046 * The Skin no longer loads the "mediawiki.legacy.shared" or
6047   "mediawiki.legacy.commonPrint" modules. The legacy shared styles must now
6048   be loaded by the skin explicitly, either inherited via the
6049   "mediawiki.skinning.*" modules, or by making your skin's main styles
6050   module use the ResourceLoaderSkinModule class with the "legacy" attribute.
6051   See Vector and Monobook for examples.
6052 * Passing an ApiMain to the constructor of ApiResult is no longer supported.
6053   This was deprecated in 1.25.
6054 * ResourceLoaderWikiModule::invalidateModuleCache has been declared to
6055   be @internal as part of a signature change. No known uses exist outside
6056   of MediaWiki core.
6057 * The ArticleAfterFetchContentObject hook, deprecated in 1.32, was removed.
6058   Use ArticleRevisionViewCustom to control output.
6059 * DatabaseBlock::isValid, deprecated in 1.33, was removed.
6060 * HTMLUserTextField and HTMLUsersMultiselectField previously implied
6061   required=true when exists=true. Form fields that use exists=true should also
6062   set required=true if they are required.
6063 * In DatabaseUpdater, the following methods are no longer public: dropTable(),
6064   modifyTable(), modifyField(), runMaintenance(), copyFile(), appendLine().
6065   In PostgresUpdater, the following methods are no longer public:
6066   addPgEnumValue(), addPgIndex(), addPgExtIndex(). This change was made without
6067   deprecation due to immediate danger of data corruption and loss, see T157651.
6068   Extensions should instead use dropExtensionTable(),
6069   modifyExtensionExtensionTable(), modifyExtensionField(), addExtensionUpdate().
6070   The addExtensionUpdate() method can still be used to access any of the
6071   protected methods on DatabaseUpdater.
6072 * ResourceLoader no longer provides the (always-true) variables for wgEnableAPI
6073   and wgEnableWriteAPI; they were deprecated in MediaWiki 1.31 and removed from
6074   the PHP environment in MediaWiki 1.32.
6075 * The wfSetupSession global function, deprecated in 1.27, was removed. Use the
6076   persist() method of the right MediaWiki\Session\SessionManager object instead.
6077 * The wfIsHHVM global function, deprecated in 1.34, was removed.
6078 * GenderCache::doTitlesArray no longer accepts string values in its $titles
6079   array parameter. Use Title objects (or other LinkTarget) instead.
6080 * Unused CommentStore::MAX_COMMENT_LENGTH has been removed.
6081 * User::checkTemporaryPassword() and User::checkPassword(), deprecated in 1.27,
6082   were removed. Use AuthManager instead.
6083 * All constants and class functions now have explicit visibility modifiers. This
6084   means, per [[mw:Stable interface policy]], that these should now be considered
6085   stable. This also helps MW align with PSR 2 and PSR 12. This was done based on
6086   audits of the corpus of skins and extensions hosted in Gerrit. If you find any
6087   that you need to be less restrictive (i.e. public or protected), please report
6088   these so that we can re-evaluate or suggest workarounds.
6089 * BaseTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg() or
6090   ->getMsg() instead.
6091 * QuickTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg()
6092   instead.
6093 * WebInstaller::getErrorBox() and ::getWarningBox(), deprecated in 1.34,
6094   were removed. Use Html::errorBox() or ::warningBox() instead.
6095 * SpecialVersion::getExtensionCredits() and SpecialVersion::getSkinCredits()
6096   have become private without deprecation.
6097 * As part of the migration to a new hook system (T240307), the following classes
6098   now require an additional HookContainer constructor parameter:
6099     - AuthManager
6100     - BadFileLookup
6101     - BlockManager
6102     - ClassicInterwikiLookup
6103     - ContentHandlerFactory
6104     - ContentSecurityPolicy
6105     - DefaultOptionsManager
6106     - DerivedPageDataUpdater
6107     - FullSearchResultWidget
6108     - HtmlCacheUpdater
6109     - LanguageFactory
6110     - LanguageNameUtils
6111     - LinkRenderer
6112     - LinkRendererFactory
6113     - LocalisationCache
6114     - MagicWordFactory
6115     - MessageCache
6116     - NamespaceInfo
6117     - PageEditStash
6118     - PageHandlerFactory
6119     - PageUpdater
6120     - ParserFactory
6121     - PermissionManager
6122     - RevisionStore
6123     - RevisionStoreFactory
6124     - Router
6125     - SearchEngineConfig
6126     - SearchEngineFactory
6127     - SearchFormWidget
6128     - SearchNearMatcher
6129     - SessionBackend
6130     - SpecialPageFactory
6131     - UserNameUtils
6132     - UserOptionsManager
6133     - WatchedItemQueryService
6134     - WatchedItemStore
6135 * The following classes now require setHookContainer() to be called after
6136   construction:
6137     - AuthenticationProvider
6138     - ResourceLoaderModule
6139     - SearchEngine
6140 * The parameters to ChronologyProtector::getTouched() and
6141   ILBFactory::getChronologyProtectorTouched() were changed without backwards
6142   compatibility.
6143 * The deprecated $blacklist parameter to wfIsBadImage() has been removed.
6144 * SpecialBlock::checkUnblockSelf no longer accepts an integer representing
6145   an user ID as part of ongoing refactoring of SpecialBlock class.
6146 * User::setInternalPassword() and User::setPassword(), deprecated in 1.27, have
6147   been removed. Use User::changeAuthenticationData() instead.
6148 * User::selectFields(), deprecated in 1.31, has been removed. Use
6149   User::getQueryInfo() instead.
6150 * The "legacy" serialization type in RESTBagOStuff, deprecated in 1.34,
6151   has been removed.
6152 * The populateContentModel.php maintenance script was removed. It has
6153   been replaced by the populateContentTables.php script.
6154 * The findHooks.php maintenance script, for the old hooks system, was removed.
6155 * (T257278) Calling MediaWiki\Shell\Command::restrict() will now overwrite
6156   any previous restrictions rather than adding to them, making it possible to
6157   disable the default restrictions.
6159 === Deprecations in 1.35 ===
6160 * The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4, is
6161   now deprecated. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
6162   support.
6163 * LockManagerGroup::getDefault() and LockManagerGroup::getAny() are deprecated.
6164   They seem to be unused. Just use get() directly, and catch any exception.
6165 * AbstractBlock::getPermissionsError and AbstractBlock::getBlockErrorParams are
6166   deprecated. Use BlockErrorFormatter::getMessage instead.
6167 * The IP class is deprecated. Please instead use the Wikimedia\IPUtils class
6168   from the new wikimedia/ip-utils library instead. Additionally, the RE_IP_*
6169   constants are also deprecated. RE_IP_BYTE can be replaced with a class
6170   constant on the IPUtils class, while the others will eventually be made
6171   private.
6172 * The following Language methods are deprecated: getFallbackFor,
6173   getFallbacksFor, getFallbacksIncludingSiteLanguage. Use the corresponding new
6174   methods on the LanguageFallback class: getFirst, getAll, and
6175   getAllIncludingSiteLanguage.
6176 * FileJournal::factory is deprecated. Use the constructor directly instead.
6177 * AbstractBlock methods setBlocker(), getBlocker() are deprecated and will
6178   become internal implementation of DatabaseBlock.
6179 * Title::countRevisionsBetween has been deprecated and moved into RevisionStore.
6180 * FileBackendGroup::singleton() is deprecated. Use MediaWikiServices instead.
6181 * FileBackendGroup::destroySingleton() is deprecated. Test frameworks should
6182   instead reset MediaWikiServices between test runs.
6183   (MediaWikiIntegrationTestCase does this automatically.)
6184 * GenderCache::singleton(), deprecated in 1.28, is hard deprecated. Use
6185   MediaWikiServices::getGenderCache() instead.
6186 * MediaWikiIntegrationTest::setContentLang() has been deprecated. Use
6187   setMwGlobals( 'wgLanguageCode', 'xxx' ) to set a different site language
6188   code, or setService( 'ContentLanguage', $myObj ) to set a specific Language
6189   object. Service resets and $wgContLang will be handled automatically.
6190 * MediaWikiIntegrationTest::assertType() has been deprecated, as part of the
6191   work to move to PHPUnit 8; PHPUnit's assertInternalType() was deprecated, and
6192   will be removed in PHPUnit 9. MediaWikiIntegrationTest::assertTypeOrValue(),
6193   a wrapper for assertType(), has been removed immediately, without deprecation.
6194 * AbstractBlock::getReason is deprecated, since reasons are actually stored as
6195   CommentStoreComments, and getReason returns a string with no caller control
6196   over language or formatting. Instead use AbstractBlock::getReasonComment,
6197   which returns the CommentStoreComment.
6198 * The global function wfGetRusage() is deprecated and will now always call the
6199   getrusage() function without checking for its existence.
6200 * The properties User::mBlock, User::mBlockedby and User::mHideName are
6201   deprecated. Instead, use User::getBlock to get the block, then use
6202   AbstractBlock::getByName or AbstractBlock::getHideName.Use the GetUserBlock
6203   hook to set, unset or modify a block, including hiding or unhiding a user.
6204 * Directly calling the MergeHistory constructor is deprecated. Instead, use the
6205   new MergeHistoryFactory class.
6206 * Language::factory() and Language::getParentLanguage() are deprecated, and so
6207   is directly calling the Language constructor. Use the new LanguageFactory
6208   class instead.
6209 * Language::classFromCode() is deprecated. There is no reason it should be used
6210   outside the Language class itself.
6211 * Language::clearCaches() is deprecated. Instead, reset all services and set
6212   Language::$mLangObjCache = [].
6213 * The following functions from Language class are deprecated in favour of
6214   respective functions in LanguageConverter:
6215   - autoConvert
6216   - autoConvertToAllVariants
6217   - convert
6218   - convertTitle
6219   - convertNamespace
6220   - hasVariants
6221   - hasVariant
6222   - convertHtml
6223   - convertCategoryKey
6224   - getVariants
6225   - getPreferredVariant
6226   - getURLVariant
6227   - findVariantLink
6228   - getExtraHashOptions
6229   - updateConversionTable
6230 * Language::classFromCode() is hard deprecated and should be removed in 1.36
6231 * Language::getConverter() is deprecated and should be removed in 1.36
6232 * Language::MESSAGES_FALLBACKS, Language::STRICT_FALLBACKS were deprecated.
6233   Use LanguageFallback::MESSAGES and LanguageFallback::STRICT respectively
6234 * Language::$mLangObjCache is deprecated and should be removed in 1.36. Use
6235   MediaWikiServices instead to get a LanguageFactory.
6236 * Language::getMessagesFor(), getMessageFor(), and getMessageKeysFor() are
6237   deprecated. Use LocalisationCache's getItem(), getSubitem(), and
6238   getSubitemList() methods directly.
6239 * OutputPage::getCSPNonce() is deprecated, use OutputPage::getCSP()->getNonce()
6240   instead.
6241 * DerivedPageDataUpdater::prepareUpdate accepted as its second parameter an
6242   optional array of options. Specifying the value of the `oldrevision` key of
6243   the array to be a Revision object, rather than a RevisionRecord object, is
6244   hard deprecated. The same applies to the options parameter in
6245   WikiPage::doEditUpdates.
6246 * Skin::makeI18nUrl() and makeNSUrl() have been deprecated, no longer used.
6247 * Title::countAuthorsBetween and Title::getAuthorsBetween were hard deprecated.
6248   Use respective methods in RevisionStore instead.
6249 * Remove deprecated SkinCopyrightFooter &$forContent parameter
6250 * The following Language class static variables have been replaced with
6251   constants and deprecated: $mWeekdayMsgs, $mWeekdayAbbrevMsgs, $mMonthMsgs,
6252   $mMonthGenMsgs, $mMonthAbbrevMsgs, $mIranianCalendarMonthMsgs,
6253   $mHebrewCalendarMonthMsgs, $mHebrewCalendarMonthGenMsgs,
6254   $mHijriCalendarMonthMsgs and $durationIntervals.
6255 * As part of dropping security support for IE 6 and IE 7,
6256   WebRequest::checkUrlExtension() has been deprecated, and now always returns
6257   true.
6258 * The following ApiBase::PARAM_* constants have been deprecated in favor of
6259   equivalent ParamValidator constants: PARAM_DFLT, PARAM_ISMULTI, PARAM_TYPE,
6260   PARAM_MAX, PARAM_MAX2, PARAM_MIN, PARAM_ALLOW_DUPLICATES, PARAM_DEPRECATED,
6261   PARAM_REQUIRED, PARAM_SUBMODULE_MAP, PARAM_SUBMODULE_PARAM_PREFIX, PARAM_ALL,
6262   PARAM_EXTRA_NAMESPACES, PARAM_SENSITIVE, PARAM_DEPRECATED_VALUES,
6263   PARAM_ISMULTI_LIMIT1, PARAM_ISMULTI_LIMIT2, PARAM_MAX_BYTES, PARAM_MAX_CHARS.
6264 * ApiBase::explodeMultiValue() is deprecated. Use
6265   ParamValidator::explodeMultiValue() instead.
6266 * ApiBase::parseMultiValue() is deprecated. No replacement is provided;
6267   generally this sort of thing should be handled by fully validating the
6268   parameter.
6269 * ApiBase::validateLimit() and ApiBase::validateTimestamp() are deprecated.
6270   Use ApiParamValidator::validateValue() with an appropriate settings array
6271   instead.
6272 * ContentHandler (use ContentHandlerFactory):
6273   - getForTitle
6274   - getForContent
6275   - getForModelID
6276   - getContentModels
6277   - getAllContentFormats
6278   - protected $handler (not need anymore)
6279   - cleanupHandlersCache (not need anymore)
6280 * (T212738) The $wgVersion global is deprecated; instead, use MW_VERSION.
6281 * $wgMemc is deprecated, use MediaWikiServices::getLocalServerObjectCache()
6282   instead.
6283 * ObjectCache::detectLocalServerCache() is deprecated, instead use
6284   MediaWikiServices::getLocalServerObjectCache() or
6285   ObjectCache::makeLocalServerCache().
6286 * ImagePage::getImageLimitsFromOptions() is deprecated. Use static function
6287   MediaFileTrait::getImageLimitsFromOptions() instead.
6288 * As part of work to replace the Parser, alongside the breaking changes listed
6289   above, a large number of deprecations changes been made, to simplify the API
6290   or because they will not be supported in replacement:
6291   - Parser::doBlockLevels() (and BlockLevelPass class has been marked @internal)
6292   - Parser::setFunctionTagHook()
6293   - Parser::attributeStripCallback()
6294   - Parser::fetchTemplate() - use Parser::fetchTemplateAndTitle() instead.
6295   - Parser::enableOOUI() - use $parser->getOutput()->enableOOUI() instead.
6296   - LinkHolderArray has been deprecated for public usage and will be
6297     internal part of parser.
6298   - The following parser-related hooks have been deprecated:
6299     - InternalParseBeforeSanitize
6300         Use an alternative hook which doesn't expose internal half-parsed state,
6301         like ParserBeforeInternalParse or ParserAfterTidy
6302     - ParserFetchTemplate
6303         Use BeforeParserFetchTemplateAndTitle
6304     - ParserSectionCreate
6305         No replacement; <section> tag wrapping will be done by core in future.
6306     - BeforeParserrenderImageGallery
6307         No replacement; MediaHandler provides for customizable media rendering
6308     - ParserBeforeTidy
6309         Use ParserAfterTidy instead to avoid exposing internal half-parsed state
6310     - ParserBeforeStrip
6311         No replacement; stripping is no longer supported.
6312     - ParserAfterStrip
6313         No replacement; stripping is no longer supported.
6314   - The accessor/mutator methods Parser::Options(), Parser::OutputType(), and
6315     Parser::Title() have been deprecated; use the appropriate Parser::get* or
6316     Parser::set* methods instead.
6317   - Parser::firstCallInit() has been deprecated. The parser is initialized
6318     fully on construction and so ::firstCallInit() no longer has any effect
6319     when manually invoked.
6320   - ParserOptions::setAllowExternalImages(), ::setAllowExternalImagesFrom(),
6321     and ::setEnableImageWhitelist() have been deprecated.  Future parsers
6322     will not allow per-parser configuration of image filtering; use
6323     site configuration instead.
6324   - ParserOptions::getTidy() and ParserOptions::setTidy() have been deprecated.
6325     These options no longer have any effect.
6326   - Most methods of MWTidy, except for MWTidy::tidy(), have been deprecated;
6327     tidiness is always enabled and not configurable.
6328   - Version 1 of the parserTests file format has been deprecated. You'll need to
6329     update your parser tests to version 2, which uses Remex tidy on all test
6330     output by default. Support for parser tests with Remex tidy off will later
6331     be removed entirely.
6332   - $wgParser — This global variable, soft deprecated in 1.32, has now been hard
6333     deprecated. Use MediaWikiServices::getInstance()->getParser() instead.
6334     (T160811)
6335 * The signature of DefaultPreferencesFactory::__construct has been changed:
6336   - LanguageConverter $languageConverter has been added.
6337   and its usage with old arguments is hard deprecated.
6338 * The public usage of the following properties of LanguageConverter have been
6339   deprecated as there is no reason they should be used outside the
6340   LanguageConverter class and will be changed from public to private:
6341   - mLangObj
6342   - mUcfirst
6343   - mConvRuleTitle
6344   - mURLVariant
6345   - mUserVariant
6346   - mHeaderVariant
6347   - mMaxDepth
6348   - mVarSeparatorPattern
6349   changed from public to protected:
6350   - mTables
6351 * The ArticleEditUpdatesDeleteFromRecentchanges hook has been deprecated. Please
6352   use the RecentChange_save hook or similar instead.
6353 * The ArticleEditUpdates hook has been deprecated. Please
6354   use the RevisionDataUpdates hook or similar instead.
6355 * The SkinTemplatePreventOtherActiveTabs and SkinTemplateTabAction hooks have
6356   been hard deprecated. Please use the SkinTemplateNavigation__Universal hook
6357   instead.
6358 * ResourceLoaderFileModule::compileLessFile() has been deprecated, use
6359   ResourceLoaderFileModule::compileLessString() instead
6360 * The SquidPurgeClient and SquidPurgeClientPool classes have been deprecated.
6361   Use MultiHttpClient or HtmlCacheUpdater instead.
6362 * MimeAnalyzer::getExtensionsForType() and ::getTypesForExtensions() were
6363   deprecated in favor of MimeAnalyzer::getExtensionsFromMimeType() and
6364   ::getMimeTypesFromExtension(), respectively. The new methods return arrays
6365   rather than strings.
6366 * Calling Action::factory and Action constructor with WikiPage has been
6367   hard deprecated. Caller must provide an Article instance.
6368 * ApiTestCase::doLogin, soft deprecated in 1.31, was hard deprecated.
6369 * WebRequest::getLimitOffset is hard deprecated. Instead, use
6370   ::getLimitOffsetForUser and pass a User object.
6371 * PageArchive::getPreviousRevision is hard deprecated. Instead, use the new
6372   ::getPreviousRevisionRecord method.
6373 * PageArchive::getArchivedRevision is hard deprecated. Instead, use the new
6374   ::getArchivedRevisionRecord method.
6375 * PageArchive::undelete is hard deprecated. Instead, use ::undeleteAsUser
6376   and pass a User object.
6377 * PageArchive::getRevision is hard deprecated.
6378 * EditPage::getBaseRevision was hard deprecated. Instead, use the new
6379   ::getExpectedParentRevision method.
6380 * The public variable EditPage::$mBaseRevision was hard deprecated.
6381 * FileDeleteForm previously did not accept a user parameter in its constructor,
6382   instead relying on the global $wgUser. A user parameter has been added,
6383   and //not// providing a user is deprecated. There are no known callers
6384   outside of mediawiki core.
6385 * AuthManager::singleton() has been deprecated. Use
6386   MediaWikiServices::getInstance()->getAuthManager() instead.
6387 * ContribsPager::tryToCreateValidRevision is hard deprecated. Instead, use
6388   ContribsPager::tryCreatingRevisionRecord.
6389 * The following functions all accept an optional user parameter. Not passing a
6390   user is hard deprecated, and support for calling them without passing a user
6391   will be removed in 1.36:
6392   - Title::getNotificationTimestamp (note however that the method is deprecated
6393       in its entirely in favor of the new WatchlistNotificationManager service)
6394   - PatrolLog::record
6395   - LogEventsList::userCan
6396   - LogEventsList::userCanBitfield
6397   - LogEventsList::userCanViewLogType
6398   - LogPage::addEntry
6399   - FileDeleteForm::doDelete
6400   - OldLocalFile::userCan
6401   - ArchivedFile::userCan
6402   - File::userCan
6403 * The following functions all accept an optional audience parameter and
6404   an optional user parameter. If the audience is FOR_THIS_USER and no
6405   user is passed, they fallback to $wgUser. Not passing a user when
6406   one is needed is deprecated
6407   - LogEventsList::getExcludeClause
6408   - WikiPage::getComment
6409   - WikiPage::getCreator
6410   - WikiPage::getUser
6411   - WikiPage::getUserText
6412 * UploadBase::checkWarnings now accepts a User parameter; not providing a
6413   user is soft deprecated.
6414 * Article::insertProtectNullRevision and WikiPage::insertProtectNullRevision
6415   were hard deprecated. Instead, use WikiPage::insertNullProtectionRevision.
6416 * Article::doDeleteArticle, Article::doDeleteArticleReal, and
6417   WikiPage::doDeleteArticle are all deprecated. Instead, use
6418   WikiPage::doDeleteArticleReal.
6419 * Article::getComment is deprecated. Instead, use WikiPage::getComment.
6420 * Article::getCreator is deprecated. Instead, use WikiPage::getCreator.
6421 * Article::updateRevisionOn() and ::updateIfNewerOn(), and
6422   WikiPage::updateIfNewerOn() are deprecated. Instead, use
6423   WikiPage::updateRevisionOn().
6424 * Article::getUser is deprecated. Instead, use WikiPage::getUser.
6425 * Article::getUserText is deprecated. Instead, use WikiPage::getUserText.
6426 * Article::prepareContentForEdit is hard deprecated. Instead, use
6427   WikiPage::prepareContentForEdit.
6428 * WikiPage::prepareContentForEdit previously accepted either a Revision or a
6429   RevisionRecord object as its optional second parameter. Passing a Revision
6430   is now hard deprecated.
6431 * Article::getUndoContent and WikiPage::getUndoContent are hard deprecated.
6432   Instead, use ContentHandler::getUndoContent.
6433 * Passing Revision objects to ContentHandler::getUndoContent is hard deprecated.
6434   Instead, pass the associated Content objects, as well as whether the undo is
6435   from the current revision.
6436 * Article::doDeleteUpdates and ::doEditUpdates are deprecated. Instead,
6437   use WikiPage::doDeleteUpdates and ::doEditUpdates.
6438 * WikiPage::doEditUpdates previously accepted a Revision object as its first
6439   parameter. It now accepts RevisionRecord objects, and passing Revision
6440   objects is deprecated.
6441 * Article::getRevisionFetched is deprecated. Instead, use the
6442   fetchRevisionRecord method, which has been converted from protected to
6443   public.
6444 * LocalFileDeleteBatch was migrated to a new constructor signature with the
6445   user as the second parameter. Support for the old signature is hard
6446   deprecated, and once removed the user parameter will be required. At the
6447   same time, a number of file-deletion related methods were updated
6448   - File::delete is hard deprecated in favor of the new ::deleteFile
6449   - LocalFile::delete is hard deprecated in favor of the new ::deleteFile
6450   - LocalFile::deleteOld is hard deprecated in favor of the new ::deleteOldFile
6451   - ForeignDBFile::delete is hard deprecated in favor of the new ::deleteFile
6452 * File::recordUpload (along with the respective methods in the LocalFile and
6453   ForeignDBFile classes) is hard deprecated, and LocalFile::recordUpload2 is
6454   soft deprecated. Use the new LocalFile::recordUpload3, which has a different
6455   signature and requires that a User parameter is passed.
6456 * The SpecialPageFactory class was moved from the MediaWiki\Special namespace
6457   to the MediaWiki\SpecialPage namespace. The old location remains as a
6458   deprecated alias.
6459 * Title::userCan, ::quickUserCan, and ::getUserPermissionsErrors, which
6460   were deprecated in 1.33, were hard deprecated. Instead, use
6461   PermissionManager::userCan, ::quickUserCan, and ::getPermissionErrors.
6462 * All methods of the old SpecialPageFactory, deprecated in 1.32, were hard
6463   deprecated. Instead, get a SpecialPageFactory from MediaWikiServices and
6464   use its methods.
6465 * User::updateNewtalk now accepts as its optional third parameter a
6466   RevisionRecord object; passing a Revision is hard deprecated.
6467 * User::getNewMessageRevisionId and ::getNewMessageLinks were hard deprecated.
6468 * DifferenceEngine::getRevisionHeader now accepts a RevisionRecord as its
6469   first parameter; passing a Revision is hard deprecated.
6470 * WikiPage::doDeleteUpdates now accepts as its optional third parameter
6471   a RevisionRecord object; passing a Revision is hard deprecated.
6472 * WikiPage::onArticleEdit now accepts as its optional second parameter
6473   a RevisionRecord object; passing a Revision is hard deprecated.
6474 * Global $wgUser variable was soft deprecated.
6475 * The Revision class was soft deprecated entirely in 1.31. All methods
6476   have now been individually hard deprecated:
6477   - ::__construct - create MutableRevisionRecord objects instead
6478   - ::newFromId - use RevisionLookup::getRevisionById instead
6479   - ::newFromTitle - use RevisionLookup::getRevisionByTitle instead
6480   - ::newFromPageId - use RevisionStore::getRevisionByPageId instead
6481   - ::newFromArchiveRow - use RevisionFactory::newRevisionFromArchiveRow
6482   - ::newFromRow - use RevisionStore::newRevisionFromRow instead
6483   - ::loadFromPageId - use RevisionStore::getRevisionByPageId instead
6484   - ::loadFromTitle - use RevisionStore::getRevisionByTitle instead
6485   - ::loadFromTimestamp - use RevisionStore::getRevisionByTimestamp instead
6486   - ::getQueryInfo - use RevisionStore::getQueryInfo instead
6487   - ::getArchiveQueryInfo - use RevisionStore::getArchiveQueryInfo instead
6488   - ::getParentLengths - use RevisionStore::getRevisionSizes instead
6489   - ::getRevisionRecord - no replacement
6490   - ::getId - use RevisionRecord::getId instead
6491   - ::setId - use MutableRevisionRecord::setId instead
6492   - ::setUserIdAndName - use MutableRevisionRecord::setUser instead
6493   - ::getTextId - use SlotRecord::getContentAddress for retrieving an actual
6494       content address, or RevisionRecord::hasSameContent to compare content
6495   - ::getParentId - use RevisionRecord::getParentId instead
6496   - ::getSize - use RevisionRecord::getSize instead
6497   - ::getSha1 - use RevisionRecord::getSha1 instead
6498   - ::getTitle - use RevisionRecord::getPageAsLinkTarget instead
6499   - ::setTitle - the method was previously a no-op
6500   - ::getPage - use RevisionRecord::getPageId instead
6501   - ::getUser - use RevisionRecord::getUser and then User::getId instead
6502   - ::getUserText - use RevisionRecord::getUser and then User::getName instead
6503   - ::getComment - use RevisionRecord::getComment instead
6504   - ::isMinor - use RevisionRecord::isMinor instead
6505   - ::isUnpatrolled - use RevisionStore::getRcIdIfUnpatrolled instead
6506   - ::getRecentChange - use RevisionStore::getRecentChange instead
6507   - ::isDeleted - use RevisionRecord::isDeleted instead
6508   - ::getVisibility - use RevisionRecord::getVisibility instead
6509   - ::getContent - use RevisionRecord::getContent instead
6510   - ::getSerializedData - use SlotRecord::getContent for retrieving a
6511       content object, and Content::serialize for the serialized form
6512   - ::getContentModel - use SlotRecord::getModel instead
6513   - ::getContentFormat - use SlotRecord::getFormat instead, with a fallback
6514        to ContentHandler::getDefaultFormat
6515   - ::getContentHandler - use ContentHandlerFactory::getContentHandler instead
6516   - ::getTimestamp - use RevisionRecord::getTimestamp instead
6517   - ::isCurrent - use RevisionRecord::isCurrent instead
6518   - ::getPrevious - use RevisionLookup::getPreviousRevision instead
6519   - ::getNext - use RevisionLookup::getNextRevision instead
6520   - ::getRevisionText - use RevisionRecord::getContent instead
6521   - ::compressRevisionText - use SqlBlobStore::compressData instead
6522   - ::decompressRevisionText - use SqlBlobStore::decompressData instead
6523   - ::insertOn - use RevisionStore::insertRevisionOn instead
6524   - ::base36Sha1 - use SlotRecord::base36Sha1 instead
6525   - ::newNullRevision - use RevisionStore::newNullRevision
6526   - ::userCan - use RevisionRecord::userCanBitfield instead
6527   - ::userCanBitfield - use RevisionRecord::userCanBitfield instead
6528   - ::getTimestampFromId - use RevisionStore::getTimestampFromId instead
6529   - ::countByPageId - use RevisionStore::countRevisionsByPageId instead
6530   - ::countByTitle - use RevisionStore::countRevisionsByTitle instead
6531   - ::userWasLastToEdit - use RevisionStore::userWasLastToEdit instead
6532   - ::newKnownCurrent - use RevisionStore::getKnownCurrentRevision instead
6533 * The Revision method had a few methods that were previously protected and
6534   have been made private. They were:
6535   - ::getRevisionStore
6536   - ::getRevisionLookup
6537   - ::getRevisionFactory
6538   - ::getBlobStore
6539   The $mRecord variable was also changed from protected to private.
6540 * Multiple hooks that include Revision objects were deprecated. The hooks, as
6541   well as suitable replacements, are noted below:
6542   - ArticleRevisionUndeleted (hard deprecated, use the RevisionUndeleted hook)
6543   - ArticleRollbackComplete (hard deprecated, use the RollbackComplete hook)
6544   - DiffRevisionTools (hard deprecated, use the DiffTools hook)
6545   - DiffViewHeader (hard deprecated, use the DifferenceEngineViewHeader hook)
6546   - HistoryRevisionTools (hard deprecated, use the HistoryTools hook)
6547   - NewRevisionFromEditComplete (hard deprecated, use the
6548       RevisionFromEditComplete hook).
6549   - PageContentInsertComplete (hard deprecated, use the PageSaveComplete hook)
6550   - PageContentSaveComplete (hard deprecated, use the PageSaveComplete hook)
6551   - RevisionInsertComplete (soft deprecated in 1.31, now hard deprecated)
6552   - TitleMoveCompleting (hard deprecated, use the PageMoveCompleting hook)
6553   - TitleMoveComplete (hard deprecated, use the PageMoveComplete hook)
6554   - UndeleteShowRevision (hard deprecated)
6555 * The following RevisionStore methods were deprecated:
6556   - ::loadRevisionFromTitle
6557   - ::loadRevisionFromTimestamp
6558   - ::loadRevisionFromPageId
6559   - ::listRevisionSizes
6560 * WikiPage::$mLastRevision was changed from protected to private.
6561 * RecentChange::markPatrolled was deprecated. Use ::doMarkPatrolled instead.
6562 * The JobRunner class has been converted to a service class.
6563   Direct construction is deprecated, use MediaWikiServices::getJobRunner.
6564 * JobRunner::setLogger has been deprecated, thus using JobRunner as a
6565   LoggerAwareInterface is deprecated as well. Rely on the logger passed in the
6566   constructor instead.
6567 * LogEventsList::typeAction accepts an optional right to check against as
6568   the fourth parameter. Specifying such a right is deprecated.
6569 * SkinTemplate::makeArticleUrlDetails has been deprecated, no longer used.
6570 * Passing a Revision object into CategoryMembershipChange constructor is
6571   deprecated. Pass a RevisionRecord instead.
6572 * The "mediawiki.legacy.oldshared" module has been deprecated.
6573   Skins and extensions that are using this should copy its necessary CSS rules
6574   to their own styles module. CologneBlue and Nostalgia skins serve as examples.
6575 * The "mediawiki.legacy.shared" module has been deprecated.
6576   Use the "mediawiki.skinning.*" modules, or ResourceLoaderSkinModule instead.
6577 * The following hooks, soft deprecated in 1.24, have been hard deprecated:
6578   - APIQueryInfoTokens
6579   - APIQueryRecentChangesTokens
6580   - APIQueryRevisionsTokens
6581   - APIQueryUsersTokens
6582   - ApiTokensGetTokenTypes
6583 * Calling Action::factory and Action constructor with any Page implementations
6584   other than Article is deprecated.
6585 * Action::page property is deprecated for direct access.
6586   Use Action::getArticle or Action::getWikiPage instead.
6587 * LESS `.background-image-svg()` mixin from 'mediawiki.mixins.less' is
6588   deprecated and should be removed in 1.36.
6589 * LESS `.background-image-svg-quick()` mixin from 'mediawiki.mixins.less' is
6590   deprecated and should be removed in 1.36.
6591 * The following methods were deprecated:
6592   - Title::getFirstRevision (hard deprecated)
6593   - Title::getEarliestRevTime
6594   - WikiPage::getOldestRevision (hard deprecated)
6595   - Article::getOldestRevision (hard deprecated)
6596   Use RevisionStore::getFirstRevision instead.
6597 * WikiPage::commitRollback and ::doRollback are declared to be internal
6598   in preparation for breaking changes. Neither method has any known
6599   callers outside of MediaWiki core. Both methods modify an array passed
6600   by reference ($resultDetails) - accessing the Revision objects added to
6601   that array (using the keys `current` and `target`) is also deprecated.
6602 * The following Linker methods previously accepted Revision objects as
6603   parameters. They now accept either Revision or RevisionRecord objects.
6604   Passing a Revision object is hard deprecated.
6605   - ::revUserLink
6606   - ::revUserTools
6607   - ::revComment
6608   - ::generateRollback
6609   - ::getRollbackEditCount
6610   - ::buildRollbackLink
6611   - ::getRevDeleteLink
6612 * WikiPage::hasDifferencesOutsideMainSlot previously accepted Revision
6613   objects for its two parameters. It now accepts RevisionRecord objects,
6614   and passing Revision objects is hard deprecated.
6615 * WikiPage::updateRevisionOn previously accepted Revision objects for its
6616   second parameter. It now accepts RevisionRecord objects, and passing
6617   Revision objects is hard deprecated.
6618 * The ParserGetVariableValueVarCache hook has been deprecated.
6619 * When using the ParserGetVariableValueSwitch hook, the following unusual
6620   uses have been deprecated: modifying the passed $magicWordId or failing to
6621   cache the returned value in $variableCache.  The related
6622   MagicWordwgVariableIDs hook has been deprecated and renamed; use
6623   the GetMagicVariableIDs hook instead.
6624 * The following Parser properties have been deprecated:
6625   - ::$mTagHooks
6626   - ::$mFunctionHooks
6627   - ::$mMarkerIndex
6628   - ::$mFirstCall
6629   - ::$mPreprocessor
6630   - ::$mOutput
6631   - ::$mStripState
6632   - ::$mLinkID
6633   - ::$mIncludeSizes
6634   - ::$mPPNodeCount
6635   - ::$mGeneratedPPNodeCount
6636   - ::$mHighestExpansionDepth
6637   - ::$mDoubleUnderscores
6638   - ::$mExpensiveFunctionCount
6639   - ::$mShowToc
6640   - ::$mUser
6641   - ::$mOptions
6642   - ::$mTitle
6643   - ::$ot
6644   - ::$mRevisionObject
6645   - ::$mRevisionId
6646   - ::$mRevisionTimestamp
6647   - ::$mRevisionUser
6648   - ::$mRevisionSize
6649   - ::$mInputSize
6650   - ::$mInParse
6651 * LinksUpdate::getRevision and ::setRevision are hard deprecated in favor
6652   of the new ::getRevisionRecord and ::setRevisionRecord methods.
6653 * A large number of exposed variables and methods of Article were deprecated as
6654   part of its planned removal:
6655   - Article::$mContext is deprecated; use getContext()/setContext() instead.
6656   - Article::__get(), ::__set() are hard deprecated, use the WikiPage properties
6657     instead.
6658   - These Article methods were hard deprecated; use their WikiPage equivalents:
6659     - ::checkFlags,
6660     - ::checkTouched,
6661     - ::clearPreparedEdit,
6662     - ::commitRollback,
6663     - ::doDeleteArticleReal,
6664     - ::doEditContent,
6665     - ::doPurge,
6666     - ::doRollback,
6667     - ::doUpdateRestrictions,
6668     - ::doViewUpdates,
6669     - ::exists,
6670     - ::followRedirect,
6671     - ::getContentHandler,
6672     - ::getContentModel,
6673     - ::getContributors,
6674     - ::getDeletionUpdates,
6675     - ::getHiddenCategories,
6676     - ::getId,
6677     - ::getLatest,
6678     - ::getLinksTimestamp,
6679     - ::getMinorEdit,
6680     - ::getRedirectTarget,
6681     - ::getRedirectURL,
6682     - ::getTimestamp,
6683     - ::getTouched,
6684     - ::hasViewableContent,
6685     - ::insertOn,
6686     - ::insertRedirect,
6687     - ::insertRedirectEntry,
6688     - ::isCountable,
6689     - ::isRedirect,
6690     - ::loadFromRow,
6691     - ::loadPageData,
6692     - ::lockAndGetLatest,
6693     - ::makeParserOptions,
6694     - ::pageDataFromId,
6695     - ::pageDataFromTitle,
6696     - ::prepareContentForEdit,
6697     - ::protectDescription,
6698     - ::protectDescriptionLog,
6699     - ::replaceSectionAtRev,
6700     - ::setTimestamp,
6701     - ::shouldCheckParserCache,
6702     - ::supportsSections,
6703     - ::triggerOpportunisticLinksUpdate,
6704     - ::updateCategoryCounts, and
6705     - ::updateRedirectOn.
6706   - Article::generateReason() was hard deprecated; instead, please use
6707     WikiPage::getAutoDeleteReason().
6708   - Article::replaceSectionContent() was hard deprecated, use
6709     Article::replaceSectionAtRev() instead.
6710   - Article::getRevision and WikiPage::getRevision were hard deprecated in favor
6711     of the new WikiPage::getRevisionRecord method.
6712 * A new UserNameUtils service was introduced. The following User methods
6713   were deprecated in favor of using the new service:
6714   - isIP
6715   - isIPRange
6716   - isValidUserName
6717   - isUsableName
6718   - isCreatableName
6719   - getCanonicalName
6720 * The signature of WikiPage::doDeleteArticleReal was changed to make the user
6721   the second parameter, and the suppression option the third parameter.
6722   Previously, the third parameter was unused. Using the old signature is
6723   hard deprecated.
6724 * ApiQueryRevisions::getRollbackToken, which has been soft deprecated since
6725   1.24, accepted as its third parameter a Revision object. It now accepts
6726   a RevisionRecord, and passing a Revision is hard deprecated.
6727 * Passing Article to ParserCache::get() was deprecated
6728 * ParserOptions::newCanonical() with no first parameter, or null as the first
6729   parameter, which falls back to using global $wgUser, is hard deprecated.
6730 * Parser::fetchCurrentRevisionOfTitle, ::statelessFetchRevision, and
6731   ::getRevisionObject were hard deprecated in favor of the new
6732   ::fetchCurrentRevisionRecordOfTitle, ::statelessFetchRevisionRecord,
6733   and ::getRevisionRecordObject methods respectively.
6734 * ParserOptions::getCurrentRevisionCallback and ::setCurrentRevisionCallback
6735   were hard deprecated in favor of the new ::getCurrentRevisionRecordCallback
6736   and ::setCurrentRevisionRecordCallback methods respectively.
6737 * Parser::statelessFetchTemplate returns an array; accessing the Revision
6738   object returned (via the `revision` key to the array) is deprecated. Instead,
6739   use `revision-record` to retrieve the equivalent RevisionRecord.
6740 * WikiPage::doEditContent returns an array, and PageUpdater::getStatus returns
6741   a Status object with an array value. For both of those arrays, accessing the
6742   Revision object returned (via the `revision` key to the array) is deprecated.
6743   Instead, use `revision-record` to retrieve the equivalent RevisionRecord.
6744 * Page interface was deprecated. Use Article or WikiPage instead.
6745 * The following DatabaseBlock methods are deprecated because they are no longer
6746   needed in core: chooseBlock, fromMaster, deleteIfExpired.
6747 * wfGetScriptUrl() was deprecated. The script URL should be configured rather
6748   than detected. wfScript() can be used to get a configured script URL.
6749 * Action::factory() with null $action argument is hard deprecated
6750 * The following methods of the User class were deprecated: getDefaultOptions,
6751   getDefaultOption, getOptions, getOption, getBoolOption, getIntOption,
6752   setOption, listOptionKinds, getOptionKinds, resetOptions. Use corresponding
6753   methods in UserOptionsLookup or UserOptionsManager service classes instead.
6754 * UserRetrieveNewTalks hook was deprecated without replacement.
6755 * User::getNewtalk and ::setNewtalk were hard deprecated. Use service
6756   TalkPageNotificationManager instead.
6757 * EditPage::matchSpamRegex and ::matchSummarySpamRegex were hard deprecated in
6758   favor of the new SpamChecker service.
6759 * Title::getNotificationTimestamp, User::clearNotification, and
6760   User::clearAllNotifications were deprecated in favor of the new
6761   WatchlistNotificationManager service.
6762 * SpecialPage::setListed() and SpecialPage::listed() were deprecated. Subclass
6763   UnlistedSpecialPage to set listed as false, and use SpecialPage::isListed()
6764   to get the value.
6765 * CategoryPage::getCategoryViewerClass() and ::setCategoryViewerClass() were
6766   deprecated.
6767 * MWHttpRequest and its subclasses PhpHttpRequest, CurlHttpRequest and
6768   GuzzleHttpRequest now require the timeout and connectTimeout options to
6769   always be specified, otherwise a deprecation warning will be raised. Most
6770   callers should use HttpRequestFactory which always sets these options.
6771 * Linker::normaliseSpecialPage() has been deprecated, instead make use of
6772   LinkRenderer::normalizeTarget().
6773 * SkinTemplate::getPersonalToolsList() was soft deprecated.
6774 * ChangeTags::truncateTagDescription() has been deprecated.
6775 * The following methods of the User class are deprecated: getGroups,
6776   getGroupMemberships, getEffectiveGroups, getAutomaticGroups,
6777   addGroup, removeGroup, getFormerGroups, getAllGroups, getImplicitGroups,
6778   addAutopromoteOnceGroups. Use the new UserGroupManager service instead.
6779 * The following methods of the UserGroupMembership class were deprecated:
6780   selectFields, getMembershipsForUser, getMembership, insert, delete,
6781   newFromRow, initFromRow, purgeExpired.
6782   Use the new UserGroupManager service instead.
6783 * wfWaitForSlaves() has been hard deprecated. Use LBFactory::waitForReplication
6784   instead. It was soft deprecated in 1.27.
6785 * BaseTemplate::getAfterPortlet and ::renderAfterPortlet have been deprecated in
6786   favor of the Skin::getAfterPortlet method. Skin::getAfterPortlet does not wrap
6787   the result in a div, callers are responsible for that.
6788   The hook BaseTemplateAfterPortlet, called by both methods has been deprecated
6789   as well and is replaced by SkinAfterPortlet.
6790 * Autopromote class has been soft deprecated and it's methods moved into
6791   UserGroupManager.
6792 * SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook has been deprecated.
6793   Use SidebarBeforeOutput hook and get the revision id from the OutputPage
6794   object.
6795 * BaseTemplate::getToolbox() method has been soft deprecated. The toolbox data
6796   is now available in a sidebar data array which you can get from any class
6797   that's extending QuickTemplate class. The hook associated with this method,
6798   BaseTemplateToolbox, has been hard deprecated. To add items to the toolbox,
6799   use SidebarBeforeOutput hook instead.
6800 * The SkinTemplateOutputPageBeforeExec hook is deprecated.
6801   The page [[mw:Manual:Hooks/SkinTemplateOutputPageBeforeExec]] and T60137
6802   for recommendations for alternative approaches based on how developers
6803   previously used this hook.
6804 * SkinTemplateToolboxEnd hook has been deprecated. Use SidebarBeforeOutput hook
6805   instead.
6806 * Using Skin::addToBodyAttributes() method to add body attributes has been
6807   deprecated. Use OutputPageBodyAttributes hook instead.
6808 * Installer::getDBTypes has been hard deprecated in favor of
6809   InstallerDBSupport::getDatabases
6810 * The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS were
6811   deprecated, as part of a long-term plan to remove support for mixed
6812   HTTP/HTTPS wikis.
6813 * Skin::generateDebugHTML() has been hard deprecated. Call
6814   MWDebug::getHTMLDebugLog() directly.
6815 * ExternalStoreDB::getSlave(), soft deprecated in 1.34, was hard deprecated.
6816   Use ExternalStoreDB::getReplica() instead.
6817 * Less variables in mediawiki.ui/variables.less file that don't follow the
6818   standard variable naming scheme (compare WikimediaUI Base) including
6819   `@colorGray* variables have been deprecated. New variables are in place and
6820   aliases have been set. Replace occurrences and use the new variables instead.
6822 === Other changes in 1.35 ===
6823 * A new maintenance script is added (purgeExpiredWatchlistItems.php) with which
6824   to delete expired watchlist items. These items will also be deleted during
6825   wiki editing if $wgWatchlistPurgeRate is > 0. This maintenance script only
6826   has effect if $wgWatchlistExpiry is true. It is recommended that a cronjob or
6827   similar be set up to run it at least daily.
6828 * Title::purgeSquid is deprecated. Use MediaWikiServices::getHtmlCacheUpdater.
6829 * SpecialVersion::getExtLicenseFileName() has been deprecated, use
6830   MediaWiki\ExtensionInfo::getLicenseFileNames() instead.
6831 * SpecialVersion::getExtAuthorsFileName() has been deprecated, use
6832   MediaWiki\ExtensionInfo::getAuthorsFileName() instead.
6833 * Migration to the new content storage schema is complete, all backwards
6834   compatibility code and duplication in the database have been removed.
6835   The old schema was a 1:1 relationship modeled by
6836   revision.text_id -> text.old_id. The new schema is a n:m relationship,
6837   revision.rev_id <- slots.slot_revision_id|slots.slot_content_id ->
6838   content.content_id|content.content_address -> text.old_id. The same applies
6839   to the archive table.
6840   The following fields were removed:
6841   - revision.rev_text_id, replaced by content.content_address
6842   - revision.rev_content_model, replaced by content.content_model,
6843     referencing content_models.model_id
6844   - revision.rev_content_format, replaced by automatic detecting in
6845     ContentHandler
6846   - archive.ar_text_id, replaced by content.content_address
6847   - archive.ar_content_model, replaced by content.content_model,
6848     referencing content_models.model_id
6849   - archive.ar_content_format, replaced by automatic detecting in
6850     ContentHandler
6851 * Migration to normalized storage of edit comments and user names is
6852   progressing. The following fields were unused and have been removed:
6853   - revision.rev_comment,
6854     replaced by rev_comment_id referencing comment.comment_id.
6855   - revision.rev_user and rev_user_text,
6856     replaced by rev_actor referencing actor.actor_id.
6857   Note that archive.ar_user, archive.ar_user_text, and archive.ar_comment
6858   had already been removed in previous releases.
6859 * The printableversion has been marked as deprecated per T167956.
6860 * (T30162, T245387) The installer supports using a Postgres server running
6861   on a custom port other than 5432.
6863 == Compatibility ==
6864 MediaWiki 1.35 requires PHP 7.3.19 or later, and the following PHP extensions:
6866 * ctype
6867 * dom
6868 * fileinfo
6869 * iconv
6870 * json
6871 * mbstring
6872 * xml
6874 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
6875 but support for them is somewhat less mature.
6877 The supported versions are:
6879 * MySQL 5.5.8 or later
6880 * PostgreSQL 9.2 or later
6881 * SQLite 3.8.0 or later
6883 == Online documentation ==
6884 Documentation for both end-users and site administrators is available on
6885 MediaWiki.org, and is covered under the GNU Free Documentation License (except
6886 for pages that explicitly state that their contents are in the public domain):
6888        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
6890 == Mailing list ==
6891 A mailing list is available for MediaWiki user support and discussion:
6893        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
6895 A low-traffic announcements-only list is also available:
6897        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
6899 It's highly recommended that you sign up for one of these lists if you're
6900 going to run a public MediaWiki, so you can be notified of security fixes.
6902 == IRC help ==
6903 There's usually someone online in #mediawiki on irc.libera.chat.
6905 = MediaWiki 1.34 =
6907 == MediaWiki 1.34.4 ==
6909 This is a maintenance release of the Mediawiki 1.34 branch.
6911 === Changes since MediaWiki 1.34.3 ===
6912 * Fixed issue relating to backporting of changes for T260485.
6914 == MediaWiki 1.34.3 ==
6916 This is a security and maintenance release of the MediaWiki 1.34 branch.
6918 === Changes since MediaWiki 1.34.2 ===
6919 * In the web installer, use secure session cookies.
6920 * Make UsersPager::requestedGroup public.
6921 * (T257407) Split patch-drop-user-fields.sql into patch per table.
6922 * (T257356) Split patch-drop-comment-fields.sql into patch per table.
6923 * (T257997) Undeprecate WebInstaller::getInfoBox().
6924 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional
6925   and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
6926   recommend this be set to true on pure HTTPS wikis.
6927 * Added $wgCookieSameSite, which allows login cookies to be sent with
6928   SameSite=None. This is required for cross-site CentralAuth autologin after
6929   Chrome 84.
6930 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to
6931   SameSite=None cookies for browsers which implemented an incompatible draft
6932   version of the specification.
6933 * (T257207) shell: Expand documentation in firejail.profile.
6934 * (T246135) Give the "remember me" checkbox a specific CSS class so skins
6935   like Minerva can only hide that checkbox.
6936 * (T256287) rdbms: improve DBConnRef domain selection exception message.
6937 * (T248191, T259123) phpunit: Acknowledge known dberror from
6938   SpecialPageFatalTest.
6939 * (T256394, T259123) Cleanup up excess commit() call in LocalRepoTest.
6940 * Fix runBatchedQuery.php for no result from select.
6941 * (T130906) Add Edge to MediaWiki:Clearyourcache.
6942 * (T249521) reassignEdits: Update script to use User::newFromName for anon
6943   users.
6944 * (T172060) GlobalFunctions: Use php_uname instead of posix_uname.
6945 * Use IPset in MWRestrictions::checkIP.
6946 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
6947 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
6948 * (T183759) Fixes shell edge-cases in Windows.
6949 * (T258390) Add CentralIdLookup::factoryNonLocal().
6950 * (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate
6951   limits.
6952 * (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence
6953   of hidden users.
6954 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate
6955   limit type.
6956 * (T246991) User: enforce pingLimiter() expiry time.
6957 * (T260232) don't include null page ids in query list for category dumps.
6958 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
6959 * (T262900) Fix failure of rebuildLocalisationCache.php due to RL hook.
6960 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
6961 * (T263455 T247285) Set EnableJavaScriptTest to true in
6962   includes/DevelopmentSettings.php.
6963 * (T232568, CVE-2020-25813) SECURITY: SpecialUserrights: If a viewer lacks
6964   `hideuser`, ignore hidden users.
6965 * (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on
6966   Special:Contributions.
6967 * (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within
6968   LogEventsList.
6969 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
6970   firejail's --output functionality.
6971 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
6972   'style' attribute.
6973 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
6974   mw.message( ... ).parse().
6975 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
6976   database.
6977 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
6979 == MediaWiki 1.34.2 ==
6981 This is a security and maintenance release of the MediaWiki 1.34 branch.
6983 === Changes since MediaWiki 1.34.1 ===
6984 * (T247017) PasswordReset performance improvements.
6985 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
6986 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
6987   7.3.17.
6988 * (T251789) Let $wgResourceLoaderMaxQueryLength=-1 fallback to default.
6989 * Remove some rotten and out of date documentation.
6990 * (T252311) Improvements to some older SQLite update patches.
6991 * (T240307) Minor fixes to extension.schema.v2.json and
6992   extension.schema.v1.json.
6993 * (T238043) cleanupUsersWithNoId.php: Handle missing fields.
6994 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
6995   rebuildrecentchanges.php.
6996 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
6997 * (T249730) Password Reset Updates.
6998 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
6999   setting $wgPoolCounterConf['SpecialContributions'] appropriately.
7000 * (T248947) SECURITY: img_auth.php may leak private extension images into the
7001   public cache.
7003 == MediaWiki 1.34.1 ==
7005 This is a security and maintenance release of the MediaWiki 1.34 branch.
7007 === Changes since MediaWiki 1.34.0 ===
7008 * (T211450) User: better error message when getActorId fails.
7009 * (T241340) Don't redefine MW_ENTRY_POINT in thumb.php if already defined.
7010 * (T236444) User: Allow newSystemUser() to create over anonymous actors.
7011 * (T238483) Fix NewPagesPager "hide registered users" option.
7012 * (T245072) mediawiki.language: Rename languageData back to languageNames.
7013 * Use proper SemVer comparison in CheckComposerLockUpToDate.
7014 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
7015 * (T246127) Fix error when initialising updateCollation.php.
7016 * Update comment about PHP versions supported by The PHP Group.
7017 * (T247215) Fix output of RecountCategories::doWork().
7018 * Add check for page existence to view.php maintenance script.
7019 * (T245149) Fix fetching login token from action=query&meta=tokens on private
7020   wikis.
7021 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
7022 * (T232932) SECURITY: User content can redirect the logout button to different
7023   URL.
7024 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
7025   any CSS selector.
7027 == MediaWiki 1.34.0 ==
7029 === Changes since MediaWiki 1.34.0-rc.1 ===
7030 * $wgDiffEngine (T237049) – This configuration can be used to specify which
7031   difference engine to use. MediaWiki continues to default to automatically
7032   choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is
7033   usable.
7034 * (T231866) SqlBlobStore no longer needs Language object.
7035 * (T236735) WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD
7036   flag.
7037 * (T231673) Set MCR migration stage to SCHEMA_COMPAT_NEW.
7038 * (T229601) Make sure DBLoadBalancerFactory service is not disabled.
7039 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
7040 * (T231866) LocalisationCache: Don't instantiate ResourceLoader.
7041 * (T227461) Stop calling deprecated Redis delete functions.
7042 * (T239561) Mark options as requiring parameters in addSite.php.
7043 * (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest.
7044 * (T239734) Replace deprecated lSize with lLen in Redis code.
7045 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
7046 * (T239428) ApiEditPage: Test for bad redirect targets.
7047 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
7048   'trace'.
7049 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
7050 * (T240924) NewPagesPager: Fix namespace query conditions.
7051 * (T212067) Tests for an old PHP bug in parse_url.
7053 == MediaWiki 1.34.0-rc.1 ==
7055 === Changes since MediaWiki 1.34.0-rc.0 ===
7056 * (T231742) rdbms: Restore debug toolbar "Queries" feature.
7057 * (T231366) The ProfilerOutputDb class, 'profiling' table, and profileinfo.php
7058   entry point had been deprecated.
7059 * (T234361) localisation: Add debug message for backend of MessageCache.
7060 * (T234361) session: Add debug message for the used store class.
7061 * (T235559) Fix example Kask configuration in RESTBagOStuff class comment.
7062 * (T235137) Don't apply styling for Special:Contributions on other pages.
7063 * Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0 (dev-only).
7064 * (T219604) The "jquery.ui.*" and "jquery.effects.*" modules are now
7065   deprecated as aliases for the "jquery.ui" module.
7066 * (T235392) Deprecate setting Parser::mTitle to null.
7067 * Supporting commits for T235392 were also backported to prevent divergence
7068   from master (MediaWiki 1.35).
7069 * (T234581) The 'jquery.tabIndex' module is deprecated.
7070 * Fix docs for GetUserBlock hooks.
7071 * Parser: Hard deprecate getConverterLanguage.
7072 * (T236810) A number of public methods of Parser were exposed only for
7073   historical reasons and have been deprecated: doMagicLinks,
7074   doDoubleUnderscore, doHeadings, doAllQuotes, replaceExternalLinks,
7075   replaceInternalLinks, replaceInternalLinks2, getVariableValue,
7076   initialiseVariables, formatHeadings, testPst, testPreprocess, testSrvus,
7077   areSubpagesAllowed, maybeDoSubpageLink, splitWhitespace, createAssocArgs,
7078   armorLinks, makeKnownLinkHolder, getImageParams, parseLinkParameter,
7079   stripAltText, replaceLinkHolders, replaceLinkHoldersText, armorLinks,
7080   makeKnownLinkHolder, getImageParams, parseLinkParameter, stripAltText.
7081 * (T30798) $wgServer must now always be set in LocalSettings.php. This is most
7082   likely the case already for any wiki installed after 1.18. The autodetection
7083   system was informally deprecated since 1.18 and vulnerable to cache poisoning
7084   attacks. Older wikis may need to update their LocalSettings.php file.
7085 * (T232169) Hard deprecate $wgSysopEmailBans.
7086 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
7087 * (T181658) Do not insert page titles into querycache.qc_value.
7088 * ParamValidator has been flagged as unstable.
7089 * Hard deprecate Parser::disableCache().
7091 == MediaWiki 1.34.0-rc.0 ==
7093 == Upgrading notes for 1.34 ==
7094 1.34 has several database changes since 1.33, and will not work without schema
7095 updates. Note that due to changes to some very large tables like the revision
7096 table, the schema update may take quite long (minutes on a medium sized site,
7097 many hours on a large site).
7099 Don't forget to always back up your database before upgrading!
7101 See the file UPGRADE for more detailed upgrade instructions, including
7102 important information when upgrading from versions prior to 1.11.
7104 Some specific notes for MediaWiki 1.34 upgrades are below:
7106 * MediaWiki now requires PHP 7.2.9 or above.
7107 * MediaWiki no longer supports HHVM.
7109 For notes on 1.33.x and older releases, see HISTORY.
7111 === Configuration changes for system administrators in 1.34 ===
7113 In an effort to enforce best practices for passwords, MediaWiki will now warn
7114 users, and suggest that they change their password, if it is in the list of
7115 100,000 commonly used passwords that are considered bad passwords. If you want
7116 to disable this for your users, please add the following to your local settings:
7118 $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;
7120 ==== New configuration ====
7121 * $wgAllowExternalReqID (T201409) - This configuration setting controls whether
7122   Mediawiki accepts the request ID set by the incoming request via the
7123   `X-Request-Id` header. If set to `true`, that value will be used throughout
7124   the code as the request identificator. Otherwise, the sent header will be
7125   ignored and the request ID will either be taken from Apache's mod_unique
7126   module or will be generated by Mediawiki itself (depending on the set-up).
7127 * $wgEnableSpecialMute (T218265) - This configuration controls whether
7128   Special:Mute is available and whether to include a link to it on emails
7129   originating from Special:Email.
7130 * editmyuserjsredirect user right – users without this right now cannot edit JS
7131   redirects in their userspace unless the target of the redirect is also in
7132   their userspace. By default, this right is given to everyone.
7133 * (T226733) Add rate limiter to Special:ConfirmEmail.
7134 * $wgDiffEngine (T237049) – This configuration can be used to specify which
7135   difference engine to use. MediaWiki continues to default to automatically
7136   choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is
7137   usable.
7139 ==== Changed configuration ====
7140 * $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four
7141   CDN-related config variables have been renamed from being specific to Squid –
7142   they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and
7143   $wgSquidMaxage respectively. This aligns them with the related existing
7144   variable $wgCdnMaxageLagged. The previous configuration variable names are
7145   deprecated, but will be used as the fall back if they are still set.
7146   Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated.
7147 * (T27707) File type checks for image uploads have been relaxed to allow files
7148   containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG
7149   setting is no longer applied and is now always true. Note that MSIE 7 may
7150   still be able to misinterpret certain malformed PNG files as HTML.
7151 * (T30798) $wgServer must now always be set in LocalSettings.php. This is most
7152   likely the case already for any wiki installed after 1.18. The autodetection
7153   system was informally deprecated since 1.18 and vulnerable to cache poisoning
7154   attacks. Older wikis may need to update their LocalSettings.php file.
7155 * Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type
7156   detection heuristic on upload, which is more conservative than the checks
7157   that were changed above.
7158 * $wgExternalDiffEngine — Setting this to a string value of 'wikidiff',
7159   'wikidiff2', or 'wikidiff3' will no longer work. This legacy behaviour was
7160   deprecated in MediaWiki 1.27, 1.32, and 1.27, respectively.
7161 * $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now
7162   hard-deprecated.
7163 * $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in
7164   1.23, is now hard-deprecated.
7165 * $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated.
7166   Instead, set the log file in $wgDebugLogGroups['profileoutput'].
7167 * $wgProxyList — Setting this to an array with IP addresses in the array keys,
7168   which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be
7169   an array with IP addresses as the values, or a string path to a file
7170   containing one IP address per line.
7171 * $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock are now enabled by default.
7173 ==== Removed configuration ====
7174 * $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change
7175   size threshold, please specify in php.ini, using the configuration variable
7176   wikidiff2.moved_paragraph_detection_cutoff.
7177 * $wgUseESI - This experimental setting, deprecated in 1.33, is now removed.
7178 * $wgDebugPrintHttpHeaders - The default of including HTTP headers in the
7179   debug log channel is no longer configurable. The debug log itself remains
7180   configurable via $wgDebugLogFile.
7181 * $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values
7182   stored in WANObjectCache. This is no longer configurable.
7183 * $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure
7184   password setups and deprecated since 1.24, is now removed.
7185 * $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT
7186   in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf).
7187 * $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead.
7188 * $wgActorTableSchemaMigrationStage has been removed. Extension code for
7189   MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW.
7191 === New user-facing features in 1.34 ===
7192 * Special:Mute has been added as a quick way for users to block unwanted emails
7193   from other users originating from Special:EmailUser.
7194 * (T207577) Special:NewSection has been created as a shortcut to creating a new
7195   section on a page. When linked to, its subpage is used as the target
7196   ([[Special:NewSection/Test]] redirects to creating a new section in "Test").
7197   Otherwise, it displays a basic interface to allow the end user to specify
7198   the target manually.
7199 * (T220447) Special:Contributions/newbies has been removed for performance and
7200   usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead.
7201 * Special:NewFiles/newbies has been removed for performance and usefulness
7202   reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead.
7204 === New developer features in 1.34 ===
7205 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
7206   of headers in private wikis.
7207 * Language::formatTimePeriod now supports the new 'avoidhours' option to output
7208   strings like "5 days ago" instead of "5 days 13 hours ago".
7209 * (T220163) Added SpecialMuteModifyFormFields hook to allow extensions
7210   to add fields to Special:Mute.
7211 * (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths.
7212   See <https://www.mediawiki.org/wiki/OOUI/Themes> for details.
7213 * (T229035) The GetUserBlock hook was added. Use this instead of
7214   GetBlockedStatus.
7215 * ObjectFactory is available as a service. When used as a service, the object
7216   specs can now specify needed DI services.
7217 * (T222388) Special pages can now be specified as an ObjectFactory spec,
7218   allowing the construction of special pages that require services to be
7219   injected in their constructor.
7220 * (T222388) API modules can now be specified as an ObjectFactory spec,
7221   allowing the construction of modules that require services to be injected
7222   in their constructor.
7223 * (T117736) The function signature of SpecialContributions::getForm::filters
7224   has changed. It now expects definitions of additional filter fields as array
7225   rather than string.
7227 === External library changes in 1.34 ===
7229 ==== Changed external libraries ====
7230 * Updated Mustache from 1.0.0 to v3.0.1.
7231 * Updated OOUI from v0.31.3 to v0.34.0.
7232 * Updated OOjs from v2.2.2 to v3.0.0.
7233 * Updated composer/semver from 1.4.2 to 1.5.0.
7234 * Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
7235 * Updated mediawiki/codesniffer from 25.0.0 to 28.0.0 (dev-only).
7236 * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0.
7237 * Updated wikimedia/at-ease from 1.2.0 to 2.0.0.
7238 * Updated wikimedia/remex-html from 2.0.1 to 2.1.0.
7239 * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only).
7240 * Updated wikimedia/object-factory from 1.0.0 to 2.1.0.
7241 * Updated wikimedia/timestamp from 2.2.0 to 3.0.0.
7242 * Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3.
7243 * Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only).
7244 * Updated wikimedia/avro from 1.8.0 to 1.9.0 (dev-only).
7246 ==== Removed external libraries ====
7247 * The jquery.async module, deprecated in 1.33, was removed.
7249 === Bug fixes in 1.34 ===
7250 * (T222529) If a log entry or page revision is recorded in the database with an
7251   empty username, attempting to display it will log an error and return a "no
7252   username available" to the user instead of silently displaying nothing or
7253   invalid links.
7255 === Action API changes in 1.34 ===
7256 * The 'recenteditcount' response property from action=query list=allusers,
7257   deprecated in 1.25, has been removed.
7258 * (T60993) action=query list=filearchive, list=alldeletedrevisions and
7259   prop=deletedrevisions no longer require the 'deletedhistory' user right.
7260 * In the response to queries that use 'prop=imageinfo', entries for
7261   non-existing files (indicated by the 'filemissing' field) now omit the
7262   following fields, since they are meaningless in this context:
7263   'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width',
7264   'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment',
7265   'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime',
7266   'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata',
7267   'mime', 'mediadtype', 'bitdepth'.
7268   Clients that process these fields should first check if 'filemissing' is
7269   set. Fields that are supported even if the file is missing include:
7270   'canonicaltitle', 'archivename' (deleted files only), 'descriptionurl',
7271   'descriptionshorturl'.
7272 * The 'blockexpiry' result property in list=users and list=allusers will now be
7273   returned in the same format used by the rest of the API: ISO 8601 for
7274   expiring blocks, and "infinite" for non-expiring blocks.
7276 === Action API internal changes in 1.34 ===
7277 * The exception thrown in ApiModuleManager::getModule has been changed
7278   from an MWException to an UnexpectedValueException, thrown by ObjectFactory.
7279   ApiModuleManager::getModule now also throws InvalidArgumentExceptions when
7280   ObjectFactory is presented with an invalid spec or incorrectly constructed
7281   objects.
7282 * Added ApiQueryBlockInfoTrait.
7284 === Languages updated in 1.34 ===
7285 MediaWiki supports over 350 languages. Many localisations are updated regularly.
7286 Below only new and removed languages are listed, as well as changes to languages
7287 because of Phabricator reports.
7289 * (T152908) Added language support for N'Ko (nqo).
7291 === Breaking changes in 1.34 ===
7292 * The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in
7293   1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and
7294   Wikimedia\AtEase\AtEase::restoreWarnings() directly.
7295 * Preferences class, deprecated in 1.31, has been removed.
7296 * The following parts of code, deprecated in 1.32, were removed in favor of
7297   built-in PHP functions:
7298   * CryptRand class
7299   * CryptRand service
7300   * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
7301 * Various Special Page PHP Classes were renamed (mostly casing changes):
7302   * SpecialAncientpages => SpecialAncientPages
7303   * SpecialConfirmemail => SpecialConfirmEmail
7304   * SpecialDeadendpages => SpecialDeadendPages
7305   * SpecialFewestrevisions => SpecialFewestRevisions
7306   * SpecialListredirects => SpecialListRedirects
7307   * SpecialLonelypages => SpecialLonelyPages
7308   * SpecialLongpages => SpecialLongPages
7309   * SpecialMIMEsearch => SpecialMIMESearch
7310   * SpecialMostcategories => SpecialMostCategories
7311   * SpecialMostinterwikis => SpecialMostInterwikis
7312   * SpecialMostlinked => SpecialMostLinked
7313   * SpecialMostlinkedcategories => SpecialMostLinkedCategories
7314   * SpecialMostlinkedtemplates => SpecialMostLinkedTemplates
7315   * SpecialMostrevisions => SpecialMostRevisions
7316   * SpecialNewimages => SpecialNewFiles
7317   * SpecialShortpages => SpecialShortPages
7318   * SpecialUncategorizedcategories => SpecialUncategorizedCategories
7319   * SpecialUncategorizedimages => SpecialUncategorizedImages
7320   * SpecialUncategorizedpages => SpecialUncategorizedPages
7321   * SpecialUncategorizedtemplates => SpecialUncategorizedTemplates
7322   * SpecialUnusedcategories => SpecialUnusedCategories
7323   * SpecialUnusedimages => SpecialUnusedImages
7324   * SpecialUnusedtemplates => SpecialUnusedTemplates
7325   * SpecialUnwatchedpages => SpecialUnwatchedPages
7326   * SpecialWantedcategories => SpecialWantedCategories
7327   * SpecialWantedtemplates => SpecialWantedTemplates
7328   * SpecialWithoutinterwiki => SpecialWithoutInterwiki
7329 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
7330   create a new Language object with a different language code.
7331 * MWNamespace::clearCaches() has been removed.  So has the $rebuild parameter
7332   to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
7333   Instead, reset services, such as by calling $this->overrideMwServices() (if
7334   your test extends MediaWikiTestCase). Services will generally not pick up
7335   configuration changes from after they were created, so you must reset
7336   services after any configuration change. Even if your code works now, it is
7337   likely to break in future versions as more code is moved to services.
7338 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
7339 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
7340   been removed.
7341 * ObjectFactory class, deprecated in 1.31, has been removed.
7342 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
7343 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
7344 * The RedirectSpecialPage::execute method could sometimes return a Title object.
7345   This behavior was removed, and the method now matches the parent signature
7346   (SpecialPage::execute) which is to return HTML string or void.
7347   To obtain the destination title, use RedirectSpecialPage::getRedirect.
7348 * The 'recenteditcount' response property from action API action=query
7349   list=allusers, deprecated in 1.25, has been removed.
7350 * SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
7351   SearchEngine::create(), SearchEngine::getSearchTypes() and
7352   SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
7353 * FileRepo::streamFile(), deprecated in 1.26, has been removed.
7354 * User::randomPassword() method, deprecated in 1.27, have been removed.
7355 * MWNamespace::canTalk(), deprecated in 1.30, have been removed.
7356 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
7357 * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
7358   removed.
7359 * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
7360 * Method signatures in WatchedItemQueryServiceExtension have changed from taking
7361   User objects to taking UserIdentity objects. Extensions implementing this
7362   interface need to be changed accordingly.
7363 * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
7364   removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
7365 * User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use
7366   UserGroupMembership::getLink() instead.
7367 * SavepointPostgres, deprecated in 1.31, has been removed.
7368 * OutputPage::enableSectionEditLinks(), OutputPage::sectionEditLinksEnabled(),
7369   ParserOptions::getEditSection(), ParserOptions::setEditSection(), and
7370   ParserOutput::getEditSectionTokens, ::getTOCEnabled, ::setEditSectionTokens,
7371   and ::setTOCEnabled, deprecated in 1.31, have been removed.
7372 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30,
7373   have been removed.
7374 * Four methods in OutputPage, deprecated in 1.32, have been removed. You should
7375   use OutputPage::showFatalError or throw a FatalError instead. The methods are
7376   ::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and
7377   ::showFileNotFoundError().
7378 * ApiBase::truncateArray(), deprecated in 1.32, has been removed.
7379 * IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's
7380   INTL_ICU_VERSION constant directly.
7381 * HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed.
7382 * ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(),
7383   both deprecated in 1.32, have been removed.
7384 * BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have
7385   been removed. Use ->msg() or ->getMsg() instead.
7386 * WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead,
7387   use WatchAction::getWatchToken() with action 'unwatch' directly.
7388 * Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in
7389   1.28, have been removed.
7390 * PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(),
7391   deprecated in 1.32, have been removed.
7392 * OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated
7393   in 1.33, have been removed.
7394 * User::getPasswordValidity(), deprecated in 1.33, has been removed.
7395 * ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been
7396   removed.
7397 * ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed.
7398 * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
7399 * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed.
7400 * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed.
7401 * The Block typehint only refers to blocks stored in the database. It should be
7402   updated to AbstractBlock in cases where any type of block could be expected.
7403 * FileRepoStatus, deprecated in 1.25, has been removed.
7404 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
7405   in 1.27, has been removed.
7406 * IP::isValidBlock(), deprecated in 1.30, has been removed.
7407 * WikiPage::prepareContentForEdit now doesn't accept an integer for $revision,
7408   was deprecated in 1.25.
7409 * The jquery.byteLength module, deprecated in 1.31, was removed.
7410   Use the mediawiki.String module instead.
7411 * mw.language.specialCharacters, deprecated in 1.33, has been removed.
7412   Use require( 'mediawiki.language.specialCharacters' ) instead.
7413 * The jquery.colorUtil module was removed. Use jquery.color instead.
7414 * The jquery.checkboxShiftClick module was removed. The functionality
7415   is provided by mediawiki.page.ready instead (T232688).
7416 * The 'jquery.accessKeyLabel' module has been removed. This jQuery
7417   plugin now ships as part of the 'mediawiki.util' module bundle.
7418 * EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit()
7419   directly.
7420 * HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use
7421   getErrorsOrWarnings() instead.
7422 * SpecialPage::getTitle(), deprecated in 1.23, has been removed. Use
7423   SpecialPage::getPageTitle() instead.
7424 * jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold
7425   jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer,
7426   which are no longer used, have now been removed.
7427 * SpecialEmailUser::validateTarget(), ::getTarget() without a sender/user
7428   specified, deprecated in 1.30, have been removed.
7429 * BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed.
7430 * The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
7431 * The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been
7432   removed. Use NS_FILE and NS_FILE_TALK respectively.
7433 * Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer
7434   (deprecated in 1.32) have been removed. Closures should be used instead.
7435 * OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(),
7436   ::addWikiTextTidy(), ::addWikiTextTitle(), deprecated in 1.32, have been
7437   removed.
7438 * The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader()
7439   method, deprecated in 1.32, have been removed.
7440 * WebInstallerOutput::addWikiText(), deprecated in 1.32, has been removed.
7441 * Parser::fetchFile(), deprecated in 1.32, has been removed. Use the method
7442   Parser::fetchFileAndTitle() instead.
7443 * The global function wfBCP47, deprecated in 1.31, has been removed.
7444 * wfCountDown() function, deprecated in 1.31, has been removed. Use
7445   \Maintenance::countDown() method instead.
7446 * OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was
7447   deprecated since 1.20.
7448 * Skin::outputPage() no longer accepts a context. This was deprecated in 1.20.
7449 * Linker::link() no longer accepts a string for the query array, as was
7450   deprecated in 1.20.
7451 * PrefixSearch::titleSearch(), deprecated in 1.23, has been removed. Use the
7452   SearchEngine::defaultPrefixSearch or ::completionSearch() methods instead.
7453 * The UserRights hook, deprecated in 1.26, has been removed. Instead, use the
7454   UserGroupsChanged hook.
7455 * Skin::getDefaultInstance(), deprecated in 1.27, has been removed. Get the
7456   instance from MediaWikiServices instead.
7457 * The UserLoadFromSession hook, deprecated in 1.27, has been removed.
7458 * The wfResetSessionID global function, deprecated in 1.27, has been removed.
7459   Use MediaWiki\Session\SessionManager instead.
7460 * The wfGetLBFactory global function, deprecated in 1.27, has been removed.
7461   Use MediaWikiServices::getInstance()->getDBLoadBalancerFactory().
7462 * The internal method OutputPage->addScriptFile() will no longer silently drop
7463   calls that use an invalid path (i.e., something other than an absolute path,
7464   protocol-relative URL, or full scheme URL), and will instead pass them to the
7465   client where they will likely 404. This usage was deprecated in 1.24.
7466 * Database::reportConnectionError, deprecated in 1.32, has been removed.
7467 * APIEditBeforeSave hook, deprecated in 1.28, has been removed. Please see
7468   EditFilterMergedContent hook for an alternative way to use this feature.
7469 * API module methods getDescription(), getParamDescription(), & getExamples(),
7470   all deprecated in 1.25 and ignored, have been removed.
7471 * The API module method getDescriptionMessage(), deprecated in 1.30, has been
7472   removed.
7473 * The JavaScript global variable wgLoadScript has been removed. Use
7474   mw.util.wikiScript( 'load' ) instead.
7475 * ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has
7476   been unused since 1.16 and was deprecated in 1.22. To deprecate a property
7477   in JavaScript, use mw.log.deprecate() instead.
7478 * The 'user.groups' module, deprecated in 1.28, was removed.
7479   Use the 'user' module instead.
7480 * The ResourceLoaderContext::expandModuleNames method, deprecated in 1.33, was
7481   removed. Use ResourceLoader::expandModuleNames instead.
7482 * The ability to override User::$mRights has been removed. Use
7483   PermissionManager::addTemporaryUserRights() instead.
7484 * Previously, when iterating ResultWrapper with foreach() or a similar
7485   construct, the range of the index was 1..numRows. This has been fixed to be
7486   0..(numRows-1).
7487 * The ChangePasswordForm hook, deprecated in 1.27, has been removed. Use the
7488   AuthChangeFormFields hook or security levels instead.
7489 * WikiMap::getWikiIdFromDomain(), deprecated in 1.33, has been removed.
7490   Use WikiMap::getWikiIdFromDbDomain() instead.
7491 * The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace,
7492   which were deprecated and ignored by core since 1.22, are no longer set to any
7493   value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not
7494   updated since 2013 to cope with this deprecation may now break.
7495 * (T222637) Passing ResourceLoaderModule objects to ResourceLoader::register()
7496   or $wgResourceModules is no longer supported.
7497   Use the 'class' or 'factory' option of the array format instead.
7498 * The parameter $lang of the functions generateTOC and tocList in Linker and
7499   DummyLinker must be in type Language when present. Other types are
7500   deprecated since 1.33.
7501 * The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29,
7502   have been removed.
7503 * ParserOption::getSpeculativeRevIdCallback(), deprecated in 1.28, has been
7504   removed.
7505 * The UploadVerification hook, deprecated in 1.28, has been removed. Instead,
7506   use the UploadVerifyFile hook.
7507 * UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(),
7508   deprecated in 1.28, have been removed. Instead, please use the getFileKey()
7509   method on the response from doStashFile().
7510 * LBFactory::setDomainPrefix() and LoadBalancer::setDomainPrefix(), deprecated
7511   in 1.33, have been removed. Use setLocalDomainPrefix() instead.
7512 * IDatabase::implicitGroupby(), deprecated in 1.30, has been removed.
7513 * IDatabase::doneWrites(), deprecated in 1.31, has been removed.
7514   Use IDatabase::lastDoneWrites() instead.
7515 * Database::reportConnectionError(), deprecated in 1.32, has been removed.
7516 * LoadBalancer::laggedSlaveUsed(), deprecated in 1.28, has been removed.
7517   Use LoadBalancer::laggedReplicaUsed() instead.
7518 * Database::getProperty(), deprecated in 1.28, has been removed.
7519 * IDatabase::getWikiId(), deprecated in 1.30, has been removed.
7520   Use IDatabase::getDomainID() instead.
7521 * (T191231) Support for using Oracle or MSSQL as database backends has been
7522   dropped.
7523 * MessageCache::destroyInstance() has been removed. Instead, call
7524   MediaWikiTestCase::resetServices().
7525 * SearchResult protected field $searchEngine is removed and no longer
7526   initialized after calling SearchResult::initFromTitle().
7527 * The UserIsBlockedFrom hook is only called if a block is found first, and
7528   should only be used to unblock a blocked user.
7529 * Parameters for index.php from PATH_INFO, such as the title, are no longer
7530   written to $_GET.
7531 * The selectFields() methods on classes LocalFile, ArchivedFile, OldLocalFile,
7532   DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use
7533   the corresponding getQueryInfo() methods instead.
7534 * The following methods on Revision, deprecated since 1.31, have been removed.
7535   Use RevisionStore::getQueryInfo() or RevisionStore::getArchiveQueryInfo()
7536   instead.
7537   * Revision::userJoinCond()
7538   * Revision::pageJoinCond()
7539   * Revision::selectFields()
7540   * Revision::selectArchiveFields()
7541   * Revision::selectTextFields()
7542   * Revision::selectPageFields()
7543   * Revision::selectUserFields()
7544 * User::setNewpassword(), deprecated in 1.27 has been removed.
7545 * The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance
7546   functions, deprecated since 1.28, have been removed.
7547 * Language::$dataCache has been removed (without prior deprecation, for
7548   practical reasons). Use MediaWikiServices instead to get a LocalisationCache.
7550 === Deprecations in 1.34 ===
7551 * The MWNamespace class is deprecated. Use NamespaceInfo.
7552 * ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
7553   Instead, use ->queue().
7554 * User::isBlocked() is deprecated since it does not tell you if the user is
7555   blocked from editing a particular page. Use User::getBlock() or
7556   PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
7557 * User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved
7558   to the BlockManager as private helper methods.
7559 * User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted
7560   instead.
7561 * The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled
7562   is deprecated. Pass only the User argument.
7563 * WatchedItem::getUser is deprecated. Use getUserIdentity.
7564 * Passing a Title as the first parameter to the getTimestampById method of
7565   RevisionStore is deprecated. Omit it, passing only the remaining parameters.
7566 * Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use
7567   RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision.
7568 * The Title parameter to RevisionLookup::getPreviousRevision and
7569   RevisionLookup::getNextRevision is deprecated and should be omitted.
7570 * MWHttpRequest::factory is deprecated. Use HttpRequestFactory.
7571 * The Http class is deprecated. For the request, get, and post methods, use
7572   HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI.  For
7573   getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a
7574   MultiHttpClient directly.
7575 * Http::$httpEngine is deprecated and has no replacement. The default 'guzzle'
7576   engine will eventually be made the only engine for HTTP requests.
7577 * RepoGroup::singleton(), RepoGroup::destroySingleton(),
7578   RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all
7579   deprecated. Use MediaWikiServices instead.
7580 * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated.
7581   Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
7582 * MWMessagePack class, no longer used, has been deprecated in 1.34.
7583 * The Block class is separated into DatabaseBlock (for blocks stored in the
7584   database), and SystemBlock (for temporary blocks created by the system).
7585   SystemBlock should be used when creating any temporary blocks. Block is
7586   a deprecated alias for DatabaseBlock.
7587 * Parser::$mConf is deprecated. It will be removed entirely in a later version.
7588   Some context can be found at T224165.
7589 * Constructing Parser directly is deprecated. Obtain one from ParserFactory.
7590 * Title::moveSubpages is deprecated. Use MovePage::moveSubpages or
7591   MovePage::moveSubpagesIfAllowed.
7592 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
7593 * (T62260) Hard deprecate Language::getExtraUserToggles() method.
7594 * Language::viewPrevNext function is deprecated, use
7595   PrevNextNavigationRenderer::buildPrevNextNavigation instead
7596 * User::trackBlockWithCookie and DatabaseBlock::clearCookie are deprecated. Use
7597   BlockManager::trackBlockWithCookie and BlockManager::clearCookie instead.
7598 * DatabaseBlock::setCookie, DatabaseBlock::getCookieValue,
7599   DatabaseBlock::getIdFromCookieValue and AbstractBlock::shouldTrackWithCookie
7600   are moved to internal helper methods for BlockManager::trackBlockWithCookie.
7601 * ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have
7602   been deprecated. Inside ResourceLoaderModule subclasses, use the local methods
7603   instead. Elsewhere, use the methods from the ResourceLoader class.
7604 * The Profiler::setTemplated and Profiler::getTemplated methods have been
7605   deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput
7606   instead.
7607 * The ProfilerOutputDb class, 'profiling' table, and profileinfo.php entry
7608   point had been deprecated (T231366).
7609 * The Preprocessor_DOM implementation has been deprecated.  It will be
7610   removed in a future release.  Use the Preprocessor_Hash implementation
7611   instead.
7612 * Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist()
7613   have been deprecated; they will be made private in the future.
7614 * SearchResult::termMatches() method is deprecated. It was unreliable because
7615   only populated by few search engine implementations. Use
7616   SqlSearchResult::getTermMatches() if really needed.
7617 * SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated
7618   and should no longer be passed. Search engine implemenations should be
7619   responsible for carrying relevant information needed for highlighting with
7620   their own SearchResultSet/SearchResult sub-classes.
7621 * SearchResultSet::free() method is deprecated.
7622 * SearchEngine::$searchTerms protected field is deprecated. Moved to
7623   SearchDatabase.
7624 * The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle
7625   hooks is highly discouraged as it's only populated by SearchDatabase search
7626   engines.
7627 * Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin
7628   template option 'searchaction' instead.
7629 * Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated.
7630   Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead.
7631 * LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have
7632   been deprecated.
7633 * FileBackend::getWikiId() has been deprecated.
7634   Use FileBackend::getDomainId() instead.
7635 * User::getRights() and User::$mRights have been deprecated. Use
7636   PermissionManager::getUserPermissions() instead.
7637 * The LocalisationCacheRecache hook no longer allows purging of message blobs
7638   to be prevented. Modifying the $purgeBlobs parameter now has no effect.
7639 * SVGMetadataExtractor::getMetadata has been deprecated. Instead, you should
7640   use SVGReader->getMetadata() directly.
7641 * The following public properties on AbstractBlock are deprecated: $mReason,
7642   $mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead.
7643 * The following public properties on DatabaseBlock are deprecated: $mAuto,
7644   $mParentBlockId. To check for an autoblock use DatabaseBlock::getType; to
7645   check for the parent ID, use DatabaseBlock::getParentBlockId.
7646 * SearchEngine::userHighlightPrefs() is deprecated, simply stop passing
7647   $contextlines and $contextchars to the SearchHighlighter methods, they will
7648   use proper defaults defined in SearchHighlighter::DEFAULT_CONTEXT_LINES and
7649   DEFAULT_CONTEXT_CHARS.
7650 * SearchUpdate constructor: passing a string as the title param and or a boolean
7651   or a string as the content will produce a deprecation warning.
7652 * SearchEngine::getTextFromContent() is deprecated, use getTextForSearchIndex()
7653   directly from the Content object.
7654 * SearchEngine::textAlreadyUpdatedForIndex() is deprecated, given the
7655   deprecation above this method is no longer needed/called and should not be
7656   implemented by SearchEngine implementation.
7657 * IDatabase::bufferResults() has been deprecated. Use query batching instead.
7658 * MessageCache::singleton() is deprecated. Use
7659   MediaWikiServices::getMessageCache().
7660 * ObjectCache::getWANInstance() is deprecated. Use
7661   MediaWikiServices::getMainWANObjectCache() instead.
7662 * ObjectCache::newWANCacheFromParams() is deprecated. Use
7663   MediaWikiServices::getMainWANObjectCache() instead.
7664 * Constructing MovePage directly is deprecated. Use MovePageFactory.
7665 * TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead.
7666 * wfIsBadImage() is deprecated. Use the BadFileLookup service instead.
7667 * Building a new SearchResult is hard-deprecated, always call
7668   SearchResult::newFromTitle(). This class is being refactored into an abstract
7669   class. If you extend this class please be sure to override all its methods
7670   or extend RevisionSearchResult.
7671 * Skin::getSkinNameMessages() is deprecated and no longer used.
7672 * The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp() instead.
7673 * Specifying a SpecialPage object for the list of special pages (either through
7674   the SpecialPage_initList hook or by adding to $wgSpecialPages) is now
7675   deprecated.
7676 * The 'jquery.tabIndex' module is deprecated.
7677 * WebInstaller::getWarningBox() and getErrorBox() are deprecated.
7678   Use Html::errorBox() or Html::warningBox() instead.
7679 * Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user',
7680   'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted
7681   to use the corresponding actor fields directly. Note that use with
7682   'rev_user' is *not* deprecated at this time.
7683 * Specifying both the class and factory parameters for
7684   ApiModuleManager::addModule is now deprecated. The ObjectFactory spec should
7685   be used instead.
7686 * The UserIsHidden hook is deprecated. Use GetUserBlock instead, and add a
7687   system block that hides the user.
7688 * The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or
7689   remove a block.
7690 * $wgContentHandlerUseDB is deprecated and should always be true.
7691 * StreamFile::send404Message() and StreamFile::parseRange() are now deprecated.
7692   Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange()
7693   respectively instead.
7694 * Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban
7695   users from sending emails, use
7696   $wgGroupPermissions['sysop']['blockemail'] = true;
7697 * ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use
7698   ApiQueryBlockInfoTrait instead.
7699 * PasswordReset is now a service, its direct instantiation is deprecated.
7700 * RESTBagOStuff users should specify either "JSON" or "PHP" serialization type.
7701 * The global function wfIsHHVM() is deprecated and will now always return false
7702   regardless of the runtime environment. This is part of the continuing work to
7703   remove HHVM support from MediaWiki, which started in MediaWiki 1.31.
7704 * Language::getLocalisationCache() is deprecated. Use MediaWikiServices
7705   instead.
7706 * The following Language methods are deprecated: isSupportedLanguage,
7707   isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames,
7708   fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName.
7709   Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s)
7710   are called getLanguageName(s) in the new class.)
7711 * Using the Parser without initializing its $mTitle property to non-null has
7712   been deprecated.  In a future release Parser::getTitle() will throw a
7713   TypeError if $mTitle is uninitialized.
7714 * A number of public methods of Parser were exposed only for historical
7715   reasons and have been deprecated: doMagicLinks, doDoubleUnderscore,
7716   doHeadings, doAllQuotes, replaceExternalLinks, replaceInternalLinks,
7717   replaceInternalLinks2, getVariableValue, initialiseVariables, formatHeadings,
7718   testPst, testPreprocess, testSrvus, areSubpagesAllowed, maybeDoSubpageLink,
7719   splitWhitespace, createAssocArgs, armorLinks, makeKnownLinkHolder,
7720   getImageParams, parseLinkParameter, stripAltText, replaceLinkHolders,
7721   replaceLinkHoldersText, armorLinks, makeKnownLinkHolder, getImageParams,
7722   parseLinkParameter, stripAltText.
7724 === Other changes in 1.34 ===
7725 * Added option to specify "Various authors" as author in extension credits using
7726   "..." as the only author name. If the "author" array contains more than one
7727   entry and "..." is one of the entries in the array, "..." will be parsed as
7728   "others" (version-poweredby-others i18n message) like previously.
7729 * (T232563) Browser support ("Grade C") for Internet Explorer 6 and 7
7730   was discontinued. Basic content and security features may no longer
7731   work correctly in these browsers.
7733 = MediaWiki 1.33 =
7735 == MediaWiki 1.33.4 ==
7737 This is a security and maintenance release of the MediaWiki 1.33 branch.
7739 === Changes since MediaWiki 1.33.3 ===
7740 * (T247017) PasswordReset performance improvements.
7741 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
7742 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
7743   7.3.17.
7744 * Remove some rotten and out of date documentation.
7745 * (T252311) Improvements to some older SQLite update patches.
7746 * (T240307) Minor fixes to extension.schema.v2.json and
7747   extension.schema.v1.json.
7748 * rdbms: Add callback for atomic section cancellation.
7749 * (T191668) NameTableStoreTest::getCallCheckingDb simplification.
7750 * Make NameTableStore use LoadBalancer::getConnectionRef().
7751 * (T224949) NameTableStore: ensure consistency upon rollback.
7752 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
7753   rebuildrecentchanges.php.
7754 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
7755 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
7756   setting $wgPoolCounterConf['SpecialContributions'] appropriately.
7757 * (T248947) SECURITY: img_auth.php may leak private extension images into the
7758   public cache.
7760 == MediaWiki 1.33.3 ==
7762 This is a security and maintenance release of the MediaWiki 1.33 branch.
7764 === Changes since MediaWiki 1.33.2 ===
7765 * (T245072) mediawiki.language: Rename languageData back to languageNames.
7766 * Use proper SemVer comparison in CheckComposerLockUpToDate.
7767 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
7768 * Update comment about PHP versions supported by The PHP Group.
7769 * (T247215) Fix output of RecountCategories::doWork().
7770 * Add check for page existence to view.php maintenance script.
7771 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
7772 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
7773   any CSS selector.
7775 == MediaWiki 1.33.2 ==
7777 This is a security and maintenance release of the MediaWiki 1.33 branch.
7779 === Changes since MediaWiki 1.33.1 ===
7780 * (T217831) (T200653) PopulateContentTables: compute sha1 and length if needed.
7781 * Fix extra newlines in the installer.
7782 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
7783 * (T181658) Do not insert page titles into querycache.qc_value.
7784 * (T206013) Suppress errors when reading invalid XML file properties.
7785 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
7786 * Use correct value for 'sslmode' in DatabasePostgres.
7787 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
7788 * (T227461) Stop calling deprecated Redis delete functions.
7789 * (T239561) Mark options as requiring parameters in addSite.php.
7790 * (T219440) Skip flaky rollback test.
7791 * (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest.
7792 * (T239734) Replace deprecated lSize with lLen in Redis code.
7793 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
7794 * (T239428) ApiEditPage: Test for bad redirect targets.
7795 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
7796   'trace'.
7797 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
7798 * (T212067) SECURITY: Work around PHP bug in parse_url.
7800 == MediaWiki 1.33.1 ==
7802 This is a security and maintenance release of the MediaWiki 1.33 branch.
7804 === Changes since MediaWiki 1.33.0 ===
7805 * A change that kept people with a database table prefix that didn't
7806   end with an underscore from updating was reverted.
7807 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
7808 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
7809   of headers in private wikis.
7810 * (T230317) Allow upgrading from MediaWiki before 1.15 where the valid_tag table
7811   doesn't yet exist.
7812 * (T208897) MessageCache: Restore 'loadedLanguages' tracking for load().
7813 * (T228555) MessageCache: Fix isMainCacheable() logic for non-content languages.
7814 * (T200088) Remove title protection correctly for undeletions and imports.
7815 * (T230402) SECURITY: Add permission check for suppressed account to
7816   Special:Redirect.
7817 * Add helper for HTTPFileStreamer header syntax.
7818 * (T227461) ObjectCache: avoid using deprecated phpredis::delete() alias.
7819 * (T231386) SpecialRedirect::dispatchUser() should use a 302 http status code.
7820 * (T118799) Fix XMP parser errors due to trailing nullchar.
7821 * (T230618) Fix GROUP BY in ActiveUsersPager and RecentChangesUpdateJob for
7822   PostgreSQL.
7823 * (T230487) Handle changed defaults in Argon2PasswordTest::testPartialConfig().
7824 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
7825 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
7826   separate files to help allieviate potential migration problems.
7828 === Upgrading notes for 1.33 ===
7829 1.33 has several database changes since 1.32, and will not work without schema
7830 updates. Note that due to changes to some very large tables like the revision
7831 table, the schema update may take quite long (minutes on a medium sized site,
7832 many hours on a large site).
7834 Don't forget to always back up your database before upgrading!
7836 See the file UPGRADE for more detailed upgrade instructions, including
7837 important information when upgrading from versions prior to 1.11.
7839 Some specific notes for MediaWiki 1.33 upgrades are below:
7841 * Some external link searches will not work correctly until update.php (or
7842   refreshExternallinksIndex.php) is run. These include searches for links using
7843   IP addresses, internationalized domain names, and possibly mailto links.
7844 * If you ran migrateActors.php using an older version of MediaWiki and want to
7845   run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD,
7846   note that log_search rows needed to find revision deletions by target user
7847   were incorrectly deleted. See T215464 for details.
7848 * If revision deletions were performed when the wiki was configured with
7849   $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without
7850   migrateActors.php having been run, the log_search table may contain rows with
7851   empty values for "target_author_actor" which will prevent log searches for
7852   revision deletions by target user from finding those log entries. These rows
7853   may be corrected by (re-)running migrateActors.php.
7855 For notes on 1.32.x and older releases, see HISTORY.
7857 == MediaWiki 1.33.0 ==
7859 === Changes since MediaWiki 1.33.0-rc.0 ===
7860 * (T225558) Update installer link to PHP intl.
7861 * (T225901) Only attempt to deduplicate if there is data in archive and revision
7862   tables.
7863 * (T225564) Fetch tag ID before calling undefineTag().
7864 * (T225496) Detect APC for MainCacheType in CLI installer.
7865 * Call unpack() with correct parameters in MimeAnalyzer.php for PHP 7.0 support.
7866 * (T212613) Style change tags correctly on Special:Newpages.
7867 * (T202211) Fix SQLite patch-(page|template)links-fix-pk.sql column order.
7869 == MediaWiki 1.33.0-rc.0 ==
7871 === Configuration changes for system administrators in 1.33 ===
7872 ==== New configuration ====
7873 * $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
7874   accounts with block permissions the ability to block users, IPs, and IP ranges
7875   from editing specific pages, while allowing them to edit the rest of the wiki.
7876   It is a temporary setting for gradual enablement, current default to `false`,
7877   and will be set to `true` and then removed once initial development completes.
7879 ==== Changed configuration ====
7880 * $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in
7881   MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH.
7882 * $wgPasswordPolicy – There is a new password policy to check that the account's
7883   password is not in the large blacklist. This is enabled by default for the
7884   built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure
7885   this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`.
7886 * $wgPasswordDefault – There is a new password type configuration using Argon2
7887   password hashing (which requires PHP 7.2 and above). It's designed to resist
7888   timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure
7889   argon2 to be used, by default, it will automatically choose the best available
7890   algorithm depending on which version of PHP you have available. To use this,
7891   you can set `$wgPasswordDefault = 'argon2';`.
7892 * $wgActorTableSchemaMigrationStage now defaults to reading the new schema.
7893   update.php will back-populate the new database fields due to the changed
7894   setting, which may take some time on large wikis. You can avoid downtime by
7895   following a process like that described in T188327.
7897 ==== Removed configuration ====
7898 * $wgTagStatisticsNewTable (T199334) — This temporary setting, added in
7899   MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki
7900   will now always use the `change_tag_def` instead of the `change_tag` table.
7901 * $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and
7902   $wgDebugTidy – These options, all deprecated since 1.26, have now all been
7903   removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting
7904   remains only for experimental features and debugging, and should not be used.
7905 * $wgEnableParserCache – This setting has been deprecated since 1.26, has now
7906   been removed. If you still desire to disable the parser cache, instead you can
7907   set `$wgParserCacheType = CACHE_NONE;`.
7908 * $wgCommentTableSchemaMigrationStage – This temporary migration setting has now
7909   been removed. Code finding it unset should treat it as being MIGRATION_NEW.
7910 * $wgAuth – This old setting, deprecated in 1.27, has been removed as part of
7911   the removal of AuthPlugin.
7912 * $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent
7913   to allow sites to configure a file in which to cache the SiteStore database
7914   table, but it was never used. SiteStore already caches its information by
7915   default using BagOStuff (e.g. Memcached or APC).
7916 * $wgClockSkewFudge – This setting was used by User.php to let sites adjust by
7917   how much MediaWiki would fudge when trying to minimize the chances of a
7918   user.user_touched database update to the "current" timestamp being before the
7919   value already there (e.g. due to clock skew between different servers). This
7920   is no longer a problem, because the code now ensures the timestamp is always
7921   higher than the previous one. The writes are guarded with CAS logic (check
7922   and set), which prevents updates that would overlap.
7923 * $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has
7924   been removed.
7926 === New user-facing features in 1.33 ===
7927 * (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category
7928   to be hidden on Special:UnusedCategories.
7929 * (T210814) SVGs are now by default displayed in wiki language on image
7930   pages.
7931 * Special:CreateAccount now warns the user if their chosen username has to be
7932   normalized.
7933 * (T205040) Multilingual images are now be displayed in the current parse
7934   language where available.
7935 * Special:ActiveUsers will no longer filter out users who became inactive since
7936   the last time the active users query cache was updated.
7937 * (T215675) RecentChange and ManualLogEntry implement new Taggable interface.
7938 * (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions
7939   to modify (example: add tags) log entries.
7941 === New developer features in 1.33 ===
7942 * The AuthManagerLoginAuthenticateAudit hook has a new parameter for
7943   additional information about the authentication event.
7944 * TextContent::getText() was introduced as a replacement for
7945   Content::getNativeData() for text-based content models.
7946 * (T214706) LinksUpdate::getAddedExternalLinks() and
7947   LinksUpdate::getRemovedExternalLinks() were introduced.
7948 * (T213893) Added 'MaintenanceUpdateAddParams' hook
7949 * (T219655) The MarkPatrolled hook has a new parameter for the tags
7950   associated with this entry in the patrol log.
7951 * (T212472) Extensions can now specify platform abilities they require to work,
7952   limited to shell access for now.
7955 === External library changes in 1.33 ===
7956 ==== New external libraries ====
7957 * Added wikimedia/password-blacklist 0.1.4.
7958 * Added guzzlehttp/guzzle 6.3.3.
7960 ==== Changed external libraries ====
7961 * Updated OOUI from v0.29.2 to v0.31.3.
7962 * Updated OOjs Router from pre-release to v0.2.0.
7963 * Updated moment from v2.19.3 to v2.24.0.
7964 * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2.
7965 * Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
7966 * Updated jquery-client from 2.0.1 to 2.0.2.
7967 * Updated pear/net_smtp from 1.8.0 to 1.8.1.
7968 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
7969 * Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7.
7971 ==== Removed external libraries ====
7972 * (T219403) jquery.ui.spinner, deprecated since 1.31, was removed.
7975 === Developer library changes in 1.33 ===
7976 ==== New developer libraries ====
7977 * Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only).
7978 * Added mediawiki/mediawiki-phan-config 0.5.0 (dev-only).
7980 ==== Changed developer libraries ====
7981 * Updated wikimedia/ip-set from 1.3.0 to 2.0.1.
7982   * The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be
7983     used instead.
7984 * Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only).
7985 * Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only).
7986 * Updated mediawiki/mediawiki-codesniffer from 22.0.0 to 25.0.0 (dev-only).
7987 * Updated qunitjs from 2.6.2 to 2.9.1.
7989 ==== Removed developer libraries ====
7990 * The jetbrains/phpstorm-stubs repository was removed in favour of the minimal
7991   stubs we need, which are kept in the new `.phan/internal_stubs` directory
7992   (dev-only).
7995 === Bug fixes in 1.33 ===
7996 * (T164211) Special:UserRights could sometimes fail with a
7997   "conflict detected" error when there weren't any conflicts.
7998 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
7999   a non-Latin name on a page with non-Latin characters in title.
8000 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
8001   saveFileDependencies().
8003 === Action API changes in 1.33 ===
8004 * (T198913) Added 'ApiOptions' hook.
8005 * The JSON formatversion=2 is no longer experimental.
8006 * Internal API errors (those with code beginning "internal_api_error") will
8007   include the exception class name in a data field named "errorclass".
8008   * Class names are not guaranteed to remain stable, and in particular database
8009     exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name.
8010   * The code including an exception class name is deprecated. In the future,
8011     all internal errors will use code "internal_api_error".
8012 * (T212356) When using action=delete on pages with many revisions, the module
8013   may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
8014   deletion will be processed via the job queue.
8015 * action=setnotificationtimestamp will now update the watchlist asynchronously
8016   if entirewatchlist is set, so updates may not be visible immediately
8017 * Block info will be added to "blocked" errors from more modules.
8018 * (T216245) Autoblocks will now be spread by action=edit and action=move.
8019 * action=query&meta=userinfo has a new uiprop, 'latestcontrib', that returns
8020   the date of user's latest contribution.
8021 * (T25227) action=logout now requires to be posted and have a csrf token.
8023 === Action API internal changes in 1.33 ===
8024 * A number of deprecated methods for API documentation, intended for overriding
8025   by extensions, are no longer called by MediaWiki, and will emit deprecation
8026   notices if your extension attempts to use them:
8027   * ApiBase::getDescription() (deprecated in 1.25)
8028   * ApiBase::getParamDescription() (deprecated in 1.25)
8029   * ApiBase::getExamples() (deprecated in 1.25)
8030   * ApiBase::getDescriptionMessage() (deprecated in 1.30)
8031   Additionally, the  'APIGetDescription' and 'APIGetParamDescription' hooks have
8032   been removed, as their only use was to let extensions override values returned
8033   by getDescription() and getParamDescription(), respectively.
8034 * API error codes may only contain ASCII letters, numbers, underscore, and
8035   hyphen. Methods such as ApiBase::dieWithError() and
8036   ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
8037   passed a bad code.
8038 * ApiBase::checkTitleUserPermissions() now takes an options array as its third
8039   parameter. Passing a User object or null is deprecated.
8040 * The api-feature-usage log channel now has log context. The text message is
8041   deprecated and will be removed in the future.
8043 === Languages updated in 1.33 ===
8044 MediaWiki supports over 350 languages. Many localisations are updated regularly.
8045 Below only new and removed languages are listed, as well as changes to languages
8046 because of Phabricator reports.
8048 * (T203908) Added language support for Eastern Pwo (kjp).
8049 * (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
8050   for NS_TEMPLATE.
8051 * (T212221) Added $digitTransformTable for Santali (sat).
8052 * (T216479) Added language support for Saisiyat (xsy).
8053 * (T219728) Added support for new Japanese era name "Reiwa"
8055 === Breaking changes in 1.33 ===
8056 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
8057   Language. Other types are deprecated since 1.32.
8058 * Skin::doEditSectionLink requires type Language for the parameter $lang.
8059   The parameters $tooltip and $lang are mandatory. Omitting the parameters is
8060   deprecated since 1.32.
8061 * Language::truncate(), deprecated in 1.31, has been removed.
8062 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
8063   instead.
8064 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
8065   and 'notice-message', which were deprecated in 1.32, were removed. Instead,
8066   use 'help', 'help-message', and 'help-messages'.
8067 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
8068 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
8069   RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
8070   Use the RESTBase v1 or Parsoid v3 API instead.
8071 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
8072   parser are being deprecated and ParserOptions::getCanonicalOverrides()
8073   has always been true at any rate.
8074 * Support for disabling tidy and external tidy implementations has been removed.
8075   This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
8076   used and no configuration is necessary.
8077 * A number of deprecated methods for API documentation, intended for overriding
8078   by extensions, are no longer called by MediaWiki, and will emit deprecation
8079   notices if your extension attempts to use them:
8080   * ApiBase::getDescription() (deprecated in 1.25)
8081   * ApiBase::getParamDescription() (deprecated in 1.25)
8082   * ApiBase::getExamples() (deprecated in 1.25)
8083   * ApiBase::getDescriptionMessage() (deprecated in 1.30)
8084   Additionally, the  'APIGetDescription' and 'APIGetParamDescription' hooks have
8085   been removed, as their only use was to let extensions override values returned
8086   by getDescription() and getParamDescription(), respectively.
8087 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
8088   'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
8089   the creation of AuthManager in 1.27, have been removed. This also means that
8090   the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
8091   is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
8092   that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
8093 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
8094   use 'jquery.i18n'.
8095 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
8096   1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
8097   respectively in a $wgExtensionMessagesFiles file.
8098 * The following methods of the Preferences class, deprecated in 1.31, have been
8099   removed:
8100   * getSaveBlacklist()
8101   * loadPreferenceValues()
8102   * getOptionFromUser()
8103   * profilePreferences()
8104   * skinPreferences()
8105   * filesPreferences()
8106   * datetimePreferences()
8107   * renderingPreferences()
8108   * editingPreferences()
8109   * rcPreferences()
8110   * watchlistPreferences()
8111   * searchPreferences()
8112   * miscPreferences()
8113   * generateSkinOptions()
8114   * getDateOptions()
8115   * getImageSizes()
8116   * getThumbSizes()
8117   * validateSignature()
8118   * cleanSignature()
8119   * getTimezoneOptions()
8120   * filterIntval()
8121   * filterTimezoneInput()
8122   * getTimeZoneList()
8123 * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
8124 * (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
8125 * The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
8126   Specifically: mediawiki.api.category, mediawiki.api.edit,
8127   mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
8128   mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
8129   mediawiki.api.messages, and mediawiki.api.rollback.
8130 * The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
8131   deprecated in 1.31, was removed.
8132 * Revision::fetchRevision(), deprecated in 1.28, was removed.
8133 * Class SquidUpdate, deprecated in 1.27, was removed.
8134 * Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
8135   Title->getCdnUrls().
8136 * Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
8137   Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
8138 * Title->canTalk(), deprecated in 1.30, was removed. Instead, use
8139   Title->canHaveTalkPage().
8140 * Title's methods for site and user page related to CSS and JS, deprecated in
8141   1.31, were removed:
8142   * Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
8143   * Title->isCssJsSubpage() – Use Title->isUserConfigPage()
8144   * Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
8145   * Title->isCssSubpage() – Use Title->isUserCssConfigPage()
8146   * Title->isJsSubpage() – Use Title->isUserJsConfigPage()
8147 * SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
8148   would return the global SiteStore instance, has been removed. You can get to
8149   this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
8150 * Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
8151   Instead, use Language->formatSize() with the relevant Language object.
8152 * Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
8153   version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
8154 * EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
8155   use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
8156 * LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
8157   be unused, and is distinct from OutputPage->addLink(), which remains.
8158 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
8159   JsonContent->getData().
8160 * MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
8161   exception ID is the same as the request ID, from WebRequest::getRequestId().
8162 * SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
8163   You can use SearchEngine::getNearMatcher() instead.
8164 * EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
8165   removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
8166 * User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
8167   been removed. Instead, please use UserGroupMembership::getGroupName() and
8168   UserGroupMembership::getGroupMemberName().
8169 * Backwards compatibility for setting wgSessionsInObjectCache to false or using
8170   wgSessionHandler, both of which were deprecated in 1.27 with the introduction
8171   of SessionManager, has been removed.
8172 * SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
8173   MediaWiki\Auth\AuthManager::autoCreateUser instead.
8174 * The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
8175   Use require( 'mediawiki.libs.jpegmeta' ) instead.
8176 * The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
8177   Use mw.user.getPageviewToken() instead.
8178 * Removed deprecated class property WikiRevision::$importer.
8179 * ResourceLoaderFileModule::readStyleFiles() now requires its $context
8180   parameter.
8181 * The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
8182   been removed.
8183 * MessageBlobStore::__construct() now requires its $rl parameter.
8184 * Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
8185   has been removed.
8186 * The 'jquery.xmldom' module has been removed.
8187 * The 'jquery.mockjax' module has been removed.
8188 * The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
8189 * AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
8190   should instead use AuthManager. The following no longer exist:
8191   * The AuthPlugin class itself and the related AuthPluginUser class and i18n
8192   * The AuthPluginSetup and AuthPluginAutoCreate hooks
8193   * The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
8194     AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
8195   * The $wgAuth configuration setting and its use in Setup.php and unit tests
8196 * (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
8197 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
8198   LanguageConverter::markNoConversion instead.
8199 * BagOStuff::modifySimpleRelayEvent() method has been removed.
8200 * ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
8201   Use ParserOutput::allCacheVaryingOptions instead.
8202 * CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
8203   Use CdnCacheUpdate::newFromTitles() instead.
8204 * Handling of multiple arguments by the Block constructor, deprecated in 1.26,
8205   has been removed.
8206 * The translation of main page in Sardinian (sc) was changed from "Pàgina Base"
8207   to "Pàgina printzipale". Existing wikis using this content language need to
8208   move the main page or change the name through MediaWiki:Mainpage page.
8209 * wfSplitWikiID(), deprecated in 1.32, has been removed.
8210 * MessageBlobStore::getBlob(), deprecated in 1.27, has been removed.
8211   Use ::getBlobs() instead.
8212 * The .background-size() LESS mixin, deprecated in 1.27, has been removed.
8213 * ReadOnlyMode::clearCache() and ConfiguredReadOnlyMode::clearCache() have been
8214   removed. Use MediaWikiTestCase::overrideMwServices() instead.
8215 * Support for the 'aggregator' option of JobQueue (and thus $wgJobTypeConf) was
8216   removed. The JobQueueAggregator interface and JobQueueAggregatorRedis class
8217   have also been removed. They were experimentally developed for use by the
8218   Wikimedia Foundation, but were never used, with no known use cases. (Note that
8219   this does not affect JobQueueRedis which is still supported.)
8221 === Deprecations in 1.33 ===
8222 * The configuration option $wgUseESI has been deprecated, and is expected
8223   to be removed in a future release.
8224 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
8225   and is expected to be removed in a future release.
8226 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
8227   introduced in MW 1.17, have been deprecated.  These fixes will always be
8228   applied for Arabic and Malayalam in the future.  Please enable these on
8229   your local wiki (if you have them explicitly set to false) and run
8230   maintenance/cleanupTitles.php to fix any existing page titles.
8231 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
8232   in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
8233   This will help identify the issue if you added it to $wgAuthManagerConfig.
8234 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
8235   domain ID as a key component and use makeGlobalKey().
8236 * (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
8237   Title::getDBkey(), which doesn't vary case.
8238 * User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
8239   returns the same information in a more useful format.
8240 * For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
8241   as the $lang parameter was deprecated. The same applies to DummyLinker.
8242 * The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
8243   follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
8244   instead which blacklists 100,000 commonly used passwords.
8245 * (T208862) Action::requiresUnblock() is now called from
8246   Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
8247   was only called in Action::checkCanExecute(). Actions should ensure that their
8248   requiresUnblock() returns the proper result (the default is `true`).
8249 * (T211608) The MediaWiki\Services namespace has been renamed to
8250   Wikimedia\Services. The old name is still supported, but deprecated.
8251 * (T155582) Content::getNativeData has been deprecated. Please use model-
8252   specific getters, such as TextContent::getText().
8253 * The class WebInstallerOutput is now marked as @private.
8254 * (T209699) The jquery.async module has been deprecated. JavaScript code that
8255   needs asynchronous behaviour should use Promises.
8256 * Password::equals() is deprecated, use verify().
8257 * BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
8258   other means to fetch a properly escaped message string or Message object.
8259 * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
8260   testing code for your JavaScript modules, is deprecated. Instead, you can now
8261   use the new extension registration key 'QUnitTestModule'.
8262 * (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
8263   code that needs this behaviour should use OO.ui.debounce/throttle.
8264 * The mw.language.specialCharacters property from the
8265   'mediawiki.language.specialCharacters' module has been deprecated.
8266   Use require( 'mediawiki.language.specialCharacters' ) instead.
8267 * ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
8268   removed in a future release.
8269 * Passing a User object or null as the third parameter to
8270   ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
8271   [ 'user' => $user ] instead.
8272 * (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
8273   Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
8274   block properties; use Block::appliesToRight and Block::appliesToUsertalk to
8275   check block behaviour.
8276 * The api-feature-usage log channel now has log context. The text message is
8277   deprecated and will be removed in the future.
8278 * The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
8279   implementation, use CachingSiteStore instead.
8280 * Language::viewPrevNext function is deprecated, use
8281   SpecialPage::buildPrevNextNavigation instead
8282 * ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
8283   instead. The setTags() method was overriding the tags, addTags() doesn't
8284   override, only adds new tags.
8285 * Block::isValid is deprecated, since it is no longer needed in core.
8286 * Calling Maintenance::hasArg() as well as Maintenance::getArg() with no
8287   parameter has been deprecated. Please pass the argument number 0.
8288 * ResourceLoaderContext::expandModuleNames has been deprecated.
8289   Use ResourceLoader::expandModuleNames instead.
8291 === Other changes in 1.33 ===
8292 * (T201747) Html::openElement() warns if given an element name with a space
8293   in it.
8294 * The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
8295   changed to explicitly cast. Subclasses relying on the base-class
8296   implementation should check whether they need to override it now.
8297 * BagOStuff::add is now abstract and must explicitly be defined in subclasses.
8298 * LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
8299   the following hooks will now be triggered upon page deletion in addition
8300   to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.
8301   LinksUpdateAfterInsert is not triggered since deletions do not cause
8302   insertions into links tables.
8303 * Category::newFromID( $id )->getID() will now return $id without any
8304   validation, to avoid a mostly unnecessary DB query.
8305 * On Special:Version, the name for an extension can no longer be arbitrary
8306   html when no link is specified.
8308 = MediaWiki 1.32 =
8310 == MediaWiki 1.32.6 ==
8312 This is a security and maintenance release of the MediaWiki 1.32 branch.
8314 === Changes since MediaWiki 1.32.5 ===
8315 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
8316 * (T181658) Do not insert page titles into querycache.qc_value.
8317 * (T206013) Suppress errors when reading invalid XML file properties.
8318 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
8319 * Use correct value for 'sslmode' in DatabasePostgres.
8320 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
8321 * (T227461) Stop calling deprecated Redis delete functions.
8322 * (T239561) Mark options as requiring parameters in addSite.php.
8323 * (T239734) Replace deprecated lSize with lLen in Redis code.
8324 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
8325 * (T239428) ApiEditPage: Test for bad redirect targets.
8326 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
8327   'trace'.
8328 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
8329 * (T212067) SECURITY: Work around PHP bug in parse_url.
8331 == MediaWiki 1.32.5 ==
8333 This is a maintenance release of the MediaWiki 1.32 branch.
8335 === Changes since MediaWiki 1.32.4 ===
8336 * Compute sha1 and length if needed in maintenance/populateContentTables.php.
8337 * Fix extra newlines in the installer.
8338 * Followup T230402, PermissionManager doesn't exist until 1.33, so fix the
8339   backported patches to use User::isAllowed() instead.
8341 == MediaWiki 1.32.4 ==
8343 This is a security and maintenance release of the MediaWiki 1.32 branch.
8345 === Changes since MediaWiki 1.32.3 ===
8346 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
8347 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
8348   of headers in private wikis.
8349 * (T230402) SECURITY: Add permission check for suppressed account to
8350   Special:Redirect.
8351 * (T208897) MessageCache: Restore 'loadedLanguages' tracking for load().
8352 * (T200088) Remove title protection correctly for undeletions and imports.
8353 * Add helper for HTTPFileStreamer header syntax.
8354 * (T118799) Fix XMP parser errors due to trailing nullchar.
8355 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
8356 * Cache redirects from Special:Redirect.
8357 * (T231386) dispatchUser() should use a 302 http status code.
8358 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
8359   separate files to help allieviate potential migration problems.
8360 * Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database
8361   updates.
8363 == MediaWiki 1.32.3 ==
8365 This is a maintenance release of the MediaWiki 1.32 branch.
8367 === Changes since MediaWiki 1.32.2 ===
8368 * (T225558) Update installer link to PHP intl.
8369 * (T225496) Detect APC for MainCacheType in CLI installer.
8370 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies.
8371 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
8373 == MediaWiki 1.32.2 ==
8375 This is a security and maintenance release of the MediaWiki 1.32 branch.
8377 === Changes since MediaWiki 1.32.1 ===
8378 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
8379 * (T216968) Return pageid as int in both list=iwbacklinks and
8380   list=langbacklinks.
8381 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
8382 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
8383 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
8384   $wgBlockDisablesLogin is true.
8385 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
8386   a non-Latin name on a page with non-Latin characters in title.
8387 * Unbreak language related maintenance scripts that use StaticArrayWriter.
8388 * (T219728) Added support for new Japanese era name "Reiwa".
8389 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
8390   token.
8391 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
8392 * (T221045) Remove orphaned code from ConfigRepository.
8393 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
8394   saveFileDependencies().
8395 * (T224374) Fix message parameters so that the message that says SQLite is
8396   out of date makes sense.
8397 * (T200471) Prevent LBFactorySimple breaking ExternalStorage, when trying to
8398   connect to external server with local database name.
8399 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
8400 * (T208881) SECURITY: blacklist CSS var().
8401 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
8402 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
8403 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
8404 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
8405   view the log type.
8406 * (T221739) SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358.
8408 == MediaWiki 1.32.1 ==
8410 === Changes since MediaWiki 1.32.0 ===
8411 * (T213577) rdbms: avoid transaction status errors from ping() in rollback().
8412 * rdbms: Pass required parameter.
8413 * rdbms: do not treat SAVEPOINT and RELEASE SAVEPOINT as write queries.
8414 * (T204531) rdbms: reduce LoadBalancer replication log spam.
8415 * (T213489) Avoid session double-start in Setup.php.
8416 * (T213717) Correct namespace 'Template' for gom-deva
8417 * (T198054) Fix login page crash caused by unknown language via ?uselang
8418 * (T215324) (T210937) list=users mistakenly reports user as missing.
8419 * (T209483) Add ILBFactory::redefineLocalDomain method. This is intended for
8420 use with scripts like addWiki.php to avoid mismatched domain errors.
8421 * (T208871) The hard-coded Google search form on the database error page was
8422 removed.
8423 * (T204800) Fix Title::getFragmentForURL for bad interwiki prefix
8424 * (T215566) Fix installer being unable to determine if the database exists
8425 during a fresh installation.
8427 == MediaWiki 1.32.0 ==
8429 === Changes since MediaWiki 1.32.0-rc.2 ===
8430 * (T188327) Fix slow queries in migrateActors.php.
8431 * (T102320) Fix $magicWords for the Sanskrit language.
8433 === Changes since MediaWiki 1.32.0-rc.1 ===
8434 * Fix addition of ug_expiry column to user_groups table on MSSQL.
8435 * (T210307) Fix the cache timestamp for forced updates.
8436 * (T210621) User: Bypass repeatable-read when creating an actor_id.
8437 * (T197535) Extensions can now specify PHP versions and PHP extensions they
8438   depend on.
8439 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
8440 * (T212356) When using action=delete on pages with many revisions, the module
8441   may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
8442   deletion will be processed via the job queue.
8443 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
8444   recentchanges.rc_cur_time from the PostgreSQL schema.
8446 === Changes since MediaWiki 1.32.0-rc.0 ===
8447 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
8448   has been started.
8449 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
8450   if --lang is used with the command-line installer (install.php).
8452 === Configuration changes in 1.32 ===
8454 ==== New configuration ====
8455 * $wgJpegQuality – The quality of JPEG thumbnails is now configurable through
8456   this setting. The default is 80, which matches the quality of JPEG thumbnails
8457   previously generated by ImageMagick. The quality of JPEG thumbnails generated
8458   by GD was previously 95, but now uses the $wgJpegQuality setting as well.
8459 * $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP
8460   user is blocked. Doing so means that a blocked user, even after moving to a
8461   new IP address, will still be blocked.
8462 * $wgRawHtmlMessages – This new configuration setting is added for listing
8463   messages which are displayed as raw HTML.
8464 * $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a
8465   "Content Security Policy" for your wiki. This adds a defense-in-depth feature
8466   to stop an attacker who has found a bug in the parser allowing them to insert
8467   malicious attributes. Disabled by default. (T135963)
8468 * $wgGroupPermissions – A new user group, 'interface-admin', is added for
8469   controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No
8470   other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs'
8471   by default.
8472 * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for
8473   granting the above rights.
8474 * $wgDBDefaultGroup – A default database group for use by maintenance scripts.
8475 * $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you
8476   enable client-side profiling of JavaScript modules; it is off by default.
8477 * (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration
8478   setting allows sysadmins to gradually migrate the database table schema for
8479   how change tags are stored.
8480 * (T199334) $wgTagStatisticsNewTable — This temporary configuration setting
8481   allows sysadmins to enable the caching of Special:Tags via the new
8482   change_tag_def table.
8484 ==== Changed configuration ====
8485 * $wgUseAjax – This setting, deprecated in 1.31, is now ignored.
8486 * $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has
8487   been increased from 3 to 7 days. (T194414)
8488 * $wgGroupPermissions – The right to edit sitewide Javascript
8489   (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface'
8490   and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having
8491   'editinterface' is still necessary to edit such pages.
8492 * $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the
8493   old and the new schema, but reading the new schema, so Multi-Content Revisions
8494   (MCR) are now functional per default. The new default value of the setting is
8495   SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW.
8496 * $wgActorTableSchemaMigrationStage no longer accepts MIGRATION_WRITE_BOTH or
8497   MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH |
8498   SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW
8499   for intermediate stages of migration.
8500 * $wgDBTableOptions – The default table options now use the binary charset. The
8501   default was already overridden in the installer-generated LocalSettings.php,
8502   and so is always set to binary after the installer UI option was removed. The
8503   default value is only used when the installer installs an extension.
8504 * $wgPopularPasswordFile — The location of the default popular passwords file
8505   has been moved to be in line with other non-PHP files used by libraries and
8506   classes.
8507 * $wgEnableImageWhitelist is now disabled by default, as it opens up a hole for
8508   potential privacy leaks by administrators. You can check
8509   "MediaWiki:External image whitelist" on your wiki to see whether the feature
8510   was ever used, and whether it needs to be re-enabled.
8512 ==== Removed configuration ====
8513 * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31,
8514   have been removed. (T115414)
8515 * $wgSiteSupportPage – This setting, unused since 1.5, was removed.
8516 * $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed.
8517 * $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed.
8518   The 'html5-legacy' value for $wgFragmentMode is no longer accepted.
8519 * $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and
8520   most extensions, is no longer set. Instead, you can modify the system
8521   message `emailsender`.
8522 * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers
8523   were removed. RemexHtml, which is the default, should be used instead.
8524 * (T181318) The $wgStyleVersion setting and its appendage to various script and
8525   style URLs in OutputPage, deprecated in 1.31, was removed.
8526 * (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed
8527   from ResourceLoader. Instead, use `@import` statements in LESS to import
8528   files directly from nearby directories within the same project.
8529 * (T140804) The wgResourceLoaderLESSVars configuration option, deprecated
8530   since 1.30, was removed. Instead, to expose variables from PHP to LESS, use
8531   the ResourceLoaderModule::getLessVars() method.
8532 * $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18,
8533   was removed.
8534 * Two temporary variables for deploying the feature of filters on change lists,
8535   $wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and
8536   $wgStructuredChangeFiltersOnWatchlist in 1.31, were removed.
8538 === New features in 1.32 ===
8539 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
8540   using a particular page during edit previews.
8541 * (T12331) You can now log page creation events by setting $wgPageCreationLog
8542   to true.
8543 * Added 'ApiParseMakeOutputPage' hook.
8544 * (T174313) Added checkbox on Special:ListUsers to display only users in
8545   temporary user groups.
8546 * (T152462) A cookie can now be set when an IP user is blocked to track that
8547   user if they move to a new IP address. This is disabled by default.
8548 * (T194950) Added 'ApiMaxLagInfo' hook.
8549 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
8550   reauthenticating.
8551 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
8552   getLoginSecurityLevel() returns non-false.
8553 * The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser,
8554   &$query and &$widthOption, allowing extensions even finer control over the
8555   resulting HTML code.
8556 * Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine
8557   if the [mark as patrolled] link should be shown at the footer of patrollable
8558   pages.
8559 * The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook
8560   is now passed by reference, allowing extensions to modify or even unset it.
8561 * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
8562   modify the return value of OutputPage#getHeadLinksArray in order to add,
8563   remove or otherwise alter the elements to be output in the page <head>.
8564 * (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
8565   additional links to the subtitle of a history page.
8566 * The 'GetLinkColours' hook now receives an additional $title parameter,
8567   the Title object of the page being parsed, on which the links will be shown.
8568 * (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to
8569   render diffs between two Content objects, and DifferenceEngine::setRevisions()
8570   to render diffs between two custom (potentially multi-content) revisions.
8571   Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots.
8572 * Added a temporary action=mcrundo to the web UI, as the normal undo logic
8573   can't yet handle MCR and deadlines are forcing is to put off fixing that.
8574   This action should be considered deprecated and should not be used directly.
8575 * Extensions overriding ContentHandler::getUndoContent() will need to be
8576   updated for the changed method signature.
8577 * Added a new hook, 'UserGetRightsRemove', which can be used to remove rights
8578   from user. Unlike the 'UserGetRights' it will ensure that removed rights
8579   will not be reinserted.
8580 * (T197535) Extensions can now specify PHP versions and PHP extensions they
8581   depend on.
8583 === External library changes in 1.32 ===
8585 ==== New external libraries ====
8586 * Added pear/Net_SMTP v1.8.0.
8587 * Added wikimedia/xmp-reader v0.6.0.
8589 * Added cache/integration-tests v0.16.0 (dev-only).
8590 * Added giorgiosironi/eris v0.10.0 (dev-only).
8591 * Added seld/jsonlint v1.7.1 (dev-only).
8593 * Added EasyDeflate (unversioned).
8595 ==== Changed external libraries ====
8596 * Updated OOUI from v0.26.3 to v0.29.2.
8597 * Updated wikimedia/base-convert from v1.0.1 to v2.0.0.
8598 * Updated wikimedia/remex-html from v1.0.3 to v2.0.1.
8599 * Updated wikimedia/scoped-callback from v1.0.0 to v2.0.0.
8600 ** ScopedCallback objects can no longer be serialized.
8601 * Updated wikimedia/timestamp from v1.0.0 to v2.2.0.
8602 * Updated wikimedia/wrappedstring from v2.3.0 to v3.0.1.
8603 * oyejorge/less.php replaced with our fork wikimedia/less.php
8604 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
8606 * Updated composer/spdx-licenses from v1.3.0 to v1.4.0 (dev-only).
8607 * Updated mediawiki/mediawiki-codesniffer from v18.0.0 to v22.0.0 (dev-only).
8608 * Updated psy/psysh from v0.8.11 to v0.9.6 (dev-only).
8610 * Updated CLDRPluralRuleParser from v0.1.0 to v1.3.2-pre.
8611 * Updated jquery from v3.2.1 to v3.3.1.
8612 * Updated jquery.client from v2.0.0 to v2.0.1.
8613 * Updated jquery.i18n from v1.0.4 to v1.0.5.
8614 * Updated mustache.js from v0.8.2-d9aa703 to v1.0.0.
8615 * Updated OOjs from v2.2.0 to v2.2.2.
8616 * Updated qunitjs from v2.4.0 to v2.6.2.
8617 * Updated sinonjs from v1.17.3 to v1.17.7.
8619 ==== Removed external libraries ====
8620 * pear/mail_mime-decode was removed.
8622 === Bug fixes in 1.32 ===
8623 * SpecialPage::execute() will now only call checkLoginSecurityLevel() if
8624   getLoginSecurityLevel() returns non-false.
8625 * (T43720, T46197) Improved page display title handling for category pages
8626 * (T65080) Fixed resetting options of some types via API action=options.
8628 === Action API changes in 1.32 ===
8629 * Added templated parameters.
8630   * A module can define a templated parameter like "{fruit}-quantity", where
8631     the actual parameters recognized correspond to the values of a multi-valued
8632     parameter. Then clients can make requests like
8633     "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
8634   * action=paraminfo will return templated parameter definitions separately
8635     from normal parameters. All parameter definitions now include an "index"
8636     key to allow clients to maintain parameter ordering when merging normal and
8637     templated parameters.
8638 * It is now an error to submit too many values for a multi-valued parameter.
8639   This has generated a warning since MediaWiki 1.14.
8640 * Assertion failures from the 'assert' and 'assertuser' parameters will no
8641   longer use the action module's custom response format, for the few modules
8642   that use custom formatters that handle errors.
8643 * (T198935) User list preferences such as `email-blacklist` and similar
8644   extension preferences are no longer represented as arrays when returned by
8645   action=query&meta=userinfo&uiprop=options.
8646 * 'missingparam' errors will now use the prefixed parameter name in the code
8647   and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
8648   than "nofoo" and "The 'foo' parameter must be set".
8649 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
8650   multi-content revision slots for which content should be returned. It also
8651   has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
8652   warning will be issued if rvprop=content or rvprop=contentmodel are used
8653   without rvslots.
8654 * The rvcontentformat parameter to action=query&prop=revisions has been
8655   deprecated. Clients should be prepared to deal with the default format for
8656   relevant models.
8657 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
8658   rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
8659   rvprop=parsetree is forbidden with the new 'rvslots' parameter.
8660 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
8661   action=query&list=alldeletedrevisions are changed similarly to
8662   &prop=revisions (see the three previous items).
8663 * (T174032) action=compare now supports multi-content revisions.
8664   * It has a 'slots' parameter to select diffing of individual slots. The
8665     default behavior is to return one combined diff.
8666   * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat',
8667     'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters
8668     are deprecated. Specify the new 'fromslots' and 'toslots' to identify which
8669     slots have text supplied and the corresponding templated parameters for
8670     each slot.
8671   * The behavior of 'fromsection' and 'tosection' of extracting one section's
8672     content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}'
8673     instead expand the given text as if for a section edit. This effectively
8674     declines T183823 in favor of T185723.
8675 * (T198214) The 'disabletidy' parameter to action=parse has been
8676   deprecated; untidy output will not be supported by future wikitext
8677   parsers.
8678 * Added intestactionsdetail to action=query&prop=info to allow retrieving the
8679   reasons an action is not allowed.
8680 * Deprecated action=query&prop=info inprop=readable in favor of
8681   intestactions=read.
8682 * (T212356) When using action=delete on pages with many revisions, the module
8683   may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
8684   deletion will be processed via the job queue.
8686 === Action API internal changes in 1.32 ===
8687 * Added 'ApiParseMakeOutputPage' hook.
8688 * Parameter names may no longer contain '{' or '}', as these are now used for
8689   templated parameters.
8690 * (T194950) Added 'ApiMaxLagInfo' hook.
8691 * The following methods now take a RevisionRecord rather than a Revision. No
8692   external callers are known.
8693   * ApiFeedContributions::feedItemAuthor()
8694   * ApiFeedContributions::feedItemDesc()
8695   * ApiQueryRevisionsBase::extractRevisionInfo()
8696 * The following deprecated methods have been removed:
8697   * ApiBase::profileIn() (deprecated in 1.25)
8698   * ApiBase::profileOut() (deprecated in 1.25)
8699   * ApiBase::safeProfileOut() (deprecated in 1.25)
8700   * ApiBase::profileDBIn() (deprecated in 1.25)
8701   * ApiBase::profileDBOut() (deprecated in 1.25)
8702   * ApiBase::dieUsage() (deprecated in 1.29)
8703   * ApiBase::dieUsageMsg() (deprecated in 1.29)
8704   * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
8705   * ApiBase::getErrorFromStatus() (deprecated in 1.29)
8706   * ApiBase::parseMsg() (deprecated in 1.29)
8707   * ApiBase::setWarning() (deprecated in 1.29)
8708   * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
8709   * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
8710   * ApiUsageException::getCodeString() (deprecated in 1.29)
8711   * ApiUsageException::getMessageArray() (deprecated in 1.29)
8712 * Class UsageException, deprecated in 1.29, has been removed.
8713 * ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you
8714   can now easily test $formatter->getFormat() === 'bc', and then call
8715   $formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter.
8717 === Languages updated in 1.32 ===
8718 MediaWiki supports over 350 languages. Many localisations are updated regularly.
8719 Below only new and removed languages are listed, as well as changes to languages
8720 because of Phabricator reports.
8722 * (T193566) Added language support for Ambonese Malay (abs).
8723 * (T194047) Added language support for Shawiya, Latin script (shy-latn).
8724 * (T195940) Added language support for Batak Mandailing (btm).
8725 * (T137491) Added language support for Standard Moroccan Amazigh (zgh).
8726 * (T198132) Added language support for Manipuri (mni).
8727 * (T201276) Added language support for Western Armenian (hyw).
8728 * (T201583) Added language support for Mon (mnw).
8730 === Breaking changes in 1.32 ===
8731 * $wgRequestTime, deprecated in 1.25, was removed. Use
8732   $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
8733 * The MediaWikiI18N class, deprecated in 1.31, was removed.
8734 * QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use
8735   Skin::msg() instead.
8736 * wfInitShellLocale(), deprecated in 1.30, was removed.
8737 * wfShellExecDisabled(), deprecated in 1.30, was removed.
8738 * The type string for the parameter $lang of DateFormatter::getInstance,
8739   deprecated in 1.31, was removed.
8740 * The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use
8741   MediaWiki\Session\Token::SUFFIX instead.
8742 * EditPage::isOouiEnabled() deprecated in 1.30, was removed.
8743 * mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl()
8744   instead.
8745 * (T61113) The following methods and constants from the Revision class, which
8746   were deprecated in 1.25, have now been removed:
8747   * Revision::getRawUser()
8748   * Revision::getRawUserText()
8749   * Revision::getRawComment()
8750 * window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use
8751   mw.msg() or mw.message() instead.
8752 * mw.util.escapeId(), deprecated in 1.30, was removed. Use
8753   mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead.
8754 * mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use
8755   jquery.accessKeyLabel instead.
8756 * The SqlDataUpdate class, deprecated in 1.28, has been removed.
8757 * The Html5Internal and Html5Depurate tidy driver classes were removed, along
8758   with the Balancer tidy implementation. Both implementations were experimental,
8759   and were replaced by RemexHtml.
8760 * (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both
8761   removed. Use JobQueueGroup::singleton()->push() instead.
8762 * The jquery.footHovzer module, for mediawiki.debug, was removed.
8763 * The es5-shim module, empty and deprecated since 1.29, was removed.
8764 * the dom-level2-shim module, empty and deprecated since 1.29, was removed.
8765 * the json module, empty and deprecated since 1.29, was removed.
8766 * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was
8767   removed. Use mediawiki.widgets.visibleLengthLimit instead.
8768 * The jquery.farbtastic module, unused since 1.18, was removed.
8769 * The 'jquery.expandableField' module, unused since 1.22, was removed.
8770 * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide
8771   any HTMLForm object rather than PreferencesForm.
8772 * The non namespaced TimestampException class, deprecated in 1.29, was removed.
8773   Use Wikimedia\Timestamp\TimestampException instead.
8774 * The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence,
8775   utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed.
8776   The UtfNormal\Utils class from the utfnormal library should be used instead.
8777 * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants
8778   from the UtfNormal\Constants class from the utfnormal library should be used
8779 * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
8780   only needed for PHP5 compatibility, have been removed. It now uses the boolean
8781   values `true` and `false` respectively.
8782 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
8783   were removed. Use the ParserCache class instead.
8784 * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
8785   instead.
8786 * Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(),
8787   deprecated since 1.26, was removed. Use getDefinitionSummary() instead.
8788 * (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump"
8789   and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump"
8790   is no longer loaded by default. The Vector and MonoBook skins have made a
8791   minor change to implement the toggle feature with CSS instead. To restore
8792   prior functionality, either explicitly load "jquery.mw-jump" in your skin
8793   or refer to T195256 for details on how to make the same change.
8794 * Hook 'EditPageBeforeEditChecks' was removed;
8795   use 'EditPageGetCheckboxesDefinition' instead.
8796 * Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since
8797   1.28, were removed. LinkRenderer::getLinkClasses() should be used instead.
8798 * Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has
8799   been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode()
8800   instead.
8801 * mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of
8802   CapsuleMultiselectWidget. The following methods may no longer be used:
8803   * setItemsFromData: Use setValue instead
8804   * getItemsData: Use getItems instead and get the data property
8805 * Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
8806   removed.  Use addLink() instead.
8807 * Another two OutputPage methods, setPageTitleActionText() and
8808   getPageTitleActionText(), were removed.  They did nothing since 1.15 (almost
8809   ten years).  Use setHTMLTitle() directly.
8810 * The return value of OutputPage::adaptCdnTTL() has been removed. The
8811   value returned was misleading and probably not what any caller would
8812   have wanted.
8813 * All MagicWord static member variables have been removed.  Use appropriate
8814   hooks or MagicWordFactory methods instead.
8815 * MagicWord::clearCache() has been removed.  Instead, create a new
8816   MagicWordFactory, such as by calling
8817   resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
8818 * mw.util.init() has been removed. This function is not needed anymore and was
8819   a no-op function since 1.30.
8820 * SpecialPageFactory::resetList() is a no-op.  Call overrideMwServices()
8821   instead.
8822 * MediaWiki no longer supports a StartProfiler.php file. Instead, you can set
8823   $wgProfiler and $wgEnableProfileInfo.
8824 * The mw.loader.addSource() is now considered a private method, and no longer
8825   supports the `id, url` signature. Use the `Object` parameter instead.
8826 * The backwards-compatibility code in HTMLForm to add a drop-down control to an
8827   option that is not set to be a drop-down if the "mw-chosen" class is present,
8828   is now removed.
8829 * Several collations were removed. They were workarounds for bugs in the ICU
8830   library and they are no longer needed (as of ICU 57.1):
8831   * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead
8832   * 'xx-uca-et' (CollationEt) - use 'uca-et' instead
8833   * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead
8834 * LanguageCode::bcp47() now always returns a valid BCP 47 code.  This means
8835   that some MediaWiki-specific language codes, such as `simple`, are mapped
8836   into valid BCP 47 codes (eg `en-simple`).
8837 * The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated
8838   in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'.
8839   The ChangesListSpecialPage code for these legacy hooks, and their use in
8840   SpecialRecentchanges.php and SpecialWatchlist, was also removed:
8841   * ChangesListSpecialPage->getCustomFilters()
8842   * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters()
8843   * ChangesListSpecialPage::customFilters
8844 * The global function wfUseMW, deprecated since 1.26, has now been removed. Use
8845   the "requires" property of static extension registration instead.
8846 * $wgSpecialPages no longer accepts array syntax, deprecated since 1.18.
8847 * The MailAddress constructor can no longer be called with a User object,
8848   behaviour which has been deprecated since 1.24.
8849 * LBFactory, deprecated since 1.28, has been removed. Instead, use
8850   Wikimedia\Rdbms\LBFactory.
8851 * The MimeMagic class, deprecated since 1.28 has been removed. Get a
8852   MimeAnalyzer instance from MediaWikiServices instead.
8853 * The '--tidy' option to maintenance/parse.php has been removed.  Tidying
8854   the output is now the default.  Use '--no-tidy' to bypass the tidy
8855   phase.
8856 * The global function wfErrorLog, deprecated since 1.25, has now been removed.
8857   Use MWLoggerLegacyLogger::emit or UDPTransport.
8858 * The hooks 'SpecialRecentChangesQuery' & 'SpecialWatchlistQuery', deprecated in
8859   1.23, were removed. Instead, use ChangesListSpecialPageStructuredFilters or
8860   ChangesListSpecialPageQuery.
8861 * The global function wfUsePHP, deprecated since 1.30, has now been removed. To
8862   assert a newer version of PHP than MediaWiki does, use extension registration.
8863 * The hook 'ChangesListSpecialPageFilters', deprecated in 1.29, has now been
8864   removed. Use the 'ChangesListSpecialPageStructuredFilters' hook instead.
8865 * DeferredUpdates::setImmediateMode(), deprecated since 1.29, has been removed.
8866 * File / MediaHandler::getStreamHeaders(), deprecated since 1.30, was removed.
8867 * The hook 'DoEditSectionLink', deprecated since 1.25, has been removed. Use
8868   the hook 'SkinEditSectionLinks' instead.
8869 * The hook 'UserGetImplicitGroups', deprecated since 1.25, has been removed.
8870 * The global function wfRunHooks, deprecated since 1.25, has now been removed.
8871   Use Hooks::run().
8872 * The hook 'UnknownAction', deprecated since 1.19, has now been removed.
8873 * The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use
8874   the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead.
8875 * The following deprecated API methods have been removed:
8876   * ApiBase::profileIn() (deprecated in 1.25)
8877   * ApiBase::profileOut() (deprecated in 1.25)
8878   * ApiBase::safeProfileOut() (deprecated in 1.25)
8879   * ApiBase::profileDBIn() (deprecated in 1.25)
8880   * ApiBase::profileDBOut() (deprecated in 1.25)
8881   * ApiBase::dieUsage() (deprecated in 1.29)
8882   * ApiBase::dieUsageMsg() (deprecated in 1.29)
8883   * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
8884   * ApiBase::getErrorFromStatus() (deprecated in 1.29)
8885   * ApiBase::parseMsg() (deprecated in 1.29)
8886   * ApiBase::setWarning() (deprecated in 1.29)
8887   * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
8888   * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
8889   * ApiUsageException::getCodeString() (deprecated in 1.29)
8890   * ApiUsageException::getMessageArray() (deprecated in 1.29)
8891 * Class UsageException, deprecated in 1.29, has been removed.
8892 * MediaWiki no longer has a 'JavaScript-powered' wikitext toolbar built in. The
8893   old "bulletin board style toolbar", known as "the 2006 wikitext editor", has
8894   been removed, and instead sysadmins will be required to choose one (or more)
8895   of the several extensions available for this purpose if they need the
8896   functionality. The MediaWiki "tarball" releases have included the replacement
8897   extension for this, the WikiEditor extension aka "the 2010 wikitext editor",
8898   for many years now. As part of this, several parts of MediaWiki have been
8899   removed or simplified:
8900   * The user option 'showtoolbar' (shown as "Show edit toolbar") is no longer
8901     available; if an extension adds a toolbar via the EditPageBeforeEditToolbar
8902     hook, it will be shown; extensions should provide a specific user preference
8903     to disable themselves as needed.
8904   * The public methods Language::getImageFile() and ::getImageFiles(), and the
8905     related specification of $imageFiles within individual languages' code file,
8906     as well as the referenced static media assets, all of which were only used
8907     inside MediaWiki itself for providing the icons for the old toolbar, have
8908     been removed without explicit deprecation.
8909   * The internal ResourceLoader module "mediawiki.toolbar", which is unused
8910     except by MediaWiki itself and back-compatibility code, has been removed.
8911   * The internal ResourceLoaderEditToolbarModule class has been removed.
8913 === Deprecations in 1.32 ===
8914 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
8915   button is already marked as progressive.
8916 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
8917   has been centralised to Skin::getDefaultModules(), which is now capable
8918   of queueing style modules as well.
8919 * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are
8920   deprecated. Use addModules() instead.
8921 * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle}
8922   in extending classes is deprecated.  Extend related doSearch* methods
8923   instead.
8924 * The following 'mediawiki.api' plugin modules were merged into mediawiki.api
8925   and deprecated: mediawiki.api.category, mediawiki.api.edit,
8926   mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
8927   mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
8928   mediawiki.api.messages, and mediawiki.api.rollback.
8929 * ApiBase::truncateArray() is deprecated. No replacement, as nothing is known
8930   to use it.
8931 * WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken
8932   with the 'unwatch' action parameter instead.
8933 * IcuCollation::getICUVersion() is deprecated, as you can just use the PHP
8934   constant INTL_ICU_VERSION directly in all versions that MediaWiki supports.
8935 * Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead.
8936 * The ApiQueryContributions class has been renamed to ApiQueryUserContribs.
8937 * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor
8938   of the namespaced classes provided by the wikimedia/xmp-reader library.
8939 * SearchResultSet::{next,rewind} are deprecated. Calling code should
8940   use foreach on the SearchResultSet, or the extractResults method. Extending
8941   code should override extractResults.
8942 * Instantiating SearchResultSet directly is deprecated. SearchEngine
8943   implementations must subclass SearchResultSet for their purposes.
8944 * SearchResult::setExtensionData argument has been changed from accepting an
8945   array to accepting a Closure that returns the array when called.
8946 * Class CryptRand, everything in MWCryptRand except generateHex() and function
8947   MediaWikiServices::getInstance()->getCryptRand() are deprecated, use
8948   random_bytes() to generate cryptographically secure random byte sequences.
8949 * Parser::getConverterLanguage() is deprecated.  Use ::getTargetLanguage()
8950   instead.
8951 * Language::markNoConversion() is deprecated.  It confused readers because
8952   it had unexpected behavior (only marking text if it looked like a URL)
8953   and was only used in a single place in the code.  Use
8954   LanguageConverter::markNoConversion() instead.
8955 * (T197492) Language::truncate() was soft deprecated in 1.31 and is
8956   hard deprecated in this release.  It has been split into two similar
8957   methods, Language::truncateForVisual() and Language::truncateForDatabase(),
8958   which measure length in characters and bytes, respectively.  Use
8959   Language::truncateForVisual() when possible to provide equity to users
8960   of multibyte scripts.
8961 * (T176526) EditPage::getContextTitle() falling back to $wgTitle when the
8962   context title is unset is now deprecated; anything creating an EditPage
8963   instance should set the context title via ::setContextTitle().
8964 * The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated.
8965 * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules()
8966   are deprecated. These concepts are obsolete and have no replacement.
8967 * String type for $lang of DifferenceEngine::setTextLanguage is deprecated.
8968 * The following methods of OutputPage are now deprecated in favour
8969   of using showFatalError directly: OutputPage::showFileDeleteError()
8970   OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError()
8971   OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError().
8972 * The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer
8973   classes are now deprecated. Use a Closure instead.
8974 * (T194263) ContentHandler::makeParserOptions() is deprecated. Use
8975   WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
8976 * (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in
8977   MediaWiki 1.26,  is now hard-deprecated. All known clients were converted to
8978   the Parsoid v3 API in May 2015.
8979 * $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use
8980   $formDescriptor instead.
8981 * SearchEngine::transformSearchTerm( $term ) should no longer be called prior
8982   to running searchText. This method was mainly implemented to support the
8983   'prefix' URI param in SpecialSearch, but there are no reasons to expose this
8984   logic as it should be handled internally by SearchEngine implementations
8985   supporting this feature. SearchEngine implementations should no longer
8986   override this methods.
8987 * SearchEngine::replacePrefixes( $query ) should no longer be called prior
8988   to running searchText/searchTitle.
8989 * (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
8990   'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
8991 * Global functions  wfArrayFilter() and wfArrayFilterByKey() are deprecated.
8992   use array_filter() directly.
8993 * The $wgShowSQLErrors global is deprecated and nonfunctional.
8994   Set $wgShowExceptionDetails and/or $wgShowHostnames instead.
8995 * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional.
8996   Set $wgShowExceptionDetails instead.
8997 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
8998   mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
8999   mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() /
9000   getOldRevision() / getNewRevision() for the first four (note that the
9001   revision ones return a RevisionRecord, not a Revision), do your own lookup
9002   for page/content.
9003 * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
9004   just enable the PHP extension, and it will be autodetected.
9005 * (T194731) DifferenceEngine properties mOldContent and mNewContent and methods
9006   setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff()
9007   are deprecated. To interact with a single slot, use a SlotDiffRenderer (and
9008   subclass it to customize diff rendering); to diff custom (e.g. unsaved)
9009   content, use setRevisions(). Subclassing DifferenceEngine should only be done
9010   to customize page-level diff properties (such as the navigation header).
9011 * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
9012 * All MagicWord static methods are now deprecated.  Use the MagicWordFactory
9013   methods instead.
9014 * PasswordFactory::init is deprecated. To get a password factory with the
9015   standard configuration, use
9016   MediaWikiServices::getInstance()->getPasswordFactory.
9017 * $wgContLang is deprecated, use
9018   MediaWikiServices::getInstance()->getContentLanguage() instead.
9019 * $wgParser is deprecated, use MediaWikiServices::getInstance()->getParser()
9020   instead.
9021 * wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance()
9022   instead.
9023 * wfGetCache() is deprecated, use ObjectCache::getInstance() instead.
9024 * All SpecialPageFactory static methods are deprecated. Instead, call the
9025   methods on a SpecialPageFactory instance, which may be obtained from
9026   MediaWikiServices.
9027 * mw.user.stickyRandomId was renamed to the more explicit
9028   mw.user.getPageviewToken to better capture its function.
9029 * Passing Revision objects to ContentHandler::getUndoContent() is deprecated,
9030   Content object should be passed instead.
9031 * (T197179) Parameters 'notice', 'notice-messages', 'notice-message',
9032   previously used by OOUI HTMLForm fields, are now deprecated. Use
9033   'help', 'help-message', 'help-messages' instead.
9034 * (T197179) HTMLFormField::getNotices() is now deprecated.
9035 * The jquery.localize module is now deprecated. Use jquery.i18n instead.
9036 * The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates,
9037   or overriding ContentHandler::getSecondaryDataUpdates (T194038).
9038 * The WikiPageDeletionUpdates hook was deprecated in favor of
9039   PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates
9040   (T194038).
9041 * Content::getSecondaryDataUpdates has been deprecated in favor of
9042   ContentHandler::getSecondaryDataUpdates() for overriding by extensions
9043   (T194038).
9044   Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
9045 * Content::getDeletionUpdates has been deprecated in favor of
9046   ContentHandler::getDeletionUpdates() for overriding by extensions (T194038).
9047   Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
9048 * (T198214) Old Tidy-related configuration settings, which were soft-deprecated
9049   in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy,
9050   $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use
9051   $wgTidyConfig instead.
9052 * All Tidy configurations other than Remex have been hard deprecated;
9053   future parsers will not emit compatible output for these configurations.
9054   In particular, running MediaWiki with tidy disabled has been deprecated.
9055 * (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(),
9056   and OutputPage::addWikiTextTitle() have been deprecated, since they
9057   can result in untidy output.  In addition OutputPage::addWikiTextTidy()
9058   and OutputPage::addWikiTextTitleTidy() was deprecated to make naming new
9059   methods consistent.  Use OutputPage::addWikiTextAsInterface() or
9060   OutputPage::addWikiTextAsContent() instead, which ensures the output is
9061   tidy and clarifies whether content-language specific postprocessing should
9062   be done on the text.
9063 * OutputPage::parse() and OutputPage::parseInline() have been deprecated
9064   due to untidy output and inconsistent handling of wrapper divs and
9065   interface/content language defaults.  Use OutputPage::parseAsContent(),
9066   OutputPage::parseAsInterface(), or OutputPage::parseInlineAsInterface()
9067   as appropriate.
9068 * QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated
9069   as they promote bad practises. I18n messages should always be properly
9070   escaped.
9071 * Skin::getDynamicStylesheetQuery() has been deprecated. It always
9072   returns action=raw&ctype=text/css which callers should use directly.
9073 * Class LegacyFormatter is deprecated.
9074 * Use of CommentStore::insertWithTempTable() with 'img_description' is
9075   deprecated. Use CommentStore::insert() instead.
9076 * Language::setCode is deprecated as public function. Use Language::factory
9077   to create a new Language object with a different language code.
9078 * Several classes have been moved from the MediaWiki\Storage\ namespace to the
9079   MediaWiki\Revision\ namespace. The old class names are aliased for
9080   compatibility, but are deprecated. Classes are IncompleteRevisionException,
9081   MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
9082   RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
9083   RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
9084   SuppressedDataException.
9085 * When using OOUI HTMLForm containing an 'info' field which uses the 'rawrow'
9086   option, it is now deprecated to give its contents (the 'default' option)
9087   as a string. They should be given as a OOUI\FieldLayout object instead.
9088   Notably, this affects fields defined in the 'GetPreferences' hook, because
9089   Special:Preferences uses an OOUI form now. (If possible, don't use 'rawrow'.)
9090 * In Skin::doEditSectionLink omitting the parameters $tooltip and $lang is
9091   deprecated. For the $lang parameter, types other than Language are
9092   deprecated.
9093 * The $wgUseKeyHeader configuration option and the
9094   OutputPage::getKeyHeader() method have been deprecated; the relevant
9095   draft IETF spec expired without becoming a standard.
9096 * Deprecated API action=query&prop=info inprop=readable in favor of
9097   intestactions=read.
9099 === Other changes in 1.32 ===
9100 * (T198811) The following tables have had their UNIQUE indexes turned into
9101   proper PRIMARY KEYs for increased maintainability: interwiki, page_props,
9102   protected_titles and site_identifiers.
9103 * OOUI HTMLForm will now display help text inline after the input field,
9104   rather than in a popup. Previous behavior can be restored by using
9105   `'help-inline' => false`.
9106 * The archive table's ar_rev_id field is now unique.
9107 * Special:BotPasswords now requires reauthentication.
9108 * (T174023) Multi-Content Revision (MCR) capabilities were introduced into the
9109   storage layer and have basic support for display. No user interface exists
9110   yet for creating or managing content in slots beides the main slot. See
9111   <https://www.mediawiki.org/wiki/Multi-Content_Revisions> for more
9112   information.
9113 * The image_comment_temp database table has been removed. Since all access
9114   should be mediated by the CommentStore class, this change shouldn't affect
9115   external code.
9116 * (T206147) Database::close() will no longer commit any open transactions.
9117 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
9118   recentchanges.rc_cur_time from the PostgreSQL schema.
9120 = MediaWiki 1.31 =
9122 == MediaWiki 1.31.16 ==
9124 This is a security and maintenance release of the MediaWiki 1.31 branch.
9126 This is intended to be the final release of the MediaWiki 1.31 branch,
9127 and as such, 1.31 is now considered End of Life.
9129 === Changes since MediaWiki 1.31.15 ===
9130 * (T283273) Make postgres IRC channel point to libera.chat.
9131 * (T289108) ExtensionProcessor: Remove loaderScripts from
9132   extension.json schemas.
9133 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in
9134   Special:Search.
9135 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
9136   table scan.
9137 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
9138   Special:Contributions.
9140 == MediaWiki 1.31.15 ==
9142 This is a security and maintenance release of the MediaWiki 1.31 branch.
9144 === Changes since MediaWiki 1.31.14 ===
9145 * (T270988) Fixup issues in SpecialChangeContentModel.php.
9146 * (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER.
9147 * (T276945) Define a batch size in maintenance/manageJobs.php.
9148 * (T276945) Implement JobQueueDB::getAllAbandonedJobs.
9149 * (T281549) WebInstaller: Don't show the announce-l subscribe
9150   checkbox temporarily.
9151 * (T283247) Freenode -> Libera per wikimedia moving from
9152   freenode to libera.
9153 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from
9154   purging pages.
9156 == MediaWiki 1.31.14 ==
9158 This is a maintenance release of the MediaWiki 1.31 branch.
9160 === Changes since MediaWiki 1.31.13 ===
9161 * Make Title implement IDBAccessObject.
9163 == MediaWiki 1.31.13 ==
9165 This is a security and maintenance release of the MediaWiki 1.31 branch.
9167 === Changes since MediaWiki 1.31.12 ===
9168 * (T115436) resourceloader: CSSMin::getLocalFileReferences now strips
9169   anchors.
9170 * Updating php-parallel-lint/php-parallel-lint (0.9.2 => 1.0.0).
9171 * Updating mediawiki/codesniffer (19.1.0 => 19.4.0).
9172 * DefaultSettings.php: Update $wgPingback documentation.
9173 * PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0.
9174 * (T275261) Escape wikitext in the title in invalid title error messages.
9175 * (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access
9176   Special:ResetTokens.
9177 * pageExist.php: Output trailing newlines.
9178 * (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages
9179   on ChangesList pages.
9180 * (T277414) HTMLFormField: Use non namespaced class name rather than
9181   static::class.
9182 * (T268230) Switch to new MediaWiki logo by Serhio Magpie.
9183 * (T271735) Expand config-pingback-help, link to privacy policy in
9184   config-pingback.
9185 * Fix documentation of user-global in $wgRateLimits.
9186 * BackupDumper: Add -o as shortcode for --output.
9187 * (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-*
9188   messages on Special:NewFiles.
9189 * (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection
9190   they have right to do so via action=protect.
9191 * (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in
9192   fast double move.
9193 * (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user
9194   can create pages.
9195 * (T276843, CVE-2021-20270, CVE-2021-27291) SECURITY:
9196   SyntaxHighlight_GeSHi: Various lexers have been disabled due to DoS
9197   vectors.
9199 == MediaWiki 1.31.12 ==
9201 This is a maintenance release of the MediaWiki 1.31 branch.
9203 === Changes since MediaWiki 1.31.11 ===
9204 * Fixed issues relating to User::isRegistered() not existing in 1.31.
9206 == MediaWiki 1.31.11 ==
9208 This is a security and maintenance release of the MediaWiki 1.31 branch.
9210 === Changes since MediaWiki 1.31.10 ===
9211 * Fix undefined $wgRedirectOnLogin.
9212 * (T251661, T265313) CentralIdLookup::factoryNonLocal can return null.
9213 * (T263592) media: Fix case of FlashPixVersion in
9214   FormatMetadata::makeFormattedData().
9215 * (T265223) BaseTemplate: Guard against passing zero arg to array_merge().
9216 * (T266418) composer.json: add requirement for composer-plugin-api ^1.1.
9217 * (T260631, T260633), BotPassword::save() now returns a Status object for the
9218   result rather than a bool. The length of the bot password grants and
9219   restriction fields are now validated, and an error will be thrown if it
9220   would be truncated by the database.
9221 * (T264536, T233012) SectionProfiler: Do not attempt to use null values as
9222   arrays.
9223 * (T269178) MemcachedClient: Cast Resource to integer.
9224 * (T268917, CVE-2020-35475) SECURITY: Use Xml::element in SpecialUserrights for
9225   sanity.
9226 * (T268938, CVE-2020-35479) SECURITY: BlockLogFormatter can output raw html.
9227 * (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log entries
9228   when MediaWiki:Mainpage uses Special:MyLanguage.
9229 * (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions and
9230   user pages of hidden users and missing users.
9232 == MediaWiki 1.31.10 ==
9234 This is a maintenance release of the MediaWiki 1.31 branch.
9236 === Changes since MediaWiki 1.31.9 ===
9237 * Fixed issues relating to backporting of changes for T260485.
9239 == MediaWiki 1.31.9 ==
9241 This is a security and maintenance release of the MediaWiki 1.31 branch.
9243 === Changes since MediaWiki 1.31.8 ===
9244 * In the web installer, use secure session cookies.
9245 * (T257207) shell: Expand documentation in firejail.profile.
9246 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional
9247   and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
9248   recommend this be set to true on pure HTTPS wikis.
9249 * Added $wgCookieSameSite, which allows login cookies to be sent with
9250   SameSite=None. This is required for cross-site CentralAuth autologin after
9251   Chrome 84.
9252 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to
9253   SameSite=None cookies for browsers which implemented an incompatible draft
9254   version of the specification.
9255 * (T191537) Disable WebResponse setters for post-send processing.
9256 * (T198525) WebReponse: Use values altered in 'WebResponseSetCookie' hook.
9257 * Fix runBatchedQuery.php for no result from select.
9258 * (T130906) Add Edge to MediaWiki:Clearyourcache.
9259 * Use IPset in MWRestrictions::checkIP.
9260 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
9261 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
9262 * (T183759) Fixes shell edge-cases in Windows.
9263 * (T258390) Add CentralIdLookup::factoryNonLocal().
9264 * (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate
9265   limits.
9266 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate
9267   limit type.
9268 * (T246991) User: enforce pingLimiter() expiry time.
9269 * (T260232) don't include null page ids in query list for category dumps.
9270 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
9271 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
9272 * (T263455 T247285) Set EnableJavaScriptTest to true in
9273   includes/DevelopmentSettings.php.
9274 * (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence
9275   of hidden users.
9276 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
9277   firejail's --output functionality.
9278 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
9279   'style' attribute.
9280 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
9281   mw.message( ... ).parse().
9282 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
9283   database.
9284 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
9286 == MediaWiki 1.31.8 ==
9288 This is a security and maintenance release of the MediaWiki 1.31 branch.
9290 === Changes since MediaWiki 1.31.7 ===
9291 * (T199809) Don't invalidate BotPasswords if a password reset email is sent.
9292 * (T247017) PasswordReset performance improvements.
9293 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
9294   7.3.17.
9295 * Remove some rotten and out of date documentation.
9296 * (T252311) Improvements to some older SQLite update patches.
9297 * (T240307) Minor fixes to extension.schema.v2.json and
9298   extension.schema.v1.json.
9299 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
9300   rebuildrecentchanges.php.
9301 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
9302 * (T206476) Call ob_start() before running tests.
9303 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
9304   setting $wgPoolCounterConf['SpecialContributions'] appropriately.
9305 * (T248947) SECURITY: img_auth.php may leak private extension images into the
9306   public cache.
9308 == MediaWiki 1.31.7 ==
9310 This is a security and maintenance release of the MediaWiki 1.31 branch.
9312 === Changes since MediaWiki 1.31.6 ===
9313 * (T193565, T234022) Re-add DB domain sanity checks to LoadBalancer.
9314 * Use proper SemVer comparison in CheckComposerLockUpToDate.
9315 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
9316 * Update comment about PHP versions supported by The PHP Group.
9317 * (T247215) Fix output of RecountCategories::doWork().
9318 * Add check for page existence to view.php maintenance script.
9319 * (T247580) Disable some broken Selenium tests.
9320 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
9321 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
9322   any CSS selector.
9324 == MediaWiki 1.31.6 ==
9326 This is a security and maintenance release of the MediaWiki 1.31 branch.
9328 === Changes since MediaWiki 1.31.5 ===
9329 * (T181658) Do not insert page titles into querycache.qc_value.
9330 * (T206013) Suppress errors when reading invalid XML file properties.
9331 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
9332 * Use correct value for 'sslmode' in DatabasePostgres.
9333 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
9334 * (T227461) Stop calling deprecated Redis delete functions.
9335 * (T239561) Mark options as requiring parameters in addSite.php.
9336 * (T239734) Replace deprecated lSize with lLen in Redis code.
9337 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
9338 * (T239428) ApiEditPage: Test for bad redirect targets.
9339 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
9340   'trace'.
9341 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
9342 * (T212067) Work around PHP bug in parse_url.
9344 == MediaWiki 1.31.5 ==
9346 This is a maintenance release of the MediaWiki 1.31 branch.
9348 === Changes since MediaWiki 1.31.4 ===
9349 * Fix extra newlines in installer.
9350 * Followup T230402, PermissionManager doesn't exist until 1.33, so fix the
9351   backported patches to use User::isAllowed() instead.
9353 == MediaWiki 1.31.4 ==
9355 This is a security and maintenance release of the MediaWiki 1.31 branch.
9357 === Changes since MediaWiki 1.31.3 ===
9358 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
9359 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
9360   of headers in private wikis.
9361 * (T230402) SECURITY: Add permission check for suppressed account to
9362   Special:Redirect.
9363 * Add helper for HTTPFileStreamer header syntax.
9364 * (T118799) Fix XMP parser errors due to trailing nullchar.
9365 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
9366 * (T202183) Give more specific error messages on Special:Redirect.
9367 * Cache redirects from Special:Redirect.
9368 * (T231386) dispatchUser() should use a 302 http status code.
9369 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
9370   separate files to help allieviate potential migration problems.
9371 * Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database
9372   updates.
9374 == MediaWiki 1.31.3 ==
9376 This is a maintenance release of the MediaWiki 1.31 branch.
9378 === Changes since MediaWiki 1.31.2 ===
9379 * (T225558) Update installer link to PHP intl.
9380 * (T225496) Detect APC for MainCacheType in CLI installer.
9381 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies.
9382 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
9384 == MediaWiki 1.31.2 ==
9386 This is a security and maintenance release of the MediaWiki 1.31 branch.
9388 Required PHP version has been increased from 7.0.0 to 7.0.13.
9390 === Changes since MediaWiki 1.31.1 ===
9391 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
9392   all titles when asked for none.
9393 * (T205967) Fix syntax error typo in postgres database upgrade file.
9394 * (T200254) Add pear/Net_SMTP 1.7.3 to composer dependencies.
9395 * (T206765) Load installer i18n when running update.php.
9396 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
9397   libraries.
9398   [Also in the bundled composer /vendor directory.]
9399 * Various PHP 7.2 and 7.3 compatibility fixes:
9400   * (T200595, T206974) Fix PHP 7.3 warnings of using "continue" in some
9401     scenarios instead of "break".
9402     * (T206976, T206977) Also in the bundled LocalisationUpdate and
9403       ParserFunctions extensions.
9404   * (T206979) Fix PHP 7.3 warnings of using "compact()" when some variables may
9405     not be set.
9406   * (T215632) FormatMetadata and UploadStash regexes fixed to be PHP
9407     7.3-compatible.
9408   * Fix PHP warnings "preg_replace(): [...] invalid range in character class.
9409   * Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable.
9410   * Suppress "Headers already sent" in PHP 7.2 too.
9411   * (T206476) Output only to stderr in unit tests.
9412   * (T207112) Add session_write_close() calls to SessionManager tests.
9413   * oyejorge/less.php replaced with our fork wikimedia/less.php
9414   * (T209756) Updated wikimedia/ip-set from 1.2.0 to 1.3.0.
9415   * (T213489) Avoid session double-start in Setup.php.
9416   * (T206975) Switch to our fork of less.php.
9417 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
9418 * (T201781) Database: Allow selectFieldValues() to accept SQL fragments.
9419 * (T205765) installer: Don't link to the obsolete "Extension Matrix" page.
9420 * (T206013) Update ImportableUploadRevisionImporter for interwiki usernames.
9421 * (T207541) Pass an email address, not a MailAddress, to mail().
9422 * (T207603) SECURITY: User JS may no longer be loaded with mime type
9423   text/javascript if there is no account associated with the username.
9424 * (T112937, T113042) SECURITY: Do not allow loading pages raw with a
9425   text/javascript MIME
9426   type if non-admins can edit the page.
9427 * (T17491) <ins>/<del> elements can be phrasing or flow.
9428 * (T200827) RemexCompatMunger: Don't call endTag() in case B/b
9429 * (T207088) Upgrade wikimedia/remex-html to 2.0.1.
9430   [Also in the bundled composer /vendor directory.]
9431 * (T194052) Updated wikimedia/base-convert from 1.0.1 to 2.0.0.
9432   [Also in the bundled composer /vendor directory.]
9433 * (T199494) Fix notices in maintenance/removeUnusuedAccounts.php.
9434 * Require ext-fileinfo in composer.json, per PHPVersionCheck.
9435 * (T176390) Bundled LocalisationUpdate extension: Handle exceptions from
9436   GitHubFetcher.
9437 * (T208255) Completion search should not change the search query.
9438 * (T209870) Fix SQL syntax error in MS-SQL initialisation file for new wikis.
9439 * (T185049) LogFormatter: Fail softer when trying to link an invalid titles.
9440 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
9441   if --lang is used with the command-line installer (install.php).
9442 * (T211061) ImageListPager: Actor migration for buildQueryConds().
9443 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
9444 * Fix addition of ug_expiry column to user_groups table on MSSQL.
9445 * (T204767) Add join conditions to ActiveUsersPager.
9446 * (T210621) User: Bypass repeatable-read when creating an actor_id.
9447 * (T204531) rdbms: reduce LoadBalancer replication log spam.
9448 * (T195525) Fix db error outage page.
9449 * (T208871) The hard-coded Google search form on the database error page was
9450   removed.
9451 * (T176097) Fix flaky MessageBlobStoreTest assertion failures.
9452 * (T209423) Update required PHP version to 7.0.13.
9453 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
9454   has been started.
9455 * (T216968) Return pageid as int in both list=iwbacklinks and
9456   list=langbacklinks.
9457 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
9458 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
9459 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
9460 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
9461   $wgBlockDisablesLogin is true.
9462 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
9463   a non-Latin name on a page with non-Latin characters in title.
9464 * (T219728) Added support for new Japanese era name "Reiwa".
9465 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
9466   token.
9467 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
9468 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
9469   saveFileDependencies().
9470 * (T224374) Fix message parameters so that the message that says SQLite is out
9471   of date makes sense.
9472 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
9473   reauthenticating.
9474 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
9475   getLoginSecurityLevel() returns non-false.
9476 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
9477 * (T208881) SECURITY: blacklist CSS var().
9478 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
9479 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
9480 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
9481 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
9482   view the log type.
9483 * (T221739) SECURITY: resources: Patch jQuery 3.2.1 for CVE-2019-11358.
9485 == MediaWiki 1.31.1 ==
9487 This is a security and maintenance release of the MediaWiki 1.31 branch.
9489 === Changes since MediaWiki 1.31.0 ===
9490 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
9491   'newbie'.
9492 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
9493   account lock.
9494 * (T199029, CVE-2018-13258) SECURITY: Tarball was missing .htaccess files.
9495 * (T197229) Bundle Nuke extension, it was accidentally omitted.
9496 * (T193995) Fix undefined patchPath() method call in parser tests.
9497 * (T198687) Fix various selectFields methods to use the string 'NULL', not null.
9498 * Special:BotPasswords now requires reauthentication.
9499 * (T191608, T187638) Add 'logid' parameter to Special:Log.
9500 * (T193829) Indicate when a Bot Password needs reset.
9501 * (T198037) GitInfo: Don't try shelling out if it's disabled.
9502 * (T151415) Log email changes.
9503 * (T197206) Fix performance regression when multiple DB used without caching.
9504 * (T197030) PHPSessionHandler: Suppress headers warnings in initialize().
9505 * (T182377, T196793) Exif: Guard against uncountable tag values.
9506 * (T200861) Fix total breakage of SQLite web upgrade.
9507 * (T200864) Fix pingback over-reporting on non-MySQL databases
9508 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
9509   hooks.
9511 == MediaWiki 1.31.0 ==
9513 === Changes since MediaWiki 1.31.0-rc.2 ===
9514 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
9515 * (T196092) Hide MySQL binary/utf-8 charset option in the installer.
9516 * (T196185) Don't allow setting $wgDBmysql5 in the installer.
9517 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
9518 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
9519 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
9520   hook.
9521 * (T196672) The mtime of extension.json files is now able to be zero
9522 * (T180403) Validate $length in padleft/padright parser functions.
9523 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
9525 === Changes since MediaWiki 1.31.0-rc.0 ===
9526 * (T33223) Drop archive.ar_text and ar_flags.
9527 * Add default edit rate limit of 90 edits/minute for all users.
9528 * (T187645) Use codepoint as tiebreaker when getting first-letters in
9529   IcuCollation.
9530 * (T191947) Don't shell during the installer if shelling out is disabled.
9531 * (T194319) Improve duplicate config setting exception as part of extension
9532   registration.
9533 * (T195211) Don't require trailing slash in PSR-4 autoloader directory.
9534 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
9535 * Do not incorrectly hide namespace input field in the installer.
9536 * (T186456) Refactor checks looking for PEAR maik libraries to be clearer.
9538 === Important pre-upgrade notes for 1.31 ===
9539 * If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply
9540   schema changes, and cannot have downtime to run migrateArchiveText.php and
9541   apply patch-drop-ar_text.sql manually, you'll have to apply a default value
9542   to the ar_text and ar_flags columns of the archive table or make those
9543   columns nullable before upgrading to MediaWiki 1.31.
9544   maintenance/archives/patch-nullable-ar_text.sql shows how to do this for
9545   MySQL.
9547 === Configuration changes in 1.31 ===
9548 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
9549   a future version. The API is now considered to be stable, secure and
9550   essential.
9551 * $wgUsejQueryThree was removed, as it is now the default. This was documented
9552   as a temporary variable during the migration period, deprecated since 1.29.
9553 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
9554   possible for fallback images such as png.
9555 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not
9556   have the right to mark things patrolled.
9557 * Wikis that contain imported revisions or CentralAuth global blocks should run
9558   maintenance/cleanupUsersWithNoId.php.
9559 * The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and
9560   $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
9561 * (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that
9562   are not using the latest version of the Referrer Policy specification.
9563 * $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a
9564   first step of migration to human-readable section IDs that will later result
9565   in 'html5' being the default mode.
9566 * CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed
9567   as upstream is inactive and has no plans to move to PHP 7.
9568 * The old CategorizedRecentChanges feature, including its related configuration
9569   option $wgAllowCategorizedRecentChanges, has been removed.
9570 * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported
9571   for performance reasons, and installations with this setting will now work as
9572   if it was configured with 'any'.
9573 * (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input,
9574   rather than being off by default. If you wish to disable HTML tidying
9575   entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated
9576   Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
9577 * $wgLogAutopatrol now defaults to false instead of true.
9578 * $wgValidateAllHtml was removed and will be ignored.
9579 * $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the
9580   1.25 release notes for more information.
9581 * $wgUseAjax is now marked as deprecated, just like the deprecated AJAX
9582   framework that it enables. Some extensions mistakenly used this to check
9583   whether any AJAX functionality at all should be enabled, further making this
9584   problematic to retain.
9585 * $wgDBmysql5 is now deprecated, and will be removed in a future version. It
9586   has been marked as experimental ever since it was introduced.
9588 === New features in 1.31 ===
9589 * (T76554) User sub-pages named ….json are now protected in the same way that
9590   ….js and ….css pages are, so that configuration options can safely be placed
9591   there.
9592 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins
9593   with parentheses for grouping.
9594 * As a first pass in standardizing dialog boxes across the MediaWiki product,
9595   Html class now provides helper methods for messageBox, successBox, errorBox
9596   and warningBox generation.
9597 * (T9240) Imports will now record unknown (and, optionally, known) usernames in
9598   a format like "iw>Example".
9599 * (T20209) Linker (used on history pages, log pages, and so on) will display
9600   usernames formed like "iw>Example" as interwiki links, as if by wikitext like
9601   [[iw:User:Example|iw>Example]].
9602 * (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create
9603   users during an import.
9604 * Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect
9605   the ParserOutput::getText() post-cache transformations.
9606 * Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the
9607   initial page text for file uploads.
9608 * (T181651) The info page for File pages now displays the file's base-16 SHA1
9609   hash value in the table of basic information.
9610 * Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a
9611   ParserOutput::getText() post-cache transformation. This may be disabled by
9612   passing 'deduplicateStyles' => false to that method.
9613 * The identity of the logged-in or IP "actor" for logged actions is being moved
9614   into a new actor table, with the rows in tables such as revision and logging
9615   referring to the actor ID instead of storing the user ID and name/IP in
9616   every row.
9617   * This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis
9618     can set this to MIGRATION_NEW and run maintenance/migrateActors.php as
9619     soon as any necessary extensions are updated.
9620   * Most code accessing rows for logged actions from the database should use
9621     the relevant getQueryInfo() methods to get the information needed to build
9622     the SQL query. The ActorMigration class may also be used to get feature
9623     -flagged information needed to access actor-related fields during the
9624     migration period.
9625 * Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic
9626   section without having to roll back the whole transaction.
9627 * Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(),
9628   and non-MySQL ::replace() and ::upsert() no longer roll back the whole
9629   transaction on failure.
9630 * (T189785) Added a monthly heartbeat ping to the pingback feature.
9631 * The CLI installer (maintenance/install.php) learned to detect and include
9632   extensions. Pass --with-extensions to enable that feature.
9633 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
9634   "1" for manually patrolled and "2" for autopatrolled actions.
9635 * Extensions can now set their type to "editor" if they provide an editor or
9636   enhance the editing experience.
9637 * Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces"
9638   property in extension.json. See the documentation at
9639   <https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
9640   for more details and an example.
9641 * (T19099) Tabs which link to pages that don't exist (like those to uncreated
9642   discussion pages) now have a tooltip to indicate state, not just colour.
9644 === External library changes in 1.31 ===
9645 * pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
9646   suggested to required. These packages now must be installed via composer
9647   and not via PEAR itself.
9649 ==== Upgraded external libraries ====
9650 * Updated jquery.chosen from v0.9.14 to v1.8.2.
9651 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
9652 * Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency).
9653 * Updated wikimedia/ip-set from 1.1.0 to 1.2.0.
9654 * Updated wikimedia/relpath from 2.0.0 to 2.1.1.
9655 * Updated wikimedia/running-stat from 1.1.0 to 1.2.0.
9656 * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0.
9657 * Updated mediawiki/at-ease from 1.1.0 to 1.2.0.
9658 * Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6.
9659 * Updated wikimedia/remex-html from 1.0.2 to 1.0.3.
9660 * Updated wikimedia/html-formatter from 1.0.1 to 1.0.2.
9662 ==== New external libraries ====
9663 * Added wikimedia/object-factory 1.0.0
9665 ==== Removed and replaced external libraries ====
9666 * (T17845) The deprecated 'jquery.badge' module was removed.
9667 * The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS
9668   text-overflow property instead.
9669 * The deprecated 'jquery.placeholder' module was removed.
9670 * The deprecated 'jquery.appear' module was removed. Use the
9671   'mediawiki.viewport' module instead.
9672 * mediawiki/at-ease was replaced with wikimedia/at-ease.
9674 === Bug fixes in 1.31 ===
9675 * (T90902) Non-breaking space in header ID breaks anchor.
9676 * (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a
9677   space.
9678 * (T2087, T10897, T87753, T174639) Whitespace created by category and language
9679   links is now stripped rather than leaving blank lines in odd places.
9680 * (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
9681 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
9683 === Action API changes in 1.31 ===
9684 * (T185058) The 'name' value to tgprop for action=query&list=tags has been
9685   removed. It has never made a difference in the output, the name was always
9686   returned regardless.
9687 * The 'watch' and 'unwatch' parameters for action=move have been removed. They
9688   were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use
9689   'watchlist' instead.
9691 === Action API internal changes in 1.31 ===
9692 * ApiBase::getProfileDBTime, deprecated since 1.25, was removed.
9693 * ApiBase::getModuleProfileName, deprecated since 1.25, was removed.
9694 * ApiBase::getProfileTime, deprecated since 1.25, was removed.
9696 === Languages updated in 1.31 ===
9697 MediaWiki supports over 350 languages. Many localisations are updated
9698 regularly. Below only new and removed languages are listed, as well as
9699 changes to languages because of Phabricator reports.
9701 * (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
9702 * (T182305) New language support: Nyungar (nys).
9703 * (T186359) New language support: Siberian Tatar [себертатар] (sty).
9704 * (T186635) New language support: Guianan Creole (gcr).
9705 * (T186647) New language support: Kumyk [къумукъ] (kum).
9706 * (T187750) New language support: Spanish formal address (es-formal).
9707 * (T187824) New language support: Hungarian formal address (hu-formal).
9708 * (T189127) New language support: Gorontalo (gor).
9710 === Breaking changes in 1.31 ===
9711 * MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed.
9712 * The OutputPage class constructor now requires a context parameter.
9713   Instantiating without context was deprecated in 1.18.
9714 * The mw.page JavaScript singleton, deprecated in 1.30, was removed.
9715 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
9716   related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
9717 * The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and
9718   ::onArticleEdit() methods, deprecated in 1.24, were removed.
9719 * Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were
9720   removed. Use ExecutableFinder::findInDefaultPaths() instead.
9721 * The deprecated MW_DIFF_VERSION constant was removed.
9722   DifferenceEngine::MW_DIFF_VERSION should be used instead.
9723 * Due to significant refactoring, method ContribsPager::getUserCond() that had
9724   no access restriction has been removed.
9725 * The Block class will no longer accept usable-but-missing usernames for
9726   'byText' or ->setBlocker(). Callers should either ensure the blocker exists
9727   locally or use a new interwiki-format username like "iw>Example".
9728 * The following methods and constants from the WatchedItem class, which were
9729   deprecated in 1.27, have been removed:
9730   * WatchedItem::getTitle()
9731   * WatchedItem::fromUserTitle()
9732   * WatchedItem::addWatch()
9733   * WatchedItem::removeWatch()
9734   * WatchedItem::isWatched()
9735   * WatchedItem::duplicateEntries()
9736   * WatchedItem::IGNORE_USER_RIGHTS
9737   * WatchedItem::CHECK_USER_RIGHTS
9738   * WatchedItem::DEPRECATED_USAGE_TIMESTAMP
9739 * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed.
9740   $wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration
9741   variable, has been deprecated since 1.27 and was removed as well.
9742 * The $maxLineLength parameter of JavaScriptMinifier::minify was removed.
9743   $wgResourceLoaderMinifierMaxLineLength, the corresponding configuration
9744   variable, has been deprecated since 1.27 and was removed as well.
9745 * The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced
9746   HtmlFormatter\HtmlFormatter class should be used instead.
9747 * The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed.
9748   The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The
9749   default driver for MySQL has been 'mysqli' since MediaWiki 1.22.
9750 * The following properties of PreparedEdit were deprecated in 1.21 and have
9751   been removed:
9752   * PreparedEdit->newText
9753   * PreparedEdit->oldText
9754   * PreparedEdit->pst
9755 * ParserOutput objects which are generated using a non-default value for
9756   ParserOptions::setWrapOutputClass() can no longer be added to the parser
9757   cache.
9758 * The following deprecated methods from the OutputPage class have been removed:
9759   * OutputPage::addExtensionStyle(); deprecated in 1.27
9760   * OutputPage::getExtStyle(); deprecated in 1.27
9761   * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
9762   * OutputPage::setSquidMaxage(); deprecated in 1.27
9763   * OutputPage::readOnlyPage(); deprecated in 1.25
9764   * OutputPage::rateLimited(); deprecated in 1.25
9765   * Additionally, the protected OutputPage::$mExtStyles array, only accessed
9766     through the above and with no known uses, was removed.
9767 * The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
9768 * The following variables and methods in EditPage, deprecated in MediaWiki 1.30,
9769   were removed:
9770   * $isCssJsSubpage — use ::isUserConfigPage()
9771   * $isCssSubpage — use ::isUserCssConfigPage()
9772   * $isJsSubpage — use ::isUserJsConfigPage()
9773   * $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage()
9774   * ::getSummaryInput() – use ::getSummaryInputWidget()
9775   * ::getSummaryInputOOUI() – use ::getSummaryInputWidget()
9776   * ::getCheckboxes() – use ::getCheckboxesWidget() or
9777       ::getCheckboxesDefinition()
9778   * ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or
9779       ::getCheckboxesDefinition()
9780 * ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed.
9781 * In User, the cookie-related methods which were wrappers for the functions on
9782   the response object, and were deprecated in 1.27, have been removed:
9783   * ::setCookie()
9784   * ::clearCookie()
9785   * ::setExtendedLoginCookie()
9786   Note that User::setCookies() remains, and is not deprecated.
9787 * Also in User, some auth-related methods which were deprecated in 1.27 have
9788   been removed:
9789   * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
9790   * ::getPasswordFactory() – create a PasswordFactory directly
9791   * ::passwordChangeInputAttribs()
9792 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have
9793   been removed.
9794 * SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can
9795   use ::getNames() instead.
9796 * OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You
9797   can use ApiOpenSearch::getOpenSearchTemplate() instead.
9798 * The global function wfBaseConvert, deprecated in 1.27, has been removed. Use
9799   Wikimedia\base_convert() directly.
9800 * Calling Database::begin() explicitly during an implicit transaction or when
9801   DBO_TRX is set results in an exception. Calling Database::commit() explicitly
9802   for an implicit transaction also results in an exception. Previously these
9803   were logged as errors. The startAtomic() and endAtomic() methods, or
9804   AtomicSectionUpdate should be used instead.
9805 * The global function wfOutputHandler() was removed, use the its replacement
9806   MediaWiki\OutputHandler::handle() instead. The global function was only
9807   sometimes defined. Its replacement is always available via the autoloader.
9808 * ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags,
9809   deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and
9810   ::listSoftwareDefinedTags() instead.
9811 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can
9812   use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
9813 * HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
9814 * The ProfileSection class, deprecated in 1.25 and unused, has been removed.
9815 * The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use
9816   ResourceLoaderModule::getLessVars() to expose local variables instead of
9817   global ones.
9818 * As part of work to modernise user-generated content clean-up, a config option
9819   and some methods related to HTML validity were removed without deprecation.
9820   The public methods MWTidy::checkErrors() and the path through which it was
9821   called, TidyDriverBase::validate(), are removed, as are the testing methods
9822   MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument().
9823   The $wgValidateAllHtml configuration option is removed and will be ignored.
9824 * Execution of external programs using MediaWiki\Shell\Command now applies
9825   the RESTRICT_DEFAULT Firejail restriction by default.
9826 * The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods,
9827   deprecated in 1.26, were removed.
9828 * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed.
9829   Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly.
9831 === Deprecations in 1.31 ===
9832 * The Revision class was deprecated in favor of RevisionStore, BlobStore, and
9833   RevisionRecord and its subclasses.
9834 * The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47.
9835 * The global function wfCountDown is now deprecated in favor of
9836   Maintenance::countDown.
9837 * Several methods for returning lists of fields to select from the database
9838   have been deprecated in favor of similar methods that also return the tables
9839   to select from and the join conditions for those tables.
9840   * Block::selectFields() → Block::getQueryInfo()
9841   * RecentChange::selectFields() → RecentChange::getQueryInfo()
9842   * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
9843   * LocalFile::selectFields() → LocalFile::getQueryInfo()
9844   * LocalFile::getCacheFields() with a prefix no longer works
9845   * LocalFile::getLazyCacheFields() with a prefix no longer works
9846   * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
9847   * RecentChange::selectFields() → RecentChange::getQueryInfo()
9848   * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
9849   * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
9850   * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
9851   * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
9852   * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
9853   * Revision::selectFields() → Revision::getQueryInfo()
9854   * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
9855   * User::selectFields() → User::getQueryInfo()
9856   * WikiPage::selectFields() → WikiPage::getQueryInfo()
9857 * Revision::setUserIdAndName() was deprecated.
9858 * Access to TitleValue class properties was deprecated, the relevant getters
9859   should be used instead.
9860 * DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should
9861   override DifferenceEngine::getDiffBodyCacheKeyParams() instead.
9862 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
9863   Maintenance::fatalError() instead.
9864 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
9865 * The RevisionInsertComplete hook is now deprecated; use instead the hook
9866   RevisionRecordInserted. RevisionInsertComplete is still called, but the second
9867   and third parameter will always be null. Hard deprecation is scheduled for
9868   1.32.
9869 * The following methods that get and set ParserOutput state are deprecated.
9870   Callers should use the new stateless $options parameter to
9871   ParserOutput::getText() instead.
9872   * ParserOptions::getEditSection()
9873   * ParserOptions::setEditSection()
9874   * ParserOutput::getEditSectionTokens()
9875   * ParserOutput::setEditSectionTokens()
9876   * ParserOutput::getTOCEnabled()
9877   * ParserOutput::setTOCEnabled()
9878   * OutputPage::enableSectionEditLinks()
9879   * OutputPage::sectionEditLinksEnabled()
9880   * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens
9881     are also deprecated.
9882 * License::getLicenses has been deprecated; use License::getLines instead.
9883 * QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set().
9884   Setting template variables by reference allowed violating the principle of
9885   data being immutable once added to the skin template. In practice, this method
9886   was not being used for that. Rather, setRef() existed as memory optimisation
9887   for PHP 4.
9888 * QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in
9889   favour of Skin::msg() parameters.
9890 * MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or
9891   wfMessage().
9892 * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
9893   'unwrap' transform to ParserOutput::getText() instead.
9894 * \ObjectFactory (no namespace) is deprecated, the namespaced class
9895   \Wikimedia\ObjectFactory from the wikimedia/object-factory library should be
9896   used instead.
9897 * CommentStore::newKey is deprecated. Instead, get an instance from
9898   MediaWikiServices.
9899 * The following CommentStore methods have had their signatures changed to
9900   introduce a $key parameter, usage of the methods on instances retrieved from
9901   CommentStore::newKey will remain unchanged but deprecated:
9902   * CommentStore::getFields
9903   * CommentStore::getJoin
9904   * CommentStore::getComment
9905   * CommentStore::getCommentLegacy
9906   * CommentStore::insert
9907   * CommentStore::insertWithTemplate
9908 * The following methods in Title have been renamed, and the old ones are
9909   deprecated:
9910   * Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage
9911   * Title::isCssOrJsPage – use ::isSiteConfigPage
9912   * Title::isCssJsSubpage – use ::isUserConfigPage
9913   * Title::isCssSubpage – use ::isUserCssConfigPage
9914   * Title::isJsSubpage – use ::isUserJsConfigPage
9915 * The following methods related to caching of half-parsed HTML were deprecated:
9916   * Parser::serializeHalfParsedText()
9917   * Parser::unserializeHalfParsedText()
9918   * Parser::isValidHalfParsedText()
9919   * StripState::getSubState()
9920   * StripState::merge()
9921 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
9922 * The type string for the parameter $lang of DateFormatter::getInstance is
9923   deprecated.
9924 * Wikimedia\Rdbms\SavepointPostgres is deprecated.
9925 * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be
9926   used instead.
9927 * The function wfShellWikiCmd() has been deprecated, use
9928   MediaWiki\Shell::makeScriptCommand().
9929 * In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend'
9930   will be allowed to provide any HTMLForm object rather than PreferencesForm.
9932 === Other changes in 1.31 ===
9933 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
9934 * Browser support for Opera 12 and older was dropped entirely. Opera 15+
9935   continues at Grade A.
9936 * Multi-content-revision capability was introduced into the storage layer. See
9937   <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
9938 * The "free" CSS class is now only applied to unbracketed URLs in wikitext.
9939   Links written using square brackets will get the class "text" not "free".
9940 * RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items,
9941   wikitext table captions, wikitext table headings, wikitext table cells. HTML
9942   headings, HTML list items, HTML table captions, HTML table headings, HTML
9943   table cells will not have this trimming behavior.
9945 == Compatibility ==
9946 MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
9947 supported, it is generally advised to use PHP 7.0.0 or later for long term
9948 support.
9950 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
9951 but support for them is somewhat less mature. There is experimental support for
9952 Oracle and Microsoft SQL Server.
9954 The supported versions are:
9956 * MySQL 5.5.8 or later
9957 * PostgreSQL 9.2 or later
9958 * SQLite 3.3.7 or later
9959 * Oracle 9.0.1 or later
9960 * Microsoft SQL Server 2005 (9.00.1399)
9962 == Upgrading ==
9963 1.31 has several database changes since 1.30, and will not work without schema
9964 updates. Note that due to changes to some very large tables like the revision
9965 table, the schema update may take quite long (minutes on a medium sized site,
9966 many hours on a large site).
9968 Don't forget to always back up your database before upgrading!
9970 See the file UPGRADE for more detailed upgrade instructions, including
9971 important information when upgrading from versions prior to 1.11.
9973 For notes on 1.30.x and older releases, see HISTORY.
9975 == Online documentation ==
9976 Documentation for both end-users and site administrators is available on
9977 MediaWiki.org, and is covered under the GNU Free Documentation License (except
9978 for pages that explicitly state that their contents are in the public domain):
9980        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
9982 == Mailing list ==
9983 A mailing list is available for MediaWiki user support and discussion:
9985        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
9987 A low-traffic announcements-only list is also available:
9989        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
9991 It's highly recommended that you sign up for one of these lists if you're
9992 going to run a public MediaWiki, so you can be notified of security fixes.
9994 == IRC help ==
9995 There's usually someone online in #mediawiki on irc.freenode.net.
9998 = MediaWiki 1.30 =
10000 == MediaWiki 1.30.2 ==
10002 This is a security and maintenance release of the MediaWiki 1.30 branch.
10004 === Changes since MediaWiki 1.30.1 ===
10005 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
10006   all titles when asked for none.
10007 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
10008   libraries.
10009 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
10010 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
10011 * (T207603) SECURITY: User JS may no longer be loaded with mime type
10012   text/javascript if there is no account associated with the username.
10013 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
10014   type if non-admins can edit the page.
10015 * (T207541) Pass email address to mail().
10016 * Fix addition of ug_expiry column to user_groups table on MSSQL.
10017 * (T204531) rdbms: reduce LoadBalancer replication log spam.
10018 * (T213489) Avoid session double-start in Setup.php.
10019 * (T195525) Fix db error outage page.
10020 * (T208871) The hard-coded Google search form on the database error page was
10021   removed.
10022 * (T216968) Return pageid as int in both list=iwbacklinks and
10023   list=langbacklinks.
10024 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
10025   $wgBlockDisablesLogin is true.
10026 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
10027   token.
10028 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
10029   saveFileDependencies().
10030 * (T224374) Fix message parameters so that the message that says SQLite is out
10031   of date makes sense.
10032 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
10033   reauthenticating.
10034 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
10035   getLoginSecurityLevel() returns non-false.
10036 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
10037 * (T208881) SECURITY: blacklist CSS var().
10038 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
10039 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
10040 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
10041 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
10042   view the log type.
10043 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
10045 == MediaWiki 1.30.1 ==
10047 This is a security and maintenance release of the MediaWiki 1.30 branch.
10049 === Changes since MediaWiki 1.30.0 ===
10050 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
10051   'newbie'.
10052 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
10053   account lock.
10054 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
10055   array.
10056 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
10057 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
10058   include extensions. Pass --with-extensions to enable that feature.
10059 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
10060 * (T167507) selenium: Run Chrome headlessly.
10061 * selenium: Pass -no-sandbox to Chrome under Docker.
10062 * (T179190) selenium: Move logic for running tests from package.json to
10063   selenium.sh
10064 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
10065 * Add default edit rate limit of 90 edits/minute for all users.
10066 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
10067 * oojs/oojs-ui updated to remove an unnecessary dependancy.
10068 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
10069 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
10070   hook.
10071 * (T196672) The mtime of extension.json files is now able to be zero
10072 * (T180403) Validate $length in padleft/padright parser functions.
10073 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
10074 * (T193995) Fix undefined patchPath() method call in parser tests.
10075 * Special:BotPasswords now requires reauthentication.
10076 * (T191608, T187638) Add 'logid' parameter to Special:Log.
10077 * (T193829) Indicate when a Bot Password needs reset.
10078 * (T151415) Log email changes.
10079 * (T200861) Fix total breakage of SQLite web upgrade.
10080 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
10081   hooks.
10082 * (T190539) Explicitly require Postgres 9.1.
10083 * (T118420) Unbreak Oracle installer.
10085 == MediaWiki 1.30.0 ==
10087 === Changes since MediaWiki 1.30.0-rc.0 ===
10088 * Upgraded Moment.js from v2.15.0 to v2.19.3.
10089 * Add ip_changes to postgres/tables.sql.
10090 * Skip null shell parameters.
10091 * Add wfWaitForSlaves() to maintenance/migrateComments.php.
10092 * (T182245) Fix join conditions in ImageListPager.
10093 * (T178626) Revert #contentSub and #jump-to-nav margin changes.
10095 === MySQL version requirement in 1.30 ===
10096 As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility
10097 section).
10099 === Configuration changes in 1.30 ===
10100 * The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid
10101   unexpected behavior when code uses locale-sensitive string comparisons. For
10102   example, the Scribunto extension considers "bar" < "Foo" in most locales
10103   since it ignores case.
10104 * $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See
10105   documentation of $wgShellLocale for details.
10106 * $wgShellLocale is now applied for all requests. wfInitShellLocale() is
10107   deprecated and a no-op, as it is no longer needed.
10108 * $wgJobClasses may now specify callback functions as an alternative to plain
10109   class names. This is intended for extensions that want control over the
10110   instantiation of their jobs, to allow for proper dependency injection.
10111 * $wgResourceModules may now specify callback functions as an alternative
10112   to plain class names, using the 'factory' key in the module description
10113   array. This allows dependency injection to be used for ResourceLoader modules.
10114 * $wgExceptionHooks has been removed.
10115 * (T163562) $wgRangeContributionsCIDRLimit was introduced to control the size
10116   of IP ranges that can be queried at Special:Contributions.
10117 * (T45547) $wgUsePigLatinVariant added (off by default).
10118 * (T152540) MediaWiki now supports a section ID escaping style that allows to
10119   display non-Latin characters verbatim on many modern browsers. This is
10120   controlled by the new configuration setting, $wgFragmentMode.
10121 * $wgExperimentalHtmlIds is now deprecated and will be removed in a future
10122   version, use $wgFragmentMode to migrate off it to a modern alternative.
10123 * $wgExternalInterwikiFragmentMode was introduced to control how fragments in
10124   sinterwikis going outside of current wiki farm are encoded.
10125 * (T120333) Soft-deprecated the use of PHP extension 'mysql' in favor of
10126   'mysqli'. This PHP extension was deprecated in PHP 5.5 and removed in PHP 7.0.
10127   MediaWiki auto-selects the 'mysqli' driver since MediaWiki 1.22, except if
10128   explicitly requested through the configuration parameter $wgDBservers.
10129 * $wgOOUIEditPage was removed, as it is now the default. This was documented as
10130   a temporary variable during the migration period.
10132 === New features in 1.30 ===
10133 * (T37247) Output from Parser::parse() will now be wrapped in a div with
10134   class="mw-parser-output" by default. This may be changed or disabled using
10135   ParserOptions::setWrapOutputClass().
10136 * (T163562) Added ability to search for contributions within an IP ranges
10137   at Special:Contributions.
10138 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
10139   specific tags to be added by users.
10140 * Added a 'ParserOptionsRegister' hook to allow extensions to register
10141   additional parser options.
10142 * (T45547) Included Pig Latin, a language game in English, as a
10143   LanguageConverter variant.  This allows English-speaking developers
10144   to develop and test LanguageConverter more easily.  Pig Latin can be
10145   enabled by setting $wgUsePigLatinVariant to true.
10146 * Added RecentChangesPurgeRows hook to allow extensions to purge data that
10147   depends on the recentchanges table.
10148 * Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.
10149 * (T2424) Added direct unwatch links to entries in Special:Watchlist (if the
10150   'watchlistunwatchlinks' preference option is enabled). With JavaScript
10151   enabled, these links toggle so the user can also re-watch pages that have
10152   just been unwatched.
10153 * Added $wgParserTestMediaHandlers, where mock media handlers can be passed to
10154   MediaHandlerFactory for parser tests.
10155 * Edit summaries, block reasons, and other "comments" are now stored in a
10156   separate database table. Use the CommentFormatter class to access them.
10157 ** This is currently gated by $wgCommentTableSchemaMigrationStage. Most wikis
10158    can set this to MIGRATION_NEW and run maintenance/migrateComments.php as
10159    soon as any necessary extensions are updated.
10160 * (T138166) Added ability for users to prohibit other users from sending them
10161   emails with Special:Emailuser. Can be enabled by setting
10162   $wgEnableUserEmailBlacklist to true.
10163 * (T67297) $wgBrowserBlacklist is deprecated, and changing it will have no
10164   effect. Instead, users using browsers that do not support Unicode will be
10165   unable to edit and should upgrade to a modern browser instead.
10167 === External library changes in 1.30 ===
10169 ==== Upgraded external libraries ====
10170 * Updated justinrainbow/json-schema from v3.0 to v5.2.
10171 * Updated mediawiki/mediawiki-codesniffer from v0.7.2 to v0.12.0.
10172 * Updated wikimedia/composer-merge-plugin from v1.4.0 to v1.4.1.
10173 * Updated wikimedia/relpath from v1.0.3 to v2.0.0.
10174 * Updated OOjs from v2.0.0 to v2.1.0.
10175 * Updated OOUI from v0.21.1 to v0.23.0.
10176 * Updated QUnit from v1.23.1 to v2.4.0.
10177 * Updated phpunit/phpunit from v4.8.35 to v4.8.36.
10178 * Upgraded Moment.js from v2.15.0 to v2.19.3.
10180 ==== New external libraries ====
10181 * The class \TestingAccessWrapper has been moved to the external library
10182   wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
10183 * Purtle, a fast, lightweight RDF generator.
10185 === Bug fixes in 1.30 ===
10186 * (T151633) Ordered list items use now Devanagari digits in Nepalese
10187   (thanks to Sfic)
10189 === Action API changes in 1.30 ===
10190 * (T37247) action=parse output will be wrapped in a div with
10191   class="mw-parser-output" by default. This may be changed or disabled using
10192   the new 'wrapoutputclass' parameter.
10193 * When errorformat is not 'bc', abort reasons from action=login will be
10194   formatted as specified by the error formatter parameters.
10195 * action=compare can now handle arbitrary text, deleted revisions, and
10196   returning users and edit comments.
10197 * (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto',
10198   'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree'
10199   parameters to prop=revisions are deprecated, as are the similarly named
10200   parameters to prop=deletedrevisions, list=allrevisions, and
10201   list=alldeletedrevisions. Use action=compare, action=parse, or
10202   action=expandtemplates instead.
10204 === Action API internal changes in 1.30 ===
10205 * ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are
10206   deprecated. The existing message should be split between "apihelp-*-summary"
10207   and "apihelp-*-extended-description".
10208 * (T123931) Individual values of multi-valued parameters can now be marked as
10209   deprecated.
10211 === Languages updated in 1.30 ===
10212 MediaWiki supports over 350 languages. Many localisations are updated
10213 regularly. Below only new and removed languages are listed, as well as
10214 changes to languages because of Phabricator reports.
10216 * Added: kbp (Kabɩyɛ / Kabiyè)
10217 * Added: skr (Saraiki, سرائیکی)
10218 * Added: tay (Tayal / Atayal)
10219 * Removed: tokipona (Toki Pona)
10221 ==== Pig Latin added ====
10222 * (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin),
10223   for easier variant development and testing. Disabled by default. It can be
10224   enabled by setting $wgUsePigLatinVariant to true.
10226 === Other changes in 1.30 ===
10227 * The use of an associative array for $wgProxyList, where the IP address is in
10228   the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
10229   Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
10230 * mw.user.bucket (deprecated in 1.23) was removed.
10231 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
10232   deprecated. There are no known callers.
10233 * File::getStreamHeaders() was deprecated.
10234 * MediaHandler::getStreamHeaders() was deprecated.
10235 * Title::canTalk() was deprecated. The new Title::canHaveTalkPage() should be
10236   used instead.
10237 * MWNamespace::canTalk() was deprecated. The new MWNamespace::hasTalkNamespace()
10238   should be used instead.
10239 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
10240 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
10241   deprecated in 1.24) were removed.
10242 * wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and
10243   BagOStuff::makeGlobalKey() should be used instead.
10244 * (T146304) Preprocessor handling of LanguageConverter markup has been improved.
10245   As a result of the new uniform handling, '-{' may need to be escaped
10246   (for example, as '-<nowiki/>{') where it occurs inside template arguments
10247   or wikilinks.
10248 * (T163966) Page moves are now counted as edits for the purposes of
10249   autopromotion, i.e., they increment the user_editcount field in the database.
10250 * Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for
10251   manipulating Special:Log and Special:NewPages lines.
10252 * The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
10253   PageHistoryLineEnding, ContributionsLineEnding and
10254   DeletedContributionsLineEnding hooks have an additional parameter, for
10255   manipulating HTML data attributes of RC/history lines.
10256   EnhancedChangesListModifyBlockLineData can do that via the
10257   $data['attribs'] subarray.
10258 * (T130632) The OutputPage::enableTOC() method was removed.
10259 * WikiPage::getParserOutput() will now throw an exception if passed
10260   ParserOptions that would pollute the parser cache. Callers should use
10261   WikiPage::makeParserOptions() to create the ParserOptions object and only
10262   change options that affect the parser cache key.
10263 * Article::viewRedirect() is deprecated.
10264 * IP::isValidBlock() was deprecated. Use the equivalent IP::isValidRange().
10265 * DeprecatedGlobal no longer supports passing in a direct value, it requires a
10266   callable factory function or a class name.
10267 * The $parserMemc global, wfGetParserCacheStorage(), and
10268   ParserCache::singleton() are all deprecated. The main ParserCache instance
10269   should be obtained from MediaWikiServices instead. Access to the underlying
10270   BagOStuff is possible through the new ParserCache::getCacheStorage() method.
10271 * .mw-ui-constructive CSS class (deprecated in 1.27) was removed.
10272 * Sanitizer::escapeId() was deprecated, use escapeIdForAttribute(),
10273   escapeIdForLink() or escapeIdForExternalInterwiki() instead.
10274 * Title::escapeFragmentForURL() was deprecated, use one of the aforementioned
10275   Sanitizer functions or, if possible, Title::getFragmentForURL().
10276 * Second parameter to Sanitizer::escapeIdReferenceList() ($options) now does
10277   nothing and is deprecated.
10278 * mw.util.escapeId() was deprecated, use escapeIdForAttribute() or
10279   escapeIdForLink().
10280 * MagicWord::replaceMultiple() (deprecated in 1.25) was removed.
10281 * WikiImporter now requires the second parameter to be an instance of the
10282   Config, class. Prior to that, the Config parameter was optional (a behavior
10283   deprecated in 1.25).
10284 * Removed 'jquery.mwExtension' module. (deprecated since 1.26)
10285 * mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette
10286   any more.
10287 * CdbReader, CdbWriter, CdbException classes (deprecated in 1.25) were removed.
10288   The namespaced classes in the Cdb namespace should be used instead.
10289 * IPSet class (deprecated in 1.26) was removed. The namespaced IPSet\IPSet
10290   should be used instead.
10291 * RunningStat class (deprecated in 1.27) was removed. The namespaced
10292   RunningStat\RunningStat should be used instead.
10293 * MWMemcached and MemCachedClientforWiki classes (deprecated in 1.27) were
10294   removed.
10295   The MemcachedClient class should be used instead.
10296 * EditPage underwent some refactoring and deprecations:
10297   * EditPage::isOouiEnabled() is deprecated and will always return true.
10298   * EditPage::getSummaryInput() and ::getSummaryInputOOUI() are deprecated.
10299     Please use ::getSummaryInputWidget() instead.
10300   * EditPage::getCheckboxes() and ::getCheckboxesOOUI() are deprecated. Please
10301     use ::getCheckboxesWidget() instead.
10302   * Creating an EditPage instance without calling EditPage::setContextTitle()
10303     should be avoided and will be deprecated in a future release.
10304   * EditPage::safeUnicodeInput() and ::safeUnicodeOutput() are deprecated and
10305     no-ops.
10306   * EditPage::$isCssJsSubpage, ::$isCssSubpage, and ::$isJsSubpage are
10307     deprecated. The corresponding methods from Title should be used instead.
10308   * EditPage::$isWrongCaseCssJsPage is deprecated. There is no replacement.
10309   * EditPage::$mArticle and ::$mTitle are deprecated for public usage. The
10310     getters ::getArticle() and ::getTitle() should be used instead.
10311   * Trying to control or fake EditPage context by overriding $wgUser,
10312     $wgRequest, $wgOut, and $wgLang is no longer supported and won't work. The
10313     IContextSource returned from EditPage::getContext() must be modified
10314     instead.
10315 * Parser::getRandomString() (deprecated in 1.26) was removed.
10316 * Parser::uniqPrefix() (deprecated in 1.26) was removed.
10317 * Parser::extractTagsAndParams() now only accepts three arguments. The fourth,
10318   $uniq_prefix was deprecated in 1.26 and has now been removed.
10319 * (T172514) The following tables have had their UNIQUE indexes turned into
10320   proper PRIMARY KEYs for increased maintainability: categorylinks, imagelinks,
10321   iwlinks, langlinks, log_search, module_deps, objectcache, pagelinks,
10322   query_cache, site_stats, templatelinks, text, transcache, user_former_groups,
10323   user_properties.
10324 * IDatabase::nextSequenceValue() is no longer needed by any database backends
10325   (formerly it was needed by PostgreSQL and Oracle), and is now deprecated.
10326 * (T146591) The lc_lang_key index on the l10n_cache table has been changed into
10327   a PRIMARY KEY.
10328 * (T157227) bot_password.bp_user, change_tag.ct_log_id, change_tag.ct_rev_id,
10329   page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and
10330   user_properties.up_user have all been made unsigned on MySQL.
10331 * DB_SLAVE is deprecated. DB_REPLICA should be used instead.
10332 * wfUsePHP() is deprecated.
10333 * wfFixSessionID() was removed.
10334 * wfShellExec() and related functions are deprecated, use Shell::command(). This
10335   also slightly changes the behavior of how execution time limits are calculated
10336   when only some of defaults are overridden per-call. When in doubt, always
10337   override both wall clock and CPU time.
10338 * (T138166) SpecialEmailUser::getTarget() now requires a second argument, the
10339   sending user object. Using the method without the second argument is
10340   deprecated.
10341 * (T67297) Browsers that don't support Unicode will have their edits rejected.
10342 * (T178450) The module 'jquery.badge' is deprecated and will be removed in a
10343   future release. For notifying the user of an event, the Notifications ("Echo")
10344   system should be used instead.
10345 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
10346   browser sends non-standard url escaping.
10347 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
10349 = MediaWiki 1.29 =
10351 == MediaWiki 1.29.3 ==
10353 This is a security and maintenance release of the MediaWiki 1.29 branch.
10355 === Changes since 1.29.2 ===
10356 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
10357   'newbie'.
10358 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
10359   account lock.
10360 * (T180551) Fix LanguageSrTest for language converter
10361 * (T180552) Fix language converter parser test with self-close tags
10362 * (T180537) Remove $wgAuth usage from wrapOldPasswords.php
10363 * (T180485) InputBox: Have inputbox langconvert certain attributes
10364 * (T161732, T181547) Upgraded Moment.js from v2.15.0 to v2.19.3.
10365 * (T172927) Drop vendor from MW release branch
10366 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array
10367 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
10368 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
10369   include extensions. Pass --with-extensions to enable that feature.
10370 * (T182381) Mask deprecated call in WatchedItemUnitTest
10371 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
10372 * The karma qunit tests would fail on some configuration due to headers already
10373   sent. Check headers_sent() before sending cpPosTime headers
10374 * (T167507) selenium: Run Chrome headlessly.
10375 * selenium: Pass -no-sandbox to Chrome under Docker
10376 * (T191247) Use MediaWiki\SuppressWarnings around trigger_error('') instead @
10377 * (T75174, T161041) Unit test ChangesListSpecialPageTest::testFilterUserExpLevel
10378   fails under SQLite.
10379 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
10380 * (T179190) selenium: Move test running logic from package.json to selenium.sh.
10381 * (T117839, T193200) PDFHandler: Fix for pdfinfo changes in poppler-utils 0.48.
10382 * Add default edit rate limit of 90 edits/minute for all users.
10383 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
10384 * (T196672) The mtime of extension.json files is now able to be zero
10385 * (T180403) Validate $length in padleft/padright parser functions.
10386 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
10387 * (T194237) Special:BotPasswords now requires reauthentication.
10388 * (T191608, T187638) Add 'logid' parameter to Special:Log.
10389 * (T176097) resourceloader: Disable a flaky MessageBlobStoreTest case
10390 * (T193829) Indicate when a Bot Password needs reset.
10391 * (T151415) Log email changes.
10392 * (T118420) Unbreak Oracle installer.
10394 == MediaWiki 1.29.2 ==
10396 This is a security and maintenance release of the MediaWiki 1.29 branch.
10398 === Changes since 1.29.1 ===
10399 * (T166757) Avoid scoped lock errors in Category::refreshCounts() due to
10400   nesting.
10401 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
10402 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
10403 * Fixed login button label to accept RawMessage.
10404 * Fixed case of SpecialRecentChanges class usage.
10405 * (T174255) Declare uploadCount property in importDump.php.
10406 * (T163646) Pass a string not an int to mysql_real_escape_string().
10407 * (T180143) Bump justinrainbow/json-schema development dependency to ~5.2.
10408 * Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36.
10409 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
10410   browser sends non-standard url escaping.
10411 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
10412 * (T128209) SECURITY: Reflected File Download from api.php.
10413 * (T134100) SECURITY: Do not reveal if user exists during login failure.
10414 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
10415 * (T125163) SECURITY: Make anchor for headlines escape > and <.
10416 * (T180237) SECURITY: Protect vendor folder with .htaccess.
10417 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
10418   update.php.
10419 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
10420 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
10421 * (T180488) (T125177) "api.log contains passwords in plaintext" wasn't correctly
10422   fixed in all branches in the previous security release.
10424 == MediaWiki 1.29.1 ==
10426 This is a maintenance release of the MediaWiki 1.29 branch.
10428 The SpamBlacklist and PdfHandler extensions were missing from the generated
10429 packages.
10431 === Changes since 1.29.1 ===
10432 * (T164999) Define mw.Upload.Dialog.static.name in mediawiki.Upload.Dialog.js.
10433 * (T172061) Fix fatal when passing a category to refreshLinks.php.
10435 == MediaWiki 1.29.0 ==
10437 === Configuration changes in 1.29 ===
10438 * Default cookie expiration time has been reduced to 30 days. Login cookie
10439   expiration time is kept at 180 days.
10440 * A new configuration variable has been added: $wgCookieSetOnAutoblock. This
10441   determines whether to set a cookie when a user is autoblocked. Doing so means
10442   that a blocked user, even after logging out and moving to a new IP address,
10443   will still be blocked.
10444 * The resetpassword right and associated password reset capture feature has
10445   been removed.
10446 * The $error parameter to the EmailUser hook should be set to a Status object
10447   or boolean false. This should be compatible with at least MediaWiki 1.23 if
10448   not earlier. Returning a raw HTML string is now deprecated.
10449 * The $message parameter to the ApiCheckCanExecute hook should be set to an
10450   ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
10451   code for ApiBase::parseMsg() will no longer work.
10452 * ApiBase::$messageMap is no longer public. Code attempting to access it will
10453   result in a PHP fatal error.
10454 * $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC
10455   policies.
10456 * Subpages are now enabled by default in the Template namespace. Set
10457   $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior.
10458 * $wgRunJobsAsync is now false by default (T142751). This change only affects
10459   wikis with $wgJobRunRate > 0.
10460 * (T158474) "Unknown user" has been added to $wgReservedUsernames.
10461 * (T156983) $wgRateLimitsExcludedIPs now accepts CIDR ranges as well as single
10462   IPs.
10463 * $wgDummyLanguageCodes is deprecated. Additional language code mappings may be
10464   added to $wgExtraLanguageCodes instead.
10465 * (T161453) LocalisationCache will no longer use the temporary directory in it's
10466   fallback chain when trying to work out where to write the cache.
10467 * The user right 'editusercssjs' (deprecated in 1.16) was removed. Use
10468   'editusercss' and 'edituserjs' in $wgGroupPermissions and elsewhere instead.
10470 === New features in 1.29 ===
10471 * (T5233) A cookie can now be set when a user is autoblocked, to track that user
10472   if they move to a new IP address. This is disabled by default.
10473 * Added ILocalizedException interface to standardize the use of localized
10474   exceptions, largely so the API can handle them more sensibly.
10475 * Blocks created automatically by MediaWiki, such as for configured proxies or
10476   dnsbls, are now indicated as such and use a new i18n message when displayed.
10477 * Added new $wgHTTPImportTimeout setting. Sets timeout for
10478   downloading the XML dump during a transwiki import in seconds.
10479 * Parser limit report is now available in machine-readable format to JavaScript
10480   via mw.config.get('wgPageParseReport').
10481 * Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits
10482   from certain IP ranges (e.g. private IPs).
10483 * (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code
10484   of the page being parsed.
10485 * HTML5 form validation attributes will no longer be suppressed. Originally
10486   browsers had poor support for them, but modern browsers handle them fine.
10487   This might affect some forms that used them and only worked because the
10488   attributes were not actually being set.
10489 * Expiry times can now be specified when users are added to user groups.
10490 * Completely new user interface for the RecentChanges page, which
10491   structures filters into user-friendly groups.  This has corresponding
10492   changes to how filters are registered by core and extensions.
10493 * The edit form now uses pretty OOjs UI buttons, checkboxes and summary input.
10494   Because this change can cause problems for extensions and on-wiki
10495   scripts depending on the exact HTML, the old version is still available
10496   and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php.
10497   This will be removed later and OOjs UI will become the only option.
10498   To make testing easier, users can also force either mode by adding
10499   &ooui=true or &ooui=false to the action=edit URL.
10501 === External library changes in 1.29 ===
10503 ==== Upgraded external libraries ====
10504 * Updated QUnit from v1.22.0 to v1.23.1.
10505 * Updated cssjanus from v1.1.2 to v1.2.0.
10506 * Updated psr/log from v1.0.0 to v1.0.2.
10507 * Update Moment.js from v2.8.4 to v2.15.0.
10508 * Updated oyejorge/less.php from v1.7.0.10 to v1.7.0.14.
10509 * Updated monolog from v1.18.2 to 1.22.1.
10510 * Updated wikimedia/composer-merge-plugin from v1.3.1 to v1.4.0.
10511 * Updated OOjs from v1.1.10 to v2.0.0.
10512 * Updated jQuery from v1.11.3 to v3.2.1 (including jQuery Migrate v3.0.0).
10514 ==== New external libraries ====
10515 * Added wikimedia/timestamp v1.0.0.
10516 * Added wikimedia/remex-html v1.0.1.
10518 ==== Removed and replaced external libraries ====
10520 === Bug fixes in 1.29 ===
10521 * (T62604) Core parser functions returning a number now format the number
10522   according to the page content language, not wiki content language.
10523 * (T27187) Search suggestions based on jquery.suggestions will now correctly
10524   only highlight prefix matches in the results.
10525 * (T157035) "new mw.Uri()" was ignoring options when using default URI.
10526 * Special:Allpages can no longer be filtered by redirect in miser mode.
10527 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
10528   installed.
10529 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
10530   redirect to interwiki links.
10531 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
10532   $wgAdvancedSearchHighlighting is true.
10533 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
10534   their values out of the logs.
10535 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
10536   CSRF token.
10537 * (T156184) SECURITY: Escape content model/format url parameter in message.
10538 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
10539   declaration.
10540 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
10541   directory in it's fallback chain when trying to work out where to write the
10542   cache.
10543 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
10544   inclusion syntax's link parameter.
10545 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
10546   against it.
10548 === Action API changes in 1.29 ===
10549 * Submitting sensitive authentication request parameters to action=login,
10550   action=clientlogin, action=createaccount, action=linkaccount, and
10551   action=changeauthenticationdata in the query string is now an error. They
10552   should be submitted in the POST body instead.
10553 * The capture option for action=resetpassword has been removed
10554 * action=clearhasmsg now requires a POST.
10555 * (T47843) API errors and warnings may be requested in non-English languages
10556   using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters.
10557 * API error codes may have changed. Most notably, errors from modules using
10558   parameter prefixes (e.g. all query submodules) will no longer be prefixed.
10559 * ApiPageSet-using modules will report the 'invalidreason' using the specified
10560   'errorformat'.
10561 * action=emailuser may return a "Warnings" status, and now returns 'warnings'
10562   and 'errors' subelements (as applicable) instead of 'message'.
10563 * action=imagerotate returns an 'errors' subelement rather than 'errormessage'.
10564 * action=move now reports errors when moving the talk page as an array under
10565   key 'talkmove-errors', rather than using 'talkmove-error-code' and
10566   'talkmove-error-info'. The format for subpage move errors has also changed.
10567 * action=revisiondelete no longer includes a "rendered" property on warnings
10568   and errors for each item. Use errorformat=wikitext if you're wanting parsed
10569   output.
10570 * action=rollback no longer returns a "messageHtml" property. Use
10571   errorformat=html if you're wanting HTML formatting of error messages.
10572 * action=upload now reports optional stash failures as an array under key
10573   'stasherrors' rather than a 'stashfailed' text string.
10574 * action=watch reports 'errors' and 'warnings' instead of a single 'error', and
10575   no longer returns a 'message' on success.
10576 * Added action=validatepassword to validate passwords for the account creation
10577   and password change forms.
10578 * action=purge now requires a POST.
10579 * There is a new `languagevariants` siprop for action=query&meta=siteinfo,
10580   which returns a list of languages with active LanguageConverter instances.
10581 * action=query&query=allpages will no longer filter redirects using a database
10582   query in miser mode. This may result in less results being returned than were
10583   requested.
10585 === Action API internal changes in 1.29 ===
10586 * New methods were added to ApiBase to handle errors and warnings using i18n
10587   keys. Methods for using hard-coded English messages were deprecated:
10588   * ApiBase::dieUsage() was deprecated
10589   * ApiBase::dieUsageMsg() was deprecated
10590   * ApiBase::dieUsageMsgOrDebug() was deprecated
10591   * ApiBase::getErrorFromStatus() was deprecated
10592   * ApiBase::parseMsg() was deprecated
10593   * ApiBase::setWarning() was deprecated
10594 * ApiBase::$messageMap is no longer public. Code attempting to access it will
10595   result in a PHP fatal error.
10596 * The $message parameter to the ApiCheckCanExecute hook should be set to an
10597   ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
10598   code for ApiBase::parseMsg() will no longer work.
10599 * UsageException is deprecated in favor of ApiUsageException. For the time
10600   being ApiUsageException is a subclass of UsageException to allow things that
10601   catch only UsageException to still function properly.
10602 * If, for some strange reason, code was using an ApiErrorFormatter instead of
10603   ApiErrorFormatter_BackCompat, note that the result format has changed and
10604   various methods now take a module path rather than a module name.
10605 * ApiMessageTrait::getApiCode() now strips 'apierror-' and 'apiwarn-' prefixes
10606   from the message key, and maps some message keys for backwards compatibility.
10607 * API parameters may now be marked as "sensitive" to keep their values out of
10608   the logs.
10610 === Languages updated in 1.29 ===
10612 MediaWiki supports over 350 languages. Many localisations are updated
10613 regularly. Below only new and removed languages are listed, as well as
10614 changes to languages because of Phabricator reports.
10616 * Based as always on linguistic studies on intelligibility and language
10617   knowledge by geography, language fallbacks have been expanded. When a
10618   translation is missing in the user's preferred interface language, the
10619   corresponding translation for the fallback language will be used instead.
10620   English will only be used as last resort when there are no translations.
10621   Some configurations (such as date formats and gender namespaces) have also
10622   been updated when using the fallback language's configuration was inadequate.
10623   The new or reinstated language fallbacks are (after cs ↔ sk in 1.28):
10624   ca ↔ oc; hsb ↔ dsb; io → eo; mdf → ru; pnt → el; roa-tara → it; rup → ro;
10625   sh → bs, sr-el, hr.
10626 * (T137376) New language support: Atikamekw (atj).
10627 * (T163600) New language support: Dinka (din).
10628 * (T155957) Talk Namespaces for Javanese language (jv) have been updated.
10630 ==== No fallback for Ukrainian ====
10631 * (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian
10632   language will now use the default fallback language: English. When a
10633   translation to Ukrainian is not available, an English string will be shown.
10635 === Other changes in 1.29 ===
10636 * Database::getSearchEngine() (deprecated in 1.28) was removed. Use
10637   SearchEngineFactory::getSearchEngineClass() instead.
10638 * $wgSessionsInMemcached (deprecated in 1.20) was removed. No replacement is
10639   required as all sessions are stored in Object Cache now.
10640 * MWHttpRequest::execute() should be considered to return a StatusValue; the
10641   Status return type is deprecated.
10642 * User::edits() (deprecated in 1.21) was removed.
10643 * Xml::escapeJsString() (deprecated in 1.21) was removed.
10644 * Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21)
10645   were removed.
10646 * Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21)
10647   were removed.
10648 * Hook ArticleViewCustom (deprecated in 1.21) was removed. Use
10649   ArticleContentViewCustom instead.
10650 * Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed.
10651 * Class RevisiondeleteAction (deprecated in 1.25) was removed.
10652 * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed.
10653 * WikiPage::getText() (deprecated in 1.21) was removed.
10654 * Article::fetchContent() (deprecated in 1.21) was removed.
10655 * User::getPassword() (deprecated in 1.27) was removed.
10656 * User::getTemporaryPassword() (deprecated in 1.27) was removed.
10657 * User::isPasswordReminderThrottled() (deprecated in 1.27) was removed.
10658 * Class FSRepo (deprecated in 1.19) was removed.
10659 * WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use
10660   \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId()
10661   instead.
10662 * Class ImageGallery (deprecated in 1.22) was removed.
10663   Use ImageGalleryBase::factory instead.
10664 * Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class
10665   instead.
10666 * Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now
10667   emit warnings). Create a subclass of Action and add it to $wgActions instead.
10668 * WikiRevision::getText() (deprecated since 1.21) is no longer marked
10669   deprecated.
10670 * Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed.
10671 * Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed.
10672 * Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed.
10673 * Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed.
10674 * RedisConnectionPool::handleException (deprecated since 1.23) was removed.
10675 * The static properties mw.Api.errors and mw.Api.warnings, containing incomplete
10676   and outdated lists of errors/warnings returned by the API, are now deprecated.
10677 * wiki.phtml entry point was removed.  Refer to index.php instead. If you want
10678   "wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can
10679   be done by enabling mod_rewrite and adding the following rules to your
10680   configuration:
10682     RewriteEngine On
10683     RewriteBase /
10684     RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
10685 * Hook ArticleAfterFetchContent (deprecated in 1.21) was removed.
10686   Use ArticleAfterFetchContentObject instead.
10687 * Hook ArticleInsertComplete (deprecated in 1.21) was removed.
10688   Use PageContentInsertComplete instead.
10689 * Hook ArticleSave (deprecated in 1.21) was removed.
10690   Use PageContentSave instead.
10691 * Hook ArticleSaveComplete (deprecated in 1.21) was removed.
10692   Use PageContentSaveComplete instead.
10693 * Hook EditFilterMerged (deprecated in 1.21) was removed.
10694   Use EditFilterMergedContent instead.
10695 * Hook EditPageGetPreviewText (deprecated in 1.21) was removed.
10696   Use EditPageGetPreviewContent instead.
10697 * Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed.
10698   Use ContentHandlerDefaultModelFor instead.
10699 * Hook TitleIsWikitextPage (deprecated in 1.21) was removed.
10700   Use ContentHandlerDefaultModelFor instead.
10701 * Article::getContent() (deprecated in 1.21) was removed.
10702 * Revision::getText() (deprecated in 1.21) was removed.
10703 * Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed.
10704 * Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed.
10705 * Article::doEditContent() was marked as deprecated, to be removed in 1.30
10706   or later.
10707 * ContentHandler::runLegacyHooks() was removed.
10708 * refreshLinks.php now can be limited to a particular category with
10709   --category=... or a tracking category with --tracking-category=...
10710 * User-like objects that are passed to SpecialUserRights and its subclasses are
10711   now required to have a getGroupMemberships() method. See UserRightsProxy for
10712   an example.
10713 * User::$mGroups (instance variable) was marked private. Use User::getGroups()
10714   instead.
10715 * User::getGroupName(), User::getGroupMember(), User:getGroupPage(),
10716   User::makeGroupLinkHTML(), and User::makeGroupLinkWiki() were deprecated.
10717   Use equivalent methods on the UserGroupMembership class.
10718 * Maintenance scripts and tests that call User::addGroup() must now ensure that
10719   User objects have been added to the database prior to calling addGroup().
10720 * Protected function UsersPager::getGroups() was removed, and protected function
10721   UsersPager::buildGroupLink() was changed from a static to an instance method.
10722 * The third parameter ($cache) to the UsersPagerDoBatchLookups hook was changed;
10723   see docs/hooks.txt.
10724 * User::crypt() (deprecated in 1.24) was removed.
10725 * User::comparePasswords() (deprecated in 1.24) was removed.
10726 * ArchivedFile::getUserText() (deprecated in 1.23) was removed.
10727 * HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed.
10728 * BREAKING CHANGE: Internal signature changes to ChangesListSpecialPage
10729   and subclasses.  It should only break if you call buildMainQueryConds
10730   (changed to buildQuery with new signature) or doMainQuery (new
10731   signature).  Subclasses are likely to call at least doMainQuery
10732   (possibly both), but other classes might too, because they were
10733   public.
10734   Also, some related hooks were deprecated, but this is not yet a
10735   breaking change.
10736 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
10737 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
10738 * WikiRevision::$fileIsTemp was deprecated.
10739 * WikiRevision::$importer was deprecated.
10740 * WikiRevision::$user was deprecated.
10741 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
10742   WikiPage::PURGE_* constants are deprecated, and the functions will always
10743   return false. They were a hack for an issue that has since been fixed.
10744 * Hook 'EditPageBeforeEditChecks' is now deprecated. Instead use the new hook
10745   'EditPageGetCheckboxesDefinition', or 'EditPage::showStandardInputs:options'
10746   if you don't actually care about checkboxes and just want to add some HTML
10747   to the page.
10748 * Selflinks are now rendered as href-less <a> tags with the class mw-selflink
10749   rather than <strong> tags. The old class name, "selflink", was deprecated
10750   and will be removed in a future release. (T160480)
10751 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
10752 * Browser support for non-ES5 JavaScript browsers, including Android 2,
10753   Opera <12.10, and Internet Explorer 9, was lowered from Grade A to Grade C.
10754 * Removed wikibits global methods deprecated since MediaWiki 1.17 (T122755):
10755   is_gecko, is_chrome_mac, is_chrome, webkit_version, is_safari_win, is_safari,
10756   webkit_match, is_ff2, ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs,
10757   opera7_bugs, opera6_bugs, is_opera_95, is_opera_preseven, is_opera,
10758   ie6_bugs, clientPC, changeText, killEvt, addHandler, hookEvent,
10759   addClickHandler, removeHandler, getElementsByClassName, getInnerText,
10760   setupCheckboxShiftClick, addCheckboxClickHandlers, mwEditButtons,
10761   mwCustomEditButtons, injectSpinner, removeSpinner, escapeQuotes,
10762   escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix,
10763   tooltipAccessKeyRegexp, updateTooltipAccessKeys.
10764 * The ID of the <li> element containing the login link has changed from
10765   'pt-login' to 'pt-login-private' in private wikis.
10766 * The old, neglected "bulletin board style toolbar" in the edit form is now
10767   deprecated (T30856). This old code dates from 2006, and was replaced in the
10768   MediaWiki release tarball and in Wikimedia production by the WikiEditor
10769   extension in 2010. It is only shown to users if no other editor was
10770   installed, and leads to confusion.
10771 * (T92459) Loading ResourceLoader modules containing JavaScript through
10772   addModuleStyles() is deprecated and will log a warning server-side.
10774 = MediaWiki 1.28 =
10776 == MediaWiki 1.28.3 ==
10778 This is a security and maintenance release of the MediaWiki 1.28 branch.
10780 === Changes since 1.28.2 ==
10781 * (T168856) Allow SVGs created by Dia to be uploaded.
10782 * (T157545) Add missing doUpdates() call to refreshLinks.php.
10783 * (T165714) (T100085) Better handling of jobs execution in post-connection
10784   shutdown.
10785 * (T154425) (T154438) (T157679) Use AutoCommitUpdate instead of
10786   Database->onTransactionIdle.
10787 * (T154425) Make DeferredUpdates detect LBFactory transaction rounds.
10788 * (T149454) Restore erroneously removed realTableName call from
10789   DatabasePostgres.
10790 * (T167798) Fix phrase search and highlighting for phrase queries.
10791 * (T151136) Provide credits information to callbacks in extension registration.
10792 * (T160462) Allow namespaces defined in extension.json to be overwritten
10793   locally.
10794 * (T168337) Fix ErrorPageError to work from non-UI contexts.
10795 * (T143788) Backports for PHP 7.0 and 7.1 support.
10796 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
10797 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
10798 * (T174255) Declare uploadCount property in importDump.php.
10799 * (T180231) SECURITY: Updated dev dependancy phpunit/phpunit from v4.8.24 to
10800   v4.8.36.
10801 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
10802   browser sends non-standard url escaping.
10803 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
10804 * (T128209) SECURITY: Reflected File Download from api.php.
10805 * (T134100) SECURITY: Do not reveal if user exists during login failure.
10806 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
10807 * (T125163) SECURITY: Make anchor for headlines escape > and <.
10808 * (T180237) SECURITY: Protect vendor folder with .htaccess.
10809 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
10810   update.php.
10811 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
10812 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
10814 == MediaWiki 1.28.2 ==
10816 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
10817 included in the tarball version of MediaWiki 1.28.1. The version included had a
10818 serious security issue in it (T158689). There was also some minor code fixes in
10819 MediaWiki itself since 1.28.1, but none of them were security relevant.
10821 == MediaWiki 1.28.1 ==
10823 This is a security and maintenance release of the MediaWiki 1.28 branch.
10825 === Changes since 1.28.0 ===
10827 * $wgRunJobsAsync is now false by default (T142751). This change only affects
10828   wikis with $wgJobRunRate > 0.
10829 * Fix fatal from "WaitConditionLoop" not being found, experienced when a wiki
10830   has more than one database server setup.
10831 * (T152717) Better escaping for PHP mail() command,
10832 * (T154670) A missing method causing the MySQL installer to fatal in rare
10833   circumstances was restored.
10834 * (T154672) Un-deprecate ArticleAfterFetchContentObject hook.
10835 * (T158766) Avoid SQL error on MSSQL when using selectRowCount().
10836 * (T145635) Fix too long index error when installing with MSSQL.
10837 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
10838 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
10839   installed.
10840 * (T154872) Fix incorrect ar_usertext_timestamp index names in new 1.28
10841   installs.
10842 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
10843   redirect to interwiki links.
10844 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
10845   $wgAdvancedSearchHighlighting is true.
10846 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
10847   their values out of the logs.
10848 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
10849   CSRF token.
10850 * (T156184) SECURITY: Escape content model/format url parameter in message.
10851 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
10852   declaration.
10853 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
10854   directory in it's fallback chain when trying to work out where to write the
10855   cache.
10856 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
10857   inclusion syntax's link parameter.
10858 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
10859   against it.
10861 == MediaWiki 1.28 ==
10863 === Changes since 1.28.0-rc1 ===
10864 * (T148957) Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db
10865   errors.
10866 * (T148956) Only apply wgDBschema to postgres/mssql.
10867 * (T145991) Introduce separate log action for deleting pages on move.
10868 * (T141474) (T110464) Bypass login page if no user input is required.
10870 === Changes since 1.28.0-rc0 ===
10871 * (T142210) The changes to move the parser "NewPP limit report" from a HTML
10872   comment to a machine-readable JavaScript config option 'wgPageParseReport'
10873   have been undone. They caused the human-readable limit report to be shown
10874   incompletely or not at all. ParserOutput::setLimitReportData() and
10875   getLimitReportData() behave as they did in MediaWiki 1.27 again.
10876 * (T149510) Value of {{DISPLAYTITLE:}} parser function will not be used for
10877   the text of subheadings on a category page when creating it. This wasn't
10878   working correctly.
10879 * (T106793) MediaWiki will no longer try to perform a HTTP redirect to the
10880   canonical pretty URL when a non-pretty URL is used. It resulted in redirect
10881   loops in some clients and in some server configurations. This undoes a change
10882   made in MediaWiki 1.26.
10883 * (T149759) manifest_version: 2 was removed.
10885 === Configuration changes in 1.28 ===
10886 * $wgSend404Code now affects status code of action=history if the page is not
10887   there.
10888 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
10889   made by MediaWiki via a proxy. Relying on the http_proxy environment
10890   variable is no longer supported.
10891 * The load.php entry point now enforces the existing policy of not allowing
10892   access to session data, which includes the session user and the session
10893   user's language. If such access is attempted, an exception will be thrown.
10894 * The number of internal PBKDF2 iterations used to derive the session secret
10895   is configurable via $wgSessionPbkdf2Iterations.
10896 * Upload dialog's file upload log comment can now be configured separately for
10897   local and foreign uploads.
10898 * $wgForeignUploadTargets now defaults to `[ 'local' ]`, where `'local'`
10899   signifies local uploads. A value of `[]` (empty array) now means that
10900   no upload targets are allowed, effectively disabling the upload dialog.
10901 * The deprecated $wgEditEncoding variable has been removed; it was only used
10902   for Esperanto language character conversion. You are now recommended to use
10903   input methods provided by the UniversalLanguageSelector extension.
10904 * When $wgPingback is true, MediaWiki will periodically ping
10905   https://www.mediawiki.org/beacon with basic information about the local
10906   MediaWiki installation. This data includes, for example, the type of system,
10907   PHP version, and chosen database backend. This behavior is off by default.
10908 * When $wgEditSubmitButtonLabelPublish is true, MediaWiki will label the button
10909   to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
10910   if false, the default, they will be "Save page"/"Save changes".
10911 * The 'editcontentmodel' permission is now granted to all logged-in users
10912   ('user').
10913   instead of just administrators ('sysop'). Documentation for this feature is
10914   available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>.
10915 * $wgRevisionCacheExpiry is now set to one week by default instead of being
10916   disabled.
10917 * Magic links are now disabled by default, and can be re-enabled by modifying
10918   the value of $wgEnableMagicLinks. Their usage is discouraged, but if they are
10919   manually enabled, a tracking category will be added to help identify usage and
10920   make it easier to migrate away from. If you depend upon magic link
10921   functionality, it is requested that you comment on
10922   <https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links>
10923   and explain your use case(s).
10924 * New config variable $wgCSPFalsePositiveUrls to control what URLs to ignore
10925   in upcoming Content-Security-Policy feature's reporting.
10927 === New features in 1.28 ===
10928 * User::isBot() method for checking if an account is a bot role account.
10929 * Added a new 'slideshow' mode for galleries.
10930 * Added a new hook, 'UserIsBot', to aid in determining if a user is a bot.
10931 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
10932   interact with API parsing.
10933 * Added a new hook, 'UploadVerifyUpload', which can be used to reject a file
10934   upload. Unlike 'UploadVerifyFile' it provides information about upload comment
10935   and the file description page, but does not run for uploads to stash.
10936 * (T141604) Extensions can now provide a better error message when their
10937   maintenance scripts are run without the extension being installed.
10938 * (T8948) Numeric sorting in categories is now supported by setting
10939   $wgCategoryCollation to 'uca-default-u-kn' or 'uca-<langcode>-u-kn'. If you
10940   can't use UCA collations, a 'numeric' collation is also available. If
10941   migrating from another collation, you will need to run the updateCollation.php
10942   maintenance script.
10943 * Two new codes have been added to #time parser function: "xit" for days in
10944   current month, and "xiz" for days passed in the year, both in Iranian
10945   calendar.
10946 * mw.Api has a new option, useUS, to use U+001F (Unit Separator) when
10947   appropriate for sending multi-valued parameters. This defaults to true when
10948   the mw.Api instance seems to be for the local wiki.
10949 * After a client performs an action which alters a database that has replica
10950   databases, MediaWiki will wait for the replica databases to synchronize with
10951   the master database while it renders the HTML output. However, if the output
10952   is a redirect to another wiki on the wiki farm with a different domain,
10953   MediaWiki will instead alter the redirect URL to include a ?cpPosTime
10954   parameter that triggers the database synchronization when the URL is followed
10955   by the client. The same-domain case uses a new cpPosTime cookie.
10956 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
10957   'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
10958   'show' parameters to existing API query modules.
10960 === External library changes in 1.28 ===
10962 ==== Upgraded external libraries ====
10963 * Updated es5-shim from v4.1.5 to v4.5.8
10964 * Updated composer/semver from v1.4.1 to v1.4.2
10965 * Updated wikimedia/php-session-serializer from v1.0.3 to v1.0.4
10967 ==== New external libraries ====
10968 * Added wikimedia/scoped-callback v1.0.0
10969 * Added wikimedia/wait-condition-loop v1.0.1
10971 === Bug fixes in 1.28 ===
10972 * (T146496) action=history pages should return 404 HTTP error code if the page
10973   does not exist
10974 * (T137264) SECURITY: XSS in unclosed internal links
10975 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
10976 * (T133147) SECURITY: Require login to preview user CSS pages
10977 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
10978   the top file
10979 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
10980   permissions
10981 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
10982 * (T139670) Move 'UserGetRights' call before application of
10983   Session::getAllowedUserRights()
10985 === Action API changes in 1.28 ===
10986 * Added 'maxarticlesize' property to action=query&meta=siteinfo which contains
10987   the value of $wgMaxArticleSize.
10988 * Property 'modulemessages' from action=parse&prop=modules was removed
10989   (deprecated since 1.26).
10990 * The following response properties from action=login, deprecated in 1.27, are
10991   now removed: lgtoken, cookieprefix, sessionid. Clients should handle cookies
10992   to properly manage session state.
10993 * Submitting the lgtoken and lgpassword parameters in the query string to
10994   action=login is now deprecated and outputs a warning. They should be submitted
10995   in the POST body instead.
10996 * Submitting sensitive authentication request parameters to action=clientlogin,
10997   action=createaccount, action=linkaccount, and action=changeauthenticationdata
10998   in the query string is now deprecated and outputs a warning. They should be
10999   submitted in the POST body instead.
11000 * (T141960) Multi-valued parameters may now be separated using U+001F
11001   (Unit Separator) instead of the pipe character. This will be useful if some of
11002   the multiple values need to contain pipes, e.g. for action=options.
11003 * The API will now warn if input is not NFC-normalized Unicode or if it
11004   contains invalid characters.
11005 * The 'normalized' list output by action=query and other modules that use
11006   ApiPageSet may contain entries where the 'from' value is percent-encoded as
11007   the raw value cannot be represented in a valid API response. These are
11008   indicated by a 'fromencoded' boolean alongside the existing 'from' parameter.
11009 * (T28680) action=paraminfo can now return info about all submodules of a
11010   module without listing them all explicitly.
11011 * (T146770) It is now possible to assert that the current user is a specific
11012   named user, using the 'assertuser' parameter.
11013 * (T141963) Added a 'known' property when missing-but-known titles (e.g. from
11014   the 'TitleIsAlwaysKnown' hook) are output in various modules.
11016 === Action API internal changes in 1.28 ===
11017 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
11018   interact with ApiParse and ApiExpandTemplates.
11019 * (T139565) SECURITY: API: Generate head items in the context of the given title
11020 * (T115333) SECURITY: Check read permission when loading page content in
11021   ApiParse
11022 * ApiBase::getResultData() was removed (deprecated since 1.25)
11023 * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25)
11024 * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25)
11025 * ApiBase::makeHelpMsg() was removed (deprecated since 1.25)
11026 * ApiFormatBase::formatHTML() was removed (deprecated since 1.25)
11027 * ApiFormatBase::getNeedsRawData() was removed (deprecated since 1.25)
11028 * ApiFormatBase::getWantsHelp() was removed (deprecated since 1.25)
11029 * ApiFormatBase::setBufferResult() was removed (deprecated since 1.25)
11030 * ApiFormatBase::setHelp() was removed (deprecated since 1.25)
11031 * ApiFormatBase::setUnescapeAmps() was removed (deprecated since 1.25)
11032 * ApiMain::makeHelpMsgHeader() was removed (deprecated since 1.25)
11033 * ApiMain::reallyMakeHelpMsg() was removed (deprecated since 1.25)
11034 * ApiMain::setHelp() was removed (deprecated since 1.25)
11035 * ApiResult::beginContinuation() was removed (deprecated since 1.25)
11036 * ApiResult::cleanUpUTF8() was removed (deprecated since 1.25)
11037 * ApiResult::convertStatusToArray() was removed (deprecated since 1.25)
11038 * ApiResult::disableSizeCheck() was removed (deprecated since 1.24)
11039 * ApiResult::enableSizeCheck() was removed (deprecated since 1.24)
11040 * ApiResult::endContinuation() was removed (deprecated since 1.25)
11041 * ApiResult::getData() was removed (deprecated since 1.25)
11042 * ApiResult::getIsRawMode() was removed (deprecated since 1.25)
11043 * ApiResult::setContent() was removed (deprecated since 1.25)
11044 * ApiResult::setContinueParam() was removed (deprecated since 1.25)
11045 * ApiResult::setElement() was removed (deprecated since 1.25)
11046 * ApiResult::setGeneratorContinueParam() was removed (deprecated since 1.25)
11047 * ApiResult::setIndexedTagName_internal() was removed (deprecated since 1.25)
11048 * ApiResult::setIndexedTagName_recursive() was removed (deprecated since 1.25)
11049 * ApiResult::setMainForContinuation() was removed (deprecated since 1.25)
11050 * ApiResult::setParsedLimit() was removed (deprecated since 1.25)
11051 * ApiResult::setRawMode() was removed (deprecated since 1.25)
11052 * ApiResult::size() was removed (deprecated since 1.25)
11053 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
11054   'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
11055   'show' parameters to existing API query modules. A query module can enable
11056   these hooks by passing an array for $hookData to ApiQueryBase::select() and
11057   by calling ApiQueryBase->processRow() before adding a row's data to the
11058   result.
11060 === Languages updated in 1.28 ===
11062 MediaWiki supports over 375 languages. Many localisations are updated
11063 regularly. Below only new and removed languages are listed, as well as
11064 changes to languages because of Phabricator reports.
11066 * (T137411) ban (Balinese), thanks to translators Adi Mayndra, Andru,
11067   BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라.
11068 * (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha,
11069   Saiddzone Saimawnkham, Saosukham, and Sengwan.
11070 * Czech (cs) and Slovak (sk) set as reciprocal fallbacks.
11071 * (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator
11072   Ilja.mos.
11074 === Other changes in 1.28 ===
11075 * (T128697) Improved handling of large diffs.
11076 * [BREAKING CHANGE] $wgExtendedLoginCookies has been removed. You can
11077   use or update a custom session provider if needed.
11078 * Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent.
11079 * The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead.
11080 * SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
11081 * The 'UserLoginComplete' hook has a new parameter to differentiate between
11082   actual login and visiting the login page while already logged in.
11083 * ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24).
11084 * $.fn.liveAndTestAtStart was removed (deprecated since 1.24).
11085 * mw.util.tooltipAccessKeyPrefix was removed (deprecated since 1.24).
11086 * mw.util.tooltipAccessKeyRegexp was removed (deprecated since 1.24).
11087 * Linker::link() and Linker::linkKnown() were deprecated; please instead use
11088   MediaWiki\Linker\LinkRenderer. In addition, the LinkBegin and LinkEnd hooks
11089   were replaced by HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
11090   respectively. See docs/hooks.txt for the specific changes needed for those
11091   hooks.
11092 * Linker::formatSize() was deprecated. Use Language::formatSize() directly.
11093 * Aliases for Linker methods, deprecated since 1.21, were removed from Skin:
11094   * Skin::commentBlock() (use Linker::commentBlock() instead)
11095   * Skin::generateRollback() (use Linker::generateRollback() instead)
11096   * Skin::link() (use MediaWiki\Linker\LinkRenderer instead)
11097   * Skin::linkKnown() (use MediaWiki\Linker\LinkRenderer instead)
11098   * Skin::userLink() (use Linker::userLink() instead)
11099   * Skin::userToolLinks() (use Linker::userToolLinks() instead)
11100 * Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is
11101   disabled.
11102 * DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21).
11103 * UploadBase::stashFileGetKey() and UploadBase::stashSession() were deprecated.
11104   Use ...->stashFile()->getFileKey() instead.
11105 * "Public domain" was removed as a wiki license option from the installer, in
11106   favour of CC-0.
11107 * AuthenticationRequest::$required is now changed from REQUIRED to
11108   PRIMARY_REQUIRED on requests needed by primary providers even if all primaries
11109   need them.
11110   Primary providers are discouraged from returning multiple REQUIRED requests.
11111 * OOjs UI PHP widgets constructed with the `'infusable' => true` config option
11112   will no longer be automatically infused. You should call `OO.ui.infuse()`
11113   on them yourself from your JavaScript code.
11114 * parserTests.php has moved to tests/parser/parserTests.php
11115 * The command line options specific to parser tests have been removed from
11116   phpunit.php: --regex and --keep-uploads. Instead of --regex, use --filter.
11117   Instead of --keep-uploads, use the same option to parserTests.php, but you
11118   must specify a directory with --upload-dir.
11119 * The 'jquery.arrowSteps' ResourceLoader module is now deprecated.
11120 * IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should
11121   migrate to using the same functions on a ProxyLookup instance, obtainable from
11122   MediaWikiServices.
11123 * The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave,
11124   ArticleSaveComplete, ArticleViewCustom, EditFilterMerged, EditPageGetDiffText,
11125   EditPageGetPreviewText and ShowRawCssJs hooks will now emit deprecation
11126   warnings if used.
11127 * (T68404) CSS3 attr() function with url type is no longer allowed
11128   in inline styles.
11129 * Database::getSearchEngine() is deprecated, use
11130   SearchEngineFactory::getSearchEngineClass instead.
11132 == Compatibility ==
11134 MediaWiki 1.28 requires PHP 5.5.9 or later. There is experimental support for
11135 HHVM 3.6.5 or later.
11137 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
11138 support for them is somewhat less mature. There is experimental support for
11139 Oracle and Microsoft SQL Server.
11141 The supported versions are:
11143 * MySQL 5.0.3 or later
11144 * PostgreSQL 8.3 or later
11145 * SQLite 3.3.7 or later
11146 * Oracle 9.0.1 or later
11147 * Microsoft SQL Server 2005 (9.00.1399)
11149 == Upgrading ==
11151 1.28 has several database changes since 1.27, and will not work without schema
11152 updates. Note that due to changes to some very large tables like the revision
11153 table, the schema update may take quite long (minutes on a medium sized site,
11154 many hours on a large site).
11156 If upgrading from before 1.11, and you are using a wiki as a commons
11157 repository, make sure that it is updated as well. Otherwise, errors may arise
11158 due to database schema changes.
11160 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
11161 new database fields are filled with data.
11163 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
11164 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
11165 with MediaWiki 1.21.
11167 Don't forget to always back up your database before upgrading!
11169 See the file UPGRADE for more detailed upgrade instructions.
11171 For notes on 1.27.x and older releases, see HISTORY.
11173 == Online documentation ==
11175 Documentation for both end-users and site administrators is available on
11176 MediaWiki.org, and is covered under the GNU Free Documentation License (except
11177 for pages that explicitly state that their contents are in the public domain):
11179        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
11181 == Mailing list ==
11183 A mailing list is available for MediaWiki user support and discussion:
11185        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
11187 A low-traffic announcements-only list is also available:
11189        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
11191 It's highly recommended that you sign up for one of these lists if you're
11192 going to run a public MediaWiki, so you can be notified of security fixes.
11194 == IRC help ==
11196 There's usually someone online in #mediawiki on irc.freenode.net.
11198 = MediaWiki 1.27 =
11200 == MediaWiki 1.27.7 ==
11202 This is a maintenance release of the MediaWiki 1.27 branch.
11204 === Changes since MediaWiki 1.27.6 ===
11205 * Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php.
11206 * Remove broken tests from ApiBlockTest.php.
11208 == MediaWiki 1.27.6 ==
11210 This is a security and maintenance release of the MediaWiki 1.27 branch.
11212 === Changes since MediaWiki 1.27.5 ===
11213 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
11214   all titles when asked for none.
11215 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
11216   libraries.
11217 * (T207241) Augment precision of updatelist time.
11218 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
11219 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
11220 * (T207603) SECURITY: User JS may no longer be loaded with mime type
11221   text/javascript if there is no account associated with the username.
11222 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
11223   type if non-admins can edit the page.
11224 * (T207541) Pass email address to mail().
11225 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
11226 * (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1.
11227 * (T208871) The hard-coded Google search form on the database error page was
11228   removed.
11229 * (T216968) Return pageid as int in both list=iwbacklinks and
11230   list=langbacklinks.
11231 * (T218608) Fix an issue that prevents Extension:OAuth working when
11232   $wgBlockDisablesLogin is true.
11233 * (T219728) Added support for new Japanese era name "Reiwa".
11234 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
11235   token.
11236 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
11237   reauthenticating.
11238 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
11239   getLoginSecurityLevel() returns non-false.
11240 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
11241 * (T208881) SECURITY: blacklist CSS var().
11242 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
11243 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
11244 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
11245 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
11246   view the log type.
11247 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
11249 == MediaWiki 1.27.5 ==
11251 This is a security and maintenance release of the MediaWiki 1.27 branch.
11253 === Changes since 1.27.4 ===
11254 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
11255   'newbie'.
11256 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
11257   account lock.
11258 * Upgraded Moment.js from v2.8.4 to v2.19.3.
11259 * (T160298) Fixed Special:ActiveUsers due to bad backport.
11260 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
11261   array.
11262 * Updated list of SPDX licenses for extensions.
11263 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
11264   include extensions. Pass --with-extensions to enable that feature.
11265 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
11266 * Add default edit rate limit of 90 edits/minute for all users.
11267 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
11268 * (T196672) The mtime of extension.json files is now able to be zero.
11269 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
11270   hook.
11271 * (T180403) Validate $length in padleft/padright parser functions.
11272 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
11273 * Special:BotPasswords now requires reauthentication.
11274 * (T191608, T187638) Add 'logid' parameter to Special:Log.
11275 * (T193829) Indicate when a Bot Password needs reset.
11276 * (T151415) Log email changes.
11277 * (T118420) Unbreak Oracle installer.
11279 == MediaWiki 1.27.4 ==
11280 This is a security and maintenance release of the MediaWiki 1.27 branch.
11282 === Changes since 1.27.3 ===
11283 * (T100085) Better handling of jobs execution in post-connection shutdown.
11284 * (T141604) Support conditionally registered namespaces.
11285 * (T167798) Fix highlighting for phrase queries and phrase search.
11286 * (T151136) Provide credits information to callbacks.
11287 * (T160462) Allow namespaces defined in extension.json to be overwritten
11288   locally.
11289 * (T168856) Allow SVGs created by Dia to be uploaded.
11290 * (T144705) (T148662) Password reset link is no longer shown when no reset
11291   options are available.
11292 * (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support.
11293 * (T66795) $wgUserEmailUseReplyTo is now true by default to work around
11294   restrictive DMARC policies.
11295 * DB_REPLICA constant added from REL1_28+ to ease backports to extensions and
11296   core.
11297 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
11298 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
11299 * (T142304) Allow putting the app ID in the password for bot passwords.
11300 * Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36.
11301 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
11302   browser sends non-standard url escaping.
11303 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
11304 * (T128209) SECURITY: Reflected File Download from api.php.
11305 * (T134100) SECURITY: Do not reveal if user exists during login failure.
11306 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
11307 * (T125163) SECURITY: Make anchor for headlines escape > and <.
11308 * (T180237) SECURITY: Protect vendor folder with .htaccess.
11309 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
11310   update.php.
11311 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
11312 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
11314 == MediaWiki 1.27.3 ==
11315 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
11316 included in the tarball version of MediaWiki 1.27.2. The version included had a
11317 serious security issue in it (T158689). There was also some minor code fixes in
11318 MediaWiki itself since 1.27.2, but none of them were security relevant.
11320 === Changes since 1.27.2 ===
11321 * (T145664) Fix broken wincache merge() implementation
11322 * (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility
11323 * (T153505) Fix php warnings on php 7.1 due to use of &$this
11325 == MediaWiki 1.27.2 ==
11326 This is a security and maintenance release of the MediaWiki 1.27 branch.
11328 ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as
11329 deprecated (rather than already removed) in the RELEASE-NOTES at the point
11330 1.27.0 was released.
11332 === Changes since 1.27.1 ===
11334 * (T68404) CSS3 attr() function with url type argument is no longer allowed
11335   in inline styles.
11336 * $wgRunJobsAsync is now false by default (T142751). This change only affects
11337   wikis with $wgJobRunRate > 0.
11338 * (T152717) Better escaping for PHP mail() command
11339 * Submitting the lgtoken and lgpassword parameters in the query string to
11340   action=login is now deprecated and outputs a warning. They should be submitted
11341   in the POST body instead.
11342 * Submitting sensitive authentication request parameters to action=clientlogin,
11343   action=createaccount, action=linkaccount, and action=changeauthenticationdata
11344   in the query string is now deprecated and outputs a warning. They should be
11345   submitted in the POST body instead.
11346 * (T158766) Avoid SQL error on MSSQL when using selectRowCount()
11347 * (T145635) Fix too long index error when installing with MSSQL.
11348 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
11349 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
11350   installed.
11351 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
11352   redirect to interwiki links.
11353 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
11354   $wgAdvancedSearchHighlighting is true.
11355 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
11356   their values out of the logs.
11357 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
11358   CSRF token.
11359 * (T156184) SECURITY: Escape content model/format url parameter in message.
11360 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
11361   declaration.
11362 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
11363   directory in it's fallback chain when trying to work out where to write the
11364  cache.
11365 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
11366   inclusion syntax's link parameter.
11367 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
11368   against it.
11370 == MediaWiki 1.27.1 ==
11372 This is a maintenance release of the MediaWiki 1.27 branch.
11374 === Changes since 1.27.0 ===
11375 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
11376   made by MediaWiki via a proxy. Relying on the http_proxy environment
11377   variable is no longer supported.
11378 * (T139565) SECURITY: API: Generate head items in the context of the given title
11379 * (T137264) SECURITY: XSS in unclosed internal links
11380 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
11381 * (T133147) SECURITY: Require login to preview user CSS pages
11382 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
11383   the top file
11384 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
11385   permissions
11386 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
11387 * (T115333) SECURITY: Check read permission when loading page content in
11388   ApiParse
11389 * (T57548) Remove support for $wgWellFormedXml = false, all output is now well
11390   formed
11391 * (T139670) Move 'UserGetRights' call before application of
11392   Session::getAllowedUserRights()
11394 == MediaWiki 1.27.0 ==
11396 === PHP version requirement in 1.27 ===
11397 As of 1.27, MediaWiki now requires PHP 5.5.9 or higher (see Compatibility
11398 section). Additionally, the following PHP extensions are required:
11399 * ctype
11400 * iconv
11401 * json
11402 * mbstring (new requirement in 1.27)
11403 * xml
11404 The following PHP extensions are strongly recommended:
11405 * openssl
11407 === Configuration changes in 1.27 ===
11408 * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
11409   now always enabled. If you use RDFa on your wiki, you now have to explicitly
11410   set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
11411 * $wgUseLinkNamespaceDBFields was removed.
11412 * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
11413   $wgResourceLoaderMinifierMaxLineLength, because there was little value in
11414   making the behavior configurable. The default values (`false` for the former,
11415   1000 for the latter) are now hard-coded.
11416 * $wgDebugDumpSqlLength was removed (deprecated in 1.24).
11417 * $wgDebugDBTransactions was removed (deprecated in 1.20).
11418 * $wgUseXVO has been removed, as it provides functionality only used by
11419   custom Wikimedia patches against Squid 2.x that probably noone uses in
11420   production anymore. There is now $wgUseKeyHeader that provides similar
11421   functionality but instead of the MediaWiki-specific X-Vary-Options header,
11422   uses the draft Key header standard.
11423 * $wgScriptExtension (and support for '.php5' entry points) was removed. See the
11424   deprecation notice in the release notes for version 1.25 for advice on how to
11425   preserve support for '.php5' entry points via URL rewriting.
11426 * Password handling via the User object has been deprecated and partially
11427   removed, pending the future introduction of AuthManager. In particular:
11428 ** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
11429    getPasswordExpired() have been removed. They were unused outside of core.
11430 ** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
11431    now private and will be removed in the future.
11432 ** The getPassword() and getTemporaryPassword() methods now throw
11433    BadMethodCallException and will be removed in the future.
11434 ** The ability to pass 'password' and 'newpassword' to createNew() has been
11435    removed. The only users of it seem to have been using it to set invalid
11436    passwords, and so shouldn't be greatly affected.
11437 ** setPassword(), setInternalPassword(), and setNewpassword() have been
11438    deprecated, pending the introduction of AuthManager.
11439 ** User::randomPassword() is deprecated in favor of a new method
11440    PasswordFactory::generateRandomPasswordString()
11441 ** User::getPasswordFactory() is deprecated, callers should just create a
11442    PasswordFactory themselves.
11443 ** A new constructor, User::newSystemUser(), has been added to simplify the
11444    creation of passwordless "system" users for logged actions.
11445 * $wgMaxSquidPurgeTitles was removed.
11446 * $wgAjaxWatch was removed. This is now enabled by default.
11447 * $wgUseInstantCommons now hotlinks Commons images by default instead of
11448   downloading originals and thumbnailing them locally. This allows wikis to save
11449   on CPU and bandwidth while reducing time to first byte for pages, even without
11450   a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
11451 * (T27397) WebP is enabled by default as an uploadable filetype.
11452 * (T48998) $wgArticlePath must now be either a full url, or start with a "/".
11453 * $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
11454 * Deprecated API formats dbg, txt, and yaml have been removed.
11455 * CLDRPluralRule* classes have been replaced with
11456   wikimedia/cldr-plural-rule-parser.
11457 * Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
11458   $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
11459   $wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
11460 * For proper operation of LocalIdLookup with shared user tables, ensure that
11461   $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
11462   that all others are sharing from and that $wgLocalDatabases is set to the
11463   full list of sharing wikis on all those wikis.
11464 * Massive overhaul to session handling:
11465 ** $wgSessionsInObjectCache is no longer supported and must be true, due to
11466    MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
11467    used.
11468 ** ObjectCacheSessionHandler is removed, replaced with
11469    MediaWiki\Session\PhpSessionHandler.
11470 ** PHP session handling in general ($_SESSION, session_id(), and so on) is
11471    deprecated. Use MediaWiki\Session\SessionManager instead. A new config
11472    variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
11473    issue a deprecation warning or to cause most PHP session handling to throw
11474    exceptions.
11475 ** Deprecated UserSetCookies hook. Session-handling extensions should generally
11476    be creating a custom subclass of CookieSessionProvider. Other extensions
11477    messing with cookies can no longer count on user data being saved in cookies
11478    versus other methods.
11479 ** Deprecated UserLoadFromSession hook, extensions should create a
11480    MediaWiki\Session\SessionProvider.
11481 ** The User cannot be loaded from session until after Setup.php completes.
11482    Attempts to do so will be ignored and the User will remain unloaded.
11483 ** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
11484    the MediaWiki\Session\Token class.
11485 * MediaWiki will now auto-create users as necessary, removing the need for
11486   extensions to do so. An 'autocreateaccount' right is added to allow
11487   auto-creation when 'createaccount' is not granted to all users.
11488 * Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
11489 * Most cookie-handling methods in User are deprecated.
11490 * $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
11491   experimental feature that has never worked.
11492 * Login and createaccount tokens now vary by timestamp.
11493 * LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
11494   return a MediaWiki\Session\Token, and tokens must be checked using that
11495   class's methods.
11496 * $wgEnotifUseJobQ was removed and the job queue is always used.
11497 * The functionality of the ApiSandbox extension has been merged into core. The
11498   extension should no longer be used.
11499 * $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
11500   Extensions, skins, gadgets and scripts that use the mediawiki.util module must
11501   express a dependency on it.
11502 * $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false.
11503   Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits
11504   module should express a dependency on it.
11505 * Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use
11506   $wgFooterIcons['copyright']['copyright'] instead.
11507 * If the openssl and mcrypt PHP extensions are both unavailable, secure
11508   session storage (used for login) will raise an exception. This exception may
11509   be bypassed by setting $wgSessionInsecureSecrets = true.
11510 * Massive overhaul to authentication:
11511 ** AuthPlugin and AuthPluginUser are deprecated.
11512 ** LoginForm and associated templates are deprecated. Extensions which called
11513    static LoginForm methods should be converted into authentication providers.
11514 ** The following hooks are deprecated:
11515 *** AbortAutoAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
11516 *** AbortLogin (create a MediaWiki\Auth\PreAuthenticationProvider instead)
11517 *** AbortNewAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
11518 *** AddNewAccount (use LocalUserCreated instead)
11519 *** AuthPluginSetup (create a MediaWiki\Auth\PrimaryAuthenticationProvider
11520     instead)
11521 *** ChangePasswordForm (use AuthChangeFormFields instead, or security levels)
11522 *** LoginUserMigrated (create a MediaWiki\Auth\PreAuthenticationProvider
11523     instead)
11524 *** UserCreateForm (create a MediaWiki\Auth\AuthenticationProvider of some type
11525     instead)
11526 *** UserLoginForm (create a MediaWiki\Auth\AuthenticationProvider of some type
11527     instead)
11528 ** The following hooks are removed:
11529 *** AbortChangePassword
11530 *** LoginPasswordResetMessage
11531 *** PrefsPasswordAudit
11532 ** The UserLoginComplete hook will no longer be called for all logins, only for
11533    those via the web UI. Use UserLoggedIn if you need to do something on all
11534    logins.
11535 ** $wgRequirePasswordforEmailChange is removed.
11537 === New features in 1.27 ===
11538 * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
11539   sticks to the primary DC (via cookies) after they make changes to the site.
11540 * Added a new hook, 'UserMailerTransformContent', to transform the contents
11541   of an email. This is similar to the EmailUser hook but applies to all mail
11542   sent via UserMailer.
11543 * Added a new hook, 'UserMailerTransformMessage', to transform the contents
11544   of an emai after MIME encoding.
11545 * Added a new hook, 'UserMailerSplitTo', to control which users have to be
11546   emailed separately (ie. there is a single address in the To: field) so
11547   user-specific changes to the email can be applied safely.
11548 * $wgCdnMaxageLagged was added, which limits the CDN cache TTL
11549   when any load balancer uses a DB that is lagged beyond the 'max lag'
11550   setting in the relevant section of $wgLBFactoryConf.
11551 * User::newSystemUser() may be used to simplify the creation of passwordless
11552   "system" users for logged actions from scripts and extensions.
11553 * Extensions can now return detailed error information via the API when
11554   preventing user actions using 'getUserPermissionsErrors' and similar hooks
11555   by using ApiMessage instances instead of strings for the $result value.
11556 * $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
11557   becomes too high.
11558 * Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
11559   and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
11560   cross-browser-compatible FlexBox rules. Users will still need to add fallback
11561   float rules or the like for compatibility with IE9- separately.
11562 * Added MWTimestamp::getTimezoneString() which returns the localized timezone
11563   string, if available. To localize this string, see the comments of
11564   $wgLocaltimezone in includes/DefaultSettings.php.
11565 * Added CentralIdLookup, a service that allows extensions needing a concept of
11566   "central" users to get that without having to know about specific central
11567   authentication extensions.
11568 * $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
11569   Regular web request transactions that takes longer than this are aborted.
11570 * Added a new hook, 'TitleMoveCompleting', which runs before a page move is
11571   committed.
11572 * $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
11573   from CDN to mitigate DB replication lag and WAN cache purge lag.
11574 * (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
11575   if it is available.
11576 * It is now possible to patrol file uploads (both for new files and new versions
11577   of existing files). Special:NewFiles has gained an option to filter by patrol
11578   status. This functionality can be disabled using $wgUseFilePatrol.
11579 * MediaWiki\Session infrastructure allows for easier use of session mechanisms
11580   other than the usual cookies.
11581 ** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
11582    custom session metadata.
11583 * Added MWGrants and associated configuration settings $wgGrantPermissions and
11584   $wgGrantPermissionGroups to hold configuration for authentication features
11585   such as OAuth that want to allow restricting the user rights a user may make
11586   use of.
11587 ** If you're already using the OAuth extension, these new variables are
11588    identical to (and will replace) $wgMWOAuthGrantPermissions and
11589    $wgMWOAuthGrantPermissionGroups.
11590 * Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
11591   to assert that the request comes from a particular IP range.
11592 * Added bot passwords, a rights-restricted login mechanism for API-using bots.
11593 * Whitelisted the following HTML attributes for all elements in wikitext:
11594   aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
11595 * Removed "presentation" restriction on the HTML role attribute in wikitext.
11596   All values are now allowed for the role attribute.
11597 * $wgContentHandlers now also supports callbacks to create an instance of the
11598   appropriate ContentHandler subclass.
11599 * Added $wgAuthenticationTokenVersion, which if non-null prevents the
11600   user_token database field from being exposed in cookies. Setting this would
11601   be a good idea, but will log out all current sessions.
11602 * $wgEventRelayerConfig was added, for managing PubSub event relay
11603   configuration, specifically for reliable CDN url purges.
11604 * Requests have unique IDs, equal to the UNIQUE_ID environment variable (when
11605   MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly-
11606   generated 24-character string. This request ID is used to annotate log records
11607   and error messages. It is available client-side via
11608   mw.config.get( 'wgRequestId' ).
11609   The request ID supplants exception IDs. Accordingly,
11610   MWExceptionHandler::getLogId() is deprecated.
11611 * (T33313) Add a preference for watching uploads by default, also applies
11612   to API-based upload tools.
11613 * $wgJpegPixelFormat was added to override chroma subsampling for JPEG image
11614   thumbnails created via ImageMagick. Defaults to 'yuv420', providing bandwidth
11615   savings versus the previous behavior on many files.
11616 * MediaWiki\Auth infrastructure (called "AuthManager") allows for more flexible
11617   configuration of multiple authentication pieces that was possible with
11618   AuthPlugin. For example, it's now easy to plug in second-factor
11619   authentication, or add additional checks to the login process, or to support
11620   multiple login methods at once, or to support non-password-based login
11621   methods.
11622 ** Providers are configured via the global setting $wgAuthManagerConfig.
11623 ** A global, $wgDisableAuthManager, is temporarily available to disable
11624    AuthManager until extensions are ready to support it.
11625 ** New hook, AuthChangeFormFields, to adjust the form fields on
11626    AuthManager-related special pages.
11627 ** New hook, AuthManagerLoginAuthenticateAudit, for additional logging of
11628    AuthManager-related authentication requests.
11629 ** New hook, ChangeAuthenticationDataAudit, for additional logging of
11630    AuthManager-related authentication data changes.
11631 ** New hook, SecuritySensitiveOperationStatus, to work with the new mechanism
11632    for requiring a recent login before taking security-sensitive operations
11633    like changing a password.
11634 ** Two new globals, $wgChangeCredentialsBlacklist and
11635    $wgRemoveCredentialsBlacklist can be used to prevent the web UI and the API
11636    changing certain authentication data.
11637 * The file upload dialog (available if you install WikiEditor or VisualEditor)
11638   can now be configured using $wgUploadDialog.
11640 === External library changes in 1.27 ===
11642 ==== Upgraded external libraries ====
11643 * Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
11644 * Updated composer/semver from v1.0.0 to v1.2.0.
11645 * Updated liuggio/statsd-php-client to 1.0.18.
11646 * Updated QUnit from v1.18.0 to v1.22.0.
11648 ==== New external libraries ====
11649 * Added wikimedia/base-convert v1.0.1.
11650 * Added wikimedia/cldr-plural-rule-parser v1.0.0.
11651 * Added wikimedia/relpath v1.0.3.
11652 * Added wikimedia/running-stat v1.1.0.
11653 * Added wikimedia/php-session-serializer v1.0.3.
11655 ==== Removed and replaced external libraries ====
11657 === Bug fixes in 1.27 ===
11658 * Special:Upload will now display correct maximum allowed file size when running
11659   under HHVM (T116347).
11660 * (T54077) The APIEditBeforeSave hook will once again give only the content of
11661   the section being edited, rather than the whole revision. This reverts the
11662   change made in MediaWiki 1.22.
11664 === Action API changes in 1.27 ===
11665 * Added list=allrevisions.
11666 * generator=recentchanges now has the option to generate revids.
11667 * ApiPageSet::setRedirectMergePolicy() was added. This allows generator
11668   modules to define how generator data for a redirect source gets merged
11669   into the redirect destination.
11670 * prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
11671   "was-deleted" warning.
11672 * Added difftotextpst to query=revisions which preforms a pre-save transform on
11673   the text before diffing it.
11674 * Deprecated formats dbg, txt, and yaml have been removed.
11675 * (T47988) The protect log event details now use new-style formatting.
11676 * The following response properties from action=login are deprecated, and may
11677   be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
11678   handle cookies to properly manage session state.
11679 * action=login transparently allows login using bot passwords. Clients should
11680   merely need to change the username and password used after setting up a bot
11681   password.
11682 * action=upload no longer understands statuskey, asyncdownload or leavemessage.
11683 * Several changes when $wgDisableAuthManager is false:
11684 ** action=login is deprecated for uses other than bot passwords.
11685 ** list=users can now indicate if a missing username is creatable.
11686 ** action=createaccount is changed in a non-backwards-compatible manner.
11687 ** Added action=query&meta=authmanagerinfo.
11688 ** Added action=clientlogin to be used to log into the main account instead of
11689    action=login.
11690 ** Added action=linkaccount.
11691 ** Added action=unlinkaccount.
11692 ** Added action=changeauthenticationdata.
11693 ** Added action=removeauthenticationdata.
11694 ** Added action=resetpassword.
11696 === Action API internal changes in 1.27 ===
11697 * ApiQueryORM removed.
11698 * The following classes have been removed:
11699 ** ApiFormatDbg
11700 ** ApiFormatTxt
11701 ** ApiFormatYaml
11702 * ApiBase::addTokenProperties() was removed (deprecated since 1.24).
11703 * ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24).
11704 * ApiBase::getFinalResultProperties() was removed (deprecated since 1.24).
11705 * ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated
11706   since 1.24).
11707 * ApiBase::getPossibleErrors() was removed (deprecated since 1.24).
11708 * ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated
11709   since 1.24).
11710 * ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated
11711   since 1.24).
11712 * ApiBase::getResultProperties() was removed (deprecated since 1.24).
11713 * ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24).
11714 * ApiBase::parseErrors() was removed (deprecated since 1.24).
11715 * ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
11716   ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
11717 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
11718 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
11719 * ApiQuery::getGenerators() was removed (deprecated since 1.21).
11720 * ApiQuery::getModules() was removed (deprecated since 1.21).
11721 * ApiQuery::getModuleType() was removed (deprecated since 1.21).
11722 * ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).
11723 * ApiMain::getModules() was removed (deprecated since 1.21).
11724 * ApiBase::getVersion() was removed (deprecated since 1.21).
11725 * ApiMain::getShowVersions() was removed (deprecated in 1.21).
11726 * ApiMain::addModule() was removed (deprecated in 1.21).
11727 * ApiMain::addFormat() was removed (deprecated in 1.21).
11728 * ApiMain::getFormats() was removed (deprecated in 1.21).
11729 * ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21).
11730 * ApiCreateAccount was removed.
11732 === Languages updated in 1.27 ===
11734 MediaWiki supports over 350 languages. Many localisations are updated
11735 regularly. Below only new and removed languages are listed, as well as
11736 changes to languages because of Phabricator reports.
11738 * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
11739 * (T116020) Aliases of magic words in MessagesXx.php are sorted by usage.
11741 === Other changes in 1.27 ===
11742 * Added dependency injection (DI) infrastructure, see docs/injection.txt for
11743   details.
11744   It is planned to incrementally move MediaWiki code towards using DI, using the
11745   service locator (SL) pattern as a stepping stone.
11746 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
11747 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
11748   ignore the 2nd and 3rd arguments (formerly $id and $commit).
11749 * Removed "loaderScripts" option from ResourceLoaderFileModule class.
11750 * Removed ORM-like wrapper added in 1.20.
11751 * LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
11752   (deprecated in 1.26).
11753 * WikiPage::doQuickEdit() was removed (deprecated since 1.21).
11754 * Removed SiteObject and SiteArray classes (deprecated in 1.21).
11755 * MessageBlobStore::getInstance() was removed (deprecated since 1.25).
11756 * (T84937) Free external links ("autolinked" urls) will now be terminated
11757   by &nbsp; and HTML entity encodings of &nbsp, <, and >.
11758 * (T36948) The default file revert message's timestamp is now in
11759   $wgLocaltimezone, instead of UTC.
11760 * The default name of the 'suppress' group page has been changed from
11761   'Project:Oversight' to 'Project:Suppress'.
11762 * DatabaseBase::resultObject() is now protected (use outside Database classes
11763   not necessary since 1.11).
11764 * Calling ResourceLoaderFileModule::readStyleFiles() without a
11765   ResourceLoaderContext instance is deprecated.
11766 * ResourceLoader::getLessCompiler() now takes an optional parameter of
11767   additional LESS variables to set for the compiler.
11768 * wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
11769   instead.
11770 * Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
11771   were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
11772 * Removed msg_resource_links database table and associated code.
11773 * Removed msg_resource database table and associated code.
11774 * Skin::getNamespaceNotice() was removed.
11775 * wfIsConfiguredProxy() was removed (deprecated since 1.24).
11776 * wfDebugTimer() was removed (deprecated since 1.25).
11777 * wfIsTrustedProxy() was removed (deprecated since 1.24).
11778 * wfGetIP() was removed (deprecated since 1.19).
11779 * MWHookException was removed.
11780 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
11781 * OutputPage::loginToUse() was removed (deprecated since 1.19).
11782 * Article::loadContent() was removed (deprecated since 1.19).
11783 * User::editToken() was removed (deprecated since 1.19).
11784 * Removed --force-normal option of dumpBackup.php, as it no longer served
11785   any useful purpose since 1.22.
11786 * The functions processOption() and processArgs() on the BackupDumper and
11787   TextPassDumper classes have been removed.
11788 * The maintenance/backupTextPass.inc file was deleted. You should include
11789   maintenance/dumpTextPass.php instead.
11790 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
11791 * wfEmptyMsg() was removed (deprecated since 1.18).
11792 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
11793 * OutputPage::blockedPage() was removed (deprecated since 1.18).
11794 * User::getSkin() was removed (deprecated since 1.18).
11795 * OutputPage::includeJQuery() was removed (deprecated since 1.17).
11796 * WikiPage::updateRestrictions() was removed (deprecated since 1.19).
11797 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
11798 * LogPage::logName() was removed (deprecated since 1.19).
11799 * LogPage::logHeader() was removed (deprecated since 1.19).
11800 * wfCheckLimits() was removed (deprecated since 1.24).
11801 * Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
11802 * Linker::makeLinkObj() was removed (deprecated since 1.16).
11803 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
11804 * ChangesList::usePatrol was removed (deprecated since 1.22).
11805 * wfMsgNoTrans() was removed (deprecated since 1.18).
11806 * Linker::makeImageLink2 was removed (deprecated since 1.20).
11807 * Title::userIsWatching() was removed (deprecated since 1.20).
11808 * Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
11809   database function directly instead.
11810 * wfMsg() was removed (deprecated since 1.18).
11811 * wfMsgForContent() was removed (deprecated since 1.18).
11812 * wfMsgReal() was removed (deprecated since 1.18).
11813 * wfMsgGetKey() was removed (deprecated since 1.18).
11814 * wfMsgHtml() was removed (deprecated since 1.18).
11815 * wfMsgWikiHtml() was removed (deprecated since 1.18).
11816 * wfMsgExt() was removed (deprecated since 1.18).
11817 * Language::armourMath() was removed (deprecated since 1.22).
11818 * LanguageConverter::armourMath() was removed (deprecated since 1.22).
11819 * FakeConverter::armourMath() was removed (deprecated since 1.22).
11820 * The unused jquery.validate ResourceLoader module was removed.
11821 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
11822 * User::generateToken() was removed (deprecated since 1.20).
11823 * WikiPage::getRawText() was removed (deprecated since 1.21).
11824 * ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
11825 * ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
11826 * ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
11827 * Gallery images with multiple caption pipes no longer concatenate them all
11828   together but instead pick the final one, similar to image syntax.
11829 * XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
11830   rather than consume everything until the end of the page.
11831 * New maintenance script resetUserEmail.php allows sysadmins to reset user
11832   emails in case a user forgot password/account was stolen.
11833 * wfCheckEntropy() was removed (deprecated in 1.27).
11834 * Browser support for Internet Explorer 8 lowered from Grade A to Grade C.
11835 * ContentHandler::supportsCategories method added. Default is true.
11836   CategoryMembershipChangeJob updates are skipped for content that
11837   does not support categories.
11838 * wikidiff difference engine is no longer supported, anyone still using it are
11839   encouraged to upgrade to wikidiff2 which is actively maintained and has better
11840   package availability.
11841 * Database logic was removed from WatchedItem and a WatchedItemStore was
11842   created:
11843 ** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were
11844    deprecated. User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were
11845    introduced.
11846 ** WatchedItem::fromUserTitle was deprecated in favour of the constructor.
11847 ** WatchedItem::resetNotificationTimestamp was deprecated.
11848 ** WatchedItem::batchAddWatch was deprecated.
11849 ** WatchedItem::addWatch was deprecated.
11850 ** WatchedItem::removeWatch was deprecated.
11851 ** WatchedItem::isWatched was deprecated.
11852 ** WatchedItem::duplicateEntries was deprecated.
11853 ** EmailNotification::updateWatchlistTimestamp was deprecated.
11854 ** User::getWatchedItem was removed.
11855 * Unit tests don't work with external PHPUnit anymore, Composer is now the only
11856   supported way. Run `composer install` to install it and other dev dependencies
11857   to run unit tests.
11858 * wl_id field added to the watchlist table.
11859 * Revision::getRawText() was removed (deprecated since 1.21).
11860 * WikiPage::replaceSection() was removed (deprecated since 1.21).
11861 * Article::replaceSection() was removed (deprecated since 1.21).
11862 * Language::getLangObj() was removed (deprecated since 1.24).
11863 * Language::getLanguageName() was removed (deprecated since 1.20).
11864 * Language::getLanguageNames() was removed (deprecated since 1.20).
11865 * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20).
11866 * Language::specialPage() was removed (deprecated since 1.24).
11867 * MediaWikiTestCase::assertException() was removed (deprecated since 1.22).
11868 * OutputPage::getHeadItems() was removed (deprecated since 1.24).
11869 * OutputPage::getScript() was removed (deprecated since 1.24).
11870 * OutputPage::out() was removed (deprecated since 1.22).
11871 * OutputPage::setAllowedModules() was removed (deprecated since 1.24).
11872 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
11873 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
11874 * Title::newFromRedirect() was removed (deprecated since 1.21).
11875 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
11876 * Skin::getCommonStylePath() was removed (deprecated since 1.24).
11877 * Skin::newFromKey() was removed (deprecated since 1.24).
11878 * Skin::getUsableSkins() was removed (deprecated since 1.23).
11879 * LoadBalancer::pickRandom() was removed (deprecated in 1.21).
11880 * Article::getUndoText() and WikiPage::getUndoText were removed (deprecated
11881   since 1.21).
11882 * DifferenceEngine::setText() was removed (deprecated in 1.21).
11883 * Title::newFromRedirectArray() was removed (deprecated in 1.21).
11884 * UserMailer::send() no longer accepts $replyto as the 5th argument and
11885   $contentType as the 6th. These must be passed in the options array now.
11886 * Title::newFromRedirectRecurse() was removed (deprecated in 1.21).
11887 * Skin::accesskey was removed (deprecated since 1.21).
11888 * Skin::blockLink was removed (deprecated since 1.21).
11889 * Skin::buildRollbackLink was removed (deprecated since 1.21).
11890 * Skin::emailLink was removed (deprecated since 1.21).
11891 * Skin::formatComment was removed (deprecated since 1.21).
11892 * Skin::formatHiddenCategories was removed (deprecated since 1.21).
11893 * Skin::formatLinksInComment was removed (deprecated since 1.21).
11894 * Skin::formatRevisionSize was removed (deprecated since 1.21).
11895 * Skin::formatSize was removed (deprecated since 1.21).
11896 * Skin::formatTemplates was removed (deprecated since 1.21).
11897 * Skin::generateTOC was removed (deprecated since 1.21).
11898 * Skin::getInternalLinkAttributes was removed (deprecated since 1.21).
11899 * Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21).
11900 * Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21).
11901 * Skin::getInvalidTitleDescription was removed (deprecated since 1.21).
11902 * Skin::getLinkColour was removed (deprecated since 1.21).
11903 * Skin::getRevDeleteLink was removed (deprecated since 1.21).
11904 * Skin::getRollbackEditCount was removed (deprecated since 1.21).
11905 * Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21).
11906 * Skin::makeCommentLink was removed (deprecated since 1.21).
11907 * Skin::makeExternalImage was removed (deprecated since 1.21).
11908 * Skin::makeExternalLink was removed (deprecated since 1.21).
11909 * Skin::makeHeadline was removed (deprecated since 1.21).
11910 * Skin::makeImageLink was removed (deprecated since 1.21).
11911 * Skin::makeMediaLinkFile was removed (deprecated since 1.21).
11912 * Skin::makeMediaLinkObj was removed (deprecated since 1.21).
11913 * Skin::makeSelfLinkObj was removed (deprecated since 1.21).
11914 * Skin::makeThumbLink2 was removed (deprecated since 1.21).
11915 * Skin::makeThumbLinkObj was removed (deprecated since 1.21).
11916 * Skin::normaliseSpecialPage was removed (deprecated since 1.21).
11917 * Skin::normalizeSubpageLink was removed (deprecated since 1.21).
11918 * Skin::processResponsiveImages was removed (deprecated since 1.21).
11919 * Skin::revComment was removed (deprecated since 1.21).
11920 * Skin::revDeleteLink was removed (deprecated since 1.21).
11921 * Skin::revDeleteLinkDisabled was removed (deprecated since 1.21).
11922 * Skin::revUserLink was removed (deprecated since 1.21).
11923 * Skin::revUserTools was removed (deprecated since 1.21).
11924 * Skin::specialLink was removed (deprecated since 1.21).
11925 * Skin::splitTrail was removed (deprecated since 1.21).
11926 * Skin::titleAttrib was removed (deprecated since 1.21).
11927 * Skin::tocIndent was removed (deprecated since 1.21).
11928 * Skin::tocLine was removed (deprecated since 1.21).
11929 * Skin::tocLineEnd was removed (deprecated since 1.21).
11930 * Skin::tocList was removed (deprecated since 1.21).
11931 * Skin::tocUnindent was removed (deprecated since 1.21).
11932 * Skin::tooltip was removed (deprecated since 1.21).
11933 * Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21).
11934 * Skin::userTalkLink was removed (deprecated since 1.21).
11935 * Skin::userToolLinksRedContribs was removed (deprecated since 1.21).
11936 * wikidiff3 is now the default and only PHP diff engine. It provides improved
11937   diff performance on complex changes. $wgExternalDiffEngine = 'wikidiff3'
11938   therefore makes no difference now. Users are still recommended to use
11939   wikidiff2 if possible, though.
11940 * User::addNewUserLogEntry() was deprecated.
11941 * User::addNewUserLogEntryAutoCreate() was deprecated.
11942 * User::isPasswordReminderThrottled() was deprecated.
11943 * Bot-oriented parameters to Special:UserLogin (wpCookieCheck,
11944   wpSkipCookieCheck) were removed.
11945 * Installer can now be customized without patching MediaWiki code, see
11946   mw-config/overrides/README for details.
11948 === Compatibility ===
11950 MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for
11951 HHVM 3.6.5 or later.
11953 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
11954 support for them is somewhat less mature. There is experimental support for
11955 Oracle and Microsoft SQL Server.
11957 The supported versions are:
11959 * MySQL 5.0.3 or later
11960 * PostgreSQL 8.3 or later
11961 * SQLite 3.3.7 or later
11962 * Oracle 9.0.1 or later
11963 * Microsoft SQL Server 2005 (9.00.1399)
11965 === Upgrading ===
11967 1.27 has several database changes since 1.26, and will not work without schema
11968 updates. Note that due to changes to some very large tables like the revision
11969 table, the schema update may take quite long (minutes on a medium sized site,
11970 many hours on a large site).
11972 If upgrading from before 1.11, and you are using a wiki as a commons
11973 repository, make sure that it is updated as well. Otherwise, errors may arise
11974 due to database schema changes.
11976 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
11977 new database fields are filled with data.
11979 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
11980 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
11981 with MediaWiki 1.21.
11983 Don't forget to always back up your database before upgrading!
11985 See the file UPGRADE for more detailed upgrade instructions.
11987 For notes on 1.26.x and older releases, see HISTORY.
11990 = MediaWiki 1.26 =
11992 == MediaWiki 1.26.4 ==
11994 This is a maintenance release of the MediaWiki 1.26 branch.
11996 === Changes since 1.26.3 ===
11997 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
11998   made by MediaWiki via a proxy. Relying on the http_proxy environment
11999   variable is no longer supported.
12000 * (T124163) Fixed fatal error in DifferenceEngine under HHVM.
12001 * (T139565) SECURITY: API: Generate head items in the context of the given title
12002 * (T137264) SECURITY: XSS in unclosed internal links
12003 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
12004 * (T133147) SECURITY: Require login to preview user CSS pages
12005 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
12006   the top file
12007 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
12008   permissions
12009 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
12010 * (T115333) SECURITY: Check read permission when loading page content in
12011   ApiParse
12012 * Remove support for $wgWellFormedXml = false, all output is now well formed
12014 == MediaWiki 1.26.3 ==
12016 This is a maintenance release of the MediaWiki 1.26 branch.
12018 === Changes since 1.26.2 ===
12019 * (T116266) Fixed undefined property notices in DairikiDiff under HHVM.
12020 * (T123166) Fix fatal error when importing pages to titles which cannot be
12021   created, such as invalid titles or titles the user is not allowed to edit.
12022 * (T122056) Old tokens are remaining valid within a new session
12023 * (T127114) Login throttle can be tricked using non-canonicalized usernames
12024 * (T123653) Cross-domain policy regexp is too narrow
12025 * (T123071) Incorrectly identifying http link in a's href attributes, due to
12026   m modifier in regex
12027 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
12028 * (T125283) Users occasionally logged in as different users after
12029   SessionManager deployment
12030 * (T103239) Patrol allows click catching and patrolling of any page
12031 * (T122807) [tracking] Check php crypto primatives
12032 * (T98313) Graphs can leak tokens, leading to CSRF
12033 * (T130947) Diff generation should use PoolCounter
12034 * (T133507) Careless use of $wgExternalLinkTarget is insecure
12035 * (T132874) API action=move is not rate limited
12036 * (T110143) strip markers can be used to get around html attribute escaping in
12037   (many?) parser tags
12038 * (T116030) Increase pbkdf2 parameter strengths
12039 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
12040 * (T126685) Globally throttle password attempts
12042 == MediaWiki 1.26.2 ==
12044 This is a maintenance release of the MediaWiki 1.26 branch.
12046 === Changes since 1.26.1 ===
12047 * (T121892) Fix fatal error on some Special pages, introduced in 1.26.1.
12049 == MediaWiki 1.26.1 ==
12051 This is a maintenance release of the MediaWiki 1.26 branch.
12053 === Changes since 1.26.0 ===
12054 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
12055   that do not begin with a slash. This enabled trivial XSS attacks.
12056   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
12057   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
12058   error.
12059 * (T119309) SECURITY: Use hash_compare() for edit token comparison
12060 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
12061   with '@' as file uploads
12062 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
12063   longer be shorter than $wgMinimalPasswordLength
12064 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
12065   result in improper blocks being issued
12066 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
12067   and related pages no longer use HTTP redirects and are now redirected by
12068   MediaWiki
12069 * Fixed ConfigException in ExpandTemplates due to AlwaysUseTidy.
12070 * Fixed stray literal \n in Special:Search.
12071 * Fix issue that breaks HHVM Repo Authorative mode.
12072 * (T120267) Work around APCu memory corruption bug
12074 == MediaWiki 1.26.0 ==
12076 === Configuration changes in 1.26 ===
12077 * $wgPasswordResetRoutes['email'] = true by default.
12078 * $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE
12079   instead if you want to disable the parser cache.
12080 * New-style continuation is now the default for API action=continue. Clients may
12081   use the 'rawcontinue' parameter to receive raw query-continue data, but the
12082   new style is encouraged as it's harder to implement incorrectly.
12083 * Deprecated API formats dump and wddx have been completely removed.
12084 * (T7645) The "Signature" button on the edit toolbar is now hidden by default
12085   in non-talk namespaces. A new configuration variable,
12086   $wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces
12087   the "Signature" button on the edit toolbar will be displayed.
12088 * $wgResourceLoaderUseESI was deprecated and removed. This was an experimental
12089   feature that was never enabled by default.
12090 * $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed.
12091   This experimental feature was never enabled by default and is obsolete as of
12092   MediaWiki 1.26, in where ResourceLoader became fully asynchronous.
12093 * $wgMasterWaitTimeout was removed (deprecated in 1.24).
12094 * Fields in ParserOptions are now private. Use the accessors instead.
12095 * Custom LESS functions (defined via $wgResourceLoaderLESSFunctions or
12096   in extension.json) have been removed, after being deprecated in 1.24.
12097 * $wgAlwaysUseTidy has been removed.
12098 * ResetSessionID hook has been removed. Nothing seems to use it.
12099 * Certain AuthPlugin methods are deprecated in favor of new hooks:
12100 ** AuthPlugin::initUser() is replaced by LocalUserCreated.
12101 ** AuthPlugin::updateUser() is replaced by UserLoggedIn.
12102 ** AuthPlugin::updateExternalDB() is replaced by the existing UserSaveSettings.
12103 ** AuthPlugin::updateExternalDBGroups() is replaced by UserGroupsChanged.
12104 ** AuthPluginUser::isHidden() is replaced by UserIsHidden.
12105 ** AuthPluginUser::isLocked() is replaced by UserIsLocked.
12106 * The UserRights hook is deprecated in favor of the new UserGroupsChanged hook.
12107 * AuthPlugin::initUser() and AuthPlugin::updateUser() should no longer replace
12108   the passed User object.
12109 * $wgBlockAllowsUTEdit is now set to true by default. This allows
12110   blocked users to edit their talk pages unless explicitly disabled
12111   when they are being blocked.
12113 === New features in 1.26 ===
12114 * (T51506) Now action=info gives estimates of actual watchers for a page.
12115   See $wgRCMaxAge, $wgWatchersMaxAge and $wgUnwatchedPageSecret
12116   to learn how to configure if needed.
12117 * Change tags can now be hidden in the interface by disabling the associated
12118   "tag-<id>" interface message.
12119 * ':' (colon) is now invalid in usernames for new accounts. Existing accounts
12120   are not affected.
12121 * Added a new hook, 'LogException', to log exceptions in nonstandard ways.
12122 * Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of
12123   search results are rendered. The initial use case is to append a "give us
12124   feedback" link beneath the search results.
12125 * Added a new hook, 'RejectParserCacheValue', which allows extensions to
12126   reject an otherwise-successful parser cache lookup. The intent is to allow
12127   extensions to manage the eviction of archaic HTML output from the cache.
12128 * (T68699) The expiration of the UserID and Token login cookies
12129   ($wgExtendedLoginCookieExpiration) can be configured independently of the
12130   expiration of all other cookies ($wgCookieExpiration).
12131 * (T50519) Support for generating JPEG/PNG thumbnails from WebP images added
12132   if ImageMagick is used as image scaler ($wgUseImageMagick = true). Uploading
12133   of WebP images still disabled by default. Add $wgFileExtensions[] =
12134   'webp'; to LocalSettings.php to enable uploading of WebP images.
12135 * Added new hooks 'EnhancedChangesListModifyLineData' &
12136   'EnhancedChangesListModifyBlockLineData', to modify the data used to build
12137   lines in enhanced recentchanges and watchlist.
12138 * Caches that need purging ability now use the WANObjectCache interface.
12139   This corresponds to a new $wgMainWANCache setting, which defaults to using
12140   the $wgMainCacheType settings.
12141 * Callers needing fast light-weight data stores use $wgMainStash to select
12142   the store type from $wgObjectCaches. The default is the local database.
12143 * Interface message overrides in the MediaWiki namespace will now be cached in
12144   memcached and APC (if available), rather than memcached and local files.
12145 * Added a new hook, 'RandomPageQuery', to allow modification of the query used
12146   by Special:Random to select random pages.
12147 * $wgTransactionalTimeLimit was added, which controls the request time limit
12148   for potentially slow POST requests that need to be as atomic as possible.
12149 * ResourceLoader now loads all scripts asynchronously. The top-queue and
12150   startup modules are no longer synchronously loaded.
12151 * 'mediawiki.ui.button' styles are no longer unconditionally loaded on every
12152   page. During the deprecation period, the styles will only be loaded on pages
12153   which contain 'mw-ui-button' in their HTML. Starting in 1.28, the styles will
12154   only be loaded if explicitly required.
12155 * If search returns zero results and current search engine has a "did you mean"
12156   suggestion, results for suggestion will be shown. Can be disabled by setting
12157   $wgSearchRunSuggestedQuery to false.
12158 * Added several JavaScript libraries for uploading files to MediaWiki
12159   from the client-side. See documentation for mw.Upload and its
12160   subclasses for more information.
12161 * Added OOUI dialogs and layout for file upload interfaces. See
12162   documentation for mw.Upload.Dialog, mw.Upload.BookletLayout and its
12163   subclasses for more information.
12165 === extension.json changes in 1.26 ===
12166 * (T99344) The extension.json schema is now versioned. All extensions
12167   and skins should set a "manifest_version" property corresponding to
12168   the schema version they were written for. The only supported version
12169   currently is "1".
12170 * (T102523) The error message if a non-array attribute is set was improved.
12171 * (T107646) Configuration settings can now specify how they should be merged,
12172   which is necessary for arrays using integer keys.
12173 * (T110389) Adding namespaces through extension.json now actually works
12174 * $wgNamespaceProtection can now be set in extension.json.
12175 * $wgCapitalLinkOverrides can now be set in extension.json.
12176 * (T97186) Extensions using a custom prefix for their configuration settings
12177   can now set a "_prefix" key to override the default of "wg".
12178 * (T99084) Extensions can now specify what MediaWiki core versions they
12179   depend upon.
12180 * (T105236) The extension.json schema now validates custom classes in
12181   the "ResourceModules" property properly.
12183 === External library changes in 1.26 ===
12184 ==== Upgraded external libraries ====
12185 * Updated es5-shim from v4.0.0 to v4.1.5.
12186 * Updated json2 from revision 2014-02-04 to 2015-05-03.
12187 * Updated Sinon.JS from 1.10.3 to 1.15.4.
12188 * Updated jQuery Client from v1.0.0 to v2.0.0.
12189 * Updated QUnit from v1.17.1 to v1.18.0.
12190 * Updated liuggio/statsd-php-client from v1.0.12 to v1.0.16.
12191 * Updated oojs/oojs-ui from v0.11.3 to v0.12.12.
12192 * Updated wikimedia/cdb from v1.0.1 to v1.3.0.
12193 * Updated wikimedia/utfnormal from v1.0.2 to v1.0.3.
12194 * Updated wikimedia/composer-merge-plugin from v1.0.0 to v1.3.0.
12195 * Updated zordius/lightncandy from v0.18 to v0.21.
12197 ==== New external libraries ====
12198 * Added composer/semver v1.0.0.
12199 * Added mediawiki/at-ease v1.1.0.
12200 * Added wikimedia/assert v0.2.2.
12201 * Added wikimedia/ip-set v1.0.1.
12202 * Added wikimedia/wrappedstring v2.0.0.
12204 ==== Removed and replaced external libraries ====
12205 * Replaced leafo/lessphp v0.5.0 with oyejorge/less.php v1.7.0.9.
12207 === Bug fixes in 1.26 ===
12208 * (T53283) load.php sometimes sends 304 response without full headers
12209 * (T65198) Talk page tabs now have a "rel=discussion" attribute
12210 * (T98841) {{msgnw:}} now preserves comments even when subst: is not used.
12211 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
12212   value if set to an empty string.
12214 === Action API changes in 1.26 ===
12215 * New-style continuation is now the default for action=continue. Clients may
12216   use the 'rawcontinue' parameter to receive raw query-continue data, but the
12217   new style is encouraged as it's harder to implement incorrectly.
12218 * Deprecated API formats dump and wddx have been completely removed.
12219 * API action=query&list=tags: The displayname can now be boolean false if the
12220   tag is meant to be hidden from user interfaces.
12221 * action=import no longer allows both the namespace= and rootpage= parameters
12222   to be set. If they are both set, the value of rootpage= will be ignored.
12223 * prop=revision output in enum mode is now sorted by timestamp rather than
12224   revision ID. This usually won't make any difference.
12225 * (T102645) Namespace list from meta=siteinfo&siprop=namespaces is now an array
12226   with formatversion=2.
12227 * Various other output from meta=siteinfo will now always be arrays instead of
12228   sometimes being numerically-indexed objects with formatversion=2.
12229 * When errors about users being blocked are returned, they now include
12230   information about the relevant block.
12231 * (T99926) list=random has higher limits, in line with other API modules.
12232 * list=random's rnredirect parameter is deprecated in favor of a new
12233   rnfilterredir parameter that also allows for listing both redirects and
12234   non-redirects.
12235 * list=random now supports continuation.
12236 * API responses to GET requests may now include ETag and Last-Modified headers,
12237   and will honor corresponding If-None-Match and If-Modified-Since on such
12238   requests.
12240 === Action API internal changes in 1.26 ===
12241 * New metadata item ApiResult::META_KVP_MERGE to allow for merging the KVP key
12242   into the value when the value is an assoc.
12243 * API action modules may now provide values for the RFC 7232 ETag and
12244   Last-Modified headers. The API will check these against If-None-Match and
12245   If-Modified-Since request headers on GET requests and avoid executing the
12246   module when appropriate.
12248 === Languages updated in 1.26 ===
12250 MediaWiki supports over 350 languages. Many localisations are updated
12251 regularly. Below only new and removed languages are listed, as well as
12252 changes to languages because of Phabricator reports.
12254 * Languages added:
12255 ** ase (American sign language), thanks to translator Icemandeaf
12256 ** dty (डोटेली/Doteli), thanks to translators जनक राज भट्ट, बिप्लब आनन्द,
12257    मेश सिंह बोहरा, and राम प्रसाद जोशी
12258 ** luz (لئری دوٙمینی / Southern Luri)
12259 ** olo (Livvinкarjala / Livvi-Karelian), thanks to translators Denö, Hiloin
12260    Natoi, Ilja.mos, and Mashoi7
12262 === Other changes in 1.26 ===
12263 * ChangeTags::tagDescription() will return false if the interface message
12264   for the tag is disabled.
12265 * Added PageHistoryPager::doBatchLookups hook.
12266 * Added $wikiId parameter to FormatAutocomments hook.
12267 * Added ParserCacheSaveComplete to ParserCache
12268 * supportsDirectEditing and supportsDirectApiEditing methods added to
12269   ContentHandler, to provide a way for ApiEditPage and EditPage to check
12270   if direct editing of content is allowed. These methods return false,
12271   by default for the ContentHandler base class and true for TextContentHandler
12272   and it's derivative classes (everything in core). For Content types that
12273   do not support direct editing, an alternative mechanism should be provided
12274   for editing, such as action overrides or specific api modules.
12275 * mediaWiki.confirmCloseWindow now returns an object of functions, instead of
12276   one function. The callback can't be called directly any more. The callback
12277   function is replaced with confirmCloseWindow.release().
12278 * BREAKING CHANGE: Added an optional ResouceLoaderContext parameter to
12279   ResourceLoaderModule::getDependencies(). Extension classes that override that
12280   method should be updated. If they aren't updated, PHP Strict standards
12281   warnings will appear when E_STRICT error reporting is enabled. Note: in the
12282   near future, this parameter will probably become non-optional.
12283 * Removed maintenance script deleteImageMemcached.php.
12284 * MWFunction::newObj() was removed (deprecated in 1.25).
12285   ObjectFactory::getObjectFromSpec() should be used instead.
12286 * The parser will no longer randomize the string it uses to mark the place of
12287   items that were stripped during parsing. It will use a fixed string instead.
12288   This causes the parser to re-use the regular expressions it uses to search
12289   and replace markers rather than generate novel expressions on each parse.
12290   Re-using regular expressions will improve performance on HHVM and the
12291   forthcoming PHP 7. The interfaces changes accompanying this change are:
12292   - Parser::getRandomString() and Parser::uniqPrefix() have been deprecated.
12293   - The $uniq_prefix argument for Parser::extractTagsAndParams() and the
12294     $prefix argument for StripState::_construct() are deprecated and their
12295     value is ignored.
12296 * wfSuppressWarnings() and wfRestoreWarnings() were split into a separate
12297   library, mediawiki/at-ease, and are now deprecated. Callers should use
12298   MediaWiki\suppressWarnings() and MediaWiki\restoreWarnings() directly.
12299 * The Block class constructor now takes an associative array of parameters
12300   instead of many optional positional arguments. Calling the constructor the old
12301   way will issue a deprecation warning.
12302 * The jquery.mwExtension module was deprecated.
12303 * $wgSpecialPageGroups was removed (deprecated in 1.21).
12304 * SpecialPageFactory::setGroup was removed (deprecated in 1.21).
12305 * SpecialPageFactory::getGroup was removed (deprecated in 1.21).
12306 * DatabaseBase::ignoreErrors() is now protected.
12307 * BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following
12308   a lengthy deprecation period.
12309 * The ScopedPHPTimeout class was removed.
12310 * Removed maintenance script fixSlaveDesync.php.
12311 * Watchlist tokens, SpecialResetTokens, and User::getTokenFromOption()
12312   are deprecated. Applications using those can work via the OAuth
12313   extension instead. New tokens types should not be added.
12314 * DatabaseBase::errorCount() was removed (unused).
12315 * $wgDeferredUpdateList was removed.
12316 * DeferredUpdates::addHTMLCacheUpdate() was removed.
12318 = MediaWiki 1.25 =
12320 == MediaWiki 1.25.6 ==
12322 This is a maintenance release of the MediaWiki 1.25 branch.
12324 === Changes since 1.25.5 ===
12325 * (T123166) Fix fatal error when importing pages to titles which cannot be
12326   created, such as invalid titles or titles the user is not allowed to edit.
12327 * (T122056) Old tokens are remaining valid within a new session
12328 * (T127114) Login throttle can be tricked using non-canonicalized usernames
12329 * (T123653) Cross-domain policy regexp is too narrow
12330 * (T123071) Incorrectly identifying http link in a's href attributes, due to
12331   m modifier in regex
12332 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
12333 * (T125283) Users occasionally logged in as different users after
12334   SessionManager deployment
12335 * (T103239) Patrol allows click catching and patrolling of any page
12336 * (T122807) [tracking] Check php crypto primatives
12337 * (T98313) Graphs can leak tokens, leading to CSRF
12338 * (T130947) Diff generation should use PoolCounter
12339 * (T133507) Careless use of $wgExternalLinkTarget is insecure
12340 * (T132874) API action=move is not rate limited
12341 * (T110143) strip markers can be used to get around html attribute escaping in
12342   (many?) parser tags
12343 * (T116030) Increase pbkdf2 parameter strengths
12344 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
12345 * (T126685) Globally throttle password attempts
12347 == MediaWiki 1.25.5 ==
12349 This is a maintenance release of the MediaWiki 1.25 branch.
12351 === Changes since 1.25.4 ===
12352 * (T121892) Fix fatal error on some Special pages, introduced in 1.25.4.
12354 == MediaWiki 1.25.4 ==
12356 This is a security and maintenance release of the MediaWiki 1.25 branch.
12358 === Changes since 1.25.3 ===
12359 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
12360   that do not begin with a slash. This enabled trivial XSS attacks.
12361   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
12362   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
12363   error.
12364 * (T119309) SECURITY: Use hash_compare() for edit token comparison
12365 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
12366   with '@' as file uploads
12367 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
12368   longer be shorter than $wgMinimalPasswordLength
12369 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
12370   result in improper blocks being issued
12371 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
12372   and related pages no longer use HTTP redirects and are now redirected by
12373   MediaWiki
12374 * (T103237) $wgUseGzip had no effect when using file cache.
12375 * (T114606) mw.notify was not correctly fixed to the page if
12376   initialized while not at the top of the page.
12377 * Fix issue that breaks HHVM Repo Authorative mode.
12379 == MediaWiki 1.25.3 ==
12381 This is a security and maintenance release of the MediaWiki 1.25 branch.
12383 === Changes since 1.25.2 ===
12385 * (T98975) Fix having multiple callbacks for a single hook.
12386 * (T107632) maintenance/refreshLinks.php did not always remove all links
12387   pointing to nonexistent pages.
12388 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
12389   value if set to an empty string.
12390 * (T62174) Provide fallbacks for use of mb_convert_encoding() in
12391   HtmlFormatter. It was causing an error when accessing the api help page
12392   if the mbstring PHP extension was not installed.
12393 * (T105896) Confirmation emails would sometimes contain invalid codes.
12394 * (T105597) Fixed edit stash inclusion queries.
12395 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
12396 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
12397 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
12398   first
12399 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
12401 == MediaWiki 1.25.2 ==
12403 This is a security and maintenance release of the MediaWiki 1.25 branch.
12405 === Changes since 1.25.1 ===
12407 * (T94116) SECURITY: Compare API watchlist token in constant time
12408 * (T97391) SECURITY: Escape error message strings in thumb.php
12409 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
12410   Special:DeletedContributions
12411 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
12412   policy of Wikimedia Commons.
12413 * (T100767) Setting a configuration setting for skin or extension to
12414   false in LocalSettings.php was not working.
12415 * (T100635) API action=opensearch json output no longer breaks when
12416   $wgDebugToolbar is enabled.
12417 * (T102522) Using an extension.json or skin.json file which has
12418   a "manifest_version" property for 1.26 compatability will no longer
12419   trigger warnings.
12420 * (T86156) Running updateSearchIndex.php will not throw an error as
12421   page_restrictions has been added to the locked table list.
12422 * Special:Version would throw notices if using SVN due to an incorrectly
12423   named variable. Add an additional check that an index is defined.
12425 == MediaWiki 1.25.1 ==
12427 This is a bug fix release of the MediaWiki 1.25 branch.
12429 === Changes since 1.25 ===
12430 * (T100351) Fix syntax errors in extension.json of ConfirmEdit extension
12432 == MediaWiki 1.25.0 ==
12434 === Configuration changes in 1.25 ===
12435 * $wgPageShowWatchingUsers was removed.
12436 * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts.
12437 * $wgAntiLockFlags was removed.
12438 * $wgJavaScriptTestConfig was removed.
12439 * Edit tokens returned from User::getEditToken may change on every call. Token
12440   validity must be checked by passing the user-supplied token to
12441   User::matchEditToken rather than by testing for equality with a
12442   newly-generated token.
12443 * (T74951) The UserGetLanguageObject hook may be passed any IContextSource
12444   for its $context parameter. Formerly it was documented as receiving a
12445   RequestContext specifically.
12446 * Profiling was restructured and $wgProfiler now requires an 'output' parameter.
12447   See StartProfiler.sample for details.
12448 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
12449   might be a flash policy directive configurable.
12450 * ApiOpenSearch now supports XML output. The OpenSearchXml extension should no
12451   longer be used. If extracts and page images are desired, the TextExtracts and
12452   PageImages extensions are required.
12453 * $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates.
12454 * Edits are now prepared via AJAX as users type edit summaries. This behavior
12455   can be disabled via $wgAjaxEditStash.
12456 * (T46740) The temporary option $wgIncludejQueryMigrate was removed, along
12457   with the jQuery Migrate library, as indicated when this option was provided in
12458   MediaWiki 1.24.
12459 * ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any
12460   StartProfiler.php config is updated to reflect this. Xhprof is available
12461   for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler.
12462 * Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary
12463   rather than 'rsvg'.
12464 * Default value of $wgSVGConverters['ImageMagick'] now uses transparent
12465   background with white fallback color, rather than just white background.
12466  * MediaWikiBagOStuff class removed, make sure any object cache config
12467    uses SqlBagOStuff instead.
12468 * The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis
12469   job queues. This means that mediawiki/services/jobrunner service has to
12470   be installed and running for any such queues to work.
12471 * $wgAutopromoteOnce no longer supports the 'view' event. For keeping some
12472   compatibility, any 'view' event triggers will still trigger on 'edit'.
12473 * $wgExtensionDirectory was added for when your extensions directory is
12474   somewhere other than $IP/extensions (as $wgStyleDirectory does with the skins
12475   directory).
12477 === New features in 1.25 ===
12478 * (T64861) Updated plural rules to CLDR 26. Includes incompatible changes
12479   for plural forms in Russian, Prussian, Tagalog, Manx and several languages
12480   that fall back to Russian.
12481 * (T60139) ResourceLoaderFileModule now supports language fallback
12482   for 'languageScripts'.
12483 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify
12484   the parser output for a content object before links update.
12485 * (T37785) Enhanced recent changes and extended watchlist are now default.
12486   Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
12487   and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
12488 * (T69341) SVG images will no longer be base64-encoded when being embedded
12489   in CSS. This results in slight size increase before gzip compression (due to
12490   percent-encoding), but up to 20% decrease after it.
12491 * Update jStorage to v0.4.12.
12492 * MediaWiki now natively supports page status indicators: icons (or short text
12493   snippets) usually displayed in the top-right corner of the page. They have
12494   been in use on Wikipedia for a long time, implemented using templates and CSS
12495   absolute positioning.
12496   - Basic wikitext syntax:
12497     <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
12498   - Usage instructions:
12499     https://www.mediawiki.org/wiki/Help:Page_status_indicators
12500   - Adjusting custom skins to support indicators:
12501     https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators
12502 * Edit tokens may now be time-limited: passing a maximum age to
12503   User::matchEditToken will reject any older tokens.
12504 * The debug logging internals have been overhauled, and are now using the
12505   PSR-3 interfaces.
12506 * Update CSSJanus to v1.1.1.
12507 * Update lessphp to v0.5.0.
12508 * Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts
12509   and images for ApiOpenSearch output. The semantics are identical to the
12510   "OpenSearchXml" hook provided by the OpenSearchXml extension.
12511 * PrefixSearchBackend hook now has an $offset parameter. Combined with $limit,
12512   this allows for pagination of prefix results. Extensions using this hook
12513   should implement supporting behavior. Not doing so can result in undefined
12514   behavior from API clients trying to continue through prefix results.
12515 * Update jQuery from v1.11.1 to v1.11.3.
12516 * External libraries installed via composer will now be displayed
12517   on Special:Version in their own section. Extensions or skins that are
12518   installed via composer will not be shown in this section as it is assumed
12519   they will add the proper credits to the skins or extensions section. They
12520   can also be accessed through the API via the new siprop=libraries to
12521   ApiQuerySiteinfo.
12522 * Update QUnit from v1.14.0 to v1.16.0.
12523 * Update Moment.js from v2.8.3 to v2.8.4.
12524 * Special:Tags now allows for manipulating the list of user-modifiable change
12525   tags.
12526 * Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete',
12527   and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change
12528   tags.
12529 * Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and
12530   "active" formerly conflated by the 'ListDefinedTags' hook.
12531 * Added TemplateParser class that provides a server-side interface to cachable
12532   dynamically-compiled Mustache templates (currently uses lightncandy library).
12533 * Clickable anchors for each section heading in the content are now generated
12534   and appear in the gutter on hovering over the heading.
12535 * Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink'
12536   hooks to allow extensions to override how links to pages are rendered within
12537   NS_CATEGORY
12538 * (T19665) Special:WantedPages only lists page which having at least one red
12539   link pointing to it.
12540 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
12541   used for conditional registration of API modules.
12542 * New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the
12543   links of a group of changes in EnhancedChangesList.
12544 * A full interface for StatsD metric reporting has been added to the context
12545   interface, reachable via IContextSource::getStats().
12546 * Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a
12547   proper, published library, which is now tagged as v1.0.0.
12548 * A new message (defaulting to blank), 'editnotice-notext', can be shown to
12549   users when they are editing if no edit notices apply to the page being edited.
12550 * (T94536) You can now make the sitenotice appear to logged-in users only by
12551   editing MediaWiki:Anonnotice and replacing its content with "". Setting it to
12552   "-" (default) will continue disable it and fallback to MediaWiki:Sitenotice.
12553 * Modifying the tagging of a revision or log entry is now available via
12554   Special:EditTags, generally accessed via the revision-deletion-like interface
12555   on history pages and Special:Log is likely to be more useful.
12556 * Added 'applychangetags' and 'changetags' user rights.
12557 * (T35235) LogFormatter subclasses are now responsible for formatting the
12558   parameters for API log event output. Extensions should implement the new
12559   getParametersForApi() method in their log formatters.
12561 ==== External libraries ====
12562 * MediaWiki now requires certain external libraries to be installed. In the past
12563   these were bundled inside the Git repository of MediaWiki core, but now they
12564   need to be installed separately. For users using the tarball, this will be
12565   taken care of and no action will be required. Users using Git will either need
12566   to use composer to fetch dependencies or use the mediawiki/vendor repository
12567   which includes all dependencies for MediaWiki core and ones used in Wikimedia
12568   deployment. Detailed instructions can be found at:
12569   https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
12570 * The following libraries are now required:
12571 ** psr/log
12572    This library provides the interfaces set by the PSR-3 standard
12573    (http://www.php-fig.org/psr/psr-3/) which are used by MediaWiki internally
12574    via the MediaWiki\Logger\LoggerFactory class.
12575    See the structured logging RfC
12576    <https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging>
12577    for more background information.
12578 ** cssjanus/cssjanus
12579    This library was formerly bundled with MediaWiki core and has been removed.
12580    It automatically flips CSS for RTL support.
12581 ** leafo/lessphp
12582    This library was formerly bundled with MediaWiki core and has been removed.
12583    It compiles LESS files into CSS.
12584 ** wikimedia/cdb
12585    This library was formerly a part of MediaWiki core, and has been moved into a
12586    separate library. It provides CDB functions which are used in the Interwiki
12587    and Localization caches. More information about the library can be found at
12588    https://www.mediawiki.org/wiki/CDB.
12589 ** liuggio/statsd-php-client
12590    This library provides a StatsD client API for logging application metrics to
12591    a remote server.
12593 === Bug fixes in 1.25 ===
12594 * (T73003) No additional code will be generated to try to load CSS-embedded
12595   SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
12596 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
12597   10- and 13-digit forms) containing "X".
12598 * Page moving was refactored into a MovePage class. As part of that:
12599 ** The AbortMove hook was removed.
12600 ** MovePageIsValidMove is for extensions to specify whether a page
12601    cannot be moved for technical reasons, and should not be overridden.
12602 ** MovePageCheckPermissions is for checking whether the given user is
12603    allowed to make the move.
12604 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
12605 ** Title::moveTo() was deprecated. Use the MovePage class instead.
12606 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
12607    and MovePage::checkPermissions().
12608 * (T18530) Multiple autocomments are now formatted in an edit summary.
12609 * (T70361) Autocomments containing "/*" are parsed correctly.
12610 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
12611   on action=info about a file page does not list file links anymore.
12612 * (T78637) Search bar is not autofocused unless it is empty so that proper
12613   scrolling using arrow keys is possible.
12614 * (T50853) Database::makeList() modified to handle 'NULL' separately when
12615   building IN clause
12616 * (T85192) Captcha position modified in Usercreate template. As a result:
12617 ** extrafields parameter added to Usercreate.php to insert additional data
12618 ** 'extend' method added to QuickTemplate to append additional values to any
12619   field of data array
12620 * (T86974) Several Title methods now load from the database when necessary
12621   (instead of returning incorrect results) even when the page ID is known.
12622 * (T74070) Duplicate search for archived files on file upload now omits the
12623   extension.
12624   This requires the fa_sha1 field being populated.
12625 * Removed rel="archives" from the "View history" link, as it did not pass
12626   HTML validation.
12627 * $wgUseTidy is now set when parserTests are run with the tidy option to match
12628   output on wiki.
12629 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed
12630   to it.
12631 * (T72109) mediawiki.language should respect $wgTranslateNumerals in
12632   convertNumber().
12634 === Action API changes in 1.25 ===
12635 * (T67403) XML tag highlighting is now only performed for formats
12636   "xmlfm" and "wddxfm".
12637 * action=paraminfo supports generalized submodules (modules=query+value),
12638   querymodules and formatmodules are deprecated
12639 * action=paraminfo no longer outputs descriptions and other help text by
12640   default. If needed, it may be requested using the new 'helpformat' parameter.
12641 * action=help has been completely rewritten, and outputs help in HTML
12642   rather than plain text.
12643 * Hitting api.php without specifying an action now displays only the help for
12644   the main module, with links to submodule help.
12645 * API help is no longer displayed on errors.
12646 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
12647   explicitly select the language from the current user's preferences, and
12648   "uselang=content" may be used to select the wiki's content language.
12649 * Default output format for the API is now jsonfm.
12650 * Simplified continuation will return a "batchcomplete" property in the result
12651   when a batch of pages is complete.
12652 * Pretty-printed HTML output now has nicer formatting and (if available)
12653   better syntax highlighting.
12654 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
12655   list=alldeletedrevisions.
12656 * prop=revisions will gracefully continue when given too many revids or titles,
12657   rather than just ignoring the extras.
12658 * prop=revisions will no longer die if rvcontentformat doesn't match a
12659   revision's content model; it will instead warn and omit the content.
12660 * If the user has the 'deletedhistory' right, action=query's revids parameter
12661   will now recognize deleted revids.
12662 * prop=revisions may be used as a generator, generating revids.
12663 * (T68776) format=json results will no longer be corrupted when
12664   $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
12665   error instead of returning invalid serialized data.
12666 * Generators may now return data for the generated pages when used with
12667   action=query.
12668 * Query page data for generator=search and generator=prefixsearch will now
12669   include an "index" field, which may be used by the client for sorting the
12670   search results.
12671 * ApiOpenSearch now supports XML output.
12672 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
12673   in JSON format.
12674 * (T76051) list=tags will now continue correctly.
12675 * (T76052) list=tags can now indicate whether a tag is defined.
12676 * (T75522) list=prefixsearch now supports continuation
12677 * (T78737) action=expandtemplates can now return page properties.
12678 * (T78690) list=allimages now accepts multiple pipe-separated values
12679   for the 'aimime' parameter.
12680 * prop=info with inprop=protections will now return applicable protection types
12681   with the 'restrictiontypes' key.
12682 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
12683   interwiki redirects to the list of interwiki titles.
12684 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
12685   property (like the existing 'tofragment' property) will be set.
12686 * Added action=managetags to allow for managing the list of
12687   user-modifiable change tags. Actually modifying the tagging of a revision or
12688   log entry is not implemented yet.
12689 * list=tags has additional properties to indicate 'active' status and tag
12690   sources.
12691 * siprop=libraries was added to ApiQuerySiteinfo to list installed external
12692   libraries.
12693 * (T88010) Added action=checktoken, to test a CSRF token's validity.
12694 * (T88010) Added intestactions to prop=info, to allow querying of
12695   Title::userCan() via the API.
12696 * Default type param for query list=watchlist and list=recentchanges has
12697   been changed from all types (e.g. including 'external') to 'edit|new|log'.
12698 * Added formatversion to format=json. Still "experimental" as further changes
12699   to the output formatting might still be made.
12700 * (T73020) Log event details are now always under a 'params' subkey for
12701   list=logevents, and a 'logparams' subkey for list=watchlist and
12702   list=recentchanges.
12703 * Log event details are changing formatting:
12704   * block events now report flags as an array rather than as a comma-separated
12705     list.
12706   * patrol events now report the 'auto' flag as a boolean (absent/empty string
12707     for BC formats) rather than as an integer.
12708   * rights events now report the old and new group lists as arrays rather than
12709     as comma-separated lists.
12710   * merge events use new-style formatting.
12711   * delete/event and delete/revision events use new-style formatting.
12712 * The root node and various other nodes will now always be an object in formats
12713   such as json that distinguish between arrays and objects.
12714   * Except for action=opensearch where the spec requires an array.
12716 === Action API internal changes in 1.25 ===
12717 * ApiHelp has been rewritten to support i18n and paginated HTML output.
12718   Most existing modules should continue working without changes, but should do
12719   the following:
12720   * Add an i18n message "apihelp-{$moduleName}-description" to replace
12721     getDescription().
12722   * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
12723     to replace getParamDescription(). If necessary, the settings array returned
12724     by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
12725     message.
12726   * Implement getExamplesMessages() to replace getExamples().
12727 * Modules with submodules (like action=query) must have their submodules
12728   override ApiBase::getParent() to return the correct parent object.
12729 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
12730   and will have no effect for modules using i18n messages. Use
12731   'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
12732 * Api formatters will no longer be asked to display the help screen on errors.
12733 * ApiMain::getCredits() was removed. The credits are available in the
12734   'api-credits' i18n message.
12735 * ApiFormatBase has been changed to support i18n and syntax highlighting via
12736   extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
12737   has been removed.
12738 * ApiFormatBase now always buffers. Output is done when
12739   ApiFormatBase::closePrinter is called.
12740 * Much of the logic in ApiQueryRevisions has been split into
12741   ApiQueryRevisionsBase.
12742 * The 'revids' parameter supplied by ApiPageSet will now count deleted
12743   revisions as "good" if the user has the 'deletedhistory' right. New methods
12744   ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
12745   provided to access just the live or just the deleted revids.
12746 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
12747   to allow generators to include data in the action=query result.
12748 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
12749   used for conditional registration of API modules.
12750 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
12751   the current request was sent with the 'callback' parameter (or any future
12752   method that breaks the same-origin policy).
12753 * Profiling methods in ApiBase are deprecated and no longer need to be called.
12754 * ApiResult was greatly overhauled. See inline documentation for details.
12755 * ApiResult will automatically convert objects to strings or arrays (depending
12756   on whether a __toString() method exists on the object), and will refuse to
12757   add unsupported value types.
12758   * An informal interface, ApiSerializable, exists to override the default
12759     object conversion.
12760 * ApiResult/ApiFormatBase "raw mode" is deprecated.
12761 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
12762   metadata isn't set.
12763 * (T35235) LogFormatter subclasses are now responsible for formatting log event
12764   parameters for the API.
12765 * Many modules have changed result data formats. While this shouldn't affect
12766   clients not using the experimental formatversion=2, code using
12767   ApiResult::getResultData() without the transformations for backwards
12768   compatibility may need updating, as will code that wasn't following the old
12769   conventions for API boolean output.
12770 * The following methods have been deprecated and may be removed in a future
12771   release:
12772   * ApiBase::getDescription
12773   * ApiBase::getParamDescription
12774   * ApiBase::getExamples
12775   * ApiBase::makeHelpMsg
12776   * ApiBase::makeHelpArrayToString
12777   * ApiBase::makeHelpMsgParameters
12778   * ApiBase::getModuleProfileName
12779   * ApiBase::profileIn
12780   * ApiBase::profileOut
12781   * ApiBase::safeProfileOut
12782   * ApiBase::getProfileTime
12783   * ApiBase::profileDBIn
12784   * ApiBase::profileDBOut
12785   * ApiBase::getProfileDBTime
12786   * ApiBase::getResultData
12787   * ApiFormatBase::setUnescapeAmps
12788   * ApiFormatBase::getWantsHelp
12789   * ApiFormatBase::setHelp
12790   * ApiFormatBase::formatHTML
12791   * ApiFormatBase::setBufferResult
12792   * ApiFormatBase::getDescription
12793   * ApiFormatBase::getNeedsRawData
12794   * ApiMain::setHelp
12795   * ApiMain::reallyMakeHelpMsg
12796   * ApiMain::makeHelpMsgHeader
12797   * ApiResult::setRawMode
12798   * ApiResult::getIsRawMode
12799   * ApiResult::getData
12800   * ApiResult::setElement
12801   * ApiResult::setContent
12802   * ApiResult::setIndexedTagName_recursive
12803   * ApiResult::setIndexedTagName_internal
12804   * ApiResult::setParsedLimit
12805   * ApiResult::beginContinuation
12806   * ApiResult::setContinueParam
12807   * ApiResult::setGeneratorContinueParam
12808   * ApiResult::endContinuation
12809   * ApiResult::size
12810   * ApiResult::convertStatusToArray
12811   * ApiQueryImageInfo::getPropertyDescriptions
12812   * ApiQueryLogEvents::addLogParams
12813 * The following classes have been deprecated and may be removed in a future
12814   release:
12815   * ApiQueryDeletedrevs
12817 === Languages updated in 1.25 ===
12819 MediaWiki supports over 350 languages. Many localisations are updated
12820 regularly. Below only new and removed languages are listed, as well as
12821 changes to languages because of Bugzilla reports.
12823 * Languages added:
12824 ** awa (अवधी / Awadhi), thanks to translator 1AnuraagPandey;
12825 ** bgn (بلوچی رخشانی / Western Balochi), thanks to translators
12826    Baloch Afghanistan, Ibrahim khashrowdi and Rachitrali;
12827 ** ses (Koyraboro Senni), thanks to translator Songhay.
12828 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
12829   interface language to kk where unexpected.
12830 * The Chinese conversion table was substantially updated to fix a lot of
12831   bugs and ensure better reading experience for different variants.
12833 === Other changes in 1.25 ===
12834 * (T45591) Links to MediaWiki.org translatable help were added to indicators,
12835   mostly in special pages. Local custom target titles can be placed in the
12836   relevant '(namespace-X|action name|special page name)-helppage' system
12837   message. Extensions can use the addHelpLink() function to do the same.
12838 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
12839   removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
12840   migration guide for creators and users of custom skins that relied on it.
12841 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
12842   available on Special:Upload.
12843 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
12844   inline styles in the HTML.
12845 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
12846 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
12847 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
12848 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
12849 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since
12850   1.20)
12851 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
12852   since 1.20)
12853 * Removed 'async' parameter from the  mw.Api#getCategories() method. (deprecated
12854   since 1.20)
12855 * Removed 'jquery.json' module. (deprecated since 1.24)
12856   Use the 'json' module and global JSON object instead.
12857 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
12858   Also, the former will now throw an MWException if called with one or more
12859   arguments.
12860 * Removed hitcounters and associated code.
12861 * The "temp" zone of the upload respository is now considered private. If it
12862   already exists (such as under the images/ directory), please make sure that
12863   the directory is not web readable (e.g. via a .htaccess file).
12864 * BREAKING CHANGE: In the XML dump format used by Special:Export and
12865   dumpBackup.php, the <model> and <format> tags now apprear before the <text>
12866   tag, instead of after the <text> and <sha1> tags.
12867   The new schema version is 0.10, the new schema URI is:
12868   https://www.mediawiki.org/xml/export-0.10.xsd
12869 * MWFunction::call() and MWFunction::callArray() were removed, having being
12870   deprecated in 1.22.
12871 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
12872   and getInternalLinkAttributes methods in Linker, and removed
12873   getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
12874 * Removed Sites class, which was deprecated in 1.21 and replaced by
12875   SiteSQLStore.
12876 * Added wgRelevantArticleId to the client-side config, for use on special pages.
12877 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
12878   ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
12879 * Deprecated the TitleIsWikitextPage hook. Superseded by the
12880   ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
12881 * Changed parsing of variables in schema (.sql) files:
12882 ** The substituted values are no longer parsed. (Formerly, several passes
12883    were made for each variable, so depending on the order in which variables
12884    were defined, variables might have been found inside encoded values. This
12885    is no longer the case.)
12886 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
12887    If string encoding is necessary, use the '{$var}' syntax instead.
12888 ** Variable names must only consist of one or more of the characters
12889    "A-Za-z0-9_".
12890 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
12891    does not exist yet variable B does, the latter may not be replaced.
12892    However, this difference is unlikely to arise in practice.
12893 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
12894   characters on both sides.
12895 * The FormatAutocomments hook will now receive $pre and $post as booleans,
12896   rather than as strings that must be prepended or appended to $comment.
12897 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
12898   newlines; but they can contain &nbsp; and other non-newline whitespace.
12899 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
12900   toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
12901   relied on this behavior, update your scripts' dependencies.
12902 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
12903   * HTMLForm::isVForm() is now deprecated.
12904   * You can no longer do this:
12905       $form = new HTMLForm( … );
12906       $form->setDisplayFormat( 'vform' ); // throws exception
12907     Instead, do this:
12908       $form = HTMLForm::factory( 'vform', … );
12909 * Deprecated Revision methods getRawUser(), getRawUserText() and
12910   getRawComment().
12911 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
12912   The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
12913 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
12914   renders them incorrectly when combined with border-radius or background-size.
12915 * Removed maintenance script dumpSisterSites.php.
12916 * DatabaseBase class constructors must be called using the array argument style.
12917   Ideally, DatabaseBase:factory() should be used instead in most cases.
12918 * Deprecated ParserOutput::addSecondaryDataUpdate and
12919   ParserOutput::getSecondaryDataUpdates.
12920   This is a hard deprecation, with getSecondaryDataUpdates returning an empty
12921   array and addSecondaryDataUpdate throwing an exception. These functions will
12922   be removed in 1.26, since they interfere with caching of ParserOutput objects.
12923 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject
12924   custom updates.
12925 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to
12926   perform updates when a page is re-rendered.
12927 * EditPage::attemptSave has been modified not to call handleStatus itself and
12928   instead just returns the Status object. Extension calling it should be aware
12929   of this.
12930 * Removed class DBObject. (unused since 1.10)
12931 * wfDiff() is deprecated.
12932 * The -m (maximum replication lag) option of refreshLinks.php was removed.
12933   It had no effect since MediaWiki 1.18 and should be removed from any cron
12934   jobs or similar scripts you may have set up.
12935 * (T85864) The following messages no longer support raw html: redirectto,
12936   thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
12937   retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
12938   protect-summary-cascade
12939 * All BloomCache related code has been removed. This was largely experimental.
12940 * $wgResourceModuleSkinStyles no longer supports per-module local or remote
12941   paths. They can only be set for the entire skin.
12942 * Removed global function swap(). (deprecated since 1.24)
12943 * Deprecated the ".php5" file extension entry points and the $wgScriptExtension
12944   configuration variable. Refer to the ".php" files instead. If you want
12945   ".php5" URLs to continue to work, set up redirects. In Apache, this can be
12946   done by enabling mod_rewrite and adding the following rules to your
12947   configuration:
12949     RewriteEngine On
12950     RewriteBase /
12951     RewriteRule ^(.*)\.php5 $1.php [R=301,L]
12953 * The global importScriptURI and importStylesheetURI functions, as well as the
12954   loadedScripts object, from wikibits.js (deprecated since 1.17) now emit
12955   warnings through mw.log.warn when accessed.
12957 = MediaWiki 1.24 =
12959 == MediaWiki 1.24.6 ==
12961 This is a maintenance release of the MediaWiki 1.24 branch.
12963 === Changes since 1.24.5 ===
12964 * (T121892) Fix fatal error on some Special pages, introduced in 1.24.5.
12966 == MediaWiki 1.24.5 ==
12968 This is a security and maintenance release of the MediaWiki 1.23 branch.
12970 === Changes since 1.24.4 ===
12971 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
12972   that do not begin with a slash. This enabled trivial XSS attacks.
12973   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
12974   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
12975   error.
12976 * (T119309) SECURITY: Use hash_compare() for edit token comparison
12977 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
12978   with '@' as file uploads
12979 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
12980   longer be shorter than $wgMinimalPasswordLength
12981 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
12982   result in improper blocks being issued
12983 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
12984   and related pages no longer use HTTP redirects and are now redirected by
12985   MediaWiki
12986 * (T103237) $wgUseGzip had no effect when using file cache.
12988 == MediaWiki 1.24.4 ==
12990 This is a security and maintenance release of the MediaWiki 1.24 branch.
12992 === Changes since 1.24.3 ===
12994 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
12995 * (T68650) Fix indexing of moved pages with PostgreSQL. Requires running
12996   update.php to fix.
12997 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
12998 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
12999 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
13000   first
13001 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
13003 == MediaWiki 1.24.3 ==
13005 This is a security and maintenance release of the MediaWiki 1.24 branch.
13007 === Changes since 1.24.2 ===
13009 * (T94116) SECURITY: Compare API watchlist token in constant time
13010 * (T97391) SECURITY: Escape error message strings in thumb.php
13011 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
13012   Special:DeletedContributions
13013 * Update jQuery from v1.11.2 to v1.11.3.
13014 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
13015   policy of Wikimedia Commons.
13017 == MediaWiki 1.24.2 ==
13019 This is a security and maintenance release of the MediaWiki 1.24 branch.
13021 === Changes since 1.24.1 ===
13023 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
13024   to prevent various DoS attacks.
13025 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
13026   likelihood of DoS.
13027 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
13028 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
13029 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
13030 * (T64685) SECURITY: Allow setting maximal password length to prevent DoS when
13031   using PBKDF2.
13032 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
13033   prevent XSS and protect viewer's privacy.
13034 * Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory to fix
13035   loading these special pages when $wgAutoloadAttemptLowercase is false.
13036 * (bug T70087) Fix Special:ActiveUsers page for installations using
13037   PostgreSQL.
13038 * (bug T76254) Fix deleting of pages with PostgreSQL. Requires a schema change
13039   and running update.php to fix.
13041 == MediaWiki 1.24.1 ==
13043 This is a security and maintenance release of the MediaWiki 1.24 branch.
13045 === Changes since 1.24.0 ===
13047 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
13048   could lead to xss. Permission to edit MediaWiki namespace is required to
13049   exploit this.
13050 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
13051   $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
13052   part of its name.
13053 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
13054 * Fixed a couple of entries in RELEASE-NOTES-1.24.
13055 * (bug T76168) OutputPage: Add accessors for some protected properties.
13056 * (bug T74834) Make 1.24 branch directly installable under PostgreSQL.
13058 == MediaWiki 1.24.0 ==
13060 === Configuration changes in 1.24 ===
13061 * MediaWiki will no longer run if register_globals is enabled. It has been
13062   deprecated for 5 years now, and was removed in PHP 5.4. For more information
13063   about why, see <https://www.mediawiki.org/wiki/register_globals>.
13064 * MediaWiki now requires PHP's iconv extension. openSUSE users may need to
13065   install the php5-iconv package. Users of other systems may need to add
13066   extension=iconv.so to php.ini or recompile PHP without --without-iconv.
13067 * MediaWiki will no longer function if magic quotes are enabled. It has
13068   been deprecated for 5 years now, and was removed in PHP 5.4.
13069 * The server's canonical hostname is available as $wgServerName, which is
13070   exposed in both mw.config and ApiQuerySiteinfo.
13071 * Introduced $wgPagePropsHaveSortkey as a backwards-compatibility switch,
13072   for using the old schema of the page_props table, in case the respective
13073   schema update was not applied.
13074 * $wgSearchEverythingOnlyLoggedIn was removed as the 'searcheverything'
13075   user option was removed. Use $wgNamespacesToBeSearchedDefault instead or
13076   if you used to have $wgDefaultUserOptions['searcheverything'] = 1.
13077 * $wgMasterWaitTimeout has been deprecated.
13078 * $wgDBClusterTimeout has been removed.
13079 * $wgProxyKey has been removed. It is no longer used by MediaWiki core.
13080   Ensure $wgSecretKey is set in LocalSettings.php.
13081 * $wgExtraInterlanguageLinkPrefixes is a new configuration variable that
13082   contains an array of interwiki prefixes that should be treated as language
13083   prefixes (i.e. turned into interlanguage links when $wgInterwikiMagic is set
13084   to true).
13085 * $wgParserTestRemote has been removed.
13086 * $wgCountTotalSearchHits has been removed. If you're concerned about efficiency
13087   of search, you should use something like CirrusSearch instead of built in
13088   search.
13089 * Users in the 'sysop' group have access to Special:MergeHistory by default.
13090 * $wgFileStore was removed after having been deprecated in 1.17. Alternative
13091   configurations are $wgDeletedDirectory and $wgHashedUploadDirectory.
13092 * The deprecated $wgUseCommaCount variable has been removed.
13093 * $wgEnableSorbs and $wgSorbsUrl have been removed.
13094 * The UserCryptPassword and UserComparePassword hooks are no longer called.
13095   Any extensions using them must be updated to use the Password Hashing API.
13096 * $wgCompiledFiles has been removed.
13097 * $wgSortSpecialPages was removed, the listing on Special:SpecialPages is
13098   now always sorted.
13099 * $wgSpecialPages may now use callback functions as an alternative to plain
13100   class names. This allows more control over constructor parameters.
13101 * $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort were removed.
13102 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort
13103   and $wgRC2UDPPrefix have been removed.
13104 * The default password type for MediaWiki has been changed from MD5 to PBKDF2.
13105   Password hashes will automatically be updated as users log in. If necessary,
13106   the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'.
13107   In addition, there is a maintenance script wrapOldPassword.php that can wrap
13108   all passwords in PBKDF2 (or the hashing algorithm of your choice) if you don't
13109   want to wait for your users to log in.
13110 * $wgImportSources can now either be a regular array, or an associative map
13111   specifying subprojects on the interwiki map of the target wiki, or a mix of
13112   the two. Existing configurations will still work.
13113 * Users must be able to edit through a page's protection to be able to delete
13114   it.
13115 * The default thumb size ($wgDefaultUserOptions['thumbsize']) is now 300px, up
13116   from 180px. If you have altered the number of entries in $wgThumbLimits for
13117   your wiki, you may need to adjust your default user settings to compensate for
13118   the index change.
13119 * $wgDeferredUpdateList is now deprecated, you should use
13120   DeferredUpdates::addUpdate() instead.
13121 * $wgCanonicalLanguageLinks has been removed. Per Google recommendations, we
13122   will not send a rel=canonical pointing to a variant-neutral page, however
13123   we will send rel=alternate.
13124 * $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the
13125   future.
13126 * $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar
13127   functionality.
13129 === New features in 1.24 ===
13130 * Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
13131   manipulate the list of pages and/or preload lots of data at once.
13132 * Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the
13133   link to the title to be changed.
13134 * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
13135   WhatLinksHere entries.
13136 * Added a new hook, "ContentGetParserOutput", to customize parser output for
13137   a given content object.
13138 * Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead.
13139 * HTMLForm's HTMLTextField now supports the 'url' type.
13140 * HTMLForm fields may now be dynamically hidden based on the values of other
13141   fields in the form.
13142 * HTMLForm now supports multiple copies of an input field or set of input
13143   fields, e.g. the form may request "one or more usernames" without having to
13144   have the user enter delimited list of names into a text field.
13145 * Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of
13146   the sidebar just before its display.
13147 * (bug 49156) Added the mediawiki.cookie ResourceLoader module, which wraps
13148   jquery.cookie so that getting/setting a cookie is syntactically and
13149   functionally similar to using the WebRequest::getCookie() and
13150   WebResponse::setcookie() methods.
13151 * (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1. A new configuration option,
13152   $wgIncludejQueryMigrate, also loads the jQuery Migrate hack to let extensions
13153   and gadgets use the long-deprecated functions that were removed in jQuery 1.9.
13154   This option is turned off by default, and will be removed in MediaWiki 1.25.
13155 * (bug 47076) jQuery UI upgraded from 1.8.24 to 1.9.2.
13156 * Changes to content typography (fonts, etc.). See
13157   https://www.mediawiki.org/wiki/Typography_refresh for further information.
13158 * WikitextContent will now render redirects with the expected "redirect"
13159   header, rather than as an ordered list. Code calling Article::viewRedirect
13160   can probably be changed to no longer special-case redirects.
13161 * Header font set to a serif font stack. See
13162   https://www.mediawiki.org/wiki/Typography_refresh for further information.
13163 * (bug 65567) Added a new hook, "BeforeHttpsRedirect", to allow cancellation of
13164   the HTTP to HTTPS redirect due to forceHTTPS cookie, userRequires, etc. This
13165   is only for page views, since this hook doesn't affect UserLogin, OAuth,
13166   CentralAuth, etc. ATTENTION: This hook is likely to be removed soon due to
13167   overall design of the system.
13168 * (bug 17367) It is now possible to add pages to your watchlist from
13169   Special:UnwatchedPages without reloading the special page.
13170 * New methods setVolatile and isVolatile are added to PPFrame, so that
13171   extensions such as Cite.php can mark that their output is volatile and
13172   shouldn't be cached.
13173 * (bug 52817) Advanced search options are now saved on the search page itself,
13174   rather than in a dedicated pane in the preferences panel.
13175 * (bug 44591) The dropdown actions menu (little triangle next to page tabs) in
13176   the Vector skin has gained a label that should make it more discoverable.
13177 * MWCryptHKDF added for fast, cryptographically secure random number generation
13178   that won't deplete openssl's entropy pool.
13179 * ResourceLoader: File modules can now provide a skip function that uses an
13180   inline feature test to bypass loading of the module.
13181 * (bug 20210) Special pages may now provide autocompletion of their subpage
13182   names in search suggestions. Right now the only useful implementation is in
13183   Special:Log, but more are to come.
13184 * Special:MostLinkedTemplates is no longer limited to transclusions from the
13185   Template namespace.
13186 * Skins can now use 'remoteSkinPath' when defining ResourceLoader modules.
13187   This works the same as 'remoteExtPath' but is relative to the skins/ folder
13188   instead of the extensions/ folder.
13189 * Added the json2.js polyfill for the ES5 JSON.stringify and JSON.parse methods.
13190   Exposed as module "json" with a skip function to optimise loading.
13191 * Extensions and skins may now use 'namemsg' in $wgExtensionCredits in addition
13192   to 'name', to allow for the name to be localizable. 'name' should still be
13193   specified for backwards-compatibility and to define the path Special:Version
13194   uses to find extension license information.
13195 * Browser tests are now included to verify basic wiki functionality in developer
13196   environments. For details on running tests, see
13197   tests/browser/README.mediawiki.
13198 * Upgrade jStorage to v0.4.10.
13199 * {{!}} is now a magic word that produces the | character. This removes the need
13200   for Template:! for purposes such as passing pipes inside of parameters.
13201 * (bug 20790) The block log snippet on Special:Contributions and while
13202   editing user and user talk pages now works for IP range blocks.
13203 * (bug 9360) Added ability to change the page language for MediaWiki pages using
13204   Special:PageLanguage. All pages are set to wiki language by default.
13205   The feature needs to be enabled with $wgPageLanguageUseDB=true and
13206   permission needs to be set for 'pagelang'.
13207 * Upgrade Moment.js to v2.8.3.
13208 * (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
13209 * Upgrade Sinon.JS to 1.10.3.
13210 * Added the es5-shim polyfill for older or non-compliant javascript engines.
13211 * Upgrade jQuery Cookie to v1.3.1.
13212 * (bug 20476) Add a "viewsuppressed" user right to be able to view
13213   suppressed content but not suppress it ("suppressrevision" right).
13214 * (bug 66440) The MediaWiki web installer will now allow you to choose the skins
13215   to enable (from the ones included in download tarball) and decide which one
13216   should be the default.
13217 * (bug 68085, 68802) Links like [[localInterwikiPrefix:languageCode:pageTitle]],
13218   where localInterwikiPrefix is a member of the $wgLocalInterwikis array, will
13219   no longer be displayed in the sidebar when $wgInterwikiMagic is true. In a
13220   similar way, links like [[localInterwikiPrefix:File:Image.png]] and
13221   [[localInterwikiPrefix:Category:Hello]] will now render as regular links, and
13222   will not include the file or add the page to the category.
13223 * New special page, MyLanguage, to redirect users to subpages with localised
13224   versions of a page. (Integrated from Extension:Translate)
13225 * MediaWiki now supports multiple password types, including bcrypt and PBKDF2.
13226   The default type can be changed with $wgPasswordDefault and the type
13227   configurations can be changed with $wgPasswordConfig.
13228 * Skins can now define custom styles for default ResourceLoader modules using
13229   the $wgResourceModuleSkinStyles global. See the Vector skin for examples.
13230 * (bug 4488) There is now a preference to watch pages where the user has
13231   rollbacked an edit by default.
13232 * (bug 15484) Users will now be redirected to the login page when they need to
13233   log in, rather than being shown a page asking them to log in and having to
13234   click another link to actually get to the login page.
13235 * A JsonContent and JsonContentHandler were added for extensions to extend.
13236 * (bug 35045) Redirects to sections will now update the URL in browser's address
13237   bar using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]],
13238   the user will now see "Animals#Dog" in their browser instead of "Dog#Dog".
13239 * API token handling has been rewritten. Any API module using tokens will need
13240   to be updated. See the entry below under "Action API internal changes".
13241 * Added HTMLAutoCompleteSelectField.
13242 * Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to
13243   link existence cache before the page is rendered.
13244 * Config::set() was moved to its own interface, MutableConfig.
13245   GlobalVarConfig::set() is now deprecated, does not implement MutableConfig.
13246 * A MutableConfig named HashConfig was added, that stores an array of
13247   configuration settings.
13248 * (bug 69418) A MultiConfig implementation was added that supports fallback
13249   to multiple Config instances.
13250 * Update CSSJanus to v1.1.0.
13251 * Added FormatJson::parse() returning status with result or localized error
13252   message
13253 * Added DeletedContribsPager::reallyDoQuery hook allowing extensions to data to
13254   Special:DeletedContributions
13255 * Added DeletedContributionsLineEnding hook allowing extensions to format
13256   Special:DeletedContributions lines
13257 * (T69525) You can now make MediaWiki speed up its thumbnail rendering by using
13258   intermediary thumbnails. $wgThumbnailBuckets must be set to a list of target
13259   thumbnail widths; when a new thumbnail needs to be rendered, MediaWiki will
13260   find the smallest bucket smaller than the original but larger than the target
13261   width + $wgThumbnailMinimumBucketDistance, and it will scale that thumbnail,
13262   rather than the original, down to the target size at greater speed in return
13263   for minor loss of fidelity.
13265 === Bug fixes in 1.24 ===
13266 * (bug 50572) MediaWiki:Blockip should support gender
13267 * (bug 49116) Footer copyright notice is now always displayed in user language
13268   rather than content language (same as copyright notice for editing interface).
13269 * (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
13270   restriction was present in the parameters. Images with both the "frame"
13271   option and a size specification set will now always ignore the provided
13272   size and display an unscaled image, as the documentation has always
13273   claimed it would.
13274 * (bug 39035) Improved Vector skin performance by removing collapsibleNav,
13275   which used to collapse some sidebar elements by default.
13276   This removes -list id suffixes like p-lang-list: instead of using things like
13277   #p-lang-list, you can do #p-lang .body ul.
13278 * (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
13279   follow redirects to their target pages.
13280 * Parser now dies early if called recursively, instead of producing subtle bugs.
13281 * (bug 14323) Redirect pages, when viewed with redirect=no, no longer hide the
13282   remaining page content.
13283 * (bug 52587) Maintenance script deleteBatch.php no longer follows redirects
13284   in the file namespace and delete the file on the target page. It will still
13285   however delete the redirect page.
13286 * (bug 22683) {{msgnw:}} and other uses of PPFrame::RECOVER_ORIG will correctly
13287   recover the original code of extension tags.
13288 * (bug 65757) MSSQL: Update script drops unnamed constraints to be prepared
13289   for future updates. Because it's doing so heuristically, it may fail or drop
13290   wrong constraints.
13291 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
13292 * $wgRunJobsAsync now works with private wikis (e.g. read requires login).
13293 * (bugs 57238, 65206) Blank pages can now be directly created.
13294 * (bug 69789) Title::getContentModel() now loads from the database when
13295   necessary instead of incorrectly returning the default content model.
13296 * (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP.
13297 * (bug 57909) URLs in the externallinks table will no longer have certain
13298   characters decoded in the query string.
13299 * (bug 67368) LESS mixins like .background-image() correctly flip image
13300   references for RTL stylesheets now.
13302 === Action API changes in 1.24 ===
13303 * action=parse API now supports prop=modules, which provides the list of
13304   ResourceLoader modules that should be used to enhance the parsed content.
13305 * action=query&meta=siteinfo&siprop=interwikimap returns a new "protorel"
13306   field which is true if protocol-relative urls can be used to access
13307   a particular interwiki map entry.
13308 * list=logevents now provides logpage, which is the page ID from the
13309   logging table, if ids are requested and the user has the permissions.
13310 * action=edit now requires that appendtext, prependtext, or section=new be used
13311   when using the 'redirect' parameter, to prevent clients accidentally
13312   overwriting the target page with the content of the redirect.
13313 * list=logevents will now return an error if both letitle and leprefix are
13314   specified.
13315 * list=logevents has a new parameter, lenamespace, to allow filtering by
13316   namespace.
13317 * action=expandtemplates has a new parameter, prop, and a new output format.
13318   The old format is still used if prop isn't provided, but this is deprecated.
13319 * meta=userinfo can now return the count of unread pages on the watchlist.
13320 * list=watchlist can now filter by unread status.
13321 * The deprecated action=parse&prop=languageshtml has been removed.
13322 * (bug 48071) action=setnotificationtimestamp no longer throws PHP or database
13323   errors when no pages are given.
13324 * (bug 60734) Actions that use ApiPageSet (e.g. purge, watch,
13325   setnotificationtimestamp) will now include continuation information when
13326   using a generator.
13327 * Removed 'props' and 'errors' from action=paraminfo, as they have extremely
13328   limited use and are generally inaccurate, unmaintained, and impossible to
13329   properly maintain.
13330 * Formats dbg, dump, txt, wddx, and yaml are now deprecated.
13331 * action=paraminfo now indicates when a parameter is specifying a submodule.
13332 * The iwurl parameter to prop=iwlinks is deprecated in favor of iwprop=url, for
13333   parallelism with prop=langlinks.
13334 * All tokens should be fetched from action=query&meta=tokens; all other methods
13335   of fetching tokens are deprecated. The value needed for meta=tokens's 'type'
13336   parameter for each module is documented in the action=help output and is
13337   returned from action=paraminfo.
13338 * New action ClearHasMsg that can be used to clear HasMsg flag.
13339 * The cmstartsortkey and cmendsortkey parameters to list=categorymembers are
13340   deprecated in favor of cmstarthexsortkey and cmendhexsortkey.
13341 * (bug 63326) Add blockedtimestamp field to output of blockinfo property for
13342   the list=allusers and list=users modules.
13343 * prop=imageinfo no longer requires iiurlwidth to be set when using iiurlparam.
13344 * Added prop=linkshere, prop=fileusage, and prop=transcludedin, which are
13345   roughly equivalent to list=backlinks, list=imageusage, and list=embeddedin
13346   but can work on a list of titles (including titles from a generator).
13347 * prop=redirects can now filter returned redirects by namespace.
13349 === Action API internal changes in 1.24 ===
13350 * Methods for handling continuation are added to ApiResult, so actions other
13351   than query that use generators can easily support continuation.
13352 * $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules,
13353   $wgAPIPropModules, and $wgAPIListModules settings) now allow API modules
13354   to be specified using a "module spec" array instead of a plain class name.
13355   A "module spec" is an associative array containing at least the 'class' key
13356   for the module's class, and optionally a 'factory' key for the factory
13357   function to use for the module. This is intended for extensions that want
13358   control over the instantiation of their API modules, to allow for proper
13359   dependency injection.
13360 * A new param type 'submodule' is available. Parameters of this type will take
13361   the list of valid values from the module's ApiModuleManager for the group
13362   corresponding to the parameter name.
13363 * The 'APIGetPossibleErrors' and 'APIGetResultProperties' hooks are no longer
13364   used.
13365 * API token handling has been rewritten. Any API module using tokens will need
13366   to be updated:
13367   * ApiBase::needsToken now returns a token type instead of boolean true when a
13368     token is needed. Returning true will throw an exception. See documentation
13369     of that method for details.
13370   * Information for the 'token' parameter is automatically set by ApiBase
13371     getFinalParams and getFinalParamDescription.
13372   * ApiBase::getTokenSalt has been removed.
13373   * The hooks APIQueryInfoTokens, APIQueryRevisionsTokens,
13374     APIQueryRecentChangesTokens, APIQueryUsersTokens, and
13375     ApiTokensGetTokenTypes are deprecated, but are still called to support
13376     backwards-compatible token access.
13377 * ApiBase::validateLimit and ApiBase::validateTimestamp are now protected.
13378 * ApiQueryRedirects was removed; prop=redirects is now implemented by
13379   ApiQueryBacklinksProp along with the newly-added prop modules.
13380 * The following methods have been deprecated and may be removed in a future
13381   release:
13382   * ApiBase::getResultProperties
13383   * ApiBase::getFinalResultProperties
13384   * ApiBase::addTokenProperties
13385   * ApiBase::getRequireOnlyOneParameterErrorMessages
13386   * ApiBase::getRequireMaxOneParameterErrorMessages
13387   * ApiBase::getRequireAtLeastOneParameterErrorMessages
13388   * ApiBase::getTitleOrPageIdErrorMessage
13389   * ApiBase::getPossibleErrors
13390   * ApiBase::getFinalPossibleErrors
13391   * ApiBase::parseErrors
13392   * ApiQuery::setGeneratorContinue
13393   * ApiQueryBase::checkRowCount
13394   * ApiQueryBase::titleToKey
13395   * ApiQueryBase::keyToTitle
13396   * ApiQueryBase::keyPartToTitle
13397   * ApiQueryInfo::getTokenFunctions
13398   * ApiQueryInfo::resetTokenCache
13399   * ApiQueryInfo::getEditToken
13400   * ApiQueryInfo::getDeleteToken
13401   * ApiQueryInfo::getProtectToken
13402   * ApiQueryInfo::getMoveToken
13403   * ApiQueryInfo::getBlockToken
13404   * ApiQueryInfo::getUnblockToken
13405   * ApiQueryInfo::getEmailToken
13406   * ApiQueryInfo::getImportToken
13407   * ApiQueryInfo::getWatchToken
13408   * ApiQueryInfo::getOptionsToken
13409   * ApiQueryRecentChanges::getTokenFunctions
13410   * ApiQueryRecentChanges::getPatrolToken
13411   * ApiQueryRevisions::getTokenFunctions
13412   * ApiQueryRevisions::getRollbackToken
13413   * ApiQueryUsers::getTokenFunctions
13414   * ApiQueryUsers::getUserrightsToken
13415 * The following classes have been deprecated and may be removed in a future
13416   release:
13417   * ApiFormatDbg
13418   * ApiFormatDump
13419   * ApiFormatTxt
13420   * ApiFormatWddx
13421   * ApiFormatYaml
13422   * ApiTokens
13423 * The following class constants have been deprecated and may be removed in a
13424   future release:
13425   * ApiBase::PROP_ROOT
13426   * ApiBase::PROP_LIST
13427   * ApiBase::PROP_TYPE
13428   * ApiBase::PROP_NULLABLE
13430 === Languages updated in 1.24 ===
13432 MediaWiki supports over 350 languages. Many localisations are updated
13433 regularly. Below only new and removed languages are listed, as well as
13434 changes to languages because of Bugzilla reports.
13436 === Other changes in 1.24 ===
13437 * The deprecated jquery.delayedBind ResourceLoader module was removed.
13438 * The deprecated function mw.util.toggleToc was removed.
13439 * The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend
13440   were removed as they were unused.
13441 * (bug 65477) User::pingLimiter() now has an additional profile point varying
13442   by action being used.
13443 * mediawiki.util.$content no longer supports old versions of the Vector,
13444   Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body"
13445   and/or "mw-body-primary" class name in their html.
13446 * Added pp_sortkey column to page_props table, so pages can be efficiently
13447   queried and sorted by property value (bug 58032).
13448   See $wgPagePropsHaveSortkey if you want to postpone the schema change.
13449 * BREAKING CHANGE: All four built-in MediaWiki skins (Vector, MonoBook, Modern
13450   and Cologne Blue) were moved out of MediaWiki core to their own respective
13451   repositories. They will be installed with the release tarball, but you must
13452   install them separately if installing MediaWiki from source code. A warning
13453   message displayed until you do it should guide you through the process. See
13454   also <https://www.mediawiki.org/wiki/Manual:Skin_configuration>.
13455 * BREAKING CHANGE: Skins built for MediaWiki 1.15 and earlier that do not use
13456   the "headelement" template key are no longer supported. Setting
13457   $useHeadElement = false; is no longer supported and will not cause old keys
13458   like "headlinks", "skinnameclass", etc. to be defined.
13459 * BREAKING CHANGE: The files commonElements.css, commonContent.css and
13460   commonInterface.css (in skins/common/) have been removed. Skins may no longer
13461   rely on their presence and include them in their style modules. ResourceLoader
13462   modules introduced in MediaWiki 1.23 should be loaded instead:
13463   - skins/common/commonElements.css  → 'mediawiki.skinning.elements' module
13464   - skins/common/commonContent.css   → 'mediawiki.skinning.content' module
13465   - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module
13466 * The deprecated 'SpecialVersionExtensionTypes' hook was removed.
13467 * (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages.
13468 * SpecialPage no longer supports the syntax for invoking wfSpecial*() functions.
13469   Special pages should subclass SpecialPage and implement the execute() method.
13470 * (bug 63755) The deprecated constants RC_MOVE and RC_MOVE_OVER_REDIRECT were
13471   removed.
13472 * Special:MostLinkedTemplates has been renamed to Special:MostTranscludedPages.
13473 * The skin autodiscovery mechanism has been deprecated and will be removed in
13474   MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
13475   for migration guide for creators and users of custom skins that relied on it.
13476 * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all
13477   skin style files used by the module.
13478 * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19)
13479 * Removed setLang() from subclasses of IContextSource. (deprecated since 1.19)
13480 * Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20)
13481 * Removed info(), purge(), revert() and rollback() from the Article class; they
13482   have since become subclasses of the Action class. (deprecated since 1.19)
13483 * SearchEngineReplacePrefixesComplete hook was removed.
13484 * The "jquery.json" module has been deprecated. Use the "json" module instead.
13485 * Removed HTMLForm::addJS(). (deprecated since 1.18)
13486 * Removed LogEventsList::showHeader(). (deprecated since 1.19)
13487 * Removed ImageGalleryBase::useSkin(). (deprecated since 1.18)
13488 * Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19)
13489 * Removed LoadBalancer::closeConnecton(). (deprecated since 1.18)
13490 * Removed ApiBase::createContext(). (deprecated since 1.19)
13491 * BREAKING CHANGE: The undocumented Special{$this->getName()}BeforeFormDisplay
13492   set of hooks has been removed and replaced by a single new hook
13493   SpecialPageBeforeFormDisplay.
13494 * (bug 65781) Removed block warning on included {{Special:Contributions}}
13495 * Removed Skin::makeGlobalVariablesScript(). (deprecated since 1.19)
13496 * Removed MWNamespace::isMain(). (deprecated since 1.19)
13497 * Removed Preferences::loadOldSearchNs(). (deprecated since 1.19)
13498 * Removed OutputPage::getStatusMessage(). (deprecated since 1.18)
13499 * Removed OutputPage::isUserJsAllowed(). (deprecated since 1.18)
13500 * Removed Title::updateTitleProtection(). (deprecated since 1.19)
13501 * Removed ParserOptions::setSkin(). (deprecated since 1.19)
13502 * Removed Title::escapeCanonicalURL(). (deprecated since 1.19)
13503 * Removed Title::escapeLocalURL(). (deprecated since 1.19)
13504 * Removed Title::escapeFullURL(). (deprecated since 1.19)
13505 * Removed User::isValidEmailAddr(). (deprecated since 1.18)
13506 * Removed Title::getEscapedText(). (deprecated since 1.19)
13507 * Removed Language::getFallbackLanguageCode(). (deprecated since 1.19)
13508 * Removed WikiPage::isBigDeletion(). (deprecated since 1.19)
13509 * Removed MWInit class which contained functions related to a now discontinued
13510   PHP compiler called hphpc. (deprecated since 1.22)
13511 * ApiResult::enableSizeCheck() and disableSizeCheck() are now obsolete.
13512 * Removed ResourceLoaderGetStartupModules hook. (deprecated since 1.23)
13513 * Removed getFormFields(), onSubmit() and onSuccess() from FormlessAction, as
13514   these were meant specifically for FormAction instead.
13515 * Removed Action::execute().
13516 * Removed AjaxAddScript which has been obsolete since ResourceLoader and
13517   is unused by any modern extension.
13518 * Removed maintenance/nextJobDB.php; no longer in use.
13519 * Removed global function wfViewPrevNext(). (deprecated since 1.19)
13520 * Removed global function xmlsafe() from Export.php. (moved to OAIRepo
13521   extension)
13522 * Removed Title::userCanRead(). (deprecated since 1.19)
13523 * Removed maintenance script importTextFile.php. Use edit.php script instead.
13524 * A _from_namespace field has been added to the templatelinks, pagelinks,
13525   and filelinks tables. Run update.php to apply this change to the schema.
13526 * Removed File::sha1Base36(). (deprecated since 1.19)
13527 * Removed File::getPropsFromPath(). (deprecated since 1.19)
13528 * Removed functions blockedPage(), noCreatePermission(), readOnlyPage() and
13529   userNotLoggedInPage() from EditPage.php. (deprecated since 1.19)
13530 * Removed functions getContent(), getPreloadedText(), mergeChangesInto() and
13531   setPreloadedText() from EditPage.php. (deprecated since 1.21)
13532 * Removed global functions wfArrayLookup(), wfArrayMerge(),
13533   wfDebugDieBacktrace() and wfTime(). (deprecated since 1.22)
13534 * Browser support for Internet Explorer 6 and 7 lowered from Grade A to Grade C,
13535   meaning that JavaScript is no longer executed in these browser versions.
13536 * Browser support for Opera 11 lowered from Grade A to Grade C.
13537 * Removed IEFixes module which existed purely to provide support for MSIE
13538   versions below 7 (conditionally loaded only for those browsers).
13539 * Deprecated SpecialPageFactory::getList() in favor of
13540   SpecialPageFactory::getNames()
13541 * Action::checkCanExecute() no longer has a return value.
13542 * Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP()
13543   and sendToUDP() from RecentChange.php. (deprecated since 1.22)
13544 * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow().
13545 * Removed Xml::namespaceSelector(). (deprecated since 1.19)
13546 * Removed WikiPage::estimateRevisionCount(). (deprecated since 1.19)
13547 * MYSQL: Enum item added to "major MIME type" columns.
13548   Running update.php on MySQL < v5.1 may result in heavy processing.
13549 * RSS and Atom feeds generated by MediaWiki no longer include a fallback
13550   stylesheet. It was ignored by most browsers these days anyway.
13551 * SpecialSearchNoResults hook has been removed. SpecialSearchResults is now
13552   called unconditionally.
13553 * TablePager::getBody() is now 'final' and can't be overridden in subclasses.
13554 * TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
13555 * Added $outputPage parameter to the SkinTemplateGetLanguageLink hook.
13556 * log_page for move log entries store the original page ID, rather than that
13557   of the new redirect page. This is not retroactive.
13558 * LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to
13559   use this store class.
13560 * Html::infoBox() no longer accepts paths relative to skins/common/images/.
13561 * Deprecated defunct Skin::getCommonStylePath().
13562 * Some extensions had their ResourceLoader modules depend on the "mediawiki"
13563   and "jquery" modules. In the past, this behavior was undefined, now it will
13564   throw an error.
13565 * Removed BagOStuff::replace(). (deprecated since 1.23)
13566 * In Linker.php, link(), linkText() and makeBrokenImageLinkObj() now display
13567   warnings if their first parameter is not a Title object. Also makeImageLink()
13568   now requires a Parser as its first parameter.
13569 * (bug 67368) LESS functions embed() and embeddable(), added in MediaWiki 1.23
13570   and broken by design, have been removed. Use appropriate LESS mixins instead.
13571 * Removed cssjanus.py from maintenance directory as it was unused.
13572 * Removed maintenance/purgeOldText.inc and the PurgeRedundantText() function
13573   it contained (superseded by Maintenance::purgeRedundantText() in 1.16).
13574   The purgeOldText.php maintenance script has been retained.
13575 * PHPUnit tests can be found by directory discovery, by adding the directory
13576   path from your UnitTestsList callback. Older versions of MediaWiki core will
13577   barf at this usage.
13579 ==== Renamed classes ====
13580 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
13581 * CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment
13582 * CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator
13583 * CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange
13584 * CSSJanus_Tokenizer to CSSJanusTokenizer
13585 * MediaWiki_I18N to MediaWikiI18N
13586 * Parser_DiffTest to ParserDiffTest
13587 * RevDel_ArchiveItem to RevDelArchiveItem
13588 * RevDel_ArchiveList to RevDelArchiveList
13589 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
13590 * RevDel_ArchivedFileList to RevDelArchivedFileList
13591 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
13592 * RevDel_FileItem to RevDelFileItem
13593 * RevDel_FileList to RevDelFileList
13594 * RevDel_Item to RevDelItem
13595 * RevDel_List to RevDelList
13596 * RevDel_LogItem to RevDelLogItem
13597 * RevDel_LogList to RevDelLogList
13598 * RevDel_RevisionItem to RevDelRevisionItem
13599 * RevDel_RevisionList to RevDelRevisionList
13600 * WebInstaller_Complete to WebInstallerComplete
13601 * WebInstaller_Copying to WebInstallerCopying
13602 * WebInstaller_DBConnect to WebInstallerDBConnect
13603 * WebInstaller_DBSettings to WebInstallerDBSettings
13604 * WebInstaller_Document to WebInstallerDocument
13605 * WebInstaller_ExistingWiki to WebInstallerExistingWiki
13606 * WebInstaller_Install to WebInstallerInstall
13607 * WebInstaller_Language to WebInstallerLanguage
13608 * WebInstaller_Name to WebInstallerName
13609 * WebInstaller_Options to WebInstallerOptions
13610 * WebInstaller_Readme to WebInstallerReadme
13611 * WebInstaller_ReleaseNotes to WebInstallerReleaseNotes
13612 * WebInstaller_Restart to WebInstallerRestart
13613 * WebInstaller_Upgrade to WebInstallerUpgrade
13614 * WebInstaller_UpgradeDoc to WebInstallerUpgradeDoc
13615 * WebInstaller_Welcome to WebInstallerWelcome
13617 ==== Removed classes ====
13618 * IPBlockForm - Use SpecialBlock directly
13619 * WatchlistEditor - Use SpecialEditWatchlist directly
13620 * FormatExif - Use FormatMetadata directly
13621 * RevertFileAction - Use RevertAction directly
13622 * HistoryPage - Use HistoryAction directly
13623 * RawPage - Use RawAction directly
13624 * StubContLang - Use Language::factory() instead
13625 * XMLReader2 - Use XMLReader directly
13626 * ResourceLoaderLESSFunctions - No longer in use, not intended for public usage
13628 ==== Removed files ====
13629 The skins/common/ directory, previously containing some assets intended to be
13630 used by skins and a number of legacy styles and scripts, has been removed. Its
13631 contents have been deleted or relocated into the resources/ directory. Full list
13632 of files that are no longer available follows.
13634 * skins/common/ajax.js
13635 * skins/common/commonContent.css
13636 * skins/common/commonElements.css
13637 * skins/common/commonInterface.css
13638 * skins/common/commonPrint.css
13639 * skins/common/config-cc.css
13640 * skins/common/config.css
13641 * skins/common/config.js
13642 * skins/common/feed.css
13643 * skins/common/IEFixes.js
13644 * skins/common/oldshared.css
13645 * skins/common/protect.js
13646 * skins/common/shared.css
13647 * skins/common/upload.js
13648 * skins/common/wikibits.js
13649 * skins/common/images/add.png
13650 * skins/common/images/ajax-loader.gif
13651 * skins/common/images/arrow_disabled_first_25.png
13652 * skins/common/images/arrow_disabled_last_25.png
13653 * skins/common/images/arrow_disabled_left_25.png
13654 * skins/common/images/arrow_disabled_right_25.png
13655 * skins/common/images/arrow_first_25.png
13656 * skins/common/images/arrow_last_25.png
13657 * skins/common/images/arrow_left_25.png
13658 * skins/common/images/arrow_right_25.png
13659 * skins/common/images/Arr_.png
13660 * skins/common/images/Arr_d.png
13661 * skins/common/images/Arr_l.png
13662 * skins/common/images/Arr_r.png
13663 * skins/common/images/Arr_u.png
13664 * skins/common/images/bullet.gif
13665 * skins/common/images/button_bold.png
13666 * skins/common/images/button_extlink.png
13667 * skins/common/images/button_headline.png
13668 * skins/common/images/button_hr.png
13669 * skins/common/images/button_image.png
13670 * skins/common/images/button_italic.png
13671 * skins/common/images/button_link.png
13672 * skins/common/images/button_media.png
13673 * skins/common/images/button_nowiki.png
13674 * skins/common/images/button_sig.png
13675 * skins/common/images/button_template.png
13676 * skins/common/images/cc-0.png
13677 * skins/common/images/cc-by-nc-sa.png
13678 * skins/common/images/cc-by-sa.png
13679 * skins/common/images/cc-by.png
13680 * skins/common/images/Checker-16x16.png
13681 * skins/common/images/closewindow.png
13682 * skins/common/images/closewindow19x19.png
13683 * skins/common/images/critical-32.png
13684 * skins/common/images/diffunderline.gif
13685 * skins/common/images/download-32.png
13686 * skins/common/images/feed-icon.png
13687 * skins/common/images/feed-icon.svg
13688 * skins/common/images/gnu-fdl.png
13689 * skins/common/images/help-question-hover.gif
13690 * skins/common/images/help-question.gif
13691 * skins/common/images/info-32.png
13692 * skins/common/images/link_icon.gif
13693 * skins/common/images/magnify-clip-rtl.png
13694 * skins/common/images/magnify-clip.png
13695 * skins/common/images/mediawiki.png
13696 * skins/common/images/nextredirectltr.png
13697 * skins/common/images/nextredirectrtl.png
13698 * skins/common/images/poweredby_mediawiki_88x31.png
13699 * skins/common/images/public-domain.png
13700 * skins/common/images/question-small.png
13701 * skins/common/images/question.svg
13702 * skins/common/images/redirectltr.png
13703 * skins/common/images/redirectrtl.png
13704 * skins/common/images/remove.png
13705 * skins/common/images/spinner.gif
13706 * skins/common/images/tick-32.png
13707 * skins/common/images/tipsy-arrow.gif
13708 * skins/common/images/tooltip_icon.png
13709 * skins/common/images/warning-32.png
13710 * skins/common/images/wiki.png
13711 * skins/common/images/Zoom_sans.gif
13712 * skins/common/images/ar/button_bold.png
13713 * skins/common/images/ar/button_headline.png
13714 * skins/common/images/ar/button_italic.png
13715 * skins/common/images/ar/button_link.png
13716 * skins/common/images/ar/button_nowiki.png
13717 * skins/common/images/be-tarask/button_bold.png
13718 * skins/common/images/be-tarask/button_italic.png
13719 * skins/common/images/be-tarask/button_link.png
13720 * skins/common/images/cyrl/button_bold.png
13721 * skins/common/images/cyrl/button_italic.png
13722 * skins/common/images/cyrl/button_link.png
13723 * skins/common/images/de/button_bold.png
13724 * skins/common/images/de/button_italic.png
13725 * skins/common/images/fa/button_bold.png
13726 * skins/common/images/fa/button_headline.png
13727 * skins/common/images/fa/button_italic.png
13728 * skins/common/images/fa/button_link.png
13729 * skins/common/images/fa/button_nowiki.png
13730 * skins/common/images/icons/fileicon-c.png
13731 * skins/common/images/icons/fileicon-cpp.png
13732 * skins/common/images/icons/fileicon-deb.png
13733 * skins/common/images/icons/fileicon-djvu.png
13734 * skins/common/images/icons/fileicon-djvu.xcf
13735 * skins/common/images/icons/fileicon-dvi.png
13736 * skins/common/images/icons/fileicon-exe.png
13737 * skins/common/images/icons/fileicon-h.png
13738 * skins/common/images/icons/fileicon-html.png
13739 * skins/common/images/icons/fileicon-iso.png
13740 * skins/common/images/icons/fileicon-java.png
13741 * skins/common/images/icons/fileicon-mid.png
13742 * skins/common/images/icons/fileicon-mov.png
13743 * skins/common/images/icons/fileicon-o.png
13744 * skins/common/images/icons/fileicon-ogg.png
13745 * skins/common/images/icons/fileicon-ogg.xcf
13746 * skins/common/images/icons/fileicon-pdf.png
13747 * skins/common/images/icons/fileicon-ps.png
13748 * skins/common/images/icons/fileicon-psd.png
13749 * skins/common/images/icons/fileicon-rm.png
13750 * skins/common/images/icons/fileicon-rpm.png
13751 * skins/common/images/icons/fileicon-svg.png
13752 * skins/common/images/icons/fileicon-tar.png
13753 * skins/common/images/icons/fileicon-tex.png
13754 * skins/common/images/icons/fileicon-ttf.png
13755 * skins/common/images/icons/fileicon-txt.png
13756 * skins/common/images/icons/fileicon.png
13757 * skins/common/images/ksh/button_S_italic.png
13759 = MediaWiki 1.23 =
13761 == MediaWiki 1.23.17 ==
13763 === Changes since 1.23.16 === <!--T:69-->
13764 * Fix syntax errors introduced in 1.23.16 when running PHP 5.3.
13766 == MediaWiki 1.23.16 ==
13767 This is a security and maintenance release of the MediaWiki 1.23 branch.
13769 === Changes since 1.23.15 ===
13770 * (T68404) CSS3 attr() function with url type is no longer allowed
13771   in inline styles.
13772 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
13773 * Submitting the lgtoken and lgpassword parameters in the query string to
13774   action=login is now deprecated and outputs a warning. They should be submitted
13775   in the POST body instead.
13776 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
13777   redirect to interwiki links.
13778 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
13779   $wgAdvancedSearchHighlighting is true.
13780 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
13781   their values out of the logs.
13782 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
13783   CSRF token.
13784 * (T156184) SECURITY: Escape content model/format url parameter in message.
13785 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
13786   declaration.
13787 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
13788   inclusion syntax's link parameter.
13789 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
13790   against it.
13792 == MediaWiki 1.23.15 ==
13794 This is a maintenance release of the MediaWiki 1.23 branch.
13796 === Changes since 1.23.14 ===
13797 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
13798   made by MediaWiki via a proxy. Relying on the http_proxy environment
13799   variable is no longer supported.
13800 * (T139565) SECURITY: API: Generate head items in the context of the given title
13801 * (T137264) SECURITY: XSS in unclosed internal links
13802 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
13803 * (T133147) SECURITY: Require login to preview user CSS pages
13804 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
13805   the top file
13806 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
13807   permissions
13808 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
13809 * (T115333) SECURITY: Check read permission when loading page content in
13810   ApiParse
13811 * Remove support for $wgWellFormedXml = false, all output is now well formed
13813 == MediaWiki 1.23.13 ==
13815 This is a maintenance release of the MediaWiki 1.23 branch.
13817 === Changes since 1.23.12 ===
13818 * (T121892) Fix fatal errors on some Special pages, introduced in 1.23.12.
13820 == MediaWiki 1.23.12 ==
13822 This is a security and maintenance release of the MediaWiki 1.23 branch.
13824 === Changes since 1.23.11 ===
13825 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
13826   that do not begin with a slash. This enabled trivial XSS attacks.
13827   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
13828   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
13829   error.
13830 * (T119309) SECURITY: Use hash_compare() for edit token comparison
13831 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
13832   with '@' as file uploads
13833 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
13834   longer be shorter than $wgMinimalPasswordLength
13835 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
13836   result in improper blocks being issued
13837 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
13838   and related pages no longer use HTTP redirects and are now redirected by
13839   MediaWiki
13841 == MediaWiki 1.23.11 ==
13843 This is a security and maintenance release of the MediaWiki 1.23 branch.
13845 === Changes since 1.23.10 ===
13847 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
13848 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
13849 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
13851 == MediaWiki 1.23.10 ==
13853 This is a security and maintenance release of the MediaWiki 1.23 branch.
13855 === Changes since 1.23.9 ===
13857 * (T94116) SECURITY: Compare API watchlist token in constant time
13858 * (T97391) SECURITY: Escape error message strings in thumb.php
13859 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
13860   Special:DeletedContributions
13861 * (bug 67644) Make AutoLoaderTest handle namespaces
13862 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
13863 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
13864   policy of Wikimedia Commons.
13866 == MediaWiki 1.23.9 ==
13868 This is a security and maintenance release of the MediaWiki 1.23 branch.
13870 === Changes since 1.23.8 ===
13872 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
13873   to prevent various DoS attacks.
13874 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
13875   likelihood of DoS.
13876 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
13877 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
13878 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
13879 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
13880   prevent XSS and protect viewer's privacy.
13881 * (bug T68650) Fix indexing of moved pages with PostgreSQL. Requires running
13882   update.php to fix.
13883 * (bug T70087) Fix Special:ActiveUsers page for installations using
13884   PostgreSQL.
13886 == MediaWiki 1.23.8 ==
13888 This is a security and maintenance release of the MediaWiki 1.23 branch.
13890 === Changes since 1.23.7 ===
13892 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
13893   could lead to xss. Permission to edit MediaWiki namespace is required to
13894   exploit this.
13895 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
13896   $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
13897   part of its name.
13898 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
13900 == MediaWiki 1.23.7 ==
13902 This is a security and maintenance release of the MediaWiki 1.23 branch.
13904 === Changes since 1.23.6 ===
13906 * (bugs 66776, 71478) SECURITY:  User PleaseStand reported a way to inject code
13907   into API clients that used format=php to process pages that underwent flash
13908   policy mangling. This was fixed along with improving how the mangling was done
13909   for format=json, and allowing sites to disable the mangling using
13910   $wgMangleFlashPolicy.
13911 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
13912   the content model for a page could allow an unprivileged attacker to edit
13913   another user's common.js under certain circumstances. The user right
13914   "editcontentmodel" was added, and is needed to change a revision's content
13915   model.
13916 * (bug 71111) SECURITY: User PleaseStand reported that on wikis that allow raw
13917   HTML, it is not safe to preview wikitext coming from an untrusted source such
13918   as a cross-site request. Thus add an edit token to the form, and when raw HTML
13919   is allowed, ensure the token is provided before showing the preview. This
13920   check is not performed on wikis that both allow raw HTML and anonymous
13921   editing, since there are easier ways to exploit that scenario.
13922 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
13923   DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
13924   public RFC about the desired functionality. This issue was reported by user
13925   Bawolff.
13926 * (bug 71621) Make allowing site-wide styles on restricted special pages a
13927   config option.
13928 * (bug 42723) Added updated version history from 1.19.2 to 1.22.13
13929 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
13930   might be a flash policy directive configurable.
13932 == MediaWiki 1.23.6 ==
13934 This is a maintenance release of the MediaWiki 1.23 branch.
13936 === Changes since 1.23.5 ===
13937 * (Bug 72274) Job queue not running (HTTP 411) due to missing
13938   Content-Length: header
13939 * (Bug 67440) Allow classes to be registered properly from installer
13941 == MediaWiki 1.23.5 ==
13943 This is a security release of the MediaWiki 1.23 branch.
13945 === Changes since 1.23.4 ===
13946 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
13947   allowance.
13949 == MediaWiki 1.23.4 ==
13951 This is a security and maintenance release of the MediaWiki 1.23 branch.
13953 === Changes since 1.23.3 ===
13955 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
13956   elements; normalize style elements and attributes before filtering; add
13957   checks for attributes that contain css; add unit tests for html5sec and
13958   reported bugs.
13959 * (bug 65998) Make MySQLi work with non-standard socket.
13960 * (bug 66986) GlobalVarConfig shouldn't throw exceptions for null-valued config
13961   settings.
13963 == MediaWiki 1.23.3 ==
13965 This is a maintenance release of the MediaWiki 1.23 branch.
13967 === Changes since 1.23.2 ===
13969 * (bug 68501) Correctly handle incorrect namespace in cleanupTitles.php.
13970 * (bug 64970) Fix support for blobs on DatabaseOracle::update.
13971 * (bug 66574) Display MediaWiki:Loginprompt on the login page.
13972 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
13973 * (bug 60629) Handle invalid language code gracefully in
13974   Language::fetchLanguageNames.
13975 * (bug 62017) Restore the number of rows shown on Special:Watchlist.
13976 * Check for boolean false result from database query in SqlBagOStuff.
13978 == MediaWiki 1.23.2 ==
13980 This is a security and maintenance release of the MediaWiki 1.23 branch.
13982 === Changes since 1.23.1 ===
13984 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
13985 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
13986   for loading a new page in Javascript,instead of relying on the URL in the link
13987   that has been clicked.
13988 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
13989   ParserOutput.
13990 * (bug 68313) Preferences: Turn stubthreshold back into a combo box.
13991 * (bug 65214) Fix initSiteStats.php maintenance script.
13992 * (bug 67594) Special:ActiveUsers: Fix to work with PostgreSQL.
13994 == MediaWiki 1.23.1 ==
13996 This is a security and maintenance release of the MediaWiki 1.23 branch.
13998 === Changes since 1.23.0 ===
14000 * (bug 65839) SECURITY: Prevent external resources in SVG files.
14001 * (bug 67025) Special:Watchlist: Don't try to render empty row.
14002 * (bug 66922) Don't allow some E_NOTICE messages to end up in the
14003   LocalSettings.php.
14004 * (bug 66467) FileBackend: Avoid using popen() when "parallelize" is disabled.
14005 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects
14006   like only extracting the tail of the file partially or not at all.
14007 * (bug 66182) Removed -x flag on some php files.
14009 == MediaWiki 1.23.0 ==
14011 === Configuration changes in 1.23 ===
14012 * (bug 13250) Restored method for clearing a watchlist in web UI
14013   so that users with large watchlists don't have to perform
14014   contortions to clear them.
14015 * When $wgJobRunRate is higher than zero, jobs are now executed via an
14016   asynchronous HTTP request to a MediaWiki entry point. This may require
14017   increasing the number of server worker threads. $wgRunJobsAsync has been
14018   added to disable this feature if needed, falling back to executing the job
14019   on the same process but making the execution synchronously.
14020 * $wgDebugLogGroups values may be set to an associative array with a
14021   'destination' key specifying the log destination. The array may also contain
14022   a 'sample' key with a positive integer value N indicating that the log group
14023   should be sampled by dispatching one in every N messages on average. The
14024   sampling is random.
14025 * In addition to the current exception log format, MediaWiki now serializes
14026   exception metadata to JSON and logs it to the 'exception-json' log group.
14027   This makes MediaWiki easier to integrate with log aggregation and analysis
14028   tools.
14029 * $wgSquidServersNoPurge now supports the use of Classless Inter-Domain
14030   Routing (CIDR) notation to specify contiguous blocks of IPv4 and/or IPv6
14031   addresses that should be trusted to provide X-Forwarded-For headers.
14032 * Preferences 'watchcreations', 'watchdefault', 'enotifwatchlistpages' ("Add
14033   pages I create and files I upload to my watchlist", "Add pages and files I
14034   edit to my watchlist", "Email me when a page or file on my watchlist is
14035   changed") are now enabled by default. In addition new user accounts' personal
14036   and talk pages are now watched by them by default.
14037 * $wgLBFactoryConf: Class names have had underscores removed. The configuration
14038   should be updated if LBFactory_Simple or LBFactory_Multi is configured.
14039 * $wgPasswordSenderName has been removed and is no longer functional. To set a
14040   custom mailer name, the system message 'emailsender' should be modified
14041   (default: "{{SITENAME}}").
14042 * (bug 63269) Email notifications were not correctly handling the
14043   [[MediaWiki:Helppage]] message being set to a full URL (the default).
14044   If you customized [[MediaWiki:Enotif body]] (the text of email notifications),
14045   you'll need to edit it locally to include the URL via the new variable
14046   $HELPPAGE instead of the parser functions fullurl and canonicalurl; otherwise
14047   you don't have to do anything.
14048 * $wgDBAhandler was removed as the only class using it was also removed
14049 * The 'max threads' setting was removed from $wgDBservers.
14050 * Support for AdminSettings.php has been completely removed. All configuration
14051   belongs in LocalSettings.php.
14052 * $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
14053   now formally deprecated.
14054 * Removed deprecated $wgDisabledActions as it is hardly used anywhere.
14055 * $wgRateLimitLog has been deprecated and replaced by
14056   $wgDebugLogGroup['ratelimit'].
14057 * $wgLocalInterwikis is an array containing multiple local interwiki prefixes
14058   (interwiki prefixes that point back to the current wiki). This effectively
14059   allows more than one value of $wgLocalInterwiki to be specified and
14060   understood by the parser. The value of $wgLocalInterwiki is automatically
14061   prepended to the start of this array.
14062 * $wgQueryPages has been removed. Query Pages should be added to by using the
14063   wgQueryPages hook.
14064 * $wgHttpOnlyBlacklist has been removed.
14065 * $wgLicenseTerms has been removed as it was unused.
14066 * $wgProfileOnly is now deprecated; set the log file in
14067   $wgDebugLogGroups['profileoutput'] to replace it.
14068 * $wgMaxBacklinksInvalidate was removed; use $wgJobBackoffThrottling instead
14069 * Deprecated ResourceLoaderGetStartupModules hook.
14071 === New features in 1.23 ===
14072 * ResourceLoader can utilize the Web Storage API to cache modules client-side.
14073   Compared to the browser cache, caching in Web Storage allows ResourceLoader
14074   to be more granular about evicting stale modules from the cache while
14075   retaining the ability to retrieve multiple modules in a single HTTP request.
14076   This capability can be enabled by setting $wgResourceLoaderStorageEnabled to
14077   true. This feature is currently considered experimental and should only be
14078   enabled with care.
14079 * (bug 6092) Add expensive parser functions {{REVISIONID:}}, {{REVISIONUSER:}}
14080   and {{REVISIONTIMESTAMP:}} (with friends).
14081 * Add "wgRelevantUserName" to mw.config containing the current
14082   Skin::getRelevantUser value.
14083 * (bug 56033) Add content model to the page information.
14084 * Added Article::MissingArticleConditions hook to give extensions a chance to
14085   hide their (unrelated) log entries.
14086 * Added LonelyPagesQuery hook to let extensions modify the query used to
14087   generate Special:LonelyPages.
14088 * Added $wgOpenSearchDefaultLimit defining the default number of entries to show
14089   on action=opensearch API call.
14090 * For namespaces with $wgNamespaceProtection (including the MediaWiki
14091   namespace), the "protect" tab will be shown only if there are restriction
14092   levels available that would restrict editing beyond what
14093   $wgNamespaceProtection already applies. The protection form will offer only
14094   those protection levels.
14095 * Added $wgAPIFormatModules, allowing extensions to add additional output
14096   formatting modules for the API.
14097 * (bug 47812) The MediaWiki:Group-user.{css,js} pages can now be used to add
14098   custom CSS or JavaScript enabled only for registered users.
14099 * (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist
14100   now include a legend describing the symbols used in lists of changes.
14101 * Improved the accessibility of the tabs in Special:Preferences.
14102 * Added ApiBeforeMain hook, roughly equivalent to the BeforeInitialize hook:
14103   it's called after everything is set up but before any major processing
14104   happens.
14105 * The jquery.client module now performs a component-wise version comparison in
14106   its #test method when strings are used in the browser map: version '1.10' is
14107   now correctly considered larger than '1.2'. Using numbers in the version map
14108   is not affected.
14109 * All API modules now support an assert parameter, which can either be
14110   'user' or 'bot'. The API will throw an error if the user is not logged
14111   in (user) or does not have the 'bot' userright (bot). Based off of the
14112   AssertEdit extension by Steve Sanbeg.
14113 * [[Special:Diff]] was added, allowing users to create internal links to
14114   revision comparison pages using syntax such as [[Special:Diff/12345]],
14115   [[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]].
14116 * New user accounts' personal and talk pages are now watched by them by default.
14117 * Added SkinTemplateGetLanguageLink hook to allow changing the html of language
14118   links.
14119 * Added MessageCache::get hook as a new way to customize messages across
14120   multiple sites.
14121 * Added jquery.throttle-debounce ResourceLoader module to limit the number of
14122   callbacks for frequently occurring events.
14123 * Special:ProtectedPages shows now a table. The timestamp, the reason and
14124   the protecting user are also shown.
14125 * Added experimental support for using Microsoft SQL Server as the database
14126   backend.
14127 ** Added new Microsoft SQL Server-specific configuration variable
14128    $wgDBWindowsAuthentication, which makes the web server authenticate against
14129    the database server using Integrated Windows Authentication instead of
14130    $wgDBuser/$wgDBpassword.
14131 * HTMLForm 'select', 'selectandother', 'selectorother', 'multiselect', and
14132   'radio' fields can now use message keys as labels via the 'options-messages'
14133   parameter, which overrides the 'options' parameter.
14134 * Admins can expire users passwords manually, or on a schedule using the
14135   $wgPasswordExpirationDays configuration setting.
14136 * Add new hook SendWatchlistEmailNotification, this will be used to determine
14137   whether to send a watchlist email notification.
14138 * (bug 42026) Special:Contributions now includes an option to filter page
14139   creations, similar to the topOnly option.
14140 * Add mediawiki.ui.button styling to all pages so wiki content can use styled
14141   buttons.
14142 * Special:UserLogin/signup now does AJAX checks for invalid and taken usernames,
14143   displaying the error live.
14144 * Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in
14145   skins.
14146 * Support has been added for a JSON based localisation file format. The
14147   installer has been updated to use it.
14148 * Changes to content typography (colors, line-height etc.). See
14149   https://www.mediawiki.org/wiki/Typography_refresh for further information.
14150 * The Vector skin's visual treatment of external links has been simplified to a
14151   single icon (from nine). This should not affect local rules unless they were
14152   re-using these icons, which have now been deleted.
14153 * ResourceLoader: mw.loader.using() now implements a Promise interface.
14154 * Add new hook ChangesListInitRows accessed via
14155   ChangesList::initChangesListRows.
14156   If called by the ChangesList consumer this gives extensions a chance to batch
14157   process the result set prior to rendering.
14158 * A PoolCounterRedis class was added which can be make use of in
14159   $wgPoolCounterConf. This requires at least one Redis 2.6+ server.
14160 * $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB
14161   in StartProfiler.php instead of using this.
14162 * (bug 63444) Made it possible to change the indent string (default: 4 spaces)
14163   used by FormatJson::encode().
14165 === Bug fixes in 1.23 ===
14166 * (bug 41759) The "updated since last visit" markers (on history pages, recent
14167   changes and watchlist) and the talk page message indicator are now correctly
14168   updated when the user is viewing old revisions of pages, instead of always
14169   acting as if the latest revision was being viewed.
14170 * (bug 56443) Special:ConfirmEmail no longer shows a "Mail a confirmation code"
14171   when the email address is already confirmed. Also, consistently use
14172   "confirmed", rather than "authenticated", when messaging whether or not the
14173   user has confirmed an email address.
14174 * (bug 19415) action=render no longer shows section edit links. This affects
14175   behavior of several other features where (bogus) section edit links will
14176   disappear, such as file description pages loaded via $wgUseInstantCommons or
14177   pages transcluded cross-wiki via $wgEnableScaryTranscluding.
14178 * (bug 56912) Show correct link color on cached result of Special:DeadendPages.
14179 * Classes TitleListDependency and TitleDependency have been removed, as they
14180   have been found unused in core and extensions for a long time.
14181 * (bug 57098) SpecialPasswordReset now obeys returnto parameter
14182 * (bug 37812) ResourceLoader will notice when a module's definition changes and
14183   recompile it accordingly.
14184 * (bug 57201) SpecialRecentChangesFilters hook is now executed for feeds.
14185 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages
14186   to appear blank or with missing text.
14187 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format
14188   which is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as
14189   the JavaScript evaluator were updated to support the new format. Plural rules
14190   for some languages have changed, most notably Russian. Affected software
14191   messages have been updated and marked for review at translatewiki.net.
14192 * (bug 23542) imagelinks now stores both the redirect and target (as
14193   templatelinks does).
14194 * (bug 58167) The web installer no longer throws an exception when PHP is
14195   compiled without support for MySQL yet with support for another DBMS.
14196 * (bug 56199) Raw option of parser functions must now match complete word,
14197   to take effect.
14198 * (bug 60543) Special:PrefixIndex forgot stripprefix=1 for "Next page" link
14199 * (bug 29762) Undoing an already-undone edit will now display an appropriate
14200   message instead of leading the user to make a null edit.
14201 * (bug 52659) mediawiki.notification: Notification area remained visible when
14202   empty and thus was stealing pointer events from links on the page.
14203 * (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now
14204   hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace
14205   no longer applies in such cases.
14206 * (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause
14207   warnings to be printed on Windows due to large path length.
14208 * (bug 48084) Fixed a bug in the installer that could cause $wgLogo to hold
14209   the wrong path to the placeholder logo (skins/common/images/wiki.png).
14210 * (bug 64289) jquery.textSelection: Don't throw errors on empty collections.
14212 === Web API changes in 1.23 ===
14213 * (bug 54884) action=parse&prop=categories now indicates hidden and missing
14214   categories.
14215 * action=query&meta=filerepoinfo now returns additional information for each
14216   repo.
14217 * action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in
14218   MediaWiki 1.24.
14219 * action=parse now has disabletoc flag to disable table of contents in output.
14220 * (bug 25702) list=allcategories, list=allimages, list=alllinks, list=allpages,
14221   list=deletedrevs and list=filearchive did not handle case-sensitivity
14222   properly for all parameters.
14223 * ApiQueryBase::titlePartToKey allows an extra parameter that indicates the
14224   namespace in order to properly capitalize the title part.
14225 * (bug 57874) action=feedcontributions no longer has one item more than limit.
14226 * All API modules now support an assert parameter. See the new features section
14227   for more details.
14228 * Added prop=contributors to fetch the list of contributors to the page.
14229 * The following API modules will now return entries where fields have been
14230   revision-deleted: list=deletedrevs, list=filearchive, list=recentchanges,
14231   list=watchlist. "hidden" indicators will be included, in the same style as is
14232   already done for prop=revisions.
14233 * The following API modules will now return the content of revision-deleted
14234   fields, in addition to the "hidden" indicators, if the querying user has the
14235   necessary rights: list=logevents, list=usercontribs, prop=imageinfo,
14236   prop=revisions.
14237 * The above modules, where applicable, will now return entries filtered by
14238   revision-deleted fields if the querying user has the necessary rights. For
14239   example, prop=revisions with rvuser or rvexcludeuser will no longer skip
14240   revisions where the user was revision-deleted if the current user has the
14241   deletedhistory right.
14242 * The 'hideuser' right, used when blocking, is no longer necessary or
14243   sufficient for seeing contributions with revision-deleted in
14244   list=usercontribs.
14245 * list=watchlist now uses the querying user's rights rather than the wlowner's
14246   rights when checking whether wlprop=patrol is allowed.
14247 * (bug 32151) ApiWatch now has pageset capabilities (titles/pageids/generators).
14248   Title parameter is now deprecated.
14249 * (bug 23005) Added action=revisiondelete.
14250 * Added siprop=restrictions to API action=query&meta=siteinfo for querying
14251   possible page restriction (protection) levels and types.
14252 * Added prop 'limitreportdata' and 'limitreporthtml' to action=parse.
14253 * (bug 58627) Provide language names on action=parse&prop=langlinks.
14254 * Deprecated llurl= in favour of llprop=url for action=query&prop=langlinks.
14255 * Added llprop=langname and llprop=autonym for action=query&prop=langlinks.
14256 * prop=redirects is added, to return redirects to the pages in the query.
14257 * list=allredirects is added, to list all redirects pointing to a namespace.
14258 * (bug 42026) Added ucshow={new,!new,top,!top} to list=usercontribs.
14259   Also added newonly to action=feedcontributions.
14260 * (bug 42026) Deprecated uctoponly in favor of ucshow=top.
14261 * list=search no longer has a "srredirects" parameter. Redirects are now
14262   included in all searches.
14263 * Added list=prefixsearch that works like action=opensearch but can be used as
14264   a generator.
14265 * (bug 24782) Various modules will now use unique continuation parameters.
14266 * (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds.
14268 === Languages updated in 1.23 ===
14270 MediaWiki supports over 350 languages. Many localisations are updated
14271 regularly. Below only new and removed languages are listed, as well as
14272 changes to languages because of Bugzilla reports.
14274 * Support was added for Algerian Spoken Arabic (arq).
14275 * Support was added for Riograndenser Hunsrückisch (hrx).
14276 * Support was added for Northern Luri (lrc).
14278 === Other changes in 1.23 ===
14279 * The rc_type field in the recentchanges table has been superseded by a new
14280   rc_source field.  The rc_source field is a string representation of the
14281   change type where rc_type was a numeric constant.  This field is not yet
14282   queried but will be in a future release.
14283 ** Utilize update.php to create and populate this new field.  On larger wikis
14284    which do not wish to update recentchanges table in one large update please
14285    review the SQL and comments in maintenance/archives/patch-rc_source.sql.
14286 ** The rc_type field of recentchanges will be deprecated in a future release.
14287 * The global variable $wgArticle has been removed after a lengthy deprecation.
14288 * The global functions addButton and insertTags (for mw.toolbar.addButton and
14289   mw.toolbar.insertTags) now emits mw.log.warn when accessed.
14290 * The ExpandTemplates extension has been moved into MediaWiki core.
14291 * (bug 52812) Removed "Disable search suggestions" from Preference.
14292 * (bug 52809) Removed "Disable browser page caching" from Preference.
14293 * Three new modules intended for use by custom skins were added:
14294   'mediawiki.skinning.elements', 'mediawiki.skinning.content', and
14295   'mediawiki.skinning.interface', representing three levels of standard
14296   MediaWiki styling. Previously skin creators wishing to use them had to refer
14297   to the file names of appropriate files directly, which is now discouraged.
14298 * The modules 'skins.vector' and 'skins.monobook' have been renamed to
14299   'skins.vector.styles' and 'skins.monobook.styles', respectively,
14300   and their definition was changed not to include the common*.css files;
14301   the two skins now load the 'mediawiki.skinning.interface' module instead.
14302 * A page_links_updated field has been added to the page table.
14303 * SpecialPage::getTitle has been deprecated in favor of
14304   SpecialPage::getPageTitle.
14305 * BREAKING CHANGE: Two potentially backwards-incompatible changes have been made
14306   to the 'SpecialWatchlistQuery' hook's last parameter (array $values) to make
14307   the hook more consistent with the 'SpecialRecentChangesQuery' one:
14308 ** Several array keys have been renamed: hideMinor → hideminor,
14309    hideBots → hidebots, hideAnons → hideanons, hideLiu → hideliu,
14310    hidePatrolled → hidepatrolled, hideOwn → hidemyself.
14311 ** The parameter value is now a FormOptions object, not a plain array (array
14312    access operators should continue to work, as it implements the ArrayAccess
14313    interface).
14314 * Option to mark hooks as deprecated has been added.
14315 * (bug 52811) Preference "Enable section editing via [edit] links" was removed.
14316 * (bug 52813) Preference "Show table of contents (for pages with more than
14317   3 headings)" was removed.
14318 * (bug 52810) Preference "Justify paragraphs" was removed.
14319 * OutputPage::showErrorPage raises a notice if arguments are incoherent.
14320 * Thumbnails that keep failing to render in thumb.php will be rate-limited
14321   against further render attempts for 1 hour. $wgAttemptFailureEpoch can be
14322   altered to reset all rate-limited thumbnails at once.
14323 * (bug 56572) Builds of the OOjs and OOjs UI libraries are now available.
14324 * mw.loader.go and mw.loader.version have been removed.
14325 * (bug 52815) Preference "Enable simplified search bar (Vector skin only)"
14326   was removed.
14327 * A user_password_expires column has been added to the user table. The User
14328   object expects this column to exist. Use update.php to create this new field.
14329 * The jquery.delayedBind ResourceLoader module was deprecated in favor of the
14330   jquery.throttle-debounce module. It will be removed in MediaWiki 1.24.
14331 * mw.user.bucket has been deprecated.
14332 * On Special:PrefixIndex, a table#mw-prefixindex-list-table was changed to
14333   table.mw-prefixindex-list-table to avoid duplicate ids when the special page
14334   is transcluded.
14335 * (bug 62198) window.$j has been deprecated.
14336 * Preference "Disable link title conversion" was removed.
14337 * SpecialRecentChanges no longer includes any functionality for generating feeds
14338   - it has been factored out to ApiFeedRecentChanges. Old URLs redirect to new
14339   ones.
14340 * RecentChange::mExtra['lang'] is no longer set and should no longer be used.
14341   Extensions should read from other configuration variables, including
14342   $wgLocalInterwikis, to identify the current wiki.
14343 * Sections in the parser test framework have been renamed and the old
14344   section names are deprecated.  Please use "!!wikitext" and "!!html"
14345   (or "!!html/php") instead of "!!input" and "!!result".  This allows
14346   us to extend parser tests to accommodate additional input/output
14347   pairs, such as "!!html/parsoid" (for the output of the Parsoid
14348   parser, where it differs from the PHP parser).
14349 * Special:Search no longer has an "include redirects" option on the advanced
14350   tab. Redirects are now included in all searches.
14351 * mediawiki.api.category's getCategories() 'async' parameter was deprecated.
14352 * The locations of resources have been split between upstream libraries, now in
14353   resources/lib/, local libaries in resources/src/, and local forks of upstream
14354   libraries, also in resources/src/.
14355 * BREAKING CHANGE: The automatically-generated function closure with which
14356   ResourceLoader wraps all modules' JavaScript code now binds the identifier
14357   names 'jQuery' and '$' to the jQuery object of the version of jQuery that is
14358   bundled with MediaWiki. If you bind these names to other objects in global
14359   scope (like Zepto.js or document.querySelectorAll, for example) you will need
14360   to use different names to or re-bind them at the top of each
14361   ResourceLoader-loaded module.
14362 * (bug 52342) Preference "Remember my login" was removed.
14363 * The skin autodiscovery mechanism has been deprecated and will be removed in
14364   MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
14365   for migration guide for creators and users of custom skins that relied on it.
14367 ==== Removed classes ====
14368 * FakeMemCachedClient (deprecated in 1.18)
14369 * RdfMetaData (unused)
14370 * TitleDependency (unused)
14371 * TitleListDependency (unused)
14372 * WikiError (deprecated in 1.17)
14373 * WikiXmlError (deprecated in 1.17)
14374 * WikiErrorMsg (deprecated in 1.17)
14376 ==== Renamed classes ====
14377 * CdbReader_DBA to CdbReaderDBA
14378 * CdbReader_PHP to CdbReaderPHP
14379 * CdbWriter_DBA to CdbWriterDBA
14380 * CdbWriter_PHP to CdbWriterPHP
14381 * DiffOp_Add to DiffOpAdd
14382 * DiffOp_Change to DiffOpChange
14383 * DiffOp_Copy to DiffOpCopy
14384 * DiffOp_Delete to DiffOpDelete
14385 * HWLDF_WordAccumulator to HWLDFWordAccumulator
14386 * LBFactory_Fake to LBFactoryFake
14387 * LBFactory_Multi to LBFactoryMulti
14388 * LBFactory_Simple to LBFactorySimple
14389 * LBFactory_Single to LBFactorySingle
14390 * LCStore_Accel to LCStoreAccel
14391 * LCStore_CDB to LCStoreCDB
14392 * LCStore_DB to LCStoreDB
14393 * LCStore_Null to LCStoreNull
14394 * LoadBalancer_Single to LoadBalancerSingle
14395 * LoadMonitor_MySQL to LoadMonitorMySQL
14396 * LoadMonitor_Null to LoadMonitorNull
14397 * LocalisationCache_BulkLoad to LocalisationCacheBulkLoad
14398 * csvStatsOutput to CsvStatsOutput
14399 * extensionLanguages to ExtensionLanguages
14400 * languages to Languages
14401 * statsOutput to StatsOutput
14402 * textStatsOutput to TextStatsOutput
14403 * wikiStatsOutput to WikiStatsOutput
14405 ==== Removed methods ====
14406 * ApiBase::getValidNamespaces() (deprecated in 1.17)
14407 * ApiMain::setCachePrivate() (deprecated in 1.17)
14408 * ApiMain::setVaryCookie (deprecated in 1.17)
14409 * Article::doRedirect() (deprecated in 1.18)
14410 * Article::doUnwatch() (deprecated in 1.18)
14411 * Article::doWatch() (deprecated in 1.18)
14412 * Article::forUpdate() (deprecated in 1.18)
14413 * Article::markpatrolled() (deprecated in 1.18)
14414 * Article::unwatch() (deprecated in 1.18)
14415 * Article::watch() (deprecated in 1.18)
14416 * Block::clear() (deprecated in 1.18)
14417 * Block::decodeExpiry() (deprecated in 1.18)
14418 * Block::encodeExpiry() (deprecated in 1.18)
14419 * Block::forUpdate() (deprecated in 1.18)
14420 * Block::infinity() (deprecated in 1.18)
14421 * Block::load() (deprecated in 1.18)
14422 * Block::newFromDB() (deprecated in 1.18)
14423 * Block::normaliseRange() (deprecated in 1.18)
14424 * Block::parseExpiryInput() (deprecated in 1.18)
14425 * CategoryViewer::addSubcategory() (deprecated in 1.17)
14426 * EditPage::spamPage() (deprecated since 1.17)
14427 * Exif::getFormattedData() (deprecated in 1.18)
14428 * Exif::makeFormattedData() (deprecated in 1.18)
14429 * in_string (deprecated in 1.21)
14430 * Language::convertLinkToAllVariants() (deprecated in 1.17)
14431 * LanguageConverter::convertLinkToAllVariants() (deprecated in 1.17)
14432 * Linker::makeBrokenLink() (deprecated in 1.16)
14433 * Linker::makeBrokenLinkObj() (deprecated in 1.16)
14434 * Linker::makeColouredLinkObj() (deprecated in 1.16)
14435 * Linker::makeSizeLinkObj() (deprecated in 1.17)
14436 * MediaWiki::articleFromTitle() (deprecated in 1.18)
14437 * ParserOptions::getkin() (deprecated 1.18)
14438 * ProfilerSimple::getCpuTime (deprecated in 1.20)
14439 * Revision::revText() (deprecated in 1.17)
14440 * SkinTemplate::jstext() (deprecated in 1.21)
14441 * SpecialPage::__call() (deprecated in 1.17)
14442 * SpecialPage::executePath() (deprecated in 1.18)
14443 * SpecialPage::exists() (deprecated in 1.18)
14444 * SpecialPage::file() (deprecated in 1.18)
14445 * SpecialPage::func() (deprecated in 1.18)
14446 * SpecialPage::getGroup() (deprecated in 1.18)
14447 * SpecialPage::getPage() (deprecated in 1.18)
14448 * SpecialPage::getPageByAlias() (deprecated in 1.18)
14449 * SpecialPage::getLocalNameFor() (deprecated in 1.18)
14450 * SpecialPage::getRegularPages() (deprecated in 1.18)
14451 * SpecialPage::getRestrictedPages() (deprecated in 1.18)
14452 * SpecialPage::getTitleForAlias() (deprecated in 1.18)
14453 * SpecialPage::getUsablePages() (deprecated in 1.18)
14454 * SpecialPage::includable() (deprecated in 1.18)
14455 * SpecialPage::init()
14456 * SpecialPage::initAliasList() (deprecated in 1.18)
14457 * SpecialPage::initList() (deprecated in 1.18)
14458 * SpecialPage::name() (deprecated in 1.18)
14459 * SpecialPage::removePage() (deprecated in 1.18)
14460 * SpecialPage::resolveAlias() (deprecated in 1.18)
14461 * SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18)
14462 * SpecialPage::restriction() (deprecated in 1.18)
14463 * SpecialPage::setGroup() (deprecated in 1.18)
14464 * SpecialRecentChanges::feedSetup()
14465 * SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
14466 * User::getPageRenderingHash() (deprecated in 1.17)
14467 * WebRequest::getFileSize() (deprecated in 1.17)
14468 * WebRequest::isPathInfoBad() (deprecated in 1.17)
14469 * wfGenerateToken (deprecated in 1.20)
14470 * wfStreamFile (deprecated in 1.19)
14471 * wfUILang (deprecated in 1.18)
14472 * WikiPage::createUpdates() (deprecated in 1.18)
14473 * WikiPage::quickEdit() (deprecated in 1.18)
14474 * WikiPage::useParserCache() (deprecated in 1.18)
14475 * WikiPage::viewUpdates() (deprecated in 1.18)
14477 ==== Removed globals ====
14478 * $wgBetterDirectionality (deprecated in 1.18)
14480 = MediaWiki 1.22 =
14482 == MediaWiki 1.22.15 ==
14484 This is a security and maintenance release of the MediaWiki 1.22 branch.
14486 === Changes since 1.22.14 ===
14488 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
14489   could lead to xss. Permission to edit MediaWiki namespace is required to
14490   exploit this.
14491 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
14492   $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
14493   part of its name.
14494 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
14496 == MediaWiki 1.22.14 ==
14498 This is a security and maintenance release of the MediaWiki 1.22 branch.
14500 === Changes since 1.22.13 ===
14502 * (bugs 66776, 71478) SECURITY:  User PleaseStand reported a way to inject code
14503   into API clients that used format=php to process pages that underwent flash
14504   policy mangling. This was fixed along with improving how the mangling was done
14505   for format=json, and allowing sites to disable the mangling using
14506   $wgMangleFlashPolicy.
14507 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
14508   the content model for a page could allow an unprivileged attacker to edit
14509   another user's common.js under certain circumstances. The user right
14510   "editcontentmodel" was added, and is needed to change a revision's content
14511   model.
14512 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
14513   DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
14514   public RFC about the desired functionality. This issue was reported by user
14515   Bawolff.
14516 * (bug 71621) Make allowing site-wide styles on restricted special pages a
14517   config option.
14518 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
14519   might be a flash policy directive configurable.
14521 == MediaWiki 1.22.13 ==
14522 This is a maintenance release of the MediaWiki 1.22 branch.
14524 === Changes since 1.22.12 ===
14525 * (bug 67440) Allow classes to be registered properly from installer
14527 == MediaWiki 1.22.12 ==
14528 This is a security release of the MediaWiki 1.22 branch.
14530 === Changes since 1.22.11 ===
14531 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
14532   allowance.
14534 == MediaWiki 1.22.11 ==
14535 This is a security release of the MediaWiki 1.22 branch.
14537 === Changes since 1.22.10 ===
14538 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
14539   elements; normalize style elements and attributes before filtering; add checks
14540   for attributes that contain css; add unit tests for html5sec and reported
14541   bugs.
14543 == MediaWiki 1.22.10 ==
14544 This is a maintenance release of the MediaWiki 1.22 branch.
14546 === Changes since 1.22.9 ===
14547 * (bug 64970) Fix support for blobs on DatabaseOracle::update
14548 * (bug 60719) In MediaWiki 1.22, the job queue execution on each page request
14549   was changed (Gerrit change 59797) so, instead of executing the job inside the
14550   same PHP process that's rendering the page, a new PHP cli command is spawned
14551   to execute runJobs.php in the background. It will only work if $wgPhpCli is
14552   set to an actual path or safe mode is off, otherwise, the old method will be
14553   used. See
14554   https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_in_MediaWiki_1.22
14555   for more information. This change was in earlier releases of 1.22 but was not
14556   noted here until now.
14558 == MediaWiki 1.22.9 ==
14559 This is a security and maintenance release of the MediaWiki 1.22 branch.
14561 === Changes since 1.22.8 ===
14562 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
14563 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
14564   for loading a new page in Javascript,instead of relying on the URL in the
14565   link that has been clicked.
14566 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
14567   ParserOutput.
14568 * (bug 59147) The img_metadata field was not being decoded from bytea into text.
14570 == MediaWiki 1.22.8 ==
14571 This is a security and maintenance release of the MediaWiki 1.22 branch.
14573 === Changes since 1.22.7 ===
14574 * (bug 65839) SECURITY: Prevent external resources in SVG files.
14575 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
14576   only extracting the tail of the file partially or not at all.
14578 == MediaWiki 1.22.7 ==
14579 This is a security and maintenance release of the MediaWiki 1.22 branch.
14581 === Changes since 1.22.6 ===
14582 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
14583   Special:PasswordReset.
14584 * (bug 36356) Add space between two feed links.
14585 * (bug 63269) Email notifications were not correctly handling the
14586   MediaWiki:Helppage message being set to a full URL. This is a regression from
14587   the 1.22.5 point release, which made the default value for it a URL. If you
14588   customized MediaWiki:Enotif body (the text of email notifications), you'll
14589   need to edit it locally to include the URL via the new variable $HELPPAGE
14590   instead of the parser functions fullurl and canonicalurl; otherwise you don't
14591   have to do anything.
14592 * Add missing uploadstash.us_props for PostgreSQL.
14593 * (bug 56047) Fixed stream wrapper in PhpHttpRequest.
14595 == MediaWiki 1.22.6 ==
14596 This is a security release of the MediaWiki 1.22 branch.
14598 === Changes since 1.22.5 ===
14599 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
14601 == MediaWiki 1.22.5 ==
14602 This is a security and maintenance release of the MediaWiki 1.22 branch.
14604 === Changes since 1.22.4 ===
14605 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
14606 * (bug 62467) Set a title for the context during import on the cli.
14607 * Fix custom local MediaWiki:Helppage values.
14608 * mediawiki.js: Fix documentation breakage.
14609 * (bug 58153) Make MySQLi work with non standard port.
14610 * (bug 53887) Reintroduced a link to help pages in the default sidebar, that any
14611   sysop can customize by editing MediaWiki:Sidebar locally. The link now points
14612   to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done
14613   on your end, but remember to adjust MediaWiki:Sidebar for the needs of your
14614   wikis. Everyone can help with the shared documentation by translating:
14615   https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages .
14616 * (bug 53888) Corrected a regression in 1.22 which introduced red links on the
14617   login page. If you previously installed 1.22.x and have created a local page
14618   to make the red link blue, write its title as in MediaWiki:helplogin-url if
14619   you didn't already. Otherwise, you don't need to do anything, but you can
14620   translate the help page at <https://www.mediawiki.org/wiki/Help:Logging_in>.
14622 == MediaWiki 1.22.4 ==
14623 This is a maintenance release of the MediaWiki 1.22 branch.
14625 === Changes since 1.22.3 ===
14626 * Use the correct branch of the extensions' git repositories.
14628 == MediaWiki 1.22.3 ==
14629 This is a security and bugfix release of the MediaWiki 1.22 branch.
14631 === Changes since 1.22.2 ===
14632 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
14633   namespaces. Also disallow iframe elements. * User will get an error including
14634   the namespace name if they use a non- whitelisted namespace.
14635 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
14636   our token comparison would be vulnerable to timing attacks. This will take
14637   constant time.
14638 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
14639 * (bug 53710) Add sequence support for upsert in DatabaseOracle in the same way
14640   as in selectInsert
14641 * (bug 60231, bug 58719) Various fixes to job running code in Wiki.php: Make it
14642   async on Windows. Fixed possible "invalid filename" errors on Windows.
14643   Redirect output to dev/null to avoid hanging PHP.
14644 * (bug 60083) Correct sequence name for fresh Postgres installation. Spotted by
14645   gebhkla
14646 * (bug 60531) Avoid variable naming conflicts in
14647   DatabasePostgres::selectSQLText. Spotted by gebhkla
14648 * (bug 60094) Fix rebuildall.php fatal error with PostgreSQL.
14649 * (bug 43817) Add error handling if descriptionmsg isn't defined for extension.
14650 * (bug 60543) Special:PrefixIndex omits stripprefix=1 for "Next page" link.
14652 == MediaWiki 1.22.2 ==
14653 This is a security and bugfix release of the MediaWiki 1.22 branch.
14655 === Changes since 1.22.1 ===
14656 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
14657   formats
14658 * (bug 58253) Check for very old PCRE versions in installer and updater
14659 * (bug 60054) Make WikiPage::$mPreparedEdit public
14661 == MediaWiki 1.22.1 ==
14662 This is a security and maintenance release of the MediaWiki 1.22 branch.
14664 === Changes since 1.22.0 ===
14665 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
14666 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
14667 * (bug 58472) SECURITY: Disallow -o-link in styles
14668 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
14669 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
14670 * (bug 58178) Restore compatibility with curl < 7.16.2.
14671 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format which
14672   is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as the
14673   JavaScript evaluator were updated to support the new format. Plural rules for
14674   some languages have changed, most notably Russian. Affected software messages
14675   have been updated and marked for review at translatewiki.net. This change is
14676   backported from the development branch of MediaWiki 1.23.
14677 * (bug 58434) The broken installer for database backend Oracle was fixed.
14678 * (bug 58167) The web installer no longer throws an exception when PHP is
14679   compiled without support for MySQL yet with support for another DBMS.
14680 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
14681   appear blank or with missing text.
14682 * (bug 47055) Changed FOR UPDATE handling in Postgresql
14683 * (bug 57026) Avoid extra parsing in prepareContentForEdit()
14685 == MediaWiki 1.22.0 ==
14687 === Configuration changes in 1.22 ===
14688 * $wgRedirectScript was removed. It was unused.
14689 * Removed $wgLocalMessageCacheSerialized, it is now always true.
14690 * $wgVectorUseIconWatch is now enabled by default.
14691 * $wgCascadingRestrictionLevels was added.
14692 * ftps, ssh, sftp, xmpp, sip, sips, tel, sms, bitcoin, magnet, urn, and geo
14693   have been whitelisted inside of $wgUrlProtocols.
14694 * $wgDocType and $wgDTD have been removed and are no longer used for the
14695   DOCTYPE.
14696 * $wgHtml5 is no longer used by core. Setting it to false will no longer disable
14697   HTML5. It is still set to true for extension compatibility but doing so in
14698   extensions is deprecated.
14699 * $wgXhtmlDefaultNamespace is no longer used by core. Setting it will no longer
14700   change the xmlns used by MediaWiki. Reliance on this variable by extensions
14701   is deprecated.
14702 * $wgHandheldStyle was removed.
14703 * $wgHandheldForIPhone was removed.
14704 * $wgJsMimeType is no longer used by core. Most usage has been removed since
14705   HTML output is now exclusively HTML5.
14706 * $wgDBOracleDRCP added. True enables persistent connection with DRCP on Oracle.
14707 * $wgLogAutopatrol added to allow disabling logging of autopatrol edits in the
14708   logging table.
14709   Default for $wgLogAutopatrol is true.
14710 * The 'edit' right no longer allows for editing a user's own CSS and JS.
14711 * New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist',
14712   'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and
14713   'editmyoptions' restrict actions that were formerly allowed by default. They
14714   have been added to the default for $wgGroupPermissions['*'].
14715 * The 'editprotected' right no longer allows bypassing of all page protection
14716   restrictions. Any group using it for this purpose will now need to have all
14717   the individual rights listed in $wgRestrictionTypes for the same effect.
14718 * The 'protect' and 'autoconfirmed' rights are no longer used for the default
14719   page protection levels. The rights 'editprotected' and 'editsemiprotected'
14720   are now used for this purpose instead.
14721 * (bug 40866) wgOldChangeTagsIndex removed.
14722 * $wgNoFollowDomainExceptions now only matches entire domains. For example,
14723   an entry for 'bar.com' will still match 'foo.bar.com' but not 'foobar.com'.
14724 * $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout added to change the timeout
14725   times for fetching the file during upload by url.
14726 * New key added to $wgGalleryOptions - $wgGalleryOptions['mode'] to set
14727   default gallery mode.
14728 * New hook 'GalleryGetModes' to allow extensions to make new gallery modes.
14729 * The checkbox for staying in HTTPS displayed on the login form when
14730   $wgSecureLogin is enabled has been removed. Instead, whether the user stays in
14731   HTTPS will be determined
14732   based on the user's preferences, and whether they came from HTTPS or not.
14733 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort,
14734   and $wgRC2UDPPrefix configuration options have been deprecated in favor of a
14735   $wgRCFeeds configuration array. $wgRCFeeds makes both the format and
14736   destination of recent change notifications customizable, and allows for
14737   multiple destinations to be specified.
14738 * (bug 53862) portal-url, currentevents-url and helppage have been removed from
14739   the default Sidebar.
14740 * The 'vector-simplesearch' preference is now enabled by default. Previously
14741   it was only enabled if the Vector extension was installed.
14742 * The precise format of metric datagrams produced by the UDP profiler and stats
14743   counter may now be specified as $wgUDPProfilerFormatString and
14744   $wgStatsFormatString, respectively.
14745 * (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
14746   $wgProxyMemcExpiry have been removed, along with the open proxy scanner
14747   script they were added for.
14748 * Default value of $wgMaxShellMemory has been tripled (it's now 300 MB).
14750 === New features in 1.22 ===
14751 * You can now install extensions using Composer.
14752   See https://www.mediawiki.org/wiki/Composer
14753 * (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and
14754   attributes.
14755 * (bug 33454) Language::sprintfDate now has a timezone parameter, and supports
14756   the "eIOPTZ" formatting characters.
14757 * EditWarning: A warning is shown when an editor leaves the edit form without
14758   saving (enabled by default, users can opt-out via the 'useeditwarning'
14759   preference). This feature was moved from the Vector extension, and is now part
14760   of core for all skins. Take care when upgrading that you don't use an older
14761   version of the Vector extension as this feature may conflict.
14762 * New 'mediawiki.ui' CSS module providing mw-ui-* styles for buttons and a
14763   compact vertical form layout.
14764 * HTMLForm supports a new display format 'vform' which applies this compact
14765   vertical
14766   layout and button styling. Special:PasswordReset uses this format.
14767 * New versions of login (Special:UserLogin) and create account
14768   (Special:UserLogin/signup) forms using the "vform" compact vertical form
14769   layout. These forms use new messages that assume a "Help logging in" link, see
14770   https://www.mediawiki.org/wiki/Manual:Page_customizations;
14771   https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists
14772   the message key changes.
14773 * (bug 23343) Implemented ability to apply IP blocks to the contents of
14774   X-Forwarded-For headers by adding a new configuration variable
14775   $wgApplyIpBlocksToXff (disabled by default).
14776 * The new hook 'APIGetPossibleErrors' to modify the list of possible errors was
14777   added.
14778 * (bug 25592) LogEventsList::showLogExtract() will now ignore various
14779   Pager-related WebRequest parameters by default, as this is overwhelmingly
14780   likely to be what was intended by users of the method. If any caller wishes
14781   to use these parameters, the new param 'useRequestParams' may be set to true.
14782 * mw.util.addPortletLink: Tooltip is no longer required to be plain (without
14783   an accesskey in it already). As such it now rountrips. Creating a link with a
14784   message as tooltip, grabbing the title attribute and using it to create
14785   another portlet will work as expected.
14786 * (bug 6747) {{ROOTPAGENAME}} introduced, contains the name of the topmost
14787   page without namespace.
14788 * BREAKING CHANGE: (bug 41729) Display editsection links next to headings. Also
14789   change their class name from .editsection to .mw-editsection and place them at
14790   the end of the heading element instead of the beginning. Client-side code and
14791   screen-scrapers will have to be adjusted to handle both cases (old HTML will
14792   still be visible on cached page renders until they are purged); extensions
14793   using the DoEditSectionLink or EditSectionLink hooks might need adjustments as
14794   well.
14795 * (bug 45535) introduced the new 'LanguageLinks' hook for manipulating the
14796   language links associated with a page before display.
14797 * Chosen (http://harvesthq.github.io/chosen/) was added as module
14798   'jquery.chosen'
14799 * HTMLForm will turn multiselect checkboxes into a Chosen interface when setting
14800   cssclass 'mw-chosen'
14801 * rebuildLocalisationCache learned --lang option. Let you rebuild l10n caches
14802   of the specified languages instead of all of them.
14803 * New GetNewMessagesAlert hook allowing extensions to disable or modify the new
14804   messages alert
14805 * New wgUserNewMsgRevisionId JS global for logged in users. This will be null
14806   if the user has no new talk page messages. Otherwise it will be set to the
14807   revision ID of the oldest new talk page message. This will allow gadgets and
14808   extensions to create their own new message alerts on the client side.
14809 * mediawiki.log: Added log.warn wrapper (uses console.warn and console.trace).
14810 * mediawiki.log: Implemented log.deprecate. This method defines a property and
14811   uses ES5 getter/setter to emit a warning when they are used.
14812 * $wgCascadingRestrictionLevels was added, allowing one to specify restriction
14813   levels which can be cascading (previously 'sysop' was hard-coded as the only
14814   one).
14815 * XHTML5 support has been improved. If you set
14816   $wgMimeType = 'application/xhtml+xml' MediaWiki will try outputting markup
14817   according to XHTML5 rules.
14818 * Altered hook 'ProtectionForm::save', adding the reason page protection is
14819   changed as third parameter.
14820 * New hook 'TitleSquidURLs' for manipulating the list of URLs to be purged from
14821   HTTP caches when a page is changed.
14822 * Changed the patrolling system to always show the link for patrolling in case
14823   the current revision is patrollable. This also removed the usage of the rcid
14824   URI parameters.
14825 * Oracle DB backend now supports Database Resident Connection Pooling (DRCP).
14826   Can be enabled by setting $wgDBOracleDRCP=true.
14827   Requires Oracle DB 11gR1 or above, enabled DRCP inside the DB itself and a
14828   propper connect string.
14829   More about DRCP can be found at:
14830   https://oracle-base.com/articles/11g/database-resident-connection-pool-11gr1
14831 * Add a new parameter $patrolFooterShown to hook ArticleViewFooter so the hook
14832   handlers can take further action based on the status of the patrol footer
14833 * A new hook TitleQuickPermissions was added to allow overriding of quick
14834   permissions in the Title class.
14835 * LinkCache singleton can now be altered or cleared, letting one to specify
14836   another instance that does not rely on a database backend.
14837 * MediaWiki's PHPUnit tests can now use PHPUnit installed using composer --dev.
14838 * (bug 43689) The lists of templates used on the page and hidden categories it
14839   is a member of, shown below the edit form, are now collapsible (and collapsed
14840   by default).
14841 * Parser profiling data, formerly only available in the "NewPP limit report"
14842   HTML comment, is now also displayed at the bottom of page previews.
14843 * Added ParserLimitReportPrepare and ParserLimitReportFormat hooks, deprecated
14844   ParserLimitReport hook.
14845 * New user rights have been added to increase granularity in rights management
14846   for extensions such as OAuth:
14847 ** editmyusercss controls whether a user may edit their own CSS subpages.
14848 ** editmyuserjs controls whether a user may edit their own JS subpages.
14849 ** viewmywatchlist controls whether a user may view their watchlist.
14850 ** editmywatchlist controls whether a user may edit their watchlist.
14851 ** viewmyprivateinfo controls whether a user may access their private
14852    information (e.g. registered email address, real name).
14853 ** editmyprivateinfo controls whether a user may change their private
14854    information.
14855 ** editmyoptions controls whether a user may change their preferences.
14856 * Add new hook AbortTalkPageEmailNotification, this will be used to determine
14857   whether to send the regular talk page email notification
14858 * Action classes registered in $wgActions are now also supported in the form of
14859   a callback (which returns an instance of Action) instead of providing the name
14860   of a subclass of Action.
14861 * (bug 46513) Vector: Add the collapsibleTabs script from the Vector extension.
14862 * Added $wgRecentChangesFlags for defining new flags for RecentChanges and
14863   watchlists.
14864 * (bug 40518) mw.toolbar: Implemented mw.toolbar.addButtons for adding multiple
14865  button objects in one call.
14866 * Rights used for the default protection levels ('sysop' and 'autoconfirmed')
14867   are now used just for that purpose, instead of overloading other rights. This
14868   allows easy granting of the ability to edit sysop-protected pages without
14869   also granting the ability to protect and unprotect.
14870 * (bug 48256) Make brackets in section edit links accessible to CSS.
14871   They are now wrapped in <span class="mw-editsection-bracket" />.
14872 * (bug 8480) Allow handler specific parameters in galleries (like page number)
14873 * jquery.client: Add detection for Opera 15 and Internet Explorer 11.
14874 * Change tags (used by the AbuseFilter extension) are now shown on diff pages.
14875 * Change tag lists (shown on recent changes, watchlist, user contributions,
14876   history pages, diff pages) now include a link to Special:Tags to distinguish
14877   them from edit summaries.
14878 * Added a new method and hook, User::isEveryoneAllowed() and
14879   UserIsEveryoneAllowed, for use in situations where a "does everyone have this
14880   right?" check is used to avoid more expensive checks.
14881 * (bug 14431) Display "(No difference)" instead of an empty diff (when comparing
14882   revisions in the history or when previewing changes while editing).
14883 * New hook 'IsUploadAllowedFromUrl' is added which can be used to intercept
14884   uploads by URL, useful for blacklisting specific URLs
14885 * (bug 21912) Watchlist token implementation has been refactored and
14886   Special:ResetTokens was added to allow users to reset their tokens
14887   instead of presenting them in Preferences.
14888 * Special:PrefixIndex now lets you strip the searched prefix from the displayed
14889   titles. Given a list of articles named Bug1, Bug2, you can now transclude the
14890   list of bug numbers using: {{Special:PrefixIndex/Bug|stripprefix=1}}.
14891   The special page form received a new checkbox matching that option.
14892 * (bug 23580) Implement javascript callback interface "mw.hook".
14893 * (bug 30713) New mw.hook "wikipage.content".
14894 * (bug 40430) jquery.placeholder gets a new parameter to set the attribute value
14895   to be used.
14896 * $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast.
14897 * $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge
14898   too. Can be used whenever several multicast group could be interested by a
14899   specific purge.
14900 * (bug 25931) Add Special:RandomInCategory.
14901 * mediawiki.util: addPortletLink now supports passing a jQuery object as
14902   nextnode.
14903 * <wbr> can now be used inside WikiText.
14904 * WebResponse::setcookie is much more featureful. Callers using PHP's
14905   setcookie() or setrawcookie() should begin using this instead.
14906 * New hook WebResponseSetCookie, called from WebResponse::setcookie().
14907 * New hook ResetSessionID, called when the session id is reset.
14908 * Add a mode parameter to <gallery> tag with potential options of "traditional",
14909   "nolines", "packed", "packed-overlay", or "packed-hover".
14910 * (bug 47399) A success message is now displayed after changing the password.
14911 * Make thumb.php give HTTP redirects for file redirects
14912 * (bug 30607) Special:ListFiles can now show old versions of files. Additionally
14913   Special:AllMyUploads was introduced so the user can get a list of all things
14914   they have ever uploaded, even if it was subsequently overridden.
14915 * Introduced Special:MyFiles and Special:AllMyFiles as an alias for
14916   Special:MyUploads and Special:AllMyUploads respectively.
14917 * IPv6 addresses in X-Forwarded-For headers are now normalised before checking
14918   against allowed proxy lists.
14919 * Add deferrable update support for callback/closure.
14920 * Add TitleMove hook before page renames.
14921 * Revision deletion backend code is moved out of SpecialRevisiondelete
14922 * Added {{REVISIONSIZE}} variable to get the current size of a revision.
14923 * Add support for the LESS stylesheet language to ResourceLoader. LESS is a
14924   stylesheet language that compiles into CSS. ResourceLoader file modules may
14925   include LESS style files; ResourceLoader will compile these files into CSS
14926   before sending them to the client.
14927 ** The $wgResourceLoaderLESSVars configuration variable is an associative array
14928    mapping variable names to string CSS values. These variables are considered
14929    declared for all LESS files. Additional variables may be registered by
14930    adding keys to the array.
14931 ** $wgResourceLoaderLESSFunctions is an associative array of custom LESS
14932    function names to PHP callables. See
14933    <http://leafo.net/lessphp/docs/#custom_functions>
14934    for more details regarding custom functions.
14935 ** $wgResourceLoaderLESSImportPaths is an array of file system paths. Files
14936    referenced in LESS '@import' statements are looked up here first.
14937 * ResourceLoader supports hashes as module cache invalidation trigger (instead
14938   of or in addition to timestamps).
14939 * Added $wgExtensionEntryPointListFiles for use in mergeMessageFileList.php.
14940 * Added a hook, APIQuerySiteInfoStatisticsInfo, to allow extensions to modify
14941   the output of the API query meta=siteinfo&siprop=statistics
14942 * Primary keys have been added to both the archive table and the externallinks
14943   tables.
14944 * Added $wgEnableParserLimitReporting to control whether the NewPP limit report
14945   is output in a HTML comment.
14946 * The 'UnwatchArticle' and 'WatchArticle' hooks now support a Status object
14947   instead of just a boolean return value to abort the hook.
14948 * Added a hook, SpecialWatchlistGetNonRevisionTypes, to allow extensions
14949   with custom recentchanges entries to hook into the Watchlist without
14950   clobbering each other.
14951 * A hidden, empty input field was added to the edit form, and any edit that
14952   fills it in will be rejected. This prevents against the simplest form of
14953   spambots. Previously in the "SimpleAntiSpam" extension by Ryan Schmidt.
14954 * populateRevisionLength.php maintenance script updated to also populate
14955   archive.ar_len field.
14956 * (bug 43571) DatabaseMySQLBase learned to list views, optionally filtered by a
14957   prefix. Also fixed PHPUnit test suite when using a MySQL backend containing
14958   views.
14960 === Bug fixes in 1.22 ===
14961 * (bug 47271) $wgContentHandlerUseDB should be set to false during the upgrade
14962 * Disable Special:PasswordReset when $wgEnableEmail is false. Previously one
14963   could still navigate to the page by entering the URL directly.
14964 * (bug 47138) Fixed a fatal error when a blocked user tries to automatically
14965   create an account on login due external authentication in some circumstances.
14966 * (bug 23393) HTML <hN> headings containing line breaks are now handled
14967   correctly.
14968 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
14969   is now non-significant and not preserved in the HTML output.
14970 * (bug 47218) Special:BlockList now handles correctly user names with spaces
14971   when passed as subpage.
14972 * Pager's properly validate which fields are allowed to be sorted on.
14973 * mw.util.tooltipAccessKeyRegexp: The regex now matches "option-" as well.
14974   Support for Mac "option" was added in 1.16, but the regex was never updated.
14975 * (bug 46768) Usernames of blocking users now display correctly, even if
14976   numeric.
14977 * (bug 39590) Self-transclusions now show the most up to date result always
14978   after save instead of being a revision behind.
14979 * A bias in wfRandomString() toward digits 1-7 has been corrected. Generated
14980   strings will now start with digits 0 and 8-f as often as they should.
14981 * (bug 45371) Removed Parser_LinkHooks and CoreLinkFunctions classes.
14982 * (bug 41545) Allow <kbd>, <samp>, and <var> to be nested like allowed in html.
14983 * PLURAL magic word no longer causes a PHP notice when no matching form exists.
14984 * (bug 36641) Patrol page links no longer show on non-existent revisions.
14985 * (bug 35810) Pages not linked from Special:RecentChanges or Special:NewPages
14986   are patrollable now.
14987 * (bug 30213) JavaScript for search suggestions is now disabled when the API
14988   is disabled, and AJAX patrolling and watching are now disabled when use of
14989   the write API is not allowed.
14990 * (bug 48294) API: Fix chunk upload async mode.
14991 * (bug 46749) Broken files tracking category removed from pages if an image
14992   with that name is uploaded.
14993 * (bug 14176) System messages that are empty were previously incorrectly treated
14994   as non-existent, causing a fallback to the default. This stopped users from
14995   overriding system messages to make them blank.
14996 * (bug 48319) action=parse no longer returns an error if passed none of 'oldid',
14997   'pageid', 'page', 'title', and 'text' (e.g. if only passed 'summary'). A
14998   warning will instead be issued if 'title' is non-default, unless no props are
14999   requested.
15000 * Special:Recentchangeslinked will now include upload log entries
15001 * (bug 41281) Fixed ugly output if file size could not be extracted for
15002   multi-page media.
15003 * (bug 50315) list=logevents API module will now output log entries by anonymous
15004   users.
15005 * (bug 38911) Handle headers with rowspan in jquery.tablesorter
15006 * (bug 658) Converted the table of contents on wiki pages from <table> to <div>
15007   and adjusted skin CSS accordingly. The CSS was carefully crafted to be
15008   backwards-compatible in all reasonable cases (uses of the __TOC__ magic word,
15009   the #toc CSS id and the .toc CSS class). However, particularly bad abuse of
15010   the id or the class can possibly break.
15011 * CSSJanus now supports rgb, hsl, rgba, and hsla color syntaxes.
15012 * Special:Listfiles can no longer be sorted by image name when filtering
15013   by user in miser mode.
15014 * (bug 49074) CSSJanus: Handle values of border-radius correctly.
15015 * Handle relative inclusions ({{../name}}) in main namespace with subpages
15016   enabled correctly (previously MediaWiki tried to include Template:Parent/name
15017   instead of just Parent/name).
15018 * Added $wgAPIUselessQueryPages to allow extensions to flag their query pages
15019   for non-inclusion in ApiQueryQueryPages.
15020 * (bug 50870) mediawiki.notification: Notification area should remain visible
15021   when scrolled down.
15022 * (bug 13438) Special:MIMESearch no longer an expensive special page.
15023 * (bug 48342) Fixed a fatal error when $wgValidateAllHtml is set to true and
15024   the function apache_request_headers() function is not available.
15025 * (bug 33399) LivePreview: Re-run wikipage content handlers
15026   (jquery.makeCollapsible, jquery.tablesorter) after preview content is loaded.
15027 * (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties
15028   are defined.
15029 * (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry.
15030 * (bug 52077) The APIEditBeforeSave hook is giving the content of the whole
15031   revision as second argument now, rather than just the current section.
15032 * (bug 49694) $wgSpamRegex is now also applied on the new section headline text
15033   adding a new topic on a page
15034 * (bug 41756) Improve treatment of multiple comments on a blank line.
15035 * (bug 51064) Purge upstream caches when deleting file assets.
15036 * (bug 39012) File types with a mime that we do not know the extension for
15037   can no longer be uploaded as an extension that we do know the mime type
15038   for.
15039 * (bug 51742) Add data-sort-value for better sorting of hitcounts Special:Tags
15040 * (bug 26811) On DB error pages, server hostnames are now hidden when both
15041   $wgShowHostnames and $wgShowSQLErrors are false.
15042 * (bug 6200) line breaks in <blockquote> are handled like they are in <div>
15043 * (bug 14931) Default character set now set to 'utf8' when a new MySQL
15044   database is created.
15045 * (bug 47191) Fixed "Column 'si_title' cannot be part of FULLTEXT index"
15046   MySQL error when installing using the binary character set option.
15047 * (bug 45288) Support mysqli PHP extension
15048 * (bug 55818) BREAKING CHANGE: Removed undocumented 'Debug' hook in wfDebug.
15049   This resolves an infinite loop when using $wgDebugFunctionEntry = true.
15050 * (bug 56707) Correct tooltip of "Next n results" on query special pages.
15051 * (bug 56770) mw.util.addPortletLink: Check length before access array index.
15053 === API changes in 1.22 ===
15054 * (bug 25553) The JSON output formatter now leaves forward slashes unescaped
15055   to improve human readability of URLs and similar strings. Also, a "utf8"
15056   option is now provided to use UTF-8 encoding instead of hex escape codes
15057   for most non-ASCII characters.
15058 * (bug 46626) xmldoublequote parameter was removed. Because of a bug, the
15059   parameter has had no effect since MediaWiki 1.16, and so its removal is
15060   unlikely to impact existing clients.
15061 * (bug 47216) action=query&meta=siteinfo&siprop=skins will now indicate which
15062   skin is the default and which are unusable (e.g. listed in $wgSkipSkins).
15063 * (bug 25325) Added support for wlshow filtering (bots/anon/minor/patrolled)
15064   to action=feedwatchlist.
15065 * WDDX formatted output will actually be formatted (and normal output will no
15066   longer be), and will no longer choke on booleans.
15067 * action=opensearch no longer silently ignores the format parameter.
15068 * action=opensearch now supports format=jsonfm.
15069 * list=usercontribs&ucprop=ids will now include the parent revision id.
15070 * BREAKING CHANGE: action=parse no longer returns all langlinks for the page
15071   with prop=langlinks by default. The new effectivelanglinks parameter will
15072   request that the LanguageLinks hook be called to determine the effective
15073   language links.
15074 * BREAKING CHANGE: list=allpages, list=langbacklinks, and prop=langlinks do not
15075   apply the new LanguageLinks hook, and thus only consider language links
15076   stored in the database.
15077 * (bug 47219) Allow specifying change type of Wikipedia feed items
15078 * prop=imageinfo now allows setting iiurlheight without setting iiurlwidth
15079 * prop=info now adds the content model and page language of the title.
15080 * New upload log entries will now contain information on the relevant
15081   image (sha1 and timestamp).
15082 * (bug 49239) action=parse now can parse in preview and section preview modes.
15083 * (bug 49259) action=patrol now accepts revision ids.
15084 * (bug 48129) list=blocks&bkip= now correctly handles IPv6 CIDR ranges and
15085   honors $wgBlockCIDRLimit. Note any clients passing invalid values to bkip
15086   will now receive an error, rather than the previous behavior listing all
15087   user blocks.
15088 * (bug 48201) action=parse&text=foo now assumes wikitext if no title is given,
15089   rather than using the content model of the page "API".
15090 * action=watch no longer silently ignores hook abort.
15091 * (bug 50785) action=purge with forcelinkupdate=1 no longer queues refreshLinks
15092   jobs in the job queue for link table updates of pages that use the given page
15093   as a template. Instead, forcerecursivelinkupdate=1 is introduced and should
15094   be used if that behaviour is desirable.
15095 * The 'debugLog' property (enabled by $wgDebugToolbar) no longer sets the log
15096   entry values through ApiResult::content but directly. This changes the JSON
15097   output from an array of objects with content in '*' to an array of strings
15098   with the content.
15099 * (bug 51342) prop=imageinfo iicontinue now contains the dbkey, not the text
15100   version of the title.
15101 * (bug 52538) action=edit will now use empty text instead of the contents
15102   of section 0 when passed prependtext or appendtext with section=new.
15103 * Support for the 'gettoken' parameter to action=block and action=unblock,
15104   deprecated since 1.20, has been removed.
15105 * (bug 49090) Token-getting functions will fail when using jsonp callbacks.
15106 * (bug 52699) action=upload returns normalized file name on warning
15107   "exists-normalized" instead of filename to be uploaded to.
15108 * (bug 53884) action=edit will now return an error when the specified section
15109   does not exist in the page.
15110 * Added meta=filerepoinfo API module for getting information about foreign
15111   file repositories, and related ForeignAPIRepo methods getInfo and getApiUrl.
15112 * The new query module list=allfileusages to enumerate file usages was added.
15114 === Languages updated in 1.22 ===
15116 MediaWiki supports over 350 languages. Many localisations are updated
15117 regularly. Below only new and removed languages are listed, as well as
15118 changes to languages because of Bugzilla reports.
15120 * Batak Toba (bbc-latn) added.
15121 * (bug 46751) Made Buryat (Russia) (буряад) (bxr) fallback to Russian.
15123 === Other changes in 1.22 ===
15124 * BREAKING CHANGE: Implementation of MediaWiki's JS and JSON value encoding
15125   has changed:
15126 ** MediaWiki no longer supports PHP installations in which the native JSON
15127    extension is missing or disabled.
15128 ** XmlJsCode objects can no longer be nested inside objects or arrays.
15129    (For Xml::encodeJsCall(), this individually applies to each argument.)
15130 ** The sets of characters escaped by default, along with the precise escape
15131    sequences used, have changed (except for the Xml::escapeJsString()
15132    function, which is now deprecated).
15133 * BREAKING CHANGE: The Services_JSON class has been removed. If necessary,
15134   be sure to upgrade affected extensions at the same time (e.g. Collection).
15135 * redirect.php was removed. It was unused.
15136 * ClickTracking integration was dropped from the mediaWiki.user.bucket
15137   JavaScript function. The 'tracked' option is now ignored.
15138 * BREAKING CHANGE: Legacy skins Simple, MySkin, Chick, Standard and Nostalgia
15139   were all removed. (Nostalgia was moved to an extension.) The SkinLegacy and
15140   LegacyTemplate classes that supported them were removed as well and are now a
15141   part of the Nostalgia extension.
15142 * Event namespace used by jquery.makeCollapsible has been changed from
15143   'mw-collapse' to 'mw-collapsible' for consistency with the module name.
15144 * BREAKING CHANGE: The "ExternalAuth" authentication subsystem was removed,
15145   along with its associated globals of $wgExternalAuthType, $wgExternalAuthConf,
15146   $wgAutocreatePolicy and $wgAllowPrefChange. Affected users are encouraged to
15147   use AuthPlugin for external authentication/authorization needs.
15148 * The Quickbar feature of the legacy skin model and the last remnants of it
15149   throughout the code base have been removed.
15150 * Externaledit/externaldiff preference was removed. Very few users used this
15151   feature, and improper configuration can actually prevent a user from editing
15152 * Calling Linker methods using a skin will now output deprecation warnings.
15153 * (bug 46680) "Return to" links are no longer tagged with rel="next".
15154 * BREAKING CHANGE: mw.util.tooltipAccessKeyRegexp: The match group for the
15155   accesskey character is now $6 instead of $5.
15156 * HipHop compiler (hphpc) support was removed. HipHop VM support (hhvm) was
15157   added.
15158 * A new Special:Redirect page was added, providing lookup by revision ID,
15159   user ID, or file name.  The old Special:Filepath page was reimplemented
15160   to redirect through Special:Redirect.
15161 * Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9.
15162 * Support for XHTML 1.0 has been removed. MediaWiki now only outputs (X)HTML5.
15163 * wikibits: User-agent related globals have been deprecated. The following
15164   properties now default to false and emit mw.log.warn: is_gecko, is_chrome_mac,
15165   is_chrome, webkit_version, is_safari_win, is_safari, webkit_match, is_ff2,
15166   ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, opera7_bugs, opera6_bugs,
15167   is_opera_95, is_opera_preseven, is_opera, and ie6_bugs.
15168 * (bug 48276) MediaWiki will now flash a confirmation message upon successfully
15169   editing a page.
15170 * (bug 40785) mediawiki.legacy.ajax has been marked as deprecated. The following
15171   properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object,
15172   sajax_do_call and wfSupportsAjax.
15173 * BREAKING CHANGE: meta keywords are no longer supported. A
15174   <meta name="keywords" will no longer be output and OutputPage::addKeyword no
15175   longer exists.
15176 * Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage,
15177   deprecated since 1.19, have been removed.
15178 * (bug 50134) Hook functions are no longer required to return a value. When a
15179   hook function does not return a value (or when it returns an explicit null),
15180   processing continues. To abort the hook, a hook function must return an
15181   explicit, boolean false or a string error message. Other falsey values are
15182   tantamount to a 'return true' in earlier versions of MediaWiki.
15183 * BREAKING CHANGE: The EditSectionLink hook was removed after being
15184   deprecated since MediaWiki 1.14. Use DoEditSectionLink instead.
15185 * (bug 48256) The 'editsection-brackets' optional message was removed.
15186   Section edit links' brackets can now be customized using CSS by
15187   styling span.mw-editsection-bracket.
15188 * The usePatrol function in ChangesList has been marked as deprecated.
15189 * (bug 50785) A "null edit", that is, a save action in which no changes to the
15190   page text are made and no revision recorded, will no longer send refreshLinks
15191   jobs to the job table to update pages which use the edited page as a template.
15192 * The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )"
15193   have been deprecated in favour of using mw.hook.
15194 * The 'showjumplinks' user preference has been removed, jump links are now
15195   always included.
15196 * Methods RecentChange::notifyRC2UDP, RecentChange::sendToUDP, and
15197   RecentChange::cleanupForIRC have been deprecated, as it is now the
15198   responsibility of classes implementing the RCFeedFormatter and RCFeedEngine
15199   interfaces to implement the formatting and delivery for recent change
15200   notifications.
15201 * SpecialPrefixindex methods namespacePrefixForm() and showPrefixChunk() have
15202   been made protected. They were accepting form variance arguments, this is now
15203   using properties in the SpecialPrefixindex class.
15204 * (bug 50310) BREAKING CHANGE: wikibits: Drop support for mwCustomEditButtons.
15205   It defaults to an empty array and emits mw.log.warn when accessed.
15206 * BREAKING CHANGE: Special:Disambiguations has been removed from MediaWiki core.
15207   Functions related to disambiguation pages are now handled by the Disambiguator
15208   extension (https://www.mediawiki.org/wiki/Extension:Disambiguator) (bug
15209   35981).
15210 * BREAKING CHANGE: The 'mediawiki.legacy.wikiprintable' module has been removed.
15211   The skins/common/wikiprintable.css file no longer exists. Return value of
15212   Skin#commonPrintStylesheet is ignored. Please use the
15213   'mediawiki.legacy.commonPrint' module instead or base your skin on
15214   SkinTemplate.
15215 * (bug 49629) The hook ExtractThumbParameters has been deprecated in favour
15216   of media handler overriding MediaHandler::parseParamString.
15217 * (bug 46512) The collapsibleNav feature from the Vector extension has been
15218   moved to the Vector skin in core.
15219 * SpecialRecentChanges::addRecentChangesJS() function has been renamed
15220   to addModules() and made protected.
15221 * Methods WatchAction::doWatch and WatchAction::doUnwatch now return a Status
15222   object instead of a boolean.
15223 * Information boxes (CSS classes errorbox, warningbox, successbox) have been
15224   made more subtle.
15225 * BREAKING CHANGE: The module 'mediawiki.legacy.IEFixes' has been removed as it
15226   was unused. The file skins/common/IEFixes.js remains but is only used by
15227   wikibits. The file never contained any re-usable components. To use it in a
15228   skin, load 'mediawiki.legacy.wikibits' (which IEFixes depends on) and that
15229   will import IEFixes automatically if user agent conditions are met.
15230 * Code specific to the Math extension was marked as deprecated.
15231 * mediawiki.util: mw.util.wikiGetlink has been renamed to getUrl. (The old name
15232   still works, but is deprecated.)
15234 = MediaWiki 1.21 =
15236 == MediaWiki 1.21.11 ==
15237 This is a security and maintenance release of the MediaWiki 1.21 branch.
15239 === Changes since 1.21.10 ===
15240 * (bug 65839) SECURITY: Prevent external resources in SVG files.
15241 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
15242   only extracting the tail of the file partially or not at all.
15244 == MediaWiki 1.21.10 ==
15245 This is a security and maintenance release of the MediaWiki 1.21 branch.
15247 === Changes since 1.21.9 ===
15248 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
15249   Special:PasswordReset.
15250 * (bug 36356) Add space between two feed links.
15252 == MediaWiki 1.21.9 ==
15253 This is a security and maintenance release of the MediaWiki 1.21 branch.
15255 === Changes since 1.21.8 ===
15256 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
15257 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
15258   appear blank or with missing text.
15260 == MediaWiki 1.21.8 ==
15261 This is a security and maintenance release of the MediaWiki 1.21 branch.
15263 === Changes since 1.21.7 ===
15264 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
15265 * (bug 62467) Set a title for the context during import on the cli.
15267 == MediaWiki 1.21.7 ==
15268 This is a maintenance release of the MediaWiki 1.21 branch.
15270 === Changes since 1.21.6 ===
15271 * Use the correct branch of the extensions' git repositories.
15273 == MediaWiki 1.21.6 ==
15274 This is a security release of the MediaWiki 1.21 branch.
15276 === Changes since 1.21.5 ===
15277 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
15278   namespaces. Also disallow iframe elements.
15279 * User will get an error including the namespace name if they use a
15280   non-whitelisted namespace.
15281 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
15282   our token comparison would be vulnerable to timing attacks. This will take
15283   constant time.
15284 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
15286 == MediaWiki 1.21.5 ==
15287 This is a security release of the MediaWiki 1.21 branch.
15289 === Changes since 1.21.4 ===
15290 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
15291   formats
15293 == MediaWiki 1.21.4 ==
15294 This is a security release of the MediaWiki 1.21 branch.
15296 === Changes since 1.21.3 ===
15297 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
15298 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
15299 * (bug 58472) SECURITY: Disallow -o-link in styles
15300 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
15301 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
15303 == MediaWiki 1.21.3 ==
15304 This is a security and maintenance release of the MediaWiki 1.21 branch.
15306 === Changes since 1.21.2 ===
15307 * (bug 53032) SECURITY: Don't cache when a call could autocreate
15308 * (bug 55332) SECURITY: Improve css javascript detection
15309 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
15310 * Fix comma errors in various js files
15311 * Translations
15313 == MediaWiki 1.21.2 ==
15314 This is a security and maintenance release of the MediaWiki 1.21 branch.
15316 === Changes since 1.21.1 ===
15317 * SECURITY: Fix extension detection with 2 .'s
15318 * SECURITY: Support for the 'gettoken' parameter to action=block and
15319   action=unblock, deprecated since 1.20, has been removed.
15320 * SECURITY: Sanitize ResourceLoader exception messages
15321 * Purge upstream caches when deleting file assets.
15322 * Unit test suite now runs the AutoLoader tests. Also fixed the autoloading
15323   entry for the PageORMTableForTesting class though it had no impact.
15325 == MediaWiki 1.21.1 ==
15326 This is a maintenance release of the MediaWiki 1.21 branch.
15328 === Changes since 1.21.0 ===
15329 * An incorrect version number was used for 1.21.0. 1.21.1 has the correct
15330   number.
15331 * A problem with the Oracle SQL table creation was fixed.
15332 * (PdfHandler extension) Fix warning if pdfinfo fails but pdftext succeeds.
15334 == MediaWiki 1.21.0 ==
15336 === Configuration changes in 1.21 ===
15337 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
15338 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
15339   instead.
15340 * (bug 39957) Added $wgUnwatchedPageThreshold, specifying minimum count
15341   of page watchers required for the number to be accessible to users
15342   without the unwatchedpages permission.
15343 * $wgBug34832TransitionalRollback has been removed.
15344 * (bug 29472) $wgUseDynamicDates has been removed and its functionality
15345   disabled.
15347 === New features in 1.21 ===
15348 * (bug 38110) Schema changes (adding or dropping tables, indices and
15349   fields) can be now be done separately from other changes that
15350   update.php makes.  This is useful in environments that use database
15351   permissions to restrict schema changes but allow the DB user that
15352   MediaWiki normally runs as to perform other changes that update.php
15353   makes.  Schema changes can be run separately.  See the file UPGRADE
15354   for more information.
15355 * (bug 34876) jquery.makeCollapsible has been improved in performance.
15356 * Added ContentHandler facility to allow extensions to support other content
15357   than wikitext. See docs/contenthandler.txt for details.
15358 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
15359   and desktop displays (configurable with $wgResponsiveImages).
15360 * Added new backend to represent and store information about sites and site
15361   specific configuration.
15362 * jQuery upgraded from 1.8.2 to 1.8.3.
15363 * jQuery UI upgraded from 1.8.23 to 1.8.24.
15364 * Added separate fa_sha1 field to filearchive table. This allows sha1
15365   searches with the api in miser mode for deleted files.
15366 * Add initial and programmatic sorting for tablesorter.
15367 * Add the event "sortEnd.tablesorter", triggered after sorting has completed.
15368 * The Job system was refactored to allow for different backing stores for
15369   queues as well as cross-wiki access to queues, among other things. The schema
15370   for the DB queue was changed to support better concurrency and reduce
15371   deadlock errors.
15372 * Added ApiQueryORM class to facilitate creation of query API modules based on
15373   tables that have a corresponding ORMTable class.
15374 * (bug 40876) Icon for PSD (Adobe Photoshop) file types.
15375 * (bug 40641) Implemented Special:Version/Credits with a list of contributors.
15376 * (bug 7851) Implemented one-click AJAX patrolling.
15377 * The <data>, <time>, <meta>, and <link> elements are allowed within WikiText
15378   for use with Microdata.
15379 * The HTML5 <mark> tag has been whitelisted.
15380 * Added ParserCloned hook for when the Parser object is cloned.
15381 * Added AlternateEditPreview hook to allow extensions to replace the page
15382   preview from the edit page.
15383 * Added EditPage::showStandardInputs:options hook to allow extensions to add
15384   new fields to the "editOptions" area of the edit form.
15385 * Upload stash DB schema altered to improve upload performance.
15386 * The following global functions are now reporting deprecated warnings in
15387   debug mode: wfMsg, wfMsgNoTrans, wfMsgForContent, wfMsgForContentNoTrans,
15388   wfMsgReal, wfMsgGetKey, wfMsgHtml, wfMsgWikiHtml, wfMsgExt, wfEmptyMsg. Use
15389   the Message class, or the global method wfMessage.
15390 * Added $wgEnableCanonicalServerLink, off by default. If enabled, a
15391   <link rel=canonical> tag is added to every page indicating the correct server
15392   to use.
15393 * Debug message emitted by wfDebugLog() will now be prefixed with the group
15394   name when its logged to the default log file. That is the case whenever the
15395   group has no key in wgDebugLogGroups, that will help triage the default log.
15396 * (bug 24620) Add types to LogFormatter.
15397 * jQuery JSON upgraded from 2.3 to 2.4.0.
15398 * Added GetDoubleUnderscoreIDs hook, for modifying the list of magic words.
15399 * DatabaseUpdater class has two new methods to ease extensions schema changes:
15400   dropExtensionIndex and renameExtensionIndex.
15401 * New preference type - 'api'. Preferences of this type are not shown on
15402   Special:Preferences, but are still available via the action=options API.
15403 * (bug 39397) Hide rollback link if a user is the only contributor of the page.
15404 * $wgPageInfoTransclusionLimit limits the list size of transcluded articles
15405   on the info action. Default is 50.
15406 * Added action=createaccount to allow user account creation.
15407 * (bug 40124) action=options API also allows for setting of arbitrary
15408   preferences, provided that their names are prefixed with 'userjs-'. This
15409   officially reenables the feature that was undocumented and defective
15410   in MW 1.20 (saving preferences using Special:Preferences cleared any
15411   additional fields) and which has been disabled in 1.20.1 as a part of
15412   a security fix (bug 42202).
15413 * Added option to specify "others" as author in extension credits using
15414   "..." as author name.
15415 * Added the ability to limit the wall clock time used by shell processes,
15416   as well as the CPU time. Configurable with $wgMaxShellWallClockTime.
15417 * Allow memory of shell subprocesses to be limited using Linux cgroups
15418   instead of ulimit -v, which tends to cause deadlocks in recent versions
15419   of ImageMagick. Configurable with $wgShellCgroup.
15420 * Added $wgWhitelistReadRegexp for regex whitelisting.
15421 * (bug 5346) Categories that are redirects will be displayed italic in
15422   the category links section at the bottom of a page.
15423 * (bug 43915) New maintenance script deleteEqualMessages.php.
15424 * You can now create checkbox option matrices through the HTMLCheckMatrix
15425   subclass in HTMLForm.
15426 * WikiText now permits the use of WAI-ARIA's role="presentation" inside of
15427   html elements and tables. This allows presentational markup, especially
15428   tables. To be marked up as such.
15429 * maintenance/sql.php learned the --cluster option. Let you run the script
15430   on some external cluster instead of the primary cluster for a given wiki.
15431 * (bug 20281) test the parsing of inline URLs.
15432 * Added Special:PagesWithProp, which lists pages using a particular page
15433   property.
15434 * Implemented language-specific collations for category sorting for 67 languages
15435   based in latin, greek and cyrillic alphabets. This allows one to *finally* get
15436   articles to be correctly sorted on category pages. They are named
15437   'uca-<langcode>', where <langcode> is one of: af, ast, az, be, bg, br, bs, ca,
15438   co, cs, cy, da, de, dsb, el, en, eo, es, et, eu, fi, fo, fr, fur, fy, ga, gd,
15439   gl, hr, hsb, hu, is, it, kk, kl, ku, ky, la, lb, lt, lv, mk, mo, mt, nl, no,
15440   oc, pl, pt, rm, ro, ru, rup, sco, sk, sl, smn, sq, sr, sv, tk, tl, tr, tt, uk,
15441   uz, vi.
15442 * Added 'CategoryAfterPageAdded' and 'CategoryAfterPageRemoved' hooks.
15443 * Added 'HistoryRevisionTools' and 'DiffRevisionTools' hooks.
15444 * Added 'SpecialSearchResultsPrepend' and 'SpecialSearchResultsAppend' hooks.
15445 * (bug 33186) Add image rotation api "imagerotate"
15446 * (bug 34040) Add "User rights management" link on user page toolbox.
15447 * (bug 45526) Add QUnit assertion helper "QUnit.assert.htmlEqual" for asserting
15448   structual equality of HTML (ignoring insignificant differences like
15449   quotmarks, order and whitespace in the attribute list).
15450 * (bug 23393) HTML <hN> headings containing line breaks are now handled
15451   correctly.
15452 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
15453   is now non-significant and not preserved in the HTML output.
15455 === Bug fixes in 1.21 ===
15456 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
15457 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
15458 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
15459 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
15460   recentchanges table.
15461 * (bug 32951) Do not register internal externals with absolute protocol,
15462   when server has relative protocol.
15463 * (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE
15464   method requests, we now send a Host header by default, for Varnish
15465   compatibility. This also works with Squid in reverse-proxy mode. If you wish
15466   to support Squid configured in forward-proxy mode, set
15467   $wgSquidPurgeUseHostHeader to false.
15468 * (bug 37020) sql.php with readline eats semicolon.
15469 * (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
15470   disabled, and don't wrap HTML-syntax definition lists in paragraphs.
15471 * (bug 41409) Diffs while editing an old revision should again diff against the
15472   current revision.
15473 * (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions
15474   caught during API execution.
15475 * (bug 37963) Fixed loading process for user options.
15476 * (bug 26995) Update filename field on Upload page after having sanitized it.
15477 * (bug 41793) Contribution links to users with 0 edits on Special:ListUsers
15478   didn't show up red.
15479 * (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API
15480   parameter.
15481 * (bug 42036) Account creation emails now contain canonical (not
15482   protocol-relative) URLs.
15483 * (bug 41990) Fix regression: API edit with redirect=true and lacking
15484   starttimestamp and basetimestamp should not cause an edit conflict.
15485 * (bug 41706) EditPage: Preloaded page should be converted if possible and
15486   needed.
15487 * (bug 41886) Rowspans are no longer exploded by tablesorter until the table is
15488   actually sorted.
15489 * (bug 2865)  User interface HTML elements don't use lang attribute.
15490   (completed the fix by adding the lang attribute to firstHeading).
15491 * (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories.
15492 * (bug 36053) Log in "returnto" feature forgets query parameters if no
15493   title parameter was specified.
15494 * (bug 42410) API action=edit now returns correct timestamp for the new edit.
15495 * (bug 14901) Email notification mistakes log action for new page creation.
15496   Enotif no longer sends "page has been created" notifications for some log
15497   actions. The following events now have a correct message: page creation,
15498   deletion, move, restore (undeletion), change (edit). Parameter
15499   $CHANGEDORCREATED is deprecated in 'enotif_body' and scheduled for removal in
15500   MediaWiki 1.23.
15501 * (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based
15502   skins, the heading levels have been changed from (variously per skin)
15503   <h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them.
15504   If you are styling or scripting the headings in a custom way, this change
15505   will require updates to your site's CSS or JS.
15506 * (bug 41342) jquery.suggestions should cancel any active (async) fetches
15507   before it triggers another fetch.
15508 * (bug 42184) $wgUploadSizeWarning missing second variable.
15509 * (bug 34581) removeUnusedAccounts.php maintenance script now ignores newuser
15510   log when determining whether an account is used.
15511 * (bug 43379) Gracefully fail if rev_len is unavailable for a revision on the
15512   History page.
15513 * (bug 42949) API no longer assumes all exceptions are MWException.
15514 * (bug 41733) Hide "New user message" (.usermessage) element from printable
15515   view.
15516 * (bug 39062) Special:Contributions will display changes that don't have
15517   a parent id instead of just an empty bullet item.
15518 * (bug 37209) "LinkCache doesn't currently know about this title" error fixed.
15519 * wfMerge() now works if $wgDiff3 contains spaces
15520 * (bug 43052) mediawiki.action.view.dblClickEdit.dblClickEdit should trigger
15521   ca-edit click instead opening URL directly.
15522 * (bug 43964) Invalid value of "link" parameter in <gallery> no longer produces
15523   a fatal error.
15524 * (bug 44775) The username field is not pre-filled when creating an account.
15525 * (bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:"
15526   URL without address
15527 * (bug 45012) Creating an account by e-mail can no longer show a
15528   "password mismatch" error.
15529 * (bug 44599) On Special:Version, HEADs for submodule checkouts (e.g. for
15530   extensions) performed using Git 1.7.8+ should now appear.
15531 * (bug 42184) $wgUploadSizeWarning missing second variable
15532 * (bug 40326) Check if files exist with a different extension during uploading
15533 * (bug 34798) Updated CSS for Atom/RSS recent changes feeds to match on-wiki
15534   diffs.
15535 * (bug 42430) Calling numRows on MySQL no longer propagates unrelated errors.
15536 * (bug 44719) Removed mention of non-existing maintenance/migrateCurStubs.php
15537   script in includes/DefaultSettings.php
15538 * (bug 45143) jquery.badge: Treat non-Latin variants of zero as zero as well.
15539 * (bug 46151) mwdocgen.php should not ignore exit code of doxygen command.
15540 * (bug 41889) Fix $.tablesorter rowspan exploding for complex cases.
15542 === API changes in 1.21 ===
15543 * prop=revisions can now report the contentmodel and contentformat.
15544   See docs/contenthandler.txt.
15545 * action=edit and action=parse now support contentmodel and contentformat
15546   parameters to control the interpretation of page content.
15547   See docs/contenthandler.txt for details.
15548 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing
15549   metadata.
15550 * (bug 40111) Disable minor edit for page/section creation by API.
15551 * (bug 41042) Revert change to action=parse&page=... behavior when the page
15552   does not exist.
15553 * (bug 27202) Add timestamp sort to list=allimages.
15554 * (bug 43137) Don't return the sha1 of revisions through the API if the content
15555   is revision-deleted.
15556 * ApiQueryImageInfo now also returns imageinfo for redirects.
15557 * list=alltransclusions added to enumerate every instance of page embedding
15558 * list=alllinks & alltransclusions now allow both 'from' and 'continue' in
15559   the same query. When both are present, 'from' is simply ignored.
15560 * list=alllinks & alltransclusions now allow 'unique' in generators, to yield
15561   a list of all link/template target pages instead of source pages.
15562 * BREAKING CHANGE: list=logevents output format changed for details of some log
15563   types. Specifically, details that were formerly reported under a key like
15564   "4::foo" will now be reported under a key of simply "foo".
15565 * BREAKING CHANGE: '??_badcontinue' error code was changed to '??badcontinue'
15566   for all query modules.
15567 * ApiQueryBase adds 'badcontinue' error code if module has 'continue' parameter.
15568 * (bug 35885) Removed version parameter and all getVersion() methods.
15569 * action=options now takes a "resetkinds" option, which allows only resetting
15570   certain types of preferences when the "reset" option is set.
15571 * (bug 36751) ApiQueryImageInfo now returns imageinfo for the redirect target
15572   when queried with &redirects=.
15573 * (bug 31849) ApiQueryImageInfo no longer gets confused when asked for info on
15574   a redirect and its target.
15575 * (bug 43849) ApiQueryImageInfo no longer throws exceptions with ForeignDBRepo
15576   redirects.
15577 * On error, any warnings generated before that error will be shown in the
15578   result.
15579 * action=help supports generalized submodules (modules=query+value),
15580   querymodules obsolete
15581 * ApiQueryImageInfo continuation is more reliable. The only major change is
15582   that the imagerepository property will no longer be set on page objects not
15583   processed in the current query (i.e. non-images or those skipped due to
15584   iicontinue).
15585 * Add supports for all pageset capabilities - generators, redirects,
15586   converttitles to action=purge and action=setnotificationtimestamp.
15587 * (bug 43251) prop=pageprops&ppprop= now accepts multiple props to query.
15588 * ApiQueryImageInfo will now limit the number of calls to File::transform made
15589   in any one query. If there are too many, iicontinue will be returned.
15590 * action=query&meta=siteinfo&siprop=general will now return the regexes used for
15591   link trails and link prefixes. Added for Parsoid support.
15592 * Added an API query module list=pageswithprop, which lists pages using a
15593   particular page property.
15594 * Added an API query module list=pagepropnames, which lists all page prop names
15595   currently in use on the wiki.
15596 * (bug 44921) ApiMain::execute() will now return after the CORS check for an
15597   HTTP OPTIONS request.
15598 * (bug 44923) action=upload works correctly if the entire file is uploaded in
15599   the first chunk.
15600 * Added 'continue=' parameter to streamline client iteration over complex query
15601   results
15602 * (bug 44909) API parameters may now be marked as type "upload", which is now
15603   used for action=upload's 'file' and 'chunk' parameters. This type will raise
15604   an error during parameter validation if the parameter is given but not
15605   recognized as an uploaded file.
15606 * (bug 44244) prop=info may now return the number of people watching each page.
15607 * (bug 33304) list=allpages will no longer return duplicate entries when
15608   querying protection.
15609 * (bug 33304) list=allpages will now find really old indefinite protections.
15610 * (bug 45937) meta=allmessages will report a syntactically invalid lang as a
15611   proper error instead of as an uncaught exception.
15612 * (bug 25325) added support for wlshow filtering (bots/anon/minor/patrolled)
15613   to action=feedwatchlist
15614 * WDDX formatted output will actually be formatted (and normal output will no
15615   longer be), and will no longer choke on booleans.
15617 === API internal changes in 1.21 ===
15618 * For debugging only, a new global $wgDebugAPI removes many API restrictions
15619   when true.
15620   Never use on the production servers, as this flag introduces security holes.
15621   Whenever enabled, a warning will also be added to all output.
15622 * ApiModuleManager now handles all submodules (actions,props,lists) and
15623   instantiation
15624 * Query stores prop/list/meta as submodules
15625 * ApiPageSet can now be used in any action to process titles/pageids/revids or
15626   any generator.
15627 * BREAKING CHANGE: ApiPageSet constructor now has two params instead of three,
15628   with only the first one keeping its meaning. ApiPageSet is now derived from
15629   ApiBase.
15630 * BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were
15631   deleted.
15632 * ApiQueryGeneratorBase::setGeneratorMode() now requires a pageset param.
15633 * $wgAPIGeneratorModules is now obsolete and will be ignored.
15634 * Added flags ApiResult::OVERRIDE and ADD_ON_TOP to setElement() and addValue()
15635 * Internal API calls will now include <warnings> in case of unused parameters
15637 === Languages updated in 1.21 ===
15639 MediaWiki supports over 350 languages. Many localisations are updated
15640 regularly. Below only new and removed languages are listed, as well as
15641 changes to languages because of Bugzilla reports.
15643 * South Azerbaijani (azb) added.
15644 * (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch').
15645 * (bug 45436) Autonym for pi (Pali) is now 'पालि' (was ''पाळि').
15646 * (bug 34977) Now formatted numbers in Spanish use space as separator
15647   for thousands, as mandated by the Real Academia Española.
15648 * (bug 35031) Kurdish formatted numbers now use period and comma
15649   as separators for thousands and decimals respectively.
15651 === Other changes in 1.21 ===
15652 * BREAKING CHANGE: (bug 44385) Removed the jquery.collapsibleTabs module and
15653   moved it to the Vector extension. It was entirely Vector-extension-specific,
15654   deeply interconnected with the extension, and this functionality really
15655   belongs to the extension instead of the skin anyway. In the unlikely case you
15656   were using it, you have to either copy it to your extension, or install the
15657   Vector extension (and possibly disable its features using config settings if
15658   you don't want them).
15659 * Experimental IBM DB2 support was removed due to lack of interest and
15660   maintainership
15661 * BREAKING CHANGE: Filenames of maintenance scripts were standardized into
15662   lowerCamelCase format, and made more explicit:
15663   - clear_stats.php -> clearCacheStats.php
15664   - clear_interwiki_cache.php -> clearInterwikiCache.php
15665   - initStats.php -> initSiteStats.php
15666   - proxy_check.php -> proxyCheck.php
15667   - stats.php -> showCacheStats.php
15668   - showStats.php -> showSiteStats.php.
15669   Class names were renamed accordingly:
15670   - clear_stats -> ClearCacheStats
15671   - InitStats -> InitSiteStats
15672   - CacheStats -> ShowCacheStats
15673   - ShowStats -> ShowSiteStats.
15674 * BREAKING CHANGE: (bug 38244) Removed the mediawiki.api.titleblacklist module
15675   and moved it to the TitleBlacklist extension.
15677 = MediaWiki 1.20 =
15679 == MediaWiki 1.20.8 ==
15680 This is a security release of the MediaWiki 1.20 branch.
15682 === Changes since 1.20.7 ===
15683 * (bug 53032) SECURITY: Don't cache when a call could autocreate
15684 * (bug 55332) SECURITY: Improve css javascript detection
15685 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
15686 * Fix comma errors in various js files
15687 * Translations
15689 == MediaWiki 1.20.7 ==
15690 This is a security release of the MediaWiki 1.20 branch.
15692 === Changes since 1.20.6 ===
15693 * SECURITY: Fix extension detection with 2 .'s
15694 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
15695 * SECURITY: Sanitize ResourceLoader exception messages
15696 * Purge upstream caches when deleting file assets.
15698 == MediaWiki 1.20.6 ==
15699 This is a security and maintenance release of the MediaWiki 1.20 branch.
15701 === Changes since 1.20.5 ===
15702 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
15703   chunks of upload, during the upload process.
15704 * (bug 44327) mediawiki.user: Use session ID instead of 1-year cross-session
15705   cookies
15706 * (bug 47202) wikibits: FF2Fixes.css should not be loaded in Firefox 20.
15707 * (bug 31044) Make ResourceLoader behave in read-only mode
15709 == MediaWiki 1.20.5 ==
15710 This is a security and maintenance release of the MediaWiki 1.20 branch.
15712 === Changes since 1.20.4 ===
15713 * (bug 46590) Add hook AbortChangePassword to Special:ChangePassword
15714 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
15715 * Localisation updates from http://translatewiki.net.
15716 * mwdocgen.php: Implement --version option.
15717 * Remove svnstat stuff used in Doxygen generation
15718 * (bug 43594) Correctly suppress warnings that were missed after the upstream
15719 * PHP change to E_STRICT being included in E_ALL.
15721 == MediaWiki 1.20.4 ==
15722 This is a security release of the MediaWiki 1.20 branch.
15724 === Changes since 1.20.3 ===
15725 * (bug 47251) SECURITY: Disable external entities in Import
15726 * (bug 46859) SECURITY: Disable external entities in XMLReader
15727 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
15729 == MediaWiki 1.20.3 ==
15730 This is a security and maintenance release of the MediaWiki 1.20 branch.
15732 === Changes since MediaWiki 1.20.2 ===
15733 * New preference type - 'api'. Preferences of this type are not shown on
15734   Special:Preferences, but are still available via the action=options API.
15735   (Unbreaks MLEB.)
15736 * (bug 44010) Context is passed to UserGetLanguageObject.
15737 * The recursion guard on RequestContext::getLanguage() was weakened.
15738 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
15739 * (bug 44024) Fixed problems in ObjectCache when using XCache.
15740 * (bug 44010) FauxRequest leaked cookie data from primary request.
15741 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
15742 * (bug 43518) API action=unblock should return the user name, not the full user
15743   object
15744 * (bug 45355) Prevent read of arbitrary files through mwdoc-filter.php
15746 == MediaWiki 1.20.2 ==
15747 This is a maintenance release of the MediaWiki 1.20 branch
15749 === Changes since MediaWiki 1.20.1 ===
15750 * (bug 42638) Fix API action=options&reset=1 & unit tests.
15751 * (bug 42370) Fixed backport of 60cc060 to use mDoneWrites — caused
15752 * (bug 42592) User rights, preferences and other things are not saving in
15753   1.20.1.
15755 == MediaWiki 1.20.1 ==
15756 This is a security release of the MediaWiki 1.20 branch
15758 === Changes since 1.20.0 ===
15759 * (bug 42202) Validate options to prevent html injection
15760 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
15761 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
15762 * Javscript Lint fixes
15763 * (bug 40632) Remove CleanupPresentationalAttributes feature
15764 * [Database] Fixed case where trx idle callbacks might be lost.
15766 == MediaWiki 1.20.0 ==
15768 === PHP 5.3 now required ===
15769 Since 1.20, the lowest supported version of PHP is now 5.3.2. Please
15770 upgrade PHP if you have not done so prior to upgrading MediaWiki.
15772 === Configuration changes in 1.20 ===
15773 * $wgGitRepositoryViewers defines a mapping from Git remote repository to the
15774   Gitweb instance URL used in Special:Version.
15775 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on
15776   servers using like nginx, lighttpd, and apache over fastcgi. MediaWiki now
15777   always extracts path info from REQUEST_URI if it's available.
15778 * The user right 'upload_by_url' is no longer given to sysops by default.
15779   This only affects installations which have $wgAllowCopyUploads set to true.
15780 * Removed f-prot support from $wgAntivirusSetup.
15781 * New variable $wgDBerrorLogTZ to provide dates in the error log in a
15782   different timezone than the wiki timezone set by $wgLocaltimezone.
15783 * New variables $wgDBssl and $wgDBcompress to enable SSL and compression for
15784   database connections, if either are available for the selected DB type.
15785 * $wgUseCombinedLoginLink now defaults to false, making MediaWiki output
15786   separate login and create account links by default.
15788 === New features in 1.20 ===
15789 * Added TitleIsAlwaysKnown hook which gets called when determining if a page
15790   exists.
15791 * Added NamespaceIsMovable hook which gets called when determining if pages in a
15792   certain namespace can be moved.
15793 * Added SpecialPageBeforeExecute hook which gets called before
15794   SpecialPage::execute.
15795 * Added SpecialPageAfterExecute hook which gets called after
15796   SpecialPage::execute.
15797 * Added ORMTable, ORMRow and ORMResult classes for additional abstraction of
15798   database interaction.
15799 * Added CacheHelper and associated SpecialCachedPage and CachedAction helper
15800   classes.
15801 * (bug 32341) Add upload by URL domain limitation.
15802 * &useskin=default will now always display the default skin. Useful for users
15803   with a preference for the non-default skin to look at something using the
15804   default skin.
15805 * (bug 27619) Remove preference option to display broken links as link?
15806 * (bug 34896) jQuery JSON plugin upgraded to v2.3 (2011-09-17).
15807 * (bug 34302) Add CSS classes to email fields in user preferences.
15808 * Introduced $wgDebugDBTransactions to trace transaction status (currently
15809   PostgreSQL only).
15810 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
15811 * Introduce a cryptographic random number generator source api for use when
15812   generating various tokens.
15813 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show
15814   redirects.
15815 * (bug 18062) New message when edit or create the local page of a shared file.
15816 * (bug 22870) Separate interface message when creating a page.
15817 * (bug 17615) nosummary option should be reassigned on preview/captcha.
15818 * (bug 34355) Add a variable and parser function for the namespace number.
15819 * (bug 35649) Special:Version now shows hashes of extensions checked out from
15820   git.
15821 * (bug 35728) Git revisions are now linked on Special:Version.
15822 * "Show Changes" on default messages shows now diff against default message text
15823 * (bug 23006) create #speciale parser function.
15824 * generateSitemap can now optionally skip redirect pages.
15825 * (bug 27757) New API command just for retrieving tokens (not page-based).
15826 * Added GitViewers hook for extensions using external git repositories to have a
15827   web-based repository viewer linked to from Special:Version.
15828 * Memcached debug logs can now be sent to their own file logs by setting
15829   $wgDebugLogFile['memcached'] to some filepath.
15830 * (bug 35685) api.php URL and other entry point URLs are now listed on
15831   Special:Version
15832 * Edit notices can now be translated.
15833 * jQuery upgraded to 1.8.2.
15834 * jQuery UI upgraded to 1.8.23.
15835 * QUnit upgraded from v1.2.0 to v1.10.0.
15836 * (bug 37604) jquery.cookie upgraded to 2011 version.
15837 * (bug 22887) Add warning and tracking category for preprocessor errors
15838 * (bug 31704) Allow selection of associated namespace on the watchlist
15839 * (bug 5445) Now remove autoblocks when a user is unblocked.
15840 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
15841   backtraces.
15842 * Added device detection for determining device capabilities.
15843 * QUnit.newMwEnvironment now supports passing a custom setup and/or teardown
15844   function. Arguments signature has changed. First arguments is now an options
15845   object of which 'config' can be a property. Previously 'config' itself was the
15846   first and only argument.
15847 * New getCreator and getOldestRevision methods added to WikiPage class
15848 * (bug 4220) the XML dump format schema now have unique identity constraints
15849   for page and revision identifiers. Patch by Elvis Stansvik.
15850 * cleanupSpam.php now can delete spam pages if --delete was specified instead of
15851   blanking them.
15852 * Added new hook ChangePasswordForm to allow adding of additional fields in
15853   Special:ChangePassword
15854 * Added new function getDomain to AuthPlugin for getting a user's domain
15855 * (bug 23427) New magic word {{PAGEID}} which gives the current page ID.
15856   Will be null on previewing a page being created.
15857 * (bug 37627) UserNotLoggedIn() exception to show a generic error page whenever
15858   a user is not logged in.
15859 * Watched status in changes lists are no longer indicated by <strong></strong>
15860   tags with class "mw-watched". Instead, each line now has a class
15861   "mw-changeslist-line-watched" or "mw-changeslist-line-not-watched", and the
15862   title itself is surrounded by <span></span> tags with class "mw-title".
15863 * Added ContribsPager::reallyDoQuery hook allowing extensions to data to
15864   MyContribs
15865 * Added new hook ParserAfterParse to allow extensions to affect parsed output
15866   after the parse is complete but before block level processing, link holder
15867   replacement, and so on.
15868 * (bug 34678) Added InternalParseBeforeSanitize hook which gets called during
15869   Parser's internalParse method just before the parser removes
15870   unwanted/dangerous HTML tags.
15871 * Added new hook AfterFinalPageOutput to allow modifications to buffered page
15872   output before sent to the client.
15873 * (bug 36783) Implement jQuery Promise interface in mediawiki.api module.
15874 * Make dates in sortable tables sort according to the page content language
15875   instead of the site content language
15876 * (bug 37926) Deleterevision will no longer allow users to delete log entries,
15877   the new deletelogentry permission is required for this.
15878 * (bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
15879   'files' and 'subcats'
15880 * (bug 38362) Make Special:Listuser includeable on wiki pages.
15881 * Added support in jquery.localize for placeholder attributes.
15882 * (bug 38151) Implemented mw.user.getRights for getting and caching the current
15883   user's user rights.
15884 * Session storage can now configured independently of general object cache
15885   storage, by using $wgSessionCacheType. $wgSessionsInMemcached has been
15886   renamed to $wgSessionsInObjectCache, with the old name retained for backwards
15887   compatibility. When this feature is enabled, the expiry time can now be
15888   configured with $wgObjectCacheSessionExpiry.
15889 * Added a Redis client for object caching.
15890 * Implemented mw.user.getGroups for getting and caching user groups.
15891 * (bug 37830) Added $wgRequirePasswordforEmailChange to control whether password
15892   confirmation is required for changing an email address or not.
15893 * HTMLForm mutators can now be chained (they return $this)
15894 * A new message, "api-error-filetype-banned-type", is available for formatting
15895   API upload errors due to the file extension blacklist.
15896 * New hook 'ParserTestGlobals' allows to set globals before running parser
15897   tests.
15898 * Allow importing pages as subpage.
15899 * Add lang and hreflang attributes to language links on Login page.
15900 * (bug 22749) Create Special:MostInterwikis.
15901 * Show change tags when transclude Special:Recentchanges(linked) or
15902   Special:Newpages.
15903 * (bug 23226) Add |class= parameter to image links in order to add class(es) to
15904   HTML img tag.
15905 * (bug 39431) SVG animated status is now shown in long description.
15906 * (bug 39376) jquery.form upgraded to 3.14.
15907 * SVG files will now show the actual width in the SVG's specified units
15908   in the metadata box.
15909 * Added ResourceLoader module "jquery.jStorage" (v0.3.0, http://jStorage.info/).
15910 * (bug 39273) Added AJAX support for "Show changes" (diff) in LivePreview.
15911 * Added ResourceLoader module "jquery.badge".
15912 * mw.util.$content now points to the overall content area in the skin rather
15913   than just page text content area. If you need the old behavior please use
15914   $( '#mw-content-text').
15915 * jsMessage has been replaced with a floating bubble notification system
15916   complete with auto-hide, multi-message support, and message replacement tags.
15917 * jquery.messageBox which appears to be unused by both core and extensions has
15918   been removed.
15919 * (bug 34939) Made link parsing insensitive ([HttP://]).
15920 * (bug 40072) Add CSS classes to items in output of ChangesList pages.
15921 * Added $wgCopyUploadProxy global to define which proxy to use for copy
15922   uploads.
15923 * (bug 40448) mediawiki.legacy.mwsuggest has been replaced with a new module,
15924   mediawiki.searchSuggest, based on SimpleSearch from Extension:Vector.
15926 === Known issues in 1.20.0 ===
15927 These are issues that we're targeting to be fixed in a later release
15928 in the 1.20 series.  Issues may be added or removed from this list as
15929 we see fit.  For now, it is comprised of those bugs on the 1.20.0
15930 milestone in Bugzilla.
15932 * (bug 35894): Reports of secret key generation "hanging" on windows
15933     This is probably a bug that has been fixed in PHP.  If you run
15934     into this, try upgrading your PHP.
15935 * (bug 38334): PHP Notice:  Undefined index: href in /www/w/skins/Vector.php on
15936   line 416
15937     We think this is a problem in some extension.  If you see this,
15938     try disabling your extensions and check out the logging patch on
15939     this bug.  Or try this patch:
15940     <https://gerrit.wikimedia.org/r/#/c/27937/1/skins/Vector.php>
15941 * (bug 39268): [Regression] Toolbar inserts in main textarea only (instead of
15942   the focussed textarea)
15943     This should only be an issue if you are using the ProofreadPage
15944     extension.
15945 * (bug 40641): Clicking "others" in Special:Version asks to download a file
15946     If you encounter this, you can tell your webserver to serve the
15947     CREDITS file with text/plain MIME type to fix it.
15949 === Bug fixes in 1.20 ===
15950 * (bug 40939): [Regression] InfoAction: Call to a member function getUserText()
15951   on a non-object
15952 * (bug 40780): searchsuggest-containing line ("containing...") doesn't include
15953   the entered text
15954 * (bug 37714): [Regression] Incomplete log entries
15955 * (bug 27202): API: Add timestamp sort to list=allimages
15956 * (bug 30245) Use the correct way to construct a log page title.
15957 * (bug 34237) Regenerate an empty user_token and save to the database
15958   when we try to set the user's cookies for login.
15959 * (bug 32210) New edit emails for watched pages always provide a link to the
15960   edit which triggered the mail.
15961 * (bug 12021) Added user talk link on Special:Listusers.
15962 * (bug 34445) section edit and TOC hide/show links are excluded from selection
15963   and copy/paste on supporting browsers.
15964 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
15965   history compression method.
15966 * (bug 34702) Localised parentheses are now used in more special pages.
15967 * (bug 34723) When editing a script page on a RTL wiki the textbox should be
15968   LTR.
15969 * (bug 34762) Calling close() on a DatabaseBase object now clears the
15970   connection.
15971 * (bug 34863) Show deletion log extract on non-existent file pages if
15972   applicable.
15973 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
15974   Special:MyPage and Special:MyTalk.
15975 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
15976   filter.
15977 * (bug 15816) Add a switch for SETting the search_path (Postgres).
15978 * (bug 34521) Returning to the previous page after logging in loses any array-
15979   valued parameters in the query string.
15980 * (bug 34735) Updated compressOld.php documentation to mention the different
15981   usages of -s and -n parameters depending on compression type.
15982 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
15983 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when
15984   trying to defer foreign key for externallinks.
15985 * (bug 32748) Printer friendly version of article decode Unicode chars as a
15986   pretty IRI in footer.
15987 * Removed white border around thumbnails in galleries.
15988 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
15989   an RTL environment.
15990 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
15991   Subversion when invoked with the --modified option.
15992 * (bug 35069) On history pages, the " . . " separator after the number of
15993   characters changed in a revision is now suppressed if no text would follow.
15994 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at
15995   RecentChanges
15996 * (bug 33564) transwiki import sometimes result in invalid title.
15997 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB
15998   structure
15999 * (bug 31757) Add a word-separator between help-messages in HTMLForm
16000 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
16001 * (bug 32604) Some messages needs escaping of wikitext inside username.
16002 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with
16003   wfCgiToArray.
16004 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
16005   in user language instead of content language.
16006 * (bug 35264) Wrong type used for <ns> in export.xsd
16007 * (bug 24985) Use $wgTmpDirectory as the default temp directory so that people
16008   who don't have access to /tmp can specify an alternative.
16009 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
16010 * (bug 35727) mw.Api ajax() should put token parameter last.
16011 * (bug 37708) mw.Uri.clone() should make a deep copy.
16012 * (bug 38024) ResourceLoader should not create empty stylesheets for modules
16013   that don't have stylesheets.
16014 * (bug 36812) Special:ActiveUsers "Hide bots" should hide users from any group
16015   having the "bot" user right, instead of just the default "bot" user group.
16016 * (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple <ul> tags.
16017 * (bug 36991) jquery.tablesorter should extract date sort format from date
16018   string instead of global config. Dates like "April 1 2012" and "1 April 2012"
16019   now sort correctly regardless of the content language's DefaultDateFormat.
16020 * (bug 31895) mw.loader mode now correct when triggered from a $.fn.ready
16021   handler that is bound before mediawiki.js's handler (e.g. browser-userscripts
16022   like greasemonkey).
16023 * (bug 38152) jquery.tablesorter: Use .data() instead of .attr(), so that live
16024   values are used instead of just the fixed values from when the tablesorter
16025   was initialized.
16026 * (bug 38093) Gender of changed user groups missing in Special:Log/rights
16027 * (bug 35893) Special:Block needs to load mediawiki.special.block.js.
16028 * (bug 37331) ResourceLoader modules sometimes execute twice in Firefox
16029 * (bug 31644) GlobalUsage, CentralAuth and AbuseLog extensions should not use
16030   insecure links to foreign wikis in the WikiMap.
16031 * (bug 36073) Avoid duplicate element IDs on File pages.
16032 * (bug 25095) Special:Categories should also include the first relevant item
16033   when "from" is filled.
16034 * (bug 35526) jquery.tablesorter now uses a stable sort.
16035 * (bug 38953) --memory-limit switch not working for runJobs.php.
16036 * (bug 33037) Make subpage of Special:newfiles control how many files
16037   are returned, like in previous versions.
16038 * (bug 36524) "Show" options on Special:RecentChanges and
16039   Special:RecentChangesLinked are now remembered between successive clicks.
16040 * (bug 26069) Page title is no longer "Error" for all error pages.
16041 * (bug 39297) Show warning if thumbnail of animated image will not be animated.
16042 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
16043   PCRE is compiled without support for unicode properties.
16044 * (bug 30390) Suggested file name on Special:Upload should not contain
16045   illegal characters.
16046 * EXIF below sea level GPS altitude data is now shown correctly.
16047 * (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a
16048   currency.
16049 * (bug 39273) "Show changes" should not be incorrectly displayed in the Live
16050   Preview state.
16051 * Made body-content lang attribute honor the variant language when it is set.
16052 * (bug 36761) "Mark pages as visited" now submits previously established filter
16053   options.
16054 * (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error.
16055 * (bug 36329) Accesskey tooltips for Firefox 14 on Mac should use "ctrl-option-"
16056   prefix.
16057 * (bug 32552) Drop unused database field cat_hidden from table category.
16058 * (bug 24502) Do not allow multiple language links to the same language.
16059 * (bug 40214) Category pages no longer use deprecated "width" HTML attribute.
16060 * (bug 39941) Add missing stylesheets to the installer pages
16061 * In HTML5 mode, allow new input element types values (such as color, range..)
16062 * (bug 36151) mw.Title: Don't limit extension in title parsing.
16063 * (bug 38158) jquery.byteLimit sometimes causes an unexpected 0 maxLength being
16064   enforced.
16065 * (bug 38163) jquery.byteLimit incorrectly limits input when using methods other
16066   than basic per-char typing.
16067 * (bug 34495) patrol log now credit the user patrolling (instead of patrolled
16068   user).
16069 * (bug 31676) ResourceLoader should work around IE stylesheet limit.
16070 * (bug 40498) ResourceLoader should not output an empty "@media print { }"
16071   block.
16072 * (bug 40500) ResourceLoader should not ignore media-type for urls in debug
16073   mode.
16074 * (bug 40660) ResourceLoaderWikiModule should not convert "&nbsp;" to a space
16075   for pages from the MediaWiki-namespace.
16076 * (bug 40329) (bug 40632) Removed CleanupPresentationalAttributes feature.
16078 === API changes in 1.20 ===
16079 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
16080 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
16081   the format parameter.
16082 * (bug 32384) Allow descending order for list=watchlistraw.
16083 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is
16084   not documented in API help.
16085 * (bug 32492) API now allows editing using pageid.
16086 * (bug 32497) API now allows changing of protection level using pageid.
16087 * (bug 32498) API now allows comparing pages using pageids.
16088 * (bug 30975) API import of pages with invalid characters in this wiki leads to
16089   Fatal Error.
16090 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per
16091   pageid.
16092 * (bug 34927) Output media_type for list=filearchive.
16093 * (bug 28814) add properties to output of action=parse.
16094 * (bug 33224) add variants of content language to meta=siteinfo.
16095 * (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit
16096   is reached.
16097 * The paraminfo module now also contains result properties for most modules.
16098 * (bug 32348) Allow descending order for list=alllinks.
16099 * (bug 31777) Upload unknown error ``fileexists-forbidden''.
16100 * (bug 32382) Allow descending order for list=iwbacklinks.
16101 * (bug 32381) Allow descending order for list=backlinks, list=embeddedin and
16102   list=imageusage.
16103 * (bug 32383) Allow descending order for list=langbacklinks.
16104 * API meta=siteinfo can now return the list of known variable IDs.
16105 * (bug 35980) list=deletedrevs now honors drdir correctly in "all" mode
16106   (mode #3).
16107 * (bug 29290) API avoids mangling fields in continuation parameters
16108 * (bug 36987) API avoids mangling fields in continuation parameters
16109 * (bug 30836) siteinfo prop=specialpagealiases will no longer return nonexistent
16110   special pages
16111 * (bug 38190) Add "required" flag to some token params for hint in api docs.
16112 * (bug 27567) Add file repo support to prop=duplicatefiles.
16113 * (bug 27610) Add archivename for non-latest image version to list=filearchive
16114 * (bug 38231) Add xml parse tree to action=parse.
16115 * Watchlist notification timestamp may be queried by page and may be updated via
16116   the API.
16117 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
16118 * (bug 39032) ApiQuery generates help in constructor.
16119 * (bug 11142) Improve file extension blacklist error reporting in API upload.
16120 * (bug 39665) List of query generators is now not built using reflection,
16121   instead it is defined in code.
16122 * (bug 35993) Deprecated gettoken parameter - support will be removed in 1.22.
16124 === Languages updated in 1.20 ===
16126 MediaWiki supports over 350 languages. Many localisations are updated
16127 regularly. Below only new and removed languages are listed, as well as
16128 changes to languages because of Bugzilla reports.
16130 * Emilian (egl) added.
16131 * Tornedalen Finnish (fit) added.
16132 * Mizo (lus) added.
16133 * Santali (sat) added.
16134 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
16135 * (bug 35541) Namespace gender aliases for Croatian (hr).
16136 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
16137   Portuguese, Esperanto and Udmurt.
16138 * Turoyo (tru) added.
16139 * Cyrillic-Latin language converter added for Uzbek (uz).
16141 === Other changes in 1.20 ===
16142 * The user_token field is now left empty until a user attempts to login and
16143   cookies need to be set. It is also now possible to reset every user's
16144   user_token simply by clearing the values in the user_token column.
16145 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
16146   has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
16147   which actually uses ResourceLoader, LocalSettings and the Skin.
16148 * Removed $wgDBtransactions global. This was only checked in one class
16149   and only applies to MyISAM or similar DBs. Those should only be used
16150   for archived sites anyway. We can't get edit conflicts on such sites,
16151   so the WikiPage code wasn't useful there either.
16152 * Deprecated mw.user.name in favour of mw.user.getName.
16153 * Deprecated mw.user.anonymous in favour of mw.user.isAnon.
16154 * Deprecated DatabaseBase functions newFromParams(), newFromType(), set(),
16155   quote_ident(), and escapeLike() were removed.
16156 * Use of __DIR__ instead of dirname( __FILE__ ).
16157 * OutputPage::wrapWikiMsg() no longer supports the 'options' parameter. It was
16158   not used and complicated migration to Message class.
16159 * Live preview functionality has been improved and moved into the
16160  'mediawiki.action.edit.preview' module. The old 'mediawiki.legacy.preview'
16161   module has been removed.
16162 * (bug 40448) Removed mediawiki.legacy.mwsuggest module, and removed the
16163   following that has become obsolete:
16164   - globals $wgEnableMWSuggest and $wgMWSuggestTemplate.
16165   - mw.config.values wgMWSuggestTemplate and wgSearchNamespaces.
16166   - method SearchEngine::getMWSuggestTemplate().
16168 == MediaWiki 1.19 ==
16170 == MediaWiki 1.19.24 ==
16172 This is a security and maintenance release of the MediaWiki 1.19 branch.
16174 === Changes since 1.19.23 ===
16176 * ({{bug|T85848}}, {{bug|T71210}}) SECURITY: Don't parse XMP blocks that
16177 contain XML entities, to prevent various DoS attacks.
16178 * ({{bug|T88310}}) SECURITY: Always expand xml entities when checking SVG's.
16179 * ({{bug|T73394}}) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
16180 * ({{bug|T85855}}) SECURITY: Don't execute another user's CSS or JS on preview.
16181 * ({{bug|T85349}}, {{bug|T85850}}, {{bug|T86711}}) SECURITY: Multiple issues
16182 fixed in SVG filtering to prevent XSS and protect viewer's privacy.
16184 == MediaWiki 1.19.23 ==
16186 This is a security and maintenance release of the MediaWiki 1.19 branch.
16188 === Changes since 1.19.22 ===
16190 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
16191 could lead to xss. Permission to edit MediaWiki namespace is required to
16192 exploit this.
16193 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
16194 * Add missing $ in front of variable in OutputPage.php
16196 == MediaWiki 1.19.22 ==
16198 This is a security and maintenance release of the MediaWiki 1.19 branch.
16200 === Changes since 1.19.21 ===
16202 * ({{bug|66776}}, {{bug|71478}}) SECURITY:  User PleaseStand reported a way to
16203 inject code into API clients that used format=php to process pages that
16204 underwent flash policy mangling. This was fixed along with improving how the
16205 mangling was done for format=json, and allowing sites to disable the mangling
16206 using $wgMangleFlashPolicy.
16207 * ({{bug|72222}}) SECURITY: Do not show log action when the entry is revdeleted
16208 with DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
16209 public RFC about the desired functionality. This issue was reported by user
16210 Bawolff.
16211 * ({{bug|71621}}) Make allowing site-wide styles on restricted special pages a
16212 config option.
16213 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
16214 might be a flash policy directive configurable.
16216 == MediaWiki 1.19.21 ==
16217 This is a maintenance release of the MediaWiki 1.19 branch.
16219 === Changes since 1.19.20 ===
16220 * (bug 67440) Allow classes to be registered properly from installer.
16221 * (bug 47281) Fixed a dumpBackup.php error with --uploads
16222  --include-filesoptions: Unable to find the wrapper "mwstore".
16223 * System administrators are encouraged to upgrade to this release or 1.22+ and
16224   produce a full data dump.
16225   https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
16226 * (bug 63049) Removed anonymous functions from ApiFormatBase, added in1.19.13 as
16227   part of the fix for bug 61362, for PHP 5.2 compatibility.
16229 == MediaWiki 1.19.20 ==
16230 This is a security release of the MediaWiki 1.19 branch.
16232 === Changes since 1.19.19 ===
16233 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
16234   allowance.
16236 == MediaWiki 1.19.19 ==
16237 This is a security release of the MediaWiki 1.19 branch.
16239 === Changes since 1.19.18 ===
16240 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
16241   elements; normalize style elements and attributes before filtering; add checks
16242   for attributes that contain css; add unit tests for html5sec and reported
16243   bugs.
16245 == MediaWiki 1.19.18 ==
16246 This is a security release of the MediaWiki 1.19 branch.
16248 === Changes since 1.19.17 ===
16249 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
16250 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
16251   ParserOutput.
16253 == MediaWiki 1.19.17 ==
16254 This is a security and maintenance release of the MediaWiki 1.19 branch.
16256 === Changes since 1.19.16 ===
16257 * (bug 65839) SECURITY: Prevent external resources in SVG files.
16258 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
16259   only extracting the tail of the file partially or not at all.
16261 == MediaWiki 1.19.16 ==
16262 This is a security release of the MediaWiki 1.19 branch.
16264 === Changes since 1.19.15 ===
16265 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
16266   Special:PasswordReset.
16268 == MediaWiki 1.19.15 ==
16269 This is a security and maintenance release of the MediaWiki 1.19 branch.
16271 === Changes since 1.19.14 ===
16272 Fixed resetting passwords.
16273 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
16274   appear blank or with missing text.
16276 == MediaWiki 1.19.14 ==
16277 This is a security and maintenance release of the MediaWiki 1.19 branch.
16279 === Changes since 1.19.13 ===
16280 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
16281 * (bug 62467) Set a title for the context during import on the cli.
16283 == MediaWiki 1.19.13 ==
16284 This is a security and maintenance release of the MediaWiki 1.19 branch.
16286 === Changes since 1.19.12 ===
16287 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
16288 * Use the correct branch of the extensions' git repositories.
16290 == MediaWiki 1.19.12 ==
16291 This is a security release of the MediaWiki 1.19 branch.
16293 === Changes since 1.19.11 ===
16294 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
16295   namespaces. Also disallow iframe elements. * User will get an error including
16296   the namespace name if they use a non- whitelisted namespace.
16297 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
16298   our token comparison would be vulnerable to timing attacks. This will take
16299   constant time.
16301 == MediaWiki 1.19.11 ==
16302 This is a security release of the MediaWiki 1.19 branch.
16304 === Changes since 1.19.10 ===
16305 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
16306   formats
16308 == MediaWiki 1.19.10 ==
16309 This is a security release of the MediaWiki 1.19 branch.
16311 === Changes since 1.19.9 ===
16312 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
16313 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
16314 * (bug 58472) SECURITY: Disallow -o-link in styles
16315 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
16316 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
16318 == MediaWiki 1.19.9 ==
16319 This is a security and maintenance release of the MediaWiki 1.19 branch.
16321 === Changes since 1.19.8 ===
16322 * (bug 53032) SECURITY: Don't cache when a call could autocreate
16323 * (bug 55332) SECURITY: Improve css javascript detection
16324 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
16325 * Translations
16327 == MediaWiki 1.19.8 ==
16328 2013-09-03
16330 This is a security and maintenance release of the MediaWiki 1.19 branch.
16332 === Changes since 1.19.7 ===
16333 * SECURITY: Sanitize ResourceLoader exception messages
16334 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
16335 * SECURITY: Fix extension detection with 2 .'s
16336 * Allow a string other than '*' as condition for DatabaseBase::delete()
16337 * Purge upstream caches when deleting file assets.
16338 * jquery.tablesorter: Add missing dependency on jquery.mwExtension
16340 == MediaWiki 1.19.7 ==
16341 2013-05-21
16343 This is a security release of the MediaWiki 1.19 branch
16345 === Changes since 1.19.6 ===
16346 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
16347   chunks of upload, during the upload process.
16349 == MediaWiki 1.19.6 ==
16350 2013-04-30
16352 This is a security and maintenance release of the MediaWiki 1.19 branch
16354 === Changes since 1.19.5 ===
16355 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
16356 * (bug 46590) Added AbortChangePassword hook to allow extensions to abort
16357   password changes from Special:ChangePassword
16358 * Localisation updates from http://translatewiki.net.
16359 * mwdocgen.php: Implement --version option.
16360 * Remove svnstat stuff used in Doxygen generation
16361 * E_USER_DEPRECATED undefined prior to php 5.3
16363 == MediaWiki 1.19.5 ==
16364 2013-04-15
16366 This is a security and maintenance release of the MediaWiki 1.19 branch
16368 === Changes since 1.19.4 ===
16369 * (bug 47251) SECURITY: Disable external entities in Import
16370 * (bug 46859) SECURITY: Disable external entities in XMLReader
16371 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
16372 * (bug 43594) Fix notices displayed on PHP 5.4
16373 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
16375 == MediaWiki 1.19.4 ==
16376 2013-03-04
16378 This is a security release of the MediaWiki 1.19 branch
16380 === Changes since 1.19.3 ===
16381 * New preference type - 'api'. Preferences of this type are not shown on
16382   Special:Preferences, but are still available via the action=options API.
16383 * (bug 44010) Context is passed to UserGetLanguageObject.
16384 * The recursion guard on RequestContext::getLanguage() was weakened.
16385 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
16386 * (bug 43518) API action=unblock should return the user name, not the full user
16387   object
16389 == MediaWiki 1.19.3 ==
16390 2012-11-30
16392 This is a security release of the MediaWiki 1.19 branch
16394 === Changes since 1.19.2 ===
16395 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
16396 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
16397 * Increase permitted runtime for testParserTest (only used for continuous
16398   integration).
16399 * Updated messages translations from http://translatewiki.net/
16401 == MediaWiki 1.19.2 ==
16403 This is a security release of the MediaWiki 1.19 branch
16405 === Changes since 1.19.1 ===
16406 * (bug 39700) File: link to non-existing file can inject html
16407 * (bug 39823) Hidden block text leaking to admins
16408 * (bug 39184) LDAP password leakage
16409 * (bug 39180) Disallow framing of api results
16410 * (bug 37587) Enforce language codes to be html safe
16411 * (bug 39824) Check global blocks on account creation
16413 == MediaWiki 1.19 ==
16415 MediaWiki 1.19 is a large release that contains many new features and bug
16416 fixes. This is a summary of the major changes of interest to users.
16417 You can consult the RELEASE-NOTES-1.19 file for the full list of changes in
16418 this version.
16420 Our thanks go to everyone who helped to improve MediaWiki by testing the beta
16421 release and submitting bug reports.
16423 === Changes since 1.19.1 ===
16424 * (bug 38406) Properly quote table names in DatabaseBase::tableName()
16425 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
16426   PCRE is compiled without support for unicode properties.
16428 === Changes since 1.19.0 ===
16429 * (bug 36568) Fixed "Illegal string offset 'LIMIT'" warnings in updater
16430 * (bug 36938) Correctly escape uselang attribute to prevent xss
16431 * Expanded Blacklist for SVG Files
16433 === Changes since 1.19 beta 2 ===
16434 * Special:Watchlist no longer sets links to feed when the user is anonymous.
16435 * (bug 35961) Hash comparison should always be strict.
16436 * Fix broken email confirmation expiration caused by MWCryptRand changes.
16437 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
16438   on line 598.
16439 * (bug 36042) 'show' causes a fatal in blocks API.
16441 === Changes since 1.19 beta 1 ===
16442 * (bug 35014) Including a special page no longer sets the page's title to the
16443   included page
16444 * (bug 35019) Edit summaries are no longer transformed in notification e-mails
16445 * (bug 35152) Help message for e-mail is shown again in user preferences
16446 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
16447   "movepage-moved"
16448 * (bug 34841) Edit links are no longer displayed when display old page versions
16449 * (bug 34889) User name should be normalized on Special:Contributions
16450 * (bug 35051) If heading has a trailing space after == then its name is not
16451   preloaded into edit summary on section edit
16452 * (bug 31417) New ID mw-content-text around the actual page text, without
16453   categories, contentSub, ... The same div often also contains the class
16454   mw-content-ltr/rtl.
16455 * (bug 35303) Proxy and DNS blacklist blocking works again
16456 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
16457   core parser functions which operate on strings, such as padleft.
16458 * (bug 18295) Don't expose strip markers when a tag appears inside a link
16459   inside a heading.
16460 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
16461   parameter present.
16462 * (bug 34907) Fixed exposure of tokens through load.php that could have
16463   facilitated CSRF attacks.
16464 * (bug 35317) CSRF in Special:Upload.
16466 === Configuration changes in 1.19 ===
16467 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
16468 * (bug 27132) movefile right granted by default to registered users.
16469 * Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
16470 * (bug 31204) Removed old user.user_options.
16471 * $wgMaxImageArea now applies to jpeg files if they are not scaled with
16472   ImageMagick.
16473 * Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of
16474   items to show by default on query pages (special pages such as Whatlinkshere).
16475 * (bug 32470) Increase the length of ug_group.
16476 * (bug 32239) Removed $wgEnableTooltipsAndAccesskeys.
16477 * Removed $wgVectorShowVariantName.
16478 * Removed $wgExtensionAliasesFiles. Use $wgExtensionMessagesFiles.
16479 * Removed $wgResourceLoaderInlinePrivateModules , now always enabled.
16481 === New features in 1.19 ===
16482 * (bug 19838) Add ability to get all interwiki prefixes also if the interwiki
16483   cache is used.
16484 * $wgDnsBlacklistUrls now accepts an array with url and key as the
16485   elements to work with DNSBLs that require keys, such as
16486   Project Honeypot.
16487 * (bug 30022) Add support for custom loadScript sources to ResourceLoader.
16488 * (bug 19052) Unicode space separator characters (Zs) now terminates external
16489   links and images links.
16490 * (bug 30160) Add public method to mw.loader to get module names from registry.
16491 * (bug 15558) Parameters to special pages included in wikitext can now be passed
16492   as with templates.
16493 * Installer now issues a warning if mod_security is present.
16494 * (bug 29455) Add support for a filter callback function in jQuery byteLimit
16495   plugin.
16496 * Added two new GetLocalURL hooks to better serve extensions working on a
16497   limited type of titles.
16498 * Added a --no-updates flag to importDump.php that skips updating the links
16499   tables.
16500 * Most presentational html attributes like valign are now converted to inline
16501   css style rules. These attributes were removed from html5 and so we clean
16502   them up when $wgHtml5 is enabled. This can be disabled using
16503   $wgCleanupPresentationalAttributes.
16504 * Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not
16505   NAMESPACE) now depend on the page content language instead of the site
16506   language. In theory this sets the right magic words in system messages,
16507   although they are not used there.
16508 * (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent.
16509 * (bug 30450) Clear page_props table on page deletion.
16510 * Hook added to check for exempt from account creation throttle.
16511 * (bug 30344) Add configuration variable for setting custom priorities when
16512   generating sitemaps.
16513 * (bug 96170) Add array support for space-separated list attributes (like
16514   'class') in the Html helper class.
16515 * (bug 26470) Add checkered background image on hover on files pages.
16516 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
16517   attribute values and element contents.
16518 * Conversion script between Tifinagh and Latin for the Tachelhit language.
16519 * (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}}
16520   to stop it from replace an already existing default sort, and suppress error.
16521 * (bug 18578) Rewrote revision delete related messages to allow better
16522   localisation.
16523 * (bug 30364) LanguageConverter now depends on the page content language
16524   instead of the wiki content language.
16525 * Jump links will now be usable in CSS-capable browsers instead of only
16526   in outdated text browsers.
16527 * New common*.css files usable by skins instead of having to copy piles
16528   of generic styles from MonoBook or Vector's css.
16529 * Some deprecated presentational html attributes will now be automatically
16530   converted to css.
16531 * (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter
16532   syntax.
16533 * The default user signature now contains a talk link in addition to the user
16534   link.
16535 * (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason.
16536 * Added hook BitmapHandlerCheckImageArea.
16537 * (bug 30062) Add $wgDBprefix option to cli installer.
16538 * getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now
16539   also called when checking for 'read' permission.
16540 * Introduce $wgEnableSearchContributorsByIP which controls whether searching
16541   for an IP address redirects to the contributions list for that IP.
16542 * (bug 8859) Database::update should take array of tables too.
16543 * (bug 19698) Add "Inverse namespaces" option to Special:Contributions.
16544 * (bug 24037) Add byte length of revision to Special:Contributions.
16545 * (bug 1672) Added $wgDisableUploadScriptChecks to allow uploading of files
16546   containing HTML or JS. DISABLING THESE CHECKS IS VERY DANGEROUS.
16547 * New path mappings can be added using the WebRequestPathInfoRouter hook
16548   and adding paths to the PathRouter.
16549 * (bug 32666) Special:ActiveUsers now allows a subpage to be used as value for
16550   the "target" query parameter (eg. Special:ActiveUsers/Username).
16551 * New JavaScript variable wgPageContentLanguage.
16552 * Added new debugging toolbar, enabled with $wgDebugToolbar.
16553 * Differences in the history page now uses slightly better colors for people
16554   perceiving colors differently.
16555 * (bug 32879) Upgrade jQuery to 1.7.1.
16556 * jQuery UI upgraded to 1.8.17.
16557 * Extensions can use the 'Language::getMessagesFileName' hook to define new
16558   languages using messages files outside of core.
16559 * (bug 32512) Add 'Associated namespace' checkbox to Special:Contributions.
16560 * Added $wgSend404Code, true by default, which can be set to false to send a
16561   200 status code instead of 404 for nonexistent articles.
16562 * (bug 33447) Link to the broken image tracking category from
16563   Special:Wantedfiles.
16564 * (bug 27724) Add timestamp to job queue.
16565 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by
16566   default, due to tests potentially being harmful, not to be run on a production
16567   wiki. Enable by setting $wgEnableJavaScriptTest to true.
16568 * Extensions can use the RequestContextCreateSkin hook to override what skin is
16569   loaded in some contexts.
16570 * (bug 33456) Show $wgQueryCacheLimit on cached query pages.
16571 * (bug 10574) Add an option to allow all pages to be exported by Special:Export.
16572 * mediawiki.js Message object constructor is now publicly available as
16573   mw.Message.
16574 * (bug 29309) Allow CSS class per tooltip (tipsy).
16575 * (bug 33565) Add accesskey/tooltip to submit buttons on Special:EditWatchlist.
16576 * (bug 17959) Inline rendering/thumbnailing for Gimp XCF images.
16577 * (bug 27775) Namespace has it's own XML tag in the XML dump file.
16578 * (bug 30513) Redirect tag is now resolved in XML dump file.
16579 * sha1 xml tag added to XML dump file.
16580 * (bug 33646) Badtitle error page now emits a 400 HTTP status.
16581 * Special:MovePage now has a dropdown menu for namespaces.
16582 * (bug 34420) Special:Version now shows git HEAD sha1 when available.
16583 * (bug 33952) Refactor mw.toolbar to allow dynamic additions at any time.
16585 === Bug fixes in 1.19 ===
16586 * $wgUploadNavigationUrl should be used for file redlinks if.
16587   $wgUploadMissingFileUrl is not set. The first was used for this
16588   until the second was introduced in 1.17.
16589 * BREAKING CHANGE:  Style rules for wikitable are now more specific and prevent
16590   inheritance to nested tables which caused various issues (bug 30485 and bug
16591   33434). If your wiki has overridden rules for ".wikitable", please revise them
16592   and adjust where necessary. For comparison, use the "table.wikitable" section
16593   in skins/common/shared.css as base.
16594 * $wgUploadNavigationUrl is now used for file redlinks if
16595   $wgUploadMissingFileUrl is not set. The former was used for this until the
16596   second was introduced in 1.17.
16597 * (bug 27894) Move 'editondblclick' event listener down from body to
16598   div#bodyContent.
16599 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
16600   when the function exists but is disabled. Introduced
16601   Maintenance::posix_isatty().
16602 * (bug 30264) Changed installer-generated LocalSettings.php to use
16603   require_once() instead require() for included extensions.
16604 * Do not convert text in the user interface language to another script.
16605 * (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages.
16606 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
16607   warnings/notices to be thrown.
16608 * (bug 30335) Fix for HTMLForms using GET that were breaking when non-friendly
16609   URLs are used.
16610 * (bug 28649) Preventing half truncated multi-byte unicode characters when
16611   truncating log comments.
16612 * Show --batch-size option in help of maintenance scripts that support it.
16613 * (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
16614   unescaped.
16615 * (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page
16616   by importing a new revision into it.
16617 * Allow moving the associated talk pages of subpages even if the base page
16618   has no subpage.
16619 * Per page edit-notices now work in namespaces without subpages enabled.
16620 * (bug 31081) $wgEnotifUseJobQ is no longer unconditionally enqueueing jobs.
16621 * (bug 30202) File names are now restricted on upload to 240 bytes, because of
16622   restrictions on some of the database fields.
16623 * Timezones are now recognised in user preferences when offset is different
16624   due to DST.
16625 * (bug 31692) "summary" parameter now also works when undoing revisions.
16626 * (bug 18823) "move succeeded" text displayed bluelinks even when redirect was
16627   suppressed.
16628 * (bug 19186) Special:UserLogin's title on Special:SpecialPages now says
16629   "create account" when the user cannot create an account.
16630 * (bug 31818) 'usercreated' message now supports GENDER.
16631 * (bug 32022) Our phpunit.php script can now be executed from another directory.
16632 * (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs
16633   from recent changes feeds.
16634 * (bug 30232) add current time to message wlnote on Special:Watchlist.
16635 * (bug 29110) $wgFeedDiffCutoff did not affect new pages.
16636 * (bug 32168) Add wfRemoveDotSegments for use in wfExpandUrl.
16637 * (bug 32358) Do not display "No higher resolution available" for dimensionless
16638   files (like audio files).
16639 * (bug 32168) Add wfAssembleUrl for use in wfExpandUrl.
16640 * (bug 32168) fixed - wfExpandUrl expands dot segments now.
16641 * (bug 31535) Upload comments now truncated properly, and don't have brackets.
16642 * (bug 32086) Special:PermanentLink now shows an error message when no subpage
16643   was specified.
16644 * (bug 30368) Special:Newpages now shows the new page name for moved pages.
16645 * (bug 1697) The way to search blocked usernames in block log should be clearer.
16646 * (bug 29747) eAccelerator shared memory caching has been removed since it is
16647   now disabled by default and is buggy. APC, XCache and WinCache are not
16648   affected.
16649 * Installer now refuses to install if php was not compiled with Ctype support.
16650 * (bug 29475) Remove "trackback" feature entirely from core.
16651 * (bug 32665) Special:BlockList prefills the username in the input field if
16652   using the Special:BlockList/username URL.
16653 * (bug 27721) Make JavaScript variables wgSeparatorTransformTable and
16654   wgDigitTransformTable depend on page content language so the sort script
16655   sorts correctly more often.
16656 * (bug 32230) Expose wgRedirectedFrom in JavaScript.
16657 * (bug 31212) History tab not collapsed when the screen is narrow.
16658 * (bug 15521) Use new section summary when the action of adding a new section
16659   also happens to create the page.
16660 * (bug 32960) Remove EmailAuthenticationTimestamp from database when a
16661   email address is removed.
16662 * (bug 32414) Empty page get a empty bytes attribute in Export/Dump.
16663 * (bug 33101) Viewing a User or User talk of username resembling IP ending
16664   with .xxx causes Internal error.
16665 * Warning about undefined index in certain situations when $wgLogRestrictions
16666   causes the first log type requested to be removed but not the others.
16667 * Use separate message ('prefixindex-namespace') for title of
16668   Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace.
16669 * (bug 33156) Special:Block now allows you to confirm you want to block yourself
16670   when using non-normalized username.
16671 * (bug 33246) News icon shown for news:// URLs but not for news: URLs.
16672 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
16673   cssText after DOM insertion.
16674 * (bug 30711) When adding a new section to a page with section=new, the text is
16675   now always added to the current version of the page.
16676 * (bug 31719) Fix uploads of SVGs exported by Adobe Illustrator by expanding
16677   XML entities correctly.
16678 * (bug 30914) Embeddable ResourceLoader modules (user.options, user.tokens)
16679   should be loaded in <head> for proper dependency resolution.
16680 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
16681   for backward compatibility.
16682 * (bug 31469) Make sure tracking category messages expand variables like
16683   {{NAMESPACE}} relative to correct title.
16684 * (bug 33454) ISO-8601 week-based year number (format character 'o') is now
16685   calculated correctly with respect to timezone.
16686 * (bug 32219) InstantCommons now fetches content from Wikimedia Commons using
16687   HTTPS when the local wiki is served over HTTPS.
16688 * (bug 33525) clearTagHooks doesn't clear function hooks.
16689 * (bug 33523) Function tag hooks don't appear on Special:Version.
16690 * Files with IPTC blocks we can't read no longer prevent extraction of exif
16691   or other metadata.
16692 * (bug 33587) Remove action "historysubmit" from history pages.
16693 * (bug 25800) mw.config wgAction should contain the actually performed action
16694   instead of whatever the query value contains.
16695 * (bug 4438) Add CSS hook for current WikiPage action.
16696 * (bug 33703) Common border-bottom color for <abbr> should inherit default
16697   (text) color.
16698 * (bug 33819) Display file sizes in appropriate units.
16699 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
16700   doing a null edit.
16701 * (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who
16702   made the edit.
16703 * (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of +.
16704 * (bug 33762) QueryPage-based special pages no longer misses *-summary message.
16705 * Other sizes links are no longer generated for wikis without a 404 thumbnail
16706   handler.
16707 * (bug 29454) Enforce byteLimit for page title input on Special:MovePage.
16708 * (bug 34114) CSSMin::remap() doesn't respect its $embed parameter.
16709 * Special:Contributions/newbies now shows the contributions for the user
16710   "newbies". New user contributions are obtained using the form or using
16711   ?contribs=newbie in URL.
16712 * It is now possible to delete images that have no corresponding description
16713   pages.
16714 * (bug 33165) GlobalFunctions.php line 1312: Call to a member function
16715   getText() on a non-object.
16716 * (bug 31676) Group dynamically inserted CSS into a single <style> tag, to work
16717   around a bug where not all styles were applied in Internet Explorer.
16718 * (bug 28936, bug 5280) Broken or invalid titles can't be removed from
16719   watchlist.
16720 * (bug 34600) Older skins using useHeadElement=false were broken in 1.18.
16721 * (bug 34604) [mw.config] wgActionPaths should be an object instead of a numeral
16722   array.
16723 * (bug 12262) Indents and lists are now aligned
16724 * (bug 29753) mw.util.tooltipAccessKeyPrefix should be alt-shift for Chrome
16725    on Windows
16726 * (bug 25095) Special:Categories should also include the first relevant item
16727    when "from" is filled.
16728 * (bug 34972) An error occurred while changing your watchlist settings for
16729   [[Special:WhatLinksHere/Example]]
16731 === API changes in 1.19 ===
16732 * Made action=edit less likely to return "unknownerror", by returning the actual
16733   error message (which may have come from a hook call or similar).
16734 * (bug 19838) siprop=interwikimap can now use the interwiki cache.
16735 * (bug 29748) Add API search prefix support.
16736 * (bug 29684) Set forgotten parameter types in ApiQueryIWLinks.
16737 * (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid.
16738 * siprop=interwikimap and siprop=languages can use silanguagecode to have
16739   a best effort language name translation. Use CLDR extension for best result.
16740 * (bug 30230) action=expandtemplates should not silently override invalid title
16741   inputs.
16742 * (bug 18634) Create API to fetch MediaWiki's language fallback tree structure.
16743 * (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP
16744   address blocks for list=blocks.
16745 * (bug 30591) Add support to only return keys in ApiAllMessages.
16746 * The API now respects $wgShowHostnames and won't share the hostname in
16747   servedby if it's set to false.
16748 * wlexcludeuser parameter added to ApiFeedWatchlist.
16749 * (bug 7304) Links on redirect pages no longer cause the redirect page to show
16750   up as a redirect to the linked page on Special:Whatlinkshere.
16751 * (bug 32609) API: Move captchaid/captchaword of action=edit from core
16752   to Captcha extension(s).
16753 * Added 'APIGetDescription' hook.
16754 * (bug 32688) Paraminfo for parameter "generator" of the query module shows too
16755   many types.
16756 * (bug 32415) Empty page get no size attribute in API output.
16757 * (bug 31759) Undefined property notice in querypages API.
16758 * (bug 32495) API should allow purge by pageids.
16759 * (bug 33147) API examples should explain what they do.
16760 * (bug 33482) Api incorrectly calls ApiBase::parseMultiValue if allowed
16761   values is given as an array.
16762 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
16763   calling action=purge&forcelinkupdate.
16764 * (bug 34377) action=watch now parses messages using the correct title instead
16765   of "API".
16766 * (bug 35036) WikiLove messages were not automatically updated in JavaScript
16767   after having been changed on-wiki due to a bug in core
16769 === Languages updated in 1.19 ===
16771 MediaWiki supports over 350 languages. Many localisations are updated
16772 regularly. Below only new and removed languages are listed, as well as
16773 changes to languages because of Bugzilla reports.
16775 * Canadian English (en-ca) (new).
16776 * Norwegian (bokmål) (nb) (renamed from no).
16777 * Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language.
16778 * (bug 30217) Make pt-br a fallback of pt.
16779 * (bug 31193) Set fallback language of Assamese from Bengali to English.
16780 * Update date format for dsb and hsb: month names need the genitive.
16781 * (bug 28643) Serbian variant conversion improvements (Nikola Smolenski).
16782 * (bug 29405, bug 30809) Lower diacritics are invisible in titles in Indic
16783   languages Assamese, Bengali, Hindi, Malyalam and Odiya.
16784 * (bug 32826) Titles in indic languages are partially cut.
16785 * (bug 33367) Gendered namespaces for Czech.
16786 * (bug 33014) Language::formatSize()/formatBitrate() should be able to deal
16787   with larger numbers (tera-yotta).
16789 === Other changes in 1.19 ===
16790 * BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have
16791   been removed from wikibits.js.
16792 * jquery.mwPrototypes module was renamed to jquery.mwExtension.
16793 * The maintenance script populateSha1.php was renamed to the more concise
16794   populateImageSha1.php.
16795 * The Client-IP header is no longer checked for when trying to resolve a
16796   client's real IP address.
16797 * (bug 22096) Although IE5.x and below was already unsupported officially,
16798   stylesheets existing exclusively for IE5.0 and IE5.5 have now been removed
16799   (which were in skins 'chick' and 'monobook').
16800 * The constructor for CategoryView has changed, the second parameter is now a
16801   Context source and is required.
16802 * The Title::escape{Local,Full,Canonical}URL methods are deprecated, please use
16803   proper html building methods to escape the normal get{...}URL methods instead.
16804 * The $variant arguments in the Title::get{Local,Full,Link,Canonical}URL methods
16805   have been replaced with a secondary query argument.
16806 * The $variant argument in the hooks for the
16807   Title::get{Local,Full,Link,Canonical}URL methods have been removed, the
16808   variant is now part of the $query argument.
16809 * Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of
16810   using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage().
16811 * Support for the deprecated hook MagicWordMagicWords was removed.
16812 * The Xml::namespaceSelector method has been deprecated, please use
16813   Html::namespaceSelector instead (note that the parameters have changed also).
16814 * (bug 33746) Preload popular ResourceLoader modules (mediawiki.util) as
16815   stop-gap for scripts missing dependencies.
16816   New configuration variable $wgPreloadJavaScriptMwUtil has been introduced for
16817   this (set to false by default for new installations). Set to true if your wiki
16818   has a large amount of user/site scripts that are lacking dependency
16819   information. In the short to medium term these user/site scripts should be
16820   fixed by adding the used modules to the dependencies in the module registry
16821   and/or wrapping them in a callback to mw.loader.using.
16823 == MediaWiki 1.18 ==
16825 == MediaWiki 1.18.6 ==
16826 2012-11-29
16828 This is a maintenance and security release of the MediaWiki 1.18 branch
16830 === Changes since 1.18.5 ===
16831 * ([[bugzilla:40995|bug 40995]]) Prevent session fixation in Special:UserLogin
16832 (CVE-2012-5391)
16833 * ([[bugzilla:41400|bug 41400]]) Prevent linker regex from exceeding PCRE
16834 backtrack limit
16835 * Localisation updates
16836 * Increase permitted runtime for testParserTest
16837 * ([[bugzilla:36179|bug 36179]]) Unquote 'null' for PostgreSQL.
16839 == MediaWiki 1.18.5 ==
16840 2012-08-30
16842 This is a security release of the MediaWiki 1.18 branch
16844 === Changes since 1.18.4 ===
16845 * (bug 39700) File: link to non-existing file can inject html
16846 * (bug 39823) Hidden block text leaking to admins
16847 * (bug 39184) LDAP password leakage
16848 * (bug 39180) Disallow framing of api results
16849 * (bug 37587) Enforce language codes to be html safe
16850 * (bug 39824) Check global blocks on account creation
16852 == MediaWiki 1.18.4 ==
16853 2012-06-12
16855 This is a security release of the MediaWiki 1.18 branch.
16857 === Changes since 1.18.3 ===
16858 * (bug 36938) Correctly escape uselang attribute to prevent xss
16859 * Expanded Blacklist for SVG Files
16861 == MediaWiki 1.18.3 ==
16862 2012-04-25
16864 This is a maintenance release of the MediaWiki 1.18 branch.
16866 === Changes since 1.18.2 ===
16867 * (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws
16868   a PHP warning.
16869 * (bug 35567) The whole password reminder e-mail is now sent in the same
16870   language.
16871 * (bug 35961) Hash comparison should always be strict.
16872 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
16873   on line 598.
16874 * Fix broken email confirmation expiration caused by MWCryptRand changes.
16876 == MediaWiki 1.18.2 ==
16877 2012-03-21
16879 This is a maintenance and security release of the MediaWiki 1.18 branch.
16881 === Changes since 1.18.1 ===
16882 * (bug 33686) could not get a list of contributors for an article when using
16883   a SQLite database.
16884 * (Bug 33865) Exception thrown in action=parse when attempting to use the title
16885   parameter without setting the text parameter.
16886 * UserMailer could potentially throw a fatal error when a MailAddress object had
16887   an empty email address.
16888 * (Bug 33087) Exchange server rejected mail sent by MediaWiki
16889 * (bug 34528) Edit section tooltips show correction section name again
16890 * (bug 34246) MediaWiki:Whatlinkshere-summary message is displayed again in
16891   Special:Whatlinkshere
16892 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
16893   core parser functions which operate on strings, such as formatnum.
16894 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
16895   parameter present.
16896 * (bug 34907) Fixed exposure of tokens through load.php that could have
16897   facilitated CSRF attacks.
16898 * (bug 35317) CSRF in Special:Upload.
16900 == MediaWiki 1.18.1 ==
16901 2012-01-11
16903 This a maintenance and security release of the MediaWiki 1.18 branch.
16905 === Changes since 1.18.0 ===
16906 * (bug 32712) Fix for search indexing of pages with certain unicode chars
16907   following URL.
16908 * (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for
16909   screen readers.
16910 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
16911   attribute values and element contents.
16912 * (bug 32473) [[Special:PasswordReset]] can not be used on private wiki.
16913 * (bug 32853) Fixed CACHE_DBA object cache type.
16914 * (bug 32786) Backward compatibility for extension using 1.17's
16915   Database::newFromType().
16916 * Fixed exception when using Special:WhatLinksHere on a Media: file.
16917 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
16918 * (bug 33240) Sort images are missing but referenced in css.
16919 * (bug 31921) Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR were
16920   not showing their values on preview.
16921 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
16922   for backward compatibility.
16923 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
16924   when the function exists but is disabled. Introduced
16925   Maintenance::posix_isatty().
16926 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
16927   cssText after DOM insertion.
16928 * (bug 29102) Upgrades no longer fail with the error "Unknown character set:
16929   'mysql4'.
16930 * (bug 25355) Parser generates edit section links for special pages.
16931 * (bug 33321) Adding a line to MediaWiki:Sidebar that contains a pipe, but
16932   doesn't have any pipes after being transformed by MessageCache, causes
16933   exception on all pages.
16934 * Fixed recentchanges FK violation on page delete and cache purge error in
16935   updater for Oracle DB.
16936 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
16937   pollution.
16939 == MediaWiki 1.18.0 ==
16940 2011-11-24
16942 This is the first stable release of the MediaWiki 1.18 branch.
16944 === Summary of selected changes in 1.18 ===
16946 Selected changes since MediaWiki 1.17 that may be of interest:
16948 * Some of the more commonly used MediaWiki extensions are now included in the
16949   release tarball. These extensions are ConfirmEdit, Gadgets, Nuke,
16950   ParserFunctions, Renameuser, Vector and WikiEditor.
16952 * Gender support has been improved, meaning user pages can display the correct
16953   gender variant of "User" can now be used.
16955 * MediaWiki can now detect the camera orientation of an image from the Exif
16956   metadata, and can rotate the image thumbnail appropriately. Metadata support
16957   has been generally improved, and can now extract IPTC and XMP metadata.
16959 * Improved directionality support in 1.18 means that MediaWiki is better to use
16960   for RTL users.
16962 * MediaWiki now supports protocol - relative URLs in links, interwiki targets
16963   and $wgServer
16965 * Math support has been removed from core
16967 === Changes since 1.18.0rc1 ===
16968 * (bug 32228) regression in Special:Search which did not conserve profile on
16969   new search
16970 * (bug 32460) Categories were improperly aligned in Simple and CologneBlue
16971 * (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
16972 * (bug 32582) Fix TOC show/hide link regression on IE 8
16974 === Changes since 1.18 beta 1 ===
16975 * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18
16976   deployment.
16977 * (bug 32051) Fix description for wlprop=sizes.
16978 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
16979   under Microsoft SQL.
16980 * (bug 32100) installer complains about suhosin GET limit.
16981 * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between
16982   portlets on IE 7 and IE 8/9 in compatibility view.
16983 * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
16984   from watchlist.
16985 * (bug 32183) remove the client-* classes added from user-agent-sniffing onto
16986   the <html> element.
16987 * (bug 29912) Unit tests break if parsertest tables are still present.
16988 * (bug 31694) During installation, tabbing order (cursor focus) goes to logo
16989   instead of 'continue'.
16990 * (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
16991 * (bug 31990) justify paragraphs pref adds extra space to category listing.
16992 * (bug 20148) Better title for [[Special:Disambiguations]] page.
16993 * (bug 31502) TOC is missing on Special:EditWatchlist.
16994 * (bug 32256) API list=search stops at first invalid result.
16995 * (bug 32047) jquery.tablesorter.js: thead is before caption.
16996 * (bug 29854) Store protocol-relative links twice in the externallinks table,
16997   one with http: in el_index and once with https.
16998 * (bug 31822) Error during upgrade due to output buffer reset in stdout.
17000 === Configuration changes in 1.18 ===
17001 * The WantedPages::getSQL hook has been removed and replaced with
17002   WantedPages::getQueryInfo. This may break older extensions.
17003 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
17004   SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
17005   favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage.
17006 * $wgUseCombinedLoginLink controls whether to output a combined
17007   login / create account link in the personal bar, or to output separate login
17008   and create account links.
17009 * Skin names are no longer created based on a ucfirst version of the key in
17010   $wgValidSkinNames but now the value. This means for
17011   $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
17012   loading SkinMonobook and will instead load SkinMonoBook.
17013 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
17014   per upload type.
17015 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
17016   $wgAPICacheHelpTimeout = 0;
17017 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
17018   by the page, but $wgAllowUserJs is set to false.
17019 * Pure "Skin" class based custom skins are no longer supported, all custom skins
17020   should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
17021 * The transliteration for passwords in case they were migrated from an old
17022   Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
17023   $wgLegacyEncoding set.
17024 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
17025   look at when finding metadata to prevent excessive resource usage.
17026 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
17027   Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
17028   same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
17029   replicate $wgSysopUserBans functionality.
17030 * The options on the block form have been standardised such that checking a box
17031   makes the block 'more serious'; so while "check to prevent account creation"
17032   and "check to enable autoblock" remain the same, "check to allow user-talk
17033   edit" is reversed to "check to *disable* user-talk edit", and "check to block
17034   anon-only" becomes "check to block logged-in users too".  The default settings
17035   remain the same.
17036 * Most of the field names on the Special:Block form have been changed, which
17037   will probably break screen-scraping bots.
17038 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
17039   $wgUseTrackbacks is already false by default.
17040 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
17041   *appearing* to hide article elements, has been removed.  Use the
17042   ParserFunctions extension to actually remove unwanted elements from the
17043   output.
17044 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
17045   math conversion after upgrading, obtain the Math extension from SVN or from
17046   https://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
17047   require_once "$IP/extensions/Math/Math.php";
17048 * $wgProfiler is now a configuration array, see StartProfiler.sample for
17049   details.
17050 * $wgProfiling has been removed.
17051 * The spyc library is now no longer included in phase3.
17052 * (bug 28343) Unused preferences contextlines/contextchars have been removed
17053 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
17054 * $wgProto has been removed. You now only need to set $wgServer to change the
17055   URL protocol.
17056 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed.
17057 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been
17058   removed.
17059 * $wgAllowUserSkin (deprecated in 1.16) has now been removed.
17060 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed.
17061 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed.
17062 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
17063   whether a page is an article or not. $wgUseCommaCount is now deprecated.
17064 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
17065   and the functionality has been moved to the relevant extensions. See
17066   https://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
17067   https://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate.
17068 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS
17069   and CSS
17070 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant
17071   feature was removed in about 1.5.
17072 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
17073   hooks have been removed.
17074 * New hook "Collation::factory" to allow extensions to create custom
17075   category collations.
17076 * $wgGroupPermissions now supports per namespace permissions.
17077 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
17078   null will cause MediaWiki to determine if auto-rotation is available.
17080 === New features in 1.18 ===
17081 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
17082 * BREAKING CHANGE: Article class hierarchy split into WikiPage (backend)
17083   and Article (frontend) hierarchies. Several hooks now pass a WikiPage object
17084   instead of an Article object. These hooks all use an $article parameter as
17085   documented in hooks.txt. Extensions should be updated to account for this,
17086   though most won't require any changes.
17087 * (bug 27860) Minor edit after clicking 'new section' tab
17088   Now the "This is a minor edit" checkbox is not available when you
17089   create a page or new section.
17090 * (bug 8130) Query pages should limit to content namespaces, not just main
17091   namespace.
17092 * Special:Contribs now redirects to Special:Contributions.
17093 * (bug 6672) Images are now autorotated according to their EXIF orientation.
17094   This only affects thumbnails; the source remains unrotated.
17095 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0.
17096 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
17097   saved.
17098 * New parser option PreSaveTransform added, allows the pre-save transformation
17099   to be selectively disabled.
17100 * Alternative to $wgHooks implemented, using the new Hooks class.
17101 * Add width parameter to Special:Filepath to allow getting the file path of a
17102   thumbnail.
17103 * (bug 26870) Add size to {{filepath:}}.
17104 * Upload warnings now show a thumbnail of the uploaded file.
17105 * Introduced the edittools-upload message, which will be inserted under the
17106   upload form instead of edittools if available.
17107 * (bug 26285) Extensions will be automatically generated on upload if the user
17108   specified a filename without extension.
17109 * (bug 26851) Special:UserRights now allows to prefill the reason field
17110 * New maintenance script to fix double redirects
17111   (maintenance/fixDoubleRedirects.php).
17112 * (bug 23315) New body classes to allow easier styling of special pages.
17113 * (bug 27159) Make email confirmation code expiration time configurable.
17114 * (bug 29047) CSS/JS for each user group is imported from
17115   MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc.
17116 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
17117   safely enabled. A ZIP file reader was added which can scan a ZIP file for
17118   potentially dangerous Java applets. This allows applets to be blocked
17119   specifically, rather than all ZIP files being blocked.
17120 * (bug 2429) Allow selection of associated namespace in recent changes.
17121 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
17122 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
17123   disabled (enclosed in the head in a <noscript> tag).
17124 * Added UserGetLanguageObject hook to change the language used in $wgLang.
17125 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
17126   differently (italicized by default) on Special:SpecialPages.
17127 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
17128   several wikis.
17129 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
17130   the three that were defined in the original specification.
17131 * (bug 14706) Added support for the Imagick PHP extension.
17132 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
17133   extension.
17134 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
17135   file description page. The sizes are set by $wgImageLimits.
17136 * (bug 28031) Add pageCount support to ArchivedFile.
17137 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
17138 * Added hook BitmapHandlerTransform to allow extension to transform a file
17139   without overriding the entire handler.
17140 * The parser now attempts to output markers for editsection tokens and defer the
17141   rendering of them post-cache to reduce parser cache fragmentation and ensure
17142   skin customizability of edit section links.
17143 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
17144   other extensions by handling the 'AbortAutoAccount' hook, similar to the
17145   'AbortNewAccount' triggered by explicit account creations. (They are separate
17146   to avoid loops and confusion; auth plugins like CentralAuth need to handle
17147   AbortNewAccount separately.
17148 * Special:ListFiles is now transcludable.
17149 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
17150 * (bug 16956) IPTC and XMP metadata now extracted from images.
17151 * (bug 23816) A tracking category is now added for any pages with broken images.
17152 * (bug 23495) Allow createAndPromote.php to create non-sysop users.
17153 * (bug 28916) A way to to toggle mw.config legacy globals settings from
17154   LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
17155 * (bug 28503) Support for ircs:// URL protocols.
17156 * (bug 26033) It is now possible to count all non-redirect pages in content
17157   namespaces as articles.
17158 * Images can now be embedded in an XML dump stream using backupDump.php
17159   --include-files and can be imported using importDump.php --uploads;
17160   furthermore, it can import files from the filesystem using --image-base-path.
17161 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
17162   'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
17163   may override the usage of PageArchive class and replace it with their own
17164   class that extends PageArchive.
17165 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
17166   Also built-in support for distribution through a TestSwarm instance.
17167 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
17168   added to the textarea on the edit form.
17169 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
17170 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
17171 * New 'Debug' hook used by wfDebug() and wfDebugLog().
17172 * (bug 27655) Require token for watching/unwatching pages)
17173 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest
17174   version)
17175 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
17176   handle titles on case-sensitive wikis.
17177 * (bug 29397) Implement mw.Title module in core.
17178 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
17179   STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
17180   correctly in the case where there are no write events occurring. Note that
17181   the DB user now needs to have the REPLICATION CLIENT privilege if you are
17182   using replication.
17183 * Language codes in $wgDummyLanguageCodes are now excluded on localization
17184   statistics (maintenance/language/transstat.php).
17185 * (bug 29586) Make the (next 200) links on categories link directly to
17186   the relevant section of the category.
17187 * (bug 29109) Allow the automatic edit summary for redirect creation
17188   show the first bit of the new redirect page.
17189 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
17190 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
17191 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
17192   which the language name is wanted. Coverage depends on the cldr extension.
17193 * (bug 15802) An easy way to look up messages: language qqx which returns
17194   the message keys.
17195 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
17196 * (bug 29558) $wgMiserMode now disables update.php by default.
17197 * AjaxCategories: Easily add, edit or delete categories on article pages.
17198   Suggests possible categories when typing, all saves are done via AJAX.
17199   Supports editing of multiple categories and then saving them in one batch.
17200 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted
17201   to explicit usergroups. If a group is removed from a user via
17202   Special:UserRights, it will not automatically be re-added. Configuration is
17203   similar to $wgAutopromote (see DefaultSettings.php).
17204 * The PerformRetroactiveAutoblock hook was added to allow overriding or
17205   complementing retroactive autoblock handling. This runs when blocking a user
17206   with the 'autoblock' option.
17207 * MediaWiki now supports using protocol-relative URLs in links, interwiki
17208   targets and $wgServer.
17209 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
17210   Vary: X-Forwarded-Proto headers.
17211 * New maintenance script to refresh image metadata
17212   (maintenance/refreshImageMetadata.php).
17213 * (bug 16428) Include permalink in printable version.
17214 * (bug 30722) Add an identity collation that sorts things based on what the
17215   unicode code point is (aka pre-1.17 behavior).
17216 * (bug 30940) Add a hook in User:getDefaultOptions.
17217   To give extensions a better and more flexible way of providing default
17218   values for preferences a hook has been introduced in User:getDefaultOptions().
17219   Setting preferences in $wgDefaultUserOptions still work fine, but when reading
17220   them (i.e. with array_keys) to get a list of all preferences, then
17221   $wgDefaultUserOptions should no longer be used as it will contain those set
17222   via User:getDefaultOptions().
17223 * (bug 30497) Add client-nojs and client-js classes on document element
17224   to let styles easily hide or show things based on general JS availability.
17225 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
17226   MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
17227   Same for signupend on the account creation page.
17228 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page
17229   specific mw.config map extendable.
17230 * mw.util.wikiScript has been implemented (like wfScript in
17231   GlobalFunctions.php).
17233 === Bug fixes in 1.18 ===
17234 * (bug 27860) Minor edit after clicking 'new section' tab.
17235 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
17236 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
17237   treated as wikitext on preview.
17238 * (bug 22753) Output from update.php is more clear when things changed, entries
17239   indicating nothing changed are now all prefixed by "...".
17240 * Page existence is now not revealed (in the colour of the tabs) to users who
17241   cannot read the page in question.
17242 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
17243   cases.
17244 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
17245 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
17246   as "Permitted file types" on the upload form.
17247 * (bug 26379) importImages.php gives more descriptive error message on failure.
17248 * (bug 26410) + signs are no longer treated as spaces in internal links if
17249   link has a % sign in it.
17250 * (bug 26412) Search results headers no longer show a bogus edit link.
17251 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
17252 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
17253   pages to be queried via the API and Special:ProtectedPages, and allowing
17254   disabling upload protection by removing it from $wgRestrictionTypes.
17255 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
17256 * (bug 26638) Database error pages display correctly in RTL languages.
17257 * (bug 26187) Confirmrecreate no longer parses the edit summary.
17258 * (bug 26208) Mark directionality of some interlanguage links.
17259 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
17260   selected when the action is "purge".
17261 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
17262   namespace tab on the mainpage of a wiki.
17263 * (bug 10158) Do not mention allowing others to contact you when the feature
17264   is disabled ($wgEnableUserEmail=false).
17265 * (bug 26733) Wrap initial table creation in transaction.
17266 * (bug 26729) Category pages should return 404 if they do not exist and have no
17267   members.
17268 * (bug 2585) Image pages should send 404 if no image, no shared image and no
17269   description page.
17270 * Custom editintro's using the editintro url parameter will no longer show
17271   <noinclude> sections on pages they are included on.
17272 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
17273   adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
17274 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
17275 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
17276   to table.wikitable instead.
17277 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
17278   better.
17279 * (bug 26716) Provide link to instructions for external editor related
17280   preferences and add a comment to the ini control file explaining what is
17281   going on.
17282 * Trying to upload a file with no extension or with a disallowed MIME type now
17283   gives the right message instead of complaining about a MIME/extension
17284   mismatch.
17285 * (bug 26809) Uploading files with multiple extensions where one of the
17286   extensions is blacklisted now gives the proper extension in the error message.
17287 * (bug 26961) Hide anon edits in watchlist preference now actually works.
17288 * (bug 19751) Filesystem is now checked during image undeletion.
17289 * Send last modified headers for Special:Recentchanges when RC patrol is
17290   enabled, but user cannot see rc patrol links.
17291 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
17292   and other multi-paged file formats.
17293 * Files with a mime type that does not match the extension are now properly
17294   thumbnailed.
17295 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
17296 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
17297   link at the top of the page.
17298 * (bug 27560) Search queries no longer fail in Walloon language.
17299 * (bug 27679) Broken embedded files with special characters are no longer
17300   double HTML escaped.
17301 * (bug 27700) The upload protection can now also be set for files that do not
17302   exist.
17303 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
17304   incorrect revision ID is passed.
17305 * Trim the form field for uploading by url to remove extra spaces which could
17306   cause confusing error messages.
17307 * (bug 27854) Http::isValidURI is way too lax.
17308 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
17309 * AbortLogin returning "ABORTED" now handled.  Also allows message identifier
17310   for "ABORTED" reason to be returned and displayed to user.
17311 * (bug 28034) uploading file to local wiki when file exists on shared repository
17312   (commons) gives spurious info in the warning message.
17313 * Usernames get lost when selecting different sorts on Special:listfiles.
17314 * (bug 14005) editing section 0 of an existing but empty page gives no such
17315   section error.
17316 * (bug 26939) Installer does not set $wgMetaNamespace.
17317 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
17318   page restrictions.
17319 * Make truncate function automatically consider length of '...' string,
17320   since length can vary by localization.
17321 * (bug 28242) Make redirects generated by urls containing a local interwiki
17322   prefix be a 301 instead of a 302.
17323 * (bug 15641) blocked administrators are now prevented from deleting or
17324   protecting their own talk page; and all blocked users are more
17325   comprehensively prevented from performing other actions.
17326 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
17327   no longer triggers unexpectedly on delete, history etc.
17328 * (bug 28417) Fix PHP notice when importing revision without a listed id.
17329 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
17330 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
17331 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
17332 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
17333   for ca, kaa.
17334 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
17335 * &apos; character entity is now allowed in wikitext.
17336 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
17337   intl installed.
17338 * (bug 28561) The css class small will no longer make nested elements even
17339   smaller.
17340 * (bug 13172) Array type exif data (like GPS) was not being extracted from
17341   images.
17342 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
17343 * (bug 16129) Transcluded special pages expose strip markers when they output
17344   parsed messages.
17345 * (bug 27249) "Installed software" table in Special:Version should always be
17346   left-to-right.
17347 * (bug 28719) Do not call mLinkHolders __destruct explicitly.
17348 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
17349 * (bug 28752) XCache doesn't work in CLI mode.
17350 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
17351 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
17352 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
17353 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
17354 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
17355   such as SQL queries shown in dberrortext and similar messages in RTL
17356   environments.
17357 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
17358   as the server name.
17359 * The View X deleted revisions is now shown again on Special:Upload.
17360 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
17361 * (bug 28868) Show total pages in the subtitle of an image on the
17362   file description page for multi-paged documents.
17363 * (bug 28883) Message names for different compression types commonly
17364   used in Tiff files.
17365 * When transcluding a special page, do not let it interpret url parameters.
17366 * (bug 28887) Special page classes are no longer re-used during 1 request.
17367 * (bug 28888) Searching for something starting with a # sign no longer tells
17368   the user a page named [[:]] already exists.
17369 * (bug 23002) Imagelinks table not updated after imagemove.
17370 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
17371   pages.
17372 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
17373 * (bug 11868) If using links to count articles, the checking will now be based
17374   on the real presence of an internal link instead of the "[[" string.
17375 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
17376 * (bug 28940) When making a thumb of an SVG, and only specifying the height
17377   make the width be the max SVG size, not the natrual width of the SVG.
17378 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
17379   Windows.
17380 * (bug 23464) File: prefixes are now chopped off during uploading.
17381 * (bug 28174) Message config-logo-help amended to not explicitly assume any
17382   LTR/RTL screen layout.
17383 * (bug 28992) Revision numbers in the patrol log are transformed in the user
17384   language.
17385 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended
17386   to the document head if it doesn't exist.
17387 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
17388   before module is parsed).
17389 * (bug 4330) External URLs without a custom title should be treated as LTR,
17390   even in RTL text.
17391 * (bug 29055) Make "don't send email on minor edits" preference apply to
17392   changes to talk page in addition to watchlist edits.
17393 * (bug 28272) Special:AllMessages should have only one "Go" button.
17394 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
17395 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
17396   as lastTabIndex().
17397 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
17398   enter an e-mail address.
17399 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
17400 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
17401 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
17402   instead of reloading the page.
17403 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect
17404   warning.
17405 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
17406 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
17407   consecutive edits by same user in included diff, but then linked to
17408   a single ungrouped diff.
17409 * Do not try to group together a page creation and edit in the RSS feed of RC.
17410 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
17411   patrol permissions.
17412 * (bug 29471) Exception no longer thrown for files with invalid date in
17413   metadata.
17414 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
17415   no longer cause timeouts.
17416 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
17417 * If the db is really screwed up, and doesn't have a recentchanges table,
17418   make the updater throw an exception instead of a fatal.
17419 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
17420   correctly.
17421 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
17422   "vectorTabs" portlets.
17423 * (bug 8556) Incorrect session failure warning on preview-on-open
17424   namespaces (categories) when combined with $wgRawHtml.
17425 * Use content language in formatting of dates in revertpage message
17426   (rollback revert edit summary) and do not adjust for user timezone.
17427 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
17428 * Make sure Backlink cache does not retrieve interwiki redirects when looking
17429   for redirects to a local page.
17430 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
17431   and wiki content, along with many other RTL and directionality improvements
17432   (such as bugs 28030, 12406, 28349).
17433 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
17434   unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
17435   left/right according to the directionality of your interface language.
17436 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
17437 * (bug 27410) The tag filter on a history page is now within a <label> element.
17438 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
17439   styling (strike/underline).
17440 * (bug 28630) Add iwlinks, langlinks, redirect to
17441   RefreshLinks::deleteLinksFromNonexistent.
17442 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
17443   are disabled for user pages.
17444 * (bug 12205) Bidirectional names in action=credits are split and displayed
17445   incorrectly when wrapped to the next line.
17446 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
17447 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
17448   not language.
17449 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
17450 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
17451   to the FCKEditor extension.
17452 * (bug 28762) Resizing to specified height broken for very thin images.
17453 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
17454   tries to subscribe to mediawiki-announce.
17455 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
17456   param is only present in hash.
17457 * Installer checked for magic_quotes_runtime instead of register_globals.
17458 * (bug 30131) XCache with variable caching disabled no longer used for variable
17459   caching (CACHE_ACCEL)
17460 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
17461   wide pano/timeline/diagram SVGs renderable at saner sizes.
17462 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
17463   Windows servers.
17464 * (bug 30074) Moving user JS subpages resulted in JS errors because
17465   #REDIRECT [[Foo]] is invalid JS.
17466 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
17467   are used.
17468 * (bug 30264) Changed installer-generated LocalSettings.php to use
17469   require_once() instead of require() for included extensions.
17470 * Tracking categories are no longer shown in footer for special pages.
17471 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e.
17472   <key>).
17473 * $wgOverrideSiteFeed no longer double escapes urls.
17474 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
17475   processing complex pages using newer versions of libxml2.
17476 * (bug 30907) Special:Unusedcategories should sort ascendingly.
17477 * (bug 28545) When using the uca-default collation, sortkey's starting with a
17478   space (U+20) will sort under an invisible header like in 1.16 rather than a
17479   U+6DE.
17480 * (bug 30192) Thumbnails of archived files are now deleted.
17481 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
17482   last full stop) to lower case).
17483 * (bug 31213) Exception thrown when trying to move file cross-namespace.
17484 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
17485   really small, and somewhat inconsistent with each other.
17486 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
17487   redirect.
17488 * (bug 31674) Can't edit watchlist if it contains special pages.
17489 * (bug 32100) Installer complains about Suhosin GET limit even if it is
17490   already set above 1024 bytes.
17492 === API changes in 1.18 ===
17493 * BREAKING CHANGE: action=watch now requires POST and token.
17494 * (bug 26339) Throw warning when truncating an overlarge API result.
17495 * (bug 14869) Add API module for accessing QueryPage-based special pages.
17496 * (bug 14020) API for Special:Unwatchedpages.
17497 * (bug 24287) Wrap API Help output at 100 characters.
17498 * Add a realname uiprop option to query=userinfo so a user's realname can be
17499   extracted.
17500 * Add a &watchuser option to ApiBlock.
17501 * (bug 26541) Generator-ise ApiQueryRecentChanges.
17502 * action=parse now correctly returns an error for nonexistent pages.
17503 * (bug 25767) Add userrights properties to allusers and users query lists.
17504 * (bug 26558) list=allusers auprop=groups does not list groups a user is
17505   automatically a member of.
17506 * (bug 26559) list=allusers auprop=rights does not match
17507   list=users usprop=rights.
17508 * (bug 26560) On allusers if limit < total number of users, last user gets
17509   duplicate.
17510 * (bug 25135) add "normalized" to action=parse.
17511 * (bug 26460) Add support for listing category members by category pageid.
17512 * (bug 26482) add a imimages param to prop=images.
17513 * (bug 26498) allow LinksUpdate with API.
17514 * (bug 26485) add a elextlinks param to prop=extlinks.
17515 * (bug 26483) add a iwtitles param to prop=iwlinks.
17516 * (bug 26484) add a lltitles param to prop=langlinks.
17517 * (bug 26480) add a pppageprops param to prop=pageprops.
17518 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
17519 * (bug 24650) Fix API to work with categorylinks changes.
17520 * Expose list of skins in meta=siteinfo.
17521 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
17522 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
17523 * Add a amtitle param to meta=allmessages.
17524 * (bug 25832) query=allimages now outputs ns/title as well.
17525 * (bug 27199) Thumbnail urls can be fetched for old files as well.
17526 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
17527   max value, API doesn't validate the input is actually an integer.
17528 * (bug 27479) API error when using both prop=pageprops and
17529   prop=info&inprop=displaytitle.
17530 * (bug 27554) Update API information text to reflect change in bug 26125.
17531 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
17532 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
17533 * (bug 27688) Simplify queries to list user block information.
17534 * (bug 27708) list=users does not have a property to return user id.
17535 * (bug 27715) imageinfo didn't respect revdelete.
17536 * (bug 27862) Useremail module didn't properly return success on success.
17537 * (bug 27590) prop=imageinfo now allows querying the media type.
17538 * (bug 27587) list=filearchive now outputs full title info.
17539 * (bug 27018) Added action=filerevert to revert files to an old version.
17540 * (bug 27897) list=allusers and list=users list hidden users.
17541 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
17542 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
17543 * (bug 28010) Passing a non existent user to list=users gives internal error.
17544 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
17545   groups if a user doesn't have explicit groups.
17546 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
17547   in auto generated document, as it is on mediawiki.org.
17548 * (bug 27182) API: Add filter by prefix for meta=allmessages.
17549 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
17550 * (bug 27340) API: Allow listing of "small" categories.
17551 * (bug 27342) Add audir param to list=allusers.
17552 * (bug 27203) add fato param to list=filearchive.
17553 * (bug 27341) Add drto param to list=deletedrevs.
17554 * (bug 26630) Add API for Special:ActiveUsers.
17555 * (bug 27020) API: Allow title prefix search of logevents (only when not in
17556   miser mode).
17557 * (bug 26629) add Special:MIMESearch to API.
17558 * (bug 27585) add pagecount to list=filearchive.
17559 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
17560   is missing.
17561 * (bug 27343) Add parseddescription to list=filearchive.
17562 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
17563   list=users&usprop=groups.
17564 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
17565   the general site info results.
17566 * (bug 16288) API: consider making closure status of wikis more clear
17567   with meta=siteinfo.
17568 * (bug 27589) list=allimages&aiprop=archivename is useless.
17569 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
17570   by using ApiQueryImageInfo.
17571 * (bug 28226) prop=extlinks&eloffset should be an integer.
17572 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
17573   real timestamp field.
17574 * API upload errors may now return the parameter that needs to be changed and
17575   a sessionkey to fix the error.
17576 * (bug 28249) allow dupes in meta=allmessages&amargs.
17577 * (bug 28263) cannot import xml with the API, when have not "import" user
17578   right, but "importupload".
17579 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
17580 * (bug 28394) Set forgotten parameters types in ApiUnblock.
17581 * (bug 28395) Set forgotten parameters types in ApiParse.
17582 * (bug 28368) add hint for multipart/form-data to API information of
17583   action=import&xml=.
17584 * (bug 28391) action=feedwatchlist&allrev should be a bool.
17585 * (bug 28364) add registration date to meta=userinfo.
17586 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
17587   PARAM_TYPE is not set.
17588 * (bug 27712) add parent_id to list=deletedrevs.
17589 * (bug 28455) Add 'toponly' to recentchanges API module.
17590 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
17591 * (bug 28586) YAML: strings that are the same as boolean literals.
17592 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
17593 * YAML API output is now 1.2 compliant, using JSON as the formatter.
17594 * (bug 28672) give information about misermode on API.
17595 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
17596 * (bug 26882) Allow listing of indefinite protections with the API.
17597 * (bug 27344) add drprefix param to list=deletedrevs.
17598 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
17599 * (bug 28238) paraminfo: output both limits for multi param.
17600 * (bug 27179) API: List of extension tags through meta=siteinfo.
17601 * Get a list of function hooks through meta=siteinfo.
17602 * Get a list of all subscribed hooks, and those subscribers.
17603 * (bug 28225) Allow hiding of user groups in list=allusers.
17604 * (bug 27185) API: Add Special:ComparePages.
17605 * (bug 28265) allow outputting of comments for action=expandtemplates.
17606 * (bug 27790) Add query type for querymodules to output of ApiParamInfo.
17607 * (bug 28963) Add langbacklinks query module to the api.
17608 * (bug 27593) API should return error message when sha1/sha1base36 is invalid.
17609 * (bug 28578) API's parse module should not silently override invalid
17610   title inputs.
17611 * (bug 20699) Watchlist API should list log-events.
17612 * (bug 29070) Require a token in API action=watch.
17613 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
17614 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
17615 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
17616 * (bug 25734) API: Possible issue with revids validation.
17617 * (bug 28002) Internal error in ApiFormatRaw::getMimeType.
17618 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
17619 * (bug 28392) Mark action=undelete&timestamps as type "timestamp".
17620 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
17621 * (bug 27595) sha1 search of list=filearchive does not work.
17622 * (bug 26763) Make RSS/Atom of user contributions more visible.
17623 * (bug 25133) Allow redirects also for action=parse&pageid.
17624 * (bug 29745) Fatal error in API search.
17625 * (bug 29476) API returns page title instead of sectiontitle for
17626   srprop=sectiontitle.
17627 * Correct the documentation of srprop properties.
17628 * (bug 28817) Add reference help page link to API Modules.
17629 * (bug 29935) Improve formatting of examples in ApiParamInfo.
17630 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
17631 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
17632   parameter is set.
17633 * (bug 29392) Setting the start or end parameter now works with lists blocks,
17634   categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
17635   and watchlist in Postgres.
17637 === Languages updated in 1.18 ===
17639 MediaWiki supports over 330 languages. Many localisations are updated
17640 regularly. Below only new and removed languages are listed, as well as
17641 changes to languages because of Bugzilla reports.
17643 * Angika (anp) (new).
17644 * Brahui (brh) (new).
17645 * Central Dusun (dtp) (new).
17646 * Jamaican Creole English (jam) (new).
17647 * Khowar (khw) (new).
17648 * Liv (liv) (new).
17649 * Kichwa (qug) (new).
17650 * Tokipona (tp) (removed) 'tokipona' is still  valid.
17651 * (bug 17160) Gender specific display text for User namespace.
17652 * Link trail added for sl and sh.
17653 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
17654 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
17655 * (bug 27385) Set Polish $namespaceGenderAliases.
17656 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
17657 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
17658 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
17659 * (bug 28040) Turkish: properly lower case 'I' to 'i' (dotless i) and
17660   uppercase 'i' to 'I' (dotted i).
17661 * Conversion script between Syllabics and Latin for the Inuktitut language.
17662 * Date formats for Indonesian (id) updated.
17663 * Bhojpuri (bho) (renamed from "bh").
17664 * (bug 29031) When translating block log entries, indefinite, infinite, and
17665   infinity are now considered the same.
17666 * Aromanian (rup) (renamed from "rua-rup").
17667 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
17668   (Devanagari) (ks-deva). Defaults to ks-arab.
17669 * (bug 30864) Use bengali numerals for <ol> for Assamese.
17670 * (bug 30817) Restored linktrail for kk (Kazakh).
17671 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
17672 * (bug 30846) New LanguageOs class.
17674 === Other changes in 1.18 ===
17675 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
17676 * (bug 28556) Upload support for MacBinary files has been removed (Used by
17677   Internet Explorer 5 for Mac OS 9).
17678 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
17679   set for all wikis. This was already the case for 'wgServer'.
17681 == MediaWiki 1.17 ==
17683 == MediaWiki 1.17.5 ==
17684 2012-06-12
17686 This is a security release of the MediaWiki 1.17 branch.
17688 === Summary of selected changes in 1.17 ===
17690 Selected changes since MediaWiki 1.16 that may be of interest:
17692 * A new installer has been introduced. It has a wizard-style interface which is
17693   translated into many languages. Many shortcomings in the old installer were
17694   addressed with this rewrite. Note that it is no longer required for the config
17695   directory to be made writable by the webserver. Instead the generated
17696   LocalSettings.php file is offered as a download, which you must then upload
17697   to the wiki's base directory.
17699 * ResourceLoader, a new framework for delivering client-side resources such as
17700   JavaScript and CSS, has been introduced. These resources are now delivered
17701   through the new entry point script "load.php", instead of as static files
17702   served directly by the web server. This allows minification, compression and
17703   client-side caching to be used more effectively, which should provide a net
17704   performance improvement for most users.
17706 * Category sorting has been improved.
17707 ** Sorting is now case insensitive.
17708 ** Sub-categories, pages and files can now be paged separately.
17709 ** When several pages are given the same sort key, they sort by their
17710    names instead of randomly.
17712 * The lowest supported version of PHP is now 5.2.3. If necessary, please
17713   upgrade PHP prior to upgrading MediaWiki.
17715 === Changes since 1.17.4 ===
17717 * (bug 36938) Correctly escape uselang attribute to prevent xss
17718 * Expanded Blacklist for SVG Files
17720 === Changes since 1.17.3 ===
17722 * (bug 35961) Hash comparison should always be strict.
17723 * Fix broken email confirmation expiration caused by MWCryptRand changes.
17724 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
17725   on line 598.
17727 === Changes since 1.17.2 ===
17729 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
17730   core parser functions which operate on strings, such as padleft.
17731 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
17732   parameter present.
17733 * (bug 34907) Fixed exposure of tokens through load.php that could have
17734   facilitated CSRF attacks.
17735 * (bug 35317) CSRF in Special:Upload.
17737 === Changes since 1.17.1 ===
17738 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
17739   pollution.
17740 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
17742 === Changes since 1.17.0 ===
17744 * (bug 29535) Added missing Creative Commons CC0 icon.
17745 * (bug 29726) Fixed failure to load internationalization messages in
17746   client-side scripts on WebKit-based browsers.
17747 * Fixed a bug in message transformation where the previous language could leak
17748   into later transformations in the UI language.
17749 * (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
17750 * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
17751   work at all since 1.17 beta 1.
17752 * (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
17753   multiple dots, was broken by the fix for bug 28840.
17754 * In the maintenance script purgeList.php, fixed a fatal error when a page
17755   title is given, instead of a URL.
17756 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
17757 * Installer checked for magic_quotes_runtime instead of register_globals.
17758 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
17759   wide pano/timeline/diagram SVGs renderable at saner sizes.
17760 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
17761   tries to subscribe to mediawiki-announce.
17762 * Installer checked for magic_quotes_runtime instead of register_globals
17763 * (bug 30131) XCache with variable caching disabled no longer used for variable
17764   caching (CACHE_ACCEL)
17765 * (bug 30264) Changed installer-generated LocalSettings.php to use
17766   require_once() instead require() for included extensions.
17767 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
17768   warnings/notices to be thrown
17769 * (bug 30907) Special:Unusedcategories should sort ascendingly.
17770 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
17771   Windows servers.
17772 * Hardcoded NLS_NUMERIC_CHARACTERS for Oracle DB to prevent type conversion
17773   errors.
17774 * Fixed recentchanges FK violation on page delete and cache purge error in
17775   updater for Oracle DB.
17776 * (bug 32276) Skins were generating output using the internal page title which
17777   would allow anonymous users to determine whether a page exists, potentially
17778   leaking private data. In fact, the curid and oldid request parameters would
17779   allow page titles to be enumerated even when they are not guessable.
17780 * (bug 32616) action=ajax requests were dispatched to the relevant internal
17781   functions without any read permission checks being done. This could lead to
17782   data leakage on private wikis.
17784 === Changes since 1.17.0rc1 ===
17786 * Fixed syntax error in generated LocalSettings.php when a non-default user
17787   rights profile is chosen.
17788 * (bug 29399) Fixed PostgreSQL installation when the DB user for installation
17789   is the same as the one for web access.
17790 * (bug 29233) Fixed failover for DB slave servers. When a DB slave went down,
17791   an error was immediately shown to the user, instead of trying another slave.
17792   Was broken since 1.17 beta 1.
17793 * (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a
17794   redirect.
17795 * (bug 29408) Fixed uploads of files with MIME types that aren't detected by
17796   MediaWiki.
17797 * Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because
17798   using the DEFAULT value ('') in DML broke Oracle backend as it treats an
17799   empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL
17800   fields.
17802 === Changes since 1.17 beta 1 ===
17804 * Fixed warning about missing file "password.js".
17805 * When installing on MySQL, don't attempt to create a new database user if the
17806   same user is used for installation and web access.
17807 * Fixed SQL query errors in queries with table aliases.
17808 * (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which
17809   ensures that when database replication is used, the new version is seen by
17810   the user immediately after they create or edit an article.
17811 * (bug 28845) Allow PostgreSQL installation using a non-root user account which
17812   has role creation abilities.
17813 * When installing on PostgreSQL and the install account is the same as the web
17814   account, check to make sure that the account has suitable privileges in the
17815   mediawiki schema.
17816 * (bug 28172) Fixed error in PostgreSQL installation when creating the wiki
17817   sysop account.
17818 * Fixed an issue with the Oracle installer in cases where the user is different
17819   to the database name.
17820 * Added "unblockself" to the list of available rights.
17821 * In the installer, fixed the "user rights profile" option, it never worked.
17822 * (bug 29117) Fixed Hebrew localisation of the installer.
17823 * (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS
17824   on Internet Explorer 6 due to a file extension in the query string) by
17825   reducing the number of URLs that are blocked, and by redirecting the request
17826   to a safer URL where possible instead of blocking it.
17827 * (bug 28812) Fixed documentation of API action=parse.
17828 * (bug 28979) Fixed styling of <abbr> and <acronym>.
17829 * Fixed the error message displayed when you try to create an account by email,
17830   but an email address is not given.
17831 * Fixed JS error due to missing dependency for jquery.suggestions.
17832 * Exposed $wgExtensionAssetsPath in JavaScript.
17833 * (bug 28738) Made ResourceLoader support environments with small URL length
17834   limits. The length limit can be configured via
17835   $wgResourceLoaderMaxQueryLength, and this is set automatically in the
17836   generated LocalSettings.php when the php.ini variable
17837   "suhosin.get.max_value_length" is set. When a URL exceeds this limit, the
17838   request is split up. Also, reduced the average length of load.php URLs by
17839   using a more compact parameter format.
17840 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
17841 * (bug 25124) Respect $wgStyleDirectory in ResourceLoader.
17842 * Allow installation when no HTTP client is available, don't throw an exception.
17843 * (bug 27465) Fix metadata extraction for SVG files using unusual namespace
17844   names.
17845 * (bug 29174) Fix regression in upload-by-URL: uploading files larger than the
17846   PHP memory limit should work again.
17847 * Fixed the display of comments in the new user log.
17848 * (bug 28237) When installing extensions using the web-based installer, create
17849   any necessary database tables.
17850 * (bug 28983) Fixed automated installation of extensions that overwrite $path.
17851 * Fixed error caused by missing magic words.
17852 * Fixed breakage of article editing in PostgreSQL due to text search
17853   configuration errors.
17854 * Fixed the HTTPS client used when Curl is not available. This avoids an error
17855   during install about failure of the mediawiki-announce subscription.
17856 * (bug 28162) When installing to PostgreSQL, respect the "database port" input,
17857   it was ignored.
17859 === Configuration changes in 1.17 ===
17861 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
17862   to new users log.
17863 * (bug 22858) $wgLocalStylePath is by default set to the same value as
17864   $wgStylePath but should never point to a different domain than the site is
17865   on, allowing skins to use .htc files which are not cross-domain friendly.
17866 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
17867   been turned into $wgDeletedDirectory.
17868 * $wgDeletedDirectory has been added to specify what directory to place deleted
17869   uploads in.
17870 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
17871   normal $wgDBport.
17872 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false.  This
17873   provides more sensible sorting behavior for categories.
17874 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
17875   $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon,
17876   $wgZhdaemonHost and $wgZhdaemonPort.
17877 * (bug 24408) The include_path is not modified in the default LocalSettings.php
17878 * $wgVectorExtraStyles was removed, and is no longer in use.
17879 * Removed $wgUpdates for database updates; extensions should use
17880   DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook.
17881 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
17882   available as input for other configuration items, either.
17883 * It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
17884 * It's no longer necessary to set $wgCacheEpoch to the file modification time
17885   of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
17886   automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
17887   the default).
17888 * $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright']
17889   should be used instead.
17890 * $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
17891   If you need this functionality, you should use the BlockIp hook to filter and
17892   reject such blocks.
17893 * $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum
17894   (32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1
17895   address at a time.
17897 === New features in 1.17 ===
17899 * (bug 10183) Users can now add personal styles and scripts to all skins via
17900   User:<name>/common.css and /common.js (if user css/js is enabled).
17901 * (bug 22748) Add anchors on Special:ListGroupRights.
17902 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
17903   apply the names of the individual files within the gallery.
17904 * Future-proof redirection to fragments in Gecko, so things work a little nicer
17905   if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
17906 * Support git:// and mms:// protocols by default for external links.
17907 * (bug 15810) Blocked admins can no longer unblock themselves without the
17908   'unblockself' permission (which they have by default).
17909 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
17910   changes list.
17911 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
17912   viewing contributions of a blocked IP address.
17913 * (bug 22474) {{urlencode:}} now takes an optional second parameter for type of
17914   escaping.
17915 * Special:Listfiles now supports a username parameter.
17916 * Special:Random carries over query string parameters.
17917 * (bug 23206) Add Special::Search hook for detecting successful "Go".
17918 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
17919   is provided on the Upload form.
17920 * (bug 22647) Add category details in search results.
17921 * (bug 23276) Add hook to Special:NewPages to modify query.
17922 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
17923 * Add accesskey 'b' and tooltip to the summary field of edit mode.
17924 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
17925 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
17926   watch links, not just to watch the page the link is on.
17927 * (bug 20976) "searchmenu-new-nocreate" message now displayed when there
17928   is no title match in search and the user has no rights to create pages.
17929 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
17930 * (bug 22844) Added support for WinCache object caching (for IIS).
17931 * (bug 23580) Add two new events to LivePreview so that scripts can be notified
17932   about the beginning and finishing of LivePreview actions.
17933 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
17934 * (bug 23733) Add IDs to messages used on CSS/JS pages.
17935 * Show validity period of the login cookie in Special:UserLogin and
17936   Special:Preferences.
17937 * Interlanguage links display the page title in their tooltip.
17938 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
17939 * (bug 4597) Provide support in Special:Contributions to show only "current"
17940   contributions
17941 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
17942 * (bug 21477) \& can now be used in <math>
17943 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
17944 * (bug 21475) \mathtt and \textsf can now be used in <math>
17945 * texvc is now run via ulimit4.sh, to limit execution time.
17946 * SQLite now supports $wgSharedDB.
17947 * (bug 8507) Group file links by namespace:title on image pages.
17948 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
17949   well-formed XML.
17950 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
17951 * Added scriptExtension setting to $wgForeignFileRepos.
17952 * ForeignApiRepo uses scriptDirUrl if apiBase not set.
17953 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
17954   client wikis.
17955 * (bug 14685) Double underscore magic word usage is now tracked in the
17956   page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
17957   {{DISPLAYTITLE}}
17958 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
17959   "mw-ipb-needreblock"
17960 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
17961 * (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
17962   input.
17963 * (bug 21503) There's now a "reason" field when creating account for other
17964   users.
17965 * (bug 24418) action=markpatrolled now requires a token.
17966 * A variety of category sort-related fixes, including:
17967 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
17968 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
17969 ** When several pages are given the same sort key, they sort by their names
17970    instead of randomly.
17971 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
17972 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements.
17973 * (bug 11005) Add CSS class to empty pages in Special:Newpages.
17974 * The parser cache is now shared amongst users whose different settings aren't
17975   used in the page.
17976 * Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
17977 * (bug 24007) Diff pages now mention the number of users having edited
17978   intermediate revisions.
17979 * Added new hook GetIP.
17980 * Special:Version now displays whether a SQLite database supports full-text
17981   search.
17982 * TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
17983   for versioning.
17984 * Maintenance scripts get a --memory-limit option to override defaults (which
17985   is usually to set it to -1 to disable the limit).
17986 * (bug 25397) Allow uploading (not displaying) of WebP images, disabled
17987   by default.
17988 * (bug 23194) Special:ListFiles now has thumbnails.
17989 * Use hreflang to specify canonical and alternate links, search engine friendly
17990   when a wiki has multiple variant languages.
17991 * (bug 19593) Specifying --server in now works for all maintenance scripts.
17992 * Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
17993 * (bug 10541) Front/backend separation of installation/upgrade code.
17994 * (bug 10596) Allow installer to enable extensions already in extensions folder.
17995 * (bug 20627) Installer should be in languages other than English.
17996 * Support for metadata in SVG files (title, description).
17997 * Special:Search: Add CSS classes to 'none found' and 'create link' messages.
17998 * Add CSS classes (including namespace and pagename) to the enhanced recent
17999   changes/watchlist entries.
18000 * (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
18001   customizable.
18002 * Added CSS print pagination to the print stylesheets.
18003 * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
18004   file repositories.
18005 * When viewing a redirect, the redirect arrow and redirection target are both
18006   wrapped in a div that has the class "redirectMsg" so that the redirection
18007   arrow can be customized with CSS.
18008 * (bug 21911) Hard coded limit for long page warning removed. New message
18009   [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
18010   Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
18011   number of the textsize in Byte.
18012 * (bug 3276) Give image <gallery>s fluid width.
18013 * Added uploads link to page subtitle in Special:Contributions.
18014 * Added Special:Myuploads special page that redirects to Special:Listfiles.
18015 * The footerlinks used in Monobook/Vector/Modern are now part of common skin
18016   code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
18017 * Special wrapping setups can now define MW_CONFIG_FILE to load a config file
18018   other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
18019   some cases where MW_CONFIG_CALLBACK will not work.
18020 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
18021   pages to be queried via the API and Special:ProtectedPages, and allowing
18022   disabling upload protection by removing it from $wgRestrictionTypes.
18023 * The name attribute of HTMLForm fields can now be overridden by passing a
18024   'name' key in the descriptor array.  Hidden field names are now treated
18025   consistently with other fields and, by default, prefixed with 'wp'.
18026 * (bug 27402) Add support for disabling MWSuggest.
18027 * (bug 26563) Add bytes changed per revision for stub and full article dumps.
18028 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
18029   look at when finding metadata to prevent excessive resource usage.
18030 * (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
18031   without having to move LocalSettings.php
18032 * Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
18033   in wikitext.
18034 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
18035   options.
18036 * Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
18037   preferences; which can improve page loading speed.
18038 * Added $wgSQLMode for setting database SQL modes - either performance (null)
18039   or other reasons (such as enabling stricter checks).
18040 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
18041   which causes Vector to render the variants drop-down menu with a label
18042   showing the current variant name. This is off by default, pending further
18043   research into its user experience implications.
18044 * The upload link for missing files can now be set separately from the
18045   navigation link with $wgUploadMissingFileUrl.
18046 * $wgAdditionalMailParams added to allow setting extra options to mail() calls.
18047 * Added $wgSecureLogin to optionally login using HTTPS.
18048 * (bug 25728) Added $wgPasswordSenderName to make the name associated
18049   with $wgPasswordSender configurable.
18050 * (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
18051   the footers of skins.
18052 * $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
18053   used for the file cache. Default value is 2, which matches former behavior.
18055 === Bug fixes in 1.17 ===
18057 * (bug 17560) Half-broken deletion moved image files to deletion archive
18058   without updating database.
18059 * (bug 22666) Submitting user block form with an invalid user name no longer
18060   throws an error.
18061 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
18062   settings changed.
18063 * (bug 22606) The body of e-mail address confirmation message is now different
18064   when the address changed.
18065 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
18066 * (bug 5210)  Preload parser now parses <noinclude>, <includeonly> and
18067   redirects.
18068 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
18069   the URL contains a colon.
18070 * (bug 22353) Categorised recent changes now works again.
18071 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
18072   now only displayed when relevant.
18073 * (bug 22772) {{#special:}} parser function now works with subpages.
18074 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
18075 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
18076 * (bug 22903) Revdelete log entries now show in the user preferred language.
18077 * (bug 22905) Correctly handle <abbr> followed by ISBN.
18078 * (bug 22940) Namespace aliases pointing to main namespace don't work.
18079 * (bug 15810) Blocked admins can no longer block/unblock other users.
18080 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
18081   correctly set.
18082 * (bug 14952) Page titles are renormalized after html entities are removed so
18083   that links with non-NFC character references work correctly.
18084 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
18085   anonymous users instead of null.
18086 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
18087 * (bug 21520) Anonymous previews now also gives a warning about not being
18088   logged in (anonpreviewwarning).
18089 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
18090 * (bug 23024) Special:ListFiles now escapes file names correctly.
18091 * (bug 22867) "View source" tab is now only displayed if there's source text.
18092 * (bug 19393) Feeds now format dates in user language rather than content
18093   language.
18094 * (bug 22852) "Served in" comment is now the time used to cache a single page
18095   when using rebuildFileCache.php
18096 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
18097   parameter no longer makes the page displayed as being the redirect target.
18098 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
18099 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
18100 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
18101 * (bug 23017) Special:Disambiguations now list pages in content namespaces
18102   rather than only main namespace.
18103 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
18104   frames, and $wgMaxImageArea against the size of the first frame, rather than
18105   the other way around.  Both now default to 12.5 megapixels.  Also, images
18106   exceeding $wgMaxImageArea can still be embedded at original size.
18107 * (bug 23078) "All public logs" option on Special:Log is now always the first
18108   item.
18109 * (bug 16817) Group names in user rights log are now singular and in lowercase.
18110 * Special:Preferences no longer crashes if the wiki default date formatting
18111   style is not valid for the user's interface language.
18112 * (bug 23167) Check the watch checkbox by default if the watchcreations
18113   preference is set.
18114 * Maintenance script cleanupTitles is now able to fix titles stored
18115   in a negative namespace (which is invalid).
18116 * (bug 19858) Removed obsolete <big> in interface messages.
18117 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
18118   displays incorrect tabs.
18119 * (bug 23190) Improved math representation for text browsers.
18120 * (bug 22015) Improved upload-by-url error handling and error display.
18121 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
18122 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
18123   work.
18124 * (bug 23075) Correct MediaTransformError default width in gallery.
18125 * (bug 16487) The Anonymous user account used on Postgres is no longer
18126   displayed on Special:Listusers.
18127 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
18128   to enhance preference grouping.
18129 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
18130   correct link.
18131 * (bug 23284) Times are now rounded correctly.
18132 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
18133 * (bug 18408) All required permissions for uploading (upload, edit, create)
18134   are now checked when loading Special:Upload. Toolbar link for Special:Upload
18135   is no longer shown if the user does not have the required permissions.
18136 * (bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
18137 * (bug 23241) License selector should be disabled during upload of a new
18138   version.
18139 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
18140 * The pipe | character in urls is now escaped.
18141 * (bug 23422) mp3 files can now be moved.
18142 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
18143   MediaWiki:Subject-preview when previewing summary.
18144 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
18145   new variable {{REVISIONMONTH1}} when unpadded version is needed.
18146 * Special:Userrights didn't recognize user as changing his/her own rights if
18147   user did not capitalize first letter of username.
18148 * (bug 23507) Add styles for printing wikitables.
18149 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
18150   as Opera 8.
18151 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
18152   account upload rights.
18153 * (bug 1347) Render \phi in math using images, in order to create consistent
18154   and correct render results.
18155 * (bug 16573) Render \epsilon in math using images, in order to create
18156   consistent and correct render results.
18157 * (bug 22541) Support image redirects when using ForeignAPIRepo.
18158 * (bug 22967) Make edit summary length cut-off behave correctly for multibyte
18159   characters.
18160 * (bug 8689) Long numeric lines no longer kill the parser.
18161 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
18162   the $noRedir parameter is set to true.
18163 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
18164 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php.
18165 * (bug 23797) Xml::input() now allows '0' for the value parameter.
18166 * (bug 23747) Make sure that on History pages, the RevDel button is not
18167   accidentally activated when hitting enter.
18168 * (bug 23845) Special:ListFiles now uses correct file names without underscores.
18169 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration >
18170   0.
18171 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
18172 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
18173   a fatal error.
18174 * (bug 23465) Don't ignore the predefined destination filename on
18175   Special:Upload after following a red link.
18176 * (bug 23642) Recognize mime types of MS OpenXML documents.
18177 * (bug 22784) Normalise underscores and spaces in autocomments.
18178 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings.
18179 * (bug 24022) Only check file extensions on the uploadpage when needed.
18180 * (bug 24076) Recognize Office 2003 files with OpenXML trailers.
18181 * (bug 24244) Updated comments in DefaultSettings.php to reflect
18182   Image: --> File: namespace rename.
18183 * Make wfTimestamp recognize negative unix timestamp values.
18184 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
18185   disabled.
18186 * (bug 23293) Do not show change tags when Special:RecentChanges(linked) or
18187   Special:Newpages is transcluded into another page as it messes up the page.
18188 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
18189   throw fatal errors.
18190 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
18191   useful error message.
18192 * Uploading to a protected title will allow the user to choose a new name
18193   instead of showing an error page.
18194 * (bug 24425) Use Database::replace instead of delete/insert in
18195   SqlBagOStuff::set to avoid query errors about duplicate keynames.
18196 * (bug 15470) First letters of filenames are always capitalized by upload JS.
18197 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules.
18198 * (bug 21052) Fix link color for stubs in NewPages.
18199 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
18200   longer pollutes the parser cache.
18201 * (bug 17031) Correct which characters the parser allows in tag attributes (a
18202   letter, colon or underscore followed by 0 or more letters, numbers, colons,
18203   underscores, hyphens, and/or periods).
18204 * Save 200 useless queries on each category page view.
18205 * Shell commands will now work on Linux in filesystems mounted noexec.
18206 * (bug 24804) Corrected commafying in Polish and Ukrainian.
18207 * "Difference between pages" is now displayed instead of "Difference between
18208   revisions" on diffs when appropriate.
18209 * (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
18210   a repository due to missing 'name' attribute from the API list=allimages.
18211 * (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
18212   make wfTempDir() return a sane value for Windows on worst-case.
18213 * (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
18214   memory usage when such an ImageMagick is used for scaling.
18215 * Disable multithreaded behavior in recent ImageMagick, to avoid a deadlock
18216   when a resource limit such as $wgMaxShellMemory is hit.
18217 * (bug 24981) Allow extensions to access SpecialUpload variables again.
18218 * (bug 20744) Wiki forgets about an uploaded file.
18219 * (bug 17913) Don't show "older edit" when no older edit available.
18220 * (bug 6204) TOC not properly rendered when using $wgMaxTocLevel.
18221 * (bug 24977) The accesskey in history page now lead directly to the diff
18222   instead of alternating focus between the two buttons.
18223 * (bug 24987) Special:ListUsers does not take external groups into account.
18224 * (bug 20633) update.php has mixed language output.
18225 * SQLite system table names are now never prefixed.
18226 * (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
18227   parameter.
18228 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16).
18229 * (bug 25367) wfShellExec() is more explicit when failing due to disabled
18230   passthru().
18231 * (bug 25462) Fix double-escaping for section edit link tooltips.
18232 * action=raw was removed for Special:Statistics. This information is still
18233   available via the API.
18234 * (bug 23934) Groups defined in $wgRevokePermissions but not in
18235   $wgGroupPermissions now appear on Special:ListGroupRights.
18236 * (bug 23923) Special:Prefixindex no longer shows results if nothing was
18237   requested.
18238 * (bug 22308) Search now finds text in default main page immediately after
18239   setup.
18240 * (bug 25697) Make sure empty lines render in diff view.
18241 * Use an actual minus sign in diff views, instead of a hyphen.
18242 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles.
18243 * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates.
18244 * (bug 25642) A exception is now thrown instead of a fatal error when using
18245   $wgSMTP without PEAR mail package.
18246 * (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
18247 * (bug 11013) Database driver detection needs rewriting for robustness.
18248 * (bug 13409) Installer prompts could use clarification--now has help boxes.
18249 * (bug 16902) Installer spews warnings when exec() and dl() are not available.
18250 * (bug 19129) Only show MyISAM/InnoDB when supported.
18251 * (bug 17762) Only show other e-mail options when e-mail is globally enabled.
18252 * Cache multiple sizes of InstantCommons thumbnails.
18253 * (bug 25488) Disallowing anonymous users to read pages no longer throws error
18254   on discussion pages with vector as default skin.
18255 * (bug 24833) Files name in includes/diff/ are now less confusing.
18256 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores.
18257 * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
18258   parameters.
18259 * (bug 25175) HTML file cache now honor $wgCacheDirectory if
18260   $wgFileCacheDirectory is not set.
18261 * (bug 13353) Diff3 version checks were too strict, did not detect working
18262   diff3.
18263 * (bug 25843) Links to special pages using link= attribute on images are now
18264   normalised like normal links to special pages.
18265 * (bug 21364) External links using link= attribute on images now respect
18266   $wgExternalLinkTarget.
18267 * (bug 17789) Added a note to the total views on Special:Statistics saying that
18268   is doesn't count non-existing pages and special pages.
18269 * (bug 17996) HTTP redirects are now combined when requesting a special page.
18270 * (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
18271   some cases.
18272 * (bug 25670) wfFindFile() now checks the namespace of the given title, only
18273   "File" and "Media" are allowed now.
18274 * (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
18275   with php extension that defines same class.
18276 * (bug 20591) There's now a different message on Special:MovePage when
18277   $wgFixDoubleRedirects is set to false.
18278 * Fixed PHP warnings when updating a broken MySQL database.
18279 * (bug 26023) Corrected deleteBacth.php's documentation.
18280 * (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
18281 * Show "skin does not exist error" only when the skin is inputted in the wrong
18282   case.
18283 * (bug 26164) Potential html injection when the database server isn't available.
18284 * (bug 26160) Upload description set by extensions are not propagated.
18285 * (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
18286   absolute URLs in the sitemap index (as required e.g. by Google).
18287 * Partial workaround for bug 6220: at least make files on shared repositories
18288   show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.
18289 * rebuildFileCache.php no longer creates inappropriate cache files for
18290   redirects.
18291 * (bug 25512) Subcategory list should not include category prefix for members.
18292 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
18293   treated as wikitext on preview.
18294 * Page existence is now not revealed (in the colour of the tabs) to users who
18295   cannot read the page in question.
18296 * (bug 22753) Output from update.php is more clear when things changed, entries
18297   indicating nothing changed are now all prefixed by "..."
18298 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
18299 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
18300   as "Permitted file types" on the upload form.
18301 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
18302 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
18303   selected when the action is "purge".
18304 * (bug 26733) Wrap initial table creation in transaction.
18305 * (bug 26208) Mark directionality of some interlanguage links.
18306 * (bug 26716) Provide link to instructions for external editor related
18307   preferences.
18308 * (bug 26961) Hide anon edits in watchlist preference now actually works.
18309 * (bug 1379) Installer directory conflicts with some hosts' configuration panel.
18310 * (bug 27781) Installer does not warn about 5.1.x. Added a compatibility
18311   function for array_key_exists().
18312 * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default).
18313 * (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
18314   are also set.
18315 * (bug 26223) Concurrently moving an article to different titles leaks a
18316   redirect revision with no page.
18317 * (bug 15641) Fixed permissions checks in Special:Import which allowed users
18318   without the 'import' permission to import pages from configured import
18319   sources.
18320 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
18321   adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
18322 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
18323 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
18324   better.
18325 * (bug 26716) Provide link to instructions for external editor related
18326   preferences and add a comment to the ini control file explaining what is going
18327   on.
18328 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
18329   to table.wikitable instead.
18330 * (bug 27560) Search queries no longer fail in walloon language.
18331 * (bug 27700) The upload protection can now also be set for files that do not
18332   exist.
18333 * (bug 28034) uploading file to local wiki when file exists on shared repository
18334   (commons) gives spurious info in the warning message.
18335 * Usernames get lost when selecting different sorts on Special:listfiles.
18336 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
18337   page restrictions.
18338 * (bug 28242) Make redirects generated by urls containing a local interwiki
18339   prefix be a 301 instead of a 302.
18340 * (bug 28568) Entries in the iwlinks table are now removed on page deletion.
18341 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
18342 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
18343 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
18344   intl installed.
18345 * (bug 26729) Category pages should return 404 if they do not exist and have no
18346   members.
18347 * (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1
18348   in header of response.
18349 * (bug 27634) TOC title appears in wrong language.
18350 * (bug 27761) Fix regression: pages with Esperanto titles containing convertible
18351   character sequences became unreachable.
18352 * (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs.
18353 * (bug 27465) SVG thumbnail generation.
18354 * (bug 27467) preload can leave UNIQ.
18355 * (bug 27539) Allow attributes beginning with a digit in wikitext tag
18356   parameters.
18357 * (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken
18358   in 1.17.
18359 * (bug 27333) Fix repetitive last-seen time queries on page history.
18360 * (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes
18361   processing of JSON return values for ForeignAPIRepo when native json module
18362   not present.
18363 * (bug 25675) Fix search suggestions for Special: pages with spaces.
18364 * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting
18365   to strings.
18366 * (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler.
18367 * (bug 27302) Don't append the current timestamp for user/site modules when no
18368   user/site JS/CSS is present.
18369 * (bug 27016) dumpTextPass.php now consider the "output" parameter.
18370 * (bug 22606) don't send the "someone registred an account" message when setting
18371   email address (i.e. old one empty) in user preferences.
18372 * (bug 26458) Section edit links appear on pages that user does not have right
18373   to edit.
18374 * (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition.
18375 * (bug 16886) Sister projects box moves down the extract of the first result
18376   in IE 7.
18377 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
18378   parameter.
18380 === API changes in 1.17 ===
18382 * BREAKING CHANGE: action=patrol now requires POST.
18383 * BREAKING CHANGE: patrol token is no longer the same as edit token.
18384 * BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead
18385   of integers.
18386 * BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually
18387   enforce validation on the input values in addition to giving a warning.
18388   Also add flag to enforce (die) if integer out of range.
18389 * (bug 24650) Fix API to work with categorylinks changes.
18390 * action=parse now correctly returns an error for nonexistent pages.
18391 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
18392 * (bug 26560) On allusers if limit < total number of users, last user gets
18393   duplicated.
18394 * (bug 27715) imageinfo didn't respect revdelete.
18395 * (bug 27479) API error when using both prop=pageprops and
18396   prop=info&inprop=displaytitle.
18397 * (bug 27862) Useremail module didn't properly return success on success.
18398 * (bug 27590) prop=imageinfo now allows querying the media type.
18399 * (bug 27587) list=filearchive now outputs full title info.
18400 * (bug 27897) list=allusers and list=users list hidden users.
18401 * (bug 22738) Allow filtering by action type on query=logevent.
18402 * (bug 22764) uselang parameter for action=parse.
18403 * (bug 22944) API: watchlist options are inconsistent.
18404 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
18405 * (bug 22290) prop=revisions now outputs "comment" field even when comment
18406   is empty, for consistency with list=recentchanges.
18407 * (bug 19721) API action=help should have a way to just list for a specific
18408   module.
18409 * (bug 23458) Add support for pageid parameter to action=parse requests.
18410 * (bug 23460) Parse action should have a section option.
18411 * (bug 21346) Make deleted images searchable by hash.
18412 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
18413 * (bug 23548) Allow access of another users watchlist through watchlistraw
18414   using token and username.
18415 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
18416   track inline interwiki link usage).
18417 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
18418   similar to prop=categories's clcategories.
18419 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
18420   thumbnailing larger than original image.
18421 * (bug 23835) Need "thumbmime" result in "imageinfo" query.
18422 * (bug 23851) Repair diff for file redirect pages.
18423 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups.
18424 * (bug 24016) API: Handle parameters specified in simple string syntax
18425   ( 'paramname' => 'defaultval' ) correctly when outputting help.
18426 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied.
18427 * (bug 23473) Give description of properties on all modules.
18428 * (bug 24136) unknownerror when adding new section without summary, but
18429   forceditsummary.
18430 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result.
18431 * (bug 24303) Added new &servedby parameter to all actions which adds the
18432   hostname that served the request to the result. It is also added
18433   unconditionally on error.
18434 * (bug 24185) Titles in the Media and Special namespace are now supported for
18435   title normalization in action=query. Special pages have their name resolved
18436   to the local alias.
18437 * (bug 24296) Added converttitles parameter to convert titles to their
18438   canonical language variant.
18439 * (bug 23936) Add "displaytitle" to query/info API.
18440 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
18441   iwtitle.
18442 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
18443   one of the backlinks generators with limit=max.
18444 * (bug 24656) API's parse module needs option to disable PP report.
18445 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
18446   does not set the parameter, the API will automatically throw an error.
18447 * (bug 24665) When starttimestamp is not specified, fake it by setting it to
18448   NOW, not to the timestamp of the last edit.
18449 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
18450   allmessages, allpages, and allusers.
18451 * (bug 24236) Add add, remove, add-self, remove-self tags to
18452   meta=siteinfo&siprop=usergroups.
18453 * (bug 24484) Add prop=pageprops module.
18454 * (bug 24330) Add &redirect parameter to ?action=edit.
18455 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
18456   blockreason if the user is actually blocked.
18457 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
18458 * For required string parameters, if '' is provided, this is now classed as
18459   missing.
18460 * (bug 24724) list=allusers is out by 1 (shows total users - 1).
18461 * (bug 24166) API error when using rvprop=tags.
18462 * Introduced "asynchronous download" mode for upload-by-url. Requires
18463   $wgAllowAsyncCopyUploads to be true.
18464 * sinumberingroup correctly gives size of 'user' group, and omits size of
18465   implicit groups rather than showing 0.
18466 * (bug 25248) API: paraminfo errors with certain modules.
18467 * (bug 24792) API help for action=purge sometimes wrongly stated whether a
18468   POST request was needed due to cache pollution.
18469 * Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions.
18470 * Added rvparse to parse revisions. For performance reasons if this option is
18471   used, rvlimit is enforced to 1.
18472 * (bug 25748) If a action=parse request provides an oldid that is actually the
18473   current revision id, try the parser cache, and save it to it if necessary.
18474 * (bug 25463) Export header should not be shown if no pages were requested, to
18475   reduce confusion.
18476 * (bug 25648) API discovery information has been added as RSD link in page
18477   <head> and by providing an API module action=rsd. Added hook
18478   ApiRsdServiceApis for extensions to add their own service to the services
18479   list.
18480 * The HTML of diff output markers has changed. Hyphens are now minus signs,
18481   empty markers are now filled with non-breaking-space characters.
18482 * (bug 25741) Add more data to list=search's srprop.
18483 * (bug 25760) counter property still reported by the API when
18484   $wgDisableCounters enabled.
18485 * (bug 25987) prop=info&inprop=watched now also works for missing pages.
18486 * (bug 26006) prop=langlinks now allows obtaining full URL.
18487 * (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook.
18488 * (bug 26089) add block expiration to blockinfo.
18489 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
18490   file is a multi-page file.
18491 * (bug 10268) Added linktodiffs parameter on action=feedwatchlist.
18492 * (bug 26219) Show API limits for multi values in description.
18493 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
18494   real timestamp field.
18495 * (bug 27722) list=filearchive now supports revdel.
18497 === Language support changes in 1.17 ===
18499 MediaWiki supports over 330 languages. Many localizations are updated regularly.
18501 The following languages were added:
18503 * Moroccan Spoken Arabic (ary)
18504 * Banjar (bjn)
18505 * Kabardian (kbd)
18506 * Kabardian (Cyrillic) (kbd-cyrl)
18507 * Latgalian (ltg)
18508 * Minangkabau (min)
18509 * Dutch (informal) (nl-informal)
18510 * Rusyn (rue)
18512 Other significant changes to MediaWiki's language support:
18514 * Fiji Hindi (Devangari script) was removed.
18515 * Removed deprecated language code "dk" (Danish), use "da" instead.
18516 * Link trail added for sl and sh.
18517 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
18518 * (bug 23156) Commafy and search normalization updated for Belarusian
18519   (Taraškievica).
18520 * (bug 23283) Native name for Old English -> Ænglisc.
18521 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
18522 * (bug 24593) Native name for Sorani now uses only Arabic script.
18523 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
18524 * (bug 24917) Polish as fallback for Kashubia.
18525 * (bug 24794) Tatar link trail updated.
18526 * Esperanto date format corrected.
18527 * (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ /
18528   Qabardjajəbza.
18529 * (bug 28184) Namespaces for the Latgalian Wikipedia.
18530 * (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт
18531   to Башҡортса.
18532 * (bug 26395) Change name of Cornish language to Kernowek.
18534 === Other changes in 1.17 ===
18536 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
18537   extensions has been removed.
18538 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
18539 * The FailFunction "error handling" method has now been removed
18540 * Sysops now have the "suppressredirect" right by default
18541 * Removed $wgRemoteUploads. It was not well supported and superseded by
18542   $wgUploadNavigationUrl.
18543 * (bug 26253) $wgPostCommitUpdateList has been removed
18544 * The PHPUnit test suite has been removed from this release due to serious
18545   issues which should be resolved by the 1.18 release.
18546 * Oracle DB now uses the __destruct function to commit/close connection as it
18547   doesn't commit on close if transation is triggered in OCI.
18549 == MediaWiki 1.16 ==
18551 == MediaWiki 1.16.5 ==
18552 === Changes since 1.16.4 ===
18554 * (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
18555   attempt at fixing bug 28235.
18556 * (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin
18557   is enabled.
18559 == MediaWiki 1.16.4 ==
18560 === Changes since 1.16.3 ===
18562 * (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6
18563   clients) was not actually sufficient to fix that bug. This release contains
18564   a second attempt, hopefully we have fixed it this time.
18566 == MediaWiki 1.16.3 ==
18567 === Changes since 1.16.2 ===
18569 * (bug 28449) Fixed permissions checks in Special:Import which allowed users
18570   without the 'import' permission to import pages from the configured import
18571   sources.
18572 * (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those
18573   browsers looking for a file extension in the query string of the URL, and
18574   ignoring the Content-Type header if one is found.
18575 * (bug 28450) Fixed a CSS validation issue involving escaped comments, which
18576   led to XSS for Internet Explorer clients and privacy loss for other clients.
18578 == MediaWiki 1.16.2 ==
18579 === Changes since 1.16.1 ===
18581 * (bug 26642) Fixed incorrect translated namespace due to a regression in the
18582   language converter.
18583 * The interface translations were updated.
18584 * (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability.
18585 * (bug 27094) Fixed server-side arbitrary script inclusion vulnerability.
18586   Affects Windows servers only. A malicious file with extension ".php" must
18587   exist on the server for the exploit to be effective.
18589 == MediaWiki 1.16.1 ==
18590 === Changes since 1.16.0 ===
18592 * (bug 24981) Allow extensions to access SpecialUpload variables again
18593 * (bug 24724) list=allusers was out by 1 (shows total users - 1)
18594 * (bug 24166) Fixed API error when using rvprop=tags
18595 * For wikis using French as a content language, Special:Téléchargement works
18596   again as an alias for Special:Upload.
18597 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0)
18598 * (bug 25248) Fixed paraminfo errors in certain API modules.
18599 * The installer now has improved handling for situations where safe_mode is
18600   active or exec() and similar functions are disabled.
18601 * (bug 19593) Specifying --server in now works for all maintenance scripts.
18602 * Fixed $wgLicenseTerms register globals.
18603 * (bug 26561) Fixed clickjacking vulnerabilities by introducing support for
18604   X-Frame-Options. The header value can be configured using $wgBreakFrames and
18605   $wgEditPageFrameOptions.
18607 == MediaWiki 1.16.0 ==
18608 === Changes since 1.16 beta 3 ===
18610 * (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in
18611   1.16 beta 1, but is currently poorly supported by browsers.
18612 * (bug 23175) Re-added window.ta variable for backwards compatibility.
18613 * (bug 23264) Fixed breakage of various command line scripts due to extra line
18614   endings being inserted by Maintenance::output().
18615 * Fixed HTTP client functionality with safe_mode=On.
18616 * Fixed parser tests broken in 1.16 beta 3.
18617 * For Oracle DB backend: fixed parser tests and table prefix feature.
18618 * (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue).
18619 * Fixed plural function for Northern Sami (se)
18620 * (bug 23597) Fixed conflicts between ID attributes in the Vector skin and
18621   parser-generated heading IDs. Renamed head, panel, head-base and page-base.
18622 * Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet.
18623 * (bug 23465) Don't ignore the predefined destination filename on
18624   Special:Upload after following a red link to a file.
18625 * In SQLite full-text search feature: fixed "move page" feature, was non-
18626   functional.
18627 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
18628   user privacy in the case where an attacker can access the wiki through the
18629   same HTTP proxy as a logged-in user.
18630 * Fixed an XSS vulnerability in profileinfo.php for installations with
18631   $wgEnableProfileInfo = true (false by default)
18632 * Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being
18633   false. Fixed a minor header parsing issue when $wgUseXVO = true.
18634 * Fixed a register_globals arbitrary inclusion vulnerability in
18635   MediaWikiParserTest.php, introduced in 1.16 beta 1.
18637 === Changes since 1.16 beta 2 ===
18639 * Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
18640   invalid usernames.
18641 * Fixed sorting in [[Special:Allmessages]]
18642 * (bug 23113) Fixed title in the show/hide links on diff pages
18643 * (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
18644 * (bug 23127) Re-added missing $1 parameter to the uploadtext message
18645 * Fixed a bug in the Vector skin where personal tools display behind the logo
18646 * (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes
18647   showed the same text.
18648 * (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements
18649   in page views and previews when the language converter is enabled.
18650 * (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
18651   scaling, which was introduced in 1.16 beta 1.
18652 * Improved error checking on installer.
18653 * (bug 22970) Fixed a JavaScript error in the upload destination conflict
18654   check.
18655 * (bug 23167) Check the watch checkbox by default if the watchcreations
18656   preference is set.
18657 * (bug 23171) Improve IE6 version check to avoid false positives.
18658 * (bug 23176) Fixed upload warning override feature "upload new version",
18659   broken in 1.16 beta 1.
18660 * Fixed regression in unwatch links sent out in notification emails. When the
18661   mailing job was deferred via the job queue, the title was incorrect.
18662 * (bug 23534) Fixed SQL query error in API list=allusers.
18663 * Fixed a bug in uploads for non-JavaScript clients. An empty string was used
18664   as the default destination filename, instead of the source filename as
18665   expected.
18666 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
18667   account" and "create by e-mail" features of [[Special:Userlogin]]
18668 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
18669   validation issue.
18670 * Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick
18671   expanded wildcard characters "?" and "*" in image filenames, potentially
18672   causing large numbers of images to be scaled in response to a single request.
18673   The fix for this involves breaking the scaling of such image filenames until
18674   ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details.
18675 * (bug 23608) Fixed invalid HTML in diff pages.
18677 === Changes since 1.16 beta 1 ===
18679 * Fixed errors in maintenance/patchSql.php
18680 * (bug 19627) Fix regression from r57867 where HTMLForm would output
18681   <element classes="foo bar"> rather than <element class="foo bar">
18682 * Fixed broken "-r" option to maintenance/lag.php
18683 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
18684   be submitted along with the user name and password.
18686 === Configuration changes in 1.16 ===
18688 * (bug 18222) $wgMinimalPasswordLength default is now 1
18689 * $wgSessionHandler can be used to configure session.save_handler
18690 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
18691   be used when uploading/moving files
18692 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
18693   to be shown to users
18694 * $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
18695   $wgHiddenPrefs[] = 'realname', but the former are still retained
18696   for backwards-compatibility
18697 * (bug 9257) $wgRCMaxAge now defaults to three months
18698 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
18699   functions and other potential errors when developing.
18700 * Subpages are now enabled in the MediaWiki namespace by default.  This is
18701   mainly a cosmetic change, and does not in any way affect the MessageCache,
18702   which was already effectively treating the namespace as if it had subpages.
18703 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
18704   appropriate privileges. Creating this user with web-install page requires
18705   oci8.privileged_connect set to On in php.ini.
18706 * Removed UserrightsChangeableGroups hook introduced in 1.14
18707 * Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
18708   $wgLocalMessageCache, and any other local caches which need a place to put
18709   files.
18710 * $wgFileCacheDirectory is no longer set to anything by default, and so either
18711   needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
18712 * $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
18713   to true
18714 * Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
18715   functionality is now available via $wgLocalisationCacheConf.
18716 * $wgMessageCache->addMessages() is deprecated. Messages added via this
18717   interface will not appear in Special:AllMessages.
18718 * $wgRegisterInternalExternals can be used to record external links pointing
18719   to same server
18720 * (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
18721   to control which external domains may access the API via cross-site AJAX.
18722 * $wgMaintenanceScripts for extensions to add their scripts to the default list
18723 * $wgMemoryLimit has been added, default value '50M'
18724 * $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
18725   should be used instead
18726 * (bug 20489) $wgIllegalFileChars added to override the default list of illegal
18727   characters in file names.
18728 * (bug 19646) $wgImgAuthDetails added  to display reason access to uploaded file
18729   was denied to users(img_auth only)
18730 * (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
18731   correctly (img_auth only)
18732 * $wgUploadMaintenance added to disable file deletions and restorations during
18733   maintenance
18734 * $wgCapitalLinkOverrides added to configure per-namespace capitalization
18735 * (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL and renamed
18736   to $wgDnsBlacklistUrls (backward compatibility kept)
18737 * $wgEnableHtmlDiff has been removed
18738 * (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of
18739   CIDR ranges for blocking
18740 * $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
18741   file repository
18742 * $wgDBAhandler added to choose a DBA handler when using CACHE_DBA
18743 * $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave
18744   similarly to the category namespace.
18745 * $wgEnableSorbs renamed to $wgDnsBlacklistUrls ($wgEnableSorbs kept for
18746   backward compatibility)
18747 * $wgUploadNavigationUrl now also affects inline images that do not
18748   exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to
18749   it as appropriate.
18750 * If $wgLocaltimezone is null, use the server's timezone as the default for
18751   signatures. This was always the behavior documented in DefaultSettings.php
18752   but has not been the actual behavior for some time: instead, UTC was used
18753   by default.
18754 * Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath.
18755   If not specified it will default to $wgScriptPath/extensions
18756 * Added $wgCountTotalSearchHits to make search UI display total number of hits
18757   with some search engines.
18758 * Added $wgAdvertisedFeedTypes to decide what feed types (RSS, Atom, both, or
18759   neither) MediaWiki advertises.  Default is array( 'atom' ), so RSS is no
18760   longer advertised by default (but it still works).
18761 * Added $wgMemCachedTimeout, controls how long to wait for data from the
18762   memcached servers.
18763 * New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders
18764   for controlling debug output.
18765 * New $wgBlockDisablesLogin when set to true disallows blocked users from
18766   logging in.
18767 * (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate
18768   extension "MetadataEdit".
18770 === New features in 1.16 ===
18772 * Add CSS defintion of the 'wikitable' class to shared.css
18773 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
18774   viewing talk pages
18775 * Superfluous border="0" removed from images
18776 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
18777   to allow extensions to update caches in similar way as MediaWiki invalidates
18778   a cached MonoBook sidebar
18779 * Special:AllPages: Move hardcoded styles from code to CSS
18780 * (bug 18529) New hook: SoftwareInfo for adding information about the software
18781   to Special:Version
18782 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
18783   type of columns when using the Postgres backend.
18784 * (bug 16950) Show move log when viewing/creating a deleted page
18785 * (bug 18242) Show the Subversion revision number per extensions in
18786   Special:Version
18787 * (bug 18420) Missing file revisions are handled gracefully now
18788 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
18789 * (bug 18466) Add note or warning when overruling a move (semi-)protection
18790 * (bug 18342) insertTags works in edit summary box
18791 * (bug 18411) The upload form also checks post_max_size
18792 * Watchlist now has a specialized <div> tag that contains a unique class for
18793   each page
18794 * Added Minguo calendar support for the Taiwan Chinese language
18795 * Database: unionQueries function to be used for UNION sql construction, so
18796   it can be overloaded on DB abstraction level for DB specific functionality
18797 * (bug 18849) Implement Japanese and North Korean calendars
18798 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
18799   month number without the leading zero
18800 * (bug 13456) categoriespagetext supports PLURAL
18801 * (bug 18860) Blocks of IPs affecting registered users can now block email
18802 * (bug 17093) Date and time are separate parameters in Special:BlockList
18803 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
18804 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
18805   'recentchangeslinked-toolbox' were added to allow more fine grained
18806   customisation of the user interface
18807 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
18808   items)
18809 * Special:Search now could search terms in all variant-forms. ONLY apply on
18810   wikis enabled LanguageConverter.
18811 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to
18812   various user groups.
18813 * Add $wgRevokePermissions as a means of restricting a group's rights. The
18814   syntax is identical to $wgGroupPermissions, but users in these groups will
18815   have these rights stripped from them.
18816 * Added a PHP port of CDB (constant database), for improved local caching when
18817   the DBA extension is not available.
18818 * Introduced a new system for localisation caching. The system is based around
18819   fast fetches of individual messages, minimising memory overhead and startup
18820   time in the typical case. The database backend will be used by default, but
18821   set $wgCacheDirectory to get a faster CDB-based implementation.
18822 * Expanded the number of variables which can be set in the extension messages
18823   files.
18824 * Added a feature to allow per-article process pool size control for the parsing
18825   task, to limit resource usage when the cache for a heavily-viewed article is
18826   invalidated. Requires an external daemon.
18827 * (bug 19576) Moved the id attributes from the anchors accompanying section
18828   headers to the <span class="mw-headline"> elements within the section headers,
18829   removing the redundant anchor elements.
18830 * Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
18831   preprocesor level.
18832 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
18833   display for old versions of images.
18834 * In watchlists and Special:RecentChanges, the difference in page size now
18835   appears in dark green if bytes were added and dark red if bytes were removed.
18836 * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
18837   thumbnails to be stored in a separate location to the source images.
18838 * If config/ directory is not executable, the command to make it executable
18839   now asks the user to cd to the correct directory
18840 * Add experimental new external authentication framework, ExternalAuth
18841 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
18842   will still load it if it exists, but it's not required for anything
18843 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
18844   class "mw-listgrouprights-key"
18845 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
18846 * (bug 10812) Interwiki links can have names and descriptions, fetched from
18847   message 'interwiki-desc-PREFIX', not really used anywhere yet though
18848 * (bug 9691) Add type (signup or login) parameter to
18849   AuthPlugin::ModifyUITemplate()
18850 * (bug 14454) "Member of group(s)" in Special:Preferences causes language
18851   difficulties
18852 * (bug 16697) Unicode combining characters are difficult to edit in some
18853   browsers
18854 * Parser test supports uploading results to remote CodeReview instance
18855 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
18856   extension version in Special:Version
18857 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
18858   right name in Special:ListGroupRights
18859 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
18860   to {{ns:...}}
18861 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
18862   params
18863 * (bug 18566) Maintenance script to un/protect pages
18864 * (bug 671) The HTML <abbr> tag is now permitted.
18865 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
18866   flags have tooltips.
18867 * (bug 15209) New hook BeforeInitialize called after everything has been setup
18868   but before Mediawiki::performRequestForTitle()
18869 * wgMainPageTitle variable now available to JavaScript code to identify the main
18870   page link, so it doesn't have to be extracted from the link URLs.
18871 * (bug 16836) Display preview of signature in user preferences and describe its
18872   use
18873 * The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
18874   This can be disabled by setting $wgHtml5 = false;.  Specific features enabled
18875   if HTML 5 is used:
18876 ** Some extra inputs will be autofocused, in supporting browsers.
18877 ** The summary attribute has been removed from tables of contents.  summary is
18878    obsolete in HTML 5 and wasn't useful here anyway.
18879 ** Unnecessary type="" attribute removed for CSS and JS.
18880 ** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
18881    output by omitting some things like quotation marks where HTML 5 allows.
18882 ** (bug 16921) maxlength enabled for page move comments
18883 * The description message in $wgExtensionCredits can be an array with parameters
18884 * New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
18885   criteria used by Special:Random and subclasses, or substitute a custom result,
18886   deprecating the $wgExtraRandompageSQL config variable
18887 * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
18888 * (bug 20404) Custom fields in the user creation form template can now have
18889   detail labels in prefsectiontip divs.
18890 * MakeSysop and MakeBot are now aliases for Special:UserRights
18891 * IndexPager->mLimitsShown can now be an associative array of limit => text-to-
18892   display-in-limit-form.
18893 * (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
18894   and add its HTML to it, rather than having to go straight to $wgOut.
18895 * Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
18896   database connection and query errors.
18897 * Show change block / unblock link on Special:Contributions if user is blocked
18898 * Display note on Special:Contributions if the user is blocked, and provide an
18899   excerpt from the block log.
18900 * (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
18901   file is streamed to user, but only when using img_auth
18902 * Note on non-existing user and user talk pages if user does not exist
18903 * New hook ShowMissingArticle so extensions can modify the output for
18904   non-existent pages.
18905 * Admins could disable some variants using $wgDisabledVariants now. ONLY apply
18906   on wikis enabled LanguageConverter.
18907 * (bug 16310) Credits page now lists IP addresses rather than saying the number
18908   of anonymous users that edited the page
18909 * New permission 'sendemail' added. Default right for all registered users. Can
18910   for example be used to prevent new accounts from sending spam.
18911 * (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__
18912 * Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are
18913   called after a user's email has been successfully confirmed or invalidated.
18914 * (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for
18915   a smaller subversion checkout.
18916 * (bug 13750) First letter capitalization can now be a per-namespace setting
18917 * (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages
18918   of existing users
18919 * (bug 21095) Tracking categories produced by the parser (expensive parser
18920   function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by
18921   setting the  system message ([[MediaWiki:expensive-parserfunction-category]]
18922    etc) to "-".
18923 * Added maintenance script sqlite.php for SQLite-specific maintenance tasks.
18924 * Rewrote Special:Upload to allow easier extension.
18925 * Upload errors that can be solved by changing the filename now do not require
18926   reuploading.
18927 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
18928   rate limits.
18929 * (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
18930   the parser so extensions are free to implement their own <math> tag
18931 * (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
18932   an own 'mw-error-cannotdelete' class
18933 * New hook AbortNewAccountAuto, called before account creation from AuthPlugin-
18934   or ExtUser-driven requests.
18935 * (bug 3480) The warning saying that the page has a history when deleting it now
18936   contains the number of revisions in the history
18937 * $wgStylePath and $wgLogo are now set in the default LocalSettings.php file.
18938 * (bug 20186) Allow filtering history for revision deletion.
18939 * New hook OtherBlockLogLink, called in Special:IPBlockList and Special:Block
18940   to show links to block logs of other blocking extensions, i.e. GlobalBlocking
18941 * Added search capabilities to SQLite backend
18942 * rebuildtextindex.php maintenance script now supports databases other than
18943   MySQL
18944 * upgrade1_5.php now requires to be run --update option to prevent confusion
18945 * (bug 17662) Customizable default preload/editintro for new sections in the
18946   respective addsection-preload and addsection-editintro messages
18947 * Added maintenance script checkSyntax.php that checks for PHP syntax errors
18948   and common coding mistakes
18949 * Updated Unicode normalization tables
18950 * (bug 21604) Spellcheck attribute for editsummary
18951 * New wgCategories JavaScript global variable for userscripts.
18952 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
18953   membership in SpecialActiveusers
18954 * Allow \pagecolor and \definecolor in texvc
18955 * $wgTexvcBackgroundColor contains background color for texvc call
18956 * (bug 21574) Redirects can now have "303 See Other" HTTP status
18957 * EditPage refactored to allow extensions to derive new edit modes much easier.
18958 * (bug 21826) Subsections of Special:Version now also have anchors
18959 * (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick)
18960 * (bug 21946) Sorted wikitables do not properly handle minus signs
18961 * (bug 18885) Red links for media files do not support shared repositories
18962 * Added $wgFixArabicUnicode, to convert deprecated presentation forms in
18963   Arabic text to their modern equivalents, and $wgFixMalayalamUnicode, to
18964   convert ZWJ-based chillu sequences in Malayalam text to their Unicode 5.1
18965   equivalents.
18966 * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now
18967   stops normal output
18968 * Send new password e-mail in users preference language
18969 * LanguageConverter now support nested using of manual convert syntax like
18970   "-{-{}-}-"
18971 * Upload license preview now uses the API instead of action=ajax
18972 * (bug 7346) Add <guid> to RSS to avoid duplicates
18973 * (bug 19996) Added new hooks for Special:Search, which allow to further
18974   restrict/expand it.
18975 * (bug 21936) When a revision has been patrolled, there's now a link back to the
18976   article
18977 * (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks
18978   the return value
18979 * Separate unit test suites under t/ and tests/ were merged and moved to
18980   maintenance/tests/.
18981 * importImages.php maintenance script can now use the original uploader and
18982 comment from another wiki.
18983 * Support for Turck MMCache was removed
18984 * (bug 14592) Warn users when they try to move their user page that their
18985   account will not be renamed
18986 * Show block log on non-existing user (talk) pages of currently blocked users
18988 === Bug fixes in 1.16 ===
18990 * (bug 18031) Make namespace selector on Special:Export remember the previous
18991   selection
18992 * The svn-version version numbers on Special:Version have been removed
18993 * (bug 17374) Special:Export no longer exports two copies of the same page
18994 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
18995 * (bug 17617) HTML cleanup for ImagePage
18996 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
18997 * Improved error handling for image moving
18998 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
18999   with <strong> tags, helps with text-based browsers
19000 * (bug 18259) Special:DeletedContributions now also uses
19001   MediaWiki:Sp-contributions-logs for the link to Special:Log
19002 * Don't add empty title="" attributes to links to anchors on the current page
19003 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
19004 * (bug 18304) rebuildrecentchanges.php got size changes wrong
19005 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
19006 * (bug 18289) Database connection error page now returns correct HTML
19007 * "successbox", "errorbox" and related CSS classes are now available in all
19008   skins
19009 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
19010 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
19011 * The "noautoblock" flag is no longer displayed in the block log when blocking
19012   an IP address
19013 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
19014 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
19015 * (bug 18377) Time in Enhanced ChangesList lacking localisation
19016 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
19017 * (bug 1553) Lowercase navigation headings in German
19018 * (bug 7830) Pending transactions failed to commit on loginToUse() error
19019 * (bug 11613) session.save_handler being over-ridden
19020 * (bug 11381) session.save_handler being set twice (causes error)
19021 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
19022 * (bug 18115) ForeignAPIRepo cache isn't working
19023 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
19024   after some parsed math syntax.
19025 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
19026 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
19027   <strong> instead of hardcoded styles
19028 * (bug 18449) Fixed items number per column on category pages when the total is
19029   divisible by 3
19030 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
19031   revisions when --delete is not passed
19032 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
19033 * Overhaul of preferences system, includes the following bug fixes:
19034 ** (bug 5363) Changes to default preferences now impact registered users.
19035 ** (bug 14806) Hook to enable putting preferences in existing tabs.
19036 ** (bug 17191) Registration date now listed on preferences page.
19037 ** The user_properties table (now used for storing preferences) has been added
19038    to $wgSharedTables.
19039 ** Note that this change will break some extensions which have not been adapted
19040    for it.
19041 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
19042   languages while the text is typed as URLs.
19043 * (bug 17614) Prev / Next links are not shown if all results are shown
19044 * (bug 18207) Strange spacing before [[irc:...]] links
19045 * Removed float from the user login form in RTL interface - caused display
19046   problems in FF2
19047 * (bug 15008) Redirect images are now subject to Bad image list rules
19048 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
19049 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
19050   'wikidiff' or 'wikidiff2' but extension is not installed
19051 * (bug 18326) Chmod errors in file repos have been hidden
19052 * (bug 18718) Comma after a } create a error in IE
19053 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
19054   tweaked spacing.
19055 * (bug 18656) Use proper directory separators in wfMkdirParents()
19056 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
19057   $wgSysopEmailBans
19058 * (bug 16912) Tooltips on images with link= disappear
19059 * (bug 18389) Localise numbers in EXIF data
19060 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
19061 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
19062 * (bug 18432) Updated documentation for dumpBackup.php
19063 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
19064   tags that were redundantly defined.
19065 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
19066 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
19067   .inc
19068 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
19069   Title::userCanEdit() and Title::userCanMove() have been removed
19070 * Only show upload links on file description if $wgEnableUploads = true
19071   and user can upload
19072 * Don't say "You need to log in to upload/move", because it's possible that
19073   uploading/moving is disabled for registered users as well (e.g. only sysops)
19074 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
19075 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
19076 * (bug 10837) Introducing the StubUserVariant class to determine the variant
19077   variable instead of using this to overrule the user language preference.
19078 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
19079   show "view" instead of "view/restore" on logs.
19080 * (bug 19017) TOC level calculation error in an odd case
19081 * (bug 18999) CSS update for RTL interwiki links
19082 * (bug 18925) history.js removes class names of list elements on initialization
19083 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
19084   link from the edit comment
19085 * (bug 19112) Preferences now respects $wgUseExternalEditor
19086 * (bug 18173) MediaWiki now fails when unable to determine a client IP
19087 * (bug 19170) Special:Version should follow the content language direction
19088 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
19089 * Fixed performance regression in "bad image list" feature
19090 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
19091 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
19092   can add/remove *all* groups (have 'userrights' permission).
19093 * (bug 19294) Always show Sp-contributions-footer(-anon)
19094 * Attempts to restrict reading of pages while anonymous viewing is allowed
19095   via extensions not using the userCan hook and via $wgRevokePermissions now
19096   work.
19097 * (bug 8445) Multiple-character search terms are now handled properly for
19098   Chinese
19099 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
19100 * (bug 11242) Check for MySQL storage engines during installation now checks
19101   whether the engines are actually available
19102 * (bug 19390) Omit the "printable version" link on the printable version
19103 * (bug 18394) img_auth.php now respects userCan
19104 * (bug 19509) Uploading to a file named '0' previously treated it as null input
19105    and attempted to upload with the source name. Now warns about not having an
19106    extension (since 0.ext is perfectly valid)
19107 * (bug 19468) Enotif preferences are now only displayed when they are turned on
19108 * (bug 19442) Show/hide options on watchlist only work once
19109 * (bug 19602) PubMed Magic links now use updated NIH url
19110 * (bug 19637) externallinks have links to self
19111 * Don't load Opera 9.5 RTL fixes for Opera 9.6
19112 * Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
19113   and was causing problems.
19114 * Removed repetition of URIs in the title attributes of external links.
19115 * (bug 19693) User name is now escaped in "Contributions for ..." link on
19116   Special:BlockIP
19117 * (bug 19571) Override buildConcat for SQLite.
19118 * Log in and log out links no longer return to page view when clicked from
19119   history view, edit page, or something similar
19120 * (bug 19513) RTL fixes for new Search UI
19121 * (bug 16497) Special:Allmessages is paginated
19122 * (bug 18708) CSS plainlinks class now available to all skins
19123 * (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
19124   database type
19125 * (bug 19759) successbox on Special:Preferences now correctly aligned on
19126   standard, nostalgia and cologneblue skin
19127 * (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
19128   are no longer recorded in the pagelinks table
19129 * (bug 19784) date option "ISO 8601" produced illegal id
19130 * (bug 19761) Removed autogenerated <meta keywords> tag with link data.
19131   Keyword set was not useful, and is ignored by modern search engines anyway.
19132 * (bug 19827) Special:SpecialPages title is "Upload file
19133 * (bug 19355) Added .xhtml, .xht to upload file extension blacklist
19134 * (bug 19287) Workaround for lag on history page in Firefox 3.5
19135 * (bug 19564) Updated docs/hooks.txt
19136 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
19137 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
19138 * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
19139   table.
19140 * (bug 14080) Short notation links to subpages didn't work in edit summaries
19141 * (bug 17374) Special:Export no longer exports multiple copies of pages
19142 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
19143   users who can't edit them
19144 * (bug 19839) Comments in log items are no more double escaped
19145 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
19146   "enhanced recent changes"
19147 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
19148   the recentchanges table
19149 * (bug 16009) Limit selection forms based on Pager now links to the correct page
19150   when using long urls
19151 * The display of the language list on the preferences is more comply with the
19152   BCP 47 standards.
19153 * (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
19154 * (bug 19301) Duplicate entries in $wgAddGroups, $wgRemoveGroups,
19155   $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
19156   Special:ListGroupRights
19157 * (bug 18799) Special:Userlogin now handles correctly the returnto parameter
19158   to not link back to Special:Userlogout when user's language isn't the same as
19159   content's language
19160 * (bug 19479) Show proper error message when unable to connect to PostgreSQL
19161   database with username/password in MediaWiki's setup
19162 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
19163   if uploads are enabled and the user can access it
19164 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
19165 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
19166   option to parser test suite to run disabled tests if desired.
19167 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
19168 * (bug 15680) Split the edit tip message of user CSS/JS subpage into
19169   "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
19170 * (bug 12110) Split the rights for editing users' CSS/JS subpage from
19171   "editusercssjs" into "editusercss" and "edituserjs" respectively.
19172 * (bug 19394) RecentChanges feed URLs for log items with no revisions
19173   (eg Newuser, Userrights) are no longer broken
19174 * (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
19175   language ($wgContLang)
19176 * (bug 11867) Lock error on redirect table when running orphans.php
19177 * (bug 18930) initStats.php now refreshes active users count
19178 * (bug 18699) Using the nosummary URL option no longer triggers the "You have
19179   not provided a summary" warning for those who activated it in their
19180   preferences
19181 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
19182   using the full path
19183 * (bug 18497) Fixed broken style sheets in Opera fullscreen mode
19184 * (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
19185 * (bug 17864/19519) Added proper input normalization in Special:UserRights
19186 * (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
19187 * (bug 19289) importDump.php can now handle bzip2 and 7zip
19188 * (bug 20131) Fixed a PHP notice for users having the "rollback" right on
19189   Special:RecentChangesLinked
19190 * Do not transform EXIF fields with pure text to avoid results like
19191   foo,bar@example,com
19192 * (bug 20176) Fix login/logout links in skin CologneBlue
19193 * (bug 20203) "Powered by Mediawiki" now has height/width on image tag
19194 * (bug 20273) Fix broken output when no pages are found in the content
19195   namespaces
19196 * (bug 20265) Make AncientPages and UnusedFiles work on SQLite
19197 * Fixed XSS vulnerability for Internet Explorer clients (only pre-release
19198   versions of MediaWiki were affected).
19199 * (bug 14817) Moving a page to a subpage of itself moves it twice
19200 * (bug 20289) $wgMaximumMovedPages should only count pages actually moved
19201 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
19202   are now normalized to ordinary spaces in titles; if your wiki has existing
19203   titles with such characters, run cleanupTitles.php and/or cleanupImages.php
19204 * (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
19205   cleanly disabled instead of breaking parsing entirely on PHP 5.2.
19206 * (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
19207 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
19208 * (bug 20317) Cleaned up default main page link accesskey settings
19209 * (bug 20362) Special:Statistics now produces valid HTML when view counters are
19210   enabled
19211 * (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
19212   target page
19213 * (bug 20365) Page name with c/g/h/j/s/u + x are now correctly handled in
19214   Special:MovePage with Esperanto as content language
19215 * (bug 20364) Fixed regression in GIF metadata loading
19216 * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
19217   use wikitext
19218 * (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
19219   DatabaseBase::getFlag() now have documentation
19220 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
19221   the file description page instead of MediaWiki:License
19222 * (bug 20380) Links to history/deleted edits at the top of
19223   Special:RevisionDelete are no more displayed when doing log suppression
19224 * (bug 8143) Localised parser function names are now correctly case insensitive
19225   if they contain non-ASCII characters
19226 * (bug 19055) maintenance/rebuildrecentchanges.php now purges
19227   Special:Recentchanges's RSS and Atom feed cache
19228 * The installer will now try to bypass PHP's max_execution_time
19229 * (bug 20260) SQLite no longer tries to automatically create the database at
19230   execution time, this now happens only at install time; if it is not available
19231   at script execution, it now throws an exception
19232 * Fixed EditFilterMerged hook so the hookError parameter serves a purpose
19233   (analogous to EditFilter hook)
19234 * (bug 2257) Tag extensions can expand template parameters provided to the tag,
19235   by using a new parameter added to the recursiveTagParse function
19236 * (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
19237   $wgArticleRobotPolicies.
19238 * (bug 20466) Hidden categories are no more displayed when printing
19239 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
19240   the local wiki, the user is now treated as the local user
19241 * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
19242   argument
19243 * (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
19244   any change, in addition to onkeyup.
19245 * Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
19246   allowed to create page. Done via new message
19247   MediaWiki:Noarticletext-nopermission
19248 * Improved compatibility between the Vector skin and addPortletLink() from
19249   wikibits.js: empty portlets are now present but hidden, adding an element to a
19250   portlet unhides it
19251 * (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
19252   be compatible with the CSS for the Vector skin
19253 * (bug 20578) Wrong localized image metadata - duplicated string?
19254 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
19255   correct type="text" parameter
19256 * (bug 482) Don't include TOC in the printable version if it has been hidden
19257 * Adjust the time according to the user configuration on Special:Revisiondelete
19258 * (bug 20624) Installation no longer allows "qqq" as the chosen language
19259 * (bug 20634) The installer-created database user will now have all rights on
19260   the database so that upgrades will go more smoothly.
19261 * (bug 18180) Special:Export ignores limit, dir, offset parameters
19262 * User::getBlockedStatus() works for all kinds of user objects and doesn't
19263   assume the user object is equal to the current-user object ($wgUser)
19264 * (bug 20517) Cancel link from edit page now returns to the old version when
19265   editing an old version
19266 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
19267   by disable_functions
19268 * (bug 20726) Title::getLatestRevID's documentation now says that the function
19269   returns false if the page doesn't exist
19270 * (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache
19271 * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
19272 * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing
19273   command line scripts to fail
19274 * (bug 20702) Parser functions can now be used correctly in
19275   MediaWiki:Missing-article
19276 * (bug 14117) "redirected from" is now also shown on foreign file redirects
19277 * (bug 17747) Only display thumbnail column in file history if the image can
19278   be rendered.
19279 * (bug 3421) Live preview no longer breaks user CSS/JS previews
19280 * (bug 11264) The file logo on a file description page for documents (PDF, ...)
19281   now links to the file rather than the file description page
19282 * Password fields built with HTMLForm now still have the type="password"
19283   attribute if $wgHtml5=false.
19284 * (bug 20836) Preload now works for MediaWiki namespace
19285 * (bug 20885) Search box no longer suggests unavailable special pages
19286 * (bug 20948) "Create this page" on Special:Search is no longer displayed when
19287   searching for special pages
19288 * (bug 20524) Hideuser: Show nice error when trying to block hidden user without
19289   hideuser right
19290 * (bug 21026) Fixed file redirects on shared repos on non-English client wikis
19291 * (bug 21030) Fixed schema choices from being overwritten by defining unique
19292   field names per driver.
19293 * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always
19294   false on non-special pages
19295 * (bug 21113) "Other statistics" header on Special:Statistics is no more
19296   displayed when there isn't any entry in it
19297 * (bug 21114) Special:Contributions no longer shows diff links for new
19298   revisions
19299 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
19300   MediaWiki:Templatesusedsection now support plural
19301 * (bug 21079) There is no more line wrapping between label and field in
19302   Special:Log
19303 * (bug 20256) Fixed SQL errors on Special:Recentchanges and
19304   Special:Recentchangeslinked on SQLite backend
19305 * (bug 20880) Fixed updater failure on SQLite backend
19306 * (bug 21182) Fixed invalid HTML in Special:Listgrouprights
19307 * (bug 20242) Installer no longer promts for user credentials for SQLite
19308   databases
19309 * (bug 20911) Installer failed to create a SQLite database
19310 * (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving
19311   dummy
19312 * (bug 21161) Changing $wgCacheEpoch now always invalidates file cache
19313 * (bug 20268) Fixed row count estimation on SQLite backend
19314 * (bug 20275) Fixed LIKE queries on SQLite backend
19315 * (bug 21234) Moving subpages of titles containing \\ now works properly
19316 * (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL
19317 * (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page
19318 * (bug 21255) Fixed hostname construction for DNSBL checking
19319 * (bug 18019) Users are now warned when moving a file to a name in use on a
19320   shared repository and only users with the 'reupload-shared' permission can
19321   complete the move.
19322 * (bug 18909) Add missing Postgres INSERT SELECT wrapper
19323 * User::isValidPassword now only returns boolean results,
19324   User::getPasswordValidity can be used to get an error message string
19325 * The error message shown in Special:ChangePassword now parses wiki markup
19326 * (bug 19859) Removed experimental HTMLDiff feature
19327 * Removed section edit links in edit conflict form
19328 * Allow SpecialActiveusers to work on non-MySQL databases
19329 * (bug 6579) Fixed protecting images from uploading only
19330 * (bug 18609) Search index was empty for some pages
19331 * (bug 13453) rebuildrecentchanges maintenance script works on PG again
19332 * (bug 16583) Reduce false positives when checking for PHP (on upload, etc.)
19333 * (bug 20112) Bitrotted tests in the t/ directory were failing.
19334 * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with
19335   id "mw-sp-contributions-explain"
19336 * (bug 19159) Fixed \overleftrightarrow in texvc
19337 * (bug 19391) Fix caching for Recent ChangesFeed.
19338 * (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages
19339   even to non-logged in users
19340 * (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and
19341   general implementation of HTTP, allowing it to purge non-Squid caches such as
19342   Varnish.
19343 * Fixed corruption of long UDP debug log messages by using socket_sendto()
19344   instead of fsockopen() with fwrite().
19345 * (bug 16884) Fixed feed links in sidebar not complying with URL parameters
19346   of the displayed page
19347 * (bug 21403) memcached class renamed to MWMemecached to avoid conflict with
19348   PHP's memcached extension
19349 * (bug 21650) Both calls to SkinTemplateTabs hook are now compatible
19350 * (bug 21672) Add missing Accept-Language to both Vary and XVO headers
19351 * (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now
19352   only displayed to the users that have "editinterface" right
19353 * (bug 21740) Attempting to protect a page that doesn't exist (salting) returns
19354   "unknown error"
19355 * (bug 18762) both redirects and links get fixed one after another if
19356   redirects-only switch is not present
19357 * (bug 20159) thumbnails rerendered if older than $wgThumbnailEpoch
19358 * Fixed a bug which in some situations causes the job queue to grow forever,
19359   due to an infinite loop of job requeues.
19360 * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have
19361   the page selector when they have only one page
19362 * (bug 21559) "logempty" message is now wrapped in a div with class
19363   "mw-warning-logempty" when used in log extract
19364 * (bug 20549) Parser tests were broken on SQLite backend
19365 * (bug 21776) Interwiki urls like http://en.wikibooks.org/wiki/cs: should give
19366   a redirect instead of a baderror.
19367 * (bug 21803) Special:MyContributions now keeps the query string parameters
19368 * Redirecting special pages now keep query string parameters set to "0" (e.g.
19369   for namespace)
19370 * (bug 20765) Special:ListGroupRights no longer misses addables and removables
19371   groups if there are duplicate entries
19372 * (bug 21814) Message shown when rolling back an edit with a deleted username
19373   now shows '(username deleted)' instead of broken user tool links
19374 * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID
19375 * (bug 21535) RecentChanges RSS feed now always recognises the namespace filter,
19376   previously it sometimes didn't due to caching.
19377 * (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw
19378 * refreshLinks.php now purges orphaned redirect table rows
19379 * (bug 2971) Swap links of hist & diff location on Special:Contributions for
19380   consistency with RC/WL
19381 * (bug 21986) Special page names are now capitalized by content language
19382 * If two log types have the same description, they're now both displayed in the
19383   type selector on Special:Log
19384 * (bug 20115) Special:Userlogin title says "Log in / create account" even if the
19385   user can't create an account
19386 * (bug 2658) Don't attempt to set the TZ environment variable.
19387 * (bug 9794) User rights log entries for foreign user now links to the foreign
19388   user's page if possible
19389 * (bug 14717) Don't load nonexistent CSS fix files for non-Monobook skins
19390 * (bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler instead of
19391   reimplementing it.
19392 * (bug 19226) First line renders differently on many UI messages.
19393 * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and
19394   skin-specific JS pages
19395 * (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes
19396   for image divs.
19397 * (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the
19398   Monobook and Chick skins
19399 * Fixed bug involving unclosed "-{" markup in the language converter
19400 * (bug 21870) No longer include Google logo from an external server on wiki
19401   error.
19402 * (bug 22181) Do not truncate if the ellipsis actually make the string longer
19403 * (bug 16039) Text disappearing after a bad image
19404 * (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption',
19405   not 'File:Foo' when Foo is not an image
19406 * (bug 21518) Special:UserRights no longer displays the user name box for users
19407   that can only change their rights
19408 * (bug 21593) Special:UserRights now lists automatic groups membership
19409 * (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload
19410   link from file pages
19411 * Fix bug introduced in MediaWiki 1.12: The author field in
19412   $wgExtensionCredits is no longer sorted with sort() but rather used
19413   as it appears in extensions as was the case before r30117 where it
19414   was unintentionally sorted along with other fields.
19415 * (bug 19334) Textarea no longer jumps when editing longer articles in IE8
19416 * Truncate summary of page moves in revision comment field to avoid broken
19417   multibyte characters
19418 * (bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist
19419 * (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to
19420   the page set in the &returnto parameter.
19421 * (bug 19194) Search box in Modern skin doesn't focus with Safari/Chrome
19422 * (bug 17790) Users instantly logged off on HughesNet
19423 * (bug 21549) Make foreign key constraints DEFERRABLE INITIALLY DEFERRED
19424   when using Postgres as the database backend.
19426 == API changes in 1.16 ==
19428 * Added uiprop=changeablegroups to meta=userinfo
19429 * Added usprop=gender to list=users
19430 * (bug 18311) action=purge now works for images too
19431 * Add parentid to prop=revisions output
19432 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
19433   when the user is blocked
19434 * (bug 18546) Added timestamp of new revision to action=edit output
19435 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
19436   users
19437 * (bug 13049) "API must be accessed from the primary script entry point" error
19438 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
19439 * Added PHP and database version to meta=siteinfo output
19440 * (bug 18533) Add readonly message to meta=siteinfo output
19441 * (bug 18518) Add clprop=hidden to prop=categories
19442 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
19443 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
19444   output
19445 * (bug 18731) Show correct SVN links for extension modules in api.php?version
19446 * (bug 18730) Add version information to action=paraminfo output
19447 * (bug 18743) Add ucprop=size to list=usercontribs
19448 * (bug 18749) Add generator flag to action=paraminfo output
19449 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
19450 * Made deleting file description pages without files possible
19451 * (bug 18773) Add content flag to siprop=namespaces output
19452 * (bug 18785) Add siprop=languages to meta=siteinfo
19453 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
19454   list=recentchanges
19455 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
19456   output
19457 * (bug 19313) action=rollback returns wrong revid on master/slave setups
19458 * (bug 19323) action=parse doesn't return section tree on pages with Cite
19459   warnings
19460 * (bug 18720) Add anchor field to action=parse&prop=sections output
19461 * (bug 19423) The initial file description page used caption in user lang
19462   rather than UI lang
19463 * (bug 17809) Add number of users in user groups to meta=siteinfo
19464 * (bug 18533) Add readonly reason to readonly exception
19465 * (bug 19528) Added XSLT parameter to API queries in format=xml
19466 * (bug 19040) Fix prependtext and appendtext in combination with section
19467   parameter in action=edit
19468 * (bug 19090) Added watchlist parameter, deprecated watch and unwatch
19469   parameter in action=edit
19470 * Added fields to list=search output: size, wordcount, timestamp, snippet
19471 * Where supported by backend, list=search adds a 'searchinfo' element with
19472   optional info: 'totalhits' count and 'suggestion' alternate query term
19473 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
19474   external domains to access api.php via AJAX, if the browser supports the
19475   Access-Control-Allow-Origin HTTP header
19476 * (bug 19999) Made metadata and properties of search results optional. Added
19477   srprop and srinfo.
19478 * (bug 20700) Add amprop=default to meta=allmessages to list default value for
19479   customized messages
19480 * Don't parse magic words in meta=allmessages, output messages unparsed
19481 * (bug 21105) list=usercontribs can now list contribs for User:0
19482 * (bug 21085) list=deletedrevs no longer returns only one revision when
19483   drcontinue param is passed
19484 * (bug 21106) Deprecated parameters now tagged in action=paraminfo
19485 * (bug 19004) Added support for tags
19486 * (bug 21083) list=allusers no longer returns current timestamp for users
19487   without registration date
19488 * (bug 20967) action=edit allows creation of invalid titles
19489 * (bug 19523) Add inprop=watched to prop=info
19490 * (bug 21589) API: Separate summary and initial page text for uploads
19491 * (bug 21817) list=usercontribs returns empty result for empty ucuser
19492 * (bug 21441) meta=userinfo&uiprop=options no longer returns default options
19493   for logged-in users under certain circumstances
19494 * (bug 21945) Add chomp control in YAML
19495 * Expand the thumburl to an absolute url to make it consistent with url and
19496   descriptionurl
19497 * (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS
19498 * (bug 22061) API: add prop=headitems to action=parse
19499 * (bug 22240) API: include time in siteinfo
19500 * (bug 22241) Quick edit is still using the deprecated watch parameter (API:
19501   Setting default for watch/unwatch wrongly set)
19502 * (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering
19503 * (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions
19504 * Support key-params arrays in 'descriptionmsg' in
19505   meta=siteinfo&siprop=extensions
19506 * (bug 21922) YAML output should quote asterisk when used as key
19507 * (bug 22297) safesubst: to allow substitution without breaking transclusion
19508 * (bug 18758) API read of watchlist's wl_notificationtimestamp
19509 * (bug 20809) Expose EditFormPreloadText via the API
19510 * (bug 18427) Comment (edit summary) parser option for API
19511 * (bug 18608) API should provide list of CSS styles to apply to rendered output
19512 * (bug 18771) List possible errors in action=paraminfo
19514 === Languages updated in 1.16 ===
19516 MediaWiki supports over 300 languages. Many localisations are updated
19517 regularly. Below only new and removed languages are listed, as well as
19518 changes to languages because of Bugzilla reports.
19520 * Capiznon (cps) (new)
19521 * North Frisian (frr) (new)
19522 * Kirmanjki (kiu) (new)
19523 * Komi-Permyak (koi) (new)
19524 * Karachay-Balkar (krc) (new)
19525 * Hill Mari (mrj) (new)
19526 * Prussian (prg) (new)
19527 * Romagnol (rgn) (new)
19528 * Lower Silesian (sli) (new)
19529 * Picard (pcd) (new)
19530 * Uyghur (Arabic script) (ug-arab) (new)
19531 * Upper Franconian (vmf) (new)
19532 * Votic (vot) (new)
19533 * Eastern Yiddish (ydd) (removed)
19534 * Iriga Bicolano (bto) (removed)
19535 * Ladin (lld) (removed)
19536 * Laz (lzz) (removed)
19537 * Palembang (plm) (removed)
19538 * Megleno-Romanian (Greek script) (ruq-grek) (removed)
19539 * Tamazight (tzm) (removed)
19540 * Laz (lzz) (new)
19542 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
19543 * Add PLURAL function for Scots Gaelic (gd)
19544 * Add Estonian letters äöõšüž to linktrail (et)
19545 * (bug 18776) Native name of Burmese language (my)
19546 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
19547   (Чӑвашла)
19548 * (bug 18864) Updated autonym for Zhuang language
19549 * (bug 18308) Updated date formatting in Occitan (oc)
19550 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
19551 * (bug 19286) Correct commafying function in Polish (pl)
19552 * (bug 19441) Updated date formatting for Lithuanian
19553 * (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
19554 * (bug 19949) New linktrail for Greek (el)
19555 * (bug 19809) Korean (North Korea) (ko-kp) (new)
19556 * (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
19557 * (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail
19558 * (bug 21596) Change interwiki link for Kurdish (ku)
19559 * (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue).
19561 == MediaWiki 1.15 ==
19563 == MediaWiki 1.15.5 ==
19564 === Changes since 1.15.4 ===
19566 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
19567   user privacy in the case where an attacker can access the wiki through the
19568   same HTTP proxy as a logged-in user.
19569 * Fixed a minor cookie header parsing issue causing incorrect Cache-Control
19570   headers to be sent.
19571 * Fixed an XSS vulnerability in profileinfo.php for installations with
19572   $wgEnableProfileInfo = true (false by default)
19573 * For backwards compatibility with extensions from 1.14.x or before, restored
19574   the original function ApiMain::requestWriteMode().
19575 * In API login "need token" responses, added the cookieprefix and sessionid
19576   fields, as in MediaWiki 1.16.x. This is an improvement to the CSRF fix
19577   introduced in 1.15.3.
19579 == MediaWiki 1.15.4 ==
19580 === Changes since 1.15.3 ===
19582 * (bug 23534) Fixed SQL query error in API list=allusers.
19583 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
19584   account" and "create by e-mail" features of [[Special:Userlogin]]
19585 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
19586   validation issue.
19588 == MediaWiki 1.15.3 ==
19589 === Changes since 1.15.2 ===
19591 * (bug 22828) Fixed deletion on SQLite.
19592 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
19593   be submitted along with the user name and password.
19595 == MediaWiki 1.15.2 ==
19596 === Changes since 1.15.1 ===
19598 * The installer now includes a check for a data corruption issue with certain
19599   versions of libxml2 2.7 and PHP earlier than 5.2.9, and also for a PHP bug
19600   present in the official release of PHP 5.3.1.
19601 * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which
19602   was displayed to the user
19603 * (bug 21150) SQLite no longer raise an error when deleting files
19604 * (bug 20880) Fixed updater failure on SQLite backend
19605 * upgrade1_5.php now requires to be run --update option to prevent confusion
19606 * Fixed a CSS validation issue which allowed external images to be included
19607   into wikis where that is disallowed by configuration.
19608 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
19609   similar image access authentication schemes. Check user permissions before
19610   streaming out scaled images from thumb.php.
19612 == MediaWiki 1.15.1 ==
19613 === Changes since 1.15.0 ===
19614 * Fixed fatal errors for unusual file repository configurations, such as
19615   ForeignAPIRepo.
19616 * Fixed the "change password" link on Special:Preferences to have the correct
19617   returnto parameter.
19618 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
19620 == MediaWiki 1.15.0 ==
19621 === Changes since 1.15.0rc1 ===
19623 * Removed category redirect feature, implementation was incomplete.
19624 * (bug 18846) Remove update_password_format(), unnecessary, destroys all
19625   passwords if a wiki with $wgPasswordSalt=false is upgraded with the web
19626   installer.
19627 * (bug 19127) Documentation warning for PostgreSQL users who run update.php:
19628   use the same user in AdminSettings.php as in LocalSettings.php.
19629 * Fixed possible web invocation of some maintenance scripts, due to the use of
19630   include() instead of require(). A full exploit would require a very strange
19631   web server configuration.
19632 * Localisation updates.
19634 === Configuration changes in 1.15 ===
19636 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
19637   temporary passwords
19638 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
19639 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
19640   from rel="nofollow" on external links
19641 * (bug 12970) Brought back $wgUseImageResize.
19642 * Added $wgRedirectOnLogin to allow specifying a specific page to redirect users
19643   to upon logging in (ex: "Main Page")
19644 * Add $wgExportFromNamespaces for enabling/disabling the "export all from
19645   namespace" option (disabled by default)
19647 === New features in 1.15 ===
19649 * (bug 2242) Add an expiry time to temporary passwords
19650 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
19651   for the current page for a given action
19652 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
19653   to automatically add a summary or a minor edit.
19654 * (bug 16852) padleft and padright now accept multiletter pad characters
19655 * When using 'UserCreateForm' hook to add new checkboxes into
19656   Special:UserLogin/signup, the messages can now contain HTML to allow
19657   hyperlinking to the site's Terms of Service page, for example
19658 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
19659   from the database.
19660 * (bug 17045) Options on the block form are prefilled with the options of the
19661   existing block when modifying an existing block.
19662 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
19663   rather than hardcoded HTML tags
19664 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
19665   extensions to alter the SQL query which is used to get the list of wanted
19666   pages
19667 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
19668   specialpages
19669 * (bug 11443) Auto-noindex user/user talk pages for blocked user
19670 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
19671   recursed through until the "destination" page is reached.
19672 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
19673   special pages.
19674 * Use HTML5 rel attributes for some links, where appropriate
19675 * Added optional alternative Search form look - Go button & Advanced search
19676   link instead of Go button & Search button
19677 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
19678 * More helpful error message on raw page access if PHP_SELF isn't set
19679 * (bug 13040) Gender switch in user preferences
19680 * (bug 13040) {{GENDER:}} magic word for interface messages
19681 * (bug 3301) Optionally sort user list according to account creation time
19682 * Remote description pages for foreign file repos are now fetched in the
19683   content language.
19684 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
19685   set to false.
19686 * (bug 16604) Mark non-patrolled edits in feeds with "!"
19687 * (bug 16604) Show title/rev in IRC for patrol log
19688 * (bug 16854) Whether a page is being parsed as a preview or section preview
19689   can now be determined and set with ParserOptions.
19690 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
19691   "mw-confirmemail-pending"
19692 * (bug 8249) The magic words for namespaces and pagenames can now be used as
19693   parser functions to return the desired namespace or normalized title/title
19694   part for a given title.
19695 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
19696   rest of the font
19697 * (bug 7556) Time zone names in signatures lack i18n
19698 * (bug 3311) Automatic category redirects
19699 * (bug 17236) Suppress 'watch user page link' for IP range blocks
19700 * Wrap message 'searchresulttext' (Special:Search) into a div with
19701   class "mw-searchresult"
19702 * (bug 15283) Interwiki imports can now fetch included templates
19703 * Treat svn:// URLs as external links by default
19704 * New function to convert namespace text for display (only applies on wiki with
19705   LanguageConverter class)
19706 * (bug 17379) Contributions-title is now parsed for magic words.
19707 * Preprocessor output now cached in memcached.
19708 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
19709   "mw-line-odd" and "mw-line-even" to make styling using css possible.
19710 * (bug 17311) Add a note beside the gender selection menu to tell users that
19711   this information will be public
19712 * Localize time zone regions in Special:Preferences
19713 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
19714   the active users data from site_stats.
19715 * Add a <link rel="canonical"> tag on redirected page views
19716 * Replace hardcoded '...' as indication of a truncation with the
19717   'ellipsis' message
19718 * Wrap warning message 'editinginterface' into a div with class
19719   'mw-editinginterface'
19720 * (bug 17497) Oasis opendocument added to mime.types
19721 * Remove the link to Special:FileDuplicateSearch from the "file history" section
19722   of image description pages as the list of duplicated files is shown in the
19723   next section anyway.
19724 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
19725   rate limits.
19726 * (bug 14981) Shared repositories can now have display names, located at
19727   Mediawiki:Shared-repo-name-REPONAME, where REPONAME is the name in
19728   $wgForeignFileRepos
19729 * Special:ListUsers: Sort list of usergroups by alphabet
19730 * (bug 16762) Special:Movepage now shows a list of subpages when possible
19731 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
19732 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
19733 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
19734   username
19735 * Wrap special page summary message '$specialPageName-summary' into a div
19736   with class 'mw-specialpage-summary'
19737 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
19738   of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
19739 * New function to convert content text to specified language (only applies on
19740   wiki with LanguageConverter class)
19741 * (bug 17844) Redirect users to a specific page when they log in, see
19742   $wgRedirectOnLogin
19743 * Added a link to Special:UserRights on Special:Contributions for privileged
19744   users
19745 * (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the editor
19746   of the displayed revision
19747 * LinkerMakeExternalLink now has an $attribs parameter for link attributes and
19748   a $linkType parameter for the type of external link being made
19749 * (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables
19750   with dynamic dates.
19751 * (bug 4582) Provide preference-based autoformatting of unlinked dates with the
19752   dateformat parser function.
19753 * (bug 17886) Special:Export now allows you to export a whole namespace (limited
19754   to 5000 pages)
19755 * (bug 17714) Limited TIFF upload support now built in if 'tif' extension is
19756   enabled. Image width and height are now recognized, and when using
19757   ImageMagick, optional flattening to PNG or JPEG for inline display can be
19758   enabled by setting $wgTiffThumbnailType
19759 * Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page'
19760   and 'mw-log-user', respectively
19761 * Added $wgInvalidUsernameCharacters to disallow certain characters in
19762   usernames during registration (such as "@")
19763 * Added $wgUserrightsInterwikiDelimiter to allow changing the delimiter
19764   used in Special:UserRights to denote the user should be searched for
19765   on a different database
19766 * Add a class if 'missingsummary' is triggered to allow styling of the summary
19767   line
19768 * Title attributes are now always blank on framed and thumbnailed images, and
19769   default to blank on inline images instead of defaulting to the image's
19770   filename. Additionally, the alt attribute now defaults to the filename on
19771   framed and thumbnailed images if no caption or alt attribute is specified.
19773 === Bug fixes in 1.15 ===
19774 * (bug 16968) Special:Upload no longer throws useless warnings.
19775 * (bug 17000) Special:RevisionDelete now checks if the database is locked
19776   before trying to delete the edit.
19777 * (bug 16852) padleft and padright now handle multibyte characters correctly
19778 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
19779   the destination page exists
19780 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
19781   been disabled
19782 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
19783   LanguageConverter class)
19784 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
19785   LanguageConverter class)
19786 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
19787 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
19788 * (bug 8065) Fix summary forcing for new pages
19789 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
19790   allowed by default. Change $wgInvalidRedirectTargets to re-enable.
19791 * (bug 3043) Feed links of given page are now preceded by standard feed icon
19792 * (bug 17150) escapeLike now escapes literal \ properly
19793 * Inconsistent use of sysop, admin, administrator in system messages changed
19794   to 'administrator'
19795 * (bug 14423) Check block flag validity for block logging
19796 * DB transaction and slave-lag avoidance tweaks for Email Notifications
19797 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
19798 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
19799   "user contributions"
19800 * Rollback links on new pages removed from "user contributions"
19801 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
19802   comment label uses better message
19803 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
19804 * Parser tests no longer fail when $wgExternalLinkTarget is set in
19805   LocalSettings
19806 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
19807   error messages on save were the edit in fact is saved.
19808 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
19809 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
19810 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
19811   for identical files at different titles are still given.
19812 * Add 'change tagging' facility, where changes can be tagged internally with
19813   certain designations, which are displayed on various summaries of changes,
19814   and the entries can be styled with CSS.
19815 * (bug 17207) Fix regression breaking category page display on PHP 5.1
19816 * Categoryfinder utility class no longer fails on invalid input or gives wrong
19817   results for category names that include pseudo-namespaces
19818 * (bug 17252) Galician numbering format
19819 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
19820   configs
19821 * (bug 7480) Internationalize database error message
19822 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
19823 * (bug 14938) Removing a section no longer leaves excess whitespace
19824 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
19825   history
19826 * (bug 17283) Remove double URL escaping in show/hide links for log entries
19827   and RevisionDeleteForm::__construct
19828 * (bug 17105) Numeric table sorting broken
19829 * (bug 17231) Transcluding special pages on wikis using language conversion no
19830   longer affects the page title
19831 * (bug 6702) Default system messages updated/improved
19832 * (bug 17190) User ID on preference page no longer has delimeters
19833 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
19834 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
19835 * (bug 7509) Separation strings should be configurable
19836 * (bug 17420) Send the correct content type from action=raw when the HTML file
19837   cache is enabled.
19838 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
19839 * (bug 17478) Fixed a PHP Strict standards error in
19840   maintenance/cleanupWatchlist.php
19841 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
19842 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
19843 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
19844   use correct message 'allpagesprefix' for input form label, replace _ with ' '
19845   in next page link
19846 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
19847 * Fixed excessive job queue utilisation
19848 * File dupe messages for remote repos are now shown only once.
19849 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
19850   used as a parameter in 'sharedupload' for easier styling and customization.
19851 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
19852 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
19853   now point to the actual contributors' feed.
19854 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
19855 * Special:Import: Do not show input field for import depth if
19856   $wgExportMaxLinkDepth == 0
19857 * (bug 17570) $wgMaxRedirects is now correctly respected when following
19858   redirects (was previously one more than $wgMaxRedirects)
19859 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
19860 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
19861   changed to rc_timestamp_bot
19862 * (bug 17437) Fixed incorrect link to web-based installer
19863 * (bug 17538) Use shorter URLs in <link> elements
19864 * (bug 13778) Hidden input added to the search form so that using the Enter key
19865   on IE will do a fulltext search like clicking the button does
19866 * (bug 1061) CSS-added icons next to links display through the text and makes
19867   it unreadable in RTL
19868 * Special:Wantedtemplates now works on PostgreSQL
19869 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
19870   PostgreSQL
19871 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
19872 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
19873 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
19874 * (bug 17648) Prevent floats from intruding into edit area in previews if no
19875   toolbar present
19876 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
19877 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
19878 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
19879   queue
19880 * (bug 17761) "show/hide" link in page history in now works for the first
19881   displayed revision if it's not the current one
19882 * (bug 17722) Fix regression where users are unable to change temporary
19883   passwords
19884 * (bug 17799) Special:Random no longer throws a database error when a non-
19885   namespace is given, silently falls back to NS_MAIN
19886 * (bug 17751) The message for bad titles in WantedPages is now localized
19887 * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
19888   no longer corrupts the message cache
19889 * (bug 17900) Fixed User Groups interface log display after saving groups.
19890 * (bug 17897) Fixed string offset error in <pre> tags
19891 * (bug 17778) MediaWiki:Catseparator can now have HTML entities
19892 * (bug 17676) Error on Special:ListFiles when using Postgres
19893 * Special:Export doesn't use raw SQL queries anymore
19894 * (bug 14771) Thumbnail links to individual DjVu pages no longer have
19895   two "page" parameters
19896 * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that
19897   don't use PathInfo or short urls
19898 * (bug 17990) trackback.php now has a trackback.php5 alias and works with
19899   $wgScriptExtension
19900 * (bug 14990) Parser tests works again with PostgreSQL
19901 * (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry
19902   IS NULL
19903 * (bug 18018) Deleting a file redirect leaves behind a malfunctioning redirect
19904 * (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses
19905 * (bug 11213) [edit] section links in printable version no longer appear when
19906   you cut-and-paste article text
19907 * (bug 17405) "Did you mean" to mirror Go/Search behavior of original request
19908 * (bug 18116) 'edittools' is now output identically on edit and upload pages
19909 * (bug 17241) The diffonly URI parameter should cascade to "Next edit" and
19910   "Previous edit" diff links
19911 * (bug 16823) Sidebar search form should not use Special:Search view URL as
19912   target
19913 * (bug 16343) Non-existing, but in use, category pages can be "go" match hits
19914 * Fixed a CSS validation issue which allowed external images to be included
19915   into wikis where that is disallowed by configuration.
19916 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
19917   similar image access authentication schemes. Check user permissions before
19918   streaming out scaled images from thumb.php.
19920 == API changes in 1.15 ==
19921 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
19922   and listing all deleted pages possible
19923 * (bug 16844) Added clcategories parameter to prop=categories
19924 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
19925 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
19926   created the page, even if it's not the top revision
19927 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
19928 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
19929 * (bug 15949) Add undo functionality to action=edit
19930 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
19931   Building query properly now using makeList()
19932 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
19933   autolinked correctly
19934 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
19935 * (bug 17239) Added prop=displaytitle to action=parse
19936 * (bug 17317) Added watch parameter to action=protect
19937 * (bug 17007) Added export and exportnowrap parameters to action=query
19938 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
19939 * (bug 17355) Added auwitheditsonly parameter to list=allusers
19940 * (bug 17007) Added action=import
19941 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
19942   of performance concerns
19943 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
19944   and list=logevents
19945 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
19946   limit and still set a query-continue in some cases
19947 * (bug 17357) Added movesubpages parameter to action=move
19948 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
19949 * (bug 16740) Added list=protectedtitles
19950 * Added mainmodule and pagesetmodule parameters to action=paraminfo
19951 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
19952   aliases already listed in siprop=namespaces
19953 * (bug 17529) rvend ignored when rvstartid is specified
19954 * (bug 17626) Added uiprop=email to list=userinfo
19955 * (bug 13209) Added rvdiffto parameter to prop=revisions
19956 * Manual language conversion improve: Now we can include both ";" and ":" in
19957   conversion rules
19958 * (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters
19959   is set
19960 * (bug 17774) Don't hide read-restricted modules like action=query from users
19961   without read rights, but throw an error when they try to use them.
19962 * Don't hide write modules when $wgEnableWriteAPI is false, but throw an error
19963   when someone tries to use them
19964 * BREAKING CHANGE: action=purge requires write rights and, for anonymous users,
19965   a POST request
19966 * (bug 18099) Using appendtext to edit a non-existent page causes an interface
19967   message to be included in the page text
19968 * Fixed the circular template inclusion check, was broken when the loop
19969   involved redirects. Without this, infinite recursion within the parser is
19970   possible.
19971 * (bug 18601) generator=backlinks returns invalid continue parameter
19972 * (bug 18597) Internal error with empty generator= parameter
19973 * (bug 18617) Add xml:space="preserve" attribute to relevant tags in XML output
19974 * (bug 17611) Provide a sensible error message on install when the SQLite data
19975   directory is wrong.
19977 === Languages updated in 1.15 ===
19979 MediaWiki supports over 300 languages. Many localisations are updated
19980 regularly. Below only new and removed languages are listed, as well as
19981 changes to languages because of Bugzilla reports.
19983 * Austrian German (de-at) (new)
19984 * Swiss Standard German (de-ch) (new)
19985 * Simplified Gan Chinese (gan-hans) (new)
19986 * Traditional Gan Chinese (gan-hant) (new)
19987 * Literary Chinese (lzh) (new)
19988 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
19989 * Veps (vep) (new)
19990 * Võro (vro) (renamed from fiu-vro)
19991 * (bug 17151) Add magic word alias for #redirect for Vietnamese
19992 * (bug 17288) Messages improved for default language (English)
19993 * (bug 12937) Update native name for Afar
19994 * (bug 16909) 'histlegend' now reuses messages instead of copying them
19995 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
19996   when the user is blocked
19997 * Traditional/Simplified Gan Chinese conversion support
19999 == MediaWiki 1.14 ==
20001 == MediaWiki 1.14.1 ==
20002 === Changes since 1.14.0 ===
20004 * (bug 17737) Fixed russian URLs for Special:BookSources
20005 * (bug 17713) Using links with only an anchor no longer add an dummy entry in
20006   the pagelinks table
20007 * (bug 17897) Fixed string offset error in <pre> tags
20008 * (bug 17832) Fixed action=delete returning 'unknownerror' instead of
20009   'permissiondenied' when the user is blocked
20010 * Fixed performance regression when accessing deleted (archived) files
20011 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
20013 == MediaWiki 1.14.0 ==
20014 === Changes since 1.14.0rc1 ===
20016 * Fixed the performance of the backlinks API module
20017 * (bug 17420) Send the correct content type from action=raw when the HTML file
20018   cache is enabled.
20019 * (bug 17437) Fixed incorrect link to web-based installer
20020 * (bug 17527) Fixed missing MySQL-specific options in installer
20022 === Configuration changes in 1.14 ===
20024 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
20025   the effect of the new __INDEX__/__NOINDEX__ magic words.  (Default: null, ex-
20026   empt all content namespaces.)
20027 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
20028   has been $wgSearchForwardUrl.
20029 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
20030   $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent
20031   Changes feed that appears on all pages.
20032 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
20033   SQLite data directories on creation. Note that this setting is separate from
20034   $wgDirectoryMode, which applies to all normal dirs created by MediaWiki.
20035 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
20036   $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
20037   group in order to add or remove those groups from themselves.
20038   Backwards compatibility is maintained.
20039 * $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic
20040   word is restricted to titles equivalent to the actual page title. This
20041   is true per default, but can be set to false to allow any title.
20042 * $wgSpamRegex may now be an array of multiple regular expressions.
20043 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
20044 * Editing the MediaWiki namespace is now unconditionally restricted to people
20045   with the editinterface right, configuring this in $wgNamespaceProtection
20046   is not required.
20047 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
20048 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
20049   whitelist on or off.
20050 * Added $wgRenderHashAppend to append some string to the parser cache and the
20051   sitenotice cache keys.
20052 * $wgRCChangedSizeThreshold is now a positive integer by default,
20053 * (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform
20054   write actions using the API.
20055 * Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix
20056   ($wgLocalInterwiki) onto the page names in the UDP feed.
20057 * Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins
20058   on the wiki. If it's set to false, then the skin used will *always* be
20059   $wgDefaultSkin.
20060 * Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based
20061   on the user's real name if one is set. Defaults to false (use the username)
20062 * Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in
20063   ForeignAPIRepo)
20064 * (bug 44) Image namespace and accompanying talk namespace renamed to File.
20065   For backward compatibility purposes, Image still works. External tools may
20066   need to be updated.
20067 * The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and
20068   NS_IMAGE_TALK.  The old constants are retained as aliases for compatibility,
20069   and should still be used in code meant to be compatible with v1.13 or older.
20070 * MediaWiki can be forced to use private IPs forwarded by a proxy server by
20071   using $wgUsePrivateIPs.
20072 * The 'BeforeWatchlist' hook has been removed due to internal changes in
20073   Special:Watchlist. 'SpecialWatchlistQuery' should now be used by extensions
20074   to customize the watchlist database query.
20076 === Migrated extensions ===
20077 The following extensions are migrated into MediaWiki 1.14:
20079 * Special:DeletedContributions to show deleted user contributions (was
20080   extension DeletedContributions)
20081 * Special:Log/newusers recording new users (was extension Newuserlog)
20082 * Special:LinkSearch to search for external links (was extension LinkSearch)
20083 * RenderHash
20084 * NoMoveUserPages
20085 * UniversalEditButton
20087 === New features in 1.14 ===
20089 * New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and
20090   'Special:ListUsers/GROUP/USER', in addition to the older syntax
20091   'Special:ListUsers/GROUP' where GROUP is a valid group name.
20092 * Configurable per-namespace and per-page notices for the edit form,
20093   respectively MediaWiki:Editnotice-# where # is the namespace number, and
20094   MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and
20095   PAGENAME is the page name minus the namespace prefix.
20096 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
20097   search engine indexing on a per-article basis.
20098 * Handheld stylesheet options
20099 * Added 'DoEditSectionLink' hook as a cleaner unified version of the old
20100   'EditSectionLink' and 'EditSectionLinkForOther' hooks.  Note that the
20101   'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is
20102   run in all cases instead, so extensions using the old hooks should still work
20103   if they ran roughly the same code for both hooks (as is almost certain).
20104 * Signature (~~~~) "cleaning", i.e. template removal, can be disabled with
20105   $wgCleanSignatures=false
20106 * Extensions can use the SkinBuildSidebar hook to modify the content of the
20107   sidebar and add custom portlets to it
20108 * Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari-
20109   ables into the output of Skin::makeVariablesScript
20110 * (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on
20111   Special:ListGroupRights
20112 * (bug 14377) Add a date selector to history pages
20113 * (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
20114   the main page to be customized
20115 * Added $wgDisableTitleConversion to disabling the conversion for all pages on
20116   the wiki
20117 * Added 'noconvertlink' toggle that can be set per user preferences, also
20118   added 'convertlink=no|yes' on GET requests whether have the link titles
20119   being converted or not
20120 * (bug 14921) Special:Contributions/: add user name to <title>
20121   Patch by Emufarmers
20122 * Unescape more "safe" characters when producing URLs, for added prettiness
20123 * Introduced a new hook 'SkinAfterContent' that allows extensions to add text
20124   after the page content and article metadata. Updated all skins and skin
20125   templates to work with that hook.
20126 * (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and
20127   'ignore-groups'. Patch by Louperivois
20128 * (bug 15127) Work around minor display glitch in Opera.
20129 * By default, reject file uploads that look like ZIP files, to avoid the
20130   so-called GIFAR vulnerability.
20131 * (bug 15141) Give ability to only list protected pages with the cascading
20132   option enabled on Special:ProtectedPages
20133 * (bug 15157) Special:Watchlist has the same options as Special:Watchlist:
20134   Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
20135 * Added hook 'UserrightsChangeableGroups' to allow modification of what
20136   groups may be added or removed via the Special:UserRights interface.
20137 * HTML entities like &nbsp; now work (are not escaped) in edit summaries.
20138 * (bug 13815) In the comment for page moves, use the colon-separator message
20139   instead of a hardcoded colon.
20140 * Allow <gallery> to accept image names without an Image: prefix
20141 * Add tooltips to rollback and undo links
20142 * BMP images are now displayed as PNG
20143 * (bug 13471) Added NUMBERINGROUP magic word
20144 * (bug 11884) Now support Flash EXIF attribute
20145 * Show thumbnails in the file history list, patch by User:Agbad
20146 * Added support of piped wikilinks using double-width brackets
20147 * Added an on-wiki external image whitelist. Items in this whitelist are
20148   treated as regular expression fragments to match for when possibly
20149   displaying an external image inline.
20150 * (bugs 15405, 15436) Sort more currency types correctly in sortable tables
20151 * (bug 15422) Sort more different types of numbers in sortable tables
20152 * (bug 2889) MediaWiki:Print.css applies to the printable version
20153 * Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for
20154   small categories
20155 * After logging in, automatically redirect to wherever you logged in from
20156 * (bug 5619) Break messages used in Special:Statistics down further
20157 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
20158   Special:Statistics
20159 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
20160   plaintext copyright notice. Patch by Juliano F. Ravasi.
20161 * (bug 15551) Deletion log excerpt is now shown whenever a user vists a
20162   deleted page, even if they are unable to edit it.
20163 * Added Wantedfiles special pages, allowing users to find image links with no
20164   image.
20165 * (bug 12650) It is now possible to set different expiration times for
20166   different restriction types on the protection form.
20167 * (bug 8440) Allow preventing blocked users from editing their talk pages
20168 * Improved upload file type detection for OpenDocument formats
20169 * Added the ability to set the target attribute on external links with
20170   $wgExternalLinkTarget
20171 * api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the
20172   maxlag check fails, just like index.php does
20173 * Added "link" parameter to image links, to allow images to link to an
20174   arbitrary title or URL. This should replace inaccessible and incomplete
20175   solutions such as CSS-based overlays and ImageMap.
20176 * (bug 368) Don't use caption for alt attribute; allow manual specification
20177   using new "alt=" parameter for images
20178 * (bug 44) The {{ns:}} core parser function now also accepts localized
20179   namespace names and aliases; also, its output now uses spaces instead of
20180   underscores to match the behavior of the {{NAMESPACE}} magic word
20181 * Added the ability to display user edit counts in Special:ListUsers. Off by
20182   default, enabled with $wgEdititis = true (named after the medical condition
20183   marked by unhealthy obsession with edit counts).
20184 * Added a file cache to the parser to improve page rendering time on pages with
20185   several uses of the same image.
20186 * (bug 1250) Users can still use "show preview" and "show changes" even if the
20187   wiki is set to read-only mode.
20188 * Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.
20189   This should make it so that ALL user-accessible methods of removing a page
20190   from a watchlist lead to this hook being called (it was previously only
20191   called from within Article.php
20192 * Maximum execution time for shell processes on linux is now configured with
20193   $wgMaxShellTime (180 seconds by default)
20194 * (bug 1306) 'Email user' link no longer shown on user page when emailing
20195   is not available due to lack of confirmed address or disabled preference
20196 * Special:Wanted templates special page added to display missing templates
20197   linked from articles
20198 * Make search matches bold only, not red as well
20199 * (bug 10080) Blocks can be modified without unblocking first
20200 * (bug 15820) Special:BlockIP shows a notice if the user being blocked is
20201   already directly blocked
20202 * (bug 13710) Allow to force "watch this" checkbox via URL using parameter
20203   "watchthis"
20204 * (bug 15125) Add Public Domain to default options when installing. Patch by
20205   Nathan Larson.
20206 * Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
20207 * (bug 16113) Show/hide for redirects in Special:NewPages
20208 * (bug 15903) Upload link was added to Nostalgia skin
20209 * (bug 15761) Add user toggle to omit diff after rollback
20210 * Added the BitmapHandler_ClientOnly media handler, which allows server-side
20211   image scaling to be completely disabled for specific media types, via the
20212   $wgMediaHandlers configuration variable.
20213 * New 'AbortDiffCache' hook can be used to cancel the caching of a diff
20214 * (bug 15835) Added Content-Style-Type meta tag
20215 * (bug 11027)  Add parameter to MW:Randompage-nopages so that user can see the
20216   namespace.
20217 * Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
20218   admins with a single domain can hide the domain section using CSS
20219 * Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
20220 * Moved password reset form from Special:Preferences to Special:ResetPass
20221 * Added Special:ChangePassword as a special page alias for Special:ResetPass
20222 * Added complementary function for addHandler() called removeHandler() for
20223   removing events
20224 * Improved security of file uploads for IE clients, using a reverse-engineered
20225   algorithm very similar to IE's content detection algorithm.
20226 * Cascading protection no longer requires that both edit and move are restricted
20227   to sysop, just edit=sysop is enough
20228 * (bug 2391) A warning is now shown for invalid ISBN numbers on
20229   Special:Booksources.
20230 * Installer has been updated to reflect the release of the GFDL 1.3. The URL for
20231   1.2 has been updated, and the 1.3 URL has been given. 1.2 is still
20232   Wikipedia-compatible. RightsCode was changed from 'gfdl' to 'gfdl1_2', so we
20233   can now support 1.2 as well as 1.3 (gfdl1_3).
20234 * (bug 16293) PD URL was changed to the CreativeCommons site on PD (which
20235   auto-detects your language) instead of Wikipedia.
20236 * (bug 16635) The "view and edit watchlist" page (Special:Watchlist/edit) now
20237   includes a table of contents
20238 * File objects returned by wfFindFile() are now cached by default
20239 * (bug 7492) Rights can now be assigned to specific IP addresses and ranges by
20240   using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE)
20241 * Add a 'change block' link to Special:IPBlockList and Special:Log
20242 * (bug 16459) Use native getElementsByClassName where possible, for better
20243   performance in modern browsers
20244 * Enable \cancel and \cancelto in texvc (recompile required)
20245 * Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions
20246   to implement their own password hashing methods.
20247 * (bug 16760) Add CSS-class to action links of Special:Log
20248 * (bug 505) Time zones can now be specified by location in user preferences,
20249   avoiding the need to manually update for DST. Patch by Brad Jorsch.
20250 * (bug 2585) HTTP 404 return code is now given for a page view if the page
20251   does not exist, allowing spiders and link checkers to detect broken links.
20252 * Special:Log: Add 'change protection' link for unprotected pages too
20253 * Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to
20254   'li' elements
20255 * (bug 16754) Making arbitrary rows of sortable tables sticky:
20256   |- class="unsortable"
20257 * Show subversion too even if a "normal" version number is available
20258 * (bug 16121) Add a note that a page move was without creating a redirect in the
20259   move log
20260 * Image moving is now enabled for sysops by default
20261 * Make "Did you mean" search feature more noticeable
20262 * (bug 16720) Transcluded Special:NewPages processes "/username="
20264 === Bug fixes in 1.14 ===
20266 * (bug 14907) DatabasePostgres::fieldType now defined.
20267 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
20268   falls back to the user option
20269 * (bug 14954) Fix regression in Modern and Simple skins
20270 * Recursion loop check added to Categoryfinder class
20271 * Fixed few performance troubles of large job queue processing
20272 * Not setting various parameters in Foreign Repos now fails more gracefully
20273 * (bug 2333) Redirects are properly rendered when previewing an edit.
20274 * (bug 14972) Use localized alias of Special:Search on all search forms
20275 * (bug 11035) Special:Search should have descriptive <title>
20276 * Special pages are now not subject to special handling for "self-links"
20277 * (bug 15053) Syntactically incorrect redirects with another link in them
20278   no longer redirect to the second link
20279 * (bug 15049) Fix for CheckUser extension's log search: usernames containing
20280   a "-" were incorrectly turned into bogus IP range searches.
20281   Patch by Max Semenik.
20282 * (bug 15055) Talk page notifications no longer attempt to send mail when
20283   user's e-mail address is invalid or unconfirmed
20284 * (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in
20285   5 minutes.
20286 * (bug 15016) 'Templates used on this page' list in view source should be
20287   wrapped in a div with class "templatesUsed"
20288 * (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the
20289   diff entirely, not just the display of it.
20290 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
20291   allows having the unprefixed page title as the default category sortkey
20292 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
20293   ns-special to special pages.
20294 * (bug 15052) Skins should add their name as a class in <body>
20295 * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar()
20296   for several languages was removed. The settings have been put in extension
20297   WikimediaMessages. Patch for Czech by Danny B.
20298 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
20299   again
20300 * (bug 13770) Fixed incorrect detection of PHP's DOM module
20301 * (bug 14790) Export of category pages when using Category: prefix now actually
20302   gives results
20303 * Avoid recursive crazy expansions in section edit comments for pages which
20304   contain '/*' in the title
20305 * Fix excessive memory usage when parsing pages with lots of links
20306 * $wgSpamRegex now matches the edit summary and page move descriptions in
20307   addition to body text.
20308 * Navigation links to images available from a shared repository (like Commons)
20309   from their local talk pages no longer appear as redlinks
20310 * Action=purge on ForeignApiFiles now works (purges their thumbnails and
20311   description pages).
20312 * (bug 15303) Title conversion for templates wasn't working in some cases.
20313 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
20314   literally; now converting them to spaces per expectation.
20315 * (bug 15342) "Invert" checkbox now works correctly when selecting main
20316   namespace in Special:Watchlist
20317 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
20318   last input element (like Special:Watchlist too)
20319 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
20320 * Fixed intermittent deadlock errors involving objectcache table queries.
20321   Use a separate database connection for the objectcache table to avoid
20322   long-lasting locks on that table.
20323 * Respect file restrictions in the file history list
20324 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
20325   tables, and have been disabled by default.
20326 * (bug 15482) Special:Recentchangeslinked has no longer two submit buttons
20327 * (bug 15292) New message notification for unregistred users now works again
20328 * (bug 14398) mwsuggest.js: Let width of container be configurable
20329 * (bug 15543) Only include user touched timestamp to generated CSS
20330 * (bug 15497) Removed encoding attribute from <?xml ?> tag
20331 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
20332   Special:UserLogin. Patch by Marooned.
20333 * Fixed the HTTP accept language string detection length in
20334   LanguageConverter.php, instead of the fixed length language codes.
20335 * Special:RecentChangesLinked no longer shows outgoing links for nonexistent
20336   pages even if there are broken link records with source article id 0 in the
20337   database
20338 * (bug 15598) Special:Newpages default limit uses user preference for
20339   recentchanges limit instead of hardcoded 50.
20340 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses,
20341   instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
20342 * (bug 14638) Special:Blockip now provides a link to the block log if the user
20343   has been blocked more than 10 times. Patch by Matt Johnston.
20344 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
20345 * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST.
20346 * (bug 15642) Blocked sysops can no longer block other users
20347 * Http::request() now respects $wgHTTPtimeout when not using cURL
20348 * (bug 15158) Userinvalidcssjstitle not shown on preview
20349 * (bug 15196) Free external links should be numbered in a localised manner
20350 * (bug 15388) Title of Special:PrefixIndex
20351 * Links with no title but a curid parameter now use the curid to pick a page
20352 * (bug 10323) Special:Undelete should have "inverse selection" button
20353 * (bug 15831) Modern skin RTL support is bugous
20354 * (bug 15869) Nostalgia skin does not show page title in printable mode
20355 * (bug 15795) Special:Userrights is now listed on Special:SpecialPages when the
20356   user can only change his rights
20357 * (bug 15846) Categories "leak" from older revisions in certain circumstances
20358 * (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
20359 * (bug 14178) Some uses of UserLoadFromSession hook cause segfault
20360 * (bug 15925) Postitive bytes added on recentchanges and watchlists are now
20361   bolded if above the threshold, previously it only worked for negatives
20362 * Specify apple-touch-icon before favicon in HTML head section to make the
20363   Konqueror browser correctly use the latter
20364 * (bug 15717) Set $separatorTransformTable for language 'eu'
20365 * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
20366   preferences.
20367 * (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
20368 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
20369   search box
20370 * (bug 14609) User's namespaces to be searched default not updated after adding
20371   new namespace
20372 * Purge form uses valid XHTML
20373 * (bug 12764) Special:LonelyPages shows transcluded pages
20374 * (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback
20375   if JavaScript is disabled
20376 * (bug 4253) Recentchanges IRC messages no longer include title in diff URLs
20377 * Allow '0' to be an accesskey.
20378 * (bug 8063) Use language-dependent sorting in client-side sortable tables
20379 * (bug 16160) Suggestions box should be resized from left for RTL wikis
20380 * (bug 11533) Fixed insane slowdown when in read-only mode for long periods
20381   of time with CACHE_NONE (default objectcache table configuration).
20382 * Trying to set two different default category sort keys for one page now
20383   produces a warning
20384 * (bug 16143) Fix redirect loop on special pages starting with lower case
20385   letters
20386 * (bug 15737) Fix notices while expanding using PPCustomFrame
20387 * (bug 15544) Non-index entry points cause the "Wiki not set up" message to
20388   have corrupt URLs
20389 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
20390   search box
20391 * (bug 4362) [[MediaWiki:History copyright]] no more used with most recent
20392   revision when passing oldid parameter in the url
20393 * (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same
20394   filename as the remote site.
20395 * (bug 8345) Don't autosummarize where a redirect was left unchanged
20396 * Made thumb caching in ForeignApiFile objects integrated with normal thumb
20397   path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result.
20398 * (bug 5530) Consistency between character encoding in {{PAGENAMEE}},
20399   {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
20400 * Safer handling of non-MediaWiki exceptions -- now obeys our settings for
20401   formatting and path exposure.
20402 * Less verbose errors from profileinfo.php when not configured
20403 * Blacklist redirects via Special:Filepath, hard to use.
20404 * Improved input validation on Special:Import form
20405 * Add a .htaccess to deleted images directory for additional protection
20406   against exposure of deleted files with known SHA-1 hashes on default
20407   installations.
20408 * Improved scripting safety heuristics for IE 5/6 content-type detection.
20409 * Improved scripting safety heuristics on SVG uploads.
20410 * (bug 11728) Unify layout of enhanced watchlist/recent changes
20411 * (bug 8702) Properly update stats when running nukePage maintenance script
20412 * (bug 7726) Searches for words less than 4 characters now work without
20413   requiring customization of MySQL server settings
20414 * Honour unchecked "Leave a redirect behind" for moved subpages
20415 * (bug 16440) Broken 0-byte math renderings are now deleted and re-rendered
20416   when page is re-parsed.
20417 * (bug 6100) Unicode BiDi embedding/override characters (U+202A - U+202E) are
20418   now automatically removed from titles; these characters can accidentally end
20419   up in copy-and-pasted titles, and, by overriding normal bidirectional text
20420   handling, can lead to annoying behavior such as text rendering backwards
20421 * Fixed minor bug where the memcached value for how many accounts an IP had
20422   created that day would be increased even if $wgAccountCreationThrottle was
20423   hit. This meant if an IP hit the throttle and then the throttle was raised
20424   later that day, the IP still couldn't create another account, because it
20425   had marked them as having created another account, when their last account
20426   creation had actually failed.
20427 * (bug 12647) Allow autogenerated edit summary messages to be blanked with '-'
20428 * (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki
20429   markup now.
20430 * (bug 16529) Fix for search suggestions with some third-party JS libraries
20431 * (bug 13342) importScript() generates more consistent URI encoding
20432 * (bug 16577) When a blocked user tries to rollback a page, the block message
20433   is now only displayed once
20434 * (bug 14268) SVG image sizes now extracted with proper XML parser
20435 * (bug 14365) RepoGroup::findFiles() no longer crashes if passed an invalid
20436   title via the API
20437 * (bug 4253, bug 16586) Revision ID is now given instead of title in URLs for
20438   new pages in the recent changes IRC feed
20439 * Ugly tooltips in Special:Statistics were phased out in favor of more direct
20440   information. Went ahead and rewrote SpecialStatistics to subclass SpecialPage
20441 * (bug 5506) Links to files on foreign repositories are now shown consistently
20442   as bluelinks e.g. in logs and edit summaries
20443 * (bug 16623) Add missing </p> tag in Special:LockDB
20444 * (bug 15849) Special:Movepage now throws a more specific error when trying to
20445   move a title to an interwiki target
20446 * (bug 16638) 8-bit URL fallback encoding now set on additional languages using
20447   Arabic script (Persian, Urdu, Sindhi, Punjabi)
20448 * (bug 16656) cleanupTitles and friends should now work in load-balanced
20449   DB environments when $wgDBserver isn't set.
20450 * (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG
20451   images which do not specify width and height attributes.
20452 * (bug 15027) Internet domain names and IP addresses can now be indexed and
20453   searched sensibly with the default MySQL search backend.
20454 * (bug 11733) Fixed parameter validation in importTextFile.php
20455 * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages
20456   for clarity over "previous/next"
20457 * (bug 16612) Fixed "noprint" class for Modern skin print style
20458 * Section anchors now have an "id" attribute as well as a "name" attribute,
20459   even when Tidy is not used
20460 * (bug 16026) revision-info, revision-info-current, cannotdelete,
20461   redirectedfrom, historywarning and difference messages now use Wiki text
20462   rather than raw HTML markup
20463 * (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
20464 * (bug 16772) Special:Upload now correctly rejects files with spaces in the
20465   file extension (e.g. Foo. jpg).
20466 * Image moving over an existing file no longer throws a database error
20467 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
20468 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
20469   local URLs
20470 * (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
20471   that STDIN can be used for page list
20472 * (bug 16560) Special:Random returns a page from ContentNamespaces, and no
20473   longer from NS_MAIN
20475 === API changes in 1.14 ===
20477 * Registration time of users registered before the DB field was created is now
20478   shown as empty instead of the current time.
20479 * API search now falls back to fulltext search by default when using Lucene
20480   or other engine which doesn't support a separate title search function.
20481   This means you can use API search on Wikipedia without explicitly adding
20482   &srwhat=text to the query.
20483 * Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
20484 * (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits'
20485   are now listed on action=help
20486 * (bug 15044) Added requestid parameter to api.php to facilitate distinguishing
20487   between requests
20488 * (bug 15048) Added limit field for multivalue parameters to action=paraminfo
20489   output.
20490 * When the limit on multivalue parameters is exceeded, a warning is issued
20491 * list=search doesn't list missing pages any more
20492 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
20493   non-hidden categories
20494 * (bug 15228) Combining revids= and redirects now throws a warning instead of
20495   an error, and still resolves redirects generated by the generator.
20496 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
20497   etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
20498   for consistency with other list modules.
20499 * Added action=watch
20500 * (bug 15275) apprefix and related parameters ignore spaces at the end
20501 * action=edit no longer throws unknown error 228  when trying to create an
20502   empty section with section=new
20503 * Database replication lag doesn't cause all action=edit requests to return the
20504   nochange flag any more
20505 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
20506 * (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should
20507   return just "Unknown error"
20508 * (bug 15448) YAML output returns empty values instead of 0
20509 * (bug 15445) Added action=patrol
20510 * (bug 15466) Added action=purge
20511 * (bug 15486) action=block ignores autoblock parameter
20512 * (bug 15492) added rcprop=loginfo to list=recentchanges
20513 * (bug 15527) action=rollback can now revert anonymous editors
20514 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
20515   if the page is also protected otherwise (1.10+ style or cascading)
20516 * list=random now has rnredirect parameter, to get random redirects.
20517 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
20518   hooks which allow for extending core modules in a cleaner way
20519 * action=protect checks for invalid protection types and levels
20520 * (bug 15673) Added indentation to format=wddxfm output and improved built-in
20521   WDDX formatter to resemble PHP's more
20522 * (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
20523   rather than causing an exception
20524 * Added uiprop=preferencestoken to meta=userinfo
20525 * (bug 15609) Add inprop=url and inprop=readable to prop=info
20526 * Add ApiDisabled and ApiQueryDisabled classes so individual modules can
20527   be disabled in LocalSettings.php
20528 * (bug 15653) Add prop=duplicatefiles
20529 * (bug 15768) Add list=watchlistraw
20530 * (bug 15647) action=edit with basetimestamp fails if the page has been deleted
20531   and undeleted since the last edit
20532 * (bug 15785) Allow for different expiry times for different protections in
20533   action=protect
20534 * Added allowsduplicates attribute to action=paraminfo output
20535 * (bug 15767) apfilterlanglinks returns duplicate results
20536 * (bug 15845) Added pageid/fromid parameter to action=delete/move, making
20537   manipulation of legacy pages with invalid titles possible
20538 * (bug 15881) Empty or invalid parameters cause database errors
20539 * The maxage and smaxage parameters are now properly validated
20540 * (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol
20541   and patrolmarks right
20542 * (bug 15985) acfrom and aifrom parameters didn't work when sorting in
20543   descending order.
20544 * (bug 15995) Add cmstartsortkey and cmendsortkey parameters to
20545   list=categorymembers
20546 * (bug 16017) list=categorymembers sets invalid continue parameters for
20547   sortkeys containing pipes
20548 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
20549   works properly when multiple users are queried or a userprefix is used
20550 * (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
20551   output
20552 * Added redirect resolution to action=parse
20553 * (bug 16074) rvprop=content combined with a generator with a high limit causes
20554   an error
20555 * (bug 16105) Image metadata attributes containing spaces result in invalid XML
20556 * (bug 16126) Added siprop=magicwords to meta=siteinfo
20557 * (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
20558 * (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
20559 * meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
20560   sifilter parameter.
20561 * (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
20562   limits
20563 * (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases
20564 * (bug 16408) Added rvgeneratexml to prop=revisions
20565 * (bug 16421) Made list=logevents's leuser accept user names with underscores
20566   instead of spaces
20567 * (bug 16516) Made rvsection=T-2 work
20568 * (bug 16526) Added usprop=emailable to list=users
20569 * (bug 16548) list=search threw errors with an invalid error code
20570 * (bug 16515) Added pst and onlypst parameters to action=parse
20571 * (bug 16541) Added block expiry timestamp to list=logevents output
20572 * (bug 16613) action=protect doesn't tell when &cascade was set but cascading
20573   protection wasn't allowed
20574 * (bug 16626) action=delete now correctly handles empty "reason" param
20575 * (bug 15579) clshow considers all categories !hidden
20576 * (bug 16647) list=allcategories, prop=categories don't return "hidden"
20577   property for hidden categories
20578 * New siprop parameter of 'extensions' to list all installed extensions
20579 * (bug 16672) Include canonical namespace name in
20580   meta=siteinfo&siprop=namespaces.
20581 * (bug 16726) siprop=namespacealiases should also list localized aliases
20582 * (bug 16730) Added apprfiltercascade parameter to list=allpages to filter
20583   cascade-protected pages
20585 === Languages updated in 1.14 ===
20587 MediaWiki supports over 300 languages. Many localisations are updated
20588 regularly. Below only new and removed languages are listed.
20590 * Bakhtiari (bqi) (new)
20591 * Fiji Hindi (Devanagari script) (hif-deva) (new)
20592 * Krio (kri) (new)
20593 * Lezghian (lez) (new)
20594 * Laz (lzz) (new)
20595 * Eastern Mari (mhr) (new)
20596 * Niuean (niu) (new)
20597 * Oromo (om) (new)
20598 * Plautdietsch (pdt) (new)
20599 * Western Punjabi (pnb) (new)
20600 * Tarantino (roa-tara) (new)
20601 * Serbo-Croatian (sh) (new)
20602 * Tulu (tcy) (new)
20605 == MediaWiki 1.13 ==
20607 == MediaWiki 1.13.5 ==
20609 February 22, 2009
20611 This is a maintenance update to the Summer 2008 snapshot release of MediaWiki.
20613 MediaWiki is now using a "continuous integration" development model with
20614 quarterly snapshot releases. The latest development code is always kept
20615 "ready to run", and in fact runs our own sites on Wikipedia.
20617 Release branches will continue to receive security updates for about a year
20618 from first release, but nonessential bugfixes and feature developments
20619 will be made on the development trunk and appear in the next quarterly release.
20621 Those wishing to use the latest code instead of a branch release can obtain
20622 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
20624 == Changes since 1.13.4 ==
20626 * (bug 17449) Fixed PostgreSQL installation
20627 * (bug 17527) Fixed missing MySQL-specific options in installer
20629 == Changes since 1.13.3 ==
20631 A number of cross-site scripting (XSS) security vulnerabilities were discovered
20632 in the web-based installer (config/index.php). These vulnerabilities all
20633 require a live installer -- once the installer has been used to install a wiki,
20634 it is deactivated.
20636 Note that cross-site scripting vulnerabilities can be used to attack any website
20637 in the same cookie domain. So if you have an uninstalled copy of MediaWiki on
20638 the same site as an active web service, MediaWiki could be used to attack the
20639 active service.
20641 If you are hosting an old copy of MediaWiki that you have never installed, you
20642 are advised to remove it from the web.
20644 == Changes since 1.13.2 ==
20646 David Remahl of Apple's Product Security team has identified a number of
20647 security issues in previous releases of MediaWiki. Subsequent analysis by the
20648 MediaWiki development team expanded the scope of these vulnerabilities. The
20649 issues with a significant impact are as follows:
20651 * An XSS vulnerability affecting all MediaWiki installations between 1.13.0 and
20652   1.13.2. [CVE-2008-5249]
20653 * A local script injection vulnerability affecting Internet Explorer clients for
20654   all MediaWiki installations with uploads enabled. [CVE-2008-5250]
20655 * A local script injection vulnerability affecting clients with SVG scripting
20656   capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
20657   uploads enabled. [CVE-2008-5250]
20658 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
20659   installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
20661 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
20662 authorised user's login session, and to act as that user on the wiki. The
20663 authorised user must visit a web page controlled by the attacker in order to
20664 activate the attack. Intranet wikis are vulnerable if the attacker can
20665 determine the intranet URL.
20667 Local script injection vulnerabilities are like XSS vulnerabilities, except
20668 that the attacker must have an account on the local wiki, and there is no
20669 external site involved. The attacker uploads a script to the wiki, which another
20670 user is tricked into executing, with the effect that the attacker is able to act
20671 as the privileged user.
20673 CSRF vulnerabilities allow an attacker to act as an authorised user on the wiki,
20674 but unlike an XSS vulnerability, the attacker can only act as the user in a
20675 specific and restricted way. The present CSRF vulnerability allows pages to be
20676 edited, with forged revision histories. Like an XSS vulnerability, the
20677 authorised user must visit the malicious web page to activate the attack.
20679 These four vulnerabilities are all fixed in this release.
20681 David Remahl also reminded us of some security-related configuration issues:
20683 * By default, MediaWiki stores a backup of deleted images in the images/deleted
20684   directory. If you do not want these images to be publically accessible, make
20685   sure this directory is not accessible from the web. MediaWiki takes some steps
20686   to avoid leaking these images, but these measures are not perfect.
20687 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
20688   errors. This is the default on most shared web hosts.
20689 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
20690   lead to path disclosure.
20692 Other changes in this release:
20694 * Avoid fatal error in profileinfo.php when not configured.
20695 * Add a .htaccess to deleted images directory for additional protection against
20696   exposure of deleted files with known SHA-1 hashes on default installations.
20697 * Avoid streaming uploaded files to the user via index.php. This allows
20698   security-conscious users to serve uploaded files via a different domain, and
20699   thus client-side scripts executed from that domain cannot access the login
20700   cookies. Affects Special:Undelete, img_auth.php and thumb.php.
20701 * When streaming files via index.php, use the MIME type detected from the
20702   file extension, not from the data. This reduces the XSS attack surface.
20703 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any
20704   XSS vulnerabilities involving uploads of files containing scripts.
20705 * Internationalisation updates.
20707 == Changes since 1.13.1 ==
20709 * Security: Work around misconfiguration by requiring strict comparisons for
20710   in_array in User::isAllowed().
20711 * (bug 14944) Added $wgShellLocale for configuration of an appropriate locale
20712   to use for LC_CTYPE during shell invocation. For servers that don't have
20713   en_US.utf8. Also added locale detection during install.
20714 * Localisation updates
20715 * Security: Fixed XSS vulnerability in useskin parameter.
20717 == Changes since 1.13.0 ==
20719 * (bug 15460) Fixed intermittent deadlock errors and poor concurrent
20720   performance for installations without memcached.
20721 * (bug 13770) Fixed DOM module detection for installations with both dom
20722   and domxml.
20723 * (bug 15148) Fixed Special:BlockIP for PostgreSQL
20724 * Fixed SQLite support for non-memcached installations
20725 * Localisation updates, Achinese (ace) added.
20727 == Changes since 1.13.0rc2 ==
20729 * (bug 13770) Fixed incorrect detection of PHP's DOM module
20730 * Fix regression from r37834: accesskey tooltip hint should be given for the
20731   minor edit and watch labels on the edit page.
20732 * Updated Chinese simplified/traditional conversion tables
20734 == Changes since 1.13.0rc1 ==
20736 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
20737   has been $wgSearchForwardUrl.
20738 * (bug 14907) DatabasePostgres::fieldType now defined.
20739 * (bug 14966) Fix SearchEngineDummy class for silently non-functional search
20740   on Sqlite instead of horribly fatal error breaky one.
20741 * (bug 14987) Only fix double redirects on page move when the checkbox is
20742   checked
20743 * (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
20744   address for page update notification mails.
20745 * API: Registration time of users registered before the DB field was created is
20746   now shown as empty instead of the current time.
20747 * (bug 14904): fragments were lost when redirects were fixed.
20748 * Added magic word __STATICREDIRECT__ to suppress the redirect fixer
20749 * (bug 15035) Revert English linkTrail to /^([a-z]+)(.*)$/sD, as it was before
20750   r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries,
20751   both bundled with PHP and packaged with distros such as RHEL.
20752 * (bug 14944) Shell invocation of external programs such as ImageMagick convert
20753   was broken in PHP 5.2.6, if the server had a non-UTF-8 locale.
20756 === Configuration changes in 1.13 ===
20758 * New option $wgFeed can be set false to turn off syndication feeds
20759 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
20760   links through each redirect instead of hardcoded 500
20761 * Set $wgUploadSizeWarning to false by default
20762 * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms
20763 * Removed $wgAlternateMaster, use $wgLBFactoryConf
20764 * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to
20765   $wgUserNotifiedOnAllChanges
20766 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
20767   for only some namespaces
20768 * Removed the emailconfirmed implicit group by default. To re-add it, use:
20769     $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
20770   in your LocalSettings.php.
20771 * (bug 2396) New shared database configuration variables. $wgSharedPrefix allows
20772   you to use a shared database with a different prefix. Or you can now use a
20773   local database and use prefixes to separate wiki and the shared tables. And
20774   the new $wgSharedTables variable allows you to specify a list of tables to
20775   share.
20776 * Automatic edit summaries can be disabled with $wgUseAutomaticEditSummaries
20777 * Duplicates of images are now shown on the image page
20778 * $wgRCFilterByAge allows for the list of dates in recent changes special pages
20779   to be filtered to only those within the range of $wgRCMaxAge
20780 * $wgRCLinkLimits and $wgRCLinkDays allow for customization of the list and
20781   limits displayed on the recent changes special pages
20782 * The "createpage" permission is no longer required when uploading if the target
20783   image page already exists
20784 * $wgMaximumMovedPages restricts the number of pages that can be moved at once
20785   (default 100) with the new subpage-move functionality of Special:Movepage
20786 * Hooks display in Special:Version is now disabled by default, use
20787   $wgSpecialVersionShowHooks = true; to enable it.
20788 * $wgActiveUserEditCount sets the number of edits that must be performed over
20789   a certain number of days to be considered active
20790 * $wgActiveUserDays is that number of days
20791 * $wgRateLimitsExcludedGroups has been deprecated in favor of
20792   $wgGroupPermissions[]['noratelimit']. The former still works, however.
20793 * New $wgGroupPermissions option 'move-subpages' added to control bulk-moving
20794   subpages along with pages.  Assigned to 'user' and 'sysop' by default.
20795 * New $wgRC2UDPOmitBots allows user to omit bot edits from UDP output.
20796   Default: false
20797 * Removed $wgEnableCascadingProtection option. Disabling cascading protection
20798   is no longer possible.
20799 * $wgMessageCacheType defines now the type of cache used by the MessageCache
20800   class, previously it was choosen based on $wgParserCacheType
20801 * $wgExtensionAliasesFiles option to simplify adding aliases to special pages
20802   provided by extensions, in a similar way to $wgExtensionMessagesFiles
20803 * Added $wgXMLMimeTypes, an array of XML mimetypes we can check for
20804   with MimeMagic.
20805 * Added $wgDirectoryMode, which allows for setting the default CHMOD value when
20806   creating new directories.
20807 * (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults
20808   current behavior.
20810 === New features in 1.13 ===
20812 * __HIDDENCAT__ on a category page causes the category to be hidden on the
20813   article page
20814 * Do not show edit permissions errors on a red link click, just redirect to the
20815   article. This is so that readers who don't know what a red link is are not
20816   confused when they are told they are range-blocked.
20817 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
20818   image syntax output
20819 * (bug 13100) Added 'preloadtitle' parameter to action=edit&section=new that
20820   pre-fills the section title field
20821 * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked
20822 * (bug 13130) Moved edit token and autosummary fields above edit tools to
20823   reduce broken form submissions
20824 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
20825   redirects to the redirect table
20826 * Add links to page and file deletion forms to edit predefined delete reasons
20827 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
20828 * (bug 2815) Search results for media now use thumbnail instead of text extract
20829 * When a page doesn't exist, the tab should say "create", not "edit"
20830 * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled"
20831   link on diffs
20832 * Magic word formatnum can now take raw suffix to undo formatting
20833 * Add updatelog table to reliably permit updates that don't change the schema
20834 * Add category table to allow better tracking of category membership counts
20835 ** (bug 1212) Give correct membership counts on the pages of large categories
20836 ** Use category table for more efficient display of Special:Categories
20837 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
20838 * (bug 9447) Added hooks for search result headings
20839 * Image redirects are now enabled by default
20840 * (bug 13450) Email confirmation can now be canceled before the expiration
20841 * (bug 13490) Show upload/file size limit on upload form
20842 * Redesign of Special:UserRights
20843 * Make rev_deleted log entries more intelligible
20844 * (bug 6943) Added PAGESINCATEGORY: magic word
20845 * (bug 13604) Added Special:ListGroupRights
20846 * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of
20847   'mainpage' and added it to message 'sidebar'
20848 * Automatically add old redirects to the redirect table when needed
20849 * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or
20850   off on Special:WhatLinksHere
20851 * Cache image redirects
20852 * (bug 10457) Organize Special:SpecialPages into sections
20853 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
20854   to modify the output for edit conflicts
20855 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
20856   a slightly less huge margin and padding
20857 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
20858 * Allow \C and \Q as TeX commands to match \R, \N, \Z
20859 * On Special:UserRights, when you can add a group you can't remove or remove
20860   one you can't add, a notice is printed to warn you
20861 * (bug 12698) Create PAGESIZE parser function, to return the size of a page
20862 * Allow the "log in / create account" link in the toolbar to have different
20863   text from Special:UserLogin title (new message 'nav-login-createaccount')
20864 * Say "log in / create account" if an anonymous user can create an account,
20865   otherwise just "log in", consistently across skins
20866 * Special:Shortpages and Special:Longpages now returns pages in all content
20867   namespaces, not just NS_MAIN.
20868 * (bug 889) Improve conflict-handling between shared upload repository
20869   and local one
20870 * Update documentation links in auto-generated LocalSettings.php
20871 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
20872 * (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
20873 * Custom rollback summaries now accept the same arguments as the default message
20874 * (bug 12542) Added hooks for expansion of Special:Listusers
20875 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)
20876 * More relevant search snippets (turn on $wgAdvancedSearchHighlighting)
20877 * (bug 13950) Allow users to watch the user/talk pages of users they block.
20878 * (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet
20879 * Show image links on Special:Whatlinkshere
20880 * Use rel="start", "prev", "next" appropriately on Pager-based pages
20881 * Add support for SQLite
20882 * AutoAuthenticate hook renamed to UserLoadFromSession
20883 * (bug 13232) importScript(), importStylesheet() funcs available to custom JS
20884 * (bug 13095) Search by first letters or digits in [[Special:Categories]]
20885 * Users moving a page can now move all subpages automatically as well
20886 * (bug 14259) Localisation message for upload button on Special:Import is now
20887   'import-upload' instead of 'upload'
20888 * Add information about user group membership to Special:Preferences
20889 * (bug 14146) Wrap usage section on imagepages into <div>s.
20890 * New layout for Special:Specialpages. Restricted pages are marked but not
20891   separated from other pages in their group.
20892 * (bug 14263) Show a diff of the revert on rollback notification page.
20893 * (bug 13434) Show a warning when hash identical files exist
20894 * Sidebar is now cached for all languages
20895 * The User class now contains a public function called isActiveEditor. Figures
20896   out if a user is active based on at least $wgActiveUserEditCount number of
20897   edits in the last $wgActiveUserDays days.
20898 * SpecialSearchResults hook now passes results by reference, so they can be
20899   changed by extensions.
20900 * Add a new hook LinkerMakeExternalLink to allow extensions to modify the output
20901   of external links.
20902 * (bug 14132) Allow user to disable bot edits from being output to UDP.
20903 * (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a
20904   string
20905 * (bug 14558) New system message (emailuserfooter) is now added to the footer of
20906   e-mails sent with Special:Emailuser
20907 * Add support for Hijri (Islamic) calendar
20908 * Add a new hook LinkerMakeExternalImage to allow extensions to modify the
20909   output of external (hotlinked) images.
20910 * (bug 14604) Introduced the following features for the LanguageConverter:
20911   Multi-tag support, single conversion flag, remove conversion flag on a single
20912   page, description flag, variant name, multi-variant fallbacks.
20913 * Add zh-mo and zh-my variants for the zh language
20914 * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that
20915   are in Special:Recentchanges
20916 * Allow an $error message to be passed to ArticleDelete hook
20917 * Allow extensions to modify the user creation form by calling addInputItem();
20918 * Add meta generator tag to HTML output
20919 * MediawikiPerformAction hook is now passed the Mediawiki object
20920 * Added blank special page Special:BlankPage for benchmarking, etc.
20921 * Foreign repo file descriptions and thumbnails are now cached.
20922 * (bug 11732) Allow localisation of edit button images
20923 * Allow the search box, toolbox and languages box in the Monobook sidebar to be
20924   moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]:
20925   SEARCH, TOOLBOX and LANGUAGES
20926 * Add a new hook NormalizeMessageKey to allow extensions to replace messages
20927   before the database is potentially queried
20928 * (bug 9736) Redirects on Special:Fewestrevisions are now marked as such.
20929 * New date/time formats in Cs localization according to ČSN and PČP.
20930 * Special:Recentchangeslinked now includes changes to transcluded pages and
20931   displayed images; also, the "Show changes to pages linked" checkbox now works
20932   on category pages too, showing all links that are not categorizations
20933 * (bug 4578) Automatically fix redirects broken by a page move
20935 === Bug fixes in 1.13 ===
20937 * (bug 10677) Add link to the file description page on the shared repository
20938 * (bug 13084) Increase size of source/destination filename fields in upload form
20939 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
20940 * (bug 13140) Show parent categories in category namespace
20941 * (bug 13149) Correctly format 'fileexists' message on Upload page
20942 * Make the default filepageexists message accurate
20943 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
20944 * (bug 13022) Fix upload from URL on PHP 5.0.x
20945 * (bug 13132) Unable to unprotect pages protected with earlier versions of
20946   MediaWiki
20947 * (bug 12723) OpenSearch description name now uses more compact language code
20948   to avoid passing the length limit as often, is customizable per site via
20949   'opensearch-desc' message.
20950 * (bug 13135) Special:Userrights now passes IDs through form submission
20951   to allow functionality on not-quite-right usernames
20952 * (bug 12575) Prevent duplicate patrol log entries from being created
20953 * (bug 13174) __HIDDENCAT__ now applies only to category pages
20954 * (bug 13031) Add links to user pages in e-mail form
20955 * (bug 13147) Description for categoriespagetext (used in Special:Categories)
20956   reworded
20957 * (bug 11561) Fix fatal error when calling action=revert to non-image page
20958 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
20959   maintenance/cleanupSpam.php
20960 * All skins should have the "mediawiki" class on the body element
20961 * (bug 13019) Message cache for some extensions not loaded at time of editing
20962 * (bug 13247) Prettified ISBN links
20963 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
20964 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
20965   back when using rollback
20966 * (bug 13012) Use content messages for block options when generating the
20967   recentchanges entry
20968 * (bug 13274) Change links for messages to ucfirst
20969 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
20970   autocomment-prefix)
20971 * Parse MediaWiki message translations with a correct language setting on
20972   preview
20973 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
20974   case-insensitive names.
20975 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
20976 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
20977 * (bug 10721) Duplicate section anchors with differing case now disambiguated
20978   for Internet Explorer's sake and standards compliance
20979 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
20980 * Email subject in content language instead of sending user's UI language
20981 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
20982 * (bug 2084) Fixed incorrect regex to match redirects
20983 * (bug 3131) Manually-specified upload destination filename is no longer
20984   overwritten by browsing for a file after you wrote it.
20985 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
20986   'generated-sidebar'.
20987 * (bug 13265) Media handler is missing 'image/x-bmp'
20988 * (bug 13407) MediaWiki:Powersearch is used in two places
20989 * (bug 13403) Fix cache invalidation of history pages when old revisions change
20990 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
20991 * (bug 12801) Fix link in subtitle message in AJAX search
20992 * (bug 13428) Fix regression in protection form layout HTML validity
20993 * (bug 9403) Sanitize newlines from search term input
20994 * (bug 13429) Separate date and time in message sp-newimages-showfrom
20995 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
20996   so groups may optionally edit protected pages without having 'protect' perms
20997 * Disallow deletion of big pages by means of moving a page to its title and
20998   using the "delete and move" option.
20999 * (bug 13466, 13632) White space differences not shown in diffs
21000 * (bug 1953) Search form now honors namespace selections more reliably
21001 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
21002 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
21003 * (bug 6447) Trackbacks now work with transactional tables, if enabled
21004 * (bug 6892, 7147) Trackback error handling, optional fields more robust
21005 * (bug 6813) Don't break HTML validator when using trackbacks
21006 * Fix for size checks on SVG images with global 'stroke-width' attribute
21007 * (bug 11874) Inline CSS with !important no longer borken
21008 * (bug 1600) Strip extra == section markup == in new-comment field
21009 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
21010 * (bug 12077) Fix HTML nesting for TOC
21011 * (bug 344) Purge cache for talk/article pages when deleting the other tab
21012 * (bug 13436) Treat image captions correctly when they include option keywords
21013   (like ending with "px" or starting with "upright")
21014 * Trackback display formatting fixed
21015 * Don't die when single-element arrays are passed to SQL query constructors
21016   that have an array index other than 0
21017 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
21018 * (bug 13532) Use proper timestamp call when reverting images
21019 * (bug 13543) Updated FAQ link in the installer sidebar
21020 * (bug 13540) Date format in confirmation e-mail now matches message language
21021 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
21022 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
21023 * (bug 13576) maintenance/rebuildrecentchanges.php fails
21024 * (bug 13441) Allow Special:Recentchanges to show bots only
21025 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
21026 * (bug 13463) Login successful page doesn't use user's preferred interface
21027   language
21028 * (bug 13630) Fixed warnings for pass by reference at call time in
21029   Special:Revisiondelete when generating the log entry.
21030 * (bug 12064) BeforePageDisplay hook is now called for all skins
21031 * (bug 13624) Fix regression with manual thumb= parameter on images
21032 * (bug 11039) Add missing labels on protection form
21033 * (bug 13458) Preview/edit toolbar spacing now works consistently
21034 * (bug 13433) Fix action=render on Image: pages
21035 * (bug 13678) Fix CSS validation for Monobook
21036 * (bug 13684) Links in Special:ListGroupRights should be in content language
21037 * (bug 13690) Fix PHP notice on accessing some URLs
21038 * Hide (undo) link if user isn't able to edit page
21039 * Invalidate cache of pages that includes images via redirects on upload
21040 * (bug 13705) Don't show rollback link in page history on incorrect revisions
21041 * (bug 13708) Don't set "Search results" title when loading Special:Search
21042   without query
21043 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existent IP addresses
21044 * (bug 13728) Don't trim initial whitespace during section edits
21045 * (bug 13727) Don't delete log entries from recentchanges on page deletion
21046 * (bug 13752) Redirects to sections now work again
21047 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
21048 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
21049   the page is included
21050 * When hiding things on WhatLinksHere, generated URLs should hide them too
21051 * Properly escape search terms with regex chars so they appear highlighted in
21052   search results
21053 * (bug 13768) pt_title field encoding fixed
21054 * Do not display empty columns on Special:UserRights if all groups are
21055   changeable or all unchangeable
21056 * Fix fatal error on calling PAGESINCATEGORY with invalid category name
21057 * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of
21058   before
21059 * (bug 13796) Show links to parent pages even if some of them are missing
21060 * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere
21061 * (bug 13822) Fatal error on some pages when calculating subpage subtitle
21062 * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
21063 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
21064 * (bug 13866) skins/common/shared.css - invalid attribute fixing
21065 * Hide edit section links on Special:Undelete
21066 * (bug 13860) Fix "Justify paragraphs" option for Modern skin
21067 * (bug 13168) accessibility links in Modern skin link to wrong anchor id
21068 * (bug 13185) No line break after 'subpages' class in Modern skin
21069 * (bug 13583) No "poweredby" in Modern skin
21070 * (bug 13880) "Printable" link in Modern skin now formats as print mode
21071 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
21072 * (bug 13891) Show categories box even if all categories are hidden and user has
21073   "show hidden categories" option on
21074 * (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
21075 * (bug 13913) Special:Whatlinkshere now has correct HTML markup
21076 * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
21077 * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
21078 * (bug 13924) Fix bad HTML on power search form
21079 * (bug 13820) Fix updater for rev_parent_id population
21080 * (bug 13925) Fix bad HTML on search results list
21081 * (bug 13934) Fixing the link to GNU General Public License Version 2
21082 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
21083 * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
21084 * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module
21085   errors
21086 * (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
21087 * (bug 13615) Update case mappings and normalization to Unicode 5.1.0
21088   Note that case mappings will only be used if mbstring extension is not
21089   present.
21090 * (bug 14044) Don't increment page view counters on views from bot users
21091 * (bug 14042) Calling Database::limitResult() misplaced the comment in the log
21092   file
21093 * (bug 14047) Fix regression in installer which hid DB-specific options
21094   Also makes SQLite path configurable in the installer.
21095 * (bug 13546) Follow image redirects on image page
21096 * (bug 12644) Template list on edit page now sorted on preview
21097 * (bug 14058) Support pipe trick for namespaces and interwikis with "-"
21098 * Message name filter on Special:Allmessages now case-insensitive
21099 * (bug 13943) Fix image redirect behavior on image pages
21100 * (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
21101 * (bug 14063) Power search form missing <label> for redirects check
21102 * (bug 14111) Similar filename warning links now lead to correct page
21103 * (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers
21104 * (bug 13693) Categories sometimes claim to have a negative number of members
21105 * (bug 1701) Korean Hangul syllables now broken down properly in Category lists
21106   even if the wiki's overall content language is not Korean
21107 * (bug 12773) addOnloadHook() now calls functions immediately when scripts are
21108   loaded after the primary page completion, instead of dropping them
21109 * (bug 14199) Fix deletion form for image redirect pages
21110 * (bug 14220) Disabling $wgCheckFileExtensions now works without also
21111   disabling $wgStrictFileExtensions
21112 * (bug 14241) Pages can no longer be protected to levels you are not in
21113 * (bug 14296) Fix local name of ang: (Anglo-Saxon)
21114 * (bug 4871) Hardcoded superscript in time zone preferences moved to message
21115 * (bug 6957) E-mail confirmation links now using English special page name
21116   for better compatibility and keeping the links shorter. Avoids problem
21117   with corrupt links in Gmail on IE 6.
21118 * (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror
21119 * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
21120   and I to ı
21121 * (bug 13826) MediaWiki:Defaultns accepts Wikicode
21122 * (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit
21123   set to true
21124 * (bug 13034) Interwiki pages can now be reached using Go search button
21125 * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias
21126 * (bug 14370) When a grouppage-x message does not exist the entry on the
21127   ListGroupRights special page now links to the project namespace page for it,
21128   not the main namespace page.
21129 * (bug 11659) Urldecode image names in galleries
21130 * (bug 14258, 14368) Fix for subpage renames in replication environments
21131 * (bug 14367) Failed block no longer adds phantom watchlist entry
21132 * (bug 14385) "Move subpages" option no longer tries to move to invalid titles
21133 * (bug 14386) Fix subpage namespace oddity when moving a talk page
21134 * (bug 11771) Signup form now not shown if in read-only mode.
21135 * (bug 12859) $wgRateLimitsExcludedGroups has been deprecated in favor of
21136   $wgGroupPermissions[]['noratelimit'].
21137 * (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title)
21138   and $2 (=revision numbers)
21139 * (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions
21140 * (bug 14432) Fix notice regression in Special:Newpages feed mode
21141 * (bug 11951) EditPage::getEditToolbar() is now static.
21142 * (bug 14392) Fix regression breaking table prefix in installer
21143 * (bug 11084) $wgDBprefix replacement for updater SQL will now work for
21144   extension tables using uppercase letters or digits in their names.
21145 * (bug 12311) Fix regression with lists at start of undeletion preview
21146 * (bug 14496) Fix regression with parseinline on Special:Upload.
21147 * We no longer just give up on a missing upload base directory; it's now
21148   created automatically if we have sufficient permissions!
21149 * (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper
21150 * (bug 14497) Throw visible errors in installer scripts when SQL files
21151   fail due to database permission or other error
21152 * (bug 14500) Site feed (Recentchanges) no longer shows up on the actual
21153   recent changes page.
21154 * (bug 14511) MediaWiki:Delete-legend is no longer double escaped
21155 * Generate correct section anchors for numeric headers
21156 * (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins
21157 * (bug 14551) Cancel upload no longer automatically suppresses warnings
21158 * (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls
21159 * (bug 4977) Fix for possible squid purging errors when using HTTP purges
21160   and multiple servers
21161 * (bug 14572) Redirects listed on file links on image pages no longer redirect.
21162 * (bug 14537) Change interwiki name for Old Church Slavonic (cu)
21163 * (bug 14583) Fix regression in recent changes "limit to certain categories."
21164 * (bug 14515) HTML nesting cleanup on edit form
21165 * (bug 14647) Removed unused 'townBox' CSS classes
21166 * (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
21167 * OpenSearch cleanup; Firefox now sends you to the search page for empty
21168   searches instead of the domain root (which may not even be a wiki).
21169 * (bug 3481) Pages moved shortly after creation are shown at their new title
21170   on Special:Newpages.
21171 * (bug 12716) Trying to unprotect a title that isn't protected no longer
21172   generates a log entry.
21173 * (bug 14088) Excessively long block expiry times are rejected as invalid,
21174   keeps the log page from being distorted.
21175 * (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
21176 * (bug 14646) Fix some double-escaping of HTML in feed output
21177 * (bug 14709) Fix login success message formatting when using cookie check
21178 * (bug 14710) Remove "donate" link from default sidebar
21179 * (bug 14745) Image moving works on sites that transform thumbnails via 404
21180 * (bug 2186) Document.write() in wikibits caused failures when using
21181   application/xhtml+xml. The calls to this have been removed.
21182 * (bug 14764) Fix regression in from Article::lastModified(), failed to work
21183   on non-mySQL schemas.
21184 * (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
21185   had strict standards issues with setFakeSlaveLag() and setFakeMaster().
21186 * (bug 451) Improve the phrase mappings of the Chinese converter arrays.
21187 * (bug 12487) Rights log is not fully internationalized
21188 * (bug 10837) Language variants no longer override other languages than base
21189 * (bug 14778) 'limit' parameter now applies to history feeds as well as
21190   history pages
21191 * (bug 14845) Bug in prefs javascript: Calling an array item without checking
21192   its existance.
21193 * Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3
21194 * (bug 12384) Comments in maintenance/*php
21195 * (bug 12441) ./maintenance/generateSitemap.php fix -fspath requiring
21196   a trailing slash.
21197 * (bug 12568) configuration script now produce valid XHTML.
21198 * The accesskey to edit a page is now disabled when editing the page, to pre-
21199   vent conflicts with Safari shortcuts.
21201 === API changes in 1.13 ===
21203 * Fixing main page display in meta=siteinfo
21204 * (bug 13128) Added patrolled flag to list=recentchanges
21205 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
21206 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
21207 * (bug 13157) Added ucuserprefix parameter to list=usercontribs
21208 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
21209   retrieval easier
21210 * (bug 13218) Fix inclusion of " character in hyperlinks
21211 * Added watch and unwatch parameters to action=delete and action=move
21212 * Added action=edit
21213 * (bug 11401) Added xmldoublequote to xml formatter
21214 * Added rvsection parameter to prop=revisions to allow fetching the content of
21215   a certain section only
21216 * Introduced list=allimages
21217 * (bug 13371) Build page set from image hashes
21218 * Mark non-existent messages in meta=allmessages as missing
21219 * (bug 13390) One invalid title no longer kills an entire API query
21220 * (bug 13419) Fix gblredirect so it actually works
21221 * (bug 13418) Disable eiredirect because it's useless
21222 * (bug 13395) list=allcategories should use category table
21223 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
21224   handled properly.
21225 * (bug 13444) Add description to list=watchlist
21226 * (bug 13482) Disabled search types handled properly
21227 * Added inprop=talkid,subjectid to prop=info
21228 * Added help text message that specifies whether a module is POST-only
21229 * Added createonly parameter to action=edit
21230 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
21231 * (bug 11719) Remove trailing blanks in YAML output.
21232 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
21233 * Added fallback8bitEncoding and readonly fields to
21234   meta=siteinfo&siprop=general output
21235 * (bug 13544) Added prop=revid to action=parse
21236 * (bug 13603) Added siprop=usergroups to meta=siteinfo
21237 * Cleaned up redirect resolution
21238 * Added possibility to obtain all external links through list=exturlusage
21239 * (bug 13606) Added archivename to iiprop
21240 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
21241   very weak typing on array keys.
21242 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
21243 * (bug 11673) Return error 'unknown_action' in specified format
21244 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
21245 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old
21246   revisions
21247 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
21248 * action=login now returns the correct waiting time in the details property
21249 * (bug 13792) Broken titles are now silently skipped in search results.
21250 * (bug 13819) exturlusage paging skipped an item
21251 * Fixed handling of usernames containing spaces in list=block
21252 * (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with
21253   format=xml
21254 * (bug 13735) Added prop=categoryinfo module
21255 * (bug 13945) Retrieve cascading protection sources via inprop=protection
21256 * (bug 13965) Hardcoded 51 limit on titles is too limiting
21257 * (bug 13993) apfrom doesn't work with apdir=descending
21258 * (bug 14018) Introduced alcontinue to list=alllinks to improve paging
21259 * (bug 14013) Added rcshow=patrolled to list=recentchanges
21260 * (bug 14028) Added language attribute to interwiki map in meta=siteinfo
21261 * (bug 14022) Added usprop=registration and auprop=blockinfo
21262 * (bug 14021) Removed titles= support from list=backlinks (has been obsolete
21263   for ages)
21264 * (bug 13829) Expose parse tree via action=expandtemplates
21265 * (bug 13606) Allow deletion of images
21266 * Added iiprop=mime and aiprop=metadata
21267 * Handled unrecognized values for parameters more gracefully
21268 * Handled requesting disallowed tokens more gracefully
21269 * (bug 14140) URL-encoded page titles are now decoded in edit summaries
21270 * (bug 14243) Only accept post requests in action=edit; patch by HardDisk
21271 * action=block now returns an ISO8601 timestamp, like all other modules do
21272 * Added md5 parameter to action=edit
21273 * (bug 14335) Logging in to unified account using API not possible
21274 * Added action=emailuser to send an email to a user
21275 * (bug 14471) Use HTMLTidy and generate limit report in action=parse
21276 * (bug 14459) Added prependtext and appendtext parameters to action=edit
21277 * (bug 14526) Unescaped SQL in list=backlinks
21278 * Added 'hidden' flag to list=allcategories and prop=categoryinfo output
21279 * Added nocreate parameter to action=edit
21280 * (bug 14402) Added maxage and smaxage parameters to api.php
21281 * Added bkip parameter to list=blocks
21282 * (bug 14651) apprefix and similar parameters are now canonicalized
21283 * Added clprop=timestamp to prop=categories
21284 * (bug 14678) API errors now respects $wgShowExceptionDetails and
21285   $wgShowSQLErrors
21286 * (bug 14723) Added time zone and writing direction to meta=siteinfo
21287 * Added APIQueryInfoTokens and APIQueryRevisionsTokens hooks so extensions
21288   can add their own tokens
21289 * Added block and unblock tokens to prop=info as well
21290 * Added paging (limit and continue parameters) to
21291   prop={links,templatelinks,langlinks,extlinks,categories,images}
21292 * Added flag "top" to list=usercontribs if the user is the last contributor to
21293   the page
21294 * list=exturlusage in "list all links" mode can now filter by protocol
21296 == MediaWiki 1.12 ==
21298 == MediaWiki 1.12.4 ==
21300 February 7, 2009
21302 A number of cross-site scripting (XSS) security vulnerabilities were discovered
21303 in the web-based installer (config/index.php). These vulnerabilities all
21304 require a live installer -- once the installer has been used to install a wiki,
21305 it is deactivated.
21307 Note that cross-site scripting vulnerabilities can be used to attack any
21308 website in the same cookie domain. So if you have an uninstalled copy of
21309 MediaWiki on the same site as an active web service, MediaWiki could be used to
21310 attack the active service.
21312 If you are hosting an old copy of MediaWiki that you have never installed, you
21313 are advised to remove it from the web.
21315 == MediaWiki 1.12.3 ==
21317 * Fixed packaging/distribution error. Many files were missing from the
21318 distributed tarball.
21320 == MediaWiki 1.12.2 ==
21322 David Remahl of Apple's Product Security team has identified a number of
21323 security issues in previous releases of MediaWiki. Subsequent analysis by the
21324 MediaWiki development team expanded the scope of these vulnerabilities. The
21325 issues with a significant impact are as follows:
21327 * A local script injection vulnerability affecting Internet Explorer clients
21328 for all MediaWiki installations with uploads enabled. [CVE-2008-5250]
21329 * A local script injection vulnerability affecting clients with SVG scripting
21330 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
21331 uploads enabled. [CVE-2008-5250]
21332 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
21333 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
21335 A local script injection vulnerability allows an attacker with a wiki account
21336 to steal another user's login session, and to act as that user on the wiki. The
21337 attacker uploads a malicious script file, and tricks the victim into executing
21340 CSRF vulnerabilities allow an attacker to act as an authorised user on the
21341 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
21342 a specific and restricted way. The present CSRF vulnerability allows pages to
21343 be edited, with forged revision histories. Like an XSS vulnerability, the
21344 authorised user must visit the malicious web page to activate the attack.
21346 These three vulnerabilities are all fixed in this release.
21348 David Remahl also reminded us of some security-related configuration issues:
21350 * By default, MediaWiki stores a backup of deleted images in the images/deleted
21351 directory. If you do not want these images to be publically accessible, make
21352 sure this directory is not accessible from the web. MediaWiki takes some steps
21353 to avoid leaking these images, but these measures are not perfect.
21354 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
21355 errors. This is the default on most shared web hosts.
21356 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
21357 lead to path disclosure.
21359 Other changes in this release:
21361 * Avoid fatal error in profileinfo.php when not configured.
21362 * Add a .htaccess to deleted images directory for additional protection against
21363 exposure of deleted files with known SHA-1 hashes on default installations.
21364 * Avoid streaming uploaded files to the user via index.php. This allows
21365 security-conscious users to serve uploaded files via a different domain, and
21366 thus client-side scripts executed from that domain cannot access the login
21367 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
21368 * When streaming files via index.php, use the MIME type detected from the file
21369 extension, not from the data. This reduces the XSS attack surface.
21370 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any XSS
21371 vulnerabilities involving uploads of files containing scripts.
21372 * Internationalisation updates.
21374 == MediaWiki 1.12.1 ==
21376 Changes since 1.12.0:
21377 * (bug [[bugzilla:13522|13522]]) Fix fatal error in Parser::extractTagsAndParams
21378 * (bug [[bugzilla:12077|12077]]) Fix HTML nesting for TOC
21379 * (bug [[bugzilla:13532|13532]]) Use proper timestamp call when reverting images
21380 * (bug [[bugzilla:13649|13649]], [[bugzilla:14084|14084]]) Bad call to
21381 wfTimestamp()
21382 * (bug [[bugzilla:13770|13770]]) Use Preprocessor_Hash by default to avoid
21383 missing DOM module errors
21384 * (bug [[bugzilla:13442|13442]]) API: Missing pages in prop=langlinks and
21385 prop=extlinks are now handled properly.
21386 * (bug [[bugzilla:13482|13482]]) API: Disabled search types handled properly
21387 * (bug [[bugzilla:13836|13836]]) API: Fixed fatal errors resulting from
21388 combining iiprop=metadata  with format=xml
21389 * (bug [[bugzilla:11633|11633]]) API: Explicitly convert redirect titles to
21390 strings due to PHP's very weak typing on array keys.
21391 * API: Fixing main page display in meta=siteinfo
21392 * (bug [[bugzilla:11719|11719]]) API: Remove trailing blanks in YAML output.
21393 * (bug [[bugzilla:13718|13718]]) API: Return the proper continue parameter for
21394 cmsort=timestamp
21395 * Security: Work around misconfiguration by requiring strict comparisons for
21396 in_array in User::isAllowed().
21397 * Security: Fixed XSS vulnerability in useskin parameter.
21399 == MediaWiki 1.12.0 ==
21401 This is the quarterly branch release of [[MediaWiki]] for Winter 2008.
21403 MediaWiki is now using a "continuous integration" development model with
21404 quarterly snapshot releases. The latest development code is always kept "ready
21405 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
21407 Release branches will continue to receive security updates for about a year
21408 from first release, but nonessential bugfixes and feature developments will be
21409 made on the development trunk and appear in the next quarterly release.
21411 Those wishing to use the latest code instead of a branch release can obtain it
21412 from source control: [[Download from SVN]].
21414 Changes since 1.12.0rc1:
21415 *(bug [[bugzilla:13359|13359]]) Double-escaping in [[Special:Allpages]].
21416 *Localization updates.
21418 == MediaWiki 1.12.0rc1 ==
21420 This is a release candidate of the Winter 2008 quarterly snapshot release of
21421 [[MediaWiki]].
21423 MediaWiki is now using a "continuous integration" development model with
21424 quarterly snapshot releases. The latest development code is always kept "ready
21425 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
21427 Release branches will continue to receive security updates for about a year
21428 from first release, but nonessential bugfixes and feature developments will be
21429 made on the development trunk and appear in the next quarterly release.
21431 Those wishing to use the latest code instead of a branch release can obtain it
21432 from source control: [[Download from SVN]].
21434 This is the Winter 2007 quarterly release.
21436 MediaWiki is now using a "continuous integration" development model with
21437 quarterly snapshot releases. The latest development code is always kept
21438 "ready to run", and in fact runs our own sites on Wikipedia.
21440 Release branches will continue to receive security updates for about a year
21441 from first release, but nonessential bugfixes and feature developments
21442 will be made on the development trunk and appear in the next quarterly release.
21444 Those wishing to use the latest code instead of a branch release can obtain
21445 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
21447 === Configuration changes in 1.12 ===
21448 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
21449   markbotedit permission, rather than the rollback permission previously used.
21450   This permission is assigned by default to the sysop group.
21451 * MediaWiki now checks if serialized files are out of date. New configuration
21452   variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
21453   to not check and assume they are always up to date)
21454 * The rollback permission can now be rate-limited using the normal mechanism.
21455 * New configuration variable $wgExtraLanguageNames
21456 * Behavior of $wgAddGroups and $wgRemoveGroups changed. New behavior:
21457 * * Granting the userrights privilege allows arbitrary changing of rights.
21458 * * Without the userrights privilege, a user will be able to add and/or
21459      remove the groups specified in $wgAddGroups and $wgRemoveGroups for
21460      any groups they are in.
21461 * New permission userrights-interwiki for changing user rights on foreign wikis.
21462 * $wgImplicitGroups for groups that are hidden from Special:Listusers, etc.
21463 * $wgAutopromote: automatically promote users who match specified criteria
21464 * $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
21465   themselves from specified groups via Special:Userrights.
21466 * When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is
21467   present, in preference to an external Tidy executable which may or may not
21468   be present. To force use of external Tidy even when the PHP module is
21469   available, set $wgTidyInternal to false.
21472 === New features in 1.12 ===
21473 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
21474 * Add {{filepath:}} parser function to get full path to an uploaded file,
21475   complementing {{fullurl:}} for pages.
21476 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
21477   is not set to 'mediawiki', allowing multiple mediawiki instances per user.
21478 * (bug 11151) Add descriptive <title> to revision history page
21479 * (bug 5412) Add feed links for the site to all pages
21480 * (bug 11353) Add ability to retrieve raw section content via action=raw
21481 * (bug 6909) Show relevant deletion log lines when uploading a previously
21482   deleted file
21483 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
21484   source" tab entirely if the page doesn't exist and the user isn't allowed to
21485   create it
21486 * Clarify instructions given when an exception is thrown
21487 * AuthPlugin added strictUserAuth() method to allow per-user override
21488   of the strict() authentication behavior.
21489 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
21490   against the previous revision, whether currently deleted or live.
21491 * Added tooltips for the "Go" and "Search" buttons
21492 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
21493 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
21494   stricting e-mail addresses to a specific domain
21495 * Removed "Clear" link in watchlist editor tools, as people were afraid to
21496   click it. Existing clear links will fall back to the raw editor, which is
21497   very easy to clear your watchlist with.
21498 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
21499   on Special:Newpages
21500 * LogLine hook added to allow formatting custom entries in Special:Log.
21501 * Support for Iranian calendar
21502 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
21503   Special:Newpages
21504 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
21505 * MediaWikiPerformAction hook added for diverting control after the main
21506   globals have been set up but before any actions have been taken.
21507 * BeforeWatchlist hook added for filtering or replacing watchlist.
21508 * SkinTemplateTabAction hook added for altering the properties of tab links.
21509 * OutputPage::getRedirect public method added.
21510 * (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
21511   in Special:Mypage and Special:Mytalk
21512 * Add ot=raw to Special:Allmessages
21513 * Support for Hebrew calendar
21514 * Support for Hebrew numerals in dates and times
21515 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
21516   [[MediaWiki:Signature-anon]]
21517 * Signatures for anonymous users link to Special:Contributions page rather than
21518   user page
21519 * Added --override switch for disabled pages in updateSpecialPages.php
21520 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
21521   fails
21522   because it is part of a blocked range.
21523 * (bug 3973) Use a separate message for the email content when an account is
21524   created by another user
21525 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
21526   cleanly if database connections fail unpleasantly.
21527 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
21528 * (bug 9633) Add a predefined list of delete reasons to the deletion form
21529 * Show a warning message when creating/editing a user (talk) page but the user
21530   does not exists
21531 * (bug 8396) Ignore out-of-date serialised message caches
21532 * (bug 12195) Undeleting pages now requires 'undelete' permission
21533 * (bug 11810) Localize displayed semicolons
21534 * (bug 11657) Support for Thai solar calendar
21535 * (bug 943) RSS feed for Recentchangeslinked
21536 * Introduced AbortMove hook
21537 * (bug 2919) Protection of nonexistent pages with regular protection interface.
21538 * Special:Upload now lists permitted/prohibited file extensions.
21539 * Split ambiguous filetype-badtype message into two new messages,
21540   filetype-unwanted-type and filetype-banned-type.
21541 * Added link to the old title in Special:Movepage
21542 * On Special:Movepage, errors are now more noticeable.
21543 * It is now possible to change rights on other local wikis without the MakeSysop
21544   extension
21545 * Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
21546   editing to allow CSS styling.
21547 * Parser now returns list of sections
21548 * When a user is prohibited from creating a page, a title of "View source"
21549   makes no sense, and there should be no "Return to [[Page]]" link.
21550 * (bug 12486) Protected titles now give a warning for privileged editors.
21551 * (bug 9939) Special:Search now sets focus to search input box when no existing
21552   search is active
21553 * For Special:Userrights, use GET instead of POST to search for users.
21554 * Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name.
21555 * When submitting changes on Special:Userrights, show the full form again, not
21556   just the search box.
21557 * Added exception hooks
21558 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
21559   edit, via the parameter 'bot'. (Default: '1')
21560 * (bug 12536) User should be able to get MediaWiki version from any page
21561 * (bug 12622) A JavaScript constant to declare whether api.php is available
21562 * Add caching to the AJAX search
21563 * Add APCOND_INGROUPS
21564 * Add DBA caching to installer
21565 * (bug 12585) Added a bunch of parameters to the revertpage message
21566 * Support redirects in image namespace
21567 * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
21568 * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
21569 * Add option to include templates in Special:Export.
21570 * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
21571   address in Reply-To instead of From for user-to-user emails.
21572   This protects against SPF problems and privacy-leaking bounce messages
21573   when using mailers that set the envelope sender to the From header value.
21574 * (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]]
21575   for Special:Userlogin?type=signup
21576 * (bug 12214) Add a predefined list of delete reasons to the file deletion form
21577 * Merged backends for OpenSearch suggestions and AJAX search.
21578   Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages,
21579   and reject interwiki prefixes. PrefixSearch class centralizes this code,
21580   and the backend part can be overridden by the PrefixSearchBackend hook.
21581 * (bug 10365) Localization of Special:Version
21582 * When installing using Postgres, the Pl/Pgsql language is now checked for
21583   and installed when at the superuser level.
21584 * The default robot policy for the entire wiki is now configurable via the
21585   $wgDefaultRobotPolicy setting.
21586 * (bug 12239) Use different separators for autocomments
21587 * (bug 12857) Patrol link on new pages should clear floats
21588 * (bug 12968) Render redirect wikilinks in a redirect class for customization
21589   via user/site CSS.
21590 * EditPageBeforeEditButtons hook added for altering the edit buttons below the
21591   edit box
21593 === Bug fixes in 1.12 ===
21595 * Subpages are now indexed for searching properly when using PostgreSQL
21596 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
21597   ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
21598 * (bug 7027) Shift handling of deletion permissions-checking to
21599   getUserPermissionsErrors.
21600 * Login and signup forms are now more correct for right-to-left languages.
21601 * (bug 5387) Block log items on RecentChanges don't make use of possible
21602   translations
21603 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
21604   message, the level of protection.
21605 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
21606   message.
21607 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
21608   where rollback is given to non-sysops.
21609 * (bug 8834) Split off permission for editing user JavaScript and CSS from
21610   editinterface to a new permission key editusercssjs.
21611 * (bug 11266) Set fallback language for Fulfulde (ff) to French
21612 * (bug 11179) Include image version deletion comment in public log
21613 * Fixed notice when accessing special page without read permission and whitelist
21614   is not defined
21615 * (bug 9252) Fix for tidy funkiness when using editintro mode
21616 * (bug 4021) Fix for MySQL wildcard search
21617 * (bug 10699) Fix for MySQL phrase search
21618 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
21619 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
21620   page
21621 * Fix initial statistics when installing: add correct values
21622 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
21623   linked to the main page instead of targetted page
21624 * Strike the link to the redirect rather than using an asterisk in
21625   Special:Listredirects
21626 * (bug 11355) Fix false positives in Safe Mode and other config detection
21627   when boolean settings are disabled with 'Off' via php_admin_value/php_value
21628 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
21629   object.
21630 * (bug 11363) Make all metadata fields bytea when using Postgres.
21631 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
21632   oldimage cascade delete via image table for Postgres, change fa_storage_key
21633   TEXT.
21634 * (bug 11438) Live Preview chops returned text
21635 * Show the right message on account creation when the user is blocked
21636 * (bug 11450) Fix creation of objectcache table on upgrade
21637 * Fix namespace selection after submit of Special:Newpages
21638 * Make input form of Special:Newpages nicer for RTL wikis
21639 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
21640 * (bug 11474) Fix unintentional fall-through in math error handling
21641 * (bug 11478) Fix undefined method call in file deletion interface
21642 * (bug 278) Search results no longer highlight incorrect partial word matches
21643 * Compatibility with incorrectly detected old-style DJVU mime types
21644 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
21645   Nested links (as in image caption text) still don't work _right_ but they're
21646   less wrong
21647 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
21648   some browsers.
21649 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
21650   appears just before the login form. Patch by MinuteElectron.
21651 * Do not cache category pages if using 'from' or 'until'
21652 * Created new hook getUserPermissionsErrors, to go with userCan changes.
21653 * Diff pages did not properly display css/js pages.
21654 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
21655 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
21656   email address when registering.
21657 * (bug 11612) Days to show in recent changes cannot be larger than 7
21658 * (bug 11131) Change filearchive width/height columns to int for Postgres
21659 * Support plural in undeleted{revisions,revisions-files,files}
21660 * (bug 11343) If the database is read-only, ensure that undelete fails.
21661 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
21662   only
21663 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
21664 * Fix regression in LinkBatch.php breaking PHP 5.0
21665 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
21666   words when called with options ''parsemag'' or ''content''.
21667 * (bug 11727) Support plural in 'historysize' message
21668 * (bug 11744) Incorrect return value from Title::getParentCategories()
21669 * (bug 11762) Fix native language name of Akan (ak)
21670 * (bug 11722) Fix inconsistent case in unprotect tabs
21671 * (bug 11795) Be more paranoid about confirming accept-encoding header is
21672   present
21673 * (bug 11809) Use formatNum() for more numbers
21674 * (bug 11818) Fix native language name of Inuktitut (iu)
21675 * Remove all commas when parsing float numbers in sorted tables
21676 * Limit text field of deletion, protection and user rights changes reasons to
21677   255 characters (already restricted in the database)
21678 * In the deletion default reasons, calculate how much text to get from the
21679   article text, rather than getting 150 characters (which may be too much)
21680 * Add two messages for Special:Blockme which were used but undefined
21681 * (bug 11921) Support plural in message number_of_watching_users_pageview
21682 * If an IP address is blocked as part of a rangeblock, attempting to unblock
21683   the single IP should not unblock the entire range.
21684 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
21685 * Make action=render follow redirects by default
21686 * If restricted read access was enabled, whitelist didn't work with special
21687   pages which had spaces in theirs names
21688 * If restricted read access was enabled, requests for non-existing special pages
21689   threw an exception
21690 * Feeds for recent changes now provide correct URLs for the change, not just
21691   the page
21692 * Check for if IP is blocked as part of a range when unblocking (see above bug-
21693   fix) was faulty. Now fixed.
21694 * Fixed wpReason URL parameter to action=delete.
21695 * Do not force a password for account creation by email
21696 * Ensure that rate-limiting is applied to rollbacks.
21697 * Make a better rate-limiting error message (i.e. a normal MW error,
21698   rather than an "Internal Server Error").
21699 * Do not present an image bigger than the source when 'frameless' option is used
21700   (to be consistent with the 'thumb' option now)
21701 * Support {{PLURAL}} for import log
21702 * Make sure that the correct log entries are shown on Special:Userrights even
21703   for users with special characters in their names
21704 * The number of watching users in watchlists was always reported as 1
21705 * namespaceDupes.php no longer dies when coming across an illegal title
21706 * (bug 12143) Do not show a link to patrol new pages for non existent pages
21707 * (bug 12166) Fix XHTML validity for Special:Emailuser
21708 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
21709 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
21710   instead of a Traditional conversion with Taiwan variant, and a Simplified
21711   conversion with China variant.
21712 * (bug 12178) Fix wpReason parameter to action=delete, again.
21713 * Graceful behavior for updateRestrictions.php if a page already has records
21714   in the page_restrictions matching its old page_restrictions field.
21715   May help with odd upgrade issues or race condition.
21716 * (bug 11993) Remove contentsub "revision history"
21717 * (bug 11952) Ensure we quote_ident() all schema names as needed
21718    inside of the DatabasePostgres.php file.
21719 * (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
21720   scripts, making for cleaner reporting during batch jobs. PHP errors will also
21721   be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
21722   to 'stderr' at runtime.
21723 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
21724   lines in diff output
21725 * (bug 10166) Fix a PHP warning in Language::getMagic
21726 * Only mark rollback edits as minor if the user can normally mark edits minor
21727 * Escape page names in the move successful page (e.g. for pages with two
21728   apostrophes).
21729 * (bug 12145) Add localized names of kk-variants
21730 * (bug 12259) Localize the numbers in deleted pages on the sysop view
21731 * Set proper page title for successful file deletion
21732 * (bug 11221) Do not show 'Compare selected versions' button for a history page
21733   with one revision only
21734 * (bug 12267) Set the default date format to Thai solar calender for the Thai
21735   language
21736 * (bug 10184) Extensions' stylesheets and scripts should be loaded before
21737   user-customized ones (like Common.css, Common.js)
21738 * (bug 12283) Special:Newpages forgets parameters
21739 * (bug 12031) All namespaces doesn't work in Special:Newpages
21740 * (bug 585) Only create searchindex replica table for parser tests if db is
21741   MySQL
21742 * Allow --record option if parserTests.php to work when using Postgres
21743 * (bug 12296) Simplify cache epoch in default LocalSettings.php
21744 * (bug 12346) XML fix when body double-click and click handlers are present
21745 * Fix regression -- missing feed links in sidebar on Special:Recentchanges
21746 * (bug 12371) Handle more namespace case variants in namespaceDupes.php
21747 * (bug 12380) Bot-friendly EditPage::spamPage
21748 * (bug 8066) Spaces can't be entered in special page aliases
21749 * Hide undo link if user can't edit article
21750 * (bug 12416) Fix password setting for createAndPromote.php
21751 * (bug 3097) Inconsistently usable titles containing HTML character entities
21752   are now forbidden. A run of cleanupTitles.php will fix up existing pages.
21753 * (bug 12446) Permissions check fix for undelete link
21754 * (bug 12451) AJAX title normalization tweaks
21755 * When a user creating a page is not allowed to either create the page nor edit
21756   it, all applicable reasons are now shown.
21757 * (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
21758   Fixes 'root'-style rewrite configurations
21759 * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
21760 * (bug 12489) Special:Userrights listed in restricted section again
21761 * (bug 12553) Fixed invalid XHTML in edit conflict screen
21762 * (bug 12505) Fixed section=0 with action=raw
21763 * (bug 12614) Do not log user rights change that didn't change anything
21764 * (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
21765 * (bug 12588) Fix selection in namespace selector on Special:Newpages
21766 * Use only default options when generating RSS and Atom syndication links.
21767   This should help prevent infinite link loops that some software may follow,
21768   and will generally keep feed behavior cleaner.
21769 * (bug 12608) Unifying the spelling of getDBkey() in the code.
21770 * (bug 12611) Bot flag ignored in recent changes
21771 * (bug 12617) Decimal and thousands separators for Romanian
21772 * (bug 12567) Fix for misformatted read-only messages on edit, protect.
21773   Also added proper read-only checks to several special pages.
21774   Have removed read-only checks from the general user permission framework.
21775 * Creating a site with a name containing '#' is no longer permitted, since the
21776   name will not work (but $wgSiteName is not checked if manually set).
21777 * (bug 12695) Suppress dvips verbiage from web server error log
21778 * (bug 12716) Unprotecting a non-protected page leaves a log entry
21779 * Log username blocks with canonical form of name instead of input form
21780 * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php.
21781   Non-image handlers and full-size images may now decline it, fixing
21782   mystery failures when using $wgThumbnailScriptPath.
21783 * (bug 12327) Comma in username no longer disrupts mail headers
21784 * (bug 6436) Localization of Special:Import XML parser Error message(s).
21785 * Security fix for API on MSIE
21786 * (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc
21787 * (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors
21788 * (bug 12790) Page protection is not logged when edit-protection is used
21789   and move-protection is not
21790 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
21791 * Fix for Special:Export so it doesn't ignore the page named '0'
21792 * Don't display rollback link if the user doesn't have all required permissions
21793 * The comment of a time-limited protection now contains the date in the default
21794   format
21795 * (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
21796 * (bug 12885) Correction for Russian convertPlural function
21797 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
21798 * (bug 12735) Truncate usernames in comments using mb_ functions.
21799 * (bug 12892) Poor tab indexing on "delete file" form
21800 * (bug 12660) When creating an account by e-mail, do not send the creator's IP
21801   address
21802 * (bug 12931) Fix wrong global variable in SpecialVersion
21803 * (bug 12919) Use 'deletedrevision' message as content when deleting an old file
21804   version
21805 * (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation
21806   is disabled
21807 * (bug 12869) Magnify icon alignment should be adjusted using linked CSS
21808 * Fixing message cache updates for MediaWiki messages moves
21809 * (bug 12815) Signature timestamps were always in UTC, even if the timezone code
21810   in parentheses after them claimed otherwise
21811 * (bug 12732) Fix installer and searching to handle built-in tsearch2 for
21812   Postgres.
21813 * (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness.
21814 * (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple
21815   directories.
21816 * (bug 7681, 11559) Cookie values no longer override GET and POST variables.
21817 * (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
21818 * (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
21819 * (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages
21820 * (bug 12938) Fix template expansion and 404 returns for action=raw with section
21821 * (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns
21822   true-or-WikiError, which seems to be the calling convention expected by half
21823   its callers already
21824 * (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting
21825   an LTR user language
21826 * (bug 13005) DISPLAYTITLE does not work on preview
21827 * (bug 13004) Fix error on Postgres searches that return too many results.
21829 == Parser changes in 1.12 ==
21831 For help with migration to the MediaWiki 1.12 parser, please visit:
21833 http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor
21835 The parser pass order has changed from
21837    * Extension tag strip and render
21838    * HTML normalisation and security
21839    * Template expansion
21840    * Main section...
21844    * Template and extension tag parse to intermediate representation
21845    * Template expansion and extension rendering
21846    * HTML normalisation and security
21847    * Main section...
21849 The main effect of this for the user is that the rules for uncovered syntax
21850 have changed.
21852 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
21853 previously in some cases they were escaped. For example, you could have "<ta" in
21854 one template, and "ble>" in another template, and put them together to make a
21855 valid <table> tag. Previously the result would have been "&lt;table&gt;".
21857 Uncovered preprocessor syntax is generally not recognised. For example, if you
21858 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
21859 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
21860 was the case previously in HTML output mode, and is now uniformly the case in
21861 the other modes as well. HTML-style comments uncovered by template expansion
21862 will not be recognised by the preprocessor and hence will not prevent template
21863 expansion within them, but they will be stripped by the following HTML security
21864 pass.
21866 Bug 5678 has been fixed. This has a number of user-visible effects related to
21867 the removal of this double-parse. Please see the wiki page for examples.
21869 Message transformation mode has been removed, and replaced with "preprocess"
21870 mode. This means that some MediaWiki namespace messages may need to be updated,
21871 especially ones which took advantage of the terribly counterintuitive behavior
21872 of the former message mode.
21874 The header identification routines for section edit and for numbering section
21875 edit links have been merged. This removes a significant failure mode and fixes a
21876 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
21877 template expansion will still be rendered into a heading tag, and will get an
21878 entry in the TOC, but will not have a section edit link. HTML-style headings
21879 will also not have a section edit link. Valid wikitext headings present in the
21880 template source text will get a template section edit link. This is a major
21881 break from previous behavior, but I believe the effects are almost entirely
21882 beneficial.
21884 The main motivation for making these changes was performance. The new two-pass
21885 preprocessor can skip "dead branches" in template expansion, such as unfollowed
21886 #switch cases and unused defaults for template arguments. This provides a
21887 significant performance improvement in template-heavy test cases taken from
21888 Wikipedia. Parser function hooks can participate in this performance improvement
21889 by using the new SFH_OBJECT_ARGS flag during registration.
21891 The pre-expand include size limit has been removed, since there's no efficient
21892 way to calculate such a figure, and it would now be meaningless for performance
21893 anyway. The "preprocessor node count" takes its place, with a generous default
21894 limit.
21896 The context in which XML-style extension tags are called has changed, so
21897 extensions which make use of the parser state may need compatibility changes.
21899 The new preprocessor syntax has been documented in Backus-Naur Form at:
21901 https://www.mediawiki.org/wiki/Preprocessor_ABNF
21903 The ExpandTemplates extension now has the ability to generate an XML parse
21904 tree from wikitext source. This parse tree corresponds closely to the grammar
21905 documented on that page.
21907 === API changes in 1.12 ===
21909 Full API documentation is available at https://www.mediawiki.org/wiki/API
21911 * (bug 11275) Enable descending sort in categorymembers
21912 * (bug 11308) Allow the API to output the image metadata
21913 * (bug 11296) Temporary fix for escaping of ampersands inside links in
21914   pretty-printed
21915   help document.
21916 * (bug 11405) Expand templates implementation in the API
21917 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
21918   page.
21919 * (bug 11404) Provide name of exception caught in error code field of internal
21920   api error messages.
21921 * (bug 11534) rvendid doesn't work
21922 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
21923   revision content is requested.
21924 * Include svn revision number (if install is checked-out from svn) in siteinfo
21925   query.
21926 * (bug 11173) Allow limited wikicode rendering via api.php
21927 * (bug 11572) API should provide interface for expanding templates
21928 * (bug 11569) Login should return the cookie prefix
21929 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
21930   list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
21931 * Compatibility fix for PHP 5.0.x.
21932 * Add rctype parameter to list=recentchanges that filters by type
21933 * Add apprtype and apprlevel parameters to filter list=allpages by protection
21934   types and levels
21935 * Add apdir parameter to enable listing all pages from Z to A
21936 * (bug 11721) Use a different title for results than for the help page.
21937 * (bug 11562) Added a user_registration parameter/field to the list=allusers
21938   query.
21939 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
21940 * Outputting list of all user preferences rather than having to request them by
21941   name
21942 * (bug 11206) api.php should honor maxlag
21943 * Make prop=info check for restrictions in the old format too.
21944 * Add apihighlimits permission, default for sysops and bots
21945 * Add limit=max to use maximal limit
21946 * Add action=parse to render parser output. Use it instead of action=render
21947   which has been removed
21948 * Add rvtoken=rollback to prop=revisions
21949 * Add meta=allmessages to get messages from site's messages cache.
21950 * Use bold and italics highlighting only in API help
21951 * Added action={block,delete,move,protect,rollback,unblock,undelete} and
21952   list={blocks,deletedrevs}
21953 * Fixed sessionid attribute in action=login
21954 * Standardized limits. Revisions and Deletedrevisions formerly using
21955   200 / 10000, now 500 / 5000, in line with other modules.
21956 * Added list=allcategories module
21957 * (bug 12321) API list=blocks reveals private data
21958 * Fix output of wfSajaxSearch
21959 * (bug 12413) meta=userinfo missing <query> tag
21960 * Add list of sections to action=parse output
21961 * Added action=logout
21962 * Added cascade flag to prop=info&inprop=protections
21963 * Added wlshow parameter to list=watchlist, similar to rcshow
21964   (list=recentchanges)
21965 * Added support for image thumbnailing to prop=imageinfo
21966 * action={login,block,delete,move,protect,rollback,unblock,undelete} now must be
21967   POSTed
21968 * prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and
21969   iiend parameters
21970 * Added amlang parameter to meta=allmessages
21971 * Added apfilterlanglinks parameter to list=allpages, replacing
21972   query.php?what=nolanglinks
21973 * (bug 12718) Added action=paraminfo module that provides information about API
21974   modules and their parameters
21975 * Added iiurlwidth and iiurlheight parameters to prop=imageinfo
21976 * Added format=txt and format=dbg, imported from query.php
21977 * Added uiprop=editcount to meta=userinfo
21978 * Added list=users which fetches user information
21979 * Added list=random which fetches a list of random pages
21980 * Added page parameter to action=parse to facilitate parsing of existing pages
21981 * Added uiprop=ratelimits to meta=userinfo
21982 * Added siprop=namespacealiases to meta=siteinfo
21983 * Made multiple values for ucuser possible in list=usercontribs
21984 * (bug 12944) Added cmstart and cmend parameters to list=categorymembers
21985 * Allow queries to have a where range that does not match the range field
21987 == MediaWiki 1.11 ==
21989 == MediaWiki 1.11.2 ==
21991 March 2, 2008
21993 This is a security release of the Fall 2007 snapshot release of MediaWiki.
21994 Possible cross-site information leaks using the callback parameter for
21995 JSON-formatted results in the API are prevented by dropping user credentials.
21997 MediaWiki release versions prior to 1.11 are not vulnerable, as they do not
21998 include the callback feature which allows client-side JavaScript on other sites
21999 to reach API data.
22001 Changes in this release:
22003 * User credentials are dropped for API JSON requests using a callback
22004 * Edit tokens are not reported for API JSON requests using a callback
22006 == MediaWiki 1.11.1 ==
22008 January 23, 2008
22010 This is a security and bugfix release of the Fall 2007 snapshot release of
22011  MediaWiki. A potential XSS injection vector affecting api.php only for
22012  Microsoft Internet Explorer users has been closed.
22014 Changes in this release:
22015 * (bug [[bugzilla:11450|11450]]) Fix creation of objectcache table on upgrade
22016 * (bug [[bugzilla:11462|11462]]) Fix typo in LanguageGetSpecialPageAliases hook
22017 name
22018 * Fix regression in LinkBatch.php breaking PHP 5.0
22019 * Security fix for API on MSIE
22021 To work around the vulnerability without upgrading, you may disable the API if
22022 you don't need it:
22023 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
22025 Not vulnerable versions:
22026 * 1.12 or later
22027 * 1.11 >= 1.11.1
22028 * 1.10 >= 1.10.3
22029 * 1.9 >= 1.9.5
22030 * 1.8 any version (if $wgEnableAPI has been left off)
22032 Vulnerable versions:
22033 * 1.11 <= 1.11.0rc1
22034 * 1.10 <= 1.10.2
22035 * 1.9 <= 1.9.4
22036 * 1.8 any version (if $wgEnableAPI has been switched on)
22038 MediaWiki 1.7 and below are not affected as they do not include the API
22039 functionality, however the BotQuery extension is similarly vulnerable unless
22040 updated to the latest SVN version.
22042 == MediaWiki 1.11.0 ==
22044 September 10, 2007
22046 This is the Fall 2007 snapshot release of MediaWiki.
22048 MediaWiki is now using a "continuous integration" development model with
22049 quarterly snapshot releases. The latest development code is always kept "ready
22050 to run", and in fact runs our own sites on Wikipedia.
22052 Release branches will continue to receive security updates for about a year
22053 from first release, but nonessential bugfixes and feature developments will be
22054 made on the development trunk and appear in the next quarterly release.
22056 Those wishing to use the latest code instead of a branch release can obtain it
22057 from source control: [[Download from SVN]]
22059 This is the Summer 2007 branch release of MediaWiki.
22061 MediaWiki is now using a "continuous integration" development model with
22062 quarterly snapshot releases. The latest development code is always kept
22063 "ready to run", and in fact runs our own sites on Wikipedia.
22065 Release branches will continue to receive security updates for about a year
22066 from first release, but nonessential bugfixes and feature developments
22067 will be made on the development trunk and appear in the next quarterly release.
22069 Those wishing to use the latest code instead of a branch release can obtain
22070 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
22072 == Changes since 1.11.0rc1 ==
22074 A possible HTML/XSS injection vector in the API pretty-printing mode has been
22075 found and fixed.
22077 The vulnerability may be worked around in an unfixed version by simply
22078 disabling the API interface if it is not in use, by adding this to
22079 [[Manual:LocalSettings.php|LocalSettings.php]]:<br />
22080 <code>[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;</code> <br />
22081 (This is the default setting in 1.8.x.)
22083 Not vulnerable versions:
22084 * 1.11 >= 1.11.0
22085 * 1.10 >= 1.10.2
22086 * 1.9 >= 1.9.4
22087 * 1.8 >= 1.8.5
22089 Vulnerable versions:
22090 * 1.11 <= 1.11.0rc1
22091 * 1.10 <= 1.10.1
22092 * 1.9 <= 1.9.3
22093 * 1.8 <= 1.8.4 (if [[Manual:$wgEnableAPI|$wgEnableAPI]] has been switched on)
22095 MediaWiki 1.7 and below are not affected as they do not include the faulty
22096 function, however the [[Extension:BotQuery|BotQuery extension]] is similarly
22097 vulnerable unless updated to the latest SVN version.
22099 == Configuration changes since 1.10 ==
22101 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
22102   used
22103 * $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which
22104   usergroups
22105 * $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites
22106 * $wgShowHostnames - Expose server host names through the API and HTML comments
22107 * $wgSaveDeletedFiles has been removed, the feature is now enabled
22108 unconditionally
22110 == New features since 1.10 ==
22112 * (bug 8868) Separate "blocked" message for autoblocks
22113 * Adding expiry of block to block messages
22114 * Links to redirect pages in categories are wrapped in
22115   <span class="redirect-in-category"></span>
22116 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
22117   more information
22118 * (bug 9628) Show warnings about slave lag on Special:Contributions,
22119   Special:Watchlist
22120 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
22121 * Introducing new image keyword 'upright' and corresponding variable
22122   $wgThumbUpright. This allows better proportional view of upright images
22123   related to landscape images on a page without nailing the width of upright
22124   images to a fix value which makes views for anon unproportional and user
22125   preferences useless
22126 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
22127 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
22128   user preferences for image width like 'thumb' but without a frame.
22129 * (bug 7960) Link to "what links here" for each "what links here" entry
22130 * Added support for configuration of an arbitrary number of commons-style
22131   file repositories.
22132 * Added a Content-Disposition header to thumb.php output
22133 * Improved thumb.php error handling
22134 * Display file history on local image description pages of shared images
22135 * Added $wgArticleRobotPolicies
22136 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
22137   containing, the ip, ip range, or username whose block is affecting the
22138 * (bug 7691) Show relevant lines from the deletion log when re-creating a
22139   previously deleted article
22140 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
22141 * (bug 9898) Allow viewing all namespaces in Special:Newpages
22142 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
22143   see docs/hooks.txt for details
22144 * (bug 9769) Provide "watch this page" toggle on protection form
22145 * (bug 9886) Provide clear example "stub link" in Special:Preferences
22146 * (bug 10055) Populate email address and real name properties of User objects
22147   passed to the 'AbortNewAccount' hook
22148 * Show result of Special:Booksources in wiki content language always, it's
22149   normally better maintained than the generic list from the standard message
22150   files
22151 * (bug 7997) Allow users to be blocked from using Special:Emailuser
22152 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
22153 * (bug 8760) Allow wiki links in "protectexpiry" message
22154 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
22155   "DEFAULTSORT" magic word
22156 * (bug 10181) Support the XCache object caching mechanism
22157 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
22158   a path to the AdminSettings.php file
22159 * (bug 8781) Remind users to check file permissions for LocalSettings.php
22160   post-installation
22161 * Use shared.css for all skins and oldshared.css in place of common.css for
22162   pre-Monobook skins.  As always, modifications should go in-wiki to MediaWiki:
22163   Common.css and MediaWiki:Monobook.css.
22164 * (bug 8869) Introduce Special:Uncategorizedtemplates
22165 * (bug 8734) Different log message when article protection level is changed
22166 * (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode
22167   characters
22168 * (bug 10096) Added an ability to query interwiki map table
22169 * On reupload, add a null revision to the image description page
22170 * Group log output by date
22171 * Kurdish interface latin/arabic writing system with transliteration
22172 * Support wiki text in all query page headers
22173 * Add 'Orphanedpages' as an alias to Special:Lonelypages
22174 * (bug 9328) Use "revision-info-current" message in place of "revision-info"
22175   when viewing the current revision of a page, if available
22176 * (bug 8890) Enable wiki text for "license" message
22177 * Throw a showstopper exception when a hook function fails to return a value.
22178   Forgetting to give a 'true' return value is a very common error which tends
22179   to cause hard-to-track-down interactions between extensions.
22180 * Use $wgJobClasses to determine the correct Job to instantiate for a particular
22181   queued task; allows extensions to introduce custom jobs
22182 * (bug 10326) AJAX-based page watching and unwatching has been cleaned up and
22183   enabled by default.
22184 * Added option to install to MyISAM
22185 * (bug 9250) Remove hardcoded minimum image name length of three characters
22186 * Fixed DISPLAYTITLE behavior to reject titles which don't normalise to the
22187   same title as the current page, and enabled per default
22188 * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
22189 * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new
22190   classes: mw-code, mw-css, mw-js)
22191 * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over
22192   usergroup assignment.
22193 * Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
22194 * (bug 10387) Detect and handle '.php5' extension environments at install time
22195 * Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information
22196 * (bug 10404) Show rights log for the selected user in Special:Userrights
22197 * New javascript for upload page that will show a warning if a file with the
22198   "destination filename" already exists.
22199 * Add 'editsection-brackets' message to allow localization (or removal) of the
22200   brackets in the "[edit]" link for sections
22201 * (bug 10437) Move texvc styling to shared.css
22202 * Introduce "raw editing" mode for the watchlist, to allow bulk additions,
22203   removals, and convenient exporting of watchlist contents
22204 * Show "undo" links in page histories
22205 * Option to jump to specified time period in user contributions
22206 * Improved feedback on "rollback success" page
22207 * Show distinct 'namespaceprotected' message to users when namespace protection
22208   prevents page editing
22209 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
22210 * Allow showing a one-off preview on first edit with "preview=yes"
22211 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
22212 * Link to user logs in toolbox when viewing a user page
22213 * (bug 10508) Allow HTML attributes on <gallery>
22214 * (bug 1962) Allow HTML attributes on <math>
22215 * (bug 10530) Introduce optional "sp-contributions-explain" message for
22216   additional explanation in Special:Contributions
22217 * (bug 10520) Preview licences during upload via AJAX (toggle with
22218   $wgAjaxLicensePreview)
22219 * New Parser::setTransparentTagHook for parser extension and template
22220   compatibility
22221 * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
22222   information
22223 * Add a message if category is empty
22224 * Add CSS compatibility for Opera 9.5
22225 * Remove largely untested handheld stylesheet, which was causing more trouble
22226   than good.  Proper handheld support will be added at a future date.  For now,
22227   display should be acceptable either with CSS turned off or when using a so-
22228   phisticated handheld browser.
22229 * (bug 3173) Option to offer exported pages as a download, rather than
22230   displaying inline, as in most browsers
22231 * Pass the user as an argument to 'isValidPassword' hook callbacks; see
22232   docs/hooks.txt for more information
22233 * Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
22234 * (bug 9595) Pass new Revision to the 'ArticleInsertComplete' and
22235   'ArticleSaveComplete' hooks; see docs/hooks.txt for more information
22236 * (bug 9575) Accept upload description from GET parameters
22237 * Skip the difference engine cache when 'action=purge' is used while requesting
22238   a difference page, to allow refreshing the cache in case of errors
22239 * (bug 10701) Link to Special:Listusers in default Special:Statistics messages
22240 * Improved file history presentation
22241 * (bug 10739) Users can now enter comments when reverting files
22242 * Improved handling of permissions errors
22243 * (bug 10793) "Mark patrolled" links will now be shown for users with
22244   patrol permissions on all eligible diff pages
22245 * (bug 10655) Show standard tool links for blocked users in block log messages
22246 * Show standard tool links for blocked users in Special:Ipblocklist
22247 * Miscellaneous aesthetic improvements to Special:Ipblocklist
22248 * (bug 10826) Added link trail with Cyrillic characters for Mongolian language
22249 * (bug 10859) Introduce 'UserGetImplicitGroups' hook; see docs/hooks.txt for
22250   more information
22251 * (bug 10832) Include user information when viewing a deleted revision
22252 * (bug 10872) Fall back to sane defaults when generating protection selector
22253   labels for custom restriction levels
22254 * Show edit count in user preferences
22255 * Improved support for audio/video extensions
22256 * (bug 10937) Distinguish overwritten files in upload log
22257 * Introduce 'ArticleUpdateBeforeRedirect' hook; see docs/hooks.txt for more
22258   information
22259 * Confirmation is now required when deleting old versions of files
22260 * (bug 7535) Users can now enter comments when deleting old versions of files
22261 * (bug 11001) Submit Special:Newpages as a GET, rather than a POST request
22262 * The <strong></strong> around links to watched pages in change lists now
22263   has a class - "mw-watched"
22264 * (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload
22265   when a destination filename is provided that corresponds with previous
22266   deleted files
22267 * Make the "invalid special page" message clearer
22268 * Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
22269 * Introduced 'SkinAfterBottomScripts' hook; see docs/hooks.txt for
22270   more information
22271 * (bug 11095) Honour "preview on first edit" preference when preloading
22272   text for a non-existent page
22273 * (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
22274   Special:Recentchangeslinked
22275 * Add link to user contributions in normal watchlist edit mode
22276 * (bug 9426) Add 'newsectionheaderdefaultlevel' message to allow
22277   modification of the heading formatting for new sections when section=new
22278   argument is supplied
22279 * (bug 10836) Add 'newsectionsummary' message to allow modification of the
22280   text that prefixes a new section link in Recent Changes
22282 == Bugfixes since 1.10 ==
22284 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
22285 * (bug 9670) Follow redirects when render edit section links to transcluded
22286   templates.
22287 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
22288 * (bug 3431) Suppress "next page" link in Special:Search at end of results
22289 * Don't show unblock form if the user doesn't have permission to use it
22290   (cosmetic change, no vulnerabilities existed)
22291 * Subtitle success message when unblocking a block ID instead of a pseudo link
22292   like [[User:#123|#123]]
22293 * Use the standard HTTP fetch functions when retrieving remote wiki pages
22294   through transwiki, so we can take advantage of cURL goodies if available
22295 * Disable user JavaScript on Special:Userlogin, Special:Resetpass and
22296   Special:Preferences, to avoid a compromised script sniffing passwords, etc.
22297 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
22298   instead of letting it flow outside the box or trigger ugly scroll bars.
22299 * Tooltips for print version and permalink
22300 * Links to the MediaWiki namespace for system messages having their default
22301   values are no longer shown as nonexistent (e.g., in red)
22302 * Special:Ipblocklist differentiates between empty list and no search results.
22303 * (bug 5375) profiling does not respect read-only mode.
22304 * (bug 7070) monobook/user.gif has antialias artifacts
22305 * (bug 9123) Safer way when applying $wgLocalTZoffset
22306 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
22307 * (bug 9417) Uploading new versions of images when using Postgres no longer
22308   throws warnings.
22309 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
22310 * (bug 1438) Fix for diff table layout on very wide lines.
22311   Diff style rules have been broken out to common/diff.css,
22312   and the dupes removed from the default skin files.
22313   Skins can still override the default rules.
22314 * (bug 1229) Balance columns in diff display evenly
22315 * Right-align diff line numbers in RTL language display
22316 * (bug 9332) Fix instructions in tests/README
22317 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
22318   of fragments during the normalisation process
22319 * (bug 7989) RSS feeds content now use black text when using white background.
22320 * (bug 9971) Typo in a french language message.
22321 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
22322   with $wgRCShowChangedSized = false.
22323 * Fix PHP strict standards warning in enhanced recent changes.
22324 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
22325   entries.
22326 * (bug 7432) Change language name for Aromanian (roa-rup)
22327 * (bug 908) Unexistent special pages now generate a red link.
22328 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
22329 * (bug 7993) support mathematical symbol classes
22330 * (bug 10007) Allow Block IP to work with Postgrs again.
22331 * Add Google Wireless Transcoder to the Unicode editing blacklist
22332 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
22333 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
22334 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
22335 * (bug 10113) Fix double-click for view source on protected pages
22336 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
22337   set [now prints out a warning]
22338 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
22339   templates with a high number of inclusion links
22340 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
22341 * (bug 9820) session.save_path check no longer halts installation, but
22342   warns of possible bad values
22343 * (bug 9978) Fixed session.save_path validation when using extended
22344   configuration format, e.g. "5;/tmp"
22345 * Don't generate a diff link in the patrol log if the page doesn't exist
22346 * (bug 10067) Translations for former skins removed from message files
22347 * (bug 9993) Force $wgShowExceptionDetails on during installation
22348 * (bug 9980) Validate administrator username and password during
22349   installation
22350 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
22351   database patch
22352 * (bug 10149) Don't show full template list on section-0 edit
22353 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
22354   and decodeBlob()
22355 * (bug 6743) Don't link broken image links to the upload form when uploads
22356   are disabled
22357 * (bug 9679) Improve documentation for $wgSiteNotice
22358 * (bug 10215) Show custom editing introduction when editing existing pages
22359 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
22360 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
22361 * (bug 9948) Workaround for diff regression with old Mozilla versions
22362 * (bug 10265) Fix regression in category image gallery paging
22363 * (bug 8577) Fix some weird misapplications of time zones.
22364   {{CURRENT*}} functions now consistently use UTC as intended, while
22365   {{LOCAL*}} functions return local time per server config or $wgLocaltimezone.
22366   Signature dates for Japanese and other languages including weekday now show
22367   the correct day to match the rest of the time in local time.
22368 * Escape the output of magic variables that return page name or part of it
22369 * (bug 10309) Initialise parser state properly in extractSections(), fixes
22370   some cases where section edits broke because tags were improperly stripped
22371 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
22372 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
22373 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
22374 * (bug 10325) Fix regression in form action on Special:Listusers
22375 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
22376   overlong key errors.
22377 * Fixed zero-padding issues with MySQL 5 binary schema
22378 * (bug 10344) Don't follow a redirect after changing its protection level
22379 * (bug 10333) Correct date format in Slovenian
22380 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
22381   Special:Prefixindex; making forms prettier for RTL wikis.
22382 * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
22383   spaces
22384 * (bug 10372) namespaceDupes.php no longer ignores namespace aliases
22385 * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
22386 * namespaceDupes.php should work better for initial-lowercase wikis
22387 * (bug 10377) "Permanent links" to revisions still work if the page is moved
22388   and the redirect deleted
22389 * (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
22390   match the given title. Fixes inconsistencies with talk, history, edit links.
22391 * (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
22392 * (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
22393   using $wgScript now included in JS info
22394 * Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
22395   avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
22396   security settings are cranked this way and AJAX-y gets used.
22397 * Delay AJAX watch initialization until click so IE 6 with ugly security
22398   settings doesn't prompt you until you use the link.
22399 * (bug 10401) Provide non-redirecting link to original title in Special:Movepage
22400 * Fix broken handling of log views for page titles consisting of one
22401   or more zeros, e.g. "0", "00" etc.
22402 * Fix read permission check for special pages with subpage parameters, e.g.
22403   Special:Confirmemail
22404 * Fix read permission check for unreadable page titles which are numerically
22405   equivalent to a whitelisted title
22406 * '?>' closing tag removed from all files to help avoid problems with extraneous
22407   whitespace (broken XML feeds, etc.)
22408 * Don't use garbled parser cache output when viewing custom CSS or JavaScript
22409   pages
22410 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
22411 * Fix empty message checks for message names containing &
22412   This corrects some odd behavior with sidebar items and custom namespaces
22413   containing ampersands.
22414 * (bug 10375) Change thousands separator character to &nbsp; for Latin (la)
22415 * (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
22416 * (bug 10496) Fix broken DISTINCT option logic in database backend
22417 * Fix CSS media declaration for "screen, projection"; was causing some
22418   validation issues
22419 * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php
22420 * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting
22421   the intended skin directly in the URL.
22422 * (bug 9903) Don't mark redirects in categories as stubs
22423 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
22424 * Padding parser functions now work with strings like '0' that evaluate to false
22425 * (bug 10332) Title->userCan( 'edit' ) may return false positive
22426 * Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is
22427   true
22428 * (bug 10552) Suppress rollback link in history for single-revision pages
22429 * (bug 10538) Gracefully handle invalid input on move success page
22430 * Fix for Esperanto double-x-encoding in move success page
22431 * (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+)
22432   Now matches the selection behavior on Mozilla / Safari.
22433   Patch by Alex Smotrov.
22434 * Don't show non-functional toolbar buttons on Opera 7 anymore
22435 * (bug 9151) Fix relative subpage links with section fragments
22436 * (bug 10560) Adding a space between category letter heading and "continues"
22437 * (bug 4650) Keep impossibly large/small counts off Special:Statistics
22438 * (bug 10608) PHP notice when installing with PostgreSQL
22439 * (bug 10615) Fix for transwiki import when CURL not available
22440 * (bug 8054) Return search page for empty search requests with ugly URLs
22441 * (bug 10572) Force refresh after clearing visitation timestamps on watchlist
22442 * (bug 10631) Warn when illegal characters are removed from filename at upload
22443 * Fix several JavaScript bugs under MSIE 5/Macintosh
22444 * (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language
22445 * (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0
22446 * Work around Safari bug with pages ending in ".gz" or ".tgz"
22447 * Removed obsolete maintenance/changeuser.sql script; use RenameUser extension
22448 * (bug 2735) "Preview" shown in title bar for action=submit on special pages
22449 * Removed "restore" links from the deletion log embedded in Special:Undelete
22450 * Improved error reporting and robustness for file delete/undelete.
22451 * Improved speed of file delete by storing the SHA-1 hash in image/oldimage
22452 * Fixed leading zero in base 36 SHA-1 hash
22453 * Protection form no longer produces JavaScript errors
22454 * (bug 10741) File histories show "delete" links for non-sysops
22455 * (bug 10744) Treat "noarticletext" and "noarticletextanon" as wiki text when
22456   used on a non-existent page with "action=info"
22457 * Fix escaping of raw message text when used on a non-existent page with
22458   "action=info"
22459 * (bug 10683) Fix inconsistent handling of URL-encoded titles in links
22460   used in redirects (i.e. they now work)
22461 * (bug 8878) Changes to $dateFormats in German localization (removing unused,
22462   nonexistent formats, putting time after date)
22463 * (bug 10769) Database::update() should return boolean result
22464 * Fix preference checkbox display for right-to-left languages which caused
22465   them to be hidden in IE in some cases
22466 * Fix upload form display in right-to-left languages
22467 * Fixed regression in blocking of username '0'
22468 * (bug 9437) Don't overwrite edit form submission handler when setting up
22469   edit box scroll position preserve/restore behavior
22470 * (bug 10805) Fix "undo" link when viewing the diff of the most recent
22471   change to a page using "diff=0"
22472 * (bug 10765) img_auth.php will now refuse logged-out requests where
22473   $wgWhitelistRead is undefined, instead of (incorrectly) honouring them
22474 * Fixed img_auth.php file name extraction for whitelist checking
22475 * Tweak spacing of email preference display
22476 * Table sorting JavaScript prefers textContent over innerText to allow hidden
22477   sort keys to work on Safari
22478 * (bug 4530) Fix local name of Kurdish language
22479 * (bug 10830) Fix local name of Haitian Creole language
22480 * Fix invalid XHTML in Special:Protectedpages
22481 * Fix comments in contributions and log pages for right-to-left languages
22482 * Make installer include_path-independent, so it should work on hosts which
22483   disable user setting of PHP include_path setting
22484 * glob() is horribly unreliable and doesn't work on some systems, including
22485   free.fr shared hosting. No longer using it in Language::getLanguageNames()
22486 * (bug 10763) Fix multi-insert logic for PostgreSQL
22487 * Fix invalid XHTML when viewing a deleted revision
22488 * Fix syntax error in translations of magic words in Romanian language
22489 * (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping
22490   process error output under Windows
22491 * (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects
22492 * (bug 10783) Resizing PNG-24 images with GD no longer causes all alpha
22493   channel transparency to be lost and transparent pixels to be turned black
22494 * (bug 9339) General error pages were transforming messages and their parameters
22495   in the wrong order
22496 * (bug 9026) Incorrect heading numbering when viewing Special:Statistics with
22497   "auto-numbered headings" enabled
22498 * Fixed invalid XHTML in Special:Upload
22499 * (bug 11013) Make sure dl() is available before attempting to use it to check
22500   available databases in installer
22501 * Resizing transparent GIF images with GD now retains transparency by skipping
22502   resampling
22503 * (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
22504 * Double encoding broke Special:Newpages for some languages
22505 * Adding a newline before the statistics footer, to prevent parsing problems
22506 * Preventing the TOC from appearing in Special:Statistics
22507 * (bug 11082) Fix check for fully-specced table names in Database::tableName
22508 * (bug 11067) Fix regression in upload conflict thumbnail display
22509 * (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
22510   suppressed, breaking paging - now strikes out "fixed" results
22511 * (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
22512   entries in the table of contents
22513 * (bug 11114) Fix regression in read-only mode error display during editing
22514 * Force non-MySQL databases to use an ORDER BY in SpecialAllpages to ensure
22515   that the first page_title is truly the first page title.
22516 * (bug 10836) Change the summary on creating of new section
22517 * Inclusion of Special:Wantedpages now works again
22519 == API changes since 1.10 ==
22521 Full API documentation is available at https://www.mediawiki.org/wiki/API
22523 * New properties: links, templates, images, langlinks, categories, external
22524   links
22525 * Breaking Change: imagelinks renamed into imageusage (il->iu)
22526 * Bug fix: incorrect generator behavior in some cases
22527 * JSON format allows an optional callback function to wrap the result.
22528 * Login module disabled until a more secure solution can be implemented
22529 * (bug 9938) Querying by revision identifier returns the most recent revision
22530   for the corresponding page, rather than the requested revision
22531 * (bug 8772) Filter page revision queries by user
22532 * (bug 9927) User contributions queries do not accept IP addresses
22533 * Watchlist feed now reports a proper feed item when the user is not logged in
22534 * Watchlist feed date bug fixed - automatically shows one last day
22535 * Watchlist feed now allows to specify number of hours to monitor
22536 * list=allpages now returns a list instead of a map in JSON format
22537 * Breaking Change: in json, revisions are now returned as a list, not as a map.
22538 * Add: prop=info can show page is new flag, current page length, and visit
22539   counter.
22540 * Change: Query watchlist now shows flags only when explicitly requested with
22541   wlparam=flags
22542 * rc_this_oldid (textid) is no longer accessible from query watchlist
22543 * action=usercontribs: additional filtering by ucshow=; selection of needed
22544   fields with ucprop=; the textid (rev_text_id) is no longer being exposed
22545 * (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return
22546   lists in JSON instead of a map, and do not return anything when titles do
22547   not exist
22548 * (bug 9121) Introduced indexpageids query parameter to list the page_id
22549   values of all returned page items
22550 * (bug 10147) Now interwiki titles are not processed but added to a separate
22551   "interwiki" section of the output.
22552 * Added categorymembers list to query for pages in a category.
22553 * (bug 10260) Show page protection status
22554 * (bug 10392) Include MediaWiki version details in version output
22555 * (bug 10411) Site language in meta=siteinfo
22556 * (bug 10391) action=help doesn't return help if format is fancy markup
22557 * backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title
22558   parameter instead of titles. Titles for these lists is obsolete and might stop
22559   working soon.
22560 * Added prop=imageinfo - gets image properties and upload history
22561 * (bug 10211) Added db server replication lag information in meta=siteinfo
22562 * Added external url search within wiki pages (list=exturlusage)
22563 * Added link enumeration (list=alllinks)
22564 * Added registered users enumeration (list=allusers)
22565 * Added full text search in titles and content (list=search)
22566 * (bug 10684) Expanded list=allusers functionality
22567 * Possible breaking change: prop=revisions no longer includes pageid for
22568   rvprop=ids
22569 * Added rvprop=size to prop=revisions (The size will not be shown if it is NULL
22570   in the database)
22571 * list=allpages now allows to filter by article min/max size and protection
22572   status
22573 * Added site statistics (siprop=statistics for meta=siteinfo)
22574 * (bug 10902) Unable to fetch user contributions from IP addresses
22575 * `list=usercontribs` no longer requires that the user exist
22576 * (bug 10971) `aufrom` parameter doesn't work with spaces
22577 * Fix username handling issue with `auprefix` parameter
22578 * Treat underscores as spaces for `aufrom` and `auprefix` parameters
22579 * Added edit/delete/... token retrieval to prop=info
22580 * Added meta=userinfo - logged-in user information, group membership, rights
22581 * (bug 11072) Fix regression in API image history query
22582 * (bug 11115) Adding SHA1 hash to imageinfo query
22583 * (bug 10898) API does not return an edit token for non-existent pages
22584 * (bug 10890) Timestamp support for categorymembers query
22585 * (bug 10980) Add exclude redirects on backlinks
22586 * IPv6 titles in User namespace are normalized (run cleanupTitles.php to fix any
22587   old stray pages)
22589 == Maintenance script changes since 1.10 ==
22591 * Add support for wgMaxTocLevel option in parserTests
22592 * (bug 6823) Disable article view counter in maintenance/dumpHTML.php
22593 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no
22594   suitable files are found, and make the list of extensions an option (defaults
22595   to $wgFileExtensions)
22596 * Add option to maintenance/createAndPromote.php to give the user bureaucrat
22597   permissions (--bureaucrat)
22598 * Allow overwriting existing files with a conflicting name using
22599   maintenance/importImages.php
22600 * (bug 10266) Use native newlines when rebuilding a messages file.
22602 == Languages updated since 1.10 ==
22604 * Afrikaans (af)
22605 * Arabic (ar)
22606 * Bikol (bcl)
22607 * Bulgarian (bg)
22608 * Catalan (ca)
22609 * Danish (da)
22610 * German (de)
22611 * Greek (el)
22612 * Esperanto (eo)
22613 * Spanish (es)
22614 * Estonian (et)
22615 * Extremaduran (ext)
22616 * Farsi (fa)
22617 * Finnish (fi)
22618 * Vöro (fiu-vro)
22619 * French (fr)
22620 * Français Cadien (frc) (new)
22621 * Franco-Provençal/Arpetan (frp)
22622 * Galician (gl)
22623 * Hakka (hak)
22624 * Hebrew (he)
22625 * Upper Sorbian (hsb)
22626 * Haitian (ht)
22627 * Indonesian (id)
22628 * Icelandic (is)
22629 * Italian (it)
22630 * Japanese (ja)
22631 * Georgian (ka)
22632 * Kabyle (kab)
22633 * Kazakh (kk)
22634 * Korean (ko)
22635 * Kinaray-a (krj) (new)
22636 * Kurdish (ku)
22637 * Latin (la)
22638 * Lao (lo)
22639 * Lithuanian (lt)
22640 * Latviešu (lv)
22641 * Malayalam (ml)
22642 * Bahasa Melayu (ms)
22643 * Burmese (my)
22644 * Low German (nds)
22645 * Dutch (nl)
22646 * Norwegian (no)
22647 * Occitan (oc)
22648 * Punjabi (Gurmukhi) (pa)
22649 * Polish (pl)
22650 * Piedmontese (pms)
22651 * Portuguese (pt)
22652 * Romani (rmy)
22653 * Romanian (ro)
22654 * Aromanian (roa-rup)
22655 * Russian (ru)
22656 * Sakha (sah)
22657 * Sango (se) (new)
22658 * Slovak (sk)
22659 * Slovenian (sl)
22660 * Shona (sn)
22661 * Somali (so)
22662 * Albanian (sq)
22663 * Sundanese (su)
22664 * Swedish (sv)
22665 * Tamil (ta)
22666 * Thai (th)
22667 * Tigrinya (ti)
22668 * Setswana (tn)
22669 * Tok Pisin (tpi)
22670 * Uyghur (ug)
22671 * Volapük (vo)
22672 * Winaray (war) (new)
22673 * Yiddish (yi)
22674 * Old Chinese / Late Middle Chinese (zh-classical)
22675 * Chinese (PRC) (zh-cn)
22676 * Chinese (Taiwan) (zh-tw)
22677 * Cantonese (zh-yue)
22679 == MediaWiki 1.10 ==
22681 == MediaWiki 1.10.4 ==
22683 March 2, 2008
22685 * Correction for API path fix, broken in 1.10.3
22687 == MediaWiki 1.10.3 ==
22689 January 23, 2008
22691 This is a security update to the Winter 2007 quarterly release. A potential
22692 XSS injection vector affecting api.php only for Microsoft Internet Explorer
22693 users has been closed.
22696 To work around the vulnerability without upgrading, you may disable the API if
22697 you don't need it:
22699 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
22701 Not vulnerable versions:
22702 * 1.12 or later
22703 * 1.11 >= 1.11.1
22704 * 1.10 >= 1.10.3
22705 * 1.9 >= 1.9.5
22706 * 1.8 any version (if $wgEnableAPI has been left off)
22708 Vulnerable versions:
22709 * 1.11 <= 1.11.0rc1
22710 * 1.10 <= 1.10.2
22711 * 1.9 <= 1.9.4
22712 * 1.8 any version (if $wgEnableAPI has been switched on)
22714 MediaWiki 1.7 and below are not affected as they do not include the API
22715 functionality, however the BotQuery extension is similarly vulnerable unless
22716 updated to the latest SVN version.
22718 == MediaWiki 1.10.2 ==
22719 September 10, 2007
22721 This is a security fix update to the Spring 2007 quarterly release snapshot. A
22722 possible HTML/XSS injection vector in the API pretty-printing mode has been
22723 found and fixed.
22725 The vulnerability may be worked around in an unfixed version by simply
22726 disabling the API interface if it is not in use, by adding this to
22727 LocalSettings.php:
22728 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
22730 Not vulnerable versions:
22731 * 1.11 >= 1.11.0
22732 * 1.10 >= 1.10.2
22733 * 1.9 >= 1.9.4
22734 * 1.8 >= 1.8.5
22736 Vulnerable versions:
22737 * 1.11 <= 1.11.0rc1
22738 * 1.10 <= 1.10.1
22739 * 1.9 <= 1.9.3
22740 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
22742 MediaWiki 1.7 and below are not affected as they do not include the faulty
22743 function, however the BotQuery extension is similarly vulnerable unless updated
22744 to the latest SVN version.
22746 == MediaWiki 1.10.1 ==
22747 July 13, 2007
22749 This is a bugfix update to the Spring 2007 quarterly release snapshot. A number
22750 of fixes to improve compatibility with PostgreSQL, some versions of MySQL, and
22751 some PHP configurations are included.
22753 Changes since 1.10.0:
22755 * (bug [[bugzilla:9417|9417]]) Uploading new versions of images when using
22756 Postgres no longer  throws warnings.
22757 * (bug [[bugzilla:9908|9908]]) Using tsearch2 with Postgres 8.1 no longer gives
22758 an error.
22759 * (bug [[bugzilla:9973|9973]]) Changed size was shown in advanced recentchanges
22760 collapsible items with $wgRCShowChangedSized = false.
22761 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
22762 overlong key errors.
22763 * Fixed zero-padding issues with MySQL 5 binary schema
22764 * (bug [[bugzilla:9820|9820]]) session.save_path check no longer halts
22765 installation, but warns of possible bad values
22766 * (bug [[bugzilla:9978|9978]]) Fixed session.save_path validation when using
22767 extended configuration format, e.g. "5;/tmp"
22769 == MediaWiki 1.10.0 ==
22770 May 9, 2007
22772 This is the quarterly release snapshot for Spring 2007. See below for a full
22773 list of changes since the 1.9.x series.
22775 Changes since 1.10.0rc2:
22777 * (bug [[bugzilla:9808|9808]]) Fix regression that ignored user 'rclimit'
22778 option for Special:Contributions
22780 == MediaWiki 1.10.0rc2 ==
22781 May 4, 2007
22783 THIS IS A RELEASE CANDIDATE MADE AVAILABLE FOR TESTING!
22784 A FINAL 1.10.0 RELEASE WILL APPEAR WITHIN A FEW DAYS.
22786 Changes since 1.10.0rc1:
22787 * Various l10n fixes and updates
22788 * Fix for upgrade of page_restrictions table
22789 * (bug [[bugzilla:9780|9780]]) Fix normalization of titles with initial colon
22790 followed by whitespace
22791 * Fix for regression in upload: wrong size info saved into image table
22792 * Avoid cyclic stub problems when authorization hooks do funny things with the
22793 user and the database at load time
22795 == MediaWiki 1.10.0rc1 ==
22796 This is the Spring 2007 branch release of MediaWiki.
22798 MediaWiki is now using a "continuous integration" development model with
22799 quarterly snapshot releases. The latest development code is always kept
22800 "ready to run", and in fact runs our own sites on Wikipedia.
22802 Release branches will continue to receive security updates for about a year
22803 from first release, but nonessential bugfixes and feature developments
22804 will be made on the development trunk and appear in the next quarterly release.
22806 Those wishing to use the latest code instead of a branch release can obtain
22807 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
22809 == Configuration changes ==
22811 * A new switch $wgCommandLineDarkBg used by maintenance scripts
22812   (parserTests.php). It lets you specify if your terminal use a dark background,
22813   the colorized output will be made lighter making things easier to read.
22814 * The minimum permissions needed to edit a page in each namespace can now be
22815   customized via the $wgNamespaceProtection array. By default, editing pages in
22816   the MediaWiki namespace requires "editinterface" permission, as before.
22817 * Allow restriction of autoconfirmed permission by edit count. New global
22818   setting $wgAutoConfirmCount (defaulting to zero, naturally).
22819 * Added rate limiter for Special:Emailuser
22820 * Private logs can now be created using $wgLogRestrictions
22821 * (Bug 8590) limited HTML is now always enabled ($wgUserHtml = true).
22822 * Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
22824 == New features since 1.9 ==
22826 * (bug 6937) Introduce "statistics-footer" message, appended to
22827   Special:Statistics
22828 * (bug 6638) List block flags in block log entries
22829 * (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript
22830 * Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage()
22831   starts page output
22832   (http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html)
22833 * Introduce "cascading protection" -- implicit protection on pages transcluded
22834   into a page protected with this option enabled
22835 * (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown
22836   out in action=raw, so extensions might influence the output.
22837 * (bug 3446) Add user preference to hide page content below diffs, can be
22838   overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
22839 * Add 'purge' privilege to replace the hardcoded check for login state in
22840   determining whether action=purge can be done via GET. Switching the
22841   permission on for anons can be helpful for benchmarking.
22842 * (bug 7842) Link back to deleted revision list from deleted revision preview
22843 * (bug 8619) Add user-aware "unblock" link to Special:Blockip
22844 * (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with
22845   the appropriate permission
22846 * (bug 8628) Add user-aware block list link to Special:Blockip
22847 * (bug 8621) Log revisions marked as patrolled
22848 * Introduce "BookInformation" hook; see docs/hooks.txt for more details
22849 * Add title prefix search for Special:Undelete
22850 * Remove full-archive list from Special:Undelete
22851 * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
22852 * (bug 8712) Expose user groups as a JavaScript global
22853 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
22854 * New special page, Special:Protectedpages, which shows all protected pages
22855   and their protection status (full protection status is not pulled out due
22856   to performance considerations, so it just shows "full protected" or
22857   "semi protected".
22858 * (bug 4133) Allow page protections to be made with an expiry date, in the same
22859   format as block expiry dates. Existing protections are assumed to be infinite,
22860   as are protections made with the new field left blank.
22861 * (bug 8535) Allow certain vertical alignment attributes to be used as image
22862   keywords
22863 * (bug 6987) Allow perrow, widths, and heights attributes for <gallery>
22864 * (bug 3678) Allow disabling MediaWiki:Aboutsite in the same way as
22865   MediaWiki:Disclaimers; Also means that if any of the footer links are
22866   disabled in the wiki's default language (by setting to "-"), they'll also
22867   be disabled in other languages too (e.g. if the user specifies uselang=fr).
22868 * Sort log types in Special:Log
22869 * Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit
22870   toolbar buttons
22871 * Hide irrelevant block options in Special:Blockip based on whether an
22872   IP address/range or username is listed. (Dynamic using JS.)
22873 * (bug 9032) Make quickbarSettings localizable through Special:Allmessages
22874 * (bug 7782) Standardisation of file info at image description pages.
22875 * (bug 1035) View contributions / recentchanges for an IP range.
22876 * (bug 8747) When unwatching pages from Special:Watchlist/edit, put the
22877   confirmation messages in a proper list with a CSS class and id.
22878 * (bug 9118) Show relevant log fragments on deletion confirmatio page
22879 * (bug 9009) Add username entry field to Special:Contributions
22880 * (bug 1723) Article size in history
22881 * (bug 9223) Disallow magic tilde sequences in page titles and usernames
22882 * (bug 6997) Link from Special:log/block to unblock form
22883 * (bug 9117) Link from Special:log/delete to undelete form
22884 * Link from Special:log/protect to change protection form
22885 * (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6
22886   contribs
22887 * (bug 3984) Searching in logs by title%
22888 * Show thumbnail of existing image if image exists already under this filename
22889 * (bug 5546) Watchlist reflects logged actions like move, protection, undelete
22890 * Support protocols other than HTTP in LinkFilter, use $wgUrlProtocols
22891 * (bug 3069) Warning on upload of scaled down images
22892 * Warning on upload of images with uppercase extension if image with lowercase
22893   extension exists
22894 * (bug 4624) Namespace selection for Special:Whatlinkshere
22895 * Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see
22896   docs/hooks.txt for more information
22897 * (bug 9397) Introduce "sp-contributions-footer" and
22898   "sp-contributions-footer-anon" messages, shown at the end of
22899   Special:Contributions as appropriate for the target
22900 * (bug 8421) Expose current action in JavaScript globals (as 'wgAction')
22901 * (bug 9069) Use galleries in query pages dedicated to images
22902 * (bug 9177) Installer now warns of various conditions affecting
22903   session.save_path which can lead to broken session storage
22904 * (bug 9046) Special page to list pages without language links
22905 * (bug 9508) Special page to list articles with the fewest revisions
22906 * Introduce 'FileUpload' hook; see docs/hooks.txt for more information
22907 * Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information
22908 * Introduce 'mywatchlist' message; used on personal menu to link to watchlist
22909   page
22910 * Introduce magic word {{NUMBEROFEDITS}}
22911 * Introduced media handlers for file-type specific operations.
22912 * Improved error reporting for image thumbnailing
22913 * Added sharpening option for ImageMagick thumbnailing
22914 * (bug 9656) Autosummaries will be generated for deletion of pages longer than
22915   500 characters
22916 * Predefined block reasons added to Special:Blockip
22917 * (bug 9196) Installer now check that zend.ze1_compatibility_mode is off
22918 * (bug 9697) Introduce 'InternalParseBeforeLinks' hook; see docs/hooks.txt for
22919   more information
22920 * 'contribsub' message changed to 'contribsub2' with two parameters to permit
22921   better localization.  Change is reverse-compatible and can be ignored for
22922   most wikis.
22923 * Adding a 'reason' field to Special:Userrights
22925 == Bugfixes since 1.9 ==
22927 * (bug 7292) Fix site statistics when moving pages in/out of content namespaces
22928 * (bug 8531) Correct local name of Lingála
22929 * Made the PLURAL: parser function return singular on -1 per default
22930 * Fixed up the AjaxSearch
22931 * Fix SpecialVersion->formatCredits input. Version and Url parameters should be
22932   null to be treated properly with isset.
22933 * Page restrictions moved into a new, dedicated table
22934 * Correct tooltip accesskey hint for Opera on the Macintosh
22935   (uses Shift-Esc-, not Ctrl-).
22936 * (bug 8002) Math should render left-to-right even in right-to-left wikis
22937 * Pass e-mail and real name fields to AuthPlugin::addUser, as additional
22938   optional fields, which may be considered useful at registration time.
22939 * PostgreSQL upgrade scripts fixed and updated
22940 * (bug 8613) Fix error when viewing "Recent Changes" and using Postgres.
22941 * Initialise site_stats table at upgrade time if data was missing
22942 * (bug 7250) Updated Unicode normalization tables to Unicode 5.0
22943 * Unmaintained Oracle support files have been removed.
22944 * Use browser default for printing size, don't force to 11pt
22945 * (bug 8632) Fix regression in page protection null edit update
22946 * (bug 8407) Disallow indexing of "printable" versions
22947 * (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins
22948 * (bug 8629) Document $wgFilterCallback
22949 * (bug 1000) Clarify warning about memory_limit in installer
22950 * Suppress PHP warning about set_time_limit in installer when safe mode is on
22951 * (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is
22952   not available, as on IIS with PHP-CGI
22953 * Missing interwiki row for English Wikipedia restored (as "wikipedia:")
22954 * use configured cache servers for mctest.php
22955 * bucket details in mcc.php
22956 * fix input validation and remove debugging code in compressOld
22957 * full ID range for moveToExternal
22958 * fix resolveStubs.php for compatibility with older serialized data
22959 * maximum line length for bar graphs in getLagTimes.php
22960 * recognize specieswiki in rebuildInterwiki.inc
22961 * profile unicode cleanup in Xml
22962 * log slow parses in Article.php
22963 * profile wfMsgReal
22964 * log mkdir failures
22965 * profile AutoLoader
22966 * rebuild empty DjVu metadata containing ''
22967 * security fix for DjVu metadata retrieval
22968 * Undelete page list can use plural marker
22969 * (bug 8638) Fix update from 1.4 and earlier
22970 * (bug 8641) Fix order of updates to ipblocks table
22971 * (bug 8678) Fix detection of self-links for numeric titles in Parser
22972 * (bug 6171) Magically close tags in tables when not using Tidy.
22973 * Sanitizer now correctly escapes lonely '>' occurring before the first wikitag.
22974 * Ignore self closing on closing tags ( '</div />' now gives '</div>')
22975 * (bug 8673) Minor fix for web service API content-type header
22976 * Fix API revision list on PHP 5.2.1; bad reference assignment
22977 * (bug 8688) Handle underscores/spaces in Special:Blockip and
22978   Special:Ipblocklist in a consistent manner
22979 * (bug 8701) Check database lock status when blocking/unblocking users
22980 * ParserOptions and ParserOutput classes are now in their own files
22981 * (bug 8708) Namespace translations for Zealandic language
22982 * Renamed constructor methods to PHP 5 __construct reserved name
22983 * (bug 8715) Warn users when editing an interface message whether or not the
22984   message page exists
22985 * ar: fix the 'create a new page' on search page when no exact match found
22986 * (bug 8703) Corrected talk and image namespace name for Limburgish (li)
22987 * (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
22988 * (bug 8403) Respect bad image list exceptions in galleries on wiki pages
22989 * Allow sending per-user contribution requests to "contributions" query group
22990 * (bug 3717) Update user count for AuthPlugin account autocreation
22991 * (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
22992   accesskeys default settings appear to be same as Windows.
22993 * Added an option to make Linker::userToolLinks() show the contribs link
22994   red when the user has no edits. Linker::userToolLinksRedContribs() is an
22995   alias to that which should be used to make it more self documentating.
22996 * (bug 8749) Bring MySQL 5 table defs back into sync
22997 * (bug 8751) Set session cookies to HTTPS-only to match other cookies
22998 * (bug 8652) Catch exceptions generated by malformed XML in multipage media
22999 * (bug 8782) Help text in Makefile
23000 * (bug 8777) Suppress 'previous' link on Special:Allpages when at first page
23001 * (bug 8774) Fix path for GNU FDL rights icon on new installs
23002 * Fix multipage selector drop-down for DjVu images to work when title
23003   is passed as a query string parameter; we have to pass the title as
23004   a form parameter or it gets dropped from the form submission URL
23005 * (bug 8819) Fix full path disclosure in with skins dependencies
23006 * Fixed bug affecting HTML formatting in sortable table column titles
23007 * Merged table sorting code into wikibits.js
23008 * (bug 8711) Stop floats in previews from spilling into edit area
23009 * (bug 8858) Safer handling when $wgImageLimits is changed. Added a note
23010   in DefaultSettings to make it clear.
23011 * (bug 4268) Fixed data-loss bug in compressOld batch text compression
23012   affecting pages which had null edits (move, protect, etc) as second
23013   edit in a batch group. Isolated and patched by Travis Derouin.
23014 * Fix for paths in 1.4->1.5 special-case updater script
23015 * (bug 8789) AJAX search: IE users can now use the return key
23016 * (bug 6844) Use <ins> and <del> tags to emphase the differences
23017 * (bug 6684) Fix improper javascript array iteration
23018 * (bug 4347) use MailAddress object for reply-to
23019 * Add AlphabeticPager abstract class
23020 * Use faster AlphabeticPager for Special:Categories
23021 * (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
23022   pages; perhaps useful for categories and shared images
23023 * Clean up session checks to better handle the case where the session was
23024   opened during the current request. May help with some caching corner
23025   cases.
23026 * (bug 8897) Fix whitespace removal for interlanguage links with link prefix
23027 * Add 'ParserTestTables' hook to expand the list of temporary tables copied
23028   by the parser test harness; use for extensions which require the presence
23029   of other tables while they work.
23030 * Message names changed for AlphabeticPager introduced with r19758
23031   for better localisations.
23032 * (bug 8944) The deprecated is_a() function is used in StubObjects.php
23033 * (bug 8992) Fix a remaining raw use of REQUEST_URI in history
23034 * (bug 8999) User.php gives "undefined user editcount" PHP notice.
23035 * (bug 8984) Fix a database error in Special:Recentchangeslinked
23036   when using the Postgres database.
23037 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
23038   The ob_start() section should preferably be removed from older
23039   LocalSettings.php files.
23040 * Give Content-Length header for HTTP/1.0 clients.
23041 * Partial support for Flash cross-domain-policy filtering.
23042 * Lazy-initialize site_stats row on load when empty. Somewhat kinder to
23043   dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES
23044   and such are used.
23045 * Add 'charset' to Content-Type headers on various HTTP error responses
23046   to forestall additional UTF-7-autodetect XSS issues. PHP sends only
23047   'text/html' by default when the script didn't specify more details,
23048   which some inconsiderate browsers consider a license to autodetect
23049   the deadly, hard-to-escape UTF-7.
23050     This fixes an issue with the Ajax interface error message on MSIE when
23051   $wgUseAjax is enabled (not default configuration); this UTF-7 variant
23052   on a previously fixed attack vector was discovered by Moshe BA from BugSec:
23053   http://www.bugsec.com/articles.php?Security=24
23054 * Trackback responses now specify XML content type
23055 * (bug 9044) Send a comment with action=raw pages in CSS/JS output mode
23056   to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly,
23057   particularly with new keepalive-friendly HTTP on Wikipedia
23058 * (bug 8919) Suppress paging links and related messages where there are no
23059   rows to list for query pages
23060 * (bug 9057) Standardize MediaWiki: namespace for oc
23061 * (bug 8132) Suppress "Pages in this category" heading in categories when
23062   there are none
23063 * (bug 8958) Handle search operators better when using tsearch2 (Postgres)
23064 * (bug 8799) Use redirect table for Special:BrokenRedirects and
23065   Special:DoubleRedirects
23066 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
23067   MediaWiki:showingresultsnum
23068 * (bug 9122) Fix minor display issue in RTL with section edit link margin
23069 * (bug 5805) Enable PLURAL option for some messages of watchlist and statistic
23070 * (bug 3953) Work around poor display of parenthesis in the in other
23071   languages section of MonoBook skin
23072 * (bug 8539) Enable PLURAL option for another message of recentchanges.
23073 * (bug 8728) MediaWiki:Badfiletype split into 3 messages
23074 * (bug 9131) Allow SpecialContributions to work with Postgres
23075 * (bug 9155) Allow footer info to wrap in Monobook
23076 * (bug 8847) Strip spurious #fragments from request URI to fix redirect
23077   loops on some server configurations
23078 * (bug 9097) column "pr_pagetype" does not exist
23079 * (bug 9217) Balance wfProfile calls in Skin::outputPage
23080 * (bug 9222) PostgreSQL updater should not be version-specific
23081 * Fix fallback implementation of mb_strlen so it works and isn't insanely
23082   slow for large strings, since it's used for page edit lengths
23083 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
23084 * (bug 9256) Add a quick note to index.php header comments
23085 * Make Special:Listusers caseinsensitive for first letter
23086 * Default tidy.conf has been moved from extensions module into includes.
23087 * Ignore lonely '''''
23088 * (bug 9244) When calling edit page for nonexistent section, generate error
23089   inside of just discarding edits, since edit links sometimes go to the wrong
23090   place.
23091 * (bug 9019) No warning during upload if image description page exists, but no
23092   image
23093 * (bug 8582) Allow thumbnailing when imagesize has a space.
23094 * (bug 8716) Change math_inputhash and math_outputhash to bytea for Postgres
23095 * (bug 9343) Correct internal name for Wolof language
23096 * (bug 9363) Fix Postgres error on Recentchangeslinked
23097 * (bug 5142) Fixed call of hook ArticleViewHeader
23098 * (bug 4777) Separate prev/next messages for Special:Whatlinkshere
23099 * Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql
23100   based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive.
23101 * (bug 9411) Fix for shared image descriptions using query-string titles
23102 * (bug 4756) Add user tool links for self created accounts at special:log
23103   instead of sometimes broken block links from newuserlog extension
23104 * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent
23105   target page instead of silently redirecting
23106 * (bug 8914) Don't transform colons in {{anchorencode:}}
23107 * (bug 9241) Handle edit section links and include size links for cached
23108   templates the same as the first transclusion.
23109 * (bug 9466) "Rollback failed" page doesn't format edit comment
23110 * (bug 9472) Invalid XHTML on cached special pages
23111 * (bug 9472) Invalid XHTML on Special:Newpages
23112 * (bug 4764) "My contributions" not bold when viewing own contributions
23113 * (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere
23114 * (bug 9033) Use a more specific error message when users are not able/allowed
23115   to edit page protection levels due to a block, database lock or permissions
23116 * Fixed $wgFeedLimit
23117 * (bug 9270) Corrected help namespace name for Dutch Lower Saxon (nds-nl)
23118 * (bug 929, 4215) Expose "rcdays" user preference in Special:Preferences
23119 * (bug 9554) Extension-provided group name messages not used
23120 * (bug 9565) Translate template namespace name for Hindi (hi)
23121 * (bug 8599) Correct localized names of zh-variants
23122 * (bug 3366) Require skins based on SkinTemplate to override the skinname
23123   property.
23124 * (bug 9220) Removed obsoletes functions in install-utils.inc.
23125 * Removed obsoletes Title::getRelatedCache and Title:touchArray
23126 * (bug 7285) Check MySQL username length during install
23127 * (bug 6910) Correct date/time formats in Vietnamese (vi)
23128 * (bug 9608) Correctly use ORDER BY in dumpLinks.php
23129 * (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php
23130 * Special:Random and Special:Randomredirect now try harder to send the user to
23131   a random page, and will give an error message if none really can be found
23132   instead of sending the user to the main page like they used to
23133 * Fix object variable used for displaying "not-patrolled" CSS class on list
23134 * Fixed interaction of page parameter to ImagePage with the HTML file cache
23135 * Fixed MIME type for SVG files, will be silently changed from image/svg
23136   to image/svg+xml after loading from the database.
23137 * Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump
23138   instead.
23139 * Fixed odd behavior in ImagePage on DjVu thumbnailing errors
23140 * (bug 5439) "Go" title search will now jump to shared/foreign Image: and
23141   MediaWiki: pages that have not been locally edited.
23142 * (bug 9630) Limits links in Whatlinkshere forgot about namespace filter
23143 * Fixed upgrade for the non-standard MySQL schemas
23144 * Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the
23145   various problems that occur when it is on.
23146 * (bug 9585) Fix regression in tidy usage in Special:Undelete previews
23147 * (bug 3826) Normalize some invalid cookie name characters when setting
23148   up $wgCookiePrefix. Completes application of patch by Anders Kaseorg.
23149 * (bug 9649) Fix RTL form alignment for Special:Movepage
23150 * (bug 9582) Members of bot group now mark edits patrolled by default
23151 * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
23152   converted from 1.4 to 1.5 schema
23153 * (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
23154 * (bug 5959) Anchors dropped from stub links
23155 * (bug 3348) Some additional weak password checks: password which is same
23156   as username will now be rejected.
23157 * (bug 8602) Converted Special:Contributions to use an IndexPager. The
23158   interpretation of the offset parameter has changed, and the go parameter
23159   has been removed.
23160 * (bug 6204) Fixes for indentation with $wgMaxTocLevel:
23161   - don't emit too many list close tags after an invisible header
23162   - don't emit too many final list close tags if last header is invisible
23163   - don't emit TOC when there are no visible headers
23164 * (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
23165   when certain plugins are present which alter the user agent
23168 == Maintenance ==
23170 * New script maintenance/language/checkExtensioni18n.php used to check i18n
23171   progress in the extension repository.
23172 * Running maintenance/parserTests.php with '--record' option, will now
23173   automatically attempt to create the required tables
23174 * --purge option to do additional parser-cache purging for purgeList.php
23175 * Fix hardcoded background color in parserTests.php
23176 * parserTests.php : removed the 'light' option for --color argument, replacing
23177   it with a new global switch : $wgCommandLineDarkBg
23178 * (bug 8780) Clarify message for command-line scripts if LocalSettings.php
23179   exists but is not readable
23180 * dumpBackup / importDump now work with PostgreSQL
23181 * (bug 8975) Use "Maintenance script" as the default username for
23182   importImages.php and importTextFile.php scripts
23183 * (bug 8933) Fix maintenance/reassignEdits.php script
23184 * (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org
23185 * (bug 2979) Import now gracefully skips invalid titles with a warning
23186 * Restore '--norc' option for maintenance/importTextFile.php
23187 * Help information for maintenance/importTextFile.php now easier to read on
23188   consoles
23189 * Doxygen documentation now show the revision number of each file, generate
23190   graphs using dot and include a search engine.
23193 == Languages updated ==
23195 * Arabic (ar)
23196 * Aramaic (arc)
23197 * Aymara (ay)
23198 * Belarusian normative (be)
23199 * Belarusian alternative (be-x-old)
23200 * Bulgarian (bg)
23201 * Bihara (bh)
23202 * Breton (br)
23203 * Catalan (ca)
23204 * Czech (cs)
23205 * Danish (da)
23206 * German (de)
23207 * Greek (el)
23208 * Esperanto (eo)
23209 * Spanish (es)
23210 * Estonian (et)
23211 * Basque (eu)
23212 * Finnish (fi)
23213 * Võro (fiu-vro)
23214 * French (fr)
23215 * Hebrew (he)
23216 * Hindi (hi)
23217 * Upper Sorbian (hsb)
23218 * Hungarian (hu)
23219 * Armenian (hy)
23220 * Indonesian (id)
23221 * Italian (it)
23222 * Japanese (ja)
23223 * Javanese (jv)
23224 * Georgian (ka)
23225 * Kabyle (kab)
23226 * Kazakh (kk)
23227 * Korean (ko)
23228 * Kashmiri (ks)
23229 * Ripuarian (ksh)
23230 * Latin (la)
23231 * Luganda (lg)
23232 * Limburgish (li)
23233 * Lithuanian (lt)
23234 * Latvian (lv)
23235 * Marathi (mr)
23236 * Low Saxon (nds)
23237 * Dutch Lower Saxon (nds-nl)
23238 * Nepali (ne)
23239 * Nepal Bhasa (new)
23240 * Dutch (nl)
23241 * Occitan (oc)
23242 * Pali (pi)
23243 * Polish (pl)
23244 * Romanian (ro)
23245 * Russian (ru)
23246 * Sanskrit (sa)
23247 * Sicilian (scn)
23248 * Slovak (sk)
23249 * Sundanese (su)
23250 * Swedish (sv)
23251 * Tahitian (ty)
23252 * Ukrainian (uk)
23253 * Urdu (ur)
23254 * Uzbek (uz)
23255 * Vietnamese (vi)
23256 * Zealandic (zea)
23257 * Old Chinese / Late Middle Chinese (zh-classical)
23258 * Chinese (PRC) (zh-cn)
23259 * Chinese (Taiwan) (zh-tw)
23260 * Cantonese (zh-yue)
23262 == Compatibility ==
23264 MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
23266 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
23267 http://bugs.php.net/bug.php?id=34879
23268 Upgrade affected systems to PHP 5.1 or higher.
23270 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
23271 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
23274 == Upgrading ==
23276 1.10 has several database changes since 1.9, and will not work without schema
23277 updates.
23279 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
23280 new database fields are filled with data.
23282 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
23283 changes are made, and there is a slightly higher chance that things could
23284 break. Don't forget to always back up your database before upgrading!
23286 See the file UPGRADE for more detailed upgrade instructions.
23288 = MediaWiki release notes =
23289 Security reminder: MediaWiki does not require PHP's register_globals
23290 setting since version 1.2.0. If you have it on, turn it *off* if you can.
23292 = MediaWiki 1.9 =
23294 == MediaWiki 1.9.6 ==
23296 March 2, 2008
23298 * Correction for API path fix, broken in 1.9.5
23300 == MediaWiki 1.9.5 ==
23302 January 23, 2008
23304 This is a security update to the Winter 2007 quarterly release. A potential XSS
23305 injection vector affecting api.php only for Microsoft Internet Explorer users
23306 has been closed.
23309 To work around the vulnerability without upgrading, you may disable the API if
23310 you don't need it:
23312 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23314 Not vulnerable versions:
23315 * 1.12 or later
23316 * 1.11 >= 1.11.1
23317 * 1.10 >= 1.10.3
23318 * 1.9 >= 1.9.5
23319 * 1.8 any version (if $wgEnableAPI has been left off)
23321 Vulnerable versions:
23322 * 1.11 <= 1.11.0rc1
23323 * 1.10 <= 1.10.2
23324 * 1.9 <= 1.9.4
23325 * 1.8 any version (if $wgEnableAPI has been switched on)
23327 MediaWiki 1.7 and below are not affected as they do not include the API
23328 functionality, however the BotQuery extension is similarly vulnerable unless
23329 updated to the latest SVN version.
23331 == MediaWiki 1.9.4 ==
23333 September 10, 2007
23335 This is a security and bug fix update to the Winter 2007 quarterly release.
23336 Minor compatibility fixes for IIS 5 are included.
23338 * (bug [[bugzilla:8847|8847]]) Strip spurious #fragments from request URI to
23339 fix redirect loops on some server configurations
23340 * A possible HTML/XSS injection vector in the API pretty-printing mode has been
23341 found and fixed.
23343 The vulnerability may be worked around in an unfixed version by simply
23344 disabling the API interface if it is not in use, by adding this to
23345 LocalSettings.php:
23347 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23349 Not vulnerable versions:
23350 * 1.11 >= 1.11.0
23351 * 1.10 >= 1.10.2
23352 * 1.9 >= 1.9.4
23353 * 1.8 >= 1.8.5
23355 Vulnerable versions:
23356 * 1.11 <= 1.11.0rc1
23357 * 1.10 <= 1.10.1
23358 * 1.9 <= 1.9.3
23359 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
23361 MediaWiki 1.7 and below are not affected as they do not include the faulty
23362 function, however the BotQuery extension is similarly vulnerable unless updated
23363 to the latest SVN version.
23365 == MediaWiki 1.9.3 ==
23367 February 20, 2007
23369 This is a security and bug-fix update to the Winter 2007 quarterly release.
23370 Minor compatibility fixes for IIS and PostgreSQL are included.
23372 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
23373 charset autodetection was located in the AJAX support module, affecting MSIE
23374 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
23376 If you are using an extension based on the optional Ajax module, either disable
23377 it or upgrade to a version containing the fix:
23379 * 1.9: fixed in 1.9.3
23380 * 1.8: fixed in 1.8.4
23381 * 1.7: fixed in 1.7.3
23382 * 1.6: fixed in 1.6.10
23384 There is no known danger in the default configuration, with ''$wgUseAjax'' off.
23386 * ([[mediazilla:8992|8992]]) Fix a remaining raw use of REQUEST_URI in history
23387 * ([[mediazilla:8984|8984]]) Fix a database error in
23388 Special:Recentchangeslinked when using the PostgreSQL database.
23389 * Add ''charset'' to Content-Type headers on various HTTP error responses to
23390 forestall additional UTF-7-autodetect XSS issues. PHP sends only ''text/html''
23391 by default when the script didn't specify more details, which some
23392 inconsiderate browsers consider a license to autodetect the deadly,
23393 hard-to-escape UTF-7. This fixes an issue with the Ajax interface error message
23394 on MSIE when ''$wgUseAjax'' is enabled (not default configuration); this UTF-7
23395 variant on a previously fixed attack vector was discovered by Moshe BA from
23396 BugSec: [http://www.bugsec.com/articles.php?Security=24
23397 http://www.bugsec.com/articles.php?Security=24]
23398 * Trackback responses now specify XML content type
23400 == MediaWiki 1.9.2 ==
23402 February 4, 2007
23404 This is a bug-fix update that fixes some installation and other minor issues
23405 with the 1.9.1 release as well as a security issue which was introduced in the
23406 1.9 branch.
23408 JavaScript code which regenerated the "sortable tables" feature did not
23409 properly sanitize input, leading to an HTML injection vulnerability.
23411 * ([[mediazilla:8774|8774]]) Fix path for GNU FDL rights icon on new installs
23412 * ([[mediazilla:8819|8819]]) Fix full path disclosure with skins dependencies
23413 * ([[mediazilla:8819|8819]]) Fixed data-loss bug in compressOld batch text
23414 compression affecting pages which had null edits (move, protect, etc) as second
23415 edit in a batch group. Isolated and patched by Travis Derouin.
23416 * Security fix for sortable tables JavaScript
23418 == MediaWiki 1.9.1 ==
23420 January 24, 2007
23422 This is a bug-fix update that fixes some installation and upgrade issues with
23423 the original 1.9.0 release.
23425 * ([[mediazilla:3000|3000]]) Fall back to SCRIPT_NAME plus QUERY_STRING when
23426 REQUEST_URI is not available, as on IIS with PHP-CGI
23427 * Security fix for DjVu images. (Only affects servers where .djvu file  uploads
23428 are enabled and ''$wgDjvuToXML'' is set.)
23429 * ([[mediazilla:8638|8638]]) Fix update from 1.4 and earlier
23430 * ([[mediazilla:8641|8641]]) Fix order of updates to ipblocks table for updates
23431 from <=1.7
23432 * ([[mediazilla:8673|8673]]) Minor fix for web service API content-type header
23433 * Fix API revision list on PHP 5.2.1; bad reference assignment
23434 * Fixed up the AjaxSearch
23435 * Exclude settings files when generating documentation. That could expose the
23436 database user and password to remote users.
23437 * ar: fix the 'create a new page' on search page when no exact match found
23438 * Correct tooltip accesskey hint for Opera on the Macintosh (uses Shift-Esc-,
23439 not Ctrl-).
23440 * ([[mediazilla:8719|8719]]) Firefox release notes lie! Fix tooltips for
23441 Firefox 2 on x11; accesskeys default settings appear to be same as Windows.
23443 == Changes since 1.8 ==
23445 * (bug 8200) Make category lists sorted by name when using Postgres.
23446 * (bug 7841) Support 'IGNORE' inserts for Postgres, fixes watchlist
23447   adding problem.
23448 * (bug 6835) Removing the includes/Parser.php::getTemplateArgs() function,
23449   because it seems to be unused.
23450 * (bug 7139) Increasing the visual width of the edit summary field on larger
23451   screen sizes, for the default monobook skin.
23452 * Fix PHP notice and estimates for dumpBackup.php and friends
23453 * Improved register_globals paranoia checks
23454 * (bug 7545) Fix PHP version check on install
23455 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails
23456   is set. Backtraces may contain sensitive information in function call
23457   parameters.
23458 * (bug 6164) Avoid smashing Cite state if message transformation triggers
23459   during bad image list check, by skipping message transformation.
23460   This isn't a good permanent fix.
23461 * (bug 6918) Stopped borders and backgrounds from showing through floated
23462   tables in Monobook
23463 * (bug 6868) Un-hardcode section edit link style
23464 * (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
23465 * Added global $wgStyleVersion to centralize bumping CSS and JS file versions
23466   for cache-friendly style and script updating
23467 * (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
23468 * Friendlier check for PHP 5 in command-line scripts; it's common for parallel
23469   PHP 4 and 5 installations to interfere on the command-line.
23470 * Fix regression in autoconfirm permission check
23471 * (bug 3015) Add CSS ids to subcategory and page sections on category pages
23472 * (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup
23473 * (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge
23474 * (bug 7581) Update language name for cbk-zam
23475 * (bug 7444) Update namespace translations for Telugu (te), kept old values as
23476   alias for compatibility
23477 * (bug 4525) Move section links down visually to same level as headings
23478   (editsection links are now inside the heading elements)
23479 * Workaround for http://bugs.php.net/bug.php?id=31892 , PATH_INFO and hence
23480   URLs of the style /index.php/Main_Page were broken on some CGI installations.
23481 * (bug 7623) Validate custom HTML id's correctly in Monobook interface
23482 * (bug 2241) Fix collision of 'w' and 'd' accesskeys
23483 * (bug 5795) CSS class added to body based on page name for page-specific
23484   styling
23485 * (bug 6276) Stopped search field from getting too large in Cologne Blue
23486 * (bug 7644) User creations that are aborted by hooks shouldn't be counted
23487   against account creations per day limit
23488 * (bug 7636) Show Firefox 2 users correct accesskey prefix
23489 * (bug 6427) Block blocked IPs from using the mail password function
23490   to allow blocking of flooders
23491 * Include common.css from classic-style skins in main HTML with the bump URL
23492 * (bug 7607) Add Karakalpak (kaa) to Names.php and stub message file for
23493   linktrail
23494 * (bug 7582) Add 'tog-nolangconversion' to MessagesEn.php.
23495   This key is need for languages with variants (zh, sr, kk)
23496 * (bug 7606) MediaWiki messages for "rss" and "atom" missing
23497 * (bug 7609) Add some more '*-summary' messages to MessagesEn.php with empty
23498   strings to allow better localisation via Special:Allmessages. Mark this new
23499   messages as optional for localisation.
23500 * Fix user_newpass upgrade for prefixed tables (reported by Fyren)
23501 * (bug 7663) Include language variant switcher links on Nostalgia skin
23502 * (bug 6531) Fix PHP fatal error on installation page with bad username input.
23503 * (bug 6977) Remove 404 link for autogenerated database documentation.
23504 * (bug 7369) Allow "Show Changes" without requiring edit token.
23505 * (bug 7687) Fix movetalk box checks itself when confirming a delete and move.
23506 * (bug 7684) Obey watchcreated preference for Special:Upload watch checkbox
23507 * (bug 7686) Include id attribute on delete form confirmation button
23508 * Allow compound interwiki prefixes in $wgImportSources
23509 * (bug 7304) Added redirect table to store redirect targets.
23510 * Added querycachetwo table (similar to querycache but has two titles)
23511 * PageArchive can now return a Revision object for more convenient processing
23512   of deleted revision data
23513 * Added 'UndeleteShowRevision' hook in Special:Undelete
23514 * Error message on attempt to view invalid or missing deleted revisions
23515 * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
23516 * (bug 3224) Allow minor edits by bots to skip new message notification on
23517   user talk pages. This can be disabled by adjusting the 'nominornewtalk'
23518   permission. Patch by Werdna.
23519 * (bug 7741) MATH: fixed broken syntax of underbrace etc. Fixed arrays
23520 * Fix purging for updated SVG files
23521 * (bug 7745) Add id attribute to search button in Monobook
23522 * (bug 7749) MATH: added some more LaTeX symbols, e.g. parallel, diamond, ast...
23523 * (bug 7304) Added code in Article.php to keep redirect table up to date.
23524 * Made special page names case-insensitive and localisable. Care has been taken
23525   to maintain backwards compatibility.
23526 * Used special page subpages in a few more places, instead of query parameters.
23527 * (bug 7758) Added wrapper span to "templates used" explanation to allow CSS
23528   styling (class="mw-templatesUsedExplanation").
23529 * Added {{#special:}} parser function, to give the local default title for
23530   special pages
23531 * (bug 7766) Remove redundant / from AJAX requests, can break some servers
23532 * Add tab links from extensions to classic-based skins (SkinTemplateTab hook)
23533   Provides better cross-skin compatibility for extensions using the modern
23534   skin hooks, such as Oversight
23535 * Moved variant language links on Cologne Blue and Nostalgia to before the
23536   login/logout link
23537 * Fix for parser tests with MySQL 5 in strict mode
23538 * Added block option "enable autoblocks"
23539 * Amend Special:Ipblocklist to note when a block has autoblock DISABLED.
23540 * (bug 7780) Fix regression in editing redirects
23541 * Add whitespace above "templates included on this page" using CSS, not
23542   hardcoded line break.
23543 * Remove entries from redirect table on article deletion
23544 * (bug 7788) Force section headers in new section links for users who have
23545   'prompt for blank edit summaries' on.
23546 * (bug 1133) Special:Emailuser: add an option to send yourself a copy of your
23547   mail.
23548 * (bug 461) Allow "Categories:" link at bottom of pages to be customized via
23549   pagecategorieslink message.
23550 * Sort the list of skins in "My Preferences" -> Skins by alphabetical order.
23551 * (bug 7785) Postgres compatibility for timestamps in RC feeds
23552 * (bug 7550) Normalize user parameter normally on Special:Log
23553 * (bug 7294) Fix PATH search for diff3 on install
23554 * Various fixes related to the blocking change re: autoblocks. On inserting
23555   an IP block, the ipb_enable_autoblock field is now automagically blanked,
23556   because it doesn't make any sense for an IP. Additionally, IP blocks
23557   without the ipb_enable_autoblock option no longer show up as "autoblock
23558   disabled" on Special:Ipblocklist.
23559 * (bug 7774) MATH: aded more amstex functions
23560 * (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in
23561   TeX
23562 * Fix regression in streaming page dump generation
23563 * (bug 7801) Add support for parser function hooks in parser tests
23564 * checkUsernames.php now uses wfDebugLog instead of hardcoded path to log
23565 * (bug 7810) Update talk namespaces for Occitan
23566 * Allow case-sensitive URLs to be used for uploading from URLs.
23567 * (bug 1109) Correct fix for compressed 304 responses when additional output
23568   buffers have been installed within the compression handler
23569 * (bug 7819) Move automatic redirect edit summary after pre-save transform
23570   to work properly with subst: fun
23571 * (bug 7826) Fix typos in two English messages.
23572 * (bug 5365) Stop users being prompted to enter an edit summary for null edits,
23573   if they have selected that option in preferences.
23574 * (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor
23575   edits.
23576 * (bug 7820) Improve error reporting for uploads via URL.
23577 * (bug 5149) When autoblocks are enabled, retroactively apply an autoblock to
23578   the most recently used IP of a user when they are blocked.
23579 * Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This
23580   will make CheckUser.php and the new retroactive autoblock functionality
23581   faster.
23582 * Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
23583   with compression or legacy encoding
23584 * (bug 6737) Fixes for MySQL 5 schema in strict mode
23585 * Approximate height for client-side scaling fallback instead of passing -1
23586   into the HTML output.
23587 * Make the DNSBL to check for proxy blocking configurable via $wgSorbsUrl
23588 * Add experimental recording/reporting mode to parser tests runner, to
23589   compare changes against the previous run.
23590   Additional tables 'testrun' and 'testitem' are in maintenance/testRunner.sql,
23591   source this and pass --record option to parserTests.php
23592 * Make the set of default parser test input files extensible via
23593   $wgParserTestFiles. This can now be appended to by extensions or local
23594   configuration files so that extension or custom tests can be automatically
23595   run along with the main batch.
23596 * Run PHP install version checks on update.php so command-line updaters see
23597   new version requirements
23598 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
23599   as of MW 1.8 than it used to be. Install or upgrade now aborts with a
23600   warning and a request to upgrade.
23601 * (bug 6440) Updated indexes to improve backlinking queries (links, templates,
23602   images)
23603 * Switched 'anon-only' block mode to default for IP blocks
23604 * (bug 3687, 7892) Add distinct heading for media files in category display,
23605   with count.
23606 * (bug 1578) Add different icons for external links to audio, video, or PDF in
23607   Monobook.
23608 * Made autoblocks block account creation if the user block has that option
23609   enabled.
23610 * Add auto-summaries to blankings and large removals without summaries.
23611 * (bug 7811) Allow preview of edit summaries.
23612 * (bug 6839) Wikibits.js minor changes to make JS-lint happier.
23613 * (bug 7932) Make sure that edit toolbar clears floats so it appears correctly.
23614 * (bug 6873) When viewing old revisions, add link to diff to current version.
23615 * (bug 3315) Provide rollback link directly on history page.
23616 * Replace 'old-revision-navigation' message with 'revision-info' and
23617   'revision-nav' messages, wrapped in divs with appropriate id's.
23618 * (bug 4178) MediaWiki:Common.js will now be included for all users if
23619   $wgUseSiteJs is enabled, in addition to (if applicable) MediaWiki:Monobook.js
23620   and user JS subpages.
23621 * (bug 7918) "Templates used on this page" changes during preview to reflect
23622   any added or removed templates, and works as expected for section edits.
23623 * (bug 7919) "Templates used on this page" is now shown for read-only pages.
23624 * (bug 7688) When viewing diff, section anchors in autosummary jump to section
23625   on current page instead of loading the latest version.
23626 * (bug 7970) Use current connection explicitly on Database::getServerVersion
23627 * (bug 2001) Tables with class="sortable" can now be dynamically sorted via
23628   JavaScript.
23629 * Added autosummary for new pages with 500 or less characters, and refactor
23630    the autosummary code so it's all done in one function. doEdit is getting too
23631    big!
23632 * (bug 7554) The correct MIME type for SVG images is now displayed on the
23633   image page (image/svg+xml, not image/svg).
23634 * (bug 7883) Added autoblock whitelisting feature, using which specific ranges
23635    can be protected from autoblocking. These ranges are specified, in list
23636   format, in the autoblock_whitelist system message.
23637 * Added placeholders for text injection by hooks to EditPage.php
23638 * (bug 8009) Automatic edit summary for redirects is not filled for edits in
23639   existing pages
23640 * Installer support for experimental MySQL 4.1/5.0 binary-safe schema
23641 * Use INSERT IGNORE for db-based BagOStuff add/insert, for more memcache-like
23642   behavior when keys already exist on add (instead of dying with an error...)
23643 * Add a hook 'UploadForm:initial' before the upload form is generated, and two
23644   member variable for text injection into the form, which can be filled by the
23645   hooks.
23646 * (bug 6295) Add a "revision patching" functionality, where an edit can be
23647   undone
23648   (with a functionality similar to diff rev1 rev2 | patch -R rev3 -o rev3).
23649   This is triggered by including &undo=revid in an edit URL. A link to a URL
23650   that will undo a given edit is shown on NEW revision headers on diff pages.
23651   The link leads to a "Show Changes" page showing what will be done to undo the
23652   edit.
23653 * Fix display of link in "already rolled back" message for image/category pages
23654 * (bug 6016) Left-aligned images should stack vertically, like right-aligned
23655   images, not horizontally.
23656 * Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php
23657 * Add AuthPluginSetup hook to override $wgAuth after configuration
23658 * Fix regression in authentication hook auto-creation on login
23659 * (bug 8110) Allow spaces in ISBNs
23660 * (bug 8024) Introduce "send me copies of emails I send to others" preference
23661 * Added 'EditPage::attemptSave' hook before an article is saved.
23662 * (bug 8083) Applied patch for sk localisation
23663 * Add a backslash character to the edit token, to prevent edits via certain
23664   broken proxies that mangle such characters in form submissions
23665 * (bug 7461) Allow overwriting pages using importTextFile.php
23666 * (bug 7946) importTextFile.php doesn't perform pre-save transform
23667 * (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set;
23668   now uses current time for previews and if timestamp can't be loaded from DB
23669 * {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone
23670   to ensure consistent behavior
23671 * {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends
23672 * (bug 7671) Observe canonical media namespace prefix in Linker::formatComment
23673 * Added js variable wgCurRevisionId to the output
23674 * (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht
23675 * (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit
23676   instead of hardcoding to 1000
23677 * Enable QueryPage classes to override list formatting
23678 * (bug 5485) Show number of intervening revisions in diff view
23679 * (bug 8100) Fix XHTML validity in Taiwanese localization
23680 * Added redirect to section feature. Use it wisely.
23681 * Added a configuration variable allowing the "break out of framesets" feature
23682   to be switched on and off ($wgBreakFrames). Off by default.
23683 * Allow Xml::check() $attribs parameter to override 'value' attribute
23684 * DB schema change: added two columns (rc_old_len and rc_new_len) to the
23685   recentchanges table to store the text lengths before and after the edit
23686 * (bug 1085) Made Special:Recentchanges show the character difference between
23687   the changed revisions
23688 * Removed a redundant <strong> tag from diff pages that was causing display
23689   issues for some users
23690 * (bug 8203) The keyboard shortcut for "log out" was removed, because users
23691   were pressing it when they intended to press the shortcut for "preview".
23692 * (bug 8148) Handle non-removable output buffers gracefully when cleaning
23693   buffers for HTTP 304 responses, StreamFile, and Special:Export.
23694   Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers()
23695 * Special:AllPages : 'next page' link now point to the first title of the next
23696   chunk instead of pointing to the last title of current chunk.
23697 * (bug 4673) Special:AllPages : add a 'previous' link (new message 'prevpage')
23698 * (bug 8121) wfRandom() was not between 0 and 1
23699 * Add static method Parser::createAssocArgs($args), so parser functions can
23700   use the same code to parse arguments as the templates do.
23701 * Change behavior of logins using the temporary e-mailed password (as stored
23702   in user_newpassword hash field). Instead of just logging in silently and
23703   leaving the previous user_password field in place indefinitely, the user
23704   is now prompted to set a new password.
23706   The password-changing form is at Special:Resetpass; currently it's only
23707   usable for changing from the temporary password during login, but it
23708   could perhaps be generalized, replacing the subform in preferences.
23710   Once the new password is set successfully, the temporary password is wiped
23711   so it cannot be used to login a second time, and the login process
23712   is completed.
23713 * Suppress 'mail new password' button on login form if $wgAuth forbids
23714   changing user passwords; it wouldn't work very well...
23715 * Consolidate password length checks and $wgAuth manipulation into
23716   User::setPassword() to avoid duplicate code in different places
23717   that set passwords.
23718 * User::setPassword() now throws PasswordError exceptions if the password
23719   is illegal or cannot be set via $wgAuth. These can be caught and a human-
23720   readable error message displayed by UI code.
23721 * Added Title::isSubpage()
23722 * (bug 8241) Don't consider user pages of User:Foo.css to be CSS subpages
23723 * Set an explicit class on framed thumbnail inner divs and images, changed some
23724   CSS to use these instead of using descendent selectors.
23725 * Accept null parameter to User::setPassword() as indicating the password
23726   field should be cleared to an unusable state. Login will only be possible
23727   after the password is reset, for instance by e-mail.
23728 * (bug 6394) Invalidate the password set for "by e-mail" account creations
23729   to avoid accidental empty password creations.
23730 * Made the show change size function work on page moves, page creations, and
23731   log entries. Also fixed it in the javascript recentchanges.
23732 * (bug 8239) correctly get 50 new contributions when clicking '(50 next)'
23733 * (bug 2259) Fix old regression where e-mail addresses were no longer
23734   confirmed on login with mailed password.
23735 * Add a notification about the confirmation mail sent during account
23736   creation, so people don't immediately go off to request a second one.
23737 * Add a warning on Special:Confirmemail if a code was already sent and has
23738   not yet expired.
23739 * Add user_editcount field to provide data for heuristics on account use.
23740   Incremented on edit, with lazy initialization from past revision data.
23741   Can batch-initialize with maintenance/initEditCount.php (not yet friendly
23742   to replication environments, this will do all accounts in one query).
23743 * Allow raw SQL subsections in Database::update() SET portion as well as
23744   for WHERE portion. Handy for increments and such.
23745 * User::getOption now accept a default value to override default user values
23746   this makes it consistent with WebRequest::get* methods. Corrected code in
23747   various places accordingly.
23748 * (bug 8264) Fix JavaScript global vars for XHTML mode
23749 * Make $wgSiteNotice value wikitext again, for consistency with editable
23750   MediaWiki:Sitenotice and MediaWiki:Anonnotice.
23751 * (bug 8044) When redirecting from the canonical name of the special page
23752   to the localised one, parameters/subpages are omitted
23753 * (bug 8164) Special:Booksources should use GET for form submission
23754 * Rewrite Special:Booksources to clean up interface and remove redundant code
23755 * (bug 7925) Change Special:Allmessages message name filter javascript to be
23756   a bit more responsive and easier on the CPU
23757 * (bug 4488) Support watching pages on deletion; introduces new user preference
23758 * Minor restructuring of Special:Preferences; "watch pages I edit" and "watch
23759   pages I create" options now accessible under "Watchlist" options
23760 * (bug 8153) <nowiki> doesn't work in site notice
23761 * (bug 6690) wfMsgNoTrans() transforms messages
23762 * (bug 8274) Wrap edit tools in a <div> with a specified class
23763 * Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
23764   mysteriously otherwise (detection code copied from install-utils.inc)
23765 * (bug 8295) Change handling of <center> tags in doBlockLevels() to match that
23766   of <div>
23767 * (bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
23768   (plus optional ISBN-13 prefix) with no immediately following alphanumeric
23769   character, disallow multiple consecutive internal redirects
23770 * (bug 2785) Accept optional colon prefix in links when formatting comments
23771 * Don't show "you can view and copy the source of this page" message for
23772   pages which don't exist
23773 * (bug 8310) Blank line added to top of 'post' when page is blank
23774 * (bug 8109) Template parameters ignored in "recentchangestext"
23775 * Gracefully skip redirect-to-fragment on WebKit versions less than 420;
23776   it messes up on current versions of Safari but is ok in the latest
23777   nightlies. Checking the version number will allow it to automatically
23778   work when new releases of Safari appear.
23779 * Fix regression in thumb styles; size and padding didn't match with
23780   new arrangement.
23781 * (bug 8333) Fix quick user data update on login password change on
23782   replication database setups. User data is now pulled from master
23783   instead of slave in User::loadFromDatabase, ensuring that it is
23784   fresh and accurate when read and then saved back into cache.
23785   This was breaking with the Special:Rename operation which
23786   automatically logs the user in with the new password after changing
23787   it; pulling from slave meant the record was often not the updated
23788   one.
23789 * (bug 8335) Set image width to the first valid parameter found.
23790 * (bug 8350) Fix watchlist viewing bug when using Postgres.
23791 * (bug 6603) When warning about invalid file extensions, output the bit
23792   of the extension we actually checked
23793 * (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility
23794   with MySQL's strict mode, often enabled by the Windows installer.
23795   The defaults are ignored anyway when strict mode is off...
23796 * (bug 7685) Use explicit values for ar_text and ar_flags when deleting,
23797   for better compatibility with MySQL's strict mode
23798 * Update default interwiki values to reflect changed location of ursine:
23799 * (bug 5411) Remove autopatrol preference
23800 * Users who have the "autopatrol" permission will have their edits marked as
23801   patrolled automatically
23802 * Users who do not have the "autopatrol" permission will no longer be able
23803   to mark their own edits as patrolled
23804 * Introduce 'PingLimiter' hook; see docs/hooks.txt for more information
23805 * (bug 532) Tweaked alt text for some interface messages
23806 * (bug 8231) Gave useful alt text to the main <img> on image pages
23807 * (bug 371) Remove alt text for "Enlarge" icon on thumbnails
23808 * Initialize user_editcount to 0 instead of NULL for newly created accounts
23809 * (bug 3696) Strip LRM and RLM characters from titles to work around the
23810   problem some people have where titles cut-and-pasted from lists include
23811   the bidi override characters appended to the lists.
23812   A more thorough blacklist for forbidden and translatable characters would
23813   be wise, though, as might a cleaner method for the lists in the first place.
23814 * Fix regression in email password resets on read-restricted sites
23815 * Set tabindex on fields in deletion form so you don't have to tab through
23816   the links in the sitenotice
23817 * (bug 8271) Show full time and date on viewer for individual deleted
23818   revisions
23819 * (bug 8214) Output file size limit and actual file size in appropriate units
23820   on Special:Upload
23821 * (bug 8016) Purge objectcache table during upgrade processes - use the
23822   --nopurge option to prevent this when running maintenance/update.php
23823 * (bug 7612) Remove superfluous link to Special:Categories from result items
23824   on Special:Mostcategories
23825 * {{PLURAL:}} now handles formatted numbers correctly
23826 * (bug 8331) Added the change size value to watchlists; therefore made
23827   watchlists use RecentChange::newFromRow() instead of newFromCurRow()
23828 * (bug 8351) Fix undo for simple reverts
23829 * (bug 6856) User::clearNotification() does not respect read-only mode
23830 * (bug 6853) Use a checkbox on the installer form to indicate that a superuser
23831   account should be used; this is clearer than the old check which relied on
23832   the password never being an obscure value
23833 * Remove old unused watchlist cache, which was a leftover from the old schema
23834   where watchlists were more expensive to generate
23835 * Minor cosmetic changes to Special:Userrights
23836 * Added wgCanonicalSpecialPageName to JavaScript variables
23837 * Fix image deleting when using Postgres.
23838 * Output both source and destination titles in maintenance/moveBatch.php
23839 * Added basic parser tests for language variants
23840 * Enable selflinks and categories to be written in some of the language variants
23841 * Prevent conversion of JavaScript code in language variants
23842 * Output software version number in maintenance/parserTests.php
23843 * (bug 7169) Use Ajax to watch/unwatch articles if enabled
23844 * Make variant table caching a little more robust, using main language code
23845   in cache key. Probably this is still a bit wonky, though. Was breaking
23846   parser tests when Chinese tables were getting loaded into Serbian code.
23847 * (bug 8380) Be nicer about blank lines in deleteBatch.php
23848 * (bug 8401) Fix regression in SORBS lookup for some DNS setups
23849 * Use raw file descriptor in posix_isatty() check to avoid warning on
23850   Linux systems with at least some versions of PHP
23851 * (bug 5908) Allow overriding the default category sort key for all items on
23852   a page using {{DEFAULTSORT}}
23853 * (bug 6449) Throw a more definitive error message when installation fails
23854   due to an invalid database name
23855 * (bug 5827) Use full text for option link labels on Special:Watchlist
23856 * (bug 8018) Allow hiding minor edits from the watchlist
23857 * (bug 8427) MonoBook RTL IE 7.0 tweaks failed when sidebar's navigation
23858   section is renamed; no longer relies on first section name
23859 * Stabilize client-side table sorting even if the underlying Javascript sort()
23860   implementation is unstable
23861 * Add hook for extensions to add user information to the panel in preferences,
23862   next to the user name and ID.
23863 * (bug 8392) Display protection status of transcluded pages in the edit page
23864   template list. Patch by Fyren, with i18n naming tweak.
23865 * Fix for interwiki transclusion where target wiki uses query string for title
23866 * Resolve namespaces on interwiki Title objects using canonical namespace names
23867   if possible (should not happen, though, outside interwiki transclusion... and
23868   maybe not even then, but it does)
23869 * (bug 8447) Fix SQL typo breaking non-default $wgHitcounterUpdateFreq
23870 * Do not allow previews of deleted images to be cached
23871 * Add global variable $wgDefaultLanguageVariant used to set the default language
23872   variant of a wiki to something different than the main language code
23873 * Add 'variant' option to parserTests - runs test with the given variant as
23874   preferred, utilize it for more parser tests of language variants code
23875 * (bug 6503) Fix bug that stopped certain irrelevant links from being hidden
23876   for printing
23877 * Avoid PHP warning in Creative Commons metadata when a creative commons
23878   license is not actually set up
23879 * (bug 8463) Don't print external link icons for Monobook
23880 * (bug 8461) Support watching pages on move
23881 * (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is
23882   loaded by skipping the function. Use wfDebugBacktrace() wrapper function.
23883 * Reduce config file clutter by setting various script and upload paths
23884   based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
23885   overridden in LocalSettings.php if desired...
23886 * Attempt to detect redirect loops for the canonical title redirect, and
23887   give some hints to the poor confused administrator.
23888 * Introduce new flag 'R' - raw output for language variant escape tags
23889 * Advise users when updates for a query page have been disabled using
23890   $wgDisableQueryPageUpdate
23891 * (bug 8413) Improve comments for $wgNamespaceRobotPolicies
23892 * (bug 8330) Show "bytes" suffix on recent changes diff counter
23893   optionally... if set in rc-changes-size message (default empty for now)
23894 * (bug 8489) Support basic links in <gallery> caption attribute
23895 * (bug 8485) Correct Lingala number formatting
23896 * The MediaWiki namespace is no longer pre-filled with default messages on
23897   install. All default messages will be removed from the MediaWiki namespace
23898   on upgrade.
23899 * Recentchanges RSS/Atom feeds now use a separate message for the description
23900   to avoid cluttering it with useless wiki formatting
23901 * (bug 8417) Handle EXIF unknown dates
23902 * (bug 8372) Return nothing on empty <math> tags.
23903 * New maintenance script to show the cached statistics : showStats.php.
23904 * Count deleted edits when regenerating total edits in maintenance/initStats.php
23905 * (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt
23906   permission key has been added to enable this behavior, by default assigned to
23907   sysops.
23908 * (bug 7948) importDump.php now warn that Recentchanges need to be rebuild.
23909 * (bug 7667) allow XHTML namespaces customization
23910 * (bug 8531) Correct local name of Lingála (patch by Raymond)
23911 * Fix regression with default lock file and cache directories; threw visible
23912   warning with open_basedir
23915 == 1.8 Compatibility changes ==
23917 === Zend Optimizer ===
23919 A bug in some versions of PHP 5 and Zend Optimizer which was triggered under
23920 MediaWiki 1.8.x has been worked around by disabling some internal debugging
23921 features when Zend Optimizer is loaded. This should solve some common
23922 "blank page" problems.
23924 === PHP 5.0 64-bit ===
23926 MediaWiki now checks for a condition where PHP 5.0.x corrupts array data
23927 on 64-bit systems and warns you to upgrade PHP to solve the problem. This
23928 bug causes Special: pages to fail on affected systems under MediaWiki 1.8
23929 and higher, and subtler data corruption on earlier versions.
23931 The only known workaround is to upgrade PHP to 5.1 or later, which you
23932 probably should do anyway for security reasons!
23934 === MySQL 5 ===
23936 MediaWiki should now install and run correctly on MySQL 5.0 and higher when
23937 MySQL's "strict mode" is enabled. (This is now the default for many Windows
23938 installations, though it seems to remain off by default on Unix.)
23940 This fixes errors about "cannot default default value for BLOB/TEXT fields".
23942 === ImageMagick ===
23944 Note that ImageMagick older than 6.x may no longer work for image resizing
23945 due to use of the -thumbnail option.
23948 == 1.8 Behavior changes ==
23950 === Localized special pages ===
23952 The names of Special: pages can now be localized, so links and URLs to them
23953 are more legible in languages that aren't English.
23955 Not all languages have included localized names yet.
23957 === E-mail password ===
23959 Users are now required to set a new password for themselves when they first
23960 log in with a newly generated e-mailed password.
23962 Requesting passwords frequently is prevented to reduce abusive mailbombing.
23964 === Undo revision ===
23966 An "undo" link now appears in diff view for easier reverting of older edits.
23967 When GNU diff3 is available for edit conflict merging, this can make it much
23968 easier to "undo" the changes of an older edit when there are surrounding
23969 changes elsewhere in the page.
23971 The changes must be manually reviewed and approved, as with conventional
23972 full-revision reverts.
23974 === Blocking ===
23976 User blocks can be set to disable the automatic blocking of IP addresses the
23977 account logs in with.
23980 == 1.8 Database changes ==
23982 * new 'redirect' table stores data on page redirects
23983 * new 'querycachetwo' table used for some cached special pages
23984 * 'ipblocks' table adds 'ipb_enable_autoblock'
23985 * 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking
23986 * 'user' table has added 'user_newpass_time' and 'user_editcount' fields
23987 * some indexes have been updated on 'recentchanges'
23989 == 1.8 Configuration changes ==
23991 Several configuration options have changed since 1.8:
23993 === $wgEnableAPI ===
23995 The experimental machine API interface is now enabled by default, read-only.
23996 You can disable it by setting $wgEnableAPI = false; in LocalSettings.php.
23998 === $wgPathInfo ===
24000 The use of PATH_INFO (the text after the script name in 'index.php/Blah')
24001 is controlled by the $wgUsePathInfo setting. This is now explicitly disabled
24002 for CGI, apache2filter, and ISAPI configurations of PHP, for more consistency
24003 with the autodetection from the installer.
24005 In some rarer configurations you may have to switch $wgUsePathInfo from false
24006 to true or, perhaps, from true to false to make things work properly if bad
24007 PATH_INFO data comes through the server.
24009 The wiki now tries to detect this condition and should show you an error
24010 message describing what to change instead of sending the browser into an
24011 infinite redirect loop.
24013 === $wgScript and other path settings ===
24015 The following configuration variables are now automatically set in Setup.php
24016 if they are not overridden in LocalSettings.php:
24018 from $wgScriptPath:
24019  + $wgScript
24020  |  \- $wgArticlePath
24021  + $wgRedirectScript
24022  + $wgStylePath
24023  + $wgUploadPath
24024     \- $wgLogo
24025      + $wgMathPath
24027 from $IP:
24028  - $wgStyleDirectory
24029  + $wgUploadDirectory
24030    \- $wgMathDirectory
24031     + $wgTmpDirectory
24033 Newly generated configuration files will by default include only $wgScriptPath
24034 (hardcoded from the installer) and $IP (detected at runtime).
24036 Old configuration files which specify all these values explicitly should
24037 continue to work just fine, but if you use the defaults you can remove them
24038 to reduce clutter.
24040 === $wgGroupPermissions ===
24042 The sysop group now holds the "autopatrol" and "ipblock-exempt" rights by
24043 default.
24045 "autopatrol" replaces the preference for marking ones own edits patrolled
24046 by default; users holding this permission will automatically have their
24047 edits patrolled, while others cannot mark their own edits as patrolled
24048 even if they have patrolling rights.
24050 "ipblock-exempt" excludes the user from IP blocks; accounts which are blocked
24051 explicitly by name will still be blocked, however. This is given to sysops
24052 to minimize annoyance from accidental "collateral damage"; remember that a
24053 sysop will be able to lift the block if they desire.
24055 The bot group now holds the "nominornewtalk" right. A user with this right
24056 will not trigger new message notifications when making minor edits to user
24057 talk pages. This is meant to minimize annoyance from maintenance bot
24058 processes.
24060 === $wgUseWatchlistCache ===
24062 Watchlist caching has been removed. The feature was not maintained, and has
24063 been unnecessary since switching to the 'recentchanges' database table
24064 reduced server pressure for Wikipedia's watchlists.
24066 === $wgBreakFrames ===
24068 MediaWiki in the past attempted to detect when it was embedded in a frameset
24069 and "break out" of it, assuming it to be hostile.
24071 This behavior is now disabled by default, but can be reenabled by setting
24072 $wgBreakFrames to true in LocalSettings.php.
24075 == 1.8 New settings ==
24077 === $wgVariantArticlePath ===
24079 For languages with script variant support (Chinese, Serbian, and others),
24080 it's possible to use alternate URL paths to select the variant for article
24081 display, setting $wgVariantArticlePath.
24083 Documentation for this setting would be useful.
24085 === $wgMaxMsgCacheEntrySize ===
24087 The message cache can now skip items larger than a given size; this allows
24088 it to better handle the primary caching case when large CSS and JS blobs are
24089 present.
24091 === $wgStyleVersion ===
24093 When making significant changes to skin stylesheets and JavaScript files,
24094 you can append a string to this variable to tweak the generated URLs,
24095 forcing newly rendered pages to bring in a fresh version despite server-
24096 or browser-side caching.
24098 Normally this will be set in the course of MediaWiki development, but
24099 if doing development on a custom skin you may wish to poke it as well.
24101 === $wgRCShowChangedSize ===
24103 Special:Recentchanges and Special:Watchlist now show the number of bytes
24104 added or removed to an article to give an idea of the size of the edit.
24105 This information was previously available only in the IRC update feeds.
24107 To disable this site-wide, set $wgRCShowChangedSize to false.
24108 (Individual users can suppress the data in custom CSS.)
24110 Adjust $wgRCChangedSizeThreshold to trigger highlighting of particularly
24111 large changes.
24113 The formatting of the size figure can be adjusted through the
24114 [[MediaWiki:Rc-change-size]] message.
24116 === $wgQueryCacheLimit ===
24118 The number of rows stored for "expensive" special pages in miser mode
24119 can now be adjusted up or down from the default 1000.
24121 === $wgDisableQueryPageUpdate ===
24123 Individual "expensive" special pages can be skipped in processing by
24124 updateSpecialPages if added to this list.
24126 === $wgSorbsUrl ===
24128 The base hostname for the DNS-based proxy blacklist can now be overridden
24129 when $wgEnableSorbs is set, to use a different blacklist instead of SORBS.
24130 The blacklist would need to respond the same was as SORBS; any positive
24131 response will be taken as a proxy.
24133 === $wgAjaxWatch ===
24135 Experimental AJAX mode for the watch/unwatch tabs to execute inline.
24136 Does not include the UI messages describing how to reach the watchlist,
24137 so you may not want it on a general-audience site just yet.
24139 === $wgParserTestFiles ===
24141 MediaWiki's parser test suite can now be expanded with additional test
24142 files. Custom extensions can add their test files to this array, and
24143 they will be run along with the main tests by maintenance/parserTests.php
24145 = MediaWiki 1.8=
24147 == MediaWiki 1.8.5 ==
24149 September 10, 2007
24151 This is a security fix update to the Fall 2006 quarterly release snapshot. A
24152 possible HTML/XSS injection vector in the API pretty-printing mode has been
24153 found and fixed.
24155 The vulnerability may be worked around in an unfixed version by simply
24156 disabling the API interface if it is not in use, by adding this to
24157 LocalSettings.php:
24159 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
24161 (This is the default setting in 1.8.x.)
24163 Not vulnerable versions:
24164 * 1.11 >= 1.11.0
24165 * 1.10 >= 1.10.2
24166 * 1.9 >= 1.9.4
24167 * 1.8 >= 1.8.5
24169 Vulnerable versions:
24170 * 1.11 <= 1.11.0rc1
24171 * 1.10 <= 1.10.1
24172 * 1.9 <= 1.9.3
24173 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
24175 MediaWiki 1.7 and below are not affected as they do not include the faulty
24176 function, however the BotQuery extension is similarly vulnerable unless updated
24177 to the latest SVN version.
24179 == MediaWiki 1.8.4 ==
24181 February 20, 2007
24183 This is a security and bug-fix update to the Fall 2006 quarterly release.
24185 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
24186 charset autodetection was located in the AJAX support module, affecting MSIE
24187 users on MediaWiki 1.6.x and up when the optional setting
24188 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
24190 If you are using an extension based on the optional Ajax module, either disable
24191 it or upgrade to a version containing the fix:
24192 * 1.9: fixed in 1.9.3
24193 * 1.8: fixed in 1.8.4
24194 * 1.7: fixed in 1.7.3
24195 * 1.6: fixed in 1.6.10
24197 There is no known danger in the default configuration, with $wgUseAjax off.
24199 * (bug [[bugzilla:8819|8819]]) Fix full path disclosure with skins dependencies
24200 * Add 'charset' to Content-Type headers on various HTTP error responses to
24201 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
24202 default when the script didn't specify more details, which some inconsiderate
24203 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
24204 This fixes an issue with the Ajax interface error message on MSIE when
24205 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
24206 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
24207 from BugSec: http://www.bugsec.com/articles.php?Security=24
24208 * Trackback responses now specify XML content type
24210 == MediaWiki 1.8.3 ==
24212 January 9, 2007
24214 MediaWiki 1.8.3 fixes several issues in the Fall 2006 snapshot release:
24216 * ([[mediazilla:7831|7831]]) Regression in AutoAuthenticate hook
24217 * Run PHP install version checks on update.php so command-line updaters see new
24218 version requirements
24219 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
24220 as of MW 1.8 than it used to be. Install or upgrade now aborts with a warning
24221 and a request to upgrade.
24222 * XSS fix in AJAX module
24224 An XSS injection vulnerability was located in the AJAX support module,
24225 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
24226 enabled.
24228 There is no danger in the default configuration, with $wgUseAjax off.
24230 If you are using an extension based on the optional AJAX module, either disable
24231 it or upgrade to a version containing the fix:
24233 == MediaWiki 1.8.2 ==
24235 October 13, 2006
24237 MediaWiki 1.8.2 fixes several issues in the Fall 2006 snapshot release:
24239 * ([[mediazilla:7565|7565]]) Fixed typos in German localisation
24240 * ([[mediazilla:7562|7562]]) Fix non-ASCII namespaces on Windows/XAMPP servers
24242 == MediaWiki 1.8.1 ==
24244 October 11, 2006
24246 MediaWiki 1.8.1 fixes several issues in the Fall 2006 snapshot release:
24248 * Fix PHP notice and estimates for dumpBackup.php and friends
24249 * Improved register_globals paranoia checks
24250 * ([[mediazilla:7545|7545]]) Fix PHP version check on install
24251 * Experimental web API disabled by default
24252 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails is
24253 set. Backtraces may contain sensitive information in function call parameters.
24255 == MediaWiki 1.8.0 ==
24257 October 10, 2006
24259 This is the quarterly release snapshot for Fall 2006. While the code has been
24260 running on Wikipedia for some time, installation and upgrade bits may be less
24261 well tested. Bug fix releases may follow in the coming days or weeks.
24263 MediaWiki is now using a "continuous integration" development model with
24264 quarterly snapshot releases. The latest development code is always kept "ready
24265 to run", and in fact runs our own sites on Wikipedia.
24267 Release branches will continue to receive security updates for about a year
24268 from first release, but nonessential bugfixes and feature development happen
24269 will be made on the development trunk and appear in the next quarterly release.
24271 Those wishing to use the latest code instead of a branch release can obtain it
24272 from source control: [[Download from SVN]]
24274 == Configuration changes ==
24275 * $wgUseETag, to enable/disable sending of HTTP ETag headers (default: disabled)
24276 * $wgLegalTitleChars now includes '+' by default for better compatibility with
24277 importing data dumps from Wikipedia
24278 * $wgDefaultUserOptions now includes all default option settings instead of
24279 only overrides.
24281 == Major new features ==
24282 * ([[mediazilla:7098|7098]]) Add an option to disable/enable sending of HTTP
24283 ETag headers, as it seems to result in broken behaviour in combination with
24284 Squid 2.6 (disabled by default).
24285 * ([[mediazilla:550|550]]) Allow blocks on anonymous users only.
24286 * ([[mediazilla:6420|6420]]) Render thumbnails for DJVU images, support
24287 multipage DJVU display on image pages. Added new 'page=' thumbnail option to
24288 select a page from a multipage djvu for thumbnail generation.
24289 * Full Postgres support is now enabled. It requires version 8.1 or better, and
24290 needs to have both plpgsql and tsearch2 already installed.
24291 * ([[mediazilla:6386|6386]]) fix grammatical errors in danish naming of talk
24292 namespaces.
24294 == Changes since 1.7 ==
24296 * Introduced AjaxResponse object, superceding AjaxCachePolicy
24297 * Changes to sajax_do_call: optionally accept an element to fill instead of a
24298   callback function; take the target function or element as a third parameter;
24299   pass the full XMLHttpRequest object to the handler function, instead of just
24300   the resultText value; use HTTP response codes to report errors.
24301 * (bug 6562) Removed unmaintained ParserXml.php for now
24302 * History paging overlap bug fixed
24303 * (bug 6586) Regression in "unblocked" subtitle
24304 * Don't put empty-page message into view-source when page text is blank
24305 * (bug 6587) Remove redundant "allnonarticles" message
24306 * Block improvements: Allow blocks on anonymous users only. Optionally allow
24307   or disallow account creation from blocked IP addresses. Prevent duplicate
24308   blocks. Fixed the problem of expiry and unblocking erroneously affecting
24309   multiple blocks. Fixed confusing lack of error message when a blocked user
24310   attempts to create an account. Fixed inefficiency of Special:Ipblocklist in
24311   the presence of large numbers of blocks; added indexes and implemented an
24312   indexed pager.
24313 * (bug 6448) Allow filtering of Special:Newpages according to username
24314 * (bug 6618) Improve permissions/error detection in Special:Lockdb
24315 * Quick hack for extension testing: parser test doesn't create new message
24316   cache object.
24317 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
24318   {{REVISIONID}} when Cite extension is used
24319 * (bug 6622) Removed deprecated function Image::newFromTitle
24320 * (bug 6627) Fix regression in Special:Ipblocklist with table prefix
24321 * Removed forced dereferencements (new() returns a reference in PHP5)
24322 * Note about $wgUploadSizeWarning using byte
24323 * (bug 6592) Add most viewed pages summary to Special:Statistics
24324 * Pre-strip characters ignored in IDNs from URLs so they can't be used
24325   to break the blacklists for regular URLs
24326 * Fix regression in blocking of user accounts
24327 * (bug 6635) Fix regression searching for range blocks on Ipblocklist
24328 * Fix regression searching Ipblocklist with ugly URLs
24329 * (bug 6639) Use a consistent default for upload directories
24330 * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
24331 * (bug 6642) Don't offer to unlock the database when it isn't locked
24332 * cleanupTitles.php changed from --dry-run option to --fix, so default
24333   behavior is now a non-invasive check as with namespaceDupes.php
24334 * (bug 6660) Fix behavior of EditPage::blockedPage() when the article does
24335   not exist; now doesn't show the source box if the user hasn't provided it
24336   (blocked mid-edit) and the page doesn't exist
24337 * Improve default value of "blockedtext"
24338 * (bug 6680) Added localisation for Dutch bookstore list (nl)
24339 * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer
24340   usage
24341 * Fix regression which allowed some blocked users to create additional accounts
24342 * (bug 6657) Fix Hungarian linktrail
24343 * (bug 6751) Fix preview of blanked section with edit on first preview option
24344 * (bug 5456) Separate MediaWiki:Search into messages for both noun and verb,
24345   introduced 'MediaWiki:Searchbutton'
24346 * Made lines from initialiseMessages() appear as list items during installation
24347 * Moved the bulk of the localisation data from the Language*.php files to the
24348   Messages*.php files. Deleted most of the Languages*.php files.
24349 * Introduced "stub global" framework to provide deferred initialisation of core
24350   modules.
24351 * Removed placeholder values for $wgTitle and $wgArticle, these variables will
24352   now be null during the initialisation process, until they are set by index.php
24353   or another entry point.
24354 * Added DBA cache type, for BDB-style caches.
24355 * Removed custom date format functions, replacing them with a format string in
24356   the style of PHP's date(). Used string identifiers instead of integer
24357   identifiers, in both the language files and user preferences. Migration should
24358   be transparent in most cases.
24359 * Simplified the initialisation API for LoadBalancer objects.
24360 * Removed the broken altencoding feature.
24361 * Moved default user options and toggles from Language to User. Language objects
24362   are still able to define default preference overrides and extra user toggles,
24363   via a slightly different interface.
24364 * Don't include the date option in the parser cache rendering hash unless
24365   $wgUseDynamicDates is enabled.
24366 * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php.
24367 * Removed inclusion of language files from the bottom of Language.php. This is
24368   now consistently done from Language::factory().
24369 * Add the name of the executing maintenance script to the debug log. Start the
24370   profiler during maintenance scripts.
24371 * Added "serialized" directory, for storing precompiled data in serialized form.
24372 * Fix regression in auto-set NS_PROJECT_TALK namespace
24373 * Fix regression in ordering of namespaces
24374 * (bug 6806, 6030) Added several global JS variables for article path, user
24375   name, page title, etc.
24376 * hooks registered with addOnloadHook are now called at the one of the html body
24377   by all skins.
24378 * Split ajax aided search from core ajax framework. Use wgUseAjax to enable the
24379   framework and wgAjaxSearch to enable the suggest feature for the search box.
24380 * Added experimental installer for extensions.
24381   See maintenance/installExtension.php
24382 * Added Tajic (tg) language file.
24383 * (bug 6903) Added Cantonese localisation (zh-yue)
24384 * Fix regression in Korean and Japanese date formatting (day of week)
24385 * (bug 6919) Add English alias magic words for Tatar (tt) language file.
24386 * (bug 6753) Fixed broken Kazakh linktrail (kk)
24387 * (bug 6700) Added Kazakh language variants to Names.php
24388 * (bug 6827) some i18n specific maintenance scripts fails after merge of
24389   localisation-work branch
24390 * Throwed an exception for the deprecated functions OutputPage::sysopRequired
24391   and OutputPage::developerRequired - use OutputPage::permissionRequired
24392   instead.
24393 * Removed the deprecated functions User::isSysop, User::isBureaucrat and
24394   User::isDeveloper - use User::isAllowed instead.
24395 * (bug 769) OutputPage::permissionRequired() should suggest groups with the
24396   needed permission
24397 * (bug 6971) Fix regression in Special:Export history view
24398 * Revamped Special:Imagelist
24399 * (bug 7000) updated MessagesPl.php
24400 * (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
24401 * (bug 1866) Improve navigation on Special:Listusers; user now a starting
24402   point as with Special:Allpages, rather than a pure limit.
24403 * Clean up tab order on Special:Blockip
24404 * (bug 5969) Clean up tab order on Special:Userlogin forms
24405 * (bug 3512) namespaceDupes now handles spaces and initial caps properly
24406 * (bug 7037) Fix regression in login tab order
24407 * (bug 7031) Report missing email on 'email password' instead of false success
24408 * (bug 7010) Don't send email notifications for watched talk pages when user
24409   has selected to receive only updates for their own talk page
24410 * Added {{CURRENTHOUR}}
24411 * Added [[:Image:Foo.png]] style links to the pagelinks table
24412 * Avoid duplicate revision imports with Special:Import
24413 * (bug 7054) Validate email address before sending email confirmation message
24414 * (bug 7061) Format title on "from (page)" links on Special:Allpages
24415 * (bug 7044) Introduce "padleft" and "padright" colon functions
24416 * Pass page title as parameters to "linkshere" and "nolinkshere" and update
24417   default message text
24418 * Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true;
24419   in LocalSettings.php
24420   Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops
24421   by default, and displayed as a second line if appropriate
24422 * (bug 832) Return to user page after emailing a user
24423 * (bug 366) Add local-system-timezone equivalents for date/time variables
24424 * (bug 7109) Fix Atom feed version number in header links
24425 * (bug 7075) List registered parser function hooks on Special:Version
24426 * (bug 7059) Introduce "anchorencode" colon function
24427 * Include SVN revision number in {{CURRENTVERSION}} output, where applicable
24428 * Fix bug in wfRunHooks which caused corruption of objects in the hook list
24429 * (bug 4979) Use simplified email addresses when running on Windows
24430 * (bug 4434) Show block log fragment on Special:Blockip
24431 * [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any
24432   number of disambiguation templates.
24433 * [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages
24434   that embed any of the templates listed at [[MediaWiki:Disambiguationspage]].
24435 * Fix formatting of titles on Special:Undelete
24436 * (bug 7026) Fix action=raw&templates=expand
24437 * (bug 6976) Add namespace and direction classes to classic skins
24438 * (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the user
24439   can't read the main page in the first place
24440 * (bug 7188) Fix minor borkage in HTMLForm
24441 * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in
24442   Special:Upload
24443 * Add a quickie script dumpSisterSites.php for generating a page list in the
24444   format for WSR-1 SisterSites support
24445 * (bug 7223) Monobook.js is used for site content, should not be localized
24446 * Set default disabled values for DjVu render options
24447 * Added Xml::option() for generating <option>s easily
24448 * Localized page numbers in drop-down for DjVu page selection
24449 * Fixed linktrail for vi
24450 * (bug 6893) "Call to a member function exists() on a non-object" on
24451   trackback.php with bad input
24452 * (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete
24453 * (bug 6887) PHP error for call to getId() on bad input to
24454   Special:Revisiondelete
24455 * (bug 6888) PHP error for call to getTimestamp() on bad input to
24456   Special:Revisiondelete
24457 * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required
24458   if texvc is rebuilt.
24459 * (bug 7279) Use wfBaseName in place of basename() in more places
24460 * Clear newtalk marker on diff links with explicit current revision number
24461 * (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
24462 * (bug 6777) Remove some PHP 4 compat cruft
24463 * Add --user, --comment, and --license options to importImages.php
24464 * (bug 6216) The immobile namespace message does not mention the source page
24465 * (bug 7299) Normalize username filter on Special:Newpages
24466 * (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges
24467 * (bug 7312) Don't emit SET NAMES utf8 if connection failed
24468 * (bug 7305) Proper compare for bot check on RC notify, should fix overrides
24469   that force edits by non-bot users to bot mode
24470 * Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user
24471   preferences don't get stuck in proxy caches for other people
24472 * (bug 7324) Fix error message for failure of Database::sourceFile()
24473 * (bug 7309) Plurals: use singular form for zero in French and Brazilian
24474   Portuguese
24475 * Add page_no_title_convert field to support language variant conversion
24476   for page titles which shouldn't be converted on display/linking
24477 * Lazy extraction of text chunks in Revision objects, may reduce hits to
24478   external storage when actual text content is not used
24479 * Added experimental $wgRevisionCacheExpiry to cache extracted revision text
24480   in $wgMemc, to further reduce hits to external storage.
24481   Set to 0 (disabled) by default.
24482 * Minor changes to the installer.
24483 * Remove ":" for 'youremail' and 'yourrealname' in
24484   includes/templates/Userlogin.php so that ":" could be used in i18n for
24485   Special:Preferences (like 'username' and 'uid').
24486 * Fix layout for Special:Preferences->Date and Time (position for
24487   'timezonetext').
24488 * Updates to language variant code for Serbian et al
24489 * (bug 6756) Enabling RTL direction for kk-cn
24490 * (bug 6701) Kazakh language variants in MessagesEn.php
24491 * (bug 7335) SVN revision check in Special:Version fails on SVN 1.4 working copy
24492 * (bug 6518) Replaced 'lastmodified' with 'lastmodifiedat' and 'lastmodifiedby'
24493   with 'lastmodifiedatby' with separated parameters for date and time to allow
24494   better localisation. Updated all message files to display the old format for
24495   compatibility.
24496 * (bug 7357) Make supposedly static methods of Skin actually static
24497 * Added info text to Special:Deadendpages and Special:Lonelypages
24498 * Fix regression in cachability of generated CSS and JS for MonoBook skin,
24499   while avoiding clobbering of different users' cached data
24500 * (bug 6849) Block @ from usernames; interferes with multi-database tools and
24501   was meant to be banned years ago... For now existing accounts will not be
24502   prevented fromm login.
24503 * (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2},
24504   {{REVISIONMONTH}}, {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}}
24505 * (bug 7425) Preceeding whitespace in [[...]] breaks subpages
24506 * Try to reconnect after transitory database errors in dumpTextPass.php
24507 * (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now
24508   notification mails are working after 'Mark all pages visited' button on
24509   Special:Watchlist is clicked
24510 * Made {{INT:}} a core parser function instead of a special case. The syntax
24511   and behavior is largely unchanged.
24512 * (bug 7448) Fixing the native name for Ewe (ee)
24513 * (bug 6864) Replace message 'editing' with new message 'editinguser' in
24514   Special:Userrights to allow better localisation
24515 * Add '*-summary' for special pages to MessagesEn.php to allow
24516   customizing/translation directly through Special:Allmessages
24517 * (bug 6130, bug 5818) Replaced message 'go'  with the new message
24518   'searcharticle' in skins to allow better localisation
24519 * Add + to $wgLegalTitleChars by default. Some sites may have occasional
24520   problems with hard-to-reach pages, but it should be less trouble than
24521   "I can't import dumps from Wikipedia" complaints
24522 * (bug 7460) Revert broken patch for bug 7226 which slows down
24523   Special:Allmessages by a factor of 16
24524 * Committed a bunch of live hacks from Wikimedia servers
24525 * (bug 6889) PHP notices in thumb.php with missing params
24526 * Cleaner error behavior on thumb.php with invalid page selection
24527 * (bug 6617) Validate timestamps on Special:Undelete
24528 * Do fewer unnecessary full writes of user rows; only update user_touched
24529   for watch/unwatch, group membership change, and login operations
24530 * Restructured the languages directory, to avoid problems when people
24531   untar MW 1.8 over the top of a 1.7 installation.
24532 * (bug 6890) SQL query error on bad input to Pager lists
24533   due to negative LIMIT clause, caused by integer wraparound.
24534 * Fixed various bugs related to table prefixes, especially the interaction
24535   between table prefixes and memcached, which was formerly completely broken.
24536 * (bug 7004) PHP iconv() notice on bad password input to Special:Userlogin.
24537 * (bug 6826) Extend pre-save transform context link ("pipe trick")
24538   syntax to pages with commas in title
24539 * Use ImageMagick -thumbnail option instead of -resize to avoid including
24540   excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
24541 * (bug 7499) Corrections to Swedish talk namespace names
24542 * (bug 7508) Added option to compress HTML pages by dumpHTML.php
24543 * (bug 7519) Add plural in SpecialWatchlist
24544 * (bug 7459) Magic word variables are always case sensitive
24545 * Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files
24546 * Fix regression in Special:Watchlist text header
24547 * (bug 7510) Update article counts etc on undelete
24548 * (bug 7520) Update article counts on XML import
24549 * (bug 7526) Make $wgDefaultUserOptions work again
24550 * (bug 7472) Localize Help namespace for Basque
24551 * (bug 7529) Including a non-existent category in an article places that article
24552   in the category
24553 * (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
24554 * (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner,
24555   twoheadrightarrow, twoheadleftarrow
24556 * (bug 7367) Hyphens sometimes erroneously appended to equations when not
24557   converted to PNG
24558 * Add "title" to the opensearch link to allow automatic adding of the search
24559   engine in Firefox 2
24560 * (bug 7537) Add php5 to $wgFileBlacklist
24561 * (bug 6929) Restore AutoAuthenticate hook
24563 == Languages updated ==
24564 * Albanian (sq)
24565 * Bashkir (ba)
24566 * Bavarian (bar) stub file
24567 * Belarusian (be)
24568 * Bishnupriya (bpy) stub file
24569 * Brazilian Portuguese (pt-br)
24570 * Cantonese (zh-yue)
24571 * Catalan (ca)
24572 * Czech (cs)
24573 * Dutch (nl)
24574 * English (en)
24575 * Finnish (fi)
24576 * French (fr)
24577 * Georgian (ka)
24578 * German (de)
24579 * Hebrew (he)
24580 * Hungarian (hu)
24581 * Indonesian (id)
24582 * Japanese (ja)
24583 * Korean (ko)
24584 * Latin (la)
24585 * Lojban (jbo)
24586 * Macedonian (mk)
24587 * Mazandarani (mzn)
24588 * Polish (pl)
24589 * Portuguese (pt)
24590 * Ripuarian (ksh)
24591 * Romani (rmy)
24592 * Russian (ru)
24593 * Slovak (sk)
24594 * Spanish (es)
24595 * Tajic (tg)
24596 * Tatar (tt)
24597 * Telugu (te)
24598 * Uzbek (uz)
24599 * Yiddish (yi)
24601 == Compatibility ==
24602 MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
24604 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At
24605 this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
24607 == Upgrading ==
24608 Some minor database changes have been made since 1.7:
24609 * new fields and indexes on ipblocks
24610 * index change on recentchanges
24612 Several changes from 1.5 and 1.6 do require updates to be run on upgrade. To
24613 ensure that these tables are filled with data, run refreshLinks.php after the
24614 upgrade.
24616 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
24617 changes are made, and there is a slightly higher chance that things could
24618 break. Don't forget to always back up your database before upgrading!
24620 === Caveats ===
24621 Some output, particularly involving user-supplied inline HTML, may not produce
24622 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
24623 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
24624 recommended on live sites. (This must be set for MathML to display properly in
24625 Mozilla.)
24627 = MediaWiki 1.7=
24629 == MediaWiki 1.7.3 ==
24631 February 20, 2007
24633 This is a security and bug-fix update to the Summer 2006 quarterly release.
24635 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
24636 charset autodetection was located in the AJAX support module, affecting MSIE
24637 users on MediaWiki 1.6.x and up when the optional setting
24638 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
24640 If you are using an extension based on the optional Ajax module, either disable
24641 it or upgrade to a version containing the fix:
24643 * 1.9: fixed in 1.9.3
24644 * 1.8: fixed in 1.8.4
24645 * 1.7: fixed in 1.7.3
24646 * 1.6: fixed in 1.6.10
24648 There is no known danger in the default configuration, with
24649 [[Manual:$wgUseAjax|$wgUseAjax]] off.
24651 * Add 'charset' to Content-Type headers on various HTTP error responses to
24652 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
24653 default when the script didn't specify more details, which some inconsiderate
24654 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
24655 This fixes an issue with the Ajax interface error message on MSIE when
24656 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
24657 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
24658 from BugSec: http://www.bugsec.com/articles.php?Security=24
24659 * Trackback responses now specify XML content type
24661 == MediaWiki 1.7.2 ==
24663 January 9, 2007
24665 * Note about $wgUploadSizeWarning using byte
24666 * Update to German bookstore list (de)
24667 * (bug [[bugzilla:6680|6680]]) Added localisation for Dutch bookstore list (nl)
24668 * (bug [[bugzilla:6708|6708]]) Minor updates to Russian translation (ru)
24669 * (bug [[bugzilla:6730|6730]]) Clearer usage of message 'titlematch' in German
24670 translation (de)
24671 * Added direction mark to Special:Listredirects
24672 * XSS fix in AJAX module
24674 An XSS injection vulnerability was located in the AJAX support module,
24675 affecting MediaWiki 1.6.x and up when the optional setting
24676 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
24678 There is no danger in the default configuration, with
24679 [[Manual:$wgUseAjax|$wgUseAjax]] off.
24681 If you are using an extension based on the optional AJAX module, either disable
24682 it or upgrade to a version containing the fix:
24684 * 1.9: fixed in 1.9.0rc2
24685 * 1.8: fixed in 1.8.3
24686 * 1.7: fixed in 1.7.2
24687 * 1.6: fixed in 1.6.9
24690 == MediaWiki 1.7.1 ==
24692 July 8, 2006
24694 MediaWiki 1.7.1 is a security and bugfix maintenance release of the Summer 2006
24695 snapshot:
24697 A potential HTML/JavaScript-injection vulnerability in a debugging script has
24698 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
24699 overwrite vulnerability are affected.
24701 As a workaround for existing installs, profileinfo.php may simply be deleted if
24702 it's not being used.
24704 * Fix for 'emailconfirmed' implicit user group
24705 * Fix for upgrades on some versions of MySQL 4.0.x
24706 * Fixed potential XSS in profileinfo.php
24707 * Installer now shows clear error message about old PHP versions rather than a
24708 confusing parse error
24710 == MediaWiki 1.7.0 ==
24711 July 6, 2006
24713 This is the quarterly release snapshot for Summer 2006. While the code
24714 has been running on Wikipedia for some time, installation and upgrade
24715 bits may be less well tested. Bug fix releases may follow in the coming
24716 days or weeks.
24718 MediaWiki is now using a "[[w:en:Continuous_integration|continuous
24719 integration]]" development model with
24720 quarterly snapshot releases. The latest development code is always kept
24721 "ready to run", and in fact runs our own sites on Wikipedia.
24723 Release branches will continue to receive security updates for about a year
24724 from first release, but nonessential bugfixes and feature development happen
24725 will be made on the development trunk and appear in the next quarterly release.
24727 Those wishing to use the latest code instead of a branch release can obtain
24728 it from source control: [[Download from SVN]]
24730 == Changes since 1.6 ==
24732 * (bug 5458) Fix double-URL encoding in block log link in contribs and contribs
24733   link in block log
24734 * (bug 5462) Bogus missing patch warning in updater
24735 * (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked
24736 * PHP warning when allow_call_time_pass_reference is off
24737 * Update to Finnish localization
24738 * (bug 5467) Link to page histories in watchlist edit mode
24739 * Further additions to Hebrew localisation
24740 * (bug 5476) Invalid xhtml in German localization
24741 * (bug 5479) Id translation for preferences tabs caption
24742 * (bug 5493) Id translation for special pages
24743 * Added skinname and style path parameters to CBT version of MonoBook
24744 * Include subversion revision number in Special:Version if available
24745 * (bug 5344) Fix regression that broke slashes in extension tag parameters
24746 * Improve Special:Log performance on big log sets
24747 * (bug 5507) Changed mediawiki:logouttext from plain to wikitext
24748 * (bug 4760) Prevent creation of entries in protection log when protection
24749   levels haven't changed
24750 * (bug 861) Show page protection/unprotection events in histories
24751 * (bug 5499) Don't clear the tag strip state when asked not to clear state.
24752   Fixes regression with use of <ref> in a template breaking <nowiki> etc.
24753 * Minor improvements to English language files
24754 * Display the anon talk page info message on anon talk pages again
24755   (moved outside the parser cache)
24756 * Optional {{DISPLAYTITLE|title with markup}} magic word
24757   Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php
24758   to activate
24759 * Cleaned SpecialContributions a bit
24760 * Added a table to track interlanguage links
24761 * (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left
24762   languages
24763 * Replace "doubleredirectsarrow" with a content language check that picks the
24764   appropriate arrow
24765 * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits
24766   Lithuanian (lt)
24767 * Don't force edit summaries when a user is editing their own user/talk page
24768 * (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
24769 * (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
24770 * PersistentObject removed; it doesn't do anything and was broken besides.
24771   All extensions using it have been corrected.
24772 * Propagate ISBN number for Booksources in LanguageNo.php
24773 * (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
24774 * Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms
24775   for all) magic words
24776 * (bug 5403) Fix Special:Newpages RSS/Atom feeds
24777 * Reject malformed addresses in X-Forwarded-For entries
24778 * (bug 3359) Add hooks on completion of file upload
24779 * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
24780 * (bug 5475) New pages feeds ignore "limit" argument
24781 * (bug 5184) CSS misapplied to elements in Special:Allmessages due to
24782   conflicting anchor identifiers
24783 * (bug 5519) Allow sidebar cache to be disabled; disable it by default.
24784 * Maintenance script to import the contents of a text file into a wiki page
24785 * Add $wgReservedUsernames configuration directive to block account creation/use
24786 * (bug 5576) Remove debugging hack in session check
24787 * (bug 5426) Lowercase treatment of titles in rights log leads to broken links
24788   on Special:Log
24789 * Minor improvements to French localisation files
24790 * (bug 5181) Update "nogomatch" for Slovak
24791 * (bug 5594) Id translation up to # Login and logout pages section
24792 * (bug 5536) Use content language for editing help link
24793 * Improvements to German localisation files
24794 * (bug 5570) Problems using <special page>/parameter link form for long titles
24795 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
24796   registrations as well as self-registrations.
24797 * (bug 4327) Report age of cached data sets in query pages
24798 * (bug 4662) Fix Safari check in wikibits.js
24799 * (bug 4663) Edit toolbar enabled in compatible versions of Safari
24800 * (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
24801 * (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
24802 * Edit toolbar now works in pure XHTML mode (application/xhtml+xml)
24803 * Add watchlist clear function to allow quick purging of all items
24804 * (bug 5625) Additional namespace translations for Welsh
24805 * Add meta tag and JavaScript variables to cached special pages which provides
24806   the timestamp of the last update, in YYYYMMDDHHMMSS format.
24807 * (bug 5628) More translations for MessagesHr.php
24808 * (bug 5595) Localisation for Bosnian language (bs)
24809 * (bug 2910) Default view preferences for watchlists
24810 * Add "hide bot edits from the watchlist" user preference
24811 * (bug 5250) Introduce Special:Unusedtemplates
24812 * Add user preference setting for an extended watchlist, showing all recent
24813   edits up to a certain edit, and not just the latest edit.
24814 * Made MessageRo.php more general
24815 * (bug 5640) Indonesian localisation improvements
24816 * (bug 5592) Actions are logged with the default language for the
24817    wiki, not the language of the user performing the operation.
24818 * (bug 5644) Error in LanguageBs.php file
24819 * (bug 5646) Compare for identical types in wfElement()
24820 * (bug 5472) Language::userAdjust()->minDiff not initialized on else condition
24821 * (bug 5386) LanguageMk.php: updated namespaces translations
24822 * (bug 5422) Stub for Romani (rmy) language which extends ro
24823 * Fix linktrail for LanguageSr
24824 * (bug 5664) Fix Bosnian linktrail
24825 * (bug 3825) Namespace filtering on Special:Newpages
24826 * (bug 1922) When Special:Wantedpages is cached, mark links to pages
24827   which have since been created
24828 * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
24829   This sort of special casing should be removed and fixed properly.
24830 * Remove useless whitespace from Special:Brokenredirects header
24831 * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default
24832   text
24833 * (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
24834 * (bug 5709) Allow customisation of separator for categories
24835 * (bug 5684) Introduce Special:Randomredirect
24836 * (bug 5611) Add a name attribute to the text box containing source text in
24837   read-only pages
24838 * Indicate when a protected page is an interface message ("protectedinterface")
24839 * (bug 4259) Indicate when a protected page being edited is an interface message
24840   ("editinginterface")
24841 * (bug 4834) Fix XHTML output when using $wgMaxTocLevel
24842 * Pass login link to "whitelistedittext" containing 'returnto' parameter
24843 * (bug 5728): mVersion missing from User::__sleep() leading to constant cache
24844   miss
24845 * Updated maintenance/transstat.php so it can show duplicate messages
24846 * Improvements to update scripts; print out the version, check for superuser
24847   credentials before attempting a connection, and produce a friendlier error if
24848   the connection fails
24849 * (bug 5005) Fix XHTML <gallery> output.
24850 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
24851 * (bug 4825) note in DefaultSettings.php about 'profiling' table creation
24852 * Remove unneeded extra whitespace at top of Special:Categories
24853 * (bug 5679) time units are now using local numerals
24854 * (bug 5751) Updates to Portuguese localisation files
24855 * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
24856 * (bug 93) <nowiki> tags and tildes in templates
24857 * The returnto parameter is now actually used by SpecialUserlogin.php
24858 * Parser can now know that it is parsing an interface message
24859 * (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
24860 * Fix bug in wfMsgExt under PHP 5.1.2
24861 * (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
24862 * Rewrite reassignEdits script to be more efficient; support optional updates to
24863   recent changes table; add reporting and silent modes
24864 * Cleaned up formatNum usage in langfiles
24865 * (bug 5716) Warn when a user tries to upload a file which was previously
24866   deleted
24867 * (bug 5565) Add a class attribute to the table on Special:Allpages
24868 * "lang=xx" option for parser test cases to set content language
24869 * (bug 5764) Friulian translation updated
24870 * (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
24871 * (bug 5516) Show appropriate "return to" link on blocked page
24872 * (bug 5377) Do not auto-login when creating an account as another user
24873 * (bug 5284) Special redirect pages should remember parameters
24874 * Suppress 7za output on dumpBackup
24875 * (bug 5338) Reject extra initial colons in title
24876 * (bug 5487) Escape self-closed HTML pair tags
24877 * Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}}
24878   will produce a count minus formatting
24879 * Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an
24880   appropriate output format given the scope of the clean
24881 * (bug 5593) Change "bureaucrat log" to "rights log"
24882 * Show a boilerplate "(none)" in place of a blank within the log action text for
24883   user rights
24884 * (bug 137) Commented out translations for copyrightwarning which mention GNU
24885   FDL
24886 * (bug 5723) Don't count pages linked to from the MediaWiki namespace as
24887   "wanted"
24888 * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time
24889   formatted according to the current user's settings
24890 * (bug 5780) Thousands and decimal separators for Norwegian
24891 * Updated initStats maintenance script
24892 * (bug 5767) Fix date formats in Vietnamese locale
24893 * (bug 361) URL in URL, they were almost fixed. Now they are.
24894 * (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section"
24895   link/tab to show up on specific pages on demand
24896 * Bidi-aid on list pages
24897 * (bug 5782) Allow entries in the bad image list to use canonical namespace
24898   names
24899 * (bug 5789) Treat "loginreqpagetext" as wikitext
24900 * Sanitizer: now handles nested <li> in <ul> or <ol>
24901 * (bug 5796) We require MySQL >=4.0.14
24902 * Add 'EmailConfirmed' hook
24903 * New findhooks.php script to find undocumented hooks.
24904 * Silently ignore errors on profiling table update.
24905 * (bug 5801) Correct handling of underscores in Special:Listusers
24906 * Clean up Special:Listusers; add an "(all)" label to the group selection box
24907 * (bug 5812) Use appropriate link colour in Special:Mostlinked
24908 * (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale
24909 * (bug 5817) Appropriate handling for Special:Recentchangeslinked where the
24910   target page doesn't exist
24911 * Special:Randompage now additionally accepts English namespace name as
24912   parameter
24913 * (bug 2981) Really fixed linktrail for Tamil (ta)
24914 * Disallow substituting Special pages when included into a page
24915 * (bug 5587) Clean up the languages from references to the Groups special page
24916 * Added new group-X and group-X-member messages
24917 * Rewritten removeUnusedAccounts to be more efficient, print names of inactive
24918   accounts
24919 * Redirect Special:Userlist to Special:Listusers
24920 * Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded
24921   files bearing the image/svg MIME type. Disabled by default due to the vast
24922   majority of web servers being hideously misconfigured. See DefaultSettings.php
24923   for more details.
24924 * Changed default LocalSettings.php to append the previous include path when
24925   setting it
24926 * (bug 5837) Use "members" for the value descriptor in Special:Categories,
24927   Special:Wantedcategories and Special:Mostlinkedcategories.
24928 * (bug 3309) Allow comments when undeleting pages
24929 * Clean up Special:Undelete a bit
24930 * (bug 5805) messages nbytes, ncategories can now use {{plural:}}
24931 * Clean up Special:Imagelist a bit
24932 * (bug 5838) Namespace names for Nds-NL
24933 * (bug 5749) Added Tyvan language files
24934 * (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect
24935   data to show
24936 * (bug 5839) Prevent access to Special:Confirmemail for logged-out users
24937 * (bug 5853) Update for Portuguese messages (pt)
24938 * (bug 5851) Use Cyrillic for Kirghiz language name
24939 * (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message
24940 * (bug 5846) Link to individual group description pages in Special:Listusers
24941 * (bug 5857) Update for German localisation (de)
24942 * (bug 5858) Update for Russian language (ru)
24943 * (bug 5860) Update for Indonesian language (id)
24944 * (bug 1120) Update for Czech language (Cs)
24945 * Added many missing formatNum calls
24946 * Added grammar function to Belarusian (be)
24947 * (bug 5819) Add 'PersonalUrls' hook
24948 * (bug 5862) Update of Belarusian language (be)
24949 * (bug 5886) Update for Portuguese messages (pt)
24950 * (bug 5586) <gallery> treated text as links
24951 * (bug 5878) Update for Indonesian language (id)
24952 * (bug 5697) Update for Malay language (ms)
24953 * (bug 5890) Update for German language (de)
24954 * (bug 5889) Name for Sindhi language should appear as سنڌي
24955 * --force-normal parameter on dump scripts to force check for ICU extension
24956 * (bug 5895) Update for Dutch language (nl)
24957 * (bug 5891) Linktrail for Polish language (pl)
24958 * User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in
24959   v1.6 now die with a backtrace. They will be removed in v1.8
24960 * dumpTextPass now skips goes to database for entries that were blank in the
24961   previous dump, as this may indicate a broken dump.
24962 * dumpTextPass progress includes percentage of items prefetched
24963 * dumpTextPass can now use 7zip files for prefetch
24964 * (bug 5915) Update to Indonesian localisation (id)
24965 * (bug 5913) Update for German localisation (de)
24966 * (bug 5905) Plural support for Bosnian localisation (bs)
24967 * Groups which won't hit the rate limiter now configurable with
24968   $wgRateLimitsExcludedGroups
24969 * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages
24970 * (bug 5931) Update for Polish language (pl)
24971 * Ignore the user and user talk namespaces on Special:Wantedpages
24972 * Introduce NUMBEROFPAGES magic word
24973 * (bug 5833) Introduce CURRENTVERSION magic word
24974 * (bug 5370) Allow throttling of password reminder requests with the rate
24975   limiter
24976 * (bug 5683) Respect parser output marked as uncacheable when saving
24977 * (bug 5918) Links autonumbering now work for all defined protocols
24978 * (bug 5935) Improvement to German localisation (de)
24979 * (bug 5937) Register links from gallery captions with the parent parser output
24980   object so that link tables receive those updates too
24981 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
24982 * (bug 5941) Use content language when getting the administrator page title for
24983   Special:Statistics
24984 * (bug 5949) Update to Indonesian localisation (id)
24985 * (bug 5862) Update of Belarusian translation (be)
24986 * (bug 5950) Improvements to French localisation
24987 * (bug 5805) {{plural:}} support for counters in some special pages
24988 * (bug 5952) Improvement to German localisation (de)
24989 * Rename conflicting metadata help message to "metadata_help" (was "metadata")
24990   and treat it as wiki text
24991 * Improve preferences input filtering
24992 * Maintenance script to import multiple files into the wiki
24993 * (bug 5957) Update for Hebrew language (he)
24994 * (bug 5962) Update for Italian language (it)
24995 * (bug 5961) Update for Portuguese localisation (pt)
24996 * (bug 5849) Remove some hard-coded references to "Wikipedia" in messages
24997 * (bug 5967) Improvement to German localisation (de)
24998 * (bug 5962) Update for Italian language (it)
24999 * Suppress images in galleries which appear on the bad image list (when
25000   rendering for a wiki page; galleries in special pages and categories are
25001   unaffected)
25002 * Maintenance script to remove orphaned revisions from the database
25003 * (bug 5991) Update for Russian language (ru)
25004 * (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL
25005   magic words
25006 * (bug 5958) Switch Uzbek language name to use latin script
25007 * (bug 839) Add URLENCODE magic word
25008 * (bug 6004) Update for Polish language (pl)
25009 * (bug 5971) Improvement to German localisation (de)
25010 * (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect
25011   page that isn't current
25012 * (bug 2203) Namespace updates for Thai
25013 * Fix breakage in parser test suite which caused incorrect reporting of the
25014   failure of {{NUMBEROFFILES}}. Now initialises the site_stats table with some
25015   dumb data. Updated the expected output for {{NUMBEROFARTICLES}} to reflect
25016   this.
25017 * (bug 6009) Use {{ns:project}} in messages where appropriate
25018 * (bug 6012) Update to Indonesian localisation (id)
25019 * (bug 6017) Update list of bookstores in German localisation files
25020 * (bug 5187) Allow programmatically bypassing username validation, for scripts
25021 * (bug 6025) SpecialImport: wrong message when no file selected
25022 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
25023 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
25024 * (bug 2015) Add "\sim" to ~ conversion for HTML rendering
25025 * (bug 6029) Improvement to German localisation (de)
25026 * (bug 5015) Update be: magic words
25027 * (bug 3974) Add parameter for site URL to "passwordremindertext"
25028 * (bug 6039) Update for Portuguese localisation (pt)
25029 * (bug 764) Add CREATE TEMPORARY TABLES to default database permissions
25030 * Big update to Swedish localisation (sv)
25031 * Use appropriate HTML functions to create the tool links on image pages, so
25032   they don't look garbled when tidy isn't on
25033 * (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist
25034 * (bug 6046) Update to Indonesian localisation (id) #15
25035 * (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in
25036   specially-selected namespaces.
25037 * (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick
25038   Jenkins)
25039 * Reordered wiki table handling and __TOC__ extraction in the parser to better
25040   handle some overlapping tag cases.
25041 * Only the first __TOC__ is now turned into a TOC
25042 * (bug 4610) Indicate patrolled status on watchlists and allow users to mark
25043   changes as patrolled using the diff links there
25044 * Add 'DiffViewHeader' hook called before diff page output
25045 * (bug 6051) Improvement to German localisation (de)
25046 * (bug 6054) Update to Indonesian localisation (id) #16
25047 * Add {{CURRENTTIMESTAMP}} magic word
25048 * (bug 6061) Improper escaping in some html forms
25049 * (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics.
25050 * (bug 6074) Correct squid purging of offsite upload URLs
25051 * To simplify the lives of extension developers, the logging type arrays
25052   can now be appended to directly by an extension setup function. It is
25053   no longer necessary to write four separate functions just to add a
25054   custom log type.
25055 * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages)
25056 * Added $wgGrammarForms global
25057 * Fixed hardcoded 'done.' when removing watchlist entries.
25058 * (bug 5962) Update for Italian language (it)
25059 * (bug 6086) Remove vestigial attempt to call Article::validate()
25060 * wfHostname() function for consistent server hostname use in debug messages
25061 * Send thumbnailing error messages to 'thumbnail' log group
25062 * wfShellexec() now accepts an optional parameter to receive the exit code
25063 * Failed, but not zero-length, thumbnail renderings are now removed.
25064   Should help clean up when rsvg fails in weird ways.
25065 * (bug 6081) Change description for Turkmen language
25066 * Increase robustness of parser placeholders; fixes some glitches when
25067   adjacent to identifier-ish constructs such as URLs.
25068 * Shut up the parser test whining about files in a temp directory.
25069 * (bug 6098) Add Aragonese language support (an)
25070 * (bug 6101) Update for Russian language (ru)
25071 * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering
25072   problems. If errors are transitory, this should reduce annoying messages
25073   making it into cached display.
25074 * (bug 6103) Wrap self-links in a CSS class ("selflink")
25075 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
25076   character entities in URLs, not just ampersands. This allows use of eg
25077   &#61; when making URLs for template parameters.
25078 * Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
25079   under HTML-compatible browsers.
25080 * (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage
25081 * Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
25082 * (bug 472) Syndication feeds for the last few edits of page history
25083 * Format edit comments in Recent Changes feed
25084 * Switch incorrectly ordered column headers on Recent Changes feed diffs
25085 * (bug 6117) Use message for history feed description, add German localization
25086 * (bug 1017) fixed thumbnails of animated gifs.
25087 * Add APC as object caching option
25088 * Update to Albanian localization (sq)
25089 * (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an
25090   alias)
25091 * Use optimized php5-only microtime()
25092 * Add possibility to store local message cache as PHP executable script
25093 * Fix profiling table definition
25094 * (bug 6040) Run pre-save transform before calculating the diff. when doing a
25095   "show changes" operation in the editor
25096 * (bug 4033) Respect $wgStyleDirectory when checking available skins
25097 * Remove hideous backslashes from MessagesBr.php
25098 * Fix APC object cache issues, add functionality to installer
25099 * (bug 6133) Update strip state as we work. This mostly fixes extensions
25100   used in Cite.php <ref> tags when Tidy is on.
25101 * (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
25102 * (bug 6136) Update to Catalan language (ca)
25103 * Update to Japanese localization (ja)
25104 * Add /usr/local/bin to the diff3 search paths in the installer
25105 * (bug 6106) Update to Indonesian localisation (id) #17
25106 * (bug 6125) Add links to edit old versions to diff views
25107 * (bug 5127) Auto edit summary when creating/editing redirect page
25108 * (bug 3926) Introduce {{#language:}} magic word
25109 * Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles
25110 * (bug 6126) Allow fallback to customized primary language when user language
25111   message contains '-'; fixes licenses selector on Commons configuration after
25112   recent addition of the message to Messages.php
25113 * (bug 5527) Batch up job queue insertions for, hopefully, better survivability
25114   of lock contention etc. Duplicates are now removed at pop time instead of
25115   at insert time.
25116 * When showing the "blah has been undeleted" page, make sure it's a blue link
25117 * parserTests.php accepts a --file parameter to run an alternate test sutie
25118 * parser tests can now test extensions using !!hooks sections
25119 * Fix oddity with open tag parameters getting stuck on </li>
25120 * (bug 5384) Fix <!-- comments --> in <ref> extension
25121 * Nesting of different tag extensions and comments should now work more
25122   consistently and more safely. A cleaner, one-pass tag strip lets the
25123   'outer' tag either take source (<nowiki>-style) or pass it down to
25124   further parsing (<ref>-style). There should no longer be surprise
25125   expansion of foreign extensions inside HTML output, or differences
25126   in behavior based on the order tags are loaded.
25127 * (bug 885) Pre-save transform no longer silently appends close tags
25128 * Pre-save transform no longer changes the case of close tags
25129 * (bug 6164) Fix regression with <gallery> resetting <ref> state
25130 * Hackaround for IE 7 wrapping bug in MonoBook footer
25131 * New message sp-newimages-showfrom replaces rclistfrom on special:newimages
25132 * Improve handling of ;: definition list construct with overlapping or
25133   nested HTML tags
25134 * (bug 6171) Fix sanitizing of HTML-elements with an optional closing
25135   tag. The sanitizer still needs to learn how to make well-formed XML
25136   in this case.
25137 * Fix fatal error when specifying illegal name for manual thumbnail
25138 * (bug 6184) Use shinier Linker::userLink() to make user links in
25139   Special:Undelete
25140 * (bug 6170) Update for Kashubian translation (csb)
25141 * (bug 6191) Update to Indonesian translation (id) #18
25142 * (bug 6114) Update to Walloon localization (wa)
25143 * Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a
25144   per-namespace basis.
25145 * Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being
25146   interspersed into your ordered lists.
25147 * (bug 5021) Transcluding the same special page twice now works
25148 * Add 'SiteNoticeBefore' and 'SiteNoticeAfter' hooks
25149 * (bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time
25150   preferences
25151 * (bug 2587) Fix for section editing with comment prefix
25152 * (bug 2607) Fix for section editing with mix of wiki and HTML headings
25153 * (bug 3342) Fix for section editing with headings wrapped in <noinclude>
25154 * (bug 3476) Fix for section editing with faux headings in extensions
25155 * (bug 5272) Fix for section editing with HTML-heading subsections
25156 * Fix for bogus wiki headings improperly detected with following text
25157 * Fix for HTML headings improperly not detected with preceding/following text
25158 * Section extraction and replacement functions merged into one implementation
25159   on the Parser object, so they can't get out of sync with each other.
25160 * Edit security precautions in raw HTML mode, etc
25161 * (bug 6197) Update to Indonesian translation (id) #19
25162 * (bug 6175) Improvement to German translation (de)
25163 * Redirect Special:Logs to Special:Log
25164 * (bug 6206) Linktrail for Swedish localization (se)
25165 * (bug 3202) Attributes now allowed on <pre> tags
25166 * Sanitizer::validateTagAttributes now available to discard illegal/unsafe
25167   attribute values from an array.
25168 * (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
25169   to <div class="center">. <center> is perfectly valid in the target doctype
25170   (XHTML 1.0 Transitional), while the replacement didn't catch all cases and
25171   could even result in invalid output from valid input.
25172 * (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
25173   meta robots tag on diff view and special pages. Should reduce impact of
25174   robots on scrolling special pages, diffs etc on sites where robots.txt
25175   doesn't forbid access.
25176 * Regression fix: suppress warning about session failure when clicking to
25177   edit with 'preview on first edit' enabled.
25178 * (bug 6230) Regression fix: <nowiki> in [URL link text]
25179 * Added AutoLoader.php, which loads classes without need of require_once()
25180 * (bug 5981) Add plural function Slovenian (sl)
25181 * (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
25182 * {{PLURAL}} can now take up to five forms
25183 * (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
25184 * Remove a number of needless {{ns:project}}-type transforms from messages
25185   files. These usages already have separate label text. Such transforms are
25186   wasteful on each page view.
25187 * Update to Yiddish localization (yi)
25188 * (bug 6254) Update to Indonesian translation (id) #20
25189 * (bug 6255) Fix transclusions starting with "#" or "*" in HTML attributes
25190 * Whitespace now normalized more or less properly in HTML attributes
25191 * Fix regression(?) in behavior of initial-whitespace-pre in <center>
25192 * (bug 6260) Update to Interlingua localization (ia)
25193 * Update to Vlax Romany localization (rmy)
25194 * Update to Latin translation (la)
25195 * Update to Dutch translation (nl)
25196 * Avoid some notices in page history with bad input
25197 * Use double quoted consistently on attributes in linker output; preparing
25198   for new normalization code when tidy not in use
25199 * Replace "nogomatch" with "noexactmatch" and place the magic colon in the
25200   messages themselves. Some minor tweaks to the actual message content.
25201 * Introduce $wgContentNamespaces which allows for articles to exist in
25202   namespaces other than the main namespace, and still be counted as valid
25203   content in the site statistics.
25204 * (bug 5932) Introduce {{PAGESINNAMESPACE}} magic word
25205 * Disable $wgAllowExternalImages by default.
25206 * (bug 2700) Nice things like link completion and signatures now work in
25207   <gallery> tags.
25208 * Cancel output buffering in StreamFile; when used inside gzip buffering this
25209   could cause funny timeout behavior as the Content-Length was wrong.
25210 * Return correct content-type header with 304 responses for StreamFile;
25211   it confuses Safari if you let it return "text/html".
25212 * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
25213 * (bug 6162) Change date format for Dutch Low Saxon (nds-nl)
25214 * (bug 6296) Update to Indonesian localisation (id) #21
25215 * Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
25216 * (bug 4054) Add "boteditletter" to recent changes flags
25217 * Update to Catalan localization (ca)
25218 * (bug 2099) Deleted image files can now be archived and undeleted.
25219   Set $wgSaveDeletedFiles on and an appropriate directory path in
25220   $wgFileStore['deleted']['directory']
25221 * (bug 6324) Fix regression in enhanced RC alignment
25222 * Introduce {{NUMBEROFADMINS}} magic word
25223 * Update to Slovak translation (sk)
25224 * Update to Alemannic localization (gsw)
25225 * (bug 6300) Bug fixes for sr: variants
25226 * namespaceDupes.php can now accept an arbitrary prefix, for checking rogue
25227   interwikis and such. Not yet fully automated.
25228 * (bug 6344) Add Special:Uncategorizedimages page
25229 * (bug 6357) Update to Russian translation (ru)
25230 * Workaround possible bug in Firefox nightlies by properly removing the
25231   Content-Encoding header instead of sending explicit 'identity' value
25232   in StreamFile
25233 * (bug 6304) Show timestamp for current revision in diff pages
25234 * Vertically align current version with old version header in diff display
25235 * (bug 6174) Remove redundant "emailforlost" message
25236 * (bug 6189) Show an error to an unprivileged user trying to create account
25237 * (bug 6365) Show user information in the "old revision" navigation links
25238 * Introduce 'FetchChangesList' hook; see docs/hooks.txt for more information
25239 * (bug 6345) Update to Indonesian localisation (id) #22
25240 * (bug 6279) Add genitive month names to Slovenian localisation
25241 * (bug 6351) Update to German translation (de)
25242 * Respect language directionality when displaying arrow in
25243   Special:Brokenredirects
25244 * Remove unused "validation" table definitions from the schema files
25245 * (bug 6398) Work around apparent PCRE bug breaking section editing when
25246   massively-indented preformatted text immediately followed a header
25247 * (bug 6392) Fix misbehaving <br /> in preferences form
25248 * Add translated magic words to Hebrew localization
25249 * (bug 6396) Change name for Chuvash language
25250 * Introduce optional (off by default) language selector bar for user login
25251   and registration. Customisable via the "loginlanguagelinks" message, the
25252   links will preserve "returnto" values. If the user creates an account while
25253   using such a link, then the language in use will be saved as their language
25254   preference.
25255 * Make sure '~~~' '~~~~' '~~~~~' are removed in Nickname preference.
25256 * Rename "ipusuccess" to "unblocked", change the format (now wiki text)
25257 * (bug 2316) Add "caption" attribute to <gallery> tag
25258 * Allow setting the skin object that ImageGallery will use; needed during parse
25259   operations (the skin must come from the ParserOptions, not $wgUser)
25260 * Fix notice in MacBinary detection debug data for files of certain lengths
25261 * (bug 6131) Add type detection for DjVu files, allowing them to be uploaded
25262   with validity checking and size detection. No inline thumbnailing yet,
25263   but could be added in the future.
25264 * (bug 6423) Don't update newtalk flag if page content didn't change (null edits
25265   were causing the newtalk flag to trigger inappropriately)
25266 * Parser functions are now set using magic words.
25267 * (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0
25268   set
25269 * (bug 4990) Show page source to blocked users on edits, or their modified
25270   version if blocked during an edit
25271 * (bug 5903) When requesting the raw source of a non-existent message page,
25272   return blank content (as opposed to the message key)
25273 * Improve default blank content of MediaWiki:Common.css and
25274   MediaWiki:Monobook.css
25275 * (bug 6434) Allow customisation of submit button text on Special:Export
25276 * (bug 6314) Add user tool links on page histories
25277 * Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off
25278 * (bug 6438) Update to Indonesian translation (id) #23
25279 * Adding the language code parameter to the hook "LanguageGetMagic", to allow
25280   localizble extensions magic words.
25281 * Update to Romanian translation (ro)
25282 * Update to Esperanto translation (eo)
25283 * Check for preg_match() existence when installing and die out whining about
25284   PCRE if it's not there, instead of throwing a fatal error
25285 * (bug 672) Add MathAfterTexvc hook
25286 * Update to Piedmontese localization (pms)
25287 * dumpBackup can optionally compress via dbzip2
25288 * (bug 2483) Run link updates on change via XML import
25289 * (bug 2481) List imported pages during Special:Import
25290 * (bug 2482) Log and RC entries for Special:Import events
25291 * Allow fetching all revisions from transwiki Special:Import
25292 * Allow fetching all revisions from Special:Export GET request
25293 * Disable output buffering on Special:Export; should help with streaming
25294   large numbers of history items.
25295 * Allow setting a maximum number of revisions for history Special:Export;
25296   pages with more than $wgExportMaxHistory revisions are excluded from
25297   export when history is requested.
25298 * Fix transwiki import of pages with space in name
25299 * Save null edit when importing pages through Special:Import
25300 * Update to Korean translation (ko)
25301 * Show a more specific message when an anonymous user tries to access
25302   Special:Watchlist
25303 * (bug 3278) Paging links in Special:Prefixindex
25304 * Added Latvian localization (lv)
25305 * (bug 6472) Fix regression in Special:Export with multiple pages
25306 * Update to Macedonian translation (mk)
25307 * Allow page moves over historyless self-redirects. Such are usually created
25308   as part of namespace rearrangements, and it's easier to clean them up if
25309   we can move over them.
25310 * Show some error results in moveBatch.php
25311 * (bug 6479) Allow specification of the skin to use during HTML dumps
25312 * (bug 6461) Link to page histories in Special:Newpages
25313 * (bug 6484) Don't do message transformations when preloading messages for
25314   editing
25315 * (bug 6201) Treat spaces as underscores in parameters to {{ns:}}
25316 * (bug 6006) Allow hiding the password change fields using an authentication
25317   plugin
25318 * (bug 6489) Use appropriate link colour on Special:Shortpages
25319 * Added formatnum magic word
25320 * Added Javanese localization (jv)
25321 * (bug 6491) Apply bad image list in category galleries
25322 * (bug 6488) Show relevant log fragment in Special:Movepage
25323 * Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true
25324 * Use mysql_real_escape_string instead of addslashes for string escaping in
25325   the MySQL Database class. This may fix some rare breakage with binary fields.
25326   Note that MediaWiki does not support the multibyte character sets where a
25327   "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
25328   in this regard due to the bit patterns which make head and tail bytes
25329   distinct.
25330 * (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set
25331 * (bug 6498) Use localized forms for image size in Special:Undelete
25332 * (bug 6485) Update to Indonesian translation (id) #24
25333 * Extension messages translation is now possible.
25334 * Add target namespace override selector for transwiki imports.
25335   $wgImportTargetNamespace specifies the default, to be used for
25336   Wiktionary's 'Transwiki:' namespace etc.
25337 * (bug 6506) Update to German localisation (de)
25338 * (bug 502) Avoid silly tabs on bad title by using virtual special page
25339 * (bug 6511) Add diff links to old revision navigation bar
25340 * (bug 6511) Replace 'oldrevisionnavigation' message with
25341   'old-revision-navigation'
25342 * Fix regression in Polish genitive month forms
25343 * (bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
25344   more consistent: Accept just a namespace prefix and a colon, reject input
25345   with interwiki prefixes, otherwise do what Title::makeTitleSafe() does.
25346 * (bug 6516) Update to Russian translation
25347 * New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'.
25348 * Rename "searchquery" to "searchsubtitle" and support wiki text in it
25349 * Introduce updateArticleCount maintenance script which uses a better check that
25350   reflects what Article::isCountable() tests for
25351 * Introduce 'BadImage' hook; see docs/hooks.txt for more information
25352 * Add "searchsubtitleinvalid" message for searches that are not valid titles.
25353 * (bug 5962) Update to Italian localisation
25354 * (bug 6530) Update to Indonesian localisation (id) #25
25355 * (bug 6523) Fix SVG issue in rebuildImages.php
25356 * (bug 6512) Link to page-specific logs on page histories
25357 * (bug 6504) Allow configuring session name with $wgSessionName
25358 * (bug 6185) Add standard user tool links to log page views
25359 * Update to Venetian translation (vec)
25360 * Update to Slovenian translation (sl)
25361 * Add standard user tool links to deleted revision list
25362 * Separate out EditPage's getContent bits from regular Article getContent.
25363   Cleans up read-only-mode warning on empty pages and neats up some code.
25364 * (bug 6565) Strict JavaScript writing
25365 * (bug 6570) Update to Indonesian localisation (id) #26
25366 * Added Telugu translation (te)
25367 * Update to Catalan translation (ca)
25368 * (bug 6560) Avoid PHP notice when trimming ISBN whitespace
25369 * Added namespace translation to Kannada (ka)
25370 * (bug 6566) Improve input validation on timestamp conversion
25371 * Implicit group "emailconfirmed" for all users whose email addresses are
25372   confirmed
25373 * (bug 6577) Avoid multiline parser breakage on <pre> with newline in attribute
25374 * (bug 6771) Make old revisions of MediaWiki pages available with action=raw
25377 == Compatibility ==
25378 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
25380 If you are unable to run PHP 5, you may have to stick with 1.6 for now.
25382 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
25383 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
25385 Experimental Oracle support has been dropped as it is unmaintained.
25387 == Upgrading ==
25388 Several changes to the database have been made from 1.6:
25390 * A new "langlinks" table tracks interlanguage links
25391 * A new "filearchive" table stores information on deleted files
25392 * A new "querycache_info" table stores information on query page updates
25394 To ensure that these tables are filled with data, run refreshLinks.php after
25395 the upgrade.
25397 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
25398 changes are made, and there is a slightly higher chance that things could
25399 break. Don't forget to always back up your database before upgrading!
25401 == Configuration changes ==
25403 Some configuration options have changed:
25404 * $wgAllowExternalImages now defaults to off for increased security.
25405 * $wgLocalTZoffset was in hours, it is now using minutes.
25406 * Extensions may register special pages via the $wgSpecialPages array without
25407 forcing an early load of the SpecialPage.php class file.
25409 == Major new features ==
25411 * Deleted files can now be archived and undeleted, if you set up an appropriate
25412 non-web-accessible directory. Set $wgSaveDeletedFiles on and an appropriate
25413 directory path in $wgFileStore['deleted']['directory']
25414 * Experimental PostgreSQL support has been updated. It may or may not be in
25415 usable shape; those interested in PostgreSQL are encouraged to follow 1.8
25416 development.
25418 === Caveats ===
25419 Some output, particularly involving user-supplied inline HTML, may not
25420 produce 100% valid or well-formed XHTML output. Testers are welcome to
25421 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
25422 cases, but this is not recommended on live sites. (This must be set for
25423 MathML to display properly in Mozilla.)
25425 = MediaWiki 1.6 =
25427 == MediaWiki 1.6.12 ==
25429 February 7, 2009
25431 This is a security update to the Spring 2006 quarterly release.
25433 A number of cross-site scripting (XSS) security vulnerabilities were discovered
25434 in the web-based installer (config/index.php). These vulnerabilities all
25435 require a live installer -- once the installer has been used to install a
25436 wiki,  it is deactivated.
25438 Note that cross-site scripting vulnerabilities can be used to attack any
25439 website in the same cookie domain. So if you have an uninstalled copy of
25440 MediaWiki on the same site as an active web service, MediaWiki could be used to
25441 attack the active service.
25443 If you are hosting an old copy of MediaWiki that you have never installed, you
25444 are advised to remove it from the web.
25446 == MediaWiki 1.6.11 ==
25448 December 15, 2008
25450 This is a security update to the Spring 2006 quarterly release.
25452 David Remahl of Apple's Product Security team has identified a number of
25453 security issues in previous releases of MediaWiki. Subsequent analysis by the
25454 MediaWiki development team expanded the scope of these vulnerabilities. The
25455 issues with a significant impact are as follows:
25457 * An XSS vulnerability affecting Internet Explorer clients for all MediaWiki
25458 installations with uploads enabled. [CVE-2008-5250]
25459 * An XSS vulnerability affecting clients with SVG scripting capability (such as
25460 Firefox 1.5+), for all MediaWiki installations with SVG uploads enabled.
25461 [CVE-2008-5250]
25462 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
25463 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
25465 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
25466 authorised user's login session, and to act as that user on the wiki. The
25467 authorised user must visit a web page controlled by the attacker in order to
25468 activate the attack. Intranet wikis are vulnerable if the attacker can
25469 determine the intranet URL, even if the attacker cannot access it.
25471 CSRF vulnerabilities allow an attacker to act as an authorised user on the
25472 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
25473 a specific and restricted way. The present CSRF vulnerability allows pages to
25474 be edited, with forged revision histories. Like an XSS vulnerability, the
25475 authorised user must visit the malicious web page to activate the attack.
25477 Rather than backport our SVG validation code to this ancient branch, we have
25478 instead disabled SVG uploads. To enable SVG uploads, please upgrade to
25479 MediaWiki 1.13.3 or later.
25481 The other two issues have been fixed.
25483 == MediaWiki 1.6.10 ==
25485 February 20, 2007
25487 This is a security and bug-fix update to the Spring 2006 quarterly release.
25489 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
25490 charset autodetection was located in the AJAX support module, affecting MSIE
25491 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
25493 If you are using an extension based on the optional Ajax module, either disable
25494 it or upgrade to a version containing the fix:
25496 * 1.9: fixed in 1.9.3
25497 * 1.8: fixed in 1.8.4
25498 * 1.7: fixed in 1.7.3
25499 * 1.6: fixed in 1.6.10
25501 There is no known danger in the default configuration, with $wgUseAjax off.
25503 * ([[mediazilla:8819|bug 8819]]) Fix full path disclosure with skins
25504 dependencies
25505 * Add 'charset' to Content-Type headers on various HTTP error responses to
25506 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
25507 default when the script didn't specify more details, which some inconsiderate
25508 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
25509 This fixes an issue with the Ajax interface error message on MSIE when
25510 $wgUseAjax is enabled (not default configuration); this UTF-7 variant on a
25511 previously fixed attack vector was discovered by Moshe BA from BugSec:
25512 http://www.bugsec.com/articles.php?Security=24
25513 * Trackback responses now specify XML content type
25515 == MediaWiki 1.6.9 ==
25517 January 9, 2007
25519 * ([[mediazilla:6621|bug 6621]]) Backported German translation for
25520 'eauthentsent'
25522 * ([[mediazilla:6680|bug 6680]]) Added localisation for Dutch bookstore list
25523 (nl)
25524 * ([[mediazilla:6730|bug 6730]]) Clearer usage of message 'titlematch' in
25525 German translation (de)
25526 * XSS fix in AJAX module
25528 An XSS injection vulnerability was located in the AJAX support module,
25529 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
25530 enabled.
25532 There is no danger in the default configuration, with $wgUseAjax off.
25534 If you are using an extension based on the optional AJAX module, either disable
25535 it or upgrade to a version containing the fix:
25537 * 1.9: fixed in 1.9.0rc2
25538 * 1.8: fixed in 1.8.3
25539 * 1.7: fixed in 1.7.2
25540 * 1.6: fixed in 1.6.9
25542 == MediaWiki 1.6.8 ==
25544 July 8, 2006
25546 MediaWiki 1.6.8 is a security and bugfix maintenance release of the Spring 2006
25547 snapshot:
25549 A potential HTML/JavaScript-injection vulnerability in a debugging script has
25550 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
25551 overwrite vulnerability are affected.
25553 As a workaround for existing installs, profileinfo.php may simply be deleted if
25554 it's not being used.
25556 * ([[mediazilla:5957|bug 5957]]) Updates to Hebrew translation (he)
25557 * Respect language directionality when displaying arrow in
25558 Special:Brokenredirects
25559 * ([[mediazilla:6415|bug 6415]]) Typo in Parser.php
25560 * Fixed potential XSS in profileinfo.php
25562 == MediaWiki 1.6.7 ==
25564 June 6, 2006
25566 MediaWiki 1.6.7 is a security and bugfix maintenance release of the Spring 2006
25567 snapshot:
25569 An HTML/JavaScript-injection vulnerability in the edit form has been closed.
25570 This vulnerability was new in 1.6.0; MediaWiki versions 1.5.x or earlier are
25571 not affected.
25573 Extensions, comments, and <nowiki><nowiki></nowiki> sections are now handled in
25574 a one-pass way which is more reliable and safer. Under earlier versions of
25575 MediaWiki, certain extensions could be abused to inject HTML/JavaScript into
25576 the page.
25578 Additional precautions are made against offsite form submissions when the
25579 restricted raw HTML mode is enabled.
25581 Some small localization and user interface updates are also included.
25583 *([[MediaZilla:6051|bug 6051]]) Improvement to German localisation (de)
25584 *([[MediaZilla:6017|bug 6017]]) Update bookstore list for German language (de)
25585 *([[MediaZilla:6138|bug 6138]]) Minor grammar tweak in "loginreqlink"
25586 *([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
25587 *Increase robustness of parser placeholders; fixes some glitches when adjacent
25588 to identifier-ish constructs such as URLs.
25589 *([[MediaZilla:5384|bug 5384]]) Fix <nowiki><!-- comments --> in <ref></nowiki>
25590 extension
25591 *Nesting of different tag extensions and comments should now work more
25592 consistently and more safely. A cleaner, one-pass tag strip lets the 'outer'
25593 tag either take source (<nowiki><nowiki></nowiki>-style) or pass it down to
25594 further parsing (<nowiki><ref></nowiki>-style). There should no longer be
25595 surprise expansion of foreign extensions inside HTML output, or differences in
25596 behavior based on the order tags are loaded.
25597 *([[MediaZilla:885|bug 885]]) Pre-save transform no longer silently appends
25598 close tags
25599 *Pre-save transform no longer changes the case of close tags
25600 *Edit security precautions in raw HTML mode, etc
25602 == MediaWiki 1.6.6 ==
25604 May 23, 2006
25606 MediaWiki 1.6.6 is a security and bugfix maintenance release.
25608 An XSS injection vector in brace replacement has been fixed, as have some
25609 potential problems with table parsing. Upgrading is strongly recommended for
25610 all users of 1.6. MediaWiki versions 1.5 and earlier are not affected.
25612 Additionally some localization and user interface updates are included.
25614 * Correct "revertpage" message in English
25615 * ([[MediaZilla:5507|bug 5507]]) Logouttext now uses wiki markup
25616 * (bugs [[MediaZilla:5857|5857]], [[MediaZilla:5957|5957]]) Update for German
25617 localisation (de)
25618 * ([[MediaZilla:5586|bug 5586]]) <nowiki><gallery></nowiki> treated text as
25619 links
25620 * ([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
25621 * ([[MediaZilla:6025|bug 6025]]) SpecialImport: wrong message when no file
25622 selected
25623 * ([[MediaZilla:6015|bug 6015]]) EditPage: add spacing in the boxes "edit is
25624 minor" and "watch this"
25625 * ([[MediaZilla:6018|bug 6018]]) Userrights: new message when no user specified
25626 ('nouserspecified')
25627 * ([[MediaZilla:6055|bug 6055]]) Fix for HTML/JS injection bug in variable
25628 handler (found by Nick Jenkins)
25629 * Reordered wiki table handling and <nowiki>__TOC__</nowiki> extraction in the
25630 parser to better handle some overlapping tag cases.
25631 * Only the first <nowiki>__TOC__</nowiki> is now turned into a TOC.
25632 * ([[MediaZilla:361|bug 361]]) URL in URL, they were almost fixed. Now they are.
25634 == MediaWiki 1.6.5 ==
25636 May 2, 2006
25638 * Rolled back the buggy patch for [[MediaZilla:5497|bug 5497]].
25640 == MediaWiki 1.6.4 ==
25642 May 2, 2006
25644 * Further improvements to Hebrew localisation
25645 * ([[MediaZilla:5544|bug 5544]]) Fix redirect arrow in Special:Listredirects
25646 for right-to-left languages
25647 * Replace "doubleredirectsarrow" with a content language check that picks the
25648 appropriate arrow
25649 * Remove live debugging hack which caused errors with certain database names
25650 * ([[MediaZilla:5510|bug 5510]]) Warning produced when using
25651 <nowiki>{{SUBPAGENAME}}</nowiki> in some namespaces
25652 * ([[MediaZilla:5548|bug 5548]]) Improvements to Indonesian localisation
25653 [patch: Ivan Lanin]
25654 * ([[MediaZilla:5403|bug 5403]]) Fix Special:Newpages RSS/Atom feeds
25655 * ([[MediaZilla:3359|bug 3359]]) Add hooks on completion of file upload
25656 * ([[MediaZilla:5184|bug 5184]]) CSS misapplied to elements in
25657 Special:Allmessages due to conflicting anchor identifiers
25658 * ([[MediaZilla:5519|bug 5519]]) Allow sidebar cache to be disabled; disable it
25659 by default.
25660 * Add $wgReservedUsernames configuration directive to block account creation/use
25661 * ([[MediaZilla:5576|bug 5576]]) Remove debugging hack in session check
25662 * ([[MediaZilla:5181|bug 5181]]) Update "nogomatch" for Slovak
25663 * ([[MediaZilla:5594|bug 5594]]) Id translation up to '# Login and logout
25664 pages' section
25665 * ([[MediaZilla:5536|bug 5536]]) Use content language for editing help link
25666 * Minor improvements to English language files
25667 * Improvements to German localisation files
25668 * ([[MediaZilla:5628|bug 5628]]) Translations for MessagesHr.php
25669 * (bugs [[MediaZilla:5595|5595]], [[MediaZilla:5644|5644]]) Localisation for
25670 Bosnian language (bs)
25671 * ([[MediaZilla:5592|bug 5592]]) Actions are logged with the default language
25672 for the wiki, not the language of the user performing the operation.
25673 * ([[MediaZilla:5646|bug 5646]]) Compare for identical types in wfElement()
25674 * Fix for concurrency problem in job queue (image description page invalidation)
25675 * ([[MediaZilla:5497|bug 5497]]) regeression in HTML normalization in 1.6
25676 (unclosed <nowiki><li>,<dd>,<dt></nowiki>)
25677 * ([[MediaZilla:5709|bug 5709]]) Allow customisation of separator for categories
25678 * ([[MediaZilla:4834|bug 4834]]) Fix XHTML output when using $wgMaxTocLevel
25679 * Improvements to update scripts; print out the version, check for superuser
25680 credentials before attempting a connection, and produce a friendlier error if
25681 the connection fails
25682 * ([[MediaZilla:5005|bug 5005]]): Fix XHTML <nowiki><gallery></nowiki> output.
25683 * ([[MediaZilla:5315|bug 5315]]) "Expires: -1" HTTP header made strictly valid
25684 (using 1970 date).
25685 * ([[MediaZilla:4825|bug 4825]]): note in DefaultSettings.php about 'profiling'
25686 table creation
25687 * Remove unneeded extra whitespace at top of Special:Categories
25688 * Rewrite reassignEdits script to be more efficient; support optional updates
25689 to recent changes table; add reporting and silent modes
25690 * Updated initStats maintenance script
25691 * ([[MediaZilla:5723|bug 5723]]) Don't count pages linked to from the MediaWiki
25692 namespace as "wanted"
25693 * ([[MediaZilla:5789|bug 5789]]) Treat "loginreqpagetext" as wikitext
25694 * ([[MediaZilla:5796|bug 5796]]) We require MySQL >=4.0.14
25696 == MediaWiki 1.6.3 ==
25698 April 10, 2006
25700 * Fix disappearing red-linked items in the watchlist editing view
25701 * ([[MediaZilla:5512|bug 5512]]) Spacing in "page has a history" deletion
25702 warning
25703 * ([[MediaZilla:5508|bug 5508]]) Switch ENGINE in table statements back to
25704 TYPE; fixes regression where some versions of MySQL 4.0.x wouldn't work
25705 * Added note about [[Manual:$wgUrlProtocols|$wgUrlProtocols]] format change
25707 == MediaWiki 1.6.2 ==
25709 April 8, 2006
25711 * Further improvements to Hebrew localisation
25712 * Fix 'copyright' message for Romanian
25713 * ([[MediaZilla:5476|bug 5476]]) Invalid xhtml in German localization
25714 * ([[MediaZilla:5479|bug 5479]]) Id translation for preferences tabs caption
25715 * ([[MediaZilla:5493|bug 5493]]) Id translation for special pages
25716 * Additional path fixes in the updater
25717 * ([[MediaZilla:5344|bug 5344]]) Fix regression that broke slashes in extension
25718 tag parameters
25720 == MediaWiki 1.6.1 ==
25722 April 5, 2006
25724 Some minor issues in the 1.6.0 release have been corrected:
25725 * ([[MediaZilla:5458|bug 5458]]) Fix double-URL encoding in block log link in
25726 contribs and contribs link in block log
25727 * ([[MediaZilla:5462|bug 5462]]) Bogus missing patch warning in updater
25728 * ([[MediaZilla:5461|bug 5461]]) Use of deprecated "showhideminor" in
25729 Special:Recentchangeslinked
25730 * PHP warning when allow_call_time_pass_reference is off
25731 * Update to Finnish localization
25733 == MediaWiki 1.6.0 ==
25735 April 5, 2006
25737 MediaWiki is now using a "continuous integration" development model with
25738 quarterly snapshot releases. The latest development code is always kept "ready
25739 to run", and in fact runs our own sites on Wikipedia.
25741 Release branches will continue to receive security updates for about a year
25742 from first release, but nonessential bugfixes and feature development will take
25743 place on the development trunk and will appear in the next quarterly release.
25745 Those wishing to use the latest code instead of a branch release can [[Download
25746 from SVN|obtain it from source control]].
25748 === What's new in 1.6 ===
25750 '''User interface:'''
25751 * The account creation form has been separated from the user login form.
25752 * Page protection/unprotection uses a new, expanded form
25754 '''Templates:'''
25755 * Categories and "what links here" now update as expected when adding or
25756 removing links in a template.
25757 * Template parameters can now have default values, as <nowiki>{{{name|default
25758 value}}}</nowiki>
25760 '''Uploads:'''
25761 * Optional support for rasterizing SVG images to PNG for inline display
25763 '''Feeds:'''
25764 * Feed generation upgraded to Atom 1.0
25765 * Diffs in RSS and Atom feeds are now colored for improved readability.
25767 '''Database:'''
25768 * MySQL 3.23.x support dropped; 4.0 or later required
25769 * Experimental support for Unicode mode of MySQL 4.1/5.0 (moderately tested)
25770 * Experimental Oracle support (not well tested!)
25772 '''Anti-spam extension support:'''
25773 * [[meta:SpamBlacklist extension|SpamBlacklist extension]] now has support for
25774 automated cleanup.
25775 * Support for a [[meta:ConfirmEdit extension|captcha extension]] to restrict
25776 automated spam edits.
25778 Numerous bug fixes and other behind-the-scenes changes have been made; see the
25779 file HISTORY for a complete change list.
25781 == Changes since 1.5 ==
25783 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
25785 Code quality:
25786 * Use strval() to make sure we don't accidentally get null on bad revision
25787   text loads or other fields mucking up XML export output
25788 * Clean up duplicate code for selection of changeslist style
25789 * Correct blob caching to reduce redundant blob loads on backups
25790 * (bug 3182) Clear link cache during import to prevent memory leak
25791 * Fixed possible infinite loop in formatComment
25792 * Wrap message page insertions in a transaction to speed up installation
25793 * Avoid notice warning on edit with no User-Agent header
25794 * (bug 3649) Remove obsolete, broken moveCustomMessages script
25795 * Avoid numerous redundant latest-revision lookups in history
25796 * Require PHP 4.3.2 or higher strictly now.
25797 * Tweak infinite-template-handling loop for PHP 5.1.1 string handling change
25798 * Remove unused OutputPage::addCookie()
25799 * Fix for short_open_tag off again; please don't break this, guys
25800 * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form
25801 * (bug 5302) Merge the two #p-search .pBody statements in monobook css.
25803 Database:
25804 * Finally dropped MySQL 3.23.x support
25805 * Oracle support
25806 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
25807 * Update all stats fields on recount.sql
25808 * (bug 3227) Fix SQL injection introduced in experimental code
25809 * Fix table prefix usage in Block::enumBlocks
25810 * (bug 3448) Set page_len on undelete
25811 * (bug 3506) Avoid MySQL error when Listusers returns no results
25812 * Skip update of disused 'rc_cur_time' field (todo: discard the field)
25813 * (bug 3735) Fix to run under MySQL 5's strict mode
25814 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
25815   NOTE: Enabling this may break existing wikis, and still doesn't
25816   work for all Unicode characters due to MySQL limitations.
25817 * MySQL 5.0 strict mode fix for moving unwatched pages
25818 * Ability to set the table name for external storage servers
25819 * Update ipblocks table in MySQL 5 table defs
25820 * Removed FulltextStoplist.php, no longer used (was for MySQL 3.x workaround)
25821 * Added templatelinks table, to track template inclusions. User-visible effects
25822   will be:
25823   * (inclusion) tag for inclusions in Special:Whatlinkshere
25824   * More accurate list of used templates on the edit page
25825   * More reliable cache invalidation when templates outside the template
25826     namespace are changed
25827 * Respect database prefix in dumpHTML.inc
25828 * Removed read-only check from Database::query()
25829 * Added externallinks table, to track links to arbitrary URLs
25830 * Added job table, for deferred processing of jobs. The immediate application is
25831   to complete the link table refresh operation when templates are changed.
25832 * Don't change the password of the MySQL root user.
25834 Documentation:
25835 * (bug 3306) Document $wgLocalTZoffset
25837 Hooks:
25838 (list not complete)
25839 * Move ArticleSave hook execution into Article insert/update functions,
25840   so they get called on non-EditPage actions that use these functions
25841   to create or update pages.
25842 * Added EditFilter hook, and output callback on EditPage::showEditForm()
25843   for a place to add in captcha-type extensions in the edit flow
25844 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
25845 * Fix for hook callbacks on objects containing no fields
25846 * Add a hook for additional user creation throttle / limiter extensions
25847 * Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser
25848   instance. This allows use of extension hooks if required.
25849 * Added AutoAuthenticate hook for external User object suppliers
25850 * Added 'PageRenderingHash' hook for changing the parser cache hash key
25851   from an extension that changes rendering based on nonstandard options.
25852 * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones
25853 * (bug 4456) Add hook for marking article patrolled
25854 * Add UserRights hook, fires after a user's group memberships are changed
25856 Images:
25857 * Support SVG rendering with rsvg
25858 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
25859 * (bug 3127) Render large SVGs at image page size correctly
25860 * Fix scaling of non-integer SVG unit sizes
25861 * (bug 2800) Don't scale up small images on |thumb| without explicit size
25862 * Use the real file link instead of the default-size rasterized version for
25863   large SVG images on image description page
25864 * Include the file name/type/size line for non-resized images
25865 * (bug 3489) PHP 5.1 compat problem with captioned images
25866 * (bug 3643) Fix image page display of large images with resizing disabled
25867 * Added a limit to the size of image files which can be thumbnailed
25868 * (bug 3806) Gracefully fall back to client-side scaling on |thumb| image
25869   that passes $wgMaxImageArea
25870 * (bug 153) Adjust thumbnail size calculations to match consistently;
25871   patch by David Benbennick
25872 * (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to
25873   be rerendered on demand, sitewide
25874 * (bug 1850) Additional fixes so existing local and remote images
25875   get a blue link even if there's no local description page
25876 * Avoid FATAL ERROR when creating thumbnail of non-existing image
25877 * (bug 4207) Wrong image size when using 100x200px syntax to scale image up
25878   patch by David Benbennick
25879 * Don't delete thumbnails when refreshing exif metadata. This caused thumbs
25880   to vanish mysteriously from time to time for files that didn't have metadata.
25881 * (bug 4426) Add link to user_talk page on image pages
25882 * Support a custom convert command for thumbnailing. See DefaultSettings.php
25883   and the comments for $wgCustomConvertCommand, for more information.
25884 * UserCan hook now allows advisory return values, rather than mandatory ones.
25886 Installer:
25887 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
25888   Why do people invent these crazy options that change language semantics?
25889 * Fixed installer bugs 921 and 3914 (issues with using root and so forth)
25890 * (bug 4258) Use ugly urls for ISAPI by default
25891   patch by Rob Church
25892 * Improve installer
25893     * Use a superuser account (such as root), if specifed, to create tables
25894     * Don't overwrite conservative permissions on the mySQL user with ALL
25895       permissions, if said user exists
25896     * Changes to some of the wording of explanations for fields
25897 * (bug 1734) granting db permissions failed with db usernames containg '-'
25898 * Add basic check for session support in PHP and die if not present
25900 Maintenance:
25901 * Fix problem reported on mailing list where re-initialising stats didn't work
25902   (can't insert duplicate rows with the same id field)
25903 * Added --conf option to command line scripts, allowing the user to specify a
25904   different LocalSettings.php.
25905 * Maintenance script to delete unused text records
25906 * Maintenance script to delete non-current revisions
25907 * Maintenance script to wipe a page and all revisions from the database
25908 * Maintenance script to reassign edits from one user to another
25909 * Maintenance script to find and remove links to a given domain
25910   (cleanupSpam.php)
25911 * Fix --report interval option for dumpTextPass
25913 i18n / Languages:
25914 * Partial support for Basque language (from wikipedia and meta)
25915 * (bug 3141) Partial support for Breton language (thanks Fulup).
25916 * Support for venitian language
25917 * (bug 1334) LanguageGa.php update
25918 * Finnish date format was hardcoded, now implemented properly
25919 * (bug 3190) Added some date format choices for language sr
25920 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
25921 * (bug 3204) Fix typo breaking special pages in fy localization
25922 * (bug 3177) Estonian date formats not implemented in LanguageEt.php
25923 * (bug 1020) Changing user interface language does not work immediately
25924 * (bug 3271) Updated LanguageNn.php for HEAD
25925 * Experimental feature to allow translation of block expiry times
25926   Implementation only for Finnish currently
25927 * (bug 3304) Language file for Croatian (LanguageHr.php)
25928 * (bug 2143) Update Vietnamese interface
25929 * (bug 3063) Remove some hardcodings from Hebrew localisation
25930 * (bug 3408) Bulgarian formatNum corrected
25931 * (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
25932   harm than good under current system by breaking incoming URLs with "ux".
25933   (Editing is not affected, just URLs.)
25934 * (bug 1423) LanguageJa.php update
25935 * Fix language name for dv
25936 * (bug 3503) Update LanguageSq.php from sq.wikipedia.org messages
25937 * (bug 3629) Fix date & time format for Frisian
25938 * (bug 3334) Namespace changes for Polish
25939 * (bug 3580) Change default Dutch language file to more neutral
25940 * (bug 3656) LanguageHr.php - added convertPlural
25941 * (bug 3414) LanguageBe.php - added convertPlural
25942 * (bug 3163) Full translation of LanguageBr
25943 * (bug 3617) Update for portuguese language (pt)
25944 * Namespaces hacks on LanguagePl
25945 * (bug 3682) LanguageSr.php - added convertPlural
25946 * (bug 3694) LanguageTr.php update
25947 * (bug 3711) Removed invisible unicode characters from LanguageHu
25948 * (bug 2981) Linktrail for Tamil (ta)
25949 * (bug 3722) Update of Arabic language (ar) Namespace changes
25950 * Removed hardcoded Norwegian (no) project namespaces
25951 * (bug 2324) image for redirects should be without text and oriented according
25952   to content language
25953 * (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language
25954 * (bug 3817) Use localized date formats in preferences; 'no preference' option
25955   localizable as 'datedefault' message. Tweaked lots of languages files...
25956 * (bug 2721) Regression: Use European number separators for vi: wikis
25957 * (bug 3961) minor languageDe changes
25958 * (bug 1984) LanguageKo.php (Korean) update
25959 * (bug 3804) update of LanguageWa.php file
25960 * (bug 3886) Update for Portuguese language (pt)
25961 * (bug 4020) Update namespaces for ms
25962 * (bug 3922) bidi embedding overrides on category links
25963 * (bug 4061) Update of Slovene namespace names (LanguageSl.php)
25964 * (bug 4064) LanguageDe comma changes
25965 * (bug 3922) Further tweaks to bidi overrides in category list for old
25966   versions of Safari and Konqueror
25967 * Fix custom namespaces on wikis set for Portuguese
25968 * (bug 4153) Fix block length localizations in Greek
25969 * (bug 3844) ab: av: ba: ce: & kv: now inherit from LanguageRu.php
25970              ii: & za: now inherit from LanguageZn_cn.php
25971 * (bug 4165) Correct validation for user language selection (data taint)
25972 * (bug 4192) Remove silly 'The Free Encyclopedia' default sitesubtitle
25973 * Use content-lang for sitenotice
25974 * (bug 4233) Update LanguageJa.php
25975 * (bug 4279) Small correction to LanguageDa.php
25976 * (bug 4108, 4336) Remove trailing whitespace from various messages, which
25977   mucks up message updating to create dupe entries
25978 * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized)
25979 * (bug 4392) Update of LanguageSr.php
25980 * (bug 4382) Frisian numeric format
25981 * (bug 4424) Update for Spanish language (es) 100% messages translated
25982 * (bug 4425) Typos in Polish translation
25983 * (bug 4436) Update for Turkish language (tr)
25984 * (bug 4413) Update of Farsi language file (LanguageFa.php)
25985 * Update for LanguageSr (Serbian): magic words
25986 * (bug 137) MediaWiki:Copyrightwarning hardcoding
25987 * (bug 4457) Update for Portuguese language (pt)
25988 * convertPlural breakage fixed a little
25989 * (bug 4144) Support for Sudanese language (Basa Sunda)
25990 * Big cleanup:
25991  - Removed obsolote, badly or untranslated messages
25992  - Removed references to wikipedia/wikimedia etc in messages
25993  - Other cleanup, like removing html and javascript and extension calls
25994  - Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
25995  - Removed some useless backwards compatibility hacks
25996  - Fixed formatnum on many languages
25997 * wgAmericanDates check produced incorrect results in languages that don't have
25998   a such distinction
25999 * (bug 4548) Update for Portuguese language (pt): time format
26000 * (bug 4530) Use consistent name for Kurdish
26001 * Tweak default "upload disabled" text
26002 * (bug 4504) Use site language for namespace name resolution
26003 * (bug 4510) Correct Barnes & Noble bookstore URLs
26004 * (bug 3991) Allow the operation of wikicode on Protect move only text
26005 * (bug 4267) Switch dv sd ug ks arc languages to RTL
26006 * Default main page content improved per bug 4690
26007 * (bug 4615) Update for Portuguese language (pt)
26008 * Separated MessagesSl.php as the other languages.
26009 * (bug 4960) Add additional namespaces variants to Yiddish for compatibility
26010 * (bug 4805) Removed more wikipedia-references from MessagesUk.php
26011 * (bug 5015) Update magic words translation in LanguageBe.php
26012 * (bug 4859) Update for Portuguese messages (pt)
26013 * (bug 4788) One string for MessagesPl
26014 * Restriction types now use restriction-* messages instead of ui messages
26015 * (bug 4685) Slovenian LanguageSl.php hardcodes project namespace
26016 * (bug 5097) Fix Hungarian language (hu): thousands separator
26017 * (bug 5098) Update for Portuguese messages (pt)
26018 * (bug 5113) Spelling error in French language file
26019 * (bug 5105) Magic words for LanguageAr.php
26020 * (bug 3993) Variants for Serbian language
26021 * Typo in English messages file
26022 * (bug 4114) Spacing in watchlist rows (in editing mode)
26023 * Update default "exporttext" to reflect that Special:Import exists
26024 * (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews
26025   fix
26026 * (bug 5357) Add the icon near the user name also in RTL interfaces
26027 * (bug 5156) Update for Hebrew language (he)
26028 * (bug 4497,4704,5010) Added some new language codes.
26029 * (bug 5362) Piedmontese added
26030 * (bug 5349) Update for Portuguese messages (pt)
26031 * (bug 3573) Finished full Greek translation: namespaces
26032 * (bug 5288) Initial localisation for Az
26033 * (bug 4361) Fix "allmessagesnotsupportedui" so it doesn't refer to nonexisting
26034   page
26035 * Tweak wording of "allmessagesnotsupporteddb"
26037 Parser:
26038 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
26039 * (bug 3210) Fix Media: links with remote image URL path
26040 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
26041 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
26042   format as designed. Documentation comments updated.
26043 * Fix Parser::unstrip on PHP 5.1.0RC4
26044 * (bug 3797) Don't expand variables and sigs in comments
26045 * Allow parser cache on redirect targets
26046 * Run wikitext-escaping on plaintext sigs (no wiki markup, just name)
26047 * Check for unbalanced HTML tags on raw sigs (markup allowed, but show
26048   a warning in prefs and use default sig if not balanced)
26049 * Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as
26050   ordinary templates.
26051 * Support <includeonly> in templates loaded through preload= parameter
26052 * (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
26053 * Substitute {{REVISIONID}} correctly in diff display
26054 * (bug 1850) Allow red-links on image pages linked with [[:image:foo]]
26055 * Fix XML validity checks in parser tests on PHP 5.1
26056 * (bug 4377) "[" is not valid in URLs
26057 * (bug 4453) fix for __TOC__ dollar-number breakage
26058 * Convert unnecessary URL escape codes in external links to their equivalent
26059   character before doing anything with them. This prevents certain kinds of
26060   spam filter evasion.
26061 * (bug 4783) : Fix for "{{ns:0}} does not render"
26062 * Improved support for interwiki transclusion
26063 * (bug 1850) Image link to nonexistent file fixed.
26064 * (bug 5167) Add {{SUBPAGENAME}} and {{SUBPAGENAMEE}} variables
26065 * (bug 4949) Missing : in "addedwatchtext" for English and Spanish
26066 * Allow user-defined functions, which work in a similar way to {{GRAMMAR:}}
26067   etc. Registered via an interface similar to tag hooks.
26069 Upload:
26070 * (bug 2527) Always set destination filename when new file is selected
26071 * (bug 3076) Support MacBinary-encoded uploads from IE/Mac
26072 * (bug 2554) Tell users they are uploading too large file
26073 * Support for a license selection box on Special:Upload, configurable from
26074   MediaWiki:Licenses
26075 * Add 'reupload' and 'reupload-shared' permission keys to restrict new uploads
26076   overwriting existing files; default is the old behavior (allowed).
26078 Security:
26079 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
26080 * (bug 3280) Respect 'move' group permission on page moves
26081 * (bug 2613) Clear saved passwords from the form
26082 * IP privacy fix for blocklist search on autoblocks
26083 * Security fix for <math>
26084 * Security fix for tables
26085 * Security fix for Special:Upload license selection list
26086 * Add UploadVerification hook for custom file upload validation/security checks
26087 * Blacklist additional MSIE CSS safety tricks
26088 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
26089   versions for convenient harvesting by automated worms
26090 * Sanitizer CSS comment processing order fix
26091 * Forbid usernames that can be interpreted as titles with namespaces, as that
26092   leads to hard-to-manage names.
26093 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
26094 * Add createpage and createtalk permission keys, allowing a quick
26095   switch to disable page creation for anonymous users.
26096 * (bug 675) Add page protection level for unregistered/new accounts
26097 * User::isNewbie now uses the registration date and $wgAutoconfirmAge
26098 * Add 'deletedhistory' permission key for ability to view deleted history
26099   list via Special:Undelete. Default is off, replicating the 1.5 behavior,
26100   but it can be turned back on for random users to replicate the previous
26101   1.6 dev behavior.
26102 * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
26103 * (bug 4371) Disallow tilde character in signatures
26104 * Removed broken wgAllowAnonymousMinor and added new group right minoredit
26105 * Added detection for WMF files (application/x-msmetafile), added this
26106   MIME type to the default blacklist. Prevented inline display of images
26107   which are not of known image types. This is in response to
26108   https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
26109 * Blocked users can no longer roll back, change the protection of, or
26110   delete/undelete pages
26111 * Protect against spoofing of X-Forwarded-For header
26112 * XSS issue : now sanitize search query input (fixed in 1.5rc3)
26113 * Remove deprecated $wgOnlySysopsCanPatrol references; use
26114   User::isAllowed( 'patrol' )
26115   per bug 5282. Patch by Alan Harder.
26116 * Prevent registration/login with the username "MediaWiki default"
26118 Special Pages:
26119 * Rearranged Special:Movepage form to reduce confusion between destination
26120   title and reason input boxes
26121 * (bug 1956) Hide bot uploads from Special:Newimages
26122 * (bug 3220) Fix escaping of block URLs in Recentchanges
26123 * (bug 3284) Ipblocklist paging, substring search
26124 * Allow filtering of robot edits in Special:Watchlist by setting
26125   $wgFilterRobotsWL = true.
26126 * Fix interlanguage links on special pages when extra namespaces configured
26127 * (bug 3475) anon contrib links on Special:Newpages
26128 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
26129 * (bug 2369) Add separate message for input box on Special:Prefixindex
26130 * (bug 3798) DoubleRedirects no longer has hard coded arrows
26131 * (bug 3803) Fix links on Special:Wantedcategories with miser mode off
26132 * Fix Special:BrokenRedirects on MySQL 5.0
26133 * (bug 3807) Fix 'all' in namespaces drop-down on contribs, rc
26134 * Fail gracefully on invalid namespace in Special:Newpages
26135 * (bug 3762) Define missing Special:Import UI messages
26136 * (bug 3761) Avoid deprecation warnings in Special:Import
26137 * (bug 2894) Enhanced Recent Changes link fixes
26138 * (bug 4059) fix 'hide minor edits' on Recentchangeslinked
26139 * (bug 146) List number of category members in Special:Categories
26140   (patch by Joel Nothman)
26141 * (bug 4090) Fix diff links in Special:Recentchangeslinked
26142 * (bug 4093) '&bot=1' in Special:Contributions now propagate to other links
26143 * Fix display of old recentchanges records for page moves
26144 * (bug 360) Let Whatlinkshere track [[:image:foo]] links
26145 * (bug 3073) Keep search parameter on paging in Special:Newimages
26146 * Removed Special:Validate, it's been superseded by the Review extension
26147 * (bug 4359) red [[user:#id]] links generated in [[special:Log]]
26148 * (bug 1996) Special page to list redirects
26149 * (bug 4334) Add "watch" links to Special:Unwatchedpages
26150 * Generate target user page links in Special:Ipblocklist where appropriate
26151   (i.e. not an autoblock)
26152 * Generate link to talk page of the blocker in Special:Ipblocklist, move
26153   contribs. link of the target next to their name
26154 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
26155 * Move parentheses out of <a> link in Special:Contributions
26156 * (bug 3192): properly check 'limit' parameter on Special:Contributions
26157 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
26158 * Add block, block log and general log links to Special:Contributions
26159 * Add contributions link to block log items
26160 * Added optional "hide own edits" feature to Special:Recentchanges
26161 * (bug 5018) Anchors for each message in Special:Allmessages
26162 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
26163   list pages with less than this number of links. Defaults to 1.
26164 * (bug 4319) Don't show a "create account" link on the login form when
26165   account creation is disabled.
26166 * JavaScript filter for Special:Allmessages
26167 * (bug 3047) Don't mention talk pages on Special:Movepage when there isn't one
26168 * Show links to user page, talk page and contributions page on Special:Newpages
26169 * Special:Export can now export a list of all contributors to an article (off by
26170   default)
26171 * (bug 5372) Add number of files to Special:Statistics
26172 * (bug 2871) Links to talk pages in watchlist editing view
26173 * (bug 5385) Allow hiding anonymous edits on Special:Recentchanges
26174 * (bug 2544) Illogical error reporting order in Special:Userlogin
26175 * (bug 5409) Hide "show/hide patrolled edits" in Special:Recentchanges if
26176   patrolling is disabled
26177 * (bug 5447) Convert first letter of username to uppercase before searching in
26178   Special:Listusers
26179 * (bug 759) Wrap redirects on the watchlist editing page in a span, class
26180   "watchlistredir"
26181 * (bug 1862) Namespace filtering in watchlists
26183 Misc.:
26184 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
26185   if running prior to 4.2.0 as it causes the call to fail
26186 * (bug 3117) Fix display of upload size and type with tidy on
26187 * (bug 2323) Remove "last" tabindex from history page
26188 * (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]]
26189 * Fix display of read-only lockfile message
26190 * Include software-visible client IP address in Special:Version comment
26191   as a proxy debugging aid
26192 * (bug 3170) Page Title failed to obey MediaWiki:Pagetitle.
26193   wikititlesuffix was removed
26194 * Add ability to break off certain debug topics into additional log files;
26195   use $wgDebugLogGroups to configure and wfDebugLog() to log.
26196 * Edit conflict on recreation of deleted page
26197 * (bug 3216) Don't show empty warning page when no warnings.
26198 * (bug 3218) Use proper quoting on history Compare Revisions button
26199 * Fix upgrade from 1.4 due to version number check breakage [for rc future]
26200 * Fix upgrade from 1.4 with no old revisions
26201 * Remove "info" editing toolbar that was shown in browsers which do not
26202 fully support the editing toolbar, but was found to be too confusing.
26203 * Don't override edit conflict suppression on section edits; section merging
26204   should provide the expected transparency here and fits usage patterns better.
26205 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
26206 * (bug 2078) Don't hide watch tab on preview
26207 * Fix regressions in ChangesList traditional layout
26208 * Fix edit on double-click for move-protected pages in Classic skin
26209 * (bug 3485) Fix bogus warning about filename capitalization when off
26210 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
26211   by default when 'watchdefault' option is on
26212 * Add options to dumpBackup.php for making split/partial dumps by page id
26213 * Added filter options, compression piping, and multiple output streams for
26214   dumpBackup.php
26215 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
26216 * (bug 3598) Update message cache on message page deletion, patch by Tietew
26217 * Added separate noarticletext and newarticletext messages for logged in and
26218   anon users.
26219 * (bug 3332) Installation now uses Monobook, validates, plus usability
26220   improvements.
26221 * (bug 3660) Update diff3 detection to work with Windows/Cygwin
26222 * (bug 2330) Don't do funny thinks with "links" in MediaWiki:Undeletedtext
26223 * Two-pass data dump for friendliness to the DB (--stub, then dumpTextPass.php)
26224 * Data dump 'prefetch' mode to read normalized text from a prior dump
26225   (requires PHP 5, XMLReader extension)
26226 * (bug 2773) Print style sheet no longer overrides RTL text direction
26227 * (bug 2938) Update MediaWiki:Exporttext to be more general
26228 * Various fixes
26229 * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped
26230 * Added @import for [[MediaWiki:Common.css]] to all skins
26231 * Edit box now remembers scrollbar position on preview
26232 * (bug 3816) Throw edit conflict instead of fatal error when a page is
26233   moved or deleted during section edit
26234 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
26235 * (bug 3291) 'last' diff link for last history line when not at end
26236 * (bug 3667) Add missing global in page move code
26237 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
26238   talk notification on PHP 5.0.5
26239 * (bug 3852) "Redirected from" link no longer obscured on double-redirects
26240 * changed directory hierarchy in images/math/. System upgrades from old to
26241   new hierarchy on the fly.
26242 * (bug 3487) Fix category edit preview with preview-on-bottom
26243 * (bug 918) Search index incorrectly joined words at == headings ==
26244 * (bug 3877) Render math images into temp directory, then move to hashed
26245   subdir so you can render new math images and have them work
26246 * (bug 2392) Fix Atom items content type, upgrade to Atom 1.0
26247 * Allow $wgFeedCacheTimeout of 0 to disable feed caching
26248 * Fix WebRequest::getRequestURL() to strip off the host bits squid prepends
26249 * Require POST for action=purge, to stop bots from purging the cache
26250 * Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth
26251   requirements to the memcached server.
26252 * (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
26253 * (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on
26254   DIRECTORY_SEPARATOR (was wrong on NetWare)
26255 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
26256 * (bug 3939) Don't try to load text for interwiki redirect target
26257 * (bug 3948) Avoid notice warning in debug statement in bad search
26258 * Recognize Special:Search consistently so read whitelist works
26259 * (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due to
26260   unclear language in the spec. Now using the URL, same as the permalink,
26261   which someone else will probably whine about because it's not 'perma'
26262   enough or something.
26263 * (bug 4014) Fix include mode for Allpages on small page sets
26264 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
26265 * (bug 3065) Update both watched namespaces when renaming pages
26266 * Changed mail form to have a bigger message entry box (like for editing
26267   a page
26268 * Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
26269 * (bug 2111) Collapsable exif metadata table, clean up display
26270 * Reduce fractions in display of exif exposure time
26271 * (bug 4048) Optional footer link to site privacy policy
26272 * Don't die() when update.php reaches the end of the warning count
26273 * (bug 1915) Fix edit links when 'direction' used with 'oldid';
26274   using revision ID reported via OutputPage; Skin::editUrlOptions()
26275 * Remove obsolete 'redirect=no' on some edit links
26276 * Include oldid for the second revision on edit link on diff view
26277 * (bug 4035) Fix prev/next revision links on edit page
26278 * (bug 4100, 3049) Add 'edittools' message to hold edit tools, put it
26279   on Special:Upload as well as edit, rearrange edit page pieces a bit.
26280   Copyright warning now above the buttons to ensure it's visible,
26281   template list at the bottom so it can grow.
26282 * Optional summary parameter to action=rollback, for user javascript
26283 * (bug 4167) Fix regression caused by patch for bug 153
26284 * (bug 4169) Use $wgLegalTitleChars in pipe trick conversions
26285 * (bug 4170) Decode HTML character escapes in sort key
26286 * (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
26287 * (bug 4214) Skip redundant action text inserts into the HTML <title>
26288 * (bug 4212) Skip redundant meta-robots tag for default settings
26289 * Fix regression: old version missing from edit links in Nostalgia skin
26290 * (bug 1600) Trigger edit conflict on duplicate section=new submissions
26291 * (bug 4001) Use local variables properly in wikibits.js akeytt()
26292 * Fix regression: old version missing from edit links on CSS/JS pages
26293 * (bug 3211) Include Date, To mail headers when using PEAR::Mail
26294 * (bug 3407) Fix encoding of subject and from/to headers on notification
26295   mails; userMailer() now takes a MailAddress wrapper object instead of
26296   a raw string to abstract things a level.
26297 * Fixed --server override on dumpTextPass.php
26298 * Added plugin interface for dumpBackup, so additional filters and output
26299   sink types can be registered at runtime from an extension
26300 * (bug 349) Fix for some numeric differences not being highlighted
26301   patch by Andrius Ramanauskas
26302 * (bug 4298) Include rc_id on enhanced RC singleton diff links for patrolling
26303 * Did some refactoring on ChangesList.php merging dupe code
26304 * (bug 1586) Fix interwiki generator for wikimedia obscure domains
26305 * (bug 3493) Mark edits patrolled when they are reverted
26306   patch by Leon Planken
26307 * Removed experimental Amethyst skin from default set
26308 * Upgrade old skin preferences properly at Special:Preferences
26309   (used to spontaneously switch to Classic skin for old numeric pref records)
26310 * (bug 3424) Update page_touched for category members on category page creation
26311 * Log views show message when no matches
26312 * Fix raw sitenotice display on database error
26313 * Fix autoconfirm check for old accounts
26314 * (bug 4368) Don't show useless empty preview on new section creation
26315 * Don't show useless empty preview on new page creation
26316 * (bug 4411) Fix messages diff link for classic skin
26317 * (bug 4385) Separate parser cache entries for non-editing users, so section
26318   edit links don't vanish / appear unwanted on protected pages
26319 * (bug 2726, 3397) Fix [[Special:]] and [[:Image]] links in action=render
26320 * (bug 4419) Remove obsolete magnify.png.old
26321 * Removed $wgUseCategoryMagic option, categories are now enabled unconditionally
26322 * (bug 3318) UI workarounds for disabled items in license selector
26323   MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked
26324   Safari: JS will revert to 'non selected' if clicked (but not gray)
26325   MSIE/Mac: indented items now visible (JS hack)
26326 * (bug 714) "plainlinks" class issues in IE, Opera
26327 * (bug 4317) Inconsistent "broken redirects" messages
26328 * Default interface text for "selflinks" tweaked
26329 * (bug 3194) default implementation of translateBlockExpiry
26330   which uses ipboptions
26331 * (bug 4446) $wgExportAllowHistory option to explicitly disable history in
26332   Special:Export form, 'exportnohistory' message to translate live hack.
26333 * Maintenance script to delete unused user accounts
26334 * (bug 912) Search box easier to reach in text browsers (lynx, links)
26335 * $wgParserCacheExpireTime added
26336 * Skip loading of RecentChange.php except where needed
26337 * Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source
26338   size. This is necessary to limit server memory usage.
26339 * Cleanup and error checking on Special:Listredirects
26340 * Clear up some instances of old OutputPage::sysopRequired() function usage
26341 * Improve "upload disabled" notice
26342 * Move parts of index.php to include/Wiki.php in an attempt to both cleanup
26343   index.php and create a MediaWiki-class mediaWiki base object
26344 * (bug 4104) Added OutputPageBeforeHTML hook for tweaking primary wiki output
26345   HTML on final output (cached or not)
26346 * Avoid PHP notice on command-line scripts if empty argument is passed ('')
26347 * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
26348 * (bug 3502) Bowtie symbol for TeX
26349 * (bug 4000) Support for \textstyle et al. in <math>
26350 * (bug 1663) support color in TeX formulas
26351 * (bug 2026) missing glue around \not= (TeX)
26352 * (bug 4576) Missing '>' broke license selector's first option in IE, Opera
26353 * Override $wgLocaltimezone in parser tests for us outside Iceland and UK
26354 * Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT
26355 * Remove redundant 'echo' statements from MonoBook.php
26356 * (bug 1103) Fix up redirect handling for images, categories
26357   Redirects are now followed from the top-level, outside of the Article
26358   content loading and viewing, for clarity and consistency.
26359 * (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
26360   page view (comes after parser cache, if used). Patch by ThomasV.
26361 * Linker::formatComment corrupted the passed title object on PHP 5
26362   if the comment included a section link. Use clone() to make a safe copy.
26363 * Add wfClone() wrapper since we're still using PHP 4 on some servers.
26364 * Remove obsolete killthread.php
26365 * Added wfDie() wrapper, and some manual die(-1), to force the return code
26366   to the shell to return nonzero when we crap out with an error.
26367 * Allow input of the stub from a compressed file instead of stdin
26368   for dumpTextPass.php; easier to get errors back on the shell
26369 * Added an attractive space on the namespace selector on contribs
26370 * Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
26371   Fixes use of named entities in sigs on PHP 5
26372 * (bug 4482) Include move comment on the null edit as well as the redirect
26373 * (bug 3990) Use existing session name if session.auto_start is on
26374   Fixes checks for open sessions, such as the cookie warning on login.
26375   Patch by Zbigniew Braniecki.
26376 * Add cache-safe alternate sitenotice for anonymous users.
26377   (MediaWiki:Anonnotice) This is displayed instead of the regular sitenotice,
26378   if it exists. If not, the regular sitenotice shows. If that doesn't exist,
26379   the value of $wgSiteNotice is used, and if that's null, then nothing is shown.
26380 * Spit the generated LocalSettings code out during the installer as an aid
26381   to debugging issues. (Keep this?)
26382 * Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
26383   when the directory is relocated for typical usage.
26384 * Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
26385   For typical usage this will be a light burden and should reduce confusion
26386   when the configuration is edited.
26387 * Fix $wgCacheEpoch's effect on client-side caching.
26388 * (bug 1122) gray out 'older revision' when viewing first article revision.
26389 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
26390 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
26391   name attribute)
26392 * (bug 3350) Missing label for move talk page checkbox.
26393 * (bug 2108) Sort entries when using category browser
26394 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
26395 * Add ".deps.php" include-file preloaders for some dynamically-loaded
26396   language and skin classes. Should help with the broken base-class
26397   problem under PHP 5 with APC as opcode cache. See details:
26398   https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/4NVSC4LAZX6ACO77QVLRQYAWULAJCKJ2/
26399 * Small changes to tabs in Monobook skin c/o Chris Ware
26400 * (bug 4679) Work around buggy basename() function in PHP5, which breaks
26401   uploads of files starting with multibyte characters on Linux.
26402   wfBaseName() doesn't suffer this bug, and understands backslash on
26403   both Unix and Windows.
26404 * (bug 3603) headscripts variable not hooked up to MonoBook skin
26405 * Allow local cdb-based interwiki cache
26406 * Use the "block", not the "protect" permission, when determining whether to
26407   show a "block user" link in the toolbox
26408 * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
26409 * Suppress useless percentage indicator on output from 7za during dumps
26410 * (bug 4633) Add (previous 200) (next 200) also above catlinks
26411 * (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
26412   pages with only one revision. Fixes message diff link on first edit.
26413 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
26414 * Do not check lag on external storage servers
26415 * Do not tidy interface messages (unless full tidy is set)
26416 * Do not trust equality propagation and give more hints to MySQL
26417   optimizer for revision fetches (avoids index scans)
26418 * Use revision rate for ETA in dump generation; it tends to be more stable
26419   than the per-page count for full-history dumps.
26420 * Include timestamp in wfDebugLog breakouts
26421 * (bug 4469) Namespace-specific notice to be displayed below site-notice
26422   Edit messages like "MediaWiki:Namespacenotice-" plus namespace name
26423   which is blank for main namespace, or like e.g. "User_talk"
26424 * Adjust user login/creation form hooks to work with a captcha plugin
26425 * (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
26426 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
26427   and seems to work ok with other bits. No longer including the IE
26428   workarounds JavaScript for IE 7 and above.
26429 * Fix extra namespace for Bulgarian
26430 * (bug 4303) Add $wgFavicon to change the shorticon icon link from
26431   the default /favicon.ico or disable it (if set to false)
26432 * (bug 3347) strip linebreaks in math error source
26433 * (bug 4841) Warning for non-logged-in edits
26434 * (bug 4867) Leave invalid EXIF date fields unformatted instead of
26435   showing a bogus current timestamp
26436 * Reset $wgActionPaths during parser test; corrects some false failures
26437   in the automated test report.
26438 * (bug 4875) Define a div containing the shared image description
26439 * (bug 4860) Expose Title->userCan() as Hooks
26440 * (bug 4828) Fix genitive month-name variable for cs, pl, uk
26441 * (bug 4842) Fix 'show number of watching users' with enhanced RC
26442 * (bug 4889) Fix image talk namespace for Tamil
26443 * (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries
26444 * (partial bug 3456) Disable auto redirect to Main Page after account creation
26445 * (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages
26446 * Added support for wikidiff2 and similar external diff engines.
26447 * Allow cookies to be shared between multiple wikis with a shared user database
26448 * Blocking some Unicode whitespace characters in usernames. Should check
26449   if some or all should be blocked from all page titles.
26450 * Unknown log types no longer throw notices everywhere in RecentChanges
26451 * (bug 4502, 5017) Don't render potentially hostile deleted page contents
26452   on Special:Undelete by default; show source, with an optional preview.
26453   The revisions list no longer shows the latest text by default, so it can
26454   still be operated if the text is hostile.
26455 * (bug 5013) Check for existence on "return to" links
26456 * Removed trailing whitespace on a bunch more messages.
26457 * Fix missing bad title check in Special:Booksources
26458 * Remove empty booksources string in fy
26459 * Avoid corrupting <gallery> inside <!-- comment -->
26460 * Remove legacy PHPTal code, hasn't been maintained in ages.
26461 * Tweak Userlogin include order for APC issue
26462 * Don't try to link to current page on protection tab
26463 * More exact checking in Title::equals() to fox moves of numerically similar
26464   page titles. (Odd hex title bug on 64-bit.)
26465 * Fix explicit s-maxage=0 on raw pages; should help with proxy issues in
26466   generated stylesheets... hopefully...
26467 * (bug 4685) More fixes for Slovenian project namespace
26468 * Fixed and enhanced a little the Live Preview, which had been broken for some
26469   time
26470 * Added article size limit, $wgMaxArticleSize
26471 * (bug 4974) Don't follow redirected talk page on "new messages" link
26472 * (bug 4970) Make category paging limits configurable
26473 * (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't
26474   exist
26475 * Make Live Preview an user preference, still controllable by the global
26476   variable
26477 * Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow
26478   updated language code assignments
26479 * (bug 5081) Remove bogus fix for invalid characters in links which simply
26480   broke use of legitimate multiple whitespace characters in bracketed link.
26481 * (bug 4838) Add relative oldids (prev, next, cur) for raw pages
26482   Patch by Lupin
26483 * (bug 5086) Force image resize dimensions on ImageMagick, as for instance
26484   "-resize 100x35!"; some thumbs were off due to differences in rounding and
26485   would be generated smaller than expected.
26486 * (bug 5062) Width sometimes one pixel short when using maximum heights
26487 * Purge thumbnails and metadata cache for action=purge on an image page
26488 * (bug 4273) Bounce back with a message when attempting to submit a new comment
26489   with an empty main textbox (user probably hit Enter in subject field)
26490 * (bug 5141) Gracefully handle the new account link when createaccount off
26491 * (bug 5150 and related) Fix missing ID attribute in HTML namespace selector
26492 * (bug 5152) Proper HTML escaping on subpage breadcrumbs
26493 * (bug 4855) Section edit links now have the section name in the title
26494   attribute.
26495 * (bug 2115) Support shift-selecting multiple checkboxes with JavaScript.
26496 * (bug 5161) Don't try to load template list for nonexistent pages
26497 * (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
26498   unnecessary hidden UI work when watch/unwatch is performed on edit
26499 * Fixed bogus master fallback in external storage
26500 * (bug 5246) Add speak:none to "hiddenStructure" class in main.css
26501 * Further work on rev_deleted; changed to a bitfield with several data-hiding
26502   options. Not yet ready for production use; Special:Revisiondelete is
26503   incomplete, and the flags are not preserved across page deletion/undeletion.
26504   To try it; add the 'deleterevision' permission to a privileged group.
26505 * (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa
26506 * Add a clickable contribs link in user tool links (rc, watchlist, diff view)
26507   to see how people like it. (There was one in the old hacked-up diff view.)
26508 * (bug 5236) Load wikibits.js before site-customized javascript
26509 * (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
26510   from linktrail, as they're not used anywhere else.
26511 * (bug 4781) Output links with the percent-encoding they're supplied with;
26512   save the normalization for internal link storage. The normalization is a bit
26513   buggy and can make incorrect foldings in the query string and such, so isn't
26514   reliable beyond the hostname where it's used for the spam bulk checker.
26515 * Don't URL-decode in the title attribute for URL links; it can produce false
26516   results that don't code back to their original values.
26517 * (bug 4611) Add user preference (default on) to add new pages to creators's
26518   watchlist
26519 * (bug 5286) Fix regression in display of missing/bad revision IDs
26520 * (bug 4729) Add user preference that marks a user's edits as patrolled if user
26521   is able to
26522 * (bug 4630) Add user preference to prompt users when entering blank edit
26523   summaries
26524 * Added optional suggest feature for the search box. Set wgUseAjax to true to
26525   enable it.
26526 * (bug 5277) Use audio/midi rather that audio/mid
26527 * (bug 5410) Use namespace name when a custom namespace's nstab-NS message is
26528   nonexistent
26529 * (bug 5432) Fix inconsistencies in cookie names when using table prefixes
26530 * Additional protections against HTML breakage in table parsing
26531 * (bug 5355) Include skin name and style JS settings in page source;
26532   fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
26533   when wikibits.js was moved up before user JS inclusion.
26534 * Added $wgColorErrors: if set, database error messages will be highlighted
26535   when running command-line scripts in a Unix terminal.
26536 * (bug 5195) rebuildrecentchanges.php works again; Database::insertSelect now
26537   has a parameter for select options.
26538 * Fix updateSearchIndex.php for new schema
26539 * Fix bogus "filename too short" error when uploading files with a period in the
26540   base name, e.g. "Mr. Zee.png"
26541 * (bug 2139) Show page title in subtitle when viewing "read only" page
26542 * (bug 5452) Update language name for Cree
26544 == Compatibility ==
26546 Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must
26547 upgrade to 4.3 or later.
26549 MediaWiki 1.6 is the last major version to support PHP 4; future versions will
26550 require PHP 5.
26552 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
26553 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
26555 == Upgrading ==
26557 Several changes to the database have been made from 1.5; these are relatively
26558 minor but do require that the update process be run before the new code will
26559 work properly:
26561 * A new "templatelinks" table tracks template inclusions.
26562 * A new "externallinks" table tracks URL links; this can be used by a mass
26563 spam-cleanup tool in the SpamBlacklist extension.
26564 * A new "jobs" table stores a queue of pages to update in the background; this
26565 is used to update links in including pages when templates are edited.
26567 To ensure that these tables are filled with data, run refreshLinks.php after
26568 the upgrade.
26570 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
26571 changes are made, and there is a slightly higher chance that things could
26572 break. Don't forget to always back up your database before upgrading!
26574 === Caveats ===
26576 Some output, particularly involving user-supplied inline HTML, may not produce
26577 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
26578 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
26579 recommended on live sites. (This must be set for MathML to display properly in
26580 Mozilla.)
26583 = MediaWiki 1.5 =
26585 == MediaWiki 1.5.9 ==
26586 * (bug 3359) Add hooks on completion of file upload
26588 == MediaWiki 1.5.8 ==
26590 March 26, 2006
26592 MediaWiki 1.5.8 is a security and bugfix maintenance release.
26594 A bug in decoding of certain encoded links could allow injection of raw
26595 HTML into page output; this could potentially lead to XSS attacks.
26597 Some minor UI fixes were also made, see the change log at the bottom of
26598 this file.
26601 == MediaWiki 1.5.7 ==
26603 March 2, 2006
26605 MediaWiki 1.5.7 is a bugfix maintenance release.
26607 Most importantly, a security issue in the installer has been fixed. The bug
26608 affects new installations of 1.5.6 only. If the user specified the MySQL root
26609 password, to allow the installer to create an unprivileged account, the
26610 installer would not only create the new account but also change the root
26611 password to be equal to the password of the new account.
26613 Anyone affected by this bug will need to change the root password back
26614 manually. For information about how to change passwords in MySQL please see:
26615 http://dev.mysql.com/doc/refman/5.1/en/passwords.html
26617 This version includes fixes for compatibility with Internet Explorer 7
26618 beta 2, and various other bugs; see the full changelog at the end of
26619 the release notes.
26622 == MediaWiki 1.5.6 ==
26624 January 19, 2006
26626 MediaWiki 1.5.6 is a security and bugfix maintenance release.
26628 A bug in edit comment formatting could send PHP into an infinite loop
26629 if certain malformed links were included. In most installations, this
26630 would cause the script to fail after PHP's 30-second failsafe timeout.
26632 Some improvements have been made to the installer which should make
26633 installation possible on a system with a broken MySQL "root" account.
26635 For several other minor fixes, see the complete changelog at the end
26636 of this file.
26639 == MediaWiki 1.5.5 ==
26641 January 5, 2006
26643 MediaWiki 1.5.5 is a security and bugfix maintenance release.
26645 Detection for uploads of Windows Metafile (.wmf) images has been added
26646 to help protect against a client-side vulnerability in unpatched Microsoft
26647 Windows operating systems.
26649 Sites which have enabled uploads and added non-standard file types
26650 (such as .ogg, .doc, or .pdf) should upgrade to this release to ensure
26651 that malicious .wmf files can't be uploaded with a fake extension;
26652 such files could put visitors to the site at risk.
26654 For more details on this, see:
26655 https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
26657 Additionally, a maintenance script removeUnusedAccounts.php has been added;
26658 this replaces an older Perl script which had not been updated for the new
26659 schema in 1.5.
26662 == MediaWiki 1.5.4 ==
26664 December 21, 2005
26666 MediaWiki 1.5.4 is a security and bugfix maintenance release.
26668 A hardcoded internal placeholder string has been replaced with a random
26669 one. This closes a hole where security checks in inline style attributes
26670 could be bypassed, injecting JavaScript code that could execute in
26671 Microsoft Internet Explorer.
26673 Other browsers would not be vulnerable.
26675 Several minor fixes are included in this release, most notably a fix
26676 to clear the "you have new messages" flag properly for usernames
26677 containing spaces when e-mail notification is enabled.
26679 See the changelog at the end of the release notes for a full list of
26680 fixes.
26683 == MediaWiki 1.5.3 ==
26685 December 4, 2005
26687 MediaWiki 1.5.3 is a security and bugfix maintenance release.
26689 Validation of the user language option was broken by a code change in
26690 May 2005, opening the possibility of remote code execution as this
26691 parameter is used in forming a class name dynamically created with
26692 eval().
26694 The validation has been corrected in this version. All prior 1.5 release
26695 and prelease versions are affected; 1.4 and earlier and not affected.
26697 Additionally several bugs have been fixed; see the changelog later in
26698 this file for a complete list.
26701 == MediaWiki 1.5.2 ==
26703 November 2, 2005
26705 MediaWiki 1.5.2 is a bugfix maintenance release.
26707 A change in PHP 4.4.1 and PHP 5.1.0RC broke handling of extension and
26708 <pre> sections, causing garbage data to be inserted in output and saved
26709 edits. This version works around the change.
26711 Several other glitches with MySQL 5.0 and PHP 5.0.5 were also fixed;
26712 see the change log below for a complete list.
26715 == MediaWiki 1.5.1 ==
26717 October 26, 2005
26719 MediaWiki 1.5.1 is a bugfix and security maintenance release, and is a
26720 recommended upgrade for all installations.
26722 This release includes further corrections to the inline CSS style sanitation
26723 which works around a JavaScript "feature" on Microsoft Internet Explorer.
26724 Users of Microsoft Internet Explorer for Windows may be vulnerable to
26725 XSS injections on prior versions; users of standards-compliant browsers
26726 are not vulnerable.
26728 Major fixes include:
26729 * Image pages work again with resizing disabled
26730 * Works in MySQL 5.0 strict mode
26732 There is experimental support in this release for explicitly declaring
26733 the UTF-8 charset in the database; this has been tested with MySQL 5.0.15
26734 but should work on 4.1 as well.
26736 IMPORTANT: Changing this setting on an existing wiki may produce interesting
26737 data corruption, depending on server configuration. Page contents should,
26738 usually, be unaffected, but page titles and other items may be. Limitations
26739 in MySQL's Unicode support mean that characters outside the BMP cannot be used
26740 in page titles or various other fields when using this mode.
26742 Table definitions are in maintenance/mysql5/tables.sql, and the runtime
26743 option to send 'SET NAMES utf8' is set by $wgDBmysql5 = true.
26745 (MySQL 3.23.x and 4.0.x do not support character set declarations; on these
26746 versions MediaWiki simply works with UTF-8 data and MySQL is blissfully
26747 unaware of it.)
26751 == MediaWiki 1.5.0 final ==
26753 October 5, 2005
26755 MediaWiki 1.5.0 is the new stable release branch of MediaWiki, and is
26756 recommended for all new installations.
26758 Any wikis running a 1.5 beta or release candidate are strongly recommended
26759 to upgrade to the final release, which includes a number of bug fixes and
26760 a security fix for CSS bugs in Microsoft Internet Explorer.
26762 IMPORTANT: Running a 1.3 or 1.4 wiki and don't want to jump to 1.5 yet?
26763 Be sure to upgrade to 1.3.17 or 1.4.11, also released today. Versions
26764 prior to 1.3.16 and 1.4.10 have a serious data corruption bug which is
26765 triggered by a spambot known to operate in the wild.
26768 === What's new in 1.5? ===
26770 Schema:
26771   The core table schema has changed significantly. This should make better
26772   use of the database's cache and disk I/O, and make significantly speed up
26773   rename and delete operations on pages with very long edit histories.
26775   Unfortunately this does mean upgrading a wiki of size from 1.4 will require
26776   some downtime for the schema restructuring, but future storage backend
26777   changes should be able to integrate into the new system more easily.
26779 Permalinks:
26780   The current revision of a page now has a permanent 'oldid' number assigned
26781   immediately, and the id numbers are now preserved across deletion/undeletion.
26782   A permanent reference to the current revision of a page is now just a matter
26783   of going to the 'history' tab and copying the first link in the list.
26785 Page move log:
26786   Renames of pages are now recorded in Special:Log and the page history.
26787   A handy revert link is available from the log for sysops.
26789 Editing diff:
26790   Ever lost track of what you'd done so far during an edit? A 'Show diff'
26791   button on the edit page now makes it easy to remember.
26793 Uploads:
26794   It's now possible to specify the final filename of an upload distinct
26795   from the original filename on your disk.
26797   An image link for a missing file will now take you straight to the upload
26798   page.
26800   More metadata is pre-extracted from uploaded images, which will ease pressure
26801   on disk or NFS volumes used to store images. EXIF metadata is displayed on
26802   the image description page if PHP is configured with the necessary module.
26804   If .svg files are added to the upload whitelist, you can choose to render
26805   them to rasterized .png images for inline display using one of several
26806   external helper programs. See DefaultSettings.php for SVG options.
26808 User accounts:
26809   There are some changes to the user permissions system, with assignable
26810   groups. Note that this does *not* allow you to make pages which are only
26811   accessible to certain groups.
26813   For details see: https://www.mediawiki.org/wiki/Manual:User_rights
26815 E-mail:
26816   User-to-user e-mail can now be restricted to require a mail-back confirmation
26817   first to reduce potential for abuse with false addresses.
26819   Updates to user talk pages and watchlist entries can optionally send e-mail
26820   notifications.
26822 External hooks:
26823   A somewhat experimental interface for hooking in an external editor
26824   application is included.
26826 And...
26827   A bunch of stuff we forgot to mention.
26830 === What's gone? ===
26832 Latin-1:
26833   Wikis must now be encoded in Unicode UTF-8; this has been the default for
26834   some time, but some languages could optionally be installed in Latin-1 mode.
26835   This is no longer supported.
26837   You can check if your current wiki is in Latin-1 mode by using your browser's
26838   "view source"; look for a line like this:
26840     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26842   If it says charset=utf-8, you're ready. If it says charset=iso8859-1,
26843   you may need to convert your data. (English-language wikis avoiding
26844   any accented characters may be able to get away without conversion.)
26846 MySQL 3.x:
26847   Some optimization hacks for MySQL 3.x have been removed as part of the schema
26848   clean-up (specifically, the inverse_timestamp fields).
26850   MediaWiki 1.5 may still run on 3.x, but wikis of non-trivial size should
26851   very seriously consider upgrading to a more modern release. MySQL 3.x support
26852   will probably be entirely dropped in the next major release.
26854 Special:Maintenance
26855   These tools were, ironically enough, not really maintained. This special
26856   page has been removed; insofar as some of its pieces were useful and haven't
26857   already been supplanted by other special pages they should be rewritten in
26858   an efficient and safe manner in the future.
26861 === Caveats ===
26863 Upgrade:
26864   Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8.
26865   A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of
26866   old page text entries, but other metadata fields (titles, comments etc) need
26867   to be pre-converted. The standard upgrade process does not yet fully automate
26868   this, but you can try the alternate partial-upgrader in upgrade1_5.php.
26870   The upgrade from 1.4 to 1.5 schema has not been tested for all cases, so
26871   it's possible you may experience problems in some combinations.
26873 Backups:
26874   The text entries of deleted pages are no longer removed from the main
26875   text table on deletion. If you provide public backup dumps of your databases,
26876   you will probably want to use the new XML-format dump generator, available
26877   as maintenance/dumpBackup.php.
26879   For more information on how we run our own public data dumps at Wikimedia,
26880   see http://meta.wikimedia.org/wiki/Data_dumps
26882 PostgreSQL:
26883   The table definitions for PostgreSQL install are out of date. PostgreSQL
26884   support may return in later releases, pending appropriate patches.
26886 MySQL 4.1+:
26887   Some users may encounter installation problems with MySQL 4.1 or higher
26888   due to strange charset encoding / collation configurations. Try setting
26889   to 'latin1' or 'utf8' if you encounter problems.
26893 == MediaWiki 1.5 release candidate 4 ==
26895 August 29, 2005
26897 MediaWiki 1.5rc4 is a preview release of the new 1.5 release series.
26898 It fixes compatibility with PHP 5.1, and corrects two cross-site scripting
26899 security bugs:
26901 * <math> tags were handled incorrectly when TeX rendering support is off,
26902   as in the default configuration.
26903 * Extension or <nowiki> sections in Wiki table syntax could bypass HTML
26904   style attribute restrictions for cross-site scripting attacks against
26905   Microsoft Internet Explorer
26907 Wikis where the optional math support has been *enabled* are not vulnerable
26908 to the first, but are vulnerable to the second.
26912 == MediaWiki 1.5 release candidate 3 ==
26914 August 24, 2005
26916 MediaWiki 1.5rc3 is a preview release of the new 1.5 release series.
26917 It fixes several major problems in 1.5rc2:
26919 * Fixed a cross-site scripting injection in the search form
26920   (broken since 1.5beta1)
26922 * Fixed upgrades from 1.4 database schema
26923   (broken since 1.5rc2)
26925 1.3 and 1.4 releases are not vulnerable to the XSS bug, but anyone
26926 running an earlier 1.5 beta or release candidate should upgrade
26927 immediately.
26930 == MediaWiki 1.5 release candidate 2 ==
26932 August 23, 2005
26934 MediaWiki 1.5rc2 is a preview release of the new 1.5 release series.
26935 Numerous bug fixes since last beta, plus a security fix; see change
26936 log below for full details.
26938 A flaw in the interaction between extensions and HTML attribute
26939 sanitization was discovered which could allow unauthorized use
26940 of offsite resources in style sheets, and possible exploitation
26941 of a JavaScript injection feature on Microsoft Internet Explorer.
26943 This version expands the returned text and properly checks it
26944 before output.
26946 A 1.5rc1 release was mistakenly made from the incorrect source code
26947 branch; 1.5rc2 is identical to the actual 1.5rc1 in revision control
26948 except for version number.
26951 == MediaWiki 1.5 beta 4 ==
26953 July 30, 2005
26955 MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series.
26956 A number of bugs have been fixed since beta 3; see the full changelist below.
26959 == MediaWiki 1.5 beta 3 ==
26961 July 7, 2005
26963 MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release
26964 series, with a security update over beta 2.
26966 Incorrect escaping of a parameter in the page move template could
26967 be used to inject JavaScript code by getting a victim to visit a
26968 maliciously constructed URL. Users of vulnerable releases are
26969 recommended to upgrade to this release.
26971 Vulnerable versions:
26972 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
26973 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
26974 * 1.3 legacy series: not vulnerable
26976 This release also includes several bug fixes and localization updates.
26977 See the changelog at the end of this file for a detailed list.
26981 == MediaWiki 1.5 beta 2 ==
26983 July 5, 2005
26985 MediaWiki 1.5 beta 2 is a preview release of the new 1.5 release series.
26986 While most exciting new bugs should have been ironed out at this point,
26987 third-party wiki operators should probably not run this beta release
26988 on a public site without closely following additional development.
26990 Anyone who _has_ been running beta 1 is very very strongly advised to
26991 upgrade to beta 2, as it fixes many bugs from the previous beta including
26992 a couple of HTML and SQL injections.
26994 This release should be followed by one or two release candidates and
26995 a 1.5.0 final within the next few weeks.
26997 Beta upgraders, note there are some minor database changes. For upgrades
26998 from 1.4, see the file UPGRADE for details on significant database and
26999 configuration file changes.
27001 Beta 2 includes a preliminary command-line XML wiki dump importer tool,
27002 maintenance/importDump.php, paired with maintenance/dumpBackup.php.
27003 These use the same format as Special:Export and Special:Import, able
27004 to package a wiki's entire page set independent of the backend database
27005 and compression format.
27008 == MediaWiki 1.5 beta 1 ==
27010 June 26, 2005
27012 MediaWiki 1.5 beta 1 is a preview release, pretty much feature complete,
27013 of the new 1.5 release series. There are several known and likely a number
27014 of unknown bugs; it is not recommended to use this release in a production
27015 environment but would be recommended for testing in mind of an upcoming
27016 deployment.
27018 A number of significant changes have been made since the alpha releases,
27019 including database changes and a reworking of the user permissions settings.
27020 See the file UPGRADE for details of upgrading and changing your prior
27021 configuration settings for the new system.
27025 == MediaWiki 1.5 alpha 2 ==
27027 June 3, 2005
27029 MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
27030 and a security update.
27032 Incorrect handling of page template inclusions made it possible to
27033 inject JavaScript code into HTML attributes, which could lead to
27034 cross-site scripting attacks on a publicly editable wiki.
27036 Vulnerable releases and fix:
27037 * 1.5 prerelease: fixed in 1.5alpha2
27038 * 1.4 stable series: fixed in 1.4.5
27039 * 1.3 legacy series: fixed in 1.3.13
27040 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
27043 == MediaWiki 1.5 alpha 1 ==
27045 May 3, 2005
27047 This is a testing preview release, being put out mainly to aid testers in
27048 finding installation bugs and other major problems. It is strongly recommended
27049 NOT to run a live production web site on this alpha release.
27051 **  WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH  **
27052 **  TERMITES, ROT YOUR TEETH,  GROW HAIR ON YOUR PALMS, AND PASTE  **
27053 **  INNUENDO  INTO  YOUR  C.V.  RIGHT  BEFORE  A  JOB  INTERVIEW!  **
27054 **  DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE.  **
27057 === Smaller changes since 1.4 ===
27059 Various bugfixes, small features, and a few experimental things:
27061 * 'live preview' reduces preview reload burden on supported browsers
27062 * support for external editors for files and wiki pages:
27063   https://www.mediawiki.org/wiki/Manual:External_editors
27064 * Schema reworking:
27065   https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004
27066 * (bug 15) Allow editors to view diff of their change before actually submitting
27067   an edit
27068 * (bug 190) Hide your own edits on the watchlist
27069 * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN.
27070 * (bug 1015) support for the full wikisyntax in <gallery> captions.
27071 * (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload.
27072 * (bug 1352) Images on description pages now get thumbnailed regardless of
27073   whether the thumbnail is larger than the original.
27074 * (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of
27075   the current month
27076 * (bug 1668) 'Date format' supported for other languages than English, see:
27077   https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/5SH5IDCNYZTRBQQZ33GS7WYDEJ3PSEZE/
27078 * (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff
27079   database revision id, useful for proper citation.
27080 * (bug 1998) Updated the Russian translation.
27081 * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType
27082 * (bug 2084) Fixed a regular expression in includes/Title.php that was accepting
27083   invalid syntax like #REDIRECT [[foo] in redirects
27084 * It's now possible to invert the namespace selection at Special:Allpages and
27085   Special:Contributions
27086 * No longer using sorbs.net to check for open proxies by default.
27087 * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true
27088   if one wishes to enable uploads.
27089 * Supplying a reason for a block is no longer mandatory
27090 * Language conversion support for category pages
27091 * $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory;
27092 * Special:Movepage can now take parameters like Special:Movepage/Page_to_move
27093   (used to just be able to take parameters via a GET request like
27094   index.php?title=Special:Movepage&target=Page_to_move)
27095 * (bug 2151) The delete summary now includes editor name, if only one has edited
27096   the article.
27097 * (bug 2105) Fixed from argument to the PHP mail() function. A missing space
27098   could prevent sending mail with some versions of sendmail.
27099 * (bug 2228) Updated the Slovak translation
27100 * ...and more!
27103 === Changes since 1.5alpha1 ===
27105 * (bug 73) Category sort key is set to file name when adding category to
27106   file description from upload page (previously it would be set to
27107   "Special:Upload", causing problems with category paging)
27108 * (bug 419) The contents of the navigation toolbar are now editable through
27109   the MediaWiki namespace on the  MediaWiki:navbar page.
27110 * (bug 498) The Views heading in MonoBook.php is now localizable
27111 * (bug 898) The wiki can now do advanced sanity check on uploaded files
27112   including virus checks using external programs.
27113 * (bug 1692) Fix margin on unwatch tab
27114 * (bug 1906) Generalize project namespace for Latin localization, update
27115   namespaces
27116 * (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs
27117 * (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order
27118   to preserve the correct flow of text on RTL wikis.
27119 * (bug 2067) Fixed crash on empty quoted HTML attribute
27120 * (bug 2075) Corrected namespace definitions in Tamil localization
27121 * (bug 2079) Removed links to Special:Maintenance from movepagetext message
27122 * (bug 2094) Multiple use of a template produced wrong results in some cases
27123 * (bug 2095) Triple-closing-bracket thing partly fixed
27124 * (bug 2110) "noarticletext" should not display on Image page for "sharedupload"
27125   media
27126 * (bug 2150) Fix tab indexes on edit form
27127 * (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
27128 * (bug 2176) Section edit 'show changes' button works correctly now
27129 * (bug 2178) Use temp dir from environment in parser tests
27130 * (bug 2217) Negative ISO years were incorrectly converted to BC notation
27131 * (bug 2234) allow special chars in database passwords during install
27132 * Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is
27133   now the wikisyntax representation of wfMsgForContent()
27134 * Fix for reading incorrectly re-gzipped HistoryBlob entries
27135 * HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
27136   multiple-revision pulls
27137 * Add $wgLegacySchemaConversion update-time option to reduce amount of
27138   copying during the schema upgrade: creates HistoryBlobCurStub reference
27139   records in text instead of copying all the cur_text fields. Requires
27140   that the cur table be left in place until/unless such fields are migrated
27141   into the main text store.
27142 * Special:Export now includes page, revision, and user id numbers by
27143   default (previously this was disabled for no particular reason)
27144 * dumpBackup.php can dump the full database to Export XML, with current
27145   revisions only or complete histories.
27146 * The group table was renamed to groups because "group" is a reserved word in
27147   SQL which caused some inconveniances.
27148 * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o,
27149   ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE
27150   crystalsvg theme.
27151 * Fixed a bug in Special:Newimages that made it impossible to search for '0'
27152 * Added language variant support for Icelandic, now supports "Íslenzka"
27153 * The #p-nav id in MonoBook is now #p-navigation
27154 * Putting $4 in msg:userstatstext will now give the percentage of
27155   admnistrators out of normal users.
27156 * links and brokenlinks tables merged to pagelinks; this will reduce pain
27157   dealing with moves and deletes of widely-linked pages.
27158 * Add validate table and val_ip column through the updater.
27159 * Simple rate limiter for edits and page moves; set $wgRateLimits
27160   (somewhat experimental; currently needs memcached)
27161 * (bug 2262) Hide math preferences when TeX is not enabled
27162 * (bug 2267) Don't generate thumbnail at the same size as the source image.
27163 * Fix rebuildtextindex.inc for new schema
27164 * Remove linkscc table code, no longer used.
27165 * (bug 2271) Use faster text-only link replacement in image alt text
27166   instead of rerunning expensive link lookup and HTML generation.
27167 * Only build the HTML attribute whitelist tree once.
27168 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
27169   that does both numeric and named chars: Sanitizer::decodeCharReferences
27170 * Removed some obsolete UTF-8 converter functions
27171 * Fix function comment in debug dump of SQL statements
27172 * (bug 2275) Update search index more or less right on page move
27173 * (bug 2053) Move comment whitespace trimming from edit page to save;
27174   leaves the whitespace from the section comment there on preview.
27175 * (bug 2274) Respect stub threshold in category page list
27176 * (bug 2173) Fatal error when removing an article with an empty title from the
27177   watchlist
27178 * Removed -f parameter from mail() usage, likely to cause failures and bounces.
27179 * (bug 2130) Fixed interwiki links with fragments
27180 * (bug 684) Accept an attribute parameter array on parser hook tags
27181 * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
27182   LDAP authentication plugin
27183 * (bug 2034) Armor HTML attributes against template inclusion and links munging
27185 === Changes since 1.5alpha2 ===
27187 * (bug 2319) Fix parse hook tag matching
27188 * (bug 2329) Fix title formatting in several special pages
27189 * (bug 2223) Add unique index on user_name field to prevent duplicate accounts
27190 * (bug 1976) fix shared user database with a table prefix set
27191 * (bug 2334) Accept null for attribs in wfElement without PHP warning
27192 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
27193   with proper validation checks. (regression from fix for 2304)
27194 * Disallow close tags and enforce empty tags for <hr> and <br>
27195 * Changed user_groups format quite a bit.
27196 * (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line
27197 * (bug 2367) Insert correct redirect link record on page move
27198 * (bug 2372) Fix rendering of empty-title inline interwiki links
27199 * (bug 2384) Fix typo in regex for IP address checking
27200 * (bug 650) Prominently link MySQL 4.1 help page in installer if a possible
27201   version conflict is detected
27202 * (bug 2394) Undo incompatible breakage to {{msg:}} compatibility includes
27203 * (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1
27204   when the default charset is set to utf8
27205 * (bug 2400) don't send confirmation mail on account creation if
27206   $wgEmailAuthentication is false.
27207 * (bug 2172) Fix problem with nowiki beeing replaced by marker strings
27208   when a template with a gallery was used.
27209 * Guard Special:Userrights against form submission forgery
27210 * (bug 2408) page_is_new was inverted (whoops!)
27211 * Added wfMsgHtml() function for escaping messages and leaving params intact
27212 * Fix ordering of Special:Listusers; fix groups list so it shows all groups
27213   when searching for a specific group and can't be split across pages
27214 * (bug 1702) Display a handy upload link instead of a useless blank link
27215   for [[media:]] links to nonexistent files.
27216 * (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
27217 * (bug 1805) Initialise $wgContLang before $wgUser
27218 * (bug 2277) Added Friulian language file
27219 * (bug 2457) The "Special page" href now links to the current special page
27220   rather than to "".
27221 * (bug 1120) Updated the Czech translation
27222 * A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath
27223 * A new magic word, {{SERVERNAME}}, returns $wgServerName
27224 * A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the image
27225   table
27226 * Special:Imagelist displays titles with " " instead of "_"
27227 * Less gratuitous munging of content sample in delete summary
27228 * badaccess/badaccesstext to supercede sysop*, developer* messages
27229 * Changed $wgGroupPermissions to more cut-n-paste-friendly format
27230 * 'developer' group deprecated by default
27231 * Special:Upload now uses 'upload' permission instead of hardcoding login check
27232 * Add 'importupload' permission to disable direct uploads to Special:Import
27233 * (bug 2459) Correct escaping in Special:Log prev/next links
27234 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many
27235   things for the current parser to handle cleanly
27236 * (bug 2467) Added a Turkish language file
27237 * Fixed a bug in Special:Contributions that caused the namespace selection to
27238   be forgotten between submits
27239 * Special:Watchlist/edit now has namespace subheadings
27240 * (bug 1714) the "Save page" button now has right margin to separate it from
27241   "Show preview" and "Show changes"
27242 * Special:Statistics now supports action=raw, useful for bots designed to
27243   harwest e.g. article counts from multiple wikis.
27244 * The copyright confirmation box at Special:Upload is now turned off by default
27245   and can be turned back on by setting $wgCopyrightAffirmation to a true value.
27246 * Restored prior text for password reminder button and e-mail, replacing
27247   the factually inaccurate text that was there.
27248 * (bug 2178) Fix temp dir check again
27249 * (bug 2488) Format 'deletedtext' message as wikitext
27250 * (bug 750) Keep line endings consistent in LocalSettings.php
27251 * (bug 1577) Add 'printable version' tab in MonoBook for people who don't
27252   realize you can just hit print to get a nicely formatted printable page.
27253 * Trim whitespace from option values to weather line-ending corruption problems
27254 * Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA)
27255 * (bug 2504) Updated the Finnish translation
27256 * (bug 2506, 2512) Updated the Nynorsk translation
27257 * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE
27258   documentation about edit and read whitelists.
27259 * (bug 2515) Fix incremental link table update
27260 * Removed some wikipedia-specifica from LanguageXx.php's
27261 * (bug 2496) Allow MediaWiki:edithelppage to point to external page
27262 * Added a versionRequired() function to OutputPage, useful for extension
27263   writers that want to control what version of MediaWiki their extension
27264   can be used with.
27265 * Serialized user objects now checked for versioning
27266 * Fix for interwiki link regression
27267 * Printable link shorter in monobook
27268 * Experimental Latin-1-and-replication-friendly upgrader script
27269 * (bug 2520) Don't show enotif options when disabled
27271 == Changes since 1.5beta1 ==
27273 * (bug 2531) Changed the interwiki name for sh (Serbocroatian) to
27274   Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski))
27275 * Nonzero return code for command-line scripts on wfDebugDieBacktrace()
27276 * Conversion fix for empty old table in upgrade1_5.php
27277 * Try reading revisions from master if no result on slave
27278 * (bug 2538) Suppress notice on user serialized checks
27279 * Fix paging on Special:Contributions
27280 * (bug 2541) Fix unprotect tab
27281 * (bug 1242) category list now show on edit page
27282 * Skip sidebar entries where link text is '-'
27283 * Convert non-UTF-8 URL parameters even if referer is local
27284 * (bug 2460) <img> width & height properly filled when resizing image
27285 * (bug 2273) deletion log comment used user interface language
27286 * Try reading revision _text_ from master if no result on slave
27287 * Use content-language message cache for raw view of message pages
27288 * (bug 2530) Not displaying talk pages on Special:Watchlist/edit
27289 * Fixed a bug that would occour if $wgCapitalLinks was set to false, a user
27290   agent could create a username that began with a lower case letter that was
27291   not in the ASCII character set ( now user $wgContLang->ucfirst() instead of
27292   PHP ucfirst() )
27293 * Moved the user name / password validity checking from
27294   LoginForm::addNewAccountInternal() to two new functions,
27295   User::isValidUserName() and User::isValidPassword(), extensions can now do
27296   these checks without rewriting code.
27297 * Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-'
27298 * Fixed a bug where the watchlist count without talk pages would be off by a
27299   factor of two.
27300 * upgrade1_5.php uses insert ignore, allows to skip image info initialization
27301 * Fix namespaces in category list.
27302 * Add rebuildImages.php to update image metadata fields
27303 * Special:Ancientpages is expensive in new schema for now
27304 * (bug 2568) Fixed a logic error in the Special:Statistics code which caused
27305   the displayed percentage of admins to be totally off.
27306 * (bug 2560) Don't show blank width/height attributes for missing size
27307 * Don't show bogus messages about watchlist notifications when disabled
27308 * Don't show old debug messages in watchlist
27309 * (bug 2576) Fix recording of transclusion links
27310 * (bug 2577) Allow sysops to enter non-standard block times
27311 * Fixed a bug where Special:Contributions wouldn't remember the 'invert'
27312   status between next/previous buttons.
27313 * Move MonoBook printable link from tab to sidebar
27314 * (bug 2567) Fix HTML escaping on category titles in list
27315 * (bug 2562) Show rollback link for current revisions on diff pages
27316 * (bug 2583) Add --missinig option on rebuildImages.php to add db entries
27317   for uploaded files that don't have them
27318 * (bug 2572) Fix edit conflict handling
27319 * (bug 2595) Show "Earlier" and "Latest" links on history go to the first/last
27320   page in the article history pager.
27321 * Don't show empty-page text in 'Show changes' on new page
27322 * (bug 2591) Check for end, fix limits on Whatlinkshere
27323 * (bug 2584) Fix output of subcategory list
27324 * (bug 2597) Don't crash when undeleting an image description page
27325 * (bug 2564) Don't show "editingold" warning for recent revision
27326 * Various code cleanup and HTML escaping fixlets
27327 * Copy IRC-over-UDP update option from REL1_4
27328 * (bug 2548) Keep summary on 'show changes' of section edit
27329 * Move center on toc to title part to avoid breaking .toc style usage
27330 * HTML sanitizer: correct multiple attributes by keeping last, not first
27331 * (bug 2614) Fix section edit links on diff-to-current with oldid set
27332   Also fix navigation links on current-with-oldid view.
27333 * (bug 2620) Return to prior behavior for some more things (such as
27334   subpage parent links) on current-diff view.
27335 * (bug 2618) Fix regression from another fix; show initial preview for
27336   categories only if the page does not exist.
27337 * (bug 2625) Keep group & user settings when paging in Listusers
27338 * (bug 2627) Fix regression: diff radio button initial selection
27339 * Copy fix for old search URLs with Lucene search plugin from REL1_4
27340 * (bug 619) Don't use incompatible diff3 executable on non-Linux systems.
27341 * (bug 2631) Fix Hebrew namespaces.
27342 * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list
27343 * (bug 2644, 2645) "cur" diff links in page history, watchlist and
27344   recentchanges should specify current ID explicitly.
27345 * (bug 2609) Fix text justification preferenced with MonoBook skin.
27346 * (bug 2594) Display article tab as red for non-existent articles.
27347 * (bug 2656) Fix regression: prevent blocked users from reverting images
27348 * (bug 2629) Automatically capitalize usernames again instead of
27349   rejecting lowercase with a useless error message
27350 * (bug 2661) Fix link generation in contribs
27351 * Add support for &preload=Page_name (load text of an existing page into
27352 edit area) and &editintro=Page_name (load text of an existing page instead
27353 of MediaWiki:Newpagetext) to &action=edit, if page is new.
27354 * (bugs 2633, 2672, 2685, 2695) Fix Estonian, Portuguese, Italian, Finnish and
27355   Spanish numeric formatting
27356 * Fixed Swedish numeric formatting
27357 * (bug 2658) Fix signature time, localtime to match timezone offset again
27358 * Files from shared repositories (e.g. commons) now display with their
27359   image description pages when viewed on local wikis.
27360 * Restore compatibility namespace aliases for French Wikipedia
27361 * Fix diff order on Enhanced RC 'changes' link
27362 * (bug 2650) Fix national date type display on wikis that don't support
27363   dynamic date conversion.
27364 * FiveUpgrade: large table hacks, install iw_trans update before links
27365 * (bug 2648) Rename namespaces in Afrikaanse
27366 * Special:Booksources checks if custom list page exists before using it
27367 * (bug 1170) Fixed linktrail for da: and ru:
27368 * (bug 2683) Really fix apostrophe escaping for toolbox tips
27369 * (bug 923) Fix title and subtitle for rclinked special page
27370 * (bug 2642) watchdetails message in several languages used  <a></a> instead of
27371   [ ]
27372 * (bug 2181) basic CSB language localisation by Tomasz G. Sienicki (thanks for
27373   the patch)
27374 * Fix correct use of escaping in edit toolbar bits
27375 * Removed language conversion support from Icelandic
27376 * (bug 2616) Fix proportional image scaling, giving correct height
27377 * (bug 2640) Include width and height attributes on unscaled images
27378 * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs
27379 * (bug 1109) Suppress compressed output on 304 responses
27380 * (bug 2674) Include some site configuration info in export data:
27381   namespaces definitions, case-sensitivity, site name, version.
27382 * Use xml:space="preserve" hint on export <text> elements
27383 * Make language variant selection work again for zh
27385 == Changes since 1.5beta2 ==
27387 * Escaped & correctly in Special:Contributions
27388 * (bug 2534) Hide edit sections with CSS to make right click to edit section
27389   work
27390 * (bug 2708) Avoid undefined notice on cookieless login attempt
27391 * (bug 2188) Correct template namespace for Greek localization
27392 * Fixed number formatting for Dutch
27393 * (bug 1355) add class noprint to commonPrint.css
27394 * (bug 2350) Massive update for Limburgish (li) language using Wikipédia
27395 * Massive update for Arab (ar) language using Wikipédia
27396 * (bug 1560) Massive update for Kurdish (ku) language using Wikipédia
27397 * (bug 2709) Some messages were not read from database
27398 * (bug 2416) Don't allow search engine robots to index or follow nonexisting
27399   articles
27400 * Fix escaping in page move template.
27401 * (bug 153) Discrepancy between thumbnail size and <img> height attribute
27403 == Changes since 1.5beta3 ==
27405 * Fix talk page move handling
27406 * (bug 2721) New language file for Vietnamese with the Vietnamese number
27407   notation
27408 * (bug 2749) &nbsp; would appear as a literal in image galleries for Cs, Fr,
27409   Fur, Pl and Sv
27410 * (bug 787) external links being rendered when they only have one slash
27411 * Fixed a missing typecast in Language::dateFormat() that would cause some
27412   interesting errors with signitures.
27413 * (bug 2764) Number format for Nds
27414 * (bug 1553) Stop forcing lowercase in Monobook skin for German language.
27415 * (bug 1064) Implements Special:Unusedcategories
27416 * (bug 2311) New language file for Macedonian
27417 * Fix nohistory message on empty page history
27418 * Fix fatal error in history when validation on
27419 * Cleaned up email notification message formatting
27420 * Finally fixed Special:Disambiguations that was broke since SCHEMA_WORK
27421 * (bug 2761) fix capitalization of "i" in Turkish
27422 * (bug 2789) memcached image metadata now cleared after deletion
27423 * Add serialized version number to image metadata cache records
27424 * (bug 2780) Fix thumbnail generation with GD for new image schema
27425 * (bug 2791) Slovene numeric format
27426 * (bug 655) Provide empty search form when searching for nothing
27427 * Nynorsk numeric format fix
27428 * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off
27429 * (bug 2833) Fix bug in previous fix
27430 * With $wgCapitalLinks off, accept off-by-first-letter-case in 'go' match
27431 * Optional parameters for [[Special:Listusers]]
27432 * (bug 2832) [[Special:Listadmins]] redirects to [[Special:Listusers/sysop]]
27433 * (bug 785) Parser did not get out of <pre> with list elements
27434 * Some shared upload fixes
27435 * (bug 2768) section=new on nonexistent talk page does not add heading
27436 * support preload= parameter for section=new
27437 * show comment subject in preview when using section=new
27438 * use comment form when creating a new talk page
27439 * (bug 460) Properly handle <center> tags as a block.
27440 * Undo inconsistent editing behavior change
27441 * (bug 2835) Back out fix for bug 2802, caused regressions in category sort
27442 * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
27443 * (bug 2901) Number format for Catalan
27444 * Special:Allpages performance hacks: index memcached caching, removed
27445   inverse checkbox, use friendlier relative offsets in index build
27446 * Bring back "Chick" skin for mobile devices. It needs testing.
27447 * Fix spelling of $wgForwardSearchUrl in DefaultSettings.php
27448 * Specify USE INDEX on Allpages chunk queries, sometimes gets lost
27449   due to bogus optimization
27450 * (bug 275) Section duplication fix
27451 * Remove unused use of undefined variable in UserMailer
27452 * Fix notice on search index update due to non-array
27453 * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
27454 * (bug 2931) Fix additional notices on reference use in PHP 4.4.0
27455 * (bug 2774) Add three new $wgHooks to LogPage which enable extensions to add
27456   their own logtypes, see extensions/Renameuser/SpecialRenameuser.php for an
27457   example of this.
27458 * (bug 740) Messages from extensions now appear in Special:Allmessages
27459 * (bug 2857) fixed parsing of lists in <pre> sections
27460 * (bug 796) Trackback support
27461 * Fix 1.5 regression: weird, backwards diff links on new pages in enhanced RC
27462   are now suppressed as before.
27463 * New skin: Simple
27464 * "uselang" and "useskin" URL parameters can now be used in the URL when
27465   viewing a page, to change the language and skin of a page respectively.
27466 * Skins can now be previewed in preferences
27467 * (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook,
27468   patch from robla
27469 * Wrap revision insert & page update in a transaction, rollback on late
27470   edit conflict.
27471 * (bug 2953) 'other' didn't work in Special:Blockip when localized
27472 * (bug 2958) Rollback and delete auto-summary should be in the project's
27473   content language
27474 * Removed useless protectreason message
27475 * Spelling fix: $wgUrlProtcols -> $wgUrlProtocols
27476 * Switch Moldovan local name to cyrillic
27477 * Fix typo in undefined array index access prevention
27478 * (bug 2947) Update namespaces for sr localization
27479 * (bug 2952) Added Asturian language file with translated namespaces
27480 * (bug 2676) Apply a protective transformation on editing input/output
27481   for browsers that hit the Unicode blacklist. Patch by plugwash.
27482 * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php
27483 * compressOld.php disabled, as it's known to be broken.
27486 === Changes since 1.5beta4 ===
27488 * Fix Special:Allmessages under PHP 5
27489 * (bug 2911) Special:Watchlist allowed only one type of limit at a time
27490 * (bug 693) Special:Allmessages is excessively wide and redundant
27491 * (bug 3001) Updated and applied live hack for recentchanges-based watchlist
27492 * (bug 145) Finish 'exclude redirect' implementation in search form
27493 * Rearranged Special:Movepage form to reduce confusion between destination
27494   title and reason input boxes
27495 * (bug 2527) Always set destination filename when new file is selected
27496 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
27497 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
27498   if running prior to 4.2.0 as it causes the call to fail
27499 * (bug 3117) Fix display of upload size and type with tidy on
27500 * (bug 1487) invalid html on empty list in banlist
27501 * (bug 3017) Hotkey conflict for delete and show changes
27502 * made pixel unit translateable and blocklistline now eats infiniteblock
27503   and expiringblock
27504 * (bug 3092) Wrong numerical separator for big numbers in Serbian.
27505 * (bug 2855) Credit for a uniq author showed its realname even with
27506   $wgAllowRealName=false.
27507 * New special page: SpecialMostlinked
27508 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
27509 * Fix display of read-only lockfile message
27510 * Added a new hook, 'AddNewAccount', which is run after account creation
27511 * Update all stats fields on recount.sql
27512 * Include software-visible client IP address in Special:Version comment
27513   as a proxy debugging aid
27514 * (bug 3162) Fix 'undefined property page_is_new' error on watchlist
27515 * (bug 1734) granting db permissions failed with db usernames containg '-'
27516 * (bug 3170) wikititlesuffix was removed, use pagetitle instead
27517 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
27518 * (bug 3190) Added some date format choices for language sr
27519 * (bug 1334) LanguageGa.php update
27520 * (bug 1020) Changing user interface language does not work immediately
27521 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
27522 * (bug 3204) Fix typo breaking special pages in fy localization
27523 * (bug 3210) Fix Media: links with remote image URL path
27524 * (bug 3220) Fix escaping of block URLs in Recentchanges
27525 * (bug 3238): Updated LanguageNn.php for 1_5 branch
27526 * (bug 3192): properly check 'limit' parameter on Special:Contributions
27527 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
27528 * Fix URL sanitization in HTML attributes, which broke in this branch
27529 * (bug 3475) anon contrib links on Special:Newpages
27532 === Changes since 1.5rc2 ===
27534 * Fix upgrade from 1.4 due to version number check breakage
27535 * Fix upgrade from 1.4 with no old revisions
27536 * (bug 2108) Sort entries when using category browser
27537 * XSS issue : now sanitize search query input
27540 === Changes since 1.5rc3 ===
27542 * (bug 3280) Respect 'move' group permission on page moves
27543 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
27544 * Security fix for <math>
27545 * Security fix for tables
27548 === Changes since 1.5rc4 ===
27550 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
27551 * (bug 2078) Don't hide watch tab on preview
27552 * (bug 3306) Document $wgLocalTZoffset
27553 * Support SVG rendering with rsvg
27554 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
27555 * (bug 3127) Render large SVGs at image page size correctly
27556 * (bug 3448) Set page_len on undelete
27557 * (bug 2800) Don't scale up small iamges on |thumb| without explicit size
27558 * Use the real file link instead of the default-size rasterized version for
27559   large SVG images on image description page
27560 * Include the file name/type/size line for non-resized images
27561 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
27562   format as designed. Documentation comments updated.
27563 * (bug 1423) LanguageJa.php update
27564 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
27565 * (bug 3485) Fix bogus warning about filename capitalization when off
27566 * (bug 2792) Update rebuildrecentchanges.inc for new schema
27567 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
27568 * (bug 3489) PHP 5.1 compat problem with captioned images
27569 * (bug 3350) Missing label for move talk page checkbox.
27570 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
27571   by default when 'watchdefault' option is on
27572 * (bug 3182) Clear link cache during import to prevent memory leak
27573 * (bug 3573) Full Greek Translation
27574 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
27575 * (bug 3598) Update message cache on message page deletion, patch by Tietew
27576 * Blacklist additional MSIE CSS safety tricks
27579 === Changes since 1.5.0 ===
27581 * (bug 3629) Fix date & time format for Frisian
27582 * (bug 3641) Fix handling of unrecognized file uploads with known extensions
27583 * (bug 3643) Fix image page display of large images with resizing disabled
27584 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
27585   versions for convenient harvesting by automated worms
27586 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
27587 * Backport fix for reference usage notice in Special:Search on PHP 4.4.0
27588 * Backport database connect error display fix from HEAD
27589 * (bug 2773) Print style sheet no longer overrides RTL text direction
27590 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
27591   name attribute)
27592 * Wrap message page insertions in a transaction to speed up installation
27593 * Fix Special:MovePage invalid HTML attribute for reason textarea
27594 * Avoid notice warning on edit with no User-Agent header
27595 * (bug 3734) Swapped out obsolete recount.sql with initStats.php
27596 * (bug 3735) Fix to run under MySQL 5's strict mode
27597 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
27598   NOTE: Enabling this may break existing wikis, and still doesn't
27599   work for all Unicode characters due to MySQL limitations.
27600 * Sanitizer CSS comment processing order fix
27603 === Changes since 1.5.1 ===
27605 * Fix Special:BrokenRedirects on MySQL 5.0
27606 * (bug 3809) Backport fix for detecting diff3 failure
27607 * MySQL 5.0 strict mode fix for moving unwatched pages
27608 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
27609   Why do people invent these crazy options that change language semantics?
27610 * (bug 3762) Define missing Special:Import UI messages
27611 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
27612 * (bug 3649) Remove obsolete, broken moveCustomMessages script
27613 * (bug 3667) Add missing global in page move code
27614 * (bug 3761) Avoid deprecation warnings in Special:Import
27615 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
27616   talk notification on PHP 5.0.5
27617 * (bug 3845) Update attribute.php for 1.5 schema
27618 * Fix Parser::unstrip on PHP 4.4.1 and PHP 5.1.0RC4
27621 === Changes since 1.5.2 ===
27623 * (bug 3612) Remove old broken version of maintenance/compressOld.php
27624   The working version is in maintenance/storage/compressOld.php
27625 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
27626 * (bug 3933) specify XML namespace for Atom 0.3 feeds
27627 * (bug 3939) Don't try to load text for interwiki redirect target
27628 * (bug 3948) Avoid notice warning in debug statement in bad search
27629 * Recognize Special:Search consistently so read whitelist works
27630 * (bug 4013) typo in fr
27631 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
27632 * (bug 2894) Enhanced Recent Changes link fixes
27633 * (bug 3065) Update both watched namespaces when renaming pages
27634 * Move parentheses out of <a> link in Special:Contributions
27635 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
27636 * (bug 4035) Fix prev/next revision links on edit page
27637 * (bug 4165) Correct validation for user language selection (data taint)
27638 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
27641 === Changes since 1.5.3 ===
27643 * (bug 3805) Clear 'new messages' flag properly in enotif mode
27644   for usernames containing spaces
27645 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
27646 * (bug 4249) Typo in entities2literals.pl
27647 * (bug 4233) Update for japanese language
27648 * (bug 4279) Small correction to LanguageDa.php
27649 * (bug 4267) Switch dv sd ug ks arc languages to RTL
27650 * (bug 3991) Allow the operation of wikicode on Protect move only text
27651 * Added AutoAuthenticate hook for external User object suppliers
27652 * Parser internal placeholder string now fully randomized for safety
27654 === Changes since 1.5.4 ===
27656 * Maintenance script to delete unused user accounts
27657 * Added detection for WMF files (application/x-msmetafile), added this
27658   MIME type to the default blacklist. Prevented inline display of images
27659   which are not of known image types. This is in response to
27660   https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
27662 === Changes since 1.5.5 ===
27664 * (bug 4258) When installing under IIS, $wgArticlePath = "$wgScript?title=$1"
27665   should be set
27666 * (bug 4510) Correct Barnes & Noble bookstore URLs
27667 * (bug 4504) Use site language for namespace name resolution
27668 * Installer fixes from HEAD backported; now uses a more sensible method of
27669   establishing which mySQL user to use, which clears up bug 921 et al. Minor
27670   changes to installer.
27671 * Fix problem reported on mailing list where re-initialising stats didn't work
27672   (can't insert duplicate rows with the same id field)
27673 * (bug 1122) gray out 'older revision' when viewing first article revision.
27674 * Respect database prefix in dumpHTML.inc
27675 * Minor improvements to removeUnusedAccounts.php maintenance script
27676 * Fix for single-digit week numbers from {{CURRENTWEEK}}, broken by PHP 4.4.1
27677 * Removed read-only check from Database::query()
27678 * Added --conf option to command line scripts, allowing the user to specify a
27679   different LocalSettings.php.
27681 === Changes since 1.5.6 ===
27683 * Default main page content improved per bug 4690
27684 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
27685 * Fixed Special:Unlockdb
27686 * Maintenance script to delete unused text records
27687 * Maintenance script to delete non-current revisions
27688 * Maintenance script to wipe a page and all revisions from the database
27689 * (bug 4768) Wrong Russian translation (typo)
27690 * Performance bugfix: propagate equality manually for Revision fetches
27691 * (bug 4773) PHP fatal error when invalid title passed to Special:Export
27692 * Added missing table defs. for transcache to installer schemas
27693 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
27694   and seems to work ok with other bits. No longer including the IE
27695   workarounds JavaScript for IE 7 and above.
27696 * (bug 2532) Image directory structure migration bug
27697 * (bug 4881) Correction to the fix for 1487; Ipblocklist showed 'no blocks'
27698   message at the end of the list even if there were blocks.
27699 * (bug 4805) Removed more wikipedia-references from LanguageUk.php
27700 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
27701   list pages with less than this number of links. Defaults to 1.
27702 * Allow customisation of paging limits for items in categories using the
27703   $wgCategoryPagingLimit global, per bug 4970.
27704 * Improve "nogomatch" text to make it more obvious that a page can be created.
27705 * (bug 5113) Spelling error in French language file
27706 * Don't change the password of the MySQL root user.
27708 === Changes since 1.5.7 ===
27710 * (bug 5180) User login page shows inappropriate email blurb
27711 * Add the "AbortNewAccount" hook on account creation; see hooks.txt for more
27712   info.
27713 * Update default "exporttext" to reflect that Special:Import exists
27714 * Add links to useful material to the default main page content
27715 * Fix fragment HTML injection
27717 === Changes since 1.5.8 ===
27719 * Fixed obvious mistakes in Finnish (fi) translation
27720 * Fixed obvious mistakes in Kurdish (ku) translation
27721 * Merge two #p-search .pBody statements i monobook/main.css
27722 * (bug 5156) Update for Hebrew language (he) translation
27723 * Add the "UserRights" hook on user group changes; see hooks.txt for more info.
27724 * Translated "listingcontinuesabbrev" for German
27726 === Caveats ===
27728 Some output, particularly involving user-supplied inline HTML, may not
27729 produce 100% valid or well-formed XHTML output. Testers are welcome to
27730 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
27731 cases, but this is not recommended on live sites. (This must be set for
27732 MathML to display properly in Mozilla.)
27734 = MediaWiki 1.4 =
27736 == MediaWiki 1.4.15 ==
27738 (released March 26, 2006) MediaWiki 1.4.15 is a security maintenance release. A
27739 bug in decoding of certain encoded links could allow injection of raw HTML into
27740 page output; this could potentially lead to XSS attacks. Additionally, this
27741 release may display more correctly in IE7 betas.
27743 == MediaWiki 1.4.14 ==
27744 (released January 19, 2006) MediaWiki 1.4.14 is a security and bugfix
27745 maintenance release. A bug in edit comment formatting could send PHP into an
27746 infinite loop if certain malformed links were included. In most installations,
27747 this would cause the script to fail after PHP's 30-second failsafe timeout. For
27748 several other minor fixes, see the complete changelog at the end of this file.
27750 == MediaWiki 1.4.13 ==
27751 (released January 5, 2006) MediaWiki 1.4.13 is a security maintenance
27752 release.Detection for uploads of Windows Metafile (.wmf) images has been added
27753 to help protect against a client-side vulnerability in unpatched Microsoft
27754 Windows operating systems. Sites which have enabled uploads and added
27755 non-standard file types (such as .ogg, .doc, or .pdf) should upgrade to this
27756 release to ensure that malicious .wmf files can't be uploaded with a fake
27757 extension; such files could put visitors to the site at risk. For more details
27758 on this, see: https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
27760 == MediaWiki 1.4.12 ==
27761 (released 2005-11-02) MediaWiki 1.4.12 is a bugfix and security maintenance
27762 release. A change in PHP 4.4.1 broke handling of extension and
27763 <nowiki><pre></nowiki> sections, causing garbage data to be inserted in output
27764 and saved edits. This version works around the change. This release includes
27765 further corrections to the inline CSS style sanitation which works around a
27766 JavaScript "feature" on Microsoft Internet Explorer. Users of Microsoft
27767 Internet Explorer for Windows may be vulnerable to XSS injections on prior 1.4
27768 releases; users of standards-compliant browsers are not vulnerable.
27770 == MediaWiki 1.4.11 ==
27771 (released 2005-10-05) MediaWiki 1.4.11 is a security maintenance release.
27772 Unsafe handling of CSS by Microsoft Internet Explorer could be exploited to
27773 produce cross-site scripting attacks by JavaScript injection to clients running
27774 that browser. This release blacklists several additional variants from use in
27775 HTML inline style attributes. All publicly accessible wikis are recommended to
27776 upgrade to reduce the risk to visitors using Microsoft web browsers. Note: the
27777 MediaWiki 1.4.x series is not compatible with PHP 5.0.5 or higher. Upgrade to
27778 the 1.5.0 release if you require this version of PHP 5.
27780 == MediaWiki 1.4.10 ==
27781 (released 2005-09-21) MediaWiki 1.4.10 is a security maintenance release. A bug
27782 in edit submission handling could cause corruption of the previous revision in
27783 the database if an abnormal URL was used, such as those used by some spambots.
27784 Affected releases:
27785 * 1.4.x <= 1.4.9; fixed in 1.4.10
27786 * 1.3.x <= 1.3.15; fixed in 1.3.16
27787 1.5 release candidates are not affected by this problem. All publicly editable
27788 wikis are strongly recommended to upgrade immediately.
27789 1.4 releases can be manually patched by changing this bit in EditPage.php:
27791 <syntaxhighlight lang="php">
27792 function importFormData( &$request ) {
27793         if( $request->wasPosted() ) {
27794 </syntaxhighlight>
27796 <syntaxhighlight lang="php">
27797     function importFormData( &$request ) {
27798         if( $request->getVal( 'action' ) == 'submit' && $request->wasPosted() )
27799         {
27800 </syntaxhighlight>
27801 == MediaWiki 1.4.9 ==
27802 (released 2005-08-29) MediaWiki 1.4.9 is a security maintenance release. It
27803 corrects two cross-site scripting security bugs:
27804 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
27805 support is off, as in the default configuration.
27806 * Extension or <nowiki><nowiki></nowiki> sections in Wiki table syntax could
27807 bypass HTML style attribute restrictions for cross-site scripting attacks
27808 against Microsoft Internet Explorer Wikis where the optional math support has
27809 been *enabled* are not vulnerable to the first, but are vulnerable to the
27810 second.
27812 == MediaWiki 1.4.8 ==
27813 (released 2005-08-23) MediaWiki 1.4.8 is a bug fix and security maintenance
27814 release. A flaw in the interaction between extensions and HTML attribute
27815 sanitization was discovered which could allow unauthorized use of offsite
27816 resources in style sheets, and possible exploitation of a JavaScript injection
27817 feature on Microsoft Internet Explorer. This version expands the returned text
27818 and properly checks it before output. Additionally, an update to
27819 skins/MonoBook.php ensures that sites using the default MonoBook skin will
27820 display correctly in the Internet Explorer 7 beta. (1.3 and 1.5 are not
27821 affected by this bug.)
27823 == MediaWiki 1.4.7 ==
27824 (released 2005-07-16)
27825 MediaWiki 1.4.7 is a bug fix release. Those affected by the following problems
27826 in 1.4.6 should upgrade:
27827 * Watchlist breakage on MySQL 3.23.x and with table prefix enabled
27828 * Possible breakage in watchlist, some image resizing modes on PHP 4.1.2 1.4.6
27829 included a fix for a cross-site scripting vulnerability, so anyone running
27830 older 1.4 releases is very strongly encouraged to upgrade as well. Note to
27831 upgraders: this version of MediaWiki is known to produce a large number of
27832 notice-level warnings under the newly released PHP 4.4.0. These appear however
27833 to be harmless; if you encounter them add this to your LocalSettings.php to
27834 suppress the notices: error_reporting( E_ALL & ~E_NOTICE ); PHP 5.1.0beta3 is
27835 known to be incompatible at this time.
27837 == MediaWiki 1.4.6 ==
27838 (released 2005-07-07) MediaWiki 1.4.6 is a bug fix and security update release.
27839 Incorrect escaping of a parameter in the page move template could
27840 be used to inject JavaScript code by getting a victim to visit a maliciously
27841 constructed URL. Users of vulnerable releases are recommended to upgrade to
27842 this release. Vulnerable versions:
27843 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
27844 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
27845 * 1.3 legacy series: not vulnerable This release also includes fixes for some
27846 rare bug annoying HTTP errors, a PHP 4.1.2 breakage bug, and works around some
27847 template limitations introduced in 1.4.5. See the changelog at the end of this
27848 file for a detailed list of bugs fixed.
27850 == MediaWiki 1.4.5 ==
27851 (released 2005-06-03) MediaWiki 1.4.5 is a security update and bugfix release.
27852 Incorrect handling of page template inclusions made it possible to inject
27853 JavaScript code into HTML attributes, which could lead to cross-site scripting
27854 attacks on a publicly editable wiki. Vulnerable releases and fix:
27855 * 1.5 prerelease: fixed in 1.5alpha2
27856 * 1.4 stable series: fixed in 1.4.5
27857 * 1.3 legacy series: fixed in 1.3.13
27858 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended This
27859 release also includes a number of bug fixes (see changelog below) and merges
27860 some large-server load balancing patches from Wikipedia. An experimental rate
27861 limiter for page edits and moves can be enabled with global, per-IP,
27862 per-subnet, or per-user bases. See configuration options in
27863 includes/DefaultSettings.php
27865 == MediaWiki 1.4.4 ==
27866 (released 2005-05-04) MediaWiki 1.4.4 is a bugfix release for the 1.4 stable
27867 release series. Some bugs in the installer/updater and refreshLinks maintenance
27868 script were introduced in the last release and have been corrected.
27870 == MediaWiki 1.4.3 ==
27872 (released 2005-04-28)
27874 MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series.
27876 Chiefly, this fixes a compatibility problem with PHP 5 and a minor link
27877 table corruption bug on initial page save.
27880 == MediaWiki 1.4.2 ==
27882 (released 2005-04-20)
27884 MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release
27885 series.
27887 A cross-site scripting injection vulnerability was discovered, which
27888 affects only MSIE clients and is only open if MediaWiki has been
27889 manually configured to run output through HTML Tidy ($wgUseTidy).
27891 Several other bugs are fixed in this release, see the changelog below.
27893 All new installations are highly recommended to use 1.4.2 instead of
27894 1.3.x; 1.3.x users should consider upgrading for bug fixes and new
27895 features. Ealier 1.4.x release and beta users should upgrade to this
27896 release for relevant bug fixes; see the changelog later in this file.
27899 If you have trouble, remember to read this whole file and the online FAQ page
27900 before asking for help:
27902 https://www.mediawiki.org/wiki/Manual:FAQ
27905 === READ THIS FIRST: Upgrading ===
27907 If upgrading from an older release, see the notes in the file UPGRADE.
27908 There are a couple of minor database changes from the beta releases,
27909 and somewhat larger changes from 1.3.x.
27911 Upgrading from a previous 1.4.x stable release installation should
27912 generally only require copying the new files over the old ones.
27915 ==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ====
27917 MySQL 5.0 is a beta release, not yet ready for production use. If you
27918 are using it, the notes below about 4.1 apply to you too.
27920 If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for
27921 some other application, you should consider sticking with 4.0 for the
27922 moment. 4.1 may require you to do extra fiddling to get things to work
27923 due to changes that aren't fully backwards-compatible.
27925 MySQL 4.1 has changed the authentication protocol in an incompatible
27926 way; many PHP installations still use the older client libraries and
27927 CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes.
27929 See: http://dev.mysql.com/doc/mysql/en/Old_client.html
27931 If MySQL is set with utf-8 as the default character set, installation
27932 may fail with "key too long" errors. Set the default charset to 'latin1'
27933 for installation and it should work.
27935 The mysqldump backup generator now applies an automatic conversion to
27936 UTF-8, which may irretrivably corrupt your data. Pass the -charset option
27937 with the original default charset (eg 'latin1') to skip the conversion.
27940 ==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ====
27942 MediaWiki is tested and deployed primarily under the Apache web server
27943 on Linux Unix systems. There are known to be problems running on
27944 Microsoft's IIS which are not fully resolved. If you have a choice,
27945 try running under Apache on Windows, or on a Unix/Linux box instead.
27947 If you're having trouble with blank pages on IIS and can't switch,
27948 try the workaround suggested in this bug report:
27949 http://bugzilla.wikimedia.org/show_bug.cgi?id=1763
27952 === New features ===
27954 * 'Recentchanges Patrol' to mark new edits that haven't yet been viewed.
27955 * New, searchable deletion/upload/protection logs
27956 * Image gallery generation (Special:Newimages and <gallery> tag)
27957 * SVG rasterization support (requires external support tools)
27958 * Users can select from the available localizations to override the
27959   default user interface language.
27960 * Traditional/Simplified Chinese conversion support
27961 * rel="nofollow" support to combat linkspam
27963 The current implementation adds this attribute to _all_ external URL
27964 links in wiki text (but not internal [[wiki links]] or interwiki links).
27965 To disable the attribute for _all_ external links, add this line to your
27966 LocalSettings.php:
27968   $wgNoFollowLinks = false
27970 For background information on nofollow see:
27972   http://www.google.com/googleblog/2005/01/preventing-comment-spam.html
27975 === Installation and compatibility ===
27977 * The default MonoBook theme now works with PHP 5.0
27978 * Installation on systems with PHP's safe mode or other oddities
27979   should work more reliably, as MonoBook no longer needs to
27980   create a compiled template file for the wiki to run.
27981 * A table prefix may be specified, to avoid conflicts with other
27982   web applications forced to share a database.
27983 * More thorough UTF-8 input validation; fixes non-ASCII uploaded
27984   filenames from Safari.
27985 * Command-line database upgrade script.
27988 === Customizability ===
27990 * Default user options can now be overridden in LocalSettings.
27991 * Skins system more modular: templates and CSS are now in /skins/
27992   New skins can be dropped into this directory and used immediately.
27993 * More extension hooks have been added.
27994 * Authentication plugin hook.
27995 * More internal code documentation, generated with phpdoc:
27996   https://doc.wikimedia.org/mediawiki-core/master/php/html/
27999 === Optimization ===
28001 * For many operations, MediaWiki 1.4 should run faster and use
28002   less memory than MediaWiki 1.3. Page rendering is up to twice
28003   as fast. (Use a PHP accelerator such as Turck MMCache for best
28004   results with any PHP application, though!)
28005 * The parser cache no longer requires memcached, and is enabled
28006   by default. This avoids a lot of re-rendering of pages that
28007   have been shown recently, greatly speeding longer page views.
28008 * Support for compiled PHP modules to speed up page diff and
28009   Unicode validation/normalization. (Requires ability to compile
28010   and load PHP extensions).
28013 === What isn't ready yet ===
28015 * A new user/groups permissions scheme has been held back to 1.5.
28016 * An experimental SOAP interface will be made available as an extension
28017 * PostgreSQL support is largely working, minus search and the installer.
28018   You can perform a manual installation.
28019 * E-mail notification of watched page changes and verification of
28020   user-submitted e-mail addresses is not yet included.
28021 * Log pages are not automatically imported into the new log table
28022   at upgrade time. A script to import old text log entries is
28023   incomplete, but may be available in later point releases.
28024 * Some localizations are still incomplete.
28028 == Changelog ==
28030 === Important security updates ===
28032 A security audit found and fixed a number of problems. Users of MediaWiki
28033 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases
28034 prior to 1.4rc1 should upgrade immediately.
28036 ==== Cross-site scripting vulnerability ====
28038 XSS injection points can be used to hijack session and authentication
28039 cookies as well as more serious attacks.
28041 * Media: links output raw text into an attribute value, potentially
28042   abusable for JavaScript injection. This has been corrected.
28043 * Additional checks added to file upload to protect against MSIE and
28044   Safari MIME-type autodetection bugs.
28046 As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled
28047 by default as a general precaution. Sites which want this ability may set
28048 $wgAllowUserCss and $wgAllowUserJs in LocalSettings.php.
28051 ==== Cross-site request forgery ====
28053 An attacker could use JavaScript-submitted forms to perform various
28054 restricted actions by tricking an authenticated user into visiting
28055 a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has
28056 been expanded in this release to other forms and functions.
28058 Authors of bot tools may need to update their code to include the
28059 additional fields.
28062 ==== Directory traversal ====
28064 An unchecked parameter in image deletion could allow an authenticated
28065 administrator to delete arbitary files in directories writable by the
28066 web server, and confirm existence of files not deletable.
28069 ==== Older issues ====
28071 Note that 1.4 beta releases prior to beta 5 include an input validation
28072 error which could lead to execution of arbitrary PHP code on the server.
28073 Users of older betas should upgrade immediately to the current version.
28076 Beta 6 also introduces the use of rel="nofollow" attributes on external
28077 links in wiki pages to reduce the effectiveness of wiki spam. This will
28078 cause participating search engines to ignore external URL links from wiki
28079 pages for purposes of page relevancy ranking.
28082 === Misc bugs fixed in beta 1 ===
28084 * (bug 95) Templates no longer limited to 5 inclusions per page
28085 * New user preference for limiting the image size for images on image
28086   description pages
28087 * (bug 530) Allow user to preview article on first edit
28088 * (bug 479) [[RFC 1234]] will now make an internal link
28089 * (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages
28090 * (bug 770) Adding filter and username exact search match for Special:Listusers
28091 * (bug 733) Installer die if it can not write LocalSettings.php
28092 * (bug 705) Various special pages no more show the rss/atom feed links
28093 * (bug 114) use category backlinks in Special:Recentchangeslinked
28095 === Beta 2 fixes ===
28097 * (bug 987) Reverted bogus fix for bug 502
28098 * (bug 992) Fix enhanced recent changes in PHP5
28099 * (bug 1009) Fix Special:Makesysop when using table prefixes
28100 * (bug 1010) fix broken Commons image link on Classic & Cologne Blue
28101 * (bug 985) Fix auto-summary for section edits
28102 * (bug 995) Close <a> tag
28103 * (bug 1004) renamed norsk language links (twice)
28104 * Login works again when using an old-style default skin
28105 * Fix for load balancing mode, notify if using old settings format
28106 * (bug 1014) Missing image size option on old accounts handled gracefully
28107 * (bug 1027) Fix page moves with table prefix
28108 * (bug 1018) Some pages fail with stub threshold enabled
28109 * (bug 1024) Fix link to high-res image version on Image: pages
28110 * (bug 1016) Fix handling of lines omitting Image: in a <gallery> tag
28111 * security fix for image galleries
28112 * (bug 1039) Avoid error message in certain message cache failure modes
28113 * Fix string escaping with PostgreSQL
28114 * (bug 1015) [partial] -- use comment formatter on image gallery text
28115 * Allow customization of all UI languages
28116 * use $wgForceUIMsgAsContentMsg to make regular UI messages act as content
28117 * new user option for zh users to disable language conversion
28118 * Defer message cache initialization, shaving a few ms off file cache hits
28119 * Fixed Special:Allmessages when using table prefixes
28120 * (bug 996) Fix $wgWhitelistRead to work again
28121 * (bug 1028) fix page move over redirect to not fail on the unique index
28123 === Beta 3 fixes ===
28125 * Hide RC patrol markers when patrol is disabled or not allowed to patrol.
28126 * Fix language selection for upgraded accounts
28127 * (bug 1076) navigation links in QueryPage should be translated by wgContLang.
28128 * (bug 922) bogus DOS line endings in LanguageEl.php
28129 * Fix index usage in contribs
28130 * Caching and load limiting options for Recentchanges RSS/Atom feed
28131 * (bug 1074) Add stock icons for non-image files in gallery/Newimages
28132 * Add width and height attributes on thumbs in gallery/Newimages
28133 * Enhance upload extension blacklist to protect against vulnerable
28134   Apache configurations
28136 === Beta 4 fixes ===
28138 * (bug 1090) Fix sitesupport links in CB/classic skins
28139 * Gracefully ignore non-legal titles in a <gallery>
28140 * Fix message page caching behavior when $wgCapitalLinks is turned off
28141   after installation and the wiki is subsequently upgraded
28142 * Database error messages include the database server name/address
28143 * Paging support for large categories
28144 * Fix image page scaling when thumbnail generation is disabled
28145 * Select the content language in prefs when bogus interface language is set
28146 * Fix interwiki links in edit comments
28147 * Fix crash on banned user visit
28148 * Avoid PHP warning messages when thumbnail not generated
28149 * (bug 1157) List unblocks correctly in Special:Log
28150 * Fix fatal errors in LanguageLi.php
28151 * Undo overly bright, difficult to read colors in Cologne Blue
28152 * (bug 1162) fix five-tilde date inserter
28153 * Add raw signatures option for those who simply must have cute sigs
28154 * (bug 1164) Let wikitext be used in Loginprompt and Loginend messages
28155 * Add the dreaded <span> to the HTML whitelist
28156 * (bug 1170) Fix Russian linktrail
28157 * (bug 1168) Missing text on the bureaucrat log
28158 * (bug 1180) Fix Makesysop on shared-user-table sites
28159 * (bug 1178) Fix previous diff link when using 'oldid=0'
28160 * (bug 1173) Stop blocked accounts from reverting/deleting images
28161 * Keep generated stylesheets cache-separated for each user
28162 * (bug 1175) Fix "preview on first edit" mode
28163 * Fix revert bug caused by bug 1175 fix
28164 * Fix CSS classes on minor, new, unpatrolled markers in enhanced RC
28165 * Set MySQL 4 boolean search back to 'and' mode by default
28166 * (bug 1193) Fix move-only page protection mode
28167 * Fix zhtable Makefile to include the traditional manual table
28168 * Add memcache timeout for the zh conversion tables
28169 * Allow user customization of the zh conversion tables through
28170   Mediawiki:zhconversiontable
28171 * Add zh-min-man (back) to language names list
28172 * Ported $wgCopyrightIcon setting from REL1_3A
28173 * (bug 1218) Show the original image on image pages if the thumbnail would be
28174   bigger than the original image
28175 * (bug 1213) i18n of Special:Log labels
28176 * (bug 1013) Fix jbo, minnan in language names list
28177 * Added magic word MAG_NOTITLECONVERT to indicate that the title of the page
28178   do not need to be converted. Useful in zh:
28179 * (bug 1224) Use proper date messages for date reformatter
28180 * (bug 1241) Don't show 'cont.' for first entry of the category list
28181 * (bug 1240) Special:Preferences was broken in Slovenian locale when
28182   $wgUseDynamicDates is enabled
28183 * Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the
28184   content of an article. Useful in zh:
28185 * write-lock for updating the zh conversion tables in memcache
28186 * recursively parse subpages of MediaWiki:Zhconversiontable
28187 * (bug 1144) Fix export for fy language
28188 * make removal of an entry from zhconversiontable work
28189 * (bug 752) Don't insert newline in link title for url with %0a
28190 * Fix missing search box contents in MonoBook skin
28191 * Add option to forward search directly to an external URL (eg google)
28192 * Correctly highlight the fallback language variant when the selected
28193   variant is disabled. Used in zh: only for now.
28195 === Beta 5 fixes ===
28197 * (bug 1124) Fix ImageGallery XHTML compliance
28198 * (bug 1186) news: in the middle of a word
28199 * (bug 1283) Use underlining and borders to highlight additions/deletions
28200   in diff-view
28201 * Use user's local timezone in Special:Log display
28202 * Show filename for images in gallery by default (restore beta 3 behavior)
28203 * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks,
28204   searchindex
28205 * When using squid reverse proxy, cache the redirect to the Main_Page
28206 * (bug 1302) Fix Norwegian language file
28207 * (bug 1205) Fix broken article saving in PHP 5.1
28208 * (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give
28209   number of the week and number of the day).
28210 * (bug 1204) Blocks do not expire automatically
28211 * (bug 1184) expiry time of indefinite blocks shown as the current time
28212 * (bug 1317) Fix external links in image captions
28213 * (bug 1084) Fix logo not rendering centrally in IE
28214 * (bug 288) Fix tabs wrapping in IE6
28215 * (bug 119) Fix full-width tabs with RTL text in IE
28216 * (bug 1323) Fix logo rendering off-screen in IE with RTL language
28217 * Show "block" link in Special:Recentchanges for logged in users, too, if
28218   wgUserSysopBans is true.
28219 * (bug 1326) Use content language for '1movedto2' in edit history
28220 * zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set
28221 * zh: Fix double conversion for zh-sg and zh-hk
28222 * (bug 1132) Fix concatenation of link lists in refreshLinks
28223 * (bug 1101) Fix memory leak in refreshLinks
28224 * (bug 1339) Fix order of @imports in Cologne Blue CSS
28225 * Don't try to create links without namespaces ([[Category:]] link bug)
28226 * Memcached data compression fixes
28227 * Several valid XHTML fixes
28228 * (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook
28229 * (bug 211) Fix tabbed preferences with XHTML MIME type
28230 * Fix for script execution vulnerability.
28232 === Beta 6 fixes ===
28234 * (bug 1335) implement 'tooltip-watch' in Language.php
28235 * Fix linktrail for nn: language
28236 * (bug 1214) Fix prev/next links in Special:Log
28237 * (bug 1354) Fix linktrail for fo: language
28238 * (bug 512) Reload generated CSS on preference change
28239 * (bug 63) Fix displaying as if logged in after logout
28240 * Set default MediaWiki:Sitenotice to '-', avoiding extra database hits
28241 * Skip message cache initialization on raw page view (quick hack)
28242 * Fix notice errors in wfDebugDieBacktrace() in XML callbacks
28243 * Suppress notice error on bogus timestamp input (returns epoch as before)
28244 * Remove unnecessary initialization and double-caching of parser variables
28245 * Call-tree output mode for profiling
28246 * (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries
28247 * Add $wgNoFollowLinks option to add rel="nofollow" on external links
28248   (on by default)
28249 * (bug 1130) Show actual title when moving page instead of encoded one.
28250 * (bug 925) Fix headings containing <math>
28251 * (bug 1131) Fix headings containing interwiki links
28252 * (bug 1380) Update Nynorsk language file
28253 * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode
28254 * (bug 1217) Image within an image caption broke rendering
28255 * (bug 1384) Make patrol signs have the same width for page moves as for edits
28256 * (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit
28257 * (bug 1389) i18n for proxyblocker message
28258 * Add fur/Furlan/Friulian to language names list
28259 * Add TitleMoveComplete hook on page renames
28260 * Allow simple comments for each translation rules in MW:Zhconversiontable
28261 * (bug 1402) Make link color of tab subject page link on talk page indicate
28262   whether article exists
28263 * (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x
28264 * Translated Hebrew namespace names
28265 * (bug 1429) Stop double-escaping of block comments; fix formatting
28266 * (bug 829) Fix URL-escaping on block success
28267 * (bug 1228) Fix double-escaping on &amp; sequences in [enclosed] URLs
28268 * (bug 1435) Fixed many CSS errors
28269 * (bug 1457) Fix XHTML validation on category column list
28270 * (bug 1458) Don't save if edit form submission is incomplete
28271 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
28272 * Per-user CSS and JavaScript subpage customizations now disabled by default.
28273   They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss.
28274 * Removed .ogg from the default uploads whitelist as an extra precaution.
28275   If your web server is configured to serve Ogg files with the correct
28276   Content-Type header, you can re-add it in LocalSettings.php:
28277     $wgFileExtensions[] = 'ogg';
28279 === RC1 fixes ===
28281 * Fix notice error on nonexistent template in wikitext system message
28282 * (bug 1469) add missing <ul> tags on Special:Log
28283 * (bug 1470) remove extra <ul> tags from Danish log messages
28284 * Fix notice on purge w/ squid mode off
28285 * (bug 1477) hide details of SQL error messages by default
28286   Set $wgShowSQLErrors = true for debugging.
28287 * (bug 1430) Don't check for template data when editing page that doesn't exist
28288 * Recentchanges table purging fixed when using table prefix
28289 * (bug 1431) Avoid redundant objectcache garbage collection
28290 * (bug 1474) Switch to better-cached index for statistics page count
28291 * Run Unicode normalization on all input fields
28292 * Fix translation for allpagesformtext2 in LanguageZh_cn and LanguageZh_tw
28293 * Block image revert without valid login
28294 * (bug 1446) stub Bambara (bm) language file using French messages
28295 * (bug 1432) Update Estonian localization
28296 * (bug 1471) unclosed <p> tag in Danish messages
28297 * convertLinks script fixes
28298 * Corrections to template loop detection
28299 * XHTML encoding fix for usernames containing & in Special:Emailuser
28300 * (for zh) Search for variant links even when conversion is turned off,
28301   to help prevent duplicate articles.
28302 * Disallow ISO 8859-1 C1 characters and "no-break space" in user names
28303   on Latin-1 wikis.
28304 * Correct the name of the main page it LanguageIt
28305 * Allow Special:Makesysop to work for usernames containing SQL special
28306   characters.
28307 * Fix annoying blue line in Safari on scaled-down images on description page
28308 * Increase upload sanity checks
28309 * Fix XSS bug in Media: links
28310 * Add cross-site form submission protection to various actions
28311 * Fix fatal error on some dubious page titles
28312 * Stub threshold displays correctly again
28315 === 1.4.0 final fixes ===
28317 * (bug 65) Fix broken interwiki link encoding on Latin-1 wikis; force to UTF-8
28318 * (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis
28319 * (bug 1536) Fix page info
28320 * Support os (Ossetic) as language code, using Russian localization base
28321 * (bug 1610) Support non (Old Norse) as language code, using Icelandic
28322   localization base
28323 * (bug 1618) Properly list custom namespaces in Special:Allpages
28324 * (bug 1622) Remove trailing' >' when using category browser
28325 * (bug 1570) Fix php 4.2.x error on conflict merging
28326 * (bug 1585) Fix page title on post-login redirection page
28327 * Run UTF-8 validation on old text in Recentchanges RSS diffs
28328 * (bug 1642) fix a mime type typo in img_auth.php
28329 * Automated interwiki redirects only for local interwikis
28330 * Respect read-only mode on block removals
28331 * Trim old illegal characters from syndication feeds
28332 * Reduce message cache outage recovery delay from 1 day to 5 minutes
28333 * (bug 1403) Update Finnish localization
28334 * (bug 1478) Punjabi localization
28335 * (bug 1667) Update script 5 second countdown.
28336 * (bug 1057) Fix logging table encoding (error on MySQL 4.1)
28337 * (bug 1680) Fix linktrail for fo
28338 * (bug 1653) Removing hardcoded messages in Special:Allmessages
28339 * (bug 1594) Render a hyphen in a formula as &minus; in HTML
28340 * (bug 1495) Fall back to default language MediaWiki: for custom messages
28341 * (bug 1617) Show different error messages for "user does not
28342     exist" and "wrong password" when using AuthPlugin
28343 * (bug 1532), (bug 1544) Changed language names for
28344     'bn', 'bo', 'dv', 'dz', 'ht', 'ii', 'li', 'lo', 'ng', 'or', 'pa', 'si',
28345     'ti', 've'
28346 * Fix editing on non-Esperanto wiki with user language pref set to Esperanto
28347 * Make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw
28348 * Fix PHP notice in MonoBook when counters disabled
28349 * (bug 1696) Update namespaces, dates in uk localization
28350 * (bug 551) Installer warns about magic_quotes_runtime and magic_quotes_sybase
28351   instead of trying to install with corrupt table files
28352 * Installer no longer tries to move non-default MediaWiki: pages into Template:
28353 * User-to-user email disabled by default ($wgEnableUserEmail)
28356 === 1.4.1 fixes ===
28358 * (bug 1720) fix genitive month names for uk
28359 * (bug 1704) fixed untranslateable string in Special:Log
28360 * (bug 1638) Added Belrusian language file
28361 * (bug 1736) typo in SpecialValidate.php
28362 * (bug 73) Upload doesn't run edit updates on description page (links,
28363   search index and categories)
28364 * (bug 646) <math> fails to recognize \ll and \gg
28365 * (bug 926) \div element from TeX not supported in <math> element
28366 * (bug 1147) add \checkmark to whitelist in texutil.ml
28367 * (bug 937) \limits function from LaTeX not supported in <math> element
28368 * Support for manually converting article title to different Chinese
28369   variants (for zh)
28370 * (bug 1488, bug 1744) Fix encoding for preferences, dates in Latin-1 mode
28371 * (bug 1042) Fix UTF-8 case conversion for PHP <4.3 with mbstring extension
28372 * Fix code typo that broke article credits display
28373 * Installation fixes for running under IIS
28374 * (bug 1556) login page tab order. "remember" checkbox now come after password.
28375 * SQL debug log fixlets
28376 * (bug 1815) Fix namespace in old revision display with mismatched title
28377 * (bug 1788) Fix link duplication when edit/upload comment includes newlines
28378 * Change default on $wgSysopUserBans and $wgSysopRangeBans to true
28379 * Fix link conversion for URL request
28380 * (bug 1851) Updated download URL for the SCIM packages used by zhtable
28381 * (bug 1853) Try stripping quotes from term for 'go' title match
28382 * Fix missing function in Latin1 mode
28383 * (bug 1860) Anchors of interwiki links did not get normalized
28384 * (bug 1847) accept lowercase x in ISBN, do not accept invalid A-W,Y,Z
28385 * Fix link conversion for URL request, hopefully without breaking the wiki
28386 * (bug 1849) New option allows to consider categorized images as used on
28387   Special:Unusedimages
28388 * Localized category namespace for ka (Georgian)
28389 * (bug 1107) Work around includes problem in installer when parent dir is not
28390   readable by the web server
28391 * (bug 1927) Incorrect escaping on wikitext message in Blockip
28394 === 1.4.2 fixes ===
28396 * Fix math options in Finnish localization
28397 * Use in-process Tidy extension if available when $wgUseTidy is on
28398 * (bug 1933) Fix PATH_INFO usage under IIS with PHP ISAPI module
28399 * (bug 1188) <nowiki> in {{subst:}} includes fixed
28400 * (bug 1936) <!-- comments --> in {{subst:}} includes fixed
28401 * Fix a potential MSIE JavaScript injection vector in Tidy mode
28404 === 1.4.3 fixes ===
28406 * (bug 1636) Refs like &#0355; were misinterpreted as octal in some places
28407 * (bug 1163) Special:Undelete showed oldest revision instead of newest
28408 * (bug 1938) Fix escaping of illegal character references in link text
28409 * (bug 1997) Fix for error on display of renamed items in Recentchanges on PHP5
28410 * (bug 1949) Profiling typo in rare error case
28411 * (bug 1963) Fix deletion log link when $wgCapitalLinks is off
28412 * (bug 1970) Don't show move tab for immobile pages
28413 * (bug 1770) Page creation recorded links from the 'newarticletext' message
28414 * Optional change to the site_stats table. When applied, this removes the need
28415   for expensive queries in Special:Statistics.
28418 === 1.4.4 fixes ===
28420 * (bug 725) Let dir="ltr" attribute work again in MonoBook on RTL languages
28421 * (bug 2024) Skip JavaScript error for custom skins where .js message not set
28422 * (bug 2025) Updated Indonesian localization
28423 * (bug 2039) Updated Lithuanian localization
28426 === Caveats ===
28428 Some output, particularly involving user-supplied inline HTML, may not
28429 produce 100% valid or well-formed XHTML output. Testers are welcome to
28430 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
28431 cases, but this is not recommended on live sites. (This must be set for
28432 MathML to display properly in Mozilla.)
28435 For notes on 1.3.x and older releases, see HISTORY.
28438 === Online documentation ===
28440 Documentation for both end-users and site administrators is currently being
28441 built up on MediaWiki.org, and is covered under the GNU Free Documentation
28442 License:
28444   https://www.mediawiki.org/
28447 === Mailing list ===
28449 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
28450 wikitech-l list:
28452   http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
28454 A low-traffic announcements-only list is also available:
28455   http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
28457 It's highly recommended that you sign up for one of these lists if you're
28458 going to run a public MediaWiki, so you can be notified of security fixes.
28461 === IRC help ===
28463 There's usually someone online in #mediawiki on irc.freenode.net
28465 =MediaWiki 1.3=
28467 == MediaWiki 1.3.18 ==
28468 (released 2005-11-02)
28469 MediaWiki 1.3.18 is a bugfix and security maintenance release. A change in PHP
28470 4.4.1 broke handling of extension and <nowiki><pre></nowiki> sections, causing
28471 garbage data to be inserted in output and saved edits. This version works
28472 around the change. This release includes further corrections to the inline CSS
28473 style sanitation which works around a JavaScript "feature" on Microsoft
28474 Internet Explorer. Users of Microsoft Internet Explorer for Windows may be
28475 vulnerable to XSS injections on prior 1.3 releases; users of
28476 standards-compliant browsers are not vulnerable.
28478 == MediaWiki 1.3.17 ==
28479 (released 2005-10-05)
28480 MediaWiki 1.3.17 is a security maintenance release. Unsafe handling of CSS by
28481 Microsoft Internet Explorer could be exploited to produce cross-site scripting
28482 attacks by JavaScript injection to clients running that browser. This release
28483 blacklists several additional variants from use in HTML inline style
28484 attributes. All publicly accessible wikis are recommended to upgrade to reduce
28485 the risk to visitors using Microsoft web browsers.Note: the MediaWiki 1.3.x
28486 series is not compatible with PHP 5.0.5 or higher. Upgrade to the 1.5.0 release
28487 if you require this version of PHP 5.
28489 == MediaWiki 1.3.16 ==
28490 (released 2005-09-21)
28491 MediaWiki 1.3.16 is a security maintenance release. A bug in edit submission
28492 handling could cause corruption of the previous revision in the database if an
28493 abnormal URL was used, such as those used by some spambots. Affected releases:
28494 * 1.4.x <= 1.4.9; fixed in 1.4.10
28495 * 1.3.x <= 1.3.15; fixed in 1.3.16
28496 1.5 release candidates are not affected by this problem. All publicly editable
28497 wikis are strongly recommended to upgrade immediately.
28498 1.3 releases can be manually patched by changing this bit in
28499 {{manual|EditPage.php}}:
28500 <syntaxhighlight lang="php">
28501     if( $this->tokenOk( $request ) ) {
28502         $this->save    = $request->wasPosted() && !$this->preview;
28503     } else {
28504 </syntaxhighlight>
28506 <syntaxhighlight lang="php">
28507     if( $this->tokenOk( $request ) ) {
28508         $this->save    = $request->getVal( 'action' ) == 'submit' &&
28509                          $request->wasPosted() && !$this->preview;
28510     } else {
28511 </syntaxhighlight>
28513 == MediaWiki 1.3.15, 2005-08-29 ==
28514 MediaWiki 1.3.15 is a security maintenance release. It corrects across-site
28515 scripting security bug:
28516 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
28517 support is off, as in the default configuration. Wikis where the optional math
28518 support has been *enabled* are not vulnerable. The 1.3.x series is no longer
28519 maintained except for security fixes; new users and those seeking bug fixes
28520 should upgrade to 1.4.9 or 1.5.0.
28522 == MediaWiki 1.3.14, 2005-08-23 ==
28523 MediaWiki 1.3.14 is a security maintenance release. A flaw in the interaction
28524 between extensions and HTML attribute sanitization was discovered which could
28525 allow unauthorized use of offsite resources in style sheets, and possible
28526 exploitation of a JavaScript injection feature on Microsoft Internet Explorer.
28527 The 1.3.x series is no longer maintained except for security fixes; new users
28528 and those seeking bug fixes should upgrade to 1.4.8 or 1.5.0. Existing 1.3.x
28529 installations not willing to upgrade to the current stable release should apply
28530 the change manually:
28531 In includes/Parser.php, function {{code|inline=y|lang=php|fixTagAttributes()}}
28532 add:
28533 <syntaxhighlight lang="php">
28534        # Any placeholder items should have been unstripped already before
28535        # we got to this point. Raw text inserted later could be dangerous.
28536        if( strpos( $t, UNIQ_PREFIX ) !== false ) {
28537            wfDebug( "Parser::fixTagAttributes found stripped data placeholder;
28538            dropping attributes\n" );
28539            $t = '';
28540        }
28541 </syntaxhighlight>
28542 If you are actively using extensions to generate HTML attribute values, upgrade
28543 to 1.4 or 1.5 for a more thorough fix.
28545 == MediaWiki 1.3.13, 2005-06-03 ==
28546 MediaWiki 1.3.13 is a security maintenance release. Incorrect handling of page
28547 template inclusions made it possible to inject JavaScript code into HTML
28548 attributes, which could lead to cross-site scripting attacks on a publicly
28549 editable wiki. Vulnerable releases and fix:
28550 * 1.5 prerelease: fixed in 1.5alpha2
28551 * 1.4 stable series: fixed in 1.4.5
28552 * 1.3 legacy series: fixed in 1.3.13
28553 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended The
28554 1.3.x series is no longer maintained except for security fixes; new users and
28555 those seeking general bug fixes should install 1.4.5. Existing 1.3.x
28556 installations not willing or able to upgrade to the current stable relase
28557 should update the installation to 1.3.13; only includes/Parser.php has changed
28558 from 1.3.12.
28560 == MediaWiki 1.3.12, 2005-02-20 ==
28561 MediaWiki 1.3.12 is a security maintenance release. A cross-site scripting
28562 injection vulnerability was discovered, which affects only MSIE clients and is
28563 only open if MediaWiki has been manually configured to run output through HTML
28564 Tidy ($wgUseTidy). The 1.3.x series is no longer maintained except for security
28565 fixes; new users and those seeking bug fixes should upgrade to 1.4.2. Existing
28566 1.3.x installations using Tidy not willing to upgrade to the current stable
28567 relase should either turn off Tidy or update the installation to 1.3.12.
28569 == MediaWiki 1.3.11, 2005-02-20 ==
28570 MediaWiki 1.3.11 is a security release.
28571 A security audit found and fixed a number of problems. Users of MediaWiki
28572 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases should
28573 upgrade to 1.4rc1.
28575 === Cross-site scripting vulnerability ===
28576 XSS injection points can be used to hijack session and authentication cookies
28577 as well as more serious attacks.
28578 * Media: links output raw text into an attribute value, potentially abusable
28579 for JavaScript injection. This has been corrected.
28580 * Additional checks added to file upload to protect against MSIE and Safari
28581 MIME-type autodetection bugs.
28582 As of <code>1.3.10/1.4beta6</code>, per-user customized CSS and JavaScript is
28583 disabled by default as a general precaution. Sites which want this ability may
28584 set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in LocalSettings.php.
28586 === Cross-site request forgery ===
28587 An attacker could use JavaScript-submitted forms to perform various restricted
28588 actions by tricking an authenticated user into visiting a malicious web page. A
28589 fix for page editing in 1.3.10/1.4beta6 has been expanded in this release to
28590 other forms and functions. Authors of bot tools may need to update their code
28591 to include the additional fields.
28593 === Directory traversal ===
28594 An unchecked parameter in image deletion could allow an authenticated
28595 administrator to delete arbitary files in directories writable by the web
28596 server, and confirm existence of files not deletable.
28598 == MediaWiki 1.3.10, 2005-02-03 ==
28599 MediaWiki 1.3.10 is a security release.
28600 An attacker could craft a URL which, when visited by a particular logged-in
28601 user, would execute arbitrary JavaScript code on the user's browser in the
28602 wiki's site context. This attack has been blocked, and as an extra precaution
28603 the user CSS and JavaScript subpage support is now disabled by default. Sites
28604 which want this ability may set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in
28605 {{manual|LocalSettings.php}}. Additional protections have been added against
28606 off-site form submissions
28607 hijacking user credentials. Authors of bot tools may need to update their code
28608 to include additional fields. All wikis running 1.3.x are strongly urged to
28609 upgrade to 1.3.10.
28610 Changes from 1.3.9:
28611 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
28612 * Per-user CSS and JavaScript subpage customizations now disabled by default.
28613 They can be re-enabled via {{wg|AllowUserJs}} and {{wg|AllowUserCss}}.
28614 * Removed .ogg from the default uploads whitelist as an extra precaution. If
28615 your web server is configured to serve Ogg files with the correct Content-Type
28616 header, you can re-add it in LocalSettings.php: {{wg|FileExtensions}}<code>[] =
28617 'ogg'</code>
28619 == MediaWiki 1.3.9, 2004-12-12 ==
28620 MediaWiki 1.3.9 is a security and bug fix release.
28621 A flaw in upload handling has been found which may allow upload and  execution
28622 of arbitrary scripts with the permissions of the web server. Only wikis that
28623 have enabled uploads and have a vulnerable Apache  configuration will be
28624 affected, but to be safe all wikis should upgrade. Wikis with uploads available
28625 should either disable uploads or upgrade to 1.3.9 immediately; if other files
28626 are customized and require merging changes,
28627 includes/{{manual|SpecialUpload.php}} may be replaced individually to add the
28628 fix. (It is also recommended to configure your web server to disable script
28629 execution in the 'images' subdirectory where uploads are placed, which prevents
28630 most attacks even if the wiki fails.)
28631 Changes from 1.3.8:
28632 * Backported "Templates used in this page"-feature of EditPage
28633 * Allow "MySkin" as a default skin.
28634 * ({{bugzilla|938}}) Parse namespaces correctly on self-interwiki links
28635 * ({{bugzilla|1010}}) fix broken Commons image link on [[Skin:Classic|Classic]]
28636 & [[Skin:Cologne Blue|Cologne Blue]]
28637 * ({{bugzilla|1004}}) Norsk language names for interwiki links changed, Nauruan
28638 language name changed
28639 * Enhance upload extension blacklist to protect against vulnerable Apache
28640 configurations
28642 == MediaWiki 1.3.8, 2004-11-15 ==
28643 MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads enabled
28644 are strongly recommended to upgrade as this fixes several problems with
28645 overwriting previously-uploaded files.
28646 Changes from 1.3.7:
28647 * ({{bugzilla|506}}) fix {{code|inline=y|lang=html|array_key_exists()}} warning
28648 for IIS servers using ISAPI mode
28649 * ({{bugzilla|718}}) fix bad charset in (file) cached pages
28650 * use local numerals in category page (for Hindi et al)
28651 * alias month abbreviations to month names in Hindi
28652 * add localized numerals for Gujarati and Kannada
28653 * fix Category and project namespaces for Hindi
28654 * Don't output bogus timestamp on [[Special:RecentChanges]] if no entries
28655 * Correct template include path which broke some but not all Windows installs
28656 * Fix edit form submission problem with some PHP versions
28657 * Disallow unreachable titles with %XX hex codes
28658 * Allow page [[0]] to be renamed
28659 * ({{bugzilla|774}}) when saving with <code>section=new</code>, return to the
28660 anchor as with existing numbered section edits
28661 * Experimental shared upload overlay area (disabled by default)
28662 * ({{bugzilla|806}}) Removed some "Wikipedia" hardcoding in German localization
28663 * User option localization fix for some extensions
28664 * ({{bugzilla|809}}) now try to load the mysql php extension if it isn't loaded
28665 * ({{bugzilla|848}}) fix error message in [[Special:Newpages]] RSS and Atom
28666 feeds
28667 * ({{bugzilla|26}}) fix cache headers on anon talk page notification
28668 * ({{bugzilla|874}}) added 'cgi' to {{wg|FileBlacklist}}
28669 * ({{bugzilla|862}}) localize date and time format for Finnish
28670 * ({{bugzilla|548}}) Don't overwrite images until the user confirms it
28672 == MediaWiki 1.3.7, 2004-10-18 ==
28673 Changes from 1.3.6:
28674 * Fix protected-page related security issue.
28676 == MediaWiki 1.3.6, 2004-10-14 ==
28677 Changes from 1.3.5:
28678 * ({{bugzilla|296}}) Variables in user interface messages are no longer
28679 substituted at install time, so changes to the site name etc should be easier
28680 to make
28681 * ({{bugzilla|149}}) [[Special:RecentChanges]] "changes from" link preserves
28682 limit
28683 * ({{bugzilla|433}}) tooltip for "Undelete" tab now labeled correctly
28684 * ({{bugzilla|439}}) unclickable "Move" tab no longer displays on protected
28685 pages
28686 * ({{bugzilla|484}}) graceful deletion of images where the actual file is
28687 missing
28688 * ({{bugzilla|686}}) fixed [[plural]]s in Catalan localization
28689 * Fixed potential HTML/JavaScript injection attack in the
28690 [[Extension:UnicodeConverter|UnicodeConverter]] extension. (This extension is
28691 not enabled by default.)
28692 * Fixed potential HTML/JavaScript injection attack via raw page views to a
28693 maliciously crafted wiki page.
28694 * ({{bugzilla|187}}, {{bugzilla|669}}) Fixed centered thumbnails, using
28695 {{code|inline=y|lang=html|<div>}} instead of {{code|inline=y|lang=html|<span>}}.
28696 * catch MySQL error 2000 during installation.
28697 * ({{bugzilla|704}}) Removed misleading LocalSettings.sample
28698 * Fix cross site scripting bugs in [[Special:Ipblocklist]],
28699 [[Special:EmailUser]]
28700 * Fix SQL injection and cross site scripting bugs in Special:Maintenance
28701 * Fix cross site scripting bugs and possible filename validation vulnerability
28702 in ImagePage.
28703 * and more of that sort
28705 == MediaWiki 1.3.5, 2004-09-30 ==
28706 Changes from 1.3.4:
28707 * Clean up input validation in 'raw' page output mode which was a potential
28708 cross-site scripting opportunity.
28710 == MediaWiki 1.3.4, 2004-09-28 ==
28711 === SECURITY NOTE ===
28712 As of 1.3.4, MediaWiki performs some screening of newly uploaded files for
28713 validity. (Some)  corrupt image files, and HTML files mistakenly or maliciously
28714 masquerading as images, should now be rejected. These checks protect against
28715 Internet Explorer security holes relating to type autodetection which are a
28716 potential cross-site scripting attack vector, and also rejects at least one
28717 known version of the "JPEG virus" which might attack unpatched clients. If you
28718 already have invalid files uploaded this will not protect against them. If you
28719 have expanded the <code>filetype</code> whitelist or disabled the strict type
28720 checking, other dangerous file types may still get through. You should always
28721 be careful when allowing uploads!
28722 Changes from 1.3.3:
28723 * Fixed lots of template-related bugs, esp. for cases where template variables
28724 are used for links, images, etc.
28725 * Fixed transformation of page messages when viewing [[Special:Allmessages]]
28726 * Handle "ISBN ISBN 1234" correctly
28727 * Fixed warning on Category pages
28728 * Fixed some bad error messages on login page
28729 * Fixed history entry for initial main page on install
28730 * Removed problematic <code>{</code> and <code>}</code> from legal title
28731 characters
28732 * Strip leading blank from output in preformatted text.
28733 * Fixed problem when moving pages to titles with '#' in
28734 * Optional {{wg|RawHtml}} for raw {{code|inline=y|lang=html|<html>}} sections.
28735 Use only on limited- participation 'trusted' wikis, as it does not protect
28736 against cross-site scripting attacks. For security, this option can only be
28737 enabled if in {{wg|WhitelistEdit}} mode.
28738 * Fixed problem where pages which were created as a redirect following a move
28739 never showed on [[Special:Randompage]].
28740 * Fixed line spacing on printed table of contents
28741 * Allow links to pages with names of the form [[RFC 1234]]
28742 * Fixed broken edit links being shown for sections from included templates
28743 * Verify that uploaded image files are of the claimed type.
28745 == MediaWiki 1.3.3, 2004-09-09 ==
28746 Changes from 1.3.2:
28747 * Fix for long numeric page titles
28748 * Fix Go search for "0", numeric almost-self-links
28749 * Avoid caching of pages with "You have new messages" headers
28750 * Fix for upgrades as non-root users from 1.2 command-line installs.
28751 * Fix for {{wg|DebugDumpSql}} debug mode.
28752 * {{wg|ExtraNamespaces}} setting for configuring additional namespaces (see
28753 note in {{manual|DefaultSettings.php}})
28754 * 'recache' on query pages now disabled when miser mode is on; special case the
28755 global settings in your {{manual|LocalSettings.php}} to do automatic updates.
28756 * Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2)
28757 * Watch/unwatch tabs now shown on edit pages in MonoBook.
28758 * Fix default skin in Irish localization (ga)
28759 * Add Traditional Chinese localization (zh-tw)
28760 * Changed default sortkey of subcategories. Don't include "Category:"-prefix
28761 any longer
28762 * More helpful info on spam catcher.
28763 * Allow larger offsets for queries such as [[Special:Listusers]]
28764 * Semicolon (;) added to French non-break space rules
28765 * Possible fix for some install errors with path names permission problems.
28766 * Removed [[Project:All system messages]], which has been superseded by the
28767 much faster [[Special:Allmessages]]. This speeds up installation considerably.
28769 == MediaWiki 1.3.2, 2004-08-30 ==
28770 Changes from 1.3.1:
28771 * Fix namespaced page creation links when no go match
28772 * When cookies are disabled, don't show login screen twice
28773 * Install should no longer die when PHP is pre-configured to compress output
28774 * Fixed bug that caused long Japanese pages to time out with Tidy active
28775 * When session.handler is set incorrectly, try automatic override to 'files'
28776 * Watch/Unwatch links back to the affected page instead of Main Page
28777 * Upload link no longer displayed on Monobook if uploading is disabled
28778 * Special:Allmessages faster, shows correct original text, works in safe mode
28780 == MediaWiki 1.3.1, 2004-08-14 ==
28781 Changes from 1.3.0:
28782 * Watchlist parameters now work with register_globals off
28783 * Fixed parsing of ''italics'' and '''bold''' mark-up (again)
28784 * Special:Allpages display is more sensible on smaller wikis
28785 * Fixed XHTML parsing error in classic skins
28786 * Moved pages update watchlist correctly
28787 * Fixed rebuildall.php on case-sensitive Unix filesystems
28788 * Disabled file cache compression by default due to incompatibility with output
28789 buffer compression (ob_gzhandler)
28790 * New magic word {{code|inline=y|PAGENAMEE}} (URL-escaped version of
28791 {{code|inline=y|PAGENAME}})
28792 * Installation avoids blank username; better message on missing XML module
28793 * {{wg|WhitelistAccount}} no longer breaks all logins.
28795 == MediaWiki 1.3.0, 2004-08-11 ==
28796 Look & layout:
28797 * New default layout '[[Skin:MonoBook|MonoBook]]' (available on PHP4 only
28798 currently)
28799 * Print stylesheet now built-in to every page
28800 * More or less correct XHTML 1.0 (served as text/html by default)
28801 Wiki features:
28802 * Image captions can now include links and other basic formatting
28803 * Image bounding box can be specified instead of width, e.g. as 100x100px,
28804 making the image not wider than 100px and not higher than 100px, keeping aspect
28805 ratio.
28806 * Templates have been expanded with parameters, and separated from the
28807 MediaWiki: localization scheme.
28808 * Categories more or less work
28809 * added a special page for listing users with sysop rights.
28810 Editing:
28811 * Automatic merging of edit conflicts that don't directly interfere
28812 * Edit summaries can now include basic formatting and links
28813 Metadata and output:
28814 * Linked Creative Commons copyright metadata (optional)
28815 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
28816 Optional modules:
28817 * WikiHiero hieroglyphic module can be added (separate download)
28818 * Timeline module can be added (separate download). Requires ploticus.
28819 * TeX now has an experimental MathML output mode (incomplete!)
28820 Installation and upgrading:
28821 * The old install.php and update.php have been removed. In-place installation
28822 introduced in 1.2 is now the standard installation and upgrade method, see
28823 INSTALL and UPGRADE for directions.
28824 Database:
28825 * The links table has been changed to use a cur_id for l_from. The link tables
28826 must be converted on upgrade, which may entail some downtime.
28827 Code and compatibility:
28828 * Should now run clean with error reporting set to E_ALL.
28829 * register_globals hack from 1.2 has been replaced with safer code
28830 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/ (with some patches)
28831 * Most image-related code moved to Image.php
28832 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
28833 * URL encoding fix for anchors
28834 * All languages now available in UTF-8 mode
28835 * Various other fixes
28837 === Caveats ===
28838 Some output, particularly involving user-supplied inline HTML, may not produce
28839 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
28840 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
28841 recommended on live sites. (This must be set for MathML to display properly in
28842 Mozilla.) The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in
28843 the underlying PHPTAL library. It will be automatically disabled when running
28844 on PHP5; the older look and feel will be used instead.