ParserTestRunner: Fix behavior of bare `parsoid-compatible` file option
[mediawiki.git] / HISTORY
blob1275624be2706fb426caf57ed7b575285fc2ee58
1 Change notes from older releases. For current info, see RELEASE-NOTES-1.42.
3 = MediaWiki 1.41 =
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.41.0 ==
12 === Changes since MediaWiki 1.41.0-rc.0 ===
13 * Localisation updates.
14 * Update wikimedia/parsoid to 0.18.0.
15 * (T351758) DEVELOPERS.md: reword WSL instructions to include best practices.
16 * (T350615) PoolCounterConnectionManager: Add support for ipv6.
17 * (T321234) Make MagicWordArray not fail on old revs with broken UTF-8.
18 * thumb: Fix "PHP Deprecated: strlen(): Passing null to parameter".
19 * (T344971) Maintenance: Fix RebuildTextIndex.
20 * (T327007) htmlform: Correct validation for file input field.
22 == MediaWiki 1.41.0-rc.0 ==
24 == Upgrading notes for 1.41 ==
25 Don't forget to always back up your database before upgrading!
27 See the file UPGRADE for more detailed per-version upgrade instructions from the
28 oldest supported upgrading version, MediaWiki 1.35.
30 Some specific notes for MediaWiki 1.41 upgrades are below:
31 * (T178356) MediaWiki now requires browsers to support ES6 for them to receive
32   JavaScript, up from ES5. In practice, this primarily means that users of
33   Internet Explorer 11 (EOL in 2022) will no longer get JavaScript tools.
35 For notes on 1.40.x and older releases, see HISTORY.
37 === Configuration changes for system administrators in 1.41 ===
38 * $wgGroupPermissions: The 'purge' permission is now considered an
39   implicit right that can be rate limited, but not revoked. This has
40   effectively already been the case for a long time, see T291316.
42 ==== New configuration ====
43 * $wgPrivilegedGroups – Users belonging in some of the listed groups will be
44   audited more aggressively.
45 * $wgPageLinksSchemaMigrationStage – This temporary flag lets you control the
46   migration stage for converting the pagelinks database table into normal form.
47 * $wgExternalLinksDomainGaps – Can be used by large wikis to optimize certain
48   external link queries.
49 * $wgResourceLoaderEnableSourceMapLinks - Add a SourceMap header to
50   ResourceLoader responses for JavaScript modules (T47514).
51 * $wgVirtualDomainsMapping - Mapping of virtual domains to other dbs. It's
52   useful to get connection to the external cluster.
54 ==== Changed configuration ====
55 * $wgAuthManagerAutoConfig – When using this setting to modify the
56   authentication system in MediaWiki, the classes
57   TemporaryPasswordPrimaryAuthenticationProvider,
58   LocalPasswordPrimaryAuthenticationProvider and
59   EmailNotificationSecondaryAuthenticationProvider now require
60   DBLoadBalancerFactory, not DBLoadBalancer, as a service.
61 * $wgUseFileCache is no longer used for ResourceLoader module caching.
62 * $wgLBFactoryConf['secret'] has been replaced by $wgChronologyProtectorSecret.
64 ==== Removed configuration ====
65 * $wgCommentTempTableSchemaMigrationStage – This temporary flag did let you
66   control the migration stage for the temporary comment database table, from
67   revision.
68 * $wgExternalLinksSchemaMigrationStage – This temporary flag did let you
69   control the migration stage for the externallinks database table.
70 * $wgParserOutputHooks - This array interacted with
71   ParserOutput::addOutputHook(), which has been deprecated since 1.38 and was
72   removed in this release.
74 === New user-facing features in 1.41 ===
75 * Special:RandomPage can now take multiple namespaces in its URL, split by ','.
76 * The aria-level HTML attribute is now allowed in wikitext by the Sanitizer.
78 === New features for sysadmins in 1.41 ===
79 * $wgDBssl can now enabled in the installer when the database type is
80   Postgres or MariaDB/MySQL (T335828).
81 * MWHttpRequest will forward 'tracestate' and/or 'traceparent' headers when
82   those are present in the original request and $wgAllowExternalReqID is set
83   to true.
84 * MultiHttpClient will send X-Request-Id header and additionally will forward
85   'tracestate' and/or 'traceparent' headers when those are present in the
86   original request and $wgAllowExternalReqID is set to true.
88 === New developer features in 1.41 ===
89 * Added ForeignResourcesDir extension.json / skin.json attribute, which should
90   point to the directory holding your foreign-resources.yaml file. See
91   https://www.mediawiki.org/wiki/Foreign_resources for background.
92 * Added PrivilegedGroups attribute for extension.json / skin.json, which lets
93   you add any new user groups you define to wgPrivilegedGroups (see above).
94 * Added a .gitmessage commit template. To use it, run:
95   `git config commit.template .gitmessage`
96 * A new hook, TextSlotDiffRendererTablePrefixHook, has been added to allow
97   extensions to add content within #mw-content-text but after the
98   DifferenceEngineViewHeader or DifferenceEngineShowDiffPage hooks have been
99   run. The new hook is used to add elements within a horizontal display area,
100   where their order can be explicitly set. Examples of uses for this include
101   adding the VisualEditor diff-type switch, and the legend for inline diffs that
102   is displayed if Wikidiff2 is installed.
103 * validation callbacks for HTMLForm fields can now return Status objects.
104   HTMLForm::validate will convert good Status instances to true and Status
105   instances to a string containing a list with the errors.
106 * ?action=rollback, if successful, will fire core's postEdit JavaScript hook;
107   for now, we do *not* display a success message to the user via mw.notify(),
108   as the RollbackAction form's success page is already shown
109 * MultiHttpClient constructor will accept `headers` property which defines a
110   set of headers attached to every request performed by the client.
111 * New `Wikimedia/Http/TelemetryHeadersInterface` interface that provides a
112   telemetry information which could be attached to HTTP Requests
113 * Wikimedia/Http/TelemetryHeadersInterface can be passed to MultiHttpClient
114   via 'telemetry' option.
115 * UserRegistrationLookup adds support for multiple kinds of registration dates
116   Extensions providing support for wiki-farm can use this to provide a global
117   registration date (across all wikis), for example.
118 * When $wgUseXssLanguage is set to true (enabled by default in
119   DevelopmentSettings.php), ?uselang=x-xss can be used to easily test
120   whether all messages are being escaped correctly.
121 * Html::noticeBox accepts new optional parameters, 'heading' & 'iconClassName'.
122   'heading' allows to pass an string as title; 'iconClassName' overwrites the
123   default info icon.
125 === External library changes in 1.41 ===
127 ==== New external libraries ====
128 * Added pinia at v2.0.16.
129 * Added symfony/polyfill-php81 at v1.28.0.
130 * Added symfony/polyfill-php82 at v1.28.0.
131 * Added symfony/polyfill-php83 at v1.28.0.
133 ==== Changed external libraries ====
134 * Updated codex, codex-design-tokens and codex-icons
135   from v0.6.2 to v1.0.0.
136 * Updated guzzlehttp/guzzle from 7.5.0 to 7.5.3.
137 * Updated jQuery from v3.6.1 to v3.7.0.
138 * Updated justinrainbow/json-schema from 5.2.12 to v5.2.13.
139 * Updated Mustache from 3.0.1 to 4.2.0.
140 * Updated OOjs from 6.0.0 to 7.0.1.
141 * Updated OOUI from v0.46.3 to v0.48.1.
142 * Updated pear/mail from 1.5.0 to 1.5.1.
143 * Updated symfony/polyfill-php82 from v1.27.0 to v1.28.0.
144 * Updated symfony/yaml from v5.4.17 to v5.4.23.
145 * Updated wikimedia/bcp-47-code from 1.0.0 to 2.0.0.
146 * Updated wikimedia/common-passwords from 0.4.0 to 0.5.0.
147 * Updated wikimedia/composer-merge-plugin from 2.0.1 to 2.1.0.
148 * Updated wikimedia/html-formatter from 3.0.1 to 4.0.3.
149 * Updated wikimedia/ip-utils from 4.0.0 to 5.0.0.
150 * Updated wikimedia/less.php from 4.0.0 to 4.1.1.
151 * Updated wikimedia/minify from 2.3.0 to 2.5.1.
152 * Updated wikimedia/remex-html from 3.0.3 to 4.0.1.
153 * Updated wikimedia/timestamp from 4.1.0 to 4.1.1.
154 * Updated wikimedia/utfnormal from 3.0.2 to 4.0.0.
156 ===== Changed development-only external libraries =====
157 * Updated mediawiki/mediawiki-codesniffer from 41.0.0 to 42.0.0.
158 * Updated mediawiki/mediawiki-phan-config from 0.12.1 to 0.13.0.
160 ==== Removed external libraries ====
161 * jquery.hoverIntent was removed.
162 * codex-search was removed, it's part of codex now.
163 * wikimedia/ip-set was removed, it's part of wikimedia/ip-utils now.
164 * jquery.color was removed.
165 * jquery.fullscreen was removed.
166 * jquery.form was removed.
168 === Action API changes in 1.41 ===
169 * (T322944) `Authorization` was added to the default list of headers
170   allowed for cross-origin API requests ($wgAllowedCorsHeaders).
172 === Languages updated in 1.41 ===
173 MediaWiki supports over 350 languages. Many localisations are updated regularly.
174 Below only new and removed languages are listed, as well as changes to languages
175 because of Phabricator reports.
177 * (T345807) Added language support for Karekare (kai).
178 * (T333765) Removed language support for Akan (Ak).
179 * (T332113) Added language support for Northern Hindko (hno).
180 * (T333425) Added language support for Iraqi (Mesopotamian) Arabic (acm).
181 * (T336919) Added language support for Crimean Tatar (Romania) (crh-ro).
182 * (T338416) Added language support for Betawi (bew).
183 * (T341545) Added language support for West Coast Bajau (a.k.a. Sama; bdr).
184 * (T332118) Namespace translations for Angika (anp) were added
185 * (T341942) The autonym of the Buginese language is changed to the Latin-script
186   name "Basa Ugi", and the localization in the language code "bug" is now only
187   in the Latin script. It's possible to add localization in the Lontara script
188   in translatewiki under the code "bug-bugi".
189 * (T341943) Main Page name translation was changed from "Leppa Indoë"
190   to "Watangpola". If you manage a wiki in this language, make sure that
191   links to the main page are correctly updated. See
192   https://translatewiki.net/w/i.php?title=Support&oldid=11723654#Change_MediaWiki:Mainpage/bug
194 === Breaking changes in 1.41 ===
195 * Article::doDelete(), deprecated since 1.37, has been removed.
196 * CommentStore::getStore(), deprecated since 1.31, has been removed.
197 * Article::getRedirectHeaderHtml() no longer accepts an array as $target.
198   Passing an array was deprecated in 1.39.  (The method itself has also
199   been deprecated.)
200 * BagOStuff::addBusyCallback(), deprecated since 1.39, has been removed.
201 * IExpiringStore has been removed, use either ExpirationAwareness or
202   StorageAwareness constants instead.
203 * IDatabase::wasErrorReissuable(), deprecated since 1.40, has been removed.
204 * IDatabase::lastQuery and IReadableDatabase::lastQuery, deprecated in 1.40,
205   have been removed.
206 * Database::queryMulti(), unused, has been removed without deprecation.
207   The protected Database::doMultiStatementQuery method was removed, and the
208   protected Database::executeQuery method signature was changed to take
209   Query object as argument instead of a raw SQL string.
210 * Database::unionConditionPermutations(), unused, has been removed without
211   deprecation.
212 * SimpleSearchResultSetWidget and SimpleSearchResultWidget classes, deprecated
213   in 1.31, have been removed.
214 * Database::factory(), deprecated in 1.39, has been removed.
215 * Calling IDatabase::delete() or IDatabase::update() with empty conditions
216   has been deprecated since 1.35. This now throws an error.
217 * Maintenance::shutdown() has been moved over into the MaintenanceRunner class
218   without deprecation.
219 * The following DatabasePostgres methods were unused and have been removed:
220   - ::currentSequenceValue()
221   - ::triggerExists()
222   - ::ruleExists()
223 * The following IDatabase methods were unused and removed without deprecation:
224   - ::wasLockTimeout()
225   - ::wasConnectionLoss()
226 * Database::getTempTableWrites(), previously protected, is now private.
227 * DatabasePostgres class parameter "keywordTableMap", deprecated since 1.37,
228   has been removed.
229 * Database::doUpsert() and ::doReplace() have been removed without deprecation.
230   Subclasses should override ::upsert() or ::replace() respectively.
231 * SelectQueryBuilder::lockForUpdate(), deprecated in 1.40 and unused,
232   has been removed without hard deprecation.
233 * TransactionProfiler::setSilenced() deprecated in 1.40, has been removed.
234 * ILoadBalancer::closeConnection, unused, has been removed without deprecation.
235 * ILoadBalancer::waitFor, unused, has been removed without deprecation.
236 * ILBFactory::resolveDomainID and ::getChronologyProtectorTouched, unused,
237   have been removed without deprecation.
238 * The following methods have been moved from ILoadBalancer to
239   ILoadBalancerForOwner:
240   - ::redefineLocalDomain()
241   - ::hasPrimaryConnection()
242   - ::setIndexAliases()
243 * LBFactory::makeCookieValueFromCPIndex() and ::getCPInfoFromCookieValue()
244   has been moved to ChronologyProtector class without backward compatability
245   as they are not supposed to be used outside of core.
246 * MWHttpRequest::factory(), deprecated since 1.34, has been removed.
247 * The Http class, deprecated since 1.34, with the functions ::request(),
248   ::get(), ::post(), ::userAgent(), ::isValidURI(), ::getProxy(),
249   ::createMultiClient() have been removed.
250 * WikiPage::factory(), ::newFromID() and ::newFromRow, deprecated in 1.36,
251   have been removed.
252 * Maintenance::$mArgList, ::shouldExecute(), ::setAgentAndTriggers(),
253   ::adjustMemoryLimit(), ::globals(), and ::loadSettings() have been removed.
254 * The GenericArrayObject class, deprecated in 1.40,
255   has been removed.
256 * The $replace parameter has been removed from HookContainer::scopedRegister.
257   This parameter was unused outside core, and the functionality was intended
258   for testing.
259 * PrevNextNavigationRenderer class, deprecated in 1.39,
260   has been removed.
261 * class alias MediaWiki\User\WatchlistNotificationManager, deprecated in 1.36,
262   has been removed.
263 * MediaWikiServices::getWatchlistNotificationManager(), deprecated in 1.36,
264   has been removed.
265 * Interface MediaWiki\Hook\ParserTestTablesHook, deprecated in 1.36,
266   has been removed.
267 * The NewPagesLineEndingHook now takes NewPagesPager instead of
268   SpecialNewpages as first argument.
269 * The following methods in the Title class, deprecated since 1.37, have been
270   removed:
271   - ::areCascadeProtectionSourcesLoaded()
272   - ::areRestrictionsCascading()
273   - ::areRestrictionsLoaded()
274   - ::getAllRestrictions()
275   - ::getCascadeProtectionSources()
276   - ::getFilteredRestrictionTypes()
277   - ::getRestrictionExpiry()
278   - ::getRestrictionTypes()
279   - ::getRestrictions()
280   - ::isCascadeProtected()
281   - ::isProtected()
282   - ::isSemiProtected()
283   - ::loadRestrictionsFromRows()
284 * Global function wfShowingResults, deprecated in 1.40, has been removed.
285 * Global function wfClearOutputBuffers, deprecated in 1.36, has been removed.
286 * LinkBatch::__construct() now requires that all parameters be passed. The
287   fallback to MediaWikiServices emitted deprecation notices since 1.35.
288 * The methods IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
289   IndexPager::buildPrevNextNavigation(), deprecated in 1.39,
290   have been removed.
291 * Overriding the method IndexPager::makeLink(), deprecated in 1.39,
292   is no longer possible.
293 * MagicWordFactory::getCacheTime() is deprecated and returns -1.
294 * Various mediawiki.less mediawiki.ui variables, deprecated in 1.35, have been
295   removed. See also below that the remaining mediawiki.ui variables are now also
296   deprecated.
297 * Calling getId() on an AbstractBlock from the wrong wiki, deprecated since
298   1.38, now throws an exception.
299 * SQLite no longer supports raw MySQL queries.
300 * The following functions from the mediawiki.mixins Less import, deprecated
301   since 1.37, have been removed: .transition(), .transition-transform(),
302   .transform() and .transform-origin().
303 * Support was dropped for skins with paths relative to core which has been
304   sending deprecation notices since 1.37. The skin `templateDirectory` key
305   should now always be relative to the skin.
306 * The Skin public thisquery property was removed without deprecation. Only
307   one skin was known to use it and that has been patched accordingly.
308 * The jquery.tipsy module, deprecated since 1.28, has now been removed.
309 * NamespaceInfo::getRestrictionLevels(), deprecated in 1.34, has been removed.
310   Use PermissionManager::getNamespaceRestrictionLevels() instead.
311 * Proto-relative external links are now stored and indexed only as HTTPS
312   instead of two rows, one for HTTP and one for HTTPS.
313 * MediaWikiIntegrationTestCase::getTestUser(), ::getTestSysop(), and
314   ::getMutableTestUser() have been made protected and non-static.
315 * MediaWikiIntegrationTestCase::$supportedDBs has been changed to a private
316   constant.
317 * MediaWikiIntegrationTestCase::addCoreDBData() has been deprecated. The method
318   is now a no-op and is no longer called. Tests should create the fixtures
319   they need.
320 * Saving preferences for a temporary user now throws an error (e.g. via
321   UserOptionsManager::saveOptions)
322 * ApiQuery::getNamedDB() and ApiQueryBase::selectNamedDB(), deprecated in
323   1.39, have been removed.
324 * ChangeTags::addTagsAccompanyingChangeWithChecks() and
325   ChangeTags::undefineTag() unused everywhere, have been removed without
326   deprecation.
327 * Usage of MediaWiki::preOutputCommit() with the $postCommitWork arg has been
328   dropped. It's no longer used.
329 * SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage hooks,
330   deprecated in 1.39, have been removed.
331 * The PersonalUrls hook, deprecated in 1.39, has been removed.
332 * OutputPage::getCSPNonce(), soft deprecated in 1.35, now emits deprecation
333   warnings.
334 * Support of the third parameter of LogEventsListGetExtraInputs hook,
335   deprecated since 1.32, has been removed.
336 * JobSpecification::getTitle(), deprecated in 1.37, has been removed.
337 * The module mw.ui.anchor has been removed. Projects that need it should
338   maintain a local copy or use the Codex link mixin. More information
339   at T235961.
340 * ParsoidCachePrewarmJob::newSpec() now requires a PageRecord as the second
341   parameter instead of a page ID.
342 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
343   mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
344   mTextLoaded and mCacheHit, deprecated in 1.32, was removed.
345 * SearchDatabase::db, deprecated since 1.38, has been removed.
346 * SearchDatabase::lb has been removed without deprecation, use ::dbProvider
347   instead.
348 * StreamFile::STREAM_HEADLESS and StreamFile::STREAM_ALLOW_OB, deprecated
349   in 1.34, have been removed.
350 * AbstractAuthenticationProvider::setLogger(), ::setManager(), ::setConfig()
351   and ::setHookContainer() have been removed and also from it's related
352   interface, AuthenticationProvider. The corresponding properties are set in
353   AbstractAuthenticationProvider::init(). For side effects, you can override
354   AbstractAuthenticationProvider::postInitSetup().
355 * Title::newFromTitleValue(), deprecated since 1.34, has been removed.
356 * Parser::OT_MSG, related to OT_MSG(3) MediaWiki constant, parameter for
357   starting external parse has been dropped. This was kept since 2008 for B/C
358   only and no longer used. Use instead Parser::OT_PREPROCESS as the
359   replacement.
360 * SpecialPageAction has been removed without deprecation. There were no known
361   uses outside of core.
362 * ConfigRepository::getValueOf() has been removed without deprecation. This
363   method was introduced and never used for a long time now.
364 * BacklinkCache::get(), ::getLinks(), ::getCascadeProtectedLinks() which
365   emitted deprecation warnings has no usage left. It has been removed.
366 * The following constants and methods in the Language class, hard deprecated
367   since 1.40, have been removed:
368   - ::ALL
369   - ::SUPPORTED
370   - ::MESSAGES_FALLBACKS
371   - ::STRICT_FALLBACKS
372   - ::factory()
373   - ::isSupportedLanguage()
374   - ::isWellFormedLanguageTag()
375   - ::isValidCode()
376   - ::isValidBuiltInCode()
377   - ::isKnownLanguageTag()
378   - ::getLocalisationCache()
379   - ::fetchLanguageNames()
380   - ::fetchLanguageName()
381   - ::getConverter()
382   - ::autoConvert()
383   - ::autoConvertToAllVariants()
384   - ::convert()
385   - ::convertNamespace()
386   - ::hasVariants()
387   - ::hasVariant()
388   - ::convertHtml()
389   - ::convertCategoryKey()
390   - ::getVariants()
391   - ::getPreferredVariant()
392   - ::getDefaultVariant()
393   - ::getURLVariant()
394   - ::getExtraHashOptions()
395   - ::getParentLanguage()
396   - ::getFileName()
397   - ::getMessagesFileName()
398   - ::getJsonMessagesFileName()
399   - ::getFallbackFor()
400   - ::getFallbacksFor()
401   - ::getFallbacksIncludingSiteLanguage()
402   - ::getMessagesFor()
403   - ::getMessageFor()
404   - ::getMessageKeysFor()
405   - ::getConvRuleTitle()
406 * The parameter noSeparators to Language::formatNum, deprecated since 1.36,
407   has been removed. Use Language::formatNumNoSeparators instead.
408 * The following methods in the ParserOutput class, deprecated since 1.38, have
409   been removed:
410   - ::addOutputHook()
411   - ::addTrackingCategory()
412   - ::addWarning()
413   - ::getCategoryLinks()
414   - ::getOutputHooks()
415   - ::getProperties()
416   - ::getProperty()
417   - ::hasDynamicContent()
418   - ::hideNewSection()
419   - ::preventClickjacking()
420   - ::setCategoryLinks()
421   - ::setProperty()
422   - ::unsetProperty()
423 * OutputPage::allowClickjacking() and ::preventClickjacking(), deprecated
424   since 1.38, have been removed.
425 * ResourceFileCache has been removed without deprecation. There were no known
426   uses outside of core.
427 * Many LocalisationCache constants, properties and methods that have no known
428   usage outside of the class have been made private without deprecation.
429 * User::idFromName(), deprecated in 1.37, has been removed. Instead, you should
430   use UserIdentityLookup::getUserIdentityByName().
431 * User::incEditCount(), deprecated in 1.37, has been removed. Instead, use
432   UserEditTracker::incrementUserEditCount().
433 * Article::getTimestamp(), deprecated in 1.35, has been removed. Use WikiPage's
434   or RevisionRecord's version of this method instead.
435 * ActionFactory::actionExists(), deprecated since 1.38, has been dropped.
436 * Action::exists(), deprecated since 1.38, has been dropped.
437 * ContentHandler::getForTitle(), deprecated since 1.35, has been dropped.
438 * LockManagerGroup::getDefault() and ::getAny(), deprecated since 1.35, have
439   been dropped.
440 * BaseTemplate::getToolbox(), deprecated since 1.35, has been dropped. To add
441   items to the toolbox, use the SidebarBeforeOutput hook. To get the toolbox,
442   subclasses can use $this->data['sidebar']['TOOLBOX'].
443 * IndexPager::getHookContainer(), deprecated since 1.40, has been removed. You
444   should instead inject a HookContainer into your code.
445 * Not specifying a manifest_version in your extension.json or skin.json file,
446   deprecated since 1.26 and emitting warnings since 1.29, is no longer supported
447   with a fallback; it will now have unspecified behaviour.
448 * RecentChange::getEngine(), deprecated since 1.29, has been removed. Use
449   RCFeed::factory() instead.
450 * EditPage::showEditForm() no longer respects the $formCallback parameter, which
451   was deprecated in 1.25. Use the EditPage::showEditForm:fields hook instead.
452 * The following properties in EditPage, deprecated in 1.38, were made private:
453   - $mArticle
454   - $mTitle
455   - $isNew
456   - $allowBlankArticle
457   - $selfRedirect
458   - $allowSelfRedirect
459   - $diff
460   - $undoAfter
461   - $edit
462   - $contentLength
463 * EditPage::addNewLineAtEnd(), deprecated since 1.38, was removed.
464 * AuthManager::checkAccountCreatePermissions(), deprecated in 1.39, has been
465   removed. Use authorizeCreateAccount() or probablyCanCreateAccount() instead.
466 * LinkCache::addGoodLinkObj(), deprecated in 1.37, has been removed. You should
467   use ::addGoodLinkObjFromRow().
468 * Constructing TextConflictHelper without a ContentHandlerFactory, deprecated
469   since 1.35, will now trigger a type error.
470 * JobQueue::getWiki(), deprecated in 1.33, has been removed.
471 * ManualLogEntry::setTags(), deprecated in 1.33, has been removed.
472 * WikiPage::getDeletionUpdates(), deprecated in 1.37, has been removed.
473 * ResourceLoader\Context::getConfig(), deprecated in 1.34, has been removed.
474 * When creating a SearchUpdate instance, passing a non-Content string or Boolean
475   as the $c parameter, deprecated since 1.34, will now trigger type errors.
476 * SkinTemplate::getNameSpaceKey(), deprecated in 1.35, has been dropped. Instead
477   you should use Title::getNamespaceKey().
478 * The AddNewAccount hook, deprecated since 1.27, will now trigger deprecation
479   warnings. You should use the LocalUserCreated hook instead.
480 * The PrefixSearchBackend hook, deprecated since 1.27, will now trigger
481   deprecation warnings. Override SearchEngine::completionSearchBackend instead.
482 * PrefixSearch::validateNamespaces(), completely unused everywhere, has been
483   removed without deprecation.
484 * BaseTemplate::getTrail() and ::printTrail(), deprecated since 1.39, have been
485   dropped.
486 * Passing a second query parameter to Title::getFullURL(), Title::getLocalURL(),
487   Title::getInternalURL(), or Title::getCanonicalURL(), each deprecated in 1.19,
488   is now not supported. Pass it as a key,value pair in the first parameter array
489   instead.
490 * Title::getBacklinkCache(), deprecated since 1.37, has been dropped. Instead,
491   use BacklinkCacheFactory::getBacklinkCache().
492 * Title::newFromIDs and TitleFactory::newFromIDs, deprecated in 1.38, have been
493   dropped; use a PageStore QueryBuilder instead.
494 * Title::getSelectFields(), deprecated since 1.36, has been dropped. You can use
495   PageStore::newSelectQueryBuilder() instead.
496 * Title::getTouched() will now trigger an error if you pass it an instance of
497   IDatabase rather than a READ_XXX constant. This legacy behaviour has been
498   deprecated since 1.38.
499 * User::getGroupPermissions(), getGroupsWithPermission() & groupHasPermission(),
500   all of which were deprecated since 1.34, have been removed. Instead, use the
501   GroupPermissionsLookup service.
502 * Similarly, PermissionManager::getGroupPermissions(), getGroupsWithPermission()
503   & groupHasPermission(), all of which were deprecated since 1.36, have also
504   been removed. Instead, use the GroupPermissionsLookup service.
505 * The following old, deprecated aliases for classes in the RDBMS layer, have now
506   been removed:
507    - DBConnRef (use Wikimedia\Rdbms\DBConnRef)
508    - Database (use Wikimedia\Rdbms\Database)
509    - DatabaseBase (use Wikimedia\Rdbms\Database)
510    - DatabaseMysqlBase (use Wikimedia\Rdbms\DatabaseMySQL)
511    - DatabaseMysqli (use Wikimedia\Rdbms\DatabaseMySQL)
512    - DatabasePostgres (use Wikimedia\Rdbms\DatabasePostgres)
513    - DatabaseSqlite (use Wikimedia\Rdbms\DatabaseSqlite)
514    - IDatabase (use Wikimedia\Rdbms\IDatabase)
515    - FakeResultWrapper (use Wikimedia\Rdbms\FakeResultWrapper)
516    - ResultWrapper (use Wikimedia\Rdbms\ResultWrapper)
517 * The following old, deprecated aliases for classes have now been removed:
518    - MediaWiki\Rest\Handler\HtmlInputTransformHelper
519    - MediaWiki\Rest\Handler\HtmlMessageOutputHelper
520    - MediaWiki\Rest\Handler\HtmlOutputRendererHelper
521    - MediaWiki\Rest\Handler\PageContentHelper
522    - MediaWiki\Rest\Handler\PageRestHelperFactory
523    - MediaWiki\Rest\Handler\ParsoidFormatHelper
524    - MediaWiki\Rest\Handler\RevisionContentHelper
525   (use the classes from namespace MediaWiki\Rest\Handler\Helper)
526    - SearchNearMatcher (use MediaWiki\Search\TitleMatcher)
527 * $CHANGEDORCREATED argument of 'enotif_body' message was removed.
528   It wasn't used in the default messages since 1.21.
529 * The AbstractBlock and DatabaseBlock public properties mExpiry, mHideName,
530   mTimestamp, mAuto and mParentBlockId, deprecated since 1.34, have been
531   removed.
532 * WikiPage::doDeleteUpdates() and ::getDeletionUpdates(), deprecated in 1.37,
533   have been removed.
534 * The User public properties mOptions, mBlock, mBlockedby and mHideName,
535   deprecated since 1.35, were removed.
536 * User::CHECK_USER_RIGHTS and User::IGNORE_USER_RIGHTS were removed. They were
537   flags passed to methods which were previously removed.
538 * All public properties of LinksUpdate, deprecated in 1.38, were removed.
539 * The class Wikimedia\Rdbms\MySQLMasterPos, deprecated in 1.37, has been
540   removed. Use Wikimedia\Rdbms\MySQLPrimaryPos instead.
541 * The class GetBlockErrorMessageKey, deprecated in 1.40, has been removed.
542 * The ability to set Parser::mTitle to null, deprecated in 1.34, was removed.
543 * The following MagicWord methods have been removed without deprecation. There
544   were no known uses.
545   - ::addToArray
546   - ::compareStringLength
547   - ::getVariableRegex
548   - ::getVariableStartToEndRegex
549   - ::getWasModified
550   - ::matchStart
551   - ::matchVariableStartToEnd
552   - ::pregRemoveAndRecord
553   - ::substituteCallback
554 * The following MagicWordArray methods have been removed or made private without
555   deprecation. There were no known uses outside of the class.
556   - ::addArray
557   - ::getRegex, already marked as @internal, now private
558   - ::getRegexStart, already marked as @internal, now private
559   - ::getVariableRegex, deprecated since 1.36
560   - ::getVariableStartToEndRegex, already marked as @internal, now private
561   - ::parseMatch, now private
562 * AbstractContent::getRedirectChain() and ::getUltimateRedirectTarget(), both
563   deprecated in 1.38, have been removed.
565 === Deprecations in 1.41 ===
566 * The MessageCache::get hook is deprecated for performance reasons. Use
567   MessageCacheFetchOverrides instead.
568 * EtcdConfig::setLogger() is deprecated as it was unused and could not be
569   used correctly. As a standalone class, its warnings now surface
570   unconditionally via the native PHP error log.
571 * The interface for hook ParserModifyImageHTML have been renamed from
572   ParserModifyImageHTML to ParserModifyImageHTMLHook,
573   the old name is deprecated.
574 * (T178356) The es6-polyfills module is deprecated and is now a no-op.
575 * SerializedValueContainer::newUnified() is unused and now emits deprecation
576   warnings.
577 * Profiler::setProfileID() and ::getAllowOutput() are now deprecated and also
578   emit deprecation warnings. For ::setProfileID(), override the related class
579   member directly in sub-class.
580 * (T166010) All PHP code in MediaWiki is slowly being moved to be in a class
581   namespace as appropriate, so that we can use PSR-4 auto-loading, which will
582   speed up general code loading of MediaWiki. The old global namespace class
583   names are being left behind as deprecated aliases.
585   In this release of MediaWiki, 1661 classes now have a namespace and 972 do
586   not yet (63% done, up from 54% in MediaWiki 1.40.0). The following have newly
587   been moved:
588   - MediaWiki\Config:
589     - Config
590     - ConfigException
591     - ConfigFactory
592     - EtcdConfig
593     - EtcdConfigParseError
594     - GlobalVarConfig
595     - HashConfig
596     - MultiConfig
597     - MutableConfig
598     - SiteConfiguration
599   - MediaWiki\EventRelayer:
600     - EventRelayer
601     - EventRelayerNull
602     - EventRelayerGroup
603   - MediaWiki\Installer:
604     - Pingback
605   - MediaWiki\Libs:
606     - Emptiable
607   - MediaWiki\Output:
608     - OutputPage
609     - OutputHandler
610     - StreamFile
611   - MediaWiki\Pager:
612     - ActiveUsersPager
613     - AllMessagesTablePager
614     - AlphabeticPager
615     - BlockListPager
616     - CategoryPager
617     - ContribsPager
618     - DeletedContribsPager
619     - HistoryPager
620     - ImageListPager
621     - IndexPager
622     - LogPager
623     - MergeHistoryPager
624     - NewFilesPager
625     - NewPagesPager
626     - Pager
627     - PagerTools
628     - ProtectedPagesPager
629     - ProtectedTitlesPager
630     - RangeChronologicalPager
631     - ReverseChronologicalPager
632     - TablePager
633     - UsersPager
634   - MediaWiki\Parser:
635     - Sanitizer
636   - MediaWiki\Request:
637     - ProxyLookup
638     - WebRequest
639   - MediaWiki\SiteStats:
640     - SiteStats
641     - SiteStatsInit
642   - MediaWiki\Specials:
643     - SpecialActiveUsers
644     - SpecialAllMessages
645     - SpecialAncientPages
646     - SpecialApiHelp
647     - SpecialApiSandbox
648     - SpecialAutoblockList
649     - SpecialBlankpage
650     - SpecialBlock
651     - SpecialBlockList
652     - SpecialBookSources
653     - SpecialBotPasswords
654     - SpecialBrokenRedirects
655     - SpecialCategories
656     - SpecialChangeContentModel
657     - SpecialChangeCredentials
658     - SpecialChangeEmail
659     - SpecialChangePassword
660     - SpecialComparePages
661     - SpecialConfirmEmail
662     - SpecialContribute
663     - SpecialContributions
664     - SpecialCreateAccount
665     - SpecialDeadendPages
666     - SpecialDeletePage
667     - SpecialDeletedContributions
668     - SpecialDiff
669     - SpecialDoubleRedirects
670     - SpecialEditPage
671     - SpecialEditTags
672     - SpecialEditWatchlist
673     - SpecialEmailInvalidate
674     - SpecialEmailUser
675     - SpecialExpandTemplates
676     - SpecialExport
677     - SpecialFewestRevisions
678     - SpecialFileDuplicateSearch
679     - SpecialFilepath
680     - SpecialGoToInterwiki
681     - SpecialImport
682     - SpecialJavaScriptTest
683     - SpecialLinkAccounts
684     - SpecialLinkSearch
685     - SpecialListDuplicatedFiles
686     - SpecialListFiles
687     - SpecialListGrants
688     - SpecialListGroupRights
689     - SpecialListRedirects
690     - SpecialListUsers
691     - SpecialLockdb
692     - SpecialLog
693     - SpecialLonelyPages
694     - SpecialLongPages
695     - SpecialMIMESearch
696     - SpecialMediaStatistics
697     - SpecialMergeHistory
698     - SpecialMostCategories
699     - SpecialMostInterwikis
700     - SpecialMostLinked
701     - SpecialMostLinkedCategories
702     - SpecialMostLinkedTemplates
703     - SpecialMostRevisions
704     - SpecialMute
705     - SpecialMyLanguage
706     - SpecialNewFiles
707     - SpecialNewPages (and capitalisation corrected)
708     - SpecialNewSection
709     - SpecialPageData
710     - SpecialPageHistory
711     - SpecialPageInfo
712     - SpecialPageLanguage
713     - SpecialPagesWithProp
714     - SpecialPasswordPolicies
715     - SpecialPasswordReset
716     - SpecialPermanentLink
717     - SpecialPreferences
718     - SpecialPrefixIndex (and capitalisation corrected)
719     - SpecialProtectedPages (and capitalisation corrected)
720     - SpecialProtectedTitles (and capitalisation corrected)
721     - SpecialProtectPage
722     - SpecialPurge
723     - SpecialRandomInCategory
724     - SpecialRandom
725     - SpecialRandomRedirect
726     - SpecialRandomRootPage
727     - SpecialRecentChanges
728     - SpecialRecentChangesLinked
729     - SpecialRedirect
730     - SpecialRedirectToSpecial
731     - SpecialRemoveCredentials
732     - SpecialRenameUser (and capitalisation corrected)
733     - SpecialResetTokens
734     - SpecialRevisionDelete
735     - SpecialRunJobs
736     - SpecialSearch
737     - SpecialShortPages
738     - SpecialSpecialPages (and capitalisation corrected)
739     - SpecialStatistics
740     - SpecialTags
741     - SpecialTrackingCategories
742     - SpecialUnblock
743     - SpecialUncategorizedCategories
744     - SpecialUncategorizedImages
745     - SpecialUncategorizedPages
746     - SpecialUncategorizedTemplates
747     - SpecialUndelete
748     - SpecialUnlinkAccounts
749     - SpecialUnlockdb
750     - SpecialUnusedCategories
751     - SpecialUnusedImages
752     - SpecialUnusedTemplates
753     - SpecialUnwatchedPages
754     - SpecialUpload
755     - SpecialUploadStash
756     - SpecialUserLogin
757     - SpecialUserLogout
758     - SpecialVersion
759     - SpecialWantedCategories
760     - SpecialWantedTemplates
761     - SpecialWatchlist
762     - SpecialWhatLinksHere
763     - SpecialWithoutInterwiki
764   - MediaWiki\Specials\Redirects:
765     - SpecialAllMyUploads
766     - SpecialListAdmins
767     - SpecialListBots
768     - SpecialMycontributions
769     - SpecialMylog
770     - SpecialMypage
771     - SpecialMytalk
772     - SpecialMyuploads
773   - MediaWiki\SpecialPage:
774     - AuthManagerSpecialPage
775     - ChangesListSpecialPage
776     - DisabledSpecialPage
777     - FormSpecialPage
778     - ImageQueryPage
779     - IncludableSpecialPage
780     - LoginSignupSpecialPage
781     - PageQueryPage
782     - QueryPage
783     - RedirectSpecialArticle
784     - RedirectSpecialPage
785     - SpecialPage
786     - SpecialRedirectToSpecial
787     - SpecialRedirectWithAction
788     - UnlistedSpecialPage
789     - WantedQueryPage
790   - MediaWiki\Status:
791     - Status
792   - MediaWiki\Title:
793     - ForeignTitle
794     - ForeignTitleFactory
795     - ImportTitleFactory
796     - MalformedTitleException
797     - MediaWikiTitleCodec
798     - NaiveForeignTitleFactory
799     - NaiveImportTitleFactory
800     - NamespaceAwareForeignTitleFactory
801     - NamespaceImportTitleFactory
802     - NamespaceInfo
803     - SubpageImportTitleFactory
804     - TitleFormatter
805     - TitleParser
806     - TitleValue
807   - MediaWiki\User:
808     - BotPassword
809     - ExternalUserNames
810     - LoggedOutEditToken
811     - PasswordReset
812     - User
813     - UserArray
814     - UserArrayFromResult
815     - UserGroupMembership
816     - UserRightsProxy
817   - MediaWiki\User\CentralId:
818     - CentralIdLookup
819     - LocalIdLookup
820   - MediaWiki\Utils:
821     - MWTimestamp
822     - GitInfo
823     - ExtensionInfo (previously under MediaWiki\ExtensionInfo)
824   - Wikimedia\Rdbms:
825     - ConfiguredReadOnlyMode
826     - ReadOnlyMode
827 * Various mediawiki.ui variables have been deprecated in favor of
828   'mediawiki.skin.variables.less' Codex design tokens featuring replacements.
829 * Hook handlers must now be specified either as a PHP callable, or as a PHP
830   object that has a method matching the hook name. Other ways to specify
831   the handler are deprecated and will soon be removed. Deprecated ways to
832   specify a hook handler include callables wrapped in an array. Handlers
833   defined using a "HookHandlers" entry in extension.json are not affected.
834 * TitleArray::newFromResult() has been deprecated and now emits deprecation
835   warnings, use TitleArrayFromResults instead.
836 * The MediaWikiIntegrationTestCase::$users has been deprecated. Use Authority
837   if possible, or call ::getTestUser() or ::getTestSysop() directly.
838 * WebRequest::isSafeRequest() and ::markAsSafeRequest() has been deprecated
839   and now emits deprecation warnings. Use ::hasSafeMethod() instead.
840 * The tests/phpunit/phpunit.php entrypoint has been deprecated. PHPUnit
841   tests should be run with composer, for example with the
842   `composer phpunit:entrypoint` command.
843 * The unnamespace UserNamePrefixSearch class, deprecated in 1.36, now emits
844   deprecation warnings. Use the MediaWiki\User\UserNamePrefixSearch service.
845 * The jquery.cookie ResourceLoader module has been merged into the existing
846   mediawiki.cookie module; jquery.cookie remains but is deprecated.
847 * Passing a database to DatabaseBlockStore::insertBlock() is deprecated.
848   DatabaseBlockStoreFactory should be used to fetch a correct
849   DatabaseBlockStore instead.
850 * The global function wfGetLangObj is deprecated and emits deprecation
851   warnings. Use MediaWiki\Languages\LanguageFactory::getLanguage instead.
852 * The SwiftVirtualRESTService class is deprecated in 1.41 and now emits
853   deprecation warnings.
854 * SqlBagOStuff::expireAll() is deprecated and now emits deprecation warnings,
855   use SqlBagOStuff::deleteObjectsExpiringBefore() instead.
856 * SqlBagOStuff::deleteAll() is deprecated and now emits deprecation warnings.
857 * Passing an actor id to the UserIdentityValue constructor is now emits
858   deprecation warnings, it is deprecated since 1.36.
859 * UserGroupMembership::getGroupName(), deprecated in 1.38, and
860   UserGroupMembership::getGroupMemberName(), deprecated in 1.40, now emit
861   deprecation warnings.
862 * UserGroupMembership::getLink() has been deprecated in favour of
863   ::getLinkHTML() and ::getLinkWiki().
864 * Linker::formatComment(), ::formatLinksInComment(), ::commentBlock() and
865   ::revComment(), deprecated in 1.38, now emit deprecation warnings.
866 * PageArchive::listRevisions(), ::getRevisionRecordByTimestamp(),
867   ::getArchivedRevisionRecord(), ::getPreviousRevisionRecord(),
868   ::getLastRevisionId() and ::isDeleted(), deprecated in 1.38,
869   now emit deprecation warnings.
870 * SearchResultThumbnail::getSize() has been deprecated to be dropped in the
871   future as it is resource intensive and degrades performance.
872 * The EmailUserPermissionsErrors and UserCanSendEmail hooks have been
873   deprecated in favour of the EmailUserAuthorizeSend hook.
874 * The EmailUser hook has been deprecated in favour of the EmailUserSendEmail
875   hook.
876 * The InterwikiLoadPrefix hook now emits deprecation warnings. Resetting the
877   $wgInterwikiCache setting instead.
878 * SiteConfiguration::getConfig() now emits deprecation warnings, Use ::get()
879   instead.
880 * SiteConfiguration::extractVar() and ::extractGlobal() have been deprecated
881   and also emit deprecation warnings.
882 * JobQueueGroup::waitForBackups() is deprecated. JobQueue::waitForBackups()
883   should be used instead.
884 * Hooks::isRegistered(), ::getHandlers(), ::run() and ::runWithoutAbort(),
885   deprecated in 1.35, now emit deprecation warnings.
886 * VirtualRESTService class and its subclasses now emit deprecation warnings
887   in 1.41 and as a replacement we can use MultiHttpClient.
888 * Calling the MediaWikiServices::getVirtualRESTServiceClient() function
889   which creates the VirtualRESTServiceClient now emits deprecation warnings.
890 * Language::getMessage and Language::getAllMessages are deprecated. Use
891   LocalisationCache or MessageCache as appropriate.
892 * VirtualRESTService class is deprecated in 1.41 and as a replacement
893   we can use MultiHttpClient.
894 * MediaWikiServices::getConfiguredReadOnlyMode() is deprecated. Use
895   ::getReadOnlyMode() instead. ReadOnlyMode::getConfiguredReason()
896   and ::isConfiguredReadOnly() has been added to support that.
897 * UploadBase::isThrottled() has been deprecated and is emitting deprecation
898   warnings. Rate limits are enforced by UploadBase::verifyTitlePermissions(),
899   since rate limit checks are now implicit in permission checks.
900 * JobSpecification::toSerializableArray() now emits deprecation warnings.
901 * The following skin methods were deprecated:
902   - Skin::makeSpecialUrl (use Title or Special class instead)
903   - Skin::makeSpecialUrlSubpage (use Title or Special class instead)
904 * mw.jqueryMsg.parser, deprecated in 1.31, now emits deprecation warnings.
905 * ResourceLoader (T127268): The targets system is deprecated. Modules that
906   have been marked as desktop or mobile only are no longer supported and
907   will send deprecation warnings.
908 * TextSlotDiffRenderer::setLanguage() is deprecated, and calling it will
909   have no effect. Use ContentHandler::getSlotDiffRenderer(), or in subclasses,
910   ContentHandler::createTextSlotDiffRenderer(), to correctly inject
911   dependencies into TextSlotDiffRenderer.
912 * The static methods encodeJsVar() and encodeJsCall() have been moved from the
913   Xml class to the more appropriate MediaWiki\Html\Html one, and the old ones
914   are now deprecated.
915 * Some work to rename classes was done in previous releases, but the renaming
916   was not noted at the time. The old aliases work for now but are deprecated;
917   this is now explicitly noted:
918   From 1.40:
919   - Category -> MediaWiki\Category\Category
920   - CategoriesRdf -> MediaWiki\Category\CategoriesRdf
921   - CategoryViewer -> MediaWiki\Category\CategoryViewer
922   - TrackingCategories -> MediaWiki\Category\TrackingCategories
923   - CommentStore -> MediaWiki\CommentStore\CommentStore
924   - CommentStoreComment -> MediaWiki\CommentStore\CommentStoreComment
925   - EditPage -> MediaWiki\EditPage\EditPage
926   - TemplatesOnThisPageFormatter
927     -> MediaWiki\EditPage\TemplatesOnThisPageFormatter
928   - LinkFilter -> MediaWiki\ExternalLinks\LinkFilter
929   - AtomFeed -> MediaWiki\Feed\AtomFeed
930   - ChannelFeed -> MediaWiki\Feed\ChannelFeed
931   - FeedItem -> MediaWiki\Feed\FeedItem
932   - FeedUtils -> MediaWiki\Feed\FeedUtils
933   - RSSFeed -> MediaWiki\Feed\RSSFeed
934   - Html -> MediaWiki\Html\Html
935   - FormOptions -> MediaWiki\Html\FormOptions
936   - HtmlHelper -> MediaWiki\Html\HtmlHelper
937   - ListToggle -> MediaWiki\Html\ListToggle
938   - TemplateParser -> MediaWiki\Html\TemplateParser
939   - RawMessage -> MediaWiki\Language\RawMessage
940   - FileDeleteForm -> MediaWiki\Page\File\FileDeleteForm
941   - MergeHistory -> MediaWiki\Page\File\MergeHistory
942   - MovePage -> MediaWiki\Page\File\MovePage
943   - ProtectionForm -> MediaWiki\Page\File\ProtectionForm
944   - MediaWiki\BadFileLookup -> MediaWiki\Page\File\BadFileLookup
945   - PageProps -> MediaWiki\Page\PageProps
946   - MagicWord -> MediaWiki\Parser\MagicWord
947   - MagicWordArray -> MediaWiki\Parser\MagicWordArray
948   - MagicWordFactory -> MediaWiki\Parser\MagicWordFactory
949   - Linker -> MediaWiki\Linker\Linker
950   - DummyLinker -> MediaWiki\Linker\DummyLinker
951   - ForkController -> MediaWiki\Maintenance\ForkController
952   - OrderedStreamingForkController
953     -> MediaWiki\Maintenance\OrderedStreamingForkController
954   - ContentSecurityPolicy -> MediaWiki\Request\ContentSecurityPolicy
955   - DerivativeRequest -> MediaWiki\Request\DerivativeRequest
956   - FauxRequest -> MediaWiki\Request\FauxRequest
957   - FauxRequestUpload -> MediaWiki\Request\FauxRequestUpload
958   - PathRouter -> MediaWiki\Request\PathRouter
959   - WebRequestUpload -> MediaWiki\Request\WebRequestUpload
960   - FauxResponse -> MediaWiki\Request\FauxResponse
961   - WebResponse -> MediaWiki\Request\WebResponse
962   - MediaWiki\HeaderCallback -> MediaWiki\Request\HeaderCallback
963   - StubObject -> MediaWiki\StubObject\StubObject
964   - DeprecatedGlobal -> MediaWiki\StubObject\DeprecatedGlobal
965   - StubGlobalUser -> MediaWiki\StubObject\StubGlobalUser
966   - StubUserLang -> MediaWiki\StubObject\StubUserLang
967   - Title -> MediaWiki\Title\Title
968   - TitleArray -> MediaWiki\Title\TitleArray
969   - TitleArrayFromResult -> MediaWiki\Title\TitleArrayFromResult
970   - TitleFactory -> MediaWiki\Title\TitleFactory
971   - ActorMigration -> MediaWiki\User\ActorMigration
972   - ActorMigrationBase -> MediaWiki\User\ActorMigrationBase
973   - WikiMap -> MediaWiki\WikiMap\WikiMap
974   - WikiReference -> MediaWiki\WikiMap\WikiReference
975   From 1.39:
976   - ResourceLoader -> MediaWiki\ResourceLoader\ResourceLoader
977   From 1.29:
978   - IMaintainableDatabase -> Wikimedia\Rdbms\IMaintainableDatabase
979 * The WebRequest::getRequestId() and WebRequest::overrideRequestId() are
980   deprecated. Use methods from MediaWiki\Http\Telemetry class instead.
981 * The XmlJsCode wrapper class has been renamed to MediaWiki\Html\HtmlJsCode,
982   and the old name is now deprecated.
983 * The use of non-serializable arguments to ParserOutput::addWarningMsg() has
984   been deprecated and will emit deprecation warnings.
985 * Class UserRightsProxy, deprecated since 1.38, now emits
986   deprecation warnings from its factory functions.
987 * MediaWiki\ResourceLoader\Module::getDeprecationInformation() is deprecated.
988   Use ::getDeprecationWarning() instead.
989 * Passing a Message to OutputPage::setPageTitle() is deprecated.
990   Use ::setPageTitleMsg() instead (which escapes HTML metacharacters).
991 * Passing arguments to OutputPage::prepareErrorPage() is deprecated.
992   Use explicit calls to OutputPage::setPageTitleMsg() and ::setHTMLTitle()
993   instead.
994 * Returning a string from Action::getPageTitle() is deprecated;
995   return a Message instead, which will be formatted using FORMAT_ESCAPED.
996 * Returning a string from SpecialPage::getDescription() is deprecated;
997   return a Message instead, which will be formatted using FORMAT_ESCAPED.
998 * MediaWiki\Block\AbstractBlock::getReason(), deprecated since 1.35, now emits
999   deprecation warnings. Use ::getReasonComment() instead.
1000 * User::getGroups(), ::addGroup(), ::removeGroup(), ::getGroupMemberships(),
1001   ::getAllGroups(), ::getImplicitGroups(), deprecated since 1.35, now emit
1002   deprecation warnings.
1003 * The global function wfReportTime(), deprecated since 1.40, now emits
1004   deprecation warnings. The SkinTemplate parameter 'reporttime' is deprecated.
1005 * RevisionStore::getQueryInfo() and RevisionFactory::getQueryInfo() have been
1006   deprecated. Use ::newSelectQueryBuilder() instead.
1007 * Following methods in rdbms library have been made internal:
1008   - IDatabase::getLBInfo()
1009   - IDatabase::setLBInfo()
1010   - IDatabase::insert() Use InsertQueryBuilder instead.
1011   - IDatabase::update() Use UpdateQueryBuilder instead.
1012   - IDatabase::replace() Use ReplaceQueryBuilder instead.
1013   - IDatabase::upsert() Use InsertQueryBuilder instead.
1014   - IDatabase::delete() Use DeleteQueryBuilder instead.
1015   - IReadableDatabase::selectField() Use SelectQueryBuilder instead.
1016   - IReadableDatabase::selectFieldValues() Use SelectQueryBuilder instead.
1017   - IReadableDatabase::select() Use SelectQueryBuilder instead.
1018   - IReadableDatabase::selectRow() Use SelectQueryBuilder instead.
1019   - IReadableDatabase::estimateRowCount() Use SelectQueryBuilder instead.
1020   - IReadableDatabase::selectRowCount() Use SelectQueryBuilder instead.
1021   - ISQLPlatform::unionQueries() Use UnionQueryBuilder instead.
1022 * The core Wikimedia\Rdbms\DatabaseMysqlBase class has been renamed to reflect
1023   the earlier merger of Mysqli into it; it's now Wikimedia\Rdbms\DatabaseMySQL.
1024 * The following methods in SpecialEmailUser have been deprecated:
1025   - SpecialEmailUser::validateTarget(), use EmailUser::validateTarget()
1026   - SpecialEmailUser::getPermissionsError(), use EmailUser::canSend() or
1027     EmailUser::authorizeSend()
1028   - SpecialEmailUser::submit(), use EmailUser::sendEmailUnsafe()
1029 * User::isBlockedFromEmailuser() has been deprecated. EmailUser::canSend()
1030   checks blocks amongst other things. If you only need this check, use
1031   User::getBlock()->appliesToRight( 'sendemail' ).
1032 * User::canSendEmail() has been deprecated. Use EmailUser::canSend() instead.
1033 * The following methods, previously deprecated, now emit deprecation warnings:
1034   - ConfigFactory::getDefaultInstance(), deprecated since 1.27
1035   - AbstractContent::getNativeData(), deprecated since 1.33
1036   - TablePager::getBody(), deprecated since 1.24
1037   - ContentHandler::getSlotDiffRendererInternal(), deprecated since 1.35
1038   - ParserOutput::getCategories(), deprecated since 1.40
1039   - PasswordFactory::init(), deprecated since 1.32
1040 * WikitextContent::getRedirectTargetAndText has been deprecated, use
1041   WikitextContentHandler::extractRedirectTargetAndText instead.
1042 * WikiPage::doDeleteArticleBatched, deprecated in 1.37, now emits deprecation
1043   warnings.
1044 * WikiPage::getPageIsRedirectField() is now deprecated.
1045 * WikiPage::insertRedirect() is now deprecated.
1046 * Parser::getFreshParser(), deprecated since 1.39, now emits deprecation
1047   warnings.
1048 * The legacy MediaWiki UI ResourceLoader modules, such as `mediawiki.ui`, are
1049   all now emitting deprecation warnings in the JavaScript console. Please use
1050   Codex CSS components instead.
1051 * Article::getRedirectHeaderHtml() has been deprecated and emits deprecation
1052   warnings, use LinkRenderer::makeRedirectHeader() instead.
1053 * SpecialBlock::getTargetAndType(), deprecated since 1.36, now emits deprecation
1054   warnings.
1055 * ApiBase::checkTitleUserPermissions() now type-forces a PageIdentity instead of
1056   a LinkTarget. Passing a LinkTarget has been deprecated since 1.36.
1057 * Passing a User to ApiBase::checkUserRightsAny() in the second parameter, which
1058   was deprecated in 1.36, is no longer read. Instead, it will use the request
1059   context's set Authority via IContextSource::getAuthority().
1060 * Sanitizer::escapeIdReferenceList(), deprecated since 1.36, has been dropped.
1061 * RecentChange::getPerformer(), deprecated since 1.36, has been dropped.
1062 * SpecialPage::getLanguageConverter(), deprecated since 1.36, has been dropped.
1063   Use LanguageConverterFactory::getLanguageConverter() directly.
1064 * SpecialBlock::checkUnblockSelf(), deprecated since 1.36, has been dropped. Use
1065   BlockPermissionChecker instead.
1066 * DifferenceEngine::localiseLineNumbers() has been deprecated in favor of
1067   BaseTextDiffer::localizeLineNumbers(). Subclasses such as PhpTextDiffer may
1068   make this available via a ::localize() method.
1069 * ChangeTags::modifyDisplayQuery() and ChangeTagsStore::modifyDisplayQuery()
1070   have been deprecated in favor of ChangeTagsStore::modifyDisplayQueryBuilder()
1071 * Calling SpecialRandomPage::__construct without services as parameters is
1072   deprecated and emit deprecation warnings.
1074 === Other changes in 1.41 ===
1075 * ExternalLinksLookup::getExternalLinksForPage() now exists to centralize
1076   logic of looking up externallinks rows.
1077 * The update script no longer accepts the --skip-compat-checks option.
1078 * Use of the deprecated "Pragma: no-cache" HTTP response header on uncachable
1079   responses has been removed in favour of "Cache-Control: no-cache" (T345420).
1080 * Type hints were added to:
1081    - The return value of WebRequest:: and DerivativeRequest::getSession()
1082    - The return value of WebRequest:: and DerivativeRequest::getIP()
1083    - The return value of User::getTitleKey()
1084    - The return value of User::getRequest()
1085    - The `$key` parameter to Skin::normalizeKey()
1086   None of the methods whose return value was updated belongs to a class
1087   stable to extend, and adding type hints to parameters is backwards
1088   compatible. Therefore, this is not considered a breaking change.
1089 * The mergeMessageFileList script now only works for extensions and skins
1090   supporting extension registration (using extension.json or skin.json).
1091   It will no longer attempt to load PHP entry points.
1092 * Parser will no longer fall back to $wgTitle if a null is provided as a
1093   Title or PageReference. To change the relevant title used for methods
1094   that do not offer an option to set the page, call Parser::setPage.
1095   This affects the methods cleanSig, getSection and replaceSection.
1096 * (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages
1097   used in rights log.
1099 == Compatibility ==
1101 MediaWiki 1.41 requires PHP 7.4.3 or later and the following PHP extensions:
1103 * ctype
1104 * dom
1105 * fileinfo
1106 * iconv
1107 * intl
1108 * json
1109 * mbstring
1110 * xml
1112 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
1113 be used instead, but support for them is somewhat less mature.
1115 The supported versions are:
1117 * MariaDB 10.3 or higher
1118 * MySQL 5.7.0 or higher
1119 * PostgreSQL 10 or later
1120 * SQLite 3.8.0 or later
1122 == Online documentation ==
1123 Documentation for both end-users and site administrators is available on
1124 MediaWiki.org, and is covered under the GNU Free Documentation License (except
1125 for pages that explicitly state that their contents are in the public domain):
1127        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
1129 == Mailing list ==
1130 A mailing list is available for MediaWiki user support and discussion:
1132        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
1134 A low-traffic announcements-only list is also available:
1136        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
1138 It's highly recommended that you sign up for one of these lists if you're
1139 going to run a public MediaWiki, so you can be notified of security fixes.
1141 == IRC help ==
1142 There's usually someone online in #mediawiki on irc.libera.chat.
1144 = MediaWiki 1.40 =
1146 PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/
1147 PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
1148 PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
1149 PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
1151 == MediaWiki 1.40.2 ==
1153 This is a security and maintenance release of the MediaWiki 1.40 branch.
1155 === Changes since MediaWiki 1.40.1 ===
1156 * Localisation updates.
1157 * Updated symfony/polyfill-php80 from 1.27.0 to 1.28.0.
1158 * Updated symfony/polyfill-php81 from 1.27.0 to 1.28.0.
1159 * (T344912) mail: Encode period (ascii 46) if it appears in encoded email
1160   header.
1161 * Added symfony/polyfill-php82.
1162 * Added symfony/polyfill-php83.
1163 * Updated symfony/yaml from 5.4.17 to 5.4.23.
1164 * Updated wikimedia/timestamp from 4.1.0 to 4.1.1.
1165 * tests: Provide coverage for StatusValue::__toString.
1166 * StatusValue: Improve logging/debug output with multibyte characters.
1167 * (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages
1168   used in rights log.
1169 * Updated wikimedia/parsoid from 0.17.0 to 0.17.1.
1170 * (T229992) LocalisationCache: Preserve fallback source language info.
1171 * (T340840) Title: Check local fallbacks for system message.
1172 * (T346332) Installer: Make Minerva works correctly for $wgDefaultSkin.
1173 * specials: Use options-messages on Special:RevisionDelete.
1174 * Fix use of buildComparison() in uppercaseTitlesForUnicodeTransition.php.
1175 * (T275085) Fix logging Status objects to 'authevents' channel.
1176 * (T341310) DEVELOPERS.md: mention git clone and WSL.
1177 * (T351758) DEVELOPERS.md: reword WSL instructions to include best practices.
1178 * (T350615) PoolCounterConnectionManager: Add support for ipv6.
1179 * ParsoidCachePrewarmJob::newSpec() now requires a PageRecord as the second
1180   parameter instead of a page ID.
1181 * (T341123) ParsoidCachePrewarmJob: enable deduplication.
1182 * (T349115) LocalisationCache: Fix a rare case in fallback source language.
1183 * (T351848) language: Avoid multiple signs in Language::userAdjust.
1184 * SwiftFileBackend: Fix "PHP Deprecated: strlen(): Passing null to parameter #1
1185   ($string) of type string is deprecated".
1186 * maintenance: Add missing parenthesis to SQL in attachLatest.php.
1187 * (T321234) Make MagicWordArray not fail on old revs with broken UTF-8.
1188 * thumb: Fix "PHP Deprecated: strlen(): Passing null to parameter".
1189 * (T327007) htmlform: Correct validation for file input field.
1191 == MediaWiki 1.40.1 ==
1193 This is a security and maintenance release of the MediaWiki 1.40 branch.
1195 === Changes since MediaWiki 1.40.0 ===
1196 * Localisation updates.
1197 * (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for self-redirects
1198   with variants conversion.
1199 * docs: Fix a few typos in MainConfigSchema.
1200 * (T290464) Add DiscussionTools bundling to release notes.
1201 * (T309714) mime: Add support for 'font/sfnt' mime type.
1202 * (T341434) WikiImporter: Improve error message output.
1203 * (T341737) ApiBase: Cast $id to string in filterIDs.
1204 * (T286291, T296188) Merge zh and zh-tw namespace translations back to zh-hans,
1205   zh-hant, zh-hk respectively.
1206 * (T337875) WRStats: Round up SequenceSpec::hardExpiry to the nearest integer.
1207 * (T237898) installer: Check MariaDB version in updater/installer.
1208 * (T342632) ApiComparePages: Add help url.
1209 * (T326182, T324903) EditPage: Add #[AllowDynamicProperties].
1210 * (T342351) rdbms: Fix postgres db function call.
1211 * (T343675) user: Use {@} to escape annotation when writting about annotation.
1212 * (T343797) LanguageWa: Fix double timezone adjustment.
1213 * (T343669) skins: Avoid function call on array.
1214 * (T326454) Update pear/mail to 1.5.1.
1215 * (T343622) docs: Set the <comment> tag back to optional.
1216 * (T330528) Upgrade wikimedia/html-formatter from 3.0.1 to 4.0.3.
1217 * Updated jQuery from v3.6.1 to v3.7.1.
1218 * (T337463) wdio-mediawiki: await saveScreenshot.
1219 * (T208477) $wgPrivilegedGroups – Users belonging in some of the listed groups
1220   will be audited more aggressively.
1221 * doc: Improve description of "type" in extension.schema.v2.json.
1222 * Added PrivilegedGroups attribute for extension.json / skin.json, which lets
1223   you add any new user groups you define to wgPrivilegedGroups (see above).
1224 * (T288624) MultiHttpClient: Unset $this->cmh after closing it.
1225 * (T345039) Do not run SkinAfterBottomScripts hook twice unconditionally.
1226 * (T265734) API Help: Note that parameters may be inherited from other context.
1227 * (T285545) i18n: Split apihelp for standard dir parameter.
1228 * (T285545) i18n: Split apihelp for redirects/linkshere/transcludedin/fileusage
1229   show.
1230 * (T285545) i18n: Split apihelp for parameter list=deletedrevs&drprop=.
1231 * (T285545) i18n: Split apihelp for parameter list=allpages&apprexpiry=.
1232 * (T285545) i18n: Split apihelp for parameter action=opensearch&redirects=.
1233 * (T285545) i18n: Split apihelp for parameter action=managetags&operation=.
1234 * (T285545) api: Add message for list=watchlist&wlprop=expiry.
1235 * (T334011) ApiComparePages: expose 'difftype' param if wikidiff2 is installed.
1236 * (T342633) api: Add message for action=compare&prop=timestamp.
1237 * API: revids=… does not necessarily return the queried revisions.
1238 * (T235207) Get correct main page in API call examples.
1239 * doc: Make extension.schema.v2.json a valid JSON schema.
1240 * (T326696) Add since tag to UserOptionsManager::MAX_BYTES_OPTION_VALUE.
1241 * (T310378) Ensure that installer i18n is loaded by update.php.
1242 * updateSpecialPages.php: Avoid implicit float conversion on modulo.
1243 * (T347227) ImportReporter: Make callback functions public.
1244 * (T346898) importDump: Unconditionally call $importer->setUsernamePrefix().
1245 * (T204470) Remove feedback messages from RawHtmlMessages.
1246 * (T127268) MainConfigSchema: Update doc for "ResourceLoader: Default File
1247   modules to mobile and desktop targets".
1248 * (T264765, CVE-2023-45364) SECURITY: Article: Check permissions before
1249   showing link to view deleted revision.
1250 * doc: Improve description of type in extension.schema.v1.json.
1251 * (T340217, CVE-2023-45359) SECURITY: Vector 2022: Numerous unescaped messages
1252   leading to potential XSS.
1253 * (T340220, CVE-2023-45361) SECURITY: Vector 2022: vector-intro-page message
1254   is assumed to yield a valid title.
1255 * (T340221, CVE-2023-45360) SECURITY: XSS via 'youhavenewmessagesmanyusers'
1256   and 'youhavenewmessages' messages.
1257 * (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser ("X intermediate
1258   revisions by the same user not shown") ignores username suppression.
1259 * (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted
1260   XML file to Special:Upload (non standard configuration).
1262 == MediaWiki 1.40.0 ==
1264 === Changes since MediaWiki 1.40.0-rc.0 ===
1265 * Localisation updates.
1266 * (T330464) Work around argument corruption bug in XMLReader::open.
1267 * build: Updating mediawiki/mediawiki-phan-config to 0.12.1.
1268 * Fix frame and frameless rdfa depending on file existing.
1269 * (T329214) Pass whether current rev of file exists to
1270   Linker::makeBrokenImageLinkObj.
1271 * (T334659) Handle thumb errors when !$enableLegacyMediaDOM.
1272 * A manualthumb that doesn't exist should be considered a thumb error.
1273 * (T313157) IndexPager: Also protect against $offset being 0.
1274 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
1276 == MediaWiki 1.40.0-rc.0 ==
1278 == Upgrading notes for 1.40 ==
1279 Don't forget to always back up your database before upgrading!
1281 See the file UPGRADE for more detailed per-version upgrade instructions from the
1282 oldest supported upgrading version, MediaWiki 1.35.
1284 Some specific notes for MediaWiki 1.40 upgrades are below:
1285 * Maintenance scripts should now be executed using maintenance/run.php, e.g.
1286   maintenance/run.php update not maintenance/update.php as before.
1287 * Five extensions have now been bundled with MediaWiki:
1288   * The DiscussionTools extension, which provides a forum-like editing
1289     experience for wikitext-based discussion pages.
1290   * The Echo extension, which provides a system of user notifications.
1291   * The Linter extension, which warns about use of deprecated wikitext.
1292   * The LoginNotify extension, which warns users about failed attempted logins.
1293   * The Thanks extension, which lets users thank editors for edits.
1294 * The Renameuser extension has been moved to MediaWiki core. It is now possible
1295   to rename users without installing an extension. The extension had already
1296   been bundled with MediaWiki since 1.18.
1298 For notes on 1.39.x and older releases, see HISTORY.
1300 === Configuration changes for system administrators in 1.40 ===
1301 * When computing PBKDF2 password hashes, MediaWiki now detects and uses OpenSSL
1302   support if available, unless $wgPasswordConfig['pbkdf2']['class'] is set in
1303   LocalSettings.php. OpenSSL is more efficient, so if that setting is present,
1304   you should remove it (or set it to 'Pbkdf2PasswordUsingOpenSSL' if possible).
1305   If users get an internal error when trying to log in, you can try setting it
1306   to 'Pbkdf2PasswordUsingHashExtension'. In particular, this would be necessary
1307   if existing PBKDF2 password hashes were computed using a hash algorithm other
1308   than "sha512" or "sha256" (the current and prior defaults).
1309 * You should configure your webserver to return the http header
1310   'X-Content-Type-Options: nosniff' for the /images directory. This will
1311   instruct browsers to not apply content sniffing when accessing the files.
1312   MediaWiki before 1.40 shipped with a content sniffer which disallowed
1313   potentially dangerous files at upload time, but this protection has now been
1314   removed in favor of this 'X-Content-Type-Options: nosniff' header and the
1315   installer will return a warning when it is not in place.
1316 * Support for MW_USE_LEGACY_DEFAULT_SETTINGS has been removed, setting this
1317   constant will not have any effect. Use of MW_USE_LEGACY_DEFAULT_SETTINGS
1318   had been deprecated since 1.39.
1320 ==== New configuration ====
1321 * $wgThumbnailNamespaces - This setting lets you define the namespaces for which
1322   image thumbnails (or a placeholder in the absence of a thumbnail) will be
1323   displayed on Special:Search.
1324 * $wgResourceLoaderClientPreferences – This experimental flag lets you enable
1325   client-side preferences for logged-out users.
1326 * $wgExternalLinksSchemaMigrationStage – This temporary flag lets you control
1327   the migration stage for the new schema for the external links database table.
1328   Ignore it unless you have a large wiki farm with complex migration needs.
1329 * $wgCommentTempTableSchemaMigrationStage – This temporary flag lets you control
1330   the migration stage for the temporary comment database table, from revision.
1331   Ignore it unless you have a large wiki farm with complex migration needs.
1332 * $wgSpecialContributeSkinsEnabled – This setting lets you list skins on which
1333   Special:Contribute is available, for where others don't work for the feature.
1334 * $wgPrivilegedGroups – Users belonging in some of the listed groups will be
1335   audited more aggressively.
1337 ==== Changed configuration ====
1338 * $wgPasswordPolicies – This setting, which controls what makes for a valid
1339   password for wiki accounts, has been adjusted to raise the minimal password
1340   length from 1 to 8 characters. The initial limit of 1 has been in place since
1341   MediaWiki 1.26. If you wish to allow shorter passwords, you can over-ride it
1342   in your LocalSettings following the guidance on MediaWiki.org.
1343 * (T254045) New accounts can no longer use an equals sign (=) in their
1344   usernames because of issues it causes in wikitext syntax. This can be
1345   adjusted by changing the value of $wgInvalidUsernameCharacters.
1346 * (T314318) $wgParserEnableLegacyMediaDOM – This setting has been changed, so
1347   the alternative modern HTML structure for media is now the default. You can
1348   disable it for now by over-riding this back to `true` in LocalSettings, but
1349   this configuration will be removed in future versions of MediaWiki. For more
1350   details, see the documentation at:
1351   https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Media_structure/FAQ
1352 * $wgWatchlistExpiryMaxDuration – This setting, which controls the maximum
1353   allowed duration for users to set their temporary watchlist entries for expiry
1354   if that feature is enabled, has been increased from 6 months to 1 year.
1356 ==== Removed configuration ====
1357 * $wgShellboxUrl – This setting, deprecated in 1.37, has now been removed; use
1358   $wgShellboxUrls instead.
1359 * $wgMainWANCache and $wgWANObjectCaches – These never-used settings have been
1360   removed. To inject WANObjectCache parameters, use $wgWANObjectCache instead.
1361   These variables were introduced for multi-DC wiki farms to add a separate
1362   memcached proxy for cross-DC relaying of purges but never used because
1363   WANObjectCache works based on route prefixes, which can be transparently
1364   handled by the main memcached proxy.
1365 * $wgParserTestFiles – This setting, deprecated in 1.30, has now been removed;
1366   extensions can place their parser test files in `tests/parser` instead.
1367 * (T231412) $wgAutoloadAttemptLowercase – This setting, deprecated in 1.35, no
1368   longer has any effect. If you run into difficulties, fix the names of miscased
1369   local files.
1370 * (T309787) $wgVerifyMimeTypeIE – This setting, to provide extra security checks
1371   for very old versions of Internet Explorer clients, was removed. These user
1372   agents aren't used in practice, and haven't been served JavaScript content for
1373   years.
1375 === New user-facing features in 1.40 ===
1376 * Special:Search can now show thumbnails for results for titles outside NS_FILE.
1377   This is controlled via the new onSearchResultProvideThumbnail hook.
1378 * A new preference ('search-thumbnail-extra-namespaces') to allow users to
1379   control whether to show more thumbnails (per $wgThumbnailNamespaces)
1380 * (T324910) On pages using multi-content revisions, the raw content of a
1381   specific slot can be retrieved using the action=raw&slot=<role-name> query
1382   parameters.
1383 * (T313804) The preferences page now provides a search bar to find preferences,
1384   regardless of the tab on which they appear.
1386 === New developer features in 1.40 ===
1387 * The MediaWiki-Docker development environment is now configured to
1388   run on PHP 8.1 by default, up from PHP 7.4 now that that's EOL.
1389 * Vue development mode is enabled by default in DevelopmentSettings.php
1390 * (T277618) The @noVarDump annotation from the DebugInfoTrait tool can now be
1391   added to references to stop them from being expanded when their object is
1392   passed to var_dump(), to make its use for debugging more feasible.
1393 * The ApiSandbox will now by default request responses in the latest API format,
1394   rather than the original format. Users can set `formatversion` to a different
1395   value if needed.
1396 * A new hook, GetBlockErrorMessageKeyHook, allows extensions' block error
1397   messages to be received and displayed by BlockErrorFormatter.
1398 * A new hook, SpecialCreateAccountBenefits, lets extensions and local code set
1399   custom content on the signup page about the benefits of using an account.
1400 * (T321412) A new 'PageUndeleteComplete' hook has been added for more thorough
1401   information about a page post restoration than the 'PageUndelete' hook passes.
1402   This provides similar functionality to the 'PageDeleteComplete' hook.
1403 * The Linker::specialLink() method can now link to a Special page's with a sub-
1404   page or action parameter set, e.g. [[Special:Contributions/JohnDoe]].
1405 * The PHPUnit entrypoints (tests/phpunit/phpunit.php and vendor/bin/phpunit)
1406   now check if composer dependencies are up-to-date, like update.php, using
1407   CheckComposerLockUpToDate. To disable this check, use
1408   MW_SKIP_EXTERNAL_DEPENDENCIES=1 environment flag when running PHPUnit.
1409 * ManualLogEntry::setForceBotFlag() has been added to allow the forcing of the
1410   bot flag for log entries which are inserted to the recent changes.
1412 === External library changes in 1.40 ===
1414 ==== New external libraries ====
1415 * Added codex-design-tokens at v0.6.2.
1416 * Added symfony/polyfill-php81 at v1.28.0.
1417 * Added symfony/polyfill-php82 at v1.28.0.
1418 * Added symfony/polyfill-php83 at v1.28.0.
1419 * Added wikimedia/bcp-47-code at v1.0.0.
1421 ===== New development-only external libraries =====
1422 * Added wikimedia/langconv at v0.4.2.
1424 ==== Changed external libraries ====
1425 * Updated OOUI from v0.44.3 to v0.46.3.
1426 * Updated codex, codex-search, and codex-icons from v0.2.2 to v0.6.2.
1427 * Updated cssjanus/cssjanus from 2.1.0 to 2.1.1.
1428 * Updated guzzlehttp/guzzle 7.4.5 to 7.5.0.
1429 * Updated justinrainbow/json-schema from 5.2.11 to 5.2.12.
1430 * Updated pear/mail from 1.4.1 to 1.5.1.
1431 * Updated pear/net_smtp from 0.10.0 to 0.10.1.
1432 * Updated psr/container from 1.1.1 to 1.1.2.
1433 * Updated symfony/polyfill-php80 from 1.26.0 to 1.28.0.
1434 * Updated symfony/yaml from 5.4.10 to 5.4.23.
1435 * Updated wikimedia/html-formatter from 3.0.1 to 4.0.3.
1436 * Updated wikimedia/less.php from 3.1.0 to 4.0.0.
1437 * Updated wikimedia/object-factory from 4.0.0 to 5.0.1.
1438 * Updated wikimedia/parsoid from 0.16.0 to 0.17.0.
1439 * Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
1440 * Updated wikimedia/shellbox from 3.0.0 to 4.0.0.
1441 * Updated wikimedia/timestamp from 4.0.0 to 4.1.1.
1442 * Updated wikimedia/xmp-reader from 0.8.4 to 0.9.1.
1444 ===== Changed development-only external libraries =====
1445 * Updated QUnit from 2.18.2 to 2.19.4.
1446 * Updated api-testing from 1.5.0 to 1.5.1.
1447 * Updated composer/spdx-licenses from 1.5.6 to 1.5.7.
1448 * Updated eslint-config-wikimedia from 0.22.1 to 0.24.0.
1449 * Updated giorgiosironi/eris from ^0.10.0 to ^0.13.0.
1450 * Updated grunt from 1.5.2 to 1.6.1.
1451 * Updated grunt-banana-checker from 0.9.0 to 0.10.0.
1452 * Updated grunt-eslint from 24.0.0 to 24.0.1.
1453 * Updated karma from 6.3.15 to 6.4.1.
1454 * Updated mediawiki/mediawiki-codesniffer from 38.0.0 to 41.0.0.
1455 * Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1.
1456 * Updated php-parallel-lint/php-console-highlighter from 0.5 to 1.0.0.
1457 * Updated php-parallel-lint/php-parallel-lint from 1.3.1 to 1.3.2.
1458 * Updated phpunit/phpunit from 8.5.28 to 9.5.28.
1459 * Updated stylelint-config-wikimedia from 0.13.0 to 0.13.1.
1460 * Updated wikimedia/alea from 0.9.3 to 1.0.0.
1462 ==== Removed external libraries ====
1463 * jquery.throttle-debounce, deprecated since MediaWiki 1.33.
1464 * WVUI, deprecated since MediaWiki 1.39.
1466 === Action API changes in 1.40 ===
1467 * New `cancreateaccount` parameter on action=query&meta=userinfo that allows
1468   you to check if the user can create an account. Some of the errors that have
1469   previously been returned by action=query&list=users&usprop=cancreate are now
1470   returned here.
1472 === Languages updated in 1.40 ===
1473 MediaWiki supports over 400 languages. Many localisations are updated regularly.
1474 Below only new and removed languages are listed, as well as changes to languages
1475 because of Phabricator reports.
1477 * (T300378) Added language support for Toki Pona (tok).
1478 * (T320465) Added language support for Magahi (mag).
1479 * (T320912) Added language support for Arakanese (rki).
1480 * (T323971) Added language support for Khakas (kjh).
1481 * (T326526) Added language support for Igala (igl).
1482 * (T329476) Added language support for Kusaal (kus).
1483 * (T330266) Added language support for Southern Dagaare (dga).
1484 * (T331596) Added language support for Obolo (ann).
1485 * (T331597) Added language support for Nogai (nog).
1486 * (T331599) Added language support for Wolaytta (wal).
1487 * (T295637) Add no to fallback chain of nb and nn.
1489 === Breaking changes in 1.40 ===
1490 * OutputPage::enableClientCache no longer accepts a parameter, nor does it
1491   return the current value. It simply sets the OutputPage::mEnableClientCache
1492   to true. Use OutputPage::disableClientCache to disable client side caching
1493   instead.
1494 * ResourceLoader::makeMessageSetScript, unused since 1.26, has been removed
1495   without deprecation.
1496 * Changes to skins:
1497   - The internal protected method Skin::getFooterLinks() was removed.
1498     It had no known usages. Different from SkinTemplate::getFooterLinks.
1499   - The internal public method Skin::getSiteFooterLinks() was removed.
1500     It had no known usages.
1501 * The 'oojs-router' module has been removed without deprecation in favour
1502   of the 'mediawiki.router' wrapper module.
1503 * BagOStuff::makeKeyInternal(), deprecated for public use in 1.36, is now a
1504   protected method of MediumSpecificBagOStuff.
1505 * WANObjectCache::reap() and WANObjectCache::reapCheckKey(), deprecated since
1506   1.39, have been removed.
1507 * The EnqueueJob class, unused since 1.31, has been removed without
1508   deprecation.
1509 * JobQueueGroup::singleton() and ::destroySingletons(), deprecated since 1.37,
1510   have been removed.
1511 * JobRunner no longer supports manually calling the constructor,
1512   use MediaWikiServices::getInstance()->getJobRunner() instead.
1513 * JobRunner::setLogger, deprecated since 1.35, has been removed.
1514 * ContextSource::getStats, deprecated since 1.27, has been removed.
1515 * The following public properties of Parser, deprecated in 1.35,
1516   have been made private: Parser::$mLinkId, Parser::$mIncludeSizes,
1517   Parser::$mDoubleUnderscore, Parser::$mShowToc, Parser::$mRevisionId,
1518   Parser::$mRevisionTimestamp, Parser::$mRevisionUser, Parser::$mRevisionSize,
1519   Parser::$mInputSize, Parser::$mInParse, Parser::$mFirstCall,
1520   Parser::$mGeneratedPPNodeCount
1521 * The MWGrants class, deprecated since 1.38, has been removed.
1522 * PageProps::getInstance(), deprecated since 1.38, has been removed.
1523 * Global functions wfReadOnly and wfReadOnlyReason, deprecated since 1.38, have
1524   been removed.
1525 * Global function wfQueriesMustScale, deprecated since 1.39, has been removed.
1526 * Global function wfLogProfilingData, deprecated since 1.38, has been removed.
1527 * The HTMLCacheUpdate class, deprecated since 1.34, has been removed.
1528 * Linker::normaliseSpecialPage(), deprecated since 1.35, has been removed.
1529 * MWTimestamp::getHumanTimestamp(), deprecated since 1.26, has been removed.
1530 * Collation::singleton() and ::factory(), deprecated since 1.37, have been
1531   removed.
1532 * SpecialVersion::listToText() and SpecialVersion::arrayToString()
1533   have become private or internal without deprecation.
1534 * The 'ParserTestFiles' key in the schema for extension.json has been removed.
1535   This was deprecated in 1.30 and the corresponding $wgParserTestFiles
1536   configuration variable has also been removed in this release.  Extensions
1537   can put parser test files in their `tests/parser` directory to have them
1538   automatically run.
1539 * DBLockManager, MySqlLockManager, and PostgreSqlLockManager have been
1540   removed without deprecation.
1541 * MediaWikiTestCaseTrait::checkPHPExtension() has been removed without
1542   deprecation. Use PHPUnit @requires annotations instead.
1543 * EditPage::getCopywarn(), deprecated since 1.38, has been removed.
1544 * EditPage::getCopyrightWarning() now requires a MessageLocalizer parameter.
1545   Use of other parameter types or omitting it was deprecated since 1.38.
1546 * Action constructor now requires Article and IContextSource parameters.
1547   Use of other parameter types or omitting them was deprecated since 1.35.
1548 * Article::viewRedirect(), deprecated since 1.30, has been removed.
1549 * Title::getNotificationTimestamp(), deprecated since 1.35, has been removed.
1550 * WikiRevision::$fileIsTemp property, deprecated since 1.29, has been removed.
1551 * Use of CommentStore::insertWithTempTable() with 'img_description' is no
1552   longer supported, it was deprecated since 1.32. Use CommentStore::insert()
1553   instead.
1554 * Return values in the parameter $pageLang of the PageContentLanguage hook with
1555   other types than a Language object, deprecated since 1.33 & emitting warnings
1556   since 1.38, now throws an exception.
1557 * FormatMetadata::flattenArrayContentLang(), deprecated since 1.36, has been
1558   removed.
1559 * WikiRevision::downloadSource() and ::importUpload(), deprecated since 1.31,
1560   have been removed.
1561 * DataUpdate::runUpdates(), deprecated since 1.28, has been removed.
1562 * CdnCacheUpdate::newFromTitles(), deprecated since 1.35, has been removed.
1563 * HtmlFileCacheUpdate::newFromTitles(), deprecated since 1.37, has been
1564   removed.
1565 * BaseTemplate::renderAfterPortlet() and ::getAfterPortlet(), has been removed.
1566   Use the corresponding methods in Skin class.
1567 * DifferenceEngine::textDiff(), deprecated since 1.32, has been removed.
1568 * Skin::getSearchPageTitle() and Skin::setSearchPageTitle(), deprecated since
1569   1.38, have been removed.
1570 * DifferenceEngine::getDiffBodyCacheKey(), deprecated since 1.31, has been
1571   removed.
1572 * ForeignDBViaLBRepo::getMasterDB(), LocalRepo::getMasterDB(), and
1573   JobQueueDB::getMasterDB(), deprecated since 1.37, have been removed.
1574 * Clarified that the InitializeArticleMaybeRedirect hook should not change
1575   its $article parameter; the behavior when doing so was previously
1576   undocumented.
1577 * IDatabase::ping()'s $rtt parameter was removed without deprecation.
1578 * IDatabase::setBigSelects(), unused, was removed without deprecation.
1579 * IDatabase::attributesFromType(), unused, was removed without deprecation.
1580 * IMaintainableDatabase::deadlockLoop() was removed without deprecation.
1581 * DatabasePostgres::remappedTableName(), deprecated since 1.37, has been
1582   removed.
1583 * ILBFactory::getChronologyProtectorClientId and ::commitAll, unused, were
1584    removed without deprecation.
1585 * LoadBalancer::haveIndex() and ::isNonZeroLoad(), deprecated in 1.34,
1586   have been removed.
1587 * LoadBalancer::getLazyConnectionRef(), deprecated in 1.38, has been removed.
1588 * ILBFactory::forEachLB(), deprecated in 1.39, has been removed.
1589 * LoadBalancer::getTransactionRoundStage and ::commitAll, unused, were
1590   removed without deprecation.
1591 * ILoadBalancer::getLaggedReplicaMode, unused, was removed  without
1592   deprecation. Use ILBFactory::laggedReplicaUsed() instead.
1593 * Optional parameters of ILoadBalancer::waitForPrimaryPos(), $pos and $timeout
1594   have been removed without deprecation as they are unused.
1595 * LoadMonitorMysql was removed without deprecation. Use LoadMonitor instead.
1596 * IDatabase::selectDB(), deprecated since 1.32, has been removed.
1597   Use IDatabase::selectDomain() instead.
1598 * The following deprecated hooks have been removed:
1599   - BaseTemplateAfterPortlet, deprecated in 1.35
1600   - BeforeParserFetchTemplateAndtitle, deprecated in 1.36
1601   - BeforeParserrenderImageGallery, deprecated in 1.35
1602   - InternalParseBeforeSanitize, deprecated in 1.35
1603   - LinksUpdateConstructed, deprecated in 1.38
1604   - LinksUpdateAfterInsert, deprecated in 1.38
1605   - ParserSectionCreate, deprecated in 1.35
1606   - ResourceLoaderTestModules, deprecated in 1.33
1607   - SpecialMuteSubmit, deprecated in 1.35
1608   - UserLoadFromDatabase, deprecated in 1.37
1609   - UserSetCookies, deprecated in 1.27
1610 * RemexDriver::__construct() now only accepts a ServiceOptions instance as
1611   the only argument. Passing an array was deprecated since 1.36.
1612 * TidyDriverBase::supportsValidate(), deprecated since 1.36, has been removed.
1613 * RevDelList::reloadFromMaster(), deprecated since 1.37, has been removed.
1614 * ExternalStoreDB::getMaster(), deprecated since 1.37, has been removed.
1615 * DeletePage::deletionWasScheduled(), deprecated since 1.38, has been removed.
1616 * The SearchResultProvideThumbnailHook (which was unstable) and now no longer
1617   used, has been removed. Use SearchResultProvideThumbnailHook in the search
1618   namespace: MediaWiki\Search\Hook\SearchResultProvideThumbnailHook.
1619 * Command::cgroup(), deprecated since 1.36, has been removed.
1620 * When running tests, the serialize_precision INI setting is now set to -1
1621   (current PHP default) instead of 17. Extension tests may need to be adjusted
1622   accordingly; string representations of floating-point numbers in serialized
1623   or JSON-encoded data may change.
1624 * WikiRevision::$sha1base36 is now private.
1625 * IcuCollation::getUnicodeVersionForICU() was removed without deprecation.
1626 * LinkFilter::supportsIDN() was removed without deprecation.
1627 * The ability to pass null for the errorData parameter of HttpException and
1628   LocalizedHttpException was removed without deprecation.
1629 * ApiQueryExtLinksUsage::getProtocolPrefix() and ::prepareProtocols() have
1630   been moved to LinkFilter with the same name.
1631 * .box-sizing() Less mixin, deprecated since 1.37, has been removed.
1632   Use CSS box-sizing now.
1633 * MimeAnalyzer::getIEMimeTypes() and IEContentAnalyzer were removed.
1634 * Language::commafy and mw.language.commafy, deprecated since 1.36, has been
1635   removed.
1636 * BagOStuff::decr(), deprecated since 1.28, has been removed.
1637 * BagOStuff::incr(), deprecated since 1.28, has been removed.
1639 === Deprecations in 1.40 ===
1640 * Changes to skins:
1641   - The public Skin::footerLink is deprecated.
1642     Use SkinComponentMenuLink::getTemplateData instead.
1643     It now emits deprecation warnings.
1644   - The protected Skin::lastModified is deprecated, and marked for @internal use
1645     and now emits deprecation warnings.
1646 * Manipulating $wgHooks after initialization is deprecated.
1647   HookContainer::register() or HookContainer::scopedRegister() should be
1648   used instead. During initialization, SettingsBuilder::registerHookHandlers
1649   can be used. For backwards compatibility, $wgHooks is replaced by a fake
1650   array that calls methods on HookContainer. $wgHooks can still be used as a
1651   configuration variable, only dynamic manipulation is deprecated.
1652 * ParserOptions::{get,set}ExternalLinkTarget() and
1653   ParserOptions::{get,set}MaxTemplateDepth() have been deprecated and marked
1654   for @internal use only.
1655 * ParserOutput::getCategories() has been deprecated; use ::getCategoryNames()
1656   and ::getCategorySortKey() instead.
1657 * ParserOutput::{get,set}TOCHTML() has been deprecated; use
1658   ::{get,set}TOCData() instead.
1659 * TransactionProfiler::setSilenced() is deprecated.
1660   Use TransactionProfiler::silenceForScope() instead.
1661 * The following methods in the Title class, deprecated since 1.37, emits
1662   deprecations warnings:
1663   - ::areCascadeProtectionSourcesLoaded()
1664   - ::areRestrictionsCascading()
1665   - ::areRestrictionsLoaded()
1666   - ::getAllRestrictions()
1667   - ::getCascadeProtectionSources()
1668   - ::getFilteredRestrictionTypes()
1669   - ::getRestrictionExpiry()
1670   - ::getRestrictionTypes()
1671   - ::getRestrictions()
1672   - ::isCascadeProtected()
1673   - ::isProtected()
1674   - ::isSemiProtected()
1675   - ::loadRestrictionsFromRows()
1676 * The class Pbkdf2Password was renamed to Pbkdf2PasswordUsingHashExtension,
1677   and the old name is now deprecated.
1678 * WikiPage::factory(), ::newFromID() and ::newFromRow, deprecated in 1.36, now
1679   emit deprecation warnings.
1680 * Manually constructing a LinkBatch object, deprecated in 1.35, now emits
1681   deprecation warnings. Use LinkBatchFactory instead.
1682 * Calling MediaWikiSite::getFileUrl() without a $path argument is deprecated.
1683   If you need the "generic" full file path, with $1 not replaced by anything,
1684   call $site->getPath( MediaWikiSite::PATH_FILE ) directly.
1685 * In SessionConsistentConnectionManager, the methods
1686   getReadConnectionRef() and getWriteConnectionRef() are deprecated;
1687   the ConnectionManager methods they override had been deprecated already.
1688 * Database::wasErrorReissuable() is deprecated.
1689 * MimeAnalyzer::isPHPImageType was not used and will now emit deprecation
1690   warnings.
1691 * GenericArrayObject, originally developed for Wikibase and SiteList, has been
1692   deprecated. Use built-in ArrayObject directly instead.
1693 * Parser::getFunctionLang() has been deprecated; use
1694   Parser::getTargetLanguage() instead.
1695 * MagicWordArray::getVariableRegex(), deprecated in 1.36, now emits deprecation
1696   warnings.
1697 * AbstractBlock::getId() now emits deprecation warnings in case of cross-wiki
1698   access. This use was deprecated in 1.38.
1699 * CommentStore::getStore, deprecated in 1.31, now emits deprecation warnings.
1700 * BacklinkCache::get(), ::getLinks() and ::getCascadeProtectedLinks(),
1701   deprecated in 1.37, now emit deprecation warnings.
1702 * LanguageConverterFactory::isTitleConversionDisabled(), deprecated in 1.36,
1703   now emits deprecation warnings.
1704 * Language::getFileName(), ::getMessagesFileName() and
1705   ::getJsonMessagesFileName(), deprecated in 1.34,
1706   now emit deprecation warnings.
1707 * Language::getLocalisationCache(), deprecated in 1.34, also
1708   Language::getMessagesFor(), ::getMessageFor() and ::getMessageKeysFor(),
1709   deprecated in 1.35, now emit deprecation warnings.
1710 * User::incEditCount(), deprecated in 1.37, now emits deprecation warnings.
1711 * User::idFromName(), deprecated in 1.37, now emits deprecation warnings.
1712 * The ability to override and use User::$mRights, deprecated in 1.34, now emits
1713   deprecation warnings.
1714 * IndexPager::getHookContainer is deprecated and emits deprecation warnings.
1715   Inject a HookContainer instead.
1716 * User::getGroupPermissions(), ::getGroupsWithPermission() and
1717   ::groupHasPermission(), deprecated in 1.34, now emit deprecation warnings.
1718 * PermissionManager::getGroupPermissions(), ::getGroupsWithPermission() and
1719   ::groupHasPermission(), deprecated in 1.36, now emit deprecation warnings.
1720 * Global function wfShowingResults is deprecated and emits deprecation warnings.
1721 * UserGroupMembership::getGroupMemberName is deprecated, the deprecation of
1722   UserGroupMembership::getGroupName in 1.38 missed a release note.
1723   Use Language::getGroupMemberName or ::getGroupName instead.
1724 * AbstractBlock::getPermissionsError(), deprecated in 1.35, now emits
1725   deprecation warnings.
1726 * SearchEngine::getNearMatcher() and ::getDefaultMatcher() have been deprecated
1727   in favor of MediaWikiServices::getInstance()->getTitleMatcher().
1728 * SearchNearMatcher class has been deprecated in 1.40 in favor of TitleMatcher.
1729 * The following functions are deprecated: User::isBlockedGlobally and
1730   User::getGlobalBlock. Use User::getBlock instead.
1731 * The UserIsBlockedGlobally hook is deprecated.
1732   Use GetUserBlock hook instead.
1733 * The SystemBlock type global-block is deprecated.
1734   GlobalBlocks are now added into CompositeBlocks via the GetUserBlock hook.
1735 * Language::isWellFormedLanguageTag(), deprecated in 1.39, now emits deprecation
1736   notices. Please use LanguageCode::isWellFormedLanguageTag() instead.
1737 * Language::fetchLanguageNames() and ::fetchLanguageName(), deprecated in 1.34,
1738   now emit deprecation warnings.
1739 * Language::getFallbackFor(), ::getFallbacksIncludingSiteLanguage() and
1740   ::getFallbacksFor(), deprecated in 1.35, now emit deprecation warnings.
1741 * Language::isSupportedLanguage(), ::isValidCode(), ::isValidBuiltInCode() and
1742   ::isKnownLanguageTag(), deprecated in 1.34, now emit deprecation warnings.
1743 * Language::getConverter(), ::autoConvert(), ::autoConvertToAllVariants(),
1744   ::convert(), ::convertNamespace(), ::convertHtml(), ::convertCategoryKey(),
1745   ::getVariants(), ::hasVariants(), ::hasVariant(), ::getDefaultVariant(),
1746   ::getURLVariant(), ::getExtraHashOptions(), ::getConvRuleTitle(),
1747   deprecated in 1.35, now emit deprecation warnings.
1748 * Language::factory() and ::getParentLanguage(), deprecated in 1.35, now emit
1749   deprecation warnings.
1750 * Executing maintenance scripts directly is deprecated. The maintenance/run.php
1751   entry point should be used instead.
1752 * MWHttpRequest::factory, deprecated in 1.34, now emits deprecation warnings.
1753 * Job::factory is deprecated, use JobFactory::newJob instead.
1754 * Http::request(), ::get(), ::post(), ::userAgent() and ::isValidURI(),
1755   deprecated in 1.34, now emit deprecation warnings.
1756 * Title.js's confusingly-named getName() and getNameText() methods, for using
1757   media files' pages, have been renamed to getFileNameWithoutExtension() and
1758   getFileNameTextWithoutExtension() respectively. The old names are deprecated.
1759 * Command::whitelistPaths() should now emit deprecation warnings. Make use of
1760   Command::allowPaths/disallowPaths() instead.
1761 * When manually creating an HTMLFormField (i.e. not via HTMLForm::factory),
1762   it is deprecated to not include the "parent" field as one of the parameters.
1763 * The MWException class is deprecated. Use native exceptions, either directly
1764   or as base classes.
1765 * SelectQueryBuilder::lockForUpdate() is deprecated. Use ::forUpdate() with
1766   ::fetchRowCount() or ::acquireRowLocks() instead.
1767 * ArticleUndelete hook is deprecated. Use PageUndeleteComplete hook instead.
1768 * The global function wfReportTime() is now deprecated.
1769 * PrevNextNavigationRenderer, deprecated in 1.39, now emits deprecation
1770   warnings.
1771 * PagerNavigationBuilder::setMakeLinkCallback(), deprecated in 1.39, now emits
1772   deprecation warnings.
1773 * IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
1774   IndexPager::buildPrevNextNavigation(), deprecated in 1.39, now emit
1775   deprecation warnings.
1776 * Overriding the method IndexPager::makeLink(), deprecated in 1.39, now emits
1777   deprecation warnings.
1778 * The following class names were namespaced (and, for the special pages,
1779   also renamed), and the old class names are now deprecated:
1780   - MostimagesPage -> MediaWiki\Specials\SpecialMostImages
1781   - MovePageForm -> MediaWiki\Specials\SpecialMovePage
1782   - UserrightsPage -> MediaWiki\Specials\SpecialUserRights
1783   - WantedFilesPage -> MediaWiki\Specials\SpecialWantedFiles
1784   - WantedPagesPage -> MediaWiki\Specials\SpecialWantedPages
1785   - DerivativeRequest -> MediaWiki\Request\DerivativeRequest
1786   - FauxRequest -> MediaWiki\Request\FauxRequest
1787   - FauxRequestUpload -> MediaWiki\Request\FauxRequestUpload
1788   - PathRouter -> MediaWiki\Request\PathRouter
1789   - WebRequestUpload -> MediaWiki\Request\WebRequestUpload
1790   - HeaderCallback -> MediaWiki\Request\HeaderCallback
1791   - FauxResponse -> MediaWiki\Request\FauxResponse
1792   - WebResponse -> MediaWiki\Request\WebResponse
1793   - ForeignResourceManager ->
1794     MediaWiki\ResourceLoader\ForeignResourceManager
1795   - DummyLinker -> MediaWiki\Linker\DummyLinker
1796   - Linker -> MediaWiki\Linker\Linker
1797   - PageProps -> MediaWiki\Page\PageProps
1798   - MagicWord -> MediaWiki\Parser\MagicWord
1799   - MagicWordArray -> MediaWiki\Parser\MagicWordArray
1800   - MagicWordFactory -> MediaWiki\Parser\MagicWordFactory
1801   - RawMessage -> MediaWiki\Language\RawMessage
1802   - ActorMigration -> MediaWiki\User\ActorMigration
1803   - ActorMigrationBase -> MediaWiki\User\ActorMigrationBase
1804   - CategoriesRdf -> MediaWiki\Category\CategoriesRdf
1805   - Category -> MediaWiki\Category\Category
1806   - CategoryViewer -> MediaWiki\Category\CategoryViewer
1807   - TrackingCategories -> MediaWiki\Category\TrackingCategories
1808   - EditPage -> MediaWiki\EditPage\EditPage
1809   - TemplatesOnThisPageFormatter ->
1810     MediaWiki\EditPage\TemplatesOnThisPageFormatter
1811   - ContentSecurityPolicy -> MediaWiki\Request\ContentSecurityPolicy
1812   - FormOptions -> MediaWiki\Html\FormOptions
1813   - Html -> MediaWiki\Html\Html
1814   - HtmlHelper -> MediaWiki\Html\HtmlHelper
1815   - TemplateParser -> MediaWiki\Html\TemplateParser
1816   - FormOptions -> MediaWiki\Html\FormOptions
1817   - WikiMap -> MediaWiki\WikiMap\WikiMap
1818   - WikiReference -> MediaWiki\WikiMap\WikiReference
1819   - MediaWiki\BadFileLookup -> MediaWiki\Page\File\BadFileLookup
1820   - FileDeleteForm -> MediaWiki\Page\File\FileDeleteForm
1821   - MergeHistory -> MediaWiki\Page\MergeHistory
1822   - MovePage -> MediaWiki\Page\MovePage
1823   - ProtectionForm -> MediaWiki\Page\ProtectionForm
1824   - LinkFilter -> MediaWiki\ExternalLinks\LinkFilter
1825   - TitleArray -> MediaWiki\Title\TitleArray
1826   - TitleArrayFromResult -> MediaWiki\Title\TitleArrayFromResult
1827   - TitleFactory -> MediaWiki\Title\TitleFactory
1828   - Title -> MediaWiki\Title\Title
1829   - ForkController -> MediaWiki\Maintenance\ForkController
1830   - OrderedStreamingForkController ->
1831     MediaWiki\Maintenance\OrderedStreamingForkController
1832   - AtomFeed -> MediaWiki\Feed\AtomFeed
1833   - ChannelFeed -> MediaWiki\Feed\ChannelFeed
1834   - FeedItem -> MediaWiki\Feed\FeedItem
1835   - FeedUtils -> MediaWiki\Feed\FeedUtils
1836   - RSSFeed -> MediaWiki\Feed\RSSFeed
1837   - DeprecatedGlobal -> MediaWiki\StubObject\DeprecatedGlobal
1838   - StubGlobalUser -> MediaWiki\StubObject\StubGlobalUser
1839   - StubObject -> MediaWiki\StubObject\StubObject
1840   - StubUserLang -> MediaWiki\StubObject\StubUserLang
1841 * ContentHandler::getParserOutputForIndexing() and ::getDataForSearchIndex()
1842   now take an optional RevisionRecord parameter.
1843 * The SearchDataForIndex hook is deprecated in favor of SearchDataForIndex2
1844 * IDatabase::lastQuery and IReadableDatabase::lastQuery are deprecated without
1845   without replacement.
1847 === Other changes in 1.40 ===
1848 * Calling RecentChange::doMarkPatrolled() with $auto = true has no effect and
1849   logs a warning. Since 1.31, it would mark the change as manually patrolled,
1850   but would not log it as such in patrol log and would still require
1851   'autopatrol' right (not 'patrol'). Generally, whether a change should become
1852   autopatrolled, is usually determined before it's inserted in the database.
1853 * In versions of MediaWiki before 1.39, the table of contents location
1854   was marked internally with <mw:toc>...</mw:toc>; in version 1.39
1855   this was changed to an empty tag <mw:tocplace />.  In 1.40 this has
1856   been changed a final time to use an empty <meta> tag for future
1857   Parsoid compatibility (see Parser::TOC_PLACEHOLDER).  This may
1858   affect you if stale content is left in the ParserCache or if your
1859   skin did manual ToC replacement without using the recommended
1860   Parser::replaceTableOfContentsMarker() function.
1861 * Skins can now choose which Codex theme should be loaded by setting the
1862   SkinCodexThemes attribute in their skin.json file.
1863 * The parser test framework has been updated, and the 'pst', 'ill', 'cat'
1864   and 'showflags' options have slight differences in their output.  These
1865   options are not much used outside core, but third parties may need to
1866   update parser tests.
1867 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
1869 == Compatibility ==
1871 MediaWiki 1.40 requires PHP 7.4.3 or later and the following PHP extensions:
1873 * ctype
1874 * dom
1875 * fileinfo
1876 * iconv
1877 * intl
1878 * json
1879 * mbstring
1880 * xml
1882 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
1883 be used instead, but support for them is somewhat less mature.
1885 The supported versions are:
1887 * MariaDB 10.3 or higher
1888 * MySQL 5.7.0 or higher
1889 * PostgreSQL 10 or later
1890 * SQLite 3.8.0 or later
1892 == Online documentation ==
1893 Documentation for both end-users and site administrators is available on
1894 MediaWiki.org, and is covered under the GNU Free Documentation License (except
1895 for pages that explicitly state that their contents are in the public domain):
1897        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
1899 == Mailing list ==
1900 A mailing list is available for MediaWiki user support and discussion:
1902        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
1904 A low-traffic announcements-only list is also available:
1906        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
1908 It's highly recommended that you sign up for one of these lists if you're
1909 going to run a public MediaWiki, so you can be notified of security fixes.
1911 == IRC help ==
1912 There's usually someone online in #mediawiki on irc.libera.chat.
1914 = MediaWiki 1.39 =
1916 PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/
1917 PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
1918 PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
1919 PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
1921 == MediaWiki 1.39.6 ==
1923 This is a security and maintenance release of the MediaWiki 1.39 branch.
1925 === Changes since MediaWiki 1.39.5 ===
1926 * Localisation updates.
1927 * Updated symfony/polyfill-php80 from 1.26.0 to 1.28.0.
1928 * Updated symfony/polyfill-php81 from 1.26.0 to 1.28.0.
1929 * (T344912) mail: Encode period (ascii 46) if it appears in encoded email
1930   header.
1931 * Added symfony/polyfill-php82.
1932 * Added symfony/polyfill-php83.
1933 * Updated symfony/yaml from 5.4.10 to 5.4.23.
1934 * (T329609) ApiQueryLanguageinfoTest: Do not pass a float to setFakeTime.
1935 * Updated wikimedia/timestamp from 4.0.0 to 4.1.1.
1936 * tests: Provide coverage for StatusValue::__toString.
1937 * StatusValue: Improve logging/debug output with multibyte characters.
1938 * (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages
1939   used in rights log.
1940 * Updated wikimedia/parsoid from 0.16.1 to 0.16.2.
1941 * (T229992) LocalisationCache: Preserve fallback source language info.
1942 * (T275085) Fix logging Status objects to 'authevents' channel.
1943 * (T341310) DEVELOPERS.md: mention git clone and WSL.
1944 * (T351758) DEVELOPERS.md: reword WSL instructions to include best practices.
1945 * (T349115) LocalisationCache: Fix a rare case in fallback source language.
1946 * SwiftFileBackend: Fix "PHP Deprecated: strlen(): Passing null to parameter #1
1947   ($string) of type string is deprecated".
1948 * maintenance: Add missing parenthesis to SQL in attachLatest.php.
1949 * (T353472) maintenance: Fix join condition in DeduplicateArchiveRevId.
1951 == MediaWiki 1.39.5 ==
1953 This is a security and maintenance release of the MediaWiki 1.39 branch.
1955 === Changes since MediaWiki 1.39.4 ===
1956 * Localisation updates.
1957 * (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for self-redirects
1958   with variants conversion.
1959 * docs: Fix a few typos in MainConfigSchema.
1960 * (T309714) mime: Add support for 'font/sfnt' mime type.
1961 * (T341434) WikiImporter: Improve error message output.
1962 * (T317255) VueComponentParser: Use Zest's getElementsByTagName() rather than
1963   PHP's.
1964 * (T341737) ApiBase: Cast $id to string in filterIDs.
1965 * (T286291, T296188) Merge zh and zh-tw namespace translations back to zh-hans,
1966   zh-hant, zh-hk respectively.
1967 * (T337875) WRStats: Round up SequenceSpec::hardExpiry to the nearest integer.
1968 * (T237898) installer: Check MariaDB version in updater/installer.
1969 * (T342632) ApiComparePages: Add help url.
1970 * (T326182, T324903) EditPage: Add #[AllowDynamicProperties].
1971 * (T342351) rdbms: Fix postgres db function call.
1972 * (T343675) user: Use {@} to escape annotation when writting about annotation.
1973 * (T343797) LanguageWa: Fix double timezone adjustment.
1974 * (T326454) Update pear/mail to 1.5.1.
1975 * (T204470) Remove feedback messages from RawHtmlMessages.
1976 * (T264765, CVE-2023-45364) SECURITY: Article: Check permissions before
1977   showing link to view deleted revision.
1978 * (T310378) Ensure that installer i18n is loaded by update.php.
1979 * (T343622) docs: Set the <comment> tag back to optional.
1980 * (T330528) Upgrade wikimedia/html-formatter from 3.0.1 to 4.0.3.
1981 * (T337463) wdio-mediawiki: await saveScreenshot.
1982 * (T274041) Include core PSR-4 classes in the generated classmap.
1983 * (T208477) $wgPrivilegedGroups – Users belonging in some of the listed groups
1984   will be audited more aggressively.
1985 * doc: Improve description of "type" in extension.schema.v2.json.
1986 * Added PrivilegedGroups attribute for extension.json / skin.json, which lets
1987   you add any new user groups you define to wgPrivilegedGroups (see above).
1988 * HTMLForm: Fix E_NOTICE when hide-if is used with setFormIdentifier.
1989 * (T288624) MultiHttpClient: Unset $this->cmh after closing it.
1990 * (T345039) Do not run SkinAfterBottomScripts hook twice unconditionally.
1991 * (T265734) API Help: Note that parameters may be inherited from other context.
1992 * API: Make continue parameter help description more specific.
1993 * (T285545) i18n: Split apihelp for standard dir parameter.
1994 * (T285545) i18n: Split apihelp for redirects/linkshere/transcludedin/fileusage
1995   show.
1996 * (T285545) i18n: Split apihelp for parameter list=deletedrevs&drprop=.
1997 * (T285545) i18n: Split apihelp for parameter list=allpages&apprexpiry=.
1998 * (T285545) i18n: Split apihelp for parameter action=opensearch&redirects=.
1999 * (T285545) i18n: Split apihelp for parameter action=managetags&operation=.
2000 * (T285545) api: Add message for list=watchlist&wlprop=expiry.
2001 * (T334011) ApiComparePages: expose 'difftype' param if wikidiff2 is installed.
2002 * (T342633) api: Add message for action=compare&prop=timestamp.
2003 * API: revids=… does not necessarily return the queried revisions.
2004 * (T326696) user: Truncate option value in UserOptionsManager.
2005 * (T326696) ApiOptions: Give warning if the value is too long.
2006 * API i18n: Add {{PLURAL:}} for byte count messages.
2007 * (T235207) Get correct main page in API call examples.
2008 * doc: Make extension.schema.v2.json a valid JSON schema.
2009 * updateSpecialPages.php: Avoid implicit float conversion on modulo.
2010 * (T347227) ImportReporter: Make callback functions public.
2011 * (T346898) importDump: Unconditionally call $importer->setUsernamePrefix().
2012 * doc: Improve description of type in extension.schema.v1.json.
2013 * (T340217, CVE-2023-45359) SECURITY: Vector 2022: Numerous unescaped
2014   messages leading to potential XSS.
2015 * (T340220, CVE-2023-45361) SECURITY: Vector 2022: vector-intro-page
2016   message is assumed to yield a valid title.
2017 * (T340221, CVE-2023-45360) SECURITY: XSS via
2018   'youhavenewmessagesmanyusers' and 'youhavenewmessages' messages.
2019 * (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser
2020   ("X intermediate revisions by the same user not shown") ignores
2021   username suppression.
2022 * (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted
2023   XML file to Special:Upload (non-standard configuration).
2025 == MediaWiki 1.39.4 ==
2027 This is a security and maintenance release of the MediaWiki 1.39 branch.
2029 === Changes since MediaWiki 1.39.3 ===
2030 * Localisation updates.
2031 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
2032 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
2033   (2.4.0 => 2.4.5).
2034 * (T333776) {{ACTIVEUSERS}} wasn't being updated without updateSpecialPages.php.
2035 * (T258860) Prevent LogicCache exception from message cache during IO errors
2036   from memcache.
2037 * (T336868) Improve idempotency of postgres index upgrades.
2038 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
2039 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
2040 * A fake MessageLocalizer for use in unit tests.
2041 * (T338114) Title: Add forward alias.
2042 * composer: Add symfony/polyfill-php81 like symfony/polyfill-php80.
2043 * (T330464) Work around argument corruption bug in XMLReader::open.
2044 * Fix frame and frameless rdfa depending on file existing.
2045 * Fixes for the phan upgrade, part 1.
2046 * Fixes for the phan upgrade, part 2.
2047 * (T298571) build: Update mediawiki/mediawiki-phan-config to 0.12.0.
2048 * build: Updating mediawiki/mediawiki-phan-config to 0.12.1.
2049 * (T329214) Pass whether current rev of file exists to
2050   Linker::makeBrokenImageLinkObj.
2051 * (T334659) Handle thumb errors when !$enableLegacyMediaDOM.
2052 * A manualthumb that doesn't exist should be considered a thumb error.
2053 * (T313157) IndexPager: Also protect against $offset being 0.
2054 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
2056 == MediaWiki 1.39.3 ==
2058 This is a security and maintenance release of the MediaWiki 1.39 branch.
2060 === Changes since MediaWiki 1.39.2 ===
2061 * Localisation updates.
2062 * (T328477) LinksUpdate: Use DB key for category links table.
2063 * GlobalFunctions: Remove check for MEDIAWIKI constant.
2064 * (T329484) API: Fix query+allimages user parameter description.
2065 * (T330529) SpecialEditTags: Set default of '' for wpReason.
2066 * (T330382) postgres: Make the upgrade ignore dropping indexes that
2067   might not exist.
2068 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
2069   multiselects.
2070 * (T291753) rdbms: escape backslashes in makeConnectionString for PostgreSQL.
2071 * (T325529) Fix total breakage of wgCanonicalServer fallback.
2072 * (T318103) mediawiki.storage: Disable async GC during integration test.
2073 * (T332461, T332397) TempFSFile: Keep the WeakMap alive.
2074 * (T332902) page: fix InvalidArgumentException in SQLPlatform::makeList.
2075 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
2076   XFF headers.
2078 == MediaWiki 1.39.2 ==
2080 This is a maintenance release of the MediaWiki 1.39 branch.
2082 === Changes since MediaWiki 1.39.1 ===
2083 * Localisation updates.
2084 * (T325872) ChangeTags: Remove table name from condition.
2085 * (T324895) MWCallbackStream: Add explicit $stream property.
2086 * (T297031, T326039) PostgresUpdater: Move setDefault ahead of
2087   changeNullableField.
2088 * (T321319) Produce HTML for invalid JSON.
2089 * (T215466, T326071) MigrateActors: Write to revision table (Follow-up 24115a8).
2090 * (T223027) ReservedUsernames config: Add reserved names from maintenance
2091   scripts.
2092 * (T325000, T324896, T307631) Updated OOUI from v0.44.3 to v0.44.5.
2093 * Remove /images .htaccess rules that are no longer relevant.
2094 * Disable php in .htaccess of images directory as a hardening measure.
2095 * (T322583) Include missing message parameter in message.
2096 * LocalFileTest: use encodeBlob/decodeBlob for img_metadata.
2097 * DatabaseSqlite: fix null blobs.
2098 * rdbms: avoid pg_escape_bytea() call-style deprecation notices.
2099 * (T322278) Improve LocalisationCache post-merge validation check.
2100 * (T324408, T326367) Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
2101 * (T322278) Fix the remaining Phan failures on PHP 8.1.
2102 * (T322278, T326367) Respond to some messages from Phan on PHP 8.1.
2103 * Fix phan error when Excimer is enabled.
2104 * (T326021) Add matrix: to $wgUrlProtocols.
2105 * (T314099) stream wrapper: Declare $context class property.
2106 * (T314099) libs\jsminplus: Declare JSNode::$expression.
2107 * (T314096) composer.json: Updated composer/spdx-licenses from 1.5.6 to 1.5.7.
2108 * (T326472) Upgrading cssjanus/cssjanus (v2.1.0 => v2.1.1).
2109 * (T308536) rdbms: Remove deprecation mark for $wgSharedDB.
2110 * (T215466, T326071) installer: Split drop action out of the SQL patch for actor
2111   migration.
2112 * (T322603) SqliteMaintenance.php: Fix fatally broken instanceof check.
2113 * (T326377) rdbms: Use DBConnRef in SelectQueryBuilder.
2114 * api/en.json: api-help-datatype-expiry add missing 'may'.
2115 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
2116 * (T328222) Pass empty string to strlen() if schema is null for
2117   PostgresDatabase.
2118 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
2119 * (T155582, T328503) Fix XML dumps for content types with non-string
2120   getNativeData().
2121 * (T326886) PoolCounterRedis: Fix wrong cast, locks weren't being released.
2122 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses
2123 * (T327821) skin: Restore default 'value' attribute in makeSearchButton().
2124 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
2125 * (T329415) Clear the statsd data buffer regardless of StatsdServer config.
2126 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text' tag.
2127 * (T330049) UnregisteredLocalFile: Don't call MimeAnalyzer if no path.
2128 * (T324894 TempFSFile: Use a WeakMap for reference tracking if available.
2129 * (T295637) Add no to fallback chain of nb and nn.
2131 == MediaWiki 1.39.1 ==
2133 This is a security and maintenance release of the MediaWiki 1.39 branch.
2135 === Changes since MediaWiki 1.39.0 ===
2136 * Localisation updates.
2137 * PostgresUpdater: Remove trailing space from 'user_id ' column.
2138 * (T304515) LCStoreStaticArray: atomically replace the cache file.
2139 * (T324516) postgres: Fix upgrade for templatelinks primary key.
2140 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
2141 * (T324513) uuid\GlobalIdGenerator: Check if getmyuid() exists.
2142 * (T314099) OutputPage: Remove unused dynamic property ParserOptions->isBogus.
2143 * (T314099) api: Remove use of undeclared property in action=comparepages.
2144 * Upgrading wikimedia/xmp-reader (0.8.5 => 0.8.6).
2145 * (T324489) Upgrading wikimedia/parsoid (v0.16.0 => v0.16.1).
2146 * Updated pear/mail (v1.4.1 => v1.5.0).
2147 * Removed wikimedia/dodo (v0.4.0).
2148 * (T324910) On pages using multi-content revisions, the raw content of a
2149   specific slot can be retrieved using the action=raw&slot=<role-name> query
2150   parameters.
2151 * (T322637) SECURITY: sqlite should not create DB file world-readable.
2153 == MediaWiki 1.39.0 ==
2155 === Changes since MediaWiki 1.39.0-rc.1 ===
2156 * Localisation updates.
2157 * exception: Tolerate no service container when trying DB rollback.
2158 * (T320282) Upgrading wikimedia/xmp-reader (0.8.3 => 0.8.4).
2159 * objectcache: Deprecate WANObjectCache::reap() and ::reapCheckKey().
2160 * (T320864) When calling mail(), use an array for headers.
2161 * Upgrading wikimedia/xmp-reader (0.8.4 => 0.8.5).
2162 * (T321154) Call setFormIdentifier() on LogEventsList form.
2163 * When importing revision with same timestamp as latest revision, treat
2164   it as the new latest.
2165 * (T320726) RandomImageGenerator::getImageSpec: Don't pass a float to mt_rand(),
2166   for PHP 8.1.
2167 * (T298485, T322360) WikiExporter: Avoid calling reload in processing every row.
2168 * (T321551) pager: Fix null used for foreach in Pager::getNavigationBar.
2169 * (T321551) pager: Remove unused AlphabeticPager::getOrderTypeMessages()
2170   support.
2171 * pager: Remove unused PagerNavigationBuilder::setExtra().
2172 * PagerNavigationBuilder: Document that nulls in setLinkQuery() etc. are
2173   allowed.
2174 * (T322335) ApiQueryRevisionsBase: Fix 'rvdiffto' parameter handling on PHP 8.0.
2175 * (T314096) TestFileEditor: Fix string interpolation.
2176 * (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions.
2177 * (T322803) SpecialBotPasswords: Don't pass null to trim().
2178 * (T289926) Fix incomplete ITextFormatter mocks.
2179 * Language: Handle ronna and quetta.
2180 * (T72510) rdbms: make SqlitePlatform::tableName() apply double quotes.
2181 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0.
2182 * .gitattributes: Ship docker-compose.yml to the tarball.
2184 == MediaWiki 1.39.0-rc.1 ==
2186 === Changes since MediaWiki 1.39.0-rc.0 ===
2187 * Localisation updates.
2188 * (T318481) composer: Drop symfony/php73-polyfill.
2189 * (T318460) SpecialChangeEmail: Set default for returntoquery.
2190 * (T318307) HTMLFormField::validate(): Update docs to permit all data types
2191 * (T306802) docker: update to latest published images.
2192 * (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset.
2193 * (T227047) Soft-deprecate the remainder of ActorMigration.
2194 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
2195   in an IP range check on Special:Contributions.
2196 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
2197   of hidden users.
2198 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
2199   "alreadyrolled" can leak revision deleted user name.
2200 * (T319186) .phan/config.php: Update minimum_target_php_version.
2201 * Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings).
2202 * (T319186) .phan/config.php: Update minimum_target_php_version.
2203 * (T310243) Deprecate use of 'wvui-search' package.
2204 * utils: Fix return doc about false/null for UrlUtils::expand.
2205 * (T319000) WebInstaller: Don't try and run trim() on null.
2206 * In the event of preg failure in MagicWordArray throw exception.
2207 * (T318753) Installer: Disable logo dropper for now.
2209 == MediaWiki 1.39.0-rc.0 ==
2211 == Upgrading notes for 1.39 ==
2212 Don't forget to always back up your database before upgrading!
2214 See the file UPGRADE for more detailed per-version upgrade instructions from the
2215 oldest supported upgrading version, MediaWiki 1.31.
2217 Some specific notes for MediaWiki 1.39 upgrades are below:
2218 * (T278139) Drop PHP 7.3 support in MediaWiki 1.39; require 7.4.3 or higher.
2220 For notes on 1.38.x and older releases, see HISTORY.
2222 === Configuration changes for system administrators in 1.39 ===
2224 ==== New configuration ====
2225 * $wgAutoCreateTempUser – This configures automatic user creation on page save.
2226 * $wgCopyUploadAllowOnWikiDomainConfig – This configures if administrators can
2227   use the MediaWiki:Copyupload-allowed-domains system message to define which
2228   domains can be used with the upload-by-url tool.
2229 * $wgCdnMatchParameterOrder – This can be set to false if MediaWiki is behind a
2230   CDN that re-orders query parameters. This will make the code that matches
2231   request URLs to canonical CDN URLs insensitive to parameter order.
2232 * $wgMultiShardSiteStats – This allows you to split site_stats across multiple
2233   rows. Only useful for very large, heavily edited wikis. (T306589)
2234 * $wgPrivilegedGroups – Users belonging in some of the listed groups will be
2235   audited more aggressively.
2237 ==== Changed configuration ====
2238 * $wgInvalidUsernameCharacters – This setting now contains the char '>', which
2239   is now the reserved delimiter for external user names.
2240 * $wgLocalFileRepo – The default serialization method for file meta-data has
2241   been changed to JSON. You can revert it to PHP by setting the property
2242   'useJsonMetadata' to false.
2243 * $wgLBFactoryConf – The 'configCallback' flag can now be set to a callback
2244   function that returns an array with keys to update in $wgLBFactoryConf. This
2245   can be used to update the database configuration on the fly, e.g. to take
2246   replica hosts out of rotation.
2247 * $wgDBservers and $wgLBFactoryConf – The DBO_SSL flag in has been deprecated in
2248   favour of a boolean "ssl" parameter.
2249 * $wgObjectCaches – The 'globalKeyLB' and 'localKeyLB' flags are no longer
2250   supported.
2252 ==== Removed configuration ====
2253 * $wgMultiContentRevisionSchemaMigrationStage - This transition flag, deprecated
2254   since MediaWiki 1.35, has been removed; the data migration is over.
2255 * $wgActorTableSchemaMigrationStage - This transition flag has been removed; the
2256   data migration is over.
2257 * $wgWikiFarmSiteDetector – This experimental setting has been removed without
2258   replacement. Use the MW_WIKI_NAME environment variable to specifiy the name of
2259   the site for which to load configuration. Using the WIKI_NAME environment
2260   variable for this purpose is deprecated.
2261 * $wgParserCacheUseJson - The ParserCache now always uses JSON serialization.
2262   Reading old non-JSON cache entries is still supported. The setting had been
2263   deprecated since 1.36.
2264 * $wgAllowJavaUploads - To allow uploads of JAR files, remove application/java
2265   from $wgMimeTypeExclusions.
2266 * $wgMaxRedirects – This broken feature was removed, as it never worked as
2267   intended (T296430).
2268 * $wgElementTiming – This experimental, default-disabled feature has been
2269   removed without replacement.
2270 * $wgPriorityHints and $wgPriorityHintsRatio – The related experimental feature
2271   has been removed without replacement.
2272 * $wgIncludeLegacyJavaScript – This flag has been removed, without loss of any
2273   functionality in this release. Most former "wikibits" functions were removed
2274   after deprecation in previous releases. The remaining functions, such as
2275   importScript, are now available unconditionally.
2276 * $wgLegacySchemaConversion - This unused setting has been removed.
2277 * $wgInterwikiPrefixDisplayTypes - This unused setting has been removed.
2278 * $wgMangleFlashPolicy – This is no longer functional, and is now deprecated.
2279   Users who are somehow still using Flash as a browser extension will be exposed
2280   to CSRF vulnerabilities.
2282 === New user-facing features in 1.39 ===
2283 * Optional automatic user creation on page save ($wgAutoCreateTempUser)
2284 * Administrators now have the option to delete/undelete the associated "Talk"
2285   page when they are (un)deleting a given page. `deletetalk` and `undeletetalk`
2286   options were added to the 'delete' and 'undelete' action APIs in MW 1.38.
2287 * `{{=}}` is now a wikitext built-in magic word, expanding to `=`.  This is
2288   conventionally used as an escape mechanism to allow the use of `=` in
2289   unnamed template arguments.  Defining [[Template:=]] to expand to something
2290   other than `=` has been deprecated since 1.36, with affected pages put into
2291   a special tracking category for migration.
2292 * (T284020) Bot passwords are now supported when using the REST API.
2294 === New developer features in 1.39 ===
2295 * Added optional $size param to SearchResultProvideThumbnail hook.
2296 * SearchResultProvideThumbnail hook interface moved from MediaWiki\Rest\Hook
2297   namespace to MediaWiki\Search\Hook.
2298 * JsonValidateSaveHook has been added to allow extensions to set additional
2299   pre-save validations for specific JSON pages (T313254)
2300 * Added 'PermissionErrorAudit' hook, enabling extensions to audit permission
2301   errors on specfic actions. For instance account registration failed attempts
2302   due to a block (T306018).
2304 === External library changes in 1.39 ===
2306 ==== New external libraries ====
2307 * Added Codex v0.1.1. This replaces the now deprecated wvui library.
2308 * Added symfony/polyfill-php81.
2309 * Added symfony/polyfill-php82.
2310 * Added symfony/polyfill-php83.
2312 ===== New development-only external libraries =====
2313 * Updated QUnit from 2.18.0 to 2.18.2.
2315 ==== Changed external libraries ====
2316 * Updated jQuery from v3.6.0 to v3.6.1.
2317 * Updated OOUI from v0.43.2 to v0.44.5.
2318 * Updated composer/semver from 3.2.6 to 3.3.2.
2319 * Updated cssjanus/cssjanus fromv2.1.0 to v2.1.1.
2320 * Updated pear/mail from v1.4.1 to v1.5.1.
2321 * Updated symfony/polyfill-php80 from 1.25.0 to 1.28.0.
2322 * Updated symfony/yaml from 5.4.3 to 5.4.23.
2323 * Updated vue/compat from 3.2.23 to 3.2.37.
2324 * Updated wikimedia/base-convert from 2.0.1 to 2.0.2.
2325 * Updated wikimedia/html-formatter from 3.0.1 to 4.0.3.
2326 * Updated wikimedia/ip-set from 3.0.0 to 3.1.0.
2327 * Updated wikimedia/minify from 2.2.6 to 2.3.0.
2328 * Updated wikimedia/php-session-serializer from 2.0.0 to 2.0.1.
2329 * Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
2330 * Updated wikimedia/running-stat from 1.2.1 to 2.1.0.
2331 * Updated wikimedia/scoped-callback from 3.0.0 to 4.0.0.
2332 * Updated wikimedia/services from 2.0.1 to 3.0.0.
2333 * Updated wikimedia/timestamp from 3.0.0 to 4.1.1.
2334 * Updated wikimedia/xmp-reader from 0.8.1 to 0.8.6.
2336 ===== Changed development-only external libraries =====
2337 * Updated composer/spdx-licenses from 1.5.5 to 1.5.7.
2338 * Updated doctrine/dbal for PHP < 7.3 from 2.13.6 to 2.13.9.
2339 * Updated doctrine/dbal for PHP >= 7.3 from 3.1.5 to 3.4.2.
2340 * Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1.
2342 ==== Removed external libraries ====
2343 * Removed wikimedia/dodo (v0.4.0).
2345 === Bug fixes in 1.39 ===
2346 * (T314013) $wgExtraNamespaces no longer overrides canonical namespace names
2347   specified in extension.json files. While this setting can still be used to
2348   rename extension-defined namespaces, system administrators may need to run
2349   namespaceDupes.php after upgrading.
2351 === Action API changes in 1.39 ===
2352 * New `undeletetalk` parameter on action=undelete that allows you to restore
2353   all revisions of the associated talk page.
2355 === Languages updated in 1.39 ===
2356 MediaWiki supports over 350 languages. Many localisations are updated regularly.
2357 Below only new and removed languages are listed, as well as changes to languages
2358 because of Phabricator reports.
2360 * Actual localization was added for several languages, which were already
2361   in Names.php and even used for a Wikipedia:
2362 ** (T313200) Added language support for Rundi (Kirundi, rn).
2363 ** (T310976) Added language support for Tumbuka (ChiTumbuka, tum).
2364 ** (T314270) Added language support for Kanuri (kr).
2365 * (T313199) Added language support for Sylheti (syl).
2366 * (T311975) Added language support for Ghanaian Pidgin (gpe).
2367 * (T307080) Added language support for Okinawan (ryu).
2368 * (T307887) Added language support for Mooré (mos).
2369 * (T308813) Added language support for Nigerian Pidgin (pcm).
2370 * (T309763) Added language support for Tai Nüa (tdd).
2371 * (T310040) Added language support for Fante (fat).
2372 * (T311034) Added language support for Campidanese Sardinian (sro).
2373 * (T315406) Fix the autonym of the Iñupiaq language to "Iñupiatun".
2374 * (T315677) Removed French fallback from the Fula language (ff).
2375 * (T304920) In Swahili, The "Media" namespace is now "Media", as in English,
2376   and the "File" namespace is now "Faili". The old name of the "File" namespace
2377   was "Picha", and it's kept for backwards compatibility. If you manage a wiki
2378   in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and
2379   you mean to use it as "Media:", these need to be replaced to "Media:".
2380 * (T309866) Some namespace translations were updated for Kyrgyz (ky). The old
2381   ones are retained as aliases for backwards compatibility.
2382 * (T117845) Started the renaming of the language codes for Serbian from sr-ec
2383   and sr-el to sr-cyrl and sr-latn.
2384 * (T295637) Add no to fallback chain of nb and nn.
2386 === Breaking changes in 1.39 ===
2387 * Basic non-JavaScript (Grade C) support has been dropped for Internet Explorer
2388   9-10, Firefox 27-38, and Android 4.3-4.4.
2389 * The following methods, deprecated since 1.37, have been removed from IDatabase
2390   - ::fetchObject()
2391   - ::fetchRow()
2392   - ::numRows()
2393   - ::freeResult()
2394 * Title::getDefaultNamespace(), deprecated since 1.37, has been removed.
2395 * The DBPrimaryPos class alias 'DBMasterPos' has been removed.
2396 * The global function wfGetLB(), deprecated since 1.27, has been removed.
2397 * Passing a db to BlockRestrictionStore::loadByBlockId() is no longer supported.
2398   BlockRestrictionStoreFactory should be used to fetch a correct
2399   BlockRestrictionStore instead. This was deprecated since 1.38.
2400 * The global function wfGetCache(), deprecated since 1.32, has been removed. You
2401   can use ObjectCache::getInstance() instead.
2402 * The global function wfGetMainCache(), deprecated since 1.32, has been removed.
2403   You can use ObjectCache::getLocalClusterInstance() instead.
2404 * MovePage::__construct() now requires that all parameters be passed. The
2405   fallback to MediaWikiServices emitted deprecation notices since 1.37.
2406 * WikiPage::doEditContent(), deprecated since 1.32, was removed.
2407 * WikiPage::prepareContentForEdit() now requires a UserIdentity parameter to be
2408   provided. Not providing one has been deprecated since 1.37.
2409 * EventRelayerKafka, deprecated in 1.38, was removed.
2410 * MediaWiki\Logger\Monolog\KafkaHandler, deprecated in 1.38, was removed.
2411 * The "trace" option of SectionProfiler, deprecated in 1.38, was removed.
2412 * The global function wfWikiID(), deprecated since 1.35, has been removed.
2413 * Database::wasKnownStatementRollbackError() was removed. Subclasses should
2414   override isKnownStatementRollbackError() instead.
2415 * Database::wasQueryTimeoutError() was removed. Subclasses should
2416   override isQueryTimeoutError() instead.
2417 * Database::buildSuperlative() has been removed without deprecation.
2418 * The following methods, deprecated in 1.37, have been removed:
2419   - Linker::setStubThreshold(), ::getStubThreshold().
2420   - LinkRendererFactory::createForUser().
2421   - ParserOptions::getStubThreshold(), ::setStubThreshold().
2422 * Changes to ResourceLoader modules:
2423   - The mediawiki.viewport module, deprecated in 1.37 has been
2424      removed. Use IntersectionObserver instead.
2425 * If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere,
2426   and you mean to use it as "Media:", replace it with "Media:". See T304920.
2427 * Changes to skins:
2428   - Skin::getCopyrightIcon(), ::getPoweredBy(), deprecated in 1.37 have been
2429     removed.
2430   - Skin::bottomScripts, deprecated in 1.37, now emits deprecation notices.
2431     Skins using SkinTemplate must set bodyOnly as a skin option and
2432     remove lines of code generating html, body and head elements.
2433   - Skin::makeSearchButton and Skin::makeSearchInput were deprecated in 1.38.
2434     Use SkinTemplate methods with the same name or Skin::getTemplateData
2435     instead.
2436   - Styles for the HTML classes `warningbox`, `errorbox` and `successbox` have
2437     been removed in favor of Html class methods.
2438   - The feature `legacy` used inside ResourceLoaderSkinModule,
2439     deprecated in 1.37, will no longer ship any styles.
2440   - Skin::getSkinStylePath, deprecated since 1.36, has been removed.
2441   - Skin::getPortletData has been made private.
2442   - SkinTemplate::getPersonalToolsList(), deprecated in 1.35 has been
2443     removed.
2444   - The following SkinTemplate template data, deprecated in 1.37,
2445     have been removed:
2446      - poweredbyico
2447      - copyrightico
2448   - The following hooks, deprecated in 1.37, have been removed:
2449      - SkinGetPoweredBy: SkinGetPoweredByHook
2450   - The following hooks are deprecated and replaced with
2451     SkinTemplateNavigation::Universal:
2452      - SkinTemplateNavigation::SpecialPage
2453      - SkinTemplateNavigation
2454      - PersonalUrls
2455   - The mediawiki.skinning.content.externallinks module, which was
2456     deprecated in 1.36 has been removed. Skins that still rely on it
2457     will lose the icon styling of external links by type.
2458 * Experimental wiki farm support: Automatic detection of the requested site
2459   within a wiki farm based on the requested domain has been removed.
2460   Use the MW_WIKI_NAME environment variable to specify the name of the site
2461   to load configuration for. Using the WIKI_NAME environment variable for this
2462   purpose is deprecated. This is only relevant if you have been using
2463   $wgWikiFarmSettingsDirectory to load wiki farm config.
2464 * MWExceptionHandler::installHandler was marked @internal and had required
2465   arguments added. This method is intended for use in bootstrap code and is
2466   unused in known extensions.
2467 * MWException::useOutputPage was made private without deprecation.
2468   This method was apparently only public for testing and is unused in known
2469   extensions.
2470 * Calling getId() on a User or UserIdentityValue from the wrong wiki, deprecated
2471   since 1.36, now throws an exception.
2472 * The following methods have been removed from ExtensionRegistry without
2473   deprecation and without replacement. They had been introduced in 1.35 for use
2474   in the testing framework, and were not in use by any known extension:
2475   - exportAutoloadClassesAndNamespaces
2476   - exportTestAutoloadClassesAndNamespaces
2477 * The MWNamespace class, deprecated since 1.34, has been removed. Use the
2478   NamespaceInfo service instead.
2479 * The UnknownContent and UnknownContentHandler class aliases have been removed,
2480   use FallbackContent and FallbackContentHandler instead.
2481 * IResultWrapper::next() now returns void, to match the Iterator interface that
2482   it implements. fetchObject() has the same behavior as next() used to.
2483 * In HTMLForm HTMLAutoCompleteSelectFields, the parameters 'autocomplete' and
2484   'autocomplete-messages', which were deprecated in MediaWiki 1.29, were
2485   removed. Instead, use 'autocomplete-data' and 'autocomplete-data-messages'.
2486 * The global $wgParser, deprecated in 1.32, was removed. Use
2487   MediaWikiServices::getInstance()->getParser() instead.
2488 * ParserOutput::setText will now set the ParserOutput's text to null if
2489   given null. Previously it did nothing if given null.
2490 * The default value for the first argument to the ParserOutput constructor
2491   is now null instead of ''.
2492 * IDatabase::lockTables() and IDatabase::unlockTables(), deprecated since 1.38,
2493   have been removed.
2494 * The $context parameter to `new HTMLForm( … )` and `HTMLForm::factory( … )`
2495   is now required.
2496 * The class alias for revision related classes in namespace MediaWiki\Storage
2497   has been removed. Classes are IncompleteRevisionException,
2498   MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
2499   RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
2500   RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
2501   SuppressedDataException.
2502 * Calling getBy() on an AbstractBlock from the wrong wiki, deprecated since
2503   1.38, now throws an exception.
2504 * Passing a MediaWiki\Linker\LinkTarget to EditPage::makeTemplatesOnThisPageList
2505   or TemplatesOnThisPageFormatter::format is no longer supported,
2506   a MediaWiki\Page\PageIdentity is required.
2507 * The deprecated class alias FakeConverter has been removed, use
2508   TrivialLanguageConverter instead.
2509 * The deprecated ApiQueryContributions class alias has been removed, use
2510   ApiQueryUserContribs instead.
2511 * The deprecated MediaWiki\Special\SpecialPageFactory class alias has been
2512   removed, use MediaWiki\SpecialPage\SpecialPageFactory instead.
2513 * The following skin modules, deprecated in 1.37, have been removed:
2514         - mediawiki.skinning.elements
2515         - mediawiki.skinning.content
2516         - mediawiki.toc.styles
2517         - mediawiki.legacy.config
2518         - mediawiki.legacy.shared
2519         - mediawiki.legacy.commonPrint
2520 * FileModule::compileLessFile(), deprecated since 1.35, has been removed. Use
2521   ::compileLessString() instead.
2522 * LogFormatter::styleRestricedElement(), deprecated since 1.37, has been
2523   removed. Use ::styleRestrictedElement() instead.
2524 * Title::isNamespaceProtected(), deprecated in 1.34, has been removed.
2525 * ApiStashEdit::parseAndStash(), deprecated in 1.34, has been removed.
2526 * LinkCache::forUpdate(), deprecated in 1.34, has been removed.
2527 * Passing null instead of a NamespaceInfo instance to LinkCache::__construct()
2528   is not supported anymore. It is recommended to request an instance from the
2529   service container.
2530 * ApiQueryBase::showHiddenUsersAddBlockInfo(), deprecated in 1.34, has been
2531   removed. Use ApiQueryBlockInfoTrait instead.
2532 * ApiQueryBase::prefixedTitlePartToKey(), deprecated in 1.35, has been removed.
2533   Use ::parsePrefixedTitlePart() instead.
2534 * ExternalStoreDB::getSlave(), deprecated in 1.34, has been removed. Use
2535   ExternalStoreDB::getReplica() instead.
2536 * ChangesListSpecialPage::checkStructuredFilterUiEnabled() and
2537   SpecialWatchlist::checkStructuredFilterUiEnabled() now support UserIdentity
2538   as the only argument. Passing Config argument was deprecated in 1.34.
2539 * DatabaseUpdater::ifNoActorTable(), deprecated in 1.35, has been removed. Use
2540   ::ifTableNotExists() instead.
2541 * MediaWiki\Revision\RevisionStoreFactory::getRevisionStore was documented
2542   to allow passing bool true as a dbDomain, this is no longer possible,
2543   because that is an invalid value for a dbDomain.
2544 * LinkHolderArray::__construct() had its signature changed. The class was marked
2545   internal in 1.35.
2546 * SpecialMute::isTargetBlacklisted(), deprecated in 1.35, has been removed. Use
2547   ::isTargetMuted() instead.
2548 * WebRequest::checkUrlExtension(), deprecated in 1.35, has been removed.
2549 * ContentHandler::cleanupHandlersCache(), deprecated in 1.35, has been removed.
2550 * SpecialVersion::getExtAuthorsFileName, deprecated in 1.35, has been removed.
2551   Use MediaWiki\ExtensionInfo::getAuthorsFileName.
2552 * SpecialVersion::getExtLicenseFileName, deprecated in 1.35, has been removed.
2553   Use MediaWiki\ExtensionInfo::getLicenseFileNames.
2554 * CategoryPage::getCategoryViewerClass and ::setCategoryViewerClass, deprecated
2555   in 1.35, have been removed.
2556 * SqlBlobStore::getLegacyEncodingConversionLang(), deprecated in 1.34, has been
2557   removed.
2558 * wfCanIPUseHTTPS(), deprecated in 1.37, has been removed.
2559 * wfGetScriptUrl(), deprecated in 1.35, has been removed.
2560 * The following methods of Database class, are no longer stable to override:
2561   - ::implicitOrderby()
2562   - ::selectSQLText()
2563   - ::bitNot()
2564   - ::bitAnd()
2565   - ::bitOr()
2566   - ::buildConcat()
2567   - ::buildGreatest()
2568   - ::buildLeast()
2569   - ::buildSubstring()
2570   - ::buildStringCast()
2571   - ::buildIntegerCast()
2572   - ::tableName()
2573   - ::addIdentifierQuotes()
2574   - ::buildLike()
2575   - ::limitResult()
2576   - ::unionSupportsOrderAndLimit()
2577   - ::unionQueries()
2578   - ::conditional()
2579   - ::strreplace()
2580   - ::timestamp()
2581   - ::getInfinity()
2582   - ::setTableAliases()
2583   - ::setIndexAliases()
2584   - ::buildGroupConcatField()
2585 * SpecialUnblock::processUnblock(), deprecated in 1.36, has been removed. Use
2586   UnblockUser instead.
2587 * wfLocalFile() and wfFindFile(), deprecated in 1.34, have been removed.
2588 * Maintenance script resetUserTokens.php, deprecated in 1.27, has been removed.
2589 * These methods in Database have been removed without deprecation as they are
2590   not used outside core. Users should override corresponding methods in
2591   SQLPlatform instead:
2592   - Database::doInsert -> SQLPlatform::insertSqlText
2593   - Database::doDropTable -> SQLPlatform::dropTableSqlText
2594   - Database::doRollback -> SQLPlatform::rollbackSqlText
2595   - Database::doSavepoint -> SQLPlatform::savepointSqlText
2596   - Database::doReleaseSavepoint -> SQLPlatform::releaseSavepointSqlText
2597   - Database::doRollbackToSavepoint -> SQLPlatform::rollbackToSavepointSqlText
2598 * The following protected methods of Database class have been removed without
2599   deprecation as they are not used outside core. Users should call
2600   corresponding methods in SQLPlatform:
2601   - Database::makeInsertLists -> SQLPlatform::makeInsertLists
2602   - Database::isFlagInOptions -> SQLPlatform::isFlagInOptions
2603   - Database::normalizeOptions -> SQLPlatform::normalizeOptions
2604   - Database::fieldNameWithAlias -> SQLPlatform::fieldNameWithAlias
2605   - Database::isTransactableQuery -> SQLPlatform::isTransactableQuery
2606 * $wgCanonicalNamespaceNames no longer includes custom namespaces defined using
2607   $wgExtraNamespaces. Extensions should use the NamespaceInfo service instead
2608   of accessing this configuration setting directly.
2609 * The following hook, deprecated in 1.35, has been removed:
2610      - ParserGetVariableValueVarCache: ParserGetVariableValueVarCacheHook
2611 * The $variableCache parameter to the ParserGetVariableValueSwitch hook is
2612   no longer used; non-standard use of this parameter has been deprecated since
2613   1.35.
2614 * These methods have been moved from IDatabase to IMaintainableDatabase:
2615   - IDatabase::fieldExists -> IMaintainableDatabase::fieldExists
2616   - IDatabase::indexExists -> IMaintainableDatabase::indexExists
2617   - IDatabase::tableExists -> IMaintainableDatabase::tableExists
2618 * DBConnRef doesn't accept live connection in constructor anymore.
2619   Only parameters for getting connection should be provided.
2620 * IDatabase::getTopologyRootPrimary() was removed.
2621 * User::blockedBy(), deprecated since 1.38, has been removed.
2622 * User::getBlockId(), deprecated since 1.38, has been removed.
2623 * AlphabeticPager::getOrderTypeMessages(), unused since 1.13, has been removed
2624   without deprecation.
2626 === Deprecations in 1.39 ===
2627 * PageProps::getInstance(), deprecated since 1.38, emits deprecations warnings.
2628 * The global function wfGetDB() has been deprecated. Use
2629   LoadBalancer::getConnection() instead.
2630 * SpecialRedirectWithAction::__construct without SearchEngineFactory argument
2631   will now emit a deprecation notice.
2632 * Use of the SiteStatsUpdate constructor has been deprecated in favor of
2633   the ::factory() method.
2634 * AuthManager::checkAccountCreatePermissions has been deprecated. Use
2635   AuthManager::authorizeCreateAccount or AuthManager::probablyCanCreateAccount
2636   instead.
2637 * Title::getSelectFields() has been deprecated in favor of
2638   PageStore::newSelectQueryBuilder()
2639 * Title::newFromTitleValue(), deprecated since in 1.34, now emits deprecation
2640   warnings. Use ::newFromLinkTarget() instead.
2641 * ExtensionRegistry::readFromQueue() has been marked @internal. Extensions
2642   should use ExtensionProcessor instead.
2643 * Processor::getExtraAutoloaderPaths() and
2644   ExtensionProcessor::getExtraAutoloaderPaths() have been deprecated, use get
2645   getExtractedAutoloadInfo() instead.
2646 * The following global functions are deprecated in favor of the listed UrlUtils
2647   methods.
2648   - wfExpandUrl -> UrlUtils::expand
2649   - wfGetServerUrl -> UrlUtils::getServer
2650   - wfAssembleUrl -> UrlUtils::assemble
2651   - wfRemoveDotSegments -> UrlUtils::removeDotSegments
2652   - wfUrlProtocols -> UrlUtils::validProtocols
2653   - wfUrlProtocolsWithoutProtRel -> UrlUtils::validAbsoluteProtocols
2654   - wfParseUrl -> UrlUtils::parse
2655   - wfExpandIRI -> UrlUtils::expandIRI
2656   - wfMatchesDomainList -> UrlUtils::matchesDomainList
2657   These methods are exact replacements except that
2658   1) they return null instead of false or empty string on error (where
2659      applicable);
2660   2) UrlUtils::validProtocols does not take a parameter (documentation said not
2661      to pass one to wfUrlProtocols anyway);
2662   3) they use type hints (don't try passing null instead of string, etc.).
2663 * MaintainableDBConnRef is deprecated, use DBConnRef instead.
2664 * Loading DefaultSettings.php is deprecated. To get default values of main
2665   config settings, use MainConfigSchema::listDefaultValues() or
2666   MainConfigSchema::getDefaultValue().
2667 * AbstractContent::getRedirectChain() and
2668   AbstractContent::getUltimateRedirectTarget() are now emitting deprecation
2669   warnings (T296430).
2670 * (T244138) QueryPage::getSQL() is deprecated. Instead QueryPage::getQueryInfo()
2671   should be overridden.
2672 * Calling new JobRunner() directly without $serviceOptions now emits
2673   deprecation warnings. Use MediaWikiServices::getInstance()->getJobRunner()
2674   instead.
2675 * Passing an array of targets to Article::getRedirectHeaderHtml() is
2676   deprecated. Supply a single redirect target instead (T296430).
2677 * The following Less mediawiki.mixins have been deprecated:
2678   - .animation()
2679   - .animation-delay()
2680   - .transform-rotate()
2681 * Skin::getAction is deprecated. Use IContextSource::getActionName instead.
2682 * User::getOption, deprecated since 1.35, now emits deprecation warnings.
2683   Use UserOptionsLookup::getOption instead.
2684 * ILBFactory::forEachLB() is deprecated. Use ::getAllLBs().
2685 * LoadBalancer::forEachOpenConnection() and ::forEachOpenPrimaryConnection()
2686   are deprecated without replacement.
2687 * The following classes were moved from the root namespace to the
2688   MediaWiki\ResourceLoader namespace, the old names becoming deprecated aliases:
2689   ResourceLoader, MessageBlobStore, VueComponentParser.
2690 * The following classes had the "ResourceLoader" prefix stripped while being
2691   moved to the MediaWiki\ResourceLoader namespace, the old names becoming
2692   deprecated aliases: DerivativeResourceLoaderContext,
2693   ResourceLoaderCircularDependencyError, ResourceLoaderClientHtml,
2694   ResourceLoaderCodexModule, ResourceLoaderContext, ResourceLoaderFileModule,
2695   ResourceLoaderFilePath, ResourceLoaderForeignApiModule, ResourceLoaderImage,
2696   ResourceLoaderImageModule, ResourceLoaderLanguageDataModule,
2697   ResourceLoaderLessVarFileModule, ResourceLoaderModule,
2698   ResourceLoaderMwUrlModule, ResourceLoaderOOUIFileModule,
2699   ResourceLoaderOOUIIconPackModule, ResourceLoaderOOUIImageModule,
2700   ResourceLoaderOOUIModule, ResourceLoaderSiteModule,
2701   ResourceLoaderSiteStylesModule, ResourceLoaderSkinModule,
2702   ResourceLoaderStartUpModule, ResourceLoaderUserModule,
2703   ResourceLoaderUserOptionsModule, ResourceLoaderUserStylesModule,
2704   ResourceLoaderWikiModule.
2705 * WANObjectCache::reap() and WANObjectCache::reapCheckKey() have been
2706   deprecated without replacement.
2707 * The following methods in WikiRevision and their interfaces
2708   ImportableUploadRevision and ImportableOldRevision are deprecated:
2709   - ::getUserObj() → ::getUser()
2710   - ::setUserObj() → ::setUsername()
2711   - ::setUserIP() → ::setUsername()
2712 * ObjectCache::addBusyCallback() is deprecated and non-functional.
2713 * MWTimestamp::getHumanTimestamp(), deprecated in 1.26, now emits deprecation
2714   warnings.
2715 * Article::viewRedirect(), deprecated in 1.30, now emits deprecation warnings.
2716 * Parser::getFreshParser() is deprecated, use ParserFactory::getInstance().
2717 * CoreParserFunctions::mwnamespace() is deprecated and emits deprecation
2718   warnings, use CoreParserFunctions::namespace() instead.
2719 * Registering magic variables whose names include a colon is deprecated.
2720 * User::blockedFor(), deprecated in 1.35, now emits deprecation warnings.
2721 * Access to previously public properties AbstractBlock::$mExpiry,
2722   AbstractBlock::$mHideName, AbstractBlock::$mTimestamp, DatabaseBlock::$mAuto,
2723   and DatabaseBlock::$mParentBlockId, deprecated in 1.34, now emits deprecation
2724   warnings.
2725 * Access to previously public properties User::$mBlock, User::$mBlockedby, and
2726   User::$mHideName, deprecated in 1.35, now emits deprecation warnings.
2727 * JobQueueGroup::singleton() and ::destroySingletons(), deprecated in 1.37, now
2728   emit deprecation warnings.
2729 * Title::getNotificationTimestamp(), deprecated in 1.35, now emits deprecation
2730   warnings.
2731 * Global functions wfReadOnly and wfReadOnlyReason, deprecated in 1.38, now
2732   emit deprecation warnings.
2733 * Overriding or calling DifferenceEngine::getDiffBodyCacheKey(), deprecated in
2734   1.31, now emits deprecation warnings.
2735 * Access to previously public property WikiRevision::$fileIsTemp, deprecated in
2736   1.29, now emits deprecation warnings.
2737 * wfQueriesMustScale() has been deprecated and emits deprecation warnings.
2738 * ContextSource::getStats(), RequestContext::getStats(), and
2739   DerivativeContext::getStats(), deprecated in 1.27, now emit deprecation
2740   warnings.
2741 * ManualLogEntry::setTags(), deprecated in 1.33, now emits deprecation warnings.
2742 * WikiRevision::downloadSource(), deprecated in 1.31, now emits deprecation
2743   warnings.
2744 * DifferenceEngine::textDiff(), deprecated in 1.32, now emits deprecation
2745   warnings.
2746 * FormatMetadata::flattenArrayContentLang(), deprecated in 1.36, now emits
2747   deprecation warnings.
2748 * SkinTemplate::getNameSpaceKey(), deprecated in 1.35, now emits deprecation
2749   warnings.
2750 * EnqueueJob::newFromJobsByWiki(), deprecated in 1.33, now emits deprecation
2751   warnings.
2752 * The following methods of the MWGrants class, all deprecated since 1.38,
2753   are now emitting deprecation warnings:
2754   - getValidGrants
2755   - getRightsByGrant
2756   - grantName
2757   - grantNames
2758   - getGrantRights
2759   - grantsAreValid
2760   - getGrantGroups
2761   - getHiddenGrants
2762   - getGrantsLink
2763   - getGrantsWikiText
2764 * DataUpdate::runUpdates(), deprecated in 1.28, now emits deprecation warnings.
2765 * CdnCacheUpdate::newFromTitles(), deprecated in 1.35, now emits deprecation
2766   warnings.
2767 * Instantiating HTMLCacheUpdate class, deprecated in 1.34, now emits deprecation
2768   warnings.
2769 * ISQLPlatform::tableNames() (implemented by IDatabase) is now deprecated.
2770   None of the tableName*() functions should be used by most users;
2771   if you absolutely must use raw SQL, write several tableName() calls instead.
2772 * Language::isWellFormedLanguageTag() has been deprecated in favor of
2773   LanguageCode::isWellFormedLanguageTag().
2774 * The PrevNextNavigationRenderer helper class has been deprecated in favor of
2775   the new PagerNavigationBuilder one.
2776 * The methods IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
2777   IndexPager::buildPrevNextNavigation() have been deprecated in favor of
2778   IndexPager::getNavigationBuilder().
2779 * Overriding the method IndexPager::makeLink() has been deprecated.
2780 * ActorMigration is deprecated. The temporary table is no longer needed, the
2781   actor table can be directly joined to the revision table, which is simple
2782   enough to not need a helper class. See the methods of ActorMigration for more
2783   specific information on replacements. ActorMigrationBase remains usable for
2784   migrations in extension tables.
2786 === Other changes in 1.39 ===
2787 * Dynamic default values are now applied before extension registration callbacks
2788   are run. This way, extensions have a complete view of config variables, with
2789   all defaults applied. For example, when the default value of X used to be
2790   static but becomes dynamic, and an extension reads the value of X in the
2791   registration callback, it will now continue to function as expected. In some
2792   cases however, this may cause an undesired change in behavior: if the dynamic
2793   default of setting X depends on the value of setting Y, and an extension
2794   changes Y, the changed value of Y will no longer affect the value of X.
2796 == Compatibility ==
2798 MediaWiki 1.39 requires PHP 7.4.3 or later and the following PHP extensions:
2800 * ctype
2801 * dom
2802 * fileinfo
2803 * iconv
2804 * intl
2805 * json
2806 * mbstring
2807 * xml
2809 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
2810 be used instead, but support for them is somewhat less mature.
2812 The supported versions are:
2814 * MariaDB 10.3 or higher
2815 * MySQL 5.7.0 or higher
2816 * PostgreSQL 10 or later
2817 * SQLite 3.8.0 or later
2819 == Online documentation ==
2820 Documentation for both end-users and site administrators is available on
2821 MediaWiki.org, and is covered under the GNU Free Documentation License (except
2822 for pages that explicitly state that their contents are in the public domain):
2824        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
2826 == Mailing list ==
2827 A mailing list is available for MediaWiki user support and discussion:
2829        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2831 A low-traffic announcements-only list is also available:
2833        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
2835 It's highly recommended that you sign up for one of these lists if you're
2836 going to run a public MediaWiki, so you can be notified of security fixes.
2838 == IRC help ==
2839 There's usually someone online in #mediawiki on irc.libera.chat.
2841 = MediaWiki 1.38 =
2843 == MediaWiki 1.38.7 ==
2845 This is a security and maintenance release of the MediaWiki 1.38 branch.
2847 === Changes since MediaWiki 1.38.6 ===
2848 * Localisation updates.
2849 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
2850 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
2851   (2.4.0 => 2.4.5).
2852 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
2853 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
2854 * (T330464) Work around argument corruption bug in XMLReader::open.
2855 * (T313157) IndexPager: Also protect against $offset being 0.
2856 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
2858 == MediaWiki 1.38.6 ==
2860 This is a security and maintenance release of the MediaWiki 1.38 branch.
2862 === Changes since MediaWiki 1.38.5 ===
2863 * Localisation updates.
2864 * (T325872) ChangeTags: Remove table name from condition.
2865 * (T324895) MWCallbackStream: Add explicit $stream property.
2866 * (T297031, T326039) PostgresUpdater: Move setDefault ahead of
2867   changeNullableField.
2868 * Remove /images .htaccess rules that are no longer relevent.
2869 * Disable php in .htaccess of images directory as a hardening measure.
2870 * (T322583) Include missing message parameter in message.
2871 * Fix phan error when Excimer is enabled.
2872 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0
2873 * (T326021) Add matrix: to $wgUrlProtocols.
2874 * (T326377) rdbms: Use DBConnRef in SelectQueryBuilder.
2875 * api/en.json: api-help-datatype-expiry add missing 'may'.
2876 * (T328222) Pass empty string to strlen() if schema is null for
2877   PostgresDatabase.
2878 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
2879 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
2880 * (T155582, T328503) Fix XML dumps for content types with non-string
2881   getNativeData().
2882 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses.
2883 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
2884 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text'
2885   tag.
2886 * (T295637) Add no to fallback chain of nb and nn.
2887 * (T329484) API: Fix query+allimages user parameter description.
2888 * (T330529) SpecialEditTags: Set default of '' for wpReason.
2889 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
2890   multiselects.
2891 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
2892   XFF headers.
2894 == MediaWiki 1.38.5 ==
2896 This is a security and maintenance release of the MediaWiki 1.38 branch.
2898 === Changes since MediaWiki 1.38.4 ===
2899 * Localisation updates.
2900 * Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings).
2901 * (T319000) WebInstaller: Don't try and run trim() on null.
2902 * (T318753) Installer: Disable logo dropper for now.
2903 * (T320864) When calling mail(), use an array for headers.
2904 * (T311567) In ManualLogEntry, cast the comment to string.
2905 * (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions.
2906 * (T322803) SpecialBotPasswords: Don't pass null to trim().
2907 * (T323082) Upgrading wikimedia/xmp-reader (0.8.1 => 0.8.5).
2908 * Language: Handle ronna and quetta.
2909 * PostgresUpdater: Remove trailing space from 'user_id ' column.
2910 * (T304515) LCStoreStaticArray: atomically replace the cache file.
2911 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
2912 * (T324910) On pages using multi-content revisions, the raw content of a
2913   specific slot can be retrieved using the action=raw&slot=<role-name> query
2914   parameters.
2915 * (T322637) SECURITY: sqlite should not create DB file world-readable.
2917 == MediaWiki 1.38.4 ==
2919 This is a maintenance release of the MediaWiki 1.38 branch.
2921 === Changes since MediaWiki 1.38.3 ===
2922 * Fix missing use statement from backport of fix for T307278.
2924 == MediaWiki 1.38.3 ==
2926 This is a security and maintenance release of the MediaWiki 1.38 branch.
2928 === Changes since MediaWiki 1.38.2 ===
2929 * Localisation updates.
2930 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
2931 * (T311559) SpecialListFiles: user parameter isn't always present.
2932 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
2933 * (T311920) SpecialBlockList: Prevent passing null to trim().
2934 * (T311921) SpecialUserrights: Don't pass null to str_replace.
2935 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
2936   Title::capitalize().
2937 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
2938 * (T311360) RecentChange: Straight join to actor table when needed.
2939 * (T311360) RecentChange: Make join to comment table also straight.
2940 * Remove messages in en-gb.json.
2941 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
2942 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
2943 * (T312302) SpecialRedirect: Don't pass null to explode.
2944 * RemoveInvalidEmails: Fix quoting for postgres.
2945 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
2946   strlen().
2947 * (T312300) SpecialDiff: Don't pass null to explode().
2948 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
2949 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
2950 * (T289926) Ensure that strlen() does not get passed a (valid) null.
2951 * (T312301) SpecialDiff: Don't pass null to trim().
2952 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
2953 * (T289926) Ensure we don't pass null to mb_strlen.
2954 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
2955   calls.
2956 * (T289926) site: Consistently return null from Site::getDomain().
2957 * (T307304, T289879) filebackend,jobqueue: Add signature for
2958   FilterIterator::accept().
2959 * (T304559) Use page ID from parent revision, improve logging.
2960 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
2961 * Add application/vnd.ms-opentype to MIME list.
2962 * Allow composer/installers plugin in composer.json.
2963 * (T313663) Make ReadOnlyModeTest work in php8.
2964 * (T313663) Make HandlerTestTrait compatible with php8.1.
2965 * (T313663) [php8] Make DeletePageTest stop giving warnings on php8.1.
2966 * Change type hints for BatchRowIterator and NotRecursiveIterator for
2967   compatibility with PHP 8.1.
2968 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
2969 * (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix
2970   php8.1.
2971 * (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for
2972   ImportSource.
2973 * Fix tests so getName() doesn't return null.
2974 * (T313663) [php8] Don't use strlen on potentially null string.
2975 * (T313663) [php8.1] Suppress test warning about providing null.
2976 * (T313663) [php8.1] mock User::getTitleKey() in DeaultPreferencesFactoryTest.
2977 * (T313663) Parser will use current timestamp instead of null if passed a
2978   RevisionRecord that does not have a timestamp.
2979 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
2980 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
2981 * (T313663) Mock UserOptionsManager::getOption for php8.1.
2982 * (T289879, T289926) Get rid of warnings on PHP 8.1.
2983 * (T313663) Check for null return of preg_replace in MediaWikiTitleCodec.
2984 * (T313663) cast db name to string when checking if it is read only [php8.1].
2985 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
2986 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
2987 * (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1].
2988 * (T314096) Migrate use of ${var}-style string interpolation.
2989 * (T314099) preprocessor: Add missing field declarations.
2990 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
2991   '' not null.
2992 * (T313663) [php8.1] Mock out getLocalDomainID for WatchedItemStore tests.
2993 * (T313663) Suppress warnings for the null test of addIdentifierQuotes.
2994 * (T314225) SpecialCategories: Null coalescene $par.
2995 * (T314099) User: Allow dynamic properties on PHP 8.2.
2996 * (T314404) SpecialGoToInterwiki: Null coalescene $par.
2997 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
2998 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
2999 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
3000 * (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1.
3001 * (T313663) Do not test giving a null fragment to Title::makeTitle.
3002 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
3003 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
3004 * (T313663) Cast results of Sqlite test to string [php 8.1].
3005 * (T314208) Set $wgServer for HttpRequestFactoryTest to prevent warnings on
3006   php8.1.
3007 * (T314208, T297082) phpunit: Fallback to global default user options.
3008 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
3009 * Fix a couple deprecation warnings in the installer under PHP 8.1.
3010 * api: Add rel=nofollow to help examples.
3011 * (T307613) Validate length of user email on Special:ChangeEmail/
3012   Special:CreateAccount.
3013 * (T314226) LoginSignupSpecialPage: Check if $value is a string before length.
3014 * (T314824) tests: Update parser test after i18n change.
3015 * (T313663, T296083) context: Replace deprecated User::getOption.
3016 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
3017 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
3018   wpNamespaceRestrictions.
3019 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
3020 * (T315892) composer.json: Pin phpunit to 8.5.28.
3021 * (T313663) Do not compare byte-for-byte of serialized items in tests [php8.1].
3022 * objectcache: avoid php 8.1 argument type warnings in
3023   genericKeyFromComponents().
3024 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
3025   change.
3026 * ManualLogEntry: Don't pass null to trim() as PHP 8.1 whines.
3027 * (T313663) Add a null check VueComponentParser to prevent php8.1 issues.
3028 * (T313049) Bump wikimedia/parsoid to v0.15.1.
3029 * (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset.
3030 * (T318460) SpecialChangeEmail: Set default for returntoquery.
3031 * (T318307) Update docs for HTMLFormField::validate() to permit all data types.
3032 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
3033   in an IP range check on Special:Contributions.
3034 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
3035   of hidden users.
3036 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
3037   "alreadyrolled" can leak revision deleted user name.
3039 == MediaWiki 1.38.2 ==
3041 This is a security and maintenance release of the MediaWiki 1.38 branch.
3043 === Changes since MediaWiki 1.38.1 ===
3044 * Localisation updates.
3045 * (T309426) Repair language selector for SVGs.
3046 * (T310013) Fix default value for $wgShowEXIF and $wgUsePathInfo.
3047 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
3048 * (T308473) SECURITY: Escape contributions-title msg for use within page title.
3049 * (T311272) Call parent constructor of AddSite maintenance script first.
3050 * MediaWiki: Don't eagerly initialize action name.
3051 * (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.4.1 to 7.4.5.
3052 * (T289926) Avoid passing null to trim() in SkinTemplate.
3053 * (T289879) Address deprecations for PHP 8.1.
3054 * (T311473) rollbackEdits: Pass user identity to RollbackPage.
3055 * Upgrade wikimedia/remex-html from 3.0.1 to 3.0.2.
3056 * (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null.
3057 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
3058 * (T311569) FileBackend::isStoragePath() Handle being passed null.
3059 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
3060 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
3061 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
3062 * Upgrade wikimedia/common-passwords from 0.3.0 to 0.4.0.
3064 == MediaWiki 1.38.1 ==
3066 This is a maintenance release of the MediaWiki 1.38 branch.
3068 === Changes since MediaWiki 1.38.0 ===
3069 * (T309860) Add justinrainbow/json-schema to vendor.
3070 * (T309933) Drop PHP 7.2 support in MediaWiki 1.38; require 7.3.19.
3072 == MediaWiki 1.38.0 ==
3074 === Changes since MediaWiki 1.38.0-rc.1 ===
3075 * Localisation updates.
3076 * (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail
3077   jobs triggered.
3078 * (T305779) phpunit: Support setting skin context in BundleSizeTest subclasses.
3079 * (T309028) SECURITY: ApiEditPage: update title after redirects.
3080 * (T308967) notifications: prevent log spam when invalid user object listed.
3081 * composer: Lock Parsoid version to specific 0.15.0 release.
3082 * (T306362, T308680) change-your-logo.svg: Resize to 135px square, re-crush,
3083   and manually minify.
3085 == MediaWiki 1.38.0-rc.1 ==
3087 === Changes since MediaWiki 1.38.0-rc.0 ===
3088 * Localisation updates.
3089 * (T305028) Undeprecate EditPage::$textbox2.
3090 * (T305635) LogActions is a map, not a list.
3091 * (T306721) Add wikimedia/equivset to vendor; needed by bundled AbuseFilter.
3092 * (T307284) Simplify TransactionManager::pendingWriteQueryDuration.
3093 * (T307307) Add symfony/yaml to vendor.
3094 * Fix old_name in UserLogoutComplete hook.
3095 * REST: don't send stack trace in error responses.
3096 * (T307998) SessionManager: stop storing an ObjectFactory instance.
3097 * (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update.
3099 == Upgrading notes for 1.38 ==
3100 Don't forget to always back up your database before upgrading!
3102 See the file UPGRADE for more detailed per-version upgrade instructions from the
3103 oldest supported upgrading version, MediaWiki 1.29.
3105 Some specific notes for MediaWiki 1.38 upgrades are below:
3106 * (T191740) The AbuseFilter extension is now bundled with MediaWiki. This is an
3107   anti-abuse feature that lets privileged users to set specific actions to be
3108   taken when actions by users, such as edits or file uploads, match certain
3109   criteria.
3110 * (T232948) The Math extension is now bundled with MediaWiki. This is a content
3111   feature that lets users create mathematical formulæ, written in a sub-set of
3112   LaTeX and rendered in MathML with a fallback SVG image. By default, it will
3113   use Wikimedia's mathoid service to render each formula, but local rendering
3114   can be set up for network isolation or performance.
3115 * (T191743) The Minerva skin is now bundled with MediaWiki. This is a simple,
3116   light-weight, and scalable skin that is particularly optimised for mobile use,
3117   and integrates well with the MobileFrontend extension (available separately),
3118   but can also be used as a regular desktop skin.
3120 For notes on 1.37.x and older releases, see HISTORY.
3122 === Configuration changes for system administrators in 1.38 ===
3124 ==== New configuration ====
3125 * (T297708) $wgMaxExecutionTimeForExpensiveQueries - This setting can be used to
3126   control the maximum execution time for several expensive query pages (e.g.
3127   RecentChanges and UserContribs).
3128 * $wgBrowserFormatDetection – This setting allows overriding browsers' automatic
3129   detection and handling of formats. It's initially used to prevent auto-linking
3130   of possible telephone numbers in wiki pages' output in Safari on iOS; this can
3131   be re-enabled if you wish, or locally extended for other browsers' quirks.
3132 * (T240685) $wgMetricsTarget, $wgMetricsFormat, $wgMetricsPrefix - These provide
3133   configuration for a new MetricsFactory service with support for the dogstatsd
3134   format, intended for integration with Prometheus integration.
3135 * $wgGroupInheritsPermissions – This setting allows inheriting permissions, both
3136   granted and revoked, from another group.
3137 * $wgForeignApiRepos – ForeignAPIRepo now has a apiMetadataExpiry option to
3138   control for how long file metadata is cached. Additionally the default changed
3139   from 1 hour to 4 hours.
3140 * $wgSkinsPreferred – This lets you set a list of preferred skins to be listed
3141   higher in Special:Preferences.
3142 * $wgWikiFarmSettingsDirectory – A directory that contains site-specific
3143   configuration files. Setting this will enable multi-tenant ("wiki farm")
3144   mode, causing site-specific settings to be loaded based on information from
3145   the web request. EXPERIMENTAL.
3146 * $wgWikiFarmSettingsExtension – The file extension to be used when looking up
3147   site-specific settings files in $wgWikiFarmSettingsDirectory, such as 'json'
3148   or 'yaml'. EXPERIMENTAL.
3149 * $wgWikiFarmSiteDetector – A callback function that returns the name of the
3150   wiki for the current request. This is used in multi-tenant ("wiki farm")
3151   mode to determine which settings file to load from
3152   $wgWikiFarmSettingsDirectory. EXPERIMENTAL.
3153 * $wgEnableRemoteBagOStuffTests – This replaces the environment variable
3154   PHPUNIT_USE_BAGOSTUFF.
3155 * (T230211) $wgForceDeferredUpdatesPreSend – Force deferred updates to be run
3156   before sending a response to the client, instead of attempting to run them
3157   after sending the response. Setting this to true is useful for end-to-end
3158   testing, to ensure that the effects of a request are visible to any subsequent
3159   requests, even if they are made immediately after the first one. Note however
3160   that this does not ensure that database replication is complete, nor does it
3161   execute any jobs enqueued for later.
3162 * $wgTemplateLinksSchemaMigrationStage – Templatelinks table schema migration
3163   stage, for normalizing tl_namespace and tl_title fields.
3165 ==== Changed configuration ====
3166 * $wgStyleDirectory and $wgExtensionDirectory – These are now set later, so can
3167   no longer be used within LocalSettings.php unless explicitly set in that file.
3168 * $wgFileBackends – This setting no longer takes 'fileJournal' as an option.
3169 * $wgMaxImageArea - This setting may now be set to false to disable size.
3170   checking before scaling. Extensions can still override its value by using the
3171   BitmapHandlerCheckImageArea hook.
3172 * $wgAjaxUploadDestCheck – This is now deprecated, and act as always-true.
3173 * $wgInterwikiCache – This no longer supports the string value for CDB files.
3174 * $wgParserOutputHooks – This is now deprecated; adjustments using this should
3175   be done with OutputPageParserOutputHook instead. (T292321)
3176 * $wgExternalStores – This is newly documentated in
3177   includes/externalstore/README.md.
3179 ==== Removed configuration ====
3180 * $wgShellLocale - This setting has been removed as it was a flawed solution to
3181   the problem of locale dependence, MediaWiki will now always set a locale of
3182   C.UTF-8 or C and works around the remaining problems of the C locale by not
3183   using escapeshellarg. This follows the direction of PHP 8.0, which sets a
3184   locale of C by default instead of respecting LC_CTYPE.
3185 * $wgLoggedOutMaxAge - Experiment removed, originally added in 1.35. (T293848)
3186 * $wgIncludejQueryMigrate - Deprecated in 1.36. We only support jQuery v3.
3187 * $wgUseCategoryBrowser - This experimental feature has been removed. If you
3188   still need to use this feature, please see [[mw:Extension:CategoryExplorer]].
3189 * $wgStyleSheetPath - alias for $wgStylePath, deprecated since 1.3 (2004).
3191 === User-facing changes in 1.38 ===
3192 * (T284921) The "auto-number headings" feature was removed following a
3193   consultation, due to performance reasons.
3195 === New operator/developer features in 1.38 ===
3196 * EXPERIMENTAL: The environment variable MW_CONFIG_FILE can be used to specify
3197   the location of the settings file. This allows alternative settings files to
3198   be loaded depending on the environment. Settings files may be given as PHP
3199   files like the traditional LocalSettings.php file, or they may use JSON or
3200   YAML format.
3201   See https://www.mediawiki.org/wiki/Manual:YAML_settings_file_format
3202 * Added a deleteUserEmail maintenance script - This file enables the deletion of
3203   a given user's associated email address. It can be helpful for
3204   privacy-preserving operations.
3205 * The description array for constructing an HTMLForm now can use 'disable-if' to
3206   disable fields on condition easily, supported expressions are the same as
3207   'hide-if'.
3208 * There is a new interface, IForeignRepoWithMWApi, to allows you to mark file
3209   repos provided by an extension as supporting making API queries against the
3210   foreign file repo so that extensions like TimedMediaHandler that depend on
3211   this can stop hard-coding looking for specific class names.
3212 * Added EXPERIMENTAL support for an easy to configure multi-tenant ("wiki
3213   farm") mode:
3214   Settings for each site can be placed in a directory specified by
3215   $wgWikiFarmSettingsDirectory. Site detection is controlled by
3216   $wgWikiFarmSiteDetector and defaults to the requested host name.
3217   For example, setting $wgWikiFarmSettingsDirectory = "sites" would cause
3218   the settings for wiki.example.com to be loaded from
3219   "sites/wiki_example_com.yaml".
3220   WARNING: YAML files under the web root may be accessible to browsers, please
3221   take appropriate measures to protect them from access via HTTP.
3222 * Running QUnit tests for an individual test suite module is possible with
3223   `grunt qunit --qunit-component={componentName}`, where {componentName} is
3224   "MediaWiki" to run core's QUnit tests or the skin or extension name.
3225 * The 'mediawiki.mixins' module now has a `.user-select()` Less mixin.
3227 === External library changes in 1.38 ===
3229 ==== New external libraries ====
3230 * symfony/yaml was promoted from development-only.
3231 * justinrainbow/json-schema was promoted from development-only.
3233 ==== Changed external libraries ====
3234 * Updated OOUI from v0.42.0 to v0.43.2.
3235 * Updated Vue from 2.6.11 to 3.2.23.
3236 * Updated WVUI from v0.3.0 to v0.4.0.
3237 * Updated composer/semver from 3.2.5 to 3.2.6.
3238 * Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
3239 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
3240 * Updated pear/net_smtp from 1.9.2 to 1.10.0.
3241 * Updated psr/log from 1.1.3 to 1.1.4.
3242 * Updated psy/psysh from 0.10.5 to 0.11.1.
3243 * Updated symfony/polyfill-php80 from 1.23.1 to 1.25.0.
3244 * Updated wikimedia/assert from 0.5.0 to 0.5.1.
3245 * Updated wikimedia/cdb from 1.4.1 to 2.0.0.
3246 * Updated wikimedia/ip-utils from 3.0.2 to 4.0.0.
3247 * Updated wikimedia/minify from 2.2.4 to 2.2.6.
3248 * Updated wikimedia/object-factory from 3.0.2 to 4.0.0.
3249 * Updated wikimedia/parsoid from v0.14.0-a14 to v0.15.0.
3250 * Updated wikimedia/purtle from 1.0.7 to 1.0.8.
3251 * Updated wikimedia/request-timeout from 1.1.0 to 1.2.0.
3252 * Updated wikimedia/shellbox from 2.0.0 to 3.0.0.
3253 * Updated wikimedia/wrappedstring from 3.2.0 to 4.0.1.
3254 * Updated wikimedia/remex-html from 3.0.1 to 3.0.2.
3255 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
3257 ===== Changed development-only external libraries =====
3258 * Updated QUnit from 2.16.0 to 2.18.0.
3259 * Updated composer/semver from 3.5.4 to 3.5.5.
3260 * Updated composer/spdx-licenses from 1.5.4 to 1.5.5.
3261 * Updated doctrine/dbal for PHP < 7.3 from 2.10.4 to 2.13.6.
3262 * Updated doctrine/dbal for PHP >= 7.3 from 3.0.0 to 3.1.5.
3264 ==== Removed external libraries ====
3265 * jquery.jStorage, deprecated since MW 1.28; use "mediawiki.storage" instead.
3267 === Action API changes in 1.38 ===
3268 * New `deletetalk` parameter on action=delete that allows you to delete the
3269   associated talk page of a subject page.
3270 * New `variant` parameter for all API actions, for specifying language variant
3271   (akin to the existing `variant` parameter for index.php). Task T117549.
3273 === Languages updated in 1.38 ===
3274 MediaWiki supports over 400 languages. Many localisations are updated regularly.
3275 Below only new and removed languages are listed, as well as changes to languages
3276 because of Phabricator reports.
3278 * (T292166) Updated namespace names for the Lombard language.
3279 * (T299201) Changed the autonym of the Angika language to अंगिका
3280 * (T298309) Changed the autonym of the Abkhaz language to аԥсшәа
3281 * (T302972) Changed the autonym of the Kirundi language to ikirundi
3282 * (T220303) Show numbered lists with Burmese numerals in relevant languages
3283 * (T291899) Added language support for Xiang Chinese (hsn).
3284 * (T292612) Added language support for S'gaw Karen (ksw).
3285 * (T293656) Added language support for Farefare (gur).
3286 * (T294729) Added language support for Pa'O (blk).
3287 * (T296286) Added language support for Skolt Sámi (sms).
3288 * (T296612) Added language support for Makhuwa (vmw).
3289 * (T296707) Added language support for Ga (gaa).
3290 * (T297073) Added language support for Nanai (gld).
3291 * (T297074) Added language support for Nawdm (nmz).
3292 * (T298075) Added language support for Northern Thai (nod).
3293 * (T298182) Added language support for Cape Verdean Creole (kea).
3294 * (T298385) Added language support for Nheengatu (yrl).
3295 * (T299329) Added language support for Fon (fon).
3296 * (T300474) Added language support for Nkore (nyn).
3297 * (T302556) Added language support for Pannonian Rusyn (rsk).
3299 === Breaking changes in 1.38 ===
3300 * (T291008) The IP class, deprecated since 1.35 in favor of the IPUtils library,
3301   has been removed. The IP related regexes which were also deprecated in favor
3302   of the IPUtils library were also removed, IPUtils::RE_* should be used
3303   instead.
3304 * (T293043) The MediaWikiIntegrationTestCase class alias 'MediaWikiTestCase' has
3305   been removed.
3306 * LinkCache::singleton(), deprecated since 1.28, has been removed.
3307 * RepoGroup::singleton(), ::destroySingletons() and setSingleton(), all
3308   deprecated since 1.34, have been removed.
3309 * The following methods from FileDeleteForm were removed:
3310   - ::__construct (the class is no longer newable)
3311   - ::execute()
3312   - ::haveDeletableFile()
3313   Use FileDeleteAction instead.
3314 * MessageCache::singleton(), deprecated since 1.34, has been removed.
3315 * LockManagerGroup::singleton() and ::destroySingletons(), both deprecated since
3316   1.34, have been removed.
3317 * FileBackendGroup::singleton() and ::destroySingletons(), both deprecated since
3318   1.35, have been removed.
3319 * TemplateParser used to support disabling the cache with a boolean parameter in
3320   its constructor. This was deprecated in 1.35 and has now been removed.
3321 * The ArticleUndeleteLogEntry hook, deprecated in 1.37, was removed.
3322 * The BeforeResetNotificationTimestamp hook, deprecated in 1.37, was removed.
3323 * The global function mimeTypeMatch() has been removed without a deprecation
3324   process.
3325 * The following JavaScript mw.config keys have been removed:
3326   - $wgCookiePrefix
3327   - $wgCookieDomain
3328   - $wgCookiePath
3329   - $wgCookieExpiration
3330   Use mw.cookie from the mediawiki.cookie module instead.
3331 * The signature of PageUpdater::markAsRevert method was changed. It has never
3332   been used outside of MediaWiki core.
3333 * If you want to use interwiki titles with HTMLTitleTextField, you now need to
3334   pass 'interwiki' => true. In 1.37, the default behavior was to let interwiki
3335   title through by default, logging a deprecation warning.
3336 * The `UndeleteForm::undelete` hook, deprecated in 1.37, was removed.
3337 * BagOStuff::setDebug(), deprecated since 1.36, has been removed.
3338 * The `jquery.mw-jump` ResourceLoader module was removed.
3339 * The `wgForeignUploadTargets` and `wgEnableUploads` configuration values were
3340   removed from mw.config. They had previously been documented as being included
3341   for internal use by the mediawiki.ForeignUpload module.
3342 *The `&$hasHistory` parameter to WikiPage::getAutoDeleteReason() and
3343   ContentHandler::getAutoDeleteReason() was hard-deprecated with no replacement.
3344 * Several Skin methods, which have emitted deprecation warnings since 1.36, have
3345   been removed. These include:
3346   - Skin::privacyLink()
3347   - Skin::aboutLink()
3348   - Skin::disclaimerLink()
3349     For these, instead use Skin::footerLink() to alter footer links.
3350   - Skin::getLogo()
3351     For this, use ResourceLoaderSkinModule::getAvailableLogos() instead.
3352   - Skin::getIndicatorsHTML()
3353     For this, use Skin::getIndicatorsData() instead.
3354   - Skin::subPageSubtitle()
3355     For this, use Skin::prepareSubtitle() instead.
3356   - Skin::makeVariablesScript()
3357     For this, use ResourceLoader::makeInlineScript() instead.
3358   - Skin::getAllowedSkins()
3359   - Skin::getSkinNames()
3360     For these, use SkinFactory::getAllowedSkins() or ::getInstalledSkins().
3361   - Skin::makeUrl()
3362   - Skin::getSearchLink()
3363   - Skin::mainPageLink()
3364 * Parser::getUser and ::mUser, as well as ParserOptions::getUser, deprecated
3365   since 1.37, has been removed.
3366 * Parser::$mStripState, deprecated in 1.35, has been made private. Use
3367   Parser::getStripState() instead.
3368 * The following deprecated features in blocks were removed:
3369   - DatabaseBlock constructor 'byText' property with blocker's name, use 'by'
3370     property with UserIdentity value instead.
3371   - DatabaseBlock constructor 'by' property with blocker's ID, use 'by' property
3372     with UserIdentity value instead.
3373   - DatabaseBlock::isWhitelistedFromAutoblocks, use ::isExemptedFromAutoblocks.
3374   - DatabaseBlock::setBlocker now only accepts UserIdentity.
3375   - AbstractBlock::getTargetAndType and ::getTarget, use ::getTargetName,
3376     ::getTargetUserIdentity and ::getType instead
3377 * The following functions, emitting deprecations since 1.37, have been removed:
3378   - Title::isWatchable()
3379   - WatchAction::doWatchOrUnwatch(), WatchAction::doWatch(),
3380     WatchAction::doUnwatch(), WatchAction::getWatchToken()
3381   - User::isWatched(), User::isTempWatched(), User::addWatch(),
3382     User::removeWatch()
3383 * ParserOptions::setTidy() that had no effect and was deprecated since 1.35 has
3384   been removed.
3385 * The "YAML" encoding option of EtcdConfig, has been removed without
3386   deprecation.
3387 * The constant ApiBase::PARAM_VALUE_LINKS, deprecated since 1.35 has been
3388   removed.
3389 * UserLoadOptions, UserSaveOptions and UserResetAllOptions hooks, deprecated
3390   since 1.37, were removed.
3391 * The experimental FileJournal system has been removed without deprecation. This
3392   includes the FileJournal abstract class, its implementation classes
3393   DBFileJournal and NullFileJournal, various minor getters and setters, and the
3394   option for the wiki configuration $wgFileBackends.
3395 * The return values for each `bind` function in checkboxHack.js has been changed
3396   from an object to a function. In addition, the `unbind` function has been
3397   removed. A deprecation process was assumed unnecessary as there were no known
3398   usages.
3399 * File::getUser, ::getImageSize, ArchivedFile::getRawDescription, ::getUser,
3400   ::getRawUser and ::getRawDescription, deprecated since 1.37, has been removed.
3401 * ShellboxHttpClient class has been removed without deprecation. It was an
3402   internal class used by ShellboxClientFactory.
3403 * The following hard deprecated User methods have been removed:
3404   - ::resetIdByNameCache,
3405   - ::getStubThreshold,
3406   - ::matchEditTokenNoSuffix,
3407   - ::changeableByGroup,
3408   - ::changeableGroups,
3409   - ::isAllowUsertalk,
3410   - ::getRights
3411   - ::isAllowUsertalk
3412   - ::isIP,
3413   - ::isIPRange,
3414   - ::isValidUserName,
3415   - ::isUsableName,
3416   - ::isCreatableName,
3417   - ::getCanonicalName,
3418   - ::addAutopromoteOnceGroups,
3419   - ::getDefaultOptions,
3420   - ::getDefaultOption,
3421   - ::getOptions,
3422   - ::getBoolOption,
3423   - ::getIntOption,
3424   - ::setOption
3425   - ::listOptionKinds
3426   - ::getOptionKinds,
3427   - ::resetOptions,
3428   - ::getEffectiveGroups,
3429   - ::getAutomaticGroups,
3430   - ::getFormerGroups
3431   - ::isLoggedIn
3432   - ::getFirstEditTimestamp
3433   - ::getLatestEditTimestamp
3434 * Http::$httpEngine, deprecated since 1.34, has been removed. The only available
3435   HTTP engine is now Guzzle. CurlHttpRequest and PhpHttpRequest classes were
3436   removed.
3437 * The UserRightsProxy class was deprecated. Pass the correct domain to
3438   UserGroupManagerFactory instead.
3439 * Parser option enableLimitReport was deprecated. The report is now generated
3440   post-parse and can be included by providing 'includeDebugInfo' option to
3441   ParserOutput::getText. Thus, ParserOptions::enableLimitReport and
3442   ::getEnableLimitReport methods were deprecated.
3443 * Ajax action that was deprecated in 1.27 now has been removed.
3444 * The following methods have been removed from IDatabase without deprecation as
3445   they were completely unused:
3446   - ::preCommitCallbacksPending()
3447   - ::pendingWriteRowsAffected()
3448   - ::getServerUptime()
3449   - ::maxListLen()
3450 * The following deprecated methods have been removed from IDatabase:
3451   - ::aggregateValue() soft-deprecated since 1.33
3452   - ::getTopologyRootMaster() since 1.37
3453   - ::masterPosWait() since 1.37
3454   - ::dataSeek() soft-deprecated since 1.37
3455   - ::numFields() soft-deprecated since 1.37
3456   - ::fieldName() soft-deprecated since 1.37
3457   - ::onTransactionIdle() soft-deprecated since 1.32
3458   - ::getMasterPos() since 1.37
3459 * DatabaseMysqlBase::fieldType() and DatabasePostgres::fieldType(), deprecated
3460   since 1.37, have been removed.
3461 * Database::assertIsWritableMaster(), deprecated since 1.37, has been removed.
3462 * ResultWrapper::getInternalResult(), soft-deprecated since 1.37 and
3463   ResultWrapper::unwrap(), deprecated since 1.37, have been removed.
3464 * Language::AS_AUTONYMS, deprecated since 1.34, has been removed. You can use
3465   the LanguageNameUtils::AUTONYMS constant instead.
3466 * Several Language class variables deprecated in 1.35 have been removed; they
3467   are each replaced by a constant, as listed after the arrow:
3468   - ::$mWeekdayMsgs → WEEKDAY_MESSAGES
3469   - ::$mWeekdayAbbrevMsg → WEEKDAY_ABBREVIATED_MESSAGES
3470   - ::$mMonthGenMsgs → MONTH_GENITIVE_MESSAGES
3471   - ::$mIranianCalendarMonthMsgs → IRANIAN_CALENDAR_MONTHS_MESSAGES
3472   - ::$mHebrewCalendarMonthMsgs → HEBREW_CALENDAR_MONTHS_MESSAGES
3473   - ::$mHebrewCalendarMonthGenMsgs → HEBREW_CALENDAR_MONTH_GENITIVE_MESSAGES
3474   - ::$mHijriCalendarMonthMsgs → HIJRI_CALENDAR_MONTH_MESSAGES
3475 * wfIncrStats, deprecated since 1.36, has been removed.
3476 * Profiler::profileIn and ::profileOut, deprecated in 1.33, has been removed.
3477 * IEditObject::AS_CANNOT_USE_CUSTOM_MODEL, deprecated in 1.35, was removed.
3478 * Several protected methods in EditPage were made private. None of these was
3479   used outside of EditPage itself. Since the class is not stable to extend,
3480   this change happened without a deprecation phase.
3481 * The following public methods in EditPage, unused externally, were
3482   made private:
3483    - ::getCancelLink()
3484    - ::isSupportedContentModel()
3485    - ::getParentRevId()
3486 * EditPage::setApiEditOverride() was marked as @internal for use by
3487   ApiEditPage only.
3488 * SelectQueryBuilder::straightJoin() was renamed to straightJoinOption().
3489 * The following deprecated methods have been removed from ILBFactory:
3490   - ::beginMasterChanges() since 1.37
3491   - ::commitMasterChanges() since 1.37
3492   - ::rollbackMasterChanges() since 1.37
3493   - ::hasMasterChanges() since 1.37
3494   - ::hasOrMadeRecentMasterChanges() since 1.37
3495 * The "groupLoadsByDB" option to LBFactoryMulti has been removed. Consider using
3496   "groupLoadsBySection" instead.
3497 * The following methods have been removed from ILoadBalancer without deprecation
3498   as they were completely unused:
3499   - ::waitForOne()
3500   - ::allowLagged()
3501   - ::forEachOpenReplicaConnection()
3502 * The following deprecated methods have been removed from ILoadBalancer:
3503   - ::getMasterPos() since 1.37
3504   - ::finalizeMasterChanges() since 1.37
3505   - ::approveMasterChanges() since 1.37
3506   - ::beginMasterChanges() since 1.37
3507   - ::commitMasterChanges() since 1.37
3508   - ::runMasterTransactionIdleCallbacks() since 1.37
3509   - ::runMasterTransactionListenerCallbacks() since 1.37
3510   - ::rollbackMasterChanges() since 1.37
3511   - ::flushMasterSnapshots() since 1.37
3512   - ::hasMasterConnection() since 1.37
3513   - ::hasMasterChanges() since 1.37
3514   - ::lastMasterChangeTimestamp() since 1.37
3515   - ::hasOrMadeRecentMasterChanges() since 1.37
3516   - ::pendingMasterChangeCallers() since 1.37
3517   - ::forEachOpenMasterConnection() since 1.37
3518   - ::waitForMasterPos() since 1.37
3519 * LoadBalancer::safeGetLag() which has been soft-deprecated since 1.34 has been
3520   removed.
3521 * The following properties of the EditPage class, deprecated since 1.35, were
3522   made private:
3523   - ::$deletedSinceEdit
3524   - ::$lastDelete
3525   - ::$mTokenOk
3526   - ::$mTriedSave
3527   - ::$incompleteForm
3528   - ::$tooBig
3529   - ::$missingComment
3530   - ::$missingSummary
3531   - ::$allowBlankSummary
3532   - ::$autoSumm
3533   - ::$mParserOutput
3534   - ::$hasPresetSummary
3535   - ::$minoredit
3536   - ::$watchthis
3537   - ::$recreate
3538   - ::$nosummaryparentRevId
3539   - ::$editintro
3540   - ::$scrolltop
3541   - ::$markAsBot
3542 * Special:ListFiles and Special:NewFiles no longer allows to search for parts of
3543   file names (option was not available for $wgMiserMode = true)
3544 * DBAccessBase, deprecated since 1.37, has been removed.
3545 * The UserNamePrefixSearch service no longer supports a UserIdentity parameter
3546   to search(), to check for a specific audience an Authority object is required.
3547 * The methods CoreParserFunctions::register() and CoreTagHooks::register() have
3548   been marked @internal, and had a seconds parameter added. These methods are
3549   intended for use in Parser's constructor, and are not used by any known
3550   extension.
3551 * LoadBalancer::openConnection(), deprecated since 1.34, has been removed.
3552 * Skin::preloadExistence has been made private. There is no known usages outside
3553   of MediaWiki core.
3555 === Deprecations in 1.38 ===
3556 * The MWGrants class is deprecated in favor of the new GrantsInfo and
3557   GrantsLocalization services.
3558 * The global functions wfReadOnly() and wfReadOnlyReason() have been deprecated
3559   in favor of the ReadOnlyMode service.
3560 * PageProps::getInstance() has been deprecated. Use
3561   MediaWikiServices::getPageProps() instead.
3562 * User::setOption(), deprecated since 1.35, now emits deprecation warnings.
3563 * Linker::formatComment(), ::formatLinksInComment(), ::commentBlock() and
3564   revComment() were deprecated. Use the new CommentFormatter service.
3565 * Several Skin methods have been deprecated.
3566   - Skin::setSearchPageTitle(), Skin::getSearchPageTitle(). For these,
3567     use SpecialPage::newSearchPage() or associated user preference instead.
3568   - Skin::getSkinStylePath now triggers deprecation warnings. Direct string path
3569   should be used instead.
3570   - SkinTemplate::getPersonalToolsList(), deprecated since 1.35, now emits
3571   deprecation warnings.
3572   - In preparation for SkinTemplate::getPortletData becoming a private
3573     function, extending the method is no longer permitted. Use
3574     SkinTemplate::getTemplateData instead.
3575   - SkinTemplate::buildContentNavigationUrls is now deprecated. Skins can
3576     use the runOnSkinTemplateNavigationHooks method or the
3577     SkinTemplateNavigation__Universal hook if they need access to this data.
3578 * Usage of several template data keys in QuickTemplate are now deprecated:
3579   - searchaction, poweredbyico, copyrightico
3580 * DatabaseBlock::purgeExpired(), deprecated since 1.36, now emits deprecation
3581   warnings.
3582 * The following methods from the User class now trigger deprecation warnings:
3583    - ::blockedBy
3584    - ::getBlockId
3585 * Content::getParserOutput and AbstractContent::fillParserOutput was
3586   hard-deprecated, use ContentRenderer::getParserOutput instead. Extensions
3587   defining a content model should override ContentHandler::fillParserOutput.
3588 * Title::newFromIDs and TitleFactory::newFromIDs have been hard deprecated. Use
3589   a PageSelectQueryBuilder from a PageStore instead.
3590 * Content::getRedirectChain() and Content::getUltimateRedirectTarget() have been
3591   deprecated with no replacement because support for $wgMaxRedirect will be
3592   removed completely. See T296430 for more information.
3593 * WikiPage::getRedirectTarget() has been deprecated. Use the equivalent
3594   RedirectLookup::getRedirectTarget() instead.
3595 * Article::doDelete() was deprecated. Use WikiPage::doDeleteArticleReal if you
3596   only need to delete the article. If you also need things to happen with
3597   OutputPage, you may want to check the hooks in DeleteAction instead.
3598 * Instantiating the MessageContent class now emits deprecation notices.
3599 * Message::content() now triggers deprecation warnings.
3600 * Parser::setDefaultSort(), Parser::getDefaultSort(), and
3601   Parser::getCustomDefaultSort() now trigger deprecation warnings. Use
3602   ParserOutput::{get,set}PageProperty('defaultsort') instead.
3603 * The following methods from the ParserOutput class now emit deprecation
3604   warnings:
3605    - ::hideNewSection()      - use ::setHideNewSection()
3606    - ::preventClickjacking() - use ::{get,set}PreventClickjacking()
3607    - ::getProperty()         - use ::getPageProperty() (return value changed)
3608    - ::setProperty()         - use ::setPageProperty()
3609    - ::unsetProperty()       - use ::unsetPageProperties()
3610    - ::getProperties()       - use ::getPageProperties()
3611    - ::getCategoryLinks()    - use ::getCategoryNames()
3612    - ::setCategoryLinks()    - use ::setCategories()
3613    - ::addTrackingCategory() - use Parser::addTrackingCategory()
3614                                or TrackingCategories::addTrackingCategory()
3615    - ::addWarning()          - use ::addWarningMsg()
3616    - ::hasDynamicContent()   - use ::hasReducedExpiry()
3617 * The following methods from the ParserOutput class were deprecated:
3618    - ::getFlag() - use ::getOutputFlag()
3619    - ::setFlag() - use ::setOutputFlag()
3620    - ::getAllFlags() - this method is now marked @internal
3621    - ::addJsConfigVars() - use ::setJsConfigVar() or ::appendJsConfigVar()
3622    - ::addOutputHook() / ::getOutputHooks() - these hooks should be migrated
3623      to use the OutputPageParserOutput hook instead
3624 * The use of ParserOutput::setExtensionData() to overwrite previous values
3625   stored under a given key has been deprecated; use the new
3626   ::appendExtensionData() to collect multiple values in the ParserOutput rather
3627   than destructively updating stored values. (T300981)
3628 * The signatures of the following methods from the ParserOutput class were
3629   narrowed, restricting the permitted argument types:
3630   - ::addModules() - if you formerly passed a string, pass an array with
3631      the string as the only element.
3632    - ::addModuleStyles() - if you formerly passed a string, pass an array
3633      with the string as the only element.
3634 * Access to the following public or protected properties of OutputPage was
3635   deprecated; they will be made private or removed in a future release.
3636   Use accessor functions instead.
3637   - ::$mCategoryLinks
3638   - ::$mCategories
3639   - ::$mIndicators
3640   - ::$mHeadItems
3641   - ::$mModules
3642   - ::$mModuleStyles
3643   - ::$mJsConfigVars
3644   - ::$mTemplateIds
3645   - ::$mEnableClientCache
3646   - ::$mNewSectionLink
3647   - ::$mHideNewSectionLink
3648   - ::$mNoGallery
3649 * The following methods were deprecated; use ::setPreventClickjacking(..)
3650   instead:
3651    - OutputPage::preventClickjacking()
3652    - OutputPage::allowClickjacking()
3653    - ImageHistoryList::preventClickjacking()
3654    - ImageHistoryPseudoPager::preventClickjacking()
3655    - ContribsPager::preventClickjacking()
3656 * OutputPage::enableClientCache() was deprecated, because it is universally used
3657   to do the opposite -- use OutputPage::disableClientCache() instead.
3658 * Sanitizer::removeHTMLtags() has been deprecated. Its output can include
3659   unbalanced or ill-formed HTML and thus external callers may be misled about
3660   how to safely incorporate its output into a page. It is recommended to use the
3661   new Sanitizer::removeSomeTags() method instead, which will always return
3662   balanced HTML.
3663 * EventRelayerKafka was deprecated. To use $wgEventRelayerConfig with Kafka,
3664   add a similar class to your code.
3665 * MediaWiki\Logger\Monolog\KafkaHandler was deprecated. Consider using
3666   $wgMWLoggerDefaultSpi with SyslogHandler, or to use Kafka, add a similar
3667   Monolog handler class to your code.
3668 * Collation::singleton() and ::factory() now trigger deprecation warnings.
3669 * The following methods in MWNamespace, all deprecated since 1.34, now emit
3670   deprecation warnings:
3671   - isTalk()
3672   - exists()
3673   - subjectEquals()
3674   - getCanonicalNamespaces()
3675   - getCanonicalName()
3676   - getCanonicalIndex()
3677   - getValidNamespaces()
3678   - isContent()
3679   - hasSubpages()
3680   - getContentNamespaces()
3681 * Return values in the parameter $pageLang of the hook PageContentLanguage with
3682   other types than a Language object, deprecated since 1.33, now emmits
3683   deprecation warnings.
3684 * Passing a db to BlockRestrictionStore::loadByBlockId() is deprecated.
3685   BlockRestrictionStoreFactory should be used to fetch a correct
3686   BlockRestrictionStore instead.
3687 * All external access to ParserOutput and CacheTime classes properties will now
3688   emit deprecation warnings. Use getters and setters instead.
3689 * The custom jQuery event `watchpage.mw` emitted on #ca-watch and #ca-unwatch is
3690   now deprecated in favour of the new `wikipage.watchlistChange` hook.
3691 * The global function wfLogProfilingData() has been deprecated without a
3692   replacement. The logic has been moved to the MediaWiki class.
3693 * The "trace" option of SectionProfiler has been deprecated.
3694 * The PageArchive class has had several methods deprecated. The replacements are
3695   as follows:
3696    - Use UndeletePage instead of ::undeleteAsUser(), ::getFileStatus() and
3697      ::getRevisionStatus().
3698    - Use the respective methods of the new ArchivedRevisionLookup service
3699      instead of ::listRevisions, ::getRevisionRecordByTimestamp,
3700      ::getArchivedRevisionRecord, ::getPreviousRevisionRecord and
3701      ::getLastRevisionId.
3702    - Use ArchivedRevisionLookup::hasArchivedRevisions instead of ::isDeleted.
3703 * PageUpdater::isUnchanged() has been deprecated, use wasRevisionCreated()
3704   instead.
3705 * The `mediawiki.pager.tablePager` module was deprecated in favor of the more
3706   generic `mediawiki.pager.styles`.
3707 * wfGetCache() and wfGetMainCache(), both deprecated since 1.32, now emit
3708   deprecation warnings.
3709 * LinkCache::addGoodLinkObj() has been hard deprecated.
3710 * ApiStashEdit::parseAndStash has been hard deprecated.
3711 * Content::prepareSave was hard-deprecated, now emits deprecation warnings.
3712   Use ContentHandler::validateSave instead.
3713 * The hooks LinksUpdateAfterInsert and LinksUpdateConstructed were deprecated.
3714 * Access to all public properties in LinksUpdate was deprecated.
3715 * The global variable $IP has been deprecated for use in application logic.
3716   It will remain available for use in LocalSettings.php for now, though
3717   $wgBaseDirectory is preferred.
3718   Application logic should use the BaseDirectory setting from the main config.
3719   Tests and framework code that need to function without MediaWiki being
3720   fully initialized should use the MW_INSTALL_PATH constant.
3721 * The global function wfWikiID(), deprecated since 1.35, now emits deprecation
3722   warnings.
3723 * AbstractBlock::getBy() now takes a wikiId as a parameter and emits deprecation
3724   warnings in case of cross-wiki accesses.
3725 * The `button` parameter for `bindUpdateAriaExpandedOnInput` and
3726   `updateAriaExpanded` in checkboxHack.js have been deprecated.
3727   `bindToggleOnSpaceEnter` has also been deprecated in favor of
3728   `bindToggleOnEnter`.
3729 * IDatabase::lockTables() and IDatabase::unlockTables() have been deprecated
3730   with no replacement. Instead, callers should batch updates into atomic
3731   transactions, using FOR UPDATE for SELECT queries.
3732 * EditPage::addNewLineAtEnd() was deprecated; use
3733   TextboxBuilder::addNewLineAtEnd instead.
3734 * EditPage::getCopywarn() was deprecated; use EditPage::getCopyrightWarning
3735   instead.
3736 * EditPage::getCopyrightWarning() without passing a MessageLocalizer parameter
3737   has been deprecated.
3738 * Passing the $formCallback parameter to EditPage::showEditForm, deprecated in
3739   1.25 and previously emitting a warn notice, now emits a deprecation notice.
3740 * EditPage::$action has been deprecated.
3741 * The following properties in EditPage now emit deprecation notices when used
3742   from another class:
3743   - mArticle (use ::getArticle() instead)
3744   - mTitle (use ::getTitle() instead)
3745   - isNew (no replacement)
3746   - allowBlankArticle (no replacement)
3747   - selfRedirect (no replacement)
3748   - allowSelfRedirect (no replacement)
3749   - diff (no replacement)
3750   - textbox2 (no replacement)
3751   - undoAfter (no replacement)
3752   - edit (no replacement)
3753   - contentLength (no replacement)
3754 * The HTMLForm methods getPreText, setPreText, addPreText, getPostText,
3755   setPostText, addPostText, getHeaderText, setHeaderText, addHeaderText,
3756   getFooterText, setFooterText and addFooterText have been renamed to
3757   getPreHtml, setPreHtml, addPreHtml, getPostHtml, setPostHtml, addPostHtml,
3758   getHeaderHtml, setHeaderHtml, addHeaderHtml, getFooterHtml, setFooterHtml and
3759   addFooterHtml respectively.
3760 * The FormSpecialPage methods preText and postText have been renamed to preHtml
3761   and postHtml respectively.
3762 * Article::doDelete, deprecated in 1.37, now emits deprecation notices.
3763 * The following Less mediawiki.mixins have been deprecated:
3764   - .background-image()
3765   - .list-style-image()
3766 * Category::getPageCount now takes a parameter. Category::COUNT_ALL_MEMBERS
3767   return count of all members while Category::COUNT_CONTENT_PAGES return that
3768   of content pages. For the former behavior use Category::getMemberCount()
3769 * Using `new HTMLForm( … )` or `HTMLForm::factory( … )` without the $context
3770   parameter is now deprecated.
3771 * BagOStuff::incr() and BagOStuff::decr() are now deprecated.
3772 * Action::exists() and ActionFactory::actionExists() are deprecated, use
3773   (bool)ActionFactory::getAction().
3775 === Other changes in 1.38 ===
3776 * The following things were changed in the file deletion form:
3777    - The name and ID of the submit button are now `wpConfirmB`, not
3778       `mw-filedelete-submit`
3779    - The ID of the form is now `deleteconfirm`, not `mw-img-deleteconfirm`
3780    - The `mw-filedelete-editreasons` class was replaced with
3781      `mw-delete-editreasons`
3782   The goal of these changes is to make the HTML more similar to that of
3783   normal page deletion.
3784 * ParserOptions created with ::newFrom* or ::newCanonical are now identical.
3785 * MediaWiki initialization order have been changed to load vendor autoload
3786   earlier. This means that extensions that are installed via composer and
3787   execute code upon autoloading can not depend on any MediaWiki classes,
3788   constants or globals in that code.
3789 * The source of truth for configuration defaults is now the MainConfigSchema
3790   class. DefaultSettings.php still exists for backwards compatibility. A PHP
3791   file generated for optimized loading will be used in Setup.php to initialize
3792   configuration variables. Setup.php can be made to load DefaultSettings.php
3793   as before by setting MW_USE_LEGACY_DEFAULT_SETTINGS as  an environment
3794   variable (e.g. via SetEnv in htaccess) or a PHP constant (e.g. via
3795   auto_prepend_file in php.ini).
3797 == Compatibility ==
3798 MediaWiki 1.38 requires PHP 7.3.19 or later and the following PHP extensions:
3800 * ctype
3801 * dom
3802 * fileinfo
3803 * iconv
3804 * intl
3805 * json
3806 * mbstring
3807 * xml
3809 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
3810 but support for them is somewhat less mature.
3812 The supported versions are:
3814 * MySQL 5.5.8 or later
3815 * PostgreSQL 9.4 or later
3816 * SQLite 3.8.0 or later
3818 == Online documentation ==
3819 Documentation for both end-users and site administrators is available on
3820 MediaWiki.org, and is covered under the GNU Free Documentation License (except
3821 for pages that explicitly state that their contents are in the public domain):
3823        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
3825 == Mailing list ==
3826 A mailing list is available for MediaWiki user support and discussion:
3828        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
3830 A low-traffic announcements-only list is also available:
3832        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
3834 It's highly recommended that you sign up for one of these lists if you're
3835 going to run a public MediaWiki, so you can be notified of security fixes.
3837 == IRC help ==
3838 There's usually someone online in #mediawiki on irc.libera.chat.
3840 = MediaWiki 1.37 =
3842 == MediaWiki 1.37.6 ==
3844 This is a maintenance release of the MediaWiki 1.37 branch.
3846 === Changes since MediaWiki 1.37.5 ===
3847 * Fix missing use statement from backport of fix for T307278.
3849 == MediaWiki 1.37.5 ==
3851 This is a security and maintenance release of the MediaWiki 1.37 branch.
3853 === Changes since MediaWiki 1.37.4 ===
3854 * Localisation updates.
3855 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
3856 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
3857 * (T312302) SpecialRedirect: Don't pass null to explode.
3858 * RemoveInvalidEmails: Fix quoting for postgres.
3859 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
3860   strlen().
3861 * (T312300) SpecialDiff: Don't pass null to explode().
3862 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
3863 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
3864 * (T289926) Ensure that strlen() does not get passed a (valid) null.
3865 * (T312301) SpecialDiff: Don't pass null to trim().
3866 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
3867 * (T289926) Ensure we don't pass null to mb_strlen.
3868 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
3869   calls.
3870 * (T289926) site: Consistently return null from Site::getDomain().
3871 * (T307304, T289879) filebackend,jobqueue: Add signature for
3872   FilterIterator::accept().
3873 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
3874 * Add application/vnd.ms-opentype to MIME list.
3875 * Allow composer/installers plugin in composer.json.
3876 * Change type hints for BatchRowIterator and NotRecursiveIterator for
3877   compatibility with PHP 8.1.
3878 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
3879 * (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix
3880   php8.1.
3881 * (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for
3882   ImportSource.
3883 * Fix tests so getName() doesn't return null.
3884 * (T313663) [php8] Don't use strlen on potentially null string.
3885 * (T313663) [php8.1] Suppress test warning about providing null.
3886 * (T313663) Parser will use current timestamp instead of null if passed a
3887   RevisionRecord that does not have a timestamp.
3888 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
3889 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
3890 * (T313663) Mock UserOptionsManager::getOption for php8.1.
3891 * (T289879, T289926) Get rid of warnings on PHP 8.1.
3892 * (T313663) Check for null return of preg_replace in MediaWikiTitleCodec.
3893 * (T313663) cast db name to string when checking if it is read only [php8.1].
3894 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
3895 * Fix a couple deprecation warnings in the installer under PHP 8.1.
3896 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
3897 * (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1].
3898 * (T314096) Migrate use of ${var}-style string interpolation.
3899 * (T314099) preprocessor: Add missing field declarations.
3900 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
3901   '' not null.
3902 * (T314225) SpecialCategories: Null coalescene $par.
3903 * (T314099) User: Allow dynamic properties on PHP 8.2.
3904 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
3905 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
3906 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
3907 * (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1.
3908 * (T313663) Do not test giving a null fragment to Title::makeTitle.
3909 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
3910 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
3911 * api: Add rel=nofollow to help examples.
3912 * (T307613) Validate length of user email on Special:ChangeEmail/
3913   Special:CreateAccount.
3914 * (T314226) LoginSignupSpecialPage: Check if $value is a string before length.
3915 * (T314824) tests: Update parser test after i18n change.
3916 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
3917 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
3918   wpNamespaceRestrictions.
3919 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
3920 * (T315892) composer.json: Pin phpunit to 8.5.28.
3921 * (T313049) Bump wikimedia/parsoid to v0.14.2.
3922 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
3923   change.
3924 * (T318079) SpecialEditTags: Set default value of wpTagsToRemove to empty array.
3925 * (T318460) SpecialChangeEmail: Set default for returntoquery.
3926 * (T318307) Update docs for HTMLFormField::validate() to permit all data types.
3927 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
3928   in an IP range check on Special:Contributions.
3929 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
3930   of hidden users.
3931 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
3932   "alreadyrolled" can leak revision deleted user name.
3934 == MediaWiki 1.37.4 ==
3936 This is a maintenance release of the MediaWiki 1.37 branch.
3938 === Changes since MediaWiki 1.37.3 ===
3939 * Localisation updates.
3940 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
3941 * (T311559) SpecialListFiles: user parameter isn't always present.
3942 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
3943 * (T311920) SpecialBlockList: Prevent passing null to trim().
3944 * (T311921) SpecialUserrights: Don't pass null to str_replace.
3945 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
3946   Title::capitalize().
3947 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
3948 * (T312059) Update guzzlehttp/guzzle to 7.4.5 in vendor.
3949 * (T296435, T297669) cache: Add four fields to LinkCache::getSelectFields.
3951 == MediaWiki 1.37.3 ==
3953 This is a security and maintenance release of the MediaWiki 1.37 branch.
3955 === Changes since MediaWiki 1.37.2 ===
3956 * Localisation updates.
3957 * (T289879) Type hints for ArrayAccess and JsonSerializable.
3958 * (T304783) TemplateParser: avoid warnings when called by NoLocalSettings.
3959 * Rebuilt vendor with composer 2.3.3.
3960 * Fix old_name in UserLogoutComplete hook.
3961 * (T289879) Address some deprecations for PHP 8.1.
3962 * (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update.
3963 * (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail jobs
3964   triggered.
3965 * (T307982) Updated wikimedia/parsoid from v0.14.0 to v0.14.1.
3966 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
3967 * (T308473) SECURITY: Escape contributions-title msg for use within page title.
3968 * (T311272) Call parent constructor of AddSite maintenance script first.
3969 * MediaWiki: Don't eagerly initialize action name.
3970 * Updated wikimedia/shellbox from v2.0.0 to v2.1.1.
3971 * (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
3972 * (T289926) Avoid passing null to trim() in SkinTemplate.
3973 * (T311473) rollbackEdits: Pass user identity to RollbackPage.
3974 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
3975 * (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null.
3976 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
3977 * (T311569) FileBackend::isStoragePath() Handle being passed null.
3978 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
3979 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
3980 * (T281741) ChangeTags: Fix adding CSS classes for hidden tags.
3981 * (T296642) changetags: Fix management of a '0' tag.
3982 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
3983 * (T303033) Handle null in ChangeTags::modifyDisplayQuery.
3984 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
3986 == MediaWiki 1.37.2 ==
3988 This is a security and maintenance release of the MediaWiki 1.37 branch.
3990 === Changes since MediaWiki 1.37.1 ===
3991 * (T298261) Fix support for Composer 2.2.
3992 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
3993 * Update doctrine/dbal (3.0.0 => 3.1.5).
3994 * (T296898) Add entry point name to disabled Session exception if possible.
3995 * (T298564) MemcachedClient: Add support for IPv6.
3996 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
3997   galleries and Special:RevisionDelete.
3998 * (T289956) WatchAction: Fix bug that prevents showing proper success
3999   message in the noscript fallback mode.
4000 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
4001 * (T283275) Fix PHP 8.0 failure of RefreshSecondaryDataUpdateTest.
4002 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
4003 * (T275673) objectcache: Avoid getCurrentTime() call in MapCacheLRU::has().
4004 * (T275673) objectcache: split up MapCacheLRU::getAge() to avoid conditional
4005   overhead.
4006 * Fix the json schema and the extension processor for Parsoid extension modules.
4007 * (T299696) update.php: Avoid passing null to substr.
4008 * (T195807, T256401) Fix signature of DatabasePostgres::buildGroupConcatField.
4009 * In PHP 8.1 don't throw exceptions from mysqli.
4010 * (T289926) SiteConfiguration: Don't pass null to str_replace().
4011 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
4012 * (T260735) Stop using is_resource() where possible.
4013 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
4014   interfaces.
4015 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
4016 * ExtensionRegistry: Add process cache for lazy attributes.
4017 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
4018 * Allow ParsoidModules extension schema to register services.
4019 * (T300462) SpecialUndelete: Do not show empty comments as deleted.
4020 * (T297708) Allow setting max execution time to several special pages.
4021 * (T205349) LinkCache: Try invalidating cache before throwing.
4022 * (T302540) composer.json: Add ext-calendar to require.
4023 * (T302540) composer.json: Add ext-simplexml to require-dev.
4024 * (T302540) composer.json: Add various PHP extensions to suggests.
4025 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
4026 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
4027 * (T293576) listFiles: Display file name instead of version.
4028 * (T303871) Fix @since of Title::getId().
4029 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
4030 * wrapOldPasswords: add \n to two output calls.
4031 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
4032   loop if it points to a local interwiki.
4033 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
4034   uploads with actor as a condition can result in a DoS.
4035 * (T297754, CVE-2022-28204) Special:WhatLinksHere can result in a DoS when a
4036   page is used on a extremely large number of other pages.
4038 == MediaWiki 1.37.1 ==
4040 This is a security and maintenance release of the MediaWiki 1.37 branch.
4042 === Changes since MediaWiki 1.37.0 ===
4043 * (T296112) Allow inserting new sections named '0'.
4044 * Fix path for ZhConversion.php.
4045 * nukeNS: don't run purgeRedundantText() after every change.
4046 * (T286779, T297031) installer: Fix Postgres mistakes in using changeField
4047   method.
4048 * (T225888) RollbackAction: fix missing pagetitle.
4049 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
4050   undo actions.
4051 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
4052 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
4053 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
4054   when changing content model.
4056 == MediaWiki 1.37.0 ==
4058 === Changes since MediaWiki 1.37.0-rc.2 ===
4059 * Remove justinrainbow/json-schema from vendor.
4060 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
4061 * Update deprecated Guzzle Psr7 function calls.
4062 * (T281972) UserIdentityValue: Correct @since tags.
4063 * Updated wikimedia/parsoid from v0.14.0-a19 to v0.14.0.
4064 * Localisation updates.
4065 * Tweak error message for missing composer dependencies.
4067 == MediaWiki 1.37.0-rc.2 ==
4069 === Changes since MediaWiki 1.37.0-rc.1 ===
4070 * (T295173) Re-add wikimedia/normalized-exception to vendor.
4071 * Remove wikimedia/testing-access-wrapper, psr/simple-cache, psr/http-factory
4072   from vendor.
4073 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is set.
4074 * (T212428) Allow populateContentTables to continue when there are bad blobs.
4076 == MediaWiki 1.37.0-rc.1 ==
4078 === Changes since MediaWiki 1.37.0-rc.0 ===
4079 * (T294043) checkStorage: pass no parameters to WikiRevision::getContent().
4080 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
4081   results.
4082 * (T293783) ApiQueryImageInfo: don't show empty comments as deleted.
4083 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
4084 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
4085 * Remove duplicate settings from DefaultSettings.
4086 * (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser.
4088 == MediaWiki 1.37.0-rc.0 ==
4090 == Upgrading notes for 1.37 ==
4091 Don't forget to always back up your database before upgrading!
4093 See the file UPGRADE for more detailed per-version upgrade instructions from the
4094 oldest supported upgrading version, MediaWiki 1.27.
4096 Some specific notes for MediaWiki 1.37 upgrades are below:
4097 * (T280806) Deprecated methods of fetching API tokens have been removed. This
4098   may cause older bots and scripts to fail. Most queries are trivially
4099   updateable to using new methods. See the Action API changes section below
4100   for more information.
4102 For notes on 1.36.x and older releases, see HISTORY.
4104 === Configuration changes for system administrators in 1.37 ===
4105 * (T242768) The PasswordCannotMatchUsername password policy has been removed,
4106   please use PasswordCannotBeSubstringInUsername instead. If you have not
4107   customised your password policies, there will be nothing to do here.
4109 ==== New configuration ====
4110 * $wgBrowserFormatDetection - This setting allows the enabling or disabling
4111   of automatic detection of possible phone numbers in a webpage in iOS Safari.
4112 * $wgParserEnableLegacyMediaDOM - This setting defaults to true, and enables
4113   the legacy media HTML structure in the output from the Parser.  The
4114   alternative modern HTML structure for media is described at
4115   https://www.mediawiki.org/wiki/Parsing/Media_structure
4116   In a future release of MediaWiki this option will default to false,
4117   so it's a good idea to test this setting on your wiki early and report
4118   any issues.
4120 ==== Changed configuration ====
4121 * $wgContentHandlerTextFallback - This migration setting, which defines how to
4122   react if a plain text version of a non-text Content object is requested using
4123   ContentHandler::getContentText(), is deprecated.
4124 * $wgActions – This setting lets sysadmins over-ride which actions can be used.
4125   It has been re-worked to support injecting dependencies into Action sub-
4126   classes as part of wider work on dependency injection. Previously, $wgActions
4127   was an array where the keys were the names of actions, and the values had the
4128   following impacts (for a given key 'Foo'):
4129   - `true`: use the class 'FooAction' unless for a specific page
4130     WikiPage::getActionOverrides() wants to override that action
4131   - a string: use the class with that name, and do not allow over-riding on a
4132     per-page basis
4133   - `false`: the action is disabled
4134   - a callable: use the Action instance returned by invoking that callback, and
4135     do not allow overriding on a per-page basis
4136   - an object: use that specific Action instance, and do not allow overr-iding
4137     on a per-page basis.
4138   As part of T253078, values can now be arrays that are not callables, which are
4139   treated as ObjectFactory specs, allowing for services to be injected.
4140   Additionally, the distinction between values that allow per-page overrides and
4141   those that do not was removed - all actions can now be overridden on a per-
4142   page basis using WikiPage::getActionOverrides().
4143 * $wgShellboxUrl – This setting, new in 1.36 to configure the novel Shellbox
4144   encapsulation system, is now deprecated; use $wgShellboxUrls as a mapping of
4145   service => URL instead.
4146 * $wgIncludejQueryMigrate – This setting, introduced in 1.29 to on whether to
4147   provide a migration layer for jQuery, has now switched its default value from
4148   true to false. This may break gadgets that depended on methods that were
4149   removed in jQuery 3 in 2017. See T280944 for more information.
4150 * A number of settings have been renamed. The former configuration variable
4151   names are deprecated, but will be used as the fall back if they are still set,
4152   and remain temporarily available for extensions which might try to read them:
4153   - $wgFileBlacklist is now $wgProhibitedFileExtensions
4154   - $wgMimeTypeBlacklist is now $wgMimeTypeExclusions
4155   - $wgEnableUserEmailBlacklist is now $wgEnableUserEmailMuteList
4156   - $wgShortPagesNamespaceBlacklist is now $wgShortPagesNamespaceExclusions
4157 * $wgMimeTypeExclusions - As well as being renamed, this configuration array now
4158   also prohibits the RFC 4329 form of JavaScript, 'application/javascript', as
4159   well as previous MIME types.
4160 * $wgFragmentMode - This setting, which determines the encoding of section IDs,
4161   has now switched its default value from legacy-first to html5-first: both the
4162   HTML5 anchor and the legacy percent-encoding-style anchor will still be
4163   generated for section titles, but references to them will use the HTML5
4164   version, resulting in human-readable fragments.
4166 ==== Removed configuration ====
4167 * $wgLegacyJavaScriptGlobals, deprecated in 1.36.
4168 * (T274695) $wgAjaxEditStash, deprecated in 1.36.
4169 * $wgShowDBErrorBacktrace, deprecated and non-functional since 1.32.
4170 * $wgShowSQLErrors, deprecated and non-functional since 1.32.
4171 * $wgLangObjCacheSize, without deprecation; the LanguageFactory service now
4172   always retains at most 10 objects in its LRU-cache.
4173 * $wgDjvuToXML, without deprecation; the tool it enables is obsolete and
4174   abandoned upstream. Use $wgDjvuDump to use that tool instead.
4176 === New user-facing features in 1.37 ===
4177 * (T161934) MediaWiki now supports JPEG2000 files, to a limited extent.
4179 === External library changes in 1.37 ===
4181 ==== New external libraries ====
4182 * Added symfony/polyfill-php80 1.23.1.
4183 * Added whatwg-fetch 3.6.2.
4184 * Added wikimedia/normalized-exception 1.0.1.
4186 ==== Changed external libraries ====
4187 * Updated OOjs from v5.0.0 to v6.0.0
4188 * Updated OOjs-Router from v0.2.0 to v0.3.0
4189 * Updated OOUI from v0.41.3 to v0.42.0
4190 * Updated WVUI from v0.1.0 to v0.3.0
4191 * Updated cssjanus/cssjanus from v1.3.0 to v2.1.0.
4192 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
4193 * Updated psr/container from v1.0.0 to v1.1.1.
4194 * Updated wikimedia/minify from v2.2.2 to v2.2.4.
4195 * Updated wikimedia/object-factory from v3.0.0 to v3.0.2.
4196 * Updated wikimedia/parsoid from v0.13.1 to v0.14.1.
4197 * Updated wikimedia/relpath from v2.1.1 to v3.0.0.
4198 * Updated wikimedia/remex-html from v2.3.1 to v2.3.2.
4199 * Updated wikimedia/shellbox from v1.0.4 to v2.1.1.
4200 * Updated wikimedia/wait-condition-loop from v2.0.1 to v2.0.2.
4201 * Updated zordius/lightncandy from v1.2.5 to v1.2.6.
4202 * Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
4203 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
4205 ===== Changed development-only external libraries =====
4206 * Updated qunit from 2.10.0 to 2.16.0.
4208 ==== Removed external libraries ====
4209 * The pimple/pimple development-only library has been removed.
4211 === Action API changes in 1.37 ===
4212 * (T280806) The API methods for fetching tokens which were deprecated in
4213   MediaWiki 1.24 have been removed. action=query&meta=tokens&type= should be
4214   used instead. Please note some token types no longer exist, and you should
4215   just use type=csrf for those instead.
4216   - action=query&prop=info&intoken ->
4217       action=query&meta=tokens&type=csrf
4218   - action=tokens&type= ->
4219       action=query&meta=tokens&type=
4220   - action=query&list=recentchanges&rctoken ->
4221       action=query&meta=tokens&type=csrf
4222   - action=query&prop=revisions&rvtoken=rollback ->
4223       action=query&meta=tokens&type=rollback
4224   - action=query&meta=userinfo&uiprop=preferencestoken ->
4225       action=query&meta=tokens&type=csrf
4226   - action=query&list=users&ustoken=userrights ->
4227       action=query&meta=tokens&type=userrights
4229 === Languages updated in 1.37 ===
4230 MediaWiki supports over 350 languages. Many localisations are updated regularly.
4231 Below only new and removed languages are listed, as well as changes to languages
4232 because of Phabricator reports.
4234 * (T280435) LRM and RLM characters were removed from names of languages with
4235   parentheses in Names.php
4236 * (T283422) Add namespace name translations and change the autonym of
4237   the Kinyarwanda language to "Ikinyarwanda".
4238 * (T283423) Change the autonym of the Lombard language from "lumbaart"
4239   to "lombard".
4240 * (T279619) Added language support for Dagbani (dag).
4241 * (T282085) Added language support for Malay in Arabic (Jawi) script (ms-arab).
4242 * (T283053) Added language support for Ojibwe (ojb).
4243 * (T283480) Added language support for Wallisian (wls, Fakaʻuvea).
4244 * (T284002) Added language support for Paiwan (pwn).
4245 * (T284044) Added language support for Carpathian Romani (rmc).
4246 * (T286460) Added language support for Gun (guw, Gungbe).
4247 * (T287345) Added language support for Baoulé (bci).
4248 * (T290126) Added language support for Kildin Sami (sjd).
4249 * (T290408) Added language support for Pite Sami (sje).
4250 * (T25216) Started the renaming of the language code for Norman from nrm to
4251   nrf.
4253 === Breaking changes in 1.37 ===
4254 * The Revision class, emitting deprecation warnings since 1.35, was removed
4255   entirely. As part of this, the following hooks that included a Revision object
4256   were removed:
4257     - ArticleRevisionUndeleted - use RevisionUndeleted
4258     - ArticleRollbackComplete - use RollbackComplete
4259     - DiffRevisionTools - use DiffTools
4260     - DiffViewHeader - use DifferenceEngineViewHeader
4261     - HistoryRevisionTools - use HistoryTools
4262     - NewRevisionFromEditComplete - use RevisionFromEditComplete
4263     - PageContentInsertComplete - use PageSaveComplete
4264     - PageContentSaveComplete - use PageSaveComplete
4265     - ParserFetchTemplate - use BeforeParserFetchTemplateRevisionRecord
4266     - RevisionInsertComplete - use RevisionRecordInserted
4267     - TitleMoveComplete - use PageMoveComplete
4268     - TitleMoveCompleting - use PageMoveCompleting
4269     - UndeleteShowRevision - no replacement
4270     - UserRetrieveNewTalks - no replacement
4271   … the following methods and variables have been removed:
4272     - Article::$mRevision
4273     - Article::getRevisionFetched()
4274     - ContribsPager::tryToCreateValidRevision()
4275     - EditPage::$mBaseRevision
4276     - EditPage::getBaseRevision()
4277     - LinksUpdate::getRevision()
4278     - LinksUpdate::setRevision()
4279     - PageArchive::getArchivedRevision()
4280     - PageArchive::getPreviousRevision()
4281     - PageArchive::getRevision()
4282     - Parser::$mRevisionObject
4283     - Parser::fetchCurrentRevisionOfTitle()
4284     - Parser::getRevisionObject()
4285     - Parser::statelessFetchRevision()
4286     - ParserOptions::getCurrentRevisionCallback()
4287     - ParserOptions::setCurrentRevisionCallback()
4288     - Title::countAuthorsBetween()
4289     - Title::getFirstRevision()
4290     - User::getNewMessageLinks()
4291     - User::getNewMessageRevisionId()
4292     - User::setNewtalk()
4293     - WikiPage::getOldestRevision()
4294     - WikiPage::getRevision()
4295     - WikiPage::getUndoContent()
4296     - WikiPage::updateIfNewerOn()
4297   … and the following methods no longer accept Revision objects as parameters:
4298     - CategoryMembershipChange::__construct()
4299     - ContentHandler::getUndoContent()
4300     - DerivedPageDataUpdater::prepareUpdate()
4301     - DifferenceEngine::getRevisionHeader()
4302     - Linker::buildRollbackLink()
4303     - Linker::generateRollback()
4304     - Linker::getRevDeleteLink()
4305     - Linker::getRollbackEditCount()
4306     - Linker::revComment()
4307     - Linker::revUserLink()
4308     - Linker::revUserTools()
4309     - WikiPage::doDeleteUpdates()
4310     - WikiPage::doEditUpdates()
4311     - WikiPage::hasDifferencesOutsideMainSlot()
4312     - WikiPage::onArticleEdit()
4313     - WikiPage::prepareContentForEdit()
4314     - WikiPage::updateRevisionOn()
4315   The following methods return arrays that formerly included a 'revision'
4316   key that would emit deprecation warnings when accessed and return a
4317   Revision object. The Revision object has been removed from the arrays,
4318   and the 'revision-record' key should be used to get the relevant
4319   RevisionRecord instead:
4320     - PageUpdater::doCreate()
4321     - PageUpdater::doModify()
4322     - Parser::statelessFetchTemplate()
4323     - WikiPage::doEditContent()
4324   Finally, the ParserOptions `templateCallback` option is a callback that is
4325   called in Parser::fetchTemplateAndTitle() and should return an array - the
4326   'revision' key to that array used to be a Revision object and was used if
4327   no 'revision-record' was returned - is now ignored.
4328 * Previously, the classes RevisionTestModifyableContent and
4329   RevisionTestModifyableContentHandler were loaded for use in tests, but were
4330   only used within the tests for the since-removed Revision class. This content
4331   and content handler class were removed without deprecation.
4332 * WANObjectCache::HOLDOFF_NONE, deprecated since 1.35, was removed. Use
4333   WANObjectCache::HOLDOFF_TTL_NONE instead.
4334 * Calling ResourceLoader::makeVersionQuery() without $modules parameter,
4335   deprecated since MediaWiki 1.34, is no longer supported.
4336 * LocalFile::recordUpload2(), deprecated since 1.35, was removed.
4337 * The following methods and fields in the Language class, deprecated since 1.35,
4338   have been removed:
4339    - ::classFromCode()
4340    - ::clearCaches()
4341    - ::convertTitle()
4342    - ::findVariantLink()
4343    - ::$mConverter
4344    - ::updateConversionTable()
4345 * The following methods in the Parser class have been removed after having been
4346   deprecated in 1.35:
4347    - fetchTemplate()
4348    - Title()
4349 * (T273354) When an edit is prevented by an 'EditFilterMergedContent' hook
4350   handler without changing the status, the edit form will now be displayed.
4351 * User::clearNotification() which had been deprecated in 1.35 has been removed.
4352   Use WatchlistManager::clearTitleUserNotification() instead.
4353 * User::getNewtalk() which had been deprecated in 1.35 has been removed. Use
4354   TalkPageNotificationManager::userHasNewMessages() instead.
4355 * The Autopromote class, deprecated since 1.35, was removed. Use
4356   UserGroupManager instead.
4357 * The CachedAction, SpecialCachedPage, CacheHelper, and ICacheHelper classes,
4358   all emitting deprecation warnings since 1.36, have been removed.
4359 * The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS, deprecated
4360   in 1.35, were removed.
4361 * The TitleArrayFromResult hook, deprecated in 1.36, was removed.
4362 * The deprecated "es6-promise" alias ResourceLoader module has been removed. Use
4363   the "es6-polyfills" module directly intead.
4364 * The deprecated "mediawiki.legacy.protect" ResourceLoader module, deprecated
4365   since 1.36, has been removed. Use "mediawiki.action.protect" instead.
4366 * The JavaScript alias $j for references to jQuery, deprecated since 1.23, has
4367   been removed. Use $ instead.
4368 * The AuthenticationProvider interface and the SessionProvider class no longer
4369   extend the PSR LoggerAwareInterface concept, so they can't be typehinted as
4370   LoggerAwareInterface.
4371 * User::getGrantName(), emitting deprecation warnings since 1.36, has been
4372   removed. Use MWGrants::grantName() instead.
4373 * The following ApiBase methods, deprecated since 1.35, have been removed:
4374   - ApiBase::explodeMultiValue
4375   - ApiBase::parseMultiValue
4376   - ApiBase::validateLimit
4377   - ApiBase::validateTimestamp
4378 * The User::idCacheByName() public static field was removed without deprecation.
4379   Instead of using it, get a UserIdentity by name from the UserIdentityLookup
4380   service.
4381 * IDatabase::upsert() and IDatabase::replace() now only accept a single unique
4382   key. Previously, a warning was issued if there were multiple unique keys
4383   provided.
4384 * The MediaWiki:Autoblock_whitelist block exemption control was moved in 1.36 to
4385   MediaWiki:Block-autoblock-exemptionlist. The backward-compatibility of reading
4386   the old MediaWiki:Autoblock_whitelist page has now been dropped.
4387 * The following overridable methods in File hierarchy have changed signatures:
4388   - File::deleteFile() - now accepts UserIdentity instead of User
4389   - File::getDescription() - now accepts Authority instead of User
4390   - File::userCan() - now accepts Authority instead of User
4391   - LocalFile::deleteOldFile() - now accepts UserIdentity instead of User
4392 * The following global methods, each deprecated since 1.36, have been removed:
4393   - wfAppendToArrayIfNotDefault()
4394   - wfAcceptToPrefs()
4395   - wfConfiguredReadOnlyReason()
4396   - wfDebugMem()
4397   - wfGetPrecompiledData()
4398   - wfNegotiateType()
4399 * The following deprecated methods of the Title class have been removed:
4400   - ::nameOf(), deprecated in 1.36
4401   - ::getPreviousRevisionID(), deprecated in 1.34
4402   - ::getNextRevisionID(), deprecated in 1.34
4403   - ::getEarliestRevTime(), deprecated in 1.35
4404 * UploadBase::stashFile(), deprecated since 1.28, was removed.
4405 * wfGetRusage(), deprecated since 1.35, has been removed.
4406 * The following CLI options were removed from tests/phpunit.php:
4407     - use-filebackend
4408     - use-jobqueue
4409     - use-bagostuff
4410   The following options (inherited from Maintenance) were also removed:
4411     - conf
4412     - dbuser
4413     - dbpass
4414     - dbdefaultgroup
4415     - globals
4416     - memory-limit
4417     - profiler
4418     - server
4419   The following options were changed to environment variables:
4420     - wiki => PHPUNIT_WIKI
4421     - use-normal-tables => PHPUNIT_USE_NORMAL_TABLES
4422     - use-filebackend => PHPUNIT_USE_FILEBACKEND
4423     - use-bagostuff => PHPUNIT_USE_BAGOSTUFF
4424     - use-jobqueue => PHPUNIT_USE_JOBQUEUE
4425   This is so that we can use the default PHPUnit entry point (T90875).
4426 * The PHPUNIT_REUSE_DB / --reuse-db option was removed from the phpunit.php
4427   runner. It had been broken for at least three years already. The original use
4428   case was speeding up tests on Oracle, but Oracle support was dropped several
4429   releases ago.
4430 * The MediaWikiPHPUnitTest__endTestHook and MediaWikiPHPUnitTest__startTestHook
4431   PHPUnit hooks were removed. MediaWikiHooksPHPUnitExtension was also removed.
4432 * EntryPoint::getTextFormatters() was made private without a deprecation period;
4433   it had no known external callers.
4434 * DatabaseBlock::chooseBlock(), deprecated since 1.35, was removed.
4435 * SpecialPageFactory::getRestrictedPages(), deprecated since 1.36, was removed.
4436 * SpecialBlock::validateTarget(), deprecated since 1.36, was removed.
4437 * The PatchFileLocation trait was removed without deprecation.
4438 * ActorMigrationBase::getExistingActorId() and ::getNewActorId(), emitting
4439   deprecation warnings since 1.36, were removed.
4440 * Hook handlers implementing the MediaWikiServicesHook hook are now prohibited
4441   from having services injected. This is because by definition, this hook runs
4442   before the service container is fully initialized.
4443 * The protected property LocalFile::$metadata was removed without deprecation.
4444 * WatchedItem::getUser(), emitting deprecation warnings since 1.36, has been
4445   removed.
4446 * AuthManager::singleton(), emitting deprecation warnings since 1.36, has been
4447   removed.
4448 * The AugmentPageProps class was removed without deprecation. It had no known
4449   uses.
4450 * Html::infobox(), deprecated since 1.36, was removed.
4451 * ParserOptions::__construct() now requires that the first parameter is a
4452   UserIdentity object - passing `null` used to fallback to the global
4453   $wgUser but was deprecated since 1.36.
4454 * ParserOptions::newCanonical() no longer supports the first parameter being
4455   null (or omitted entirely), which would fallback to the global $wgUser but
4456   was deprecated since 1.35.
4457 * The SkinTemplatePreventOtherActiveTabs hook, deprecated in 1.35, was removed
4458   entirely.
4459 * The SkinTemplateTabAction hook, deprecated in 1.35, was removed entirely.
4460 * The SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook, deprecated in 1.35,
4461   was removed entirely.
4462 * The SkinTemplateToolboxEndHook, deprecated in 1.35, was removed entirely.
4463 * The following methods of RevisionStore class, formerly emitting deprecation
4464   warnings, were removed:
4465   - ::newMutableRevisionFromArray()
4466   - ::loadRevisionFromPageId()
4467   - ::loadRevisionFromTitle()
4468   - ::loadRevisionFromTimestamp()
4469   - ::listRevisionSizes()
4470 * LogEntry::getPerformer(), deprecated since 1.36, was removed along with
4471   methods in sub-classes: DatabaseLogEntry, ManualLogEntry, RCDatabaseLogEntry.
4472 * Skin::getRelevantUser() now returns an instance of UserIdentity, and not
4473   necessarily a User object. There is no known usages in MediaWiki ecosystem
4474   that were not satisfied with UserIdentity.
4475 * Direct construction of MergeHistory class, deprecated since 1.35, is no longer
4476   supported. Use MergeHistoryFactory instead. MergeHistory::checkPermissions,
4477   deprecated since 1.36, was removed.
4478 * Skin::generateDebugHTML(), deprecated since 1.35, was removed. Call
4479   MWDebug::getHTMLDebugLog() directly.
4480 * The ApiTestCase class no longer interacts with the global $wgUser.
4481   Previously, the global variable was set at the start of each test, and in
4482   ApiTestCase::doApiRequest() if a performer was specified $wgUser was
4483   updated to match, and if no performer was specified $wgUser was used
4484   instead. Now, $wgUser is not updated, and if no performer is specified
4485   the reusable TestUser object for the sysop is relied on. Extensions
4486   or skins that rely on the global $wgUser variable (which has been
4487   deprecated since 1.35) should instead retrieve the acting user from the
4488   relevant context source.
4489 * SkinTemplate::makeArticleUrlDetails(), deprecated since 1.35, was removed.
4490 * Skin::makeNSUrl(), deprecated since 1.35, was removed.
4491 * Skin::getRevisionId(), deprecated since 1.34, was removed. Use
4492   OutputPage::getRevisionId() instead.
4493 * Skin::isRevisionCurrent(), deprecated since 1.34, was removed. Use
4494   OutputPage::isRevisionCurrent() instead.
4495 * AbstractBlock::parseTarget(), deprecated since 1.36, was removed.
4496 * The ArticleEditUpdates hook, deprecated since 1.35, was removed.
4497 * The `@stable to extend` class CentralIdLookup has following changes:
4498   - The protected ::checkAudience() method now returns an Authority instead of a
4499     User instance.
4500   - A number of its `@stable to override` methods now accept an Authority
4501     instead of a User instance as the $audience parameter.
4502   - A number of methods now accept a UserIdentity instead of their User
4503     parameter.
4504   - The ::localUserFromCentralId() method now returns UserIdentity and not
4505     necessarily a User object.
4506   All extensions that extend this class or use this method were updated to be
4507   ready to the new behavior.
4508 * WatchedItemStoreInterface::enqueueWatchlistExpiryJob(), deprecated since 1.36,
4509   was removed.
4510 * ResultWrapper is now abstract. It cannot be directly constructed (T286694).
4511 * The SecondaryDataUpdates hook, deprecated in 1.32, was removed entirely.
4512 * Content::getDeletionUpdates(), was removed. Use
4513   ContentHandler::getDeletionUpdates() instead.
4514 * Content::getSecondaryDataUpdates(), was removed. Use
4515   ContentHandler::getSecondaryDataUpdates() instead.
4516 * wfDiff(), deprecated since 1.25, has been removed.
4517 * Language::$mLangObjCache, deprecated since 1.35, was removed.
4518 * Language::$transformData, deprecated since 1.35, was removed.
4519 * Language::transformUsingPairFile() was marked @internal. Its deprecated
4520   parameters are no longer supported.
4521 * SpecialMute::getTarget(), unused outside of the SpecialMute class, was
4522   made private.
4523 * The Skin::setupSkinUserCss() method, deprecated in 1.32, was removed. Please
4524   use skin registration instead.
4525 * The ResourceLoaderSkinModule `legacy`, `content` and `content-thumbnails`
4526   features were deprecated. Skins should instead select from the features
4527   listed on [[mw:Manual:ResourceLoaderSkinModule]].
4528 * ParserCache::getKey() and ::getEtag(), deprecated since 1.36, were removed.
4529 * The BaseTemplateToolbox hook, deprecated since 1.35, was removed.
4530 * Previously a capitalize-all-nouns class was added to the body element of
4531   languages where nouns must be capitalized. This class is no longer added to
4532   the body tag and must be provided by skins.
4533 * The SkinTemplateOutputPageBeforeExec hook, deprecated since 1.35, was removed.
4534 * Calling Message::toString() without a parameter, which triggered deprecation
4535   warnings since 1.36, is no longer supported. You can instead use the explicit
4536   formatting methods directly, such as Message::text() and Message::escaped().
4537 * Article::getContentObject(), deprecated since 1.32, was removed.
4538 * Article::delete(), Article::confirmDelete() and ImagePage::delete() were
4539   removed. The logic responsible for building the form is being
4540   moved to DeleteAction, while the actual deletion logic will be moved to a
4541   separate service.
4542 * WikiImporter::debugRevisionHandler(), unused and for debug only, was removed.
4543 * Content::preloadTransform() now emits deprecation warnings. Instead, please
4544   use ContentTransformer::preloadTransform(). Extensions defining a content
4545   model should override ContentHandler::preloadTransform().
4546 * Content::preSaveTransform() now emits deprecation warnings. Instead, please
4547   use ContentTransformer::preSaveTransform() instead. Extensions defining
4548   a content model should override ContentHandler::preSaveTransform().
4549 * Constructing WikiPage objects from Title instances that cannot exist, emitting
4550   deprecation warnings since 1.36, now throws an exception. Additionally,
4551   WikiPage now implements ProperPageIdentity, rather than just PageIdentity.
4552 * The Skin::bottomScripts() method is deprecated. Please instead use
4553   OutputPage::getBottomScripts().
4554 * LinksUpdate::getTriggeringUser() now returns ?UserIdentity instead of ?User.
4555 * The LESS mixin `.box-shadow()` (from mediawiki.mixins.less), deprecated since
4556   1.36, was removed. Use CSS property `box-shadow` unprefixed for all basic
4557   supported browsers instead.
4558 * The LESS mixin `.flex()` now no longer tries to support the 2009 version of
4559   the Flexbox specification; support for the 2012 and modern standard versions
4560   remains unchanged.
4561 * The StorageAwareness::ATTR_SYNCWRITES, StorageAwareness::QOS_SYNCWRITES_*,
4562   StorageAwareness::ATTR_LOCALITY, and StorageAwareness::QOS_LOCALITY_*
4563   constants were removed.
4565 === Deprecations in 1.37 ===
4566 * JobQueue::getWiki(), deprecated in 1.33, now emits deprecation warnings.
4567 * AbstractBlock::getTargetAndType() and ::getTarget() now emit deprecation
4568   warnings. Use ::getTargetName() and ::getTargetUserIdentity() together with
4569   ::getType().
4570 * Passing a UserIdentity to WatchlistManager::clearAllUserNotifications() and
4571   WatchlistManager::clearTitleUserNotifications() is now deprecated. Pass an
4572   Authority instead.
4573 * Passing LinkTarget to WatchlistManager::clearTitleUserNotifications() and
4574   WatchlistManager::getTitleNotificationTimestamp(). Pass PageIdentity instead.
4575 * The User class methods ::isWatched(), ::isTempWatched(), ::removeWatch(), and
4576   ::addWatch() have been deprecated. Use corresponding methods in
4577   WatchlistManager instead.
4578 * Multiple WatchAction methods have been deprecated in lieu of WatchlistManager:
4579    - ::doWatchOrUnwatch() use WatchlistManager::setWatch()
4580    - ::doWatch() -> WatchlistManager::addWatch()
4581    - ::doUnwatch() -> WatchlistManager::removeWatch()
4582 * WatchAction::getWatchToken() now emits deprecation warnings. Instead use
4583   CsrfTokenSet::getToken().
4584 * Action::getHookContainer() has been marked as internal. Actions that require
4585   access to a hook container should have one injected instead.
4586 * The ::getTitle() and ::setTitle() methods in Parser have been deprecated.
4587   Use ::getPage() and ::setPage() instead.
4588 * Title::isWatchable() has been deprecated. Use WatchlistManager::isWatchable()
4589   instead.
4590 * Methods and classes related to the primary database, previously referred to as
4591   'master', have been deprecated, with the new ones replacing them as follows:
4592   - The DBMasterPos and MySQLMasterPos classes have been respectively renamed to
4593     DBPrimaryPos and MySQLPrimaryPos.
4594   - LocalRepo::getMasterDB() -> ::getPrimaryDB()
4595   - ForeignDBRepo::getMasterDB() -> ::getPrimaryDB()
4596   - JobQueueDB::getMasterDB() -> ::getPrimaryDB()
4597   - ForeignDBViaLBRepo::getMasterDB() -> ::getPrimaryDB()
4598   - DBFileJournal::getMasterDB() -> ::getPrimaryDB()
4599   - ILoadBalancer::getMasterPos() -> ::getPrimaryPos()
4600   - IDatabase::getMasterPos() -> ::getPrimaryPos()
4601   - ILoadBalancer::finalizeMasterChanges() -> ::finalizePrimaryChanges()
4602   - ILoadBalancer::approveMasterChanges() -> ::approvePrimaryChanges()
4603   - ILoadBalancer::beginMasterChanges() -> ::beginPrimaryChanges()
4604   - ILBFactory::beginMasterChanges() -> ::beginPrimaryChanges()
4605   - ILoadBalancer::commitMasterChanges() -> ::commitPrimaryChanges()
4606   - ILBFactory::commitMasterChanges() -> ::commitPrimaryChanges()
4607   - IDatabase::getTopologyRootMaster() -> ::getTopologyRootPrimary()
4608   - IDatabase::masterPosWait() -> ::primaryPosWait()
4609   - ILoadBalancer::runMasterTransactionIdleCallbacks() ->
4610       ::runPrimaryTransactionIdleCallbacks()
4611   - ILoadBalancer::runMasterTransactionListenerCallbacks() ->
4612       ::runPrimaryTransactionListenerCallbacks()
4613   - ILoadBalancer::rollbackMasterChanges() -> ::rollbackPrimaryChanges()
4614   - ILBFactory::rollbackMasterChanges() -> ::rollbackPrimaryChanges()
4615   - ILoadBalancer::flushMasterSnapshots() -> ::flushPrimarySnapshots()
4616   - ILoadBalancer::hasMasterConnection() -> ::hasPrimaryConnection()
4617   - ILoadBalancer::hasMasterChanges() -> ::hasPrimaryChanges()
4618   - ILBFactory::hasMasterChanges() -> ::hasPrimaryChanges()
4619   - ILoadBalancer::lastMasterChangeTimestamp() -> ::lastPrimaryChangeTimestamp()
4620   - ILoadBalancer::hasOrMadeRecentMasterChanges() ->
4621       ::hasOrMadeRecentPrimaryChanges()
4622   - ILBFactory::hasOrMadeRecentMasterChanges() ->
4623       ::hasOrMadeRecentPrimaryChanges()
4624   - ILoadBalancer::pendingMasterChangeCallers() ->
4625       ::pendingPrimaryChangeCallers()
4626   - ILoadBalancer::forEachOpenMasterConnection() ->
4627       ::forEachOpenPrimaryConnection()
4628   - ILoadBalancer::waitForMasterPos() -> ::waitForPrimaryPos()
4629   - Database::assertIsWritableMaster() -> ::assertIsWritablePrimary()
4630   - RevDelList::reloadFromMaster() -> ::reloadFromPrimary()
4631   - ExternalStoreDB::getMaster() -> ::getPrimary()
4632   - DatabaseMysqlBase::getMasterServerInfo() -> ::getPrimaryServerInfo()
4633   - MWExceptionHandler::rollbackMasterChangesAndLog() ->
4634       ::rollbackPrimaryChangesAndLog()
4635 * wfGetLB(), deprecated since 1.27, now emits deprecation warnings.
4636 * wfLocalFile(), deprecated since 1.34, now emits deprecation warnings.
4637 * wfFindFile(), deprecated since 1.34, now emits deprecation warnings.
4638 * wfIncrStats(), deprecated in 1.36, now emits deprecation warnings.
4639 * wfCanIPUseHTTPS() is now deprecated, and always returns true.
4640 * The UserLoadFromDatabase hook has been deprecated. It had no known uses.
4641 * The following methods in ApiPageSet have been deprecated:
4642    - ::getTitles(), use ::getTargets() instead.
4643    - ::getGoodTitles(), use ::getGoodPages() instead.
4644    - ::getMissingTitles(), use ::getMissingPages() instead.
4645    - ::getGoodAndMissingTitles(), use ::getGoodAndMissingPages() instead.
4646    - ::getRedirectTitles(), use ::getRedirectTargets() instead.
4647    - ::getSpecialTitles(), use ::getSpecialPages() instead.
4648 * The following methods from the User class, deprecated in 1.35, now each emit
4649   deprecation warnings:
4650    - ::getOptions()
4651    - ::isIP()
4652    - ::isUsableName()
4653    - ::isCreatableName()
4654    - ::getCanonicalName()
4655    - ::addAutopromoteOnceGroups()
4656    - ::getEffectiveGroups()
4657    - ::getAutomaticGroups()
4658    - ::getFormerGroups()
4659    - ::getIntOption()
4660    - ::getBoolOption()
4661 * The following methods in User were deprecated:
4662   - ::idFromName() - use UserIdentityLookup::getUserIdentityByName() instead.
4663   - ::resetIdByNameCache() - in tests, reset service container. No replacement
4664     needed in production code.
4665 * Use of ActorMigration for any table except revision, deprecated in 1.34, now
4666   emits deprecation warnings. Instead of getInsertValues(), use
4667   ActorNormalization::acquireActorId(). Instead of getWhere() and getJoin(),
4668   do your own join on the actor table.
4669 * DatabasePostgres::remappedTableName() and its dependent constructor parameter
4670   'keywordTableMap' are deprecated. Reserved identifiers that are used as table
4671   names should be quoted where necessary.
4672 * LinkCache::singleton(), deprecated since 1.28, now emits deprecation warnings.
4673 * MessageCache::singleton(), deprecated since 1.34, now emits deprecation
4674   warnings.
4675 * LockManagerGroup::singleton() and ::destroySingletons(), deprecated since
4676   1.34, now emit deprecation warnings.
4677 * HtmlFileCacheUpdate::newFromTitles() is now deprecated and emitting warnings.
4678   Use newFromPages() instead.
4679 * SessionProvider ::setLogger(), ::setManager(), ::setConfig(), and
4680   ::setHookContainer() were deprecated. Use ::init() to inject dependencies, or
4681   override ::postInitSetup() to do any custom post-initialization configuration.
4682 * AbstractAuthenticationProvider ::setLogger(), ::setManager(), ::setConfig(),
4683   and ::setHookContainer() now emit deprecation warnings. Use ::init() to inject
4684   dependencies, or override ::postInitSetup() to do any custom post-
4685   initialization configuration.
4686 * User::isLoggedIn(), deprecated since 1.36, now emits deprecation warnings. Use
4687   the method it wraps, User::isRegistered(), instead.
4688 * FileBackendGroup::singleton() and ::destroySingletons(), deprecated since
4689   1.35, now emit deprecation warnings.
4690 * The first parameter of User::getBlock() should now be an integer using the
4691   Authority::FOR_XXX constants. Providing a boolean is deprecated.
4692 * ApiBase::addBlockInfoToStatus() is deprecated for use by extensions. It is now
4693   marked as @internal and may be deleted in the future.
4694   It should not be necessary to call this method, Authority should be providing
4695   all relevant information via a PermissionStatus object.
4696 * JobQueueGroup::singleton() was deprecated - use
4697   MediaWikiServices::getJobQueueGroup() instead.
4698 * JobQueueGroup::destroySingletons() was deprecated. JobQueueGroups are now
4699   automatically destroyed after tests.
4700 * LinkCache::addGoodLinkObj() has been deprecated, since it is prone to
4701   corrupting the cache with invalid information. Use addGoodLinkObjFromRow()
4702   instead. PHPUnit tests must use LinkCacheTestTrait::addGoodLinkObject().
4703 * ContentHandler::getContentText() is now deprecated. Use Content::getText()
4704   instead.
4705 * LinkCache::addLinkObj() has been deprecated, use PageStore::getPageForLink()
4706   instead.
4707 * MediaWiki\User\UserNamePrefixSearch::search() previously accepted as its first
4708   parameter either the string 'public' or a UserIdentity object, to filter
4709   results for. It now expects an Authority object instead of UserIdentity, and
4710   providing just a UserIdentity will now trigger a deprecation warning.
4711 * User::getRights(), deprecated since 1.34, now emits deprecation warnings.
4712 * User::changeableGroups() and ::changeableByGroup() now emit deprecation
4713   warnings, use corresponding methods in UserGroupManager instead.
4714 * User::incEditCount() was deprecated in favor of the new method
4715   UserEditTracker::incrementUserEditCount().
4716 * RepoGroup::singleton(), ::destroySingleton() and ::setSingleton(), deprecated
4717   since 1.34, now emit deprecation warnings.
4718 * RecentChange::getPerformer(), deprecated since 1.36, now emits deprecation
4719   warnings. Use ::getPerformerIdentity() instead.
4720 * ContentHandler::cleanupHandlersCache(), deprecated since 1.35, now emits
4721   deprecation warnings.
4722 * Category::getTitle() was deprecated in favor of Category::getPage()
4723 * File::getUser() method now emits deprecation warnings, along with its over-
4724   rides in LocalFile and ForeignApiFile in favor of ::getUploader().
4725 * SpecialBlock::checkUnblockSelf(), deprecated in 1.36, now emits deprecation
4726   warnings.
4727 * (T284179) The mediawiki.viewport ResourceLoader module is deprecated. You can
4728   now just use MutationObserver or InterSectionObserver directly, which are
4729   widely available in all supported JavaScript browsers.
4730 * The following constructor options of DatabaseBlock class will now trigger
4731   deprecation warnings:
4732     - the 'byText' property with blocker's name,
4733     - the 'by' property with blocker's ID,
4734   For both of these, use the 'by' property with UserIdentity value instead.
4735 * The BeforeResetNotificationTimestamp hook was deprecated.
4736 * ArchivedFile::getUser() ::getRawUser() ::getRawUserText() were deprecated in
4737   favor of ::getUploader.() ::getRawDescription() was deprecated in favor of
4738   ::getDescription() with RAW audience parameter.
4739 * When calling LocalFile::newFromRow() or LocalFile::loadFromRow(), passing
4740   extra fields not requested by ::getQueryInfo() will now trigger deprecation
4741   warnings. This is to warn callers that deprefixing and automatic assignment of
4742   such fields will not be done in a future version.
4743 * JobSpecification::getTitle() was deprecated without providing a replacement.
4744   It wasn't used and job given the purpose of JobSpecification class it is not
4745   needed.
4746 * The protected method File::getImageSize() is now deprecated.
4747 * BacklinkCache::get() was deprecated, use
4748   BacklinkCacheFactory::getBacklinkCache() instead.
4749 * Title::getBacklinkCache() now emits deprecation warnings. Instead, use the
4750   ::getBacklinkCache() method in the BacklinkCacheFactory service.
4751 * MediaHandler::getImageSize(), ::getMetadata(), and ::isMetadataValid() were
4752   deprecated and should no longer be overridden. Instead, sub-classes should
4753   override getSizeAndMetadata().
4754 * Deprecated File::getMetadata(). Instead use ::getMetadataArray(),
4755   ::getMetadataItem() and ::getMetadataItems().
4756 * Message::title() has been deprecated; use Message::page() instead.
4757 * BaseTemplate::getAfterPortlet(), BaseTemplate::renderAfterPortlet(), and the
4758   BaseTemplateAfterPortlet hook, which were deprecated in 1.35,
4759   now emit deprecation warnings.
4760 * The LocalFile::getHistory() hook is deprecated.
4761 * Previously the Skin templateDirectory option inside skin.json had to be
4762   relative to MediaWiki core. This should now be relative to the skin.
4763 * Calling WikiPage::prepareContentForEdit() without a UserIdentity is now
4764   deprecated.
4765 * User::getEditTokenObject(), ::getEditToken(), and ::matchEditToken() were each
4766   deprecated. Use CsrfTokenRepository, which is available via IContextSource,
4767   instead. ::matchEditTokenNoSuffix() was deprecated without replacement.
4768   It was introduced to be able to provide custom error message if the token
4769   was submitted, but ending slashes were stripped by some ASCII mangling proxy.
4770   Use ::matchToken() instead, such proxies are much less common now and there's
4771   not much benefit in customising the error message.
4772 * ContentHandler::getForTitle(), deprecated since 1.35, now emits deprecation
4773   warnings.
4774 * User::listOptionKinds(), deprecated since 1.35, now emits deprecation
4775   warnings.
4776 * WikiPage::doEditContent(), deprecated since 1.32, now emits deprecation
4777   warnings.
4778 * CentralIdLookup::factory() and ::factoryNonLocal() now emit deprecation
4779   warnings; obtain an instance from MediaWikiServices instead.
4780 * The class RandomPage was renamed to SpecialRandomPage. The class RandomPage
4781   is now deprecated.
4782 * BotPassword::invalidateAllPasswordsForCentralId() was deprecated.
4783 * BotPassword::removeAllPasswordsForCentralId() was deprecated.
4784 * The Title class members: $mTextform, $mUrlform, $mDbkeyform, $mNamespace,
4785   $mInterwiki, and $mFragment have been deprecated to not be used directly.
4786   Instead, their corresponding accessor methods should be used.
4787 * IDatabase::fetchObject(), ::fetchRow(), ::numRows(), ::numFields(),
4788   ::fieldName(), ::freeResult() and ::dataSeek() are deprecated. Use the
4789   corresponding methods in IResultWrapper instead.
4790 * ResultWrapper::unwrap(), DatabaseMysqlBase::fieldType() and
4791   DatabasePostgres::fieldType() each now emit deprecation warnings.
4792 * Sub-classes implementing Database::doQuery() should return either boolean or
4793   an IResultWrapper. To do otherwise will now trigger a deprecation warning.
4794 * User::getOptionKinds() and ::resetOptions(), both deprecated since 1.35,
4795   now emit deprecation warnings.
4796 * The following methods in MWNamespace, all deprecated since 1.34, now emit
4797   deprecation warnings:
4798   - ::isMovable()
4799   - ::isSubject()
4800   - ::getTalk()
4801   - ::getSubject()
4802   - ::getAssociated()
4803   - ::equals()
4804   - ::subjectEquals()
4805   - ::hasTalkNamespace()
4806   - ::wantSignatures()
4807   - ::isWatchable()
4808   - ::getSubjectNamespaces()
4809   - ::getTalkNamespaces()
4810   - ::isCapitalized()
4811   - ::hasGenderDistinction()
4812   - ::isNonincludable()
4813   - ::getNamespaceContentModel()
4814   - ::getRestrictionLevels()
4815   - ::getCategoryLinkType()
4816 * LogFormatter::styleRestricedElement() has been deprecated in favor of
4817   LogFormatter::styleRestrictedElement()
4818 * The following hooks related to user preferences were deprecated:
4819   - UserLoadOptions: use LoadUserOptions instead.
4820   - UserSaveOptions: use SaveUserOptions instead.
4821   - UserResetAllOptions: no replacement was provided, the hook is not used.
4822 * Title::isNamespaceProtected(), deprecated in 1.34, now emits deprecation
4823   warnings.
4824 * UserSelectQueryBuilder::userIds(), ::userNames(), and ::userNamePrefix() has
4825   been deprecated in favor of ::whereUserIds(), ::whereUserNames(), and
4826   ::whereUserNamePrefix().
4827 * Manually constructing a MovePage object, deprecated in 1.34, now emits
4828   deprecation warnings. Use MovePageFactory instead.
4829 * The following deletion-related methods were deprecated:
4830   - WikiPage::doDeleteArticleReal() (soft) - use DeletePage
4831   - WikiPage::doDeleteArticleBatched() (soft) - no replacement
4832   - WikiPage::isBatchedDelete() (soft) - use DeletePage
4833   - WikiPage::doDeleteUpdates() (hard) - no replacement
4834   - WikiPage::getDeletionUpdates() (hard) - no replacement
4835   - Title::isBigDeletion (soft) - no replacement
4836 * Relying on PermissionManager or Authority to check for big deletions
4837   was deprecated. This is now automatically checked if you use
4838   DeletePage::deleteIfAllowed(). (T288759)
4839 * The userCan hook now emits deprecation warnings. Use the
4840   getUserPermissionsErrors or getUserPermissionsErrorsExpensive hooks instead.
4841 * Parser::$mUser public access, and the methods ParserOptions::getUser() and
4842   Parser::getUser() each now emit deprecation warnings.
4843 * The following methods in the Title class have been deprecated in favor of the
4844   corresponding methods in the new RestrictionStore service (with different
4845   names where indicated):
4846   - ::areCascadeProtectionSourcesLoaded()
4847   - ::areRestrictionsCascading()
4848   - ::areRestrictionsLoaded()
4849   - ::getAllRestrictions()
4850   - ::getCascadeProtectionSources()
4851   - ::getFilteredRestrictionTypes()
4852       -> ::listAllRestrictionTypes()
4853   - ::getRestrictionExpiry()
4854   - ::getRestrictionTypes()
4855       -> ::listApplicableRestrictionTypes()
4856   - ::getRestrictions()
4857   - ::isCascadeProtected()
4858   - ::isProtected()
4859   - ::isSemiProtected()
4860   - ::loadRestrictionsFromRows()
4861 * The following Title methods have been deprecated with no direct public
4862   replacement:
4863   - ::deleteTitleProtection()
4864   - ::getTitleProtection()
4865   - ::flushRestrictions()
4866   - ::loadRestrictions()
4867 * User::isAllowUsertalk() now emits deprecation warnings. Use User::getBlock()
4868   and AbstractBlock::isUsertalkEditAllowed() instead.
4869 * Classes used by Preprocessor_DOM have been merged with classes used by
4870   Preprocessor_Hash, as Preprocessor_DOM was removed in 1.35.
4871    - PPDPart has been merged into PPDPart_Hash
4872    - PPDStack has been merged into PPDStack_Hash
4873    - PPDStackElement has been merged into PPDStackElement_Hash
4874 * By default, the global variable $wgUser is now an instance of the new class
4875   StubGlobalUser rather than User, and the first time it is used it will emit
4876   deprecation warnings (the $wgUser variable was deprecated in 1.35). For
4877   extensions that read from this variable, please use a relevant ContextSource
4878   instead, falling back to RequestContext::getMain() if none is available.
4879 * Collation::singleton() and ::factory() were deprecated; obtain an instance of
4880   the CollationFactory from MediaWikiServices instead.
4881 * Title::getDefaultNamespace() has been deprecated to be removed because there
4882   are no known callers/consumers.
4883 * With removal of the stub threshold feature, the following methods now emit
4884   deprecation warnings:
4885   - LinkRenderer::setStubThreshold() and ::getStubThreshold() - no replacement.
4886   - LinkRendererFactory::createForUser() - calling ::create() is now sufficient
4887   - ParserOptions::setStubThreshold() and ::getStubThreshold() - no replacement.
4888   - User::getStubThreshold() - no replacement.
4889 * The ArticleDelete and ArticleDeleteComplete hooks were deprecated. Use
4890   PageDelete and PageDeleteComplete instead.
4891 * The ArticleUndeleteLogEntry hook was deprecated without replacement.
4892 * The following LESS mediawiki.mixins have been deprecated:
4893   - .box-sizing()
4894   - .transform()
4895   - .transform-origin()
4896   - .transition()
4897   - .transition-transform()
4898 * The `UndeleteForm::undelete` hook was deprecated. A new hook was
4899   introduced, `PageUndelete`, that provides handlers with more information and
4900   is also called for non-UI requests. The capability of replacing the
4901   PageArchive object has been removed, as that violates the laws of nature.
4903 === Other changes in 1.37 ===
4904 * WatchlistManager::addWatch() and WatchlistManager::addWatchIgnoringRights(),
4905   which replace User::addWatch(), now call the WatchArticle and
4906   WatchArticleComplete hooks.
4907 * WatchlistManager::removeWatch() and
4908   WatchlistManager::removeWatchIgnoringRights(), which replace
4909   User::removeWatch(), now call the UnwatchArticle and UnwatchArticleComplete
4910   hooks.
4911 * The overridable postInitSetup() method was added to the
4912   AbstractAuthenticationProvider class. A provider can override postInitSetup()
4913   to do any custom post-initialization configuration.
4914 * The overridable postInitSetup() method was added to the SessionProvider
4915   class. A provider can override postInitSetup() to do any custom
4916   post-initialization configuration.
4917 * The protected getConfig() method was added to the SessionProvider class.
4918   Use SessionProvider::getConfig() to get a config.
4919 * The DBAccessBase class is deprecated. Classes that used to extend it
4920   should get a load balancer (factory) injected in the constructor instead.
4921 * ActorNormalization::acquireActorId() now requires IDatabase parameter.
4922   Not providing one emitted deprecation warnings since 1.36.
4923 * Anti-lock constants ALF_PRELOAD_LINK, ALF_NO_BLOCK_LOCK, ALF_NO_LINK_LOCK
4924   and ALF_PRELOAD_EXISTENCE have been removed. They're unused since 1.25.
4925 * (T278036) CSS class 'mw-htmlform-field-autoinfuse' used by some forms has been
4926   renamed to 'mw-htmlform-autoinfuse'.
4927 * User::newFromRow() does not accept pre-loaded user preferences under
4928   $data['user_properties'] anymore. This optimization was not used.
4929 * The following files change the letter case of the file names:
4930   - SpecialRandompage.php -> SpecialRandomPage.php
4931   - SpecialRandomredirect.php -> SpecialRandomRedirect.php
4932   - SpecialRandomrootpage.php -> SpecialRandomRootPage.php
4933 * Media files which are uploaded server side using the importImages.php
4934   maintenance script will now have the "mw-server-side-upload" change tag.
4935 * (T284917) The stub threshold feature has been removed.
4936 * Skin::getPoweredBy() and Skin::getCopyrightIcon() have been deprecated as they
4937   are only designed for use by skins extended BaseTemplate. You can move calls
4938   to instead use BaseTemplate::getPoweredByHTML() and ::getCopyrightIconHTML()
4939   respectively.
4940 * The SkinGetPoweredBy hook is deprecated. No replacement is provided.
4941 * HTMLTitleTextField didn't support interwiki titles well previously.
4942   Starting with 1.37, HTMLTitleTextField has a new parameter, 'interwiki',
4943   which can be used to control acceptance of interwiki titles. To provide
4944   a transitional period, the default value ('interwiki' => null) ensures
4945   MW will have the same behavior as before (logging a deprecation warning).
4946   In 1.38, the default behavior will change to "interwiki links aren't allowed".
4948 == Compatibility ==
4950 MediaWiki 1.37 requires PHP 7.3.19 or later, or PHP 7.4.3 or later, and the
4951 following PHP extensions:
4953 * ctype
4954 * dom
4955 * fileinfo
4956 * iconv
4957 * intl
4958 * json
4959 * mbstring
4960 * xml
4962 Support for PHP 8.0 is not yet complete.
4964 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
4965 but support for them is somewhat less mature.
4967 The supported versions are:
4969 * MySQL 5.5.8 or later
4970 * PostgreSQL 9.4 or later
4971 * SQLite 3.8.0 or later
4973 == Online documentation ==
4974 Documentation for both end-users and site administrators is available on
4975 MediaWiki.org, and is covered under the GNU Free Documentation License (except
4976 for pages that explicitly state that their contents are in the public domain):
4978        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
4980 == Mailing list ==
4981 A mailing list is available for MediaWiki user support and discussion:
4983        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
4985 A low-traffic announcements-only list is also available:
4987        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
4989 It's highly recommended that you sign up for one of these lists if you're
4990 going to run a public MediaWiki, so you can be notified of security fixes.
4992 == IRC help ==
4993 There's usually someone online in #mediawiki on irc.libera.chat.
4995 = MediaWiki 1.36 =
4997 == MediaWiki 1.36.4 ==
4999 This is a security and maintenance release of the MediaWiki 1.36 branch.
5001 === Changes since MediaWiki 1.36.3 ===
5002 * (T298261) Fix support for Composer 2.2.
5003 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
5004 * Update doctrine/dbal (3.0.0 => 3.1.5).
5005 * (T296898) Add entry point name to disabled Session exception if possible.
5006 * (T298564) MemcachedClient: Add support for IPv6.
5007 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
5008   galleries and Special:RevisionDelete.
5009 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
5010 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
5011 * Fix the json schema and the extension processor for Parsoid extension modules.
5012 * (T299696) update.php: Avoid passing null to substr.
5013 * In PHP 8.1 don't throw exceptions from mysqli.
5014 * (T289926) SiteConfiguration: Don't pass null to str_replace().
5015 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
5016 * (T260735) Stop using is_resource() where possible.
5017 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
5018   interfaces.
5019 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
5020 * ExtensionRegistry: Add process cache for lazy attributes.
5021 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
5022 * Allow ParsoidModules extension schema to register services.
5023 * (T297708) Allow setting max execution time to several special pages.
5024 * (T302540) composer.json: Add ext-calendar to require.
5025 * (T302540) composer.json: Add ext-simplexml to require-dev.
5026 * (T302540) composer.json: Add various PHP extensions to suggests.
5027 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
5028 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
5029 * (T293576) listFiles: Display file name instead of version.
5030 * (T303871) Fix @since of Title::getId().
5031 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
5032 * wrapOldPasswords: add \n to two output calls.
5033 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
5034   loop if it points to a local interwiki.
5035 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
5036   uploads with actor as a condition can result in a DoS.
5038 == MediaWiki 1.36.3 ==
5040 This is a security and maintenance release of the MediaWiki 1.36 branch.
5042 === Changes since MediaWiki 1.36.2 ===
5043 * (T280363) mediawiki.page.ready: Introduce wikipage.indicators hook.
5044 * (T290697) Add symfony/polyfill-php80.
5045 * IcuCollation: Add some more icu to unicode version mappings.
5046 * ApiBase: Annotate deprecated constants individually.
5047 * PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy.
5048 * (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater.
5049 * (T291127) Always encode spaces in cookie values as "%20".
5050 * Use LocalFile::getHookRunner instead of LocalFile::hookRunner.
5051 * (T293564) mediawiki.page.ready: Fire hook 'wikipage.indicators' with
5052   children.
5053 * HistoryBlobStub: add getLocation() to get $mOldId.
5054 * Fix checkStorage.php.
5055 * checkStorage: pass no parameters to WikiRevision::getContent().
5056 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
5057   results.
5058 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
5059 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
5060 * (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser.
5061 * (T212428, T267468) Allow populateContentTables to continue when there are
5062   bad blobs.
5063 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is
5064   set.
5065 * Update pear/mail_mime to 1.10.11.
5066 * Update deprecated Guzzle Psr7 function calls.
5067 * (T281972) Follow-Up: I10fbd4b6a: Update @since tags as those were backported.
5068 * Tweak error message for missing composer dependencies.
5069 * (T296112) Allow inserting new sections named '0'.
5070 * nukeNS: don't run purgeRedundantText() after every change.
5071 * (T286779, T297031) installer: Fix Postgres mistakes in using changeField
5072   method.
5073 * (T225888) RollbackAction: fix missing pagetitle.
5074 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
5075   undo actions.
5076 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
5077 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
5078 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
5079   when changing content model.
5081 == MediaWiki 1.36.2 ==
5083 This is a security and maintenance release of the MediaWiki 1.36 branch.
5085 === Changes since MediaWiki 1.36.1 ===
5086 * Don't access MWServices prematurely in Maintenence.php.
5087 * (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode.
5088 * Installer: Fix foundation.wikimedia.org link in config-pingback-help.
5089 * (T283273) Make postgres IRC channel point to libera.chat.
5090 * composer.json: Promote and pin monolog/monolog to require from require-dev.
5091 * (T287526) JavaScriptMinifer: Recognize `...` as a single token.
5092 * (T287526) Update wikimedia/minify to 2.2.4.
5093 * (T289108) ExtensionProcessor: Remove loaderScripts from extension.json
5094   schemas.
5095 * (T281549) Installer: Fix mediawiki-announce auto subscription code.
5096 * FormatJson: Optimize encode() for supported PHP versions.
5097 * (T290398) renameRestrictions.php: Update protected_titles as well.
5098 * (T290489) objectcache: Fix PHP warning for ReplicatedBagOStuff::setMulti.
5099 * $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329
5100   form of JavaScript, 'application/javascript', as well as previous MIME types.
5101 * (T51097, T290273) resourceloader: Call getStyleFiles from
5102   FileModule::getFileHashes.
5103 * (T277788) parser: Avoid calling ParserOptions::getOption() too many times.
5104 * (T291244) Unserialize objects in ParserCache->mExtensionData as objects.
5105 * MysqlUpdater: Add updatelog entries for dropDefault.
5106 * (T290776) Fix $phase check in OutputHandler.
5107 * The wikimedia/parsoid library has been upgraded from v0.13.0 to v0.13.1.
5108 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search.
5109 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
5110   table scan.
5111 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
5112   Special:Contributions.
5114 == MediaWiki 1.36.1 ==
5116 This is a security and maintenance release of the MediaWiki 1.36 branch.
5118 === Changes since MediaWiki 1.36.0 ===
5119 * (T283942) DatabaseInstaller.php: Only run core schema file if specified table
5120   doesn't already exist.
5121 * (T247223) Optimise MessageCache::isMainCacheable() for the single-message
5122   case.
5123 * (T283244) JavaScriptMinifer: Fix handling of "delete" as object property.
5124 * (T284391) Fix SkinModule to correctly prepend remote path on document root
5125   installs.
5126 * (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors.
5127 * (T278579) Don't send headers on ob_end_clean().
5128 * (T285287) MultiHttpClient: Replace PHP version check with defined().
5129 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging pages.
5131 == MediaWiki 1.36.0 ==
5133 === Changes since MediaWiki 1.36.0-rc.0 ===
5134 * (T248481) rdbms: Use server time in
5135   DatabaseMysqlBase::getLagFromPtHeartbeat().
5136 * (T281549) WebInstaller: Don't show the announce-l subscribe checkbox for now.
5137 * (T264214) Follow-ups for UserGroupManager.
5138 * (T282280) resourceloader: Fix path-only URLs in wiki modules when script path
5139   is docroot.
5140 * (T281972) UserIdentityValue: Introduce convenience static factory methods.
5141 * (T230428) Make page_is_redirect and page_is_new unsigned.
5142 * (T280292) Legacy feature should not load thumbnail style rules (only layout).
5143 * (T283247) Freenode -> Libera per wikimedia moving from freenode to libera.
5144 * (T280270) composer: Lock Parsoid version to specific 0.13.0 release.
5145 * (T142663) Add extension.json merge strategy "provide_default".
5146 * (T283540) HookContainer: Fix normalization of callback for static handler.
5147 * (T283464) registration: Fix array order for array_replace_recursive merge
5148   strategy.
5149 * (T283539) Interwiki: Fix calling "onInterwikiLoadPrefix" hook.
5150 * (T282594) Timeless: Re-branch to 40eb3dad1for REL1_36.
5152 == MediaWiki 1.36.0-rc.0 ==
5154 == Upgrading notes for 1.36 ==
5155 Don't forget to always back up your database before upgrading!
5157 See the file UPGRADE for more detailed per-version upgrade instructions from the
5158 oldest supported upgrading version, MediaWiki 1.27.
5160 Some specific notes for MediaWiki 1.36 upgrades are below:
5161 * MediaWiki 1.36 now requires the PHP internationalization extension (commonly
5162   referred to as Intl, ext-intl, or php-intl).
5163 * The MediaWiki:Autoblock_whitelist block exemption control has been moved to
5164   MediaWiki:Block-autoblock-exemptionlist. If you use this feature, please move
5165   the MediaWiki:Autoblock_whitelist page.
5166 * (T275334) $wgExtensionFunctions is sometimes used to change configuration
5167   settings. This is not safe; extension functions are run relatively late, some
5168   services are already initialized by that point and so they use the old
5169   configuration. Changes in 1.36 make this kind of breakage even more common.
5170   You can use the MediaWikiServices hook instead. (In the future there might be
5171   a dedicated hook for configuration changes.)
5173 For notes on 1.35.x and older releases, see HISTORY.
5175 === Configuration changes for system administrators in 1.36 ===
5176 The MediaWiki update script, maintenance/update.php, used to accept `--nopurge`
5177 as an option to prevent clearing caches stored in the database during upgrade.
5178 This is no longer encouraged, and the option has been removed.
5180 ==== New configuration ====
5181 * (T256001) $wgManualRevertSearchRadius – This setting controls a new feature
5182   that marks edits as reverts if they restore the page to an exact previous
5183   state. This configuration variable sets the maximum number of revisions of a
5184   page that will be checked against every new edit. Set this to 0 to disable the
5185   feature entirely.
5186 * (T244058) $wgOldRevisionParserCacheExpireTime — This setting was added to
5187   control caching of ParserOutput for old (non-current) revisions.
5188 * (T265263) $wgRememberMe - This setting configures the "remember me" checkbox
5189   on account log-in systems via RememberMeAuthenticationRequest.
5190 * (T157145) $wgSkinMetaTags – This setting lets sysadmins configure skins that
5191   support meta tags. These tags make sharing of MediaWiki pages on a variety of
5192   social platforms more contentful and thus useful.
5193 * (T280944) $wgIncludejQueryMigrate - This setting lets sysadmins disable the
5194   jQuery Migrate plugin. It has been enabled by default since MediaWiki 1.27.
5195   In future releases it will be disabled by default.
5197 ==== Changed configuration ====
5198 * $wgLogos – This setting selects the logo shown on the site. The default value
5199   for the site logo, which is shown in an install if you have not set one, will
5200   now be the new logo of MediaWiki.
5201 * (T274695) $wgAjaxEditStash — This setting, to disable the edit stashing
5202   feature when users start writing an edit summary, has been deprecated. In
5203   future releases, this feature will always be enabled.
5204 * $wgUploadStashScalerBaseUrl – This setting, to enable remote on-demand media
5205   scaling, was deprecated. Use the `thumbProxyUrl` setting in $wgLocalFileRepo
5206   instead.
5207 * $wgSlaveLagWarning and $wgSlaveLagCritical – These settings have been renamed,
5208   to $wgDatabaseReplicaLagWarning & $wgDatabaseReplicaLagCritical respectively.
5209   The former configuration variable names are deprecated, but will be used as
5210   the fall back if they are still set, and remain temporarily available for
5211   extensions which try to read them.
5212 * $wgWANObjectCaches - The "coalesceKeys" option was removed without deprecation
5213   and replaced by a new "coalesceScheme" option, set to "hash_stop" by default.
5214   If you use Dynomite, then set the new "coalesceKeys" option to "hash_tag". The
5215   "cluster" and "mcrouterAware" options were also removed without deprecation.
5216   Use "broadcastRoutingPrefix" instead.
5218 ==== Removed configuration ====
5219 * $wgUseTwoButtonsSearchForm — This setting, deprecated in 1.35, has been
5220   removed.
5221 * $wgAllowImageMoving — This setting, deprecated in 1.35, has been removed. Use
5222   group permission settings instead. For example, to prevent sysops from
5223   moving files, set `$wgGroupPermissions['sysop']['movefile'] = false;`
5224 * $wgExtNewTables, $wgExtNewFields, $wgExtNewIndexes, $wgExtPGNewFields,
5225   $wgExtPGAlteredFields, $wgExtModifiedFields — These settings were removed.
5226   They became obsolete after 1.17 overhauled the database updater, but were kept
5227   for backwards compatibility. The LoadExtensionSchemaUpdates hook should be
5228   used instead.
5229 * $wgParserConf - This setting, deprecated in 1.35, has been removed. The last
5230   use of this setting was for pre-processor configuration, which was deprecated
5231   in 1.34 and removed in 1.35.
5232 * $wgEnableRestAPI - This setting, ignored since 1.35, has been removed.
5233 * $wgPagePropsHaveSortkey – This temporary setting has been removed, along with
5234   the schema change upgrade path it controlled. If your site is still using it,
5235   meaning you have not yet applied the `pp_sortkey` schema change from 1.24, you
5236   must now apply it before upgrading.
5237 * The deprecated password policies PasswordCannotMatchBlacklist and
5238   PasswordNotInLargeBlacklist were removed. Please use
5239   PasswordCannotMatchDefaults and PasswordNotInCommonList respectively instead.
5241 === New user-facing features in 1.36 ===
5242 * The logo of MediaWiki has changed. This means that the "Powered By MediaWiki"
5243   button shown in the skin footer will be different.
5244 * All HTML5 named entities are now accepted in wikitext.
5245 * (T106263) The file description page's alternate sizes now include 2048px.
5247 === New developer features in 1.36 ===
5248 * Parser test files can now declare a dependency on a specific extension being
5249   loaded, not just on the presence of a certain extension tag hook. This is a
5250   better fit for extensions like TimedMediaHandler, which affect the output but
5251   don't register parser hooks. Use `extension:Foo` in the `!! hooks` section of
5252   your parser test file to declare a dependency on the `Foo` extension being
5253   loaded.
5254 * To expose code previously present in SpecialBlock/SpecialUnblock to other
5255   parts of the code, or to extensions, the new BlockUser and UnblockUser command
5256   objects were added. Use the BlockUserFactory and UnblockUserFactory services
5257   to create them.
5258 * The hook UsersPagerDoBatchLookupsHook takes now a \Wikimedia\Rdbms\IDatabase,
5259   instead of \Wikimedia\Rdbms\DBConnRef, as the first parameter.
5260 * MediaHandlers can now customize the formatting of the metadata they emit by
5261   over-riding MediaHandler::formatTag( $key, $value ). The default for unknown
5262   tags is numeric formatting; non-EXIF tags which are non-numeric should always
5263   use this method to specify the desired formatting.
5264 * The new 'title' type can be used to validate action API and REST API inputs.
5265 * The new ArticleParserOptions hook allows customizing the parser options used
5266   to parse wikitext for an article, based on user preferences, title, etc.
5267 * The new 'raw' type can be used to validate action API inputs. It bypasses the
5268   Unicode NFC normalization done on inputs of type 'string', so it more suitable
5269   when the input is binary or may contain deprecated Unicode sequences or
5270   characters (such as U+2001) that should be passed unmodified.
5271 * (T260330) A new abstraction for running shell commands has been introduced,
5272   called BoxedCommand. A BoxedCommand object can be obtained with
5273   MediaWikiServices::getInstance()->getCommandFactory()->createBoxed().
5274 * ResourceLoader modules can now mark themselves as ES6-only by setting
5275   `'es6' => true` in their module definition. ES6-only modules will not be
5276   executed in browsers that don't support ES6, such as IE11.
5278 === External library changes in 1.36 ===
5280 ==== New external libraries ====
5281 * Added wikimedia/minify 2.2.2.
5282 * Added wikimedia/request-timeout 1.1.0.
5283 * Added wikimedia/shellbox 1.0.4.
5284 * Added WVUI 0.1.0.
5285 * Added symfony/symfony/polyfill-php80 1.23.1.
5287 ==== Changed external libraries ====
5288 * Updated composer/semver from 1.5.1 to 3.2.4.
5289 * Updated guzzlehttp/guzzle from 6.5.4 to 7.2.0.
5290 * Updated jQuery from v3.4.1 to v3.6.0.
5291 * Updated jQuery Migrate from v3.1.0 to v3.3.2.
5292 * Updated jquery.client from 2.0.2 to 3.0.0.
5293 * Updated OOUI from 0.39.3 to 0.41.3.
5294 * Updated pear/mail_mime from 1.10.8 to 1.10.9.
5295 * Updated pear/net_smtp from 1.9.1 to 1.9.2.
5296 * Updated pimple/pimple from 3.3.0 to 3.3.1.
5297 * Updated wikimedia/at-ease from 2.0.0 to 2.1.0.
5298 * Updated wikimedia/cldr-plural-rule-parser from 1.0.0 to 2.0.0.
5299 * Updated wikimedia/common-passwords from 0.2.0 to 0.3.0.
5300 * Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1.
5301 * Updated wikimedia/html-formatter from 1.0.2 to 3.0.1.
5302 * Updated wikimedia/ip-set from 2.1.0 to 3.0.0.
5303 * Updated wikimedia/ip-utils from 1.0.0 to 3.0.2.
5304 * Updated wikimedia/less.php from 3.0.0 to 3.1.0.
5305 * Updated wikimedia/object-factory from 2.1.0 to 3.0.0.
5306 * Updated wikimedia/php-session-serializer from 1.0.7 to 2.0.0.
5307 * Updated wikimedia/remex-html from 2.2.0 to 2.2.2.
5308 * Updated wikimedia/utfnormal from 2.0.0 to 3.0.2.
5309 * Updated wikimedia/wait-condition-loop from 1.0.1 to 2.0.1.
5310 * Updated wikimedia/xmp-reader from 0.7.0 to 0.8.1.
5312 ===== Changed development-only external libraries =====
5313 * Updated composer/spdx-licenses from 1.5.3 to 1.5.4.
5314 * Updated doctrine/dbal from 2.10.2 to 3.0.0.
5315 * Updated doctrine/sql-formatter from 1.1.0 to 1.1.1.
5316 * Updated mediawiki/mediawiki-phan-config from 0.10.2 to 0.10.6.
5317 * Updated monolog/monolog from 1.25.3 to 2.2.0.
5318 * Updated nikic/php-parser from 4.4.0 to 4.10.2.
5319 * Updated psy/psysh from 0.10.4 to 0.10.5.
5320 * Updated seld/jsonlint from 1.7.1 to 1.8.3.
5321 * Updated symfony/yaml from ~3.4|~4.3|~5.0.5 to ~3.4|~5.1.
5322 * Updated wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0.
5324 ==== Removed external libraries ====
5325 * The html5shiv library has been removed, as support for Internet Explorer 8 has
5326   been dropped.
5327 * The wikimedia/avro suggested development-only library has been removed, as the
5328   support for logging in Avro format has been dropped.
5330 === Bug fixes in 1.36 ===
5331 * (T190285) ApiEditPage module used to switch 'undo' and 'undoafter' parameters,
5332   if it founds you reversed them (based on assumption that higher revision ID
5333   indicates a later revision). The assumption is not always true, and is
5334   hindering proper edit undoing in some cases, hence the logic has been removed.
5335   Reversing the parameters will now lead to edit conflict or undefined behavior.
5336 * (T263340) In history merging, pages with a content model that does not support
5337   redirects will now be recorded as deleted if no revision is being left in the
5338   source page (that's if all revisions of the page have been merged to another).
5340 === Action API changes in 1.36 ===
5341 * (T269636) `Access-Control-Max-Age` was added to the default list of headers
5342   allowed for cross-origin API requests ($wgAllowedCorsHeaders).
5343 * (T258108) Accounts with the 'bot' right no longer have pages automatically
5344   added to the watchlist when making API edits, regardless of their preferences.
5345   This is to reduce the size of the watchlist data in the database. To add API
5346   bot edits to the watchlist, explicitly set the 'watch' option.
5348 === Languages updated in 1.36 ===
5349 MediaWiki supports over 350 languages. Many localisations are updated regularly.
5350 Below only new and removed languages are listed, as well as changes to languages
5351 because of Phabricator reports.
5353 * (T258975) Added a Latin/Cyrillic script converter for the Talysh language.
5354 * (T245359) Split Bali script locale from "ban" (Balinese) (ban-bali).
5355 * (T264582) Added language support for Madurese (mad).
5356 * (T259330) Added language support for Mara (mrh).
5357 * (T263968) Added language support for Nias (nia).
5358 * (T270365) Added language support for Tyap (kcg).
5359 * (T276745) Added language support for Wayuu (guc).
5361 === Breaking changes in 1.36 ===
5362 * Grade C (non-JavaScript) support for Internet Explorer 8 has been dropped.
5363 * (T249459) wfIsBadImage(), deprecated in 1.34, has been removed.
5364 * (T176526) EditPage::getContextTitle() will now throw an exception if a context
5365   title was not set using setContextTitle(). Previously, this mis-use would only
5366   cause a deprecation warning to be emitted.
5367 * The DeferredStringifier class, deprecated since 1.31, was removed.
5368 * Multiple methods that fell back to the $wgUser global variable were
5369   individually hard deprecated previously. The following have now been removed:
5370   - ApiTestCase::doLogin
5371   - Article::doDeleteArticle
5372   - Article::doDeleteArticleReal
5373   - Article::getComment
5374   - Article::getCreator
5375   - Article::getUser
5376   - Article::getUserText
5377   - Article::insertProtectNullRevision
5378   - File::delete
5379   - File::recordUpload
5380   - ForeignDBFile::delete
5381   - ForeignDBFile::recordUpload
5382   - LocalFile::delete
5383   - LocalFile::deleteOld
5384   - LocalFile::recordUpload
5385   - PageArchive::undelete
5386   - RecentChange::markPatrolled
5387   - Title::getUserPermissionsErrors
5388   - Title::quickUserCan
5389   - Title::userCan
5390   - WebRequest::getLimitOffset
5391   - WikiPage::doDeleteArticle
5392   - WikiPage::insertProtectNullRevision
5393 * The SpecialPageFactory class, deprecated in 1.32, has been removed. Use the
5394   SpecialPageFactory service instead.
5395 * Multiple methods previously had optional User parameters, with fallbacks
5396   to the $wgUser global variable. Not passing a User to those methods was
5397   previously hard deprecated, and support for not passing a User has now
5398   been removed:
5399    - ArchivedFile::userCan
5400    - File::userCan
5401    - FileDeleteForm::__construct
5402    - FileDeleteForm::doDelete
5403    - LocalFileDeleteBatch::__construct
5404    - LogEventsList::getExcludeClause (only needed for the 'user' audience)
5405    - LogEventsList::userCan
5406    - LogEventsList::userCanBitfield
5407    - LogEventsList::userCanViewLogType
5408    - LogPage::addEntry (also accepts user id instead)
5409    - OldLocalFile::userCan
5410    - PatrolLog::record
5411    - Title::getNotificationTimestamp (though the entire method is deprecated)
5412    - WikiPage::getComment (only needed for the FOR_THIS_USER audience)
5413    - WikiPage::getCreator (only needed for the FOR_THIS_USER audience)
5414    - WikiPage::getUser (only needed for the FOR_THIS_USER audience)
5415    - WikiPage::getUserText (only needed for the FOR_THIS_USER audience)
5416 * The following hooks have been removed:
5417    - APIQueryInfoTokens
5418    - APIQueryRecentChangesTokens
5419    - APIQueryRevisionsTokens
5420    - APIQueryUsersTokens
5421    - ApiTokensGetTokenTypes
5422 * LogEventsList::typeAction previously accepted an optional right parameter, and
5423   checked if the context user ($wgUser) had that right. Passing a right was hard
5424   deprecated in 1.35, and support for passing a right has now been removed.
5425 * WikiPage::doDeleteArticleReal previously accepted an optional user as its
5426   fifth parameter, and fell back to $wgUser if not user was provided. The
5427   signature changed to have the user as the second parameter, and the old
5428   signature was hard deprecated in 1.35. Support for the old signature has now
5429   been removed.
5430 * User::addNewUserLogEntry, deprecated since 1.27, was removed.
5431 * As part of refactoring the EditPage class, EditPage::setPreloadedContent,
5432   which had no known callers was removed entirely. Additionally, the following
5433   public methods were made private:
5434   - ::extractSectionTitle
5435   - ::getSummaryInputWidget
5436   - ::noSuchSectionPage
5437   - ::initialiseForm
5438 * EditPage::matchSpamRegex and ::matchSummarySpamRegex, deprecated in 1.35,
5439   were removed. Use the SpamChecker service instead.
5440 * The global function `wfWaitForSlaves`, deprecated in 1.27 and hard-deprecated
5441   in 1.35, has been removed. Use LBFactory::waitForReplication() instead.
5442 * Calling Action::factory() with null as the first parameter, rather than a
5443   string, was deprecated in 1.35 and support was now removed.
5444 * Calling Action::factory() with an object that wasn't an Article as the second
5445   parameter was deprecated in 1.35 and support was now removed.
5446 * The global variable $wgMemc, deprecated since 1.35, has been removed. Usage
5447   should generally be migrated to WANObjectCache, or if you really need the
5448   internal object, use ObjectCache::getLocalClusterInstance instead.
5449 * The preprocessDump.php maintenance script was removed.
5450 * CategoryFinder, which was deprecated in 1.31 and hard-deprecated in 1.35,
5451   has been removed.
5452 * GenderCache::singleton(), which was deprecated in 1.28 and hard-deprecated
5453   in 1.35, has been removed.
5454 * Sanitizer::escapeId(), deprecated in 1.30, has been removed.
5455 * Direct invocation of Parser::__construct() (instead of via a ParserFactory)
5456   now throws an exception; support has also been removed for several
5457   deprecated variants on the arguments passed to Parser::__construct.
5458   Direct invocation of Parser::__construct was deprecated in 1.34.
5459 * Parser::setFunctionTagHook(), deprecated in 1.35, has been removed.
5460 * The following properties of Parser, deprecated in 1.35, have been made
5461   private:
5462   - $mTagHooks - use Parser::getTags()
5463   - $mFunctionHooks - use Parser::getFunctionHooks()
5464   - $mOutput - use Parser::getOutput()
5465   - $mPreprocessor - use Parser::getPreprocessor()
5466 * The ParserBeforeTidy hook, deprecated in 1.35, has been removed.
5467 * The ParserBeforeTidy, ParserBeforeStrip, and ParserAfterStrip hooks,
5468   deprecated in 1.35, have been removed.
5469 * All methods of MWTidy except for MW::tidy() have been removed. These were each
5470   either marked as @internal or deprecated in 1.35.
5471 * (T248062) Mixins `.background-image-svg()` and `.background-image-svg-quick()`
5472   (provided by mediawiki.mixins.less), which have been deprecated since 1.35,
5473   have now been removed. MediaWiki no longer supports any browser which would
5474   require this SVG-fallback PNG support, so you can simply use the regular CSS
5475   `background-image:` declaration instead.
5476 * The ResourceLoader module `mediawiki.legacy.oldshared` and its file
5477   'oldshared.css', deprecated since 1.35 has been removed (T248357).
5478 * `ResourceLoader::__construct` now requires a Config parameter. The optional
5479   nature of this parameter was deprecated in 1.34.
5480 * The LinkBegin and LinkEnd hooks, deprecated in 1.28, have been removed. You
5481   can instead use the HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
5482   hooks, respectively.
5483 * The EmailUser hook passes its fifth param, $error, by reference, to allow
5484   hook handlers to add error messages, indicate that they have sent the email
5485   instead of core, etc. Setting the parameter to something other than a
5486   Status object, true, false, an empty string, an array, or a MessageSpecifier,
5487   object, which had been deprecated in 1.29, is no longer supported, and now
5488   results in an MWException being thrown.
5489 * Skin::getDynamicStylesheetQuery(), deprecated in 1.32, has been removed. You
5490   should use action=raw&ctype=text/css directly.
5491 * Skin::makeI18nUrl(), deprecated in 1.35, has been removed.
5492 * The following User methods, deprecated and moved to BlockManager in 1.34, were
5493   removed:
5494   - ::isDnsBlacklisted
5495   - ::inDnsBlacklist
5496   - ::isLocallyBlockedProxy
5497   - ::trackBlockWithCookie
5498 * Support for v1 of the parser tests file format has been removed; it was
5499   deprecated in 1.35. (T174199)
5500 * SpecialUnblockUser::processUIUnblock() now returns a Status object instead of
5501   an array of messages or a boolean value. This function was also marked as
5502   @internal and is no longer safe to call it publicly.
5503 * mw.Title.getDotExtension() from the 'mediawiki.Title' module was removed
5504   without deprecation. You should use mw.Title.getExtension() and prepend the
5505   dot if need be.
5506 * Profiler::getTemplated and Profiler::setTemplated, deprecated in 1.34, have
5507   been removed.
5508 * DatabaseMysqlBase now requires MySQL version 5.6.4+ when "lagDetectionMethod"
5509   is set to "pt-heartbeat".
5510 * Removed HookContainer::getOriginalHooksForTest() without deprecation. This
5511   method was introduced in 1.35 for internal use, and appears unused outside of
5512   MediaWiki core.
5513 * ParserCache::__construct() now requires three parameters.
5514 * Message->getFormat(), deprecated in 1.29, has been removed.
5515 * Support for passing Article to ParserCache::get, deprecated in 1.35, has been
5516   removed.
5517 * ParserCache::singleton(), deprecated in 1.30, has been removed.
5518 * DatabaseBlock::deleteIfExpired and ::fromMaster, deprecated in 1.35, have been
5519   removed.
5520 * Some deprecated AbstractBlock methods have been removed:
5521   - ::prevents, deprecated in 1.33
5522   - ::shouldTrackWithCookie, deprecated in 1.34
5523   - ::getBlocker, deprecated in 1.35
5524   - ::setBlocker, deprecated in 1.35
5525   - ::getBlockErrorParams, deprecated in 1.35
5526 * Multiple DatabaseBlock methods dealing with cookies, deprecated in 1.34,
5527   have been removed:
5528   - ::setCookie
5529   - ::clearCookie
5530   - ::getCookieValue
5531   - ::getIdFromCookieValue
5532   - ::shouldTrackWithCookie
5533 * The public static callback function SpecialUnblock::processUIUnblock has been
5534   removed. This method was for internal use only, and appears unused outside of
5535   MediaWiki core.
5536 * ChangeTags::truncateTagDescription, deprecated in 1.35, has been removed.
5537 * Deprecated null fallbacks in PasswordReset constructor have been removed.
5538 * User::isEveryoneAllowed and User::getAllRights, deprecated in 1.34, has been
5539   removed.
5540 * The following methods of the UserGroupMembership class, deprecated in 1.35,
5541   has been removed:
5542   - ::initFromRow
5543   - ::newFromRow - use UserGroupManager::newGroupMembershipFromRow
5544   - ::selectFields - use UserGroupManager::getQueryInfo
5545   - ::delete - use UserGroupManager::removeUserFromGroup
5546   - ::insert - use UserGroupManager::addUserToGroup
5547   - ::purgeExpired - use UserGroupManager::purgeExpired
5548   - ::getMembershipsForUser - use UserGroupManager::getUserGroupMemberships
5549   - ::getMembership - use UserGroupManager::getUserGroupMemberships
5550 * The public static callback function SpecialBlock::validateTargetField has been
5551   removed. This method was for internal use only, and appears unused outside of
5552   MediaWiki core.
5553 * The public static callback function SpecialUploadStash::tryClearStashedUploads
5554   has been removed. This method was for internal use only, and appears unused
5555   outside of MediaWiki core.
5556 * SpecialComparePages::showDiff() ::revOrTitle(), ::checkExistingTitle(), and
5557   ::checkExistingRevision() were marked as @internal to allow for breaking
5558   changes. They are no longer safe to call. The methods were unused outside of
5559   MediaWiki core.
5560 * Each special page within core now uses service injection via it constructor.
5561   When extending these special pages, a call to the grandparent constructor
5562   (`SpecialPage::__construct()`) in the sub-class would now break the derived
5563   special page, as the fallback code in the parent constructor cannot set the
5564   services as needed. Be sure to call the parent constructor when extending
5565   core special pages. Extending core's special pages is not part of the stable
5566   interface, and should generally be avoided.
5567 * Language::getExtraUserToggles and ::viewPrevNext, deprecated in 1.34, have
5568   been removed.
5569 * StreamFile::send404Message and ::parseRange, deprecated in 1.34, have been
5570   removed.
5571 * SVGMetadataExtractor class, deprecated in 1.34, has been removed.
5572 * ProcessCacheLRU class, deprecated in 1.32, has been removed.
5573 * wfForeignMemcKey(), deprecated in 1.35, has been removed.
5574 * LoadBalancer::safeWaitForMasterPos(), deprecated in 1.34, has been removed.
5575 * JobQueue::factory() now requires its `idGenerator` option. The optional
5576   nature of this option was deprecated in 1.35.
5577 * ApiFeedRecentChanges::getFeedObject has been changed to private, and appears
5578   unused outside of MediaWiki core.
5579 * Skin::subPageSubtitle() has been changed to private method. Callers should
5580   use Skin::prepareSubtitle().
5581 * RevisionDeleter::checkRevisionExistence was removed without deprecation.
5582   It had no known callers.
5583 * wfForeignMemcKey() and wfMemcKey(), deprecated in 1.35, have been removed.
5584 * MediaWiki now also requires the php-intl extension.
5585 * BotPassword::save() now returns a Status object for the result rather than
5586   a bool.
5587 * The methods in CoreTagHooks have been marked @internal and type hints have
5588   been added. The methods appeared to be unused outside of MediaWiki core.
5589 * SquidPurgeClient and SquidPurgeClientPool, deprecated since 1.35, have been
5590   removed.
5591 * Several methods on WikiPage will now throw an exception when called on a
5592   WikiPage instance that where constructed on a title that does not refer to a
5593   proper page (but rather a special page or interwiki link). The behavior was
5594   previously undefined and could in some cases lead to data corruption. Affected
5595   methods are: getId(), insertOn(), newPageUpdater(), doUpdateRestrictions(),
5596   doDeleteArticleReal(), doRollback(), and doEditContent().
5597 * The ParserTestRunner no longer invokes the ParserTestTables hook. Instead, it
5598   clones all database tables before running tests, like MediaWikiIntegrationTest
5599   does. If an extension was mis-using the hook to *exclude* tables from the
5600   clone, that will no longer occur, and tests may fail.
5601 * The following classes, which were only loaded for tests and had no uses found
5602   in public MediaWiki-related git, were removed:
5603    - MockWebRequest
5604    - UserWrapper
5605 * Passing Title as a second parameter to RevisionStore::getPreviousRevision and
5606   getNextRevision, hard deprecated since 1.31, was prohibited.
5607 * (T275619) Maintenance::hasOption and Maintenance::getOption now behave as
5608   documented and are not altered by previous calls to these methods.
5609 * The internal class FirejailCommand was removed.
5610 * Command::execute() now returns a Shellbox\Command\UnboxedResult instead of a
5611   MediaWiki\Shell\Result. Any type hints should be updated.
5612 * WikiPage::$mIsRedirect was removed.
5613 * ObjectCache::detectLocalServerCache(), deprecated in 1.35, was removed.
5614 * The following functions from the Title class have been removed:
5615    - countRevisionsBetween
5616    - getAuthorsBetween
5617 * The PageProps class was converted to a service. PageProps::overrideInstance
5618   was removed, and MediaWikiServices::redefineService should be used
5619   instead.
5620 * Support for creating a MediaWikiTitleCodec object without the InterwikiLookup
5621   and NamespaceInfo services, deprecated in 1.34, was removed. Note that the
5622   MediaWikiTitleCodec class is not @newable or @stable to create, and should
5623   be retrieved from MediaWikiServices instead.
5624 * The $wgContLang variable, deprecated in 1.32, was removed. You can instead use
5625   MediaWikiServices::getInstance()->getContentLanguage().
5626 * User::clearAllNotifications(), hard deprecated in 1.35, was removed. Use
5627   WatchlistManager::clearAllUserNotifications() instead.
5628 * DatabaseBlock::getBlocker can return any UserIdentity instance, not just User.
5629 * MediaWiki::triggerJobs(), deprecated in 1.34, was removed.
5630 * The following Article methods, deprecated in 1.35, were removed:
5631   - checkFlags
5632   - checkTouched
5633   - clearPreparedEdit
5634   - doDeleteUpdates
5635   - doEditUpdates
5636   - doPurge
5637   - doViewUpdates
5638   - exists
5639   - followRedirect
5640   - getAutoDeleteReason
5641   - getCategories
5642   - getContentHandler
5643   - getContentModel
5644   - getContributors
5645   - getDeletionUpdates
5646   - getHiddenCategories
5647   - getId
5648   - getLatest
5649   - getLinksTimestamp
5650   - getMinorEdit
5651   - getOldestRevision
5652   - getRedirectTarget
5653   - getRedirectURL
5654   - getRevision
5655   - getTouched
5656   - getUndoContent
5657   - hasViewableContent
5658   - insertOn
5659   - insertRedirect
5660   - insertRedirectEntry
5661   - isCountable
5662   - isRedirect
5663   - loadFromRow
5664   - loadPageData
5665   - lockAndGetLatest
5666   - makeParserOptions
5667   - pageDataFromId
5668   - pageDataFromTitle
5669   - prepareContentForEdit
5670   - protectDescription
5671   - protectDescriptionLog
5672   - replaceSectionAtRev
5673   - replaceSectionContent
5674   - setTimestamp
5675   - shouldCheckParserCache
5676   - supportsSections
5677   - triggerOpportunisticLinksUpdate
5678   - updateCategoryCounts
5679   - updateIfNewerOn
5680   - updateRedirectOn
5681   - updateRevisionOn
5682   - doUpdateRestrictions
5683   - updateRestrictions
5684   - doRollback
5685   - commitRollback
5686   - generateReason
5687 * The monolog-based logging system has dropped the Avro format. Because of this,
5688   the AvroFormatter class and the AvroValidator utility class have been removed
5689   without deprecation.
5690 * AbstractBlock::$mReason, deprecated in 1.34, was removed.
5691   Use AbstractBlock::getReasonComment and AbstractBlock::setReason instead.
5693 === Deprecations in 1.36 ===
5694 * (T278026) The DB_MASTER constant has been deprecated in favour of DB_PRIMARY.
5695 * (T245963) User::getGrantName() is now hard deprecated and will be removed in
5696   a subsequent release. Use MWGrants::grantName() instead.
5697 * wfIncrStats() is now deprecated. Use MediaWikiServices::getInstance()
5698   ->getStatsdDataFactory()->updateCount() instead.
5699 * WikiPage::doEditContent() is now deprecated. Use
5700   WikiPage::doUserEditContent() instead. Note that doEditContent() was also
5701   deprecated in 1.32 for unrelated reasons and doUserEditContent() is
5702   deprecated for other reasons, however, using doUserEditContent() is
5703   recommended over using doEditContent().
5704 * WikiPage::doUserEditContent() is now deprecated. Use
5705   PageUpdater::saveRevision instead. Note that the new method expects callers
5706   to take care of checking EDIT_MINOR against the minoredit right, and to apply
5707   the autopatrol right as appropriate.
5708 * LocalFile::recordUpload2, soft deprecated in 1.35, now emits deprecation
5709   warnings. Use ::recordUpload3 instead.
5710 * Constructing a new instance of the ParserOptions class without providing
5711   a User object, which falls back to the global $wgUser, is now deprecated.
5712 * The User class, which was marked as @newable in 1.35, is no longer newable,
5713   meaning that it is no longer safe to manually call the constructor via
5714   `new User`. Instead, use the UserFactory service. Additionally, the
5715   following static constructor methods were deprecated in favor of using the
5716   UserFactory service:
5717    - User::newFromName
5718    - User::newFromId
5719    - User::newFromActorId
5720    - User::newFromIdentity
5721    - User::newFromAnyId
5722    - User::newFromConfirmationCode
5723 * The following User methods have been hard deprecated in favor of the new
5724   UserEditTracker service:
5725    - User::getFirstEditTimestamp
5726    - User::getLatestEditTimestamp
5727 * The confusingly-named User->isLoggedIn() method has been deprecated in favour
5728   of the method it wraps, User->isRegistered().
5729 * Use of the `preprocessor=Preprocessor_DOM` option in parser test files has
5730   been deprecated. Preprocessor_DOM was removed in 1.35.
5731 * ParserOptions::setTidy() has been deprecated. It has had no effect since
5732   1.35.
5733 * Sanitizer::escapeIdReferenceList() has been deprecated; it will eventually
5734   be made private to the class, as it appears to have no uses outside the
5735   Sanitizer class.
5736 * Sanitizer::hackDocType() is deprecated; it will eventually be made private.
5737 * Skin::getIndicatorsHTML() is deprecated. The functionality can be retained
5738   by reimplementing the method using the raw indicators data from
5739   OutputPage::getIndicators.
5740 * Skin::makeVariablesScript() has been deprecated. Use
5741   ResourceLoader::makeInlineScript() instead.
5742 * SpecialPageFactory::getRestrictedPages() has been deprecated.
5743   Use SpecialPageFactory::getUsablePages() instead.
5744 * Title::nameOf() is deprecated; use Title::newFromID()->getPrefixedDBkey()
5745   instead.
5746 * DatabaseBlock::insert, DatabaseBlock::update, DatabaseBlock::purgeExpired and
5747   DatabaseBlock::delete are deprecated. Use DatabaseBlockStore::insertBlock,
5748   DatabaseBlockStore::updateBlock, DatabaseBlockStore::purgeExpiredBlocks and
5749   DatabaseBlockStore::deleteBlock instead.
5750 * SpecialBlock::getTargetAndType and AbstractBlock::parseTarget are deprecated.
5751   Call BlockUtils::parseBlockTarget instead.
5752 * SpecialUnblock::processUnblock was deprecated - use UnblockUserFactory
5753   service instead.
5754 * Deprecated MediaWikiIntegrationtestCase::removeTemporaryHook() in favor of
5755   MediaWikiIntegrationtestCase::clearHook().
5756 * Skin::getSearchLink(), also exposed as 'searchaction' option in SkinTemplate,
5757   has been deprecated. Use Title or SpecialPage methods directly.
5758 * Skin::getAllowedSkins and ::getSkinNames have been deprecated. Use their
5759   respective equivalents in SkinFactory instead.
5760 * The RollbackComplete hook has been deprecated, use the PageSaveComplete hook
5761   instead.
5762 * Skin::makeUrl() has been deprecated. Title methods should be used instead.
5763 * Skin::privacyLink(), Skin::disclaimerLink() and Skin::aboutLink() have been
5764   deprecated. Please use Skin::footerLink() instead.
5765 * Skin::getLogo() has been deprecated. Use ResourceLoaderSkinModule instead.
5766 * The module `mediawiki.toc.styles` has been replaced by
5767   ResourceLoaderSkinModule. If you are having problems styling table of contents
5768   ensure you have an updated skin.
5769 * Skin::mainPageLink() has been deprecated. Use LinkRenderer service instead.
5770 * BaseTemplate::getToolbox() method has been hard deprecated. The toolbox data
5771   is now available in a sidebar data array which you can get from any class
5772   that's extending QuickTemplate class.
5773 * Constructing a DefaultPreferencesFactory, LinkHolderArray or PasswordReset
5774   without a $hookContainer parameter is deprecated.
5775 * Autopromote class, soft deprecated since 1.35, now emits deprecation warnings.
5776   Use UserGroupManager instead.
5777 * SpecialBlock::canBlockEmail has been deprecated. Please use
5778   BlockPermissionChecker::checkEmailPermissions instead.
5779 * SpecialBlock::checkUnblockSelf has been deprecated. Please use
5780   BlockPermissionChecker::checkBlockPermissions instead.
5781 * SpecialBlock::parseExpiryInput was deprecated - use
5782   BlockUser::parseExpiryInput instead.
5783 * SpecialBlock::validateTarget has been deprecated, use BlockUtils instead.
5784 * SpecialBlock::validateTargetField has been deprecated for external use,
5785   use BlockUtils instead.
5786 * SpecialPage::getLanguageConverter has been deprecated, use
5787   LanguageConverterFactory::getLanguageConverter() directly.
5788 * ParserCache::getKey has been deprecated. Use ParserCache::getMetadata and
5789   ParserCache::makeParserOutputKey instead.
5790 * The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4,
5791   was removed. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
5792   support.
5793 * The PHPUnit6And8Compat class, used to provide compatibility with PHPUnit 6,
5794   was removed without deprecation. This class was introduced during the
5795   upgrade to PHPUnit 8, but never used.
5796 * MediaWikiIntegrationTestCase::assertType, hard-deprecated in 1.35 due to
5797   incompatibility with PHPUnit 8, was removed.
5798 * ParserCache::getETag has been deprecated, instead build suitable etag
5799   explicitly.
5800 * The following functions from the Language class have been hard deprecated
5801   and will be removed in a subsequent release:
5802    - findVariantLink
5803    - convertTitle
5804    - updateConversionTable
5805    - commafy
5806 * The following functions from the Title class have been hard deprecated:
5807    - getPreviousRevisionID
5808    - getNextRevisionID
5809    - getEarliestRevTime
5810 * The following functions from the User class have been hard deprecated:
5811    - getDefaultOptions
5812    - getDefaultOption
5813 * The mw.language.commafy client-side method has been deprecated, to match
5814   the deprecation of Language::commafy. Use mw.language.convertNumber
5815   instead.
5816 * The "es6-promise" module has been deprecated. Use "es6-polyfills" instead.
5817 * Title::isDeleted() and Title::isDeletedQuick() have been deprecated. Please
5818   use Title::getDeletedEditsCount() and Title::hasDeletedEdits() instead.
5819 * Article::getContentObject, soft-deprecated since 1.32, was hard-deprecated.
5820 * WikiRevision::importUpload, soft-deprecated since 1.31, was hard-deprecated.
5821 * Html::infoBox() has been deprecated. There's no replacement.
5822 * Message::toString() without a $format parameter, soft-deprecated since 1.28,
5823   was hard-deprecated. Use explicit formatting methods instead, such as
5824   Message::text() and Message::escaped().
5825 * BagOStuff::makeKeyInternal() usage outside of BagOStuff has been deprecated.
5826 * BagOStuff::setDebug() is deprecated and calls to it are ignored. Debug logs
5827   are now unconditionally enabled.
5828 * The following global functions have been hard deprecated:
5829    - wfAppendToArrayIfNotDefault
5830    - wfAcceptToPrefs
5831    - wfClearOutputBuffers
5832    - wfConfiguredReadOnlyReason
5833    - wfDebugMem
5834    - wfGetPrecompiledData
5835    - wfNegotiateType
5836 * BeforeParserFetchTemplateAndtitleHook has been deprecated; replace
5837   with the new BeforeParserFetchTemplateRevisionRecord hook. (The
5838   similar ParserFetchTemplateHook was deprecated in 1.35; the new hook
5839   replaces both.)
5840 * The InterwikiLoadPrefix hook has been deprecated; it is not compatible
5841   with future wikitext parsers (which need to enumerate all interwiki
5842   prefixes). In test cases please use $wgInterwikiCache instead.
5843 * WikiPage instances should no longer be constructed for titles that do not
5844   represent editable pages (e.g. special pages). WikiPages were always
5845   documented to represent "MediaWiki article and history".
5846 * Skin::getSkinStylePath() has been deprecated. Please replace usages with
5847   the direct path to the resources.
5848 * The second argument of EnhancedChangesList::getDiffHistLinks, $query, has
5849   been deprecated.
5850 * The ParserTestTables hook has been deprecated; it is no longer necessary
5851   after a ParserTestRunner refactoring.
5852 * The following classes have been hard deprecated: CachedAction,
5853   SpecialCachedPage, CacheHelper, ICacheHelper. They were unused in MediaWiki
5854   ecosystem, so no replacement was provided.
5855 * The ProtectionForm::buildForm hook has been deprecated. Please use the
5856   ProtectionFormAddFormFields hook instead.
5857 * RevisionStore::newMutableRevisionFromArray has been hard deprecated. Instead,
5858   MutableRevisionRecord should be constructed directly via constructor.
5859 * UserIdentity::getActorId() is deprecated. The actor ID should not be exposed
5860   to application logic. Storage layer code should use the ActorNormalization
5861   service for normalizing and denormalizing user names.
5862 * Constructing a UserIdentityValue with an actor ID as the third parameter is
5863   deprecated. The parameter should be omitted. Storage layer code should use
5864   the ActorNormalization service for normalizing and denormalizing user names.
5865 * Command::cgroup() is deprecated and no longer functional. $wgShellCgroup is
5866   now implemented as an Executor option.
5867 * Command::restrict() is deprecated. Instead use the new separate accessors.
5868 * MWTidy::tidy() is deprecated. Use MediaWikiServices::getTidy()-tidy() instead.
5869 * TidyDriverBase::supportsValidate() is deprecated; it has always returned
5870   false since 1.33.
5871 * WatchedItem::getUser hard-deprecated in favor of ::getUserIdentity.
5872 * WatchedItemStoreInterface::enqueueWatchlistExpiryJob was hard deprecated in
5873   favor of the new method maybeEnqueueWatchlistExpiryJob that takes care of
5874   relevant configuration checks.
5875 * LogEntry::getPerformer() and its implementations have been hard-deprecated, in
5876   favor of ::getPerformerIdentity().
5877 * AuthManager::singleton(), deprecated in 1.35, is hard deprecated. Use
5878   MediaWikiServices::getAuthManager() instead.
5879 * User::clearNotification(), deprecated in 1.35, is hard deprecated. Use
5880   WatchlistManager::clearTitleUserNotification() instead.
5881 * Passing string to DatabaseBlock::setBlocker was deprecated. Only UserIdentity
5882   is now allowed.
5883 * DatabaseBlock constructor 'byText' option was deprecated in favour of 'by'
5884   option, which now accepts UserIdentity. Passing user ID is deprecated.
5885 * Parser::getUser was deprecated. Use Parser::getUserIdentity instead.
5886 * DatabaseBlock::isWhitelistedFromAutoblocks was deprecated. Use
5887   DatabaseBlock::isExemptedFromAutoblocks instead.
5888 * User::isIPRange(), deprecated in 1.35, is hard deprecated.
5889   Use the UserNameUtils service or IPUtils directly.
5890 * BaseTemplate::getFooterIcons(), deprecated in 1.35, is hard deprecated. Read
5891   footer icons from template data requested via $this->get('footericons').
5892 * `box-shadow()` LESS mixin from mediawiki.mixins is deprecated due to updated
5893   basic browser support. Use unprefixed property `box-shadow:` instead.
5894 * MergeHistory::checkPermissions was deprecated. Use ::probablyCanMerge or
5895   ::authorizeMerge instead.
5896 * User::isValidUserName(), deprecated in 1.35, is hard deprecated.
5897   Use the UserNameUtils service instead.
5898 * The TitleArrayFromResult hook has been deprecated.
5899 * The EditPageBeforeEditToolbar hook has been deprecated; it has become
5900   defunct after the classic edit toolbar was removed. Use one of the many
5901   other EditPage hooks instead.
5902 * Deprecated the class name MediaWiki\User\WatchlistNotificationManager; use
5903   MediaWiki\Watchlist\WatchlistManager instead. Deprecated the method
5904   MediaWikiServices->getWatchlistNotificationManager(); use
5905   MediaWikiServices->getWatchlistManager() instead.
5906 * The "ArticleEditUpdatesDeleteFromRecentchanges" hook, deprecated in 1.35, has
5907   been removed. Other hooks like "RecentChange_save" can be used instead.
5909 === Other changes in 1.36 ===
5910 * The 'tidy' key in ParserOptions (used in the parser cache) has been removed.
5911   It has had no effect since 1.35.
5912 * A future release of MediaWiki will make `{{=}}` a built-in parser function,
5913   for use when automatically escaping the `=` character in template arguments.
5914   A tracking category and parser warning have been added to this release when
5915   `{{=}}` is used and it expands to something other than `=`.
5916 * The implementation of TestFileReader::read has been changed to use Parsoid's
5917   parser test file parser. This should be compatible with existing code, but it
5918   only supports version 2 of the test file specification and may be more strict
5919   when parsing invalid input, including duplicate tests.
5920 * BeforeParserFetchTemplateRevisionRecord, a new hook, unifies and replaces the
5921   old BeforeParserFetchTemplateAndtitleHook and ParserFetchTemplateHook.
5922 * The SkinLessImportPaths attribute was added, allowing skins to add a directory
5923   to the import path for LESS stylesheets. Skins can use this to provide a
5924   custom version of mediawiki.skin.variables.less, setting skin-specific values
5925   for certain LESS variables.
5926 * The interaction between ContentHandler::getParserOutputForIndexing() and
5927   ContentHandler::getDataForSearchIndex() has been clarified (the latter should
5928   only be called with the result of the former). Extensions may override
5929   getParserOutputForIndexing() to skip generating HTML, which may improve
5930   indexing performance. (The default implementation still generates HTML, and
5931   getDataForSearchIndex() implementations can still rely on it if they do not
5932   over-ride getParserOutputForIndexing().)
5933 * Article::fetchContentObject, ::mContentObject, ::mContentLoaded,
5934   ::mRevIdFetched, all deprecated since 1.32, were removed.
5935 * Article::mParserOptions and ::setParserOptions were removed.
5936 * Article and ImagePage::getEmptyPageParserOutput, unused, were removed.
5937 * ParserCache's default serialization format was changed from PHP serialization
5938   to JSON serialization. In case some installed extension do not support JSON
5939   yet, $wgParserCacheUseJson can be used to revert back to PHP serialization.
5940 * PermissionManager::groupHasPermission, ::getGroupPermissions and
5941   ::getGroupsWithPermission were deprecated, use GroupPermissionsLookup
5942   service instead.
5943 * WatchedItemStoreInterface now accepts PageIdentity where it accepted
5944   LinkTarget, calling with LinkTarget was deprecated.
5945 * 'movable' attribute has been added to the 'namespaces' property of
5946   extension.json schema. Extensions that define namespaces can set it to
5947   `false` to disallow moving pages in the specified namespace. Extensions
5948   should either use this or NamespaceIsMovableHook, but not both. The hook
5949   overrides the attribute.
5951 == Compatibility ==
5953 MediaWiki 1.36 requires PHP 7.3.19 or later and the following PHP extensions:
5955 * ctype
5956 * dom
5957 * fileinfo
5958 * iconv
5959 * intl
5960 * json
5961 * mbstring
5962 * xml
5964 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
5965 but support for them is somewhat less mature.
5967 The supported versions are:
5969 * MySQL 5.5.8 or later
5970 * PostgreSQL 9.4 or later
5971 * SQLite 3.8.0 or later
5973 == Online documentation ==
5974 Documentation for both end-users and site administrators is available on
5975 MediaWiki.org, and is covered under the GNU Free Documentation License (except
5976 for pages that explicitly state that their contents are in the public domain):
5978        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
5980 == Mailing list ==
5981 A mailing list is available for MediaWiki user support and discussion:
5983        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
5985 A low-traffic announcements-only list is also available:
5987        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
5989 It's highly recommended that you sign up for one of these lists if you're
5990 going to run a public MediaWiki, so you can be notified of security fixes.
5992 == IRC help ==
5993 There's usually someone online in #mediawiki on irc.libera.chat.
5995 = MediaWiki 1.35 =
5997 MediaWiki 1.35 should mostly work on PHP 8.0/8.1, however it is not
5998 currently actively supported. Testing (on a development wiki!) is
5999 appreciated, and bugs with PHP 8.0/8.1 on MediaWiki 1.35 will be accepted.
6001 It is anticipated that in a later MediaWiki 1.35 point release, we can
6002 declare 1.35 as supporting PHP 8.0/8.1.
6004 PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/
6005 PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/
6006 PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/
6007 PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/
6009 == MediaWiki 1.35.14 ==
6011 This is a security and maintenance release of the MediaWiki 1.35 branch.
6013 === Changes since MediaWiki 1.35.13 ===
6014 * Localisation updates.
6015 * (T344912) mail: Encode period (ascii 46) if it appears in encoded email
6016   header.
6017 * (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages
6018   used in rights log.
6020 == MediaWiki 1.35.13 ==
6022 This is a maintenance release of the MediaWiki 1.35 branch.
6024 === Changes since MediaWiki 1.35.12 ===
6025 * Tarball release to fix backport issues with patch for T341529.
6027 == MediaWiki 1.35.12 ==
6029 This is a security and maintenance release of the MediaWiki 1.35 branch.
6031 === Changes since MediaWiki 1.35.11 ===
6032 * Localisation updates.
6033 * (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for
6034   self-redirects with variants conversion.
6035 * (T341434) WikiImporter: Improve error message output.
6036 * (T341737) ApiBase: Cast $id to string in filterIDs.
6037 * (T342632) ApiComparePages: Add help url.
6038 * (T347227) ImportReporter: Make callback functions public.
6039 * doc: Improve description of type in extension.schema.v1.json.
6040 * (T340221, CVE-2023-45360) SECURITY: XSS via
6041   'youhavenewmessagesmanyusers' and 'youhavenewmessages' messages.
6042 * (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser
6043   ("X intermediate revisions by the same user not shown") ignores username
6044   suppression.
6045 * (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted XML
6046   file to Special:Upload (non-standard configuration).
6048 == MediaWiki 1.35.11 ==
6050 This is a security and maintenance release of the MediaWiki 1.35 branch.
6052 === Changes since MediaWiki 1.35.10 ===
6053 * Localisation updates.
6054 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
6055 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
6056   (1.9.0 => 1.9.1).
6057 * (T269636) Add Access-Control-Max-Age to $wgAllowedCorsHeaders.
6058 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
6059 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
6060 * (T297917) objectcache: avoid use of ctype_digit() in
6061   WANObjectCache::adaptiveTTL().
6062 * (T330464) Work around argument corruption bug in XMLReader::open.
6063 * (T313157) IndexPager: Also protect against $offset being 0.
6064 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
6066 == MediaWiki 1.35.10 ==
6068 This is a security and maintenance release of the MediaWiki 1.35 branch.
6070 === Changes since MediaWiki 1.35.9 ===
6071 * Localisation updates.
6072 * (T324895) MWCallbackStream: Add explicit $stream property.
6073 * Remove /images .htaccess rules that are no longer relevent.
6074 * Disable php in .htaccess of images directory as a hardening measure.
6075 * (T322583) Include missing message parameter in message.
6076 * Fix phan error when Excimer is enabled.
6077 * (T274966) tests: Make pass on php8.0.
6078 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0.
6079 * (T326021) Add matrix: to $wgUrlProtocols.
6080 * api/en.json: api-help-datatype-expiry add missing 'may'.
6081 * (T225218) Wait until the recent changes are updated.
6082 * (T328222) Pass empty string to strlen() if schema is null for
6083   PostgresDatabase.
6084 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
6085 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
6086 * (T155582, T328503) Fix XML dumps for content types with non-string
6087   getNativeData().
6088 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
6089 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses.
6090 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
6091 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text'
6092   tag.
6093 * (T329484) API: Fix query+allimages user parameter description.
6094 * (T330529) SpecialEditTags: Set default of '' for wpReason.
6095 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
6096   multiselects.
6097 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
6098   XFF headers.
6100 == MediaWiki 1.35.9 ==
6102 This is a security and maintenance release of the MediaWiki 1.35 branch.
6104 === Changes since MediaWiki 1.35.8 ===
6105 * Localisation updates.
6106 * (T319000) WebInstaller: Don't try and run trim() on null.
6107 * (T320864) When calling mail(), use an array for headers.
6108 * (T311567) In ManualLogEntry, cast the comment to string.
6109 * (T323082) Upgrading wikimedia/xmp-reader (0.7.0 => 0.8.5).
6110 * Language: Handle ronna and quetta.
6111 * (T304515) LCStoreStaticArray: atomically replace the cache file.
6112 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
6113 * (T322637) SECURITY: sqlite should not create DB file world-readable.
6115 == MediaWiki 1.35.8 ==
6117 This is a security and maintenance release of the MediaWiki 1.35 branch.
6119 === Changes since MediaWiki 1.35.7 ===
6120 * Localisation updates.
6121 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
6122 * (T311559) SpecialListFiles: user parameter isn't always present.
6123 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
6124 * (T311920) SpecialBlockList: Prevent passing null to trim().
6125 * (T311921) SpecialUserrights: Don't pass null to str_replace.
6126 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
6127   Title::capitalize().
6128 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
6129 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
6130 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
6131 * (T312302) SpecialRedirect: Don't pass null to explode.
6132 * RemoveInvalidEmails: Fix quoting for postgres.
6133 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
6134   strlen().
6135 * (T312300) SpecialDiff: Don't pass null to explode().
6136 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
6137 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
6138 * (T289926) Ensure that strlen() does not get passed a (valid) null.
6139 * (T312301) SpecialDiff: Don't pass null to trim().
6140 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
6141 * (T289926) Ensure we don't pass null to mb_strlen.
6142 * (T312305, T311572, T311571, T311578) HtmlForm: Null coalescence in trim()
6143   calls.
6144 * (T289926) site: Consistently return null from Site::getDomain().
6145 * (T307304, T289879) filebackend,jobqueue: Add signature for
6146   FilterIterator::accept().
6147 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
6148 * Add application/vnd.ms-opentype to MIME list.
6149 * Allow composer/installers plugin in composer.json.
6150 * (T313663) Make HandlerTestTrait compatible with php8.1.
6151 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
6152 * Change type hints for BatchRowIterator and NotRecursiveIterator for
6153   compatibility with PHP 8.1.
6154 * (T313663) [php8] Don't use strlen on potentially null string.
6155 * (T313663) [php8.1] Suppress test warning about providing null.
6156 * (T313663) Parser will use current timestamp instead of null if passed a
6157   RevisionRecord that does not have a timestamp.
6158 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
6159 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
6160 * (T289879, T289926) Get rid of warnings on PHP 8.1.
6161 * rdbms: fix some PHP 8 warnings in Database/LoadBalancer/LBFactory.
6162 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
6163 * Fix a couple deprecation warnings in the installer under PHP 8.1.
6164 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
6165 * (T314096) Migrate use of ${var}-style string interpolation.
6166 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
6167   '' not null.
6168 * (T314225) SpecialCategories: Null coalescene $par.
6169 * (T314099) User: Allow dynamic properties on PHP 8.2.
6170 * (T314404) SpecialGoToInterwiki: Null coalescene $par.
6171 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
6172 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
6173 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
6174 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
6175 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
6176 * api: Add rel=nofollow to help examples.
6177 * (T314824) tests: Update parser test after i18n change.
6178 * (T263927) Add autocomplete HTML attribute to common auth form fields.
6179 * (T307613) Validate length of user email on Special:ChangeEmail/
6180   Special:CreateAccount.
6181 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
6182   wpNamespaceRestrictions.
6183 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
6184 * (T315892) composer.json: Pin phpunit to 8.5.28.
6185 * (T229092) MigrateActors.php: ignore duplicate creations of actors.
6186 * (T313049) Bump wikimedia/parsoid to v0.12.3.
6187 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
6188   change.
6189 * (T318460) SpecialChangeEmail: Set default for returntoquery.
6190 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
6191   in an IP range check on Special:Contributions.
6192 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
6193   of hidden users.
6195 == MediaWiki 1.35.7 ==
6197 This is a security and maintenance release of the MediaWiki 1.35 branch.
6199 === Changes since MediaWiki 1.35.6 ===
6200 * Localisation updates.
6201 * (T289879) Type hints for ArrayAccess.
6202 * (T304783) TemplateParser: avoid warnings when called by NoLocalSettings.
6203 * Rebuilt vendor with composer 2.3.3.
6204 * (T289879) Address some deprecations for PHP 8.1.
6205 * Fix old_name in UserLogoutComplete hook.
6206 * (T286260, T307979) objectcache: normalize $exptime to a TTL in
6207   APCUBagOStuff/WinCacheBagOStuff.
6208 * MediaSearchWidget should declare an explicit dependency on mediawiki.user
6209   module.
6210 * (T288423) WikiImporter: Replace deprecated WikiRevision::setText.
6211 * (T309377, CVE-2022-29248, T311384, CVE-2022-27776) Updating guzzlehttp/guzzle
6212   (6.5.5 => 6.5.8).
6213 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
6214 * (T311272) Call parent constructor of AddSite maintenance script first.
6215 * MediaWiki: Don't eagerly initialize action name.
6216 * (T289926) Avoid passing null to trim() in SkinTemplate.
6217 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
6218 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
6219 * (T311569) FileBackend::isStoragePath() Handle being passed null.
6220 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
6221 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
6222 * (T281741) ChangeTags: Fix adding CSS classes for hidden tags.
6223 * (T296642) changetags: Fix management of a '0' tag.
6224 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
6225 * (T303033) Handle null in ChangeTags::modifyDisplayQuery.
6227 == MediaWiki 1.35.6 ==
6229 This is a security and maintenance release of the MediaWiki 1.35 branch.
6231 === Changes since MediaWiki 1.35.5 ===
6232 * (T298261) Fix support for Composer 2.2.
6233 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
6234 * Update doctrine/dbal (3.0.0 => 3.1.5).
6235 * (T298564) MemcachedClient: Add support for IPv6.
6236 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
6237   galleries and Special:RevisionDelete.
6238 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
6239 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
6240 * (T274966) Upgrading wikimedia/html-formatter (1.0.2 => 2.0.1).
6241 * Fix the json schema and the extension processor for Parsoid extension modules.
6242 * (T299696) update.php: Avoid passing null to substr.
6243 * In PHP 8.1 don't throw exceptions from mysqli.
6244 * (T289926) SiteConfiguration: Don't pass null to str_replace().
6245 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
6246 * (T260735) Stop using is_resource() where possible.
6247 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
6248   interfaces.
6249 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
6250 * ExtensionRegistry: Add process cache for lazy attributes.
6251 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
6252 * Allow ParsoidModules extension schema to register services.
6253 * (T297708) Allow setting max execution time to several special pages.
6254 * Upgrading wikimedia/object-factory (v2.1.0 => v2.2.0).
6255 * (T302540) composer.json: Add ext-calendar to require.
6256 * (T302540) composer.json: Add ext-simplexml to require-dev.
6257 * (T302540) composer.json: Add various PHP extensions to suggests.
6258 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
6259 * (T303871) Add Title::getId() as an alias for ::getArticleId().
6260 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
6261 * (T293576) listFiles: Display file name instead of version.
6262 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
6263 * wrapOldPasswords: add \n to two output calls.
6264 * (T304993) Make editcontentmodel a part of editpage grant.
6265 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
6266   loop if it points to a local interwiki.
6267 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
6268   uploads with actor as a condition can result in a DoS.
6270 == MediaWiki 1.35.5 ==
6272 This is a security and maintenance release of the MediaWiki 1.35 branch.
6274 === Changes since MediaWiki 1.35.4 ===
6275 * (T290697) Add symfony/polyfill-php80.
6276 * IcuCollation: Add some more icu to unicode version mappings.
6277 * ApiBase: Annotate deprecated constants individually.
6278 * PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy.
6279 * (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater.
6280 * (T291127) Always encode spaces in cookie values as "%20".
6281 * Use LocalFile::getHookRunner instead of LocalFile::hookRunner.
6282 * HistoryBlobStub: add getLocation() to get $mOldId.
6283 * Fix checkStorage.php.
6284 * checkStorage: pass no parameters to WikiRevision::getContent().
6285 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
6286   results.
6287 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
6288 * (T250068) resources: Upgrade jQuery from 3.4.1 to 3.6.0.
6289 * (T250068) resources: Upgrade jquery-migrate from 3.1.0 (patched) to 3.3.2
6290   (patched).
6291 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
6292 * (T212428, T267468) Allow populateContentTables to continue when there are
6293   bad blobs.
6294 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is
6295   set.
6296 * Update pear/mail_mime to 1.10.11.
6297 * Update deprecated Guzzle Psr7 function calls.
6298 * Tweak error message for missing composer dependencies.
6299 * (T296112) Allow inserting new sections named '0'.
6300 * nukeNS: don't run purgeRedundantText() after every change.
6301 * (T225888) RollbackAction: fix missing pagetitle.
6302 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
6303   undo actions.
6304 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
6305 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
6306 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
6307   when changing content model.
6309 == MediaWiki 1.35.4 ==
6311 This is a security and maintenance release of the MediaWiki 1.35 branch.
6313 === Changes since MediaWiki 1.35.3 ===
6314 * (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode.
6315 * (T283273) Make postgres IRC channel point to libera.chat.
6316 * (T289108) ExtensionProcessor: Remove loaderScripts from extension.json
6317   schemas.
6318 * (T281549) Installer: Fix mediawiki-announce auto subscription code.
6319 * FormatJson: Optimize encode() for supported PHP versions.
6320 * (T290398) renameRestrictions.php: Update protected_titles as well.
6321 * $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329
6322   form of JavaScript, 'application/javascript', as well as previous MIME types.
6323 * (T51097, T290273) resourceloader: Call getStyleFiles from
6324   FileModule::getFileHashes.
6325 * (T277788) parser: Avoid calling ParserOptions::getOption() too many times.
6326 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search.
6327 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
6328   table scan.
6329 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
6330   Special:Contributions.
6332 == MediaWiki 1.35.3 ==
6334 This is a security and maintenance release of the MediaWiki 1.35 branch.
6336 === Changes since MediaWiki 1.35.2 ===
6337 * (T259685) SQLite compatibility with ZeroConf VisualEditor was fixed in 1.35.2.
6338 * (T196906, T242751) Fix the test MonologSpiTest::testDefaultChannel.
6339 * (T279964) Parser: Trim trailing whitespace as the last step in pre-save
6340   transform.
6341 * (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER.
6342 * (T252853) Update updateSearchIndex.php to 2006+ standards.
6343 * (T276945) Define a batch size in maintenance/manageJobs.php.
6344 * (T276945) Implement JobQueueDB::getAllAbandonedJobs.
6345 * (T269676) authevents: strval() variables passed to status when logging.
6346 * (T280944) $wgIncludejQueryMigrate - This setting allows the jQuery Migrate
6347   plugin to be disabled. It has been enabled by default since MediaWiki 1.27.
6348 * (T281584) apihelp-query+iwlinks-param-prop: s/interlanguage/interwiki/.
6349 * (T281635) Delete maintenance/cleanupAncientTables.php.
6350 * (T282133) RedisConnectionPool: Suppress phan issue.
6351 * (T281549) WebInstaller: Don't show the announce-l subscribe
6352   checkbox temporarily.
6353 * (T278266) Fix annoying E_NOTICE about undefined 'alt' index in
6354   Skin#makeFooterIcon.
6355 * (T264214) UserRightsProxy::addGroup has to be allowed to update the
6356   old group as well, which is used for granting interwiki rights.
6357 * (T269776, T278266) getFooterIcons should not return empty arrays.
6358 * (T274966) Skip AvroFormatterTest::testSchemaNotAvailable on PHP 8.0.
6359 * phpunit: fail on warnings.
6360 * (T283247) Freenode -> Libera per wikimedia moving from
6361   freenode to libera.
6362 * (T243124) Make phpunit:unit accept extension*.json to populate the classes.
6363 * (T142663) Add extension.json merge strategy "provide_default".
6364 * (T283540) HookContainer: Fix normalization of callback for static handler.
6365 * (T283464) Fix array order for array_replace_recursive merge strategy.
6366 * (T247223) Optimise MessageCache::isMainCacheable() for the single-message
6367   case.
6368 * (T278579) Don't send headers on ob_end_clean().
6369 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging
6370   pages.
6372 == MediaWiki 1.35.2 ==
6374 This is a security and maintenance release of the MediaWiki 1.35 branch.
6376 MediaWiki 1.35.2 supports Composer 2.0. It is recommended to make sure your
6377 libraries are up to date on Composer 1.x, before running Composer 2.x.
6379 While normally running update.php isn't required for point releases,
6380 it is recommended to run it for 1.35.2 so that iwlinks.iwl_prefix is
6381 updated to take 32 characters.
6383 === Changes since MediaWiki 1.35.1 ===
6384 * (T270450) The confusingly-named User->isLoggedIn() method has been deprecated
6385   in favour of the method it wraps, User->isRegistered().
6386 * Upgrade pimple/pimple from 3.3.0 to 3.3.1 for PHP 8.0 support.
6387 * Upgrade seld/jsonlint from 1.7.1 to 1.8.3 for PHP 8.0 support.
6388 * Upgrade doctrine/dbal from 2.10.4 to 3.0.0 for PHP 8.0 support.
6389 * (T270734) Fix display of Special:Preferences URL in password reset email.
6390 * (T252774, T271441) resourceloader: Give SkinModule 'features' option an
6391   extensible default.
6392 * (T271441) Unknown features shouldn't break style output.
6393 * (T264986) Make use of CURLMOPT_MAX_HOST_CONNECTIONS conditional on having
6394   curl >= 7.30.0.
6395 * DefaultSettings.php: Update $wgPingback documentation.
6396 * Fix docs for LanguageConverter::translate.
6397 * (T272250) Don't rely on implicit string->int cast in comparison.
6398 * (T272327) Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine.
6399 * (T272328) UploadBase: Don't call MimeAnalyzer if mTempPath is null.
6400 * Remove nonfunctional default sampling for WANObjectCache metrics.
6401 * (T258851) Prevent service injection to LoadExtensionSchemaUpdates hook.
6402 * (T270852) Hooks: Map dash character to underscore when generating hook names.
6403 * (T271551, T270145) Fix fetching ipblock-exempt within
6404   BlockManager::getUserBlock.
6405 * PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0.
6406 * (T248925) Set empty closures in DatabaseTest to fix PHP 8 tests.
6407 * (T34217) rdbms: Remove outdated MySQL 4 references and fix doc URLs.
6408 * (T248925) Special:Contributions reports negative namespace error on PHP 8.
6409 * (T248925) objectcache: Fix non-numeric string check in HashBagOStuff for
6410   PHP 8.
6411 * (T248925) Fix CacheTime::getCacheExpiry for PHP 8.
6412 * (T259685) Allow REST API POST handlers to opt out of mandatory SQLite locking.
6413 * (T91820, T259685) MWLBFactory: rename magic HTTP header for opting out of
6414   SQLite write lock.
6415 * (T272326) Fix DeprecationHelperTest on PHP 8.
6416 * Upgrade wikimedia/less.php from 3.0.0 to 3.1.0 for PHP 8.0 support.
6417 * (T236639) OutputPage: Make $wgDebugRedirects work again.
6418 * (T274648) registration: Allow reusing cached metadata between wikis.
6419 * CdnCacheUpdate: Send full URL instead of path to Curl for purge.
6420 * Upgrade monolog/monolog from 1.25.3 to 2.2.0 for PHP 8.0 support.
6421 * FileBackend: Do not use SOCKET_ENOENT on windows.
6422 * (T275441) ApiQueryUserInfo: Allow all uiprops to be requested at once.
6423 * (T275261) Escape wikitext in the title in invalid title error messages.
6424 * (T275242) Extend iwlinks.iwl_prefix to VARBINARY(32) on MySQL.
6425 * (T246594, T270228) PHPVersionCheck: Complain about known-bad versions above
6426   minimum.
6427 * (T275824) Upgrade wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1 for
6428   Composer 2.0 support.
6429 * (T269293) Record all used options in metadata.
6430 * Allow usage of Composer 2.0 to install MediaWiki's dependencies.
6431 * (T259872) skins: Call headElement() after getTemplateData() in SkinMustache.
6432 * (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access
6433   Special:ResetTokens.
6434 * (T272412) Add "Account data" section to user preferences.
6435 * (T268310) Add list of thumbnail urls to LocalFilePurgeThumbnails hook.
6436 * (T277520) registration: Allow specifying immovable namespaces in
6437   extension.json.
6438 * (T275619) Maintenance::hasOption and Maintenance::getOption now behave as
6439   documented and are not altered by previous calls to these methods.
6440 * (T254688) Remove page inner join from subquery in SpecialWhatLinksHere.
6441 * (T122124) signup: added help message for security.
6442 * (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-* messages
6443   on Special:NewFiles.
6444 * (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages on
6445   ChangesList pages.
6446 * (T277414) HTMLFormField: Use non namespaced class name rather than
6447   static::class.
6448 * (T268673) maintenance: Don't create SearchUpdate in rebuildtextindex.php
6449   for page_namespace below 0.
6450 * (T246594, T270228) Mark ParserOptionsTests skipped on PHP 7.4.0-7.4.8.
6451 * (T268230) Switch to new MediaWiki logo by Serhio Magpie.
6452 * (T271735) Expand config-pingback-help, link to privacy policy in
6453   config-pingback.
6454 * Fix documentation of user-global in $wgRateLimits.
6455 * BackupDumper: Add -o as shortcode for --output.
6456 * (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors.
6457 * (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection they
6458   have right to do so via action=protect.
6459 * (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in fast
6460   double move.
6461 * (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user can
6462   create pages.
6463 * (T279451, CVE-2021-30458) SECURITY: Parsoid comment fostering allows for
6464   inserting mostly arbitrary <meta> tags.
6466 == MediaWiki 1.35.1 ==
6468 This is a security and maintenance release of the MediaWiki 1.35 branch.
6470 While normally running update.php isn't required for point releases,
6471 it is recommended to run it for 1.35.1 so that sites.site_language is
6472 updated to take 35 characters.
6474 Watchlist Expiry is no longer considered experimental, but is off by default.
6475 To enable it, set $wgWatchlistExpiry = true; in your LocalSettings.php.
6477 === Changes since MediaWiki 1.35.0 ===
6478 * (T263929) purgeList.php Fix all-namespaces option to match one used in code.
6479 * (T248719) ParserCache::get - fix wfDeprecated call.
6480 * (T261430) WatchlistExpiryWidget: Move focus to expiry dropdown after hitting
6481   Tab.
6482 * Preload mediawiki.watchstar.widgets before api request.
6483 * (T261030) ApiEditPage: Show existing watchlist expiry if status is not being
6484   changed.
6485 * (T264502) Fix PHP 8 compat with strcspn() $length parameter exceeding string.
6486 * (T248925) Remove final modifier on private function.
6487 * (T264683) Remove ipb_anon_only from ipb_address_unique index addition.
6488 * (T261415) Add days left messages to changes-lists' clock icons.
6489 * Fix order of wfDeprecated parameters in ExternalStoreDB::getSlave.
6490 * (T261260) Preload class used in HeaderCallback.
6491 * (T260868, T260009) Normalize WatchedItem expiry field.
6492 * (T264683) Remove doTable check from (Mysql|Sqlite)Updater::indexHasFields.
6493 * (T264534) ApiPageSet: Avoid infinite loop when merging redirects.
6494 * (T196906) Empty Monolog loggers are now real blackholes.
6495 * (T258649) WatchAction: avoid UPDATE when old and new watch period is
6496   indefinite.
6497 * Parser: Adjust typehint to show that getTitle can return null.
6498 * (T263592) media: Fix case of FlashPixVersion in
6499   FormatMetadata::makeFormattedData().
6500 * (T265223) BaseTemplate: Guard against passing zero arg to array_merge().
6501 * (T264965) Fix base path handling for MessagePosterModule registration.
6502 * (T252183) Fix Database::getTempTableWrites for multi table DDLs.
6503 * (T182546) Fix switch/case indentation per mediawiki coding conventions.
6504 * Flip Yoda conditionals.
6505 * (T263213) Move SkinTemplate::getFooterLinks() to Skin.
6506 * build: Updating mediawiki/mediawiki-codesniffer to 33.0.0.
6507 * (T267105) Make ImageBuilder::checkMissingImage public.
6508 * Updating guzzlehttp/guzzle (6.5.4 => 6.5.5).
6509 * (T266681) Support new style hook registration on install and update.
6510 * (T266980) Fix unsetting of copyright icon in FooterIcons.
6511 * upload.js: Don't assume that warnings array will include 'code' key.
6512 * upload.js:  Fix typo in upload API.
6513 * (T264333, T190988, T266903) Pass along ignorewarnings param to all
6514   individual chunks being uploaded.
6515 * (T267558) importTextFiles.php: Replace deprecated WikiRevision:setText().
6516 * (T266418) composer.json: add requirement for composer-plugin-api ^1.1.
6517 * (T261431) Add ARIA attributes to watchlink and its notification.
6518 * (T258877) Change invalid 'Content-Encoding: none' header.
6519 * Fix trailing ; in patch-sites-site_language-35.sql.
6520 * (T248852) wfAssembleUrl: Handle empty query field in URL bits.
6521 * (T268846) Updating wikimedia/testing-access-wrapper (1.0.0 => 2.0.0).
6522 * (T268887) migrateComments: Cast array keys back to string before passing
6523   to the DB.
6524 * (T266619) Introduce new $wgThumbPath config.
6525 * (T269178) MemcachedClient: Cast Resource to integer.
6526 * (T263925) Use the old HookContainer to set up the post-reset services.
6527 * Change "site cache" to just "cache" in the right-purge message.
6528 * [UploadedFileStreamTest] Skip test with chmod.
6529 * (T269710) Updating composer/semver (1.5.1 => 1.7.2).
6530 * (T269710) Updating mediawiki/mediawiki-codesniffer (33.0.0 => 34.0.0).
6531 * (T260631, T260633), BotPassword::save() now returns a Status object for the
6532   result rather than a bool. The length of the bot password grants and
6533   restriction fields are now validated, and an error will be thrown if it
6534   would be truncated by the database.
6535 * (T265778) Fix English/*nix specific error messages in FSFileBackend.
6536 * (T267543) Split dropping of image.img_user_timestamp.
6537 * [FileTest] Do not assume /tmp exists on windows.
6538 * Clean up temp files correctly after unit tests.
6539 * Skip undo related phpunit tests when diff3 is missing.
6540 * (T269964) rdbms: Remove outer parentheses in insert query for Postgres.
6541 * (T263911) In MWExceptionHandler::report(), catch all throwables.
6542 * (T268894, CVE-2020-35474) SECURITY: Use Html::element in
6543   ChangeListSpecialPage for sanity.
6544 * (T268917) Use Xml::element in SpecialUserrights for sanity.
6545 * (T268938, CVE-2020-35478, CVE-2020-35479) SECURITY: Pass escaped html
6546   to LogFormatter::makePageLink for sanity.
6547 * (T268938) Fixed mixed escaping in Language::translateBlockExpiry.
6548 * (T263911) UserOptionsManager: don't differentiate anons caches.
6549 * (T261260) HeaderCallback: pre-cache request ID.
6550 * Parsoid updated to v0.12.1.
6551 * (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log
6552   entries when MediaWiki:Mainpage uses Special:MyLanguage.
6553 * (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions
6554   and user pages of hidden users and missing users.
6555 * (T270145) Fix condition that can lead to using APCOND_BLOCKED in
6556   $wgAutopromote to cause an OOM in PHP.
6558 == MediaWiki 1.35.0 ==
6560 === Changes since MediaWiki 1.35.0-rc.3 ===
6561 * (T261258) Remove checks for ancient ImageMagick versions in BitmapHandler.
6562 * (T260232) Don't include null page ids in query list for category dumps.
6563 * (T260009) Check existing watchitem when saving action=watch.
6564 * (T259055) Correct success messages for action=watch.
6565 * mediawiki.page.ready: Simpler tablesorter/makeCollapsible call.
6566 * mediawiki.page.ready: Fix skin override config flags, wrong way round.
6567 * (T262175, T248512) Remove requirement for ApiWatchlistTrait to be in ApiBase.
6568 * (T259053, T260434) Watchlist: Fix updateWatchLink removing css class when
6569   action=watch.
6570 * (T261901, T261476) mediawiki.notification: Don't close notif when clicking
6571   <select> element.
6572 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
6573 * (T259452) Parsoid updated to v0.12.0.
6574 * (T261970) watch.ajax: Add expiry support to watchpage.mw event.
6575 * (T262900) Fix failure of rebuildLocalisationCache.php due to ResourceLoader
6576   hook.
6577 * (T263014) Hard deprecate File::userCan() with $user=null.
6578 * (T262547) Use localized success message after watching via action=watch.
6579 * (T201491) Fix typo 'Watchlst' in `apihelp-edit-param-watchlistexpiry`.
6580 * (T261081) Installer: consistently reset Language objects.
6581 * (T250449, T250450) Installer: consistently reset Language objects.
6582 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
6583 * (T262934) Ensure dropdown label is always on its own line.
6584 * (T246855) resourceloader: Use a local HookRunner.
6585 * (T263604) Have findBadBlobs.php require Maintenance.php rather than
6586   cleanupTable.inc.
6587 * (T263606) Set fake time, to avoid flaky tests.
6588 * (T261325) Add FindMissingActors script.
6589 * (T262364) shell: Don't blacklist /run/firejail.
6590 * (T263655) NewPagesPager: Ignore nonexistent namespaces.
6591 * Update specialPageAliases and magicWords for Egyptian Arabic (arz).
6592 * (T261347) ParserOutput: don't throw on bad editsection.
6593 * (T232568, CVE-2020-25813) SpecialUserrights: If a viewer lacks `hideuser`,
6594   ignore hidden users.
6595 * (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on
6596   Special:Contributions.
6597 * (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within
6598   LogEventsList.
6599 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
6600   firejail's --output functionality.
6601 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
6602   'style' attribute.
6603 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
6604   mw.message( ... ).parse().
6605 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
6606   database.
6607 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
6608 * Add Finnish special page aliases.
6609 * Fix GuzzleHttpRequest request headers.
6610 * Fix description for pruneFileCache.php.
6611 * emptyUserGroup.php: handle more than 5000 users.
6612 * Make ApiSandbox copyable URL absolute.
6613 * (T261087) Add a link from a deleted page to that page's logs.
6615 == MediaWiki 1.35.0-rc.3 ==
6617 === Changes since MediaWiki 1.35.0-rc.2 ===
6618 * (T258662) mediawiki.visibleTimeout: Update the nextVisibleTimeoutId value.
6619 * Ensure Parsoid doesn't throw when <ref> is used w/o Cite installed.
6620 * Remove maintenance/createCommonPasswordCdb.php.
6621 * (T260468) Increase "sites.site_global_key" to varbinary(64).
6622 * (T183759) Fix shell edge-cases in Windows.
6623 * (T257879) Drop PHP 7.2 support; require 7.3.19.
6624 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global
6625   rate limit type.
6626 * (T246991) User: enforce pingLimiter() expiry time.
6627 * (T256831) Rest: Handle Uri constructor exception.
6628 * (T259094) Fix RequestFromGlobalsTest failing in Travis CI.
6629 * (T256831, T261344) Rest: Use try/catch to handle URIs with embedded colon.
6631 == MediaWiki 1.35.0-rc.2 ==
6633 === Changes since MediaWiki 1.35.0-rc.1 ===
6634 * (T259693) uuid: Fix filenames on Windows.
6635 * Remove Gruntfile.js and package-lock.json from the tarball.
6636 * firejail: Strengthen by copying from Wikimedia's profile.
6637 * (T260059) ResourceLoaderOOUIImageModule: loadOOUIDefinition() may return
6638   false.
6639 * (T30162, T245387) The installer supports using a Postgres server running
6640   on a custom port other than 5432.
6641 * (T260201) Support private wikis in Parsoid zero configuration mode.
6642 * Fix bad use of `|=` PHP bit operation where `= … ||` bool is intended.
6643 * (T259212) SpecialBlock: Show error if a block could not be inserted or found.
6644 * (T255842) UserOptionsManager: fix options reset.
6645 * (T258649) WatchAction: avoid unnecessary UPDATEs when expiry is unchanged.
6646 * (T250851) Allow skins to override mediawiki.page.ready initialisation.
6647 * (T250851) mediawiki.page.ready: Allow skins to disable search lazy load.
6648 * (T253135, T255632) Update language in watchlist expiry.
6649 * Use IPset in MWRestrictions::checkIP.
6650 * (T259564) Fix race condition on edit page.
6651 * (T260759) Hide watchlist expiry label in edit form.
6652 * mime: Fix docs of MIME_EXTENSIONS, they're arrays, not space-seperated.
6653 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
6654 * (T259379) WatchedItemStore: Cache single WatchedItems with preexisting expiry.
6655 * Add a maintenance script to create bot passwords.
6656 * (T201269) Add Traditional Chinese zh-hant as fallback for Amis (ami).
6657 * Improve wfParseUrl docs.
6658 * (T251038) Add multi index fields in ImageListPager for unique paginate.
6659 * (T259916) Guard against 'Widget not found' error.
6661 == MediaWiki 1.35.0-rc.1 ==
6663 === Changes since MediaWiki 1.35.0-rc.0 ===
6664 * (T252136) Fix RecentChanges watchlist filters when WatchlistExpiry is off.
6665 * (T258662) Update time period for watchlist expiry pop-up.
6666 * (T258443) Fix expiry dropdown not getting disabled on edit page.
6667 * (T259398) Add license information for promise-polyfill.
6668 * Remove executable bit from scripts without shebang.
6669 * (T256526) Fix bold of watched items on Special:RecentChangesLinked.
6670 * (T259060) Edit page expiry dropdown should keep state after
6671   disabling/enabling.
6672 * (T259009) Translate expiry period in pop-up message for watchlist expiry.
6673 * (T258310) Add watchlist clock icon to RecentChanges.
6674 * (T259362) Permit temporary table writes on replica DB connections.
6675 * (T250214) Add UI support in Special:EditWatchlist for watchlist expiry.
6676 * (T72470) Disable wgLegacyJavaScriptGlobals by default.
6677 * (T130906) Add Edge to MediaWiki:Clearyourcache.
6678 * (T257279) Add mediawiki.ui Less variable deprecation note.
6679 * (T249521) Fixed reassignEdits.php to work with anonymous users.
6680 * (T259448) Fix Circular dependency when creating service in
6681   DBLoadBalancerFactory.
6682 * (T257259) Default to using watchlist expiry of old page when moving pages.
6684 == MediaWiki 1.35.0-rc.0 ==
6686 == Upgrading notes for 1.35 ==
6687 1.35 requires PHP 7.3.19 or above (up from 7.2.9). (T257879)
6689 1.35 has several database changes since 1.34, and will not work without schema
6690 updates. Note that due to changes to some very large tables like the revision
6691 table, the schema update may take quite long (minutes on a medium sized site,
6692 many hours on a large site).
6694 Don't forget to always back up your database before upgrading!
6696 MediaWiki 1.35 is the next LTS after 1.31, and will be supported for around 3
6697 years.
6699 MediaWiki has a lot of both soft and hard deprecations, and code removed. As
6700 always, make sure your versions of extensions match the MediaWiki version,
6701 and updates may be required to any custom extensions.
6703 See the file UPGRADE for more detailed upgrade instructions, including
6704 important information when upgrading from versions prior to 1.11.
6706 Some specific notes for MediaWiki 1.35 upgrades are below:
6707 * (T259685) When using SQLite as the database backend for MediaWiki,
6708   Zeroconf (zero-configuration) VisualEditor/Parsoid only works with
6709   MediaWiki 1.35.2 and above.  It is still recommended to use
6710   MySQL/MariaDB rather than SQLite when using VisualEditor.
6712 For notes on 1.34.x and older releases, see HISTORY.
6714 === Configuration changes for system administrators in 1.35 ===
6716 * (T72470) $wgLegacyJavaScriptGlobals is now false by default. This feature
6717   will be completely removed in a later MediaWiki release.
6719 ==== New configuration ====
6720 * $wgDiffEngine — This can be used to specify the difference engine to use,
6721   rather than MediaWiki choosing the first of $wgExternalDiffEngine, wikidiff2,
6722   or php that is usable.
6723 * $wgSearchMatchRedirectPreference — This configuration setting controls whether
6724   users can set a new preference, search-match-redirect, which decides if search
6725   should redirect them to exact matches is available. By default, this is set to
6726   false, which maintains the previous behaviour without preference bloat. Change
6727   your site's default by setting $wgDefaultUserOptions['search-match-redirect'].
6728 * $wgPoolCounterConf['SpecialContributions'] — Per-user concurrency in the use
6729   of SpecialContributions can now be limited by setting this appropriately.
6730 * $wgPasswordPolicy — PasswordCannotBeSubstringInUsername is a new password
6731   policy check. Similar to the existing PasswordCannotMatchUsername check, this
6732   check ensures that a user's (case-insensitive) password cannot be a part of
6733   their username. e.g. password = MyPass, username = ThisUsersPasswordIsMyPass.
6734 * $wgLogos — This new configuration setting combines the now-deprecated $wgLogo
6735   and $wgLogoHD settings into a single, associative array. It provides support
6736   for a new key, 'wordmark', for setting a horizontal wordmark to show next to
6737   the graphical logo. To do this, set 'wordmark' to an array with 'src' set to
6738   the path of the wordmark image, and 'width' and 'height' for its dimensions
6739   in pixels. $wgLogos inherits the existing support provided by its predecessor
6740   settings: '1x' mapping to the path of the logo as a 135x135px raster image
6741   (equivalent to $wgLogo), and '1.5x', '2x', and 'svg' operating as before for
6742   $wgLogoHD. If $wgLogos is unset, $wgLogo and $wgLogoHD values are read for
6743   temporary backwards compatibility. (T232140)
6744 * $wgWatchlistExpiry — (EXPERIMENTAL) This enables the new watchlist expiry
6745   feature. The database table (watchlist_expiry) for this is created regardless
6746   of this setting, but all other aspects of the expiry feature are controlled
6747   by it. Enabling in production is discouraged for the time being. A future
6748   MediaWiki 1.35 release will advertise this feature once it is stable.
6749 * $wgWatchlistPurgeRate — This sets the chance of expired watchlist items being
6750   purged on each page edit. Only has effect if $wgWatchlistExpiry is true.
6751 * $wgWatchlistExpiryMaxDuration — This is the maximum definite relative duration
6752   for watchlist expiries. Only has effect if $wgWatchlistExpiry is true.
6753 * $wgImgAuthPath – This can be used to override the path prefix used when
6754   handling img_auth.php requests. (T235357)
6755 * $wgAllowedCorsHeaders — This is a list of headers which can be used in a
6756   cross-site API request.
6757 * $wgHTTPMaxTimeout and $wgHTTPMaxConnectTimeout — These allow site
6758   administrators to limit the timeouts used by the HTTP client libraries.
6759   This only affects callers using HttpRequestFactory and the deprecated
6760   wrappers in the Http class.
6761 * $wgCdnMaxageStale — This controls the Cache-Control s-maxage header for page
6762   views when PoolCounter lock contention indicates that a stale cache entry
6763   should be sent.
6764 * $wgForceHTTPS — This makes the HTTP to HTTPS redirect be unconditional and
6765   suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
6766   recommend this be set to true on pure HTTPS wikis.
6767 * $wgCookieSameSite — This setting allows login cookies to be sent with
6768   SameSite=None. This is required for cross-site CentralAuth auto-login after
6769   Chrome 84.
6770 * $wgUseSameSiteLegacyCookies — This adds a compatibility hack to
6771   SameSite=None cookies for browsers which implemented an incompatible draft
6772   version of the specification.
6774 ==== Changed configuration ====
6775 * $wgResourceLoaderMaxage (T235314) — This configuration array controls the
6776   max-age for HTTP caching through the Cache-Control header. It has uses the
6777   "versioned" key for urls that do have a version parameter, and the
6778   "unversioned" key for urls without a version parameter. The sub keys for
6779   "client" and "server" are no longer supported in MediaWiki 1.35.
6780 * $wgEnableOpenSearchSuggest — This boolean variable is deprecated and no longer
6781   used. The OpenSearch API is now always enabled.
6782 * $wgAuthManagerConfig and $wgAuthManagerAutoConfig — These can now use the
6783   'services' option in provider specifications.
6784 * $wgVirtualRestConfig['modules']['parsoid'] —
6785   - The defaults have been updated. If you were relying on the default values,
6786     you may need to update your configuration.
6787   - The 'URL' parameter, previously allowed for backwards-compatibility, has
6788     been deprecated. Use 'url' instead.
6789 * $wgXmlDumpSchemaVersion — Default is now set to XML_DUMP_SCHEMA_VERSION_11, so
6790   dumps use the new dump format per default. Consumers of XML dumps should not
6791   be affected if they ignore any unknown tags they encounter. Also, the format
6792   is effectively unchanged for revisions that only contain the main slot. The
6793   --schema-version option can be used with the dumpBackup.php script to set the
6794   dump format. (T238921)
6795 * $wgParserConf — This configuration is now deprecated. It has been
6796   effectively constant since 2008, and is ignored by core code.
6797   Configure the ParserFactory service in order to customize the Parser used.
6798 * $wgAutoloadAttemptLowercase — This has been deprecated, and the default value
6799   changed to false.
6800 * $wgAllowImageMoving — This configuration setting is now deprecated. Instead,
6801   use $wgGroupPermissions; e.g., to revoke sysops' ability to move images use
6802   $wgGroupPermissions['sysop']['movefile'] = false.
6803 * $wgAllowImageTag — This configuration is now deprecated; future parsers will
6804   not support direct use of the HTML <img> tag in wikitext.
6805 * $wgUseTwoButtonsSearchForm — This has been deprecated. If you maintain a skin
6806   that relies on this and wishes to let system administrators change it, you
6807   should convert it to a config variable specific to your skin. If you're using
6808   it to configure your wiki, you should check individual skins to see whether
6809   they have local skin config for the feature and use that.
6810 * $wgPasswordPolicy — The deprecated policy 'PasswordCannotBePopular' has been
6811   removed. Use PasswordNotInCommonList instead which covers many more passwords.
6812 * Backwards compatibility for using an associative array
6813   (e.g. [ '127.0.0.1' => 'bad-ip' ]) for $wgProxyList has been removed. This
6814   was deprecated since 1.30. Please convert these arrays to indexed/sequential
6815   ones (e.g. [ '127.0.0.1' ]).
6816 * $wgShellRestrictionMethod — This now defaults to 'autodetect', which will
6817   enable sandboxing for shell commands using firejail, if it's installed. To
6818   disable restrictions, set it to false.
6819 * $wgLegacyJavaScriptGlobals – This deprecated setting now default to false,
6820   instead of true, ahead of its planned removal.
6822 ==== Removed configuration ====
6823 * $wgSysopEmailBans — This setting, deprecated in 1.34, was removed. To let
6824   sysops block email access, use $wgGroupPermissions['sysop']['blockemail'].
6825 * $wgDBWindowsAuthentication — This setting had no effect anymore after support
6826   for SQL Server was removed in 1.34. (T230418)
6827 * $wgProfileOnly — This setting, deprecated in 1.23, was removed. The profiler
6828   output should instead be configured via $wgProfiler['output'].
6829 * $wgProfileLimit — This setting, deprecated in 1.25, was removed.
6830   Set $wgProfiler['threshold'] instead.
6831 * $wgDebugTimestamps — This setting was removed. It affected the text output
6832   produced via $wgDebugComments, if enabled.
6833 * $wgSkipSkin — This setting, deprecated in 1.23, was removed. To disable a
6834   skin from being shown, use $wgSkipSkins.
6835 * $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and $wgSquidMaxage —
6836   These, deprecated in 1.34, have been removed. Use $wgUseCdn, $wgCdnServers,
6837   $wgCdnServersNoPurge, or $wgCdnMaxAge instead.
6838 * $wgDisableCounters — This, deprecated in 1.25, was removed. The feature that
6839   it controlled was already removed in 1.26, but the variable remained existent
6840   with a value of `false` for backward-compatibility.
6841 * $wgMaxGeneratedPPNodeCount — This setting was removed. It only affected
6842   Preprocessor_DOM, which was deprecated in 1.34 and removed in this release.
6843 * $wgFixArabicUnicode and $wgFixMalayalamUnicode — These, deprecated in 1.33,
6844   were removed. The fixes are now always enabled for their respective languages.
6845 * $wgAllowTitlesInSVG — This, unused and deprecated since 1.34, was removed.
6846 * $wgEnablePartialBlocks — This setting, deprecated when it was added in 1.33,
6847   was removed. Partial blocks are now always enabled.
6848 * $wgLocalInterwiki — This setting, deprecated in 1.23, has been removed.
6849 * $wgContentHandlerUseDB — This setting, deprecated in 1.34, has been removed.
6850 * $wgMultiContentRevisionSchemaMigrationStage — This setting must no longer
6851   be set locally. If the migration stage was set to anything other than
6852   SCHEMA_COMPAT_NEW locally, update.php must be run after removing the setting.
6853   Usage of the setting in code is deprecated. The setting will be removed
6854   completely in 1.36.
6855 * $wgEnableRestAPI — This setting is no longer obeyed by MediaWiki core, and
6856   should not be set set locally. Usage of the setting in code is deprecated; it
6857   is now set true by default. The setting will be removed completely in 1.36.
6858 * $wgObjectCaches — The 'slaveOnly' option for SqlBagOStuff, deprecated in 1.34,
6859   was removed. Use 'replicaOnly' instead.
6861 === New user-facing features in 1.35 ===
6862 * (T204618) Whitelisted the aria-hidden HTML attribute for all elements in
6863   wikitext.
6864 * (T13456) Special:EditPage, Special:PageHistory, Special:PageInfo, and
6865   Special:Purge have been created as shortcuts for each action.
6866   Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory,
6867   PageInfo, and Purge corresponding to action= history, info, and purge
6868   respectively. When linked to, its subpage is used as the target. Otherwise,
6869   it displays a basic interface to allow the end user to specify the target
6870   manually.
6871 * (T139221) The generated table of contents is now a navigation landmark role
6872   for assistive technologies.
6873 * (T245931) interwiki map API doesn't report foreign language if
6874   $wgInterwikiMagic=false
6875 * The form at ?action=watch has a new dropdown list to support expiry dates for
6876   watchlist items (if $wgWatchlistExpiry is true).
6878 === New developer features in 1.35 ===
6879 * A Docker based local development develpoment environment configuration is
6880   included (T238224) and DEVELOPERS.md has been added with usage documentation
6881   and links to further help.
6882 * If CSP is enabled, extensions can now add additional sources using the
6883   ContentSecurityPolicy::addDefaultSource, ::addStyleSrc and ::addScriptSrc
6884   methods (e.g. $context->getOutput()->getCSP()->addDefaultSrc( 'example.com' ))
6885 * Extensions can now specify classes and namespaces to be autoloaded by the
6886   test autoloader, by setting the "TestAutoloadNamespaces" and
6887   "TestAutoloadClasses" properties in extension.json. (T196090)
6888 * (T250977) extension.json now allows "SearchMappings" which maps the canonical
6889   name of the search engine (used in wgSearchType and wgSearchTypeAlternatives)
6890   to a specification using the ObjectFactory specification. This allows
6891   extensions to register Search Engines using namespaced classes.
6892 * Added getters for OutputPage's robot, index and follow policies;
6893   getRobotPolicy() returns the entire policy as a string in the form
6894   <index policy>,<follow policy> while getIndexPolicy() and getFollowPolicy()
6895   return their respective policies as a string.
6896 * The ResourceLoaderSiteModulePages and ResourceLoaderSiteStylesModulePages
6897   hooks were added to allow changing which wiki pages these modules contain.
6898 * The SkinFactory now allows skins to be specified as an ObjectFactory spec,
6899   allowing the construction of skins with services injected.
6900 * ContentHandlerFactory for most ContentHandler static methods. It has been
6901   added to the constructors for many classes to improve SOLID / GRASP.
6902 * FileDeleteForm's constructor now accepts a user as the second parameter.
6903   Support for not passing a user has also been hard-deprecated and will be
6904   removed in 1.36.
6905 * The ParserPreSaveTransformComplete hook was added.
6906 * The ParserBeforePreprocess hook was added.
6907 * The ResourceLoaderSkinModule class now has a "legacy" feature that loads
6908   the stylesheets previously part of the "mediawiki.legacy.shared" and
6909   "mediawiki.legacy.commonPrint" module.
6910   Those modules are now deprecated and no longer loaded by skins.
6911   For skins needing to retain these styles, you will need to load these
6912   styles via a module using the ResourceLoaderSkinModule class.
6913   See Vector and Monobook for examples.
6914 * ParserOutput now has methods addExtraCSPStyleSrc, addExtraCSPDefaultSrc
6915   addExtraCSPScriptSrc for parser tags/functions to be able to add sources
6916   to the Content Security Policy.
6917 * The HtmlCacheUpdater service was added to unify the logic of purging CDN cache
6918   and HTML file cache to simplify callers and make them more consistent.
6919 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
6920 * Preferences which use HTMLTitlesMultiselectField can make use of
6921   MultiTitleFilter class for saving title text to/from article IDs in user
6922   preferences.
6923 * OutputPage::addHtmlClasses() was added to allow injecting CSS classes on
6924   to the <html> element on page load.
6925 * The SkinAddFooterLinks hook is added to allow extensions to add items to skin
6926   footers. Previously this had to be done via SkinTemplateOutputPageBeforeExec.
6927   Doing so using that hook is now hard deprecated.
6928 * A new BlockPermissionChecker service was introduced for checking
6929   block-related permissions.
6930 * The support of 'database' type of extensions has been added to allow 3d party
6931   databases like Percona be used as storage. See T226857, T253248.
6932 * Three new return parameters have been added to the
6933   EditPageGetCheckboxesDefinition hook. Handlers of this hook are no longer
6934   restricted to defining checkboxes. See the documentation of
6935   EditPage::getCheckboxesDefinition() for more details.
6936 * New flag File::RENDER_TMP was added in order to allow
6937   File::generateAndSaveThumb and File::trasform to render a thumbnail without
6938   saving it to the storage.
6940 === External library changes in 1.35 ===
6942 ==== New external libraries ====
6943 * Added wikimedia/ip-utils 1.0.0.
6944 * Added wikimedia/parsoid 0.12.3.
6945 * Added wikimedia/services 2.0.1.
6946 * Added taylorhakes/promise-polyfill v8.1.3.
6947 * Added vuejs v2.6.11.
6948 * Added vuex v3.1.3.
6949 * Added symfony/symfony/polyfill-php80 1.25.0.
6951 ===== New development-only external libraries =====
6952 * Added doctrine/dbal 3.1.5.
6953 * Added doctrine/sql-formatter 1.1.0.
6954 * Added pimple/pimple 3.3.1.
6956 ==== Changed external libraries ====
6957 * pear/mail_mime was upgraded from 1.10.2 to 1.10.11.
6958 * wikimedia/less.php was upgraded from 1.8.0 to 3.1.0.
6959 * Updated oojs from 3.0.0 to 5.0.0.
6960 * Updated OOUI from 0.35.1 to 0.39.3.
6961 * zordius/lightncandy was upgraded from 0.23.0 to 1.2.5.
6962 * Updated jQuery from v3.3.1 to v3.6.0.
6963 * Updated jQuery Migrate from v3.0.1 to v3.3.2.
6964 * Updated wikimedia/assert from 0.2.2 to 0.5.0.
6965 * Updated pear/net_smtp from 1.8.1 from to 1.9.1.
6966 * Updated psr/log from 1.0.2 to 1.1.3.
6967 * Updated jquery.i18n from 1.0.5 to 1.0.7.
6968 * Updated guzzlehttp/guzzle from 6.3.3 to 6.5.8.
6969 * Updated wikimedia/xmp-reader from 0.6.3 to 0.8.5.
6970   Fixes error log spam with too-large XMP data, and adds support for GPano tags.
6971 * Updated wikimedia/base-convert from v2.0.0 to v2.0.1.
6972 * Updated composer/semver from 1.5.0 to 1.7.2.
6973 * Updated wikimedia/remex-html from 2.1.0 to 2.2.0.
6974 * Replaced wikimedia/password-blacklist 0.1.4 with wikimedia/common-passwords
6975   0.2.0.
6976 * Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1.
6977 * Updated wikimedia/html-formatter from 1.0.2 to 2.0.1.
6978 * Updated wikimedia/object-factory from 2.1.0 to 2.2.0.
6980 ===== Changed development-only external libraries =====
6981 * Updated symfony/yaml from 3.4.28 to 5.0.5.
6982 * Updated nikic/php-parser from 3.1.5 to 4.4.0.
6983 * Updated php-parallel-lint/php-console-highlighter from v0.3.2 to v0.5.
6984 * Updated php-parallel-lint/php-parallel-lint from v0.9.2 to v1.2.0.
6985 * Updated psy/psysh from 0.9.9 to 0.10.4.
6986 * Updated monolog/monolog from 1.24.0 to 2.2.0.
6987 * Upgrade mediawiki-codesniffer from 28.0.0 to 38.0.0.
6988 * Updated composer/spdx-licenses from 1.5.1 to 1.5.3.
6989 * Updated monolog/monolog from 1.25.2 to 1.25.3.
6990 * Updated qunit from 2.9.1 to 2.10.0.
6991 * Updating wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0.
6992 * Updated seld/jsonlint from 1.7.1 to 1.8.3.
6994 ==== Removed external libraries ====
6995 * phpunit/php-invoker (dev-only).
6996   Removing this unbreaks development on Windows systems, in exchange for losing
6997   time limits in running unit tests.
6998 * The jquery.getAttrs module was removed.
7000 === Action API changes in 1.35 ===
7001 * The 'suggest' parameter of action=opensearch has been deprecated.
7002   The API behaves the same with and without this parameter.
7003   It was previously used by $wgEnableOpenSearchSuggest to partially
7004   disable the API if set to false. Specifically, it would deny internal
7005   frontend requests carrying this parameter, whilst accepting other requests.
7006 * Integer-type parameters are now validated for syntax rather than being
7007   interpreted in surprising ways. For example, the following will now return a
7008   badinteger error:
7009   - "1.9" (formerly interpreted as "1")
7010   - " 1" (formerly interpreted as "1")
7011   - "1e1" (formerly interpreted as "1" or "10", depending on the PHP version)
7012   - "1foobar" (formerly interpreted as "1")
7013   - "foobar" (formerly intepreted as "0")
7014   parameters. Ranges should be assumed to be enforced.
7015 * Many user-type parameters now accept a user ID, formatted like "#12345".
7016 * The 'assert' parameter used by all API modules now supports the value 'anon'.
7017   When specified, the API will return the 'assertanonfailed' error if the user
7018   is logged in.
7019 * action=edit now supports  the 'baserevid' parameter for edit conflict
7020   detection, as an alternative to 'basetimestamp'. Note that self-conflicts
7021   will continue to be ignored if 'basetimestamp' is set, but not if only
7022   'baserevid' is set.
7023 * A new module was added to change the content model of existing pages.
7024   Use action=changecontentmodel. Unlike Special:ChangeContentModel, the api
7025   module does not work for pages that do not already exist.
7026 * If $wgWatchlistExpiry is true, the following API changes are made:
7027   - action=watch accepts a new 'expiry' parameter analagous to the expiry
7028     accepted by action=userrights, action=block, etc., except it must be no
7029     greater than $wgWatchlistExpiryMaxDuration, or an infinity value.
7030   - action=query&list=watchlistraw returns pages' watchlist expiry dates.
7031 * (T249526) action=login will now return Failed rather than NeedToken on
7032   session loss.
7034 === Action API internal changes in 1.35 ===
7035 * The Action API now uses the Wikimedia\ParamValidator library for parameter
7036   validation, which brings some new features and changes. For the most part
7037   existing module code should work as it did before, but see subsequent notes
7038   for changes.
7039   - The values for all ApiBase PARAM_* constants have changed. Code should have
7040     been using the constants rather than hard-coding the values.
7041   - Several ApiBase PARAM_* constants have been deprecated, see the in-class
7042     documentation for details. Use the equivalent ParamValidator constants
7043     instead.
7044   - The value returned for 'upload'-type parameters has changed from
7045     WebRequestUpload to Psr\Http\Message\UploadedFileInterface.
7046 * Validation of 'user'-type parameters is more flexible. PARAM constants exist
7047   to specify the type of "user" allowed and to request UserIdentity objects
7048   rather than name strings. The default is to accept all types (name, IP,
7049   range, and interwiki) that were formerly accepted.
7050 * Maximum limits are no longer ignored in "internal mode".
7051 * The $paramName to ApiBase::handleParamNormalization() should now include the
7052   prefix.
7053 * (T245931) meta=siteinfo&siprop=interwikimap no longer reports language or
7054   extralanglink when $wgInterwikiMagic is false.
7056 === Languages updated in 1.35 ===
7057 MediaWiki supports over 350 languages. Many localisations are updated regularly.
7058 Below only new and removed languages are listed, as well as changes to languages
7059 because of Phabricator reports.
7061 * The default targets for the ISBN search from Special:BookSources in English
7062   have been updated for better international suppport. They will now be
7063   BetterWorldBooks.com, OpenLibrary.org and Worldcat.org.
7064 * (T237672) Changed the Moroccan Arabic language (ary) to the Arabic script.
7065 * (T201269) Added language support for Amis (ami).
7066 * (T248299) Added language support for Inari Sami (smn).
7067 * (T251369) Added language support for Ladin (lld).
7068 * (T251369) Added language support for Seediq (trv), also known as Taroko.
7069 * (T254854) Added language support for Southern Altay (alt).
7071 === Breaking changes in 1.35 ===
7072 * MediaWiki no longer supports PHP 7.2; use PHP 7.3.19+ (T228346, T257879).
7073 * ResourceLoader::getLessVars(), deprecated in 1.32, was removed.
7074   Use ResourceLoaderModule::getLessVars() instead.
7075 * The jquery.tabIndex module, deprecated in 1.34, has been removed.
7076 * The mediawiki.RegExp module alias, deprecated in 1.34, was removed.
7077   Use the mediawiki.util module instead.
7078 * The easy-deflate.inflate module, unused since 1.32, was removed.
7079 * The easy-deflate.deflate module was removed. Use the mediawiki.deflate
7080   module instead.
7081 * The mediawiki.notify module was removed. The mw.notify() shortcut is now
7082   available by default, without any dependency.
7083 * (T219604) The "jquery.ui.*" and "jquery.effects.*" module aliases,
7084   deprecated in 1.34, have been removed. Use "jquery.ui" instead.
7085 * (T235457) The "user.tokens" module has been removed.
7086   Use "user.options" instead.
7087 * (T251855) The mw.Map#exists method in JavaScript no longer supports checking
7088   multiple keys. This affects mw.config.exists() and mw.user.tokens.exists().
7089 * The internal variable $constructorOptions for the Parser & SpecialPageFactory,
7090   exposed only for integration purposes, are now each replaced by a const called
7091   CONSTRUCTOR_OPTIONS. This was a breaking change made without deprecation.
7092 * ObjectCache::getWANInstance, deprecated in 1.34, was removed.
7093   Use MediaWikiServices::getMainWANObjectCache instead.
7094 * ObjectCache::newWANCacheFromParams, deprecated in 1.34, was removed.
7095   Construct WANObjectCache directly instead, or use MediaWikiServices.
7096 * (T231366) The ProfilerOutputDb class and profileinfo.php entry point,
7097   deprecated in 1.34, was removed.
7098 * SiteConfiguration->localVHosts, deprecated in 1.25, was removed.
7099   Use $wgLocalVirtualHosts instead.
7100 * The $wgContLanguageCode read-only variable was removed.
7101   It has been a non-configurable copy of $wgLanguageCode since MW 1.8 (2006).
7102   Use $wgLanguageCode directly instead.
7103 * ApiQueryUserInfo::getBlockInfo, deprecated in 1.34, was removed. Use
7104   ApiBlockInfoTrait::getBlockDetails instead.
7105 * Password::equals(), deprecated in 1.33, was removed. Use Password::verify().
7106 * QuickTemplate::setRef(), deprecated in 1.31, was removed. Use set().
7107 * The mediawiki.ui.text module, deprecated in 1.28 and unused, was removed.
7108 * AbstractBlock::mReason, deprecated in 1.34, is no longer public.
7109 * The GetBlockedStatus and UserIsHidden, deprecated in 1.34, has been removed.
7110   Instead, use the GetUserBlock hook.
7111 * As part of work to replace the Parser, a large number of breaking changes have
7112   been made, principally in related methods and properties being removed or made
7113   private:
7114   - disableCache(), deprecated in 1.28.
7115   - serializeHalfParsedText() and the helpers unserializeHalfParsedText(),
7116     isValidHalfParsedText(), and StripState::getSubState() and
7117     StripState::merge(), all deprecated in 1.31. The helper functions
7118     LinkHolderArray::mergeForeign() and LinkHolderArray::getSubArray()
7119     were also removed.
7120   - getConverterLanguage(), deprecated in 1.32. Use getTargetLanguage() instead.
7121   - A large set of methods exposed only for historical reasons, deprecated in
7122     1.34, have now been removed or made private:
7123     - areSubpagesAllowed()
7124     - armorLinks()
7125     - createAssocArgs()
7126     - doAllQuotes()
7127     - doDoubleUnderscore()
7128     - doHeadings()
7129     - doMagicLinks()
7130     - formatHeadings()
7131     - getImageParams()
7132     - getVariableValue()
7133     - initialiseVariables()
7134     - makeKnownLinkHolder()
7135     - maybeDoSubpageLink()
7136     - parseLinkParameter()
7137     - replaceExternalLinks()
7138     - replaceInternalLinks()
7139     - replaceInternalLinks2()
7140     - replaceLinkHoldersText().
7141     - splitWhitespace()
7142     - stripAltText()
7143     - testPreprocess()
7144     - testPst()
7145     - testSrvus()
7146   - incrementIncludeSize(), setTransparentTagHook(), replaceTransparentTags(),
7147     and $mTransparentTagHooks have been removed without deprecation.
7148   - The following constants have been made private without deprecation:
7149     - ::EXT_LINK_ADDR
7150     - ::EXT_IMAGE_REGEX
7151     - ::SPACE_NOT_NL
7152   - The following properties have been removed without deprecation:
7153     - ::$mDefaultStripList
7154     - ::$mIncludeCount
7155     - ::$mRevIdForTs
7156   - The following properties have been made private without deprecation:
7157     - ::$mFunctionSynonyms
7158     - ::$mFunctionTagHooks
7159     - ::$mStripList
7160     - ::$mVarCache
7161     - ::$mImageParams
7162     - ::$mImageParamsMagicArray
7163     - ::$mSubstWords
7164     - ::$mVariables
7165     - ::$mConf (deprecated in 1.34)
7166     - ::$mExtLinkBracketedRegex
7167     - ::$mUrlProtocols
7168     - ::$mAutonumber
7169     - ::$mLinkHolders
7170     - ::$mDefaultSort
7171     - ::$mTplRedirCache
7172     - ::$mForceTocPosition
7173     - ::$mTplDomCache
7174     - ::$mOutputType
7175     - ::$mLangLinkLanguages
7176     - ::$currentRevisionCache
7177     - ::$mProfiler
7178     - ::$mLinkRenderer
7179   - Parser::getTitle() will now throw a TypeError if $mTitle is uninitialized.
7180     This use pattern was deprecated in 1.34.
7181   - ContentHandler::makeParserOptions(), deprecated in 1.32, was removed. Use
7182     WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
7183   - The ParserAfterUnstrip hook, believed to be unused, was removed without
7184     deprecation.
7185   - Preprocessor_DOM and related classes, deprecated in 1.34, have been removed.
7186     Consequently, the related ParserOptions::getMaxGeneratedPPNodeCount() and
7187     ::setMaxGeneratedPPNodeCount() have been removed without deprecation.
7188   - The support for the old signature for ParserFactory::__construct, which was
7189     deprecated in 1.34, has been removed.
7190   - Parser::getDefaultPreprocessorClass(), deprecated in 1.34, has been removed.
7191 * MediaWikiTestCase::prepareServices(), deprecated in 1.32, has been removed
7192 * The method ContentHandler::getSlotDiffRendererInternal is replaced with
7193   ContentHandler::getSlotDiffRendererWithOptions. This breaks consumers which
7194   call parent::getSlotDiffRendererInternal (no instances of which are known).
7195 * TextContent::getHighlightHtml, deprecated since 1.24, has been removed. Use
7196   TextContent::getHtml instead.
7197 * ExtensionRegistry::load(), deprecated in 1.34, was removed. Instead, use
7198   ExtensionRegistry::queue().
7199 * MWMessagePack class, deprecated in 1.34, was removed.
7200 * The cdb.php maintenance script was removed. Use the 'cdb' command from the
7201   wikimedia/cdb library instead.
7202 * User::addNewUserLogEntryAutoCreate, deprecated in 1.27, was removed.
7203 * FileBasedSiteLookup class, deprecated in 1.33, was removed.
7204 * The wfGlobalCacheKey global function, deprecated in 1.30, was removed.
7205 * The APCBagOStuff class was removed. MediaWiki requires PHP 7.2+ (support
7206   for HHVM was dropped) and these versions of PHP only support apcu. The default
7207   "apc" entry in $wgObjectCaches now refers to APCUBagOStuff.
7208 * Database::bufferResults(), deprecated in 1.34, has been removed.
7209 * CannotReplaceActiveServiceException, ContainerDisabledException,
7210   DestructibleService, NoSuchServiceException, SalvageableService,
7211   ServiceAlreadyDefinedException, ServiceContainer and ServiceDisabledException
7212   in the global namespace, deprecated in 1.33, were removed. Use the classes in
7213   the MediaWiki\\Services namespace instead.
7214 * The following methods in the Interwiki class were removed: ::fetch(),
7215   ::isValidInterwiki(), ::invalidateCache(), and ::getAllPrefixes().
7216 * The UsersMultiselectWidget config 'allowArbitrary' is now false by default. To
7217   accept arbitrary entries, pass in true for this config.
7218 * OutputPage::parse() and OutputPage::parseInline(), deprecated in 1.32, have
7219   been removed. Use ::parseAsContent() or ::parseAsInterface(), as
7220   appropriate.
7221 * WikiPage::selectFields, deprecated in 1.31, was removed. Use ::getQueryInfo.
7222 * The remaining static methods for MagicWord, deprecated in 1.32, were removed.
7223   These were MagicWord::get(), ::getSubstIDs(), ::getDoubleUnderscoreArray(),
7224   ::getVariableIDs(), and ::getCacheTTL(). Instead, use MagicWordFactory (via
7225   MediaWikiServices).
7226 * ApiBase::checkTitleUserPermissions no longer accepts a User as the third
7227   parameter. Passing a user was deprecated in 1.33.
7228 * Sanitizer::setupAttributeWhitelist() and Sanitizer::attributeWhitelist(),
7229   deprecated in 1.34, have been removed. They should not have been public.
7230 * Passing a sequential array as the second parameter to
7231   Sanitizer::validateAttributes() has been deprecated; use an associative
7232   array where keys are the allowed attributes.
7233 * The $warnCallback parameter to Sanitizer::removeHTMLtags, deprecated since
7234   its introduction in 1.28, has been removed.
7235 * SpecialRecentChanges::filterByCategories(), deprecated in 1.31, was removed.
7236 * The `ArticleContentViewCustom` hook, deprecated in 1.32, was removed.
7237 * AuthManager::callLegacyAuthPlugin, deprecated in 1.33, was removed.
7238 * wfGetMessageCacheStorage was removed without deprecation.
7239 * Title::moveSubpages, deprecated in 1.34, was removed. Use the MovePage class
7240   and MovePage::moveSubpages instead.
7241 * Article::doEditContent, deprecated in 1.29, was removed. Instead, use
7242   WikiPage::doEditContent.
7243 * CommentStore::newKey, deprecated in 1.31, was removed.
7244 * EditPage::$hookError was changed from public to private.
7245 * Title::isValidMoveOperation, ::moveTo, and ::isValidMoveTarget, deprecated
7246   in 1.25, were removed. Use the MovePage class and its methods instead.
7247 * Title::getUserCaseDBKey(), deprecated in 1.33, was removed. Use ::getDBkey().
7248 * StringUtils::explodeMarkup() was removed without deprecation.
7249 * AjaxResponse methods that were unused have been removed without deprecation:
7250   - checkLastModified
7251   - loadFromMemcached
7252   - storeInMemcached
7253   - setCacheDuration
7254   - setVary
7255 * ApiDelete::delete and ::deleteFile, both of which were protected methods,
7256   have been made private to allow a signature change.
7257 * HistoryPager::revLink, ::curLink, ::lastLink, and ::diffButtons, which had
7258   no visibilities defined, have been made private to allow signature changes.
7259 * SpecialNewpages::revisionFromRcResult, which previously was protected, has
7260   been made private to allow a signature change.
7261 * DifferenceEngine::$mOldRev and $mNewRev, deprecated for public access in
7262   1.32, have been removed.
7263 * DifferenceEngine::revisionDeleteLink, which was previosuly protected, has
7264   been made private to allow a signature change.
7265 * DifferenceEngine::getParserOutput, which is protected, has had a breaking
7266   signature change: the second parameter must be a RevisionRecord object,
7267   rather than a Revision object.
7268 * WikiPage::setLastEdit, which was previously protected, has been made
7269   private to allow a signature change.
7270 * Skin::getSkinNameMessages() deprecated in 1.34, has been removed.
7271 * Skin::escapeSearchLink() deprecated in 1.34, has been removed, use
7272   Skin::getSearchLink() instead.
7273 * Skin::shouldPreloadLogo() deprecated in  1.32, has been removed.
7274 * Revision::loadFromId and RevisionStore::loadRevisionFromId have been
7275   removed.
7276 * OutputPage::parserOptions doesn't accept an $options parameter anymore.
7277 * MessageCache::getParserOptions previously did not have a visibility set.
7278   It has been made private.
7279 * SpecialUndelete::showDiff previously did not have a visibilty set. It
7280   hav been made private to allow a signature change.
7281 * The Skin no longer loads the "mediawiki.legacy.shared" or
7282   "mediawiki.legacy.commonPrint" modules. The legacy shared styles must now
7283   be loaded by the skin explicitly, either inherited via the
7284   "mediawiki.skinning.*" modules, or by making your skin's main styles
7285   module use the ResourceLoaderSkinModule class with the "legacy" attribute.
7286   See Vector and Monobook for examples.
7287 * Passing an ApiMain to the constructor of ApiResult is no longer supported.
7288   This was deprecated in 1.25.
7289 * ResourceLoaderWikiModule::invalidateModuleCache has been declared to
7290   be @internal as part of a signature change. No known uses exist outside
7291   of MediaWiki core.
7292 * The ArticleAfterFetchContentObject hook, deprecated in 1.32, was removed.
7293   Use ArticleRevisionViewCustom to control output.
7294 * DatabaseBlock::isValid, deprecated in 1.33, was removed.
7295 * HTMLUserTextField and HTMLUsersMultiselectField previously implied
7296   required=true when exists=true. Form fields that use exists=true should also
7297   set required=true if they are required.
7298 * In DatabaseUpdater, the following methods are no longer public: dropTable(),
7299   modifyTable(), modifyField(), runMaintenance(), copyFile(), appendLine().
7300   In PostgresUpdater, the following methods are no longer public:
7301   addPgEnumValue(), addPgIndex(), addPgExtIndex(). This change was made without
7302   deprecation due to immediate danger of data corruption and loss, see T157651.
7303   Extensions should instead use dropExtensionTable(),
7304   modifyExtensionExtensionTable(), modifyExtensionField(), addExtensionUpdate().
7305   The addExtensionUpdate() method can still be used to access any of the
7306   protected methods on DatabaseUpdater.
7307 * ResourceLoader no longer provides the (always-true) variables for wgEnableAPI
7308   and wgEnableWriteAPI; they were deprecated in MediaWiki 1.31 and removed from
7309   the PHP environment in MediaWiki 1.32.
7310 * The wfSetupSession global function, deprecated in 1.27, was removed. Use the
7311   persist() method of the right MediaWiki\Session\SessionManager object instead.
7312 * The wfIsHHVM global function, deprecated in 1.34, was removed.
7313 * GenderCache::doTitlesArray no longer accepts string values in its $titles
7314   array parameter. Use Title objects (or other LinkTarget) instead.
7315 * Unused CommentStore::MAX_COMMENT_LENGTH has been removed.
7316 * User::checkTemporaryPassword() and User::checkPassword(), deprecated in 1.27,
7317   were removed. Use AuthManager instead.
7318 * All constants and class functions now have explicit visibility modifiers. This
7319   means, per [[mw:Stable interface policy]], that these should now be considered
7320   stable. This also helps MW align with PSR 2 and PSR 12. This was done based on
7321   audits of the corpus of skins and extensions hosted in Gerrit. If you find any
7322   that you need to be less restrictive (i.e. public or protected), please report
7323   these so that we can re-evaluate or suggest workarounds.
7324 * BaseTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg() or
7325   ->getMsg() instead.
7326 * QuickTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg()
7327   instead.
7328 * WebInstaller::getErrorBox() and ::getWarningBox(), deprecated in 1.34,
7329   were removed. Use Html::errorBox() or ::warningBox() instead.
7330 * SpecialVersion::getExtensionCredits() and SpecialVersion::getSkinCredits()
7331   have become private without deprecation.
7332 * As part of the migration to a new hook system (T240307), the following classes
7333   now require an additional HookContainer constructor parameter:
7334     - AuthManager
7335     - BadFileLookup
7336     - BlockManager
7337     - ClassicInterwikiLookup
7338     - ContentHandlerFactory
7339     - ContentSecurityPolicy
7340     - DefaultOptionsManager
7341     - DerivedPageDataUpdater
7342     - FullSearchResultWidget
7343     - HtmlCacheUpdater
7344     - LanguageFactory
7345     - LanguageNameUtils
7346     - LinkRenderer
7347     - LinkRendererFactory
7348     - LocalisationCache
7349     - MagicWordFactory
7350     - MessageCache
7351     - NamespaceInfo
7352     - PageEditStash
7353     - PageHandlerFactory
7354     - PageUpdater
7355     - ParserFactory
7356     - PermissionManager
7357     - RevisionStore
7358     - RevisionStoreFactory
7359     - Router
7360     - SearchEngineConfig
7361     - SearchEngineFactory
7362     - SearchFormWidget
7363     - SearchNearMatcher
7364     - SessionBackend
7365     - SpecialPageFactory
7366     - UserNameUtils
7367     - UserOptionsManager
7368     - WatchedItemQueryService
7369     - WatchedItemStore
7370 * The following classes now require setHookContainer() to be called after
7371   construction:
7372     - AuthenticationProvider
7373     - ResourceLoaderModule
7374     - SearchEngine
7375 * The parameters to ChronologyProtector::getTouched() and
7376   ILBFactory::getChronologyProtectorTouched() were changed without backwards
7377   compatibility.
7378 * The deprecated $blacklist parameter to wfIsBadImage() has been removed.
7379 * SpecialBlock::checkUnblockSelf no longer accepts an integer representing
7380   an user ID as part of ongoing refactoring of SpecialBlock class.
7381 * User::setInternalPassword() and User::setPassword(), deprecated in 1.27, have
7382   been removed. Use User::changeAuthenticationData() instead.
7383 * User::selectFields(), deprecated in 1.31, has been removed. Use
7384   User::getQueryInfo() instead.
7385 * The "legacy" serialization type in RESTBagOStuff, deprecated in 1.34,
7386   has been removed.
7387 * The populateContentModel.php maintenance script was removed. It has
7388   been replaced by the populateContentTables.php script.
7389 * The findHooks.php maintenance script, for the old hooks system, was removed.
7390 * (T257278) Calling MediaWiki\Shell\Command::restrict() will now overwrite
7391   any previous restrictions rather than adding to them, making it possible to
7392   disable the default restrictions.
7394 === Deprecations in 1.35 ===
7395 * The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4, is
7396   now deprecated. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
7397   support.
7398 * LockManagerGroup::getDefault() and LockManagerGroup::getAny() are deprecated.
7399   They seem to be unused. Just use get() directly, and catch any exception.
7400 * AbstractBlock::getPermissionsError and AbstractBlock::getBlockErrorParams are
7401   deprecated. Use BlockErrorFormatter::getMessage instead.
7402 * The IP class is deprecated. Please instead use the Wikimedia\IPUtils class
7403   from the new wikimedia/ip-utils library instead. Additionally, the RE_IP_*
7404   constants are also deprecated. RE_IP_BYTE can be replaced with a class
7405   constant on the IPUtils class, while the others will eventually be made
7406   private.
7407 * The following Language methods are deprecated: getFallbackFor,
7408   getFallbacksFor, getFallbacksIncludingSiteLanguage. Use the corresponding new
7409   methods on the LanguageFallback class: getFirst, getAll, and
7410   getAllIncludingSiteLanguage.
7411 * FileJournal::factory is deprecated. Use the constructor directly instead.
7412 * AbstractBlock methods setBlocker(), getBlocker() are deprecated and will
7413   become internal implementation of DatabaseBlock.
7414 * Title::countRevisionsBetween has been deprecated and moved into RevisionStore.
7415 * FileBackendGroup::singleton() is deprecated. Use MediaWikiServices instead.
7416 * FileBackendGroup::destroySingleton() is deprecated. Test frameworks should
7417   instead reset MediaWikiServices between test runs.
7418   (MediaWikiIntegrationTestCase does this automatically.)
7419 * GenderCache::singleton(), deprecated in 1.28, is hard deprecated. Use
7420   MediaWikiServices::getGenderCache() instead.
7421 * MediaWikiIntegrationTest::setContentLang() has been deprecated. Use
7422   setMwGlobals( 'wgLanguageCode', 'xxx' ) to set a different site language
7423   code, or setService( 'ContentLanguage', $myObj ) to set a specific Language
7424   object. Service resets and $wgContLang will be handled automatically.
7425 * MediaWikiIntegrationTest::assertType() has been deprecated, as part of the
7426   work to move to PHPUnit 8; PHPUnit's assertInternalType() was deprecated, and
7427   will be removed in PHPUnit 9. MediaWikiIntegrationTest::assertTypeOrValue(),
7428   a wrapper for assertType(), has been removed immediately, without deprecation.
7429 * AbstractBlock::getReason is deprecated, since reasons are actually stored as
7430   CommentStoreComments, and getReason returns a string with no caller control
7431   over language or formatting. Instead use AbstractBlock::getReasonComment,
7432   which returns the CommentStoreComment.
7433 * The global function wfGetRusage() is deprecated and will now always call the
7434   getrusage() function without checking for its existence.
7435 * The properties User::mBlock, User::mBlockedby and User::mHideName are
7436   deprecated. Instead, use User::getBlock to get the block, then use
7437   AbstractBlock::getByName or AbstractBlock::getHideName.Use the GetUserBlock
7438   hook to set, unset or modify a block, including hiding or unhiding a user.
7439 * Directly calling the MergeHistory constructor is deprecated. Instead, use the
7440   new MergeHistoryFactory class.
7441 * Language::factory() and Language::getParentLanguage() are deprecated, and so
7442   is directly calling the Language constructor. Use the new LanguageFactory
7443   class instead.
7444 * Language::classFromCode() is deprecated. There is no reason it should be used
7445   outside the Language class itself.
7446 * Language::clearCaches() is deprecated. Instead, reset all services and set
7447   Language::$mLangObjCache = [].
7448 * The following functions from Language class are deprecated in favour of
7449   respective functions in LanguageConverter:
7450   - autoConvert
7451   - autoConvertToAllVariants
7452   - convert
7453   - convertTitle
7454   - convertNamespace
7455   - hasVariants
7456   - hasVariant
7457   - convertHtml
7458   - convertCategoryKey
7459   - getVariants
7460   - getPreferredVariant
7461   - getURLVariant
7462   - findVariantLink
7463   - getExtraHashOptions
7464   - updateConversionTable
7465 * Language::classFromCode() is hard deprecated and should be removed in 1.36
7466 * Language::getConverter() is deprecated and should be removed in 1.36
7467 * Language::MESSAGES_FALLBACKS, Language::STRICT_FALLBACKS were deprecated.
7468   Use LanguageFallback::MESSAGES and LanguageFallback::STRICT respectively
7469 * Language::$mLangObjCache is deprecated and should be removed in 1.36. Use
7470   MediaWikiServices instead to get a LanguageFactory.
7471 * Language::getMessagesFor(), getMessageFor(), and getMessageKeysFor() are
7472   deprecated. Use LocalisationCache's getItem(), getSubitem(), and
7473   getSubitemList() methods directly.
7474 * OutputPage::getCSPNonce() is deprecated, use OutputPage::getCSP()->getNonce()
7475   instead.
7476 * DerivedPageDataUpdater::prepareUpdate accepted as its second parameter an
7477   optional array of options. Specifying the value of the `oldrevision` key of
7478   the array to be a Revision object, rather than a RevisionRecord object, is
7479   hard deprecated. The same applies to the options parameter in
7480   WikiPage::doEditUpdates.
7481 * Skin::makeI18nUrl() and makeNSUrl() have been deprecated, no longer used.
7482 * Title::countAuthorsBetween and Title::getAuthorsBetween were hard deprecated.
7483   Use respective methods in RevisionStore instead.
7484 * Remove deprecated SkinCopyrightFooter &$forContent parameter
7485 * The following Language class static variables have been replaced with
7486   constants and deprecated: $mWeekdayMsgs, $mWeekdayAbbrevMsgs, $mMonthMsgs,
7487   $mMonthGenMsgs, $mMonthAbbrevMsgs, $mIranianCalendarMonthMsgs,
7488   $mHebrewCalendarMonthMsgs, $mHebrewCalendarMonthGenMsgs,
7489   $mHijriCalendarMonthMsgs and $durationIntervals.
7490 * As part of dropping security support for IE 6 and IE 7,
7491   WebRequest::checkUrlExtension() has been deprecated, and now always returns
7492   true.
7493 * The following ApiBase::PARAM_* constants have been deprecated in favor of
7494   equivalent ParamValidator constants: PARAM_DFLT, PARAM_ISMULTI, PARAM_TYPE,
7495   PARAM_MAX, PARAM_MAX2, PARAM_MIN, PARAM_ALLOW_DUPLICATES, PARAM_DEPRECATED,
7496   PARAM_REQUIRED, PARAM_SUBMODULE_MAP, PARAM_SUBMODULE_PARAM_PREFIX, PARAM_ALL,
7497   PARAM_EXTRA_NAMESPACES, PARAM_SENSITIVE, PARAM_DEPRECATED_VALUES,
7498   PARAM_ISMULTI_LIMIT1, PARAM_ISMULTI_LIMIT2, PARAM_MAX_BYTES, PARAM_MAX_CHARS.
7499 * ApiBase::explodeMultiValue() is deprecated. Use
7500   ParamValidator::explodeMultiValue() instead.
7501 * ApiBase::parseMultiValue() is deprecated. No replacement is provided;
7502   generally this sort of thing should be handled by fully validating the
7503   parameter.
7504 * ApiBase::validateLimit() and ApiBase::validateTimestamp() are deprecated.
7505   Use ApiParamValidator::validateValue() with an appropriate settings array
7506   instead.
7507 * ContentHandler (use ContentHandlerFactory):
7508   - getForTitle
7509   - getForContent
7510   - getForModelID
7511   - getContentModels
7512   - getAllContentFormats
7513   - protected $handler (not need anymore)
7514   - cleanupHandlersCache (not need anymore)
7515 * (T212738) The $wgVersion global is deprecated; instead, use MW_VERSION.
7516 * $wgMemc is deprecated, use MediaWikiServices::getLocalServerObjectCache()
7517   instead.
7518 * ObjectCache::detectLocalServerCache() is deprecated, instead use
7519   MediaWikiServices::getLocalServerObjectCache() or
7520   ObjectCache::makeLocalServerCache().
7521 * ImagePage::getImageLimitsFromOptions() is deprecated. Use static function
7522   MediaFileTrait::getImageLimitsFromOptions() instead.
7523 * As part of work to replace the Parser, alongside the breaking changes listed
7524   above, a large number of deprecations changes been made, to simplify the API
7525   or because they will not be supported in replacement:
7526   - Parser::doBlockLevels() (and BlockLevelPass class has been marked @internal)
7527   - Parser::setFunctionTagHook()
7528   - Parser::attributeStripCallback()
7529   - Parser::fetchTemplate() - use Parser::fetchTemplateAndTitle() instead.
7530   - Parser::enableOOUI() - use $parser->getOutput()->enableOOUI() instead.
7531   - LinkHolderArray has been deprecated for public usage and will be
7532     internal part of parser.
7533   - The following parser-related hooks have been deprecated:
7534     - InternalParseBeforeSanitize
7535         Use an alternative hook which doesn't expose internal half-parsed state,
7536         like ParserBeforeInternalParse or ParserAfterTidy
7537     - ParserFetchTemplate
7538         Use BeforeParserFetchTemplateAndTitle
7539     - ParserSectionCreate
7540         No replacement; <section> tag wrapping will be done by core in future.
7541     - BeforeParserrenderImageGallery
7542         No replacement; MediaHandler provides for customizable media rendering
7543     - ParserBeforeTidy
7544         Use ParserAfterTidy instead to avoid exposing internal half-parsed state
7545     - ParserBeforeStrip
7546         No replacement; stripping is no longer supported.
7547     - ParserAfterStrip
7548         No replacement; stripping is no longer supported.
7549   - The accessor/mutator methods Parser::Options(), Parser::OutputType(), and
7550     Parser::Title() have been deprecated; use the appropriate Parser::get* or
7551     Parser::set* methods instead.
7552   - Parser::firstCallInit() has been deprecated. The parser is initialized
7553     fully on construction and so ::firstCallInit() no longer has any effect
7554     when manually invoked.
7555   - ParserOptions::setAllowExternalImages(), ::setAllowExternalImagesFrom(),
7556     and ::setEnableImageWhitelist() have been deprecated.  Future parsers
7557     will not allow per-parser configuration of image filtering; use
7558     site configuration instead.
7559   - ParserOptions::getTidy() and ParserOptions::setTidy() have been deprecated.
7560     These options no longer have any effect.
7561   - Most methods of MWTidy, except for MWTidy::tidy(), have been deprecated;
7562     tidiness is always enabled and not configurable.
7563   - Version 1 of the parserTests file format has been deprecated. You'll need to
7564     update your parser tests to version 2, which uses Remex tidy on all test
7565     output by default. Support for parser tests with Remex tidy off will later
7566     be removed entirely.
7567   - $wgParser — This global variable, soft deprecated in 1.32, has now been hard
7568     deprecated. Use MediaWikiServices::getInstance()->getParser() instead.
7569     (T160811)
7570 * The signature of DefaultPreferencesFactory::__construct has been changed:
7571   - LanguageConverter $languageConverter has been added.
7572   and its usage with old arguments is hard deprecated.
7573 * The public usage of the following properties of LanguageConverter have been
7574   deprecated as there is no reason they should be used outside the
7575   LanguageConverter class and will be changed from public to private:
7576   - mLangObj
7577   - mUcfirst
7578   - mConvRuleTitle
7579   - mURLVariant
7580   - mUserVariant
7581   - mHeaderVariant
7582   - mMaxDepth
7583   - mVarSeparatorPattern
7584   changed from public to protected:
7585   - mTables
7586 * The ArticleEditUpdatesDeleteFromRecentchanges hook has been deprecated. Please
7587   use the RecentChange_save hook or similar instead.
7588 * The ArticleEditUpdates hook has been deprecated. Please
7589   use the RevisionDataUpdates hook or similar instead.
7590 * The SkinTemplatePreventOtherActiveTabs and SkinTemplateTabAction hooks have
7591   been hard deprecated. Please use the SkinTemplateNavigation__Universal hook
7592   instead.
7593 * ResourceLoaderFileModule::compileLessFile() has been deprecated, use
7594   ResourceLoaderFileModule::compileLessString() instead
7595 * The SquidPurgeClient and SquidPurgeClientPool classes have been deprecated.
7596   Use MultiHttpClient or HtmlCacheUpdater instead.
7597 * MimeAnalyzer::getExtensionsForType() and ::getTypesForExtensions() were
7598   deprecated in favor of MimeAnalyzer::getExtensionsFromMimeType() and
7599   ::getMimeTypesFromExtension(), respectively. The new methods return arrays
7600   rather than strings.
7601 * Calling Action::factory and Action constructor with WikiPage has been
7602   hard deprecated. Caller must provide an Article instance.
7603 * ApiTestCase::doLogin, soft deprecated in 1.31, was hard deprecated.
7604 * WebRequest::getLimitOffset is hard deprecated. Instead, use
7605   ::getLimitOffsetForUser and pass a User object.
7606 * PageArchive::getPreviousRevision is hard deprecated. Instead, use the new
7607   ::getPreviousRevisionRecord method.
7608 * PageArchive::getArchivedRevision is hard deprecated. Instead, use the new
7609   ::getArchivedRevisionRecord method.
7610 * PageArchive::undelete is hard deprecated. Instead, use ::undeleteAsUser
7611   and pass a User object.
7612 * PageArchive::getRevision is hard deprecated.
7613 * EditPage::getBaseRevision was hard deprecated. Instead, use the new
7614   ::getExpectedParentRevision method.
7615 * The public variable EditPage::$mBaseRevision was hard deprecated.
7616 * FileDeleteForm previously did not accept a user parameter in its constructor,
7617   instead relying on the global $wgUser. A user parameter has been added,
7618   and //not// providing a user is deprecated. There are no known callers
7619   outside of mediawiki core.
7620 * AuthManager::singleton() has been deprecated. Use
7621   MediaWikiServices::getInstance()->getAuthManager() instead.
7622 * ContribsPager::tryToCreateValidRevision is hard deprecated. Instead, use
7623   ContribsPager::tryCreatingRevisionRecord.
7624 * The following functions all accept an optional user parameter. Not passing a
7625   user is hard deprecated, and support for calling them without passing a user
7626   will be removed in 1.36:
7627   - Title::getNotificationTimestamp (note however that the method is deprecated
7628       in its entirely in favor of the new WatchlistNotificationManager service)
7629   - PatrolLog::record
7630   - LogEventsList::userCan
7631   - LogEventsList::userCanBitfield
7632   - LogEventsList::userCanViewLogType
7633   - LogPage::addEntry
7634   - FileDeleteForm::doDelete
7635   - OldLocalFile::userCan
7636   - ArchivedFile::userCan
7637   - File::userCan
7638 * The following functions all accept an optional audience parameter and
7639   an optional user parameter. If the audience is FOR_THIS_USER and no
7640   user is passed, they fallback to $wgUser. Not passing a user when
7641   one is needed is deprecated
7642   - LogEventsList::getExcludeClause
7643   - WikiPage::getComment
7644   - WikiPage::getCreator
7645   - WikiPage::getUser
7646   - WikiPage::getUserText
7647 * UploadBase::checkWarnings now accepts a User parameter; not providing a
7648   user is soft deprecated.
7649 * Article::insertProtectNullRevision and WikiPage::insertProtectNullRevision
7650   were hard deprecated. Instead, use WikiPage::insertNullProtectionRevision.
7651 * Article::doDeleteArticle, Article::doDeleteArticleReal, and
7652   WikiPage::doDeleteArticle are all deprecated. Instead, use
7653   WikiPage::doDeleteArticleReal.
7654 * Article::getComment is deprecated. Instead, use WikiPage::getComment.
7655 * Article::getCreator is deprecated. Instead, use WikiPage::getCreator.
7656 * Article::updateRevisionOn() and ::updateIfNewerOn(), and
7657   WikiPage::updateIfNewerOn() are deprecated. Instead, use
7658   WikiPage::updateRevisionOn().
7659 * Article::getUser is deprecated. Instead, use WikiPage::getUser.
7660 * Article::getUserText is deprecated. Instead, use WikiPage::getUserText.
7661 * Article::prepareContentForEdit is hard deprecated. Instead, use
7662   WikiPage::prepareContentForEdit.
7663 * WikiPage::prepareContentForEdit previously accepted either a Revision or a
7664   RevisionRecord object as its optional second parameter. Passing a Revision
7665   is now hard deprecated.
7666 * Article::getUndoContent and WikiPage::getUndoContent are hard deprecated.
7667   Instead, use ContentHandler::getUndoContent.
7668 * Passing Revision objects to ContentHandler::getUndoContent is hard deprecated.
7669   Instead, pass the associated Content objects, as well as whether the undo is
7670   from the current revision.
7671 * Article::doDeleteUpdates and ::doEditUpdates are deprecated. Instead,
7672   use WikiPage::doDeleteUpdates and ::doEditUpdates.
7673 * WikiPage::doEditUpdates previously accepted a Revision object as its first
7674   parameter. It now accepts RevisionRecord objects, and passing Revision
7675   objects is deprecated.
7676 * Article::getRevisionFetched is deprecated. Instead, use the
7677   fetchRevisionRecord method, which has been converted from protected to
7678   public.
7679 * LocalFileDeleteBatch was migrated to a new constructor signature with the
7680   user as the second parameter. Support for the old signature is hard
7681   deprecated, and once removed the user parameter will be required. At the
7682   same time, a number of file-deletion related methods were updated
7683   - File::delete is hard deprecated in favor of the new ::deleteFile
7684   - LocalFile::delete is hard deprecated in favor of the new ::deleteFile
7685   - LocalFile::deleteOld is hard deprecated in favor of the new ::deleteOldFile
7686   - ForeignDBFile::delete is hard deprecated in favor of the new ::deleteFile
7687 * File::recordUpload (along with the respective methods in the LocalFile and
7688   ForeignDBFile classes) is hard deprecated, and LocalFile::recordUpload2 is
7689   soft deprecated. Use the new LocalFile::recordUpload3, which has a different
7690   signature and requires that a User parameter is passed.
7691 * The SpecialPageFactory class was moved from the MediaWiki\Special namespace
7692   to the MediaWiki\SpecialPage namespace. The old location remains as a
7693   deprecated alias.
7694 * Title::userCan, ::quickUserCan, and ::getUserPermissionsErrors, which
7695   were deprecated in 1.33, were hard deprecated. Instead, use
7696   PermissionManager::userCan, ::quickUserCan, and ::getPermissionErrors.
7697 * All methods of the old SpecialPageFactory, deprecated in 1.32, were hard
7698   deprecated. Instead, get a SpecialPageFactory from MediaWikiServices and
7699   use its methods.
7700 * User::updateNewtalk now accepts as its optional third parameter a
7701   RevisionRecord object; passing a Revision is hard deprecated.
7702 * User::getNewMessageRevisionId and ::getNewMessageLinks were hard deprecated.
7703 * DifferenceEngine::getRevisionHeader now accepts a RevisionRecord as its
7704   first parameter; passing a Revision is hard deprecated.
7705 * WikiPage::doDeleteUpdates now accepts as its optional third parameter
7706   a RevisionRecord object; passing a Revision is hard deprecated.
7707 * WikiPage::onArticleEdit now accepts as its optional second parameter
7708   a RevisionRecord object; passing a Revision is hard deprecated.
7709 * Global $wgUser variable was soft deprecated.
7710 * The Revision class was soft deprecated entirely in 1.31. All methods
7711   have now been individually hard deprecated:
7712   - ::__construct - create MutableRevisionRecord objects instead
7713   - ::newFromId - use RevisionLookup::getRevisionById instead
7714   - ::newFromTitle - use RevisionLookup::getRevisionByTitle instead
7715   - ::newFromPageId - use RevisionStore::getRevisionByPageId instead
7716   - ::newFromArchiveRow - use RevisionFactory::newRevisionFromArchiveRow
7717   - ::newFromRow - use RevisionStore::newRevisionFromRow instead
7718   - ::loadFromPageId - use RevisionStore::getRevisionByPageId instead
7719   - ::loadFromTitle - use RevisionStore::getRevisionByTitle instead
7720   - ::loadFromTimestamp - use RevisionStore::getRevisionByTimestamp instead
7721   - ::getQueryInfo - use RevisionStore::getQueryInfo instead
7722   - ::getArchiveQueryInfo - use RevisionStore::getArchiveQueryInfo instead
7723   - ::getParentLengths - use RevisionStore::getRevisionSizes instead
7724   - ::getRevisionRecord - no replacement
7725   - ::getId - use RevisionRecord::getId instead
7726   - ::setId - use MutableRevisionRecord::setId instead
7727   - ::setUserIdAndName - use MutableRevisionRecord::setUser instead
7728   - ::getTextId - use SlotRecord::getContentAddress for retrieving an actual
7729       content address, or RevisionRecord::hasSameContent to compare content
7730   - ::getParentId - use RevisionRecord::getParentId instead
7731   - ::getSize - use RevisionRecord::getSize instead
7732   - ::getSha1 - use RevisionRecord::getSha1 instead
7733   - ::getTitle - use RevisionRecord::getPageAsLinkTarget instead
7734   - ::setTitle - the method was previously a no-op
7735   - ::getPage - use RevisionRecord::getPageId instead
7736   - ::getUser - use RevisionRecord::getUser and then User::getId instead
7737   - ::getUserText - use RevisionRecord::getUser and then User::getName instead
7738   - ::getComment - use RevisionRecord::getComment instead
7739   - ::isMinor - use RevisionRecord::isMinor instead
7740   - ::isUnpatrolled - use RevisionStore::getRcIdIfUnpatrolled instead
7741   - ::getRecentChange - use RevisionStore::getRecentChange instead
7742   - ::isDeleted - use RevisionRecord::isDeleted instead
7743   - ::getVisibility - use RevisionRecord::getVisibility instead
7744   - ::getContent - use RevisionRecord::getContent instead
7745   - ::getSerializedData - use SlotRecord::getContent for retrieving a
7746       content object, and Content::serialize for the serialized form
7747   - ::getContentModel - use SlotRecord::getModel instead
7748   - ::getContentFormat - use SlotRecord::getFormat instead, with a fallback
7749        to ContentHandler::getDefaultFormat
7750   - ::getContentHandler - use ContentHandlerFactory::getContentHandler instead
7751   - ::getTimestamp - use RevisionRecord::getTimestamp instead
7752   - ::isCurrent - use RevisionRecord::isCurrent instead
7753   - ::getPrevious - use RevisionLookup::getPreviousRevision instead
7754   - ::getNext - use RevisionLookup::getNextRevision instead
7755   - ::getRevisionText - use RevisionRecord::getContent instead
7756   - ::compressRevisionText - use SqlBlobStore::compressData instead
7757   - ::decompressRevisionText - use SqlBlobStore::decompressData instead
7758   - ::insertOn - use RevisionStore::insertRevisionOn instead
7759   - ::base36Sha1 - use SlotRecord::base36Sha1 instead
7760   - ::newNullRevision - use RevisionStore::newNullRevision
7761   - ::userCan - use RevisionRecord::userCanBitfield instead
7762   - ::userCanBitfield - use RevisionRecord::userCanBitfield instead
7763   - ::getTimestampFromId - use RevisionStore::getTimestampFromId instead
7764   - ::countByPageId - use RevisionStore::countRevisionsByPageId instead
7765   - ::countByTitle - use RevisionStore::countRevisionsByTitle instead
7766   - ::userWasLastToEdit - use RevisionStore::userWasLastToEdit instead
7767   - ::newKnownCurrent - use RevisionStore::getKnownCurrentRevision instead
7768 * The Revision method had a few methods that were previously protected and
7769   have been made private. They were:
7770   - ::getRevisionStore
7771   - ::getRevisionLookup
7772   - ::getRevisionFactory
7773   - ::getBlobStore
7774   The $mRecord variable was also changed from protected to private.
7775 * Multiple hooks that include Revision objects were deprecated. The hooks, as
7776   well as suitable replacements, are noted below:
7777   - ArticleRevisionUndeleted (hard deprecated, use the RevisionUndeleted hook)
7778   - ArticleRollbackComplete (hard deprecated, use the RollbackComplete hook)
7779   - DiffRevisionTools (hard deprecated, use the DiffTools hook)
7780   - DiffViewHeader (hard deprecated, use the DifferenceEngineViewHeader hook)
7781   - HistoryRevisionTools (hard deprecated, use the HistoryTools hook)
7782   - NewRevisionFromEditComplete (hard deprecated, use the
7783       RevisionFromEditComplete hook).
7784   - PageContentInsertComplete (hard deprecated, use the PageSaveComplete hook)
7785   - PageContentSaveComplete (hard deprecated, use the PageSaveComplete hook)
7786   - RevisionInsertComplete (soft deprecated in 1.31, now hard deprecated)
7787   - TitleMoveCompleting (hard deprecated, use the PageMoveCompleting hook)
7788   - TitleMoveComplete (hard deprecated, use the PageMoveComplete hook)
7789   - UndeleteShowRevision (hard deprecated)
7790 * The following RevisionStore methods were deprecated:
7791   - ::loadRevisionFromTitle
7792   - ::loadRevisionFromTimestamp
7793   - ::loadRevisionFromPageId
7794   - ::listRevisionSizes
7795 * WikiPage::$mLastRevision was changed from protected to private.
7796 * RecentChange::markPatrolled was deprecated. Use ::doMarkPatrolled instead.
7797 * The JobRunner class has been converted to a service class.
7798   Direct construction is deprecated, use MediaWikiServices::getJobRunner.
7799 * JobRunner::setLogger has been deprecated, thus using JobRunner as a
7800   LoggerAwareInterface is deprecated as well. Rely on the logger passed in the
7801   constructor instead.
7802 * LogEventsList::typeAction accepts an optional right to check against as
7803   the fourth parameter. Specifying such a right is deprecated.
7804 * SkinTemplate::makeArticleUrlDetails has been deprecated, no longer used.
7805 * Passing a Revision object into CategoryMembershipChange constructor is
7806   deprecated. Pass a RevisionRecord instead.
7807 * The "mediawiki.legacy.oldshared" module has been deprecated.
7808   Skins and extensions that are using this should copy its necessary CSS rules
7809   to their own styles module. CologneBlue and Nostalgia skins serve as examples.
7810 * The "mediawiki.legacy.shared" module has been deprecated.
7811   Use the "mediawiki.skinning.*" modules, or ResourceLoaderSkinModule instead.
7812 * The following hooks, soft deprecated in 1.24, have been hard deprecated:
7813   - APIQueryInfoTokens
7814   - APIQueryRecentChangesTokens
7815   - APIQueryRevisionsTokens
7816   - APIQueryUsersTokens
7817   - ApiTokensGetTokenTypes
7818 * Calling Action::factory and Action constructor with any Page implementations
7819   other than Article is deprecated.
7820 * Action::page property is deprecated for direct access.
7821   Use Action::getArticle or Action::getWikiPage instead.
7822 * LESS `.background-image-svg()` mixin from 'mediawiki.mixins.less' is
7823   deprecated and should be removed in 1.36.
7824 * LESS `.background-image-svg-quick()` mixin from 'mediawiki.mixins.less' is
7825   deprecated and should be removed in 1.36.
7826 * The following methods were deprecated:
7827   - Title::getFirstRevision (hard deprecated)
7828   - Title::getEarliestRevTime
7829   - WikiPage::getOldestRevision (hard deprecated)
7830   - Article::getOldestRevision (hard deprecated)
7831   Use RevisionStore::getFirstRevision instead.
7832 * WikiPage::commitRollback and ::doRollback are declared to be internal
7833   in preparation for breaking changes. Neither method has any known
7834   callers outside of MediaWiki core. Both methods modify an array passed
7835   by reference ($resultDetails) - accessing the Revision objects added to
7836   that array (using the keys `current` and `target`) is also deprecated.
7837 * The following Linker methods previously accepted Revision objects as
7838   parameters. They now accept either Revision or RevisionRecord objects.
7839   Passing a Revision object is hard deprecated.
7840   - ::revUserLink
7841   - ::revUserTools
7842   - ::revComment
7843   - ::generateRollback
7844   - ::getRollbackEditCount
7845   - ::buildRollbackLink
7846   - ::getRevDeleteLink
7847 * WikiPage::hasDifferencesOutsideMainSlot previously accepted Revision
7848   objects for its two parameters. It now accepts RevisionRecord objects,
7849   and passing Revision objects is hard deprecated.
7850 * WikiPage::updateRevisionOn previously accepted Revision objects for its
7851   second parameter. It now accepts RevisionRecord objects, and passing
7852   Revision objects is hard deprecated.
7853 * The ParserGetVariableValueVarCache hook has been deprecated.
7854 * When using the ParserGetVariableValueSwitch hook, the following unusual
7855   uses have been deprecated: modifying the passed $magicWordId or failing to
7856   cache the returned value in $variableCache.  The related
7857   MagicWordwgVariableIDs hook has been deprecated and renamed; use
7858   the GetMagicVariableIDs hook instead.
7859 * The following Parser properties have been deprecated:
7860   - ::$mTagHooks
7861   - ::$mFunctionHooks
7862   - ::$mMarkerIndex
7863   - ::$mFirstCall
7864   - ::$mPreprocessor
7865   - ::$mOutput
7866   - ::$mStripState
7867   - ::$mLinkID
7868   - ::$mIncludeSizes
7869   - ::$mPPNodeCount
7870   - ::$mGeneratedPPNodeCount
7871   - ::$mHighestExpansionDepth
7872   - ::$mDoubleUnderscores
7873   - ::$mExpensiveFunctionCount
7874   - ::$mShowToc
7875   - ::$mUser
7876   - ::$mOptions
7877   - ::$mTitle
7878   - ::$ot
7879   - ::$mRevisionObject
7880   - ::$mRevisionId
7881   - ::$mRevisionTimestamp
7882   - ::$mRevisionUser
7883   - ::$mRevisionSize
7884   - ::$mInputSize
7885   - ::$mInParse
7886 * LinksUpdate::getRevision and ::setRevision are hard deprecated in favor
7887   of the new ::getRevisionRecord and ::setRevisionRecord methods.
7888 * A large number of exposed variables and methods of Article were deprecated as
7889   part of its planned removal:
7890   - Article::$mContext is deprecated; use getContext()/setContext() instead.
7891   - Article::__get(), ::__set() are hard deprecated, use the WikiPage properties
7892     instead.
7893   - These Article methods were hard deprecated; use their WikiPage equivalents:
7894     - ::checkFlags,
7895     - ::checkTouched,
7896     - ::clearPreparedEdit,
7897     - ::commitRollback,
7898     - ::doDeleteArticleReal,
7899     - ::doEditContent,
7900     - ::doPurge,
7901     - ::doRollback,
7902     - ::doUpdateRestrictions,
7903     - ::doViewUpdates,
7904     - ::exists,
7905     - ::followRedirect,
7906     - ::getContentHandler,
7907     - ::getContentModel,
7908     - ::getContributors,
7909     - ::getDeletionUpdates,
7910     - ::getHiddenCategories,
7911     - ::getId,
7912     - ::getLatest,
7913     - ::getLinksTimestamp,
7914     - ::getMinorEdit,
7915     - ::getRedirectTarget,
7916     - ::getRedirectURL,
7917     - ::getTimestamp,
7918     - ::getTouched,
7919     - ::hasViewableContent,
7920     - ::insertOn,
7921     - ::insertRedirect,
7922     - ::insertRedirectEntry,
7923     - ::isCountable,
7924     - ::isRedirect,
7925     - ::loadFromRow,
7926     - ::loadPageData,
7927     - ::lockAndGetLatest,
7928     - ::makeParserOptions,
7929     - ::pageDataFromId,
7930     - ::pageDataFromTitle,
7931     - ::prepareContentForEdit,
7932     - ::protectDescription,
7933     - ::protectDescriptionLog,
7934     - ::replaceSectionAtRev,
7935     - ::setTimestamp,
7936     - ::shouldCheckParserCache,
7937     - ::supportsSections,
7938     - ::triggerOpportunisticLinksUpdate,
7939     - ::updateCategoryCounts, and
7940     - ::updateRedirectOn.
7941   - Article::generateReason() was hard deprecated; instead, please use
7942     WikiPage::getAutoDeleteReason().
7943   - Article::replaceSectionContent() was hard deprecated, use
7944     Article::replaceSectionAtRev() instead.
7945   - Article::getRevision and WikiPage::getRevision were hard deprecated in favor
7946     of the new WikiPage::getRevisionRecord method.
7947 * A new UserNameUtils service was introduced. The following User methods
7948   were deprecated in favor of using the new service:
7949   - isIP
7950   - isIPRange
7951   - isValidUserName
7952   - isUsableName
7953   - isCreatableName
7954   - getCanonicalName
7955 * The signature of WikiPage::doDeleteArticleReal was changed to make the user
7956   the second parameter, and the suppression option the third parameter.
7957   Previously, the third parameter was unused. Using the old signature is
7958   hard deprecated.
7959 * ApiQueryRevisions::getRollbackToken, which has been soft deprecated since
7960   1.24, accepted as its third parameter a Revision object. It now accepts
7961   a RevisionRecord, and passing a Revision is hard deprecated.
7962 * Passing Article to ParserCache::get() was deprecated
7963 * ParserOptions::newCanonical() with no first parameter, or null as the first
7964   parameter, which falls back to using global $wgUser, is hard deprecated.
7965 * Parser::fetchCurrentRevisionOfTitle, ::statelessFetchRevision, and
7966   ::getRevisionObject were hard deprecated in favor of the new
7967   ::fetchCurrentRevisionRecordOfTitle, ::statelessFetchRevisionRecord,
7968   and ::getRevisionRecordObject methods respectively.
7969 * ParserOptions::getCurrentRevisionCallback and ::setCurrentRevisionCallback
7970   were hard deprecated in favor of the new ::getCurrentRevisionRecordCallback
7971   and ::setCurrentRevisionRecordCallback methods respectively.
7972 * Parser::statelessFetchTemplate returns an array; accessing the Revision
7973   object returned (via the `revision` key to the array) is deprecated. Instead,
7974   use `revision-record` to retrieve the equivalent RevisionRecord.
7975 * WikiPage::doEditContent returns an array, and PageUpdater::getStatus returns
7976   a Status object with an array value. For both of those arrays, accessing the
7977   Revision object returned (via the `revision` key to the array) is deprecated.
7978   Instead, use `revision-record` to retrieve the equivalent RevisionRecord.
7979 * Page interface was deprecated. Use Article or WikiPage instead.
7980 * The following DatabaseBlock methods are deprecated because they are no longer
7981   needed in core: chooseBlock, fromMaster, deleteIfExpired.
7982 * wfGetScriptUrl() was deprecated. The script URL should be configured rather
7983   than detected. wfScript() can be used to get a configured script URL.
7984 * Action::factory() with null $action argument is hard deprecated
7985 * The following methods of the User class were deprecated: getDefaultOptions,
7986   getDefaultOption, getOptions, getOption, getBoolOption, getIntOption,
7987   setOption, listOptionKinds, getOptionKinds, resetOptions. Use corresponding
7988   methods in UserOptionsLookup or UserOptionsManager service classes instead.
7989 * UserRetrieveNewTalks hook was deprecated without replacement.
7990 * User::getNewtalk and ::setNewtalk were hard deprecated. Use service
7991   TalkPageNotificationManager instead.
7992 * EditPage::matchSpamRegex and ::matchSummarySpamRegex were hard deprecated in
7993   favor of the new SpamChecker service.
7994 * Title::getNotificationTimestamp, User::clearNotification, and
7995   User::clearAllNotifications were deprecated in favor of the new
7996   WatchlistNotificationManager service.
7997 * SpecialPage::setListed() and SpecialPage::listed() were deprecated. Subclass
7998   UnlistedSpecialPage to set listed as false, and use SpecialPage::isListed()
7999   to get the value.
8000 * CategoryPage::getCategoryViewerClass() and ::setCategoryViewerClass() were
8001   deprecated.
8002 * MWHttpRequest and its subclasses PhpHttpRequest, CurlHttpRequest and
8003   GuzzleHttpRequest now require the timeout and connectTimeout options to
8004   always be specified, otherwise a deprecation warning will be raised. Most
8005   callers should use HttpRequestFactory which always sets these options.
8006 * Linker::normaliseSpecialPage() has been deprecated, instead make use of
8007   LinkRenderer::normalizeTarget().
8008 * SkinTemplate::getPersonalToolsList() was soft deprecated.
8009 * ChangeTags::truncateTagDescription() has been deprecated.
8010 * The following methods of the User class are deprecated: getGroups,
8011   getGroupMemberships, getEffectiveGroups, getAutomaticGroups,
8012   addGroup, removeGroup, getFormerGroups, getAllGroups, getImplicitGroups,
8013   addAutopromoteOnceGroups. Use the new UserGroupManager service instead.
8014 * The following methods of the UserGroupMembership class were deprecated:
8015   selectFields, getMembershipsForUser, getMembership, insert, delete,
8016   newFromRow, initFromRow, purgeExpired.
8017   Use the new UserGroupManager service instead.
8018 * wfWaitForSlaves() has been hard deprecated. Use LBFactory::waitForReplication
8019   instead. It was soft deprecated in 1.27.
8020 * BaseTemplate::getAfterPortlet and ::renderAfterPortlet have been deprecated in
8021   favor of the Skin::getAfterPortlet method. Skin::getAfterPortlet does not wrap
8022   the result in a div, callers are responsible for that.
8023   The hook BaseTemplateAfterPortlet, called by both methods has been deprecated
8024   as well and is replaced by SkinAfterPortlet.
8025 * Autopromote class has been soft deprecated and it's methods moved into
8026   UserGroupManager.
8027 * SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook has been deprecated.
8028   Use SidebarBeforeOutput hook and get the revision id from the OutputPage
8029   object.
8030 * BaseTemplate::getToolbox() method has been soft deprecated. The toolbox data
8031   is now available in a sidebar data array which you can get from any class
8032   that's extending QuickTemplate class. The hook associated with this method,
8033   BaseTemplateToolbox, has been hard deprecated. To add items to the toolbox,
8034   use SidebarBeforeOutput hook instead.
8035 * The SkinTemplateOutputPageBeforeExec hook is deprecated.
8036   The page [[mw:Manual:Hooks/SkinTemplateOutputPageBeforeExec]] and T60137
8037   for recommendations for alternative approaches based on how developers
8038   previously used this hook.
8039 * SkinTemplateToolboxEnd hook has been deprecated. Use SidebarBeforeOutput hook
8040   instead.
8041 * Using Skin::addToBodyAttributes() method to add body attributes has been
8042   deprecated. Use OutputPageBodyAttributes hook instead.
8043 * Installer::getDBTypes has been hard deprecated in favor of
8044   InstallerDBSupport::getDatabases
8045 * The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS were
8046   deprecated, as part of a long-term plan to remove support for mixed
8047   HTTP/HTTPS wikis.
8048 * Skin::generateDebugHTML() has been hard deprecated. Call
8049   MWDebug::getHTMLDebugLog() directly.
8050 * ExternalStoreDB::getSlave(), soft deprecated in 1.34, was hard deprecated.
8051   Use ExternalStoreDB::getReplica() instead.
8052 * Less variables in mediawiki.ui/variables.less file that don't follow the
8053   standard variable naming scheme (compare WikimediaUI Base) including
8054   `@colorGray* variables have been deprecated. New variables are in place and
8055   aliases have been set. Replace occurrences and use the new variables instead.
8057 === Other changes in 1.35 ===
8058 * A new maintenance script is added (purgeExpiredWatchlistItems.php) with which
8059   to delete expired watchlist items. These items will also be deleted during
8060   wiki editing if $wgWatchlistPurgeRate is > 0. This maintenance script only
8061   has effect if $wgWatchlistExpiry is true. It is recommended that a cronjob or
8062   similar be set up to run it at least daily.
8063 * Title::purgeSquid is deprecated. Use MediaWikiServices::getHtmlCacheUpdater.
8064 * SpecialVersion::getExtLicenseFileName() has been deprecated, use
8065   MediaWiki\ExtensionInfo::getLicenseFileNames() instead.
8066 * SpecialVersion::getExtAuthorsFileName() has been deprecated, use
8067   MediaWiki\ExtensionInfo::getAuthorsFileName() instead.
8068 * Migration to the new content storage schema is complete, all backwards
8069   compatibility code and duplication in the database have been removed.
8070   The old schema was a 1:1 relationship modeled by
8071   revision.text_id -> text.old_id. The new schema is a n:m relationship,
8072   revision.rev_id <- slots.slot_revision_id|slots.slot_content_id ->
8073   content.content_id|content.content_address -> text.old_id. The same applies
8074   to the archive table.
8075   The following fields were removed:
8076   - revision.rev_text_id, replaced by content.content_address
8077   - revision.rev_content_model, replaced by content.content_model,
8078     referencing content_models.model_id
8079   - revision.rev_content_format, replaced by automatic detecting in
8080     ContentHandler
8081   - archive.ar_text_id, replaced by content.content_address
8082   - archive.ar_content_model, replaced by content.content_model,
8083     referencing content_models.model_id
8084   - archive.ar_content_format, replaced by automatic detecting in
8085     ContentHandler
8086 * Migration to normalized storage of edit comments and user names is
8087   progressing. The following fields were unused and have been removed:
8088   - revision.rev_comment,
8089     replaced by rev_comment_id referencing comment.comment_id.
8090   - revision.rev_user and rev_user_text,
8091     replaced by rev_actor referencing actor.actor_id.
8092   Note that archive.ar_user, archive.ar_user_text, and archive.ar_comment
8093   had already been removed in previous releases.
8094 * The printableversion has been marked as deprecated per T167956.
8095 * (T30162, T245387) The installer supports using a Postgres server running
8096   on a custom port other than 5432.
8098 == Compatibility ==
8099 MediaWiki 1.35 requires PHP 7.3.19 or later, and the following PHP extensions:
8101 * ctype
8102 * dom
8103 * fileinfo
8104 * iconv
8105 * json
8106 * mbstring
8107 * xml
8109 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
8110 but support for them is somewhat less mature.
8112 The supported versions are:
8114 * MySQL 5.5.8 or later
8115 * PostgreSQL 9.2 or later
8116 * SQLite 3.8.0 or later
8118 == Online documentation ==
8119 Documentation for both end-users and site administrators is available on
8120 MediaWiki.org, and is covered under the GNU Free Documentation License (except
8121 for pages that explicitly state that their contents are in the public domain):
8123        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
8125 == Mailing list ==
8126 A mailing list is available for MediaWiki user support and discussion:
8128        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
8130 A low-traffic announcements-only list is also available:
8132        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
8134 It's highly recommended that you sign up for one of these lists if you're
8135 going to run a public MediaWiki, so you can be notified of security fixes.
8137 == IRC help ==
8138 There's usually someone online in #mediawiki on irc.libera.chat.
8140 = MediaWiki 1.34 =
8142 == MediaWiki 1.34.4 ==
8144 This is a maintenance release of the MediaWiki 1.34 branch.
8146 === Changes since MediaWiki 1.34.3 ===
8147 * Fixed issue relating to backporting of changes for T260485.
8149 == MediaWiki 1.34.3 ==
8151 This is a security and maintenance release of the MediaWiki 1.34 branch.
8153 === Changes since MediaWiki 1.34.2 ===
8154 * In the web installer, use secure session cookies.
8155 * Make UsersPager::requestedGroup public.
8156 * (T257407) Split patch-drop-user-fields.sql into patch per table.
8157 * (T257356) Split patch-drop-comment-fields.sql into patch per table.
8158 * (T257997) Undeprecate WebInstaller::getInfoBox().
8159 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional
8160   and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
8161   recommend this be set to true on pure HTTPS wikis.
8162 * Added $wgCookieSameSite, which allows login cookies to be sent with
8163   SameSite=None. This is required for cross-site CentralAuth autologin after
8164   Chrome 84.
8165 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to
8166   SameSite=None cookies for browsers which implemented an incompatible draft
8167   version of the specification.
8168 * (T257207) shell: Expand documentation in firejail.profile.
8169 * (T246135) Give the "remember me" checkbox a specific CSS class so skins
8170   like Minerva can only hide that checkbox.
8171 * (T256287) rdbms: improve DBConnRef domain selection exception message.
8172 * (T248191, T259123) phpunit: Acknowledge known dberror from
8173   SpecialPageFatalTest.
8174 * (T256394, T259123) Cleanup up excess commit() call in LocalRepoTest.
8175 * Fix runBatchedQuery.php for no result from select.
8176 * (T130906) Add Edge to MediaWiki:Clearyourcache.
8177 * (T249521) reassignEdits: Update script to use User::newFromName for anon
8178   users.
8179 * (T172060) GlobalFunctions: Use php_uname instead of posix_uname.
8180 * Use IPset in MWRestrictions::checkIP.
8181 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
8182 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
8183 * (T183759) Fixes shell edge-cases in Windows.
8184 * (T258390) Add CentralIdLookup::factoryNonLocal().
8185 * (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate
8186   limits.
8187 * (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence
8188   of hidden users.
8189 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate
8190   limit type.
8191 * (T246991) User: enforce pingLimiter() expiry time.
8192 * (T260232) don't include null page ids in query list for category dumps.
8193 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
8194 * (T262900) Fix failure of rebuildLocalisationCache.php due to RL hook.
8195 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
8196 * (T263455 T247285) Set EnableJavaScriptTest to true in
8197   includes/DevelopmentSettings.php.
8198 * (T232568, CVE-2020-25813) SECURITY: SpecialUserrights: If a viewer lacks
8199   `hideuser`, ignore hidden users.
8200 * (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on
8201   Special:Contributions.
8202 * (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within
8203   LogEventsList.
8204 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
8205   firejail's --output functionality.
8206 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
8207   'style' attribute.
8208 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
8209   mw.message( ... ).parse().
8210 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
8211   database.
8212 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
8214 == MediaWiki 1.34.2 ==
8216 This is a security and maintenance release of the MediaWiki 1.34 branch.
8218 === Changes since MediaWiki 1.34.1 ===
8219 * (T247017) PasswordReset performance improvements.
8220 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
8221 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
8222   7.3.17.
8223 * (T251789) Let $wgResourceLoaderMaxQueryLength=-1 fallback to default.
8224 * Remove some rotten and out of date documentation.
8225 * (T252311) Improvements to some older SQLite update patches.
8226 * (T240307) Minor fixes to extension.schema.v2.json and
8227   extension.schema.v1.json.
8228 * (T238043) cleanupUsersWithNoId.php: Handle missing fields.
8229 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
8230   rebuildrecentchanges.php.
8231 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
8232 * (T249730) Password Reset Updates.
8233 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
8234   setting $wgPoolCounterConf['SpecialContributions'] appropriately.
8235 * (T248947) SECURITY: img_auth.php may leak private extension images into the
8236   public cache.
8238 == MediaWiki 1.34.1 ==
8240 This is a security and maintenance release of the MediaWiki 1.34 branch.
8242 === Changes since MediaWiki 1.34.0 ===
8243 * (T211450) User: better error message when getActorId fails.
8244 * (T241340) Don't redefine MW_ENTRY_POINT in thumb.php if already defined.
8245 * (T236444) User: Allow newSystemUser() to create over anonymous actors.
8246 * (T238483) Fix NewPagesPager "hide registered users" option.
8247 * (T245072) mediawiki.language: Rename languageData back to languageNames.
8248 * Use proper SemVer comparison in CheckComposerLockUpToDate.
8249 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
8250 * (T246127) Fix error when initialising updateCollation.php.
8251 * Update comment about PHP versions supported by The PHP Group.
8252 * (T247215) Fix output of RecountCategories::doWork().
8253 * Add check for page existence to view.php maintenance script.
8254 * (T245149) Fix fetching login token from action=query&meta=tokens on private
8255   wikis.
8256 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
8257 * (T232932) SECURITY: User content can redirect the logout button to different
8258   URL.
8259 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
8260   any CSS selector.
8262 == MediaWiki 1.34.0 ==
8264 === Changes since MediaWiki 1.34.0-rc.1 ===
8265 * $wgDiffEngine (T237049) – This configuration can be used to specify which
8266   difference engine to use. MediaWiki continues to default to automatically
8267   choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is
8268   usable.
8269 * (T231866) SqlBlobStore no longer needs Language object.
8270 * (T236735) WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD
8271   flag.
8272 * (T231673) Set MCR migration stage to SCHEMA_COMPAT_NEW.
8273 * (T229601) Make sure DBLoadBalancerFactory service is not disabled.
8274 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
8275 * (T231866) LocalisationCache: Don't instantiate ResourceLoader.
8276 * (T227461) Stop calling deprecated Redis delete functions.
8277 * (T239561) Mark options as requiring parameters in addSite.php.
8278 * (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest.
8279 * (T239734) Replace deprecated lSize with lLen in Redis code.
8280 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
8281 * (T239428) ApiEditPage: Test for bad redirect targets.
8282 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
8283   'trace'.
8284 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
8285 * (T240924) NewPagesPager: Fix namespace query conditions.
8286 * (T212067) Tests for an old PHP bug in parse_url.
8288 == MediaWiki 1.34.0-rc.1 ==
8290 === Changes since MediaWiki 1.34.0-rc.0 ===
8291 * (T231742) rdbms: Restore debug toolbar "Queries" feature.
8292 * (T231366) The ProfilerOutputDb class, 'profiling' table, and profileinfo.php
8293   entry point had been deprecated.
8294 * (T234361) localisation: Add debug message for backend of MessageCache.
8295 * (T234361) session: Add debug message for the used store class.
8296 * (T235559) Fix example Kask configuration in RESTBagOStuff class comment.
8297 * (T235137) Don't apply styling for Special:Contributions on other pages.
8298 * Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0 (dev-only).
8299 * (T219604) The "jquery.ui.*" and "jquery.effects.*" modules are now
8300   deprecated as aliases for the "jquery.ui" module.
8301 * (T235392) Deprecate setting Parser::mTitle to null.
8302 * Supporting commits for T235392 were also backported to prevent divergence
8303   from master (MediaWiki 1.35).
8304 * (T234581) The 'jquery.tabIndex' module is deprecated.
8305 * Fix docs for GetUserBlock hooks.
8306 * Parser: Hard deprecate getConverterLanguage.
8307 * (T236810) A number of public methods of Parser were exposed only for
8308   historical reasons and have been deprecated: doMagicLinks,
8309   doDoubleUnderscore, doHeadings, doAllQuotes, replaceExternalLinks,
8310   replaceInternalLinks, replaceInternalLinks2, getVariableValue,
8311   initialiseVariables, formatHeadings, testPst, testPreprocess, testSrvus,
8312   areSubpagesAllowed, maybeDoSubpageLink, splitWhitespace, createAssocArgs,
8313   armorLinks, makeKnownLinkHolder, getImageParams, parseLinkParameter,
8314   stripAltText, replaceLinkHolders, replaceLinkHoldersText, armorLinks,
8315   makeKnownLinkHolder, getImageParams, parseLinkParameter, stripAltText.
8316 * (T30798) $wgServer must now always be set in LocalSettings.php. This is most
8317   likely the case already for any wiki installed after 1.18. The autodetection
8318   system was informally deprecated since 1.18 and vulnerable to cache poisoning
8319   attacks. Older wikis may need to update their LocalSettings.php file.
8320 * (T232169) Hard deprecate $wgSysopEmailBans.
8321 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
8322 * (T181658) Do not insert page titles into querycache.qc_value.
8323 * ParamValidator has been flagged as unstable.
8324 * Hard deprecate Parser::disableCache().
8326 == MediaWiki 1.34.0-rc.0 ==
8328 == Upgrading notes for 1.34 ==
8329 1.34 has several database changes since 1.33, and will not work without schema
8330 updates. Note that due to changes to some very large tables like the revision
8331 table, the schema update may take quite long (minutes on a medium sized site,
8332 many hours on a large site).
8334 Don't forget to always back up your database before upgrading!
8336 See the file UPGRADE for more detailed upgrade instructions, including
8337 important information when upgrading from versions prior to 1.11.
8339 Some specific notes for MediaWiki 1.34 upgrades are below:
8341 * MediaWiki now requires PHP 7.2.9 or above.
8342 * MediaWiki no longer supports HHVM.
8344 For notes on 1.33.x and older releases, see HISTORY.
8346 === Configuration changes for system administrators in 1.34 ===
8348 In an effort to enforce best practices for passwords, MediaWiki will now warn
8349 users, and suggest that they change their password, if it is in the list of
8350 100,000 commonly used passwords that are considered bad passwords. If you want
8351 to disable this for your users, please add the following to your local settings:
8353 $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;
8355 ==== New configuration ====
8356 * $wgAllowExternalReqID (T201409) - This configuration setting controls whether
8357   MediaWiki accepts the request ID set by the incoming request via the
8358   `X-Request-Id` header. If set to `true`, that value will be used throughout
8359   the code as the request identificator. Otherwise, the sent header will be
8360   ignored and the request ID will either be taken from Apache's mod_unique
8361   module or will be generated by MediaWiki itself (depending on the set-up).
8362 * $wgEnableSpecialMute (T218265) - This configuration controls whether
8363   Special:Mute is available and whether to include a link to it on emails
8364   originating from Special:Email.
8365 * editmyuserjsredirect user right – users without this right now cannot edit JS
8366   redirects in their userspace unless the target of the redirect is also in
8367   their userspace. By default, this right is given to everyone.
8368 * (T226733) Add rate limiter to Special:ConfirmEmail.
8369 * $wgDiffEngine (T237049) – This configuration can be used to specify which
8370   difference engine to use. MediaWiki continues to default to automatically
8371   choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is
8372   usable.
8374 ==== Changed configuration ====
8375 * $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four
8376   CDN-related config variables have been renamed from being specific to Squid –
8377   they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and
8378   $wgSquidMaxage respectively. This aligns them with the related existing
8379   variable $wgCdnMaxageLagged. The previous configuration variable names are
8380   deprecated, but will be used as the fall back if they are still set.
8381   Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated.
8382 * (T27707) File type checks for image uploads have been relaxed to allow files
8383   containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG
8384   setting is no longer applied and is now always true. Note that MSIE 7 may
8385   still be able to misinterpret certain malformed PNG files as HTML.
8386 * (T30798) $wgServer must now always be set in LocalSettings.php. This is most
8387   likely the case already for any wiki installed after 1.18. The autodetection
8388   system was informally deprecated since 1.18 and vulnerable to cache poisoning
8389   attacks. Older wikis may need to update their LocalSettings.php file.
8390 * Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type
8391   detection heuristic on upload, which is more conservative than the checks
8392   that were changed above.
8393 * $wgExternalDiffEngine — Setting this to a string value of 'wikidiff',
8394   'wikidiff2', or 'wikidiff3' will no longer work. This legacy behaviour was
8395   deprecated in MediaWiki 1.27, 1.32, and 1.27, respectively.
8396 * $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now
8397   hard-deprecated.
8398 * $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in
8399   1.23, is now hard-deprecated.
8400 * $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated.
8401   Instead, set the log file in $wgDebugLogGroups['profileoutput'].
8402 * $wgProxyList — Setting this to an array with IP addresses in the array keys,
8403   which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be
8404   an array with IP addresses as the values, or a string path to a file
8405   containing one IP address per line.
8406 * $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock are now enabled by default.
8408 ==== Removed configuration ====
8409 * $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change
8410   size threshold, please specify in php.ini, using the configuration variable
8411   wikidiff2.moved_paragraph_detection_cutoff.
8412 * $wgUseESI - This experimental setting, deprecated in 1.33, is now removed.
8413 * $wgDebugPrintHttpHeaders - The default of including HTTP headers in the
8414   debug log channel is no longer configurable. The debug log itself remains
8415   configurable via $wgDebugLogFile.
8416 * $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values
8417   stored in WANObjectCache. This is no longer configurable.
8418 * $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure
8419   password setups and deprecated since 1.24, is now removed.
8420 * $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT
8421   in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf).
8422 * $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead.
8423 * $wgActorTableSchemaMigrationStage has been removed. Extension code for
8424   MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW.
8426 === New user-facing features in 1.34 ===
8427 * Special:Mute has been added as a quick way for users to block unwanted emails
8428   from other users originating from Special:EmailUser.
8429 * (T207577) Special:NewSection has been created as a shortcut to creating a new
8430   section on a page. When linked to, its subpage is used as the target
8431   ([[Special:NewSection/Test]] redirects to creating a new section in "Test").
8432   Otherwise, it displays a basic interface to allow the end user to specify
8433   the target manually.
8434 * (T220447) Special:Contributions/newbies has been removed for performance and
8435   usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead.
8436 * Special:NewFiles/newbies has been removed for performance and usefulness
8437   reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead.
8439 === New developer features in 1.34 ===
8440 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
8441   of headers in private wikis.
8442 * Language::formatTimePeriod now supports the new 'avoidhours' option to output
8443   strings like "5 days ago" instead of "5 days 13 hours ago".
8444 * (T220163) Added SpecialMuteModifyFormFields hook to allow extensions
8445   to add fields to Special:Mute.
8446 * (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths.
8447   See <https://www.mediawiki.org/wiki/OOUI/Themes> for details.
8448 * (T229035) The GetUserBlock hook was added. Use this instead of
8449   GetBlockedStatus.
8450 * ObjectFactory is available as a service. When used as a service, the object
8451   specs can now specify needed DI services.
8452 * (T222388) Special pages can now be specified as an ObjectFactory spec,
8453   allowing the construction of special pages that require services to be
8454   injected in their constructor.
8455 * (T222388) API modules can now be specified as an ObjectFactory spec,
8456   allowing the construction of modules that require services to be injected
8457   in their constructor.
8458 * (T117736) The function signature of SpecialContributions::getForm::filters
8459   has changed. It now expects definitions of additional filter fields as array
8460   rather than string.
8462 === External library changes in 1.34 ===
8464 ==== Changed external libraries ====
8465 * Updated Mustache from 1.0.0 to v3.0.1.
8466 * Updated OOUI from v0.31.3 to v0.34.0.
8467 * Updated OOjs from v2.2.2 to v3.0.0.
8468 * Updated composer/semver from 1.4.2 to 1.5.0.
8469 * Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
8470 * Updated mediawiki/codesniffer from 25.0.0 to 28.0.0 (dev-only).
8471 * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0.
8472 * Updated wikimedia/at-ease from 1.2.0 to 2.0.0.
8473 * Updated wikimedia/remex-html from 2.0.1 to 2.1.0.
8474 * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only).
8475 * Updated wikimedia/object-factory from 1.0.0 to 2.1.0.
8476 * Updated wikimedia/timestamp from 2.2.0 to 3.0.0.
8477 * Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3.
8478 * Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only).
8479 * Updated wikimedia/avro from 1.8.0 to 1.9.0 (dev-only).
8481 ==== Removed external libraries ====
8482 * The jquery.async module, deprecated in 1.33, was removed.
8484 === Bug fixes in 1.34 ===
8485 * (T222529) If a log entry or page revision is recorded in the database with an
8486   empty username, attempting to display it will log an error and return a "no
8487   username available" to the user instead of silently displaying nothing or
8488   invalid links.
8490 === Action API changes in 1.34 ===
8491 * The 'recenteditcount' response property from action=query list=allusers,
8492   deprecated in 1.25, has been removed.
8493 * (T60993) action=query list=filearchive, list=alldeletedrevisions and
8494   prop=deletedrevisions no longer require the 'deletedhistory' user right.
8495 * In the response to queries that use 'prop=imageinfo', entries for
8496   non-existing files (indicated by the 'filemissing' field) now omit the
8497   following fields, since they are meaningless in this context:
8498   'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width',
8499   'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment',
8500   'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime',
8501   'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata',
8502   'mime', 'mediadtype', 'bitdepth'.
8503   Clients that process these fields should first check if 'filemissing' is
8504   set. Fields that are supported even if the file is missing include:
8505   'canonicaltitle', 'archivename' (deleted files only), 'descriptionurl',
8506   'descriptionshorturl'.
8507 * The 'blockexpiry' result property in list=users and list=allusers will now be
8508   returned in the same format used by the rest of the API: ISO 8601 for
8509   expiring blocks, and "infinite" for non-expiring blocks.
8511 === Action API internal changes in 1.34 ===
8512 * The exception thrown in ApiModuleManager::getModule has been changed
8513   from an MWException to an UnexpectedValueException, thrown by ObjectFactory.
8514   ApiModuleManager::getModule now also throws InvalidArgumentExceptions when
8515   ObjectFactory is presented with an invalid spec or incorrectly constructed
8516   objects.
8517 * Added ApiQueryBlockInfoTrait.
8519 === Languages updated in 1.34 ===
8520 MediaWiki supports over 350 languages. Many localisations are updated regularly.
8521 Below only new and removed languages are listed, as well as changes to languages
8522 because of Phabricator reports.
8524 * (T152908) Added language support for N'Ko (nqo).
8526 === Breaking changes in 1.34 ===
8527 * The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in
8528   1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and
8529   Wikimedia\AtEase\AtEase::restoreWarnings() directly.
8530 * Preferences class, deprecated in 1.31, has been removed.
8531 * The following parts of code, deprecated in 1.32, were removed in favor of
8532   built-in PHP functions:
8533   * CryptRand class
8534   * CryptRand service
8535   * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
8536 * Various Special Page PHP Classes were renamed (mostly casing changes):
8537   * SpecialAncientpages => SpecialAncientPages
8538   * SpecialConfirmemail => SpecialConfirmEmail
8539   * SpecialDeadendpages => SpecialDeadendPages
8540   * SpecialFewestrevisions => SpecialFewestRevisions
8541   * SpecialListredirects => SpecialListRedirects
8542   * SpecialLonelypages => SpecialLonelyPages
8543   * SpecialLongpages => SpecialLongPages
8544   * SpecialMIMEsearch => SpecialMIMESearch
8545   * SpecialMostcategories => SpecialMostCategories
8546   * SpecialMostinterwikis => SpecialMostInterwikis
8547   * SpecialMostlinked => SpecialMostLinked
8548   * SpecialMostlinkedcategories => SpecialMostLinkedCategories
8549   * SpecialMostlinkedtemplates => SpecialMostLinkedTemplates
8550   * SpecialMostrevisions => SpecialMostRevisions
8551   * SpecialNewimages => SpecialNewFiles
8552   * SpecialShortpages => SpecialShortPages
8553   * SpecialUncategorizedcategories => SpecialUncategorizedCategories
8554   * SpecialUncategorizedimages => SpecialUncategorizedImages
8555   * SpecialUncategorizedpages => SpecialUncategorizedPages
8556   * SpecialUncategorizedtemplates => SpecialUncategorizedTemplates
8557   * SpecialUnusedcategories => SpecialUnusedCategories
8558   * SpecialUnusedimages => SpecialUnusedImages
8559   * SpecialUnusedtemplates => SpecialUnusedTemplates
8560   * SpecialUnwatchedpages => SpecialUnwatchedPages
8561   * SpecialWantedcategories => SpecialWantedCategories
8562   * SpecialWantedtemplates => SpecialWantedTemplates
8563   * SpecialWithoutinterwiki => SpecialWithoutInterwiki
8564 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
8565   create a new Language object with a different language code.
8566 * MWNamespace::clearCaches() has been removed.  So has the $rebuild parameter
8567   to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
8568   Instead, reset services, such as by calling $this->overrideMwServices() (if
8569   your test extends MediaWikiTestCase). Services will generally not pick up
8570   configuration changes from after they were created, so you must reset
8571   services after any configuration change. Even if your code works now, it is
8572   likely to break in future versions as more code is moved to services.
8573 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
8574 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
8575   been removed.
8576 * ObjectFactory class, deprecated in 1.31, has been removed.
8577 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
8578 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
8579 * The RedirectSpecialPage::execute method could sometimes return a Title object.
8580   This behavior was removed, and the method now matches the parent signature
8581   (SpecialPage::execute) which is to return HTML string or void.
8582   To obtain the destination title, use RedirectSpecialPage::getRedirect.
8583 * The 'recenteditcount' response property from action API action=query
8584   list=allusers, deprecated in 1.25, has been removed.
8585 * SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
8586   SearchEngine::create(), SearchEngine::getSearchTypes() and
8587   SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
8588 * FileRepo::streamFile(), deprecated in 1.26, has been removed.
8589 * User::randomPassword() method, deprecated in 1.27, have been removed.
8590 * MWNamespace::canTalk(), deprecated in 1.30, have been removed.
8591 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
8592 * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
8593   removed.
8594 * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
8595 * Method signatures in WatchedItemQueryServiceExtension have changed from taking
8596   User objects to taking UserIdentity objects. Extensions implementing this
8597   interface need to be changed accordingly.
8598 * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
8599   removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
8600 * User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use
8601   UserGroupMembership::getLink() instead.
8602 * SavepointPostgres, deprecated in 1.31, has been removed.
8603 * OutputPage::enableSectionEditLinks(), OutputPage::sectionEditLinksEnabled(),
8604   ParserOptions::getEditSection(), ParserOptions::setEditSection(), and
8605   ParserOutput::getEditSectionTokens, ::getTOCEnabled, ::setEditSectionTokens,
8606   and ::setTOCEnabled, deprecated in 1.31, have been removed.
8607 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30,
8608   have been removed.
8609 * Four methods in OutputPage, deprecated in 1.32, have been removed. You should
8610   use OutputPage::showFatalError or throw a FatalError instead. The methods are
8611   ::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and
8612   ::showFileNotFoundError().
8613 * ApiBase::truncateArray(), deprecated in 1.32, has been removed.
8614 * IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's
8615   INTL_ICU_VERSION constant directly.
8616 * HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed.
8617 * ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(),
8618   both deprecated in 1.32, have been removed.
8619 * BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have
8620   been removed. Use ->msg() or ->getMsg() instead.
8621 * WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead,
8622   use WatchAction::getWatchToken() with action 'unwatch' directly.
8623 * Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in
8624   1.28, have been removed.
8625 * PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(),
8626   deprecated in 1.32, have been removed.
8627 * OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated
8628   in 1.33, have been removed.
8629 * User::getPasswordValidity(), deprecated in 1.33, has been removed.
8630 * ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been
8631   removed.
8632 * ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed.
8633 * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
8634 * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed.
8635 * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed.
8636 * The Block typehint only refers to blocks stored in the database. It should be
8637   updated to AbstractBlock in cases where any type of block could be expected.
8638 * FileRepoStatus, deprecated in 1.25, has been removed.
8639 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
8640   in 1.27, has been removed.
8641 * IP::isValidBlock(), deprecated in 1.30, has been removed.
8642 * WikiPage::prepareContentForEdit now doesn't accept an integer for $revision,
8643   was deprecated in 1.25.
8644 * The jquery.byteLength module, deprecated in 1.31, was removed.
8645   Use the mediawiki.String module instead.
8646 * mw.language.specialCharacters, deprecated in 1.33, has been removed.
8647   Use require( 'mediawiki.language.specialCharacters' ) instead.
8648 * The jquery.colorUtil module was removed. Use jquery.color instead.
8649 * The jquery.checkboxShiftClick module was removed. The functionality
8650   is provided by mediawiki.page.ready instead (T232688).
8651 * The 'jquery.accessKeyLabel' module has been removed. This jQuery
8652   plugin now ships as part of the 'mediawiki.util' module bundle.
8653 * EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit()
8654   directly.
8655 * HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use
8656   getErrorsOrWarnings() instead.
8657 * SpecialPage::getTitle(), deprecated in 1.23, has been removed. Use
8658   SpecialPage::getPageTitle() instead.
8659 * jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold
8660   jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer,
8661   which are no longer used, have now been removed.
8662 * SpecialEmailUser::validateTarget(), ::getTarget() without a sender/user
8663   specified, deprecated in 1.30, have been removed.
8664 * BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed.
8665 * The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
8666 * The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been
8667   removed. Use NS_FILE and NS_FILE_TALK respectively.
8668 * Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer
8669   (deprecated in 1.32) have been removed. Closures should be used instead.
8670 * OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(),
8671   ::addWikiTextTidy(), ::addWikiTextTitle(), deprecated in 1.32, have been
8672   removed.
8673 * The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader()
8674   method, deprecated in 1.32, have been removed.
8675 * WebInstallerOutput::addWikiText(), deprecated in 1.32, has been removed.
8676 * Parser::fetchFile(), deprecated in 1.32, has been removed. Use the method
8677   Parser::fetchFileAndTitle() instead.
8678 * The global function wfBCP47, deprecated in 1.31, has been removed.
8679 * wfCountDown() function, deprecated in 1.31, has been removed. Use
8680   \Maintenance::countDown() method instead.
8681 * OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was
8682   deprecated since 1.20.
8683 * Skin::outputPage() no longer accepts a context. This was deprecated in 1.20.
8684 * Linker::link() no longer accepts a string for the query array, as was
8685   deprecated in 1.20.
8686 * PrefixSearch::titleSearch(), deprecated in 1.23, has been removed. Use the
8687   SearchEngine::defaultPrefixSearch or ::completionSearch() methods instead.
8688 * The UserRights hook, deprecated in 1.26, has been removed. Instead, use the
8689   UserGroupsChanged hook.
8690 * Skin::getDefaultInstance(), deprecated in 1.27, has been removed. Get the
8691   instance from MediaWikiServices instead.
8692 * The UserLoadFromSession hook, deprecated in 1.27, has been removed.
8693 * The wfResetSessionID global function, deprecated in 1.27, has been removed.
8694   Use MediaWiki\Session\SessionManager instead.
8695 * The wfGetLBFactory global function, deprecated in 1.27, has been removed.
8696   Use MediaWikiServices::getInstance()->getDBLoadBalancerFactory().
8697 * The internal method OutputPage->addScriptFile() will no longer silently drop
8698   calls that use an invalid path (i.e., something other than an absolute path,
8699   protocol-relative URL, or full scheme URL), and will instead pass them to the
8700   client where they will likely 404. This usage was deprecated in 1.24.
8701 * Database::reportConnectionError, deprecated in 1.32, has been removed.
8702 * APIEditBeforeSave hook, deprecated in 1.28, has been removed. Please see
8703   EditFilterMergedContent hook for an alternative way to use this feature.
8704 * API module methods getDescription(), getParamDescription(), & getExamples(),
8705   all deprecated in 1.25 and ignored, have been removed.
8706 * The API module method getDescriptionMessage(), deprecated in 1.30, has been
8707   removed.
8708 * The JavaScript global variable wgLoadScript has been removed. Use
8709   mw.util.wikiScript( 'load' ) instead.
8710 * ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has
8711   been unused since 1.16 and was deprecated in 1.22. To deprecate a property
8712   in JavaScript, use mw.log.deprecate() instead.
8713 * The 'user.groups' module, deprecated in 1.28, was removed.
8714   Use the 'user' module instead.
8715 * The ResourceLoaderContext::expandModuleNames method, deprecated in 1.33, was
8716   removed. Use ResourceLoader::expandModuleNames instead.
8717 * The ability to override User::$mRights has been removed. Use
8718   PermissionManager::addTemporaryUserRights() instead.
8719 * Previously, when iterating ResultWrapper with foreach() or a similar
8720   construct, the range of the index was 1..numRows. This has been fixed to be
8721   0..(numRows-1).
8722 * The ChangePasswordForm hook, deprecated in 1.27, has been removed. Use the
8723   AuthChangeFormFields hook or security levels instead.
8724 * WikiMap::getWikiIdFromDomain(), deprecated in 1.33, has been removed.
8725   Use WikiMap::getWikiIdFromDbDomain() instead.
8726 * The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace,
8727   which were deprecated and ignored by core since 1.22, are no longer set to any
8728   value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not
8729   updated since 2013 to cope with this deprecation may now break.
8730 * (T222637) Passing ResourceLoaderModule objects to ResourceLoader::register()
8731   or $wgResourceModules is no longer supported.
8732   Use the 'class' or 'factory' option of the array format instead.
8733 * The parameter $lang of the functions generateTOC and tocList in Linker and
8734   DummyLinker must be in type Language when present. Other types are
8735   deprecated since 1.33.
8736 * The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29,
8737   have been removed.
8738 * ParserOption::getSpeculativeRevIdCallback(), deprecated in 1.28, has been
8739   removed.
8740 * The UploadVerification hook, deprecated in 1.28, has been removed. Instead,
8741   use the UploadVerifyFile hook.
8742 * UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(),
8743   deprecated in 1.28, have been removed. Instead, please use the getFileKey()
8744   method on the response from doStashFile().
8745 * LBFactory::setDomainPrefix() and LoadBalancer::setDomainPrefix(), deprecated
8746   in 1.33, have been removed. Use setLocalDomainPrefix() instead.
8747 * IDatabase::implicitGroupby(), deprecated in 1.30, has been removed.
8748 * IDatabase::doneWrites(), deprecated in 1.31, has been removed.
8749   Use IDatabase::lastDoneWrites() instead.
8750 * Database::reportConnectionError(), deprecated in 1.32, has been removed.
8751 * LoadBalancer::laggedSlaveUsed(), deprecated in 1.28, has been removed.
8752   Use LoadBalancer::laggedReplicaUsed() instead.
8753 * Database::getProperty(), deprecated in 1.28, has been removed.
8754 * IDatabase::getWikiId(), deprecated in 1.30, has been removed.
8755   Use IDatabase::getDomainID() instead.
8756 * (T191231) Support for using Oracle or MSSQL as database backends has been
8757   dropped.
8758 * MessageCache::destroyInstance() has been removed. Instead, call
8759   MediaWikiTestCase::resetServices().
8760 * SearchResult protected field $searchEngine is removed and no longer
8761   initialized after calling SearchResult::initFromTitle().
8762 * The UserIsBlockedFrom hook is only called if a block is found first, and
8763   should only be used to unblock a blocked user.
8764 * Parameters for index.php from PATH_INFO, such as the title, are no longer
8765   written to $_GET.
8766 * The selectFields() methods on classes LocalFile, ArchivedFile, OldLocalFile,
8767   DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use
8768   the corresponding getQueryInfo() methods instead.
8769 * The following methods on Revision, deprecated since 1.31, have been removed.
8770   Use RevisionStore::getQueryInfo() or RevisionStore::getArchiveQueryInfo()
8771   instead.
8772   * Revision::userJoinCond()
8773   * Revision::pageJoinCond()
8774   * Revision::selectFields()
8775   * Revision::selectArchiveFields()
8776   * Revision::selectTextFields()
8777   * Revision::selectPageFields()
8778   * Revision::selectUserFields()
8779 * User::setNewpassword(), deprecated in 1.27 has been removed.
8780 * The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance
8781   functions, deprecated since 1.28, have been removed.
8782 * Language::$dataCache has been removed (without prior deprecation, for
8783   practical reasons). Use MediaWikiServices instead to get a LocalisationCache.
8785 === Deprecations in 1.34 ===
8786 * The MWNamespace class is deprecated. Use NamespaceInfo.
8787 * ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
8788   Instead, use ->queue().
8789 * User::isBlocked() is deprecated since it does not tell you if the user is
8790   blocked from editing a particular page. Use User::getBlock() or
8791   PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
8792 * User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved
8793   to the BlockManager as private helper methods.
8794 * User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted
8795   instead.
8796 * The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled
8797   is deprecated. Pass only the User argument.
8798 * WatchedItem::getUser is deprecated. Use getUserIdentity.
8799 * Passing a Title as the first parameter to the getTimestampById method of
8800   RevisionStore is deprecated. Omit it, passing only the remaining parameters.
8801 * Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use
8802   RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision.
8803 * The Title parameter to RevisionLookup::getPreviousRevision and
8804   RevisionLookup::getNextRevision is deprecated and should be omitted.
8805 * MWHttpRequest::factory is deprecated. Use HttpRequestFactory.
8806 * The Http class is deprecated. For the request, get, and post methods, use
8807   HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI.  For
8808   getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a
8809   MultiHttpClient directly.
8810 * Http::$httpEngine is deprecated and has no replacement. The default 'guzzle'
8811   engine will eventually be made the only engine for HTTP requests.
8812 * RepoGroup::singleton(), RepoGroup::destroySingleton(),
8813   RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all
8814   deprecated. Use MediaWikiServices instead.
8815 * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated.
8816   Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
8817 * MWMessagePack class, no longer used, has been deprecated in 1.34.
8818 * The Block class is separated into DatabaseBlock (for blocks stored in the
8819   database), and SystemBlock (for temporary blocks created by the system).
8820   SystemBlock should be used when creating any temporary blocks. Block is
8821   a deprecated alias for DatabaseBlock.
8822 * Parser::$mConf is deprecated. It will be removed entirely in a later version.
8823   Some context can be found at T224165.
8824 * Constructing Parser directly is deprecated. Obtain one from ParserFactory.
8825 * Title::moveSubpages is deprecated. Use MovePage::moveSubpages or
8826   MovePage::moveSubpagesIfAllowed.
8827 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
8828 * (T62260) Hard deprecate Language::getExtraUserToggles() method.
8829 * Language::viewPrevNext function is deprecated, use
8830   PrevNextNavigationRenderer::buildPrevNextNavigation instead
8831 * User::trackBlockWithCookie and DatabaseBlock::clearCookie are deprecated. Use
8832   BlockManager::trackBlockWithCookie and BlockManager::clearCookie instead.
8833 * DatabaseBlock::setCookie, DatabaseBlock::getCookieValue,
8834   DatabaseBlock::getIdFromCookieValue and AbstractBlock::shouldTrackWithCookie
8835   are moved to internal helper methods for BlockManager::trackBlockWithCookie.
8836 * ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have
8837   been deprecated. Inside ResourceLoaderModule subclasses, use the local methods
8838   instead. Elsewhere, use the methods from the ResourceLoader class.
8839 * The Profiler::setTemplated and Profiler::getTemplated methods have been
8840   deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput
8841   instead.
8842 * The ProfilerOutputDb class, 'profiling' table, and profileinfo.php entry
8843   point had been deprecated (T231366).
8844 * The Preprocessor_DOM implementation has been deprecated.  It will be
8845   removed in a future release.  Use the Preprocessor_Hash implementation
8846   instead.
8847 * Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist()
8848   have been deprecated; they will be made private in the future.
8849 * SearchResult::termMatches() method is deprecated. It was unreliable because
8850   only populated by few search engine implementations. Use
8851   SqlSearchResult::getTermMatches() if really needed.
8852 * SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated
8853   and should no longer be passed. Search engine implemenations should be
8854   responsible for carrying relevant information needed for highlighting with
8855   their own SearchResultSet/SearchResult sub-classes.
8856 * SearchResultSet::free() method is deprecated.
8857 * SearchEngine::$searchTerms protected field is deprecated. Moved to
8858   SearchDatabase.
8859 * The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle
8860   hooks is highly discouraged as it's only populated by SearchDatabase search
8861   engines.
8862 * Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin
8863   template option 'searchaction' instead.
8864 * Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated.
8865   Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead.
8866 * LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have
8867   been deprecated.
8868 * FileBackend::getWikiId() has been deprecated.
8869   Use FileBackend::getDomainId() instead.
8870 * User::getRights() and User::$mRights have been deprecated. Use
8871   PermissionManager::getUserPermissions() instead.
8872 * The LocalisationCacheRecache hook no longer allows purging of message blobs
8873   to be prevented. Modifying the $purgeBlobs parameter now has no effect.
8874 * SVGMetadataExtractor::getMetadata has been deprecated. Instead, you should
8875   use SVGReader->getMetadata() directly.
8876 * The following public properties on AbstractBlock are deprecated: $mReason,
8877   $mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead.
8878 * The following public properties on DatabaseBlock are deprecated: $mAuto,
8879   $mParentBlockId. To check for an autoblock use DatabaseBlock::getType; to
8880   check for the parent ID, use DatabaseBlock::getParentBlockId.
8881 * SearchEngine::userHighlightPrefs() is deprecated, simply stop passing
8882   $contextlines and $contextchars to the SearchHighlighter methods, they will
8883   use proper defaults defined in SearchHighlighter::DEFAULT_CONTEXT_LINES and
8884   DEFAULT_CONTEXT_CHARS.
8885 * SearchUpdate constructor: passing a string as the title param and or a boolean
8886   or a string as the content will produce a deprecation warning.
8887 * SearchEngine::getTextFromContent() is deprecated, use getTextForSearchIndex()
8888   directly from the Content object.
8889 * SearchEngine::textAlreadyUpdatedForIndex() is deprecated, given the
8890   deprecation above this method is no longer needed/called and should not be
8891   implemented by SearchEngine implementation.
8892 * IDatabase::bufferResults() has been deprecated. Use query batching instead.
8893 * MessageCache::singleton() is deprecated. Use
8894   MediaWikiServices::getMessageCache().
8895 * ObjectCache::getWANInstance() is deprecated. Use
8896   MediaWikiServices::getMainWANObjectCache() instead.
8897 * ObjectCache::newWANCacheFromParams() is deprecated. Use
8898   MediaWikiServices::getMainWANObjectCache() instead.
8899 * Constructing MovePage directly is deprecated. Use MovePageFactory.
8900 * TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead.
8901 * wfIsBadImage() is deprecated. Use the BadFileLookup service instead.
8902 * Building a new SearchResult is hard-deprecated, always call
8903   SearchResult::newFromTitle(). This class is being refactored into an abstract
8904   class. If you extend this class please be sure to override all its methods
8905   or extend RevisionSearchResult.
8906 * Skin::getSkinNameMessages() is deprecated and no longer used.
8907 * The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp() instead.
8908 * Specifying a SpecialPage object for the list of special pages (either through
8909   the SpecialPage_initList hook or by adding to $wgSpecialPages) is now
8910   deprecated.
8911 * The 'jquery.tabIndex' module is deprecated.
8912 * WebInstaller::getWarningBox() and getErrorBox() are deprecated.
8913   Use Html::errorBox() or Html::warningBox() instead.
8914 * Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user',
8915   'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted
8916   to use the corresponding actor fields directly. Note that use with
8917   'rev_user' is *not* deprecated at this time.
8918 * Specifying both the class and factory parameters for
8919   ApiModuleManager::addModule is now deprecated. The ObjectFactory spec should
8920   be used instead.
8921 * The UserIsHidden hook is deprecated. Use GetUserBlock instead, and add a
8922   system block that hides the user.
8923 * The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or
8924   remove a block.
8925 * $wgContentHandlerUseDB is deprecated and should always be true.
8926 * StreamFile::send404Message() and StreamFile::parseRange() are now deprecated.
8927   Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange()
8928   respectively instead.
8929 * Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban
8930   users from sending emails, use
8931   $wgGroupPermissions['sysop']['blockemail'] = true;
8932 * ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use
8933   ApiQueryBlockInfoTrait instead.
8934 * PasswordReset is now a service, its direct instantiation is deprecated.
8935 * RESTBagOStuff users should specify either "JSON" or "PHP" serialization type.
8936 * The global function wfIsHHVM() is deprecated and will now always return false
8937   regardless of the runtime environment. This is part of the continuing work to
8938   remove HHVM support from MediaWiki, which started in MediaWiki 1.31.
8939 * Language::getLocalisationCache() is deprecated. Use MediaWikiServices
8940   instead.
8941 * The following Language methods are deprecated: isSupportedLanguage,
8942   isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames,
8943   fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName.
8944   Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s)
8945   are called getLanguageName(s) in the new class.)
8946 * Using the Parser without initializing its $mTitle property to non-null has
8947   been deprecated.  In a future release Parser::getTitle() will throw a
8948   TypeError if $mTitle is uninitialized.
8949 * A number of public methods of Parser were exposed only for historical
8950   reasons and have been deprecated: doMagicLinks, doDoubleUnderscore,
8951   doHeadings, doAllQuotes, replaceExternalLinks, replaceInternalLinks,
8952   replaceInternalLinks2, getVariableValue, initialiseVariables, formatHeadings,
8953   testPst, testPreprocess, testSrvus, areSubpagesAllowed, maybeDoSubpageLink,
8954   splitWhitespace, createAssocArgs, armorLinks, makeKnownLinkHolder,
8955   getImageParams, parseLinkParameter, stripAltText, replaceLinkHolders,
8956   replaceLinkHoldersText, armorLinks, makeKnownLinkHolder, getImageParams,
8957   parseLinkParameter, stripAltText.
8959 === Other changes in 1.34 ===
8960 * Added option to specify "Various authors" as author in extension credits using
8961   "..." as the only author name. If the "author" array contains more than one
8962   entry and "..." is one of the entries in the array, "..." will be parsed as
8963   "others" (version-poweredby-others i18n message) like previously.
8964 * (T232563) Browser support ("Grade C") for Internet Explorer 6 and 7
8965   was discontinued. Basic content and security features may no longer
8966   work correctly in these browsers.
8968 = MediaWiki 1.33 =
8970 == MediaWiki 1.33.4 ==
8972 This is a security and maintenance release of the MediaWiki 1.33 branch.
8974 === Changes since MediaWiki 1.33.3 ===
8975 * (T247017) PasswordReset performance improvements.
8976 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
8977 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
8978   7.3.17.
8979 * Remove some rotten and out of date documentation.
8980 * (T252311) Improvements to some older SQLite update patches.
8981 * (T240307) Minor fixes to extension.schema.v2.json and
8982   extension.schema.v1.json.
8983 * rdbms: Add callback for atomic section cancellation.
8984 * (T191668) NameTableStoreTest::getCallCheckingDb simplification.
8985 * Make NameTableStore use LoadBalancer::getConnectionRef().
8986 * (T224949) NameTableStore: ensure consistency upon rollback.
8987 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
8988   rebuildrecentchanges.php.
8989 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
8990 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
8991   setting $wgPoolCounterConf['SpecialContributions'] appropriately.
8992 * (T248947) SECURITY: img_auth.php may leak private extension images into the
8993   public cache.
8995 == MediaWiki 1.33.3 ==
8997 This is a security and maintenance release of the MediaWiki 1.33 branch.
8999 === Changes since MediaWiki 1.33.2 ===
9000 * (T245072) mediawiki.language: Rename languageData back to languageNames.
9001 * Use proper SemVer comparison in CheckComposerLockUpToDate.
9002 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
9003 * Update comment about PHP versions supported by The PHP Group.
9004 * (T247215) Fix output of RecountCategories::doWork().
9005 * Add check for page existence to view.php maintenance script.
9006 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
9007 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
9008   any CSS selector.
9010 == MediaWiki 1.33.2 ==
9012 This is a security and maintenance release of the MediaWiki 1.33 branch.
9014 === Changes since MediaWiki 1.33.1 ===
9015 * (T217831) (T200653) PopulateContentTables: compute sha1 and length if needed.
9016 * Fix extra newlines in the installer.
9017 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
9018 * (T181658) Do not insert page titles into querycache.qc_value.
9019 * (T206013) Suppress errors when reading invalid XML file properties.
9020 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
9021 * Use correct value for 'sslmode' in DatabasePostgres.
9022 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
9023 * (T227461) Stop calling deprecated Redis delete functions.
9024 * (T239561) Mark options as requiring parameters in addSite.php.
9025 * (T219440) Skip flaky rollback test.
9026 * (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest.
9027 * (T239734) Replace deprecated lSize with lLen in Redis code.
9028 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
9029 * (T239428) ApiEditPage: Test for bad redirect targets.
9030 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
9031   'trace'.
9032 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
9033 * (T212067) SECURITY: Work around PHP bug in parse_url.
9035 == MediaWiki 1.33.1 ==
9037 This is a security and maintenance release of the MediaWiki 1.33 branch.
9039 === Changes since MediaWiki 1.33.0 ===
9040 * A change that kept people with a database table prefix that didn't
9041   end with an underscore from updating was reverted.
9042 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
9043 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
9044   of headers in private wikis.
9045 * (T230317) Allow upgrading from MediaWiki before 1.15 where the valid_tag table
9046   doesn't yet exist.
9047 * (T208897) MessageCache: Restore 'loadedLanguages' tracking for load().
9048 * (T228555) MessageCache: Fix isMainCacheable() logic for non-content languages.
9049 * (T200088) Remove title protection correctly for undeletions and imports.
9050 * (T230402) SECURITY: Add permission check for suppressed account to
9051   Special:Redirect.
9052 * Add helper for HTTPFileStreamer header syntax.
9053 * (T227461) ObjectCache: avoid using deprecated phpredis::delete() alias.
9054 * (T231386) SpecialRedirect::dispatchUser() should use a 302 http status code.
9055 * (T118799) Fix XMP parser errors due to trailing nullchar.
9056 * (T230618) Fix GROUP BY in ActiveUsersPager and RecentChangesUpdateJob for
9057   PostgreSQL.
9058 * (T230487) Handle changed defaults in Argon2PasswordTest::testPartialConfig().
9059 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
9060 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
9061   separate files to help allieviate potential migration problems.
9063 === Upgrading notes for 1.33 ===
9064 1.33 has several database changes since 1.32, and will not work without schema
9065 updates. Note that due to changes to some very large tables like the revision
9066 table, the schema update may take quite long (minutes on a medium sized site,
9067 many hours on a large site).
9069 Don't forget to always back up your database before upgrading!
9071 See the file UPGRADE for more detailed upgrade instructions, including
9072 important information when upgrading from versions prior to 1.11.
9074 Some specific notes for MediaWiki 1.33 upgrades are below:
9076 * Some external link searches will not work correctly until update.php (or
9077   refreshExternallinksIndex.php) is run. These include searches for links using
9078   IP addresses, internationalized domain names, and possibly mailto links.
9079 * If you ran migrateActors.php using an older version of MediaWiki and want to
9080   run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD,
9081   note that log_search rows needed to find revision deletions by target user
9082   were incorrectly deleted. See T215464 for details.
9083 * If revision deletions were performed when the wiki was configured with
9084   $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without
9085   migrateActors.php having been run, the log_search table may contain rows with
9086   empty values for "target_author_actor" which will prevent log searches for
9087   revision deletions by target user from finding those log entries. These rows
9088   may be corrected by (re-)running migrateActors.php.
9090 For notes on 1.32.x and older releases, see HISTORY.
9092 == MediaWiki 1.33.0 ==
9094 === Changes since MediaWiki 1.33.0-rc.0 ===
9095 * (T225558) Update installer link to PHP intl.
9096 * (T225901) Only attempt to deduplicate if there is data in archive and revision
9097   tables.
9098 * (T225564) Fetch tag ID before calling undefineTag().
9099 * (T225496) Detect APC for MainCacheType in CLI installer.
9100 * Call unpack() with correct parameters in MimeAnalyzer.php for PHP 7.0 support.
9101 * (T212613) Style change tags correctly on Special:Newpages.
9102 * (T202211) Fix SQLite patch-(page|template)links-fix-pk.sql column order.
9104 == MediaWiki 1.33.0-rc.0 ==
9106 === Configuration changes for system administrators in 1.33 ===
9107 ==== New configuration ====
9108 * $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
9109   accounts with block permissions the ability to block users, IPs, and IP ranges
9110   from editing specific pages, while allowing them to edit the rest of the wiki.
9111   It is a temporary setting for gradual enablement, current default to `false`,
9112   and will be set to `true` and then removed once initial development completes.
9114 ==== Changed configuration ====
9115 * $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in
9116   MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH.
9117 * $wgPasswordPolicy – There is a new password policy to check that the account's
9118   password is not in the large blacklist. This is enabled by default for the
9119   built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure
9120   this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`.
9121 * $wgPasswordDefault – There is a new password type configuration using Argon2
9122   password hashing (which requires PHP 7.2 and above). It's designed to resist
9123   timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure
9124   argon2 to be used, by default, it will automatically choose the best available
9125   algorithm depending on which version of PHP you have available. To use this,
9126   you can set `$wgPasswordDefault = 'argon2';`.
9127 * $wgActorTableSchemaMigrationStage now defaults to reading the new schema.
9128   update.php will back-populate the new database fields due to the changed
9129   setting, which may take some time on large wikis. You can avoid downtime by
9130   following a process like that described in T188327.
9132 ==== Removed configuration ====
9133 * $wgTagStatisticsNewTable (T199334) — This temporary setting, added in
9134   MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki
9135   will now always use the `change_tag_def` instead of the `change_tag` table.
9136 * $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and
9137   $wgDebugTidy – These options, all deprecated since 1.26, have now all been
9138   removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting
9139   remains only for experimental features and debugging, and should not be used.
9140 * $wgEnableParserCache – This setting has been deprecated since 1.26, has now
9141   been removed. If you still desire to disable the parser cache, instead you can
9142   set `$wgParserCacheType = CACHE_NONE;`.
9143 * $wgCommentTableSchemaMigrationStage – This temporary migration setting has now
9144   been removed. Code finding it unset should treat it as being MIGRATION_NEW.
9145 * $wgAuth – This old setting, deprecated in 1.27, has been removed as part of
9146   the removal of AuthPlugin.
9147 * $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent
9148   to allow sites to configure a file in which to cache the SiteStore database
9149   table, but it was never used. SiteStore already caches its information by
9150   default using BagOStuff (e.g. Memcached or APC).
9151 * $wgClockSkewFudge – This setting was used by User.php to let sites adjust by
9152   how much MediaWiki would fudge when trying to minimize the chances of a
9153   user.user_touched database update to the "current" timestamp being before the
9154   value already there (e.g. due to clock skew between different servers). This
9155   is no longer a problem, because the code now ensures the timestamp is always
9156   higher than the previous one. The writes are guarded with CAS logic (check
9157   and set), which prevents updates that would overlap.
9158 * $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has
9159   been removed.
9161 === New user-facing features in 1.33 ===
9162 * (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category
9163   to be hidden on Special:UnusedCategories.
9164 * (T210814) SVGs are now by default displayed in wiki language on image
9165   pages.
9166 * Special:CreateAccount now warns the user if their chosen username has to be
9167   normalized.
9168 * (T205040) Multilingual images are now be displayed in the current parse
9169   language where available.
9170 * Special:ActiveUsers will no longer filter out users who became inactive since
9171   the last time the active users query cache was updated.
9172 * (T215675) RecentChange and ManualLogEntry implement new Taggable interface.
9173 * (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions
9174   to modify (example: add tags) log entries.
9176 === New developer features in 1.33 ===
9177 * The AuthManagerLoginAuthenticateAudit hook has a new parameter for
9178   additional information about the authentication event.
9179 * TextContent::getText() was introduced as a replacement for
9180   Content::getNativeData() for text-based content models.
9181 * (T214706) LinksUpdate::getAddedExternalLinks() and
9182   LinksUpdate::getRemovedExternalLinks() were introduced.
9183 * (T213893) Added 'MaintenanceUpdateAddParams' hook
9184 * (T219655) The MarkPatrolled hook has a new parameter for the tags
9185   associated with this entry in the patrol log.
9186 * (T212472) Extensions can now specify platform abilities they require to work,
9187   limited to shell access for now.
9190 === External library changes in 1.33 ===
9191 ==== New external libraries ====
9192 * Added wikimedia/password-blacklist 0.1.4.
9193 * Added guzzlehttp/guzzle 6.3.3.
9195 ==== Changed external libraries ====
9196 * Updated OOUI from v0.29.2 to v0.31.3.
9197 * Updated OOjs Router from pre-release to v0.2.0.
9198 * Updated moment from v2.19.3 to v2.24.0.
9199 * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2.
9200 * Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
9201 * Updated jquery-client from 2.0.1 to 2.0.2.
9202 * Updated pear/net_smtp from 1.8.0 to 1.8.1.
9203 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
9204 * Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7.
9206 ==== Removed external libraries ====
9207 * (T219403) jquery.ui.spinner, deprecated since 1.31, was removed.
9210 === Developer library changes in 1.33 ===
9211 ==== New developer libraries ====
9212 * Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only).
9213 * Added mediawiki/mediawiki-phan-config 0.5.0 (dev-only).
9215 ==== Changed developer libraries ====
9216 * Updated wikimedia/ip-set from 1.3.0 to 2.0.1.
9217   * The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be
9218     used instead.
9219 * Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only).
9220 * Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only).
9221 * Updated mediawiki/mediawiki-codesniffer from 22.0.0 to 25.0.0 (dev-only).
9222 * Updated qunitjs from 2.6.2 to 2.9.1.
9224 ==== Removed developer libraries ====
9225 * The jetbrains/phpstorm-stubs repository was removed in favour of the minimal
9226   stubs we need, which are kept in the new `.phan/internal_stubs` directory
9227   (dev-only).
9230 === Bug fixes in 1.33 ===
9231 * (T164211) Special:UserRights could sometimes fail with a
9232   "conflict detected" error when there weren't any conflicts.
9233 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
9234   a non-Latin name on a page with non-Latin characters in title.
9235 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
9236   saveFileDependencies().
9238 === Action API changes in 1.33 ===
9239 * (T198913) Added 'ApiOptions' hook.
9240 * The JSON formatversion=2 is no longer experimental.
9241 * Internal API errors (those with code beginning "internal_api_error") will
9242   include the exception class name in a data field named "errorclass".
9243   * Class names are not guaranteed to remain stable, and in particular database
9244     exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name.
9245   * The code including an exception class name is deprecated. In the future,
9246     all internal errors will use code "internal_api_error".
9247 * (T212356) When using action=delete on pages with many revisions, the module
9248   may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
9249   deletion will be processed via the job queue.
9250 * action=setnotificationtimestamp will now update the watchlist asynchronously
9251   if entirewatchlist is set, so updates may not be visible immediately
9252 * Block info will be added to "blocked" errors from more modules.
9253 * (T216245) Autoblocks will now be spread by action=edit and action=move.
9254 * action=query&meta=userinfo has a new uiprop, 'latestcontrib', that returns
9255   the date of user's latest contribution.
9256 * (T25227) action=logout now requires to be posted and have a csrf token.
9258 === Action API internal changes in 1.33 ===
9259 * A number of deprecated methods for API documentation, intended for overriding
9260   by extensions, are no longer called by MediaWiki, and will emit deprecation
9261   notices if your extension attempts to use them:
9262   * ApiBase::getDescription() (deprecated in 1.25)
9263   * ApiBase::getParamDescription() (deprecated in 1.25)
9264   * ApiBase::getExamples() (deprecated in 1.25)
9265   * ApiBase::getDescriptionMessage() (deprecated in 1.30)
9266   Additionally, the  'APIGetDescription' and 'APIGetParamDescription' hooks have
9267   been removed, as their only use was to let extensions override values returned
9268   by getDescription() and getParamDescription(), respectively.
9269 * API error codes may only contain ASCII letters, numbers, underscore, and
9270   hyphen. Methods such as ApiBase::dieWithError() and
9271   ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
9272   passed a bad code.
9273 * ApiBase::checkTitleUserPermissions() now takes an options array as its third
9274   parameter. Passing a User object or null is deprecated.
9275 * The api-feature-usage log channel now has log context. The text message is
9276   deprecated and will be removed in the future.
9278 === Languages updated in 1.33 ===
9279 MediaWiki supports over 350 languages. Many localisations are updated regularly.
9280 Below only new and removed languages are listed, as well as changes to languages
9281 because of Phabricator reports.
9283 * (T203908) Added language support for Eastern Pwo (kjp).
9284 * (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
9285   for NS_TEMPLATE.
9286 * (T212221) Added $digitTransformTable for Santali (sat).
9287 * (T216479) Added language support for Saisiyat (xsy).
9288 * (T219728) Added support for new Japanese era name "Reiwa"
9290 === Breaking changes in 1.33 ===
9291 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
9292   Language. Other types are deprecated since 1.32.
9293 * Skin::doEditSectionLink requires type Language for the parameter $lang.
9294   The parameters $tooltip and $lang are mandatory. Omitting the parameters is
9295   deprecated since 1.32.
9296 * Language::truncate(), deprecated in 1.31, has been removed.
9297 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
9298   instead.
9299 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
9300   and 'notice-message', which were deprecated in 1.32, were removed. Instead,
9301   use 'help', 'help-message', and 'help-messages'.
9302 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
9303 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
9304   RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
9305   Use the RESTBase v1 or Parsoid v3 API instead.
9306 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
9307   parser are being deprecated and ParserOptions::getCanonicalOverrides()
9308   has always been true at any rate.
9309 * Support for disabling tidy and external tidy implementations has been removed.
9310   This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
9311   used and no configuration is necessary.
9312 * A number of deprecated methods for API documentation, intended for overriding
9313   by extensions, are no longer called by MediaWiki, and will emit deprecation
9314   notices if your extension attempts to use them:
9315   * ApiBase::getDescription() (deprecated in 1.25)
9316   * ApiBase::getParamDescription() (deprecated in 1.25)
9317   * ApiBase::getExamples() (deprecated in 1.25)
9318   * ApiBase::getDescriptionMessage() (deprecated in 1.30)
9319   Additionally, the  'APIGetDescription' and 'APIGetParamDescription' hooks have
9320   been removed, as their only use was to let extensions override values returned
9321   by getDescription() and getParamDescription(), respectively.
9322 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
9323   'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
9324   the creation of AuthManager in 1.27, have been removed. This also means that
9325   the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
9326   is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
9327   that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
9328 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
9329   use 'jquery.i18n'.
9330 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
9331   1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
9332   respectively in a $wgExtensionMessagesFiles file.
9333 * The following methods of the Preferences class, deprecated in 1.31, have been
9334   removed:
9335   * getSaveBlacklist()
9336   * loadPreferenceValues()
9337   * getOptionFromUser()
9338   * profilePreferences()
9339   * skinPreferences()
9340   * filesPreferences()
9341   * datetimePreferences()
9342   * renderingPreferences()
9343   * editingPreferences()
9344   * rcPreferences()
9345   * watchlistPreferences()
9346   * searchPreferences()
9347   * miscPreferences()
9348   * generateSkinOptions()
9349   * getDateOptions()
9350   * getImageSizes()
9351   * getThumbSizes()
9352   * validateSignature()
9353   * cleanSignature()
9354   * getTimezoneOptions()
9355   * filterIntval()
9356   * filterTimezoneInput()
9357   * getTimeZoneList()
9358 * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
9359 * (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
9360 * The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
9361   Specifically: mediawiki.api.category, mediawiki.api.edit,
9362   mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
9363   mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
9364   mediawiki.api.messages, and mediawiki.api.rollback.
9365 * The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
9366   deprecated in 1.31, was removed.
9367 * Revision::fetchRevision(), deprecated in 1.28, was removed.
9368 * Class SquidUpdate, deprecated in 1.27, was removed.
9369 * Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
9370   Title->getCdnUrls().
9371 * Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
9372   Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
9373 * Title->canTalk(), deprecated in 1.30, was removed. Instead, use
9374   Title->canHaveTalkPage().
9375 * Title's methods for site and user page related to CSS and JS, deprecated in
9376   1.31, were removed:
9377   * Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
9378   * Title->isCssJsSubpage() – Use Title->isUserConfigPage()
9379   * Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
9380   * Title->isCssSubpage() – Use Title->isUserCssConfigPage()
9381   * Title->isJsSubpage() – Use Title->isUserJsConfigPage()
9382 * SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
9383   would return the global SiteStore instance, has been removed. You can get to
9384   this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
9385 * Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
9386   Instead, use Language->formatSize() with the relevant Language object.
9387 * Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
9388   version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
9389 * EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
9390   use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
9391 * LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
9392   be unused, and is distinct from OutputPage->addLink(), which remains.
9393 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
9394   JsonContent->getData().
9395 * MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
9396   exception ID is the same as the request ID, from WebRequest::getRequestId().
9397 * SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
9398   You can use SearchEngine::getNearMatcher() instead.
9399 * EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
9400   removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
9401 * User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
9402   been removed. Instead, please use UserGroupMembership::getGroupName() and
9403   UserGroupMembership::getGroupMemberName().
9404 * Backwards compatibility for setting wgSessionsInObjectCache to false or using
9405   wgSessionHandler, both of which were deprecated in 1.27 with the introduction
9406   of SessionManager, has been removed.
9407 * SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
9408   MediaWiki\Auth\AuthManager::autoCreateUser instead.
9409 * The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
9410   Use require( 'mediawiki.libs.jpegmeta' ) instead.
9411 * The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
9412   Use mw.user.getPageviewToken() instead.
9413 * Removed deprecated class property WikiRevision::$importer.
9414 * ResourceLoaderFileModule::readStyleFiles() now requires its $context
9415   parameter.
9416 * The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
9417   been removed.
9418 * MessageBlobStore::__construct() now requires its $rl parameter.
9419 * Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
9420   has been removed.
9421 * The 'jquery.xmldom' module has been removed.
9422 * The 'jquery.mockjax' module has been removed.
9423 * The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
9424 * AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
9425   should instead use AuthManager. The following no longer exist:
9426   * The AuthPlugin class itself and the related AuthPluginUser class and i18n
9427   * The AuthPluginSetup and AuthPluginAutoCreate hooks
9428   * The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
9429     AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
9430   * The $wgAuth configuration setting and its use in Setup.php and unit tests
9431 * (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
9432 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
9433   LanguageConverter::markNoConversion instead.
9434 * BagOStuff::modifySimpleRelayEvent() method has been removed.
9435 * ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
9436   Use ParserOutput::allCacheVaryingOptions instead.
9437 * CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
9438   Use CdnCacheUpdate::newFromTitles() instead.
9439 * Handling of multiple arguments by the Block constructor, deprecated in 1.26,
9440   has been removed.
9441 * The translation of main page in Sardinian (sc) was changed from "Pàgina Base"
9442   to "Pàgina printzipale". Existing wikis using this content language need to
9443   move the main page or change the name through MediaWiki:Mainpage page.
9444 * wfSplitWikiID(), deprecated in 1.32, has been removed.
9445 * MessageBlobStore::getBlob(), deprecated in 1.27, has been removed.
9446   Use ::getBlobs() instead.
9447 * The .background-size() LESS mixin, deprecated in 1.27, has been removed.
9448 * ReadOnlyMode::clearCache() and ConfiguredReadOnlyMode::clearCache() have been
9449   removed. Use MediaWikiTestCase::overrideMwServices() instead.
9450 * Support for the 'aggregator' option of JobQueue (and thus $wgJobTypeConf) was
9451   removed. The JobQueueAggregator interface and JobQueueAggregatorRedis class
9452   have also been removed. They were experimentally developed for use by the
9453   Wikimedia Foundation, but were never used, with no known use cases. (Note that
9454   this does not affect JobQueueRedis which is still supported.)
9456 === Deprecations in 1.33 ===
9457 * The configuration option $wgUseESI has been deprecated, and is expected
9458   to be removed in a future release.
9459 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
9460   and is expected to be removed in a future release.
9461 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
9462   introduced in MW 1.17, have been deprecated.  These fixes will always be
9463   applied for Arabic and Malayalam in the future.  Please enable these on
9464   your local wiki (if you have them explicitly set to false) and run
9465   maintenance/cleanupTitles.php to fix any existing page titles.
9466 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
9467   in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
9468   This will help identify the issue if you added it to $wgAuthManagerConfig.
9469 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
9470   domain ID as a key component and use makeGlobalKey().
9471 * (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
9472   Title::getDBkey(), which doesn't vary case.
9473 * User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
9474   returns the same information in a more useful format.
9475 * For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
9476   as the $lang parameter was deprecated. The same applies to DummyLinker.
9477 * The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
9478   follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
9479   instead which blacklists 100,000 commonly used passwords.
9480 * (T208862) Action::requiresUnblock() is now called from
9481   Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
9482   was only called in Action::checkCanExecute(). Actions should ensure that their
9483   requiresUnblock() returns the proper result (the default is `true`).
9484 * (T211608) The MediaWiki\Services namespace has been renamed to
9485   Wikimedia\Services. The old name is still supported, but deprecated.
9486 * (T155582) Content::getNativeData has been deprecated. Please use model-
9487   specific getters, such as TextContent::getText().
9488 * The class WebInstallerOutput is now marked as @private.
9489 * (T209699) The jquery.async module has been deprecated. JavaScript code that
9490   needs asynchronous behaviour should use Promises.
9491 * Password::equals() is deprecated, use verify().
9492 * BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
9493   other means to fetch a properly escaped message string or Message object.
9494 * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
9495   testing code for your JavaScript modules, is deprecated. Instead, you can now
9496   use the new extension registration key 'QUnitTestModule'.
9497 * (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
9498   code that needs this behaviour should use OO.ui.debounce/throttle.
9499 * The mw.language.specialCharacters property from the
9500   'mediawiki.language.specialCharacters' module has been deprecated.
9501   Use require( 'mediawiki.language.specialCharacters' ) instead.
9502 * ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
9503   removed in a future release.
9504 * Passing a User object or null as the third parameter to
9505   ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
9506   [ 'user' => $user ] instead.
9507 * (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
9508   Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
9509   block properties; use Block::appliesToRight and Block::appliesToUsertalk to
9510   check block behaviour.
9511 * The api-feature-usage log channel now has log context. The text message is
9512   deprecated and will be removed in the future.
9513 * The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
9514   implementation, use CachingSiteStore instead.
9515 * Language::viewPrevNext function is deprecated, use
9516   SpecialPage::buildPrevNextNavigation instead
9517 * ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
9518   instead. The setTags() method was overriding the tags, addTags() doesn't
9519   override, only adds new tags.
9520 * Block::isValid is deprecated, since it is no longer needed in core.
9521 * Calling Maintenance::hasArg() as well as Maintenance::getArg() with no
9522   parameter has been deprecated. Please pass the argument number 0.
9523 * ResourceLoaderContext::expandModuleNames has been deprecated.
9524   Use ResourceLoader::expandModuleNames instead.
9526 === Other changes in 1.33 ===
9527 * (T201747) Html::openElement() warns if given an element name with a space
9528   in it.
9529 * The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
9530   changed to explicitly cast. Subclasses relying on the base-class
9531   implementation should check whether they need to override it now.
9532 * BagOStuff::add is now abstract and must explicitly be defined in subclasses.
9533 * LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
9534   the following hooks will now be triggered upon page deletion in addition
9535   to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.
9536   LinksUpdateAfterInsert is not triggered since deletions do not cause
9537   insertions into links tables.
9538 * Category::newFromID( $id )->getID() will now return $id without any
9539   validation, to avoid a mostly unnecessary DB query.
9540 * On Special:Version, the name for an extension can no longer be arbitrary
9541   html when no link is specified.
9543 = MediaWiki 1.32 =
9545 == MediaWiki 1.32.6 ==
9547 This is a security and maintenance release of the MediaWiki 1.32 branch.
9549 === Changes since MediaWiki 1.32.5 ===
9550 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
9551 * (T181658) Do not insert page titles into querycache.qc_value.
9552 * (T206013) Suppress errors when reading invalid XML file properties.
9553 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
9554 * Use correct value for 'sslmode' in DatabasePostgres.
9555 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
9556 * (T227461) Stop calling deprecated Redis delete functions.
9557 * (T239561) Mark options as requiring parameters in addSite.php.
9558 * (T239734) Replace deprecated lSize with lLen in Redis code.
9559 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
9560 * (T239428) ApiEditPage: Test for bad redirect targets.
9561 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
9562   'trace'.
9563 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
9564 * (T212067) SECURITY: Work around PHP bug in parse_url.
9566 == MediaWiki 1.32.5 ==
9568 This is a maintenance release of the MediaWiki 1.32 branch.
9570 === Changes since MediaWiki 1.32.4 ===
9571 * Compute sha1 and length if needed in maintenance/populateContentTables.php.
9572 * Fix extra newlines in the installer.
9573 * Followup T230402, PermissionManager doesn't exist until 1.33, so fix the
9574   backported patches to use User::isAllowed() instead.
9576 == MediaWiki 1.32.4 ==
9578 This is a security and maintenance release of the MediaWiki 1.32 branch.
9580 === Changes since MediaWiki 1.32.3 ===
9581 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
9582 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
9583   of headers in private wikis.
9584 * (T230402) SECURITY: Add permission check for suppressed account to
9585   Special:Redirect.
9586 * (T208897) MessageCache: Restore 'loadedLanguages' tracking for load().
9587 * (T200088) Remove title protection correctly for undeletions and imports.
9588 * Add helper for HTTPFileStreamer header syntax.
9589 * (T118799) Fix XMP parser errors due to trailing nullchar.
9590 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
9591 * Cache redirects from Special:Redirect.
9592 * (T231386) dispatchUser() should use a 302 http status code.
9593 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
9594   separate files to help allieviate potential migration problems.
9595 * Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database
9596   updates.
9598 == MediaWiki 1.32.3 ==
9600 This is a maintenance release of the MediaWiki 1.32 branch.
9602 === Changes since MediaWiki 1.32.2 ===
9603 * (T225558) Update installer link to PHP intl.
9604 * (T225496) Detect APC for MainCacheType in CLI installer.
9605 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies.
9606 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
9608 == MediaWiki 1.32.2 ==
9610 This is a security and maintenance release of the MediaWiki 1.32 branch.
9612 === Changes since MediaWiki 1.32.1 ===
9613 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
9614 * (T216968) Return pageid as int in both list=iwbacklinks and
9615   list=langbacklinks.
9616 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
9617 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
9618 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
9619   $wgBlockDisablesLogin is true.
9620 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
9621   a non-Latin name on a page with non-Latin characters in title.
9622 * Unbreak language related maintenance scripts that use StaticArrayWriter.
9623 * (T219728) Added support for new Japanese era name "Reiwa".
9624 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
9625   token.
9626 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
9627 * (T221045) Remove orphaned code from ConfigRepository.
9628 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
9629   saveFileDependencies().
9630 * (T224374) Fix message parameters so that the message that says SQLite is
9631   out of date makes sense.
9632 * (T200471) Prevent LBFactorySimple breaking ExternalStorage, when trying to
9633   connect to external server with local database name.
9634 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
9635 * (T208881) SECURITY: blacklist CSS var().
9636 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
9637 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
9638 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
9639 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
9640   view the log type.
9641 * (T221739) SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358.
9643 == MediaWiki 1.32.1 ==
9645 === Changes since MediaWiki 1.32.0 ===
9646 * (T213577) rdbms: avoid transaction status errors from ping() in rollback().
9647 * rdbms: Pass required parameter.
9648 * rdbms: do not treat SAVEPOINT and RELEASE SAVEPOINT as write queries.
9649 * (T204531) rdbms: reduce LoadBalancer replication log spam.
9650 * (T213489) Avoid session double-start in Setup.php.
9651 * (T213717) Correct namespace 'Template' for gom-deva
9652 * (T198054) Fix login page crash caused by unknown language via ?uselang
9653 * (T215324) (T210937) list=users mistakenly reports user as missing.
9654 * (T209483) Add ILBFactory::redefineLocalDomain method. This is intended for
9655 use with scripts like addWiki.php to avoid mismatched domain errors.
9656 * (T208871) The hard-coded Google search form on the database error page was
9657 removed.
9658 * (T204800) Fix Title::getFragmentForURL for bad interwiki prefix
9659 * (T215566) Fix installer being unable to determine if the database exists
9660 during a fresh installation.
9662 == MediaWiki 1.32.0 ==
9664 === Changes since MediaWiki 1.32.0-rc.2 ===
9665 * (T188327) Fix slow queries in migrateActors.php.
9666 * (T102320) Fix $magicWords for the Sanskrit language.
9668 === Changes since MediaWiki 1.32.0-rc.1 ===
9669 * Fix addition of ug_expiry column to user_groups table on MSSQL.
9670 * (T210307) Fix the cache timestamp for forced updates.
9671 * (T210621) User: Bypass repeatable-read when creating an actor_id.
9672 * (T197535) Extensions can now specify PHP versions and PHP extensions they
9673   depend on.
9674 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
9675 * (T212356) When using action=delete on pages with many revisions, the module
9676   may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
9677   deletion will be processed via the job queue.
9678 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
9679   recentchanges.rc_cur_time from the PostgreSQL schema.
9681 === Changes since MediaWiki 1.32.0-rc.0 ===
9682 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
9683   has been started.
9684 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
9685   if --lang is used with the command-line installer (install.php).
9687 === Configuration changes in 1.32 ===
9689 ==== New configuration ====
9690 * $wgJpegQuality – The quality of JPEG thumbnails is now configurable through
9691   this setting. The default is 80, which matches the quality of JPEG thumbnails
9692   previously generated by ImageMagick. The quality of JPEG thumbnails generated
9693   by GD was previously 95, but now uses the $wgJpegQuality setting as well.
9694 * $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP
9695   user is blocked. Doing so means that a blocked user, even after moving to a
9696   new IP address, will still be blocked.
9697 * $wgRawHtmlMessages – This new configuration setting is added for listing
9698   messages which are displayed as raw HTML.
9699 * $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a
9700   "Content Security Policy" for your wiki. This adds a defense-in-depth feature
9701   to stop an attacker who has found a bug in the parser allowing them to insert
9702   malicious attributes. Disabled by default. (T135963)
9703 * $wgGroupPermissions – A new user group, 'interface-admin', is added for
9704   controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No
9705   other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs'
9706   by default.
9707 * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for
9708   granting the above rights.
9709 * $wgDBDefaultGroup – A default database group for use by maintenance scripts.
9710 * $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you
9711   enable client-side profiling of JavaScript modules; it is off by default.
9712 * (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration
9713   setting allows sysadmins to gradually migrate the database table schema for
9714   how change tags are stored.
9715 * (T199334) $wgTagStatisticsNewTable — This temporary configuration setting
9716   allows sysadmins to enable the caching of Special:Tags via the new
9717   change_tag_def table.
9719 ==== Changed configuration ====
9720 * $wgUseAjax – This setting, deprecated in 1.31, is now ignored.
9721 * $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has
9722   been increased from 3 to 7 days. (T194414)
9723 * $wgGroupPermissions – The right to edit sitewide Javascript
9724   (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface'
9725   and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having
9726   'editinterface' is still necessary to edit such pages.
9727 * $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the
9728   old and the new schema, but reading the new schema, so Multi-Content Revisions
9729   (MCR) are now functional per default. The new default value of the setting is
9730   SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW.
9731 * $wgActorTableSchemaMigrationStage no longer accepts MIGRATION_WRITE_BOTH or
9732   MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH |
9733   SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW
9734   for intermediate stages of migration.
9735 * $wgDBTableOptions – The default table options now use the binary charset. The
9736   default was already overridden in the installer-generated LocalSettings.php,
9737   and so is always set to binary after the installer UI option was removed. The
9738   default value is only used when the installer installs an extension.
9739 * $wgPopularPasswordFile — The location of the default popular passwords file
9740   has been moved to be in line with other non-PHP files used by libraries and
9741   classes.
9742 * $wgEnableImageWhitelist is now disabled by default, as it opens up a hole for
9743   potential privacy leaks by administrators. You can check
9744   "MediaWiki:External image whitelist" on your wiki to see whether the feature
9745   was ever used, and whether it needs to be re-enabled.
9747 ==== Removed configuration ====
9748 * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31,
9749   have been removed. (T115414)
9750 * $wgSiteSupportPage – This setting, unused since 1.5, was removed.
9751 * $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed.
9752 * $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed.
9753   The 'html5-legacy' value for $wgFragmentMode is no longer accepted.
9754 * $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and
9755   most extensions, is no longer set. Instead, you can modify the system
9756   message `emailsender`.
9757 * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers
9758   were removed. RemexHtml, which is the default, should be used instead.
9759 * (T181318) The $wgStyleVersion setting and its appendage to various script and
9760   style URLs in OutputPage, deprecated in 1.31, was removed.
9761 * (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed
9762   from ResourceLoader. Instead, use `@import` statements in LESS to import
9763   files directly from nearby directories within the same project.
9764 * (T140804) The wgResourceLoaderLESSVars configuration option, deprecated
9765   since 1.30, was removed. Instead, to expose variables from PHP to LESS, use
9766   the ResourceLoaderModule::getLessVars() method.
9767 * $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18,
9768   was removed.
9769 * Two temporary variables for deploying the feature of filters on change lists,
9770   $wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and
9771   $wgStructuredChangeFiltersOnWatchlist in 1.31, were removed.
9773 === New features in 1.32 ===
9774 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
9775   using a particular page during edit previews.
9776 * (T12331) You can now log page creation events by setting $wgPageCreationLog
9777   to true.
9778 * Added 'ApiParseMakeOutputPage' hook.
9779 * (T174313) Added checkbox on Special:ListUsers to display only users in
9780   temporary user groups.
9781 * (T152462) A cookie can now be set when an IP user is blocked to track that
9782   user if they move to a new IP address. This is disabled by default.
9783 * (T194950) Added 'ApiMaxLagInfo' hook.
9784 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
9785   reauthenticating.
9786 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
9787   getLoginSecurityLevel() returns non-false.
9788 * The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser,
9789   &$query and &$widthOption, allowing extensions even finer control over the
9790   resulting HTML code.
9791 * Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine
9792   if the [mark as patrolled] link should be shown at the footer of patrollable
9793   pages.
9794 * The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook
9795   is now passed by reference, allowing extensions to modify or even unset it.
9796 * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
9797   modify the return value of OutputPage#getHeadLinksArray in order to add,
9798   remove or otherwise alter the elements to be output in the page <head>.
9799 * (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
9800   additional links to the subtitle of a history page.
9801 * The 'GetLinkColours' hook now receives an additional $title parameter,
9802   the Title object of the page being parsed, on which the links will be shown.
9803 * (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to
9804   render diffs between two Content objects, and DifferenceEngine::setRevisions()
9805   to render diffs between two custom (potentially multi-content) revisions.
9806   Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots.
9807 * Added a temporary action=mcrundo to the web UI, as the normal undo logic
9808   can't yet handle MCR and deadlines are forcing is to put off fixing that.
9809   This action should be considered deprecated and should not be used directly.
9810 * Extensions overriding ContentHandler::getUndoContent() will need to be
9811   updated for the changed method signature.
9812 * Added a new hook, 'UserGetRightsRemove', which can be used to remove rights
9813   from user. Unlike the 'UserGetRights' it will ensure that removed rights
9814   will not be reinserted.
9815 * (T197535) Extensions can now specify PHP versions and PHP extensions they
9816   depend on.
9818 === External library changes in 1.32 ===
9820 ==== New external libraries ====
9821 * Added pear/Net_SMTP v1.8.0.
9822 * Added wikimedia/xmp-reader v0.6.0.
9824 * Added cache/integration-tests v0.16.0 (dev-only).
9825 * Added giorgiosironi/eris v0.10.0 (dev-only).
9826 * Added seld/jsonlint v1.7.1 (dev-only).
9828 * Added EasyDeflate (unversioned).
9830 ==== Changed external libraries ====
9831 * Updated OOUI from v0.26.3 to v0.29.2.
9832 * Updated wikimedia/base-convert from v1.0.1 to v2.0.0.
9833 * Updated wikimedia/remex-html from v1.0.3 to v2.0.1.
9834 * Updated wikimedia/scoped-callback from v1.0.0 to v2.0.0.
9835 ** ScopedCallback objects can no longer be serialized.
9836 * Updated wikimedia/timestamp from v1.0.0 to v2.2.0.
9837 * Updated wikimedia/wrappedstring from v2.3.0 to v3.0.1.
9838 * oyejorge/less.php replaced with our fork wikimedia/less.php
9839 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
9841 * Updated composer/spdx-licenses from v1.3.0 to v1.4.0 (dev-only).
9842 * Updated mediawiki/mediawiki-codesniffer from v18.0.0 to v22.0.0 (dev-only).
9843 * Updated psy/psysh from v0.8.11 to v0.9.6 (dev-only).
9845 * Updated CLDRPluralRuleParser from v0.1.0 to v1.3.2-pre.
9846 * Updated jquery from v3.2.1 to v3.3.1.
9847 * Updated jquery.client from v2.0.0 to v2.0.1.
9848 * Updated jquery.i18n from v1.0.4 to v1.0.5.
9849 * Updated mustache.js from v0.8.2-d9aa703 to v1.0.0.
9850 * Updated OOjs from v2.2.0 to v2.2.2.
9851 * Updated qunitjs from v2.4.0 to v2.6.2.
9852 * Updated sinonjs from v1.17.3 to v1.17.7.
9854 ==== Removed external libraries ====
9855 * pear/mail_mime-decode was removed.
9857 === Bug fixes in 1.32 ===
9858 * SpecialPage::execute() will now only call checkLoginSecurityLevel() if
9859   getLoginSecurityLevel() returns non-false.
9860 * (T43720, T46197) Improved page display title handling for category pages
9861 * (T65080) Fixed resetting options of some types via API action=options.
9863 === Action API changes in 1.32 ===
9864 * Added templated parameters.
9865   * A module can define a templated parameter like "{fruit}-quantity", where
9866     the actual parameters recognized correspond to the values of a multi-valued
9867     parameter. Then clients can make requests like
9868     "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
9869   * action=paraminfo will return templated parameter definitions separately
9870     from normal parameters. All parameter definitions now include an "index"
9871     key to allow clients to maintain parameter ordering when merging normal and
9872     templated parameters.
9873 * It is now an error to submit too many values for a multi-valued parameter.
9874   This has generated a warning since MediaWiki 1.14.
9875 * Assertion failures from the 'assert' and 'assertuser' parameters will no
9876   longer use the action module's custom response format, for the few modules
9877   that use custom formatters that handle errors.
9878 * (T198935) User list preferences such as `email-blacklist` and similar
9879   extension preferences are no longer represented as arrays when returned by
9880   action=query&meta=userinfo&uiprop=options.
9881 * 'missingparam' errors will now use the prefixed parameter name in the code
9882   and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
9883   than "nofoo" and "The 'foo' parameter must be set".
9884 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
9885   multi-content revision slots for which content should be returned. It also
9886   has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
9887   warning will be issued if rvprop=content or rvprop=contentmodel are used
9888   without rvslots.
9889 * The rvcontentformat parameter to action=query&prop=revisions has been
9890   deprecated. Clients should be prepared to deal with the default format for
9891   relevant models.
9892 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
9893   rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
9894   rvprop=parsetree is forbidden with the new 'rvslots' parameter.
9895 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
9896   action=query&list=alldeletedrevisions are changed similarly to
9897   &prop=revisions (see the three previous items).
9898 * (T174032) action=compare now supports multi-content revisions.
9899   * It has a 'slots' parameter to select diffing of individual slots. The
9900     default behavior is to return one combined diff.
9901   * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat',
9902     'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters
9903     are deprecated. Specify the new 'fromslots' and 'toslots' to identify which
9904     slots have text supplied and the corresponding templated parameters for
9905     each slot.
9906   * The behavior of 'fromsection' and 'tosection' of extracting one section's
9907     content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}'
9908     instead expand the given text as if for a section edit. This effectively
9909     declines T183823 in favor of T185723.
9910 * (T198214) The 'disabletidy' parameter to action=parse has been
9911   deprecated; untidy output will not be supported by future wikitext
9912   parsers.
9913 * Added intestactionsdetail to action=query&prop=info to allow retrieving the
9914   reasons an action is not allowed.
9915 * Deprecated action=query&prop=info inprop=readable in favor of
9916   intestactions=read.
9917 * (T212356) When using action=delete on pages with many revisions, the module
9918   may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
9919   deletion will be processed via the job queue.
9921 === Action API internal changes in 1.32 ===
9922 * Added 'ApiParseMakeOutputPage' hook.
9923 * Parameter names may no longer contain '{' or '}', as these are now used for
9924   templated parameters.
9925 * (T194950) Added 'ApiMaxLagInfo' hook.
9926 * The following methods now take a RevisionRecord rather than a Revision. No
9927   external callers are known.
9928   * ApiFeedContributions::feedItemAuthor()
9929   * ApiFeedContributions::feedItemDesc()
9930   * ApiQueryRevisionsBase::extractRevisionInfo()
9931 * The following deprecated methods have been removed:
9932   * ApiBase::profileIn() (deprecated in 1.25)
9933   * ApiBase::profileOut() (deprecated in 1.25)
9934   * ApiBase::safeProfileOut() (deprecated in 1.25)
9935   * ApiBase::profileDBIn() (deprecated in 1.25)
9936   * ApiBase::profileDBOut() (deprecated in 1.25)
9937   * ApiBase::dieUsage() (deprecated in 1.29)
9938   * ApiBase::dieUsageMsg() (deprecated in 1.29)
9939   * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
9940   * ApiBase::getErrorFromStatus() (deprecated in 1.29)
9941   * ApiBase::parseMsg() (deprecated in 1.29)
9942   * ApiBase::setWarning() (deprecated in 1.29)
9943   * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
9944   * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
9945   * ApiUsageException::getCodeString() (deprecated in 1.29)
9946   * ApiUsageException::getMessageArray() (deprecated in 1.29)
9947 * Class UsageException, deprecated in 1.29, has been removed.
9948 * ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you
9949   can now easily test $formatter->getFormat() === 'bc', and then call
9950   $formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter.
9952 === Languages updated in 1.32 ===
9953 MediaWiki supports over 350 languages. Many localisations are updated regularly.
9954 Below only new and removed languages are listed, as well as changes to languages
9955 because of Phabricator reports.
9957 * (T193566) Added language support for Ambonese Malay (abs).
9958 * (T194047) Added language support for Shawiya, Latin script (shy-latn).
9959 * (T195940) Added language support for Batak Mandailing (btm).
9960 * (T137491) Added language support for Standard Moroccan Amazigh (zgh).
9961 * (T198132) Added language support for Manipuri (mni).
9962 * (T201276) Added language support for Western Armenian (hyw).
9963 * (T201583) Added language support for Mon (mnw).
9965 === Breaking changes in 1.32 ===
9966 * $wgRequestTime, deprecated in 1.25, was removed. Use
9967   $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
9968 * The MediaWikiI18N class, deprecated in 1.31, was removed.
9969 * QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use
9970   Skin::msg() instead.
9971 * wfInitShellLocale(), deprecated in 1.30, was removed.
9972 * wfShellExecDisabled(), deprecated in 1.30, was removed.
9973 * The type string for the parameter $lang of DateFormatter::getInstance,
9974   deprecated in 1.31, was removed.
9975 * The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use
9976   MediaWiki\Session\Token::SUFFIX instead.
9977 * EditPage::isOouiEnabled() deprecated in 1.30, was removed.
9978 * mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl()
9979   instead.
9980 * (T61113) The following methods and constants from the Revision class, which
9981   were deprecated in 1.25, have now been removed:
9982   * Revision::getRawUser()
9983   * Revision::getRawUserText()
9984   * Revision::getRawComment()
9985 * window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use
9986   mw.msg() or mw.message() instead.
9987 * mw.util.escapeId(), deprecated in 1.30, was removed. Use
9988   mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead.
9989 * mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use
9990   jquery.accessKeyLabel instead.
9991 * The SqlDataUpdate class, deprecated in 1.28, has been removed.
9992 * The Html5Internal and Html5Depurate tidy driver classes were removed, along
9993   with the Balancer tidy implementation. Both implementations were experimental,
9994   and were replaced by RemexHtml.
9995 * (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both
9996   removed. Use JobQueueGroup::singleton()->push() instead.
9997 * The jquery.footHovzer module, for mediawiki.debug, was removed.
9998 * The es5-shim module, empty and deprecated since 1.29, was removed.
9999 * the dom-level2-shim module, empty and deprecated since 1.29, was removed.
10000 * the json module, empty and deprecated since 1.29, was removed.
10001 * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was
10002   removed. Use mediawiki.widgets.visibleLengthLimit instead.
10003 * The jquery.farbtastic module, unused since 1.18, was removed.
10004 * The 'jquery.expandableField' module, unused since 1.22, was removed.
10005 * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide
10006   any HTMLForm object rather than PreferencesForm.
10007 * The non namespaced TimestampException class, deprecated in 1.29, was removed.
10008   Use Wikimedia\Timestamp\TimestampException instead.
10009 * The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence,
10010   utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed.
10011   The UtfNormal\Utils class from the utfnormal library should be used instead.
10012 * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants
10013   from the UtfNormal\Constants class from the utfnormal library should be used
10014 * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
10015   only needed for PHP5 compatibility, have been removed. It now uses the boolean
10016   values `true` and `false` respectively.
10017 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
10018   were removed. Use the ParserCache class instead.
10019 * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
10020   instead.
10021 * Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(),
10022   deprecated since 1.26, was removed. Use getDefinitionSummary() instead.
10023 * (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump"
10024   and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump"
10025   is no longer loaded by default. The Vector and MonoBook skins have made a
10026   minor change to implement the toggle feature with CSS instead. To restore
10027   prior functionality, either explicitly load "jquery.mw-jump" in your skin
10028   or refer to T195256 for details on how to make the same change.
10029 * Hook 'EditPageBeforeEditChecks' was removed;
10030   use 'EditPageGetCheckboxesDefinition' instead.
10031 * Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since
10032   1.28, were removed. LinkRenderer::getLinkClasses() should be used instead.
10033 * Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has
10034   been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode()
10035   instead.
10036 * mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of
10037   CapsuleMultiselectWidget. The following methods may no longer be used:
10038   * setItemsFromData: Use setValue instead
10039   * getItemsData: Use getItems instead and get the data property
10040 * Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
10041   removed.  Use addLink() instead.
10042 * Another two OutputPage methods, setPageTitleActionText() and
10043   getPageTitleActionText(), were removed.  They did nothing since 1.15 (almost
10044   ten years).  Use setHTMLTitle() directly.
10045 * The return value of OutputPage::adaptCdnTTL() has been removed. The
10046   value returned was misleading and probably not what any caller would
10047   have wanted.
10048 * All MagicWord static member variables have been removed.  Use appropriate
10049   hooks or MagicWordFactory methods instead.
10050 * MagicWord::clearCache() has been removed.  Instead, create a new
10051   MagicWordFactory, such as by calling
10052   resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
10053 * mw.util.init() has been removed. This function is not needed anymore and was
10054   a no-op function since 1.30.
10055 * SpecialPageFactory::resetList() is a no-op.  Call overrideMwServices()
10056   instead.
10057 * MediaWiki no longer supports a StartProfiler.php file. Instead, you can set
10058   $wgProfiler and $wgEnableProfileInfo.
10059 * The mw.loader.addSource() is now considered a private method, and no longer
10060   supports the `id, url` signature. Use the `Object` parameter instead.
10061 * The backwards-compatibility code in HTMLForm to add a drop-down control to an
10062   option that is not set to be a drop-down if the "mw-chosen" class is present,
10063   is now removed.
10064 * Several collations were removed. They were workarounds for bugs in the ICU
10065   library and they are no longer needed (as of ICU 57.1):
10066   * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead
10067   * 'xx-uca-et' (CollationEt) - use 'uca-et' instead
10068   * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead
10069 * LanguageCode::bcp47() now always returns a valid BCP 47 code.  This means
10070   that some MediaWiki-specific language codes, such as `simple`, are mapped
10071   into valid BCP 47 codes (eg `en-simple`).
10072 * The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated
10073   in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'.
10074   The ChangesListSpecialPage code for these legacy hooks, and their use in
10075   SpecialRecentchanges.php and SpecialWatchlist, was also removed:
10076   * ChangesListSpecialPage->getCustomFilters()
10077   * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters()
10078   * ChangesListSpecialPage::customFilters
10079 * The global function wfUseMW, deprecated since 1.26, has now been removed. Use
10080   the "requires" property of static extension registration instead.
10081 * $wgSpecialPages no longer accepts array syntax, deprecated since 1.18.
10082 * The MailAddress constructor can no longer be called with a User object,
10083   behaviour which has been deprecated since 1.24.
10084 * LBFactory, deprecated since 1.28, has been removed. Instead, use
10085   Wikimedia\Rdbms\LBFactory.
10086 * The MimeMagic class, deprecated since 1.28 has been removed. Get a
10087   MimeAnalyzer instance from MediaWikiServices instead.
10088 * The '--tidy' option to maintenance/parse.php has been removed.  Tidying
10089   the output is now the default.  Use '--no-tidy' to bypass the tidy
10090   phase.
10091 * The global function wfErrorLog, deprecated since 1.25, has now been removed.
10092   Use MWLoggerLegacyLogger::emit or UDPTransport.
10093 * The hooks 'SpecialRecentChangesQuery' & 'SpecialWatchlistQuery', deprecated in
10094   1.23, were removed. Instead, use ChangesListSpecialPageStructuredFilters or
10095   ChangesListSpecialPageQuery.
10096 * The global function wfUsePHP, deprecated since 1.30, has now been removed. To
10097   assert a newer version of PHP than MediaWiki does, use extension registration.
10098 * The hook 'ChangesListSpecialPageFilters', deprecated in 1.29, has now been
10099   removed. Use the 'ChangesListSpecialPageStructuredFilters' hook instead.
10100 * DeferredUpdates::setImmediateMode(), deprecated since 1.29, has been removed.
10101 * File / MediaHandler::getStreamHeaders(), deprecated since 1.30, was removed.
10102 * The hook 'DoEditSectionLink', deprecated since 1.25, has been removed. Use
10103   the hook 'SkinEditSectionLinks' instead.
10104 * The hook 'UserGetImplicitGroups', deprecated since 1.25, has been removed.
10105 * The global function wfRunHooks, deprecated since 1.25, has now been removed.
10106   Use Hooks::run().
10107 * The hook 'UnknownAction', deprecated since 1.19, has now been removed.
10108 * The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use
10109   the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead.
10110 * The following deprecated API methods have been removed:
10111   * ApiBase::profileIn() (deprecated in 1.25)
10112   * ApiBase::profileOut() (deprecated in 1.25)
10113   * ApiBase::safeProfileOut() (deprecated in 1.25)
10114   * ApiBase::profileDBIn() (deprecated in 1.25)
10115   * ApiBase::profileDBOut() (deprecated in 1.25)
10116   * ApiBase::dieUsage() (deprecated in 1.29)
10117   * ApiBase::dieUsageMsg() (deprecated in 1.29)
10118   * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
10119   * ApiBase::getErrorFromStatus() (deprecated in 1.29)
10120   * ApiBase::parseMsg() (deprecated in 1.29)
10121   * ApiBase::setWarning() (deprecated in 1.29)
10122   * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
10123   * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
10124   * ApiUsageException::getCodeString() (deprecated in 1.29)
10125   * ApiUsageException::getMessageArray() (deprecated in 1.29)
10126 * Class UsageException, deprecated in 1.29, has been removed.
10127 * MediaWiki no longer has a 'JavaScript-powered' wikitext toolbar built in. The
10128   old "bulletin board style toolbar", known as "the 2006 wikitext editor", has
10129   been removed, and instead sysadmins will be required to choose one (or more)
10130   of the several extensions available for this purpose if they need the
10131   functionality. The MediaWiki "tarball" releases have included the replacement
10132   extension for this, the WikiEditor extension aka "the 2010 wikitext editor",
10133   for many years now. As part of this, several parts of MediaWiki have been
10134   removed or simplified:
10135   * The user option 'showtoolbar' (shown as "Show edit toolbar") is no longer
10136     available; if an extension adds a toolbar via the EditPageBeforeEditToolbar
10137     hook, it will be shown; extensions should provide a specific user preference
10138     to disable themselves as needed.
10139   * The public methods Language::getImageFile() and ::getImageFiles(), and the
10140     related specification of $imageFiles within individual languages' code file,
10141     as well as the referenced static media assets, all of which were only used
10142     inside MediaWiki itself for providing the icons for the old toolbar, have
10143     been removed without explicit deprecation.
10144   * The internal ResourceLoader module "mediawiki.toolbar", which is unused
10145     except by MediaWiki itself and back-compatibility code, has been removed.
10146   * The internal ResourceLoaderEditToolbarModule class has been removed.
10148 === Deprecations in 1.32 ===
10149 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
10150   button is already marked as progressive.
10151 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
10152   has been centralised to Skin::getDefaultModules(), which is now capable
10153   of queueing style modules as well.
10154 * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are
10155   deprecated. Use addModules() instead.
10156 * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle}
10157   in extending classes is deprecated.  Extend related doSearch* methods
10158   instead.
10159 * The following 'mediawiki.api' plugin modules were merged into mediawiki.api
10160   and deprecated: mediawiki.api.category, mediawiki.api.edit,
10161   mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
10162   mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
10163   mediawiki.api.messages, and mediawiki.api.rollback.
10164 * ApiBase::truncateArray() is deprecated. No replacement, as nothing is known
10165   to use it.
10166 * WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken
10167   with the 'unwatch' action parameter instead.
10168 * IcuCollation::getICUVersion() is deprecated, as you can just use the PHP
10169   constant INTL_ICU_VERSION directly in all versions that MediaWiki supports.
10170 * Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead.
10171 * The ApiQueryContributions class has been renamed to ApiQueryUserContribs.
10172 * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor
10173   of the namespaced classes provided by the wikimedia/xmp-reader library.
10174 * SearchResultSet::{next,rewind} are deprecated. Calling code should
10175   use foreach on the SearchResultSet, or the extractResults method. Extending
10176   code should override extractResults.
10177 * Instantiating SearchResultSet directly is deprecated. SearchEngine
10178   implementations must subclass SearchResultSet for their purposes.
10179 * SearchResult::setExtensionData argument has been changed from accepting an
10180   array to accepting a Closure that returns the array when called.
10181 * Class CryptRand, everything in MWCryptRand except generateHex() and function
10182   MediaWikiServices::getInstance()->getCryptRand() are deprecated, use
10183   random_bytes() to generate cryptographically secure random byte sequences.
10184 * Parser::getConverterLanguage() is deprecated.  Use ::getTargetLanguage()
10185   instead.
10186 * Language::markNoConversion() is deprecated.  It confused readers because
10187   it had unexpected behavior (only marking text if it looked like a URL)
10188   and was only used in a single place in the code.  Use
10189   LanguageConverter::markNoConversion() instead.
10190 * (T197492) Language::truncate() was soft deprecated in 1.31 and is
10191   hard deprecated in this release.  It has been split into two similar
10192   methods, Language::truncateForVisual() and Language::truncateForDatabase(),
10193   which measure length in characters and bytes, respectively.  Use
10194   Language::truncateForVisual() when possible to provide equity to users
10195   of multibyte scripts.
10196 * (T176526) EditPage::getContextTitle() falling back to $wgTitle when the
10197   context title is unset is now deprecated; anything creating an EditPage
10198   instance should set the context title via ::setContextTitle().
10199 * The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated.
10200 * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules()
10201   are deprecated. These concepts are obsolete and have no replacement.
10202 * String type for $lang of DifferenceEngine::setTextLanguage is deprecated.
10203 * The following methods of OutputPage are now deprecated in favour
10204   of using showFatalError directly: OutputPage::showFileDeleteError()
10205   OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError()
10206   OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError().
10207 * The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer
10208   classes are now deprecated. Use a Closure instead.
10209 * (T194263) ContentHandler::makeParserOptions() is deprecated. Use
10210   WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
10211 * (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in
10212   MediaWiki 1.26,  is now hard-deprecated. All known clients were converted to
10213   the Parsoid v3 API in May 2015.
10214 * $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use
10215   $formDescriptor instead.
10216 * SearchEngine::transformSearchTerm( $term ) should no longer be called prior
10217   to running searchText. This method was mainly implemented to support the
10218   'prefix' URI param in SpecialSearch, but there are no reasons to expose this
10219   logic as it should be handled internally by SearchEngine implementations
10220   supporting this feature. SearchEngine implementations should no longer
10221   override this methods.
10222 * SearchEngine::replacePrefixes( $query ) should no longer be called prior
10223   to running searchText/searchTitle.
10224 * (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
10225   'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
10226 * Global functions  wfArrayFilter() and wfArrayFilterByKey() are deprecated.
10227   use array_filter() directly.
10228 * The $wgShowSQLErrors global is deprecated and nonfunctional.
10229   Set $wgShowExceptionDetails and/or $wgShowHostnames instead.
10230 * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional.
10231   Set $wgShowExceptionDetails instead.
10232 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
10233   mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
10234   mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() /
10235   getOldRevision() / getNewRevision() for the first four (note that the
10236   revision ones return a RevisionRecord, not a Revision), do your own lookup
10237   for page/content.
10238 * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
10239   just enable the PHP extension, and it will be autodetected.
10240 * (T194731) DifferenceEngine properties mOldContent and mNewContent and methods
10241   setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff()
10242   are deprecated. To interact with a single slot, use a SlotDiffRenderer (and
10243   subclass it to customize diff rendering); to diff custom (e.g. unsaved)
10244   content, use setRevisions(). Subclassing DifferenceEngine should only be done
10245   to customize page-level diff properties (such as the navigation header).
10246 * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
10247 * All MagicWord static methods are now deprecated.  Use the MagicWordFactory
10248   methods instead.
10249 * PasswordFactory::init is deprecated. To get a password factory with the
10250   standard configuration, use
10251   MediaWikiServices::getInstance()->getPasswordFactory.
10252 * $wgContLang is deprecated, use
10253   MediaWikiServices::getInstance()->getContentLanguage() instead.
10254 * $wgParser is deprecated, use MediaWikiServices::getInstance()->getParser()
10255   instead.
10256 * wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance()
10257   instead.
10258 * wfGetCache() is deprecated, use ObjectCache::getInstance() instead.
10259 * All SpecialPageFactory static methods are deprecated. Instead, call the
10260   methods on a SpecialPageFactory instance, which may be obtained from
10261   MediaWikiServices.
10262 * mw.user.stickyRandomId was renamed to the more explicit
10263   mw.user.getPageviewToken to better capture its function.
10264 * Passing Revision objects to ContentHandler::getUndoContent() is deprecated,
10265   Content object should be passed instead.
10266 * (T197179) Parameters 'notice', 'notice-messages', 'notice-message',
10267   previously used by OOUI HTMLForm fields, are now deprecated. Use
10268   'help', 'help-message', 'help-messages' instead.
10269 * (T197179) HTMLFormField::getNotices() is now deprecated.
10270 * The jquery.localize module is now deprecated. Use jquery.i18n instead.
10271 * The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates,
10272   or overriding ContentHandler::getSecondaryDataUpdates (T194038).
10273 * The WikiPageDeletionUpdates hook was deprecated in favor of
10274   PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates
10275   (T194038).
10276 * Content::getSecondaryDataUpdates has been deprecated in favor of
10277   ContentHandler::getSecondaryDataUpdates() for overriding by extensions
10278   (T194038).
10279   Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
10280 * Content::getDeletionUpdates has been deprecated in favor of
10281   ContentHandler::getDeletionUpdates() for overriding by extensions (T194038).
10282   Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
10283 * (T198214) Old Tidy-related configuration settings, which were soft-deprecated
10284   in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy,
10285   $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use
10286   $wgTidyConfig instead.
10287 * All Tidy configurations other than Remex have been hard deprecated;
10288   future parsers will not emit compatible output for these configurations.
10289   In particular, running MediaWiki with tidy disabled has been deprecated.
10290 * (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(),
10291   and OutputPage::addWikiTextTitle() have been deprecated, since they
10292   can result in untidy output.  In addition OutputPage::addWikiTextTidy()
10293   and OutputPage::addWikiTextTitleTidy() was deprecated to make naming new
10294   methods consistent.  Use OutputPage::addWikiTextAsInterface() or
10295   OutputPage::addWikiTextAsContent() instead, which ensures the output is
10296   tidy and clarifies whether content-language specific postprocessing should
10297   be done on the text.
10298 * OutputPage::parse() and OutputPage::parseInline() have been deprecated
10299   due to untidy output and inconsistent handling of wrapper divs and
10300   interface/content language defaults.  Use OutputPage::parseAsContent(),
10301   OutputPage::parseAsInterface(), or OutputPage::parseInlineAsInterface()
10302   as appropriate.
10303 * QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated
10304   as they promote bad practises. I18n messages should always be properly
10305   escaped.
10306 * Skin::getDynamicStylesheetQuery() has been deprecated. It always
10307   returns action=raw&ctype=text/css which callers should use directly.
10308 * Class LegacyFormatter is deprecated.
10309 * Use of CommentStore::insertWithTempTable() with 'img_description' is
10310   deprecated. Use CommentStore::insert() instead.
10311 * Language::setCode is deprecated as public function. Use Language::factory
10312   to create a new Language object with a different language code.
10313 * Several classes have been moved from the MediaWiki\Storage\ namespace to the
10314   MediaWiki\Revision\ namespace. The old class names are aliased for
10315   compatibility, but are deprecated. Classes are IncompleteRevisionException,
10316   MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
10317   RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
10318   RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
10319   SuppressedDataException.
10320 * When using OOUI HTMLForm containing an 'info' field which uses the 'rawrow'
10321   option, it is now deprecated to give its contents (the 'default' option)
10322   as a string. They should be given as a OOUI\FieldLayout object instead.
10323   Notably, this affects fields defined in the 'GetPreferences' hook, because
10324   Special:Preferences uses an OOUI form now. (If possible, don't use 'rawrow'.)
10325 * In Skin::doEditSectionLink omitting the parameters $tooltip and $lang is
10326   deprecated. For the $lang parameter, types other than Language are
10327   deprecated.
10328 * The $wgUseKeyHeader configuration option and the
10329   OutputPage::getKeyHeader() method have been deprecated; the relevant
10330   draft IETF spec expired without becoming a standard.
10331 * Deprecated API action=query&prop=info inprop=readable in favor of
10332   intestactions=read.
10334 === Other changes in 1.32 ===
10335 * (T198811) The following tables have had their UNIQUE indexes turned into
10336   proper PRIMARY KEYs for increased maintainability: interwiki, page_props,
10337   protected_titles and site_identifiers.
10338 * OOUI HTMLForm will now display help text inline after the input field,
10339   rather than in a popup. Previous behavior can be restored by using
10340   `'help-inline' => false`.
10341 * The archive table's ar_rev_id field is now unique.
10342 * Special:BotPasswords now requires reauthentication.
10343 * (T174023) Multi-Content Revision (MCR) capabilities were introduced into the
10344   storage layer and have basic support for display. No user interface exists
10345   yet for creating or managing content in slots beides the main slot. See
10346   <https://www.mediawiki.org/wiki/Multi-Content_Revisions> for more
10347   information.
10348 * The image_comment_temp database table has been removed. Since all access
10349   should be mediated by the CommentStore class, this change shouldn't affect
10350   external code.
10351 * (T206147) Database::close() will no longer commit any open transactions.
10352 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
10353   recentchanges.rc_cur_time from the PostgreSQL schema.
10355 = MediaWiki 1.31 =
10357 == MediaWiki 1.31.16 ==
10359 This is a security and maintenance release of the MediaWiki 1.31 branch.
10361 This is intended to be the final release of the MediaWiki 1.31 branch,
10362 and as such, 1.31 is now considered End of Life.
10364 === Changes since MediaWiki 1.31.15 ===
10365 * (T283273) Make postgres IRC channel point to libera.chat.
10366 * (T289108) ExtensionProcessor: Remove loaderScripts from
10367   extension.json schemas.
10368 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in
10369   Special:Search.
10370 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
10371   table scan.
10372 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
10373   Special:Contributions.
10375 == MediaWiki 1.31.15 ==
10377 This is a security and maintenance release of the MediaWiki 1.31 branch.
10379 === Changes since MediaWiki 1.31.14 ===
10380 * (T270988) Fixup issues in SpecialChangeContentModel.php.
10381 * (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER.
10382 * (T276945) Define a batch size in maintenance/manageJobs.php.
10383 * (T276945) Implement JobQueueDB::getAllAbandonedJobs.
10384 * (T281549) WebInstaller: Don't show the announce-l subscribe
10385   checkbox temporarily.
10386 * (T283247) Freenode -> Libera per wikimedia moving from
10387   freenode to libera.
10388 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from
10389   purging pages.
10391 == MediaWiki 1.31.14 ==
10393 This is a maintenance release of the MediaWiki 1.31 branch.
10395 === Changes since MediaWiki 1.31.13 ===
10396 * Make Title implement IDBAccessObject.
10398 == MediaWiki 1.31.13 ==
10400 This is a security and maintenance release of the MediaWiki 1.31 branch.
10402 === Changes since MediaWiki 1.31.12 ===
10403 * (T115436) resourceloader: CSSMin::getLocalFileReferences now strips
10404   anchors.
10405 * Updating php-parallel-lint/php-parallel-lint (0.9.2 => 1.0.0).
10406 * Updating mediawiki/codesniffer (19.1.0 => 19.4.0).
10407 * DefaultSettings.php: Update $wgPingback documentation.
10408 * PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0.
10409 * (T275261) Escape wikitext in the title in invalid title error messages.
10410 * (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access
10411   Special:ResetTokens.
10412 * pageExist.php: Output trailing newlines.
10413 * (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages
10414   on ChangesList pages.
10415 * (T277414) HTMLFormField: Use non namespaced class name rather than
10416   static::class.
10417 * (T268230) Switch to new MediaWiki logo by Serhio Magpie.
10418 * (T271735) Expand config-pingback-help, link to privacy policy in
10419   config-pingback.
10420 * Fix documentation of user-global in $wgRateLimits.
10421 * BackupDumper: Add -o as shortcode for --output.
10422 * (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-*
10423   messages on Special:NewFiles.
10424 * (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection
10425   they have right to do so via action=protect.
10426 * (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in
10427   fast double move.
10428 * (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user
10429   can create pages.
10430 * (T276843, CVE-2021-20270, CVE-2021-27291) SECURITY:
10431   SyntaxHighlight_GeSHi: Various lexers have been disabled due to DoS
10432   vectors.
10434 == MediaWiki 1.31.12 ==
10436 This is a maintenance release of the MediaWiki 1.31 branch.
10438 === Changes since MediaWiki 1.31.11 ===
10439 * Fixed issues relating to User::isRegistered() not existing in 1.31.
10441 == MediaWiki 1.31.11 ==
10443 This is a security and maintenance release of the MediaWiki 1.31 branch.
10445 === Changes since MediaWiki 1.31.10 ===
10446 * Fix undefined $wgRedirectOnLogin.
10447 * (T251661, T265313) CentralIdLookup::factoryNonLocal can return null.
10448 * (T263592) media: Fix case of FlashPixVersion in
10449   FormatMetadata::makeFormattedData().
10450 * (T265223) BaseTemplate: Guard against passing zero arg to array_merge().
10451 * (T266418) composer.json: add requirement for composer-plugin-api ^1.1.
10452 * (T260631, T260633), BotPassword::save() now returns a Status object for the
10453   result rather than a bool. The length of the bot password grants and
10454   restriction fields are now validated, and an error will be thrown if it
10455   would be truncated by the database.
10456 * (T264536, T233012) SectionProfiler: Do not attempt to use null values as
10457   arrays.
10458 * (T269178) MemcachedClient: Cast Resource to integer.
10459 * (T268917, CVE-2020-35475) SECURITY: Use Xml::element in SpecialUserrights for
10460   sanity.
10461 * (T268938, CVE-2020-35479) SECURITY: BlockLogFormatter can output raw html.
10462 * (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log entries
10463   when MediaWiki:Mainpage uses Special:MyLanguage.
10464 * (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions and
10465   user pages of hidden users and missing users.
10467 == MediaWiki 1.31.10 ==
10469 This is a maintenance release of the MediaWiki 1.31 branch.
10471 === Changes since MediaWiki 1.31.9 ===
10472 * Fixed issues relating to backporting of changes for T260485.
10474 == MediaWiki 1.31.9 ==
10476 This is a security and maintenance release of the MediaWiki 1.31 branch.
10478 === Changes since MediaWiki 1.31.8 ===
10479 * In the web installer, use secure session cookies.
10480 * (T257207) shell: Expand documentation in firejail.profile.
10481 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional
10482   and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
10483   recommend this be set to true on pure HTTPS wikis.
10484 * Added $wgCookieSameSite, which allows login cookies to be sent with
10485   SameSite=None. This is required for cross-site CentralAuth autologin after
10486   Chrome 84.
10487 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to
10488   SameSite=None cookies for browsers which implemented an incompatible draft
10489   version of the specification.
10490 * (T191537) Disable WebResponse setters for post-send processing.
10491 * (T198525) WebReponse: Use values altered in 'WebResponseSetCookie' hook.
10492 * Fix runBatchedQuery.php for no result from select.
10493 * (T130906) Add Edge to MediaWiki:Clearyourcache.
10494 * Use IPset in MWRestrictions::checkIP.
10495 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
10496 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
10497 * (T183759) Fixes shell edge-cases in Windows.
10498 * (T258390) Add CentralIdLookup::factoryNonLocal().
10499 * (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate
10500   limits.
10501 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate
10502   limit type.
10503 * (T246991) User: enforce pingLimiter() expiry time.
10504 * (T260232) don't include null page ids in query list for category dumps.
10505 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
10506 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
10507 * (T263455 T247285) Set EnableJavaScriptTest to true in
10508   includes/DevelopmentSettings.php.
10509 * (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence
10510   of hidden users.
10511 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
10512   firejail's --output functionality.
10513 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
10514   'style' attribute.
10515 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
10516   mw.message( ... ).parse().
10517 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
10518   database.
10519 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
10521 == MediaWiki 1.31.8 ==
10523 This is a security and maintenance release of the MediaWiki 1.31 branch.
10525 === Changes since MediaWiki 1.31.7 ===
10526 * (T199809) Don't invalidate BotPasswords if a password reset email is sent.
10527 * (T247017) PasswordReset performance improvements.
10528 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
10529   7.3.17.
10530 * Remove some rotten and out of date documentation.
10531 * (T252311) Improvements to some older SQLite update patches.
10532 * (T240307) Minor fixes to extension.schema.v2.json and
10533   extension.schema.v1.json.
10534 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
10535   rebuildrecentchanges.php.
10536 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
10537 * (T206476) Call ob_start() before running tests.
10538 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
10539   setting $wgPoolCounterConf['SpecialContributions'] appropriately.
10540 * (T248947) SECURITY: img_auth.php may leak private extension images into the
10541   public cache.
10543 == MediaWiki 1.31.7 ==
10545 This is a security and maintenance release of the MediaWiki 1.31 branch.
10547 === Changes since MediaWiki 1.31.6 ===
10548 * (T193565, T234022) Re-add DB domain sanity checks to LoadBalancer.
10549 * Use proper SemVer comparison in CheckComposerLockUpToDate.
10550 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
10551 * Update comment about PHP versions supported by The PHP Group.
10552 * (T247215) Fix output of RecountCategories::doWork().
10553 * Add check for page existence to view.php maintenance script.
10554 * (T247580) Disable some broken Selenium tests.
10555 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
10556 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
10557   any CSS selector.
10559 == MediaWiki 1.31.6 ==
10561 This is a security and maintenance release of the MediaWiki 1.31 branch.
10563 === Changes since MediaWiki 1.31.5 ===
10564 * (T181658) Do not insert page titles into querycache.qc_value.
10565 * (T206013) Suppress errors when reading invalid XML file properties.
10566 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
10567 * Use correct value for 'sslmode' in DatabasePostgres.
10568 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
10569 * (T227461) Stop calling deprecated Redis delete functions.
10570 * (T239561) Mark options as requiring parameters in addSite.php.
10571 * (T239734) Replace deprecated lSize with lLen in Redis code.
10572 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
10573 * (T239428) ApiEditPage: Test for bad redirect targets.
10574 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
10575   'trace'.
10576 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
10577 * (T212067) Work around PHP bug in parse_url.
10579 == MediaWiki 1.31.5 ==
10581 This is a maintenance release of the MediaWiki 1.31 branch.
10583 === Changes since MediaWiki 1.31.4 ===
10584 * Fix extra newlines in installer.
10585 * Followup T230402, PermissionManager doesn't exist until 1.33, so fix the
10586   backported patches to use User::isAllowed() instead.
10588 == MediaWiki 1.31.4 ==
10590 This is a security and maintenance release of the MediaWiki 1.31 branch.
10592 === Changes since MediaWiki 1.31.3 ===
10593 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
10594 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
10595   of headers in private wikis.
10596 * (T230402) SECURITY: Add permission check for suppressed account to
10597   Special:Redirect.
10598 * Add helper for HTTPFileStreamer header syntax.
10599 * (T118799) Fix XMP parser errors due to trailing nullchar.
10600 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
10601 * (T202183) Give more specific error messages on Special:Redirect.
10602 * Cache redirects from Special:Redirect.
10603 * (T231386) dispatchUser() should use a 302 http status code.
10604 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
10605   separate files to help allieviate potential migration problems.
10606 * Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database
10607   updates.
10609 == MediaWiki 1.31.3 ==
10611 This is a maintenance release of the MediaWiki 1.31 branch.
10613 === Changes since MediaWiki 1.31.2 ===
10614 * (T225558) Update installer link to PHP intl.
10615 * (T225496) Detect APC for MainCacheType in CLI installer.
10616 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies.
10617 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
10619 == MediaWiki 1.31.2 ==
10621 This is a security and maintenance release of the MediaWiki 1.31 branch.
10623 Required PHP version has been increased from 7.0.0 to 7.0.13.
10625 === Changes since MediaWiki 1.31.1 ===
10626 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
10627   all titles when asked for none.
10628 * (T205967) Fix syntax error typo in postgres database upgrade file.
10629 * (T200254) Add pear/Net_SMTP 1.7.3 to composer dependencies.
10630 * (T206765) Load installer i18n when running update.php.
10631 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
10632   libraries.
10633   [Also in the bundled composer /vendor directory.]
10634 * Various PHP 7.2 and 7.3 compatibility fixes:
10635   * (T200595, T206974) Fix PHP 7.3 warnings of using "continue" in some
10636     scenarios instead of "break".
10637     * (T206976, T206977) Also in the bundled LocalisationUpdate and
10638       ParserFunctions extensions.
10639   * (T206979) Fix PHP 7.3 warnings of using "compact()" when some variables may
10640     not be set.
10641   * (T215632) FormatMetadata and UploadStash regexes fixed to be PHP
10642     7.3-compatible.
10643   * Fix PHP warnings "preg_replace(): [...] invalid range in character class.
10644   * Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable.
10645   * Suppress "Headers already sent" in PHP 7.2 too.
10646   * (T206476) Output only to stderr in unit tests.
10647   * (T207112) Add session_write_close() calls to SessionManager tests.
10648   * oyejorge/less.php replaced with our fork wikimedia/less.php
10649   * (T209756) Updated wikimedia/ip-set from 1.2.0 to 1.3.0.
10650   * (T213489) Avoid session double-start in Setup.php.
10651   * (T206975) Switch to our fork of less.php.
10652 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
10653 * (T201781) Database: Allow selectFieldValues() to accept SQL fragments.
10654 * (T205765) installer: Don't link to the obsolete "Extension Matrix" page.
10655 * (T206013) Update ImportableUploadRevisionImporter for interwiki usernames.
10656 * (T207541) Pass an email address, not a MailAddress, to mail().
10657 * (T207603) SECURITY: User JS may no longer be loaded with mime type
10658   text/javascript if there is no account associated with the username.
10659 * (T112937, T113042) SECURITY: Do not allow loading pages raw with a
10660   text/javascript MIME
10661   type if non-admins can edit the page.
10662 * (T17491) <ins>/<del> elements can be phrasing or flow.
10663 * (T200827) RemexCompatMunger: Don't call endTag() in case B/b
10664 * (T207088) Upgrade wikimedia/remex-html to 2.0.1.
10665   [Also in the bundled composer /vendor directory.]
10666 * (T194052) Updated wikimedia/base-convert from 1.0.1 to 2.0.0.
10667   [Also in the bundled composer /vendor directory.]
10668 * (T199494) Fix notices in maintenance/removeUnusuedAccounts.php.
10669 * Require ext-fileinfo in composer.json, per PHPVersionCheck.
10670 * (T176390) Bundled LocalisationUpdate extension: Handle exceptions from
10671   GitHubFetcher.
10672 * (T208255) Completion search should not change the search query.
10673 * (T209870) Fix SQL syntax error in MS-SQL initialisation file for new wikis.
10674 * (T185049) LogFormatter: Fail softer when trying to link an invalid titles.
10675 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
10676   if --lang is used with the command-line installer (install.php).
10677 * (T211061) ImageListPager: Actor migration for buildQueryConds().
10678 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
10679 * Fix addition of ug_expiry column to user_groups table on MSSQL.
10680 * (T204767) Add join conditions to ActiveUsersPager.
10681 * (T210621) User: Bypass repeatable-read when creating an actor_id.
10682 * (T204531) rdbms: reduce LoadBalancer replication log spam.
10683 * (T195525) Fix db error outage page.
10684 * (T208871) The hard-coded Google search form on the database error page was
10685   removed.
10686 * (T176097) Fix flaky MessageBlobStoreTest assertion failures.
10687 * (T209423) Update required PHP version to 7.0.13.
10688 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
10689   has been started.
10690 * (T216968) Return pageid as int in both list=iwbacklinks and
10691   list=langbacklinks.
10692 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
10693 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
10694 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
10695 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
10696   $wgBlockDisablesLogin is true.
10697 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
10698   a non-Latin name on a page with non-Latin characters in title.
10699 * (T219728) Added support for new Japanese era name "Reiwa".
10700 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
10701   token.
10702 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
10703 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
10704   saveFileDependencies().
10705 * (T224374) Fix message parameters so that the message that says SQLite is out
10706   of date makes sense.
10707 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
10708   reauthenticating.
10709 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
10710   getLoginSecurityLevel() returns non-false.
10711 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
10712 * (T208881) SECURITY: blacklist CSS var().
10713 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
10714 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
10715 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
10716 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
10717   view the log type.
10718 * (T221739) SECURITY: resources: Patch jQuery 3.2.1 for CVE-2019-11358.
10720 == MediaWiki 1.31.1 ==
10722 This is a security and maintenance release of the MediaWiki 1.31 branch.
10724 === Changes since MediaWiki 1.31.0 ===
10725 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
10726   'newbie'.
10727 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
10728   account lock.
10729 * (T199029, CVE-2018-13258) SECURITY: Tarball was missing .htaccess files.
10730 * (T197229) Bundle Nuke extension, it was accidentally omitted.
10731 * (T193995) Fix undefined patchPath() method call in parser tests.
10732 * (T198687) Fix various selectFields methods to use the string 'NULL', not null.
10733 * Special:BotPasswords now requires reauthentication.
10734 * (T191608, T187638) Add 'logid' parameter to Special:Log.
10735 * (T193829) Indicate when a Bot Password needs reset.
10736 * (T198037) GitInfo: Don't try shelling out if it's disabled.
10737 * (T151415) Log email changes.
10738 * (T197206) Fix performance regression when multiple DB used without caching.
10739 * (T197030) PHPSessionHandler: Suppress headers warnings in initialize().
10740 * (T182377, T196793) Exif: Guard against uncountable tag values.
10741 * (T200861) Fix total breakage of SQLite web upgrade.
10742 * (T200864) Fix pingback over-reporting on non-MySQL databases
10743 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
10744   hooks.
10746 == MediaWiki 1.31.0 ==
10748 === Changes since MediaWiki 1.31.0-rc.2 ===
10749 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
10750 * (T196092) Hide MySQL binary/utf-8 charset option in the installer.
10751 * (T196185) Don't allow setting $wgDBmysql5 in the installer.
10752 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
10753 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
10754 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
10755   hook.
10756 * (T196672) The mtime of extension.json files is now able to be zero
10757 * (T180403) Validate $length in padleft/padright parser functions.
10758 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
10760 === Changes since MediaWiki 1.31.0-rc.0 ===
10761 * (T33223) Drop archive.ar_text and ar_flags.
10762 * Add default edit rate limit of 90 edits/minute for all users.
10763 * (T187645) Use codepoint as tiebreaker when getting first-letters in
10764   IcuCollation.
10765 * (T191947) Don't shell during the installer if shelling out is disabled.
10766 * (T194319) Improve duplicate config setting exception as part of extension
10767   registration.
10768 * (T195211) Don't require trailing slash in PSR-4 autoloader directory.
10769 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
10770 * Do not incorrectly hide namespace input field in the installer.
10771 * (T186456) Refactor checks looking for PEAR maik libraries to be clearer.
10773 === Important pre-upgrade notes for 1.31 ===
10774 * If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply
10775   schema changes, and cannot have downtime to run migrateArchiveText.php and
10776   apply patch-drop-ar_text.sql manually, you'll have to apply a default value
10777   to the ar_text and ar_flags columns of the archive table or make those
10778   columns nullable before upgrading to MediaWiki 1.31.
10779   maintenance/archives/patch-nullable-ar_text.sql shows how to do this for
10780   MySQL.
10782 === Configuration changes in 1.31 ===
10783 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
10784   a future version. The API is now considered to be stable, secure and
10785   essential.
10786 * $wgUsejQueryThree was removed, as it is now the default. This was documented
10787   as a temporary variable during the migration period, deprecated since 1.29.
10788 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
10789   possible for fallback images such as png.
10790 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not
10791   have the right to mark things patrolled.
10792 * Wikis that contain imported revisions or CentralAuth global blocks should run
10793   maintenance/cleanupUsersWithNoId.php.
10794 * The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and
10795   $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
10796 * (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that
10797   are not using the latest version of the Referrer Policy specification.
10798 * $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a
10799   first step of migration to human-readable section IDs that will later result
10800   in 'html5' being the default mode.
10801 * CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed
10802   as upstream is inactive and has no plans to move to PHP 7.
10803 * The old CategorizedRecentChanges feature, including its related configuration
10804   option $wgAllowCategorizedRecentChanges, has been removed.
10805 * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported
10806   for performance reasons, and installations with this setting will now work as
10807   if it was configured with 'any'.
10808 * (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input,
10809   rather than being off by default. If you wish to disable HTML tidying
10810   entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated
10811   Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
10812 * $wgLogAutopatrol now defaults to false instead of true.
10813 * $wgValidateAllHtml was removed and will be ignored.
10814 * $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the
10815   1.25 release notes for more information.
10816 * $wgUseAjax is now marked as deprecated, just like the deprecated AJAX
10817   framework that it enables. Some extensions mistakenly used this to check
10818   whether any AJAX functionality at all should be enabled, further making this
10819   problematic to retain.
10820 * $wgDBmysql5 is now deprecated, and will be removed in a future version. It
10821   has been marked as experimental ever since it was introduced.
10823 === New features in 1.31 ===
10824 * (T76554) User sub-pages named ….json are now protected in the same way that
10825   ….js and ….css pages are, so that configuration options can safely be placed
10826   there.
10827 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins
10828   with parentheses for grouping.
10829 * As a first pass in standardizing dialog boxes across the MediaWiki product,
10830   Html class now provides helper methods for messageBox, successBox, errorBox
10831   and warningBox generation.
10832 * (T9240) Imports will now record unknown (and, optionally, known) usernames in
10833   a format like "iw>Example".
10834 * (T20209) Linker (used on history pages, log pages, and so on) will display
10835   usernames formed like "iw>Example" as interwiki links, as if by wikitext like
10836   [[iw:User:Example|iw>Example]].
10837 * (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create
10838   users during an import.
10839 * Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect
10840   the ParserOutput::getText() post-cache transformations.
10841 * Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the
10842   initial page text for file uploads.
10843 * (T181651) The info page for File pages now displays the file's base-16 SHA1
10844   hash value in the table of basic information.
10845 * Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a
10846   ParserOutput::getText() post-cache transformation. This may be disabled by
10847   passing 'deduplicateStyles' => false to that method.
10848 * The identity of the logged-in or IP "actor" for logged actions is being moved
10849   into a new actor table, with the rows in tables such as revision and logging
10850   referring to the actor ID instead of storing the user ID and name/IP in
10851   every row.
10852   * This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis
10853     can set this to MIGRATION_NEW and run maintenance/migrateActors.php as
10854     soon as any necessary extensions are updated.
10855   * Most code accessing rows for logged actions from the database should use
10856     the relevant getQueryInfo() methods to get the information needed to build
10857     the SQL query. The ActorMigration class may also be used to get feature
10858     -flagged information needed to access actor-related fields during the
10859     migration period.
10860 * Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic
10861   section without having to roll back the whole transaction.
10862 * Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(),
10863   and non-MySQL ::replace() and ::upsert() no longer roll back the whole
10864   transaction on failure.
10865 * (T189785) Added a monthly heartbeat ping to the pingback feature.
10866 * The CLI installer (maintenance/install.php) learned to detect and include
10867   extensions. Pass --with-extensions to enable that feature.
10868 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
10869   "1" for manually patrolled and "2" for autopatrolled actions.
10870 * Extensions can now set their type to "editor" if they provide an editor or
10871   enhance the editing experience.
10872 * Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces"
10873   property in extension.json. See the documentation at
10874   <https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
10875   for more details and an example.
10876 * (T19099) Tabs which link to pages that don't exist (like those to uncreated
10877   discussion pages) now have a tooltip to indicate state, not just colour.
10879 === External library changes in 1.31 ===
10880 * pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
10881   suggested to required. These packages now must be installed via composer
10882   and not via PEAR itself.
10884 ==== Upgraded external libraries ====
10885 * Updated jquery.chosen from v0.9.14 to v1.8.2.
10886 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
10887 * Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency).
10888 * Updated wikimedia/ip-set from 1.1.0 to 1.2.0.
10889 * Updated wikimedia/relpath from 2.0.0 to 2.1.1.
10890 * Updated wikimedia/running-stat from 1.1.0 to 1.2.0.
10891 * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0.
10892 * Updated mediawiki/at-ease from 1.1.0 to 1.2.0.
10893 * Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6.
10894 * Updated wikimedia/remex-html from 1.0.2 to 1.0.3.
10895 * Updated wikimedia/html-formatter from 1.0.1 to 1.0.2.
10897 ==== New external libraries ====
10898 * Added wikimedia/object-factory 1.0.0
10900 ==== Removed and replaced external libraries ====
10901 * (T17845) The deprecated 'jquery.badge' module was removed.
10902 * The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS
10903   text-overflow property instead.
10904 * The deprecated 'jquery.placeholder' module was removed.
10905 * The deprecated 'jquery.appear' module was removed. Use the
10906   'mediawiki.viewport' module instead.
10907 * mediawiki/at-ease was replaced with wikimedia/at-ease.
10909 === Bug fixes in 1.31 ===
10910 * (T90902) Non-breaking space in header ID breaks anchor.
10911 * (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a
10912   space.
10913 * (T2087, T10897, T87753, T174639) Whitespace created by category and language
10914   links is now stripped rather than leaving blank lines in odd places.
10915 * (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
10916 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
10918 === Action API changes in 1.31 ===
10919 * (T185058) The 'name' value to tgprop for action=query&list=tags has been
10920   removed. It has never made a difference in the output, the name was always
10921   returned regardless.
10922 * The 'watch' and 'unwatch' parameters for action=move have been removed. They
10923   were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use
10924   'watchlist' instead.
10926 === Action API internal changes in 1.31 ===
10927 * ApiBase::getProfileDBTime, deprecated since 1.25, was removed.
10928 * ApiBase::getModuleProfileName, deprecated since 1.25, was removed.
10929 * ApiBase::getProfileTime, deprecated since 1.25, was removed.
10931 === Languages updated in 1.31 ===
10932 MediaWiki supports over 350 languages. Many localisations are updated
10933 regularly. Below only new and removed languages are listed, as well as
10934 changes to languages because of Phabricator reports.
10936 * (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
10937 * (T182305) New language support: Nyungar (nys).
10938 * (T186359) New language support: Siberian Tatar [себертатар] (sty).
10939 * (T186635) New language support: Guianan Creole (gcr).
10940 * (T186647) New language support: Kumyk [къумукъ] (kum).
10941 * (T187750) New language support: Spanish formal address (es-formal).
10942 * (T187824) New language support: Hungarian formal address (hu-formal).
10943 * (T189127) New language support: Gorontalo (gor).
10945 === Breaking changes in 1.31 ===
10946 * MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed.
10947 * The OutputPage class constructor now requires a context parameter.
10948   Instantiating without context was deprecated in 1.18.
10949 * The mw.page JavaScript singleton, deprecated in 1.30, was removed.
10950 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
10951   related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
10952 * The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and
10953   ::onArticleEdit() methods, deprecated in 1.24, were removed.
10954 * Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were
10955   removed. Use ExecutableFinder::findInDefaultPaths() instead.
10956 * The deprecated MW_DIFF_VERSION constant was removed.
10957   DifferenceEngine::MW_DIFF_VERSION should be used instead.
10958 * Due to significant refactoring, method ContribsPager::getUserCond() that had
10959   no access restriction has been removed.
10960 * The Block class will no longer accept usable-but-missing usernames for
10961   'byText' or ->setBlocker(). Callers should either ensure the blocker exists
10962   locally or use a new interwiki-format username like "iw>Example".
10963 * The following methods and constants from the WatchedItem class, which were
10964   deprecated in 1.27, have been removed:
10965   * WatchedItem::getTitle()
10966   * WatchedItem::fromUserTitle()
10967   * WatchedItem::addWatch()
10968   * WatchedItem::removeWatch()
10969   * WatchedItem::isWatched()
10970   * WatchedItem::duplicateEntries()
10971   * WatchedItem::IGNORE_USER_RIGHTS
10972   * WatchedItem::CHECK_USER_RIGHTS
10973   * WatchedItem::DEPRECATED_USAGE_TIMESTAMP
10974 * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed.
10975   $wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration
10976   variable, has been deprecated since 1.27 and was removed as well.
10977 * The $maxLineLength parameter of JavaScriptMinifier::minify was removed.
10978   $wgResourceLoaderMinifierMaxLineLength, the corresponding configuration
10979   variable, has been deprecated since 1.27 and was removed as well.
10980 * The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced
10981   HtmlFormatter\HtmlFormatter class should be used instead.
10982 * The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed.
10983   The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The
10984   default driver for MySQL has been 'mysqli' since MediaWiki 1.22.
10985 * The following properties of PreparedEdit were deprecated in 1.21 and have
10986   been removed:
10987   * PreparedEdit->newText
10988   * PreparedEdit->oldText
10989   * PreparedEdit->pst
10990 * ParserOutput objects which are generated using a non-default value for
10991   ParserOptions::setWrapOutputClass() can no longer be added to the parser
10992   cache.
10993 * The following deprecated methods from the OutputPage class have been removed:
10994   * OutputPage::addExtensionStyle(); deprecated in 1.27
10995   * OutputPage::getExtStyle(); deprecated in 1.27
10996   * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
10997   * OutputPage::setSquidMaxage(); deprecated in 1.27
10998   * OutputPage::readOnlyPage(); deprecated in 1.25
10999   * OutputPage::rateLimited(); deprecated in 1.25
11000   * Additionally, the protected OutputPage::$mExtStyles array, only accessed
11001     through the above and with no known uses, was removed.
11002 * The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
11003 * The following variables and methods in EditPage, deprecated in MediaWiki 1.30,
11004   were removed:
11005   * $isCssJsSubpage — use ::isUserConfigPage()
11006   * $isCssSubpage — use ::isUserCssConfigPage()
11007   * $isJsSubpage — use ::isUserJsConfigPage()
11008   * $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage()
11009   * ::getSummaryInput() – use ::getSummaryInputWidget()
11010   * ::getSummaryInputOOUI() – use ::getSummaryInputWidget()
11011   * ::getCheckboxes() – use ::getCheckboxesWidget() or
11012       ::getCheckboxesDefinition()
11013   * ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or
11014       ::getCheckboxesDefinition()
11015 * ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed.
11016 * In User, the cookie-related methods which were wrappers for the functions on
11017   the response object, and were deprecated in 1.27, have been removed:
11018   * ::setCookie()
11019   * ::clearCookie()
11020   * ::setExtendedLoginCookie()
11021   Note that User::setCookies() remains, and is not deprecated.
11022 * Also in User, some auth-related methods which were deprecated in 1.27 have
11023   been removed:
11024   * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
11025   * ::getPasswordFactory() – create a PasswordFactory directly
11026   * ::passwordChangeInputAttribs()
11027 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have
11028   been removed.
11029 * SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can
11030   use ::getNames() instead.
11031 * OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You
11032   can use ApiOpenSearch::getOpenSearchTemplate() instead.
11033 * The global function wfBaseConvert, deprecated in 1.27, has been removed. Use
11034   Wikimedia\base_convert() directly.
11035 * Calling Database::begin() explicitly during an implicit transaction or when
11036   DBO_TRX is set results in an exception. Calling Database::commit() explicitly
11037   for an implicit transaction also results in an exception. Previously these
11038   were logged as errors. The startAtomic() and endAtomic() methods, or
11039   AtomicSectionUpdate should be used instead.
11040 * The global function wfOutputHandler() was removed, use the its replacement
11041   MediaWiki\OutputHandler::handle() instead. The global function was only
11042   sometimes defined. Its replacement is always available via the autoloader.
11043 * ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags,
11044   deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and
11045   ::listSoftwareDefinedTags() instead.
11046 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can
11047   use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
11048 * HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
11049 * The ProfileSection class, deprecated in 1.25 and unused, has been removed.
11050 * The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use
11051   ResourceLoaderModule::getLessVars() to expose local variables instead of
11052   global ones.
11053 * As part of work to modernise user-generated content clean-up, a config option
11054   and some methods related to HTML validity were removed without deprecation.
11055   The public methods MWTidy::checkErrors() and the path through which it was
11056   called, TidyDriverBase::validate(), are removed, as are the testing methods
11057   MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument().
11058   The $wgValidateAllHtml configuration option is removed and will be ignored.
11059 * Execution of external programs using MediaWiki\Shell\Command now applies
11060   the RESTRICT_DEFAULT Firejail restriction by default.
11061 * The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods,
11062   deprecated in 1.26, were removed.
11063 * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed.
11064   Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly.
11066 === Deprecations in 1.31 ===
11067 * The Revision class was deprecated in favor of RevisionStore, BlobStore, and
11068   RevisionRecord and its subclasses.
11069 * The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47.
11070 * The global function wfCountDown is now deprecated in favor of
11071   Maintenance::countDown.
11072 * Several methods for returning lists of fields to select from the database
11073   have been deprecated in favor of similar methods that also return the tables
11074   to select from and the join conditions for those tables.
11075   * Block::selectFields() → Block::getQueryInfo()
11076   * RecentChange::selectFields() → RecentChange::getQueryInfo()
11077   * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
11078   * LocalFile::selectFields() → LocalFile::getQueryInfo()
11079   * LocalFile::getCacheFields() with a prefix no longer works
11080   * LocalFile::getLazyCacheFields() with a prefix no longer works
11081   * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
11082   * RecentChange::selectFields() → RecentChange::getQueryInfo()
11083   * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
11084   * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
11085   * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
11086   * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
11087   * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
11088   * Revision::selectFields() → Revision::getQueryInfo()
11089   * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
11090   * User::selectFields() → User::getQueryInfo()
11091   * WikiPage::selectFields() → WikiPage::getQueryInfo()
11092 * Revision::setUserIdAndName() was deprecated.
11093 * Access to TitleValue class properties was deprecated, the relevant getters
11094   should be used instead.
11095 * DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should
11096   override DifferenceEngine::getDiffBodyCacheKeyParams() instead.
11097 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
11098   Maintenance::fatalError() instead.
11099 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
11100 * The RevisionInsertComplete hook is now deprecated; use instead the hook
11101   RevisionRecordInserted. RevisionInsertComplete is still called, but the second
11102   and third parameter will always be null. Hard deprecation is scheduled for
11103   1.32.
11104 * The following methods that get and set ParserOutput state are deprecated.
11105   Callers should use the new stateless $options parameter to
11106   ParserOutput::getText() instead.
11107   * ParserOptions::getEditSection()
11108   * ParserOptions::setEditSection()
11109   * ParserOutput::getEditSectionTokens()
11110   * ParserOutput::setEditSectionTokens()
11111   * ParserOutput::getTOCEnabled()
11112   * ParserOutput::setTOCEnabled()
11113   * OutputPage::enableSectionEditLinks()
11114   * OutputPage::sectionEditLinksEnabled()
11115   * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens
11116     are also deprecated.
11117 * License::getLicenses has been deprecated; use License::getLines instead.
11118 * QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set().
11119   Setting template variables by reference allowed violating the principle of
11120   data being immutable once added to the skin template. In practice, this method
11121   was not being used for that. Rather, setRef() existed as memory optimisation
11122   for PHP 4.
11123 * QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in
11124   favour of Skin::msg() parameters.
11125 * MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or
11126   wfMessage().
11127 * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
11128   'unwrap' transform to ParserOutput::getText() instead.
11129 * \ObjectFactory (no namespace) is deprecated, the namespaced class
11130   \Wikimedia\ObjectFactory from the wikimedia/object-factory library should be
11131   used instead.
11132 * CommentStore::newKey is deprecated. Instead, get an instance from
11133   MediaWikiServices.
11134 * The following CommentStore methods have had their signatures changed to
11135   introduce a $key parameter, usage of the methods on instances retrieved from
11136   CommentStore::newKey will remain unchanged but deprecated:
11137   * CommentStore::getFields
11138   * CommentStore::getJoin
11139   * CommentStore::getComment
11140   * CommentStore::getCommentLegacy
11141   * CommentStore::insert
11142   * CommentStore::insertWithTemplate
11143 * The following methods in Title have been renamed, and the old ones are
11144   deprecated:
11145   * Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage
11146   * Title::isCssOrJsPage – use ::isSiteConfigPage
11147   * Title::isCssJsSubpage – use ::isUserConfigPage
11148   * Title::isCssSubpage – use ::isUserCssConfigPage
11149   * Title::isJsSubpage – use ::isUserJsConfigPage
11150 * The following methods related to caching of half-parsed HTML were deprecated:
11151   * Parser::serializeHalfParsedText()
11152   * Parser::unserializeHalfParsedText()
11153   * Parser::isValidHalfParsedText()
11154   * StripState::getSubState()
11155   * StripState::merge()
11156 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
11157 * The type string for the parameter $lang of DateFormatter::getInstance is
11158   deprecated.
11159 * Wikimedia\Rdbms\SavepointPostgres is deprecated.
11160 * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be
11161   used instead.
11162 * The function wfShellWikiCmd() has been deprecated, use
11163   MediaWiki\Shell::makeScriptCommand().
11164 * In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend'
11165   will be allowed to provide any HTMLForm object rather than PreferencesForm.
11167 === Other changes in 1.31 ===
11168 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
11169 * Browser support for Opera 12 and older was dropped entirely. Opera 15+
11170   continues at Grade A.
11171 * Multi-content-revision capability was introduced into the storage layer. See
11172   <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
11173 * The "free" CSS class is now only applied to unbracketed URLs in wikitext.
11174   Links written using square brackets will get the class "text" not "free".
11175 * RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items,
11176   wikitext table captions, wikitext table headings, wikitext table cells. HTML
11177   headings, HTML list items, HTML table captions, HTML table headings, HTML
11178   table cells will not have this trimming behavior.
11180 == Compatibility ==
11181 MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
11182 supported, it is generally advised to use PHP 7.0.0 or later for long term
11183 support.
11185 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
11186 but support for them is somewhat less mature. There is experimental support for
11187 Oracle and Microsoft SQL Server.
11189 The supported versions are:
11191 * MySQL 5.5.8 or later
11192 * PostgreSQL 9.2 or later
11193 * SQLite 3.3.7 or later
11194 * Oracle 9.0.1 or later
11195 * Microsoft SQL Server 2005 (9.00.1399)
11197 == Upgrading ==
11198 1.31 has several database changes since 1.30, and will not work without schema
11199 updates. Note that due to changes to some very large tables like the revision
11200 table, the schema update may take quite long (minutes on a medium sized site,
11201 many hours on a large site).
11203 Don't forget to always back up your database before upgrading!
11205 See the file UPGRADE for more detailed upgrade instructions, including
11206 important information when upgrading from versions prior to 1.11.
11208 For notes on 1.30.x and older releases, see HISTORY.
11210 == Online documentation ==
11211 Documentation for both end-users and site administrators is available on
11212 MediaWiki.org, and is covered under the GNU Free Documentation License (except
11213 for pages that explicitly state that their contents are in the public domain):
11215        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
11217 == Mailing list ==
11218 A mailing list is available for MediaWiki user support and discussion:
11220        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
11222 A low-traffic announcements-only list is also available:
11224        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
11226 It's highly recommended that you sign up for one of these lists if you're
11227 going to run a public MediaWiki, so you can be notified of security fixes.
11229 == IRC help ==
11230 There's usually someone online in #mediawiki on irc.freenode.net.
11233 = MediaWiki 1.30 =
11235 == MediaWiki 1.30.2 ==
11237 This is a security and maintenance release of the MediaWiki 1.30 branch.
11239 === Changes since MediaWiki 1.30.1 ===
11240 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
11241   all titles when asked for none.
11242 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
11243   libraries.
11244 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
11245 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
11246 * (T207603) SECURITY: User JS may no longer be loaded with mime type
11247   text/javascript if there is no account associated with the username.
11248 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
11249   type if non-admins can edit the page.
11250 * (T207541) Pass email address to mail().
11251 * Fix addition of ug_expiry column to user_groups table on MSSQL.
11252 * (T204531) rdbms: reduce LoadBalancer replication log spam.
11253 * (T213489) Avoid session double-start in Setup.php.
11254 * (T195525) Fix db error outage page.
11255 * (T208871) The hard-coded Google search form on the database error page was
11256   removed.
11257 * (T216968) Return pageid as int in both list=iwbacklinks and
11258   list=langbacklinks.
11259 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
11260   $wgBlockDisablesLogin is true.
11261 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
11262   token.
11263 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
11264   saveFileDependencies().
11265 * (T224374) Fix message parameters so that the message that says SQLite is out
11266   of date makes sense.
11267 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
11268   reauthenticating.
11269 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
11270   getLoginSecurityLevel() returns non-false.
11271 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
11272 * (T208881) SECURITY: blacklist CSS var().
11273 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
11274 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
11275 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
11276 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
11277   view the log type.
11278 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
11280 == MediaWiki 1.30.1 ==
11282 This is a security and maintenance release of the MediaWiki 1.30 branch.
11284 === Changes since MediaWiki 1.30.0 ===
11285 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
11286   'newbie'.
11287 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
11288   account lock.
11289 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
11290   array.
11291 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
11292 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
11293   include extensions. Pass --with-extensions to enable that feature.
11294 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
11295 * (T167507) selenium: Run Chrome headlessly.
11296 * selenium: Pass -no-sandbox to Chrome under Docker.
11297 * (T179190) selenium: Move logic for running tests from package.json to
11298   selenium.sh
11299 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
11300 * Add default edit rate limit of 90 edits/minute for all users.
11301 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
11302 * oojs/oojs-ui updated to remove an unnecessary dependancy.
11303 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
11304 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
11305   hook.
11306 * (T196672) The mtime of extension.json files is now able to be zero
11307 * (T180403) Validate $length in padleft/padright parser functions.
11308 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
11309 * (T193995) Fix undefined patchPath() method call in parser tests.
11310 * Special:BotPasswords now requires reauthentication.
11311 * (T191608, T187638) Add 'logid' parameter to Special:Log.
11312 * (T193829) Indicate when a Bot Password needs reset.
11313 * (T151415) Log email changes.
11314 * (T200861) Fix total breakage of SQLite web upgrade.
11315 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
11316   hooks.
11317 * (T190539) Explicitly require Postgres 9.1.
11318 * (T118420) Unbreak Oracle installer.
11320 == MediaWiki 1.30.0 ==
11322 === Changes since MediaWiki 1.30.0-rc.0 ===
11323 * Upgraded Moment.js from v2.15.0 to v2.19.3.
11324 * Add ip_changes to postgres/tables.sql.
11325 * Skip null shell parameters.
11326 * Add wfWaitForSlaves() to maintenance/migrateComments.php.
11327 * (T182245) Fix join conditions in ImageListPager.
11328 * (T178626) Revert #contentSub and #jump-to-nav margin changes.
11330 === MySQL version requirement in 1.30 ===
11331 As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility
11332 section).
11334 === Configuration changes in 1.30 ===
11335 * The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid
11336   unexpected behavior when code uses locale-sensitive string comparisons. For
11337   example, the Scribunto extension considers "bar" < "Foo" in most locales
11338   since it ignores case.
11339 * $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See
11340   documentation of $wgShellLocale for details.
11341 * $wgShellLocale is now applied for all requests. wfInitShellLocale() is
11342   deprecated and a no-op, as it is no longer needed.
11343 * $wgJobClasses may now specify callback functions as an alternative to plain
11344   class names. This is intended for extensions that want control over the
11345   instantiation of their jobs, to allow for proper dependency injection.
11346 * $wgResourceModules may now specify callback functions as an alternative
11347   to plain class names, using the 'factory' key in the module description
11348   array. This allows dependency injection to be used for ResourceLoader modules.
11349 * $wgExceptionHooks has been removed.
11350 * (T163562) $wgRangeContributionsCIDRLimit was introduced to control the size
11351   of IP ranges that can be queried at Special:Contributions.
11352 * (T45547) $wgUsePigLatinVariant added (off by default).
11353 * (T152540) MediaWiki now supports a section ID escaping style that allows to
11354   display non-Latin characters verbatim on many modern browsers. This is
11355   controlled by the new configuration setting, $wgFragmentMode.
11356 * $wgExperimentalHtmlIds is now deprecated and will be removed in a future
11357   version, use $wgFragmentMode to migrate off it to a modern alternative.
11358 * $wgExternalInterwikiFragmentMode was introduced to control how fragments in
11359   sinterwikis going outside of current wiki farm are encoded.
11360 * (T120333) Soft-deprecated the use of PHP extension 'mysql' in favor of
11361   'mysqli'. This PHP extension was deprecated in PHP 5.5 and removed in PHP 7.0.
11362   MediaWiki auto-selects the 'mysqli' driver since MediaWiki 1.22, except if
11363   explicitly requested through the configuration parameter $wgDBservers.
11364 * $wgOOUIEditPage was removed, as it is now the default. This was documented as
11365   a temporary variable during the migration period.
11367 === New features in 1.30 ===
11368 * (T37247) Output from Parser::parse() will now be wrapped in a div with
11369   class="mw-parser-output" by default. This may be changed or disabled using
11370   ParserOptions::setWrapOutputClass().
11371 * (T163562) Added ability to search for contributions within an IP ranges
11372   at Special:Contributions.
11373 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
11374   specific tags to be added by users.
11375 * Added a 'ParserOptionsRegister' hook to allow extensions to register
11376   additional parser options.
11377 * (T45547) Included Pig Latin, a language game in English, as a
11378   LanguageConverter variant.  This allows English-speaking developers
11379   to develop and test LanguageConverter more easily.  Pig Latin can be
11380   enabled by setting $wgUsePigLatinVariant to true.
11381 * Added RecentChangesPurgeRows hook to allow extensions to purge data that
11382   depends on the recentchanges table.
11383 * Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.
11384 * (T2424) Added direct unwatch links to entries in Special:Watchlist (if the
11385   'watchlistunwatchlinks' preference option is enabled). With JavaScript
11386   enabled, these links toggle so the user can also re-watch pages that have
11387   just been unwatched.
11388 * Added $wgParserTestMediaHandlers, where mock media handlers can be passed to
11389   MediaHandlerFactory for parser tests.
11390 * Edit summaries, block reasons, and other "comments" are now stored in a
11391   separate database table. Use the CommentFormatter class to access them.
11392 ** This is currently gated by $wgCommentTableSchemaMigrationStage. Most wikis
11393    can set this to MIGRATION_NEW and run maintenance/migrateComments.php as
11394    soon as any necessary extensions are updated.
11395 * (T138166) Added ability for users to prohibit other users from sending them
11396   emails with Special:Emailuser. Can be enabled by setting
11397   $wgEnableUserEmailBlacklist to true.
11398 * (T67297) $wgBrowserBlacklist is deprecated, and changing it will have no
11399   effect. Instead, users using browsers that do not support Unicode will be
11400   unable to edit and should upgrade to a modern browser instead.
11402 === External library changes in 1.30 ===
11404 ==== Upgraded external libraries ====
11405 * Updated justinrainbow/json-schema from v3.0 to v5.2.
11406 * Updated mediawiki/mediawiki-codesniffer from v0.7.2 to v0.12.0.
11407 * Updated wikimedia/composer-merge-plugin from v1.4.0 to v1.4.1.
11408 * Updated wikimedia/relpath from v1.0.3 to v2.0.0.
11409 * Updated OOjs from v2.0.0 to v2.1.0.
11410 * Updated OOUI from v0.21.1 to v0.23.0.
11411 * Updated QUnit from v1.23.1 to v2.4.0.
11412 * Updated phpunit/phpunit from v4.8.35 to v4.8.36.
11413 * Upgraded Moment.js from v2.15.0 to v2.19.3.
11415 ==== New external libraries ====
11416 * The class \TestingAccessWrapper has been moved to the external library
11417   wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
11418 * Purtle, a fast, lightweight RDF generator.
11420 === Bug fixes in 1.30 ===
11421 * (T151633) Ordered list items use now Devanagari digits in Nepalese
11422   (thanks to Sfic)
11424 === Action API changes in 1.30 ===
11425 * (T37247) action=parse output will be wrapped in a div with
11426   class="mw-parser-output" by default. This may be changed or disabled using
11427   the new 'wrapoutputclass' parameter.
11428 * When errorformat is not 'bc', abort reasons from action=login will be
11429   formatted as specified by the error formatter parameters.
11430 * action=compare can now handle arbitrary text, deleted revisions, and
11431   returning users and edit comments.
11432 * (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto',
11433   'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree'
11434   parameters to prop=revisions are deprecated, as are the similarly named
11435   parameters to prop=deletedrevisions, list=allrevisions, and
11436   list=alldeletedrevisions. Use action=compare, action=parse, or
11437   action=expandtemplates instead.
11439 === Action API internal changes in 1.30 ===
11440 * ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are
11441   deprecated. The existing message should be split between "apihelp-*-summary"
11442   and "apihelp-*-extended-description".
11443 * (T123931) Individual values of multi-valued parameters can now be marked as
11444   deprecated.
11446 === Languages updated in 1.30 ===
11447 MediaWiki supports over 350 languages. Many localisations are updated
11448 regularly. Below only new and removed languages are listed, as well as
11449 changes to languages because of Phabricator reports.
11451 * Added: kbp (Kabɩyɛ / Kabiyè)
11452 * Added: skr (Saraiki, سرائیکی)
11453 * Added: tay (Tayal / Atayal)
11454 * Removed: tokipona (Toki Pona)
11456 ==== Pig Latin added ====
11457 * (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin),
11458   for easier variant development and testing. Disabled by default. It can be
11459   enabled by setting $wgUsePigLatinVariant to true.
11461 === Other changes in 1.30 ===
11462 * The use of an associative array for $wgProxyList, where the IP address is in
11463   the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
11464   Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
11465 * mw.user.bucket (deprecated in 1.23) was removed.
11466 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
11467   deprecated. There are no known callers.
11468 * File::getStreamHeaders() was deprecated.
11469 * MediaHandler::getStreamHeaders() was deprecated.
11470 * Title::canTalk() was deprecated. The new Title::canHaveTalkPage() should be
11471   used instead.
11472 * MWNamespace::canTalk() was deprecated. The new MWNamespace::hasTalkNamespace()
11473   should be used instead.
11474 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
11475 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
11476   deprecated in 1.24) were removed.
11477 * wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and
11478   BagOStuff::makeGlobalKey() should be used instead.
11479 * (T146304) Preprocessor handling of LanguageConverter markup has been improved.
11480   As a result of the new uniform handling, '-{' may need to be escaped
11481   (for example, as '-<nowiki/>{') where it occurs inside template arguments
11482   or wikilinks.
11483 * (T163966) Page moves are now counted as edits for the purposes of
11484   autopromotion, i.e., they increment the user_editcount field in the database.
11485 * Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for
11486   manipulating Special:Log and Special:NewPages lines.
11487 * The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
11488   PageHistoryLineEnding, ContributionsLineEnding and
11489   DeletedContributionsLineEnding hooks have an additional parameter, for
11490   manipulating HTML data attributes of RC/history lines.
11491   EnhancedChangesListModifyBlockLineData can do that via the
11492   $data['attribs'] subarray.
11493 * (T130632) The OutputPage::enableTOC() method was removed.
11494 * WikiPage::getParserOutput() will now throw an exception if passed
11495   ParserOptions that would pollute the parser cache. Callers should use
11496   WikiPage::makeParserOptions() to create the ParserOptions object and only
11497   change options that affect the parser cache key.
11498 * Article::viewRedirect() is deprecated.
11499 * IP::isValidBlock() was deprecated. Use the equivalent IP::isValidRange().
11500 * DeprecatedGlobal no longer supports passing in a direct value, it requires a
11501   callable factory function or a class name.
11502 * The $parserMemc global, wfGetParserCacheStorage(), and
11503   ParserCache::singleton() are all deprecated. The main ParserCache instance
11504   should be obtained from MediaWikiServices instead. Access to the underlying
11505   BagOStuff is possible through the new ParserCache::getCacheStorage() method.
11506 * .mw-ui-constructive CSS class (deprecated in 1.27) was removed.
11507 * Sanitizer::escapeId() was deprecated, use escapeIdForAttribute(),
11508   escapeIdForLink() or escapeIdForExternalInterwiki() instead.
11509 * Title::escapeFragmentForURL() was deprecated, use one of the aforementioned
11510   Sanitizer functions or, if possible, Title::getFragmentForURL().
11511 * Second parameter to Sanitizer::escapeIdReferenceList() ($options) now does
11512   nothing and is deprecated.
11513 * mw.util.escapeId() was deprecated, use escapeIdForAttribute() or
11514   escapeIdForLink().
11515 * MagicWord::replaceMultiple() (deprecated in 1.25) was removed.
11516 * WikiImporter now requires the second parameter to be an instance of the
11517   Config, class. Prior to that, the Config parameter was optional (a behavior
11518   deprecated in 1.25).
11519 * Removed 'jquery.mwExtension' module. (deprecated since 1.26)
11520 * mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette
11521   any more.
11522 * CdbReader, CdbWriter, CdbException classes (deprecated in 1.25) were removed.
11523   The namespaced classes in the Cdb namespace should be used instead.
11524 * IPSet class (deprecated in 1.26) was removed. The namespaced IPSet\IPSet
11525   should be used instead.
11526 * RunningStat class (deprecated in 1.27) was removed. The namespaced
11527   RunningStat\RunningStat should be used instead.
11528 * MWMemcached and MemCachedClientforWiki classes (deprecated in 1.27) were
11529   removed.
11530   The MemcachedClient class should be used instead.
11531 * EditPage underwent some refactoring and deprecations:
11532   * EditPage::isOouiEnabled() is deprecated and will always return true.
11533   * EditPage::getSummaryInput() and ::getSummaryInputOOUI() are deprecated.
11534     Please use ::getSummaryInputWidget() instead.
11535   * EditPage::getCheckboxes() and ::getCheckboxesOOUI() are deprecated. Please
11536     use ::getCheckboxesWidget() instead.
11537   * Creating an EditPage instance without calling EditPage::setContextTitle()
11538     should be avoided and will be deprecated in a future release.
11539   * EditPage::safeUnicodeInput() and ::safeUnicodeOutput() are deprecated and
11540     no-ops.
11541   * EditPage::$isCssJsSubpage, ::$isCssSubpage, and ::$isJsSubpage are
11542     deprecated. The corresponding methods from Title should be used instead.
11543   * EditPage::$isWrongCaseCssJsPage is deprecated. There is no replacement.
11544   * EditPage::$mArticle and ::$mTitle are deprecated for public usage. The
11545     getters ::getArticle() and ::getTitle() should be used instead.
11546   * Trying to control or fake EditPage context by overriding $wgUser,
11547     $wgRequest, $wgOut, and $wgLang is no longer supported and won't work. The
11548     IContextSource returned from EditPage::getContext() must be modified
11549     instead.
11550 * Parser::getRandomString() (deprecated in 1.26) was removed.
11551 * Parser::uniqPrefix() (deprecated in 1.26) was removed.
11552 * Parser::extractTagsAndParams() now only accepts three arguments. The fourth,
11553   $uniq_prefix was deprecated in 1.26 and has now been removed.
11554 * (T172514) The following tables have had their UNIQUE indexes turned into
11555   proper PRIMARY KEYs for increased maintainability: categorylinks, imagelinks,
11556   iwlinks, langlinks, log_search, module_deps, objectcache, pagelinks,
11557   query_cache, site_stats, templatelinks, text, transcache, user_former_groups,
11558   user_properties.
11559 * IDatabase::nextSequenceValue() is no longer needed by any database backends
11560   (formerly it was needed by PostgreSQL and Oracle), and is now deprecated.
11561 * (T146591) The lc_lang_key index on the l10n_cache table has been changed into
11562   a PRIMARY KEY.
11563 * (T157227) bot_password.bp_user, change_tag.ct_log_id, change_tag.ct_rev_id,
11564   page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and
11565   user_properties.up_user have all been made unsigned on MySQL.
11566 * DB_SLAVE is deprecated. DB_REPLICA should be used instead.
11567 * wfUsePHP() is deprecated.
11568 * wfFixSessionID() was removed.
11569 * wfShellExec() and related functions are deprecated, use Shell::command(). This
11570   also slightly changes the behavior of how execution time limits are calculated
11571   when only some of defaults are overridden per-call. When in doubt, always
11572   override both wall clock and CPU time.
11573 * (T138166) SpecialEmailUser::getTarget() now requires a second argument, the
11574   sending user object. Using the method without the second argument is
11575   deprecated.
11576 * (T67297) Browsers that don't support Unicode will have their edits rejected.
11577 * (T178450) The module 'jquery.badge' is deprecated and will be removed in a
11578   future release. For notifying the user of an event, the Notifications ("Echo")
11579   system should be used instead.
11580 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
11581   browser sends non-standard url escaping.
11582 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
11584 = MediaWiki 1.29 =
11586 == MediaWiki 1.29.3 ==
11588 This is a security and maintenance release of the MediaWiki 1.29 branch.
11590 === Changes since 1.29.2 ===
11591 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
11592   'newbie'.
11593 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
11594   account lock.
11595 * (T180551) Fix LanguageSrTest for language converter
11596 * (T180552) Fix language converter parser test with self-close tags
11597 * (T180537) Remove $wgAuth usage from wrapOldPasswords.php
11598 * (T180485) InputBox: Have inputbox langconvert certain attributes
11599 * (T161732, T181547) Upgraded Moment.js from v2.15.0 to v2.19.3.
11600 * (T172927) Drop vendor from MW release branch
11601 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array
11602 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
11603 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
11604   include extensions. Pass --with-extensions to enable that feature.
11605 * (T182381) Mask deprecated call in WatchedItemUnitTest
11606 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
11607 * The karma qunit tests would fail on some configuration due to headers already
11608   sent. Check headers_sent() before sending cpPosTime headers
11609 * (T167507) selenium: Run Chrome headlessly.
11610 * selenium: Pass -no-sandbox to Chrome under Docker
11611 * (T191247) Use MediaWiki\SuppressWarnings around trigger_error('') instead @
11612 * (T75174, T161041) Unit test ChangesListSpecialPageTest::testFilterUserExpLevel
11613   fails under SQLite.
11614 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
11615 * (T179190) selenium: Move test running logic from package.json to selenium.sh.
11616 * (T117839, T193200) PDFHandler: Fix for pdfinfo changes in poppler-utils 0.48.
11617 * Add default edit rate limit of 90 edits/minute for all users.
11618 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
11619 * (T196672) The mtime of extension.json files is now able to be zero
11620 * (T180403) Validate $length in padleft/padright parser functions.
11621 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
11622 * (T194237) Special:BotPasswords now requires reauthentication.
11623 * (T191608, T187638) Add 'logid' parameter to Special:Log.
11624 * (T176097) resourceloader: Disable a flaky MessageBlobStoreTest case
11625 * (T193829) Indicate when a Bot Password needs reset.
11626 * (T151415) Log email changes.
11627 * (T118420) Unbreak Oracle installer.
11629 == MediaWiki 1.29.2 ==
11631 This is a security and maintenance release of the MediaWiki 1.29 branch.
11633 === Changes since 1.29.1 ===
11634 * (T166757) Avoid scoped lock errors in Category::refreshCounts() due to
11635   nesting.
11636 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
11637 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
11638 * Fixed login button label to accept RawMessage.
11639 * Fixed case of SpecialRecentChanges class usage.
11640 * (T174255) Declare uploadCount property in importDump.php.
11641 * (T163646) Pass a string not an int to mysql_real_escape_string().
11642 * (T180143) Bump justinrainbow/json-schema development dependency to ~5.2.
11643 * Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36.
11644 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
11645   browser sends non-standard url escaping.
11646 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
11647 * (T128209) SECURITY: Reflected File Download from api.php.
11648 * (T134100) SECURITY: Do not reveal if user exists during login failure.
11649 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
11650 * (T125163) SECURITY: Make anchor for headlines escape > and <.
11651 * (T180237) SECURITY: Protect vendor folder with .htaccess.
11652 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
11653   update.php.
11654 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
11655 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
11656 * (T180488) (T125177) "api.log contains passwords in plaintext" wasn't correctly
11657   fixed in all branches in the previous security release.
11659 == MediaWiki 1.29.1 ==
11661 This is a maintenance release of the MediaWiki 1.29 branch.
11663 The SpamBlacklist and PdfHandler extensions were missing from the generated
11664 packages.
11666 === Changes since 1.29.1 ===
11667 * (T164999) Define mw.Upload.Dialog.static.name in mediawiki.Upload.Dialog.js.
11668 * (T172061) Fix fatal when passing a category to refreshLinks.php.
11670 == MediaWiki 1.29.0 ==
11672 === Configuration changes in 1.29 ===
11673 * Default cookie expiration time has been reduced to 30 days. Login cookie
11674   expiration time is kept at 180 days.
11675 * A new configuration variable has been added: $wgCookieSetOnAutoblock. This
11676   determines whether to set a cookie when a user is autoblocked. Doing so means
11677   that a blocked user, even after logging out and moving to a new IP address,
11678   will still be blocked.
11679 * The resetpassword right and associated password reset capture feature has
11680   been removed.
11681 * The $error parameter to the EmailUser hook should be set to a Status object
11682   or boolean false. This should be compatible with at least MediaWiki 1.23 if
11683   not earlier. Returning a raw HTML string is now deprecated.
11684 * The $message parameter to the ApiCheckCanExecute hook should be set to an
11685   ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
11686   code for ApiBase::parseMsg() will no longer work.
11687 * ApiBase::$messageMap is no longer public. Code attempting to access it will
11688   result in a PHP fatal error.
11689 * $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC
11690   policies.
11691 * Subpages are now enabled by default in the Template namespace. Set
11692   $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior.
11693 * $wgRunJobsAsync is now false by default (T142751). This change only affects
11694   wikis with $wgJobRunRate > 0.
11695 * (T158474) "Unknown user" has been added to $wgReservedUsernames.
11696 * (T156983) $wgRateLimitsExcludedIPs now accepts CIDR ranges as well as single
11697   IPs.
11698 * $wgDummyLanguageCodes is deprecated. Additional language code mappings may be
11699   added to $wgExtraLanguageCodes instead.
11700 * (T161453) LocalisationCache will no longer use the temporary directory in it's
11701   fallback chain when trying to work out where to write the cache.
11702 * The user right 'editusercssjs' (deprecated in 1.16) was removed. Use
11703   'editusercss' and 'edituserjs' in $wgGroupPermissions and elsewhere instead.
11705 === New features in 1.29 ===
11706 * (T5233) A cookie can now be set when a user is autoblocked, to track that user
11707   if they move to a new IP address. This is disabled by default.
11708 * Added ILocalizedException interface to standardize the use of localized
11709   exceptions, largely so the API can handle them more sensibly.
11710 * Blocks created automatically by MediaWiki, such as for configured proxies or
11711   dnsbls, are now indicated as such and use a new i18n message when displayed.
11712 * Added new $wgHTTPImportTimeout setting. Sets timeout for
11713   downloading the XML dump during a transwiki import in seconds.
11714 * Parser limit report is now available in machine-readable format to JavaScript
11715   via mw.config.get('wgPageParseReport').
11716 * Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits
11717   from certain IP ranges (e.g. private IPs).
11718 * (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code
11719   of the page being parsed.
11720 * HTML5 form validation attributes will no longer be suppressed. Originally
11721   browsers had poor support for them, but modern browsers handle them fine.
11722   This might affect some forms that used them and only worked because the
11723   attributes were not actually being set.
11724 * Expiry times can now be specified when users are added to user groups.
11725 * Completely new user interface for the RecentChanges page, which
11726   structures filters into user-friendly groups.  This has corresponding
11727   changes to how filters are registered by core and extensions.
11728 * The edit form now uses pretty OOjs UI buttons, checkboxes and summary input.
11729   Because this change can cause problems for extensions and on-wiki
11730   scripts depending on the exact HTML, the old version is still available
11731   and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php.
11732   This will be removed later and OOjs UI will become the only option.
11733   To make testing easier, users can also force either mode by adding
11734   &ooui=true or &ooui=false to the action=edit URL.
11736 === External library changes in 1.29 ===
11738 ==== Upgraded external libraries ====
11739 * Updated QUnit from v1.22.0 to v1.23.1.
11740 * Updated cssjanus from v1.1.2 to v1.2.0.
11741 * Updated psr/log from v1.0.0 to v1.0.2.
11742 * Update Moment.js from v2.8.4 to v2.15.0.
11743 * Updated oyejorge/less.php from v1.7.0.10 to v1.7.0.14.
11744 * Updated monolog from v1.18.2 to 1.22.1.
11745 * Updated wikimedia/composer-merge-plugin from v1.3.1 to v1.4.0.
11746 * Updated OOjs from v1.1.10 to v2.0.0.
11747 * Updated jQuery from v1.11.3 to v3.2.1 (including jQuery Migrate v3.0.0).
11749 ==== New external libraries ====
11750 * Added wikimedia/timestamp v1.0.0.
11751 * Added wikimedia/remex-html v1.0.1.
11753 ==== Removed and replaced external libraries ====
11755 === Bug fixes in 1.29 ===
11756 * (T62604) Core parser functions returning a number now format the number
11757   according to the page content language, not wiki content language.
11758 * (T27187) Search suggestions based on jquery.suggestions will now correctly
11759   only highlight prefix matches in the results.
11760 * (T157035) "new mw.Uri()" was ignoring options when using default URI.
11761 * Special:Allpages can no longer be filtered by redirect in miser mode.
11762 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
11763   installed.
11764 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
11765   redirect to interwiki links.
11766 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
11767   $wgAdvancedSearchHighlighting is true.
11768 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
11769   their values out of the logs.
11770 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
11771   CSRF token.
11772 * (T156184) SECURITY: Escape content model/format url parameter in message.
11773 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
11774   declaration.
11775 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
11776   directory in it's fallback chain when trying to work out where to write the
11777   cache.
11778 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
11779   inclusion syntax's link parameter.
11780 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
11781   against it.
11783 === Action API changes in 1.29 ===
11784 * Submitting sensitive authentication request parameters to action=login,
11785   action=clientlogin, action=createaccount, action=linkaccount, and
11786   action=changeauthenticationdata in the query string is now an error. They
11787   should be submitted in the POST body instead.
11788 * The capture option for action=resetpassword has been removed
11789 * action=clearhasmsg now requires a POST.
11790 * (T47843) API errors and warnings may be requested in non-English languages
11791   using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters.
11792 * API error codes may have changed. Most notably, errors from modules using
11793   parameter prefixes (e.g. all query submodules) will no longer be prefixed.
11794 * ApiPageSet-using modules will report the 'invalidreason' using the specified
11795   'errorformat'.
11796 * action=emailuser may return a "Warnings" status, and now returns 'warnings'
11797   and 'errors' subelements (as applicable) instead of 'message'.
11798 * action=imagerotate returns an 'errors' subelement rather than 'errormessage'.
11799 * action=move now reports errors when moving the talk page as an array under
11800   key 'talkmove-errors', rather than using 'talkmove-error-code' and
11801   'talkmove-error-info'. The format for subpage move errors has also changed.
11802 * action=revisiondelete no longer includes a "rendered" property on warnings
11803   and errors for each item. Use errorformat=wikitext if you're wanting parsed
11804   output.
11805 * action=rollback no longer returns a "messageHtml" property. Use
11806   errorformat=html if you're wanting HTML formatting of error messages.
11807 * action=upload now reports optional stash failures as an array under key
11808   'stasherrors' rather than a 'stashfailed' text string.
11809 * action=watch reports 'errors' and 'warnings' instead of a single 'error', and
11810   no longer returns a 'message' on success.
11811 * Added action=validatepassword to validate passwords for the account creation
11812   and password change forms.
11813 * action=purge now requires a POST.
11814 * There is a new `languagevariants` siprop for action=query&meta=siteinfo,
11815   which returns a list of languages with active LanguageConverter instances.
11816 * action=query&query=allpages will no longer filter redirects using a database
11817   query in miser mode. This may result in less results being returned than were
11818   requested.
11820 === Action API internal changes in 1.29 ===
11821 * New methods were added to ApiBase to handle errors and warnings using i18n
11822   keys. Methods for using hard-coded English messages were deprecated:
11823   * ApiBase::dieUsage() was deprecated
11824   * ApiBase::dieUsageMsg() was deprecated
11825   * ApiBase::dieUsageMsgOrDebug() was deprecated
11826   * ApiBase::getErrorFromStatus() was deprecated
11827   * ApiBase::parseMsg() was deprecated
11828   * ApiBase::setWarning() was deprecated
11829 * ApiBase::$messageMap is no longer public. Code attempting to access it will
11830   result in a PHP fatal error.
11831 * The $message parameter to the ApiCheckCanExecute hook should be set to an
11832   ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
11833   code for ApiBase::parseMsg() will no longer work.
11834 * UsageException is deprecated in favor of ApiUsageException. For the time
11835   being ApiUsageException is a subclass of UsageException to allow things that
11836   catch only UsageException to still function properly.
11837 * If, for some strange reason, code was using an ApiErrorFormatter instead of
11838   ApiErrorFormatter_BackCompat, note that the result format has changed and
11839   various methods now take a module path rather than a module name.
11840 * ApiMessageTrait::getApiCode() now strips 'apierror-' and 'apiwarn-' prefixes
11841   from the message key, and maps some message keys for backwards compatibility.
11842 * API parameters may now be marked as "sensitive" to keep their values out of
11843   the logs.
11845 === Languages updated in 1.29 ===
11847 MediaWiki supports over 350 languages. Many localisations are updated
11848 regularly. Below only new and removed languages are listed, as well as
11849 changes to languages because of Phabricator reports.
11851 * Based as always on linguistic studies on intelligibility and language
11852   knowledge by geography, language fallbacks have been expanded. When a
11853   translation is missing in the user's preferred interface language, the
11854   corresponding translation for the fallback language will be used instead.
11855   English will only be used as last resort when there are no translations.
11856   Some configurations (such as date formats and gender namespaces) have also
11857   been updated when using the fallback language's configuration was inadequate.
11858   The new or reinstated language fallbacks are (after cs ↔ sk in 1.28):
11859   ca ↔ oc; hsb ↔ dsb; io → eo; mdf → ru; pnt → el; roa-tara → it; rup → ro;
11860   sh → bs, sr-el, hr.
11861 * (T137376) New language support: Atikamekw (atj).
11862 * (T163600) New language support: Dinka (din).
11863 * (T155957) Talk Namespaces for Javanese language (jv) have been updated.
11865 ==== No fallback for Ukrainian ====
11866 * (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian
11867   language will now use the default fallback language: English. When a
11868   translation to Ukrainian is not available, an English string will be shown.
11870 === Other changes in 1.29 ===
11871 * Database::getSearchEngine() (deprecated in 1.28) was removed. Use
11872   SearchEngineFactory::getSearchEngineClass() instead.
11873 * $wgSessionsInMemcached (deprecated in 1.20) was removed. No replacement is
11874   required as all sessions are stored in Object Cache now.
11875 * MWHttpRequest::execute() should be considered to return a StatusValue; the
11876   Status return type is deprecated.
11877 * User::edits() (deprecated in 1.21) was removed.
11878 * Xml::escapeJsString() (deprecated in 1.21) was removed.
11879 * Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21)
11880   were removed.
11881 * Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21)
11882   were removed.
11883 * Hook ArticleViewCustom (deprecated in 1.21) was removed. Use
11884   ArticleContentViewCustom instead.
11885 * Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed.
11886 * Class RevisiondeleteAction (deprecated in 1.25) was removed.
11887 * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed.
11888 * WikiPage::getText() (deprecated in 1.21) was removed.
11889 * Article::fetchContent() (deprecated in 1.21) was removed.
11890 * User::getPassword() (deprecated in 1.27) was removed.
11891 * User::getTemporaryPassword() (deprecated in 1.27) was removed.
11892 * User::isPasswordReminderThrottled() (deprecated in 1.27) was removed.
11893 * Class FSRepo (deprecated in 1.19) was removed.
11894 * WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use
11895   \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId()
11896   instead.
11897 * Class ImageGallery (deprecated in 1.22) was removed.
11898   Use ImageGalleryBase::factory instead.
11899 * Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class
11900   instead.
11901 * Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now
11902   emit warnings). Create a subclass of Action and add it to $wgActions instead.
11903 * WikiRevision::getText() (deprecated since 1.21) is no longer marked
11904   deprecated.
11905 * Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed.
11906 * Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed.
11907 * Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed.
11908 * Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed.
11909 * RedisConnectionPool::handleException (deprecated since 1.23) was removed.
11910 * The static properties mw.Api.errors and mw.Api.warnings, containing incomplete
11911   and outdated lists of errors/warnings returned by the API, are now deprecated.
11912 * wiki.phtml entry point was removed.  Refer to index.php instead. If you want
11913   "wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can
11914   be done by enabling mod_rewrite and adding the following rules to your
11915   configuration:
11917     RewriteEngine On
11918     RewriteBase /
11919     RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
11920 * Hook ArticleAfterFetchContent (deprecated in 1.21) was removed.
11921   Use ArticleAfterFetchContentObject instead.
11922 * Hook ArticleInsertComplete (deprecated in 1.21) was removed.
11923   Use PageContentInsertComplete instead.
11924 * Hook ArticleSave (deprecated in 1.21) was removed.
11925   Use PageContentSave instead.
11926 * Hook ArticleSaveComplete (deprecated in 1.21) was removed.
11927   Use PageContentSaveComplete instead.
11928 * Hook EditFilterMerged (deprecated in 1.21) was removed.
11929   Use EditFilterMergedContent instead.
11930 * Hook EditPageGetPreviewText (deprecated in 1.21) was removed.
11931   Use EditPageGetPreviewContent instead.
11932 * Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed.
11933   Use ContentHandlerDefaultModelFor instead.
11934 * Hook TitleIsWikitextPage (deprecated in 1.21) was removed.
11935   Use ContentHandlerDefaultModelFor instead.
11936 * Article::getContent() (deprecated in 1.21) was removed.
11937 * Revision::getText() (deprecated in 1.21) was removed.
11938 * Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed.
11939 * Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed.
11940 * Article::doEditContent() was marked as deprecated, to be removed in 1.30
11941   or later.
11942 * ContentHandler::runLegacyHooks() was removed.
11943 * refreshLinks.php now can be limited to a particular category with
11944   --category=... or a tracking category with --tracking-category=...
11945 * User-like objects that are passed to SpecialUserRights and its subclasses are
11946   now required to have a getGroupMemberships() method. See UserRightsProxy for
11947   an example.
11948 * User::$mGroups (instance variable) was marked private. Use User::getGroups()
11949   instead.
11950 * User::getGroupName(), User::getGroupMember(), User:getGroupPage(),
11951   User::makeGroupLinkHTML(), and User::makeGroupLinkWiki() were deprecated.
11952   Use equivalent methods on the UserGroupMembership class.
11953 * Maintenance scripts and tests that call User::addGroup() must now ensure that
11954   User objects have been added to the database prior to calling addGroup().
11955 * Protected function UsersPager::getGroups() was removed, and protected function
11956   UsersPager::buildGroupLink() was changed from a static to an instance method.
11957 * The third parameter ($cache) to the UsersPagerDoBatchLookups hook was changed;
11958   see docs/hooks.txt.
11959 * User::crypt() (deprecated in 1.24) was removed.
11960 * User::comparePasswords() (deprecated in 1.24) was removed.
11961 * ArchivedFile::getUserText() (deprecated in 1.23) was removed.
11962 * HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed.
11963 * BREAKING CHANGE: Internal signature changes to ChangesListSpecialPage
11964   and subclasses.  It should only break if you call buildMainQueryConds
11965   (changed to buildQuery with new signature) or doMainQuery (new
11966   signature).  Subclasses are likely to call at least doMainQuery
11967   (possibly both), but other classes might too, because they were
11968   public.
11969   Also, some related hooks were deprecated, but this is not yet a
11970   breaking change.
11971 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
11972 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
11973 * WikiRevision::$fileIsTemp was deprecated.
11974 * WikiRevision::$importer was deprecated.
11975 * WikiRevision::$user was deprecated.
11976 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
11977   WikiPage::PURGE_* constants are deprecated, and the functions will always
11978   return false. They were a hack for an issue that has since been fixed.
11979 * Hook 'EditPageBeforeEditChecks' is now deprecated. Instead use the new hook
11980   'EditPageGetCheckboxesDefinition', or 'EditPage::showStandardInputs:options'
11981   if you don't actually care about checkboxes and just want to add some HTML
11982   to the page.
11983 * Selflinks are now rendered as href-less <a> tags with the class mw-selflink
11984   rather than <strong> tags. The old class name, "selflink", was deprecated
11985   and will be removed in a future release. (T160480)
11986 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
11987 * Browser support for non-ES5 JavaScript browsers, including Android 2,
11988   Opera <12.10, and Internet Explorer 9, was lowered from Grade A to Grade C.
11989 * Removed wikibits global methods deprecated since MediaWiki 1.17 (T122755):
11990   is_gecko, is_chrome_mac, is_chrome, webkit_version, is_safari_win, is_safari,
11991   webkit_match, is_ff2, ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs,
11992   opera7_bugs, opera6_bugs, is_opera_95, is_opera_preseven, is_opera,
11993   ie6_bugs, clientPC, changeText, killEvt, addHandler, hookEvent,
11994   addClickHandler, removeHandler, getElementsByClassName, getInnerText,
11995   setupCheckboxShiftClick, addCheckboxClickHandlers, mwEditButtons,
11996   mwCustomEditButtons, injectSpinner, removeSpinner, escapeQuotes,
11997   escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix,
11998   tooltipAccessKeyRegexp, updateTooltipAccessKeys.
11999 * The ID of the <li> element containing the login link has changed from
12000   'pt-login' to 'pt-login-private' in private wikis.
12001 * The old, neglected "bulletin board style toolbar" in the edit form is now
12002   deprecated (T30856). This old code dates from 2006, and was replaced in the
12003   MediaWiki release tarball and in Wikimedia production by the WikiEditor
12004   extension in 2010. It is only shown to users if no other editor was
12005   installed, and leads to confusion.
12006 * (T92459) Loading ResourceLoader modules containing JavaScript through
12007   addModuleStyles() is deprecated and will log a warning server-side.
12009 = MediaWiki 1.28 =
12011 == MediaWiki 1.28.3 ==
12013 This is a security and maintenance release of the MediaWiki 1.28 branch.
12015 === Changes since 1.28.2 ==
12016 * (T168856) Allow SVGs created by Dia to be uploaded.
12017 * (T157545) Add missing doUpdates() call to refreshLinks.php.
12018 * (T165714) (T100085) Better handling of jobs execution in post-connection
12019   shutdown.
12020 * (T154425) (T154438) (T157679) Use AutoCommitUpdate instead of
12021   Database->onTransactionIdle.
12022 * (T154425) Make DeferredUpdates detect LBFactory transaction rounds.
12023 * (T149454) Restore erroneously removed realTableName call from
12024   DatabasePostgres.
12025 * (T167798) Fix phrase search and highlighting for phrase queries.
12026 * (T151136) Provide credits information to callbacks in extension registration.
12027 * (T160462) Allow namespaces defined in extension.json to be overwritten
12028   locally.
12029 * (T168337) Fix ErrorPageError to work from non-UI contexts.
12030 * (T143788) Backports for PHP 7.0 and 7.1 support.
12031 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
12032 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
12033 * (T174255) Declare uploadCount property in importDump.php.
12034 * (T180231) SECURITY: Updated dev dependancy phpunit/phpunit from v4.8.24 to
12035   v4.8.36.
12036 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
12037   browser sends non-standard url escaping.
12038 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
12039 * (T128209) SECURITY: Reflected File Download from api.php.
12040 * (T134100) SECURITY: Do not reveal if user exists during login failure.
12041 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
12042 * (T125163) SECURITY: Make anchor for headlines escape > and <.
12043 * (T180237) SECURITY: Protect vendor folder with .htaccess.
12044 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
12045   update.php.
12046 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
12047 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
12049 == MediaWiki 1.28.2 ==
12051 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
12052 included in the tarball version of MediaWiki 1.28.1. The version included had a
12053 serious security issue in it (T158689). There was also some minor code fixes in
12054 MediaWiki itself since 1.28.1, but none of them were security relevant.
12056 == MediaWiki 1.28.1 ==
12058 This is a security and maintenance release of the MediaWiki 1.28 branch.
12060 === Changes since 1.28.0 ===
12062 * $wgRunJobsAsync is now false by default (T142751). This change only affects
12063   wikis with $wgJobRunRate > 0.
12064 * Fix fatal from "WaitConditionLoop" not being found, experienced when a wiki
12065   has more than one database server setup.
12066 * (T152717) Better escaping for PHP mail() command,
12067 * (T154670) A missing method causing the MySQL installer to fatal in rare
12068   circumstances was restored.
12069 * (T154672) Un-deprecate ArticleAfterFetchContentObject hook.
12070 * (T158766) Avoid SQL error on MSSQL when using selectRowCount().
12071 * (T145635) Fix too long index error when installing with MSSQL.
12072 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
12073 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
12074   installed.
12075 * (T154872) Fix incorrect ar_usertext_timestamp index names in new 1.28
12076   installs.
12077 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
12078   redirect to interwiki links.
12079 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
12080   $wgAdvancedSearchHighlighting is true.
12081 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
12082   their values out of the logs.
12083 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
12084   CSRF token.
12085 * (T156184) SECURITY: Escape content model/format url parameter in message.
12086 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
12087   declaration.
12088 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
12089   directory in it's fallback chain when trying to work out where to write the
12090   cache.
12091 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
12092   inclusion syntax's link parameter.
12093 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
12094   against it.
12096 == MediaWiki 1.28 ==
12098 === Changes since 1.28.0-rc1 ===
12099 * (T148957) Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db
12100   errors.
12101 * (T148956) Only apply wgDBschema to postgres/mssql.
12102 * (T145991) Introduce separate log action for deleting pages on move.
12103 * (T141474) (T110464) Bypass login page if no user input is required.
12105 === Changes since 1.28.0-rc0 ===
12106 * (T142210) The changes to move the parser "NewPP limit report" from a HTML
12107   comment to a machine-readable JavaScript config option 'wgPageParseReport'
12108   have been undone. They caused the human-readable limit report to be shown
12109   incompletely or not at all. ParserOutput::setLimitReportData() and
12110   getLimitReportData() behave as they did in MediaWiki 1.27 again.
12111 * (T149510) Value of {{DISPLAYTITLE:}} parser function will not be used for
12112   the text of subheadings on a category page when creating it. This wasn't
12113   working correctly.
12114 * (T106793) MediaWiki will no longer try to perform a HTTP redirect to the
12115   canonical pretty URL when a non-pretty URL is used. It resulted in redirect
12116   loops in some clients and in some server configurations. This undoes a change
12117   made in MediaWiki 1.26.
12118 * (T149759) manifest_version: 2 was removed.
12120 === Configuration changes in 1.28 ===
12121 * $wgSend404Code now affects status code of action=history if the page is not
12122   there.
12123 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
12124   made by MediaWiki via a proxy. Relying on the http_proxy environment
12125   variable is no longer supported.
12126 * The load.php entry point now enforces the existing policy of not allowing
12127   access to session data, which includes the session user and the session
12128   user's language. If such access is attempted, an exception will be thrown.
12129 * The number of internal PBKDF2 iterations used to derive the session secret
12130   is configurable via $wgSessionPbkdf2Iterations.
12131 * Upload dialog's file upload log comment can now be configured separately for
12132   local and foreign uploads.
12133 * $wgForeignUploadTargets now defaults to `[ 'local' ]`, where `'local'`
12134   signifies local uploads. A value of `[]` (empty array) now means that
12135   no upload targets are allowed, effectively disabling the upload dialog.
12136 * The deprecated $wgEditEncoding variable has been removed; it was only used
12137   for Esperanto language character conversion. You are now recommended to use
12138   input methods provided by the UniversalLanguageSelector extension.
12139 * When $wgPingback is true, MediaWiki will periodically ping
12140   https://www.mediawiki.org/beacon with basic information about the local
12141   MediaWiki installation. This data includes, for example, the type of system,
12142   PHP version, and chosen database backend. This behavior is off by default.
12143 * When $wgEditSubmitButtonLabelPublish is true, MediaWiki will label the button
12144   to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
12145   if false, the default, they will be "Save page"/"Save changes".
12146 * The 'editcontentmodel' permission is now granted to all logged-in users
12147   ('user').
12148   instead of just administrators ('sysop'). Documentation for this feature is
12149   available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>.
12150 * $wgRevisionCacheExpiry is now set to one week by default instead of being
12151   disabled.
12152 * Magic links are now disabled by default, and can be re-enabled by modifying
12153   the value of $wgEnableMagicLinks. Their usage is discouraged, but if they are
12154   manually enabled, a tracking category will be added to help identify usage and
12155   make it easier to migrate away from. If you depend upon magic link
12156   functionality, it is requested that you comment on
12157   <https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links>
12158   and explain your use case(s).
12159 * New config variable $wgCSPFalsePositiveUrls to control what URLs to ignore
12160   in upcoming Content-Security-Policy feature's reporting.
12162 === New features in 1.28 ===
12163 * User::isBot() method for checking if an account is a bot role account.
12164 * Added a new 'slideshow' mode for galleries.
12165 * Added a new hook, 'UserIsBot', to aid in determining if a user is a bot.
12166 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
12167   interact with API parsing.
12168 * Added a new hook, 'UploadVerifyUpload', which can be used to reject a file
12169   upload. Unlike 'UploadVerifyFile' it provides information about upload comment
12170   and the file description page, but does not run for uploads to stash.
12171 * (T141604) Extensions can now provide a better error message when their
12172   maintenance scripts are run without the extension being installed.
12173 * (T8948) Numeric sorting in categories is now supported by setting
12174   $wgCategoryCollation to 'uca-default-u-kn' or 'uca-<langcode>-u-kn'. If you
12175   can't use UCA collations, a 'numeric' collation is also available. If
12176   migrating from another collation, you will need to run the updateCollation.php
12177   maintenance script.
12178 * Two new codes have been added to #time parser function: "xit" for days in
12179   current month, and "xiz" for days passed in the year, both in Iranian
12180   calendar.
12181 * mw.Api has a new option, useUS, to use U+001F (Unit Separator) when
12182   appropriate for sending multi-valued parameters. This defaults to true when
12183   the mw.Api instance seems to be for the local wiki.
12184 * After a client performs an action which alters a database that has replica
12185   databases, MediaWiki will wait for the replica databases to synchronize with
12186   the master database while it renders the HTML output. However, if the output
12187   is a redirect to another wiki on the wiki farm with a different domain,
12188   MediaWiki will instead alter the redirect URL to include a ?cpPosTime
12189   parameter that triggers the database synchronization when the URL is followed
12190   by the client. The same-domain case uses a new cpPosTime cookie.
12191 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
12192   'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
12193   'show' parameters to existing API query modules.
12195 === External library changes in 1.28 ===
12197 ==== Upgraded external libraries ====
12198 * Updated es5-shim from v4.1.5 to v4.5.8
12199 * Updated composer/semver from v1.4.1 to v1.4.2
12200 * Updated wikimedia/php-session-serializer from v1.0.3 to v1.0.4
12202 ==== New external libraries ====
12203 * Added wikimedia/scoped-callback v1.0.0
12204 * Added wikimedia/wait-condition-loop v1.0.1
12206 === Bug fixes in 1.28 ===
12207 * (T146496) action=history pages should return 404 HTTP error code if the page
12208   does not exist
12209 * (T137264) SECURITY: XSS in unclosed internal links
12210 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
12211 * (T133147) SECURITY: Require login to preview user CSS pages
12212 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
12213   the top file
12214 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
12215   permissions
12216 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
12217 * (T139670) Move 'UserGetRights' call before application of
12218   Session::getAllowedUserRights()
12220 === Action API changes in 1.28 ===
12221 * Added 'maxarticlesize' property to action=query&meta=siteinfo which contains
12222   the value of $wgMaxArticleSize.
12223 * Property 'modulemessages' from action=parse&prop=modules was removed
12224   (deprecated since 1.26).
12225 * The following response properties from action=login, deprecated in 1.27, are
12226   now removed: lgtoken, cookieprefix, sessionid. Clients should handle cookies
12227   to properly manage session state.
12228 * Submitting the lgtoken and lgpassword parameters in the query string to
12229   action=login is now deprecated and outputs a warning. They should be submitted
12230   in the POST body instead.
12231 * Submitting sensitive authentication request parameters to action=clientlogin,
12232   action=createaccount, action=linkaccount, and action=changeauthenticationdata
12233   in the query string is now deprecated and outputs a warning. They should be
12234   submitted in the POST body instead.
12235 * (T141960) Multi-valued parameters may now be separated using U+001F
12236   (Unit Separator) instead of the pipe character. This will be useful if some of
12237   the multiple values need to contain pipes, e.g. for action=options.
12238 * The API will now warn if input is not NFC-normalized Unicode or if it
12239   contains invalid characters.
12240 * The 'normalized' list output by action=query and other modules that use
12241   ApiPageSet may contain entries where the 'from' value is percent-encoded as
12242   the raw value cannot be represented in a valid API response. These are
12243   indicated by a 'fromencoded' boolean alongside the existing 'from' parameter.
12244 * (T28680) action=paraminfo can now return info about all submodules of a
12245   module without listing them all explicitly.
12246 * (T146770) It is now possible to assert that the current user is a specific
12247   named user, using the 'assertuser' parameter.
12248 * (T141963) Added a 'known' property when missing-but-known titles (e.g. from
12249   the 'TitleIsAlwaysKnown' hook) are output in various modules.
12251 === Action API internal changes in 1.28 ===
12252 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
12253   interact with ApiParse and ApiExpandTemplates.
12254 * (T139565) SECURITY: API: Generate head items in the context of the given title
12255 * (T115333) SECURITY: Check read permission when loading page content in
12256   ApiParse
12257 * ApiBase::getResultData() was removed (deprecated since 1.25)
12258 * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25)
12259 * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25)
12260 * ApiBase::makeHelpMsg() was removed (deprecated since 1.25)
12261 * ApiFormatBase::formatHTML() was removed (deprecated since 1.25)
12262 * ApiFormatBase::getNeedsRawData() was removed (deprecated since 1.25)
12263 * ApiFormatBase::getWantsHelp() was removed (deprecated since 1.25)
12264 * ApiFormatBase::setBufferResult() was removed (deprecated since 1.25)
12265 * ApiFormatBase::setHelp() was removed (deprecated since 1.25)
12266 * ApiFormatBase::setUnescapeAmps() was removed (deprecated since 1.25)
12267 * ApiMain::makeHelpMsgHeader() was removed (deprecated since 1.25)
12268 * ApiMain::reallyMakeHelpMsg() was removed (deprecated since 1.25)
12269 * ApiMain::setHelp() was removed (deprecated since 1.25)
12270 * ApiResult::beginContinuation() was removed (deprecated since 1.25)
12271 * ApiResult::cleanUpUTF8() was removed (deprecated since 1.25)
12272 * ApiResult::convertStatusToArray() was removed (deprecated since 1.25)
12273 * ApiResult::disableSizeCheck() was removed (deprecated since 1.24)
12274 * ApiResult::enableSizeCheck() was removed (deprecated since 1.24)
12275 * ApiResult::endContinuation() was removed (deprecated since 1.25)
12276 * ApiResult::getData() was removed (deprecated since 1.25)
12277 * ApiResult::getIsRawMode() was removed (deprecated since 1.25)
12278 * ApiResult::setContent() was removed (deprecated since 1.25)
12279 * ApiResult::setContinueParam() was removed (deprecated since 1.25)
12280 * ApiResult::setElement() was removed (deprecated since 1.25)
12281 * ApiResult::setGeneratorContinueParam() was removed (deprecated since 1.25)
12282 * ApiResult::setIndexedTagName_internal() was removed (deprecated since 1.25)
12283 * ApiResult::setIndexedTagName_recursive() was removed (deprecated since 1.25)
12284 * ApiResult::setMainForContinuation() was removed (deprecated since 1.25)
12285 * ApiResult::setParsedLimit() was removed (deprecated since 1.25)
12286 * ApiResult::setRawMode() was removed (deprecated since 1.25)
12287 * ApiResult::size() was removed (deprecated since 1.25)
12288 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
12289   'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
12290   'show' parameters to existing API query modules. A query module can enable
12291   these hooks by passing an array for $hookData to ApiQueryBase::select() and
12292   by calling ApiQueryBase->processRow() before adding a row's data to the
12293   result.
12295 === Languages updated in 1.28 ===
12297 MediaWiki supports over 375 languages. Many localisations are updated
12298 regularly. Below only new and removed languages are listed, as well as
12299 changes to languages because of Phabricator reports.
12301 * (T137411) ban (Balinese), thanks to translators Adi Mayndra, Andru,
12302   BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라.
12303 * (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha,
12304   Saiddzone Saimawnkham, Saosukham, and Sengwan.
12305 * Czech (cs) and Slovak (sk) set as reciprocal fallbacks.
12306 * (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator
12307   Ilja.mos.
12309 === Other changes in 1.28 ===
12310 * (T128697) Improved handling of large diffs.
12311 * [BREAKING CHANGE] $wgExtendedLoginCookies has been removed. You can
12312   use or update a custom session provider if needed.
12313 * Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent.
12314 * The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead.
12315 * SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
12316 * The 'UserLoginComplete' hook has a new parameter to differentiate between
12317   actual login and visiting the login page while already logged in.
12318 * ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24).
12319 * $.fn.liveAndTestAtStart was removed (deprecated since 1.24).
12320 * mw.util.tooltipAccessKeyPrefix was removed (deprecated since 1.24).
12321 * mw.util.tooltipAccessKeyRegexp was removed (deprecated since 1.24).
12322 * Linker::link() and Linker::linkKnown() were deprecated; please instead use
12323   MediaWiki\Linker\LinkRenderer. In addition, the LinkBegin and LinkEnd hooks
12324   were replaced by HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
12325   respectively. See docs/hooks.txt for the specific changes needed for those
12326   hooks.
12327 * Linker::formatSize() was deprecated. Use Language::formatSize() directly.
12328 * Aliases for Linker methods, deprecated since 1.21, were removed from Skin:
12329   * Skin::commentBlock() (use Linker::commentBlock() instead)
12330   * Skin::generateRollback() (use Linker::generateRollback() instead)
12331   * Skin::link() (use MediaWiki\Linker\LinkRenderer instead)
12332   * Skin::linkKnown() (use MediaWiki\Linker\LinkRenderer instead)
12333   * Skin::userLink() (use Linker::userLink() instead)
12334   * Skin::userToolLinks() (use Linker::userToolLinks() instead)
12335 * Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is
12336   disabled.
12337 * DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21).
12338 * UploadBase::stashFileGetKey() and UploadBase::stashSession() were deprecated.
12339   Use ...->stashFile()->getFileKey() instead.
12340 * "Public domain" was removed as a wiki license option from the installer, in
12341   favour of CC-0.
12342 * AuthenticationRequest::$required is now changed from REQUIRED to
12343   PRIMARY_REQUIRED on requests needed by primary providers even if all primaries
12344   need them.
12345   Primary providers are discouraged from returning multiple REQUIRED requests.
12346 * OOjs UI PHP widgets constructed with the `'infusable' => true` config option
12347   will no longer be automatically infused. You should call `OO.ui.infuse()`
12348   on them yourself from your JavaScript code.
12349 * parserTests.php has moved to tests/parser/parserTests.php
12350 * The command line options specific to parser tests have been removed from
12351   phpunit.php: --regex and --keep-uploads. Instead of --regex, use --filter.
12352   Instead of --keep-uploads, use the same option to parserTests.php, but you
12353   must specify a directory with --upload-dir.
12354 * The 'jquery.arrowSteps' ResourceLoader module is now deprecated.
12355 * IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should
12356   migrate to using the same functions on a ProxyLookup instance, obtainable from
12357   MediaWikiServices.
12358 * The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave,
12359   ArticleSaveComplete, ArticleViewCustom, EditFilterMerged, EditPageGetDiffText,
12360   EditPageGetPreviewText and ShowRawCssJs hooks will now emit deprecation
12361   warnings if used.
12362 * (T68404) CSS3 attr() function with url type is no longer allowed
12363   in inline styles.
12364 * Database::getSearchEngine() is deprecated, use
12365   SearchEngineFactory::getSearchEngineClass instead.
12367 == Compatibility ==
12369 MediaWiki 1.28 requires PHP 5.5.9 or later. There is experimental support for
12370 HHVM 3.6.5 or later.
12372 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
12373 support for them is somewhat less mature. There is experimental support for
12374 Oracle and Microsoft SQL Server.
12376 The supported versions are:
12378 * MySQL 5.0.3 or later
12379 * PostgreSQL 8.3 or later
12380 * SQLite 3.3.7 or later
12381 * Oracle 9.0.1 or later
12382 * Microsoft SQL Server 2005 (9.00.1399)
12384 == Upgrading ==
12386 1.28 has several database changes since 1.27, and will not work without schema
12387 updates. Note that due to changes to some very large tables like the revision
12388 table, the schema update may take quite long (minutes on a medium sized site,
12389 many hours on a large site).
12391 If upgrading from before 1.11, and you are using a wiki as a commons
12392 repository, make sure that it is updated as well. Otherwise, errors may arise
12393 due to database schema changes.
12395 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
12396 new database fields are filled with data.
12398 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
12399 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
12400 with MediaWiki 1.21.
12402 Don't forget to always back up your database before upgrading!
12404 See the file UPGRADE for more detailed upgrade instructions.
12406 For notes on 1.27.x and older releases, see HISTORY.
12408 == Online documentation ==
12410 Documentation for both end-users and site administrators is available on
12411 MediaWiki.org, and is covered under the GNU Free Documentation License (except
12412 for pages that explicitly state that their contents are in the public domain):
12414        https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
12416 == Mailing list ==
12418 A mailing list is available for MediaWiki user support and discussion:
12420        https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
12422 A low-traffic announcements-only list is also available:
12424        https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
12426 It's highly recommended that you sign up for one of these lists if you're
12427 going to run a public MediaWiki, so you can be notified of security fixes.
12429 == IRC help ==
12431 There's usually someone online in #mediawiki on irc.freenode.net.
12433 = MediaWiki 1.27 =
12435 == MediaWiki 1.27.7 ==
12437 This is a maintenance release of the MediaWiki 1.27 branch.
12439 === Changes since MediaWiki 1.27.6 ===
12440 * Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php.
12441 * Remove broken tests from ApiBlockTest.php.
12443 == MediaWiki 1.27.6 ==
12445 This is a security and maintenance release of the MediaWiki 1.27 branch.
12447 === Changes since MediaWiki 1.27.5 ===
12448 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
12449   all titles when asked for none.
12450 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
12451   libraries.
12452 * (T207241) Augment precision of updatelist time.
12453 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
12454 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
12455 * (T207603) SECURITY: User JS may no longer be loaded with mime type
12456   text/javascript if there is no account associated with the username.
12457 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
12458   type if non-admins can edit the page.
12459 * (T207541) Pass email address to mail().
12460 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
12461 * (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1.
12462 * (T208871) The hard-coded Google search form on the database error page was
12463   removed.
12464 * (T216968) Return pageid as int in both list=iwbacklinks and
12465   list=langbacklinks.
12466 * (T218608) Fix an issue that prevents Extension:OAuth working when
12467   $wgBlockDisablesLogin is true.
12468 * (T219728) Added support for new Japanese era name "Reiwa".
12469 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
12470   token.
12471 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
12472   reauthenticating.
12473 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
12474   getLoginSecurityLevel() returns non-false.
12475 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
12476 * (T208881) SECURITY: blacklist CSS var().
12477 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
12478 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
12479 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
12480 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
12481   view the log type.
12482 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
12484 == MediaWiki 1.27.5 ==
12486 This is a security and maintenance release of the MediaWiki 1.27 branch.
12488 === Changes since 1.27.4 ===
12489 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
12490   'newbie'.
12491 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
12492   account lock.
12493 * Upgraded Moment.js from v2.8.4 to v2.19.3.
12494 * (T160298) Fixed Special:ActiveUsers due to bad backport.
12495 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
12496   array.
12497 * Updated list of SPDX licenses for extensions.
12498 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
12499   include extensions. Pass --with-extensions to enable that feature.
12500 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
12501 * Add default edit rate limit of 90 edits/minute for all users.
12502 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
12503 * (T196672) The mtime of extension.json files is now able to be zero.
12504 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
12505   hook.
12506 * (T180403) Validate $length in padleft/padright parser functions.
12507 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
12508 * Special:BotPasswords now requires reauthentication.
12509 * (T191608, T187638) Add 'logid' parameter to Special:Log.
12510 * (T193829) Indicate when a Bot Password needs reset.
12511 * (T151415) Log email changes.
12512 * (T118420) Unbreak Oracle installer.
12514 == MediaWiki 1.27.4 ==
12515 This is a security and maintenance release of the MediaWiki 1.27 branch.
12517 === Changes since 1.27.3 ===
12518 * (T100085) Better handling of jobs execution in post-connection shutdown.
12519 * (T141604) Support conditionally registered namespaces.
12520 * (T167798) Fix highlighting for phrase queries and phrase search.
12521 * (T151136) Provide credits information to callbacks.
12522 * (T160462) Allow namespaces defined in extension.json to be overwritten
12523   locally.
12524 * (T168856) Allow SVGs created by Dia to be uploaded.
12525 * (T144705) (T148662) Password reset link is no longer shown when no reset
12526   options are available.
12527 * (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support.
12528 * (T66795) $wgUserEmailUseReplyTo is now true by default to work around
12529   restrictive DMARC policies.
12530 * DB_REPLICA constant added from REL1_28+ to ease backports to extensions and
12531   core.
12532 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
12533 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
12534 * (T142304) Allow putting the app ID in the password for bot passwords.
12535 * Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36.
12536 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
12537   browser sends non-standard url escaping.
12538 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
12539 * (T128209) SECURITY: Reflected File Download from api.php.
12540 * (T134100) SECURITY: Do not reveal if user exists during login failure.
12541 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
12542 * (T125163) SECURITY: Make anchor for headlines escape > and <.
12543 * (T180237) SECURITY: Protect vendor folder with .htaccess.
12544 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
12545   update.php.
12546 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
12547 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
12549 == MediaWiki 1.27.3 ==
12550 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
12551 included in the tarball version of MediaWiki 1.27.2. The version included had a
12552 serious security issue in it (T158689). There was also some minor code fixes in
12553 MediaWiki itself since 1.27.2, but none of them were security relevant.
12555 === Changes since 1.27.2 ===
12556 * (T145664) Fix broken wincache merge() implementation
12557 * (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility
12558 * (T153505) Fix php warnings on php 7.1 due to use of &$this
12560 == MediaWiki 1.27.2 ==
12561 This is a security and maintenance release of the MediaWiki 1.27 branch.
12563 ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as
12564 deprecated (rather than already removed) in the RELEASE-NOTES at the point
12565 1.27.0 was released.
12567 === Changes since 1.27.1 ===
12569 * (T68404) CSS3 attr() function with url type argument is no longer allowed
12570   in inline styles.
12571 * $wgRunJobsAsync is now false by default (T142751). This change only affects
12572   wikis with $wgJobRunRate > 0.
12573 * (T152717) Better escaping for PHP mail() command
12574 * Submitting the lgtoken and lgpassword parameters in the query string to
12575   action=login is now deprecated and outputs a warning. They should be submitted
12576   in the POST body instead.
12577 * Submitting sensitive authentication request parameters to action=clientlogin,
12578   action=createaccount, action=linkaccount, and action=changeauthenticationdata
12579   in the query string is now deprecated and outputs a warning. They should be
12580   submitted in the POST body instead.
12581 * (T158766) Avoid SQL error on MSSQL when using selectRowCount()
12582 * (T145635) Fix too long index error when installing with MSSQL.
12583 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
12584 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
12585   installed.
12586 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
12587   redirect to interwiki links.
12588 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
12589   $wgAdvancedSearchHighlighting is true.
12590 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
12591   their values out of the logs.
12592 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
12593   CSRF token.
12594 * (T156184) SECURITY: Escape content model/format url parameter in message.
12595 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
12596   declaration.
12597 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
12598   directory in it's fallback chain when trying to work out where to write the
12599  cache.
12600 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
12601   inclusion syntax's link parameter.
12602 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
12603   against it.
12605 == MediaWiki 1.27.1 ==
12607 This is a maintenance release of the MediaWiki 1.27 branch.
12609 === Changes since 1.27.0 ===
12610 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
12611   made by MediaWiki via a proxy. Relying on the http_proxy environment
12612   variable is no longer supported.
12613 * (T139565) SECURITY: API: Generate head items in the context of the given title
12614 * (T137264) SECURITY: XSS in unclosed internal links
12615 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
12616 * (T133147) SECURITY: Require login to preview user CSS pages
12617 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
12618   the top file
12619 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
12620   permissions
12621 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
12622 * (T115333) SECURITY: Check read permission when loading page content in
12623   ApiParse
12624 * (T57548) Remove support for $wgWellFormedXml = false, all output is now well
12625   formed
12626 * (T139670) Move 'UserGetRights' call before application of
12627   Session::getAllowedUserRights()
12629 == MediaWiki 1.27.0 ==
12631 === PHP version requirement in 1.27 ===
12632 As of 1.27, MediaWiki now requires PHP 5.5.9 or higher (see Compatibility
12633 section). Additionally, the following PHP extensions are required:
12634 * ctype
12635 * iconv
12636 * json
12637 * mbstring (new requirement in 1.27)
12638 * xml
12639 The following PHP extensions are strongly recommended:
12640 * openssl
12642 === Configuration changes in 1.27 ===
12643 * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
12644   now always enabled. If you use RDFa on your wiki, you now have to explicitly
12645   set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
12646 * $wgUseLinkNamespaceDBFields was removed.
12647 * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
12648   $wgResourceLoaderMinifierMaxLineLength, because there was little value in
12649   making the behavior configurable. The default values (`false` for the former,
12650   1000 for the latter) are now hard-coded.
12651 * $wgDebugDumpSqlLength was removed (deprecated in 1.24).
12652 * $wgDebugDBTransactions was removed (deprecated in 1.20).
12653 * $wgUseXVO has been removed, as it provides functionality only used by
12654   custom Wikimedia patches against Squid 2.x that probably noone uses in
12655   production anymore. There is now $wgUseKeyHeader that provides similar
12656   functionality but instead of the MediaWiki-specific X-Vary-Options header,
12657   uses the draft Key header standard.
12658 * $wgScriptExtension (and support for '.php5' entry points) was removed. See the
12659   deprecation notice in the release notes for version 1.25 for advice on how to
12660   preserve support for '.php5' entry points via URL rewriting.
12661 * Password handling via the User object has been deprecated and partially
12662   removed, pending the future introduction of AuthManager. In particular:
12663 ** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
12664    getPasswordExpired() have been removed. They were unused outside of core.
12665 ** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
12666    now private and will be removed in the future.
12667 ** The getPassword() and getTemporaryPassword() methods now throw
12668    BadMethodCallException and will be removed in the future.
12669 ** The ability to pass 'password' and 'newpassword' to createNew() has been
12670    removed. The only users of it seem to have been using it to set invalid
12671    passwords, and so shouldn't be greatly affected.
12672 ** setPassword(), setInternalPassword(), and setNewpassword() have been
12673    deprecated, pending the introduction of AuthManager.
12674 ** User::randomPassword() is deprecated in favor of a new method
12675    PasswordFactory::generateRandomPasswordString()
12676 ** User::getPasswordFactory() is deprecated, callers should just create a
12677    PasswordFactory themselves.
12678 ** A new constructor, User::newSystemUser(), has been added to simplify the
12679    creation of passwordless "system" users for logged actions.
12680 * $wgMaxSquidPurgeTitles was removed.
12681 * $wgAjaxWatch was removed. This is now enabled by default.
12682 * $wgUseInstantCommons now hotlinks Commons images by default instead of
12683   downloading originals and thumbnailing them locally. This allows wikis to save
12684   on CPU and bandwidth while reducing time to first byte for pages, even without
12685   a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
12686 * (T27397) WebP is enabled by default as an uploadable filetype.
12687 * (T48998) $wgArticlePath must now be either a full url, or start with a "/".
12688 * $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
12689 * Deprecated API formats dbg, txt, and yaml have been removed.
12690 * CLDRPluralRule* classes have been replaced with
12691   wikimedia/cldr-plural-rule-parser.
12692 * Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
12693   $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
12694   $wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
12695 * For proper operation of LocalIdLookup with shared user tables, ensure that
12696   $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
12697   that all others are sharing from and that $wgLocalDatabases is set to the
12698   full list of sharing wikis on all those wikis.
12699 * Massive overhaul to session handling:
12700 ** $wgSessionsInObjectCache is no longer supported and must be true, due to
12701    MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
12702    used.
12703 ** ObjectCacheSessionHandler is removed, replaced with
12704    MediaWiki\Session\PhpSessionHandler.
12705 ** PHP session handling in general ($_SESSION, session_id(), and so on) is
12706    deprecated. Use MediaWiki\Session\SessionManager instead. A new config
12707    variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
12708    issue a deprecation warning or to cause most PHP session handling to throw
12709    exceptions.
12710 ** Deprecated UserSetCookies hook. Session-handling extensions should generally
12711    be creating a custom subclass of CookieSessionProvider. Other extensions
12712    messing with cookies can no longer count on user data being saved in cookies
12713    versus other methods.
12714 ** Deprecated UserLoadFromSession hook, extensions should create a
12715    MediaWiki\Session\SessionProvider.
12716 ** The User cannot be loaded from session until after Setup.php completes.
12717    Attempts to do so will be ignored and the User will remain unloaded.
12718 ** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
12719    the MediaWiki\Session\Token class.
12720 * MediaWiki will now auto-create users as necessary, removing the need for
12721   extensions to do so. An 'autocreateaccount' right is added to allow
12722   auto-creation when 'createaccount' is not granted to all users.
12723 * Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
12724 * Most cookie-handling methods in User are deprecated.
12725 * $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
12726   experimental feature that has never worked.
12727 * Login and createaccount tokens now vary by timestamp.
12728 * LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
12729   return a MediaWiki\Session\Token, and tokens must be checked using that
12730   class's methods.
12731 * $wgEnotifUseJobQ was removed and the job queue is always used.
12732 * The functionality of the ApiSandbox extension has been merged into core. The
12733   extension should no longer be used.
12734 * $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
12735   Extensions, skins, gadgets and scripts that use the mediawiki.util module must
12736   express a dependency on it.
12737 * $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false.
12738   Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits
12739   module should express a dependency on it.
12740 * Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use
12741   $wgFooterIcons['copyright']['copyright'] instead.
12742 * If the openssl and mcrypt PHP extensions are both unavailable, secure
12743   session storage (used for login) will raise an exception. This exception may
12744   be bypassed by setting $wgSessionInsecureSecrets = true.
12745 * Massive overhaul to authentication:
12746 ** AuthPlugin and AuthPluginUser are deprecated.
12747 ** LoginForm and associated templates are deprecated. Extensions which called
12748    static LoginForm methods should be converted into authentication providers.
12749 ** The following hooks are deprecated:
12750 *** AbortAutoAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
12751 *** AbortLogin (create a MediaWiki\Auth\PreAuthenticationProvider instead)
12752 *** AbortNewAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
12753 *** AddNewAccount (use LocalUserCreated instead)
12754 *** AuthPluginSetup (create a MediaWiki\Auth\PrimaryAuthenticationProvider
12755     instead)
12756 *** ChangePasswordForm (use AuthChangeFormFields instead, or security levels)
12757 *** LoginUserMigrated (create a MediaWiki\Auth\PreAuthenticationProvider
12758     instead)
12759 *** UserCreateForm (create a MediaWiki\Auth\AuthenticationProvider of some type
12760     instead)
12761 *** UserLoginForm (create a MediaWiki\Auth\AuthenticationProvider of some type
12762     instead)
12763 ** The following hooks are removed:
12764 *** AbortChangePassword
12765 *** LoginPasswordResetMessage
12766 *** PrefsPasswordAudit
12767 ** The UserLoginComplete hook will no longer be called for all logins, only for
12768    those via the web UI. Use UserLoggedIn if you need to do something on all
12769    logins.
12770 ** $wgRequirePasswordforEmailChange is removed.
12772 === New features in 1.27 ===
12773 * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
12774   sticks to the primary DC (via cookies) after they make changes to the site.
12775 * Added a new hook, 'UserMailerTransformContent', to transform the contents
12776   of an email. This is similar to the EmailUser hook but applies to all mail
12777   sent via UserMailer.
12778 * Added a new hook, 'UserMailerTransformMessage', to transform the contents
12779   of an emai after MIME encoding.
12780 * Added a new hook, 'UserMailerSplitTo', to control which users have to be
12781   emailed separately (ie. there is a single address in the To: field) so
12782   user-specific changes to the email can be applied safely.
12783 * $wgCdnMaxageLagged was added, which limits the CDN cache TTL
12784   when any load balancer uses a DB that is lagged beyond the 'max lag'
12785   setting in the relevant section of $wgLBFactoryConf.
12786 * User::newSystemUser() may be used to simplify the creation of passwordless
12787   "system" users for logged actions from scripts and extensions.
12788 * Extensions can now return detailed error information via the API when
12789   preventing user actions using 'getUserPermissionsErrors' and similar hooks
12790   by using ApiMessage instances instead of strings for the $result value.
12791 * $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
12792   becomes too high.
12793 * Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
12794   and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
12795   cross-browser-compatible FlexBox rules. Users will still need to add fallback
12796   float rules or the like for compatibility with IE9- separately.
12797 * Added MWTimestamp::getTimezoneString() which returns the localized timezone
12798   string, if available. To localize this string, see the comments of
12799   $wgLocaltimezone in includes/DefaultSettings.php.
12800 * Added CentralIdLookup, a service that allows extensions needing a concept of
12801   "central" users to get that without having to know about specific central
12802   authentication extensions.
12803 * $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
12804   Regular web request transactions that takes longer than this are aborted.
12805 * Added a new hook, 'TitleMoveCompleting', which runs before a page move is
12806   committed.
12807 * $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
12808   from CDN to mitigate DB replication lag and WAN cache purge lag.
12809 * (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
12810   if it is available.
12811 * It is now possible to patrol file uploads (both for new files and new versions
12812   of existing files). Special:NewFiles has gained an option to filter by patrol
12813   status. This functionality can be disabled using $wgUseFilePatrol.
12814 * MediaWiki\Session infrastructure allows for easier use of session mechanisms
12815   other than the usual cookies.
12816 ** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
12817    custom session metadata.
12818 * Added MWGrants and associated configuration settings $wgGrantPermissions and
12819   $wgGrantPermissionGroups to hold configuration for authentication features
12820   such as OAuth that want to allow restricting the user rights a user may make
12821   use of.
12822 ** If you're already using the OAuth extension, these new variables are
12823    identical to (and will replace) $wgMWOAuthGrantPermissions and
12824    $wgMWOAuthGrantPermissionGroups.
12825 * Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
12826   to assert that the request comes from a particular IP range.
12827 * Added bot passwords, a rights-restricted login mechanism for API-using bots.
12828 * Whitelisted the following HTML attributes for all elements in wikitext:
12829   aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
12830 * Removed "presentation" restriction on the HTML role attribute in wikitext.
12831   All values are now allowed for the role attribute.
12832 * $wgContentHandlers now also supports callbacks to create an instance of the
12833   appropriate ContentHandler subclass.
12834 * Added $wgAuthenticationTokenVersion, which if non-null prevents the
12835   user_token database field from being exposed in cookies. Setting this would
12836   be a good idea, but will log out all current sessions.
12837 * $wgEventRelayerConfig was added, for managing PubSub event relay
12838   configuration, specifically for reliable CDN url purges.
12839 * Requests have unique IDs, equal to the UNIQUE_ID environment variable (when
12840   MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly-
12841   generated 24-character string. This request ID is used to annotate log records
12842   and error messages. It is available client-side via
12843   mw.config.get( 'wgRequestId' ).
12844   The request ID supplants exception IDs. Accordingly,
12845   MWExceptionHandler::getLogId() is deprecated.
12846 * (T33313) Add a preference for watching uploads by default, also applies
12847   to API-based upload tools.
12848 * $wgJpegPixelFormat was added to override chroma subsampling for JPEG image
12849   thumbnails created via ImageMagick. Defaults to 'yuv420', providing bandwidth
12850   savings versus the previous behavior on many files.
12851 * MediaWiki\Auth infrastructure (called "AuthManager") allows for more flexible
12852   configuration of multiple authentication pieces that was possible with
12853   AuthPlugin. For example, it's now easy to plug in second-factor
12854   authentication, or add additional checks to the login process, or to support
12855   multiple login methods at once, or to support non-password-based login
12856   methods.
12857 ** Providers are configured via the global setting $wgAuthManagerConfig.
12858 ** A global, $wgDisableAuthManager, is temporarily available to disable
12859    AuthManager until extensions are ready to support it.
12860 ** New hook, AuthChangeFormFields, to adjust the form fields on
12861    AuthManager-related special pages.
12862 ** New hook, AuthManagerLoginAuthenticateAudit, for additional logging of
12863    AuthManager-related authentication requests.
12864 ** New hook, ChangeAuthenticationDataAudit, for additional logging of
12865    AuthManager-related authentication data changes.
12866 ** New hook, SecuritySensitiveOperationStatus, to work with the new mechanism
12867    for requiring a recent login before taking security-sensitive operations
12868    like changing a password.
12869 ** Two new globals, $wgChangeCredentialsBlacklist and
12870    $wgRemoveCredentialsBlacklist can be used to prevent the web UI and the API
12871    changing certain authentication data.
12872 * The file upload dialog (available if you install WikiEditor or VisualEditor)
12873   can now be configured using $wgUploadDialog.
12875 === External library changes in 1.27 ===
12877 ==== Upgraded external libraries ====
12878 * Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
12879 * Updated composer/semver from v1.0.0 to v1.2.0.
12880 * Updated liuggio/statsd-php-client to 1.0.18.
12881 * Updated QUnit from v1.18.0 to v1.22.0.
12883 ==== New external libraries ====
12884 * Added wikimedia/base-convert v1.0.1.
12885 * Added wikimedia/cldr-plural-rule-parser v1.0.0.
12886 * Added wikimedia/relpath v1.0.3.
12887 * Added wikimedia/running-stat v1.1.0.
12888 * Added wikimedia/php-session-serializer v1.0.3.
12890 ==== Removed and replaced external libraries ====
12892 === Bug fixes in 1.27 ===
12893 * Special:Upload will now display correct maximum allowed file size when running
12894   under HHVM (T116347).
12895 * (T54077) The APIEditBeforeSave hook will once again give only the content of
12896   the section being edited, rather than the whole revision. This reverts the
12897   change made in MediaWiki 1.22.
12899 === Action API changes in 1.27 ===
12900 * Added list=allrevisions.
12901 * generator=recentchanges now has the option to generate revids.
12902 * ApiPageSet::setRedirectMergePolicy() was added. This allows generator
12903   modules to define how generator data for a redirect source gets merged
12904   into the redirect destination.
12905 * prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
12906   "was-deleted" warning.
12907 * Added difftotextpst to query=revisions which preforms a pre-save transform on
12908   the text before diffing it.
12909 * Deprecated formats dbg, txt, and yaml have been removed.
12910 * (T47988) The protect log event details now use new-style formatting.
12911 * The following response properties from action=login are deprecated, and may
12912   be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
12913   handle cookies to properly manage session state.
12914 * action=login transparently allows login using bot passwords. Clients should
12915   merely need to change the username and password used after setting up a bot
12916   password.
12917 * action=upload no longer understands statuskey, asyncdownload or leavemessage.
12918 * Several changes when $wgDisableAuthManager is false:
12919 ** action=login is deprecated for uses other than bot passwords.
12920 ** list=users can now indicate if a missing username is creatable.
12921 ** action=createaccount is changed in a non-backwards-compatible manner.
12922 ** Added action=query&meta=authmanagerinfo.
12923 ** Added action=clientlogin to be used to log into the main account instead of
12924    action=login.
12925 ** Added action=linkaccount.
12926 ** Added action=unlinkaccount.
12927 ** Added action=changeauthenticationdata.
12928 ** Added action=removeauthenticationdata.
12929 ** Added action=resetpassword.
12931 === Action API internal changes in 1.27 ===
12932 * ApiQueryORM removed.
12933 * The following classes have been removed:
12934 ** ApiFormatDbg
12935 ** ApiFormatTxt
12936 ** ApiFormatYaml
12937 * ApiBase::addTokenProperties() was removed (deprecated since 1.24).
12938 * ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24).
12939 * ApiBase::getFinalResultProperties() was removed (deprecated since 1.24).
12940 * ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated
12941   since 1.24).
12942 * ApiBase::getPossibleErrors() was removed (deprecated since 1.24).
12943 * ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated
12944   since 1.24).
12945 * ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated
12946   since 1.24).
12947 * ApiBase::getResultProperties() was removed (deprecated since 1.24).
12948 * ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24).
12949 * ApiBase::parseErrors() was removed (deprecated since 1.24).
12950 * ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
12951   ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
12952 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
12953 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
12954 * ApiQuery::getGenerators() was removed (deprecated since 1.21).
12955 * ApiQuery::getModules() was removed (deprecated since 1.21).
12956 * ApiQuery::getModuleType() was removed (deprecated since 1.21).
12957 * ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).
12958 * ApiMain::getModules() was removed (deprecated since 1.21).
12959 * ApiBase::getVersion() was removed (deprecated since 1.21).
12960 * ApiMain::getShowVersions() was removed (deprecated in 1.21).
12961 * ApiMain::addModule() was removed (deprecated in 1.21).
12962 * ApiMain::addFormat() was removed (deprecated in 1.21).
12963 * ApiMain::getFormats() was removed (deprecated in 1.21).
12964 * ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21).
12965 * ApiCreateAccount was removed.
12967 === Languages updated in 1.27 ===
12969 MediaWiki supports over 350 languages. Many localisations are updated
12970 regularly. Below only new and removed languages are listed, as well as
12971 changes to languages because of Phabricator reports.
12973 * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
12974 * (T116020) Aliases of magic words in MessagesXx.php are sorted by usage.
12976 === Other changes in 1.27 ===
12977 * Added dependency injection (DI) infrastructure, see docs/injection.txt for
12978   details.
12979   It is planned to incrementally move MediaWiki code towards using DI, using the
12980   service locator (SL) pattern as a stepping stone.
12981 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
12982 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
12983   ignore the 2nd and 3rd arguments (formerly $id and $commit).
12984 * Removed "loaderScripts" option from ResourceLoaderFileModule class.
12985 * Removed ORM-like wrapper added in 1.20.
12986 * LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
12987   (deprecated in 1.26).
12988 * WikiPage::doQuickEdit() was removed (deprecated since 1.21).
12989 * Removed SiteObject and SiteArray classes (deprecated in 1.21).
12990 * MessageBlobStore::getInstance() was removed (deprecated since 1.25).
12991 * (T84937) Free external links ("autolinked" urls) will now be terminated
12992   by &nbsp; and HTML entity encodings of &nbsp, <, and >.
12993 * (T36948) The default file revert message's timestamp is now in
12994   $wgLocaltimezone, instead of UTC.
12995 * The default name of the 'suppress' group page has been changed from
12996   'Project:Oversight' to 'Project:Suppress'.
12997 * DatabaseBase::resultObject() is now protected (use outside Database classes
12998   not necessary since 1.11).
12999 * Calling ResourceLoaderFileModule::readStyleFiles() without a
13000   ResourceLoaderContext instance is deprecated.
13001 * ResourceLoader::getLessCompiler() now takes an optional parameter of
13002   additional LESS variables to set for the compiler.
13003 * wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
13004   instead.
13005 * Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
13006   were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
13007 * Removed msg_resource_links database table and associated code.
13008 * Removed msg_resource database table and associated code.
13009 * Skin::getNamespaceNotice() was removed.
13010 * wfIsConfiguredProxy() was removed (deprecated since 1.24).
13011 * wfDebugTimer() was removed (deprecated since 1.25).
13012 * wfIsTrustedProxy() was removed (deprecated since 1.24).
13013 * wfGetIP() was removed (deprecated since 1.19).
13014 * MWHookException was removed.
13015 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
13016 * OutputPage::loginToUse() was removed (deprecated since 1.19).
13017 * Article::loadContent() was removed (deprecated since 1.19).
13018 * User::editToken() was removed (deprecated since 1.19).
13019 * Removed --force-normal option of dumpBackup.php, as it no longer served
13020   any useful purpose since 1.22.
13021 * The functions processOption() and processArgs() on the BackupDumper and
13022   TextPassDumper classes have been removed.
13023 * The maintenance/backupTextPass.inc file was deleted. You should include
13024   maintenance/dumpTextPass.php instead.
13025 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
13026 * wfEmptyMsg() was removed (deprecated since 1.18).
13027 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
13028 * OutputPage::blockedPage() was removed (deprecated since 1.18).
13029 * User::getSkin() was removed (deprecated since 1.18).
13030 * OutputPage::includeJQuery() was removed (deprecated since 1.17).
13031 * WikiPage::updateRestrictions() was removed (deprecated since 1.19).
13032 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
13033 * LogPage::logName() was removed (deprecated since 1.19).
13034 * LogPage::logHeader() was removed (deprecated since 1.19).
13035 * wfCheckLimits() was removed (deprecated since 1.24).
13036 * Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
13037 * Linker::makeLinkObj() was removed (deprecated since 1.16).
13038 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
13039 * ChangesList::usePatrol was removed (deprecated since 1.22).
13040 * wfMsgNoTrans() was removed (deprecated since 1.18).
13041 * Linker::makeImageLink2 was removed (deprecated since 1.20).
13042 * Title::userIsWatching() was removed (deprecated since 1.20).
13043 * Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
13044   database function directly instead.
13045 * wfMsg() was removed (deprecated since 1.18).
13046 * wfMsgForContent() was removed (deprecated since 1.18).
13047 * wfMsgReal() was removed (deprecated since 1.18).
13048 * wfMsgGetKey() was removed (deprecated since 1.18).
13049 * wfMsgHtml() was removed (deprecated since 1.18).
13050 * wfMsgWikiHtml() was removed (deprecated since 1.18).
13051 * wfMsgExt() was removed (deprecated since 1.18).
13052 * Language::armourMath() was removed (deprecated since 1.22).
13053 * LanguageConverter::armourMath() was removed (deprecated since 1.22).
13054 * FakeConverter::armourMath() was removed (deprecated since 1.22).
13055 * The unused jquery.validate ResourceLoader module was removed.
13056 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
13057 * User::generateToken() was removed (deprecated since 1.20).
13058 * WikiPage::getRawText() was removed (deprecated since 1.21).
13059 * ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
13060 * ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
13061 * ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
13062 * Gallery images with multiple caption pipes no longer concatenate them all
13063   together but instead pick the final one, similar to image syntax.
13064 * XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
13065   rather than consume everything until the end of the page.
13066 * New maintenance script resetUserEmail.php allows sysadmins to reset user
13067   emails in case a user forgot password/account was stolen.
13068 * wfCheckEntropy() was removed (deprecated in 1.27).
13069 * Browser support for Internet Explorer 8 lowered from Grade A to Grade C.
13070 * ContentHandler::supportsCategories method added. Default is true.
13071   CategoryMembershipChangeJob updates are skipped for content that
13072   does not support categories.
13073 * wikidiff difference engine is no longer supported, anyone still using it are
13074   encouraged to upgrade to wikidiff2 which is actively maintained and has better
13075   package availability.
13076 * Database logic was removed from WatchedItem and a WatchedItemStore was
13077   created:
13078 ** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were
13079    deprecated. User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were
13080    introduced.
13081 ** WatchedItem::fromUserTitle was deprecated in favour of the constructor.
13082 ** WatchedItem::resetNotificationTimestamp was deprecated.
13083 ** WatchedItem::batchAddWatch was deprecated.
13084 ** WatchedItem::addWatch was deprecated.
13085 ** WatchedItem::removeWatch was deprecated.
13086 ** WatchedItem::isWatched was deprecated.
13087 ** WatchedItem::duplicateEntries was deprecated.
13088 ** EmailNotification::updateWatchlistTimestamp was deprecated.
13089 ** User::getWatchedItem was removed.
13090 * Unit tests don't work with external PHPUnit anymore, Composer is now the only
13091   supported way. Run `composer install` to install it and other dev dependencies
13092   to run unit tests.
13093 * wl_id field added to the watchlist table.
13094 * Revision::getRawText() was removed (deprecated since 1.21).
13095 * WikiPage::replaceSection() was removed (deprecated since 1.21).
13096 * Article::replaceSection() was removed (deprecated since 1.21).
13097 * Language::getLangObj() was removed (deprecated since 1.24).
13098 * Language::getLanguageName() was removed (deprecated since 1.20).
13099 * Language::getLanguageNames() was removed (deprecated since 1.20).
13100 * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20).
13101 * Language::specialPage() was removed (deprecated since 1.24).
13102 * MediaWikiTestCase::assertException() was removed (deprecated since 1.22).
13103 * OutputPage::getHeadItems() was removed (deprecated since 1.24).
13104 * OutputPage::getScript() was removed (deprecated since 1.24).
13105 * OutputPage::out() was removed (deprecated since 1.22).
13106 * OutputPage::setAllowedModules() was removed (deprecated since 1.24).
13107 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
13108 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
13109 * Title::newFromRedirect() was removed (deprecated since 1.21).
13110 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
13111 * Skin::getCommonStylePath() was removed (deprecated since 1.24).
13112 * Skin::newFromKey() was removed (deprecated since 1.24).
13113 * Skin::getUsableSkins() was removed (deprecated since 1.23).
13114 * LoadBalancer::pickRandom() was removed (deprecated in 1.21).
13115 * Article::getUndoText() and WikiPage::getUndoText were removed (deprecated
13116   since 1.21).
13117 * DifferenceEngine::setText() was removed (deprecated in 1.21).
13118 * Title::newFromRedirectArray() was removed (deprecated in 1.21).
13119 * UserMailer::send() no longer accepts $replyto as the 5th argument and
13120   $contentType as the 6th. These must be passed in the options array now.
13121 * Title::newFromRedirectRecurse() was removed (deprecated in 1.21).
13122 * Skin::accesskey was removed (deprecated since 1.21).
13123 * Skin::blockLink was removed (deprecated since 1.21).
13124 * Skin::buildRollbackLink was removed (deprecated since 1.21).
13125 * Skin::emailLink was removed (deprecated since 1.21).
13126 * Skin::formatComment was removed (deprecated since 1.21).
13127 * Skin::formatHiddenCategories was removed (deprecated since 1.21).
13128 * Skin::formatLinksInComment was removed (deprecated since 1.21).
13129 * Skin::formatRevisionSize was removed (deprecated since 1.21).
13130 * Skin::formatSize was removed (deprecated since 1.21).
13131 * Skin::formatTemplates was removed (deprecated since 1.21).
13132 * Skin::generateTOC was removed (deprecated since 1.21).
13133 * Skin::getInternalLinkAttributes was removed (deprecated since 1.21).
13134 * Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21).
13135 * Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21).
13136 * Skin::getInvalidTitleDescription was removed (deprecated since 1.21).
13137 * Skin::getLinkColour was removed (deprecated since 1.21).
13138 * Skin::getRevDeleteLink was removed (deprecated since 1.21).
13139 * Skin::getRollbackEditCount was removed (deprecated since 1.21).
13140 * Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21).
13141 * Skin::makeCommentLink was removed (deprecated since 1.21).
13142 * Skin::makeExternalImage was removed (deprecated since 1.21).
13143 * Skin::makeExternalLink was removed (deprecated since 1.21).
13144 * Skin::makeHeadline was removed (deprecated since 1.21).
13145 * Skin::makeImageLink was removed (deprecated since 1.21).
13146 * Skin::makeMediaLinkFile was removed (deprecated since 1.21).
13147 * Skin::makeMediaLinkObj was removed (deprecated since 1.21).
13148 * Skin::makeSelfLinkObj was removed (deprecated since 1.21).
13149 * Skin::makeThumbLink2 was removed (deprecated since 1.21).
13150 * Skin::makeThumbLinkObj was removed (deprecated since 1.21).
13151 * Skin::normaliseSpecialPage was removed (deprecated since 1.21).
13152 * Skin::normalizeSubpageLink was removed (deprecated since 1.21).
13153 * Skin::processResponsiveImages was removed (deprecated since 1.21).
13154 * Skin::revComment was removed (deprecated since 1.21).
13155 * Skin::revDeleteLink was removed (deprecated since 1.21).
13156 * Skin::revDeleteLinkDisabled was removed (deprecated since 1.21).
13157 * Skin::revUserLink was removed (deprecated since 1.21).
13158 * Skin::revUserTools was removed (deprecated since 1.21).
13159 * Skin::specialLink was removed (deprecated since 1.21).
13160 * Skin::splitTrail was removed (deprecated since 1.21).
13161 * Skin::titleAttrib was removed (deprecated since 1.21).
13162 * Skin::tocIndent was removed (deprecated since 1.21).
13163 * Skin::tocLine was removed (deprecated since 1.21).
13164 * Skin::tocLineEnd was removed (deprecated since 1.21).
13165 * Skin::tocList was removed (deprecated since 1.21).
13166 * Skin::tocUnindent was removed (deprecated since 1.21).
13167 * Skin::tooltip was removed (deprecated since 1.21).
13168 * Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21).
13169 * Skin::userTalkLink was removed (deprecated since 1.21).
13170 * Skin::userToolLinksRedContribs was removed (deprecated since 1.21).
13171 * wikidiff3 is now the default and only PHP diff engine. It provides improved
13172   diff performance on complex changes. $wgExternalDiffEngine = 'wikidiff3'
13173   therefore makes no difference now. Users are still recommended to use
13174   wikidiff2 if possible, though.
13175 * User::addNewUserLogEntry() was deprecated.
13176 * User::addNewUserLogEntryAutoCreate() was deprecated.
13177 * User::isPasswordReminderThrottled() was deprecated.
13178 * Bot-oriented parameters to Special:UserLogin (wpCookieCheck,
13179   wpSkipCookieCheck) were removed.
13180 * Installer can now be customized without patching MediaWiki code, see
13181   mw-config/overrides/README for details.
13183 === Compatibility ===
13185 MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for
13186 HHVM 3.6.5 or later.
13188 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
13189 support for them is somewhat less mature. There is experimental support for
13190 Oracle and Microsoft SQL Server.
13192 The supported versions are:
13194 * MySQL 5.0.3 or later
13195 * PostgreSQL 8.3 or later
13196 * SQLite 3.3.7 or later
13197 * Oracle 9.0.1 or later
13198 * Microsoft SQL Server 2005 (9.00.1399)
13200 === Upgrading ===
13202 1.27 has several database changes since 1.26, and will not work without schema
13203 updates. Note that due to changes to some very large tables like the revision
13204 table, the schema update may take quite long (minutes on a medium sized site,
13205 many hours on a large site).
13207 If upgrading from before 1.11, and you are using a wiki as a commons
13208 repository, make sure that it is updated as well. Otherwise, errors may arise
13209 due to database schema changes.
13211 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
13212 new database fields are filled with data.
13214 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
13215 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
13216 with MediaWiki 1.21.
13218 Don't forget to always back up your database before upgrading!
13220 See the file UPGRADE for more detailed upgrade instructions.
13222 For notes on 1.26.x and older releases, see HISTORY.
13225 = MediaWiki 1.26 =
13227 == MediaWiki 1.26.4 ==
13229 This is a maintenance release of the MediaWiki 1.26 branch.
13231 === Changes since 1.26.3 ===
13232 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
13233   made by MediaWiki via a proxy. Relying on the http_proxy environment
13234   variable is no longer supported.
13235 * (T124163) Fixed fatal error in DifferenceEngine under HHVM.
13236 * (T139565) SECURITY: API: Generate head items in the context of the given title
13237 * (T137264) SECURITY: XSS in unclosed internal links
13238 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
13239 * (T133147) SECURITY: Require login to preview user CSS pages
13240 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
13241   the top file
13242 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
13243   permissions
13244 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
13245 * (T115333) SECURITY: Check read permission when loading page content in
13246   ApiParse
13247 * Remove support for $wgWellFormedXml = false, all output is now well formed
13249 == MediaWiki 1.26.3 ==
13251 This is a maintenance release of the MediaWiki 1.26 branch.
13253 === Changes since 1.26.2 ===
13254 * (T116266) Fixed undefined property notices in DairikiDiff under HHVM.
13255 * (T123166) Fix fatal error when importing pages to titles which cannot be
13256   created, such as invalid titles or titles the user is not allowed to edit.
13257 * (T122056) Old tokens are remaining valid within a new session
13258 * (T127114) Login throttle can be tricked using non-canonicalized usernames
13259 * (T123653) Cross-domain policy regexp is too narrow
13260 * (T123071) Incorrectly identifying http link in a's href attributes, due to
13261   m modifier in regex
13262 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
13263 * (T125283) Users occasionally logged in as different users after
13264   SessionManager deployment
13265 * (T103239) Patrol allows click catching and patrolling of any page
13266 * (T122807) [tracking] Check php crypto primatives
13267 * (T98313) Graphs can leak tokens, leading to CSRF
13268 * (T130947) Diff generation should use PoolCounter
13269 * (T133507) Careless use of $wgExternalLinkTarget is insecure
13270 * (T132874) API action=move is not rate limited
13271 * (T110143) strip markers can be used to get around html attribute escaping in
13272   (many?) parser tags
13273 * (T116030) Increase pbkdf2 parameter strengths
13274 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
13275 * (T126685) Globally throttle password attempts
13277 == MediaWiki 1.26.2 ==
13279 This is a maintenance release of the MediaWiki 1.26 branch.
13281 === Changes since 1.26.1 ===
13282 * (T121892) Fix fatal error on some Special pages, introduced in 1.26.1.
13284 == MediaWiki 1.26.1 ==
13286 This is a maintenance release of the MediaWiki 1.26 branch.
13288 === Changes since 1.26.0 ===
13289 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
13290   that do not begin with a slash. This enabled trivial XSS attacks.
13291   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
13292   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
13293   error.
13294 * (T119309) SECURITY: Use hash_compare() for edit token comparison
13295 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
13296   with '@' as file uploads
13297 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
13298   longer be shorter than $wgMinimalPasswordLength
13299 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
13300   result in improper blocks being issued
13301 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
13302   and related pages no longer use HTTP redirects and are now redirected by
13303   MediaWiki
13304 * Fixed ConfigException in ExpandTemplates due to AlwaysUseTidy.
13305 * Fixed stray literal \n in Special:Search.
13306 * Fix issue that breaks HHVM Repo Authorative mode.
13307 * (T120267) Work around APCu memory corruption bug
13309 == MediaWiki 1.26.0 ==
13311 === Configuration changes in 1.26 ===
13312 * $wgPasswordResetRoutes['email'] = true by default.
13313 * $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE
13314   instead if you want to disable the parser cache.
13315 * New-style continuation is now the default for API action=continue. Clients may
13316   use the 'rawcontinue' parameter to receive raw query-continue data, but the
13317   new style is encouraged as it's harder to implement incorrectly.
13318 * Deprecated API formats dump and wddx have been completely removed.
13319 * (T7645) The "Signature" button on the edit toolbar is now hidden by default
13320   in non-talk namespaces. A new configuration variable,
13321   $wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces
13322   the "Signature" button on the edit toolbar will be displayed.
13323 * $wgResourceLoaderUseESI was deprecated and removed. This was an experimental
13324   feature that was never enabled by default.
13325 * $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed.
13326   This experimental feature was never enabled by default and is obsolete as of
13327   MediaWiki 1.26, in where ResourceLoader became fully asynchronous.
13328 * $wgMasterWaitTimeout was removed (deprecated in 1.24).
13329 * Fields in ParserOptions are now private. Use the accessors instead.
13330 * Custom LESS functions (defined via $wgResourceLoaderLESSFunctions or
13331   in extension.json) have been removed, after being deprecated in 1.24.
13332 * $wgAlwaysUseTidy has been removed.
13333 * ResetSessionID hook has been removed. Nothing seems to use it.
13334 * Certain AuthPlugin methods are deprecated in favor of new hooks:
13335 ** AuthPlugin::initUser() is replaced by LocalUserCreated.
13336 ** AuthPlugin::updateUser() is replaced by UserLoggedIn.
13337 ** AuthPlugin::updateExternalDB() is replaced by the existing UserSaveSettings.
13338 ** AuthPlugin::updateExternalDBGroups() is replaced by UserGroupsChanged.
13339 ** AuthPluginUser::isHidden() is replaced by UserIsHidden.
13340 ** AuthPluginUser::isLocked() is replaced by UserIsLocked.
13341 * The UserRights hook is deprecated in favor of the new UserGroupsChanged hook.
13342 * AuthPlugin::initUser() and AuthPlugin::updateUser() should no longer replace
13343   the passed User object.
13344 * $wgBlockAllowsUTEdit is now set to true by default. This allows
13345   blocked users to edit their talk pages unless explicitly disabled
13346   when they are being blocked.
13348 === New features in 1.26 ===
13349 * (T51506) Now action=info gives estimates of actual watchers for a page.
13350   See $wgRCMaxAge, $wgWatchersMaxAge and $wgUnwatchedPageSecret
13351   to learn how to configure if needed.
13352 * Change tags can now be hidden in the interface by disabling the associated
13353   "tag-<id>" interface message.
13354 * ':' (colon) is now invalid in usernames for new accounts. Existing accounts
13355   are not affected.
13356 * Added a new hook, 'LogException', to log exceptions in nonstandard ways.
13357 * Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of
13358   search results are rendered. The initial use case is to append a "give us
13359   feedback" link beneath the search results.
13360 * Added a new hook, 'RejectParserCacheValue', which allows extensions to
13361   reject an otherwise-successful parser cache lookup. The intent is to allow
13362   extensions to manage the eviction of archaic HTML output from the cache.
13363 * (T68699) The expiration of the UserID and Token login cookies
13364   ($wgExtendedLoginCookieExpiration) can be configured independently of the
13365   expiration of all other cookies ($wgCookieExpiration).
13366 * (T50519) Support for generating JPEG/PNG thumbnails from WebP images added
13367   if ImageMagick is used as image scaler ($wgUseImageMagick = true). Uploading
13368   of WebP images still disabled by default. Add $wgFileExtensions[] =
13369   'webp'; to LocalSettings.php to enable uploading of WebP images.
13370 * Added new hooks 'EnhancedChangesListModifyLineData' &
13371   'EnhancedChangesListModifyBlockLineData', to modify the data used to build
13372   lines in enhanced recentchanges and watchlist.
13373 * Caches that need purging ability now use the WANObjectCache interface.
13374   This corresponds to a new $wgMainWANCache setting, which defaults to using
13375   the $wgMainCacheType settings.
13376 * Callers needing fast light-weight data stores use $wgMainStash to select
13377   the store type from $wgObjectCaches. The default is the local database.
13378 * Interface message overrides in the MediaWiki namespace will now be cached in
13379   memcached and APC (if available), rather than memcached and local files.
13380 * Added a new hook, 'RandomPageQuery', to allow modification of the query used
13381   by Special:Random to select random pages.
13382 * $wgTransactionalTimeLimit was added, which controls the request time limit
13383   for potentially slow POST requests that need to be as atomic as possible.
13384 * ResourceLoader now loads all scripts asynchronously. The top-queue and
13385   startup modules are no longer synchronously loaded.
13386 * 'mediawiki.ui.button' styles are no longer unconditionally loaded on every
13387   page. During the deprecation period, the styles will only be loaded on pages
13388   which contain 'mw-ui-button' in their HTML. Starting in 1.28, the styles will
13389   only be loaded if explicitly required.
13390 * If search returns zero results and current search engine has a "did you mean"
13391   suggestion, results for suggestion will be shown. Can be disabled by setting
13392   $wgSearchRunSuggestedQuery to false.
13393 * Added several JavaScript libraries for uploading files to MediaWiki
13394   from the client-side. See documentation for mw.Upload and its
13395   subclasses for more information.
13396 * Added OOUI dialogs and layout for file upload interfaces. See
13397   documentation for mw.Upload.Dialog, mw.Upload.BookletLayout and its
13398   subclasses for more information.
13400 === extension.json changes in 1.26 ===
13401 * (T99344) The extension.json schema is now versioned. All extensions
13402   and skins should set a "manifest_version" property corresponding to
13403   the schema version they were written for. The only supported version
13404   currently is "1".
13405 * (T102523) The error message if a non-array attribute is set was improved.
13406 * (T107646) Configuration settings can now specify how they should be merged,
13407   which is necessary for arrays using integer keys.
13408 * (T110389) Adding namespaces through extension.json now actually works
13409 * $wgNamespaceProtection can now be set in extension.json.
13410 * $wgCapitalLinkOverrides can now be set in extension.json.
13411 * (T97186) Extensions using a custom prefix for their configuration settings
13412   can now set a "_prefix" key to override the default of "wg".
13413 * (T99084) Extensions can now specify what MediaWiki core versions they
13414   depend upon.
13415 * (T105236) The extension.json schema now validates custom classes in
13416   the "ResourceModules" property properly.
13418 === External library changes in 1.26 ===
13419 ==== Upgraded external libraries ====
13420 * Updated es5-shim from v4.0.0 to v4.1.5.
13421 * Updated json2 from revision 2014-02-04 to 2015-05-03.
13422 * Updated Sinon.JS from 1.10.3 to 1.15.4.
13423 * Updated jQuery Client from v1.0.0 to v2.0.0.
13424 * Updated QUnit from v1.17.1 to v1.18.0.
13425 * Updated liuggio/statsd-php-client from v1.0.12 to v1.0.16.
13426 * Updated oojs/oojs-ui from v0.11.3 to v0.12.12.
13427 * Updated wikimedia/cdb from v1.0.1 to v1.3.0.
13428 * Updated wikimedia/utfnormal from v1.0.2 to v1.0.3.
13429 * Updated wikimedia/composer-merge-plugin from v1.0.0 to v1.3.0.
13430 * Updated zordius/lightncandy from v0.18 to v0.21.
13432 ==== New external libraries ====
13433 * Added composer/semver v1.0.0.
13434 * Added mediawiki/at-ease v1.1.0.
13435 * Added wikimedia/assert v0.2.2.
13436 * Added wikimedia/ip-set v1.0.1.
13437 * Added wikimedia/wrappedstring v2.0.0.
13439 ==== Removed and replaced external libraries ====
13440 * Replaced leafo/lessphp v0.5.0 with oyejorge/less.php v1.7.0.9.
13442 === Bug fixes in 1.26 ===
13443 * (T53283) load.php sometimes sends 304 response without full headers
13444 * (T65198) Talk page tabs now have a "rel=discussion" attribute
13445 * (T98841) {{msgnw:}} now preserves comments even when subst: is not used.
13446 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
13447   value if set to an empty string.
13449 === Action API changes in 1.26 ===
13450 * New-style continuation is now the default for action=continue. Clients may
13451   use the 'rawcontinue' parameter to receive raw query-continue data, but the
13452   new style is encouraged as it's harder to implement incorrectly.
13453 * Deprecated API formats dump and wddx have been completely removed.
13454 * API action=query&list=tags: The displayname can now be boolean false if the
13455   tag is meant to be hidden from user interfaces.
13456 * action=import no longer allows both the namespace= and rootpage= parameters
13457   to be set. If they are both set, the value of rootpage= will be ignored.
13458 * prop=revision output in enum mode is now sorted by timestamp rather than
13459   revision ID. This usually won't make any difference.
13460 * (T102645) Namespace list from meta=siteinfo&siprop=namespaces is now an array
13461   with formatversion=2.
13462 * Various other output from meta=siteinfo will now always be arrays instead of
13463   sometimes being numerically-indexed objects with formatversion=2.
13464 * When errors about users being blocked are returned, they now include
13465   information about the relevant block.
13466 * (T99926) list=random has higher limits, in line with other API modules.
13467 * list=random's rnredirect parameter is deprecated in favor of a new
13468   rnfilterredir parameter that also allows for listing both redirects and
13469   non-redirects.
13470 * list=random now supports continuation.
13471 * API responses to GET requests may now include ETag and Last-Modified headers,
13472   and will honor corresponding If-None-Match and If-Modified-Since on such
13473   requests.
13475 === Action API internal changes in 1.26 ===
13476 * New metadata item ApiResult::META_KVP_MERGE to allow for merging the KVP key
13477   into the value when the value is an assoc.
13478 * API action modules may now provide values for the RFC 7232 ETag and
13479   Last-Modified headers. The API will check these against If-None-Match and
13480   If-Modified-Since request headers on GET requests and avoid executing the
13481   module when appropriate.
13483 === Languages updated in 1.26 ===
13485 MediaWiki supports over 350 languages. Many localisations are updated
13486 regularly. Below only new and removed languages are listed, as well as
13487 changes to languages because of Phabricator reports.
13489 * Languages added:
13490 ** ase (American sign language), thanks to translator Icemandeaf
13491 ** dty (डोटेली/Doteli), thanks to translators जनक राज भट्ट, बिप्लब आनन्द,
13492    मेश सिंह बोहरा, and राम प्रसाद जोशी
13493 ** luz (لئری دوٙمینی / Southern Luri)
13494 ** olo (Livvinкarjala / Livvi-Karelian), thanks to translators Denö, Hiloin
13495    Natoi, Ilja.mos, and Mashoi7
13497 === Other changes in 1.26 ===
13498 * ChangeTags::tagDescription() will return false if the interface message
13499   for the tag is disabled.
13500 * Added PageHistoryPager::doBatchLookups hook.
13501 * Added $wikiId parameter to FormatAutocomments hook.
13502 * Added ParserCacheSaveComplete to ParserCache
13503 * supportsDirectEditing and supportsDirectApiEditing methods added to
13504   ContentHandler, to provide a way for ApiEditPage and EditPage to check
13505   if direct editing of content is allowed. These methods return false,
13506   by default for the ContentHandler base class and true for TextContentHandler
13507   and it's derivative classes (everything in core). For Content types that
13508   do not support direct editing, an alternative mechanism should be provided
13509   for editing, such as action overrides or specific api modules.
13510 * mediaWiki.confirmCloseWindow now returns an object of functions, instead of
13511   one function. The callback can't be called directly any more. The callback
13512   function is replaced with confirmCloseWindow.release().
13513 * BREAKING CHANGE: Added an optional ResouceLoaderContext parameter to
13514   ResourceLoaderModule::getDependencies(). Extension classes that override that
13515   method should be updated. If they aren't updated, PHP Strict standards
13516   warnings will appear when E_STRICT error reporting is enabled. Note: in the
13517   near future, this parameter will probably become non-optional.
13518 * Removed maintenance script deleteImageMemcached.php.
13519 * MWFunction::newObj() was removed (deprecated in 1.25).
13520   ObjectFactory::getObjectFromSpec() should be used instead.
13521 * The parser will no longer randomize the string it uses to mark the place of
13522   items that were stripped during parsing. It will use a fixed string instead.
13523   This causes the parser to re-use the regular expressions it uses to search
13524   and replace markers rather than generate novel expressions on each parse.
13525   Re-using regular expressions will improve performance on HHVM and the
13526   forthcoming PHP 7. The interfaces changes accompanying this change are:
13527   - Parser::getRandomString() and Parser::uniqPrefix() have been deprecated.
13528   - The $uniq_prefix argument for Parser::extractTagsAndParams() and the
13529     $prefix argument for StripState::_construct() are deprecated and their
13530     value is ignored.
13531 * wfSuppressWarnings() and wfRestoreWarnings() were split into a separate
13532   library, mediawiki/at-ease, and are now deprecated. Callers should use
13533   MediaWiki\suppressWarnings() and MediaWiki\restoreWarnings() directly.
13534 * The Block class constructor now takes an associative array of parameters
13535   instead of many optional positional arguments. Calling the constructor the old
13536   way will issue a deprecation warning.
13537 * The jquery.mwExtension module was deprecated.
13538 * $wgSpecialPageGroups was removed (deprecated in 1.21).
13539 * SpecialPageFactory::setGroup was removed (deprecated in 1.21).
13540 * SpecialPageFactory::getGroup was removed (deprecated in 1.21).
13541 * DatabaseBase::ignoreErrors() is now protected.
13542 * BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following
13543   a lengthy deprecation period.
13544 * The ScopedPHPTimeout class was removed.
13545 * Removed maintenance script fixSlaveDesync.php.
13546 * Watchlist tokens, SpecialResetTokens, and User::getTokenFromOption()
13547   are deprecated. Applications using those can work via the OAuth
13548   extension instead. New tokens types should not be added.
13549 * DatabaseBase::errorCount() was removed (unused).
13550 * $wgDeferredUpdateList was removed.
13551 * DeferredUpdates::addHTMLCacheUpdate() was removed.
13553 = MediaWiki 1.25 =
13555 == MediaWiki 1.25.6 ==
13557 This is a maintenance release of the MediaWiki 1.25 branch.
13559 === Changes since 1.25.5 ===
13560 * (T123166) Fix fatal error when importing pages to titles which cannot be
13561   created, such as invalid titles or titles the user is not allowed to edit.
13562 * (T122056) Old tokens are remaining valid within a new session
13563 * (T127114) Login throttle can be tricked using non-canonicalized usernames
13564 * (T123653) Cross-domain policy regexp is too narrow
13565 * (T123071) Incorrectly identifying http link in a's href attributes, due to
13566   m modifier in regex
13567 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
13568 * (T125283) Users occasionally logged in as different users after
13569   SessionManager deployment
13570 * (T103239) Patrol allows click catching and patrolling of any page
13571 * (T122807) [tracking] Check php crypto primatives
13572 * (T98313) Graphs can leak tokens, leading to CSRF
13573 * (T130947) Diff generation should use PoolCounter
13574 * (T133507) Careless use of $wgExternalLinkTarget is insecure
13575 * (T132874) API action=move is not rate limited
13576 * (T110143) strip markers can be used to get around html attribute escaping in
13577   (many?) parser tags
13578 * (T116030) Increase pbkdf2 parameter strengths
13579 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
13580 * (T126685) Globally throttle password attempts
13582 == MediaWiki 1.25.5 ==
13584 This is a maintenance release of the MediaWiki 1.25 branch.
13586 === Changes since 1.25.4 ===
13587 * (T121892) Fix fatal error on some Special pages, introduced in 1.25.4.
13589 == MediaWiki 1.25.4 ==
13591 This is a security and maintenance release of the MediaWiki 1.25 branch.
13593 === Changes since 1.25.3 ===
13594 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
13595   that do not begin with a slash. This enabled trivial XSS attacks.
13596   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
13597   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
13598   error.
13599 * (T119309) SECURITY: Use hash_compare() for edit token comparison
13600 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
13601   with '@' as file uploads
13602 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
13603   longer be shorter than $wgMinimalPasswordLength
13604 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
13605   result in improper blocks being issued
13606 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
13607   and related pages no longer use HTTP redirects and are now redirected by
13608   MediaWiki
13609 * (T103237) $wgUseGzip had no effect when using file cache.
13610 * (T114606) mw.notify was not correctly fixed to the page if
13611   initialized while not at the top of the page.
13612 * Fix issue that breaks HHVM Repo Authorative mode.
13614 == MediaWiki 1.25.3 ==
13616 This is a security and maintenance release of the MediaWiki 1.25 branch.
13618 === Changes since 1.25.2 ===
13620 * (T98975) Fix having multiple callbacks for a single hook.
13621 * (T107632) maintenance/refreshLinks.php did not always remove all links
13622   pointing to nonexistent pages.
13623 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
13624   value if set to an empty string.
13625 * (T62174) Provide fallbacks for use of mb_convert_encoding() in
13626   HtmlFormatter. It was causing an error when accessing the api help page
13627   if the mbstring PHP extension was not installed.
13628 * (T105896) Confirmation emails would sometimes contain invalid codes.
13629 * (T105597) Fixed edit stash inclusion queries.
13630 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
13631 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
13632 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
13633   first
13634 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
13636 == MediaWiki 1.25.2 ==
13638 This is a security and maintenance release of the MediaWiki 1.25 branch.
13640 === Changes since 1.25.1 ===
13642 * (T94116) SECURITY: Compare API watchlist token in constant time
13643 * (T97391) SECURITY: Escape error message strings in thumb.php
13644 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
13645   Special:DeletedContributions
13646 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
13647   policy of Wikimedia Commons.
13648 * (T100767) Setting a configuration setting for skin or extension to
13649   false in LocalSettings.php was not working.
13650 * (T100635) API action=opensearch json output no longer breaks when
13651   $wgDebugToolbar is enabled.
13652 * (T102522) Using an extension.json or skin.json file which has
13653   a "manifest_version" property for 1.26 compatability will no longer
13654   trigger warnings.
13655 * (T86156) Running updateSearchIndex.php will not throw an error as
13656   page_restrictions has been added to the locked table list.
13657 * Special:Version would throw notices if using SVN due to an incorrectly
13658   named variable. Add an additional check that an index is defined.
13660 == MediaWiki 1.25.1 ==
13662 This is a bug fix release of the MediaWiki 1.25 branch.
13664 === Changes since 1.25 ===
13665 * (T100351) Fix syntax errors in extension.json of ConfirmEdit extension
13667 == MediaWiki 1.25.0 ==
13669 === Configuration changes in 1.25 ===
13670 * $wgPageShowWatchingUsers was removed.
13671 * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts.
13672 * $wgAntiLockFlags was removed.
13673 * $wgJavaScriptTestConfig was removed.
13674 * Edit tokens returned from User::getEditToken may change on every call. Token
13675   validity must be checked by passing the user-supplied token to
13676   User::matchEditToken rather than by testing for equality with a
13677   newly-generated token.
13678 * (T74951) The UserGetLanguageObject hook may be passed any IContextSource
13679   for its $context parameter. Formerly it was documented as receiving a
13680   RequestContext specifically.
13681 * Profiling was restructured and $wgProfiler now requires an 'output' parameter.
13682   See StartProfiler.sample for details.
13683 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
13684   might be a flash policy directive configurable.
13685 * ApiOpenSearch now supports XML output. The OpenSearchXml extension should no
13686   longer be used. If extracts and page images are desired, the TextExtracts and
13687   PageImages extensions are required.
13688 * $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates.
13689 * Edits are now prepared via AJAX as users type edit summaries. This behavior
13690   can be disabled via $wgAjaxEditStash.
13691 * (T46740) The temporary option $wgIncludejQueryMigrate was removed, along
13692   with the jQuery Migrate library, as indicated when this option was provided in
13693   MediaWiki 1.24.
13694 * ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any
13695   StartProfiler.php config is updated to reflect this. Xhprof is available
13696   for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler.
13697 * Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary
13698   rather than 'rsvg'.
13699 * Default value of $wgSVGConverters['ImageMagick'] now uses transparent
13700   background with white fallback color, rather than just white background.
13701  * MediaWikiBagOStuff class removed, make sure any object cache config
13702    uses SqlBagOStuff instead.
13703 * The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis
13704   job queues. This means that mediawiki/services/jobrunner service has to
13705   be installed and running for any such queues to work.
13706 * $wgAutopromoteOnce no longer supports the 'view' event. For keeping some
13707   compatibility, any 'view' event triggers will still trigger on 'edit'.
13708 * $wgExtensionDirectory was added for when your extensions directory is
13709   somewhere other than $IP/extensions (as $wgStyleDirectory does with the skins
13710   directory).
13712 === New features in 1.25 ===
13713 * (T64861) Updated plural rules to CLDR 26. Includes incompatible changes
13714   for plural forms in Russian, Prussian, Tagalog, Manx and several languages
13715   that fall back to Russian.
13716 * (T60139) ResourceLoaderFileModule now supports language fallback
13717   for 'languageScripts'.
13718 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify
13719   the parser output for a content object before links update.
13720 * (T37785) Enhanced recent changes and extended watchlist are now default.
13721   Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
13722   and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
13723 * (T69341) SVG images will no longer be base64-encoded when being embedded
13724   in CSS. This results in slight size increase before gzip compression (due to
13725   percent-encoding), but up to 20% decrease after it.
13726 * Update jStorage to v0.4.12.
13727 * MediaWiki now natively supports page status indicators: icons (or short text
13728   snippets) usually displayed in the top-right corner of the page. They have
13729   been in use on Wikipedia for a long time, implemented using templates and CSS
13730   absolute positioning.
13731   - Basic wikitext syntax:
13732     <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
13733   - Usage instructions:
13734     https://www.mediawiki.org/wiki/Help:Page_status_indicators
13735   - Adjusting custom skins to support indicators:
13736     https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators
13737 * Edit tokens may now be time-limited: passing a maximum age to
13738   User::matchEditToken will reject any older tokens.
13739 * The debug logging internals have been overhauled, and are now using the
13740   PSR-3 interfaces.
13741 * Update CSSJanus to v1.1.1.
13742 * Update lessphp to v0.5.0.
13743 * Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts
13744   and images for ApiOpenSearch output. The semantics are identical to the
13745   "OpenSearchXml" hook provided by the OpenSearchXml extension.
13746 * PrefixSearchBackend hook now has an $offset parameter. Combined with $limit,
13747   this allows for pagination of prefix results. Extensions using this hook
13748   should implement supporting behavior. Not doing so can result in undefined
13749   behavior from API clients trying to continue through prefix results.
13750 * Update jQuery from v1.11.1 to v1.11.3.
13751 * External libraries installed via composer will now be displayed
13752   on Special:Version in their own section. Extensions or skins that are
13753   installed via composer will not be shown in this section as it is assumed
13754   they will add the proper credits to the skins or extensions section. They
13755   can also be accessed through the API via the new siprop=libraries to
13756   ApiQuerySiteinfo.
13757 * Update QUnit from v1.14.0 to v1.16.0.
13758 * Update Moment.js from v2.8.3 to v2.8.4.
13759 * Special:Tags now allows for manipulating the list of user-modifiable change
13760   tags.
13761 * Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete',
13762   and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change
13763   tags.
13764 * Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and
13765   "active" formerly conflated by the 'ListDefinedTags' hook.
13766 * Added TemplateParser class that provides a server-side interface to cachable
13767   dynamically-compiled Mustache templates (currently uses lightncandy library).
13768 * Clickable anchors for each section heading in the content are now generated
13769   and appear in the gutter on hovering over the heading.
13770 * Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink'
13771   hooks to allow extensions to override how links to pages are rendered within
13772   NS_CATEGORY
13773 * (T19665) Special:WantedPages only lists page which having at least one red
13774   link pointing to it.
13775 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
13776   used for conditional registration of API modules.
13777 * New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the
13778   links of a group of changes in EnhancedChangesList.
13779 * A full interface for StatsD metric reporting has been added to the context
13780   interface, reachable via IContextSource::getStats().
13781 * Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a
13782   proper, published library, which is now tagged as v1.0.0.
13783 * A new message (defaulting to blank), 'editnotice-notext', can be shown to
13784   users when they are editing if no edit notices apply to the page being edited.
13785 * (T94536) You can now make the sitenotice appear to logged-in users only by
13786   editing MediaWiki:Anonnotice and replacing its content with "". Setting it to
13787   "-" (default) will continue disable it and fallback to MediaWiki:Sitenotice.
13788 * Modifying the tagging of a revision or log entry is now available via
13789   Special:EditTags, generally accessed via the revision-deletion-like interface
13790   on history pages and Special:Log is likely to be more useful.
13791 * Added 'applychangetags' and 'changetags' user rights.
13792 * (T35235) LogFormatter subclasses are now responsible for formatting the
13793   parameters for API log event output. Extensions should implement the new
13794   getParametersForApi() method in their log formatters.
13796 ==== External libraries ====
13797 * MediaWiki now requires certain external libraries to be installed. In the past
13798   these were bundled inside the Git repository of MediaWiki core, but now they
13799   need to be installed separately. For users using the tarball, this will be
13800   taken care of and no action will be required. Users using Git will either need
13801   to use composer to fetch dependencies or use the mediawiki/vendor repository
13802   which includes all dependencies for MediaWiki core and ones used in Wikimedia
13803   deployment. Detailed instructions can be found at:
13804   https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
13805 * The following libraries are now required:
13806 ** psr/log
13807    This library provides the interfaces set by the PSR-3 standard
13808    (http://www.php-fig.org/psr/psr-3/) which are used by MediaWiki internally
13809    via the MediaWiki\Logger\LoggerFactory class.
13810    See the structured logging RfC
13811    <https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging>
13812    for more background information.
13813 ** cssjanus/cssjanus
13814    This library was formerly bundled with MediaWiki core and has been removed.
13815    It automatically flips CSS for RTL support.
13816 ** leafo/lessphp
13817    This library was formerly bundled with MediaWiki core and has been removed.
13818    It compiles LESS files into CSS.
13819 ** wikimedia/cdb
13820    This library was formerly a part of MediaWiki core, and has been moved into a
13821    separate library. It provides CDB functions which are used in the Interwiki
13822    and Localization caches. More information about the library can be found at
13823    https://www.mediawiki.org/wiki/CDB.
13824 ** liuggio/statsd-php-client
13825    This library provides a StatsD client API for logging application metrics to
13826    a remote server.
13828 === Bug fixes in 1.25 ===
13829 * (T73003) No additional code will be generated to try to load CSS-embedded
13830   SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
13831 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
13832   10- and 13-digit forms) containing "X".
13833 * Page moving was refactored into a MovePage class. As part of that:
13834 ** The AbortMove hook was removed.
13835 ** MovePageIsValidMove is for extensions to specify whether a page
13836    cannot be moved for technical reasons, and should not be overridden.
13837 ** MovePageCheckPermissions is for checking whether the given user is
13838    allowed to make the move.
13839 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
13840 ** Title::moveTo() was deprecated. Use the MovePage class instead.
13841 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
13842    and MovePage::checkPermissions().
13843 * (T18530) Multiple autocomments are now formatted in an edit summary.
13844 * (T70361) Autocomments containing "/*" are parsed correctly.
13845 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
13846   on action=info about a file page does not list file links anymore.
13847 * (T78637) Search bar is not autofocused unless it is empty so that proper
13848   scrolling using arrow keys is possible.
13849 * (T50853) Database::makeList() modified to handle 'NULL' separately when
13850   building IN clause
13851 * (T85192) Captcha position modified in Usercreate template. As a result:
13852 ** extrafields parameter added to Usercreate.php to insert additional data
13853 ** 'extend' method added to QuickTemplate to append additional values to any
13854   field of data array
13855 * (T86974) Several Title methods now load from the database when necessary
13856   (instead of returning incorrect results) even when the page ID is known.
13857 * (T74070) Duplicate search for archived files on file upload now omits the
13858   extension.
13859   This requires the fa_sha1 field being populated.
13860 * Removed rel="archives" from the "View history" link, as it did not pass
13861   HTML validation.
13862 * $wgUseTidy is now set when parserTests are run with the tidy option to match
13863   output on wiki.
13864 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed
13865   to it.
13866 * (T72109) mediawiki.language should respect $wgTranslateNumerals in
13867   convertNumber().
13869 === Action API changes in 1.25 ===
13870 * (T67403) XML tag highlighting is now only performed for formats
13871   "xmlfm" and "wddxfm".
13872 * action=paraminfo supports generalized submodules (modules=query+value),
13873   querymodules and formatmodules are deprecated
13874 * action=paraminfo no longer outputs descriptions and other help text by
13875   default. If needed, it may be requested using the new 'helpformat' parameter.
13876 * action=help has been completely rewritten, and outputs help in HTML
13877   rather than plain text.
13878 * Hitting api.php without specifying an action now displays only the help for
13879   the main module, with links to submodule help.
13880 * API help is no longer displayed on errors.
13881 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
13882   explicitly select the language from the current user's preferences, and
13883   "uselang=content" may be used to select the wiki's content language.
13884 * Default output format for the API is now jsonfm.
13885 * Simplified continuation will return a "batchcomplete" property in the result
13886   when a batch of pages is complete.
13887 * Pretty-printed HTML output now has nicer formatting and (if available)
13888   better syntax highlighting.
13889 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
13890   list=alldeletedrevisions.
13891 * prop=revisions will gracefully continue when given too many revids or titles,
13892   rather than just ignoring the extras.
13893 * prop=revisions will no longer die if rvcontentformat doesn't match a
13894   revision's content model; it will instead warn and omit the content.
13895 * If the user has the 'deletedhistory' right, action=query's revids parameter
13896   will now recognize deleted revids.
13897 * prop=revisions may be used as a generator, generating revids.
13898 * (T68776) format=json results will no longer be corrupted when
13899   $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
13900   error instead of returning invalid serialized data.
13901 * Generators may now return data for the generated pages when used with
13902   action=query.
13903 * Query page data for generator=search and generator=prefixsearch will now
13904   include an "index" field, which may be used by the client for sorting the
13905   search results.
13906 * ApiOpenSearch now supports XML output.
13907 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
13908   in JSON format.
13909 * (T76051) list=tags will now continue correctly.
13910 * (T76052) list=tags can now indicate whether a tag is defined.
13911 * (T75522) list=prefixsearch now supports continuation
13912 * (T78737) action=expandtemplates can now return page properties.
13913 * (T78690) list=allimages now accepts multiple pipe-separated values
13914   for the 'aimime' parameter.
13915 * prop=info with inprop=protections will now return applicable protection types
13916   with the 'restrictiontypes' key.
13917 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
13918   interwiki redirects to the list of interwiki titles.
13919 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
13920   property (like the existing 'tofragment' property) will be set.
13921 * Added action=managetags to allow for managing the list of
13922   user-modifiable change tags. Actually modifying the tagging of a revision or
13923   log entry is not implemented yet.
13924 * list=tags has additional properties to indicate 'active' status and tag
13925   sources.
13926 * siprop=libraries was added to ApiQuerySiteinfo to list installed external
13927   libraries.
13928 * (T88010) Added action=checktoken, to test a CSRF token's validity.
13929 * (T88010) Added intestactions to prop=info, to allow querying of
13930   Title::userCan() via the API.
13931 * Default type param for query list=watchlist and list=recentchanges has
13932   been changed from all types (e.g. including 'external') to 'edit|new|log'.
13933 * Added formatversion to format=json. Still "experimental" as further changes
13934   to the output formatting might still be made.
13935 * (T73020) Log event details are now always under a 'params' subkey for
13936   list=logevents, and a 'logparams' subkey for list=watchlist and
13937   list=recentchanges.
13938 * Log event details are changing formatting:
13939   * block events now report flags as an array rather than as a comma-separated
13940     list.
13941   * patrol events now report the 'auto' flag as a boolean (absent/empty string
13942     for BC formats) rather than as an integer.
13943   * rights events now report the old and new group lists as arrays rather than
13944     as comma-separated lists.
13945   * merge events use new-style formatting.
13946   * delete/event and delete/revision events use new-style formatting.
13947 * The root node and various other nodes will now always be an object in formats
13948   such as json that distinguish between arrays and objects.
13949   * Except for action=opensearch where the spec requires an array.
13951 === Action API internal changes in 1.25 ===
13952 * ApiHelp has been rewritten to support i18n and paginated HTML output.
13953   Most existing modules should continue working without changes, but should do
13954   the following:
13955   * Add an i18n message "apihelp-{$moduleName}-description" to replace
13956     getDescription().
13957   * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
13958     to replace getParamDescription(). If necessary, the settings array returned
13959     by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
13960     message.
13961   * Implement getExamplesMessages() to replace getExamples().
13962 * Modules with submodules (like action=query) must have their submodules
13963   override ApiBase::getParent() to return the correct parent object.
13964 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
13965   and will have no effect for modules using i18n messages. Use
13966   'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
13967 * Api formatters will no longer be asked to display the help screen on errors.
13968 * ApiMain::getCredits() was removed. The credits are available in the
13969   'api-credits' i18n message.
13970 * ApiFormatBase has been changed to support i18n and syntax highlighting via
13971   extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
13972   has been removed.
13973 * ApiFormatBase now always buffers. Output is done when
13974   ApiFormatBase::closePrinter is called.
13975 * Much of the logic in ApiQueryRevisions has been split into
13976   ApiQueryRevisionsBase.
13977 * The 'revids' parameter supplied by ApiPageSet will now count deleted
13978   revisions as "good" if the user has the 'deletedhistory' right. New methods
13979   ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
13980   provided to access just the live or just the deleted revids.
13981 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
13982   to allow generators to include data in the action=query result.
13983 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
13984   used for conditional registration of API modules.
13985 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
13986   the current request was sent with the 'callback' parameter (or any future
13987   method that breaks the same-origin policy).
13988 * Profiling methods in ApiBase are deprecated and no longer need to be called.
13989 * ApiResult was greatly overhauled. See inline documentation for details.
13990 * ApiResult will automatically convert objects to strings or arrays (depending
13991   on whether a __toString() method exists on the object), and will refuse to
13992   add unsupported value types.
13993   * An informal interface, ApiSerializable, exists to override the default
13994     object conversion.
13995 * ApiResult/ApiFormatBase "raw mode" is deprecated.
13996 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
13997   metadata isn't set.
13998 * (T35235) LogFormatter subclasses are now responsible for formatting log event
13999   parameters for the API.
14000 * Many modules have changed result data formats. While this shouldn't affect
14001   clients not using the experimental formatversion=2, code using
14002   ApiResult::getResultData() without the transformations for backwards
14003   compatibility may need updating, as will code that wasn't following the old
14004   conventions for API boolean output.
14005 * The following methods have been deprecated and may be removed in a future
14006   release:
14007   * ApiBase::getDescription
14008   * ApiBase::getParamDescription
14009   * ApiBase::getExamples
14010   * ApiBase::makeHelpMsg
14011   * ApiBase::makeHelpArrayToString
14012   * ApiBase::makeHelpMsgParameters
14013   * ApiBase::getModuleProfileName
14014   * ApiBase::profileIn
14015   * ApiBase::profileOut
14016   * ApiBase::safeProfileOut
14017   * ApiBase::getProfileTime
14018   * ApiBase::profileDBIn
14019   * ApiBase::profileDBOut
14020   * ApiBase::getProfileDBTime
14021   * ApiBase::getResultData
14022   * ApiFormatBase::setUnescapeAmps
14023   * ApiFormatBase::getWantsHelp
14024   * ApiFormatBase::setHelp
14025   * ApiFormatBase::formatHTML
14026   * ApiFormatBase::setBufferResult
14027   * ApiFormatBase::getDescription
14028   * ApiFormatBase::getNeedsRawData
14029   * ApiMain::setHelp
14030   * ApiMain::reallyMakeHelpMsg
14031   * ApiMain::makeHelpMsgHeader
14032   * ApiResult::setRawMode
14033   * ApiResult::getIsRawMode
14034   * ApiResult::getData
14035   * ApiResult::setElement
14036   * ApiResult::setContent
14037   * ApiResult::setIndexedTagName_recursive
14038   * ApiResult::setIndexedTagName_internal
14039   * ApiResult::setParsedLimit
14040   * ApiResult::beginContinuation
14041   * ApiResult::setContinueParam
14042   * ApiResult::setGeneratorContinueParam
14043   * ApiResult::endContinuation
14044   * ApiResult::size
14045   * ApiResult::convertStatusToArray
14046   * ApiQueryImageInfo::getPropertyDescriptions
14047   * ApiQueryLogEvents::addLogParams
14048 * The following classes have been deprecated and may be removed in a future
14049   release:
14050   * ApiQueryDeletedrevs
14052 === Languages updated in 1.25 ===
14054 MediaWiki supports over 350 languages. Many localisations are updated
14055 regularly. Below only new and removed languages are listed, as well as
14056 changes to languages because of Bugzilla reports.
14058 * Languages added:
14059 ** awa (अवधी / Awadhi), thanks to translator 1AnuraagPandey;
14060 ** bgn (بلوچی رخشانی / Western Balochi), thanks to translators
14061    Baloch Afghanistan, Ibrahim khashrowdi and Rachitrali;
14062 ** ses (Koyraboro Senni), thanks to translator Songhay.
14063 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
14064   interface language to kk where unexpected.
14065 * The Chinese conversion table was substantially updated to fix a lot of
14066   bugs and ensure better reading experience for different variants.
14068 === Other changes in 1.25 ===
14069 * (T45591) Links to MediaWiki.org translatable help were added to indicators,
14070   mostly in special pages. Local custom target titles can be placed in the
14071   relevant '(namespace-X|action name|special page name)-helppage' system
14072   message. Extensions can use the addHelpLink() function to do the same.
14073 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
14074   removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
14075   migration guide for creators and users of custom skins that relied on it.
14076 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
14077   available on Special:Upload.
14078 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
14079   inline styles in the HTML.
14080 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
14081 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
14082 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
14083 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
14084 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since
14085   1.20)
14086 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
14087   since 1.20)
14088 * Removed 'async' parameter from the  mw.Api#getCategories() method. (deprecated
14089   since 1.20)
14090 * Removed 'jquery.json' module. (deprecated since 1.24)
14091   Use the 'json' module and global JSON object instead.
14092 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
14093   Also, the former will now throw an MWException if called with one or more
14094   arguments.
14095 * Removed hitcounters and associated code.
14096 * The "temp" zone of the upload respository is now considered private. If it
14097   already exists (such as under the images/ directory), please make sure that
14098   the directory is not web readable (e.g. via a .htaccess file).
14099 * BREAKING CHANGE: In the XML dump format used by Special:Export and
14100   dumpBackup.php, the <model> and <format> tags now apprear before the <text>
14101   tag, instead of after the <text> and <sha1> tags.
14102   The new schema version is 0.10, the new schema URI is:
14103   https://www.mediawiki.org/xml/export-0.10.xsd
14104 * MWFunction::call() and MWFunction::callArray() were removed, having being
14105   deprecated in 1.22.
14106 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
14107   and getInternalLinkAttributes methods in Linker, and removed
14108   getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
14109 * Removed Sites class, which was deprecated in 1.21 and replaced by
14110   SiteSQLStore.
14111 * Added wgRelevantArticleId to the client-side config, for use on special pages.
14112 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
14113   ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
14114 * Deprecated the TitleIsWikitextPage hook. Superseded by the
14115   ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
14116 * Changed parsing of variables in schema (.sql) files:
14117 ** The substituted values are no longer parsed. (Formerly, several passes
14118    were made for each variable, so depending on the order in which variables
14119    were defined, variables might have been found inside encoded values. This
14120    is no longer the case.)
14121 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
14122    If string encoding is necessary, use the '{$var}' syntax instead.
14123 ** Variable names must only consist of one or more of the characters
14124    "A-Za-z0-9_".
14125 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
14126    does not exist yet variable B does, the latter may not be replaced.
14127    However, this difference is unlikely to arise in practice.
14128 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
14129   characters on both sides.
14130 * The FormatAutocomments hook will now receive $pre and $post as booleans,
14131   rather than as strings that must be prepended or appended to $comment.
14132 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
14133   newlines; but they can contain &nbsp; and other non-newline whitespace.
14134 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
14135   toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
14136   relied on this behavior, update your scripts' dependencies.
14137 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
14138   * HTMLForm::isVForm() is now deprecated.
14139   * You can no longer do this:
14140       $form = new HTMLForm( … );
14141       $form->setDisplayFormat( 'vform' ); // throws exception
14142     Instead, do this:
14143       $form = HTMLForm::factory( 'vform', … );
14144 * Deprecated Revision methods getRawUser(), getRawUserText() and
14145   getRawComment().
14146 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
14147   The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
14148 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
14149   renders them incorrectly when combined with border-radius or background-size.
14150 * Removed maintenance script dumpSisterSites.php.
14151 * DatabaseBase class constructors must be called using the array argument style.
14152   Ideally, DatabaseBase:factory() should be used instead in most cases.
14153 * Deprecated ParserOutput::addSecondaryDataUpdate and
14154   ParserOutput::getSecondaryDataUpdates.
14155   This is a hard deprecation, with getSecondaryDataUpdates returning an empty
14156   array and addSecondaryDataUpdate throwing an exception. These functions will
14157   be removed in 1.26, since they interfere with caching of ParserOutput objects.
14158 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject
14159   custom updates.
14160 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to
14161   perform updates when a page is re-rendered.
14162 * EditPage::attemptSave has been modified not to call handleStatus itself and
14163   instead just returns the Status object. Extension calling it should be aware
14164   of this.
14165 * Removed class DBObject. (unused since 1.10)
14166 * wfDiff() is deprecated.
14167 * The -m (maximum replication lag) option of refreshLinks.php was removed.
14168   It had no effect since MediaWiki 1.18 and should be removed from any cron
14169   jobs or similar scripts you may have set up.
14170 * (T85864) The following messages no longer support raw html: redirectto,
14171   thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
14172   retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
14173   protect-summary-cascade
14174 * All BloomCache related code has been removed. This was largely experimental.
14175 * $wgResourceModuleSkinStyles no longer supports per-module local or remote
14176   paths. They can only be set for the entire skin.
14177 * Removed global function swap(). (deprecated since 1.24)
14178 * Deprecated the ".php5" file extension entry points and the $wgScriptExtension
14179   configuration variable. Refer to the ".php" files instead. If you want
14180   ".php5" URLs to continue to work, set up redirects. In Apache, this can be
14181   done by enabling mod_rewrite and adding the following rules to your
14182   configuration:
14184     RewriteEngine On
14185     RewriteBase /
14186     RewriteRule ^(.*)\.php5 $1.php [R=301,L]
14188 * The global importScriptURI and importStylesheetURI functions, as well as the
14189   loadedScripts object, from wikibits.js (deprecated since 1.17) now emit
14190   warnings through mw.log.warn when accessed.
14192 = MediaWiki 1.24 =
14194 == MediaWiki 1.24.6 ==
14196 This is a maintenance release of the MediaWiki 1.24 branch.
14198 === Changes since 1.24.5 ===
14199 * (T121892) Fix fatal error on some Special pages, introduced in 1.24.5.
14201 == MediaWiki 1.24.5 ==
14203 This is a security and maintenance release of the MediaWiki 1.23 branch.
14205 === Changes since 1.24.4 ===
14206 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
14207   that do not begin with a slash. This enabled trivial XSS attacks.
14208   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
14209   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
14210   error.
14211 * (T119309) SECURITY: Use hash_compare() for edit token comparison
14212 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
14213   with '@' as file uploads
14214 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
14215   longer be shorter than $wgMinimalPasswordLength
14216 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
14217   result in improper blocks being issued
14218 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
14219   and related pages no longer use HTTP redirects and are now redirected by
14220   MediaWiki
14221 * (T103237) $wgUseGzip had no effect when using file cache.
14223 == MediaWiki 1.24.4 ==
14225 This is a security and maintenance release of the MediaWiki 1.24 branch.
14227 === Changes since 1.24.3 ===
14229 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
14230 * (T68650) Fix indexing of moved pages with PostgreSQL. Requires running
14231   update.php to fix.
14232 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
14233 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
14234 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
14235   first
14236 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
14238 == MediaWiki 1.24.3 ==
14240 This is a security and maintenance release of the MediaWiki 1.24 branch.
14242 === Changes since 1.24.2 ===
14244 * (T94116) SECURITY: Compare API watchlist token in constant time
14245 * (T97391) SECURITY: Escape error message strings in thumb.php
14246 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
14247   Special:DeletedContributions
14248 * Update jQuery from v1.11.2 to v1.11.3.
14249 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
14250   policy of Wikimedia Commons.
14252 == MediaWiki 1.24.2 ==
14254 This is a security and maintenance release of the MediaWiki 1.24 branch.
14256 === Changes since 1.24.1 ===
14258 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
14259   to prevent various DoS attacks.
14260 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
14261   likelihood of DoS.
14262 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
14263 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
14264 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
14265 * (T64685) SECURITY: Allow setting maximal password length to prevent DoS when
14266   using PBKDF2.
14267 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
14268   prevent XSS and protect viewer's privacy.
14269 * Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory to fix
14270   loading these special pages when $wgAutoloadAttemptLowercase is false.
14271 * (bug T70087) Fix Special:ActiveUsers page for installations using
14272   PostgreSQL.
14273 * (bug T76254) Fix deleting of pages with PostgreSQL. Requires a schema change
14274   and running update.php to fix.
14276 == MediaWiki 1.24.1 ==
14278 This is a security and maintenance release of the MediaWiki 1.24 branch.
14280 === Changes since 1.24.0 ===
14282 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
14283   could lead to xss. Permission to edit MediaWiki namespace is required to
14284   exploit this.
14285 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
14286   $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
14287   part of its name.
14288 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
14289 * Fixed a couple of entries in RELEASE-NOTES-1.24.
14290 * (bug T76168) OutputPage: Add accessors for some protected properties.
14291 * (bug T74834) Make 1.24 branch directly installable under PostgreSQL.
14293 == MediaWiki 1.24.0 ==
14295 === Configuration changes in 1.24 ===
14296 * MediaWiki will no longer run if register_globals is enabled. It has been
14297   deprecated for 5 years now, and was removed in PHP 5.4. For more information
14298   about why, see <https://www.mediawiki.org/wiki/register_globals>.
14299 * MediaWiki now requires PHP's iconv extension. openSUSE users may need to
14300   install the php5-iconv package. Users of other systems may need to add
14301   extension=iconv.so to php.ini or recompile PHP without --without-iconv.
14302 * MediaWiki will no longer function if magic quotes are enabled. It has
14303   been deprecated for 5 years now, and was removed in PHP 5.4.
14304 * The server's canonical hostname is available as $wgServerName, which is
14305   exposed in both mw.config and ApiQuerySiteinfo.
14306 * Introduced $wgPagePropsHaveSortkey as a backwards-compatibility switch,
14307   for using the old schema of the page_props table, in case the respective
14308   schema update was not applied.
14309 * $wgSearchEverythingOnlyLoggedIn was removed as the 'searcheverything'
14310   user option was removed. Use $wgNamespacesToBeSearchedDefault instead or
14311   if you used to have $wgDefaultUserOptions['searcheverything'] = 1.
14312 * $wgMasterWaitTimeout has been deprecated.
14313 * $wgDBClusterTimeout has been removed.
14314 * $wgProxyKey has been removed. It is no longer used by MediaWiki core.
14315   Ensure $wgSecretKey is set in LocalSettings.php.
14316 * $wgExtraInterlanguageLinkPrefixes is a new configuration variable that
14317   contains an array of interwiki prefixes that should be treated as language
14318   prefixes (i.e. turned into interlanguage links when $wgInterwikiMagic is set
14319   to true).
14320 * $wgParserTestRemote has been removed.
14321 * $wgCountTotalSearchHits has been removed. If you're concerned about efficiency
14322   of search, you should use something like CirrusSearch instead of built in
14323   search.
14324 * Users in the 'sysop' group have access to Special:MergeHistory by default.
14325 * $wgFileStore was removed after having been deprecated in 1.17. Alternative
14326   configurations are $wgDeletedDirectory and $wgHashedUploadDirectory.
14327 * The deprecated $wgUseCommaCount variable has been removed.
14328 * $wgEnableSorbs and $wgSorbsUrl have been removed.
14329 * The UserCryptPassword and UserComparePassword hooks are no longer called.
14330   Any extensions using them must be updated to use the Password Hashing API.
14331 * $wgCompiledFiles has been removed.
14332 * $wgSortSpecialPages was removed, the listing on Special:SpecialPages is
14333   now always sorted.
14334 * $wgSpecialPages may now use callback functions as an alternative to plain
14335   class names. This allows more control over constructor parameters.
14336 * $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort were removed.
14337 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort
14338   and $wgRC2UDPPrefix have been removed.
14339 * The default password type for MediaWiki has been changed from MD5 to PBKDF2.
14340   Password hashes will automatically be updated as users log in. If necessary,
14341   the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'.
14342   In addition, there is a maintenance script wrapOldPassword.php that can wrap
14343   all passwords in PBKDF2 (or the hashing algorithm of your choice) if you don't
14344   want to wait for your users to log in.
14345 * $wgImportSources can now either be a regular array, or an associative map
14346   specifying subprojects on the interwiki map of the target wiki, or a mix of
14347   the two. Existing configurations will still work.
14348 * Users must be able to edit through a page's protection to be able to delete
14349   it.
14350 * The default thumb size ($wgDefaultUserOptions['thumbsize']) is now 300px, up
14351   from 180px. If you have altered the number of entries in $wgThumbLimits for
14352   your wiki, you may need to adjust your default user settings to compensate for
14353   the index change.
14354 * $wgDeferredUpdateList is now deprecated, you should use
14355   DeferredUpdates::addUpdate() instead.
14356 * $wgCanonicalLanguageLinks has been removed. Per Google recommendations, we
14357   will not send a rel=canonical pointing to a variant-neutral page, however
14358   we will send rel=alternate.
14359 * $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the
14360   future.
14361 * $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar
14362   functionality.
14364 === New features in 1.24 ===
14365 * Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
14366   manipulate the list of pages and/or preload lots of data at once.
14367 * Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the
14368   link to the title to be changed.
14369 * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
14370   WhatLinksHere entries.
14371 * Added a new hook, "ContentGetParserOutput", to customize parser output for
14372   a given content object.
14373 * Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead.
14374 * HTMLForm's HTMLTextField now supports the 'url' type.
14375 * HTMLForm fields may now be dynamically hidden based on the values of other
14376   fields in the form.
14377 * HTMLForm now supports multiple copies of an input field or set of input
14378   fields, e.g. the form may request "one or more usernames" without having to
14379   have the user enter delimited list of names into a text field.
14380 * Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of
14381   the sidebar just before its display.
14382 * (bug 49156) Added the mediawiki.cookie ResourceLoader module, which wraps
14383   jquery.cookie so that getting/setting a cookie is syntactically and
14384   functionally similar to using the WebRequest::getCookie() and
14385   WebResponse::setcookie() methods.
14386 * (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1. A new configuration option,
14387   $wgIncludejQueryMigrate, also loads the jQuery Migrate hack to let extensions
14388   and gadgets use the long-deprecated functions that were removed in jQuery 1.9.
14389   This option is turned off by default, and will be removed in MediaWiki 1.25.
14390 * (bug 47076) jQuery UI upgraded from 1.8.24 to 1.9.2.
14391 * Changes to content typography (fonts, etc.). See
14392   https://www.mediawiki.org/wiki/Typography_refresh for further information.
14393 * WikitextContent will now render redirects with the expected "redirect"
14394   header, rather than as an ordered list. Code calling Article::viewRedirect
14395   can probably be changed to no longer special-case redirects.
14396 * Header font set to a serif font stack. See
14397   https://www.mediawiki.org/wiki/Typography_refresh for further information.
14398 * (bug 65567) Added a new hook, "BeforeHttpsRedirect", to allow cancellation of
14399   the HTTP to HTTPS redirect due to forceHTTPS cookie, userRequires, etc. This
14400   is only for page views, since this hook doesn't affect UserLogin, OAuth,
14401   CentralAuth, etc. ATTENTION: This hook is likely to be removed soon due to
14402   overall design of the system.
14403 * (bug 17367) It is now possible to add pages to your watchlist from
14404   Special:UnwatchedPages without reloading the special page.
14405 * New methods setVolatile and isVolatile are added to PPFrame, so that
14406   extensions such as Cite.php can mark that their output is volatile and
14407   shouldn't be cached.
14408 * (bug 52817) Advanced search options are now saved on the search page itself,
14409   rather than in a dedicated pane in the preferences panel.
14410 * (bug 44591) The dropdown actions menu (little triangle next to page tabs) in
14411   the Vector skin has gained a label that should make it more discoverable.
14412 * MWCryptHKDF added for fast, cryptographically secure random number generation
14413   that won't deplete openssl's entropy pool.
14414 * ResourceLoader: File modules can now provide a skip function that uses an
14415   inline feature test to bypass loading of the module.
14416 * (bug 20210) Special pages may now provide autocompletion of their subpage
14417   names in search suggestions. Right now the only useful implementation is in
14418   Special:Log, but more are to come.
14419 * Special:MostLinkedTemplates is no longer limited to transclusions from the
14420   Template namespace.
14421 * Skins can now use 'remoteSkinPath' when defining ResourceLoader modules.
14422   This works the same as 'remoteExtPath' but is relative to the skins/ folder
14423   instead of the extensions/ folder.
14424 * Added the json2.js polyfill for the ES5 JSON.stringify and JSON.parse methods.
14425   Exposed as module "json" with a skip function to optimise loading.
14426 * Extensions and skins may now use 'namemsg' in $wgExtensionCredits in addition
14427   to 'name', to allow for the name to be localizable. 'name' should still be
14428   specified for backwards-compatibility and to define the path Special:Version
14429   uses to find extension license information.
14430 * Browser tests are now included to verify basic wiki functionality in developer
14431   environments. For details on running tests, see
14432   tests/browser/README.mediawiki.
14433 * Upgrade jStorage to v0.4.10.
14434 * {{!}} is now a magic word that produces the | character. This removes the need
14435   for Template:! for purposes such as passing pipes inside of parameters.
14436 * (bug 20790) The block log snippet on Special:Contributions and while
14437   editing user and user talk pages now works for IP range blocks.
14438 * (bug 9360) Added ability to change the page language for MediaWiki pages using
14439   Special:PageLanguage. All pages are set to wiki language by default.
14440   The feature needs to be enabled with $wgPageLanguageUseDB=true and
14441   permission needs to be set for 'pagelang'.
14442 * Upgrade Moment.js to v2.8.3.
14443 * (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
14444 * Upgrade Sinon.JS to 1.10.3.
14445 * Added the es5-shim polyfill for older or non-compliant javascript engines.
14446 * Upgrade jQuery Cookie to v1.3.1.
14447 * (bug 20476) Add a "viewsuppressed" user right to be able to view
14448   suppressed content but not suppress it ("suppressrevision" right).
14449 * (bug 66440) The MediaWiki web installer will now allow you to choose the skins
14450   to enable (from the ones included in download tarball) and decide which one
14451   should be the default.
14452 * (bug 68085, 68802) Links like [[localInterwikiPrefix:languageCode:pageTitle]],
14453   where localInterwikiPrefix is a member of the $wgLocalInterwikis array, will
14454   no longer be displayed in the sidebar when $wgInterwikiMagic is true. In a
14455   similar way, links like [[localInterwikiPrefix:File:Image.png]] and
14456   [[localInterwikiPrefix:Category:Hello]] will now render as regular links, and
14457   will not include the file or add the page to the category.
14458 * New special page, MyLanguage, to redirect users to subpages with localised
14459   versions of a page. (Integrated from Extension:Translate)
14460 * MediaWiki now supports multiple password types, including bcrypt and PBKDF2.
14461   The default type can be changed with $wgPasswordDefault and the type
14462   configurations can be changed with $wgPasswordConfig.
14463 * Skins can now define custom styles for default ResourceLoader modules using
14464   the $wgResourceModuleSkinStyles global. See the Vector skin for examples.
14465 * (bug 4488) There is now a preference to watch pages where the user has
14466   rollbacked an edit by default.
14467 * (bug 15484) Users will now be redirected to the login page when they need to
14468   log in, rather than being shown a page asking them to log in and having to
14469   click another link to actually get to the login page.
14470 * A JsonContent and JsonContentHandler were added for extensions to extend.
14471 * (bug 35045) Redirects to sections will now update the URL in browser's address
14472   bar using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]],
14473   the user will now see "Animals#Dog" in their browser instead of "Dog#Dog".
14474 * API token handling has been rewritten. Any API module using tokens will need
14475   to be updated. See the entry below under "Action API internal changes".
14476 * Added HTMLAutoCompleteSelectField.
14477 * Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to
14478   link existence cache before the page is rendered.
14479 * Config::set() was moved to its own interface, MutableConfig.
14480   GlobalVarConfig::set() is now deprecated, does not implement MutableConfig.
14481 * A MutableConfig named HashConfig was added, that stores an array of
14482   configuration settings.
14483 * (bug 69418) A MultiConfig implementation was added that supports fallback
14484   to multiple Config instances.
14485 * Update CSSJanus to v1.1.0.
14486 * Added FormatJson::parse() returning status with result or localized error
14487   message
14488 * Added DeletedContribsPager::reallyDoQuery hook allowing extensions to data to
14489   Special:DeletedContributions
14490 * Added DeletedContributionsLineEnding hook allowing extensions to format
14491   Special:DeletedContributions lines
14492 * (T69525) You can now make MediaWiki speed up its thumbnail rendering by using
14493   intermediary thumbnails. $wgThumbnailBuckets must be set to a list of target
14494   thumbnail widths; when a new thumbnail needs to be rendered, MediaWiki will
14495   find the smallest bucket smaller than the original but larger than the target
14496   width + $wgThumbnailMinimumBucketDistance, and it will scale that thumbnail,
14497   rather than the original, down to the target size at greater speed in return
14498   for minor loss of fidelity.
14500 === Bug fixes in 1.24 ===
14501 * (bug 50572) MediaWiki:Blockip should support gender
14502 * (bug 49116) Footer copyright notice is now always displayed in user language
14503   rather than content language (same as copyright notice for editing interface).
14504 * (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
14505   restriction was present in the parameters. Images with both the "frame"
14506   option and a size specification set will now always ignore the provided
14507   size and display an unscaled image, as the documentation has always
14508   claimed it would.
14509 * (bug 39035) Improved Vector skin performance by removing collapsibleNav,
14510   which used to collapse some sidebar elements by default.
14511   This removes -list id suffixes like p-lang-list: instead of using things like
14512   #p-lang-list, you can do #p-lang .body ul.
14513 * (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
14514   follow redirects to their target pages.
14515 * Parser now dies early if called recursively, instead of producing subtle bugs.
14516 * (bug 14323) Redirect pages, when viewed with redirect=no, no longer hide the
14517   remaining page content.
14518 * (bug 52587) Maintenance script deleteBatch.php no longer follows redirects
14519   in the file namespace and delete the file on the target page. It will still
14520   however delete the redirect page.
14521 * (bug 22683) {{msgnw:}} and other uses of PPFrame::RECOVER_ORIG will correctly
14522   recover the original code of extension tags.
14523 * (bug 65757) MSSQL: Update script drops unnamed constraints to be prepared
14524   for future updates. Because it's doing so heuristically, it may fail or drop
14525   wrong constraints.
14526 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
14527 * $wgRunJobsAsync now works with private wikis (e.g. read requires login).
14528 * (bugs 57238, 65206) Blank pages can now be directly created.
14529 * (bug 69789) Title::getContentModel() now loads from the database when
14530   necessary instead of incorrectly returning the default content model.
14531 * (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP.
14532 * (bug 57909) URLs in the externallinks table will no longer have certain
14533   characters decoded in the query string.
14534 * (bug 67368) LESS mixins like .background-image() correctly flip image
14535   references for RTL stylesheets now.
14537 === Action API changes in 1.24 ===
14538 * action=parse API now supports prop=modules, which provides the list of
14539   ResourceLoader modules that should be used to enhance the parsed content.
14540 * action=query&meta=siteinfo&siprop=interwikimap returns a new "protorel"
14541   field which is true if protocol-relative urls can be used to access
14542   a particular interwiki map entry.
14543 * list=logevents now provides logpage, which is the page ID from the
14544   logging table, if ids are requested and the user has the permissions.
14545 * action=edit now requires that appendtext, prependtext, or section=new be used
14546   when using the 'redirect' parameter, to prevent clients accidentally
14547   overwriting the target page with the content of the redirect.
14548 * list=logevents will now return an error if both letitle and leprefix are
14549   specified.
14550 * list=logevents has a new parameter, lenamespace, to allow filtering by
14551   namespace.
14552 * action=expandtemplates has a new parameter, prop, and a new output format.
14553   The old format is still used if prop isn't provided, but this is deprecated.
14554 * meta=userinfo can now return the count of unread pages on the watchlist.
14555 * list=watchlist can now filter by unread status.
14556 * The deprecated action=parse&prop=languageshtml has been removed.
14557 * (bug 48071) action=setnotificationtimestamp no longer throws PHP or database
14558   errors when no pages are given.
14559 * (bug 60734) Actions that use ApiPageSet (e.g. purge, watch,
14560   setnotificationtimestamp) will now include continuation information when
14561   using a generator.
14562 * Removed 'props' and 'errors' from action=paraminfo, as they have extremely
14563   limited use and are generally inaccurate, unmaintained, and impossible to
14564   properly maintain.
14565 * Formats dbg, dump, txt, wddx, and yaml are now deprecated.
14566 * action=paraminfo now indicates when a parameter is specifying a submodule.
14567 * The iwurl parameter to prop=iwlinks is deprecated in favor of iwprop=url, for
14568   parallelism with prop=langlinks.
14569 * All tokens should be fetched from action=query&meta=tokens; all other methods
14570   of fetching tokens are deprecated. The value needed for meta=tokens's 'type'
14571   parameter for each module is documented in the action=help output and is
14572   returned from action=paraminfo.
14573 * New action ClearHasMsg that can be used to clear HasMsg flag.
14574 * The cmstartsortkey and cmendsortkey parameters to list=categorymembers are
14575   deprecated in favor of cmstarthexsortkey and cmendhexsortkey.
14576 * (bug 63326) Add blockedtimestamp field to output of blockinfo property for
14577   the list=allusers and list=users modules.
14578 * prop=imageinfo no longer requires iiurlwidth to be set when using iiurlparam.
14579 * Added prop=linkshere, prop=fileusage, and prop=transcludedin, which are
14580   roughly equivalent to list=backlinks, list=imageusage, and list=embeddedin
14581   but can work on a list of titles (including titles from a generator).
14582 * prop=redirects can now filter returned redirects by namespace.
14584 === Action API internal changes in 1.24 ===
14585 * Methods for handling continuation are added to ApiResult, so actions other
14586   than query that use generators can easily support continuation.
14587 * $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules,
14588   $wgAPIPropModules, and $wgAPIListModules settings) now allow API modules
14589   to be specified using a "module spec" array instead of a plain class name.
14590   A "module spec" is an associative array containing at least the 'class' key
14591   for the module's class, and optionally a 'factory' key for the factory
14592   function to use for the module. This is intended for extensions that want
14593   control over the instantiation of their API modules, to allow for proper
14594   dependency injection.
14595 * A new param type 'submodule' is available. Parameters of this type will take
14596   the list of valid values from the module's ApiModuleManager for the group
14597   corresponding to the parameter name.
14598 * The 'APIGetPossibleErrors' and 'APIGetResultProperties' hooks are no longer
14599   used.
14600 * API token handling has been rewritten. Any API module using tokens will need
14601   to be updated:
14602   * ApiBase::needsToken now returns a token type instead of boolean true when a
14603     token is needed. Returning true will throw an exception. See documentation
14604     of that method for details.
14605   * Information for the 'token' parameter is automatically set by ApiBase
14606     getFinalParams and getFinalParamDescription.
14607   * ApiBase::getTokenSalt has been removed.
14608   * The hooks APIQueryInfoTokens, APIQueryRevisionsTokens,
14609     APIQueryRecentChangesTokens, APIQueryUsersTokens, and
14610     ApiTokensGetTokenTypes are deprecated, but are still called to support
14611     backwards-compatible token access.
14612 * ApiBase::validateLimit and ApiBase::validateTimestamp are now protected.
14613 * ApiQueryRedirects was removed; prop=redirects is now implemented by
14614   ApiQueryBacklinksProp along with the newly-added prop modules.
14615 * The following methods have been deprecated and may be removed in a future
14616   release:
14617   * ApiBase::getResultProperties
14618   * ApiBase::getFinalResultProperties
14619   * ApiBase::addTokenProperties
14620   * ApiBase::getRequireOnlyOneParameterErrorMessages
14621   * ApiBase::getRequireMaxOneParameterErrorMessages
14622   * ApiBase::getRequireAtLeastOneParameterErrorMessages
14623   * ApiBase::getTitleOrPageIdErrorMessage
14624   * ApiBase::getPossibleErrors
14625   * ApiBase::getFinalPossibleErrors
14626   * ApiBase::parseErrors
14627   * ApiQuery::setGeneratorContinue
14628   * ApiQueryBase::checkRowCount
14629   * ApiQueryBase::titleToKey
14630   * ApiQueryBase::keyToTitle
14631   * ApiQueryBase::keyPartToTitle
14632   * ApiQueryInfo::getTokenFunctions
14633   * ApiQueryInfo::resetTokenCache
14634   * ApiQueryInfo::getEditToken
14635   * ApiQueryInfo::getDeleteToken
14636   * ApiQueryInfo::getProtectToken
14637   * ApiQueryInfo::getMoveToken
14638   * ApiQueryInfo::getBlockToken
14639   * ApiQueryInfo::getUnblockToken
14640   * ApiQueryInfo::getEmailToken
14641   * ApiQueryInfo::getImportToken
14642   * ApiQueryInfo::getWatchToken
14643   * ApiQueryInfo::getOptionsToken
14644   * ApiQueryRecentChanges::getTokenFunctions
14645   * ApiQueryRecentChanges::getPatrolToken
14646   * ApiQueryRevisions::getTokenFunctions
14647   * ApiQueryRevisions::getRollbackToken
14648   * ApiQueryUsers::getTokenFunctions
14649   * ApiQueryUsers::getUserrightsToken
14650 * The following classes have been deprecated and may be removed in a future
14651   release:
14652   * ApiFormatDbg
14653   * ApiFormatDump
14654   * ApiFormatTxt
14655   * ApiFormatWddx
14656   * ApiFormatYaml
14657   * ApiTokens
14658 * The following class constants have been deprecated and may be removed in a
14659   future release:
14660   * ApiBase::PROP_ROOT
14661   * ApiBase::PROP_LIST
14662   * ApiBase::PROP_TYPE
14663   * ApiBase::PROP_NULLABLE
14665 === Languages updated in 1.24 ===
14667 MediaWiki supports over 350 languages. Many localisations are updated
14668 regularly. Below only new and removed languages are listed, as well as
14669 changes to languages because of Bugzilla reports.
14671 === Other changes in 1.24 ===
14672 * The deprecated jquery.delayedBind ResourceLoader module was removed.
14673 * The deprecated function mw.util.toggleToc was removed.
14674 * The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend
14675   were removed as they were unused.
14676 * (bug 65477) User::pingLimiter() now has an additional profile point varying
14677   by action being used.
14678 * mediawiki.util.$content no longer supports old versions of the Vector,
14679   Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body"
14680   and/or "mw-body-primary" class name in their html.
14681 * Added pp_sortkey column to page_props table, so pages can be efficiently
14682   queried and sorted by property value (bug 58032).
14683   See $wgPagePropsHaveSortkey if you want to postpone the schema change.
14684 * BREAKING CHANGE: All four built-in MediaWiki skins (Vector, MonoBook, Modern
14685   and Cologne Blue) were moved out of MediaWiki core to their own respective
14686   repositories. They will be installed with the release tarball, but you must
14687   install them separately if installing MediaWiki from source code. A warning
14688   message displayed until you do it should guide you through the process. See
14689   also <https://www.mediawiki.org/wiki/Manual:Skin_configuration>.
14690 * BREAKING CHANGE: Skins built for MediaWiki 1.15 and earlier that do not use
14691   the "headelement" template key are no longer supported. Setting
14692   $useHeadElement = false; is no longer supported and will not cause old keys
14693   like "headlinks", "skinnameclass", etc. to be defined.
14694 * BREAKING CHANGE: The files commonElements.css, commonContent.css and
14695   commonInterface.css (in skins/common/) have been removed. Skins may no longer
14696   rely on their presence and include them in their style modules. ResourceLoader
14697   modules introduced in MediaWiki 1.23 should be loaded instead:
14698   - skins/common/commonElements.css  → 'mediawiki.skinning.elements' module
14699   - skins/common/commonContent.css   → 'mediawiki.skinning.content' module
14700   - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module
14701 * The deprecated 'SpecialVersionExtensionTypes' hook was removed.
14702 * (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages.
14703 * SpecialPage no longer supports the syntax for invoking wfSpecial*() functions.
14704   Special pages should subclass SpecialPage and implement the execute() method.
14705 * (bug 63755) The deprecated constants RC_MOVE and RC_MOVE_OVER_REDIRECT were
14706   removed.
14707 * Special:MostLinkedTemplates has been renamed to Special:MostTranscludedPages.
14708 * The skin autodiscovery mechanism has been deprecated and will be removed in
14709   MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
14710   for migration guide for creators and users of custom skins that relied on it.
14711 * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all
14712   skin style files used by the module.
14713 * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19)
14714 * Removed setLang() from subclasses of IContextSource. (deprecated since 1.19)
14715 * Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20)
14716 * Removed info(), purge(), revert() and rollback() from the Article class; they
14717   have since become subclasses of the Action class. (deprecated since 1.19)
14718 * SearchEngineReplacePrefixesComplete hook was removed.
14719 * The "jquery.json" module has been deprecated. Use the "json" module instead.
14720 * Removed HTMLForm::addJS(). (deprecated since 1.18)
14721 * Removed LogEventsList::showHeader(). (deprecated since 1.19)
14722 * Removed ImageGalleryBase::useSkin(). (deprecated since 1.18)
14723 * Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19)
14724 * Removed LoadBalancer::closeConnecton(). (deprecated since 1.18)
14725 * Removed ApiBase::createContext(). (deprecated since 1.19)
14726 * BREAKING CHANGE: The undocumented Special{$this->getName()}BeforeFormDisplay
14727   set of hooks has been removed and replaced by a single new hook
14728   SpecialPageBeforeFormDisplay.
14729 * (bug 65781) Removed block warning on included {{Special:Contributions}}
14730 * Removed Skin::makeGlobalVariablesScript(). (deprecated since 1.19)
14731 * Removed MWNamespace::isMain(). (deprecated since 1.19)
14732 * Removed Preferences::loadOldSearchNs(). (deprecated since 1.19)
14733 * Removed OutputPage::getStatusMessage(). (deprecated since 1.18)
14734 * Removed OutputPage::isUserJsAllowed(). (deprecated since 1.18)
14735 * Removed Title::updateTitleProtection(). (deprecated since 1.19)
14736 * Removed ParserOptions::setSkin(). (deprecated since 1.19)
14737 * Removed Title::escapeCanonicalURL(). (deprecated since 1.19)
14738 * Removed Title::escapeLocalURL(). (deprecated since 1.19)
14739 * Removed Title::escapeFullURL(). (deprecated since 1.19)
14740 * Removed User::isValidEmailAddr(). (deprecated since 1.18)
14741 * Removed Title::getEscapedText(). (deprecated since 1.19)
14742 * Removed Language::getFallbackLanguageCode(). (deprecated since 1.19)
14743 * Removed WikiPage::isBigDeletion(). (deprecated since 1.19)
14744 * Removed MWInit class which contained functions related to a now discontinued
14745   PHP compiler called hphpc. (deprecated since 1.22)
14746 * ApiResult::enableSizeCheck() and disableSizeCheck() are now obsolete.
14747 * Removed ResourceLoaderGetStartupModules hook. (deprecated since 1.23)
14748 * Removed getFormFields(), onSubmit() and onSuccess() from FormlessAction, as
14749   these were meant specifically for FormAction instead.
14750 * Removed Action::execute().
14751 * Removed AjaxAddScript which has been obsolete since ResourceLoader and
14752   is unused by any modern extension.
14753 * Removed maintenance/nextJobDB.php; no longer in use.
14754 * Removed global function wfViewPrevNext(). (deprecated since 1.19)
14755 * Removed global function xmlsafe() from Export.php. (moved to OAIRepo
14756   extension)
14757 * Removed Title::userCanRead(). (deprecated since 1.19)
14758 * Removed maintenance script importTextFile.php. Use edit.php script instead.
14759 * A _from_namespace field has been added to the templatelinks, pagelinks,
14760   and filelinks tables. Run update.php to apply this change to the schema.
14761 * Removed File::sha1Base36(). (deprecated since 1.19)
14762 * Removed File::getPropsFromPath(). (deprecated since 1.19)
14763 * Removed functions blockedPage(), noCreatePermission(), readOnlyPage() and
14764   userNotLoggedInPage() from EditPage.php. (deprecated since 1.19)
14765 * Removed functions getContent(), getPreloadedText(), mergeChangesInto() and
14766   setPreloadedText() from EditPage.php. (deprecated since 1.21)
14767 * Removed global functions wfArrayLookup(), wfArrayMerge(),
14768   wfDebugDieBacktrace() and wfTime(). (deprecated since 1.22)
14769 * Browser support for Internet Explorer 6 and 7 lowered from Grade A to Grade C,
14770   meaning that JavaScript is no longer executed in these browser versions.
14771 * Browser support for Opera 11 lowered from Grade A to Grade C.
14772 * Removed IEFixes module which existed purely to provide support for MSIE
14773   versions below 7 (conditionally loaded only for those browsers).
14774 * Deprecated SpecialPageFactory::getList() in favor of
14775   SpecialPageFactory::getNames()
14776 * Action::checkCanExecute() no longer has a return value.
14777 * Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP()
14778   and sendToUDP() from RecentChange.php. (deprecated since 1.22)
14779 * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow().
14780 * Removed Xml::namespaceSelector(). (deprecated since 1.19)
14781 * Removed WikiPage::estimateRevisionCount(). (deprecated since 1.19)
14782 * MYSQL: Enum item added to "major MIME type" columns.
14783   Running update.php on MySQL < v5.1 may result in heavy processing.
14784 * RSS and Atom feeds generated by MediaWiki no longer include a fallback
14785   stylesheet. It was ignored by most browsers these days anyway.
14786 * SpecialSearchNoResults hook has been removed. SpecialSearchResults is now
14787   called unconditionally.
14788 * TablePager::getBody() is now 'final' and can't be overridden in subclasses.
14789 * TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
14790 * Added $outputPage parameter to the SkinTemplateGetLanguageLink hook.
14791 * log_page for move log entries store the original page ID, rather than that
14792   of the new redirect page. This is not retroactive.
14793 * LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to
14794   use this store class.
14795 * Html::infoBox() no longer accepts paths relative to skins/common/images/.
14796 * Deprecated defunct Skin::getCommonStylePath().
14797 * Some extensions had their ResourceLoader modules depend on the "mediawiki"
14798   and "jquery" modules. In the past, this behavior was undefined, now it will
14799   throw an error.
14800 * Removed BagOStuff::replace(). (deprecated since 1.23)
14801 * In Linker.php, link(), linkText() and makeBrokenImageLinkObj() now display
14802   warnings if their first parameter is not a Title object. Also makeImageLink()
14803   now requires a Parser as its first parameter.
14804 * (bug 67368) LESS functions embed() and embeddable(), added in MediaWiki 1.23
14805   and broken by design, have been removed. Use appropriate LESS mixins instead.
14806 * Removed cssjanus.py from maintenance directory as it was unused.
14807 * Removed maintenance/purgeOldText.inc and the PurgeRedundantText() function
14808   it contained (superseded by Maintenance::purgeRedundantText() in 1.16).
14809   The purgeOldText.php maintenance script has been retained.
14810 * PHPUnit tests can be found by directory discovery, by adding the directory
14811   path from your UnitTestsList callback. Older versions of MediaWiki core will
14812   barf at this usage.
14814 ==== Renamed classes ====
14815 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
14816 * CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment
14817 * CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator
14818 * CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange
14819 * CSSJanus_Tokenizer to CSSJanusTokenizer
14820 * MediaWiki_I18N to MediaWikiI18N
14821 * Parser_DiffTest to ParserDiffTest
14822 * RevDel_ArchiveItem to RevDelArchiveItem
14823 * RevDel_ArchiveList to RevDelArchiveList
14824 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
14825 * RevDel_ArchivedFileList to RevDelArchivedFileList
14826 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
14827 * RevDel_FileItem to RevDelFileItem
14828 * RevDel_FileList to RevDelFileList
14829 * RevDel_Item to RevDelItem
14830 * RevDel_List to RevDelList
14831 * RevDel_LogItem to RevDelLogItem
14832 * RevDel_LogList to RevDelLogList
14833 * RevDel_RevisionItem to RevDelRevisionItem
14834 * RevDel_RevisionList to RevDelRevisionList
14835 * WebInstaller_Complete to WebInstallerComplete
14836 * WebInstaller_Copying to WebInstallerCopying
14837 * WebInstaller_DBConnect to WebInstallerDBConnect
14838 * WebInstaller_DBSettings to WebInstallerDBSettings
14839 * WebInstaller_Document to WebInstallerDocument
14840 * WebInstaller_ExistingWiki to WebInstallerExistingWiki
14841 * WebInstaller_Install to WebInstallerInstall
14842 * WebInstaller_Language to WebInstallerLanguage
14843 * WebInstaller_Name to WebInstallerName
14844 * WebInstaller_Options to WebInstallerOptions
14845 * WebInstaller_Readme to WebInstallerReadme
14846 * WebInstaller_ReleaseNotes to WebInstallerReleaseNotes
14847 * WebInstaller_Restart to WebInstallerRestart
14848 * WebInstaller_Upgrade to WebInstallerUpgrade
14849 * WebInstaller_UpgradeDoc to WebInstallerUpgradeDoc
14850 * WebInstaller_Welcome to WebInstallerWelcome
14852 ==== Removed classes ====
14853 * IPBlockForm - Use SpecialBlock directly
14854 * WatchlistEditor - Use SpecialEditWatchlist directly
14855 * FormatExif - Use FormatMetadata directly
14856 * RevertFileAction - Use RevertAction directly
14857 * HistoryPage - Use HistoryAction directly
14858 * RawPage - Use RawAction directly
14859 * StubContLang - Use Language::factory() instead
14860 * XMLReader2 - Use XMLReader directly
14861 * ResourceLoaderLESSFunctions - No longer in use, not intended for public usage
14863 ==== Removed files ====
14864 The skins/common/ directory, previously containing some assets intended to be
14865 used by skins and a number of legacy styles and scripts, has been removed. Its
14866 contents have been deleted or relocated into the resources/ directory. Full list
14867 of files that are no longer available follows.
14869 * skins/common/ajax.js
14870 * skins/common/commonContent.css
14871 * skins/common/commonElements.css
14872 * skins/common/commonInterface.css
14873 * skins/common/commonPrint.css
14874 * skins/common/config-cc.css
14875 * skins/common/config.css
14876 * skins/common/config.js
14877 * skins/common/feed.css
14878 * skins/common/IEFixes.js
14879 * skins/common/oldshared.css
14880 * skins/common/protect.js
14881 * skins/common/shared.css
14882 * skins/common/upload.js
14883 * skins/common/wikibits.js
14884 * skins/common/images/add.png
14885 * skins/common/images/ajax-loader.gif
14886 * skins/common/images/arrow_disabled_first_25.png
14887 * skins/common/images/arrow_disabled_last_25.png
14888 * skins/common/images/arrow_disabled_left_25.png
14889 * skins/common/images/arrow_disabled_right_25.png
14890 * skins/common/images/arrow_first_25.png
14891 * skins/common/images/arrow_last_25.png
14892 * skins/common/images/arrow_left_25.png
14893 * skins/common/images/arrow_right_25.png
14894 * skins/common/images/Arr_.png
14895 * skins/common/images/Arr_d.png
14896 * skins/common/images/Arr_l.png
14897 * skins/common/images/Arr_r.png
14898 * skins/common/images/Arr_u.png
14899 * skins/common/images/bullet.gif
14900 * skins/common/images/button_bold.png
14901 * skins/common/images/button_extlink.png
14902 * skins/common/images/button_headline.png
14903 * skins/common/images/button_hr.png
14904 * skins/common/images/button_image.png
14905 * skins/common/images/button_italic.png
14906 * skins/common/images/button_link.png
14907 * skins/common/images/button_media.png
14908 * skins/common/images/button_nowiki.png
14909 * skins/common/images/button_sig.png
14910 * skins/common/images/button_template.png
14911 * skins/common/images/cc-0.png
14912 * skins/common/images/cc-by-nc-sa.png
14913 * skins/common/images/cc-by-sa.png
14914 * skins/common/images/cc-by.png
14915 * skins/common/images/Checker-16x16.png
14916 * skins/common/images/closewindow.png
14917 * skins/common/images/closewindow19x19.png
14918 * skins/common/images/critical-32.png
14919 * skins/common/images/diffunderline.gif
14920 * skins/common/images/download-32.png
14921 * skins/common/images/feed-icon.png
14922 * skins/common/images/feed-icon.svg
14923 * skins/common/images/gnu-fdl.png
14924 * skins/common/images/help-question-hover.gif
14925 * skins/common/images/help-question.gif
14926 * skins/common/images/info-32.png
14927 * skins/common/images/link_icon.gif
14928 * skins/common/images/magnify-clip-rtl.png
14929 * skins/common/images/magnify-clip.png
14930 * skins/common/images/mediawiki.png
14931 * skins/common/images/nextredirectltr.png
14932 * skins/common/images/nextredirectrtl.png
14933 * skins/common/images/poweredby_mediawiki_88x31.png
14934 * skins/common/images/public-domain.png
14935 * skins/common/images/question-small.png
14936 * skins/common/images/question.svg
14937 * skins/common/images/redirectltr.png
14938 * skins/common/images/redirectrtl.png
14939 * skins/common/images/remove.png
14940 * skins/common/images/spinner.gif
14941 * skins/common/images/tick-32.png
14942 * skins/common/images/tipsy-arrow.gif
14943 * skins/common/images/tooltip_icon.png
14944 * skins/common/images/warning-32.png
14945 * skins/common/images/wiki.png
14946 * skins/common/images/Zoom_sans.gif
14947 * skins/common/images/ar/button_bold.png
14948 * skins/common/images/ar/button_headline.png
14949 * skins/common/images/ar/button_italic.png
14950 * skins/common/images/ar/button_link.png
14951 * skins/common/images/ar/button_nowiki.png
14952 * skins/common/images/be-tarask/button_bold.png
14953 * skins/common/images/be-tarask/button_italic.png
14954 * skins/common/images/be-tarask/button_link.png
14955 * skins/common/images/cyrl/button_bold.png
14956 * skins/common/images/cyrl/button_italic.png
14957 * skins/common/images/cyrl/button_link.png
14958 * skins/common/images/de/button_bold.png
14959 * skins/common/images/de/button_italic.png
14960 * skins/common/images/fa/button_bold.png
14961 * skins/common/images/fa/button_headline.png
14962 * skins/common/images/fa/button_italic.png
14963 * skins/common/images/fa/button_link.png
14964 * skins/common/images/fa/button_nowiki.png
14965 * skins/common/images/icons/fileicon-c.png
14966 * skins/common/images/icons/fileicon-cpp.png
14967 * skins/common/images/icons/fileicon-deb.png
14968 * skins/common/images/icons/fileicon-djvu.png
14969 * skins/common/images/icons/fileicon-djvu.xcf
14970 * skins/common/images/icons/fileicon-dvi.png
14971 * skins/common/images/icons/fileicon-exe.png
14972 * skins/common/images/icons/fileicon-h.png
14973 * skins/common/images/icons/fileicon-html.png
14974 * skins/common/images/icons/fileicon-iso.png
14975 * skins/common/images/icons/fileicon-java.png
14976 * skins/common/images/icons/fileicon-mid.png
14977 * skins/common/images/icons/fileicon-mov.png
14978 * skins/common/images/icons/fileicon-o.png
14979 * skins/common/images/icons/fileicon-ogg.png
14980 * skins/common/images/icons/fileicon-ogg.xcf
14981 * skins/common/images/icons/fileicon-pdf.png
14982 * skins/common/images/icons/fileicon-ps.png
14983 * skins/common/images/icons/fileicon-psd.png
14984 * skins/common/images/icons/fileicon-rm.png
14985 * skins/common/images/icons/fileicon-rpm.png
14986 * skins/common/images/icons/fileicon-svg.png
14987 * skins/common/images/icons/fileicon-tar.png
14988 * skins/common/images/icons/fileicon-tex.png
14989 * skins/common/images/icons/fileicon-ttf.png
14990 * skins/common/images/icons/fileicon-txt.png
14991 * skins/common/images/icons/fileicon.png
14992 * skins/common/images/ksh/button_S_italic.png
14994 = MediaWiki 1.23 =
14996 == MediaWiki 1.23.17 ==
14998 === Changes since 1.23.16 === <!--T:69-->
14999 * Fix syntax errors introduced in 1.23.16 when running PHP 5.3.
15001 == MediaWiki 1.23.16 ==
15002 This is a security and maintenance release of the MediaWiki 1.23 branch.
15004 === Changes since 1.23.15 ===
15005 * (T68404) CSS3 attr() function with url type is no longer allowed
15006   in inline styles.
15007 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
15008 * Submitting the lgtoken and lgpassword parameters in the query string to
15009   action=login is now deprecated and outputs a warning. They should be submitted
15010   in the POST body instead.
15011 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
15012   redirect to interwiki links.
15013 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
15014   $wgAdvancedSearchHighlighting is true.
15015 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
15016   their values out of the logs.
15017 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
15018   CSRF token.
15019 * (T156184) SECURITY: Escape content model/format url parameter in message.
15020 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
15021   declaration.
15022 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
15023   inclusion syntax's link parameter.
15024 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
15025   against it.
15027 == MediaWiki 1.23.15 ==
15029 This is a maintenance release of the MediaWiki 1.23 branch.
15031 === Changes since 1.23.14 ===
15032 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
15033   made by MediaWiki via a proxy. Relying on the http_proxy environment
15034   variable is no longer supported.
15035 * (T139565) SECURITY: API: Generate head items in the context of the given title
15036 * (T137264) SECURITY: XSS in unclosed internal links
15037 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
15038 * (T133147) SECURITY: Require login to preview user CSS pages
15039 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
15040   the top file
15041 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
15042   permissions
15043 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
15044 * (T115333) SECURITY: Check read permission when loading page content in
15045   ApiParse
15046 * Remove support for $wgWellFormedXml = false, all output is now well formed
15048 == MediaWiki 1.23.13 ==
15050 This is a maintenance release of the MediaWiki 1.23 branch.
15052 === Changes since 1.23.12 ===
15053 * (T121892) Fix fatal errors on some Special pages, introduced in 1.23.12.
15055 == MediaWiki 1.23.12 ==
15057 This is a security and maintenance release of the MediaWiki 1.23 branch.
15059 === Changes since 1.23.11 ===
15060 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
15061   that do not begin with a slash. This enabled trivial XSS attacks.
15062   Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
15063   "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
15064   error.
15065 * (T119309) SECURITY: Use hash_compare() for edit token comparison
15066 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
15067   with '@' as file uploads
15068 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
15069   longer be shorter than $wgMinimalPasswordLength
15070 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
15071   result in improper blocks being issued
15072 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
15073   and related pages no longer use HTTP redirects and are now redirected by
15074   MediaWiki
15076 == MediaWiki 1.23.11 ==
15078 This is a security and maintenance release of the MediaWiki 1.23 branch.
15080 === Changes since 1.23.10 ===
15082 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
15083 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
15084 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
15086 == MediaWiki 1.23.10 ==
15088 This is a security and maintenance release of the MediaWiki 1.23 branch.
15090 === Changes since 1.23.9 ===
15092 * (T94116) SECURITY: Compare API watchlist token in constant time
15093 * (T97391) SECURITY: Escape error message strings in thumb.php
15094 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
15095   Special:DeletedContributions
15096 * (bug 67644) Make AutoLoaderTest handle namespaces
15097 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
15098 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
15099   policy of Wikimedia Commons.
15101 == MediaWiki 1.23.9 ==
15103 This is a security and maintenance release of the MediaWiki 1.23 branch.
15105 === Changes since 1.23.8 ===
15107 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
15108   to prevent various DoS attacks.
15109 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
15110   likelihood of DoS.
15111 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
15112 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
15113 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
15114 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
15115   prevent XSS and protect viewer's privacy.
15116 * (bug T68650) Fix indexing of moved pages with PostgreSQL. Requires running
15117   update.php to fix.
15118 * (bug T70087) Fix Special:ActiveUsers page for installations using
15119   PostgreSQL.
15121 == MediaWiki 1.23.8 ==
15123 This is a security and maintenance release of the MediaWiki 1.23 branch.
15125 === Changes since 1.23.7 ===
15127 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
15128   could lead to xss. Permission to edit MediaWiki namespace is required to
15129   exploit this.
15130 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
15131   $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
15132   part of its name.
15133 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
15135 == MediaWiki 1.23.7 ==
15137 This is a security and maintenance release of the MediaWiki 1.23 branch.
15139 === Changes since 1.23.6 ===
15141 * (bugs 66776, 71478) SECURITY:  User PleaseStand reported a way to inject code
15142   into API clients that used format=php to process pages that underwent flash
15143   policy mangling. This was fixed along with improving how the mangling was done
15144   for format=json, and allowing sites to disable the mangling using
15145   $wgMangleFlashPolicy.
15146 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
15147   the content model for a page could allow an unprivileged attacker to edit
15148   another user's common.js under certain circumstances. The user right
15149   "editcontentmodel" was added, and is needed to change a revision's content
15150   model.
15151 * (bug 71111) SECURITY: User PleaseStand reported that on wikis that allow raw
15152   HTML, it is not safe to preview wikitext coming from an untrusted source such
15153   as a cross-site request. Thus add an edit token to the form, and when raw HTML
15154   is allowed, ensure the token is provided before showing the preview. This
15155   check is not performed on wikis that both allow raw HTML and anonymous
15156   editing, since there are easier ways to exploit that scenario.
15157 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
15158   DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
15159   public RFC about the desired functionality. This issue was reported by user
15160   Bawolff.
15161 * (bug 71621) Make allowing site-wide styles on restricted special pages a
15162   config option.
15163 * (bug 42723) Added updated version history from 1.19.2 to 1.22.13
15164 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
15165   might be a flash policy directive configurable.
15167 == MediaWiki 1.23.6 ==
15169 This is a maintenance release of the MediaWiki 1.23 branch.
15171 === Changes since 1.23.5 ===
15172 * (Bug 72274) Job queue not running (HTTP 411) due to missing
15173   Content-Length: header
15174 * (Bug 67440) Allow classes to be registered properly from installer
15176 == MediaWiki 1.23.5 ==
15178 This is a security release of the MediaWiki 1.23 branch.
15180 === Changes since 1.23.4 ===
15181 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
15182   allowance.
15184 == MediaWiki 1.23.4 ==
15186 This is a security and maintenance release of the MediaWiki 1.23 branch.
15188 === Changes since 1.23.3 ===
15190 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
15191   elements; normalize style elements and attributes before filtering; add
15192   checks for attributes that contain css; add unit tests for html5sec and
15193   reported bugs.
15194 * (bug 65998) Make MySQLi work with non-standard socket.
15195 * (bug 66986) GlobalVarConfig shouldn't throw exceptions for null-valued config
15196   settings.
15198 == MediaWiki 1.23.3 ==
15200 This is a maintenance release of the MediaWiki 1.23 branch.
15202 === Changes since 1.23.2 ===
15204 * (bug 68501) Correctly handle incorrect namespace in cleanupTitles.php.
15205 * (bug 64970) Fix support for blobs on DatabaseOracle::update.
15206 * (bug 66574) Display MediaWiki:Loginprompt on the login page.
15207 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
15208 * (bug 60629) Handle invalid language code gracefully in
15209   Language::fetchLanguageNames.
15210 * (bug 62017) Restore the number of rows shown on Special:Watchlist.
15211 * Check for boolean false result from database query in SqlBagOStuff.
15213 == MediaWiki 1.23.2 ==
15215 This is a security and maintenance release of the MediaWiki 1.23 branch.
15217 === Changes since 1.23.1 ===
15219 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
15220 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
15221   for loading a new page in Javascript,instead of relying on the URL in the link
15222   that has been clicked.
15223 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
15224   ParserOutput.
15225 * (bug 68313) Preferences: Turn stubthreshold back into a combo box.
15226 * (bug 65214) Fix initSiteStats.php maintenance script.
15227 * (bug 67594) Special:ActiveUsers: Fix to work with PostgreSQL.
15229 == MediaWiki 1.23.1 ==
15231 This is a security and maintenance release of the MediaWiki 1.23 branch.
15233 === Changes since 1.23.0 ===
15235 * (bug 65839) SECURITY: Prevent external resources in SVG files.
15236 * (bug 67025) Special:Watchlist: Don't try to render empty row.
15237 * (bug 66922) Don't allow some E_NOTICE messages to end up in the
15238   LocalSettings.php.
15239 * (bug 66467) FileBackend: Avoid using popen() when "parallelize" is disabled.
15240 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects
15241   like only extracting the tail of the file partially or not at all.
15242 * (bug 66182) Removed -x flag on some php files.
15244 == MediaWiki 1.23.0 ==
15246 === Configuration changes in 1.23 ===
15247 * (bug 13250) Restored method for clearing a watchlist in web UI
15248   so that users with large watchlists don't have to perform
15249   contortions to clear them.
15250 * When $wgJobRunRate is higher than zero, jobs are now executed via an
15251   asynchronous HTTP request to a MediaWiki entry point. This may require
15252   increasing the number of server worker threads. $wgRunJobsAsync has been
15253   added to disable this feature if needed, falling back to executing the job
15254   on the same process but making the execution synchronously.
15255 * $wgDebugLogGroups values may be set to an associative array with a
15256   'destination' key specifying the log destination. The array may also contain
15257   a 'sample' key with a positive integer value N indicating that the log group
15258   should be sampled by dispatching one in every N messages on average. The
15259   sampling is random.
15260 * In addition to the current exception log format, MediaWiki now serializes
15261   exception metadata to JSON and logs it to the 'exception-json' log group.
15262   This makes MediaWiki easier to integrate with log aggregation and analysis
15263   tools.
15264 * $wgSquidServersNoPurge now supports the use of Classless Inter-Domain
15265   Routing (CIDR) notation to specify contiguous blocks of IPv4 and/or IPv6
15266   addresses that should be trusted to provide X-Forwarded-For headers.
15267 * Preferences 'watchcreations', 'watchdefault', 'enotifwatchlistpages' ("Add
15268   pages I create and files I upload to my watchlist", "Add pages and files I
15269   edit to my watchlist", "Email me when a page or file on my watchlist is
15270   changed") are now enabled by default. In addition new user accounts' personal
15271   and talk pages are now watched by them by default.
15272 * $wgLBFactoryConf: Class names have had underscores removed. The configuration
15273   should be updated if LBFactory_Simple or LBFactory_Multi is configured.
15274 * $wgPasswordSenderName has been removed and is no longer functional. To set a
15275   custom mailer name, the system message 'emailsender' should be modified
15276   (default: "{{SITENAME}}").
15277 * (bug 63269) Email notifications were not correctly handling the
15278   [[MediaWiki:Helppage]] message being set to a full URL (the default).
15279   If you customized [[MediaWiki:Enotif body]] (the text of email notifications),
15280   you'll need to edit it locally to include the URL via the new variable
15281   $HELPPAGE instead of the parser functions fullurl and canonicalurl; otherwise
15282   you don't have to do anything.
15283 * $wgDBAhandler was removed as the only class using it was also removed
15284 * The 'max threads' setting was removed from $wgDBservers.
15285 * Support for AdminSettings.php has been completely removed. All configuration
15286   belongs in LocalSettings.php.
15287 * $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
15288   now formally deprecated.
15289 * Removed deprecated $wgDisabledActions as it is hardly used anywhere.
15290 * $wgRateLimitLog has been deprecated and replaced by
15291   $wgDebugLogGroup['ratelimit'].
15292 * $wgLocalInterwikis is an array containing multiple local interwiki prefixes
15293   (interwiki prefixes that point back to the current wiki). This effectively
15294   allows more than one value of $wgLocalInterwiki to be specified and
15295   understood by the parser. The value of $wgLocalInterwiki is automatically
15296   prepended to the start of this array.
15297 * $wgQueryPages has been removed. Query Pages should be added to by using the
15298   wgQueryPages hook.
15299 * $wgHttpOnlyBlacklist has been removed.
15300 * $wgLicenseTerms has been removed as it was unused.
15301 * $wgProfileOnly is now deprecated; set the log file in
15302   $wgDebugLogGroups['profileoutput'] to replace it.
15303 * $wgMaxBacklinksInvalidate was removed; use $wgJobBackoffThrottling instead
15304 * Deprecated ResourceLoaderGetStartupModules hook.
15306 === New features in 1.23 ===
15307 * ResourceLoader can utilize the Web Storage API to cache modules client-side.
15308   Compared to the browser cache, caching in Web Storage allows ResourceLoader
15309   to be more granular about evicting stale modules from the cache while
15310   retaining the ability to retrieve multiple modules in a single HTTP request.
15311   This capability can be enabled by setting $wgResourceLoaderStorageEnabled to
15312   true. This feature is currently considered experimental and should only be
15313   enabled with care.
15314 * (bug 6092) Add expensive parser functions {{REVISIONID:}}, {{REVISIONUSER:}}
15315   and {{REVISIONTIMESTAMP:}} (with friends).
15316 * Add "wgRelevantUserName" to mw.config containing the current
15317   Skin::getRelevantUser value.
15318 * (bug 56033) Add content model to the page information.
15319 * Added Article::MissingArticleConditions hook to give extensions a chance to
15320   hide their (unrelated) log entries.
15321 * Added LonelyPagesQuery hook to let extensions modify the query used to
15322   generate Special:LonelyPages.
15323 * Added $wgOpenSearchDefaultLimit defining the default number of entries to show
15324   on action=opensearch API call.
15325 * For namespaces with $wgNamespaceProtection (including the MediaWiki
15326   namespace), the "protect" tab will be shown only if there are restriction
15327   levels available that would restrict editing beyond what
15328   $wgNamespaceProtection already applies. The protection form will offer only
15329   those protection levels.
15330 * Added $wgAPIFormatModules, allowing extensions to add additional output
15331   formatting modules for the API.
15332 * (bug 47812) The MediaWiki:Group-user.{css,js} pages can now be used to add
15333   custom CSS or JavaScript enabled only for registered users.
15334 * (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist
15335   now include a legend describing the symbols used in lists of changes.
15336 * Improved the accessibility of the tabs in Special:Preferences.
15337 * Added ApiBeforeMain hook, roughly equivalent to the BeforeInitialize hook:
15338   it's called after everything is set up but before any major processing
15339   happens.
15340 * The jquery.client module now performs a component-wise version comparison in
15341   its #test method when strings are used in the browser map: version '1.10' is
15342   now correctly considered larger than '1.2'. Using numbers in the version map
15343   is not affected.
15344 * All API modules now support an assert parameter, which can either be
15345   'user' or 'bot'. The API will throw an error if the user is not logged
15346   in (user) or does not have the 'bot' userright (bot). Based off of the
15347   AssertEdit extension by Steve Sanbeg.
15348 * [[Special:Diff]] was added, allowing users to create internal links to
15349   revision comparison pages using syntax such as [[Special:Diff/12345]],
15350   [[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]].
15351 * New user accounts' personal and talk pages are now watched by them by default.
15352 * Added SkinTemplateGetLanguageLink hook to allow changing the html of language
15353   links.
15354 * Added MessageCache::get hook as a new way to customize messages across
15355   multiple sites.
15356 * Added jquery.throttle-debounce ResourceLoader module to limit the number of
15357   callbacks for frequently occurring events.
15358 * Special:ProtectedPages shows now a table. The timestamp, the reason and
15359   the protecting user are also shown.
15360 * Added experimental support for using Microsoft SQL Server as the database
15361   backend.
15362 ** Added new Microsoft SQL Server-specific configuration variable
15363    $wgDBWindowsAuthentication, which makes the web server authenticate against
15364    the database server using Integrated Windows Authentication instead of
15365    $wgDBuser/$wgDBpassword.
15366 * HTMLForm 'select', 'selectandother', 'selectorother', 'multiselect', and
15367   'radio' fields can now use message keys as labels via the 'options-messages'
15368   parameter, which overrides the 'options' parameter.
15369 * Admins can expire users passwords manually, or on a schedule using the
15370   $wgPasswordExpirationDays configuration setting.
15371 * Add new hook SendWatchlistEmailNotification, this will be used to determine
15372   whether to send a watchlist email notification.
15373 * (bug 42026) Special:Contributions now includes an option to filter page
15374   creations, similar to the topOnly option.
15375 * Add mediawiki.ui.button styling to all pages so wiki content can use styled
15376   buttons.
15377 * Special:UserLogin/signup now does AJAX checks for invalid and taken usernames,
15378   displaying the error live.
15379 * Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in
15380   skins.
15381 * Support has been added for a JSON based localisation file format. The
15382   installer has been updated to use it.
15383 * Changes to content typography (colors, line-height etc.). See
15384   https://www.mediawiki.org/wiki/Typography_refresh for further information.
15385 * The Vector skin's visual treatment of external links has been simplified to a
15386   single icon (from nine). This should not affect local rules unless they were
15387   re-using these icons, which have now been deleted.
15388 * ResourceLoader: mw.loader.using() now implements a Promise interface.
15389 * Add new hook ChangesListInitRows accessed via
15390   ChangesList::initChangesListRows.
15391   If called by the ChangesList consumer this gives extensions a chance to batch
15392   process the result set prior to rendering.
15393 * A PoolCounterRedis class was added which can be make use of in
15394   $wgPoolCounterConf. This requires at least one Redis 2.6+ server.
15395 * $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB
15396   in StartProfiler.php instead of using this.
15397 * (bug 63444) Made it possible to change the indent string (default: 4 spaces)
15398   used by FormatJson::encode().
15400 === Bug fixes in 1.23 ===
15401 * (bug 41759) The "updated since last visit" markers (on history pages, recent
15402   changes and watchlist) and the talk page message indicator are now correctly
15403   updated when the user is viewing old revisions of pages, instead of always
15404   acting as if the latest revision was being viewed.
15405 * (bug 56443) Special:ConfirmEmail no longer shows a "Mail a confirmation code"
15406   when the email address is already confirmed. Also, consistently use
15407   "confirmed", rather than "authenticated", when messaging whether or not the
15408   user has confirmed an email address.
15409 * (bug 19415) action=render no longer shows section edit links. This affects
15410   behavior of several other features where (bogus) section edit links will
15411   disappear, such as file description pages loaded via $wgUseInstantCommons or
15412   pages transcluded cross-wiki via $wgEnableScaryTranscluding.
15413 * (bug 56912) Show correct link color on cached result of Special:DeadendPages.
15414 * Classes TitleListDependency and TitleDependency have been removed, as they
15415   have been found unused in core and extensions for a long time.
15416 * (bug 57098) SpecialPasswordReset now obeys returnto parameter
15417 * (bug 37812) ResourceLoader will notice when a module's definition changes and
15418   recompile it accordingly.
15419 * (bug 57201) SpecialRecentChangesFilters hook is now executed for feeds.
15420 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages
15421   to appear blank or with missing text.
15422 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format
15423   which is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as
15424   the JavaScript evaluator were updated to support the new format. Plural rules
15425   for some languages have changed, most notably Russian. Affected software
15426   messages have been updated and marked for review at translatewiki.net.
15427 * (bug 23542) imagelinks now stores both the redirect and target (as
15428   templatelinks does).
15429 * (bug 58167) The web installer no longer throws an exception when PHP is
15430   compiled without support for MySQL yet with support for another DBMS.
15431 * (bug 56199) Raw option of parser functions must now match complete word,
15432   to take effect.
15433 * (bug 60543) Special:PrefixIndex forgot stripprefix=1 for "Next page" link
15434 * (bug 29762) Undoing an already-undone edit will now display an appropriate
15435   message instead of leading the user to make a null edit.
15436 * (bug 52659) mediawiki.notification: Notification area remained visible when
15437   empty and thus was stealing pointer events from links on the page.
15438 * (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now
15439   hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace
15440   no longer applies in such cases.
15441 * (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause
15442   warnings to be printed on Windows due to large path length.
15443 * (bug 48084) Fixed a bug in the installer that could cause $wgLogo to hold
15444   the wrong path to the placeholder logo (skins/common/images/wiki.png).
15445 * (bug 64289) jquery.textSelection: Don't throw errors on empty collections.
15447 === Web API changes in 1.23 ===
15448 * (bug 54884) action=parse&prop=categories now indicates hidden and missing
15449   categories.
15450 * action=query&meta=filerepoinfo now returns additional information for each
15451   repo.
15452 * action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in
15453   MediaWiki 1.24.
15454 * action=parse now has disabletoc flag to disable table of contents in output.
15455 * (bug 25702) list=allcategories, list=allimages, list=alllinks, list=allpages,
15456   list=deletedrevs and list=filearchive did not handle case-sensitivity
15457   properly for all parameters.
15458 * ApiQueryBase::titlePartToKey allows an extra parameter that indicates the
15459   namespace in order to properly capitalize the title part.
15460 * (bug 57874) action=feedcontributions no longer has one item more than limit.
15461 * All API modules now support an assert parameter. See the new features section
15462   for more details.
15463 * Added prop=contributors to fetch the list of contributors to the page.
15464 * The following API modules will now return entries where fields have been
15465   revision-deleted: list=deletedrevs, list=filearchive, list=recentchanges,
15466   list=watchlist. "hidden" indicators will be included, in the same style as is
15467   already done for prop=revisions.
15468 * The following API modules will now return the content of revision-deleted
15469   fields, in addition to the "hidden" indicators, if the querying user has the
15470   necessary rights: list=logevents, list=usercontribs, prop=imageinfo,
15471   prop=revisions.
15472 * The above modules, where applicable, will now return entries filtered by
15473   revision-deleted fields if the querying user has the necessary rights. For
15474   example, prop=revisions with rvuser or rvexcludeuser will no longer skip
15475   revisions where the user was revision-deleted if the current user has the
15476   deletedhistory right.
15477 * The 'hideuser' right, used when blocking, is no longer necessary or
15478   sufficient for seeing contributions with revision-deleted in
15479   list=usercontribs.
15480 * list=watchlist now uses the querying user's rights rather than the wlowner's
15481   rights when checking whether wlprop=patrol is allowed.
15482 * (bug 32151) ApiWatch now has pageset capabilities (titles/pageids/generators).
15483   Title parameter is now deprecated.
15484 * (bug 23005) Added action=revisiondelete.
15485 * Added siprop=restrictions to API action=query&meta=siteinfo for querying
15486   possible page restriction (protection) levels and types.
15487 * Added prop 'limitreportdata' and 'limitreporthtml' to action=parse.
15488 * (bug 58627) Provide language names on action=parse&prop=langlinks.
15489 * Deprecated llurl= in favour of llprop=url for action=query&prop=langlinks.
15490 * Added llprop=langname and llprop=autonym for action=query&prop=langlinks.
15491 * prop=redirects is added, to return redirects to the pages in the query.
15492 * list=allredirects is added, to list all redirects pointing to a namespace.
15493 * (bug 42026) Added ucshow={new,!new,top,!top} to list=usercontribs.
15494   Also added newonly to action=feedcontributions.
15495 * (bug 42026) Deprecated uctoponly in favor of ucshow=top.
15496 * list=search no longer has a "srredirects" parameter. Redirects are now
15497   included in all searches.
15498 * Added list=prefixsearch that works like action=opensearch but can be used as
15499   a generator.
15500 * (bug 24782) Various modules will now use unique continuation parameters.
15501 * (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds.
15503 === Languages updated in 1.23 ===
15505 MediaWiki supports over 350 languages. Many localisations are updated
15506 regularly. Below only new and removed languages are listed, as well as
15507 changes to languages because of Bugzilla reports.
15509 * Support was added for Algerian Spoken Arabic (arq).
15510 * Support was added for Riograndenser Hunsrückisch (hrx).
15511 * Support was added for Northern Luri (lrc).
15513 === Other changes in 1.23 ===
15514 * The rc_type field in the recentchanges table has been superseded by a new
15515   rc_source field.  The rc_source field is a string representation of the
15516   change type where rc_type was a numeric constant.  This field is not yet
15517   queried but will be in a future release.
15518 ** Utilize update.php to create and populate this new field.  On larger wikis
15519    which do not wish to update recentchanges table in one large update please
15520    review the SQL and comments in maintenance/archives/patch-rc_source.sql.
15521 ** The rc_type field of recentchanges will be deprecated in a future release.
15522 * The global variable $wgArticle has been removed after a lengthy deprecation.
15523 * The global functions addButton and insertTags (for mw.toolbar.addButton and
15524   mw.toolbar.insertTags) now emits mw.log.warn when accessed.
15525 * The ExpandTemplates extension has been moved into MediaWiki core.
15526 * (bug 52812) Removed "Disable search suggestions" from Preference.
15527 * (bug 52809) Removed "Disable browser page caching" from Preference.
15528 * Three new modules intended for use by custom skins were added:
15529   'mediawiki.skinning.elements', 'mediawiki.skinning.content', and
15530   'mediawiki.skinning.interface', representing three levels of standard
15531   MediaWiki styling. Previously skin creators wishing to use them had to refer
15532   to the file names of appropriate files directly, which is now discouraged.
15533 * The modules 'skins.vector' and 'skins.monobook' have been renamed to
15534   'skins.vector.styles' and 'skins.monobook.styles', respectively,
15535   and their definition was changed not to include the common*.css files;
15536   the two skins now load the 'mediawiki.skinning.interface' module instead.
15537 * A page_links_updated field has been added to the page table.
15538 * SpecialPage::getTitle has been deprecated in favor of
15539   SpecialPage::getPageTitle.
15540 * BREAKING CHANGE: Two potentially backwards-incompatible changes have been made
15541   to the 'SpecialWatchlistQuery' hook's last parameter (array $values) to make
15542   the hook more consistent with the 'SpecialRecentChangesQuery' one:
15543 ** Several array keys have been renamed: hideMinor → hideminor,
15544    hideBots → hidebots, hideAnons → hideanons, hideLiu → hideliu,
15545    hidePatrolled → hidepatrolled, hideOwn → hidemyself.
15546 ** The parameter value is now a FormOptions object, not a plain array (array
15547    access operators should continue to work, as it implements the ArrayAccess
15548    interface).
15549 * Option to mark hooks as deprecated has been added.
15550 * (bug 52811) Preference "Enable section editing via [edit] links" was removed.
15551 * (bug 52813) Preference "Show table of contents (for pages with more than
15552   3 headings)" was removed.
15553 * (bug 52810) Preference "Justify paragraphs" was removed.
15554 * OutputPage::showErrorPage raises a notice if arguments are incoherent.
15555 * Thumbnails that keep failing to render in thumb.php will be rate-limited
15556   against further render attempts for 1 hour. $wgAttemptFailureEpoch can be
15557   altered to reset all rate-limited thumbnails at once.
15558 * (bug 56572) Builds of the OOjs and OOjs UI libraries are now available.
15559 * mw.loader.go and mw.loader.version have been removed.
15560 * (bug 52815) Preference "Enable simplified search bar (Vector skin only)"
15561   was removed.
15562 * A user_password_expires column has been added to the user table. The User
15563   object expects this column to exist. Use update.php to create this new field.
15564 * The jquery.delayedBind ResourceLoader module was deprecated in favor of the
15565   jquery.throttle-debounce module. It will be removed in MediaWiki 1.24.
15566 * mw.user.bucket has been deprecated.
15567 * On Special:PrefixIndex, a table#mw-prefixindex-list-table was changed to
15568   table.mw-prefixindex-list-table to avoid duplicate ids when the special page
15569   is transcluded.
15570 * (bug 62198) window.$j has been deprecated.
15571 * Preference "Disable link title conversion" was removed.
15572 * SpecialRecentChanges no longer includes any functionality for generating feeds
15573   - it has been factored out to ApiFeedRecentChanges. Old URLs redirect to new
15574   ones.
15575 * RecentChange::mExtra['lang'] is no longer set and should no longer be used.
15576   Extensions should read from other configuration variables, including
15577   $wgLocalInterwikis, to identify the current wiki.
15578 * Sections in the parser test framework have been renamed and the old
15579   section names are deprecated.  Please use "!!wikitext" and "!!html"
15580   (or "!!html/php") instead of "!!input" and "!!result".  This allows
15581   us to extend parser tests to accommodate additional input/output
15582   pairs, such as "!!html/parsoid" (for the output of the Parsoid
15583   parser, where it differs from the PHP parser).
15584 * Special:Search no longer has an "include redirects" option on the advanced
15585   tab. Redirects are now included in all searches.
15586 * mediawiki.api.category's getCategories() 'async' parameter was deprecated.
15587 * The locations of resources have been split between upstream libraries, now in
15588   resources/lib/, local libaries in resources/src/, and local forks of upstream
15589   libraries, also in resources/src/.
15590 * BREAKING CHANGE: The automatically-generated function closure with which
15591   ResourceLoader wraps all modules' JavaScript code now binds the identifier
15592   names 'jQuery' and '$' to the jQuery object of the version of jQuery that is
15593   bundled with MediaWiki. If you bind these names to other objects in global
15594   scope (like Zepto.js or document.querySelectorAll, for example) you will need
15595   to use different names to or re-bind them at the top of each
15596   ResourceLoader-loaded module.
15597 * (bug 52342) Preference "Remember my login" was removed.
15598 * The skin autodiscovery mechanism has been deprecated and will be removed in
15599   MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
15600   for migration guide for creators and users of custom skins that relied on it.
15602 ==== Removed classes ====
15603 * FakeMemCachedClient (deprecated in 1.18)
15604 * RdfMetaData (unused)
15605 * TitleDependency (unused)
15606 * TitleListDependency (unused)
15607 * WikiError (deprecated in 1.17)
15608 * WikiXmlError (deprecated in 1.17)
15609 * WikiErrorMsg (deprecated in 1.17)
15611 ==== Renamed classes ====
15612 * CdbReader_DBA to CdbReaderDBA
15613 * CdbReader_PHP to CdbReaderPHP
15614 * CdbWriter_DBA to CdbWriterDBA
15615 * CdbWriter_PHP to CdbWriterPHP
15616 * DiffOp_Add to DiffOpAdd
15617 * DiffOp_Change to DiffOpChange
15618 * DiffOp_Copy to DiffOpCopy
15619 * DiffOp_Delete to DiffOpDelete
15620 * HWLDF_WordAccumulator to HWLDFWordAccumulator
15621 * LBFactory_Fake to LBFactoryFake
15622 * LBFactory_Multi to LBFactoryMulti
15623 * LBFactory_Simple to LBFactorySimple
15624 * LBFactory_Single to LBFactorySingle
15625 * LCStore_Accel to LCStoreAccel
15626 * LCStore_CDB to LCStoreCDB
15627 * LCStore_DB to LCStoreDB
15628 * LCStore_Null to LCStoreNull
15629 * LoadBalancer_Single to LoadBalancerSingle
15630 * LoadMonitor_MySQL to LoadMonitorMySQL
15631 * LoadMonitor_Null to LoadMonitorNull
15632 * LocalisationCache_BulkLoad to LocalisationCacheBulkLoad
15633 * csvStatsOutput to CsvStatsOutput
15634 * extensionLanguages to ExtensionLanguages
15635 * languages to Languages
15636 * statsOutput to StatsOutput
15637 * textStatsOutput to TextStatsOutput
15638 * wikiStatsOutput to WikiStatsOutput
15640 ==== Removed methods ====
15641 * ApiBase::getValidNamespaces() (deprecated in 1.17)
15642 * ApiMain::setCachePrivate() (deprecated in 1.17)
15643 * ApiMain::setVaryCookie (deprecated in 1.17)
15644 * Article::doRedirect() (deprecated in 1.18)
15645 * Article::doUnwatch() (deprecated in 1.18)
15646 * Article::doWatch() (deprecated in 1.18)
15647 * Article::forUpdate() (deprecated in 1.18)
15648 * Article::markpatrolled() (deprecated in 1.18)
15649 * Article::unwatch() (deprecated in 1.18)
15650 * Article::watch() (deprecated in 1.18)
15651 * Block::clear() (deprecated in 1.18)
15652 * Block::decodeExpiry() (deprecated in 1.18)
15653 * Block::encodeExpiry() (deprecated in 1.18)
15654 * Block::forUpdate() (deprecated in 1.18)
15655 * Block::infinity() (deprecated in 1.18)
15656 * Block::load() (deprecated in 1.18)
15657 * Block::newFromDB() (deprecated in 1.18)
15658 * Block::normaliseRange() (deprecated in 1.18)
15659 * Block::parseExpiryInput() (deprecated in 1.18)
15660 * CategoryViewer::addSubcategory() (deprecated in 1.17)
15661 * EditPage::spamPage() (deprecated since 1.17)
15662 * Exif::getFormattedData() (deprecated in 1.18)
15663 * Exif::makeFormattedData() (deprecated in 1.18)
15664 * in_string (deprecated in 1.21)
15665 * Language::convertLinkToAllVariants() (deprecated in 1.17)
15666 * LanguageConverter::convertLinkToAllVariants() (deprecated in 1.17)
15667 * Linker::makeBrokenLink() (deprecated in 1.16)
15668 * Linker::makeBrokenLinkObj() (deprecated in 1.16)
15669 * Linker::makeColouredLinkObj() (deprecated in 1.16)
15670 * Linker::makeSizeLinkObj() (deprecated in 1.17)
15671 * MediaWiki::articleFromTitle() (deprecated in 1.18)
15672 * ParserOptions::getkin() (deprecated 1.18)
15673 * ProfilerSimple::getCpuTime (deprecated in 1.20)
15674 * Revision::revText() (deprecated in 1.17)
15675 * SkinTemplate::jstext() (deprecated in 1.21)
15676 * SpecialPage::__call() (deprecated in 1.17)
15677 * SpecialPage::executePath() (deprecated in 1.18)
15678 * SpecialPage::exists() (deprecated in 1.18)
15679 * SpecialPage::file() (deprecated in 1.18)
15680 * SpecialPage::func() (deprecated in 1.18)
15681 * SpecialPage::getGroup() (deprecated in 1.18)
15682 * SpecialPage::getPage() (deprecated in 1.18)
15683 * SpecialPage::getPageByAlias() (deprecated in 1.18)
15684 * SpecialPage::getLocalNameFor() (deprecated in 1.18)
15685 * SpecialPage::getRegularPages() (deprecated in 1.18)
15686 * SpecialPage::getRestrictedPages() (deprecated in 1.18)
15687 * SpecialPage::getTitleForAlias() (deprecated in 1.18)
15688 * SpecialPage::getUsablePages() (deprecated in 1.18)
15689 * SpecialPage::includable() (deprecated in 1.18)
15690 * SpecialPage::init()
15691 * SpecialPage::initAliasList() (deprecated in 1.18)
15692 * SpecialPage::initList() (deprecated in 1.18)
15693 * SpecialPage::name() (deprecated in 1.18)
15694 * SpecialPage::removePage() (deprecated in 1.18)
15695 * SpecialPage::resolveAlias() (deprecated in 1.18)
15696 * SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18)
15697 * SpecialPage::restriction() (deprecated in 1.18)
15698 * SpecialPage::setGroup() (deprecated in 1.18)
15699 * SpecialRecentChanges::feedSetup()
15700 * SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
15701 * User::getPageRenderingHash() (deprecated in 1.17)
15702 * WebRequest::getFileSize() (deprecated in 1.17)
15703 * WebRequest::isPathInfoBad() (deprecated in 1.17)
15704 * wfGenerateToken (deprecated in 1.20)
15705 * wfStreamFile (deprecated in 1.19)
15706 * wfUILang (deprecated in 1.18)
15707 * WikiPage::createUpdates() (deprecated in 1.18)
15708 * WikiPage::quickEdit() (deprecated in 1.18)
15709 * WikiPage::useParserCache() (deprecated in 1.18)
15710 * WikiPage::viewUpdates() (deprecated in 1.18)
15712 ==== Removed globals ====
15713 * $wgBetterDirectionality (deprecated in 1.18)
15715 = MediaWiki 1.22 =
15717 == MediaWiki 1.22.15 ==
15719 This is a security and maintenance release of the MediaWiki 1.22 branch.
15721 === Changes since 1.22.14 ===
15723 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
15724   could lead to xss. Permission to edit MediaWiki namespace is required to
15725   exploit this.
15726 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
15727   $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
15728   part of its name.
15729 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
15731 == MediaWiki 1.22.14 ==
15733 This is a security and maintenance release of the MediaWiki 1.22 branch.
15735 === Changes since 1.22.13 ===
15737 * (bugs 66776, 71478) SECURITY:  User PleaseStand reported a way to inject code
15738   into API clients that used format=php to process pages that underwent flash
15739   policy mangling. This was fixed along with improving how the mangling was done
15740   for format=json, and allowing sites to disable the mangling using
15741   $wgMangleFlashPolicy.
15742 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
15743   the content model for a page could allow an unprivileged attacker to edit
15744   another user's common.js under certain circumstances. The user right
15745   "editcontentmodel" was added, and is needed to change a revision's content
15746   model.
15747 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
15748   DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
15749   public RFC about the desired functionality. This issue was reported by user
15750   Bawolff.
15751 * (bug 71621) Make allowing site-wide styles on restricted special pages a
15752   config option.
15753 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
15754   might be a flash policy directive configurable.
15756 == MediaWiki 1.22.13 ==
15757 This is a maintenance release of the MediaWiki 1.22 branch.
15759 === Changes since 1.22.12 ===
15760 * (bug 67440) Allow classes to be registered properly from installer
15762 == MediaWiki 1.22.12 ==
15763 This is a security release of the MediaWiki 1.22 branch.
15765 === Changes since 1.22.11 ===
15766 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
15767   allowance.
15769 == MediaWiki 1.22.11 ==
15770 This is a security release of the MediaWiki 1.22 branch.
15772 === Changes since 1.22.10 ===
15773 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
15774   elements; normalize style elements and attributes before filtering; add checks
15775   for attributes that contain css; add unit tests for html5sec and reported
15776   bugs.
15778 == MediaWiki 1.22.10 ==
15779 This is a maintenance release of the MediaWiki 1.22 branch.
15781 === Changes since 1.22.9 ===
15782 * (bug 64970) Fix support for blobs on DatabaseOracle::update
15783 * (bug 60719) In MediaWiki 1.22, the job queue execution on each page request
15784   was changed (Gerrit change 59797) so, instead of executing the job inside the
15785   same PHP process that's rendering the page, a new PHP cli command is spawned
15786   to execute runJobs.php in the background. It will only work if $wgPhpCli is
15787   set to an actual path or safe mode is off, otherwise, the old method will be
15788   used. See
15789   https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_in_MediaWiki_1.22
15790   for more information. This change was in earlier releases of 1.22 but was not
15791   noted here until now.
15793 == MediaWiki 1.22.9 ==
15794 This is a security and maintenance release of the MediaWiki 1.22 branch.
15796 === Changes since 1.22.8 ===
15797 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
15798 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
15799   for loading a new page in Javascript,instead of relying on the URL in the
15800   link that has been clicked.
15801 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
15802   ParserOutput.
15803 * (bug 59147) The img_metadata field was not being decoded from bytea into text.
15805 == MediaWiki 1.22.8 ==
15806 This is a security and maintenance release of the MediaWiki 1.22 branch.
15808 === Changes since 1.22.7 ===
15809 * (bug 65839) SECURITY: Prevent external resources in SVG files.
15810 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
15811   only extracting the tail of the file partially or not at all.
15813 == MediaWiki 1.22.7 ==
15814 This is a security and maintenance release of the MediaWiki 1.22 branch.
15816 === Changes since 1.22.6 ===
15817 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
15818   Special:PasswordReset.
15819 * (bug 36356) Add space between two feed links.
15820 * (bug 63269) Email notifications were not correctly handling the
15821   MediaWiki:Helppage message being set to a full URL. This is a regression from
15822   the 1.22.5 point release, which made the default value for it a URL. If you
15823   customized MediaWiki:Enotif body (the text of email notifications), you'll
15824   need to edit it locally to include the URL via the new variable $HELPPAGE
15825   instead of the parser functions fullurl and canonicalurl; otherwise you don't
15826   have to do anything.
15827 * Add missing uploadstash.us_props for PostgreSQL.
15828 * (bug 56047) Fixed stream wrapper in PhpHttpRequest.
15830 == MediaWiki 1.22.6 ==
15831 This is a security release of the MediaWiki 1.22 branch.
15833 === Changes since 1.22.5 ===
15834 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
15836 == MediaWiki 1.22.5 ==
15837 This is a security and maintenance release of the MediaWiki 1.22 branch.
15839 === Changes since 1.22.4 ===
15840 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
15841 * (bug 62467) Set a title for the context during import on the cli.
15842 * Fix custom local MediaWiki:Helppage values.
15843 * mediawiki.js: Fix documentation breakage.
15844 * (bug 58153) Make MySQLi work with non standard port.
15845 * (bug 53887) Reintroduced a link to help pages in the default sidebar, that any
15846   sysop can customize by editing MediaWiki:Sidebar locally. The link now points
15847   to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done
15848   on your end, but remember to adjust MediaWiki:Sidebar for the needs of your
15849   wikis. Everyone can help with the shared documentation by translating:
15850   https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages .
15851 * (bug 53888) Corrected a regression in 1.22 which introduced red links on the
15852   login page. If you previously installed 1.22.x and have created a local page
15853   to make the red link blue, write its title as in MediaWiki:helplogin-url if
15854   you didn't already. Otherwise, you don't need to do anything, but you can
15855   translate the help page at <https://www.mediawiki.org/wiki/Help:Logging_in>.
15857 == MediaWiki 1.22.4 ==
15858 This is a maintenance release of the MediaWiki 1.22 branch.
15860 === Changes since 1.22.3 ===
15861 * Use the correct branch of the extensions' git repositories.
15863 == MediaWiki 1.22.3 ==
15864 This is a security and bugfix release of the MediaWiki 1.22 branch.
15866 === Changes since 1.22.2 ===
15867 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
15868   namespaces. Also disallow iframe elements. * User will get an error including
15869   the namespace name if they use a non- whitelisted namespace.
15870 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
15871   our token comparison would be vulnerable to timing attacks. This will take
15872   constant time.
15873 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
15874 * (bug 53710) Add sequence support for upsert in DatabaseOracle in the same way
15875   as in selectInsert
15876 * (bug 60231, bug 58719) Various fixes to job running code in Wiki.php: Make it
15877   async on Windows. Fixed possible "invalid filename" errors on Windows.
15878   Redirect output to dev/null to avoid hanging PHP.
15879 * (bug 60083) Correct sequence name for fresh Postgres installation. Spotted by
15880   gebhkla
15881 * (bug 60531) Avoid variable naming conflicts in
15882   DatabasePostgres::selectSQLText. Spotted by gebhkla
15883 * (bug 60094) Fix rebuildall.php fatal error with PostgreSQL.
15884 * (bug 43817) Add error handling if descriptionmsg isn't defined for extension.
15885 * (bug 60543) Special:PrefixIndex omits stripprefix=1 for "Next page" link.
15887 == MediaWiki 1.22.2 ==
15888 This is a security and bugfix release of the MediaWiki 1.22 branch.
15890 === Changes since 1.22.1 ===
15891 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
15892   formats
15893 * (bug 58253) Check for very old PCRE versions in installer and updater
15894 * (bug 60054) Make WikiPage::$mPreparedEdit public
15896 == MediaWiki 1.22.1 ==
15897 This is a security and maintenance release of the MediaWiki 1.22 branch.
15899 === Changes since 1.22.0 ===
15900 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
15901 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
15902 * (bug 58472) SECURITY: Disallow -o-link in styles
15903 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
15904 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
15905 * (bug 58178) Restore compatibility with curl < 7.16.2.
15906 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format which
15907   is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as the
15908   JavaScript evaluator were updated to support the new format. Plural rules for
15909   some languages have changed, most notably Russian. Affected software messages
15910   have been updated and marked for review at translatewiki.net. This change is
15911   backported from the development branch of MediaWiki 1.23.
15912 * (bug 58434) The broken installer for database backend Oracle was fixed.
15913 * (bug 58167) The web installer no longer throws an exception when PHP is
15914   compiled without support for MySQL yet with support for another DBMS.
15915 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
15916   appear blank or with missing text.
15917 * (bug 47055) Changed FOR UPDATE handling in Postgresql
15918 * (bug 57026) Avoid extra parsing in prepareContentForEdit()
15920 == MediaWiki 1.22.0 ==
15922 === Configuration changes in 1.22 ===
15923 * $wgRedirectScript was removed. It was unused.
15924 * Removed $wgLocalMessageCacheSerialized, it is now always true.
15925 * $wgVectorUseIconWatch is now enabled by default.
15926 * $wgCascadingRestrictionLevels was added.
15927 * ftps, ssh, sftp, xmpp, sip, sips, tel, sms, bitcoin, magnet, urn, and geo
15928   have been whitelisted inside of $wgUrlProtocols.
15929 * $wgDocType and $wgDTD have been removed and are no longer used for the
15930   DOCTYPE.
15931 * $wgHtml5 is no longer used by core. Setting it to false will no longer disable
15932   HTML5. It is still set to true for extension compatibility but doing so in
15933   extensions is deprecated.
15934 * $wgXhtmlDefaultNamespace is no longer used by core. Setting it will no longer
15935   change the xmlns used by MediaWiki. Reliance on this variable by extensions
15936   is deprecated.
15937 * $wgHandheldStyle was removed.
15938 * $wgHandheldForIPhone was removed.
15939 * $wgJsMimeType is no longer used by core. Most usage has been removed since
15940   HTML output is now exclusively HTML5.
15941 * $wgDBOracleDRCP added. True enables persistent connection with DRCP on Oracle.
15942 * $wgLogAutopatrol added to allow disabling logging of autopatrol edits in the
15943   logging table.
15944   Default for $wgLogAutopatrol is true.
15945 * The 'edit' right no longer allows for editing a user's own CSS and JS.
15946 * New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist',
15947   'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and
15948   'editmyoptions' restrict actions that were formerly allowed by default. They
15949   have been added to the default for $wgGroupPermissions['*'].
15950 * The 'editprotected' right no longer allows bypassing of all page protection
15951   restrictions. Any group using it for this purpose will now need to have all
15952   the individual rights listed in $wgRestrictionTypes for the same effect.
15953 * The 'protect' and 'autoconfirmed' rights are no longer used for the default
15954   page protection levels. The rights 'editprotected' and 'editsemiprotected'
15955   are now used for this purpose instead.
15956 * (bug 40866) wgOldChangeTagsIndex removed.
15957 * $wgNoFollowDomainExceptions now only matches entire domains. For example,
15958   an entry for 'bar.com' will still match 'foo.bar.com' but not 'foobar.com'.
15959 * $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout added to change the timeout
15960   times for fetching the file during upload by url.
15961 * New key added to $wgGalleryOptions - $wgGalleryOptions['mode'] to set
15962   default gallery mode.
15963 * New hook 'GalleryGetModes' to allow extensions to make new gallery modes.
15964 * The checkbox for staying in HTTPS displayed on the login form when
15965   $wgSecureLogin is enabled has been removed. Instead, whether the user stays in
15966   HTTPS will be determined
15967   based on the user's preferences, and whether they came from HTTPS or not.
15968 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort,
15969   and $wgRC2UDPPrefix configuration options have been deprecated in favor of a
15970   $wgRCFeeds configuration array. $wgRCFeeds makes both the format and
15971   destination of recent change notifications customizable, and allows for
15972   multiple destinations to be specified.
15973 * (bug 53862) portal-url, currentevents-url and helppage have been removed from
15974   the default Sidebar.
15975 * The 'vector-simplesearch' preference is now enabled by default. Previously
15976   it was only enabled if the Vector extension was installed.
15977 * The precise format of metric datagrams produced by the UDP profiler and stats
15978   counter may now be specified as $wgUDPProfilerFormatString and
15979   $wgStatsFormatString, respectively.
15980 * (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
15981   $wgProxyMemcExpiry have been removed, along with the open proxy scanner
15982   script they were added for.
15983 * Default value of $wgMaxShellMemory has been tripled (it's now 300 MB).
15985 === New features in 1.22 ===
15986 * You can now install extensions using Composer.
15987   See https://www.mediawiki.org/wiki/Composer
15988 * (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and
15989   attributes.
15990 * (bug 33454) Language::sprintfDate now has a timezone parameter, and supports
15991   the "eIOPTZ" formatting characters.
15992 * EditWarning: A warning is shown when an editor leaves the edit form without
15993   saving (enabled by default, users can opt-out via the 'useeditwarning'
15994   preference). This feature was moved from the Vector extension, and is now part
15995   of core for all skins. Take care when upgrading that you don't use an older
15996   version of the Vector extension as this feature may conflict.
15997 * New 'mediawiki.ui' CSS module providing mw-ui-* styles for buttons and a
15998   compact vertical form layout.
15999 * HTMLForm supports a new display format 'vform' which applies this compact
16000   vertical
16001   layout and button styling. Special:PasswordReset uses this format.
16002 * New versions of login (Special:UserLogin) and create account
16003   (Special:UserLogin/signup) forms using the "vform" compact vertical form
16004   layout. These forms use new messages that assume a "Help logging in" link, see
16005   https://www.mediawiki.org/wiki/Manual:Page_customizations;
16006   https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists
16007   the message key changes.
16008 * (bug 23343) Implemented ability to apply IP blocks to the contents of
16009   X-Forwarded-For headers by adding a new configuration variable
16010   $wgApplyIpBlocksToXff (disabled by default).
16011 * The new hook 'APIGetPossibleErrors' to modify the list of possible errors was
16012   added.
16013 * (bug 25592) LogEventsList::showLogExtract() will now ignore various
16014   Pager-related WebRequest parameters by default, as this is overwhelmingly
16015   likely to be what was intended by users of the method. If any caller wishes
16016   to use these parameters, the new param 'useRequestParams' may be set to true.
16017 * mw.util.addPortletLink: Tooltip is no longer required to be plain (without
16018   an accesskey in it already). As such it now rountrips. Creating a link with a
16019   message as tooltip, grabbing the title attribute and using it to create
16020   another portlet will work as expected.
16021 * (bug 6747) {{ROOTPAGENAME}} introduced, contains the name of the topmost
16022   page without namespace.
16023 * BREAKING CHANGE: (bug 41729) Display editsection links next to headings. Also
16024   change their class name from .editsection to .mw-editsection and place them at
16025   the end of the heading element instead of the beginning. Client-side code and
16026   screen-scrapers will have to be adjusted to handle both cases (old HTML will
16027   still be visible on cached page renders until they are purged); extensions
16028   using the DoEditSectionLink or EditSectionLink hooks might need adjustments as
16029   well.
16030 * (bug 45535) introduced the new 'LanguageLinks' hook for manipulating the
16031   language links associated with a page before display.
16032 * Chosen (http://harvesthq.github.io/chosen/) was added as module
16033   'jquery.chosen'
16034 * HTMLForm will turn multiselect checkboxes into a Chosen interface when setting
16035   cssclass 'mw-chosen'
16036 * rebuildLocalisationCache learned --lang option. Let you rebuild l10n caches
16037   of the specified languages instead of all of them.
16038 * New GetNewMessagesAlert hook allowing extensions to disable or modify the new
16039   messages alert
16040 * New wgUserNewMsgRevisionId JS global for logged in users. This will be null
16041   if the user has no new talk page messages. Otherwise it will be set to the
16042   revision ID of the oldest new talk page message. This will allow gadgets and
16043   extensions to create their own new message alerts on the client side.
16044 * mediawiki.log: Added log.warn wrapper (uses console.warn and console.trace).
16045 * mediawiki.log: Implemented log.deprecate. This method defines a property and
16046   uses ES5 getter/setter to emit a warning when they are used.
16047 * $wgCascadingRestrictionLevels was added, allowing one to specify restriction
16048   levels which can be cascading (previously 'sysop' was hard-coded as the only
16049   one).
16050 * XHTML5 support has been improved. If you set
16051   $wgMimeType = 'application/xhtml+xml' MediaWiki will try outputting markup
16052   according to XHTML5 rules.
16053 * Altered hook 'ProtectionForm::save', adding the reason page protection is
16054   changed as third parameter.
16055 * New hook 'TitleSquidURLs' for manipulating the list of URLs to be purged from
16056   HTTP caches when a page is changed.
16057 * Changed the patrolling system to always show the link for patrolling in case
16058   the current revision is patrollable. This also removed the usage of the rcid
16059   URI parameters.
16060 * Oracle DB backend now supports Database Resident Connection Pooling (DRCP).
16061   Can be enabled by setting $wgDBOracleDRCP=true.
16062   Requires Oracle DB 11gR1 or above, enabled DRCP inside the DB itself and a
16063   propper connect string.
16064   More about DRCP can be found at:
16065   https://oracle-base.com/articles/11g/database-resident-connection-pool-11gr1
16066 * Add a new parameter $patrolFooterShown to hook ArticleViewFooter so the hook
16067   handlers can take further action based on the status of the patrol footer
16068 * A new hook TitleQuickPermissions was added to allow overriding of quick
16069   permissions in the Title class.
16070 * LinkCache singleton can now be altered or cleared, letting one to specify
16071   another instance that does not rely on a database backend.
16072 * MediaWiki's PHPUnit tests can now use PHPUnit installed using composer --dev.
16073 * (bug 43689) The lists of templates used on the page and hidden categories it
16074   is a member of, shown below the edit form, are now collapsible (and collapsed
16075   by default).
16076 * Parser profiling data, formerly only available in the "NewPP limit report"
16077   HTML comment, is now also displayed at the bottom of page previews.
16078 * Added ParserLimitReportPrepare and ParserLimitReportFormat hooks, deprecated
16079   ParserLimitReport hook.
16080 * New user rights have been added to increase granularity in rights management
16081   for extensions such as OAuth:
16082 ** editmyusercss controls whether a user may edit their own CSS subpages.
16083 ** editmyuserjs controls whether a user may edit their own JS subpages.
16084 ** viewmywatchlist controls whether a user may view their watchlist.
16085 ** editmywatchlist controls whether a user may edit their watchlist.
16086 ** viewmyprivateinfo controls whether a user may access their private
16087    information (e.g. registered email address, real name).
16088 ** editmyprivateinfo controls whether a user may change their private
16089    information.
16090 ** editmyoptions controls whether a user may change their preferences.
16091 * Add new hook AbortTalkPageEmailNotification, this will be used to determine
16092   whether to send the regular talk page email notification
16093 * Action classes registered in $wgActions are now also supported in the form of
16094   a callback (which returns an instance of Action) instead of providing the name
16095   of a subclass of Action.
16096 * (bug 46513) Vector: Add the collapsibleTabs script from the Vector extension.
16097 * Added $wgRecentChangesFlags for defining new flags for RecentChanges and
16098   watchlists.
16099 * (bug 40518) mw.toolbar: Implemented mw.toolbar.addButtons for adding multiple
16100  button objects in one call.
16101 * Rights used for the default protection levels ('sysop' and 'autoconfirmed')
16102   are now used just for that purpose, instead of overloading other rights. This
16103   allows easy granting of the ability to edit sysop-protected pages without
16104   also granting the ability to protect and unprotect.
16105 * (bug 48256) Make brackets in section edit links accessible to CSS.
16106   They are now wrapped in <span class="mw-editsection-bracket" />.
16107 * (bug 8480) Allow handler specific parameters in galleries (like page number)
16108 * jquery.client: Add detection for Opera 15 and Internet Explorer 11.
16109 * Change tags (used by the AbuseFilter extension) are now shown on diff pages.
16110 * Change tag lists (shown on recent changes, watchlist, user contributions,
16111   history pages, diff pages) now include a link to Special:Tags to distinguish
16112   them from edit summaries.
16113 * Added a new method and hook, User::isEveryoneAllowed() and
16114   UserIsEveryoneAllowed, for use in situations where a "does everyone have this
16115   right?" check is used to avoid more expensive checks.
16116 * (bug 14431) Display "(No difference)" instead of an empty diff (when comparing
16117   revisions in the history or when previewing changes while editing).
16118 * New hook 'IsUploadAllowedFromUrl' is added which can be used to intercept
16119   uploads by URL, useful for blacklisting specific URLs
16120 * (bug 21912) Watchlist token implementation has been refactored and
16121   Special:ResetTokens was added to allow users to reset their tokens
16122   instead of presenting them in Preferences.
16123 * Special:PrefixIndex now lets you strip the searched prefix from the displayed
16124   titles. Given a list of articles named Bug1, Bug2, you can now transclude the
16125   list of bug numbers using: {{Special:PrefixIndex/Bug|stripprefix=1}}.
16126   The special page form received a new checkbox matching that option.
16127 * (bug 23580) Implement javascript callback interface "mw.hook".
16128 * (bug 30713) New mw.hook "wikipage.content".
16129 * (bug 40430) jquery.placeholder gets a new parameter to set the attribute value
16130   to be used.
16131 * $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast.
16132 * $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge
16133   too. Can be used whenever several multicast group could be interested by a
16134   specific purge.
16135 * (bug 25931) Add Special:RandomInCategory.
16136 * mediawiki.util: addPortletLink now supports passing a jQuery object as
16137   nextnode.
16138 * <wbr> can now be used inside WikiText.
16139 * WebResponse::setcookie is much more featureful. Callers using PHP's
16140   setcookie() or setrawcookie() should begin using this instead.
16141 * New hook WebResponseSetCookie, called from WebResponse::setcookie().
16142 * New hook ResetSessionID, called when the session id is reset.
16143 * Add a mode parameter to <gallery> tag with potential options of "traditional",
16144   "nolines", "packed", "packed-overlay", or "packed-hover".
16145 * (bug 47399) A success message is now displayed after changing the password.
16146 * Make thumb.php give HTTP redirects for file redirects
16147 * (bug 30607) Special:ListFiles can now show old versions of files. Additionally
16148   Special:AllMyUploads was introduced so the user can get a list of all things
16149   they have ever uploaded, even if it was subsequently overridden.
16150 * Introduced Special:MyFiles and Special:AllMyFiles as an alias for
16151   Special:MyUploads and Special:AllMyUploads respectively.
16152 * IPv6 addresses in X-Forwarded-For headers are now normalised before checking
16153   against allowed proxy lists.
16154 * Add deferrable update support for callback/closure.
16155 * Add TitleMove hook before page renames.
16156 * Revision deletion backend code is moved out of SpecialRevisiondelete
16157 * Added {{REVISIONSIZE}} variable to get the current size of a revision.
16158 * Add support for the LESS stylesheet language to ResourceLoader. LESS is a
16159   stylesheet language that compiles into CSS. ResourceLoader file modules may
16160   include LESS style files; ResourceLoader will compile these files into CSS
16161   before sending them to the client.
16162 ** The $wgResourceLoaderLESSVars configuration variable is an associative array
16163    mapping variable names to string CSS values. These variables are considered
16164    declared for all LESS files. Additional variables may be registered by
16165    adding keys to the array.
16166 ** $wgResourceLoaderLESSFunctions is an associative array of custom LESS
16167    function names to PHP callables. See
16168    <http://leafo.net/lessphp/docs/#custom_functions>
16169    for more details regarding custom functions.
16170 ** $wgResourceLoaderLESSImportPaths is an array of file system paths. Files
16171    referenced in LESS '@import' statements are looked up here first.
16172 * ResourceLoader supports hashes as module cache invalidation trigger (instead
16173   of or in addition to timestamps).
16174 * Added $wgExtensionEntryPointListFiles for use in mergeMessageFileList.php.
16175 * Added a hook, APIQuerySiteInfoStatisticsInfo, to allow extensions to modify
16176   the output of the API query meta=siteinfo&siprop=statistics
16177 * Primary keys have been added to both the archive table and the externallinks
16178   tables.
16179 * Added $wgEnableParserLimitReporting to control whether the NewPP limit report
16180   is output in a HTML comment.
16181 * The 'UnwatchArticle' and 'WatchArticle' hooks now support a Status object
16182   instead of just a boolean return value to abort the hook.
16183 * Added a hook, SpecialWatchlistGetNonRevisionTypes, to allow extensions
16184   with custom recentchanges entries to hook into the Watchlist without
16185   clobbering each other.
16186 * A hidden, empty input field was added to the edit form, and any edit that
16187   fills it in will be rejected. This prevents against the simplest form of
16188   spambots. Previously in the "SimpleAntiSpam" extension by Ryan Schmidt.
16189 * populateRevisionLength.php maintenance script updated to also populate
16190   archive.ar_len field.
16191 * (bug 43571) DatabaseMySQLBase learned to list views, optionally filtered by a
16192   prefix. Also fixed PHPUnit test suite when using a MySQL backend containing
16193   views.
16195 === Bug fixes in 1.22 ===
16196 * (bug 47271) $wgContentHandlerUseDB should be set to false during the upgrade
16197 * Disable Special:PasswordReset when $wgEnableEmail is false. Previously one
16198   could still navigate to the page by entering the URL directly.
16199 * (bug 47138) Fixed a fatal error when a blocked user tries to automatically
16200   create an account on login due external authentication in some circumstances.
16201 * (bug 23393) HTML <hN> headings containing line breaks are now handled
16202   correctly.
16203 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
16204   is now non-significant and not preserved in the HTML output.
16205 * (bug 47218) Special:BlockList now handles correctly user names with spaces
16206   when passed as subpage.
16207 * Pager's properly validate which fields are allowed to be sorted on.
16208 * mw.util.tooltipAccessKeyRegexp: The regex now matches "option-" as well.
16209   Support for Mac "option" was added in 1.16, but the regex was never updated.
16210 * (bug 46768) Usernames of blocking users now display correctly, even if
16211   numeric.
16212 * (bug 39590) Self-transclusions now show the most up to date result always
16213   after save instead of being a revision behind.
16214 * A bias in wfRandomString() toward digits 1-7 has been corrected. Generated
16215   strings will now start with digits 0 and 8-f as often as they should.
16216 * (bug 45371) Removed Parser_LinkHooks and CoreLinkFunctions classes.
16217 * (bug 41545) Allow <kbd>, <samp>, and <var> to be nested like allowed in html.
16218 * PLURAL magic word no longer causes a PHP notice when no matching form exists.
16219 * (bug 36641) Patrol page links no longer show on non-existent revisions.
16220 * (bug 35810) Pages not linked from Special:RecentChanges or Special:NewPages
16221   are patrollable now.
16222 * (bug 30213) JavaScript for search suggestions is now disabled when the API
16223   is disabled, and AJAX patrolling and watching are now disabled when use of
16224   the write API is not allowed.
16225 * (bug 48294) API: Fix chunk upload async mode.
16226 * (bug 46749) Broken files tracking category removed from pages if an image
16227   with that name is uploaded.
16228 * (bug 14176) System messages that are empty were previously incorrectly treated
16229   as non-existent, causing a fallback to the default. This stopped users from
16230   overriding system messages to make them blank.
16231 * (bug 48319) action=parse no longer returns an error if passed none of 'oldid',
16232   'pageid', 'page', 'title', and 'text' (e.g. if only passed 'summary'). A
16233   warning will instead be issued if 'title' is non-default, unless no props are
16234   requested.
16235 * Special:Recentchangeslinked will now include upload log entries
16236 * (bug 41281) Fixed ugly output if file size could not be extracted for
16237   multi-page media.
16238 * (bug 50315) list=logevents API module will now output log entries by anonymous
16239   users.
16240 * (bug 38911) Handle headers with rowspan in jquery.tablesorter
16241 * (bug 658) Converted the table of contents on wiki pages from <table> to <div>
16242   and adjusted skin CSS accordingly. The CSS was carefully crafted to be
16243   backwards-compatible in all reasonable cases (uses of the __TOC__ magic word,
16244   the #toc CSS id and the .toc CSS class). However, particularly bad abuse of
16245   the id or the class can possibly break.
16246 * CSSJanus now supports rgb, hsl, rgba, and hsla color syntaxes.
16247 * Special:Listfiles can no longer be sorted by image name when filtering
16248   by user in miser mode.
16249 * (bug 49074) CSSJanus: Handle values of border-radius correctly.
16250 * Handle relative inclusions ({{../name}}) in main namespace with subpages
16251   enabled correctly (previously MediaWiki tried to include Template:Parent/name
16252   instead of just Parent/name).
16253 * Added $wgAPIUselessQueryPages to allow extensions to flag their query pages
16254   for non-inclusion in ApiQueryQueryPages.
16255 * (bug 50870) mediawiki.notification: Notification area should remain visible
16256   when scrolled down.
16257 * (bug 13438) Special:MIMESearch no longer an expensive special page.
16258 * (bug 48342) Fixed a fatal error when $wgValidateAllHtml is set to true and
16259   the function apache_request_headers() function is not available.
16260 * (bug 33399) LivePreview: Re-run wikipage content handlers
16261   (jquery.makeCollapsible, jquery.tablesorter) after preview content is loaded.
16262 * (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties
16263   are defined.
16264 * (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry.
16265 * (bug 52077) The APIEditBeforeSave hook is giving the content of the whole
16266   revision as second argument now, rather than just the current section.
16267 * (bug 49694) $wgSpamRegex is now also applied on the new section headline text
16268   adding a new topic on a page
16269 * (bug 41756) Improve treatment of multiple comments on a blank line.
16270 * (bug 51064) Purge upstream caches when deleting file assets.
16271 * (bug 39012) File types with a mime that we do not know the extension for
16272   can no longer be uploaded as an extension that we do know the mime type
16273   for.
16274 * (bug 51742) Add data-sort-value for better sorting of hitcounts Special:Tags
16275 * (bug 26811) On DB error pages, server hostnames are now hidden when both
16276   $wgShowHostnames and $wgShowSQLErrors are false.
16277 * (bug 6200) line breaks in <blockquote> are handled like they are in <div>
16278 * (bug 14931) Default character set now set to 'utf8' when a new MySQL
16279   database is created.
16280 * (bug 47191) Fixed "Column 'si_title' cannot be part of FULLTEXT index"
16281   MySQL error when installing using the binary character set option.
16282 * (bug 45288) Support mysqli PHP extension
16283 * (bug 55818) BREAKING CHANGE: Removed undocumented 'Debug' hook in wfDebug.
16284   This resolves an infinite loop when using $wgDebugFunctionEntry = true.
16285 * (bug 56707) Correct tooltip of "Next n results" on query special pages.
16286 * (bug 56770) mw.util.addPortletLink: Check length before access array index.
16288 === API changes in 1.22 ===
16289 * (bug 25553) The JSON output formatter now leaves forward slashes unescaped
16290   to improve human readability of URLs and similar strings. Also, a "utf8"
16291   option is now provided to use UTF-8 encoding instead of hex escape codes
16292   for most non-ASCII characters.
16293 * (bug 46626) xmldoublequote parameter was removed. Because of a bug, the
16294   parameter has had no effect since MediaWiki 1.16, and so its removal is
16295   unlikely to impact existing clients.
16296 * (bug 47216) action=query&meta=siteinfo&siprop=skins will now indicate which
16297   skin is the default and which are unusable (e.g. listed in $wgSkipSkins).
16298 * (bug 25325) Added support for wlshow filtering (bots/anon/minor/patrolled)
16299   to action=feedwatchlist.
16300 * WDDX formatted output will actually be formatted (and normal output will no
16301   longer be), and will no longer choke on booleans.
16302 * action=opensearch no longer silently ignores the format parameter.
16303 * action=opensearch now supports format=jsonfm.
16304 * list=usercontribs&ucprop=ids will now include the parent revision id.
16305 * BREAKING CHANGE: action=parse no longer returns all langlinks for the page
16306   with prop=langlinks by default. The new effectivelanglinks parameter will
16307   request that the LanguageLinks hook be called to determine the effective
16308   language links.
16309 * BREAKING CHANGE: list=allpages, list=langbacklinks, and prop=langlinks do not
16310   apply the new LanguageLinks hook, and thus only consider language links
16311   stored in the database.
16312 * (bug 47219) Allow specifying change type of Wikipedia feed items
16313 * prop=imageinfo now allows setting iiurlheight without setting iiurlwidth
16314 * prop=info now adds the content model and page language of the title.
16315 * New upload log entries will now contain information on the relevant
16316   image (sha1 and timestamp).
16317 * (bug 49239) action=parse now can parse in preview and section preview modes.
16318 * (bug 49259) action=patrol now accepts revision ids.
16319 * (bug 48129) list=blocks&bkip= now correctly handles IPv6 CIDR ranges and
16320   honors $wgBlockCIDRLimit. Note any clients passing invalid values to bkip
16321   will now receive an error, rather than the previous behavior listing all
16322   user blocks.
16323 * (bug 48201) action=parse&text=foo now assumes wikitext if no title is given,
16324   rather than using the content model of the page "API".
16325 * action=watch no longer silently ignores hook abort.
16326 * (bug 50785) action=purge with forcelinkupdate=1 no longer queues refreshLinks
16327   jobs in the job queue for link table updates of pages that use the given page
16328   as a template. Instead, forcerecursivelinkupdate=1 is introduced and should
16329   be used if that behaviour is desirable.
16330 * The 'debugLog' property (enabled by $wgDebugToolbar) no longer sets the log
16331   entry values through ApiResult::content but directly. This changes the JSON
16332   output from an array of objects with content in '*' to an array of strings
16333   with the content.
16334 * (bug 51342) prop=imageinfo iicontinue now contains the dbkey, not the text
16335   version of the title.
16336 * (bug 52538) action=edit will now use empty text instead of the contents
16337   of section 0 when passed prependtext or appendtext with section=new.
16338 * Support for the 'gettoken' parameter to action=block and action=unblock,
16339   deprecated since 1.20, has been removed.
16340 * (bug 49090) Token-getting functions will fail when using jsonp callbacks.
16341 * (bug 52699) action=upload returns normalized file name on warning
16342   "exists-normalized" instead of filename to be uploaded to.
16343 * (bug 53884) action=edit will now return an error when the specified section
16344   does not exist in the page.
16345 * Added meta=filerepoinfo API module for getting information about foreign
16346   file repositories, and related ForeignAPIRepo methods getInfo and getApiUrl.
16347 * The new query module list=allfileusages to enumerate file usages was added.
16349 === Languages updated in 1.22 ===
16351 MediaWiki supports over 350 languages. Many localisations are updated
16352 regularly. Below only new and removed languages are listed, as well as
16353 changes to languages because of Bugzilla reports.
16355 * Batak Toba (bbc-latn) added.
16356 * (bug 46751) Made Buryat (Russia) (буряад) (bxr) fallback to Russian.
16358 === Other changes in 1.22 ===
16359 * BREAKING CHANGE: Implementation of MediaWiki's JS and JSON value encoding
16360   has changed:
16361 ** MediaWiki no longer supports PHP installations in which the native JSON
16362    extension is missing or disabled.
16363 ** XmlJsCode objects can no longer be nested inside objects or arrays.
16364    (For Xml::encodeJsCall(), this individually applies to each argument.)
16365 ** The sets of characters escaped by default, along with the precise escape
16366    sequences used, have changed (except for the Xml::escapeJsString()
16367    function, which is now deprecated).
16368 * BREAKING CHANGE: The Services_JSON class has been removed. If necessary,
16369   be sure to upgrade affected extensions at the same time (e.g. Collection).
16370 * redirect.php was removed. It was unused.
16371 * ClickTracking integration was dropped from the mediaWiki.user.bucket
16372   JavaScript function. The 'tracked' option is now ignored.
16373 * BREAKING CHANGE: Legacy skins Simple, MySkin, Chick, Standard and Nostalgia
16374   were all removed. (Nostalgia was moved to an extension.) The SkinLegacy and
16375   LegacyTemplate classes that supported them were removed as well and are now a
16376   part of the Nostalgia extension.
16377 * Event namespace used by jquery.makeCollapsible has been changed from
16378   'mw-collapse' to 'mw-collapsible' for consistency with the module name.
16379 * BREAKING CHANGE: The "ExternalAuth" authentication subsystem was removed,
16380   along with its associated globals of $wgExternalAuthType, $wgExternalAuthConf,
16381   $wgAutocreatePolicy and $wgAllowPrefChange. Affected users are encouraged to
16382   use AuthPlugin for external authentication/authorization needs.
16383 * The Quickbar feature of the legacy skin model and the last remnants of it
16384   throughout the code base have been removed.
16385 * Externaledit/externaldiff preference was removed. Very few users used this
16386   feature, and improper configuration can actually prevent a user from editing
16387 * Calling Linker methods using a skin will now output deprecation warnings.
16388 * (bug 46680) "Return to" links are no longer tagged with rel="next".
16389 * BREAKING CHANGE: mw.util.tooltipAccessKeyRegexp: The match group for the
16390   accesskey character is now $6 instead of $5.
16391 * HipHop compiler (hphpc) support was removed. HipHop VM support (hhvm) was
16392   added.
16393 * A new Special:Redirect page was added, providing lookup by revision ID,
16394   user ID, or file name.  The old Special:Filepath page was reimplemented
16395   to redirect through Special:Redirect.
16396 * Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9.
16397 * Support for XHTML 1.0 has been removed. MediaWiki now only outputs (X)HTML5.
16398 * wikibits: User-agent related globals have been deprecated. The following
16399   properties now default to false and emit mw.log.warn: is_gecko, is_chrome_mac,
16400   is_chrome, webkit_version, is_safari_win, is_safari, webkit_match, is_ff2,
16401   ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, opera7_bugs, opera6_bugs,
16402   is_opera_95, is_opera_preseven, is_opera, and ie6_bugs.
16403 * (bug 48276) MediaWiki will now flash a confirmation message upon successfully
16404   editing a page.
16405 * (bug 40785) mediawiki.legacy.ajax has been marked as deprecated. The following
16406   properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object,
16407   sajax_do_call and wfSupportsAjax.
16408 * BREAKING CHANGE: meta keywords are no longer supported. A
16409   <meta name="keywords" will no longer be output and OutputPage::addKeyword no
16410   longer exists.
16411 * Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage,
16412   deprecated since 1.19, have been removed.
16413 * (bug 50134) Hook functions are no longer required to return a value. When a
16414   hook function does not return a value (or when it returns an explicit null),
16415   processing continues. To abort the hook, a hook function must return an
16416   explicit, boolean false or a string error message. Other falsey values are
16417   tantamount to a 'return true' in earlier versions of MediaWiki.
16418 * BREAKING CHANGE: The EditSectionLink hook was removed after being
16419   deprecated since MediaWiki 1.14. Use DoEditSectionLink instead.
16420 * (bug 48256) The 'editsection-brackets' optional message was removed.
16421   Section edit links' brackets can now be customized using CSS by
16422   styling span.mw-editsection-bracket.
16423 * The usePatrol function in ChangesList has been marked as deprecated.
16424 * (bug 50785) A "null edit", that is, a save action in which no changes to the
16425   page text are made and no revision recorded, will no longer send refreshLinks
16426   jobs to the job table to update pages which use the edited page as a template.
16427 * The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )"
16428   have been deprecated in favour of using mw.hook.
16429 * The 'showjumplinks' user preference has been removed, jump links are now
16430   always included.
16431 * Methods RecentChange::notifyRC2UDP, RecentChange::sendToUDP, and
16432   RecentChange::cleanupForIRC have been deprecated, as it is now the
16433   responsibility of classes implementing the RCFeedFormatter and RCFeedEngine
16434   interfaces to implement the formatting and delivery for recent change
16435   notifications.
16436 * SpecialPrefixindex methods namespacePrefixForm() and showPrefixChunk() have
16437   been made protected. They were accepting form variance arguments, this is now
16438   using properties in the SpecialPrefixindex class.
16439 * (bug 50310) BREAKING CHANGE: wikibits: Drop support for mwCustomEditButtons.
16440   It defaults to an empty array and emits mw.log.warn when accessed.
16441 * BREAKING CHANGE: Special:Disambiguations has been removed from MediaWiki core.
16442   Functions related to disambiguation pages are now handled by the Disambiguator
16443   extension (https://www.mediawiki.org/wiki/Extension:Disambiguator) (bug
16444   35981).
16445 * BREAKING CHANGE: The 'mediawiki.legacy.wikiprintable' module has been removed.
16446   The skins/common/wikiprintable.css file no longer exists. Return value of
16447   Skin#commonPrintStylesheet is ignored. Please use the
16448   'mediawiki.legacy.commonPrint' module instead or base your skin on
16449   SkinTemplate.
16450 * (bug 49629) The hook ExtractThumbParameters has been deprecated in favour
16451   of media handler overriding MediaHandler::parseParamString.
16452 * (bug 46512) The collapsibleNav feature from the Vector extension has been
16453   moved to the Vector skin in core.
16454 * SpecialRecentChanges::addRecentChangesJS() function has been renamed
16455   to addModules() and made protected.
16456 * Methods WatchAction::doWatch and WatchAction::doUnwatch now return a Status
16457   object instead of a boolean.
16458 * Information boxes (CSS classes errorbox, warningbox, successbox) have been
16459   made more subtle.
16460 * BREAKING CHANGE: The module 'mediawiki.legacy.IEFixes' has been removed as it
16461   was unused. The file skins/common/IEFixes.js remains but is only used by
16462   wikibits. The file never contained any re-usable components. To use it in a
16463   skin, load 'mediawiki.legacy.wikibits' (which IEFixes depends on) and that
16464   will import IEFixes automatically if user agent conditions are met.
16465 * Code specific to the Math extension was marked as deprecated.
16466 * mediawiki.util: mw.util.wikiGetlink has been renamed to getUrl. (The old name
16467   still works, but is deprecated.)
16469 = MediaWiki 1.21 =
16471 == MediaWiki 1.21.11 ==
16472 This is a security and maintenance release of the MediaWiki 1.21 branch.
16474 === Changes since 1.21.10 ===
16475 * (bug 65839) SECURITY: Prevent external resources in SVG files.
16476 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
16477   only extracting the tail of the file partially or not at all.
16479 == MediaWiki 1.21.10 ==
16480 This is a security and maintenance release of the MediaWiki 1.21 branch.
16482 === Changes since 1.21.9 ===
16483 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
16484   Special:PasswordReset.
16485 * (bug 36356) Add space between two feed links.
16487 == MediaWiki 1.21.9 ==
16488 This is a security and maintenance release of the MediaWiki 1.21 branch.
16490 === Changes since 1.21.8 ===
16491 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
16492 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
16493   appear blank or with missing text.
16495 == MediaWiki 1.21.8 ==
16496 This is a security and maintenance release of the MediaWiki 1.21 branch.
16498 === Changes since 1.21.7 ===
16499 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
16500 * (bug 62467) Set a title for the context during import on the cli.
16502 == MediaWiki 1.21.7 ==
16503 This is a maintenance release of the MediaWiki 1.21 branch.
16505 === Changes since 1.21.6 ===
16506 * Use the correct branch of the extensions' git repositories.
16508 == MediaWiki 1.21.6 ==
16509 This is a security release of the MediaWiki 1.21 branch.
16511 === Changes since 1.21.5 ===
16512 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
16513   namespaces. Also disallow iframe elements.
16514 * User will get an error including the namespace name if they use a
16515   non-whitelisted namespace.
16516 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
16517   our token comparison would be vulnerable to timing attacks. This will take
16518   constant time.
16519 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
16521 == MediaWiki 1.21.5 ==
16522 This is a security release of the MediaWiki 1.21 branch.
16524 === Changes since 1.21.4 ===
16525 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
16526   formats
16528 == MediaWiki 1.21.4 ==
16529 This is a security release of the MediaWiki 1.21 branch.
16531 === Changes since 1.21.3 ===
16532 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
16533 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
16534 * (bug 58472) SECURITY: Disallow -o-link in styles
16535 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
16536 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
16538 == MediaWiki 1.21.3 ==
16539 This is a security and maintenance release of the MediaWiki 1.21 branch.
16541 === Changes since 1.21.2 ===
16542 * (bug 53032) SECURITY: Don't cache when a call could autocreate
16543 * (bug 55332) SECURITY: Improve css javascript detection
16544 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
16545 * Fix comma errors in various js files
16546 * Translations
16548 == MediaWiki 1.21.2 ==
16549 This is a security and maintenance release of the MediaWiki 1.21 branch.
16551 === Changes since 1.21.1 ===
16552 * SECURITY: Fix extension detection with 2 .'s
16553 * SECURITY: Support for the 'gettoken' parameter to action=block and
16554   action=unblock, deprecated since 1.20, has been removed.
16555 * SECURITY: Sanitize ResourceLoader exception messages
16556 * Purge upstream caches when deleting file assets.
16557 * Unit test suite now runs the AutoLoader tests. Also fixed the autoloading
16558   entry for the PageORMTableForTesting class though it had no impact.
16560 == MediaWiki 1.21.1 ==
16561 This is a maintenance release of the MediaWiki 1.21 branch.
16563 === Changes since 1.21.0 ===
16564 * An incorrect version number was used for 1.21.0. 1.21.1 has the correct
16565   number.
16566 * A problem with the Oracle SQL table creation was fixed.
16567 * (PdfHandler extension) Fix warning if pdfinfo fails but pdftext succeeds.
16569 == MediaWiki 1.21.0 ==
16571 === Configuration changes in 1.21 ===
16572 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
16573 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
16574   instead.
16575 * (bug 39957) Added $wgUnwatchedPageThreshold, specifying minimum count
16576   of page watchers required for the number to be accessible to users
16577   without the unwatchedpages permission.
16578 * $wgBug34832TransitionalRollback has been removed.
16579 * (bug 29472) $wgUseDynamicDates has been removed and its functionality
16580   disabled.
16582 === New features in 1.21 ===
16583 * (bug 38110) Schema changes (adding or dropping tables, indices and
16584   fields) can be now be done separately from other changes that
16585   update.php makes.  This is useful in environments that use database
16586   permissions to restrict schema changes but allow the DB user that
16587   MediaWiki normally runs as to perform other changes that update.php
16588   makes.  Schema changes can be run separately.  See the file UPGRADE
16589   for more information.
16590 * (bug 34876) jquery.makeCollapsible has been improved in performance.
16591 * Added ContentHandler facility to allow extensions to support other content
16592   than wikitext. See docs/contenthandler.txt for details.
16593 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
16594   and desktop displays (configurable with $wgResponsiveImages).
16595 * Added new backend to represent and store information about sites and site
16596   specific configuration.
16597 * jQuery upgraded from 1.8.2 to 1.8.3.
16598 * jQuery UI upgraded from 1.8.23 to 1.8.24.
16599 * Added separate fa_sha1 field to filearchive table. This allows sha1
16600   searches with the api in miser mode for deleted files.
16601 * Add initial and programmatic sorting for tablesorter.
16602 * Add the event "sortEnd.tablesorter", triggered after sorting has completed.
16603 * The Job system was refactored to allow for different backing stores for
16604   queues as well as cross-wiki access to queues, among other things. The schema
16605   for the DB queue was changed to support better concurrency and reduce
16606   deadlock errors.
16607 * Added ApiQueryORM class to facilitate creation of query API modules based on
16608   tables that have a corresponding ORMTable class.
16609 * (bug 40876) Icon for PSD (Adobe Photoshop) file types.
16610 * (bug 40641) Implemented Special:Version/Credits with a list of contributors.
16611 * (bug 7851) Implemented one-click AJAX patrolling.
16612 * The <data>, <time>, <meta>, and <link> elements are allowed within WikiText
16613   for use with Microdata.
16614 * The HTML5 <mark> tag has been whitelisted.
16615 * Added ParserCloned hook for when the Parser object is cloned.
16616 * Added AlternateEditPreview hook to allow extensions to replace the page
16617   preview from the edit page.
16618 * Added EditPage::showStandardInputs:options hook to allow extensions to add
16619   new fields to the "editOptions" area of the edit form.
16620 * Upload stash DB schema altered to improve upload performance.
16621 * The following global functions are now reporting deprecated warnings in
16622   debug mode: wfMsg, wfMsgNoTrans, wfMsgForContent, wfMsgForContentNoTrans,
16623   wfMsgReal, wfMsgGetKey, wfMsgHtml, wfMsgWikiHtml, wfMsgExt, wfEmptyMsg. Use
16624   the Message class, or the global method wfMessage.
16625 * Added $wgEnableCanonicalServerLink, off by default. If enabled, a
16626   <link rel=canonical> tag is added to every page indicating the correct server
16627   to use.
16628 * Debug message emitted by wfDebugLog() will now be prefixed with the group
16629   name when its logged to the default log file. That is the case whenever the
16630   group has no key in wgDebugLogGroups, that will help triage the default log.
16631 * (bug 24620) Add types to LogFormatter.
16632 * jQuery JSON upgraded from 2.3 to 2.4.0.
16633 * Added GetDoubleUnderscoreIDs hook, for modifying the list of magic words.
16634 * DatabaseUpdater class has two new methods to ease extensions schema changes:
16635   dropExtensionIndex and renameExtensionIndex.
16636 * New preference type - 'api'. Preferences of this type are not shown on
16637   Special:Preferences, but are still available via the action=options API.
16638 * (bug 39397) Hide rollback link if a user is the only contributor of the page.
16639 * $wgPageInfoTransclusionLimit limits the list size of transcluded articles
16640   on the info action. Default is 50.
16641 * Added action=createaccount to allow user account creation.
16642 * (bug 40124) action=options API also allows for setting of arbitrary
16643   preferences, provided that their names are prefixed with 'userjs-'. This
16644   officially reenables the feature that was undocumented and defective
16645   in MW 1.20 (saving preferences using Special:Preferences cleared any
16646   additional fields) and which has been disabled in 1.20.1 as a part of
16647   a security fix (bug 42202).
16648 * Added option to specify "others" as author in extension credits using
16649   "..." as author name.
16650 * Added the ability to limit the wall clock time used by shell processes,
16651   as well as the CPU time. Configurable with $wgMaxShellWallClockTime.
16652 * Allow memory of shell subprocesses to be limited using Linux cgroups
16653   instead of ulimit -v, which tends to cause deadlocks in recent versions
16654   of ImageMagick. Configurable with $wgShellCgroup.
16655 * Added $wgWhitelistReadRegexp for regex whitelisting.
16656 * (bug 5346) Categories that are redirects will be displayed italic in
16657   the category links section at the bottom of a page.
16658 * (bug 43915) New maintenance script deleteEqualMessages.php.
16659 * You can now create checkbox option matrices through the HTMLCheckMatrix
16660   subclass in HTMLForm.
16661 * WikiText now permits the use of WAI-ARIA's role="presentation" inside of
16662   html elements and tables. This allows presentational markup, especially
16663   tables. To be marked up as such.
16664 * maintenance/sql.php learned the --cluster option. Let you run the script
16665   on some external cluster instead of the primary cluster for a given wiki.
16666 * (bug 20281) test the parsing of inline URLs.
16667 * Added Special:PagesWithProp, which lists pages using a particular page
16668   property.
16669 * Implemented language-specific collations for category sorting for 67 languages
16670   based in latin, greek and cyrillic alphabets. This allows one to *finally* get
16671   articles to be correctly sorted on category pages. They are named
16672   'uca-<langcode>', where <langcode> is one of: af, ast, az, be, bg, br, bs, ca,
16673   co, cs, cy, da, de, dsb, el, en, eo, es, et, eu, fi, fo, fr, fur, fy, ga, gd,
16674   gl, hr, hsb, hu, is, it, kk, kl, ku, ky, la, lb, lt, lv, mk, mo, mt, nl, no,
16675   oc, pl, pt, rm, ro, ru, rup, sco, sk, sl, smn, sq, sr, sv, tk, tl, tr, tt, uk,
16676   uz, vi.
16677 * Added 'CategoryAfterPageAdded' and 'CategoryAfterPageRemoved' hooks.
16678 * Added 'HistoryRevisionTools' and 'DiffRevisionTools' hooks.
16679 * Added 'SpecialSearchResultsPrepend' and 'SpecialSearchResultsAppend' hooks.
16680 * (bug 33186) Add image rotation api "imagerotate"
16681 * (bug 34040) Add "User rights management" link on user page toolbox.
16682 * (bug 45526) Add QUnit assertion helper "QUnit.assert.htmlEqual" for asserting
16683   structual equality of HTML (ignoring insignificant differences like
16684   quotmarks, order and whitespace in the attribute list).
16685 * (bug 23393) HTML <hN> headings containing line breaks are now handled
16686   correctly.
16687 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
16688   is now non-significant and not preserved in the HTML output.
16690 === Bug fixes in 1.21 ===
16691 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
16692 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
16693 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
16694 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
16695   recentchanges table.
16696 * (bug 32951) Do not register internal externals with absolute protocol,
16697   when server has relative protocol.
16698 * (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE
16699   method requests, we now send a Host header by default, for Varnish
16700   compatibility. This also works with Squid in reverse-proxy mode. If you wish
16701   to support Squid configured in forward-proxy mode, set
16702   $wgSquidPurgeUseHostHeader to false.
16703 * (bug 37020) sql.php with readline eats semicolon.
16704 * (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
16705   disabled, and don't wrap HTML-syntax definition lists in paragraphs.
16706 * (bug 41409) Diffs while editing an old revision should again diff against the
16707   current revision.
16708 * (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions
16709   caught during API execution.
16710 * (bug 37963) Fixed loading process for user options.
16711 * (bug 26995) Update filename field on Upload page after having sanitized it.
16712 * (bug 41793) Contribution links to users with 0 edits on Special:ListUsers
16713   didn't show up red.
16714 * (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API
16715   parameter.
16716 * (bug 42036) Account creation emails now contain canonical (not
16717   protocol-relative) URLs.
16718 * (bug 41990) Fix regression: API edit with redirect=true and lacking
16719   starttimestamp and basetimestamp should not cause an edit conflict.
16720 * (bug 41706) EditPage: Preloaded page should be converted if possible and
16721   needed.
16722 * (bug 41886) Rowspans are no longer exploded by tablesorter until the table is
16723   actually sorted.
16724 * (bug 2865)  User interface HTML elements don't use lang attribute.
16725   (completed the fix by adding the lang attribute to firstHeading).
16726 * (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories.
16727 * (bug 36053) Log in "returnto" feature forgets query parameters if no
16728   title parameter was specified.
16729 * (bug 42410) API action=edit now returns correct timestamp for the new edit.
16730 * (bug 14901) Email notification mistakes log action for new page creation.
16731   Enotif no longer sends "page has been created" notifications for some log
16732   actions. The following events now have a correct message: page creation,
16733   deletion, move, restore (undeletion), change (edit). Parameter
16734   $CHANGEDORCREATED is deprecated in 'enotif_body' and scheduled for removal in
16735   MediaWiki 1.23.
16736 * (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based
16737   skins, the heading levels have been changed from (variously per skin)
16738   <h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them.
16739   If you are styling or scripting the headings in a custom way, this change
16740   will require updates to your site's CSS or JS.
16741 * (bug 41342) jquery.suggestions should cancel any active (async) fetches
16742   before it triggers another fetch.
16743 * (bug 42184) $wgUploadSizeWarning missing second variable.
16744 * (bug 34581) removeUnusedAccounts.php maintenance script now ignores newuser
16745   log when determining whether an account is used.
16746 * (bug 43379) Gracefully fail if rev_len is unavailable for a revision on the
16747   History page.
16748 * (bug 42949) API no longer assumes all exceptions are MWException.
16749 * (bug 41733) Hide "New user message" (.usermessage) element from printable
16750   view.
16751 * (bug 39062) Special:Contributions will display changes that don't have
16752   a parent id instead of just an empty bullet item.
16753 * (bug 37209) "LinkCache doesn't currently know about this title" error fixed.
16754 * wfMerge() now works if $wgDiff3 contains spaces
16755 * (bug 43052) mediawiki.action.view.dblClickEdit.dblClickEdit should trigger
16756   ca-edit click instead opening URL directly.
16757 * (bug 43964) Invalid value of "link" parameter in <gallery> no longer produces
16758   a fatal error.
16759 * (bug 44775) The username field is not pre-filled when creating an account.
16760 * (bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:"
16761   URL without address
16762 * (bug 45012) Creating an account by e-mail can no longer show a
16763   "password mismatch" error.
16764 * (bug 44599) On Special:Version, HEADs for submodule checkouts (e.g. for
16765   extensions) performed using Git 1.7.8+ should now appear.
16766 * (bug 42184) $wgUploadSizeWarning missing second variable
16767 * (bug 40326) Check if files exist with a different extension during uploading
16768 * (bug 34798) Updated CSS for Atom/RSS recent changes feeds to match on-wiki
16769   diffs.
16770 * (bug 42430) Calling numRows on MySQL no longer propagates unrelated errors.
16771 * (bug 44719) Removed mention of non-existing maintenance/migrateCurStubs.php
16772   script in includes/DefaultSettings.php
16773 * (bug 45143) jquery.badge: Treat non-Latin variants of zero as zero as well.
16774 * (bug 46151) mwdocgen.php should not ignore exit code of doxygen command.
16775 * (bug 41889) Fix $.tablesorter rowspan exploding for complex cases.
16777 === API changes in 1.21 ===
16778 * prop=revisions can now report the contentmodel and contentformat.
16779   See docs/contenthandler.txt.
16780 * action=edit and action=parse now support contentmodel and contentformat
16781   parameters to control the interpretation of page content.
16782   See docs/contenthandler.txt for details.
16783 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing
16784   metadata.
16785 * (bug 40111) Disable minor edit for page/section creation by API.
16786 * (bug 41042) Revert change to action=parse&page=... behavior when the page
16787   does not exist.
16788 * (bug 27202) Add timestamp sort to list=allimages.
16789 * (bug 43137) Don't return the sha1 of revisions through the API if the content
16790   is revision-deleted.
16791 * ApiQueryImageInfo now also returns imageinfo for redirects.
16792 * list=alltransclusions added to enumerate every instance of page embedding
16793 * list=alllinks & alltransclusions now allow both 'from' and 'continue' in
16794   the same query. When both are present, 'from' is simply ignored.
16795 * list=alllinks & alltransclusions now allow 'unique' in generators, to yield
16796   a list of all link/template target pages instead of source pages.
16797 * BREAKING CHANGE: list=logevents output format changed for details of some log
16798   types. Specifically, details that were formerly reported under a key like
16799   "4::foo" will now be reported under a key of simply "foo".
16800 * BREAKING CHANGE: '??_badcontinue' error code was changed to '??badcontinue'
16801   for all query modules.
16802 * ApiQueryBase adds 'badcontinue' error code if module has 'continue' parameter.
16803 * (bug 35885) Removed version parameter and all getVersion() methods.
16804 * action=options now takes a "resetkinds" option, which allows only resetting
16805   certain types of preferences when the "reset" option is set.
16806 * (bug 36751) ApiQueryImageInfo now returns imageinfo for the redirect target
16807   when queried with &redirects=.
16808 * (bug 31849) ApiQueryImageInfo no longer gets confused when asked for info on
16809   a redirect and its target.
16810 * (bug 43849) ApiQueryImageInfo no longer throws exceptions with ForeignDBRepo
16811   redirects.
16812 * On error, any warnings generated before that error will be shown in the
16813   result.
16814 * action=help supports generalized submodules (modules=query+value),
16815   querymodules obsolete
16816 * ApiQueryImageInfo continuation is more reliable. The only major change is
16817   that the imagerepository property will no longer be set on page objects not
16818   processed in the current query (i.e. non-images or those skipped due to
16819   iicontinue).
16820 * Add supports for all pageset capabilities - generators, redirects,
16821   converttitles to action=purge and action=setnotificationtimestamp.
16822 * (bug 43251) prop=pageprops&ppprop= now accepts multiple props to query.
16823 * ApiQueryImageInfo will now limit the number of calls to File::transform made
16824   in any one query. If there are too many, iicontinue will be returned.
16825 * action=query&meta=siteinfo&siprop=general will now return the regexes used for
16826   link trails and link prefixes. Added for Parsoid support.
16827 * Added an API query module list=pageswithprop, which lists pages using a
16828   particular page property.
16829 * Added an API query module list=pagepropnames, which lists all page prop names
16830   currently in use on the wiki.
16831 * (bug 44921) ApiMain::execute() will now return after the CORS check for an
16832   HTTP OPTIONS request.
16833 * (bug 44923) action=upload works correctly if the entire file is uploaded in
16834   the first chunk.
16835 * Added 'continue=' parameter to streamline client iteration over complex query
16836   results
16837 * (bug 44909) API parameters may now be marked as type "upload", which is now
16838   used for action=upload's 'file' and 'chunk' parameters. This type will raise
16839   an error during parameter validation if the parameter is given but not
16840   recognized as an uploaded file.
16841 * (bug 44244) prop=info may now return the number of people watching each page.
16842 * (bug 33304) list=allpages will no longer return duplicate entries when
16843   querying protection.
16844 * (bug 33304) list=allpages will now find really old indefinite protections.
16845 * (bug 45937) meta=allmessages will report a syntactically invalid lang as a
16846   proper error instead of as an uncaught exception.
16847 * (bug 25325) added support for wlshow filtering (bots/anon/minor/patrolled)
16848   to action=feedwatchlist
16849 * WDDX formatted output will actually be formatted (and normal output will no
16850   longer be), and will no longer choke on booleans.
16852 === API internal changes in 1.21 ===
16853 * For debugging only, a new global $wgDebugAPI removes many API restrictions
16854   when true.
16855   Never use on the production servers, as this flag introduces security holes.
16856   Whenever enabled, a warning will also be added to all output.
16857 * ApiModuleManager now handles all submodules (actions,props,lists) and
16858   instantiation
16859 * Query stores prop/list/meta as submodules
16860 * ApiPageSet can now be used in any action to process titles/pageids/revids or
16861   any generator.
16862 * BREAKING CHANGE: ApiPageSet constructor now has two params instead of three,
16863   with only the first one keeping its meaning. ApiPageSet is now derived from
16864   ApiBase.
16865 * BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were
16866   deleted.
16867 * ApiQueryGeneratorBase::setGeneratorMode() now requires a pageset param.
16868 * $wgAPIGeneratorModules is now obsolete and will be ignored.
16869 * Added flags ApiResult::OVERRIDE and ADD_ON_TOP to setElement() and addValue()
16870 * Internal API calls will now include <warnings> in case of unused parameters
16872 === Languages updated in 1.21 ===
16874 MediaWiki supports over 350 languages. Many localisations are updated
16875 regularly. Below only new and removed languages are listed, as well as
16876 changes to languages because of Bugzilla reports.
16878 * South Azerbaijani (azb) added.
16879 * (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch').
16880 * (bug 45436) Autonym for pi (Pali) is now 'पालि' (was ''पाळि').
16881 * (bug 34977) Now formatted numbers in Spanish use space as separator
16882   for thousands, as mandated by the Real Academia Española.
16883 * (bug 35031) Kurdish formatted numbers now use period and comma
16884   as separators for thousands and decimals respectively.
16886 === Other changes in 1.21 ===
16887 * BREAKING CHANGE: (bug 44385) Removed the jquery.collapsibleTabs module and
16888   moved it to the Vector extension. It was entirely Vector-extension-specific,
16889   deeply interconnected with the extension, and this functionality really
16890   belongs to the extension instead of the skin anyway. In the unlikely case you
16891   were using it, you have to either copy it to your extension, or install the
16892   Vector extension (and possibly disable its features using config settings if
16893   you don't want them).
16894 * Experimental IBM DB2 support was removed due to lack of interest and
16895   maintainership
16896 * BREAKING CHANGE: Filenames of maintenance scripts were standardized into
16897   lowerCamelCase format, and made more explicit:
16898   - clear_stats.php -> clearCacheStats.php
16899   - clear_interwiki_cache.php -> clearInterwikiCache.php
16900   - initStats.php -> initSiteStats.php
16901   - proxy_check.php -> proxyCheck.php
16902   - stats.php -> showCacheStats.php
16903   - showStats.php -> showSiteStats.php.
16904   Class names were renamed accordingly:
16905   - clear_stats -> ClearCacheStats
16906   - InitStats -> InitSiteStats
16907   - CacheStats -> ShowCacheStats
16908   - ShowStats -> ShowSiteStats.
16909 * BREAKING CHANGE: (bug 38244) Removed the mediawiki.api.titleblacklist module
16910   and moved it to the TitleBlacklist extension.
16912 = MediaWiki 1.20 =
16914 == MediaWiki 1.20.8 ==
16915 This is a security release of the MediaWiki 1.20 branch.
16917 === Changes since 1.20.7 ===
16918 * (bug 53032) SECURITY: Don't cache when a call could autocreate
16919 * (bug 55332) SECURITY: Improve css javascript detection
16920 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
16921 * Fix comma errors in various js files
16922 * Translations
16924 == MediaWiki 1.20.7 ==
16925 This is a security release of the MediaWiki 1.20 branch.
16927 === Changes since 1.20.6 ===
16928 * SECURITY: Fix extension detection with 2 .'s
16929 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
16930 * SECURITY: Sanitize ResourceLoader exception messages
16931 * Purge upstream caches when deleting file assets.
16933 == MediaWiki 1.20.6 ==
16934 This is a security and maintenance release of the MediaWiki 1.20 branch.
16936 === Changes since 1.20.5 ===
16937 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
16938   chunks of upload, during the upload process.
16939 * (bug 44327) mediawiki.user: Use session ID instead of 1-year cross-session
16940   cookies
16941 * (bug 47202) wikibits: FF2Fixes.css should not be loaded in Firefox 20.
16942 * (bug 31044) Make ResourceLoader behave in read-only mode
16944 == MediaWiki 1.20.5 ==
16945 This is a security and maintenance release of the MediaWiki 1.20 branch.
16947 === Changes since 1.20.4 ===
16948 * (bug 46590) Add hook AbortChangePassword to Special:ChangePassword
16949 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
16950 * Localisation updates from http://translatewiki.net.
16951 * mwdocgen.php: Implement --version option.
16952 * Remove svnstat stuff used in Doxygen generation
16953 * (bug 43594) Correctly suppress warnings that were missed after the upstream
16954 * PHP change to E_STRICT being included in E_ALL.
16956 == MediaWiki 1.20.4 ==
16957 This is a security release of the MediaWiki 1.20 branch.
16959 === Changes since 1.20.3 ===
16960 * (bug 47251) SECURITY: Disable external entities in Import
16961 * (bug 46859) SECURITY: Disable external entities in XMLReader
16962 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
16964 == MediaWiki 1.20.3 ==
16965 This is a security and maintenance release of the MediaWiki 1.20 branch.
16967 === Changes since MediaWiki 1.20.2 ===
16968 * New preference type - 'api'. Preferences of this type are not shown on
16969   Special:Preferences, but are still available via the action=options API.
16970   (Unbreaks MLEB.)
16971 * (bug 44010) Context is passed to UserGetLanguageObject.
16972 * The recursion guard on RequestContext::getLanguage() was weakened.
16973 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
16974 * (bug 44024) Fixed problems in ObjectCache when using XCache.
16975 * (bug 44010) FauxRequest leaked cookie data from primary request.
16976 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
16977 * (bug 43518) API action=unblock should return the user name, not the full user
16978   object
16979 * (bug 45355) Prevent read of arbitrary files through mwdoc-filter.php
16981 == MediaWiki 1.20.2 ==
16982 This is a maintenance release of the MediaWiki 1.20 branch
16984 === Changes since MediaWiki 1.20.1 ===
16985 * (bug 42638) Fix API action=options&reset=1 & unit tests.
16986 * (bug 42370) Fixed backport of 60cc060 to use mDoneWrites — caused
16987 * (bug 42592) User rights, preferences and other things are not saving in
16988   1.20.1.
16990 == MediaWiki 1.20.1 ==
16991 This is a security release of the MediaWiki 1.20 branch
16993 === Changes since 1.20.0 ===
16994 * (bug 42202) Validate options to prevent html injection
16995 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
16996 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
16997 * Javscript Lint fixes
16998 * (bug 40632) Remove CleanupPresentationalAttributes feature
16999 * [Database] Fixed case where trx idle callbacks might be lost.
17001 == MediaWiki 1.20.0 ==
17003 === PHP 5.3 now required ===
17004 Since 1.20, the lowest supported version of PHP is now 5.3.2. Please
17005 upgrade PHP if you have not done so prior to upgrading MediaWiki.
17007 === Configuration changes in 1.20 ===
17008 * $wgGitRepositoryViewers defines a mapping from Git remote repository to the
17009   Gitweb instance URL used in Special:Version.
17010 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on
17011   servers using like nginx, lighttpd, and apache over fastcgi. MediaWiki now
17012   always extracts path info from REQUEST_URI if it's available.
17013 * The user right 'upload_by_url' is no longer given to sysops by default.
17014   This only affects installations which have $wgAllowCopyUploads set to true.
17015 * Removed f-prot support from $wgAntivirusSetup.
17016 * New variable $wgDBerrorLogTZ to provide dates in the error log in a
17017   different timezone than the wiki timezone set by $wgLocaltimezone.
17018 * New variables $wgDBssl and $wgDBcompress to enable SSL and compression for
17019   database connections, if either are available for the selected DB type.
17020 * $wgUseCombinedLoginLink now defaults to false, making MediaWiki output
17021   separate login and create account links by default.
17023 === New features in 1.20 ===
17024 * Added TitleIsAlwaysKnown hook which gets called when determining if a page
17025   exists.
17026 * Added NamespaceIsMovable hook which gets called when determining if pages in a
17027   certain namespace can be moved.
17028 * Added SpecialPageBeforeExecute hook which gets called before
17029   SpecialPage::execute.
17030 * Added SpecialPageAfterExecute hook which gets called after
17031   SpecialPage::execute.
17032 * Added ORMTable, ORMRow and ORMResult classes for additional abstraction of
17033   database interaction.
17034 * Added CacheHelper and associated SpecialCachedPage and CachedAction helper
17035   classes.
17036 * (bug 32341) Add upload by URL domain limitation.
17037 * &useskin=default will now always display the default skin. Useful for users
17038   with a preference for the non-default skin to look at something using the
17039   default skin.
17040 * (bug 27619) Remove preference option to display broken links as link?
17041 * (bug 34896) jQuery JSON plugin upgraded to v2.3 (2011-09-17).
17042 * (bug 34302) Add CSS classes to email fields in user preferences.
17043 * Introduced $wgDebugDBTransactions to trace transaction status (currently
17044   PostgreSQL only).
17045 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
17046 * Introduce a cryptographic random number generator source api for use when
17047   generating various tokens.
17048 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show
17049   redirects.
17050 * (bug 18062) New message when edit or create the local page of a shared file.
17051 * (bug 22870) Separate interface message when creating a page.
17052 * (bug 17615) nosummary option should be reassigned on preview/captcha.
17053 * (bug 34355) Add a variable and parser function for the namespace number.
17054 * (bug 35649) Special:Version now shows hashes of extensions checked out from
17055   git.
17056 * (bug 35728) Git revisions are now linked on Special:Version.
17057 * "Show Changes" on default messages shows now diff against default message text
17058 * (bug 23006) create #speciale parser function.
17059 * generateSitemap can now optionally skip redirect pages.
17060 * (bug 27757) New API command just for retrieving tokens (not page-based).
17061 * Added GitViewers hook for extensions using external git repositories to have a
17062   web-based repository viewer linked to from Special:Version.
17063 * Memcached debug logs can now be sent to their own file logs by setting
17064   $wgDebugLogFile['memcached'] to some filepath.
17065 * (bug 35685) api.php URL and other entry point URLs are now listed on
17066   Special:Version
17067 * Edit notices can now be translated.
17068 * jQuery upgraded to 1.8.2.
17069 * jQuery UI upgraded to 1.8.23.
17070 * QUnit upgraded from v1.2.0 to v1.10.0.
17071 * (bug 37604) jquery.cookie upgraded to 2011 version.
17072 * (bug 22887) Add warning and tracking category for preprocessor errors
17073 * (bug 31704) Allow selection of associated namespace on the watchlist
17074 * (bug 5445) Now remove autoblocks when a user is unblocked.
17075 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
17076   backtraces.
17077 * Added device detection for determining device capabilities.
17078 * QUnit.newMwEnvironment now supports passing a custom setup and/or teardown
17079   function. Arguments signature has changed. First arguments is now an options
17080   object of which 'config' can be a property. Previously 'config' itself was the
17081   first and only argument.
17082 * New getCreator and getOldestRevision methods added to WikiPage class
17083 * (bug 4220) the XML dump format schema now have unique identity constraints
17084   for page and revision identifiers. Patch by Elvis Stansvik.
17085 * cleanupSpam.php now can delete spam pages if --delete was specified instead of
17086   blanking them.
17087 * Added new hook ChangePasswordForm to allow adding of additional fields in
17088   Special:ChangePassword
17089 * Added new function getDomain to AuthPlugin for getting a user's domain
17090 * (bug 23427) New magic word {{PAGEID}} which gives the current page ID.
17091   Will be null on previewing a page being created.
17092 * (bug 37627) UserNotLoggedIn() exception to show a generic error page whenever
17093   a user is not logged in.
17094 * Watched status in changes lists are no longer indicated by <strong></strong>
17095   tags with class "mw-watched". Instead, each line now has a class
17096   "mw-changeslist-line-watched" or "mw-changeslist-line-not-watched", and the
17097   title itself is surrounded by <span></span> tags with class "mw-title".
17098 * Added ContribsPager::reallyDoQuery hook allowing extensions to data to
17099   MyContribs
17100 * Added new hook ParserAfterParse to allow extensions to affect parsed output
17101   after the parse is complete but before block level processing, link holder
17102   replacement, and so on.
17103 * (bug 34678) Added InternalParseBeforeSanitize hook which gets called during
17104   Parser's internalParse method just before the parser removes
17105   unwanted/dangerous HTML tags.
17106 * Added new hook AfterFinalPageOutput to allow modifications to buffered page
17107   output before sent to the client.
17108 * (bug 36783) Implement jQuery Promise interface in mediawiki.api module.
17109 * Make dates in sortable tables sort according to the page content language
17110   instead of the site content language
17111 * (bug 37926) Deleterevision will no longer allow users to delete log entries,
17112   the new deletelogentry permission is required for this.
17113 * (bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
17114   'files' and 'subcats'
17115 * (bug 38362) Make Special:Listuser includeable on wiki pages.
17116 * Added support in jquery.localize for placeholder attributes.
17117 * (bug 38151) Implemented mw.user.getRights for getting and caching the current
17118   user's user rights.
17119 * Session storage can now configured independently of general object cache
17120   storage, by using $wgSessionCacheType. $wgSessionsInMemcached has been
17121   renamed to $wgSessionsInObjectCache, with the old name retained for backwards
17122   compatibility. When this feature is enabled, the expiry time can now be
17123   configured with $wgObjectCacheSessionExpiry.
17124 * Added a Redis client for object caching.
17125 * Implemented mw.user.getGroups for getting and caching user groups.
17126 * (bug 37830) Added $wgRequirePasswordforEmailChange to control whether password
17127   confirmation is required for changing an email address or not.
17128 * HTMLForm mutators can now be chained (they return $this)
17129 * A new message, "api-error-filetype-banned-type", is available for formatting
17130   API upload errors due to the file extension blacklist.
17131 * New hook 'ParserTestGlobals' allows to set globals before running parser
17132   tests.
17133 * Allow importing pages as subpage.
17134 * Add lang and hreflang attributes to language links on Login page.
17135 * (bug 22749) Create Special:MostInterwikis.
17136 * Show change tags when transclude Special:Recentchanges(linked) or
17137   Special:Newpages.
17138 * (bug 23226) Add |class= parameter to image links in order to add class(es) to
17139   HTML img tag.
17140 * (bug 39431) SVG animated status is now shown in long description.
17141 * (bug 39376) jquery.form upgraded to 3.14.
17142 * SVG files will now show the actual width in the SVG's specified units
17143   in the metadata box.
17144 * Added ResourceLoader module "jquery.jStorage" (v0.3.0, http://jStorage.info/).
17145 * (bug 39273) Added AJAX support for "Show changes" (diff) in LivePreview.
17146 * Added ResourceLoader module "jquery.badge".
17147 * mw.util.$content now points to the overall content area in the skin rather
17148   than just page text content area. If you need the old behavior please use
17149   $( '#mw-content-text').
17150 * jsMessage has been replaced with a floating bubble notification system
17151   complete with auto-hide, multi-message support, and message replacement tags.
17152 * jquery.messageBox which appears to be unused by both core and extensions has
17153   been removed.
17154 * (bug 34939) Made link parsing insensitive ([HttP://]).
17155 * (bug 40072) Add CSS classes to items in output of ChangesList pages.
17156 * Added $wgCopyUploadProxy global to define which proxy to use for copy
17157   uploads.
17158 * (bug 40448) mediawiki.legacy.mwsuggest has been replaced with a new module,
17159   mediawiki.searchSuggest, based on SimpleSearch from Extension:Vector.
17161 === Known issues in 1.20.0 ===
17162 These are issues that we're targeting to be fixed in a later release
17163 in the 1.20 series.  Issues may be added or removed from this list as
17164 we see fit.  For now, it is comprised of those bugs on the 1.20.0
17165 milestone in Bugzilla.
17167 * (bug 35894): Reports of secret key generation "hanging" on windows
17168     This is probably a bug that has been fixed in PHP.  If you run
17169     into this, try upgrading your PHP.
17170 * (bug 38334): PHP Notice:  Undefined index: href in /www/w/skins/Vector.php on
17171   line 416
17172     We think this is a problem in some extension.  If you see this,
17173     try disabling your extensions and check out the logging patch on
17174     this bug.  Or try this patch:
17175     <https://gerrit.wikimedia.org/r/#/c/27937/1/skins/Vector.php>
17176 * (bug 39268): [Regression] Toolbar inserts in main textarea only (instead of
17177   the focussed textarea)
17178     This should only be an issue if you are using the ProofreadPage
17179     extension.
17180 * (bug 40641): Clicking "others" in Special:Version asks to download a file
17181     If you encounter this, you can tell your webserver to serve the
17182     CREDITS file with text/plain MIME type to fix it.
17184 === Bug fixes in 1.20 ===
17185 * (bug 40939): [Regression] InfoAction: Call to a member function getUserText()
17186   on a non-object
17187 * (bug 40780): searchsuggest-containing line ("containing...") doesn't include
17188   the entered text
17189 * (bug 37714): [Regression] Incomplete log entries
17190 * (bug 27202): API: Add timestamp sort to list=allimages
17191 * (bug 30245) Use the correct way to construct a log page title.
17192 * (bug 34237) Regenerate an empty user_token and save to the database
17193   when we try to set the user's cookies for login.
17194 * (bug 32210) New edit emails for watched pages always provide a link to the
17195   edit which triggered the mail.
17196 * (bug 12021) Added user talk link on Special:Listusers.
17197 * (bug 34445) section edit and TOC hide/show links are excluded from selection
17198   and copy/paste on supporting browsers.
17199 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
17200   history compression method.
17201 * (bug 34702) Localised parentheses are now used in more special pages.
17202 * (bug 34723) When editing a script page on a RTL wiki the textbox should be
17203   LTR.
17204 * (bug 34762) Calling close() on a DatabaseBase object now clears the
17205   connection.
17206 * (bug 34863) Show deletion log extract on non-existent file pages if
17207   applicable.
17208 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
17209   Special:MyPage and Special:MyTalk.
17210 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
17211   filter.
17212 * (bug 15816) Add a switch for SETting the search_path (Postgres).
17213 * (bug 34521) Returning to the previous page after logging in loses any array-
17214   valued parameters in the query string.
17215 * (bug 34735) Updated compressOld.php documentation to mention the different
17216   usages of -s and -n parameters depending on compression type.
17217 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
17218 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when
17219   trying to defer foreign key for externallinks.
17220 * (bug 32748) Printer friendly version of article decode Unicode chars as a
17221   pretty IRI in footer.
17222 * Removed white border around thumbnails in galleries.
17223 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
17224   an RTL environment.
17225 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
17226   Subversion when invoked with the --modified option.
17227 * (bug 35069) On history pages, the " . . " separator after the number of
17228   characters changed in a revision is now suppressed if no text would follow.
17229 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at
17230   RecentChanges
17231 * (bug 33564) transwiki import sometimes result in invalid title.
17232 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB
17233   structure
17234 * (bug 31757) Add a word-separator between help-messages in HTMLForm
17235 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
17236 * (bug 32604) Some messages needs escaping of wikitext inside username.
17237 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with
17238   wfCgiToArray.
17239 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
17240   in user language instead of content language.
17241 * (bug 35264) Wrong type used for <ns> in export.xsd
17242 * (bug 24985) Use $wgTmpDirectory as the default temp directory so that people
17243   who don't have access to /tmp can specify an alternative.
17244 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
17245 * (bug 35727) mw.Api ajax() should put token parameter last.
17246 * (bug 37708) mw.Uri.clone() should make a deep copy.
17247 * (bug 38024) ResourceLoader should not create empty stylesheets for modules
17248   that don't have stylesheets.
17249 * (bug 36812) Special:ActiveUsers "Hide bots" should hide users from any group
17250   having the "bot" user right, instead of just the default "bot" user group.
17251 * (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple <ul> tags.
17252 * (bug 36991) jquery.tablesorter should extract date sort format from date
17253   string instead of global config. Dates like "April 1 2012" and "1 April 2012"
17254   now sort correctly regardless of the content language's DefaultDateFormat.
17255 * (bug 31895) mw.loader mode now correct when triggered from a $.fn.ready
17256   handler that is bound before mediawiki.js's handler (e.g. browser-userscripts
17257   like greasemonkey).
17258 * (bug 38152) jquery.tablesorter: Use .data() instead of .attr(), so that live
17259   values are used instead of just the fixed values from when the tablesorter
17260   was initialized.
17261 * (bug 38093) Gender of changed user groups missing in Special:Log/rights
17262 * (bug 35893) Special:Block needs to load mediawiki.special.block.js.
17263 * (bug 37331) ResourceLoader modules sometimes execute twice in Firefox
17264 * (bug 31644) GlobalUsage, CentralAuth and AbuseLog extensions should not use
17265   insecure links to foreign wikis in the WikiMap.
17266 * (bug 36073) Avoid duplicate element IDs on File pages.
17267 * (bug 25095) Special:Categories should also include the first relevant item
17268   when "from" is filled.
17269 * (bug 35526) jquery.tablesorter now uses a stable sort.
17270 * (bug 38953) --memory-limit switch not working for runJobs.php.
17271 * (bug 33037) Make subpage of Special:newfiles control how many files
17272   are returned, like in previous versions.
17273 * (bug 36524) "Show" options on Special:RecentChanges and
17274   Special:RecentChangesLinked are now remembered between successive clicks.
17275 * (bug 26069) Page title is no longer "Error" for all error pages.
17276 * (bug 39297) Show warning if thumbnail of animated image will not be animated.
17277 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
17278   PCRE is compiled without support for unicode properties.
17279 * (bug 30390) Suggested file name on Special:Upload should not contain
17280   illegal characters.
17281 * EXIF below sea level GPS altitude data is now shown correctly.
17282 * (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a
17283   currency.
17284 * (bug 39273) "Show changes" should not be incorrectly displayed in the Live
17285   Preview state.
17286 * Made body-content lang attribute honor the variant language when it is set.
17287 * (bug 36761) "Mark pages as visited" now submits previously established filter
17288   options.
17289 * (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error.
17290 * (bug 36329) Accesskey tooltips for Firefox 14 on Mac should use "ctrl-option-"
17291   prefix.
17292 * (bug 32552) Drop unused database field cat_hidden from table category.
17293 * (bug 24502) Do not allow multiple language links to the same language.
17294 * (bug 40214) Category pages no longer use deprecated "width" HTML attribute.
17295 * (bug 39941) Add missing stylesheets to the installer pages
17296 * In HTML5 mode, allow new input element types values (such as color, range..)
17297 * (bug 36151) mw.Title: Don't limit extension in title parsing.
17298 * (bug 38158) jquery.byteLimit sometimes causes an unexpected 0 maxLength being
17299   enforced.
17300 * (bug 38163) jquery.byteLimit incorrectly limits input when using methods other
17301   than basic per-char typing.
17302 * (bug 34495) patrol log now credit the user patrolling (instead of patrolled
17303   user).
17304 * (bug 31676) ResourceLoader should work around IE stylesheet limit.
17305 * (bug 40498) ResourceLoader should not output an empty "@media print { }"
17306   block.
17307 * (bug 40500) ResourceLoader should not ignore media-type for urls in debug
17308   mode.
17309 * (bug 40660) ResourceLoaderWikiModule should not convert "&nbsp;" to a space
17310   for pages from the MediaWiki-namespace.
17311 * (bug 40329) (bug 40632) Removed CleanupPresentationalAttributes feature.
17313 === API changes in 1.20 ===
17314 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
17315 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
17316   the format parameter.
17317 * (bug 32384) Allow descending order for list=watchlistraw.
17318 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is
17319   not documented in API help.
17320 * (bug 32492) API now allows editing using pageid.
17321 * (bug 32497) API now allows changing of protection level using pageid.
17322 * (bug 32498) API now allows comparing pages using pageids.
17323 * (bug 30975) API import of pages with invalid characters in this wiki leads to
17324   Fatal Error.
17325 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per
17326   pageid.
17327 * (bug 34927) Output media_type for list=filearchive.
17328 * (bug 28814) add properties to output of action=parse.
17329 * (bug 33224) add variants of content language to meta=siteinfo.
17330 * (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit
17331   is reached.
17332 * The paraminfo module now also contains result properties for most modules.
17333 * (bug 32348) Allow descending order for list=alllinks.
17334 * (bug 31777) Upload unknown error ``fileexists-forbidden''.
17335 * (bug 32382) Allow descending order for list=iwbacklinks.
17336 * (bug 32381) Allow descending order for list=backlinks, list=embeddedin and
17337   list=imageusage.
17338 * (bug 32383) Allow descending order for list=langbacklinks.
17339 * API meta=siteinfo can now return the list of known variable IDs.
17340 * (bug 35980) list=deletedrevs now honors drdir correctly in "all" mode
17341   (mode #3).
17342 * (bug 29290) API avoids mangling fields in continuation parameters
17343 * (bug 36987) API avoids mangling fields in continuation parameters
17344 * (bug 30836) siteinfo prop=specialpagealiases will no longer return nonexistent
17345   special pages
17346 * (bug 38190) Add "required" flag to some token params for hint in api docs.
17347 * (bug 27567) Add file repo support to prop=duplicatefiles.
17348 * (bug 27610) Add archivename for non-latest image version to list=filearchive
17349 * (bug 38231) Add xml parse tree to action=parse.
17350 * Watchlist notification timestamp may be queried by page and may be updated via
17351   the API.
17352 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
17353 * (bug 39032) ApiQuery generates help in constructor.
17354 * (bug 11142) Improve file extension blacklist error reporting in API upload.
17355 * (bug 39665) List of query generators is now not built using reflection,
17356   instead it is defined in code.
17357 * (bug 35993) Deprecated gettoken parameter - support will be removed in 1.22.
17359 === Languages updated in 1.20 ===
17361 MediaWiki supports over 350 languages. Many localisations are updated
17362 regularly. Below only new and removed languages are listed, as well as
17363 changes to languages because of Bugzilla reports.
17365 * Emilian (egl) added.
17366 * Tornedalen Finnish (fit) added.
17367 * Mizo (lus) added.
17368 * Santali (sat) added.
17369 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
17370 * (bug 35541) Namespace gender aliases for Croatian (hr).
17371 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
17372   Portuguese, Esperanto and Udmurt.
17373 * Turoyo (tru) added.
17374 * Cyrillic-Latin language converter added for Uzbek (uz).
17376 === Other changes in 1.20 ===
17377 * The user_token field is now left empty until a user attempts to login and
17378   cookies need to be set. It is also now possible to reset every user's
17379   user_token simply by clearing the values in the user_token column.
17380 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
17381   has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
17382   which actually uses ResourceLoader, LocalSettings and the Skin.
17383 * Removed $wgDBtransactions global. This was only checked in one class
17384   and only applies to MyISAM or similar DBs. Those should only be used
17385   for archived sites anyway. We can't get edit conflicts on such sites,
17386   so the WikiPage code wasn't useful there either.
17387 * Deprecated mw.user.name in favour of mw.user.getName.
17388 * Deprecated mw.user.anonymous in favour of mw.user.isAnon.
17389 * Deprecated DatabaseBase functions newFromParams(), newFromType(), set(),
17390   quote_ident(), and escapeLike() were removed.
17391 * Use of __DIR__ instead of dirname( __FILE__ ).
17392 * OutputPage::wrapWikiMsg() no longer supports the 'options' parameter. It was
17393   not used and complicated migration to Message class.
17394 * Live preview functionality has been improved and moved into the
17395  'mediawiki.action.edit.preview' module. The old 'mediawiki.legacy.preview'
17396   module has been removed.
17397 * (bug 40448) Removed mediawiki.legacy.mwsuggest module, and removed the
17398   following that has become obsolete:
17399   - globals $wgEnableMWSuggest and $wgMWSuggestTemplate.
17400   - mw.config.values wgMWSuggestTemplate and wgSearchNamespaces.
17401   - method SearchEngine::getMWSuggestTemplate().
17403 == MediaWiki 1.19 ==
17405 == MediaWiki 1.19.24 ==
17407 This is a security and maintenance release of the MediaWiki 1.19 branch.
17409 === Changes since 1.19.23 ===
17411 * ({{bug|T85848}}, {{bug|T71210}}) SECURITY: Don't parse XMP blocks that
17412 contain XML entities, to prevent various DoS attacks.
17413 * ({{bug|T88310}}) SECURITY: Always expand xml entities when checking SVG's.
17414 * ({{bug|T73394}}) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
17415 * ({{bug|T85855}}) SECURITY: Don't execute another user's CSS or JS on preview.
17416 * ({{bug|T85349}}, {{bug|T85850}}, {{bug|T86711}}) SECURITY: Multiple issues
17417 fixed in SVG filtering to prevent XSS and protect viewer's privacy.
17419 == MediaWiki 1.19.23 ==
17421 This is a security and maintenance release of the MediaWiki 1.19 branch.
17423 === Changes since 1.19.22 ===
17425 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
17426 could lead to xss. Permission to edit MediaWiki namespace is required to
17427 exploit this.
17428 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
17429 * Add missing $ in front of variable in OutputPage.php
17431 == MediaWiki 1.19.22 ==
17433 This is a security and maintenance release of the MediaWiki 1.19 branch.
17435 === Changes since 1.19.21 ===
17437 * ({{bug|66776}}, {{bug|71478}}) SECURITY:  User PleaseStand reported a way to
17438 inject code into API clients that used format=php to process pages that
17439 underwent flash policy mangling. This was fixed along with improving how the
17440 mangling was done for format=json, and allowing sites to disable the mangling
17441 using $wgMangleFlashPolicy.
17442 * ({{bug|72222}}) SECURITY: Do not show log action when the entry is revdeleted
17443 with DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
17444 public RFC about the desired functionality. This issue was reported by user
17445 Bawolff.
17446 * ({{bug|71621}}) Make allowing site-wide styles on restricted special pages a
17447 config option.
17448 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
17449 might be a flash policy directive configurable.
17451 == MediaWiki 1.19.21 ==
17452 This is a maintenance release of the MediaWiki 1.19 branch.
17454 === Changes since 1.19.20 ===
17455 * (bug 67440) Allow classes to be registered properly from installer.
17456 * (bug 47281) Fixed a dumpBackup.php error with --uploads
17457  --include-filesoptions: Unable to find the wrapper "mwstore".
17458 * System administrators are encouraged to upgrade to this release or 1.22+ and
17459   produce a full data dump.
17460   https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
17461 * (bug 63049) Removed anonymous functions from ApiFormatBase, added in1.19.13 as
17462   part of the fix for bug 61362, for PHP 5.2 compatibility.
17464 == MediaWiki 1.19.20 ==
17465 This is a security release of the MediaWiki 1.19 branch.
17467 === Changes since 1.19.19 ===
17468 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
17469   allowance.
17471 == MediaWiki 1.19.19 ==
17472 This is a security release of the MediaWiki 1.19 branch.
17474 === Changes since 1.19.18 ===
17475 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
17476   elements; normalize style elements and attributes before filtering; add checks
17477   for attributes that contain css; add unit tests for html5sec and reported
17478   bugs.
17480 == MediaWiki 1.19.18 ==
17481 This is a security release of the MediaWiki 1.19 branch.
17483 === Changes since 1.19.17 ===
17484 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
17485 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
17486   ParserOutput.
17488 == MediaWiki 1.19.17 ==
17489 This is a security and maintenance release of the MediaWiki 1.19 branch.
17491 === Changes since 1.19.16 ===
17492 * (bug 65839) SECURITY: Prevent external resources in SVG files.
17493 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
17494   only extracting the tail of the file partially or not at all.
17496 == MediaWiki 1.19.16 ==
17497 This is a security release of the MediaWiki 1.19 branch.
17499 === Changes since 1.19.15 ===
17500 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
17501   Special:PasswordReset.
17503 == MediaWiki 1.19.15 ==
17504 This is a security and maintenance release of the MediaWiki 1.19 branch.
17506 === Changes since 1.19.14 ===
17507 Fixed resetting passwords.
17508 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
17509   appear blank or with missing text.
17511 == MediaWiki 1.19.14 ==
17512 This is a security and maintenance release of the MediaWiki 1.19 branch.
17514 === Changes since 1.19.13 ===
17515 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
17516 * (bug 62467) Set a title for the context during import on the cli.
17518 == MediaWiki 1.19.13 ==
17519 This is a security and maintenance release of the MediaWiki 1.19 branch.
17521 === Changes since 1.19.12 ===
17522 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
17523 * Use the correct branch of the extensions' git repositories.
17525 == MediaWiki 1.19.12 ==
17526 This is a security release of the MediaWiki 1.19 branch.
17528 === Changes since 1.19.11 ===
17529 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
17530   namespaces. Also disallow iframe elements. * User will get an error including
17531   the namespace name if they use a non- whitelisted namespace.
17532 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
17533   our token comparison would be vulnerable to timing attacks. This will take
17534   constant time.
17536 == MediaWiki 1.19.11 ==
17537 This is a security release of the MediaWiki 1.19 branch.
17539 === Changes since 1.19.10 ===
17540 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
17541   formats
17543 == MediaWiki 1.19.10 ==
17544 This is a security release of the MediaWiki 1.19 branch.
17546 === Changes since 1.19.9 ===
17547 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
17548 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
17549 * (bug 58472) SECURITY: Disallow -o-link in styles
17550 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
17551 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
17553 == MediaWiki 1.19.9 ==
17554 This is a security and maintenance release of the MediaWiki 1.19 branch.
17556 === Changes since 1.19.8 ===
17557 * (bug 53032) SECURITY: Don't cache when a call could autocreate
17558 * (bug 55332) SECURITY: Improve css javascript detection
17559 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
17560 * Translations
17562 == MediaWiki 1.19.8 ==
17563 2013-09-03
17565 This is a security and maintenance release of the MediaWiki 1.19 branch.
17567 === Changes since 1.19.7 ===
17568 * SECURITY: Sanitize ResourceLoader exception messages
17569 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
17570 * SECURITY: Fix extension detection with 2 .'s
17571 * Allow a string other than '*' as condition for DatabaseBase::delete()
17572 * Purge upstream caches when deleting file assets.
17573 * jquery.tablesorter: Add missing dependency on jquery.mwExtension
17575 == MediaWiki 1.19.7 ==
17576 2013-05-21
17578 This is a security release of the MediaWiki 1.19 branch
17580 === Changes since 1.19.6 ===
17581 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
17582   chunks of upload, during the upload process.
17584 == MediaWiki 1.19.6 ==
17585 2013-04-30
17587 This is a security and maintenance release of the MediaWiki 1.19 branch
17589 === Changes since 1.19.5 ===
17590 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
17591 * (bug 46590) Added AbortChangePassword hook to allow extensions to abort
17592   password changes from Special:ChangePassword
17593 * Localisation updates from http://translatewiki.net.
17594 * mwdocgen.php: Implement --version option.
17595 * Remove svnstat stuff used in Doxygen generation
17596 * E_USER_DEPRECATED undefined prior to php 5.3
17598 == MediaWiki 1.19.5 ==
17599 2013-04-15
17601 This is a security and maintenance release of the MediaWiki 1.19 branch
17603 === Changes since 1.19.4 ===
17604 * (bug 47251) SECURITY: Disable external entities in Import
17605 * (bug 46859) SECURITY: Disable external entities in XMLReader
17606 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
17607 * (bug 43594) Fix notices displayed on PHP 5.4
17608 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
17610 == MediaWiki 1.19.4 ==
17611 2013-03-04
17613 This is a security release of the MediaWiki 1.19 branch
17615 === Changes since 1.19.3 ===
17616 * New preference type - 'api'. Preferences of this type are not shown on
17617   Special:Preferences, but are still available via the action=options API.
17618 * (bug 44010) Context is passed to UserGetLanguageObject.
17619 * The recursion guard on RequestContext::getLanguage() was weakened.
17620 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
17621 * (bug 43518) API action=unblock should return the user name, not the full user
17622   object
17624 == MediaWiki 1.19.3 ==
17625 2012-11-30
17627 This is a security release of the MediaWiki 1.19 branch
17629 === Changes since 1.19.2 ===
17630 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
17631 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
17632 * Increase permitted runtime for testParserTest (only used for continuous
17633   integration).
17634 * Updated messages translations from http://translatewiki.net/
17636 == MediaWiki 1.19.2 ==
17638 This is a security release of the MediaWiki 1.19 branch
17640 === Changes since 1.19.1 ===
17641 * (bug 39700) File: link to non-existing file can inject html
17642 * (bug 39823) Hidden block text leaking to admins
17643 * (bug 39184) LDAP password leakage
17644 * (bug 39180) Disallow framing of api results
17645 * (bug 37587) Enforce language codes to be html safe
17646 * (bug 39824) Check global blocks on account creation
17648 == MediaWiki 1.19 ==
17650 MediaWiki 1.19 is a large release that contains many new features and bug
17651 fixes. This is a summary of the major changes of interest to users.
17652 You can consult the RELEASE-NOTES-1.19 file for the full list of changes in
17653 this version.
17655 Our thanks go to everyone who helped to improve MediaWiki by testing the beta
17656 release and submitting bug reports.
17658 === Changes since 1.19.1 ===
17659 * (bug 38406) Properly quote table names in DatabaseBase::tableName()
17660 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
17661   PCRE is compiled without support for unicode properties.
17663 === Changes since 1.19.0 ===
17664 * (bug 36568) Fixed "Illegal string offset 'LIMIT'" warnings in updater
17665 * (bug 36938) Correctly escape uselang attribute to prevent xss
17666 * Expanded Blacklist for SVG Files
17668 === Changes since 1.19 beta 2 ===
17669 * Special:Watchlist no longer sets links to feed when the user is anonymous.
17670 * (bug 35961) Hash comparison should always be strict.
17671 * Fix broken email confirmation expiration caused by MWCryptRand changes.
17672 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
17673   on line 598.
17674 * (bug 36042) 'show' causes a fatal in blocks API.
17676 === Changes since 1.19 beta 1 ===
17677 * (bug 35014) Including a special page no longer sets the page's title to the
17678   included page
17679 * (bug 35019) Edit summaries are no longer transformed in notification e-mails
17680 * (bug 35152) Help message for e-mail is shown again in user preferences
17681 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
17682   "movepage-moved"
17683 * (bug 34841) Edit links are no longer displayed when display old page versions
17684 * (bug 34889) User name should be normalized on Special:Contributions
17685 * (bug 35051) If heading has a trailing space after == then its name is not
17686   preloaded into edit summary on section edit
17687 * (bug 31417) New ID mw-content-text around the actual page text, without
17688   categories, contentSub, ... The same div often also contains the class
17689   mw-content-ltr/rtl.
17690 * (bug 35303) Proxy and DNS blacklist blocking works again
17691 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
17692   core parser functions which operate on strings, such as padleft.
17693 * (bug 18295) Don't expose strip markers when a tag appears inside a link
17694   inside a heading.
17695 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
17696   parameter present.
17697 * (bug 34907) Fixed exposure of tokens through load.php that could have
17698   facilitated CSRF attacks.
17699 * (bug 35317) CSRF in Special:Upload.
17701 === Configuration changes in 1.19 ===
17702 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
17703 * (bug 27132) movefile right granted by default to registered users.
17704 * Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
17705 * (bug 31204) Removed old user.user_options.
17706 * $wgMaxImageArea now applies to jpeg files if they are not scaled with
17707   ImageMagick.
17708 * Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of
17709   items to show by default on query pages (special pages such as Whatlinkshere).
17710 * (bug 32470) Increase the length of ug_group.
17711 * (bug 32239) Removed $wgEnableTooltipsAndAccesskeys.
17712 * Removed $wgVectorShowVariantName.
17713 * Removed $wgExtensionAliasesFiles. Use $wgExtensionMessagesFiles.
17714 * Removed $wgResourceLoaderInlinePrivateModules , now always enabled.
17716 === New features in 1.19 ===
17717 * (bug 19838) Add ability to get all interwiki prefixes also if the interwiki
17718   cache is used.
17719 * $wgDnsBlacklistUrls now accepts an array with url and key as the
17720   elements to work with DNSBLs that require keys, such as
17721   Project Honeypot.
17722 * (bug 30022) Add support for custom loadScript sources to ResourceLoader.
17723 * (bug 19052) Unicode space separator characters (Zs) now terminates external
17724   links and images links.
17725 * (bug 30160) Add public method to mw.loader to get module names from registry.
17726 * (bug 15558) Parameters to special pages included in wikitext can now be passed
17727   as with templates.
17728 * Installer now issues a warning if mod_security is present.
17729 * (bug 29455) Add support for a filter callback function in jQuery byteLimit
17730   plugin.
17731 * Added two new GetLocalURL hooks to better serve extensions working on a
17732   limited type of titles.
17733 * Added a --no-updates flag to importDump.php that skips updating the links
17734   tables.
17735 * Most presentational html attributes like valign are now converted to inline
17736   css style rules. These attributes were removed from html5 and so we clean
17737   them up when $wgHtml5 is enabled. This can be disabled using
17738   $wgCleanupPresentationalAttributes.
17739 * Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not
17740   NAMESPACE) now depend on the page content language instead of the site
17741   language. In theory this sets the right magic words in system messages,
17742   although they are not used there.
17743 * (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent.
17744 * (bug 30450) Clear page_props table on page deletion.
17745 * Hook added to check for exempt from account creation throttle.
17746 * (bug 30344) Add configuration variable for setting custom priorities when
17747   generating sitemaps.
17748 * (bug 96170) Add array support for space-separated list attributes (like
17749   'class') in the Html helper class.
17750 * (bug 26470) Add checkered background image on hover on files pages.
17751 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
17752   attribute values and element contents.
17753 * Conversion script between Tifinagh and Latin for the Tachelhit language.
17754 * (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}}
17755   to stop it from replace an already existing default sort, and suppress error.
17756 * (bug 18578) Rewrote revision delete related messages to allow better
17757   localisation.
17758 * (bug 30364) LanguageConverter now depends on the page content language
17759   instead of the wiki content language.
17760 * Jump links will now be usable in CSS-capable browsers instead of only
17761   in outdated text browsers.
17762 * New common*.css files usable by skins instead of having to copy piles
17763   of generic styles from MonoBook or Vector's css.
17764 * Some deprecated presentational html attributes will now be automatically
17765   converted to css.
17766 * (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter
17767   syntax.
17768 * The default user signature now contains a talk link in addition to the user
17769   link.
17770 * (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason.
17771 * Added hook BitmapHandlerCheckImageArea.
17772 * (bug 30062) Add $wgDBprefix option to cli installer.
17773 * getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now
17774   also called when checking for 'read' permission.
17775 * Introduce $wgEnableSearchContributorsByIP which controls whether searching
17776   for an IP address redirects to the contributions list for that IP.
17777 * (bug 8859) Database::update should take array of tables too.
17778 * (bug 19698) Add "Inverse namespaces" option to Special:Contributions.
17779 * (bug 24037) Add byte length of revision to Special:Contributions.
17780 * (bug 1672) Added $wgDisableUploadScriptChecks to allow uploading of files
17781   containing HTML or JS. DISABLING THESE CHECKS IS VERY DANGEROUS.
17782 * New path mappings can be added using the WebRequestPathInfoRouter hook
17783   and adding paths to the PathRouter.
17784 * (bug 32666) Special:ActiveUsers now allows a subpage to be used as value for
17785   the "target" query parameter (eg. Special:ActiveUsers/Username).
17786 * New JavaScript variable wgPageContentLanguage.
17787 * Added new debugging toolbar, enabled with $wgDebugToolbar.
17788 * Differences in the history page now uses slightly better colors for people
17789   perceiving colors differently.
17790 * (bug 32879) Upgrade jQuery to 1.7.1.
17791 * jQuery UI upgraded to 1.8.17.
17792 * Extensions can use the 'Language::getMessagesFileName' hook to define new
17793   languages using messages files outside of core.
17794 * (bug 32512) Add 'Associated namespace' checkbox to Special:Contributions.
17795 * Added $wgSend404Code, true by default, which can be set to false to send a
17796   200 status code instead of 404 for nonexistent articles.
17797 * (bug 33447) Link to the broken image tracking category from
17798   Special:Wantedfiles.
17799 * (bug 27724) Add timestamp to job queue.
17800 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by
17801   default, due to tests potentially being harmful, not to be run on a production
17802   wiki. Enable by setting $wgEnableJavaScriptTest to true.
17803 * Extensions can use the RequestContextCreateSkin hook to override what skin is
17804   loaded in some contexts.
17805 * (bug 33456) Show $wgQueryCacheLimit on cached query pages.
17806 * (bug 10574) Add an option to allow all pages to be exported by Special:Export.
17807 * mediawiki.js Message object constructor is now publicly available as
17808   mw.Message.
17809 * (bug 29309) Allow CSS class per tooltip (tipsy).
17810 * (bug 33565) Add accesskey/tooltip to submit buttons on Special:EditWatchlist.
17811 * (bug 17959) Inline rendering/thumbnailing for Gimp XCF images.
17812 * (bug 27775) Namespace has it's own XML tag in the XML dump file.
17813 * (bug 30513) Redirect tag is now resolved in XML dump file.
17814 * sha1 xml tag added to XML dump file.
17815 * (bug 33646) Badtitle error page now emits a 400 HTTP status.
17816 * Special:MovePage now has a dropdown menu for namespaces.
17817 * (bug 34420) Special:Version now shows git HEAD sha1 when available.
17818 * (bug 33952) Refactor mw.toolbar to allow dynamic additions at any time.
17820 === Bug fixes in 1.19 ===
17821 * $wgUploadNavigationUrl should be used for file redlinks if.
17822   $wgUploadMissingFileUrl is not set. The first was used for this
17823   until the second was introduced in 1.17.
17824 * BREAKING CHANGE:  Style rules for wikitable are now more specific and prevent
17825   inheritance to nested tables which caused various issues (bug 30485 and bug
17826   33434). If your wiki has overridden rules for ".wikitable", please revise them
17827   and adjust where necessary. For comparison, use the "table.wikitable" section
17828   in skins/common/shared.css as base.
17829 * $wgUploadNavigationUrl is now used for file redlinks if
17830   $wgUploadMissingFileUrl is not set. The former was used for this until the
17831   second was introduced in 1.17.
17832 * (bug 27894) Move 'editondblclick' event listener down from body to
17833   div#bodyContent.
17834 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
17835   when the function exists but is disabled. Introduced
17836   Maintenance::posix_isatty().
17837 * (bug 30264) Changed installer-generated LocalSettings.php to use
17838   require_once() instead require() for included extensions.
17839 * Do not convert text in the user interface language to another script.
17840 * (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages.
17841 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
17842   warnings/notices to be thrown.
17843 * (bug 30335) Fix for HTMLForms using GET that were breaking when non-friendly
17844   URLs are used.
17845 * (bug 28649) Preventing half truncated multi-byte unicode characters when
17846   truncating log comments.
17847 * Show --batch-size option in help of maintenance scripts that support it.
17848 * (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
17849   unescaped.
17850 * (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page
17851   by importing a new revision into it.
17852 * Allow moving the associated talk pages of subpages even if the base page
17853   has no subpage.
17854 * Per page edit-notices now work in namespaces without subpages enabled.
17855 * (bug 31081) $wgEnotifUseJobQ is no longer unconditionally enqueueing jobs.
17856 * (bug 30202) File names are now restricted on upload to 240 bytes, because of
17857   restrictions on some of the database fields.
17858 * Timezones are now recognised in user preferences when offset is different
17859   due to DST.
17860 * (bug 31692) "summary" parameter now also works when undoing revisions.
17861 * (bug 18823) "move succeeded" text displayed bluelinks even when redirect was
17862   suppressed.
17863 * (bug 19186) Special:UserLogin's title on Special:SpecialPages now says
17864   "create account" when the user cannot create an account.
17865 * (bug 31818) 'usercreated' message now supports GENDER.
17866 * (bug 32022) Our phpunit.php script can now be executed from another directory.
17867 * (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs
17868   from recent changes feeds.
17869 * (bug 30232) add current time to message wlnote on Special:Watchlist.
17870 * (bug 29110) $wgFeedDiffCutoff did not affect new pages.
17871 * (bug 32168) Add wfRemoveDotSegments for use in wfExpandUrl.
17872 * (bug 32358) Do not display "No higher resolution available" for dimensionless
17873   files (like audio files).
17874 * (bug 32168) Add wfAssembleUrl for use in wfExpandUrl.
17875 * (bug 32168) fixed - wfExpandUrl expands dot segments now.
17876 * (bug 31535) Upload comments now truncated properly, and don't have brackets.
17877 * (bug 32086) Special:PermanentLink now shows an error message when no subpage
17878   was specified.
17879 * (bug 30368) Special:Newpages now shows the new page name for moved pages.
17880 * (bug 1697) The way to search blocked usernames in block log should be clearer.
17881 * (bug 29747) eAccelerator shared memory caching has been removed since it is
17882   now disabled by default and is buggy. APC, XCache and WinCache are not
17883   affected.
17884 * Installer now refuses to install if php was not compiled with Ctype support.
17885 * (bug 29475) Remove "trackback" feature entirely from core.
17886 * (bug 32665) Special:BlockList prefills the username in the input field if
17887   using the Special:BlockList/username URL.
17888 * (bug 27721) Make JavaScript variables wgSeparatorTransformTable and
17889   wgDigitTransformTable depend on page content language so the sort script
17890   sorts correctly more often.
17891 * (bug 32230) Expose wgRedirectedFrom in JavaScript.
17892 * (bug 31212) History tab not collapsed when the screen is narrow.
17893 * (bug 15521) Use new section summary when the action of adding a new section
17894   also happens to create the page.
17895 * (bug 32960) Remove EmailAuthenticationTimestamp from database when a
17896   email address is removed.
17897 * (bug 32414) Empty page get a empty bytes attribute in Export/Dump.
17898 * (bug 33101) Viewing a User or User talk of username resembling IP ending
17899   with .xxx causes Internal error.
17900 * Warning about undefined index in certain situations when $wgLogRestrictions
17901   causes the first log type requested to be removed but not the others.
17902 * Use separate message ('prefixindex-namespace') for title of
17903   Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace.
17904 * (bug 33156) Special:Block now allows you to confirm you want to block yourself
17905   when using non-normalized username.
17906 * (bug 33246) News icon shown for news:// URLs but not for news: URLs.
17907 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
17908   cssText after DOM insertion.
17909 * (bug 30711) When adding a new section to a page with section=new, the text is
17910   now always added to the current version of the page.
17911 * (bug 31719) Fix uploads of SVGs exported by Adobe Illustrator by expanding
17912   XML entities correctly.
17913 * (bug 30914) Embeddable ResourceLoader modules (user.options, user.tokens)
17914   should be loaded in <head> for proper dependency resolution.
17915 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
17916   for backward compatibility.
17917 * (bug 31469) Make sure tracking category messages expand variables like
17918   {{NAMESPACE}} relative to correct title.
17919 * (bug 33454) ISO-8601 week-based year number (format character 'o') is now
17920   calculated correctly with respect to timezone.
17921 * (bug 32219) InstantCommons now fetches content from Wikimedia Commons using
17922   HTTPS when the local wiki is served over HTTPS.
17923 * (bug 33525) clearTagHooks doesn't clear function hooks.
17924 * (bug 33523) Function tag hooks don't appear on Special:Version.
17925 * Files with IPTC blocks we can't read no longer prevent extraction of exif
17926   or other metadata.
17927 * (bug 33587) Remove action "historysubmit" from history pages.
17928 * (bug 25800) mw.config wgAction should contain the actually performed action
17929   instead of whatever the query value contains.
17930 * (bug 4438) Add CSS hook for current WikiPage action.
17931 * (bug 33703) Common border-bottom color for <abbr> should inherit default
17932   (text) color.
17933 * (bug 33819) Display file sizes in appropriate units.
17934 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
17935   doing a null edit.
17936 * (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who
17937   made the edit.
17938 * (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of +.
17939 * (bug 33762) QueryPage-based special pages no longer misses *-summary message.
17940 * Other sizes links are no longer generated for wikis without a 404 thumbnail
17941   handler.
17942 * (bug 29454) Enforce byteLimit for page title input on Special:MovePage.
17943 * (bug 34114) CSSMin::remap() doesn't respect its $embed parameter.
17944 * Special:Contributions/newbies now shows the contributions for the user
17945   "newbies". New user contributions are obtained using the form or using
17946   ?contribs=newbie in URL.
17947 * It is now possible to delete images that have no corresponding description
17948   pages.
17949 * (bug 33165) GlobalFunctions.php line 1312: Call to a member function
17950   getText() on a non-object.
17951 * (bug 31676) Group dynamically inserted CSS into a single <style> tag, to work
17952   around a bug where not all styles were applied in Internet Explorer.
17953 * (bug 28936, bug 5280) Broken or invalid titles can't be removed from
17954   watchlist.
17955 * (bug 34600) Older skins using useHeadElement=false were broken in 1.18.
17956 * (bug 34604) [mw.config] wgActionPaths should be an object instead of a numeral
17957   array.
17958 * (bug 12262) Indents and lists are now aligned
17959 * (bug 29753) mw.util.tooltipAccessKeyPrefix should be alt-shift for Chrome
17960    on Windows
17961 * (bug 25095) Special:Categories should also include the first relevant item
17962    when "from" is filled.
17963 * (bug 34972) An error occurred while changing your watchlist settings for
17964   [[Special:WhatLinksHere/Example]]
17966 === API changes in 1.19 ===
17967 * Made action=edit less likely to return "unknownerror", by returning the actual
17968   error message (which may have come from a hook call or similar).
17969 * (bug 19838) siprop=interwikimap can now use the interwiki cache.
17970 * (bug 29748) Add API search prefix support.
17971 * (bug 29684) Set forgotten parameter types in ApiQueryIWLinks.
17972 * (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid.
17973 * siprop=interwikimap and siprop=languages can use silanguagecode to have
17974   a best effort language name translation. Use CLDR extension for best result.
17975 * (bug 30230) action=expandtemplates should not silently override invalid title
17976   inputs.
17977 * (bug 18634) Create API to fetch MediaWiki's language fallback tree structure.
17978 * (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP
17979   address blocks for list=blocks.
17980 * (bug 30591) Add support to only return keys in ApiAllMessages.
17981 * The API now respects $wgShowHostnames and won't share the hostname in
17982   servedby if it's set to false.
17983 * wlexcludeuser parameter added to ApiFeedWatchlist.
17984 * (bug 7304) Links on redirect pages no longer cause the redirect page to show
17985   up as a redirect to the linked page on Special:Whatlinkshere.
17986 * (bug 32609) API: Move captchaid/captchaword of action=edit from core
17987   to Captcha extension(s).
17988 * Added 'APIGetDescription' hook.
17989 * (bug 32688) Paraminfo for parameter "generator" of the query module shows too
17990   many types.
17991 * (bug 32415) Empty page get no size attribute in API output.
17992 * (bug 31759) Undefined property notice in querypages API.
17993 * (bug 32495) API should allow purge by pageids.
17994 * (bug 33147) API examples should explain what they do.
17995 * (bug 33482) Api incorrectly calls ApiBase::parseMultiValue if allowed
17996   values is given as an array.
17997 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
17998   calling action=purge&forcelinkupdate.
17999 * (bug 34377) action=watch now parses messages using the correct title instead
18000   of "API".
18001 * (bug 35036) WikiLove messages were not automatically updated in JavaScript
18002   after having been changed on-wiki due to a bug in core
18004 === Languages updated in 1.19 ===
18006 MediaWiki supports over 350 languages. Many localisations are updated
18007 regularly. Below only new and removed languages are listed, as well as
18008 changes to languages because of Bugzilla reports.
18010 * Canadian English (en-ca) (new).
18011 * Norwegian (bokmål) (nb) (renamed from no).
18012 * Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language.
18013 * (bug 30217) Make pt-br a fallback of pt.
18014 * (bug 31193) Set fallback language of Assamese from Bengali to English.
18015 * Update date format for dsb and hsb: month names need the genitive.
18016 * (bug 28643) Serbian variant conversion improvements (Nikola Smolenski).
18017 * (bug 29405, bug 30809) Lower diacritics are invisible in titles in Indic
18018   languages Assamese, Bengali, Hindi, Malyalam and Odiya.
18019 * (bug 32826) Titles in indic languages are partially cut.
18020 * (bug 33367) Gendered namespaces for Czech.
18021 * (bug 33014) Language::formatSize()/formatBitrate() should be able to deal
18022   with larger numbers (tera-yotta).
18024 === Other changes in 1.19 ===
18025 * BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have
18026   been removed from wikibits.js.
18027 * jquery.mwPrototypes module was renamed to jquery.mwExtension.
18028 * The maintenance script populateSha1.php was renamed to the more concise
18029   populateImageSha1.php.
18030 * The Client-IP header is no longer checked for when trying to resolve a
18031   client's real IP address.
18032 * (bug 22096) Although IE5.x and below was already unsupported officially,
18033   stylesheets existing exclusively for IE5.0 and IE5.5 have now been removed
18034   (which were in skins 'chick' and 'monobook').
18035 * The constructor for CategoryView has changed, the second parameter is now a
18036   Context source and is required.
18037 * The Title::escape{Local,Full,Canonical}URL methods are deprecated, please use
18038   proper html building methods to escape the normal get{...}URL methods instead.
18039 * The $variant arguments in the Title::get{Local,Full,Link,Canonical}URL methods
18040   have been replaced with a secondary query argument.
18041 * The $variant argument in the hooks for the
18042   Title::get{Local,Full,Link,Canonical}URL methods have been removed, the
18043   variant is now part of the $query argument.
18044 * Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of
18045   using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage().
18046 * Support for the deprecated hook MagicWordMagicWords was removed.
18047 * The Xml::namespaceSelector method has been deprecated, please use
18048   Html::namespaceSelector instead (note that the parameters have changed also).
18049 * (bug 33746) Preload popular ResourceLoader modules (mediawiki.util) as
18050   stop-gap for scripts missing dependencies.
18051   New configuration variable $wgPreloadJavaScriptMwUtil has been introduced for
18052   this (set to false by default for new installations). Set to true if your wiki
18053   has a large amount of user/site scripts that are lacking dependency
18054   information. In the short to medium term these user/site scripts should be
18055   fixed by adding the used modules to the dependencies in the module registry
18056   and/or wrapping them in a callback to mw.loader.using.
18058 == MediaWiki 1.18 ==
18060 == MediaWiki 1.18.6 ==
18061 2012-11-29
18063 This is a maintenance and security release of the MediaWiki 1.18 branch
18065 === Changes since 1.18.5 ===
18066 * ([[bugzilla:40995|bug 40995]]) Prevent session fixation in Special:UserLogin
18067 (CVE-2012-5391)
18068 * ([[bugzilla:41400|bug 41400]]) Prevent linker regex from exceeding PCRE
18069 backtrack limit
18070 * Localisation updates
18071 * Increase permitted runtime for testParserTest
18072 * ([[bugzilla:36179|bug 36179]]) Unquote 'null' for PostgreSQL.
18074 == MediaWiki 1.18.5 ==
18075 2012-08-30
18077 This is a security release of the MediaWiki 1.18 branch
18079 === Changes since 1.18.4 ===
18080 * (bug 39700) File: link to non-existing file can inject html
18081 * (bug 39823) Hidden block text leaking to admins
18082 * (bug 39184) LDAP password leakage
18083 * (bug 39180) Disallow framing of api results
18084 * (bug 37587) Enforce language codes to be html safe
18085 * (bug 39824) Check global blocks on account creation
18087 == MediaWiki 1.18.4 ==
18088 2012-06-12
18090 This is a security release of the MediaWiki 1.18 branch.
18092 === Changes since 1.18.3 ===
18093 * (bug 36938) Correctly escape uselang attribute to prevent xss
18094 * Expanded Blacklist for SVG Files
18096 == MediaWiki 1.18.3 ==
18097 2012-04-25
18099 This is a maintenance release of the MediaWiki 1.18 branch.
18101 === Changes since 1.18.2 ===
18102 * (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws
18103   a PHP warning.
18104 * (bug 35567) The whole password reminder e-mail is now sent in the same
18105   language.
18106 * (bug 35961) Hash comparison should always be strict.
18107 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
18108   on line 598.
18109 * Fix broken email confirmation expiration caused by MWCryptRand changes.
18111 == MediaWiki 1.18.2 ==
18112 2012-03-21
18114 This is a maintenance and security release of the MediaWiki 1.18 branch.
18116 === Changes since 1.18.1 ===
18117 * (bug 33686) could not get a list of contributors for an article when using
18118   a SQLite database.
18119 * (Bug 33865) Exception thrown in action=parse when attempting to use the title
18120   parameter without setting the text parameter.
18121 * UserMailer could potentially throw a fatal error when a MailAddress object had
18122   an empty email address.
18123 * (Bug 33087) Exchange server rejected mail sent by MediaWiki
18124 * (bug 34528) Edit section tooltips show correction section name again
18125 * (bug 34246) MediaWiki:Whatlinkshere-summary message is displayed again in
18126   Special:Whatlinkshere
18127 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
18128   core parser functions which operate on strings, such as formatnum.
18129 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
18130   parameter present.
18131 * (bug 34907) Fixed exposure of tokens through load.php that could have
18132   facilitated CSRF attacks.
18133 * (bug 35317) CSRF in Special:Upload.
18135 == MediaWiki 1.18.1 ==
18136 2012-01-11
18138 This a maintenance and security release of the MediaWiki 1.18 branch.
18140 === Changes since 1.18.0 ===
18141 * (bug 32712) Fix for search indexing of pages with certain unicode chars
18142   following URL.
18143 * (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for
18144   screen readers.
18145 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
18146   attribute values and element contents.
18147 * (bug 32473) [[Special:PasswordReset]] can not be used on private wiki.
18148 * (bug 32853) Fixed CACHE_DBA object cache type.
18149 * (bug 32786) Backward compatibility for extension using 1.17's
18150   Database::newFromType().
18151 * Fixed exception when using Special:WhatLinksHere on a Media: file.
18152 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
18153 * (bug 33240) Sort images are missing but referenced in css.
18154 * (bug 31921) Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR were
18155   not showing their values on preview.
18156 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
18157   for backward compatibility.
18158 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
18159   when the function exists but is disabled. Introduced
18160   Maintenance::posix_isatty().
18161 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
18162   cssText after DOM insertion.
18163 * (bug 29102) Upgrades no longer fail with the error "Unknown character set:
18164   'mysql4'.
18165 * (bug 25355) Parser generates edit section links for special pages.
18166 * (bug 33321) Adding a line to MediaWiki:Sidebar that contains a pipe, but
18167   doesn't have any pipes after being transformed by MessageCache, causes
18168   exception on all pages.
18169 * Fixed recentchanges FK violation on page delete and cache purge error in
18170   updater for Oracle DB.
18171 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
18172   pollution.
18174 == MediaWiki 1.18.0 ==
18175 2011-11-24
18177 This is the first stable release of the MediaWiki 1.18 branch.
18179 === Summary of selected changes in 1.18 ===
18181 Selected changes since MediaWiki 1.17 that may be of interest:
18183 * Some of the more commonly used MediaWiki extensions are now included in the
18184   release tarball. These extensions are ConfirmEdit, Gadgets, Nuke,
18185   ParserFunctions, Renameuser, Vector and WikiEditor.
18187 * Gender support has been improved, meaning user pages can display the correct
18188   gender variant of "User" can now be used.
18190 * MediaWiki can now detect the camera orientation of an image from the Exif
18191   metadata, and can rotate the image thumbnail appropriately. Metadata support
18192   has been generally improved, and can now extract IPTC and XMP metadata.
18194 * Improved directionality support in 1.18 means that MediaWiki is better to use
18195   for RTL users.
18197 * MediaWiki now supports protocol - relative URLs in links, interwiki targets
18198   and $wgServer
18200 * Math support has been removed from core
18202 === Changes since 1.18.0rc1 ===
18203 * (bug 32228) regression in Special:Search which did not conserve profile on
18204   new search
18205 * (bug 32460) Categories were improperly aligned in Simple and CologneBlue
18206 * (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
18207 * (bug 32582) Fix TOC show/hide link regression on IE 8
18209 === Changes since 1.18 beta 1 ===
18210 * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18
18211   deployment.
18212 * (bug 32051) Fix description for wlprop=sizes.
18213 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
18214   under Microsoft SQL.
18215 * (bug 32100) installer complains about suhosin GET limit.
18216 * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between
18217   portlets on IE 7 and IE 8/9 in compatibility view.
18218 * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
18219   from watchlist.
18220 * (bug 32183) remove the client-* classes added from user-agent-sniffing onto
18221   the <html> element.
18222 * (bug 29912) Unit tests break if parsertest tables are still present.
18223 * (bug 31694) During installation, tabbing order (cursor focus) goes to logo
18224   instead of 'continue'.
18225 * (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
18226 * (bug 31990) justify paragraphs pref adds extra space to category listing.
18227 * (bug 20148) Better title for [[Special:Disambiguations]] page.
18228 * (bug 31502) TOC is missing on Special:EditWatchlist.
18229 * (bug 32256) API list=search stops at first invalid result.
18230 * (bug 32047) jquery.tablesorter.js: thead is before caption.
18231 * (bug 29854) Store protocol-relative links twice in the externallinks table,
18232   one with http: in el_index and once with https.
18233 * (bug 31822) Error during upgrade due to output buffer reset in stdout.
18235 === Configuration changes in 1.18 ===
18236 * The WantedPages::getSQL hook has been removed and replaced with
18237   WantedPages::getQueryInfo. This may break older extensions.
18238 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
18239   SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
18240   favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage.
18241 * $wgUseCombinedLoginLink controls whether to output a combined
18242   login / create account link in the personal bar, or to output separate login
18243   and create account links.
18244 * Skin names are no longer created based on a ucfirst version of the key in
18245   $wgValidSkinNames but now the value. This means for
18246   $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
18247   loading SkinMonobook and will instead load SkinMonoBook.
18248 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
18249   per upload type.
18250 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
18251   $wgAPICacheHelpTimeout = 0;
18252 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
18253   by the page, but $wgAllowUserJs is set to false.
18254 * Pure "Skin" class based custom skins are no longer supported, all custom skins
18255   should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
18256 * The transliteration for passwords in case they were migrated from an old
18257   Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
18258   $wgLegacyEncoding set.
18259 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
18260   look at when finding metadata to prevent excessive resource usage.
18261 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
18262   Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
18263   same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
18264   replicate $wgSysopUserBans functionality.
18265 * The options on the block form have been standardised such that checking a box
18266   makes the block 'more serious'; so while "check to prevent account creation"
18267   and "check to enable autoblock" remain the same, "check to allow user-talk
18268   edit" is reversed to "check to *disable* user-talk edit", and "check to block
18269   anon-only" becomes "check to block logged-in users too".  The default settings
18270   remain the same.
18271 * Most of the field names on the Special:Block form have been changed, which
18272   will probably break screen-scraping bots.
18273 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
18274   $wgUseTrackbacks is already false by default.
18275 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
18276   *appearing* to hide article elements, has been removed.  Use the
18277   ParserFunctions extension to actually remove unwanted elements from the
18278   output.
18279 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
18280   math conversion after upgrading, obtain the Math extension from SVN or from
18281   https://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
18282   require_once "$IP/extensions/Math/Math.php";
18283 * $wgProfiler is now a configuration array, see StartProfiler.sample for
18284   details.
18285 * $wgProfiling has been removed.
18286 * The spyc library is now no longer included in phase3.
18287 * (bug 28343) Unused preferences contextlines/contextchars have been removed
18288 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
18289 * $wgProto has been removed. You now only need to set $wgServer to change the
18290   URL protocol.
18291 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed.
18292 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been
18293   removed.
18294 * $wgAllowUserSkin (deprecated in 1.16) has now been removed.
18295 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed.
18296 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed.
18297 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
18298   whether a page is an article or not. $wgUseCommaCount is now deprecated.
18299 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
18300   and the functionality has been moved to the relevant extensions. See
18301   https://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
18302   https://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate.
18303 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS
18304   and CSS
18305 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant
18306   feature was removed in about 1.5.
18307 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
18308   hooks have been removed.
18309 * New hook "Collation::factory" to allow extensions to create custom
18310   category collations.
18311 * $wgGroupPermissions now supports per namespace permissions.
18312 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
18313   null will cause MediaWiki to determine if auto-rotation is available.
18315 === New features in 1.18 ===
18316 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
18317 * BREAKING CHANGE: Article class hierarchy split into WikiPage (backend)
18318   and Article (frontend) hierarchies. Several hooks now pass a WikiPage object
18319   instead of an Article object. These hooks all use an $article parameter as
18320   documented in hooks.txt. Extensions should be updated to account for this,
18321   though most won't require any changes.
18322 * (bug 27860) Minor edit after clicking 'new section' tab
18323   Now the "This is a minor edit" checkbox is not available when you
18324   create a page or new section.
18325 * (bug 8130) Query pages should limit to content namespaces, not just main
18326   namespace.
18327 * Special:Contribs now redirects to Special:Contributions.
18328 * (bug 6672) Images are now autorotated according to their EXIF orientation.
18329   This only affects thumbnails; the source remains unrotated.
18330 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0.
18331 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
18332   saved.
18333 * New parser option PreSaveTransform added, allows the pre-save transformation
18334   to be selectively disabled.
18335 * Alternative to $wgHooks implemented, using the new Hooks class.
18336 * Add width parameter to Special:Filepath to allow getting the file path of a
18337   thumbnail.
18338 * (bug 26870) Add size to {{filepath:}}.
18339 * Upload warnings now show a thumbnail of the uploaded file.
18340 * Introduced the edittools-upload message, which will be inserted under the
18341   upload form instead of edittools if available.
18342 * (bug 26285) Extensions will be automatically generated on upload if the user
18343   specified a filename without extension.
18344 * (bug 26851) Special:UserRights now allows to prefill the reason field
18345 * New maintenance script to fix double redirects
18346   (maintenance/fixDoubleRedirects.php).
18347 * (bug 23315) New body classes to allow easier styling of special pages.
18348 * (bug 27159) Make email confirmation code expiration time configurable.
18349 * (bug 29047) CSS/JS for each user group is imported from
18350   MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc.
18351 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
18352   safely enabled. A ZIP file reader was added which can scan a ZIP file for
18353   potentially dangerous Java applets. This allows applets to be blocked
18354   specifically, rather than all ZIP files being blocked.
18355 * (bug 2429) Allow selection of associated namespace in recent changes.
18356 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
18357 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
18358   disabled (enclosed in the head in a <noscript> tag).
18359 * Added UserGetLanguageObject hook to change the language used in $wgLang.
18360 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
18361   differently (italicized by default) on Special:SpecialPages.
18362 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
18363   several wikis.
18364 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
18365   the three that were defined in the original specification.
18366 * (bug 14706) Added support for the Imagick PHP extension.
18367 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
18368   extension.
18369 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
18370   file description page. The sizes are set by $wgImageLimits.
18371 * (bug 28031) Add pageCount support to ArchivedFile.
18372 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
18373 * Added hook BitmapHandlerTransform to allow extension to transform a file
18374   without overriding the entire handler.
18375 * The parser now attempts to output markers for editsection tokens and defer the
18376   rendering of them post-cache to reduce parser cache fragmentation and ensure
18377   skin customizability of edit section links.
18378 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
18379   other extensions by handling the 'AbortAutoAccount' hook, similar to the
18380   'AbortNewAccount' triggered by explicit account creations. (They are separate
18381   to avoid loops and confusion; auth plugins like CentralAuth need to handle
18382   AbortNewAccount separately.
18383 * Special:ListFiles is now transcludable.
18384 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
18385 * (bug 16956) IPTC and XMP metadata now extracted from images.
18386 * (bug 23816) A tracking category is now added for any pages with broken images.
18387 * (bug 23495) Allow createAndPromote.php to create non-sysop users.
18388 * (bug 28916) A way to to toggle mw.config legacy globals settings from
18389   LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
18390 * (bug 28503) Support for ircs:// URL protocols.
18391 * (bug 26033) It is now possible to count all non-redirect pages in content
18392   namespaces as articles.
18393 * Images can now be embedded in an XML dump stream using backupDump.php
18394   --include-files and can be imported using importDump.php --uploads;
18395   furthermore, it can import files from the filesystem using --image-base-path.
18396 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
18397   'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
18398   may override the usage of PageArchive class and replace it with their own
18399   class that extends PageArchive.
18400 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
18401   Also built-in support for distribution through a TestSwarm instance.
18402 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
18403   added to the textarea on the edit form.
18404 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
18405 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
18406 * New 'Debug' hook used by wfDebug() and wfDebugLog().
18407 * (bug 27655) Require token for watching/unwatching pages)
18408 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest
18409   version)
18410 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
18411   handle titles on case-sensitive wikis.
18412 * (bug 29397) Implement mw.Title module in core.
18413 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
18414   STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
18415   correctly in the case where there are no write events occurring. Note that
18416   the DB user now needs to have the REPLICATION CLIENT privilege if you are
18417   using replication.
18418 * Language codes in $wgDummyLanguageCodes are now excluded on localization
18419   statistics (maintenance/language/transstat.php).
18420 * (bug 29586) Make the (next 200) links on categories link directly to
18421   the relevant section of the category.
18422 * (bug 29109) Allow the automatic edit summary for redirect creation
18423   show the first bit of the new redirect page.
18424 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
18425 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
18426 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
18427   which the language name is wanted. Coverage depends on the cldr extension.
18428 * (bug 15802) An easy way to look up messages: language qqx which returns
18429   the message keys.
18430 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
18431 * (bug 29558) $wgMiserMode now disables update.php by default.
18432 * AjaxCategories: Easily add, edit or delete categories on article pages.
18433   Suggests possible categories when typing, all saves are done via AJAX.
18434   Supports editing of multiple categories and then saving them in one batch.
18435 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted
18436   to explicit usergroups. If a group is removed from a user via
18437   Special:UserRights, it will not automatically be re-added. Configuration is
18438   similar to $wgAutopromote (see DefaultSettings.php).
18439 * The PerformRetroactiveAutoblock hook was added to allow overriding or
18440   complementing retroactive autoblock handling. This runs when blocking a user
18441   with the 'autoblock' option.
18442 * MediaWiki now supports using protocol-relative URLs in links, interwiki
18443   targets and $wgServer.
18444 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
18445   Vary: X-Forwarded-Proto headers.
18446 * New maintenance script to refresh image metadata
18447   (maintenance/refreshImageMetadata.php).
18448 * (bug 16428) Include permalink in printable version.
18449 * (bug 30722) Add an identity collation that sorts things based on what the
18450   unicode code point is (aka pre-1.17 behavior).
18451 * (bug 30940) Add a hook in User:getDefaultOptions.
18452   To give extensions a better and more flexible way of providing default
18453   values for preferences a hook has been introduced in User:getDefaultOptions().
18454   Setting preferences in $wgDefaultUserOptions still work fine, but when reading
18455   them (i.e. with array_keys) to get a list of all preferences, then
18456   $wgDefaultUserOptions should no longer be used as it will contain those set
18457   via User:getDefaultOptions().
18458 * (bug 30497) Add client-nojs and client-js classes on document element
18459   to let styles easily hide or show things based on general JS availability.
18460 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
18461   MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
18462   Same for signupend on the account creation page.
18463 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page
18464   specific mw.config map extendable.
18465 * mw.util.wikiScript has been implemented (like wfScript in
18466   GlobalFunctions.php).
18468 === Bug fixes in 1.18 ===
18469 * (bug 27860) Minor edit after clicking 'new section' tab.
18470 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
18471 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
18472   treated as wikitext on preview.
18473 * (bug 22753) Output from update.php is more clear when things changed, entries
18474   indicating nothing changed are now all prefixed by "...".
18475 * Page existence is now not revealed (in the colour of the tabs) to users who
18476   cannot read the page in question.
18477 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
18478   cases.
18479 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
18480 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
18481   as "Permitted file types" on the upload form.
18482 * (bug 26379) importImages.php gives more descriptive error message on failure.
18483 * (bug 26410) + signs are no longer treated as spaces in internal links if
18484   link has a % sign in it.
18485 * (bug 26412) Search results headers no longer show a bogus edit link.
18486 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
18487 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
18488   pages to be queried via the API and Special:ProtectedPages, and allowing
18489   disabling upload protection by removing it from $wgRestrictionTypes.
18490 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
18491 * (bug 26638) Database error pages display correctly in RTL languages.
18492 * (bug 26187) Confirmrecreate no longer parses the edit summary.
18493 * (bug 26208) Mark directionality of some interlanguage links.
18494 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
18495   selected when the action is "purge".
18496 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
18497   namespace tab on the mainpage of a wiki.
18498 * (bug 10158) Do not mention allowing others to contact you when the feature
18499   is disabled ($wgEnableUserEmail=false).
18500 * (bug 26733) Wrap initial table creation in transaction.
18501 * (bug 26729) Category pages should return 404 if they do not exist and have no
18502   members.
18503 * (bug 2585) Image pages should send 404 if no image, no shared image and no
18504   description page.
18505 * Custom editintro's using the editintro url parameter will no longer show
18506   <noinclude> sections on pages they are included on.
18507 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
18508   adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
18509 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
18510 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
18511   to table.wikitable instead.
18512 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
18513   better.
18514 * (bug 26716) Provide link to instructions for external editor related
18515   preferences and add a comment to the ini control file explaining what is
18516   going on.
18517 * Trying to upload a file with no extension or with a disallowed MIME type now
18518   gives the right message instead of complaining about a MIME/extension
18519   mismatch.
18520 * (bug 26809) Uploading files with multiple extensions where one of the
18521   extensions is blacklisted now gives the proper extension in the error message.
18522 * (bug 26961) Hide anon edits in watchlist preference now actually works.
18523 * (bug 19751) Filesystem is now checked during image undeletion.
18524 * Send last modified headers for Special:Recentchanges when RC patrol is
18525   enabled, but user cannot see rc patrol links.
18526 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
18527   and other multi-paged file formats.
18528 * Files with a mime type that does not match the extension are now properly
18529   thumbnailed.
18530 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
18531 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
18532   link at the top of the page.
18533 * (bug 27560) Search queries no longer fail in Walloon language.
18534 * (bug 27679) Broken embedded files with special characters are no longer
18535   double HTML escaped.
18536 * (bug 27700) The upload protection can now also be set for files that do not
18537   exist.
18538 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
18539   incorrect revision ID is passed.
18540 * Trim the form field for uploading by url to remove extra spaces which could
18541   cause confusing error messages.
18542 * (bug 27854) Http::isValidURI is way too lax.
18543 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
18544 * AbortLogin returning "ABORTED" now handled.  Also allows message identifier
18545   for "ABORTED" reason to be returned and displayed to user.
18546 * (bug 28034) uploading file to local wiki when file exists on shared repository
18547   (commons) gives spurious info in the warning message.
18548 * Usernames get lost when selecting different sorts on Special:listfiles.
18549 * (bug 14005) editing section 0 of an existing but empty page gives no such
18550   section error.
18551 * (bug 26939) Installer does not set $wgMetaNamespace.
18552 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
18553   page restrictions.
18554 * Make truncate function automatically consider length of '...' string,
18555   since length can vary by localization.
18556 * (bug 28242) Make redirects generated by urls containing a local interwiki
18557   prefix be a 301 instead of a 302.
18558 * (bug 15641) blocked administrators are now prevented from deleting or
18559   protecting their own talk page; and all blocked users are more
18560   comprehensively prevented from performing other actions.
18561 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
18562   no longer triggers unexpectedly on delete, history etc.
18563 * (bug 28417) Fix PHP notice when importing revision without a listed id.
18564 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
18565 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
18566 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
18567 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
18568   for ca, kaa.
18569 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
18570 * &apos; character entity is now allowed in wikitext.
18571 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
18572   intl installed.
18573 * (bug 28561) The css class small will no longer make nested elements even
18574   smaller.
18575 * (bug 13172) Array type exif data (like GPS) was not being extracted from
18576   images.
18577 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
18578 * (bug 16129) Transcluded special pages expose strip markers when they output
18579   parsed messages.
18580 * (bug 27249) "Installed software" table in Special:Version should always be
18581   left-to-right.
18582 * (bug 28719) Do not call mLinkHolders __destruct explicitly.
18583 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
18584 * (bug 28752) XCache doesn't work in CLI mode.
18585 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
18586 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
18587 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
18588 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
18589 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
18590   such as SQL queries shown in dberrortext and similar messages in RTL
18591   environments.
18592 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
18593   as the server name.
18594 * The View X deleted revisions is now shown again on Special:Upload.
18595 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
18596 * (bug 28868) Show total pages in the subtitle of an image on the
18597   file description page for multi-paged documents.
18598 * (bug 28883) Message names for different compression types commonly
18599   used in Tiff files.
18600 * When transcluding a special page, do not let it interpret url parameters.
18601 * (bug 28887) Special page classes are no longer re-used during 1 request.
18602 * (bug 28888) Searching for something starting with a # sign no longer tells
18603   the user a page named [[:]] already exists.
18604 * (bug 23002) Imagelinks table not updated after imagemove.
18605 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
18606   pages.
18607 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
18608 * (bug 11868) If using links to count articles, the checking will now be based
18609   on the real presence of an internal link instead of the "[[" string.
18610 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
18611 * (bug 28940) When making a thumb of an SVG, and only specifying the height
18612   make the width be the max SVG size, not the natrual width of the SVG.
18613 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
18614   Windows.
18615 * (bug 23464) File: prefixes are now chopped off during uploading.
18616 * (bug 28174) Message config-logo-help amended to not explicitly assume any
18617   LTR/RTL screen layout.
18618 * (bug 28992) Revision numbers in the patrol log are transformed in the user
18619   language.
18620 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended
18621   to the document head if it doesn't exist.
18622 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
18623   before module is parsed).
18624 * (bug 4330) External URLs without a custom title should be treated as LTR,
18625   even in RTL text.
18626 * (bug 29055) Make "don't send email on minor edits" preference apply to
18627   changes to talk page in addition to watchlist edits.
18628 * (bug 28272) Special:AllMessages should have only one "Go" button.
18629 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
18630 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
18631   as lastTabIndex().
18632 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
18633   enter an e-mail address.
18634 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
18635 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
18636 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
18637   instead of reloading the page.
18638 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect
18639   warning.
18640 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
18641 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
18642   consecutive edits by same user in included diff, but then linked to
18643   a single ungrouped diff.
18644 * Do not try to group together a page creation and edit in the RSS feed of RC.
18645 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
18646   patrol permissions.
18647 * (bug 29471) Exception no longer thrown for files with invalid date in
18648   metadata.
18649 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
18650   no longer cause timeouts.
18651 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
18652 * If the db is really screwed up, and doesn't have a recentchanges table,
18653   make the updater throw an exception instead of a fatal.
18654 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
18655   correctly.
18656 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
18657   "vectorTabs" portlets.
18658 * (bug 8556) Incorrect session failure warning on preview-on-open
18659   namespaces (categories) when combined with $wgRawHtml.
18660 * Use content language in formatting of dates in revertpage message
18661   (rollback revert edit summary) and do not adjust for user timezone.
18662 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
18663 * Make sure Backlink cache does not retrieve interwiki redirects when looking
18664   for redirects to a local page.
18665 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
18666   and wiki content, along with many other RTL and directionality improvements
18667   (such as bugs 28030, 12406, 28349).
18668 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
18669   unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
18670   left/right according to the directionality of your interface language.
18671 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
18672 * (bug 27410) The tag filter on a history page is now within a <label> element.
18673 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
18674   styling (strike/underline).
18675 * (bug 28630) Add iwlinks, langlinks, redirect to
18676   RefreshLinks::deleteLinksFromNonexistent.
18677 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
18678   are disabled for user pages.
18679 * (bug 12205) Bidirectional names in action=credits are split and displayed
18680   incorrectly when wrapped to the next line.
18681 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
18682 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
18683   not language.
18684 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
18685 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
18686   to the FCKEditor extension.
18687 * (bug 28762) Resizing to specified height broken for very thin images.
18688 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
18689   tries to subscribe to mediawiki-announce.
18690 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
18691   param is only present in hash.
18692 * Installer checked for magic_quotes_runtime instead of register_globals.
18693 * (bug 30131) XCache with variable caching disabled no longer used for variable
18694   caching (CACHE_ACCEL)
18695 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
18696   wide pano/timeline/diagram SVGs renderable at saner sizes.
18697 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
18698   Windows servers.
18699 * (bug 30074) Moving user JS subpages resulted in JS errors because
18700   #REDIRECT [[Foo]] is invalid JS.
18701 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
18702   are used.
18703 * (bug 30264) Changed installer-generated LocalSettings.php to use
18704   require_once() instead of require() for included extensions.
18705 * Tracking categories are no longer shown in footer for special pages.
18706 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e.
18707   <key>).
18708 * $wgOverrideSiteFeed no longer double escapes urls.
18709 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
18710   processing complex pages using newer versions of libxml2.
18711 * (bug 30907) Special:Unusedcategories should sort ascendingly.
18712 * (bug 28545) When using the uca-default collation, sortkey's starting with a
18713   space (U+20) will sort under an invisible header like in 1.16 rather than a
18714   U+6DE.
18715 * (bug 30192) Thumbnails of archived files are now deleted.
18716 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
18717   last full stop) to lower case).
18718 * (bug 31213) Exception thrown when trying to move file cross-namespace.
18719 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
18720   really small, and somewhat inconsistent with each other.
18721 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
18722   redirect.
18723 * (bug 31674) Can't edit watchlist if it contains special pages.
18724 * (bug 32100) Installer complains about Suhosin GET limit even if it is
18725   already set above 1024 bytes.
18727 === API changes in 1.18 ===
18728 * BREAKING CHANGE: action=watch now requires POST and token.
18729 * (bug 26339) Throw warning when truncating an overlarge API result.
18730 * (bug 14869) Add API module for accessing QueryPage-based special pages.
18731 * (bug 14020) API for Special:Unwatchedpages.
18732 * (bug 24287) Wrap API Help output at 100 characters.
18733 * Add a realname uiprop option to query=userinfo so a user's realname can be
18734   extracted.
18735 * Add a &watchuser option to ApiBlock.
18736 * (bug 26541) Generator-ise ApiQueryRecentChanges.
18737 * action=parse now correctly returns an error for nonexistent pages.
18738 * (bug 25767) Add userrights properties to allusers and users query lists.
18739 * (bug 26558) list=allusers auprop=groups does not list groups a user is
18740   automatically a member of.
18741 * (bug 26559) list=allusers auprop=rights does not match
18742   list=users usprop=rights.
18743 * (bug 26560) On allusers if limit < total number of users, last user gets
18744   duplicate.
18745 * (bug 25135) add "normalized" to action=parse.
18746 * (bug 26460) Add support for listing category members by category pageid.
18747 * (bug 26482) add a imimages param to prop=images.
18748 * (bug 26498) allow LinksUpdate with API.
18749 * (bug 26485) add a elextlinks param to prop=extlinks.
18750 * (bug 26483) add a iwtitles param to prop=iwlinks.
18751 * (bug 26484) add a lltitles param to prop=langlinks.
18752 * (bug 26480) add a pppageprops param to prop=pageprops.
18753 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
18754 * (bug 24650) Fix API to work with categorylinks changes.
18755 * Expose list of skins in meta=siteinfo.
18756 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
18757 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
18758 * Add a amtitle param to meta=allmessages.
18759 * (bug 25832) query=allimages now outputs ns/title as well.
18760 * (bug 27199) Thumbnail urls can be fetched for old files as well.
18761 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
18762   max value, API doesn't validate the input is actually an integer.
18763 * (bug 27479) API error when using both prop=pageprops and
18764   prop=info&inprop=displaytitle.
18765 * (bug 27554) Update API information text to reflect change in bug 26125.
18766 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
18767 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
18768 * (bug 27688) Simplify queries to list user block information.
18769 * (bug 27708) list=users does not have a property to return user id.
18770 * (bug 27715) imageinfo didn't respect revdelete.
18771 * (bug 27862) Useremail module didn't properly return success on success.
18772 * (bug 27590) prop=imageinfo now allows querying the media type.
18773 * (bug 27587) list=filearchive now outputs full title info.
18774 * (bug 27018) Added action=filerevert to revert files to an old version.
18775 * (bug 27897) list=allusers and list=users list hidden users.
18776 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
18777 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
18778 * (bug 28010) Passing a non existent user to list=users gives internal error.
18779 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
18780   groups if a user doesn't have explicit groups.
18781 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
18782   in auto generated document, as it is on mediawiki.org.
18783 * (bug 27182) API: Add filter by prefix for meta=allmessages.
18784 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
18785 * (bug 27340) API: Allow listing of "small" categories.
18786 * (bug 27342) Add audir param to list=allusers.
18787 * (bug 27203) add fato param to list=filearchive.
18788 * (bug 27341) Add drto param to list=deletedrevs.
18789 * (bug 26630) Add API for Special:ActiveUsers.
18790 * (bug 27020) API: Allow title prefix search of logevents (only when not in
18791   miser mode).
18792 * (bug 26629) add Special:MIMESearch to API.
18793 * (bug 27585) add pagecount to list=filearchive.
18794 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
18795   is missing.
18796 * (bug 27343) Add parseddescription to list=filearchive.
18797 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
18798   list=users&usprop=groups.
18799 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
18800   the general site info results.
18801 * (bug 16288) API: consider making closure status of wikis more clear
18802   with meta=siteinfo.
18803 * (bug 27589) list=allimages&aiprop=archivename is useless.
18804 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
18805   by using ApiQueryImageInfo.
18806 * (bug 28226) prop=extlinks&eloffset should be an integer.
18807 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
18808   real timestamp field.
18809 * API upload errors may now return the parameter that needs to be changed and
18810   a sessionkey to fix the error.
18811 * (bug 28249) allow dupes in meta=allmessages&amargs.
18812 * (bug 28263) cannot import xml with the API, when have not "import" user
18813   right, but "importupload".
18814 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
18815 * (bug 28394) Set forgotten parameters types in ApiUnblock.
18816 * (bug 28395) Set forgotten parameters types in ApiParse.
18817 * (bug 28368) add hint for multipart/form-data to API information of
18818   action=import&xml=.
18819 * (bug 28391) action=feedwatchlist&allrev should be a bool.
18820 * (bug 28364) add registration date to meta=userinfo.
18821 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
18822   PARAM_TYPE is not set.
18823 * (bug 27712) add parent_id to list=deletedrevs.
18824 * (bug 28455) Add 'toponly' to recentchanges API module.
18825 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
18826 * (bug 28586) YAML: strings that are the same as boolean literals.
18827 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
18828 * YAML API output is now 1.2 compliant, using JSON as the formatter.
18829 * (bug 28672) give information about misermode on API.
18830 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
18831 * (bug 26882) Allow listing of indefinite protections with the API.
18832 * (bug 27344) add drprefix param to list=deletedrevs.
18833 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
18834 * (bug 28238) paraminfo: output both limits for multi param.
18835 * (bug 27179) API: List of extension tags through meta=siteinfo.
18836 * Get a list of function hooks through meta=siteinfo.
18837 * Get a list of all subscribed hooks, and those subscribers.
18838 * (bug 28225) Allow hiding of user groups in list=allusers.
18839 * (bug 27185) API: Add Special:ComparePages.
18840 * (bug 28265) allow outputting of comments for action=expandtemplates.
18841 * (bug 27790) Add query type for querymodules to output of ApiParamInfo.
18842 * (bug 28963) Add langbacklinks query module to the api.
18843 * (bug 27593) API should return error message when sha1/sha1base36 is invalid.
18844 * (bug 28578) API's parse module should not silently override invalid
18845   title inputs.
18846 * (bug 20699) Watchlist API should list log-events.
18847 * (bug 29070) Require a token in API action=watch.
18848 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
18849 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
18850 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
18851 * (bug 25734) API: Possible issue with revids validation.
18852 * (bug 28002) Internal error in ApiFormatRaw::getMimeType.
18853 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
18854 * (bug 28392) Mark action=undelete&timestamps as type "timestamp".
18855 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
18856 * (bug 27595) sha1 search of list=filearchive does not work.
18857 * (bug 26763) Make RSS/Atom of user contributions more visible.
18858 * (bug 25133) Allow redirects also for action=parse&pageid.
18859 * (bug 29745) Fatal error in API search.
18860 * (bug 29476) API returns page title instead of sectiontitle for
18861   srprop=sectiontitle.
18862 * Correct the documentation of srprop properties.
18863 * (bug 28817) Add reference help page link to API Modules.
18864 * (bug 29935) Improve formatting of examples in ApiParamInfo.
18865 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
18866 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
18867   parameter is set.
18868 * (bug 29392) Setting the start or end parameter now works with lists blocks,
18869   categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
18870   and watchlist in Postgres.
18872 === Languages updated in 1.18 ===
18874 MediaWiki supports over 330 languages. Many localisations are updated
18875 regularly. Below only new and removed languages are listed, as well as
18876 changes to languages because of Bugzilla reports.
18878 * Angika (anp) (new).
18879 * Brahui (brh) (new).
18880 * Central Dusun (dtp) (new).
18881 * Jamaican Creole English (jam) (new).
18882 * Khowar (khw) (new).
18883 * Liv (liv) (new).
18884 * Kichwa (qug) (new).
18885 * Tokipona (tp) (removed) 'tokipona' is still  valid.
18886 * (bug 17160) Gender specific display text for User namespace.
18887 * Link trail added for sl and sh.
18888 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
18889 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
18890 * (bug 27385) Set Polish $namespaceGenderAliases.
18891 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
18892 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
18893 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
18894 * (bug 28040) Turkish: properly lower case 'I' to 'i' (dotless i) and
18895   uppercase 'i' to 'I' (dotted i).
18896 * Conversion script between Syllabics and Latin for the Inuktitut language.
18897 * Date formats for Indonesian (id) updated.
18898 * Bhojpuri (bho) (renamed from "bh").
18899 * (bug 29031) When translating block log entries, indefinite, infinite, and
18900   infinity are now considered the same.
18901 * Aromanian (rup) (renamed from "rua-rup").
18902 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
18903   (Devanagari) (ks-deva). Defaults to ks-arab.
18904 * (bug 30864) Use bengali numerals for <ol> for Assamese.
18905 * (bug 30817) Restored linktrail for kk (Kazakh).
18906 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
18907 * (bug 30846) New LanguageOs class.
18909 === Other changes in 1.18 ===
18910 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
18911 * (bug 28556) Upload support for MacBinary files has been removed (Used by
18912   Internet Explorer 5 for Mac OS 9).
18913 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
18914   set for all wikis. This was already the case for 'wgServer'.
18916 == MediaWiki 1.17 ==
18918 == MediaWiki 1.17.5 ==
18919 2012-06-12
18921 This is a security release of the MediaWiki 1.17 branch.
18923 === Summary of selected changes in 1.17 ===
18925 Selected changes since MediaWiki 1.16 that may be of interest:
18927 * A new installer has been introduced. It has a wizard-style interface which is
18928   translated into many languages. Many shortcomings in the old installer were
18929   addressed with this rewrite. Note that it is no longer required for the config
18930   directory to be made writable by the webserver. Instead the generated
18931   LocalSettings.php file is offered as a download, which you must then upload
18932   to the wiki's base directory.
18934 * ResourceLoader, a new framework for delivering client-side resources such as
18935   JavaScript and CSS, has been introduced. These resources are now delivered
18936   through the new entry point script "load.php", instead of as static files
18937   served directly by the web server. This allows minification, compression and
18938   client-side caching to be used more effectively, which should provide a net
18939   performance improvement for most users.
18941 * Category sorting has been improved.
18942 ** Sorting is now case insensitive.
18943 ** Sub-categories, pages and files can now be paged separately.
18944 ** When several pages are given the same sort key, they sort by their
18945    names instead of randomly.
18947 * The lowest supported version of PHP is now 5.2.3. If necessary, please
18948   upgrade PHP prior to upgrading MediaWiki.
18950 === Changes since 1.17.4 ===
18952 * (bug 36938) Correctly escape uselang attribute to prevent xss
18953 * Expanded Blacklist for SVG Files
18955 === Changes since 1.17.3 ===
18957 * (bug 35961) Hash comparison should always be strict.
18958 * Fix broken email confirmation expiration caused by MWCryptRand changes.
18959 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
18960   on line 598.
18962 === Changes since 1.17.2 ===
18964 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
18965   core parser functions which operate on strings, such as padleft.
18966 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
18967   parameter present.
18968 * (bug 34907) Fixed exposure of tokens through load.php that could have
18969   facilitated CSRF attacks.
18970 * (bug 35317) CSRF in Special:Upload.
18972 === Changes since 1.17.1 ===
18973 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
18974   pollution.
18975 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
18977 === Changes since 1.17.0 ===
18979 * (bug 29535) Added missing Creative Commons CC0 icon.
18980 * (bug 29726) Fixed failure to load internationalization messages in
18981   client-side scripts on WebKit-based browsers.
18982 * Fixed a bug in message transformation where the previous language could leak
18983   into later transformations in the UI language.
18984 * (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
18985 * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
18986   work at all since 1.17 beta 1.
18987 * (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
18988   multiple dots, was broken by the fix for bug 28840.
18989 * In the maintenance script purgeList.php, fixed a fatal error when a page
18990   title is given, instead of a URL.
18991 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
18992 * Installer checked for magic_quotes_runtime instead of register_globals.
18993 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
18994   wide pano/timeline/diagram SVGs renderable at saner sizes.
18995 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
18996   tries to subscribe to mediawiki-announce.
18997 * Installer checked for magic_quotes_runtime instead of register_globals
18998 * (bug 30131) XCache with variable caching disabled no longer used for variable
18999   caching (CACHE_ACCEL)
19000 * (bug 30264) Changed installer-generated LocalSettings.php to use
19001   require_once() instead require() for included extensions.
19002 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
19003   warnings/notices to be thrown
19004 * (bug 30907) Special:Unusedcategories should sort ascendingly.
19005 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
19006   Windows servers.
19007 * Hardcoded NLS_NUMERIC_CHARACTERS for Oracle DB to prevent type conversion
19008   errors.
19009 * Fixed recentchanges FK violation on page delete and cache purge error in
19010   updater for Oracle DB.
19011 * (bug 32276) Skins were generating output using the internal page title which
19012   would allow anonymous users to determine whether a page exists, potentially
19013   leaking private data. In fact, the curid and oldid request parameters would
19014   allow page titles to be enumerated even when they are not guessable.
19015 * (bug 32616) action=ajax requests were dispatched to the relevant internal
19016   functions without any read permission checks being done. This could lead to
19017   data leakage on private wikis.
19019 === Changes since 1.17.0rc1 ===
19021 * Fixed syntax error in generated LocalSettings.php when a non-default user
19022   rights profile is chosen.
19023 * (bug 29399) Fixed PostgreSQL installation when the DB user for installation
19024   is the same as the one for web access.
19025 * (bug 29233) Fixed failover for DB slave servers. When a DB slave went down,
19026   an error was immediately shown to the user, instead of trying another slave.
19027   Was broken since 1.17 beta 1.
19028 * (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a
19029   redirect.
19030 * (bug 29408) Fixed uploads of files with MIME types that aren't detected by
19031   MediaWiki.
19032 * Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because
19033   using the DEFAULT value ('') in DML broke Oracle backend as it treats an
19034   empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL
19035   fields.
19037 === Changes since 1.17 beta 1 ===
19039 * Fixed warning about missing file "password.js".
19040 * When installing on MySQL, don't attempt to create a new database user if the
19041   same user is used for installation and web access.
19042 * Fixed SQL query errors in queries with table aliases.
19043 * (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which
19044   ensures that when database replication is used, the new version is seen by
19045   the user immediately after they create or edit an article.
19046 * (bug 28845) Allow PostgreSQL installation using a non-root user account which
19047   has role creation abilities.
19048 * When installing on PostgreSQL and the install account is the same as the web
19049   account, check to make sure that the account has suitable privileges in the
19050   mediawiki schema.
19051 * (bug 28172) Fixed error in PostgreSQL installation when creating the wiki
19052   sysop account.
19053 * Fixed an issue with the Oracle installer in cases where the user is different
19054   to the database name.
19055 * Added "unblockself" to the list of available rights.
19056 * In the installer, fixed the "user rights profile" option, it never worked.
19057 * (bug 29117) Fixed Hebrew localisation of the installer.
19058 * (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS
19059   on Internet Explorer 6 due to a file extension in the query string) by
19060   reducing the number of URLs that are blocked, and by redirecting the request
19061   to a safer URL where possible instead of blocking it.
19062 * (bug 28812) Fixed documentation of API action=parse.
19063 * (bug 28979) Fixed styling of <abbr> and <acronym>.
19064 * Fixed the error message displayed when you try to create an account by email,
19065   but an email address is not given.
19066 * Fixed JS error due to missing dependency for jquery.suggestions.
19067 * Exposed $wgExtensionAssetsPath in JavaScript.
19068 * (bug 28738) Made ResourceLoader support environments with small URL length
19069   limits. The length limit can be configured via
19070   $wgResourceLoaderMaxQueryLength, and this is set automatically in the
19071   generated LocalSettings.php when the php.ini variable
19072   "suhosin.get.max_value_length" is set. When a URL exceeds this limit, the
19073   request is split up. Also, reduced the average length of load.php URLs by
19074   using a more compact parameter format.
19075 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
19076 * (bug 25124) Respect $wgStyleDirectory in ResourceLoader.
19077 * Allow installation when no HTTP client is available, don't throw an exception.
19078 * (bug 27465) Fix metadata extraction for SVG files using unusual namespace
19079   names.
19080 * (bug 29174) Fix regression in upload-by-URL: uploading files larger than the
19081   PHP memory limit should work again.
19082 * Fixed the display of comments in the new user log.
19083 * (bug 28237) When installing extensions using the web-based installer, create
19084   any necessary database tables.
19085 * (bug 28983) Fixed automated installation of extensions that overwrite $path.
19086 * Fixed error caused by missing magic words.
19087 * Fixed breakage of article editing in PostgreSQL due to text search
19088   configuration errors.
19089 * Fixed the HTTPS client used when Curl is not available. This avoids an error
19090   during install about failure of the mediawiki-announce subscription.
19091 * (bug 28162) When installing to PostgreSQL, respect the "database port" input,
19092   it was ignored.
19094 === Configuration changes in 1.17 ===
19096 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
19097   to new users log.
19098 * (bug 22858) $wgLocalStylePath is by default set to the same value as
19099   $wgStylePath but should never point to a different domain than the site is
19100   on, allowing skins to use .htc files which are not cross-domain friendly.
19101 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
19102   been turned into $wgDeletedDirectory.
19103 * $wgDeletedDirectory has been added to specify what directory to place deleted
19104   uploads in.
19105 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
19106   normal $wgDBport.
19107 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false.  This
19108   provides more sensible sorting behavior for categories.
19109 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
19110   $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon,
19111   $wgZhdaemonHost and $wgZhdaemonPort.
19112 * (bug 24408) The include_path is not modified in the default LocalSettings.php
19113 * $wgVectorExtraStyles was removed, and is no longer in use.
19114 * Removed $wgUpdates for database updates; extensions should use
19115   DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook.
19116 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
19117   available as input for other configuration items, either.
19118 * It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
19119 * It's no longer necessary to set $wgCacheEpoch to the file modification time
19120   of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
19121   automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
19122   the default).
19123 * $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright']
19124   should be used instead.
19125 * $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
19126   If you need this functionality, you should use the BlockIp hook to filter and
19127   reject such blocks.
19128 * $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum
19129   (32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1
19130   address at a time.
19132 === New features in 1.17 ===
19134 * (bug 10183) Users can now add personal styles and scripts to all skins via
19135   User:<name>/common.css and /common.js (if user css/js is enabled).
19136 * (bug 22748) Add anchors on Special:ListGroupRights.
19137 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
19138   apply the names of the individual files within the gallery.
19139 * Future-proof redirection to fragments in Gecko, so things work a little nicer
19140   if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
19141 * Support git:// and mms:// protocols by default for external links.
19142 * (bug 15810) Blocked admins can no longer unblock themselves without the
19143   'unblockself' permission (which they have by default).
19144 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
19145   changes list.
19146 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
19147   viewing contributions of a blocked IP address.
19148 * (bug 22474) {{urlencode:}} now takes an optional second parameter for type of
19149   escaping.
19150 * Special:Listfiles now supports a username parameter.
19151 * Special:Random carries over query string parameters.
19152 * (bug 23206) Add Special::Search hook for detecting successful "Go".
19153 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
19154   is provided on the Upload form.
19155 * (bug 22647) Add category details in search results.
19156 * (bug 23276) Add hook to Special:NewPages to modify query.
19157 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
19158 * Add accesskey 'b' and tooltip to the summary field of edit mode.
19159 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
19160 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
19161   watch links, not just to watch the page the link is on.
19162 * (bug 20976) "searchmenu-new-nocreate" message now displayed when there
19163   is no title match in search and the user has no rights to create pages.
19164 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
19165 * (bug 22844) Added support for WinCache object caching (for IIS).
19166 * (bug 23580) Add two new events to LivePreview so that scripts can be notified
19167   about the beginning and finishing of LivePreview actions.
19168 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
19169 * (bug 23733) Add IDs to messages used on CSS/JS pages.
19170 * Show validity period of the login cookie in Special:UserLogin and
19171   Special:Preferences.
19172 * Interlanguage links display the page title in their tooltip.
19173 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
19174 * (bug 4597) Provide support in Special:Contributions to show only "current"
19175   contributions
19176 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
19177 * (bug 21477) \& can now be used in <math>
19178 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
19179 * (bug 21475) \mathtt and \textsf can now be used in <math>
19180 * texvc is now run via ulimit4.sh, to limit execution time.
19181 * SQLite now supports $wgSharedDB.
19182 * (bug 8507) Group file links by namespace:title on image pages.
19183 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
19184   well-formed XML.
19185 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
19186 * Added scriptExtension setting to $wgForeignFileRepos.
19187 * ForeignApiRepo uses scriptDirUrl if apiBase not set.
19188 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
19189   client wikis.
19190 * (bug 14685) Double underscore magic word usage is now tracked in the
19191   page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
19192   {{DISPLAYTITLE}}
19193 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
19194   "mw-ipb-needreblock"
19195 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
19196 * (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
19197   input.
19198 * (bug 21503) There's now a "reason" field when creating account for other
19199   users.
19200 * (bug 24418) action=markpatrolled now requires a token.
19201 * A variety of category sort-related fixes, including:
19202 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
19203 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
19204 ** When several pages are given the same sort key, they sort by their names
19205    instead of randomly.
19206 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
19207 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements.
19208 * (bug 11005) Add CSS class to empty pages in Special:Newpages.
19209 * The parser cache is now shared amongst users whose different settings aren't
19210   used in the page.
19211 * Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
19212 * (bug 24007) Diff pages now mention the number of users having edited
19213   intermediate revisions.
19214 * Added new hook GetIP.
19215 * Special:Version now displays whether a SQLite database supports full-text
19216   search.
19217 * TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
19218   for versioning.
19219 * Maintenance scripts get a --memory-limit option to override defaults (which
19220   is usually to set it to -1 to disable the limit).
19221 * (bug 25397) Allow uploading (not displaying) of WebP images, disabled
19222   by default.
19223 * (bug 23194) Special:ListFiles now has thumbnails.
19224 * Use hreflang to specify canonical and alternate links, search engine friendly
19225   when a wiki has multiple variant languages.
19226 * (bug 19593) Specifying --server in now works for all maintenance scripts.
19227 * Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
19228 * (bug 10541) Front/backend separation of installation/upgrade code.
19229 * (bug 10596) Allow installer to enable extensions already in extensions folder.
19230 * (bug 20627) Installer should be in languages other than English.
19231 * Support for metadata in SVG files (title, description).
19232 * Special:Search: Add CSS classes to 'none found' and 'create link' messages.
19233 * Add CSS classes (including namespace and pagename) to the enhanced recent
19234   changes/watchlist entries.
19235 * (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
19236   customizable.
19237 * Added CSS print pagination to the print stylesheets.
19238 * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
19239   file repositories.
19240 * When viewing a redirect, the redirect arrow and redirection target are both
19241   wrapped in a div that has the class "redirectMsg" so that the redirection
19242   arrow can be customized with CSS.
19243 * (bug 21911) Hard coded limit for long page warning removed. New message
19244   [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
19245   Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
19246   number of the textsize in Byte.
19247 * (bug 3276) Give image <gallery>s fluid width.
19248 * Added uploads link to page subtitle in Special:Contributions.
19249 * Added Special:Myuploads special page that redirects to Special:Listfiles.
19250 * The footerlinks used in Monobook/Vector/Modern are now part of common skin
19251   code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
19252 * Special wrapping setups can now define MW_CONFIG_FILE to load a config file
19253   other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
19254   some cases where MW_CONFIG_CALLBACK will not work.
19255 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
19256   pages to be queried via the API and Special:ProtectedPages, and allowing
19257   disabling upload protection by removing it from $wgRestrictionTypes.
19258 * The name attribute of HTMLForm fields can now be overridden by passing a
19259   'name' key in the descriptor array.  Hidden field names are now treated
19260   consistently with other fields and, by default, prefixed with 'wp'.
19261 * (bug 27402) Add support for disabling MWSuggest.
19262 * (bug 26563) Add bytes changed per revision for stub and full article dumps.
19263 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
19264   look at when finding metadata to prevent excessive resource usage.
19265 * (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
19266   without having to move LocalSettings.php
19267 * Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
19268   in wikitext.
19269 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
19270   options.
19271 * Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
19272   preferences; which can improve page loading speed.
19273 * Added $wgSQLMode for setting database SQL modes - either performance (null)
19274   or other reasons (such as enabling stricter checks).
19275 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
19276   which causes Vector to render the variants drop-down menu with a label
19277   showing the current variant name. This is off by default, pending further
19278   research into its user experience implications.
19279 * The upload link for missing files can now be set separately from the
19280   navigation link with $wgUploadMissingFileUrl.
19281 * $wgAdditionalMailParams added to allow setting extra options to mail() calls.
19282 * Added $wgSecureLogin to optionally login using HTTPS.
19283 * (bug 25728) Added $wgPasswordSenderName to make the name associated
19284   with $wgPasswordSender configurable.
19285 * (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
19286   the footers of skins.
19287 * $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
19288   used for the file cache. Default value is 2, which matches former behavior.
19290 === Bug fixes in 1.17 ===
19292 * (bug 17560) Half-broken deletion moved image files to deletion archive
19293   without updating database.
19294 * (bug 22666) Submitting user block form with an invalid user name no longer
19295   throws an error.
19296 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
19297   settings changed.
19298 * (bug 22606) The body of e-mail address confirmation message is now different
19299   when the address changed.
19300 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
19301 * (bug 5210)  Preload parser now parses <noinclude>, <includeonly> and
19302   redirects.
19303 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
19304   the URL contains a colon.
19305 * (bug 22353) Categorised recent changes now works again.
19306 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
19307   now only displayed when relevant.
19308 * (bug 22772) {{#special:}} parser function now works with subpages.
19309 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
19310 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
19311 * (bug 22903) Revdelete log entries now show in the user preferred language.
19312 * (bug 22905) Correctly handle <abbr> followed by ISBN.
19313 * (bug 22940) Namespace aliases pointing to main namespace don't work.
19314 * (bug 15810) Blocked admins can no longer block/unblock other users.
19315 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
19316   correctly set.
19317 * (bug 14952) Page titles are renormalized after html entities are removed so
19318   that links with non-NFC character references work correctly.
19319 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
19320   anonymous users instead of null.
19321 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
19322 * (bug 21520) Anonymous previews now also gives a warning about not being
19323   logged in (anonpreviewwarning).
19324 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
19325 * (bug 23024) Special:ListFiles now escapes file names correctly.
19326 * (bug 22867) "View source" tab is now only displayed if there's source text.
19327 * (bug 19393) Feeds now format dates in user language rather than content
19328   language.
19329 * (bug 22852) "Served in" comment is now the time used to cache a single page
19330   when using rebuildFileCache.php
19331 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
19332   parameter no longer makes the page displayed as being the redirect target.
19333 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
19334 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
19335 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
19336 * (bug 23017) Special:Disambiguations now list pages in content namespaces
19337   rather than only main namespace.
19338 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
19339   frames, and $wgMaxImageArea against the size of the first frame, rather than
19340   the other way around.  Both now default to 12.5 megapixels.  Also, images
19341   exceeding $wgMaxImageArea can still be embedded at original size.
19342 * (bug 23078) "All public logs" option on Special:Log is now always the first
19343   item.
19344 * (bug 16817) Group names in user rights log are now singular and in lowercase.
19345 * Special:Preferences no longer crashes if the wiki default date formatting
19346   style is not valid for the user's interface language.
19347 * (bug 23167) Check the watch checkbox by default if the watchcreations
19348   preference is set.
19349 * Maintenance script cleanupTitles is now able to fix titles stored
19350   in a negative namespace (which is invalid).
19351 * (bug 19858) Removed obsolete <big> in interface messages.
19352 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
19353   displays incorrect tabs.
19354 * (bug 23190) Improved math representation for text browsers.
19355 * (bug 22015) Improved upload-by-url error handling and error display.
19356 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
19357 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
19358   work.
19359 * (bug 23075) Correct MediaTransformError default width in gallery.
19360 * (bug 16487) The Anonymous user account used on Postgres is no longer
19361   displayed on Special:Listusers.
19362 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
19363   to enhance preference grouping.
19364 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
19365   correct link.
19366 * (bug 23284) Times are now rounded correctly.
19367 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
19368 * (bug 18408) All required permissions for uploading (upload, edit, create)
19369   are now checked when loading Special:Upload. Toolbar link for Special:Upload
19370   is no longer shown if the user does not have the required permissions.
19371 * (bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
19372 * (bug 23241) License selector should be disabled during upload of a new
19373   version.
19374 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
19375 * The pipe | character in urls is now escaped.
19376 * (bug 23422) mp3 files can now be moved.
19377 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
19378   MediaWiki:Subject-preview when previewing summary.
19379 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
19380   new variable {{REVISIONMONTH1}} when unpadded version is needed.
19381 * Special:Userrights didn't recognize user as changing his/her own rights if
19382   user did not capitalize first letter of username.
19383 * (bug 23507) Add styles for printing wikitables.
19384 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
19385   as Opera 8.
19386 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
19387   account upload rights.
19388 * (bug 1347) Render \phi in math using images, in order to create consistent
19389   and correct render results.
19390 * (bug 16573) Render \epsilon in math using images, in order to create
19391   consistent and correct render results.
19392 * (bug 22541) Support image redirects when using ForeignAPIRepo.
19393 * (bug 22967) Make edit summary length cut-off behave correctly for multibyte
19394   characters.
19395 * (bug 8689) Long numeric lines no longer kill the parser.
19396 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
19397   the $noRedir parameter is set to true.
19398 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
19399 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php.
19400 * (bug 23797) Xml::input() now allows '0' for the value parameter.
19401 * (bug 23747) Make sure that on History pages, the RevDel button is not
19402   accidentally activated when hitting enter.
19403 * (bug 23845) Special:ListFiles now uses correct file names without underscores.
19404 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration >
19405   0.
19406 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
19407 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
19408   a fatal error.
19409 * (bug 23465) Don't ignore the predefined destination filename on
19410   Special:Upload after following a red link.
19411 * (bug 23642) Recognize mime types of MS OpenXML documents.
19412 * (bug 22784) Normalise underscores and spaces in autocomments.
19413 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings.
19414 * (bug 24022) Only check file extensions on the uploadpage when needed.
19415 * (bug 24076) Recognize Office 2003 files with OpenXML trailers.
19416 * (bug 24244) Updated comments in DefaultSettings.php to reflect
19417   Image: --> File: namespace rename.
19418 * Make wfTimestamp recognize negative unix timestamp values.
19419 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
19420   disabled.
19421 * (bug 23293) Do not show change tags when Special:RecentChanges(linked) or
19422   Special:Newpages is transcluded into another page as it messes up the page.
19423 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
19424   throw fatal errors.
19425 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
19426   useful error message.
19427 * Uploading to a protected title will allow the user to choose a new name
19428   instead of showing an error page.
19429 * (bug 24425) Use Database::replace instead of delete/insert in
19430   SqlBagOStuff::set to avoid query errors about duplicate keynames.
19431 * (bug 15470) First letters of filenames are always capitalized by upload JS.
19432 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules.
19433 * (bug 21052) Fix link color for stubs in NewPages.
19434 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
19435   longer pollutes the parser cache.
19436 * (bug 17031) Correct which characters the parser allows in tag attributes (a
19437   letter, colon or underscore followed by 0 or more letters, numbers, colons,
19438   underscores, hyphens, and/or periods).
19439 * Save 200 useless queries on each category page view.
19440 * Shell commands will now work on Linux in filesystems mounted noexec.
19441 * (bug 24804) Corrected commafying in Polish and Ukrainian.
19442 * "Difference between pages" is now displayed instead of "Difference between
19443   revisions" on diffs when appropriate.
19444 * (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
19445   a repository due to missing 'name' attribute from the API list=allimages.
19446 * (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
19447   make wfTempDir() return a sane value for Windows on worst-case.
19448 * (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
19449   memory usage when such an ImageMagick is used for scaling.
19450 * Disable multithreaded behavior in recent ImageMagick, to avoid a deadlock
19451   when a resource limit such as $wgMaxShellMemory is hit.
19452 * (bug 24981) Allow extensions to access SpecialUpload variables again.
19453 * (bug 20744) Wiki forgets about an uploaded file.
19454 * (bug 17913) Don't show "older edit" when no older edit available.
19455 * (bug 6204) TOC not properly rendered when using $wgMaxTocLevel.
19456 * (bug 24977) The accesskey in history page now lead directly to the diff
19457   instead of alternating focus between the two buttons.
19458 * (bug 24987) Special:ListUsers does not take external groups into account.
19459 * (bug 20633) update.php has mixed language output.
19460 * SQLite system table names are now never prefixed.
19461 * (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
19462   parameter.
19463 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16).
19464 * (bug 25367) wfShellExec() is more explicit when failing due to disabled
19465   passthru().
19466 * (bug 25462) Fix double-escaping for section edit link tooltips.
19467 * action=raw was removed for Special:Statistics. This information is still
19468   available via the API.
19469 * (bug 23934) Groups defined in $wgRevokePermissions but not in
19470   $wgGroupPermissions now appear on Special:ListGroupRights.
19471 * (bug 23923) Special:Prefixindex no longer shows results if nothing was
19472   requested.
19473 * (bug 22308) Search now finds text in default main page immediately after
19474   setup.
19475 * (bug 25697) Make sure empty lines render in diff view.
19476 * Use an actual minus sign in diff views, instead of a hyphen.
19477 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles.
19478 * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates.
19479 * (bug 25642) A exception is now thrown instead of a fatal error when using
19480   $wgSMTP without PEAR mail package.
19481 * (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
19482 * (bug 11013) Database driver detection needs rewriting for robustness.
19483 * (bug 13409) Installer prompts could use clarification--now has help boxes.
19484 * (bug 16902) Installer spews warnings when exec() and dl() are not available.
19485 * (bug 19129) Only show MyISAM/InnoDB when supported.
19486 * (bug 17762) Only show other e-mail options when e-mail is globally enabled.
19487 * Cache multiple sizes of InstantCommons thumbnails.
19488 * (bug 25488) Disallowing anonymous users to read pages no longer throws error
19489   on discussion pages with vector as default skin.
19490 * (bug 24833) Files name in includes/diff/ are now less confusing.
19491 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores.
19492 * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
19493   parameters.
19494 * (bug 25175) HTML file cache now honor $wgCacheDirectory if
19495   $wgFileCacheDirectory is not set.
19496 * (bug 13353) Diff3 version checks were too strict, did not detect working
19497   diff3.
19498 * (bug 25843) Links to special pages using link= attribute on images are now
19499   normalised like normal links to special pages.
19500 * (bug 21364) External links using link= attribute on images now respect
19501   $wgExternalLinkTarget.
19502 * (bug 17789) Added a note to the total views on Special:Statistics saying that
19503   is doesn't count non-existing pages and special pages.
19504 * (bug 17996) HTTP redirects are now combined when requesting a special page.
19505 * (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
19506   some cases.
19507 * (bug 25670) wfFindFile() now checks the namespace of the given title, only
19508   "File" and "Media" are allowed now.
19509 * (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
19510   with php extension that defines same class.
19511 * (bug 20591) There's now a different message on Special:MovePage when
19512   $wgFixDoubleRedirects is set to false.
19513 * Fixed PHP warnings when updating a broken MySQL database.
19514 * (bug 26023) Corrected deleteBacth.php's documentation.
19515 * (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
19516 * Show "skin does not exist error" only when the skin is inputted in the wrong
19517   case.
19518 * (bug 26164) Potential html injection when the database server isn't available.
19519 * (bug 26160) Upload description set by extensions are not propagated.
19520 * (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
19521   absolute URLs in the sitemap index (as required e.g. by Google).
19522 * Partial workaround for bug 6220: at least make files on shared repositories
19523   show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.
19524 * rebuildFileCache.php no longer creates inappropriate cache files for
19525   redirects.
19526 * (bug 25512) Subcategory list should not include category prefix for members.
19527 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
19528   treated as wikitext on preview.
19529 * Page existence is now not revealed (in the colour of the tabs) to users who
19530   cannot read the page in question.
19531 * (bug 22753) Output from update.php is more clear when things changed, entries
19532   indicating nothing changed are now all prefixed by "..."
19533 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
19534 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
19535   as "Permitted file types" on the upload form.
19536 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
19537 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
19538   selected when the action is "purge".
19539 * (bug 26733) Wrap initial table creation in transaction.
19540 * (bug 26208) Mark directionality of some interlanguage links.
19541 * (bug 26716) Provide link to instructions for external editor related
19542   preferences.
19543 * (bug 26961) Hide anon edits in watchlist preference now actually works.
19544 * (bug 1379) Installer directory conflicts with some hosts' configuration panel.
19545 * (bug 27781) Installer does not warn about 5.1.x. Added a compatibility
19546   function for array_key_exists().
19547 * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default).
19548 * (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
19549   are also set.
19550 * (bug 26223) Concurrently moving an article to different titles leaks a
19551   redirect revision with no page.
19552 * (bug 15641) Fixed permissions checks in Special:Import which allowed users
19553   without the 'import' permission to import pages from configured import
19554   sources.
19555 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
19556   adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
19557 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
19558 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
19559   better.
19560 * (bug 26716) Provide link to instructions for external editor related
19561   preferences and add a comment to the ini control file explaining what is going
19562   on.
19563 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
19564   to table.wikitable instead.
19565 * (bug 27560) Search queries no longer fail in walloon language.
19566 * (bug 27700) The upload protection can now also be set for files that do not
19567   exist.
19568 * (bug 28034) uploading file to local wiki when file exists on shared repository
19569   (commons) gives spurious info in the warning message.
19570 * Usernames get lost when selecting different sorts on Special:listfiles.
19571 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
19572   page restrictions.
19573 * (bug 28242) Make redirects generated by urls containing a local interwiki
19574   prefix be a 301 instead of a 302.
19575 * (bug 28568) Entries in the iwlinks table are now removed on page deletion.
19576 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
19577 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
19578 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
19579   intl installed.
19580 * (bug 26729) Category pages should return 404 if they do not exist and have no
19581   members.
19582 * (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1
19583   in header of response.
19584 * (bug 27634) TOC title appears in wrong language.
19585 * (bug 27761) Fix regression: pages with Esperanto titles containing convertible
19586   character sequences became unreachable.
19587 * (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs.
19588 * (bug 27465) SVG thumbnail generation.
19589 * (bug 27467) preload can leave UNIQ.
19590 * (bug 27539) Allow attributes beginning with a digit in wikitext tag
19591   parameters.
19592 * (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken
19593   in 1.17.
19594 * (bug 27333) Fix repetitive last-seen time queries on page history.
19595 * (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes
19596   processing of JSON return values for ForeignAPIRepo when native json module
19597   not present.
19598 * (bug 25675) Fix search suggestions for Special: pages with spaces.
19599 * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting
19600   to strings.
19601 * (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler.
19602 * (bug 27302) Don't append the current timestamp for user/site modules when no
19603   user/site JS/CSS is present.
19604 * (bug 27016) dumpTextPass.php now consider the "output" parameter.
19605 * (bug 22606) don't send the "someone registred an account" message when setting
19606   email address (i.e. old one empty) in user preferences.
19607 * (bug 26458) Section edit links appear on pages that user does not have right
19608   to edit.
19609 * (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition.
19610 * (bug 16886) Sister projects box moves down the extract of the first result
19611   in IE 7.
19612 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
19613   parameter.
19615 === API changes in 1.17 ===
19617 * BREAKING CHANGE: action=patrol now requires POST.
19618 * BREAKING CHANGE: patrol token is no longer the same as edit token.
19619 * BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead
19620   of integers.
19621 * BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually
19622   enforce validation on the input values in addition to giving a warning.
19623   Also add flag to enforce (die) if integer out of range.
19624 * (bug 24650) Fix API to work with categorylinks changes.
19625 * action=parse now correctly returns an error for nonexistent pages.
19626 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
19627 * (bug 26560) On allusers if limit < total number of users, last user gets
19628   duplicated.
19629 * (bug 27715) imageinfo didn't respect revdelete.
19630 * (bug 27479) API error when using both prop=pageprops and
19631   prop=info&inprop=displaytitle.
19632 * (bug 27862) Useremail module didn't properly return success on success.
19633 * (bug 27590) prop=imageinfo now allows querying the media type.
19634 * (bug 27587) list=filearchive now outputs full title info.
19635 * (bug 27897) list=allusers and list=users list hidden users.
19636 * (bug 22738) Allow filtering by action type on query=logevent.
19637 * (bug 22764) uselang parameter for action=parse.
19638 * (bug 22944) API: watchlist options are inconsistent.
19639 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
19640 * (bug 22290) prop=revisions now outputs "comment" field even when comment
19641   is empty, for consistency with list=recentchanges.
19642 * (bug 19721) API action=help should have a way to just list for a specific
19643   module.
19644 * (bug 23458) Add support for pageid parameter to action=parse requests.
19645 * (bug 23460) Parse action should have a section option.
19646 * (bug 21346) Make deleted images searchable by hash.
19647 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
19648 * (bug 23548) Allow access of another users watchlist through watchlistraw
19649   using token and username.
19650 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
19651   track inline interwiki link usage).
19652 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
19653   similar to prop=categories's clcategories.
19654 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
19655   thumbnailing larger than original image.
19656 * (bug 23835) Need "thumbmime" result in "imageinfo" query.
19657 * (bug 23851) Repair diff for file redirect pages.
19658 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups.
19659 * (bug 24016) API: Handle parameters specified in simple string syntax
19660   ( 'paramname' => 'defaultval' ) correctly when outputting help.
19661 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied.
19662 * (bug 23473) Give description of properties on all modules.
19663 * (bug 24136) unknownerror when adding new section without summary, but
19664   forceditsummary.
19665 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result.
19666 * (bug 24303) Added new &servedby parameter to all actions which adds the
19667   hostname that served the request to the result. It is also added
19668   unconditionally on error.
19669 * (bug 24185) Titles in the Media and Special namespace are now supported for
19670   title normalization in action=query. Special pages have their name resolved
19671   to the local alias.
19672 * (bug 24296) Added converttitles parameter to convert titles to their
19673   canonical language variant.
19674 * (bug 23936) Add "displaytitle" to query/info API.
19675 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
19676   iwtitle.
19677 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
19678   one of the backlinks generators with limit=max.
19679 * (bug 24656) API's parse module needs option to disable PP report.
19680 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
19681   does not set the parameter, the API will automatically throw an error.
19682 * (bug 24665) When starttimestamp is not specified, fake it by setting it to
19683   NOW, not to the timestamp of the last edit.
19684 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
19685   allmessages, allpages, and allusers.
19686 * (bug 24236) Add add, remove, add-self, remove-self tags to
19687   meta=siteinfo&siprop=usergroups.
19688 * (bug 24484) Add prop=pageprops module.
19689 * (bug 24330) Add &redirect parameter to ?action=edit.
19690 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
19691   blockreason if the user is actually blocked.
19692 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
19693 * For required string parameters, if '' is provided, this is now classed as
19694   missing.
19695 * (bug 24724) list=allusers is out by 1 (shows total users - 1).
19696 * (bug 24166) API error when using rvprop=tags.
19697 * Introduced "asynchronous download" mode for upload-by-url. Requires
19698   $wgAllowAsyncCopyUploads to be true.
19699 * sinumberingroup correctly gives size of 'user' group, and omits size of
19700   implicit groups rather than showing 0.
19701 * (bug 25248) API: paraminfo errors with certain modules.
19702 * (bug 24792) API help for action=purge sometimes wrongly stated whether a
19703   POST request was needed due to cache pollution.
19704 * Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions.
19705 * Added rvparse to parse revisions. For performance reasons if this option is
19706   used, rvlimit is enforced to 1.
19707 * (bug 25748) If a action=parse request provides an oldid that is actually the
19708   current revision id, try the parser cache, and save it to it if necessary.
19709 * (bug 25463) Export header should not be shown if no pages were requested, to
19710   reduce confusion.
19711 * (bug 25648) API discovery information has been added as RSD link in page
19712   <head> and by providing an API module action=rsd. Added hook
19713   ApiRsdServiceApis for extensions to add their own service to the services
19714   list.
19715 * The HTML of diff output markers has changed. Hyphens are now minus signs,
19716   empty markers are now filled with non-breaking-space characters.
19717 * (bug 25741) Add more data to list=search's srprop.
19718 * (bug 25760) counter property still reported by the API when
19719   $wgDisableCounters enabled.
19720 * (bug 25987) prop=info&inprop=watched now also works for missing pages.
19721 * (bug 26006) prop=langlinks now allows obtaining full URL.
19722 * (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook.
19723 * (bug 26089) add block expiration to blockinfo.
19724 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
19725   file is a multi-page file.
19726 * (bug 10268) Added linktodiffs parameter on action=feedwatchlist.
19727 * (bug 26219) Show API limits for multi values in description.
19728 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
19729   real timestamp field.
19730 * (bug 27722) list=filearchive now supports revdel.
19732 === Language support changes in 1.17 ===
19734 MediaWiki supports over 330 languages. Many localizations are updated regularly.
19736 The following languages were added:
19738 * Moroccan Spoken Arabic (ary)
19739 * Banjar (bjn)
19740 * Kabardian (kbd)
19741 * Kabardian (Cyrillic) (kbd-cyrl)
19742 * Latgalian (ltg)
19743 * Minangkabau (min)
19744 * Dutch (informal) (nl-informal)
19745 * Rusyn (rue)
19747 Other significant changes to MediaWiki's language support:
19749 * Fiji Hindi (Devangari script) was removed.
19750 * Removed deprecated language code "dk" (Danish), use "da" instead.
19751 * Link trail added for sl and sh.
19752 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
19753 * (bug 23156) Commafy and search normalization updated for Belarusian
19754   (Taraškievica).
19755 * (bug 23283) Native name for Old English -> Ænglisc.
19756 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
19757 * (bug 24593) Native name for Sorani now uses only Arabic script.
19758 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
19759 * (bug 24917) Polish as fallback for Kashubia.
19760 * (bug 24794) Tatar link trail updated.
19761 * Esperanto date format corrected.
19762 * (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ /
19763   Qabardjajəbza.
19764 * (bug 28184) Namespaces for the Latgalian Wikipedia.
19765 * (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт
19766   to Башҡортса.
19767 * (bug 26395) Change name of Cornish language to Kernowek.
19769 === Other changes in 1.17 ===
19771 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
19772   extensions has been removed.
19773 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
19774 * The FailFunction "error handling" method has now been removed
19775 * Sysops now have the "suppressredirect" right by default
19776 * Removed $wgRemoteUploads. It was not well supported and superseded by
19777   $wgUploadNavigationUrl.
19778 * (bug 26253) $wgPostCommitUpdateList has been removed
19779 * The PHPUnit test suite has been removed from this release due to serious
19780   issues which should be resolved by the 1.18 release.
19781 * Oracle DB now uses the __destruct function to commit/close connection as it
19782   doesn't commit on close if transation is triggered in OCI.
19784 == MediaWiki 1.16 ==
19786 == MediaWiki 1.16.5 ==
19787 === Changes since 1.16.4 ===
19789 * (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
19790   attempt at fixing bug 28235.
19791 * (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin
19792   is enabled.
19794 == MediaWiki 1.16.4 ==
19795 === Changes since 1.16.3 ===
19797 * (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6
19798   clients) was not actually sufficient to fix that bug. This release contains
19799   a second attempt, hopefully we have fixed it this time.
19801 == MediaWiki 1.16.3 ==
19802 === Changes since 1.16.2 ===
19804 * (bug 28449) Fixed permissions checks in Special:Import which allowed users
19805   without the 'import' permission to import pages from the configured import
19806   sources.
19807 * (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those
19808   browsers looking for a file extension in the query string of the URL, and
19809   ignoring the Content-Type header if one is found.
19810 * (bug 28450) Fixed a CSS validation issue involving escaped comments, which
19811   led to XSS for Internet Explorer clients and privacy loss for other clients.
19813 == MediaWiki 1.16.2 ==
19814 === Changes since 1.16.1 ===
19816 * (bug 26642) Fixed incorrect translated namespace due to a regression in the
19817   language converter.
19818 * The interface translations were updated.
19819 * (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability.
19820 * (bug 27094) Fixed server-side arbitrary script inclusion vulnerability.
19821   Affects Windows servers only. A malicious file with extension ".php" must
19822   exist on the server for the exploit to be effective.
19824 == MediaWiki 1.16.1 ==
19825 === Changes since 1.16.0 ===
19827 * (bug 24981) Allow extensions to access SpecialUpload variables again
19828 * (bug 24724) list=allusers was out by 1 (shows total users - 1)
19829 * (bug 24166) Fixed API error when using rvprop=tags
19830 * For wikis using French as a content language, Special:Téléchargement works
19831   again as an alias for Special:Upload.
19832 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0)
19833 * (bug 25248) Fixed paraminfo errors in certain API modules.
19834 * The installer now has improved handling for situations where safe_mode is
19835   active or exec() and similar functions are disabled.
19836 * (bug 19593) Specifying --server in now works for all maintenance scripts.
19837 * Fixed $wgLicenseTerms register globals.
19838 * (bug 26561) Fixed clickjacking vulnerabilities by introducing support for
19839   X-Frame-Options. The header value can be configured using $wgBreakFrames and
19840   $wgEditPageFrameOptions.
19842 == MediaWiki 1.16.0 ==
19843 === Changes since 1.16 beta 3 ===
19845 * (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in
19846   1.16 beta 1, but is currently poorly supported by browsers.
19847 * (bug 23175) Re-added window.ta variable for backwards compatibility.
19848 * (bug 23264) Fixed breakage of various command line scripts due to extra line
19849   endings being inserted by Maintenance::output().
19850 * Fixed HTTP client functionality with safe_mode=On.
19851 * Fixed parser tests broken in 1.16 beta 3.
19852 * For Oracle DB backend: fixed parser tests and table prefix feature.
19853 * (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue).
19854 * Fixed plural function for Northern Sami (se)
19855 * (bug 23597) Fixed conflicts between ID attributes in the Vector skin and
19856   parser-generated heading IDs. Renamed head, panel, head-base and page-base.
19857 * Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet.
19858 * (bug 23465) Don't ignore the predefined destination filename on
19859   Special:Upload after following a red link to a file.
19860 * In SQLite full-text search feature: fixed "move page" feature, was non-
19861   functional.
19862 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
19863   user privacy in the case where an attacker can access the wiki through the
19864   same HTTP proxy as a logged-in user.
19865 * Fixed an XSS vulnerability in profileinfo.php for installations with
19866   $wgEnableProfileInfo = true (false by default)
19867 * Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being
19868   false. Fixed a minor header parsing issue when $wgUseXVO = true.
19869 * Fixed a register_globals arbitrary inclusion vulnerability in
19870   MediaWikiParserTest.php, introduced in 1.16 beta 1.
19872 === Changes since 1.16 beta 2 ===
19874 * Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
19875   invalid usernames.
19876 * Fixed sorting in [[Special:Allmessages]]
19877 * (bug 23113) Fixed title in the show/hide links on diff pages
19878 * (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
19879 * (bug 23127) Re-added missing $1 parameter to the uploadtext message
19880 * Fixed a bug in the Vector skin where personal tools display behind the logo
19881 * (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes
19882   showed the same text.
19883 * (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements
19884   in page views and previews when the language converter is enabled.
19885 * (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
19886   scaling, which was introduced in 1.16 beta 1.
19887 * Improved error checking on installer.
19888 * (bug 22970) Fixed a JavaScript error in the upload destination conflict
19889   check.
19890 * (bug 23167) Check the watch checkbox by default if the watchcreations
19891   preference is set.
19892 * (bug 23171) Improve IE6 version check to avoid false positives.
19893 * (bug 23176) Fixed upload warning override feature "upload new version",
19894   broken in 1.16 beta 1.
19895 * Fixed regression in unwatch links sent out in notification emails. When the
19896   mailing job was deferred via the job queue, the title was incorrect.
19897 * (bug 23534) Fixed SQL query error in API list=allusers.
19898 * Fixed a bug in uploads for non-JavaScript clients. An empty string was used
19899   as the default destination filename, instead of the source filename as
19900   expected.
19901 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
19902   account" and "create by e-mail" features of [[Special:Userlogin]]
19903 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
19904   validation issue.
19905 * Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick
19906   expanded wildcard characters "?" and "*" in image filenames, potentially
19907   causing large numbers of images to be scaled in response to a single request.
19908   The fix for this involves breaking the scaling of such image filenames until
19909   ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details.
19910 * (bug 23608) Fixed invalid HTML in diff pages.
19912 === Changes since 1.16 beta 1 ===
19914 * Fixed errors in maintenance/patchSql.php
19915 * (bug 19627) Fix regression from r57867 where HTMLForm would output
19916   <element classes="foo bar"> rather than <element class="foo bar">
19917 * Fixed broken "-r" option to maintenance/lag.php
19918 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
19919   be submitted along with the user name and password.
19921 === Configuration changes in 1.16 ===
19923 * (bug 18222) $wgMinimalPasswordLength default is now 1
19924 * $wgSessionHandler can be used to configure session.save_handler
19925 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
19926   be used when uploading/moving files
19927 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
19928   to be shown to users
19929 * $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
19930   $wgHiddenPrefs[] = 'realname', but the former are still retained
19931   for backwards-compatibility
19932 * (bug 9257) $wgRCMaxAge now defaults to three months
19933 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
19934   functions and other potential errors when developing.
19935 * Subpages are now enabled in the MediaWiki namespace by default.  This is
19936   mainly a cosmetic change, and does not in any way affect the MessageCache,
19937   which was already effectively treating the namespace as if it had subpages.
19938 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
19939   appropriate privileges. Creating this user with web-install page requires
19940   oci8.privileged_connect set to On in php.ini.
19941 * Removed UserrightsChangeableGroups hook introduced in 1.14
19942 * Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
19943   $wgLocalMessageCache, and any other local caches which need a place to put
19944   files.
19945 * $wgFileCacheDirectory is no longer set to anything by default, and so either
19946   needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
19947 * $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
19948   to true
19949 * Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
19950   functionality is now available via $wgLocalisationCacheConf.
19951 * $wgMessageCache->addMessages() is deprecated. Messages added via this
19952   interface will not appear in Special:AllMessages.
19953 * $wgRegisterInternalExternals can be used to record external links pointing
19954   to same server
19955 * (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
19956   to control which external domains may access the API via cross-site AJAX.
19957 * $wgMaintenanceScripts for extensions to add their scripts to the default list
19958 * $wgMemoryLimit has been added, default value '50M'
19959 * $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
19960   should be used instead
19961 * (bug 20489) $wgIllegalFileChars added to override the default list of illegal
19962   characters in file names.
19963 * (bug 19646) $wgImgAuthDetails added  to display reason access to uploaded file
19964   was denied to users(img_auth only)
19965 * (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
19966   correctly (img_auth only)
19967 * $wgUploadMaintenance added to disable file deletions and restorations during
19968   maintenance
19969 * $wgCapitalLinkOverrides added to configure per-namespace capitalization
19970 * (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL and renamed
19971   to $wgDnsBlacklistUrls (backward compatibility kept)
19972 * $wgEnableHtmlDiff has been removed
19973 * (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of
19974   CIDR ranges for blocking
19975 * $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
19976   file repository
19977 * $wgDBAhandler added to choose a DBA handler when using CACHE_DBA
19978 * $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave
19979   similarly to the category namespace.
19980 * $wgEnableSorbs renamed to $wgDnsBlacklistUrls ($wgEnableSorbs kept for
19981   backward compatibility)
19982 * $wgUploadNavigationUrl now also affects inline images that do not
19983   exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to
19984   it as appropriate.
19985 * If $wgLocaltimezone is null, use the server's timezone as the default for
19986   signatures. This was always the behavior documented in DefaultSettings.php
19987   but has not been the actual behavior for some time: instead, UTC was used
19988   by default.
19989 * Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath.
19990   If not specified it will default to $wgScriptPath/extensions
19991 * Added $wgCountTotalSearchHits to make search UI display total number of hits
19992   with some search engines.
19993 * Added $wgAdvertisedFeedTypes to decide what feed types (RSS, Atom, both, or
19994   neither) MediaWiki advertises.  Default is array( 'atom' ), so RSS is no
19995   longer advertised by default (but it still works).
19996 * Added $wgMemCachedTimeout, controls how long to wait for data from the
19997   memcached servers.
19998 * New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders
19999   for controlling debug output.
20000 * New $wgBlockDisablesLogin when set to true disallows blocked users from
20001   logging in.
20002 * (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate
20003   extension "MetadataEdit".
20005 === New features in 1.16 ===
20007 * Add CSS defintion of the 'wikitable' class to shared.css
20008 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
20009   viewing talk pages
20010 * Superfluous border="0" removed from images
20011 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
20012   to allow extensions to update caches in similar way as MediaWiki invalidates
20013   a cached MonoBook sidebar
20014 * Special:AllPages: Move hardcoded styles from code to CSS
20015 * (bug 18529) New hook: SoftwareInfo for adding information about the software
20016   to Special:Version
20017 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
20018   type of columns when using the Postgres backend.
20019 * (bug 16950) Show move log when viewing/creating a deleted page
20020 * (bug 18242) Show the Subversion revision number per extensions in
20021   Special:Version
20022 * (bug 18420) Missing file revisions are handled gracefully now
20023 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
20024 * (bug 18466) Add note or warning when overruling a move (semi-)protection
20025 * (bug 18342) insertTags works in edit summary box
20026 * (bug 18411) The upload form also checks post_max_size
20027 * Watchlist now has a specialized <div> tag that contains a unique class for
20028   each page
20029 * Added Minguo calendar support for the Taiwan Chinese language
20030 * Database: unionQueries function to be used for UNION sql construction, so
20031   it can be overloaded on DB abstraction level for DB specific functionality
20032 * (bug 18849) Implement Japanese and North Korean calendars
20033 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
20034   month number without the leading zero
20035 * (bug 13456) categoriespagetext supports PLURAL
20036 * (bug 18860) Blocks of IPs affecting registered users can now block email
20037 * (bug 17093) Date and time are separate parameters in Special:BlockList
20038 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
20039 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
20040   'recentchangeslinked-toolbox' were added to allow more fine grained
20041   customisation of the user interface
20042 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
20043   items)
20044 * Special:Search now could search terms in all variant-forms. ONLY apply on
20045   wikis enabled LanguageConverter.
20046 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to
20047   various user groups.
20048 * Add $wgRevokePermissions as a means of restricting a group's rights. The
20049   syntax is identical to $wgGroupPermissions, but users in these groups will
20050   have these rights stripped from them.
20051 * Added a PHP port of CDB (constant database), for improved local caching when
20052   the DBA extension is not available.
20053 * Introduced a new system for localisation caching. The system is based around
20054   fast fetches of individual messages, minimising memory overhead and startup
20055   time in the typical case. The database backend will be used by default, but
20056   set $wgCacheDirectory to get a faster CDB-based implementation.
20057 * Expanded the number of variables which can be set in the extension messages
20058   files.
20059 * Added a feature to allow per-article process pool size control for the parsing
20060   task, to limit resource usage when the cache for a heavily-viewed article is
20061   invalidated. Requires an external daemon.
20062 * (bug 19576) Moved the id attributes from the anchors accompanying section
20063   headers to the <span class="mw-headline"> elements within the section headers,
20064   removing the redundant anchor elements.
20065 * Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
20066   preprocesor level.
20067 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
20068   display for old versions of images.
20069 * In watchlists and Special:RecentChanges, the difference in page size now
20070   appears in dark green if bytes were added and dark red if bytes were removed.
20071 * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
20072   thumbnails to be stored in a separate location to the source images.
20073 * If config/ directory is not executable, the command to make it executable
20074   now asks the user to cd to the correct directory
20075 * Add experimental new external authentication framework, ExternalAuth
20076 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
20077   will still load it if it exists, but it's not required for anything
20078 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
20079   class "mw-listgrouprights-key"
20080 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
20081 * (bug 10812) Interwiki links can have names and descriptions, fetched from
20082   message 'interwiki-desc-PREFIX', not really used anywhere yet though
20083 * (bug 9691) Add type (signup or login) parameter to
20084   AuthPlugin::ModifyUITemplate()
20085 * (bug 14454) "Member of group(s)" in Special:Preferences causes language
20086   difficulties
20087 * (bug 16697) Unicode combining characters are difficult to edit in some
20088   browsers
20089 * Parser test supports uploading results to remote CodeReview instance
20090 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
20091   extension version in Special:Version
20092 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
20093   right name in Special:ListGroupRights
20094 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
20095   to {{ns:...}}
20096 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
20097   params
20098 * (bug 18566) Maintenance script to un/protect pages
20099 * (bug 671) The HTML <abbr> tag is now permitted.
20100 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
20101   flags have tooltips.
20102 * (bug 15209) New hook BeforeInitialize called after everything has been setup
20103   but before MediaWiki::performRequestForTitle()
20104 * wgMainPageTitle variable now available to JavaScript code to identify the main
20105   page link, so it doesn't have to be extracted from the link URLs.
20106 * (bug 16836) Display preview of signature in user preferences and describe its
20107   use
20108 * The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
20109   This can be disabled by setting $wgHtml5 = false;.  Specific features enabled
20110   if HTML 5 is used:
20111 ** Some extra inputs will be autofocused, in supporting browsers.
20112 ** The summary attribute has been removed from tables of contents.  summary is
20113    obsolete in HTML 5 and wasn't useful here anyway.
20114 ** Unnecessary type="" attribute removed for CSS and JS.
20115 ** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
20116    output by omitting some things like quotation marks where HTML 5 allows.
20117 ** (bug 16921) maxlength enabled for page move comments
20118 * The description message in $wgExtensionCredits can be an array with parameters
20119 * New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
20120   criteria used by Special:Random and subclasses, or substitute a custom result,
20121   deprecating the $wgExtraRandompageSQL config variable
20122 * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
20123 * (bug 20404) Custom fields in the user creation form template can now have
20124   detail labels in prefsectiontip divs.
20125 * MakeSysop and MakeBot are now aliases for Special:UserRights
20126 * IndexPager->mLimitsShown can now be an associative array of limit => text-to-
20127   display-in-limit-form.
20128 * (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
20129   and add its HTML to it, rather than having to go straight to $wgOut.
20130 * Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
20131   database connection and query errors.
20132 * Show change block / unblock link on Special:Contributions if user is blocked
20133 * Display note on Special:Contributions if the user is blocked, and provide an
20134   excerpt from the block log.
20135 * (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
20136   file is streamed to user, but only when using img_auth
20137 * Note on non-existing user and user talk pages if user does not exist
20138 * New hook ShowMissingArticle so extensions can modify the output for
20139   non-existent pages.
20140 * Admins could disable some variants using $wgDisabledVariants now. ONLY apply
20141   on wikis enabled LanguageConverter.
20142 * (bug 16310) Credits page now lists IP addresses rather than saying the number
20143   of anonymous users that edited the page
20144 * New permission 'sendemail' added. Default right for all registered users. Can
20145   for example be used to prevent new accounts from sending spam.
20146 * (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__
20147 * Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are
20148   called after a user's email has been successfully confirmed or invalidated.
20149 * (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for
20150   a smaller subversion checkout.
20151 * (bug 13750) First letter capitalization can now be a per-namespace setting
20152 * (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages
20153   of existing users
20154 * (bug 21095) Tracking categories produced by the parser (expensive parser
20155   function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by
20156   setting the  system message ([[MediaWiki:expensive-parserfunction-category]]
20157    etc) to "-".
20158 * Added maintenance script sqlite.php for SQLite-specific maintenance tasks.
20159 * Rewrote Special:Upload to allow easier extension.
20160 * Upload errors that can be solved by changing the filename now do not require
20161   reuploading.
20162 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
20163   rate limits.
20164 * (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
20165   the parser so extensions are free to implement their own <math> tag
20166 * (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
20167   an own 'mw-error-cannotdelete' class
20168 * New hook AbortNewAccountAuto, called before account creation from AuthPlugin-
20169   or ExtUser-driven requests.
20170 * (bug 3480) The warning saying that the page has a history when deleting it now
20171   contains the number of revisions in the history
20172 * $wgStylePath and $wgLogo are now set in the default LocalSettings.php file.
20173 * (bug 20186) Allow filtering history for revision deletion.
20174 * New hook OtherBlockLogLink, called in Special:IPBlockList and Special:Block
20175   to show links to block logs of other blocking extensions, i.e. GlobalBlocking
20176 * Added search capabilities to SQLite backend
20177 * rebuildtextindex.php maintenance script now supports databases other than
20178   MySQL
20179 * upgrade1_5.php now requires to be run --update option to prevent confusion
20180 * (bug 17662) Customizable default preload/editintro for new sections in the
20181   respective addsection-preload and addsection-editintro messages
20182 * Added maintenance script checkSyntax.php that checks for PHP syntax errors
20183   and common coding mistakes
20184 * Updated Unicode normalization tables
20185 * (bug 21604) Spellcheck attribute for editsummary
20186 * New wgCategories JavaScript global variable for userscripts.
20187 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
20188   membership in SpecialActiveusers
20189 * Allow \pagecolor and \definecolor in texvc
20190 * $wgTexvcBackgroundColor contains background color for texvc call
20191 * (bug 21574) Redirects can now have "303 See Other" HTTP status
20192 * EditPage refactored to allow extensions to derive new edit modes much easier.
20193 * (bug 21826) Subsections of Special:Version now also have anchors
20194 * (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick)
20195 * (bug 21946) Sorted wikitables do not properly handle minus signs
20196 * (bug 18885) Red links for media files do not support shared repositories
20197 * Added $wgFixArabicUnicode, to convert deprecated presentation forms in
20198   Arabic text to their modern equivalents, and $wgFixMalayalamUnicode, to
20199   convert ZWJ-based chillu sequences in Malayalam text to their Unicode 5.1
20200   equivalents.
20201 * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now
20202   stops normal output
20203 * Send new password e-mail in users preference language
20204 * LanguageConverter now support nested using of manual convert syntax like
20205   "-{-{}-}-"
20206 * Upload license preview now uses the API instead of action=ajax
20207 * (bug 7346) Add <guid> to RSS to avoid duplicates
20208 * (bug 19996) Added new hooks for Special:Search, which allow to further
20209   restrict/expand it.
20210 * (bug 21936) When a revision has been patrolled, there's now a link back to the
20211   article
20212 * (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks
20213   the return value
20214 * Separate unit test suites under t/ and tests/ were merged and moved to
20215   maintenance/tests/.
20216 * importImages.php maintenance script can now use the original uploader and
20217 comment from another wiki.
20218 * Support for Turck MMCache was removed
20219 * (bug 14592) Warn users when they try to move their user page that their
20220   account will not be renamed
20221 * Show block log on non-existing user (talk) pages of currently blocked users
20223 === Bug fixes in 1.16 ===
20225 * (bug 18031) Make namespace selector on Special:Export remember the previous
20226   selection
20227 * The svn-version version numbers on Special:Version have been removed
20228 * (bug 17374) Special:Export no longer exports two copies of the same page
20229 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
20230 * (bug 17617) HTML cleanup for ImagePage
20231 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
20232 * Improved error handling for image moving
20233 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
20234   with <strong> tags, helps with text-based browsers
20235 * (bug 18259) Special:DeletedContributions now also uses
20236   MediaWiki:Sp-contributions-logs for the link to Special:Log
20237 * Don't add empty title="" attributes to links to anchors on the current page
20238 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
20239 * (bug 18304) rebuildrecentchanges.php got size changes wrong
20240 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
20241 * (bug 18289) Database connection error page now returns correct HTML
20242 * "successbox", "errorbox" and related CSS classes are now available in all
20243   skins
20244 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
20245 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
20246 * The "noautoblock" flag is no longer displayed in the block log when blocking
20247   an IP address
20248 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
20249 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
20250 * (bug 18377) Time in Enhanced ChangesList lacking localisation
20251 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
20252 * (bug 1553) Lowercase navigation headings in German
20253 * (bug 7830) Pending transactions failed to commit on loginToUse() error
20254 * (bug 11613) session.save_handler being over-ridden
20255 * (bug 11381) session.save_handler being set twice (causes error)
20256 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
20257 * (bug 18115) ForeignAPIRepo cache isn't working
20258 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
20259   after some parsed math syntax.
20260 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
20261 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
20262   <strong> instead of hardcoded styles
20263 * (bug 18449) Fixed items number per column on category pages when the total is
20264   divisible by 3
20265 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
20266   revisions when --delete is not passed
20267 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
20268 * Overhaul of preferences system, includes the following bug fixes:
20269 ** (bug 5363) Changes to default preferences now impact registered users.
20270 ** (bug 14806) Hook to enable putting preferences in existing tabs.
20271 ** (bug 17191) Registration date now listed on preferences page.
20272 ** The user_properties table (now used for storing preferences) has been added
20273    to $wgSharedTables.
20274 ** Note that this change will break some extensions which have not been adapted
20275    for it.
20276 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
20277   languages while the text is typed as URLs.
20278 * (bug 17614) Prev / Next links are not shown if all results are shown
20279 * (bug 18207) Strange spacing before [[irc:...]] links
20280 * Removed float from the user login form in RTL interface - caused display
20281   problems in FF2
20282 * (bug 15008) Redirect images are now subject to Bad image list rules
20283 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
20284 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
20285   'wikidiff' or 'wikidiff2' but extension is not installed
20286 * (bug 18326) Chmod errors in file repos have been hidden
20287 * (bug 18718) Comma after a } create a error in IE
20288 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
20289   tweaked spacing.
20290 * (bug 18656) Use proper directory separators in wfMkdirParents()
20291 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
20292   $wgSysopEmailBans
20293 * (bug 16912) Tooltips on images with link= disappear
20294 * (bug 18389) Localise numbers in EXIF data
20295 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
20296 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
20297 * (bug 18432) Updated documentation for dumpBackup.php
20298 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
20299   tags that were redundantly defined.
20300 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
20301 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
20302   .inc
20303 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
20304   Title::userCanEdit() and Title::userCanMove() have been removed
20305 * Only show upload links on file description if $wgEnableUploads = true
20306   and user can upload
20307 * Don't say "You need to log in to upload/move", because it's possible that
20308   uploading/moving is disabled for registered users as well (e.g. only sysops)
20309 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
20310 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
20311 * (bug 10837) Introducing the StubUserVariant class to determine the variant
20312   variable instead of using this to overrule the user language preference.
20313 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
20314   show "view" instead of "view/restore" on logs.
20315 * (bug 19017) TOC level calculation error in an odd case
20316 * (bug 18999) CSS update for RTL interwiki links
20317 * (bug 18925) history.js removes class names of list elements on initialization
20318 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
20319   link from the edit comment
20320 * (bug 19112) Preferences now respects $wgUseExternalEditor
20321 * (bug 18173) MediaWiki now fails when unable to determine a client IP
20322 * (bug 19170) Special:Version should follow the content language direction
20323 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
20324 * Fixed performance regression in "bad image list" feature
20325 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
20326 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
20327   can add/remove *all* groups (have 'userrights' permission).
20328 * (bug 19294) Always show Sp-contributions-footer(-anon)
20329 * Attempts to restrict reading of pages while anonymous viewing is allowed
20330   via extensions not using the userCan hook and via $wgRevokePermissions now
20331   work.
20332 * (bug 8445) Multiple-character search terms are now handled properly for
20333   Chinese
20334 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
20335 * (bug 11242) Check for MySQL storage engines during installation now checks
20336   whether the engines are actually available
20337 * (bug 19390) Omit the "printable version" link on the printable version
20338 * (bug 18394) img_auth.php now respects userCan
20339 * (bug 19509) Uploading to a file named '0' previously treated it as null input
20340    and attempted to upload with the source name. Now warns about not having an
20341    extension (since 0.ext is perfectly valid)
20342 * (bug 19468) Enotif preferences are now only displayed when they are turned on
20343 * (bug 19442) Show/hide options on watchlist only work once
20344 * (bug 19602) PubMed Magic links now use updated NIH url
20345 * (bug 19637) externallinks have links to self
20346 * Don't load Opera 9.5 RTL fixes for Opera 9.6
20347 * Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
20348   and was causing problems.
20349 * Removed repetition of URIs in the title attributes of external links.
20350 * (bug 19693) User name is now escaped in "Contributions for ..." link on
20351   Special:BlockIP
20352 * (bug 19571) Override buildConcat for SQLite.
20353 * Log in and log out links no longer return to page view when clicked from
20354   history view, edit page, or something similar
20355 * (bug 19513) RTL fixes for new Search UI
20356 * (bug 16497) Special:Allmessages is paginated
20357 * (bug 18708) CSS plainlinks class now available to all skins
20358 * (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
20359   database type
20360 * (bug 19759) successbox on Special:Preferences now correctly aligned on
20361   standard, nostalgia and cologneblue skin
20362 * (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
20363   are no longer recorded in the pagelinks table
20364 * (bug 19784) date option "ISO 8601" produced illegal id
20365 * (bug 19761) Removed autogenerated <meta keywords> tag with link data.
20366   Keyword set was not useful, and is ignored by modern search engines anyway.
20367 * (bug 19827) Special:SpecialPages title is "Upload file
20368 * (bug 19355) Added .xhtml, .xht to upload file extension blacklist
20369 * (bug 19287) Workaround for lag on history page in Firefox 3.5
20370 * (bug 19564) Updated docs/hooks.txt
20371 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
20372 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
20373 * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
20374   table.
20375 * (bug 14080) Short notation links to subpages didn't work in edit summaries
20376 * (bug 17374) Special:Export no longer exports multiple copies of pages
20377 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
20378   users who can't edit them
20379 * (bug 19839) Comments in log items are no more double escaped
20380 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
20381   "enhanced recent changes"
20382 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
20383   the recentchanges table
20384 * (bug 16009) Limit selection forms based on Pager now links to the correct page
20385   when using long urls
20386 * The display of the language list on the preferences is more comply with the
20387   BCP 47 standards.
20388 * (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
20389 * (bug 19301) Duplicate entries in $wgAddGroups, $wgRemoveGroups,
20390   $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
20391   Special:ListGroupRights
20392 * (bug 18799) Special:Userlogin now handles correctly the returnto parameter
20393   to not link back to Special:Userlogout when user's language isn't the same as
20394   content's language
20395 * (bug 19479) Show proper error message when unable to connect to PostgreSQL
20396   database with username/password in MediaWiki's setup
20397 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
20398   if uploads are enabled and the user can access it
20399 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
20400 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
20401   option to parser test suite to run disabled tests if desired.
20402 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
20403 * (bug 15680) Split the edit tip message of user CSS/JS subpage into
20404   "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
20405 * (bug 12110) Split the rights for editing users' CSS/JS subpage from
20406   "editusercssjs" into "editusercss" and "edituserjs" respectively.
20407 * (bug 19394) RecentChanges feed URLs for log items with no revisions
20408   (eg Newuser, Userrights) are no longer broken
20409 * (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
20410   language ($wgContLang)
20411 * (bug 11867) Lock error on redirect table when running orphans.php
20412 * (bug 18930) initStats.php now refreshes active users count
20413 * (bug 18699) Using the nosummary URL option no longer triggers the "You have
20414   not provided a summary" warning for those who activated it in their
20415   preferences
20416 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
20417   using the full path
20418 * (bug 18497) Fixed broken style sheets in Opera fullscreen mode
20419 * (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
20420 * (bug 17864/19519) Added proper input normalization in Special:UserRights
20421 * (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
20422 * (bug 19289) importDump.php can now handle bzip2 and 7zip
20423 * (bug 20131) Fixed a PHP notice for users having the "rollback" right on
20424   Special:RecentChangesLinked
20425 * Do not transform EXIF fields with pure text to avoid results like
20426   foo,bar@example,com
20427 * (bug 20176) Fix login/logout links in skin CologneBlue
20428 * (bug 20203) "Powered by MediaWiki" now has height/width on image tag
20429 * (bug 20273) Fix broken output when no pages are found in the content
20430   namespaces
20431 * (bug 20265) Make AncientPages and UnusedFiles work on SQLite
20432 * Fixed XSS vulnerability for Internet Explorer clients (only pre-release
20433   versions of MediaWiki were affected).
20434 * (bug 14817) Moving a page to a subpage of itself moves it twice
20435 * (bug 20289) $wgMaximumMovedPages should only count pages actually moved
20436 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
20437   are now normalized to ordinary spaces in titles; if your wiki has existing
20438   titles with such characters, run cleanupTitles.php and/or cleanupImages.php
20439 * (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
20440   cleanly disabled instead of breaking parsing entirely on PHP 5.2.
20441 * (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
20442 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
20443 * (bug 20317) Cleaned up default main page link accesskey settings
20444 * (bug 20362) Special:Statistics now produces valid HTML when view counters are
20445   enabled
20446 * (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
20447   target page
20448 * (bug 20365) Page name with c/g/h/j/s/u + x are now correctly handled in
20449   Special:MovePage with Esperanto as content language
20450 * (bug 20364) Fixed regression in GIF metadata loading
20451 * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
20452   use wikitext
20453 * (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
20454   DatabaseBase::getFlag() now have documentation
20455 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
20456   the file description page instead of MediaWiki:License
20457 * (bug 20380) Links to history/deleted edits at the top of
20458   Special:RevisionDelete are no more displayed when doing log suppression
20459 * (bug 8143) Localised parser function names are now correctly case insensitive
20460   if they contain non-ASCII characters
20461 * (bug 19055) maintenance/rebuildrecentchanges.php now purges
20462   Special:Recentchanges's RSS and Atom feed cache
20463 * The installer will now try to bypass PHP's max_execution_time
20464 * (bug 20260) SQLite no longer tries to automatically create the database at
20465   execution time, this now happens only at install time; if it is not available
20466   at script execution, it now throws an exception
20467 * Fixed EditFilterMerged hook so the hookError parameter serves a purpose
20468   (analogous to EditFilter hook)
20469 * (bug 2257) Tag extensions can expand template parameters provided to the tag,
20470   by using a new parameter added to the recursiveTagParse function
20471 * (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
20472   $wgArticleRobotPolicies.
20473 * (bug 20466) Hidden categories are no more displayed when printing
20474 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
20475   the local wiki, the user is now treated as the local user
20476 * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
20477   argument
20478 * (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
20479   any change, in addition to onkeyup.
20480 * Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
20481   allowed to create page. Done via new message
20482   MediaWiki:Noarticletext-nopermission
20483 * Improved compatibility between the Vector skin and addPortletLink() from
20484   wikibits.js: empty portlets are now present but hidden, adding an element to a
20485   portlet unhides it
20486 * (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
20487   be compatible with the CSS for the Vector skin
20488 * (bug 20578) Wrong localized image metadata - duplicated string?
20489 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
20490   correct type="text" parameter
20491 * (bug 482) Don't include TOC in the printable version if it has been hidden
20492 * Adjust the time according to the user configuration on Special:Revisiondelete
20493 * (bug 20624) Installation no longer allows "qqq" as the chosen language
20494 * (bug 20634) The installer-created database user will now have all rights on
20495   the database so that upgrades will go more smoothly.
20496 * (bug 18180) Special:Export ignores limit, dir, offset parameters
20497 * User::getBlockedStatus() works for all kinds of user objects and doesn't
20498   assume the user object is equal to the current-user object ($wgUser)
20499 * (bug 20517) Cancel link from edit page now returns to the old version when
20500   editing an old version
20501 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
20502   by disable_functions
20503 * (bug 20726) Title::getLatestRevID's documentation now says that the function
20504   returns false if the page doesn't exist
20505 * (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache
20506 * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
20507 * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing
20508   command line scripts to fail
20509 * (bug 20702) Parser functions can now be used correctly in
20510   MediaWiki:Missing-article
20511 * (bug 14117) "redirected from" is now also shown on foreign file redirects
20512 * (bug 17747) Only display thumbnail column in file history if the image can
20513   be rendered.
20514 * (bug 3421) Live preview no longer breaks user CSS/JS previews
20515 * (bug 11264) The file logo on a file description page for documents (PDF, ...)
20516   now links to the file rather than the file description page
20517 * Password fields built with HTMLForm now still have the type="password"
20518   attribute if $wgHtml5=false.
20519 * (bug 20836) Preload now works for MediaWiki namespace
20520 * (bug 20885) Search box no longer suggests unavailable special pages
20521 * (bug 20948) "Create this page" on Special:Search is no longer displayed when
20522   searching for special pages
20523 * (bug 20524) Hideuser: Show nice error when trying to block hidden user without
20524   hideuser right
20525 * (bug 21026) Fixed file redirects on shared repos on non-English client wikis
20526 * (bug 21030) Fixed schema choices from being overwritten by defining unique
20527   field names per driver.
20528 * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always
20529   false on non-special pages
20530 * (bug 21113) "Other statistics" header on Special:Statistics is no more
20531   displayed when there isn't any entry in it
20532 * (bug 21114) Special:Contributions no longer shows diff links for new
20533   revisions
20534 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
20535   MediaWiki:Templatesusedsection now support plural
20536 * (bug 21079) There is no more line wrapping between label and field in
20537   Special:Log
20538 * (bug 20256) Fixed SQL errors on Special:Recentchanges and
20539   Special:Recentchangeslinked on SQLite backend
20540 * (bug 20880) Fixed updater failure on SQLite backend
20541 * (bug 21182) Fixed invalid HTML in Special:Listgrouprights
20542 * (bug 20242) Installer no longer promts for user credentials for SQLite
20543   databases
20544 * (bug 20911) Installer failed to create a SQLite database
20545 * (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving
20546   dummy
20547 * (bug 21161) Changing $wgCacheEpoch now always invalidates file cache
20548 * (bug 20268) Fixed row count estimation on SQLite backend
20549 * (bug 20275) Fixed LIKE queries on SQLite backend
20550 * (bug 21234) Moving subpages of titles containing \\ now works properly
20551 * (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL
20552 * (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page
20553 * (bug 21255) Fixed hostname construction for DNSBL checking
20554 * (bug 18019) Users are now warned when moving a file to a name in use on a
20555   shared repository and only users with the 'reupload-shared' permission can
20556   complete the move.
20557 * (bug 18909) Add missing Postgres INSERT SELECT wrapper
20558 * User::isValidPassword now only returns boolean results,
20559   User::getPasswordValidity can be used to get an error message string
20560 * The error message shown in Special:ChangePassword now parses wiki markup
20561 * (bug 19859) Removed experimental HTMLDiff feature
20562 * Removed section edit links in edit conflict form
20563 * Allow SpecialActiveusers to work on non-MySQL databases
20564 * (bug 6579) Fixed protecting images from uploading only
20565 * (bug 18609) Search index was empty for some pages
20566 * (bug 13453) rebuildrecentchanges maintenance script works on PG again
20567 * (bug 16583) Reduce false positives when checking for PHP (on upload, etc.)
20568 * (bug 20112) Bitrotted tests in the t/ directory were failing.
20569 * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with
20570   id "mw-sp-contributions-explain"
20571 * (bug 19159) Fixed \overleftrightarrow in texvc
20572 * (bug 19391) Fix caching for Recent ChangesFeed.
20573 * (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages
20574   even to non-logged in users
20575 * (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and
20576   general implementation of HTTP, allowing it to purge non-Squid caches such as
20577   Varnish.
20578 * Fixed corruption of long UDP debug log messages by using socket_sendto()
20579   instead of fsockopen() with fwrite().
20580 * (bug 16884) Fixed feed links in sidebar not complying with URL parameters
20581   of the displayed page
20582 * (bug 21403) memcached class renamed to MWMemecached to avoid conflict with
20583   PHP's memcached extension
20584 * (bug 21650) Both calls to SkinTemplateTabs hook are now compatible
20585 * (bug 21672) Add missing Accept-Language to both Vary and XVO headers
20586 * (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now
20587   only displayed to the users that have "editinterface" right
20588 * (bug 21740) Attempting to protect a page that doesn't exist (salting) returns
20589   "unknown error"
20590 * (bug 18762) both redirects and links get fixed one after another if
20591   redirects-only switch is not present
20592 * (bug 20159) thumbnails rerendered if older than $wgThumbnailEpoch
20593 * Fixed a bug which in some situations causes the job queue to grow forever,
20594   due to an infinite loop of job requeues.
20595 * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have
20596   the page selector when they have only one page
20597 * (bug 21559) "logempty" message is now wrapped in a div with class
20598   "mw-warning-logempty" when used in log extract
20599 * (bug 20549) Parser tests were broken on SQLite backend
20600 * (bug 21776) Interwiki urls like http://en.wikibooks.org/wiki/cs: should give
20601   a redirect instead of a baderror.
20602 * (bug 21803) Special:MyContributions now keeps the query string parameters
20603 * Redirecting special pages now keep query string parameters set to "0" (e.g.
20604   for namespace)
20605 * (bug 20765) Special:ListGroupRights no longer misses addables and removables
20606   groups if there are duplicate entries
20607 * (bug 21814) Message shown when rolling back an edit with a deleted username
20608   now shows '(username deleted)' instead of broken user tool links
20609 * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID
20610 * (bug 21535) RecentChanges RSS feed now always recognises the namespace filter,
20611   previously it sometimes didn't due to caching.
20612 * (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw
20613 * refreshLinks.php now purges orphaned redirect table rows
20614 * (bug 2971) Swap links of hist & diff location on Special:Contributions for
20615   consistency with RC/WL
20616 * (bug 21986) Special page names are now capitalized by content language
20617 * If two log types have the same description, they're now both displayed in the
20618   type selector on Special:Log
20619 * (bug 20115) Special:Userlogin title says "Log in / create account" even if the
20620   user can't create an account
20621 * (bug 2658) Don't attempt to set the TZ environment variable.
20622 * (bug 9794) User rights log entries for foreign user now links to the foreign
20623   user's page if possible
20624 * (bug 14717) Don't load nonexistent CSS fix files for non-Monobook skins
20625 * (bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler instead of
20626   reimplementing it.
20627 * (bug 19226) First line renders differently on many UI messages.
20628 * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and
20629   skin-specific JS pages
20630 * (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes
20631   for image divs.
20632 * (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the
20633   Monobook and Chick skins
20634 * Fixed bug involving unclosed "-{" markup in the language converter
20635 * (bug 21870) No longer include Google logo from an external server on wiki
20636   error.
20637 * (bug 22181) Do not truncate if the ellipsis actually make the string longer
20638 * (bug 16039) Text disappearing after a bad image
20639 * (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption',
20640   not 'File:Foo' when Foo is not an image
20641 * (bug 21518) Special:UserRights no longer displays the user name box for users
20642   that can only change their rights
20643 * (bug 21593) Special:UserRights now lists automatic groups membership
20644 * (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload
20645   link from file pages
20646 * Fix bug introduced in MediaWiki 1.12: The author field in
20647   $wgExtensionCredits is no longer sorted with sort() but rather used
20648   as it appears in extensions as was the case before r30117 where it
20649   was unintentionally sorted along with other fields.
20650 * (bug 19334) Textarea no longer jumps when editing longer articles in IE8
20651 * Truncate summary of page moves in revision comment field to avoid broken
20652   multibyte characters
20653 * (bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist
20654 * (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to
20655   the page set in the &returnto parameter.
20656 * (bug 19194) Search box in Modern skin doesn't focus with Safari/Chrome
20657 * (bug 17790) Users instantly logged off on HughesNet
20658 * (bug 21549) Make foreign key constraints DEFERRABLE INITIALLY DEFERRED
20659   when using Postgres as the database backend.
20661 == API changes in 1.16 ==
20663 * Added uiprop=changeablegroups to meta=userinfo
20664 * Added usprop=gender to list=users
20665 * (bug 18311) action=purge now works for images too
20666 * Add parentid to prop=revisions output
20667 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
20668   when the user is blocked
20669 * (bug 18546) Added timestamp of new revision to action=edit output
20670 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
20671   users
20672 * (bug 13049) "API must be accessed from the primary script entry point" error
20673 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
20674 * Added PHP and database version to meta=siteinfo output
20675 * (bug 18533) Add readonly message to meta=siteinfo output
20676 * (bug 18518) Add clprop=hidden to prop=categories
20677 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
20678 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
20679   output
20680 * (bug 18731) Show correct SVN links for extension modules in api.php?version
20681 * (bug 18730) Add version information to action=paraminfo output
20682 * (bug 18743) Add ucprop=size to list=usercontribs
20683 * (bug 18749) Add generator flag to action=paraminfo output
20684 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
20685 * Made deleting file description pages without files possible
20686 * (bug 18773) Add content flag to siprop=namespaces output
20687 * (bug 18785) Add siprop=languages to meta=siteinfo
20688 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
20689   list=recentchanges
20690 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
20691   output
20692 * (bug 19313) action=rollback returns wrong revid on master/slave setups
20693 * (bug 19323) action=parse doesn't return section tree on pages with Cite
20694   warnings
20695 * (bug 18720) Add anchor field to action=parse&prop=sections output
20696 * (bug 19423) The initial file description page used caption in user lang
20697   rather than UI lang
20698 * (bug 17809) Add number of users in user groups to meta=siteinfo
20699 * (bug 18533) Add readonly reason to readonly exception
20700 * (bug 19528) Added XSLT parameter to API queries in format=xml
20701 * (bug 19040) Fix prependtext and appendtext in combination with section
20702   parameter in action=edit
20703 * (bug 19090) Added watchlist parameter, deprecated watch and unwatch
20704   parameter in action=edit
20705 * Added fields to list=search output: size, wordcount, timestamp, snippet
20706 * Where supported by backend, list=search adds a 'searchinfo' element with
20707   optional info: 'totalhits' count and 'suggestion' alternate query term
20708 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
20709   external domains to access api.php via AJAX, if the browser supports the
20710   Access-Control-Allow-Origin HTTP header
20711 * (bug 19999) Made metadata and properties of search results optional. Added
20712   srprop and srinfo.
20713 * (bug 20700) Add amprop=default to meta=allmessages to list default value for
20714   customized messages
20715 * Don't parse magic words in meta=allmessages, output messages unparsed
20716 * (bug 21105) list=usercontribs can now list contribs for User:0
20717 * (bug 21085) list=deletedrevs no longer returns only one revision when
20718   drcontinue param is passed
20719 * (bug 21106) Deprecated parameters now tagged in action=paraminfo
20720 * (bug 19004) Added support for tags
20721 * (bug 21083) list=allusers no longer returns current timestamp for users
20722   without registration date
20723 * (bug 20967) action=edit allows creation of invalid titles
20724 * (bug 19523) Add inprop=watched to prop=info
20725 * (bug 21589) API: Separate summary and initial page text for uploads
20726 * (bug 21817) list=usercontribs returns empty result for empty ucuser
20727 * (bug 21441) meta=userinfo&uiprop=options no longer returns default options
20728   for logged-in users under certain circumstances
20729 * (bug 21945) Add chomp control in YAML
20730 * Expand the thumburl to an absolute url to make it consistent with url and
20731   descriptionurl
20732 * (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS
20733 * (bug 22061) API: add prop=headitems to action=parse
20734 * (bug 22240) API: include time in siteinfo
20735 * (bug 22241) Quick edit is still using the deprecated watch parameter (API:
20736   Setting default for watch/unwatch wrongly set)
20737 * (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering
20738 * (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions
20739 * Support key-params arrays in 'descriptionmsg' in
20740   meta=siteinfo&siprop=extensions
20741 * (bug 21922) YAML output should quote asterisk when used as key
20742 * (bug 22297) safesubst: to allow substitution without breaking transclusion
20743 * (bug 18758) API read of watchlist's wl_notificationtimestamp
20744 * (bug 20809) Expose EditFormPreloadText via the API
20745 * (bug 18427) Comment (edit summary) parser option for API
20746 * (bug 18608) API should provide list of CSS styles to apply to rendered output
20747 * (bug 18771) List possible errors in action=paraminfo
20749 === Languages updated in 1.16 ===
20751 MediaWiki supports over 300 languages. Many localisations are updated
20752 regularly. Below only new and removed languages are listed, as well as
20753 changes to languages because of Bugzilla reports.
20755 * Capiznon (cps) (new)
20756 * North Frisian (frr) (new)
20757 * Kirmanjki (kiu) (new)
20758 * Komi-Permyak (koi) (new)
20759 * Karachay-Balkar (krc) (new)
20760 * Hill Mari (mrj) (new)
20761 * Prussian (prg) (new)
20762 * Romagnol (rgn) (new)
20763 * Lower Silesian (sli) (new)
20764 * Picard (pcd) (new)
20765 * Uyghur (Arabic script) (ug-arab) (new)
20766 * Upper Franconian (vmf) (new)
20767 * Votic (vot) (new)
20768 * Eastern Yiddish (ydd) (removed)
20769 * Iriga Bicolano (bto) (removed)
20770 * Ladin (lld) (removed)
20771 * Laz (lzz) (removed)
20772 * Palembang (plm) (removed)
20773 * Megleno-Romanian (Greek script) (ruq-grek) (removed)
20774 * Tamazight (tzm) (removed)
20775 * Laz (lzz) (new)
20777 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
20778 * Add PLURAL function for Scots Gaelic (gd)
20779 * Add Estonian letters äöõšüž to linktrail (et)
20780 * (bug 18776) Native name of Burmese language (my)
20781 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
20782   (Чӑвашла)
20783 * (bug 18864) Updated autonym for Zhuang language
20784 * (bug 18308) Updated date formatting in Occitan (oc)
20785 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
20786 * (bug 19286) Correct commafying function in Polish (pl)
20787 * (bug 19441) Updated date formatting for Lithuanian
20788 * (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
20789 * (bug 19949) New linktrail for Greek (el)
20790 * (bug 19809) Korean (North Korea) (ko-kp) (new)
20791 * (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
20792 * (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail
20793 * (bug 21596) Change interwiki link for Kurdish (ku)
20794 * (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue).
20796 == MediaWiki 1.15 ==
20798 == MediaWiki 1.15.5 ==
20799 === Changes since 1.15.4 ===
20801 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
20802   user privacy in the case where an attacker can access the wiki through the
20803   same HTTP proxy as a logged-in user.
20804 * Fixed a minor cookie header parsing issue causing incorrect Cache-Control
20805   headers to be sent.
20806 * Fixed an XSS vulnerability in profileinfo.php for installations with
20807   $wgEnableProfileInfo = true (false by default)
20808 * For backwards compatibility with extensions from 1.14.x or before, restored
20809   the original function ApiMain::requestWriteMode().
20810 * In API login "need token" responses, added the cookieprefix and sessionid
20811   fields, as in MediaWiki 1.16.x. This is an improvement to the CSRF fix
20812   introduced in 1.15.3.
20814 == MediaWiki 1.15.4 ==
20815 === Changes since 1.15.3 ===
20817 * (bug 23534) Fixed SQL query error in API list=allusers.
20818 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
20819   account" and "create by e-mail" features of [[Special:Userlogin]]
20820 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
20821   validation issue.
20823 == MediaWiki 1.15.3 ==
20824 === Changes since 1.15.2 ===
20826 * (bug 22828) Fixed deletion on SQLite.
20827 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
20828   be submitted along with the user name and password.
20830 == MediaWiki 1.15.2 ==
20831 === Changes since 1.15.1 ===
20833 * The installer now includes a check for a data corruption issue with certain
20834   versions of libxml2 2.7 and PHP earlier than 5.2.9, and also for a PHP bug
20835   present in the official release of PHP 5.3.1.
20836 * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which
20837   was displayed to the user
20838 * (bug 21150) SQLite no longer raise an error when deleting files
20839 * (bug 20880) Fixed updater failure on SQLite backend
20840 * upgrade1_5.php now requires to be run --update option to prevent confusion
20841 * Fixed a CSS validation issue which allowed external images to be included
20842   into wikis where that is disallowed by configuration.
20843 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
20844   similar image access authentication schemes. Check user permissions before
20845   streaming out scaled images from thumb.php.
20847 == MediaWiki 1.15.1 ==
20848 === Changes since 1.15.0 ===
20849 * Fixed fatal errors for unusual file repository configurations, such as
20850   ForeignAPIRepo.
20851 * Fixed the "change password" link on Special:Preferences to have the correct
20852   returnto parameter.
20853 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
20855 == MediaWiki 1.15.0 ==
20856 === Changes since 1.15.0rc1 ===
20858 * Removed category redirect feature, implementation was incomplete.
20859 * (bug 18846) Remove update_password_format(), unnecessary, destroys all
20860   passwords if a wiki with $wgPasswordSalt=false is upgraded with the web
20861   installer.
20862 * (bug 19127) Documentation warning for PostgreSQL users who run update.php:
20863   use the same user in AdminSettings.php as in LocalSettings.php.
20864 * Fixed possible web invocation of some maintenance scripts, due to the use of
20865   include() instead of require(). A full exploit would require a very strange
20866   web server configuration.
20867 * Localisation updates.
20869 === Configuration changes in 1.15 ===
20871 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
20872   temporary passwords
20873 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
20874 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
20875   from rel="nofollow" on external links
20876 * (bug 12970) Brought back $wgUseImageResize.
20877 * Added $wgRedirectOnLogin to allow specifying a specific page to redirect users
20878   to upon logging in (ex: "Main Page")
20879 * Add $wgExportFromNamespaces for enabling/disabling the "export all from
20880   namespace" option (disabled by default)
20882 === New features in 1.15 ===
20884 * (bug 2242) Add an expiry time to temporary passwords
20885 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
20886   for the current page for a given action
20887 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
20888   to automatically add a summary or a minor edit.
20889 * (bug 16852) padleft and padright now accept multiletter pad characters
20890 * When using 'UserCreateForm' hook to add new checkboxes into
20891   Special:UserLogin/signup, the messages can now contain HTML to allow
20892   hyperlinking to the site's Terms of Service page, for example
20893 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
20894   from the database.
20895 * (bug 17045) Options on the block form are prefilled with the options of the
20896   existing block when modifying an existing block.
20897 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
20898   rather than hardcoded HTML tags
20899 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
20900   extensions to alter the SQL query which is used to get the list of wanted
20901   pages
20902 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
20903   specialpages
20904 * (bug 11443) Auto-noindex user/user talk pages for blocked user
20905 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
20906   recursed through until the "destination" page is reached.
20907 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
20908   special pages.
20909 * Use HTML5 rel attributes for some links, where appropriate
20910 * Added optional alternative Search form look - Go button & Advanced search
20911   link instead of Go button & Search button
20912 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
20913 * More helpful error message on raw page access if PHP_SELF isn't set
20914 * (bug 13040) Gender switch in user preferences
20915 * (bug 13040) {{GENDER:}} magic word for interface messages
20916 * (bug 3301) Optionally sort user list according to account creation time
20917 * Remote description pages for foreign file repos are now fetched in the
20918   content language.
20919 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
20920   set to false.
20921 * (bug 16604) Mark non-patrolled edits in feeds with "!"
20922 * (bug 16604) Show title/rev in IRC for patrol log
20923 * (bug 16854) Whether a page is being parsed as a preview or section preview
20924   can now be determined and set with ParserOptions.
20925 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
20926   "mw-confirmemail-pending"
20927 * (bug 8249) The magic words for namespaces and pagenames can now be used as
20928   parser functions to return the desired namespace or normalized title/title
20929   part for a given title.
20930 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
20931   rest of the font
20932 * (bug 7556) Time zone names in signatures lack i18n
20933 * (bug 3311) Automatic category redirects
20934 * (bug 17236) Suppress 'watch user page link' for IP range blocks
20935 * Wrap message 'searchresulttext' (Special:Search) into a div with
20936   class "mw-searchresult"
20937 * (bug 15283) Interwiki imports can now fetch included templates
20938 * Treat svn:// URLs as external links by default
20939 * New function to convert namespace text for display (only applies on wiki with
20940   LanguageConverter class)
20941 * (bug 17379) Contributions-title is now parsed for magic words.
20942 * Preprocessor output now cached in memcached.
20943 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
20944   "mw-line-odd" and "mw-line-even" to make styling using css possible.
20945 * (bug 17311) Add a note beside the gender selection menu to tell users that
20946   this information will be public
20947 * Localize time zone regions in Special:Preferences
20948 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
20949   the active users data from site_stats.
20950 * Add a <link rel="canonical"> tag on redirected page views
20951 * Replace hardcoded '...' as indication of a truncation with the
20952   'ellipsis' message
20953 * Wrap warning message 'editinginterface' into a div with class
20954   'mw-editinginterface'
20955 * (bug 17497) Oasis opendocument added to mime.types
20956 * Remove the link to Special:FileDuplicateSearch from the "file history" section
20957   of image description pages as the list of duplicated files is shown in the
20958   next section anyway.
20959 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
20960   rate limits.
20961 * (bug 14981) Shared repositories can now have display names, located at
20962   MediaWiki:Shared-repo-name-REPONAME, where REPONAME is the name in
20963   $wgForeignFileRepos
20964 * Special:ListUsers: Sort list of usergroups by alphabet
20965 * (bug 16762) Special:Movepage now shows a list of subpages when possible
20966 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
20967 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
20968 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
20969   username
20970 * Wrap special page summary message '$specialPageName-summary' into a div
20971   with class 'mw-specialpage-summary'
20972 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
20973   of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
20974 * New function to convert content text to specified language (only applies on
20975   wiki with LanguageConverter class)
20976 * (bug 17844) Redirect users to a specific page when they log in, see
20977   $wgRedirectOnLogin
20978 * Added a link to Special:UserRights on Special:Contributions for privileged
20979   users
20980 * (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the editor
20981   of the displayed revision
20982 * LinkerMakeExternalLink now has an $attribs parameter for link attributes and
20983   a $linkType parameter for the type of external link being made
20984 * (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables
20985   with dynamic dates.
20986 * (bug 4582) Provide preference-based autoformatting of unlinked dates with the
20987   dateformat parser function.
20988 * (bug 17886) Special:Export now allows you to export a whole namespace (limited
20989   to 5000 pages)
20990 * (bug 17714) Limited TIFF upload support now built in if 'tif' extension is
20991   enabled. Image width and height are now recognized, and when using
20992   ImageMagick, optional flattening to PNG or JPEG for inline display can be
20993   enabled by setting $wgTiffThumbnailType
20994 * Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page'
20995   and 'mw-log-user', respectively
20996 * Added $wgInvalidUsernameCharacters to disallow certain characters in
20997   usernames during registration (such as "@")
20998 * Added $wgUserrightsInterwikiDelimiter to allow changing the delimiter
20999   used in Special:UserRights to denote the user should be searched for
21000   on a different database
21001 * Add a class if 'missingsummary' is triggered to allow styling of the summary
21002   line
21003 * Title attributes are now always blank on framed and thumbnailed images, and
21004   default to blank on inline images instead of defaulting to the image's
21005   filename. Additionally, the alt attribute now defaults to the filename on
21006   framed and thumbnailed images if no caption or alt attribute is specified.
21008 === Bug fixes in 1.15 ===
21009 * (bug 16968) Special:Upload no longer throws useless warnings.
21010 * (bug 17000) Special:RevisionDelete now checks if the database is locked
21011   before trying to delete the edit.
21012 * (bug 16852) padleft and padright now handle multibyte characters correctly
21013 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
21014   the destination page exists
21015 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
21016   been disabled
21017 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
21018   LanguageConverter class)
21019 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
21020   LanguageConverter class)
21021 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
21022 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
21023 * (bug 8065) Fix summary forcing for new pages
21024 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
21025   allowed by default. Change $wgInvalidRedirectTargets to re-enable.
21026 * (bug 3043) Feed links of given page are now preceded by standard feed icon
21027 * (bug 17150) escapeLike now escapes literal \ properly
21028 * Inconsistent use of sysop, admin, administrator in system messages changed
21029   to 'administrator'
21030 * (bug 14423) Check block flag validity for block logging
21031 * DB transaction and slave-lag avoidance tweaks for Email Notifications
21032 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
21033 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
21034   "user contributions"
21035 * Rollback links on new pages removed from "user contributions"
21036 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
21037   comment label uses better message
21038 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
21039 * Parser tests no longer fail when $wgExternalLinkTarget is set in
21040   LocalSettings
21041 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
21042   error messages on save were the edit in fact is saved.
21043 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
21044 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
21045 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
21046   for identical files at different titles are still given.
21047 * Add 'change tagging' facility, where changes can be tagged internally with
21048   certain designations, which are displayed on various summaries of changes,
21049   and the entries can be styled with CSS.
21050 * (bug 17207) Fix regression breaking category page display on PHP 5.1
21051 * Categoryfinder utility class no longer fails on invalid input or gives wrong
21052   results for category names that include pseudo-namespaces
21053 * (bug 17252) Galician numbering format
21054 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
21055   configs
21056 * (bug 7480) Internationalize database error message
21057 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
21058 * (bug 14938) Removing a section no longer leaves excess whitespace
21059 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
21060   history
21061 * (bug 17283) Remove double URL escaping in show/hide links for log entries
21062   and RevisionDeleteForm::__construct
21063 * (bug 17105) Numeric table sorting broken
21064 * (bug 17231) Transcluding special pages on wikis using language conversion no
21065   longer affects the page title
21066 * (bug 6702) Default system messages updated/improved
21067 * (bug 17190) User ID on preference page no longer has delimeters
21068 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
21069 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
21070 * (bug 7509) Separation strings should be configurable
21071 * (bug 17420) Send the correct content type from action=raw when the HTML file
21072   cache is enabled.
21073 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
21074 * (bug 17478) Fixed a PHP Strict standards error in
21075   maintenance/cleanupWatchlist.php
21076 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
21077 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
21078 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
21079   use correct message 'allpagesprefix' for input form label, replace _ with ' '
21080   in next page link
21081 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
21082 * Fixed excessive job queue utilisation
21083 * File dupe messages for remote repos are now shown only once.
21084 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
21085   used as a parameter in 'sharedupload' for easier styling and customization.
21086 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
21087 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
21088   now point to the actual contributors' feed.
21089 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
21090 * Special:Import: Do not show input field for import depth if
21091   $wgExportMaxLinkDepth == 0
21092 * (bug 17570) $wgMaxRedirects is now correctly respected when following
21093   redirects (was previously one more than $wgMaxRedirects)
21094 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
21095 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
21096   changed to rc_timestamp_bot
21097 * (bug 17437) Fixed incorrect link to web-based installer
21098 * (bug 17538) Use shorter URLs in <link> elements
21099 * (bug 13778) Hidden input added to the search form so that using the Enter key
21100   on IE will do a fulltext search like clicking the button does
21101 * (bug 1061) CSS-added icons next to links display through the text and makes
21102   it unreadable in RTL
21103 * Special:Wantedtemplates now works on PostgreSQL
21104 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
21105   PostgreSQL
21106 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
21107 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
21108 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
21109 * (bug 17648) Prevent floats from intruding into edit area in previews if no
21110   toolbar present
21111 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
21112 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
21113 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
21114   queue
21115 * (bug 17761) "show/hide" link in page history in now works for the first
21116   displayed revision if it's not the current one
21117 * (bug 17722) Fix regression where users are unable to change temporary
21118   passwords
21119 * (bug 17799) Special:Random no longer throws a database error when a non-
21120   namespace is given, silently falls back to NS_MAIN
21121 * (bug 17751) The message for bad titles in WantedPages is now localized
21122 * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
21123   no longer corrupts the message cache
21124 * (bug 17900) Fixed User Groups interface log display after saving groups.
21125 * (bug 17897) Fixed string offset error in <pre> tags
21126 * (bug 17778) MediaWiki:Catseparator can now have HTML entities
21127 * (bug 17676) Error on Special:ListFiles when using Postgres
21128 * Special:Export doesn't use raw SQL queries anymore
21129 * (bug 14771) Thumbnail links to individual DjVu pages no longer have
21130   two "page" parameters
21131 * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that
21132   don't use PathInfo or short urls
21133 * (bug 17990) trackback.php now has a trackback.php5 alias and works with
21134   $wgScriptExtension
21135 * (bug 14990) Parser tests works again with PostgreSQL
21136 * (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry
21137   IS NULL
21138 * (bug 18018) Deleting a file redirect leaves behind a malfunctioning redirect
21139 * (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses
21140 * (bug 11213) [edit] section links in printable version no longer appear when
21141   you cut-and-paste article text
21142 * (bug 17405) "Did you mean" to mirror Go/Search behavior of original request
21143 * (bug 18116) 'edittools' is now output identically on edit and upload pages
21144 * (bug 17241) The diffonly URI parameter should cascade to "Next edit" and
21145   "Previous edit" diff links
21146 * (bug 16823) Sidebar search form should not use Special:Search view URL as
21147   target
21148 * (bug 16343) Non-existing, but in use, category pages can be "go" match hits
21149 * Fixed a CSS validation issue which allowed external images to be included
21150   into wikis where that is disallowed by configuration.
21151 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
21152   similar image access authentication schemes. Check user permissions before
21153   streaming out scaled images from thumb.php.
21155 == API changes in 1.15 ==
21156 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
21157   and listing all deleted pages possible
21158 * (bug 16844) Added clcategories parameter to prop=categories
21159 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
21160 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
21161   created the page, even if it's not the top revision
21162 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
21163 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
21164 * (bug 15949) Add undo functionality to action=edit
21165 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
21166   Building query properly now using makeList()
21167 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
21168   autolinked correctly
21169 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
21170 * (bug 17239) Added prop=displaytitle to action=parse
21171 * (bug 17317) Added watch parameter to action=protect
21172 * (bug 17007) Added export and exportnowrap parameters to action=query
21173 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
21174 * (bug 17355) Added auwitheditsonly parameter to list=allusers
21175 * (bug 17007) Added action=import
21176 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
21177   of performance concerns
21178 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
21179   and list=logevents
21180 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
21181   limit and still set a query-continue in some cases
21182 * (bug 17357) Added movesubpages parameter to action=move
21183 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
21184 * (bug 16740) Added list=protectedtitles
21185 * Added mainmodule and pagesetmodule parameters to action=paraminfo
21186 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
21187   aliases already listed in siprop=namespaces
21188 * (bug 17529) rvend ignored when rvstartid is specified
21189 * (bug 17626) Added uiprop=email to list=userinfo
21190 * (bug 13209) Added rvdiffto parameter to prop=revisions
21191 * Manual language conversion improve: Now we can include both ";" and ":" in
21192   conversion rules
21193 * (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters
21194   is set
21195 * (bug 17774) Don't hide read-restricted modules like action=query from users
21196   without read rights, but throw an error when they try to use them.
21197 * Don't hide write modules when $wgEnableWriteAPI is false, but throw an error
21198   when someone tries to use them
21199 * BREAKING CHANGE: action=purge requires write rights and, for anonymous users,
21200   a POST request
21201 * (bug 18099) Using appendtext to edit a non-existent page causes an interface
21202   message to be included in the page text
21203 * Fixed the circular template inclusion check, was broken when the loop
21204   involved redirects. Without this, infinite recursion within the parser is
21205   possible.
21206 * (bug 18601) generator=backlinks returns invalid continue parameter
21207 * (bug 18597) Internal error with empty generator= parameter
21208 * (bug 18617) Add xml:space="preserve" attribute to relevant tags in XML output
21209 * (bug 17611) Provide a sensible error message on install when the SQLite data
21210   directory is wrong.
21212 === Languages updated in 1.15 ===
21214 MediaWiki supports over 300 languages. Many localisations are updated
21215 regularly. Below only new and removed languages are listed, as well as
21216 changes to languages because of Bugzilla reports.
21218 * Austrian German (de-at) (new)
21219 * Swiss Standard German (de-ch) (new)
21220 * Simplified Gan Chinese (gan-hans) (new)
21221 * Traditional Gan Chinese (gan-hant) (new)
21222 * Literary Chinese (lzh) (new)
21223 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
21224 * Veps (vep) (new)
21225 * Võro (vro) (renamed from fiu-vro)
21226 * (bug 17151) Add magic word alias for #redirect for Vietnamese
21227 * (bug 17288) Messages improved for default language (English)
21228 * (bug 12937) Update native name for Afar
21229 * (bug 16909) 'histlegend' now reuses messages instead of copying them
21230 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
21231   when the user is blocked
21232 * Traditional/Simplified Gan Chinese conversion support
21234 == MediaWiki 1.14 ==
21236 == MediaWiki 1.14.1 ==
21237 === Changes since 1.14.0 ===
21239 * (bug 17737) Fixed russian URLs for Special:BookSources
21240 * (bug 17713) Using links with only an anchor no longer add an dummy entry in
21241   the pagelinks table
21242 * (bug 17897) Fixed string offset error in <pre> tags
21243 * (bug 17832) Fixed action=delete returning 'unknownerror' instead of
21244   'permissiondenied' when the user is blocked
21245 * Fixed performance regression when accessing deleted (archived) files
21246 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
21248 == MediaWiki 1.14.0 ==
21249 === Changes since 1.14.0rc1 ===
21251 * Fixed the performance of the backlinks API module
21252 * (bug 17420) Send the correct content type from action=raw when the HTML file
21253   cache is enabled.
21254 * (bug 17437) Fixed incorrect link to web-based installer
21255 * (bug 17527) Fixed missing MySQL-specific options in installer
21257 === Configuration changes in 1.14 ===
21259 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
21260   the effect of the new __INDEX__/__NOINDEX__ magic words.  (Default: null, ex-
21261   empt all content namespaces.)
21262 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
21263   has been $wgSearchForwardUrl.
21264 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
21265   $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent
21266   Changes feed that appears on all pages.
21267 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
21268   SQLite data directories on creation. Note that this setting is separate from
21269   $wgDirectoryMode, which applies to all normal dirs created by MediaWiki.
21270 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
21271   $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
21272   group in order to add or remove those groups from themselves.
21273   Backwards compatibility is maintained.
21274 * $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic
21275   word is restricted to titles equivalent to the actual page title. This
21276   is true per default, but can be set to false to allow any title.
21277 * $wgSpamRegex may now be an array of multiple regular expressions.
21278 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
21279 * Editing the MediaWiki namespace is now unconditionally restricted to people
21280   with the editinterface right, configuring this in $wgNamespaceProtection
21281   is not required.
21282 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
21283 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
21284   whitelist on or off.
21285 * Added $wgRenderHashAppend to append some string to the parser cache and the
21286   sitenotice cache keys.
21287 * $wgRCChangedSizeThreshold is now a positive integer by default,
21288 * (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform
21289   write actions using the API.
21290 * Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix
21291   ($wgLocalInterwiki) onto the page names in the UDP feed.
21292 * Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins
21293   on the wiki. If it's set to false, then the skin used will *always* be
21294   $wgDefaultSkin.
21295 * Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based
21296   on the user's real name if one is set. Defaults to false (use the username)
21297 * Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in
21298   ForeignAPIRepo)
21299 * (bug 44) Image namespace and accompanying talk namespace renamed to File.
21300   For backward compatibility purposes, Image still works. External tools may
21301   need to be updated.
21302 * The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and
21303   NS_IMAGE_TALK.  The old constants are retained as aliases for compatibility,
21304   and should still be used in code meant to be compatible with v1.13 or older.
21305 * MediaWiki can be forced to use private IPs forwarded by a proxy server by
21306   using $wgUsePrivateIPs.
21307 * The 'BeforeWatchlist' hook has been removed due to internal changes in
21308   Special:Watchlist. 'SpecialWatchlistQuery' should now be used by extensions
21309   to customize the watchlist database query.
21311 === Migrated extensions ===
21312 The following extensions are migrated into MediaWiki 1.14:
21314 * Special:DeletedContributions to show deleted user contributions (was
21315   extension DeletedContributions)
21316 * Special:Log/newusers recording new users (was extension Newuserlog)
21317 * Special:LinkSearch to search for external links (was extension LinkSearch)
21318 * RenderHash
21319 * NoMoveUserPages
21320 * UniversalEditButton
21322 === New features in 1.14 ===
21324 * New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and
21325   'Special:ListUsers/GROUP/USER', in addition to the older syntax
21326   'Special:ListUsers/GROUP' where GROUP is a valid group name.
21327 * Configurable per-namespace and per-page notices for the edit form,
21328   respectively MediaWiki:Editnotice-# where # is the namespace number, and
21329   MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and
21330   PAGENAME is the page name minus the namespace prefix.
21331 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
21332   search engine indexing on a per-article basis.
21333 * Handheld stylesheet options
21334 * Added 'DoEditSectionLink' hook as a cleaner unified version of the old
21335   'EditSectionLink' and 'EditSectionLinkForOther' hooks.  Note that the
21336   'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is
21337   run in all cases instead, so extensions using the old hooks should still work
21338   if they ran roughly the same code for both hooks (as is almost certain).
21339 * Signature (~~~~) "cleaning", i.e. template removal, can be disabled with
21340   $wgCleanSignatures=false
21341 * Extensions can use the SkinBuildSidebar hook to modify the content of the
21342   sidebar and add custom portlets to it
21343 * Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari-
21344   ables into the output of Skin::makeVariablesScript
21345 * (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on
21346   Special:ListGroupRights
21347 * (bug 14377) Add a date selector to history pages
21348 * (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
21349   the main page to be customized
21350 * Added $wgDisableTitleConversion to disabling the conversion for all pages on
21351   the wiki
21352 * Added 'noconvertlink' toggle that can be set per user preferences, also
21353   added 'convertlink=no|yes' on GET requests whether have the link titles
21354   being converted or not
21355 * (bug 14921) Special:Contributions/: add user name to <title>
21356   Patch by Emufarmers
21357 * Unescape more "safe" characters when producing URLs, for added prettiness
21358 * Introduced a new hook 'SkinAfterContent' that allows extensions to add text
21359   after the page content and article metadata. Updated all skins and skin
21360   templates to work with that hook.
21361 * (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and
21362   'ignore-groups'. Patch by Louperivois
21363 * (bug 15127) Work around minor display glitch in Opera.
21364 * By default, reject file uploads that look like ZIP files, to avoid the
21365   so-called GIFAR vulnerability.
21366 * (bug 15141) Give ability to only list protected pages with the cascading
21367   option enabled on Special:ProtectedPages
21368 * (bug 15157) Special:Watchlist has the same options as Special:Watchlist:
21369   Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
21370 * Added hook 'UserrightsChangeableGroups' to allow modification of what
21371   groups may be added or removed via the Special:UserRights interface.
21372 * HTML entities like &nbsp; now work (are not escaped) in edit summaries.
21373 * (bug 13815) In the comment for page moves, use the colon-separator message
21374   instead of a hardcoded colon.
21375 * Allow <gallery> to accept image names without an Image: prefix
21376 * Add tooltips to rollback and undo links
21377 * BMP images are now displayed as PNG
21378 * (bug 13471) Added NUMBERINGROUP magic word
21379 * (bug 11884) Now support Flash EXIF attribute
21380 * Show thumbnails in the file history list, patch by User:Agbad
21381 * Added support of piped wikilinks using double-width brackets
21382 * Added an on-wiki external image whitelist. Items in this whitelist are
21383   treated as regular expression fragments to match for when possibly
21384   displaying an external image inline.
21385 * (bugs 15405, 15436) Sort more currency types correctly in sortable tables
21386 * (bug 15422) Sort more different types of numbers in sortable tables
21387 * (bug 2889) MediaWiki:Print.css applies to the printable version
21388 * Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for
21389   small categories
21390 * After logging in, automatically redirect to wherever you logged in from
21391 * (bug 5619) Break messages used in Special:Statistics down further
21392 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
21393   Special:Statistics
21394 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
21395   plaintext copyright notice. Patch by Juliano F. Ravasi.
21396 * (bug 15551) Deletion log excerpt is now shown whenever a user vists a
21397   deleted page, even if they are unable to edit it.
21398 * Added Wantedfiles special pages, allowing users to find image links with no
21399   image.
21400 * (bug 12650) It is now possible to set different expiration times for
21401   different restriction types on the protection form.
21402 * (bug 8440) Allow preventing blocked users from editing their talk pages
21403 * Improved upload file type detection for OpenDocument formats
21404 * Added the ability to set the target attribute on external links with
21405   $wgExternalLinkTarget
21406 * api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the
21407   maxlag check fails, just like index.php does
21408 * Added "link" parameter to image links, to allow images to link to an
21409   arbitrary title or URL. This should replace inaccessible and incomplete
21410   solutions such as CSS-based overlays and ImageMap.
21411 * (bug 368) Don't use caption for alt attribute; allow manual specification
21412   using new "alt=" parameter for images
21413 * (bug 44) The {{ns:}} core parser function now also accepts localized
21414   namespace names and aliases; also, its output now uses spaces instead of
21415   underscores to match the behavior of the {{NAMESPACE}} magic word
21416 * Added the ability to display user edit counts in Special:ListUsers. Off by
21417   default, enabled with $wgEdititis = true (named after the medical condition
21418   marked by unhealthy obsession with edit counts).
21419 * Added a file cache to the parser to improve page rendering time on pages with
21420   several uses of the same image.
21421 * (bug 1250) Users can still use "show preview" and "show changes" even if the
21422   wiki is set to read-only mode.
21423 * Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.
21424   This should make it so that ALL user-accessible methods of removing a page
21425   from a watchlist lead to this hook being called (it was previously only
21426   called from within Article.php
21427 * Maximum execution time for shell processes on linux is now configured with
21428   $wgMaxShellTime (180 seconds by default)
21429 * (bug 1306) 'Email user' link no longer shown on user page when emailing
21430   is not available due to lack of confirmed address or disabled preference
21431 * Special:Wanted templates special page added to display missing templates
21432   linked from articles
21433 * Make search matches bold only, not red as well
21434 * (bug 10080) Blocks can be modified without unblocking first
21435 * (bug 15820) Special:BlockIP shows a notice if the user being blocked is
21436   already directly blocked
21437 * (bug 13710) Allow to force "watch this" checkbox via URL using parameter
21438   "watchthis"
21439 * (bug 15125) Add Public Domain to default options when installing. Patch by
21440   Nathan Larson.
21441 * Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
21442 * (bug 16113) Show/hide for redirects in Special:NewPages
21443 * (bug 15903) Upload link was added to Nostalgia skin
21444 * (bug 15761) Add user toggle to omit diff after rollback
21445 * Added the BitmapHandler_ClientOnly media handler, which allows server-side
21446   image scaling to be completely disabled for specific media types, via the
21447   $wgMediaHandlers configuration variable.
21448 * New 'AbortDiffCache' hook can be used to cancel the caching of a diff
21449 * (bug 15835) Added Content-Style-Type meta tag
21450 * (bug 11027)  Add parameter to MW:Randompage-nopages so that user can see the
21451   namespace.
21452 * Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
21453   admins with a single domain can hide the domain section using CSS
21454 * Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
21455 * Moved password reset form from Special:Preferences to Special:ResetPass
21456 * Added Special:ChangePassword as a special page alias for Special:ResetPass
21457 * Added complementary function for addHandler() called removeHandler() for
21458   removing events
21459 * Improved security of file uploads for IE clients, using a reverse-engineered
21460   algorithm very similar to IE's content detection algorithm.
21461 * Cascading protection no longer requires that both edit and move are restricted
21462   to sysop, just edit=sysop is enough
21463 * (bug 2391) A warning is now shown for invalid ISBN numbers on
21464   Special:Booksources.
21465 * Installer has been updated to reflect the release of the GFDL 1.3. The URL for
21466   1.2 has been updated, and the 1.3 URL has been given. 1.2 is still
21467   Wikipedia-compatible. RightsCode was changed from 'gfdl' to 'gfdl1_2', so we
21468   can now support 1.2 as well as 1.3 (gfdl1_3).
21469 * (bug 16293) PD URL was changed to the CreativeCommons site on PD (which
21470   auto-detects your language) instead of Wikipedia.
21471 * (bug 16635) The "view and edit watchlist" page (Special:Watchlist/edit) now
21472   includes a table of contents
21473 * File objects returned by wfFindFile() are now cached by default
21474 * (bug 7492) Rights can now be assigned to specific IP addresses and ranges by
21475   using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE)
21476 * Add a 'change block' link to Special:IPBlockList and Special:Log
21477 * (bug 16459) Use native getElementsByClassName where possible, for better
21478   performance in modern browsers
21479 * Enable \cancel and \cancelto in texvc (recompile required)
21480 * Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions
21481   to implement their own password hashing methods.
21482 * (bug 16760) Add CSS-class to action links of Special:Log
21483 * (bug 505) Time zones can now be specified by location in user preferences,
21484   avoiding the need to manually update for DST. Patch by Brad Jorsch.
21485 * (bug 2585) HTTP 404 return code is now given for a page view if the page
21486   does not exist, allowing spiders and link checkers to detect broken links.
21487 * Special:Log: Add 'change protection' link for unprotected pages too
21488 * Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to
21489   'li' elements
21490 * (bug 16754) Making arbitrary rows of sortable tables sticky:
21491   |- class="unsortable"
21492 * Show subversion too even if a "normal" version number is available
21493 * (bug 16121) Add a note that a page move was without creating a redirect in the
21494   move log
21495 * Image moving is now enabled for sysops by default
21496 * Make "Did you mean" search feature more noticeable
21497 * (bug 16720) Transcluded Special:NewPages processes "/username="
21499 === Bug fixes in 1.14 ===
21501 * (bug 14907) DatabasePostgres::fieldType now defined.
21502 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
21503   falls back to the user option
21504 * (bug 14954) Fix regression in Modern and Simple skins
21505 * Recursion loop check added to Categoryfinder class
21506 * Fixed few performance troubles of large job queue processing
21507 * Not setting various parameters in Foreign Repos now fails more gracefully
21508 * (bug 2333) Redirects are properly rendered when previewing an edit.
21509 * (bug 14972) Use localized alias of Special:Search on all search forms
21510 * (bug 11035) Special:Search should have descriptive <title>
21511 * Special pages are now not subject to special handling for "self-links"
21512 * (bug 15053) Syntactically incorrect redirects with another link in them
21513   no longer redirect to the second link
21514 * (bug 15049) Fix for CheckUser extension's log search: usernames containing
21515   a "-" were incorrectly turned into bogus IP range searches.
21516   Patch by Max Semenik.
21517 * (bug 15055) Talk page notifications no longer attempt to send mail when
21518   user's e-mail address is invalid or unconfirmed
21519 * (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in
21520   5 minutes.
21521 * (bug 15016) 'Templates used on this page' list in view source should be
21522   wrapped in a div with class "templatesUsed"
21523 * (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the
21524   diff entirely, not just the display of it.
21525 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
21526   allows having the unprefixed page title as the default category sortkey
21527 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
21528   ns-special to special pages.
21529 * (bug 15052) Skins should add their name as a class in <body>
21530 * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar()
21531   for several languages was removed. The settings have been put in extension
21532   WikimediaMessages. Patch for Czech by Danny B.
21533 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
21534   again
21535 * (bug 13770) Fixed incorrect detection of PHP's DOM module
21536 * (bug 14790) Export of category pages when using Category: prefix now actually
21537   gives results
21538 * Avoid recursive crazy expansions in section edit comments for pages which
21539   contain '/*' in the title
21540 * Fix excessive memory usage when parsing pages with lots of links
21541 * $wgSpamRegex now matches the edit summary and page move descriptions in
21542   addition to body text.
21543 * Navigation links to images available from a shared repository (like Commons)
21544   from their local talk pages no longer appear as redlinks
21545 * Action=purge on ForeignApiFiles now works (purges their thumbnails and
21546   description pages).
21547 * (bug 15303) Title conversion for templates wasn't working in some cases.
21548 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
21549   literally; now converting them to spaces per expectation.
21550 * (bug 15342) "Invert" checkbox now works correctly when selecting main
21551   namespace in Special:Watchlist
21552 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
21553   last input element (like Special:Watchlist too)
21554 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
21555 * Fixed intermittent deadlock errors involving objectcache table queries.
21556   Use a separate database connection for the objectcache table to avoid
21557   long-lasting locks on that table.
21558 * Respect file restrictions in the file history list
21559 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
21560   tables, and have been disabled by default.
21561 * (bug 15482) Special:Recentchangeslinked has no longer two submit buttons
21562 * (bug 15292) New message notification for unregistred users now works again
21563 * (bug 14398) mwsuggest.js: Let width of container be configurable
21564 * (bug 15543) Only include user touched timestamp to generated CSS
21565 * (bug 15497) Removed encoding attribute from <?xml ?> tag
21566 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
21567   Special:UserLogin. Patch by Marooned.
21568 * Fixed the HTTP accept language string detection length in
21569   LanguageConverter.php, instead of the fixed length language codes.
21570 * Special:RecentChangesLinked no longer shows outgoing links for nonexistent
21571   pages even if there are broken link records with source article id 0 in the
21572   database
21573 * (bug 15598) Special:Newpages default limit uses user preference for
21574   recentchanges limit instead of hardcoded 50.
21575 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses,
21576   instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
21577 * (bug 14638) Special:Blockip now provides a link to the block log if the user
21578   has been blocked more than 10 times. Patch by Matt Johnston.
21579 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
21580 * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST.
21581 * (bug 15642) Blocked sysops can no longer block other users
21582 * Http::request() now respects $wgHTTPtimeout when not using cURL
21583 * (bug 15158) Userinvalidcssjstitle not shown on preview
21584 * (bug 15196) Free external links should be numbered in a localised manner
21585 * (bug 15388) Title of Special:PrefixIndex
21586 * Links with no title but a curid parameter now use the curid to pick a page
21587 * (bug 10323) Special:Undelete should have "inverse selection" button
21588 * (bug 15831) Modern skin RTL support is bugous
21589 * (bug 15869) Nostalgia skin does not show page title in printable mode
21590 * (bug 15795) Special:Userrights is now listed on Special:SpecialPages when the
21591   user can only change his rights
21592 * (bug 15846) Categories "leak" from older revisions in certain circumstances
21593 * (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
21594 * (bug 14178) Some uses of UserLoadFromSession hook cause segfault
21595 * (bug 15925) Postitive bytes added on recentchanges and watchlists are now
21596   bolded if above the threshold, previously it only worked for negatives
21597 * Specify apple-touch-icon before favicon in HTML head section to make the
21598   Konqueror browser correctly use the latter
21599 * (bug 15717) Set $separatorTransformTable for language 'eu'
21600 * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
21601   preferences.
21602 * (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
21603 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
21604   search box
21605 * (bug 14609) User's namespaces to be searched default not updated after adding
21606   new namespace
21607 * Purge form uses valid XHTML
21608 * (bug 12764) Special:LonelyPages shows transcluded pages
21609 * (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback
21610   if JavaScript is disabled
21611 * (bug 4253) Recentchanges IRC messages no longer include title in diff URLs
21612 * Allow '0' to be an accesskey.
21613 * (bug 8063) Use language-dependent sorting in client-side sortable tables
21614 * (bug 16160) Suggestions box should be resized from left for RTL wikis
21615 * (bug 11533) Fixed insane slowdown when in read-only mode for long periods
21616   of time with CACHE_NONE (default objectcache table configuration).
21617 * Trying to set two different default category sort keys for one page now
21618   produces a warning
21619 * (bug 16143) Fix redirect loop on special pages starting with lower case
21620   letters
21621 * (bug 15737) Fix notices while expanding using PPCustomFrame
21622 * (bug 15544) Non-index entry points cause the "Wiki not set up" message to
21623   have corrupt URLs
21624 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
21625   search box
21626 * (bug 4362) [[MediaWiki:History copyright]] no more used with most recent
21627   revision when passing oldid parameter in the url
21628 * (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same
21629   filename as the remote site.
21630 * (bug 8345) Don't autosummarize where a redirect was left unchanged
21631 * Made thumb caching in ForeignApiFile objects integrated with normal thumb
21632   path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result.
21633 * (bug 5530) Consistency between character encoding in {{PAGENAMEE}},
21634   {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
21635 * Safer handling of non-MediaWiki exceptions -- now obeys our settings for
21636   formatting and path exposure.
21637 * Less verbose errors from profileinfo.php when not configured
21638 * Blacklist redirects via Special:Filepath, hard to use.
21639 * Improved input validation on Special:Import form
21640 * Add a .htaccess to deleted images directory for additional protection
21641   against exposure of deleted files with known SHA-1 hashes on default
21642   installations.
21643 * Improved scripting safety heuristics for IE 5/6 content-type detection.
21644 * Improved scripting safety heuristics on SVG uploads.
21645 * (bug 11728) Unify layout of enhanced watchlist/recent changes
21646 * (bug 8702) Properly update stats when running nukePage maintenance script
21647 * (bug 7726) Searches for words less than 4 characters now work without
21648   requiring customization of MySQL server settings
21649 * Honour unchecked "Leave a redirect behind" for moved subpages
21650 * (bug 16440) Broken 0-byte math renderings are now deleted and re-rendered
21651   when page is re-parsed.
21652 * (bug 6100) Unicode BiDi embedding/override characters (U+202A - U+202E) are
21653   now automatically removed from titles; these characters can accidentally end
21654   up in copy-and-pasted titles, and, by overriding normal bidirectional text
21655   handling, can lead to annoying behavior such as text rendering backwards
21656 * Fixed minor bug where the memcached value for how many accounts an IP had
21657   created that day would be increased even if $wgAccountCreationThrottle was
21658   hit. This meant if an IP hit the throttle and then the throttle was raised
21659   later that day, the IP still couldn't create another account, because it
21660   had marked them as having created another account, when their last account
21661   creation had actually failed.
21662 * (bug 12647) Allow autogenerated edit summary messages to be blanked with '-'
21663 * (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki
21664   markup now.
21665 * (bug 16529) Fix for search suggestions with some third-party JS libraries
21666 * (bug 13342) importScript() generates more consistent URI encoding
21667 * (bug 16577) When a blocked user tries to rollback a page, the block message
21668   is now only displayed once
21669 * (bug 14268) SVG image sizes now extracted with proper XML parser
21670 * (bug 14365) RepoGroup::findFiles() no longer crashes if passed an invalid
21671   title via the API
21672 * (bug 4253, bug 16586) Revision ID is now given instead of title in URLs for
21673   new pages in the recent changes IRC feed
21674 * Ugly tooltips in Special:Statistics were phased out in favor of more direct
21675   information. Went ahead and rewrote SpecialStatistics to subclass SpecialPage
21676 * (bug 5506) Links to files on foreign repositories are now shown consistently
21677   as bluelinks e.g. in logs and edit summaries
21678 * (bug 16623) Add missing </p> tag in Special:LockDB
21679 * (bug 15849) Special:Movepage now throws a more specific error when trying to
21680   move a title to an interwiki target
21681 * (bug 16638) 8-bit URL fallback encoding now set on additional languages using
21682   Arabic script (Persian, Urdu, Sindhi, Punjabi)
21683 * (bug 16656) cleanupTitles and friends should now work in load-balanced
21684   DB environments when $wgDBserver isn't set.
21685 * (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG
21686   images which do not specify width and height attributes.
21687 * (bug 15027) Internet domain names and IP addresses can now be indexed and
21688   searched sensibly with the default MySQL search backend.
21689 * (bug 11733) Fixed parameter validation in importTextFile.php
21690 * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages
21691   for clarity over "previous/next"
21692 * (bug 16612) Fixed "noprint" class for Modern skin print style
21693 * Section anchors now have an "id" attribute as well as a "name" attribute,
21694   even when Tidy is not used
21695 * (bug 16026) revision-info, revision-info-current, cannotdelete,
21696   redirectedfrom, historywarning and difference messages now use Wiki text
21697   rather than raw HTML markup
21698 * (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
21699 * (bug 16772) Special:Upload now correctly rejects files with spaces in the
21700   file extension (e.g. Foo. jpg).
21701 * Image moving over an existing file no longer throws a database error
21702 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
21703 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
21704   local URLs
21705 * (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
21706   that STDIN can be used for page list
21707 * (bug 16560) Special:Random returns a page from ContentNamespaces, and no
21708   longer from NS_MAIN
21710 === API changes in 1.14 ===
21712 * Registration time of users registered before the DB field was created is now
21713   shown as empty instead of the current time.
21714 * API search now falls back to fulltext search by default when using Lucene
21715   or other engine which doesn't support a separate title search function.
21716   This means you can use API search on Wikipedia without explicitly adding
21717   &srwhat=text to the query.
21718 * Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
21719 * (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits'
21720   are now listed on action=help
21721 * (bug 15044) Added requestid parameter to api.php to facilitate distinguishing
21722   between requests
21723 * (bug 15048) Added limit field for multivalue parameters to action=paraminfo
21724   output.
21725 * When the limit on multivalue parameters is exceeded, a warning is issued
21726 * list=search doesn't list missing pages any more
21727 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
21728   non-hidden categories
21729 * (bug 15228) Combining revids= and redirects now throws a warning instead of
21730   an error, and still resolves redirects generated by the generator.
21731 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
21732   etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
21733   for consistency with other list modules.
21734 * Added action=watch
21735 * (bug 15275) apprefix and related parameters ignore spaces at the end
21736 * action=edit no longer throws unknown error 228  when trying to create an
21737   empty section with section=new
21738 * Database replication lag doesn't cause all action=edit requests to return the
21739   nochange flag any more
21740 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
21741 * (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should
21742   return just "Unknown error"
21743 * (bug 15448) YAML output returns empty values instead of 0
21744 * (bug 15445) Added action=patrol
21745 * (bug 15466) Added action=purge
21746 * (bug 15486) action=block ignores autoblock parameter
21747 * (bug 15492) added rcprop=loginfo to list=recentchanges
21748 * (bug 15527) action=rollback can now revert anonymous editors
21749 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
21750   if the page is also protected otherwise (1.10+ style or cascading)
21751 * list=random now has rnredirect parameter, to get random redirects.
21752 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
21753   hooks which allow for extending core modules in a cleaner way
21754 * action=protect checks for invalid protection types and levels
21755 * (bug 15673) Added indentation to format=wddxfm output and improved built-in
21756   WDDX formatter to resemble PHP's more
21757 * (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
21758   rather than causing an exception
21759 * Added uiprop=preferencestoken to meta=userinfo
21760 * (bug 15609) Add inprop=url and inprop=readable to prop=info
21761 * Add ApiDisabled and ApiQueryDisabled classes so individual modules can
21762   be disabled in LocalSettings.php
21763 * (bug 15653) Add prop=duplicatefiles
21764 * (bug 15768) Add list=watchlistraw
21765 * (bug 15647) action=edit with basetimestamp fails if the page has been deleted
21766   and undeleted since the last edit
21767 * (bug 15785) Allow for different expiry times for different protections in
21768   action=protect
21769 * Added allowsduplicates attribute to action=paraminfo output
21770 * (bug 15767) apfilterlanglinks returns duplicate results
21771 * (bug 15845) Added pageid/fromid parameter to action=delete/move, making
21772   manipulation of legacy pages with invalid titles possible
21773 * (bug 15881) Empty or invalid parameters cause database errors
21774 * The maxage and smaxage parameters are now properly validated
21775 * (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol
21776   and patrolmarks right
21777 * (bug 15985) acfrom and aifrom parameters didn't work when sorting in
21778   descending order.
21779 * (bug 15995) Add cmstartsortkey and cmendsortkey parameters to
21780   list=categorymembers
21781 * (bug 16017) list=categorymembers sets invalid continue parameters for
21782   sortkeys containing pipes
21783 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
21784   works properly when multiple users are queried or a userprefix is used
21785 * (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
21786   output
21787 * Added redirect resolution to action=parse
21788 * (bug 16074) rvprop=content combined with a generator with a high limit causes
21789   an error
21790 * (bug 16105) Image metadata attributes containing spaces result in invalid XML
21791 * (bug 16126) Added siprop=magicwords to meta=siteinfo
21792 * (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
21793 * (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
21794 * meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
21795   sifilter parameter.
21796 * (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
21797   limits
21798 * (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases
21799 * (bug 16408) Added rvgeneratexml to prop=revisions
21800 * (bug 16421) Made list=logevents's leuser accept user names with underscores
21801   instead of spaces
21802 * (bug 16516) Made rvsection=T-2 work
21803 * (bug 16526) Added usprop=emailable to list=users
21804 * (bug 16548) list=search threw errors with an invalid error code
21805 * (bug 16515) Added pst and onlypst parameters to action=parse
21806 * (bug 16541) Added block expiry timestamp to list=logevents output
21807 * (bug 16613) action=protect doesn't tell when &cascade was set but cascading
21808   protection wasn't allowed
21809 * (bug 16626) action=delete now correctly handles empty "reason" param
21810 * (bug 15579) clshow considers all categories !hidden
21811 * (bug 16647) list=allcategories, prop=categories don't return "hidden"
21812   property for hidden categories
21813 * New siprop parameter of 'extensions' to list all installed extensions
21814 * (bug 16672) Include canonical namespace name in
21815   meta=siteinfo&siprop=namespaces.
21816 * (bug 16726) siprop=namespacealiases should also list localized aliases
21817 * (bug 16730) Added apprfiltercascade parameter to list=allpages to filter
21818   cascade-protected pages
21820 === Languages updated in 1.14 ===
21822 MediaWiki supports over 300 languages. Many localisations are updated
21823 regularly. Below only new and removed languages are listed.
21825 * Bakhtiari (bqi) (new)
21826 * Fiji Hindi (Devanagari script) (hif-deva) (new)
21827 * Krio (kri) (new)
21828 * Lezghian (lez) (new)
21829 * Laz (lzz) (new)
21830 * Eastern Mari (mhr) (new)
21831 * Niuean (niu) (new)
21832 * Oromo (om) (new)
21833 * Plautdietsch (pdt) (new)
21834 * Western Punjabi (pnb) (new)
21835 * Tarantino (roa-tara) (new)
21836 * Serbo-Croatian (sh) (new)
21837 * Tulu (tcy) (new)
21840 == MediaWiki 1.13 ==
21842 == MediaWiki 1.13.5 ==
21844 February 22, 2009
21846 This is a maintenance update to the Summer 2008 snapshot release of MediaWiki.
21848 MediaWiki is now using a "continuous integration" development model with
21849 quarterly snapshot releases. The latest development code is always kept
21850 "ready to run", and in fact runs our own sites on Wikipedia.
21852 Release branches will continue to receive security updates for about a year
21853 from first release, but nonessential bugfixes and feature developments
21854 will be made on the development trunk and appear in the next quarterly release.
21856 Those wishing to use the latest code instead of a branch release can obtain
21857 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
21859 == Changes since 1.13.4 ==
21861 * (bug 17449) Fixed PostgreSQL installation
21862 * (bug 17527) Fixed missing MySQL-specific options in installer
21864 == Changes since 1.13.3 ==
21866 A number of cross-site scripting (XSS) security vulnerabilities were discovered
21867 in the web-based installer (config/index.php). These vulnerabilities all
21868 require a live installer -- once the installer has been used to install a wiki,
21869 it is deactivated.
21871 Note that cross-site scripting vulnerabilities can be used to attack any website
21872 in the same cookie domain. So if you have an uninstalled copy of MediaWiki on
21873 the same site as an active web service, MediaWiki could be used to attack the
21874 active service.
21876 If you are hosting an old copy of MediaWiki that you have never installed, you
21877 are advised to remove it from the web.
21879 == Changes since 1.13.2 ==
21881 David Remahl of Apple's Product Security team has identified a number of
21882 security issues in previous releases of MediaWiki. Subsequent analysis by the
21883 MediaWiki development team expanded the scope of these vulnerabilities. The
21884 issues with a significant impact are as follows:
21886 * An XSS vulnerability affecting all MediaWiki installations between 1.13.0 and
21887   1.13.2. [CVE-2008-5249]
21888 * A local script injection vulnerability affecting Internet Explorer clients for
21889   all MediaWiki installations with uploads enabled. [CVE-2008-5250]
21890 * A local script injection vulnerability affecting clients with SVG scripting
21891   capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
21892   uploads enabled. [CVE-2008-5250]
21893 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
21894   installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
21896 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
21897 authorised user's login session, and to act as that user on the wiki. The
21898 authorised user must visit a web page controlled by the attacker in order to
21899 activate the attack. Intranet wikis are vulnerable if the attacker can
21900 determine the intranet URL.
21902 Local script injection vulnerabilities are like XSS vulnerabilities, except
21903 that the attacker must have an account on the local wiki, and there is no
21904 external site involved. The attacker uploads a script to the wiki, which another
21905 user is tricked into executing, with the effect that the attacker is able to act
21906 as the privileged user.
21908 CSRF vulnerabilities allow an attacker to act as an authorised user on the wiki,
21909 but unlike an XSS vulnerability, the attacker can only act as the user in a
21910 specific and restricted way. The present CSRF vulnerability allows pages to be
21911 edited, with forged revision histories. Like an XSS vulnerability, the
21912 authorised user must visit the malicious web page to activate the attack.
21914 These four vulnerabilities are all fixed in this release.
21916 David Remahl also reminded us of some security-related configuration issues:
21918 * By default, MediaWiki stores a backup of deleted images in the images/deleted
21919   directory. If you do not want these images to be publically accessible, make
21920   sure this directory is not accessible from the web. MediaWiki takes some steps
21921   to avoid leaking these images, but these measures are not perfect.
21922 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
21923   errors. This is the default on most shared web hosts.
21924 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
21925   lead to path disclosure.
21927 Other changes in this release:
21929 * Avoid fatal error in profileinfo.php when not configured.
21930 * Add a .htaccess to deleted images directory for additional protection against
21931   exposure of deleted files with known SHA-1 hashes on default installations.
21932 * Avoid streaming uploaded files to the user via index.php. This allows
21933   security-conscious users to serve uploaded files via a different domain, and
21934   thus client-side scripts executed from that domain cannot access the login
21935   cookies. Affects Special:Undelete, img_auth.php and thumb.php.
21936 * When streaming files via index.php, use the MIME type detected from the
21937   file extension, not from the data. This reduces the XSS attack surface.
21938 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any
21939   XSS vulnerabilities involving uploads of files containing scripts.
21940 * Internationalisation updates.
21942 == Changes since 1.13.1 ==
21944 * Security: Work around misconfiguration by requiring strict comparisons for
21945   in_array in User::isAllowed().
21946 * (bug 14944) Added $wgShellLocale for configuration of an appropriate locale
21947   to use for LC_CTYPE during shell invocation. For servers that don't have
21948   en_US.utf8. Also added locale detection during install.
21949 * Localisation updates
21950 * Security: Fixed XSS vulnerability in useskin parameter.
21952 == Changes since 1.13.0 ==
21954 * (bug 15460) Fixed intermittent deadlock errors and poor concurrent
21955   performance for installations without memcached.
21956 * (bug 13770) Fixed DOM module detection for installations with both dom
21957   and domxml.
21958 * (bug 15148) Fixed Special:BlockIP for PostgreSQL
21959 * Fixed SQLite support for non-memcached installations
21960 * Localisation updates, Achinese (ace) added.
21962 == Changes since 1.13.0rc2 ==
21964 * (bug 13770) Fixed incorrect detection of PHP's DOM module
21965 * Fix regression from r37834: accesskey tooltip hint should be given for the
21966   minor edit and watch labels on the edit page.
21967 * Updated Chinese simplified/traditional conversion tables
21969 == Changes since 1.13.0rc1 ==
21971 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
21972   has been $wgSearchForwardUrl.
21973 * (bug 14907) DatabasePostgres::fieldType now defined.
21974 * (bug 14966) Fix SearchEngineDummy class for silently non-functional search
21975   on Sqlite instead of horribly fatal error breaky one.
21976 * (bug 14987) Only fix double redirects on page move when the checkbox is
21977   checked
21978 * (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
21979   address for page update notification mails.
21980 * API: Registration time of users registered before the DB field was created is
21981   now shown as empty instead of the current time.
21982 * (bug 14904): fragments were lost when redirects were fixed.
21983 * Added magic word __STATICREDIRECT__ to suppress the redirect fixer
21984 * (bug 15035) Revert English linkTrail to /^([a-z]+)(.*)$/sD, as it was before
21985   r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries,
21986   both bundled with PHP and packaged with distros such as RHEL.
21987 * (bug 14944) Shell invocation of external programs such as ImageMagick convert
21988   was broken in PHP 5.2.6, if the server had a non-UTF-8 locale.
21991 === Configuration changes in 1.13 ===
21993 * New option $wgFeed can be set false to turn off syndication feeds
21994 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
21995   links through each redirect instead of hardcoded 500
21996 * Set $wgUploadSizeWarning to false by default
21997 * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms
21998 * Removed $wgAlternateMaster, use $wgLBFactoryConf
21999 * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to
22000   $wgUserNotifiedOnAllChanges
22001 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
22002   for only some namespaces
22003 * Removed the emailconfirmed implicit group by default. To re-add it, use:
22004     $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
22005   in your LocalSettings.php.
22006 * (bug 2396) New shared database configuration variables. $wgSharedPrefix allows
22007   you to use a shared database with a different prefix. Or you can now use a
22008   local database and use prefixes to separate wiki and the shared tables. And
22009   the new $wgSharedTables variable allows you to specify a list of tables to
22010   share.
22011 * Automatic edit summaries can be disabled with $wgUseAutomaticEditSummaries
22012 * Duplicates of images are now shown on the image page
22013 * $wgRCFilterByAge allows for the list of dates in recent changes special pages
22014   to be filtered to only those within the range of $wgRCMaxAge
22015 * $wgRCLinkLimits and $wgRCLinkDays allow for customization of the list and
22016   limits displayed on the recent changes special pages
22017 * The "createpage" permission is no longer required when uploading if the target
22018   image page already exists
22019 * $wgMaximumMovedPages restricts the number of pages that can be moved at once
22020   (default 100) with the new subpage-move functionality of Special:Movepage
22021 * Hooks display in Special:Version is now disabled by default, use
22022   $wgSpecialVersionShowHooks = true; to enable it.
22023 * $wgActiveUserEditCount sets the number of edits that must be performed over
22024   a certain number of days to be considered active
22025 * $wgActiveUserDays is that number of days
22026 * $wgRateLimitsExcludedGroups has been deprecated in favor of
22027   $wgGroupPermissions[]['noratelimit']. The former still works, however.
22028 * New $wgGroupPermissions option 'move-subpages' added to control bulk-moving
22029   subpages along with pages.  Assigned to 'user' and 'sysop' by default.
22030 * New $wgRC2UDPOmitBots allows user to omit bot edits from UDP output.
22031   Default: false
22032 * Removed $wgEnableCascadingProtection option. Disabling cascading protection
22033   is no longer possible.
22034 * $wgMessageCacheType defines now the type of cache used by the MessageCache
22035   class, previously it was choosen based on $wgParserCacheType
22036 * $wgExtensionAliasesFiles option to simplify adding aliases to special pages
22037   provided by extensions, in a similar way to $wgExtensionMessagesFiles
22038 * Added $wgXMLMimeTypes, an array of XML mimetypes we can check for
22039   with MimeMagic.
22040 * Added $wgDirectoryMode, which allows for setting the default CHMOD value when
22041   creating new directories.
22042 * (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults
22043   current behavior.
22045 === New features in 1.13 ===
22047 * __HIDDENCAT__ on a category page causes the category to be hidden on the
22048   article page
22049 * Do not show edit permissions errors on a red link click, just redirect to the
22050   article. This is so that readers who don't know what a red link is are not
22051   confused when they are told they are range-blocked.
22052 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
22053   image syntax output
22054 * (bug 13100) Added 'preloadtitle' parameter to action=edit&section=new that
22055   pre-fills the section title field
22056 * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked
22057 * (bug 13130) Moved edit token and autosummary fields above edit tools to
22058   reduce broken form submissions
22059 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
22060   redirects to the redirect table
22061 * Add links to page and file deletion forms to edit predefined delete reasons
22062 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
22063 * (bug 2815) Search results for media now use thumbnail instead of text extract
22064 * When a page doesn't exist, the tab should say "create", not "edit"
22065 * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled"
22066   link on diffs
22067 * Magic word formatnum can now take raw suffix to undo formatting
22068 * Add updatelog table to reliably permit updates that don't change the schema
22069 * Add category table to allow better tracking of category membership counts
22070 ** (bug 1212) Give correct membership counts on the pages of large categories
22071 ** Use category table for more efficient display of Special:Categories
22072 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
22073 * (bug 9447) Added hooks for search result headings
22074 * Image redirects are now enabled by default
22075 * (bug 13450) Email confirmation can now be canceled before the expiration
22076 * (bug 13490) Show upload/file size limit on upload form
22077 * Redesign of Special:UserRights
22078 * Make rev_deleted log entries more intelligible
22079 * (bug 6943) Added PAGESINCATEGORY: magic word
22080 * (bug 13604) Added Special:ListGroupRights
22081 * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of
22082   'mainpage' and added it to message 'sidebar'
22083 * Automatically add old redirects to the redirect table when needed
22084 * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or
22085   off on Special:WhatLinksHere
22086 * Cache image redirects
22087 * (bug 10457) Organize Special:SpecialPages into sections
22088 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
22089   to modify the output for edit conflicts
22090 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
22091   a slightly less huge margin and padding
22092 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
22093 * Allow \C and \Q as TeX commands to match \R, \N, \Z
22094 * On Special:UserRights, when you can add a group you can't remove or remove
22095   one you can't add, a notice is printed to warn you
22096 * (bug 12698) Create PAGESIZE parser function, to return the size of a page
22097 * Allow the "log in / create account" link in the toolbar to have different
22098   text from Special:UserLogin title (new message 'nav-login-createaccount')
22099 * Say "log in / create account" if an anonymous user can create an account,
22100   otherwise just "log in", consistently across skins
22101 * Special:Shortpages and Special:Longpages now returns pages in all content
22102   namespaces, not just NS_MAIN.
22103 * (bug 889) Improve conflict-handling between shared upload repository
22104   and local one
22105 * Update documentation links in auto-generated LocalSettings.php
22106 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
22107 * (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
22108 * Custom rollback summaries now accept the same arguments as the default message
22109 * (bug 12542) Added hooks for expansion of Special:Listusers
22110 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)
22111 * More relevant search snippets (turn on $wgAdvancedSearchHighlighting)
22112 * (bug 13950) Allow users to watch the user/talk pages of users they block.
22113 * (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet
22114 * Show image links on Special:Whatlinkshere
22115 * Use rel="start", "prev", "next" appropriately on Pager-based pages
22116 * Add support for SQLite
22117 * AutoAuthenticate hook renamed to UserLoadFromSession
22118 * (bug 13232) importScript(), importStylesheet() funcs available to custom JS
22119 * (bug 13095) Search by first letters or digits in [[Special:Categories]]
22120 * Users moving a page can now move all subpages automatically as well
22121 * (bug 14259) Localisation message for upload button on Special:Import is now
22122   'import-upload' instead of 'upload'
22123 * Add information about user group membership to Special:Preferences
22124 * (bug 14146) Wrap usage section on imagepages into <div>s.
22125 * New layout for Special:Specialpages. Restricted pages are marked but not
22126   separated from other pages in their group.
22127 * (bug 14263) Show a diff of the revert on rollback notification page.
22128 * (bug 13434) Show a warning when hash identical files exist
22129 * Sidebar is now cached for all languages
22130 * The User class now contains a public function called isActiveEditor. Figures
22131   out if a user is active based on at least $wgActiveUserEditCount number of
22132   edits in the last $wgActiveUserDays days.
22133 * SpecialSearchResults hook now passes results by reference, so they can be
22134   changed by extensions.
22135 * Add a new hook LinkerMakeExternalLink to allow extensions to modify the output
22136   of external links.
22137 * (bug 14132) Allow user to disable bot edits from being output to UDP.
22138 * (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a
22139   string
22140 * (bug 14558) New system message (emailuserfooter) is now added to the footer of
22141   e-mails sent with Special:Emailuser
22142 * Add support for Hijri (Islamic) calendar
22143 * Add a new hook LinkerMakeExternalImage to allow extensions to modify the
22144   output of external (hotlinked) images.
22145 * (bug 14604) Introduced the following features for the LanguageConverter:
22146   Multi-tag support, single conversion flag, remove conversion flag on a single
22147   page, description flag, variant name, multi-variant fallbacks.
22148 * Add zh-mo and zh-my variants for the zh language
22149 * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that
22150   are in Special:Recentchanges
22151 * Allow an $error message to be passed to ArticleDelete hook
22152 * Allow extensions to modify the user creation form by calling addInputItem();
22153 * Add meta generator tag to HTML output
22154 * MediaWikiPerformAction hook is now passed the MediaWiki object
22155 * Added blank special page Special:BlankPage for benchmarking, etc.
22156 * Foreign repo file descriptions and thumbnails are now cached.
22157 * (bug 11732) Allow localisation of edit button images
22158 * Allow the search box, toolbox and languages box in the Monobook sidebar to be
22159   moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]:
22160   SEARCH, TOOLBOX and LANGUAGES
22161 * Add a new hook NormalizeMessageKey to allow extensions to replace messages
22162   before the database is potentially queried
22163 * (bug 9736) Redirects on Special:Fewestrevisions are now marked as such.
22164 * New date/time formats in Cs localization according to ČSN and PČP.
22165 * Special:Recentchangeslinked now includes changes to transcluded pages and
22166   displayed images; also, the "Show changes to pages linked" checkbox now works
22167   on category pages too, showing all links that are not categorizations
22168 * (bug 4578) Automatically fix redirects broken by a page move
22170 === Bug fixes in 1.13 ===
22172 * (bug 10677) Add link to the file description page on the shared repository
22173 * (bug 13084) Increase size of source/destination filename fields in upload form
22174 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
22175 * (bug 13140) Show parent categories in category namespace
22176 * (bug 13149) Correctly format 'fileexists' message on Upload page
22177 * Make the default filepageexists message accurate
22178 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
22179 * (bug 13022) Fix upload from URL on PHP 5.0.x
22180 * (bug 13132) Unable to unprotect pages protected with earlier versions of
22181   MediaWiki
22182 * (bug 12723) OpenSearch description name now uses more compact language code
22183   to avoid passing the length limit as often, is customizable per site via
22184   'opensearch-desc' message.
22185 * (bug 13135) Special:Userrights now passes IDs through form submission
22186   to allow functionality on not-quite-right usernames
22187 * (bug 12575) Prevent duplicate patrol log entries from being created
22188 * (bug 13174) __HIDDENCAT__ now applies only to category pages
22189 * (bug 13031) Add links to user pages in e-mail form
22190 * (bug 13147) Description for categoriespagetext (used in Special:Categories)
22191   reworded
22192 * (bug 11561) Fix fatal error when calling action=revert to non-image page
22193 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
22194   maintenance/cleanupSpam.php
22195 * All skins should have the "mediawiki" class on the body element
22196 * (bug 13019) Message cache for some extensions not loaded at time of editing
22197 * (bug 13247) Prettified ISBN links
22198 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
22199 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
22200   back when using rollback
22201 * (bug 13012) Use content messages for block options when generating the
22202   recentchanges entry
22203 * (bug 13274) Change links for messages to ucfirst
22204 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
22205   autocomment-prefix)
22206 * Parse MediaWiki message translations with a correct language setting on
22207   preview
22208 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
22209   case-insensitive names.
22210 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
22211 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
22212 * (bug 10721) Duplicate section anchors with differing case now disambiguated
22213   for Internet Explorer's sake and standards compliance
22214 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
22215 * Email subject in content language instead of sending user's UI language
22216 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
22217 * (bug 2084) Fixed incorrect regex to match redirects
22218 * (bug 3131) Manually-specified upload destination filename is no longer
22219   overwritten by browsing for a file after you wrote it.
22220 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
22221   'generated-sidebar'.
22222 * (bug 13265) Media handler is missing 'image/x-bmp'
22223 * (bug 13407) MediaWiki:Powersearch is used in two places
22224 * (bug 13403) Fix cache invalidation of history pages when old revisions change
22225 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
22226 * (bug 12801) Fix link in subtitle message in AJAX search
22227 * (bug 13428) Fix regression in protection form layout HTML validity
22228 * (bug 9403) Sanitize newlines from search term input
22229 * (bug 13429) Separate date and time in message sp-newimages-showfrom
22230 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
22231   so groups may optionally edit protected pages without having 'protect' perms
22232 * Disallow deletion of big pages by means of moving a page to its title and
22233   using the "delete and move" option.
22234 * (bug 13466, 13632) White space differences not shown in diffs
22235 * (bug 1953) Search form now honors namespace selections more reliably
22236 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
22237 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
22238 * (bug 6447) Trackbacks now work with transactional tables, if enabled
22239 * (bug 6892, 7147) Trackback error handling, optional fields more robust
22240 * (bug 6813) Don't break HTML validator when using trackbacks
22241 * Fix for size checks on SVG images with global 'stroke-width' attribute
22242 * (bug 11874) Inline CSS with !important no longer borken
22243 * (bug 1600) Strip extra == section markup == in new-comment field
22244 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
22245 * (bug 12077) Fix HTML nesting for TOC
22246 * (bug 344) Purge cache for talk/article pages when deleting the other tab
22247 * (bug 13436) Treat image captions correctly when they include option keywords
22248   (like ending with "px" or starting with "upright")
22249 * Trackback display formatting fixed
22250 * Don't die when single-element arrays are passed to SQL query constructors
22251   that have an array index other than 0
22252 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
22253 * (bug 13532) Use proper timestamp call when reverting images
22254 * (bug 13543) Updated FAQ link in the installer sidebar
22255 * (bug 13540) Date format in confirmation e-mail now matches message language
22256 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
22257 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
22258 * (bug 13576) maintenance/rebuildrecentchanges.php fails
22259 * (bug 13441) Allow Special:Recentchanges to show bots only
22260 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
22261 * (bug 13463) Login successful page doesn't use user's preferred interface
22262   language
22263 * (bug 13630) Fixed warnings for pass by reference at call time in
22264   Special:Revisiondelete when generating the log entry.
22265 * (bug 12064) BeforePageDisplay hook is now called for all skins
22266 * (bug 13624) Fix regression with manual thumb= parameter on images
22267 * (bug 11039) Add missing labels on protection form
22268 * (bug 13458) Preview/edit toolbar spacing now works consistently
22269 * (bug 13433) Fix action=render on Image: pages
22270 * (bug 13678) Fix CSS validation for Monobook
22271 * (bug 13684) Links in Special:ListGroupRights should be in content language
22272 * (bug 13690) Fix PHP notice on accessing some URLs
22273 * Hide (undo) link if user isn't able to edit page
22274 * Invalidate cache of pages that includes images via redirects on upload
22275 * (bug 13705) Don't show rollback link in page history on incorrect revisions
22276 * (bug 13708) Don't set "Search results" title when loading Special:Search
22277   without query
22278 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existent IP addresses
22279 * (bug 13728) Don't trim initial whitespace during section edits
22280 * (bug 13727) Don't delete log entries from recentchanges on page deletion
22281 * (bug 13752) Redirects to sections now work again
22282 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
22283 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
22284   the page is included
22285 * When hiding things on WhatLinksHere, generated URLs should hide them too
22286 * Properly escape search terms with regex chars so they appear highlighted in
22287   search results
22288 * (bug 13768) pt_title field encoding fixed
22289 * Do not display empty columns on Special:UserRights if all groups are
22290   changeable or all unchangeable
22291 * Fix fatal error on calling PAGESINCATEGORY with invalid category name
22292 * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of
22293   before
22294 * (bug 13796) Show links to parent pages even if some of them are missing
22295 * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere
22296 * (bug 13822) Fatal error on some pages when calculating subpage subtitle
22297 * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
22298 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
22299 * (bug 13866) skins/common/shared.css - invalid attribute fixing
22300 * Hide edit section links on Special:Undelete
22301 * (bug 13860) Fix "Justify paragraphs" option for Modern skin
22302 * (bug 13168) accessibility links in Modern skin link to wrong anchor id
22303 * (bug 13185) No line break after 'subpages' class in Modern skin
22304 * (bug 13583) No "poweredby" in Modern skin
22305 * (bug 13880) "Printable" link in Modern skin now formats as print mode
22306 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
22307 * (bug 13891) Show categories box even if all categories are hidden and user has
22308   "show hidden categories" option on
22309 * (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
22310 * (bug 13913) Special:Whatlinkshere now has correct HTML markup
22311 * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
22312 * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
22313 * (bug 13924) Fix bad HTML on power search form
22314 * (bug 13820) Fix updater for rev_parent_id population
22315 * (bug 13925) Fix bad HTML on search results list
22316 * (bug 13934) Fixing the link to GNU General Public License Version 2
22317 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
22318 * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
22319 * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module
22320   errors
22321 * (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
22322 * (bug 13615) Update case mappings and normalization to Unicode 5.1.0
22323   Note that case mappings will only be used if mbstring extension is not
22324   present.
22325 * (bug 14044) Don't increment page view counters on views from bot users
22326 * (bug 14042) Calling Database::limitResult() misplaced the comment in the log
22327   file
22328 * (bug 14047) Fix regression in installer which hid DB-specific options
22329   Also makes SQLite path configurable in the installer.
22330 * (bug 13546) Follow image redirects on image page
22331 * (bug 12644) Template list on edit page now sorted on preview
22332 * (bug 14058) Support pipe trick for namespaces and interwikis with "-"
22333 * Message name filter on Special:Allmessages now case-insensitive
22334 * (bug 13943) Fix image redirect behavior on image pages
22335 * (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
22336 * (bug 14063) Power search form missing <label> for redirects check
22337 * (bug 14111) Similar filename warning links now lead to correct page
22338 * (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers
22339 * (bug 13693) Categories sometimes claim to have a negative number of members
22340 * (bug 1701) Korean Hangul syllables now broken down properly in Category lists
22341   even if the wiki's overall content language is not Korean
22342 * (bug 12773) addOnloadHook() now calls functions immediately when scripts are
22343   loaded after the primary page completion, instead of dropping them
22344 * (bug 14199) Fix deletion form for image redirect pages
22345 * (bug 14220) Disabling $wgCheckFileExtensions now works without also
22346   disabling $wgStrictFileExtensions
22347 * (bug 14241) Pages can no longer be protected to levels you are not in
22348 * (bug 14296) Fix local name of ang: (Anglo-Saxon)
22349 * (bug 4871) Hardcoded superscript in time zone preferences moved to message
22350 * (bug 6957) E-mail confirmation links now using English special page name
22351   for better compatibility and keeping the links shorter. Avoids problem
22352   with corrupt links in Gmail on IE 6.
22353 * (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror
22354 * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
22355   and I to ı
22356 * (bug 13826) MediaWiki:Defaultns accepts Wikicode
22357 * (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit
22358   set to true
22359 * (bug 13034) Interwiki pages can now be reached using Go search button
22360 * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias
22361 * (bug 14370) When a grouppage-x message does not exist the entry on the
22362   ListGroupRights special page now links to the project namespace page for it,
22363   not the main namespace page.
22364 * (bug 11659) Urldecode image names in galleries
22365 * (bug 14258, 14368) Fix for subpage renames in replication environments
22366 * (bug 14367) Failed block no longer adds phantom watchlist entry
22367 * (bug 14385) "Move subpages" option no longer tries to move to invalid titles
22368 * (bug 14386) Fix subpage namespace oddity when moving a talk page
22369 * (bug 11771) Signup form now not shown if in read-only mode.
22370 * (bug 12859) $wgRateLimitsExcludedGroups has been deprecated in favor of
22371   $wgGroupPermissions[]['noratelimit'].
22372 * (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title)
22373   and $2 (=revision numbers)
22374 * (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions
22375 * (bug 14432) Fix notice regression in Special:Newpages feed mode
22376 * (bug 11951) EditPage::getEditToolbar() is now static.
22377 * (bug 14392) Fix regression breaking table prefix in installer
22378 * (bug 11084) $wgDBprefix replacement for updater SQL will now work for
22379   extension tables using uppercase letters or digits in their names.
22380 * (bug 12311) Fix regression with lists at start of undeletion preview
22381 * (bug 14496) Fix regression with parseinline on Special:Upload.
22382 * We no longer just give up on a missing upload base directory; it's now
22383   created automatically if we have sufficient permissions!
22384 * (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper
22385 * (bug 14497) Throw visible errors in installer scripts when SQL files
22386   fail due to database permission or other error
22387 * (bug 14500) Site feed (Recentchanges) no longer shows up on the actual
22388   recent changes page.
22389 * (bug 14511) MediaWiki:Delete-legend is no longer double escaped
22390 * Generate correct section anchors for numeric headers
22391 * (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins
22392 * (bug 14551) Cancel upload no longer automatically suppresses warnings
22393 * (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls
22394 * (bug 4977) Fix for possible squid purging errors when using HTTP purges
22395   and multiple servers
22396 * (bug 14572) Redirects listed on file links on image pages no longer redirect.
22397 * (bug 14537) Change interwiki name for Old Church Slavonic (cu)
22398 * (bug 14583) Fix regression in recent changes "limit to certain categories."
22399 * (bug 14515) HTML nesting cleanup on edit form
22400 * (bug 14647) Removed unused 'townBox' CSS classes
22401 * (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
22402 * OpenSearch cleanup; Firefox now sends you to the search page for empty
22403   searches instead of the domain root (which may not even be a wiki).
22404 * (bug 3481) Pages moved shortly after creation are shown at their new title
22405   on Special:Newpages.
22406 * (bug 12716) Trying to unprotect a title that isn't protected no longer
22407   generates a log entry.
22408 * (bug 14088) Excessively long block expiry times are rejected as invalid,
22409   keeps the log page from being distorted.
22410 * (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
22411 * (bug 14646) Fix some double-escaping of HTML in feed output
22412 * (bug 14709) Fix login success message formatting when using cookie check
22413 * (bug 14710) Remove "donate" link from default sidebar
22414 * (bug 14745) Image moving works on sites that transform thumbnails via 404
22415 * (bug 2186) Document.write() in wikibits caused failures when using
22416   application/xhtml+xml. The calls to this have been removed.
22417 * (bug 14764) Fix regression in from Article::lastModified(), failed to work
22418   on non-mySQL schemas.
22419 * (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
22420   had strict standards issues with setFakeSlaveLag() and setFakeMaster().
22421 * (bug 451) Improve the phrase mappings of the Chinese converter arrays.
22422 * (bug 12487) Rights log is not fully internationalized
22423 * (bug 10837) Language variants no longer override other languages than base
22424 * (bug 14778) 'limit' parameter now applies to history feeds as well as
22425   history pages
22426 * (bug 14845) Bug in prefs javascript: Calling an array item without checking
22427   its existance.
22428 * Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3
22429 * (bug 12384) Comments in maintenance/*php
22430 * (bug 12441) ./maintenance/generateSitemap.php fix -fspath requiring
22431   a trailing slash.
22432 * (bug 12568) configuration script now produce valid XHTML.
22433 * The accesskey to edit a page is now disabled when editing the page, to pre-
22434   vent conflicts with Safari shortcuts.
22436 === API changes in 1.13 ===
22438 * Fixing main page display in meta=siteinfo
22439 * (bug 13128) Added patrolled flag to list=recentchanges
22440 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
22441 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
22442 * (bug 13157) Added ucuserprefix parameter to list=usercontribs
22443 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
22444   retrieval easier
22445 * (bug 13218) Fix inclusion of " character in hyperlinks
22446 * Added watch and unwatch parameters to action=delete and action=move
22447 * Added action=edit
22448 * (bug 11401) Added xmldoublequote to xml formatter
22449 * Added rvsection parameter to prop=revisions to allow fetching the content of
22450   a certain section only
22451 * Introduced list=allimages
22452 * (bug 13371) Build page set from image hashes
22453 * Mark non-existent messages in meta=allmessages as missing
22454 * (bug 13390) One invalid title no longer kills an entire API query
22455 * (bug 13419) Fix gblredirect so it actually works
22456 * (bug 13418) Disable eiredirect because it's useless
22457 * (bug 13395) list=allcategories should use category table
22458 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
22459   handled properly.
22460 * (bug 13444) Add description to list=watchlist
22461 * (bug 13482) Disabled search types handled properly
22462 * Added inprop=talkid,subjectid to prop=info
22463 * Added help text message that specifies whether a module is POST-only
22464 * Added createonly parameter to action=edit
22465 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
22466 * (bug 11719) Remove trailing blanks in YAML output.
22467 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
22468 * Added fallback8bitEncoding and readonly fields to
22469   meta=siteinfo&siprop=general output
22470 * (bug 13544) Added prop=revid to action=parse
22471 * (bug 13603) Added siprop=usergroups to meta=siteinfo
22472 * Cleaned up redirect resolution
22473 * Added possibility to obtain all external links through list=exturlusage
22474 * (bug 13606) Added archivename to iiprop
22475 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
22476   very weak typing on array keys.
22477 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
22478 * (bug 11673) Return error 'unknown_action' in specified format
22479 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
22480 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old
22481   revisions
22482 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
22483 * action=login now returns the correct waiting time in the details property
22484 * (bug 13792) Broken titles are now silently skipped in search results.
22485 * (bug 13819) exturlusage paging skipped an item
22486 * Fixed handling of usernames containing spaces in list=block
22487 * (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with
22488   format=xml
22489 * (bug 13735) Added prop=categoryinfo module
22490 * (bug 13945) Retrieve cascading protection sources via inprop=protection
22491 * (bug 13965) Hardcoded 51 limit on titles is too limiting
22492 * (bug 13993) apfrom doesn't work with apdir=descending
22493 * (bug 14018) Introduced alcontinue to list=alllinks to improve paging
22494 * (bug 14013) Added rcshow=patrolled to list=recentchanges
22495 * (bug 14028) Added language attribute to interwiki map in meta=siteinfo
22496 * (bug 14022) Added usprop=registration and auprop=blockinfo
22497 * (bug 14021) Removed titles= support from list=backlinks (has been obsolete
22498   for ages)
22499 * (bug 13829) Expose parse tree via action=expandtemplates
22500 * (bug 13606) Allow deletion of images
22501 * Added iiprop=mime and aiprop=metadata
22502 * Handled unrecognized values for parameters more gracefully
22503 * Handled requesting disallowed tokens more gracefully
22504 * (bug 14140) URL-encoded page titles are now decoded in edit summaries
22505 * (bug 14243) Only accept post requests in action=edit; patch by HardDisk
22506 * action=block now returns an ISO8601 timestamp, like all other modules do
22507 * Added md5 parameter to action=edit
22508 * (bug 14335) Logging in to unified account using API not possible
22509 * Added action=emailuser to send an email to a user
22510 * (bug 14471) Use HTMLTidy and generate limit report in action=parse
22511 * (bug 14459) Added prependtext and appendtext parameters to action=edit
22512 * (bug 14526) Unescaped SQL in list=backlinks
22513 * Added 'hidden' flag to list=allcategories and prop=categoryinfo output
22514 * Added nocreate parameter to action=edit
22515 * (bug 14402) Added maxage and smaxage parameters to api.php
22516 * Added bkip parameter to list=blocks
22517 * (bug 14651) apprefix and similar parameters are now canonicalized
22518 * Added clprop=timestamp to prop=categories
22519 * (bug 14678) API errors now respects $wgShowExceptionDetails and
22520   $wgShowSQLErrors
22521 * (bug 14723) Added time zone and writing direction to meta=siteinfo
22522 * Added APIQueryInfoTokens and APIQueryRevisionsTokens hooks so extensions
22523   can add their own tokens
22524 * Added block and unblock tokens to prop=info as well
22525 * Added paging (limit and continue parameters) to
22526   prop={links,templatelinks,langlinks,extlinks,categories,images}
22527 * Added flag "top" to list=usercontribs if the user is the last contributor to
22528   the page
22529 * list=exturlusage in "list all links" mode can now filter by protocol
22531 == MediaWiki 1.12 ==
22533 == MediaWiki 1.12.4 ==
22535 February 7, 2009
22537 A number of cross-site scripting (XSS) security vulnerabilities were discovered
22538 in the web-based installer (config/index.php). These vulnerabilities all
22539 require a live installer -- once the installer has been used to install a wiki,
22540 it is deactivated.
22542 Note that cross-site scripting vulnerabilities can be used to attack any
22543 website in the same cookie domain. So if you have an uninstalled copy of
22544 MediaWiki on the same site as an active web service, MediaWiki could be used to
22545 attack the active service.
22547 If you are hosting an old copy of MediaWiki that you have never installed, you
22548 are advised to remove it from the web.
22550 == MediaWiki 1.12.3 ==
22552 * Fixed packaging/distribution error. Many files were missing from the
22553 distributed tarball.
22555 == MediaWiki 1.12.2 ==
22557 David Remahl of Apple's Product Security team has identified a number of
22558 security issues in previous releases of MediaWiki. Subsequent analysis by the
22559 MediaWiki development team expanded the scope of these vulnerabilities. The
22560 issues with a significant impact are as follows:
22562 * A local script injection vulnerability affecting Internet Explorer clients
22563 for all MediaWiki installations with uploads enabled. [CVE-2008-5250]
22564 * A local script injection vulnerability affecting clients with SVG scripting
22565 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
22566 uploads enabled. [CVE-2008-5250]
22567 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
22568 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
22570 A local script injection vulnerability allows an attacker with a wiki account
22571 to steal another user's login session, and to act as that user on the wiki. The
22572 attacker uploads a malicious script file, and tricks the victim into executing
22575 CSRF vulnerabilities allow an attacker to act as an authorised user on the
22576 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
22577 a specific and restricted way. The present CSRF vulnerability allows pages to
22578 be edited, with forged revision histories. Like an XSS vulnerability, the
22579 authorised user must visit the malicious web page to activate the attack.
22581 These three vulnerabilities are all fixed in this release.
22583 David Remahl also reminded us of some security-related configuration issues:
22585 * By default, MediaWiki stores a backup of deleted images in the images/deleted
22586 directory. If you do not want these images to be publically accessible, make
22587 sure this directory is not accessible from the web. MediaWiki takes some steps
22588 to avoid leaking these images, but these measures are not perfect.
22589 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
22590 errors. This is the default on most shared web hosts.
22591 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
22592 lead to path disclosure.
22594 Other changes in this release:
22596 * Avoid fatal error in profileinfo.php when not configured.
22597 * Add a .htaccess to deleted images directory for additional protection against
22598 exposure of deleted files with known SHA-1 hashes on default installations.
22599 * Avoid streaming uploaded files to the user via index.php. This allows
22600 security-conscious users to serve uploaded files via a different domain, and
22601 thus client-side scripts executed from that domain cannot access the login
22602 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
22603 * When streaming files via index.php, use the MIME type detected from the file
22604 extension, not from the data. This reduces the XSS attack surface.
22605 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any XSS
22606 vulnerabilities involving uploads of files containing scripts.
22607 * Internationalisation updates.
22609 == MediaWiki 1.12.1 ==
22611 Changes since 1.12.0:
22612 * (bug [[bugzilla:13522|13522]]) Fix fatal error in Parser::extractTagsAndParams
22613 * (bug [[bugzilla:12077|12077]]) Fix HTML nesting for TOC
22614 * (bug [[bugzilla:13532|13532]]) Use proper timestamp call when reverting images
22615 * (bug [[bugzilla:13649|13649]], [[bugzilla:14084|14084]]) Bad call to
22616 wfTimestamp()
22617 * (bug [[bugzilla:13770|13770]]) Use Preprocessor_Hash by default to avoid
22618 missing DOM module errors
22619 * (bug [[bugzilla:13442|13442]]) API: Missing pages in prop=langlinks and
22620 prop=extlinks are now handled properly.
22621 * (bug [[bugzilla:13482|13482]]) API: Disabled search types handled properly
22622 * (bug [[bugzilla:13836|13836]]) API: Fixed fatal errors resulting from
22623 combining iiprop=metadata  with format=xml
22624 * (bug [[bugzilla:11633|11633]]) API: Explicitly convert redirect titles to
22625 strings due to PHP's very weak typing on array keys.
22626 * API: Fixing main page display in meta=siteinfo
22627 * (bug [[bugzilla:11719|11719]]) API: Remove trailing blanks in YAML output.
22628 * (bug [[bugzilla:13718|13718]]) API: Return the proper continue parameter for
22629 cmsort=timestamp
22630 * Security: Work around misconfiguration by requiring strict comparisons for
22631 in_array in User::isAllowed().
22632 * Security: Fixed XSS vulnerability in useskin parameter.
22634 == MediaWiki 1.12.0 ==
22636 This is the quarterly branch release of [[MediaWiki]] for Winter 2008.
22638 MediaWiki is now using a "continuous integration" development model with
22639 quarterly snapshot releases. The latest development code is always kept "ready
22640 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
22642 Release branches will continue to receive security updates for about a year
22643 from first release, but nonessential bugfixes and feature developments will be
22644 made on the development trunk and appear in the next quarterly release.
22646 Those wishing to use the latest code instead of a branch release can obtain it
22647 from source control: [[Download from SVN]].
22649 Changes since 1.12.0rc1:
22650 *(bug [[bugzilla:13359|13359]]) Double-escaping in [[Special:Allpages]].
22651 *Localization updates.
22653 == MediaWiki 1.12.0rc1 ==
22655 This is a release candidate of the Winter 2008 quarterly snapshot release of
22656 [[MediaWiki]].
22658 MediaWiki is now using a "continuous integration" development model with
22659 quarterly snapshot releases. The latest development code is always kept "ready
22660 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
22662 Release branches will continue to receive security updates for about a year
22663 from first release, but nonessential bugfixes and feature developments will be
22664 made on the development trunk and appear in the next quarterly release.
22666 Those wishing to use the latest code instead of a branch release can obtain it
22667 from source control: [[Download from SVN]].
22669 This is the Winter 2007 quarterly release.
22671 MediaWiki is now using a "continuous integration" development model with
22672 quarterly snapshot releases. The latest development code is always kept
22673 "ready to run", and in fact runs our own sites on Wikipedia.
22675 Release branches will continue to receive security updates for about a year
22676 from first release, but nonessential bugfixes and feature developments
22677 will be made on the development trunk and appear in the next quarterly release.
22679 Those wishing to use the latest code instead of a branch release can obtain
22680 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
22682 === Configuration changes in 1.12 ===
22683 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
22684   markbotedit permission, rather than the rollback permission previously used.
22685   This permission is assigned by default to the sysop group.
22686 * MediaWiki now checks if serialized files are out of date. New configuration
22687   variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
22688   to not check and assume they are always up to date)
22689 * The rollback permission can now be rate-limited using the normal mechanism.
22690 * New configuration variable $wgExtraLanguageNames
22691 * Behavior of $wgAddGroups and $wgRemoveGroups changed. New behavior:
22692 * * Granting the userrights privilege allows arbitrary changing of rights.
22693 * * Without the userrights privilege, a user will be able to add and/or
22694      remove the groups specified in $wgAddGroups and $wgRemoveGroups for
22695      any groups they are in.
22696 * New permission userrights-interwiki for changing user rights on foreign wikis.
22697 * $wgImplicitGroups for groups that are hidden from Special:Listusers, etc.
22698 * $wgAutopromote: automatically promote users who match specified criteria
22699 * $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
22700   themselves from specified groups via Special:Userrights.
22701 * When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is
22702   present, in preference to an external Tidy executable which may or may not
22703   be present. To force use of external Tidy even when the PHP module is
22704   available, set $wgTidyInternal to false.
22707 === New features in 1.12 ===
22708 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
22709 * Add {{filepath:}} parser function to get full path to an uploaded file,
22710   complementing {{fullurl:}} for pages.
22711 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
22712   is not set to 'mediawiki', allowing multiple mediawiki instances per user.
22713 * (bug 11151) Add descriptive <title> to revision history page
22714 * (bug 5412) Add feed links for the site to all pages
22715 * (bug 11353) Add ability to retrieve raw section content via action=raw
22716 * (bug 6909) Show relevant deletion log lines when uploading a previously
22717   deleted file
22718 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
22719   source" tab entirely if the page doesn't exist and the user isn't allowed to
22720   create it
22721 * Clarify instructions given when an exception is thrown
22722 * AuthPlugin added strictUserAuth() method to allow per-user override
22723   of the strict() authentication behavior.
22724 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
22725   against the previous revision, whether currently deleted or live.
22726 * Added tooltips for the "Go" and "Search" buttons
22727 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
22728 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
22729   stricting e-mail addresses to a specific domain
22730 * Removed "Clear" link in watchlist editor tools, as people were afraid to
22731   click it. Existing clear links will fall back to the raw editor, which is
22732   very easy to clear your watchlist with.
22733 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
22734   on Special:Newpages
22735 * LogLine hook added to allow formatting custom entries in Special:Log.
22736 * Support for Iranian calendar
22737 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
22738   Special:Newpages
22739 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
22740 * MediaWikiPerformAction hook added for diverting control after the main
22741   globals have been set up but before any actions have been taken.
22742 * BeforeWatchlist hook added for filtering or replacing watchlist.
22743 * SkinTemplateTabAction hook added for altering the properties of tab links.
22744 * OutputPage::getRedirect public method added.
22745 * (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
22746   in Special:Mypage and Special:Mytalk
22747 * Add ot=raw to Special:Allmessages
22748 * Support for Hebrew calendar
22749 * Support for Hebrew numerals in dates and times
22750 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
22751   [[MediaWiki:Signature-anon]]
22752 * Signatures for anonymous users link to Special:Contributions page rather than
22753   user page
22754 * Added --override switch for disabled pages in updateSpecialPages.php
22755 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
22756   fails
22757   because it is part of a blocked range.
22758 * (bug 3973) Use a separate message for the email content when an account is
22759   created by another user
22760 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
22761   cleanly if database connections fail unpleasantly.
22762 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
22763 * (bug 9633) Add a predefined list of delete reasons to the deletion form
22764 * Show a warning message when creating/editing a user (talk) page but the user
22765   does not exists
22766 * (bug 8396) Ignore out-of-date serialised message caches
22767 * (bug 12195) Undeleting pages now requires 'undelete' permission
22768 * (bug 11810) Localize displayed semicolons
22769 * (bug 11657) Support for Thai solar calendar
22770 * (bug 943) RSS feed for Recentchangeslinked
22771 * Introduced AbortMove hook
22772 * (bug 2919) Protection of nonexistent pages with regular protection interface.
22773 * Special:Upload now lists permitted/prohibited file extensions.
22774 * Split ambiguous filetype-badtype message into two new messages,
22775   filetype-unwanted-type and filetype-banned-type.
22776 * Added link to the old title in Special:Movepage
22777 * On Special:Movepage, errors are now more noticeable.
22778 * It is now possible to change rights on other local wikis without the MakeSysop
22779   extension
22780 * Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
22781   editing to allow CSS styling.
22782 * Parser now returns list of sections
22783 * When a user is prohibited from creating a page, a title of "View source"
22784   makes no sense, and there should be no "Return to [[Page]]" link.
22785 * (bug 12486) Protected titles now give a warning for privileged editors.
22786 * (bug 9939) Special:Search now sets focus to search input box when no existing
22787   search is active
22788 * For Special:Userrights, use GET instead of POST to search for users.
22789 * Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name.
22790 * When submitting changes on Special:Userrights, show the full form again, not
22791   just the search box.
22792 * Added exception hooks
22793 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
22794   edit, via the parameter 'bot'. (Default: '1')
22795 * (bug 12536) User should be able to get MediaWiki version from any page
22796 * (bug 12622) A JavaScript constant to declare whether api.php is available
22797 * Add caching to the AJAX search
22798 * Add APCOND_INGROUPS
22799 * Add DBA caching to installer
22800 * (bug 12585) Added a bunch of parameters to the revertpage message
22801 * Support redirects in image namespace
22802 * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
22803 * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
22804 * Add option to include templates in Special:Export.
22805 * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
22806   address in Reply-To instead of From for user-to-user emails.
22807   This protects against SPF problems and privacy-leaking bounce messages
22808   when using mailers that set the envelope sender to the From header value.
22809 * (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]]
22810   for Special:Userlogin?type=signup
22811 * (bug 12214) Add a predefined list of delete reasons to the file deletion form
22812 * Merged backends for OpenSearch suggestions and AJAX search.
22813   Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages,
22814   and reject interwiki prefixes. PrefixSearch class centralizes this code,
22815   and the backend part can be overridden by the PrefixSearchBackend hook.
22816 * (bug 10365) Localization of Special:Version
22817 * When installing using Postgres, the Pl/Pgsql language is now checked for
22818   and installed when at the superuser level.
22819 * The default robot policy for the entire wiki is now configurable via the
22820   $wgDefaultRobotPolicy setting.
22821 * (bug 12239) Use different separators for autocomments
22822 * (bug 12857) Patrol link on new pages should clear floats
22823 * (bug 12968) Render redirect wikilinks in a redirect class for customization
22824   via user/site CSS.
22825 * EditPageBeforeEditButtons hook added for altering the edit buttons below the
22826   edit box
22828 === Bug fixes in 1.12 ===
22830 * Subpages are now indexed for searching properly when using PostgreSQL
22831 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
22832   ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
22833 * (bug 7027) Shift handling of deletion permissions-checking to
22834   getUserPermissionsErrors.
22835 * Login and signup forms are now more correct for right-to-left languages.
22836 * (bug 5387) Block log items on RecentChanges don't make use of possible
22837   translations
22838 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
22839   message, the level of protection.
22840 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
22841   message.
22842 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
22843   where rollback is given to non-sysops.
22844 * (bug 8834) Split off permission for editing user JavaScript and CSS from
22845   editinterface to a new permission key editusercssjs.
22846 * (bug 11266) Set fallback language for Fulfulde (ff) to French
22847 * (bug 11179) Include image version deletion comment in public log
22848 * Fixed notice when accessing special page without read permission and whitelist
22849   is not defined
22850 * (bug 9252) Fix for tidy funkiness when using editintro mode
22851 * (bug 4021) Fix for MySQL wildcard search
22852 * (bug 10699) Fix for MySQL phrase search
22853 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
22854 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
22855   page
22856 * Fix initial statistics when installing: add correct values
22857 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
22858   linked to the main page instead of targetted page
22859 * Strike the link to the redirect rather than using an asterisk in
22860   Special:Listredirects
22861 * (bug 11355) Fix false positives in Safe Mode and other config detection
22862   when boolean settings are disabled with 'Off' via php_admin_value/php_value
22863 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
22864   object.
22865 * (bug 11363) Make all metadata fields bytea when using Postgres.
22866 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
22867   oldimage cascade delete via image table for Postgres, change fa_storage_key
22868   TEXT.
22869 * (bug 11438) Live Preview chops returned text
22870 * Show the right message on account creation when the user is blocked
22871 * (bug 11450) Fix creation of objectcache table on upgrade
22872 * Fix namespace selection after submit of Special:Newpages
22873 * Make input form of Special:Newpages nicer for RTL wikis
22874 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
22875 * (bug 11474) Fix unintentional fall-through in math error handling
22876 * (bug 11478) Fix undefined method call in file deletion interface
22877 * (bug 278) Search results no longer highlight incorrect partial word matches
22878 * Compatibility with incorrectly detected old-style DJVU mime types
22879 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
22880   Nested links (as in image caption text) still don't work _right_ but they're
22881   less wrong
22882 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
22883   some browsers.
22884 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
22885   appears just before the login form. Patch by MinuteElectron.
22886 * Do not cache category pages if using 'from' or 'until'
22887 * Created new hook getUserPermissionsErrors, to go with userCan changes.
22888 * Diff pages did not properly display css/js pages.
22889 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
22890 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
22891   email address when registering.
22892 * (bug 11612) Days to show in recent changes cannot be larger than 7
22893 * (bug 11131) Change filearchive width/height columns to int for Postgres
22894 * Support plural in undeleted{revisions,revisions-files,files}
22895 * (bug 11343) If the database is read-only, ensure that undelete fails.
22896 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
22897   only
22898 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
22899 * Fix regression in LinkBatch.php breaking PHP 5.0
22900 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
22901   words when called with options ''parsemag'' or ''content''.
22902 * (bug 11727) Support plural in 'historysize' message
22903 * (bug 11744) Incorrect return value from Title::getParentCategories()
22904 * (bug 11762) Fix native language name of Akan (ak)
22905 * (bug 11722) Fix inconsistent case in unprotect tabs
22906 * (bug 11795) Be more paranoid about confirming accept-encoding header is
22907   present
22908 * (bug 11809) Use formatNum() for more numbers
22909 * (bug 11818) Fix native language name of Inuktitut (iu)
22910 * Remove all commas when parsing float numbers in sorted tables
22911 * Limit text field of deletion, protection and user rights changes reasons to
22912   255 characters (already restricted in the database)
22913 * In the deletion default reasons, calculate how much text to get from the
22914   article text, rather than getting 150 characters (which may be too much)
22915 * Add two messages for Special:Blockme which were used but undefined
22916 * (bug 11921) Support plural in message number_of_watching_users_pageview
22917 * If an IP address is blocked as part of a rangeblock, attempting to unblock
22918   the single IP should not unblock the entire range.
22919 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
22920 * Make action=render follow redirects by default
22921 * If restricted read access was enabled, whitelist didn't work with special
22922   pages which had spaces in theirs names
22923 * If restricted read access was enabled, requests for non-existing special pages
22924   threw an exception
22925 * Feeds for recent changes now provide correct URLs for the change, not just
22926   the page
22927 * Check for if IP is blocked as part of a range when unblocking (see above bug-
22928   fix) was faulty. Now fixed.
22929 * Fixed wpReason URL parameter to action=delete.
22930 * Do not force a password for account creation by email
22931 * Ensure that rate-limiting is applied to rollbacks.
22932 * Make a better rate-limiting error message (i.e. a normal MW error,
22933   rather than an "Internal Server Error").
22934 * Do not present an image bigger than the source when 'frameless' option is used
22935   (to be consistent with the 'thumb' option now)
22936 * Support {{PLURAL}} for import log
22937 * Make sure that the correct log entries are shown on Special:Userrights even
22938   for users with special characters in their names
22939 * The number of watching users in watchlists was always reported as 1
22940 * namespaceDupes.php no longer dies when coming across an illegal title
22941 * (bug 12143) Do not show a link to patrol new pages for non existent pages
22942 * (bug 12166) Fix XHTML validity for Special:Emailuser
22943 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
22944 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
22945   instead of a Traditional conversion with Taiwan variant, and a Simplified
22946   conversion with China variant.
22947 * (bug 12178) Fix wpReason parameter to action=delete, again.
22948 * Graceful behavior for updateRestrictions.php if a page already has records
22949   in the page_restrictions matching its old page_restrictions field.
22950   May help with odd upgrade issues or race condition.
22951 * (bug 11993) Remove contentsub "revision history"
22952 * (bug 11952) Ensure we quote_ident() all schema names as needed
22953    inside of the DatabasePostgres.php file.
22954 * (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
22955   scripts, making for cleaner reporting during batch jobs. PHP errors will also
22956   be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
22957   to 'stderr' at runtime.
22958 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
22959   lines in diff output
22960 * (bug 10166) Fix a PHP warning in Language::getMagic
22961 * Only mark rollback edits as minor if the user can normally mark edits minor
22962 * Escape page names in the move successful page (e.g. for pages with two
22963   apostrophes).
22964 * (bug 12145) Add localized names of kk-variants
22965 * (bug 12259) Localize the numbers in deleted pages on the sysop view
22966 * Set proper page title for successful file deletion
22967 * (bug 11221) Do not show 'Compare selected versions' button for a history page
22968   with one revision only
22969 * (bug 12267) Set the default date format to Thai solar calender for the Thai
22970   language
22971 * (bug 10184) Extensions' stylesheets and scripts should be loaded before
22972   user-customized ones (like Common.css, Common.js)
22973 * (bug 12283) Special:Newpages forgets parameters
22974 * (bug 12031) All namespaces doesn't work in Special:Newpages
22975 * (bug 585) Only create searchindex replica table for parser tests if db is
22976   MySQL
22977 * Allow --record option if parserTests.php to work when using Postgres
22978 * (bug 12296) Simplify cache epoch in default LocalSettings.php
22979 * (bug 12346) XML fix when body double-click and click handlers are present
22980 * Fix regression -- missing feed links in sidebar on Special:Recentchanges
22981 * (bug 12371) Handle more namespace case variants in namespaceDupes.php
22982 * (bug 12380) Bot-friendly EditPage::spamPage
22983 * (bug 8066) Spaces can't be entered in special page aliases
22984 * Hide undo link if user can't edit article
22985 * (bug 12416) Fix password setting for createAndPromote.php
22986 * (bug 3097) Inconsistently usable titles containing HTML character entities
22987   are now forbidden. A run of cleanupTitles.php will fix up existing pages.
22988 * (bug 12446) Permissions check fix for undelete link
22989 * (bug 12451) AJAX title normalization tweaks
22990 * When a user creating a page is not allowed to either create the page nor edit
22991   it, all applicable reasons are now shown.
22992 * (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
22993   Fixes 'root'-style rewrite configurations
22994 * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
22995 * (bug 12489) Special:Userrights listed in restricted section again
22996 * (bug 12553) Fixed invalid XHTML in edit conflict screen
22997 * (bug 12505) Fixed section=0 with action=raw
22998 * (bug 12614) Do not log user rights change that didn't change anything
22999 * (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
23000 * (bug 12588) Fix selection in namespace selector on Special:Newpages
23001 * Use only default options when generating RSS and Atom syndication links.
23002   This should help prevent infinite link loops that some software may follow,
23003   and will generally keep feed behavior cleaner.
23004 * (bug 12608) Unifying the spelling of getDBkey() in the code.
23005 * (bug 12611) Bot flag ignored in recent changes
23006 * (bug 12617) Decimal and thousands separators for Romanian
23007 * (bug 12567) Fix for misformatted read-only messages on edit, protect.
23008   Also added proper read-only checks to several special pages.
23009   Have removed read-only checks from the general user permission framework.
23010 * Creating a site with a name containing '#' is no longer permitted, since the
23011   name will not work (but $wgSiteName is not checked if manually set).
23012 * (bug 12695) Suppress dvips verbiage from web server error log
23013 * (bug 12716) Unprotecting a non-protected page leaves a log entry
23014 * Log username blocks with canonical form of name instead of input form
23015 * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php.
23016   Non-image handlers and full-size images may now decline it, fixing
23017   mystery failures when using $wgThumbnailScriptPath.
23018 * (bug 12327) Comma in username no longer disrupts mail headers
23019 * (bug 6436) Localization of Special:Import XML parser Error message(s).
23020 * Security fix for API on MSIE
23021 * (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc
23022 * (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors
23023 * (bug 12790) Page protection is not logged when edit-protection is used
23024   and move-protection is not
23025 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
23026 * Fix for Special:Export so it doesn't ignore the page named '0'
23027 * Don't display rollback link if the user doesn't have all required permissions
23028 * The comment of a time-limited protection now contains the date in the default
23029   format
23030 * (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
23031 * (bug 12885) Correction for Russian convertPlural function
23032 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
23033 * (bug 12735) Truncate usernames in comments using mb_ functions.
23034 * (bug 12892) Poor tab indexing on "delete file" form
23035 * (bug 12660) When creating an account by e-mail, do not send the creator's IP
23036   address
23037 * (bug 12931) Fix wrong global variable in SpecialVersion
23038 * (bug 12919) Use 'deletedrevision' message as content when deleting an old file
23039   version
23040 * (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation
23041   is disabled
23042 * (bug 12869) Magnify icon alignment should be adjusted using linked CSS
23043 * Fixing message cache updates for MediaWiki messages moves
23044 * (bug 12815) Signature timestamps were always in UTC, even if the timezone code
23045   in parentheses after them claimed otherwise
23046 * (bug 12732) Fix installer and searching to handle built-in tsearch2 for
23047   Postgres.
23048 * (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness.
23049 * (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple
23050   directories.
23051 * (bug 7681, 11559) Cookie values no longer override GET and POST variables.
23052 * (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
23053 * (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
23054 * (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages
23055 * (bug 12938) Fix template expansion and 404 returns for action=raw with section
23056 * (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns
23057   true-or-WikiError, which seems to be the calling convention expected by half
23058   its callers already
23059 * (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting
23060   an LTR user language
23061 * (bug 13005) DISPLAYTITLE does not work on preview
23062 * (bug 13004) Fix error on Postgres searches that return too many results.
23064 == Parser changes in 1.12 ==
23066 For help with migration to the MediaWiki 1.12 parser, please visit:
23068 http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor
23070 The parser pass order has changed from
23072    * Extension tag strip and render
23073    * HTML normalisation and security
23074    * Template expansion
23075    * Main section...
23079    * Template and extension tag parse to intermediate representation
23080    * Template expansion and extension rendering
23081    * HTML normalisation and security
23082    * Main section...
23084 The main effect of this for the user is that the rules for uncovered syntax
23085 have changed.
23087 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
23088 previously in some cases they were escaped. For example, you could have "<ta" in
23089 one template, and "ble>" in another template, and put them together to make a
23090 valid <table> tag. Previously the result would have been "&lt;table&gt;".
23092 Uncovered preprocessor syntax is generally not recognised. For example, if you
23093 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
23094 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
23095 was the case previously in HTML output mode, and is now uniformly the case in
23096 the other modes as well. HTML-style comments uncovered by template expansion
23097 will not be recognised by the preprocessor and hence will not prevent template
23098 expansion within them, but they will be stripped by the following HTML security
23099 pass.
23101 Bug 5678 has been fixed. This has a number of user-visible effects related to
23102 the removal of this double-parse. Please see the wiki page for examples.
23104 Message transformation mode has been removed, and replaced with "preprocess"
23105 mode. This means that some MediaWiki namespace messages may need to be updated,
23106 especially ones which took advantage of the terribly counterintuitive behavior
23107 of the former message mode.
23109 The header identification routines for section edit and for numbering section
23110 edit links have been merged. This removes a significant failure mode and fixes a
23111 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
23112 template expansion will still be rendered into a heading tag, and will get an
23113 entry in the TOC, but will not have a section edit link. HTML-style headings
23114 will also not have a section edit link. Valid wikitext headings present in the
23115 template source text will get a template section edit link. This is a major
23116 break from previous behavior, but I believe the effects are almost entirely
23117 beneficial.
23119 The main motivation for making these changes was performance. The new two-pass
23120 preprocessor can skip "dead branches" in template expansion, such as unfollowed
23121 #switch cases and unused defaults for template arguments. This provides a
23122 significant performance improvement in template-heavy test cases taken from
23123 Wikipedia. Parser function hooks can participate in this performance improvement
23124 by using the new SFH_OBJECT_ARGS flag during registration.
23126 The pre-expand include size limit has been removed, since there's no efficient
23127 way to calculate such a figure, and it would now be meaningless for performance
23128 anyway. The "preprocessor node count" takes its place, with a generous default
23129 limit.
23131 The context in which XML-style extension tags are called has changed, so
23132 extensions which make use of the parser state may need compatibility changes.
23134 The new preprocessor syntax has been documented in Backus-Naur Form at:
23136 https://www.mediawiki.org/wiki/Preprocessor_ABNF
23138 The ExpandTemplates extension now has the ability to generate an XML parse
23139 tree from wikitext source. This parse tree corresponds closely to the grammar
23140 documented on that page.
23142 === API changes in 1.12 ===
23144 Full API documentation is available at https://www.mediawiki.org/wiki/API
23146 * (bug 11275) Enable descending sort in categorymembers
23147 * (bug 11308) Allow the API to output the image metadata
23148 * (bug 11296) Temporary fix for escaping of ampersands inside links in
23149   pretty-printed
23150   help document.
23151 * (bug 11405) Expand templates implementation in the API
23152 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
23153   page.
23154 * (bug 11404) Provide name of exception caught in error code field of internal
23155   api error messages.
23156 * (bug 11534) rvendid doesn't work
23157 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
23158   revision content is requested.
23159 * Include svn revision number (if install is checked-out from svn) in siteinfo
23160   query.
23161 * (bug 11173) Allow limited wikicode rendering via api.php
23162 * (bug 11572) API should provide interface for expanding templates
23163 * (bug 11569) Login should return the cookie prefix
23164 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
23165   list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
23166 * Compatibility fix for PHP 5.0.x.
23167 * Add rctype parameter to list=recentchanges that filters by type
23168 * Add apprtype and apprlevel parameters to filter list=allpages by protection
23169   types and levels
23170 * Add apdir parameter to enable listing all pages from Z to A
23171 * (bug 11721) Use a different title for results than for the help page.
23172 * (bug 11562) Added a user_registration parameter/field to the list=allusers
23173   query.
23174 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
23175 * Outputting list of all user preferences rather than having to request them by
23176   name
23177 * (bug 11206) api.php should honor maxlag
23178 * Make prop=info check for restrictions in the old format too.
23179 * Add apihighlimits permission, default for sysops and bots
23180 * Add limit=max to use maximal limit
23181 * Add action=parse to render parser output. Use it instead of action=render
23182   which has been removed
23183 * Add rvtoken=rollback to prop=revisions
23184 * Add meta=allmessages to get messages from site's messages cache.
23185 * Use bold and italics highlighting only in API help
23186 * Added action={block,delete,move,protect,rollback,unblock,undelete} and
23187   list={blocks,deletedrevs}
23188 * Fixed sessionid attribute in action=login
23189 * Standardized limits. Revisions and Deletedrevisions formerly using
23190   200 / 10000, now 500 / 5000, in line with other modules.
23191 * Added list=allcategories module
23192 * (bug 12321) API list=blocks reveals private data
23193 * Fix output of wfSajaxSearch
23194 * (bug 12413) meta=userinfo missing <query> tag
23195 * Add list of sections to action=parse output
23196 * Added action=logout
23197 * Added cascade flag to prop=info&inprop=protections
23198 * Added wlshow parameter to list=watchlist, similar to rcshow
23199   (list=recentchanges)
23200 * Added support for image thumbnailing to prop=imageinfo
23201 * action={login,block,delete,move,protect,rollback,unblock,undelete} now must be
23202   POSTed
23203 * prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and
23204   iiend parameters
23205 * Added amlang parameter to meta=allmessages
23206 * Added apfilterlanglinks parameter to list=allpages, replacing
23207   query.php?what=nolanglinks
23208 * (bug 12718) Added action=paraminfo module that provides information about API
23209   modules and their parameters
23210 * Added iiurlwidth and iiurlheight parameters to prop=imageinfo
23211 * Added format=txt and format=dbg, imported from query.php
23212 * Added uiprop=editcount to meta=userinfo
23213 * Added list=users which fetches user information
23214 * Added list=random which fetches a list of random pages
23215 * Added page parameter to action=parse to facilitate parsing of existing pages
23216 * Added uiprop=ratelimits to meta=userinfo
23217 * Added siprop=namespacealiases to meta=siteinfo
23218 * Made multiple values for ucuser possible in list=usercontribs
23219 * (bug 12944) Added cmstart and cmend parameters to list=categorymembers
23220 * Allow queries to have a where range that does not match the range field
23222 == MediaWiki 1.11 ==
23224 == MediaWiki 1.11.2 ==
23226 March 2, 2008
23228 This is a security release of the Fall 2007 snapshot release of MediaWiki.
23229 Possible cross-site information leaks using the callback parameter for
23230 JSON-formatted results in the API are prevented by dropping user credentials.
23232 MediaWiki release versions prior to 1.11 are not vulnerable, as they do not
23233 include the callback feature which allows client-side JavaScript on other sites
23234 to reach API data.
23236 Changes in this release:
23238 * User credentials are dropped for API JSON requests using a callback
23239 * Edit tokens are not reported for API JSON requests using a callback
23241 == MediaWiki 1.11.1 ==
23243 January 23, 2008
23245 This is a security and bugfix release of the Fall 2007 snapshot release of
23246  MediaWiki. A potential XSS injection vector affecting api.php only for
23247  Microsoft Internet Explorer users has been closed.
23249 Changes in this release:
23250 * (bug [[bugzilla:11450|11450]]) Fix creation of objectcache table on upgrade
23251 * (bug [[bugzilla:11462|11462]]) Fix typo in LanguageGetSpecialPageAliases hook
23252 name
23253 * Fix regression in LinkBatch.php breaking PHP 5.0
23254 * Security fix for API on MSIE
23256 To work around the vulnerability without upgrading, you may disable the API if
23257 you don't need it:
23258 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23260 Not vulnerable versions:
23261 * 1.12 or later
23262 * 1.11 >= 1.11.1
23263 * 1.10 >= 1.10.3
23264 * 1.9 >= 1.9.5
23265 * 1.8 any version (if $wgEnableAPI has been left off)
23267 Vulnerable versions:
23268 * 1.11 <= 1.11.0rc1
23269 * 1.10 <= 1.10.2
23270 * 1.9 <= 1.9.4
23271 * 1.8 any version (if $wgEnableAPI has been switched on)
23273 MediaWiki 1.7 and below are not affected as they do not include the API
23274 functionality, however the BotQuery extension is similarly vulnerable unless
23275 updated to the latest SVN version.
23277 == MediaWiki 1.11.0 ==
23279 September 10, 2007
23281 This is the Fall 2007 snapshot release of MediaWiki.
23283 MediaWiki is now using a "continuous integration" development model with
23284 quarterly snapshot releases. The latest development code is always kept "ready
23285 to run", and in fact runs our own sites on Wikipedia.
23287 Release branches will continue to receive security updates for about a year
23288 from first release, but nonessential bugfixes and feature developments will be
23289 made on the development trunk and appear in the next quarterly release.
23291 Those wishing to use the latest code instead of a branch release can obtain it
23292 from source control: [[Download from SVN]]
23294 This is the Summer 2007 branch release of MediaWiki.
23296 MediaWiki is now using a "continuous integration" development model with
23297 quarterly snapshot releases. The latest development code is always kept
23298 "ready to run", and in fact runs our own sites on Wikipedia.
23300 Release branches will continue to receive security updates for about a year
23301 from first release, but nonessential bugfixes and feature developments
23302 will be made on the development trunk and appear in the next quarterly release.
23304 Those wishing to use the latest code instead of a branch release can obtain
23305 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
23307 == Changes since 1.11.0rc1 ==
23309 A possible HTML/XSS injection vector in the API pretty-printing mode has been
23310 found and fixed.
23312 The vulnerability may be worked around in an unfixed version by simply
23313 disabling the API interface if it is not in use, by adding this to
23314 [[Manual:LocalSettings.php|LocalSettings.php]]:<br />
23315 <code>[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;</code> <br />
23316 (This is the default setting in 1.8.x.)
23318 Not vulnerable versions:
23319 * 1.11 >= 1.11.0
23320 * 1.10 >= 1.10.2
23321 * 1.9 >= 1.9.4
23322 * 1.8 >= 1.8.5
23324 Vulnerable versions:
23325 * 1.11 <= 1.11.0rc1
23326 * 1.10 <= 1.10.1
23327 * 1.9 <= 1.9.3
23328 * 1.8 <= 1.8.4 (if [[Manual:$wgEnableAPI|$wgEnableAPI]] has been switched on)
23330 MediaWiki 1.7 and below are not affected as they do not include the faulty
23331 function, however the [[Extension:BotQuery|BotQuery extension]] is similarly
23332 vulnerable unless updated to the latest SVN version.
23334 == Configuration changes since 1.10 ==
23336 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
23337   used
23338 * $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which
23339   usergroups
23340 * $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites
23341 * $wgShowHostnames - Expose server host names through the API and HTML comments
23342 * $wgSaveDeletedFiles has been removed, the feature is now enabled
23343 unconditionally
23345 == New features since 1.10 ==
23347 * (bug 8868) Separate "blocked" message for autoblocks
23348 * Adding expiry of block to block messages
23349 * Links to redirect pages in categories are wrapped in
23350   <span class="redirect-in-category"></span>
23351 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
23352   more information
23353 * (bug 9628) Show warnings about slave lag on Special:Contributions,
23354   Special:Watchlist
23355 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
23356 * Introducing new image keyword 'upright' and corresponding variable
23357   $wgThumbUpright. This allows better proportional view of upright images
23358   related to landscape images on a page without nailing the width of upright
23359   images to a fix value which makes views for anon unproportional and user
23360   preferences useless
23361 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
23362 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
23363   user preferences for image width like 'thumb' but without a frame.
23364 * (bug 7960) Link to "what links here" for each "what links here" entry
23365 * Added support for configuration of an arbitrary number of commons-style
23366   file repositories.
23367 * Added a Content-Disposition header to thumb.php output
23368 * Improved thumb.php error handling
23369 * Display file history on local image description pages of shared images
23370 * Added $wgArticleRobotPolicies
23371 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
23372   containing, the ip, ip range, or username whose block is affecting the
23373 * (bug 7691) Show relevant lines from the deletion log when re-creating a
23374   previously deleted article
23375 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
23376 * (bug 9898) Allow viewing all namespaces in Special:Newpages
23377 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
23378   see docs/hooks.txt for details
23379 * (bug 9769) Provide "watch this page" toggle on protection form
23380 * (bug 9886) Provide clear example "stub link" in Special:Preferences
23381 * (bug 10055) Populate email address and real name properties of User objects
23382   passed to the 'AbortNewAccount' hook
23383 * Show result of Special:Booksources in wiki content language always, it's
23384   normally better maintained than the generic list from the standard message
23385   files
23386 * (bug 7997) Allow users to be blocked from using Special:Emailuser
23387 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
23388 * (bug 8760) Allow wiki links in "protectexpiry" message
23389 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
23390   "DEFAULTSORT" magic word
23391 * (bug 10181) Support the XCache object caching mechanism
23392 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
23393   a path to the AdminSettings.php file
23394 * (bug 8781) Remind users to check file permissions for LocalSettings.php
23395   post-installation
23396 * Use shared.css for all skins and oldshared.css in place of common.css for
23397   pre-Monobook skins.  As always, modifications should go in-wiki to MediaWiki:
23398   Common.css and MediaWiki:Monobook.css.
23399 * (bug 8869) Introduce Special:Uncategorizedtemplates
23400 * (bug 8734) Different log message when article protection level is changed
23401 * (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode
23402   characters
23403 * (bug 10096) Added an ability to query interwiki map table
23404 * On reupload, add a null revision to the image description page
23405 * Group log output by date
23406 * Kurdish interface latin/arabic writing system with transliteration
23407 * Support wiki text in all query page headers
23408 * Add 'Orphanedpages' as an alias to Special:Lonelypages
23409 * (bug 9328) Use "revision-info-current" message in place of "revision-info"
23410   when viewing the current revision of a page, if available
23411 * (bug 8890) Enable wiki text for "license" message
23412 * Throw a showstopper exception when a hook function fails to return a value.
23413   Forgetting to give a 'true' return value is a very common error which tends
23414   to cause hard-to-track-down interactions between extensions.
23415 * Use $wgJobClasses to determine the correct Job to instantiate for a particular
23416   queued task; allows extensions to introduce custom jobs
23417 * (bug 10326) AJAX-based page watching and unwatching has been cleaned up and
23418   enabled by default.
23419 * Added option to install to MyISAM
23420 * (bug 9250) Remove hardcoded minimum image name length of three characters
23421 * Fixed DISPLAYTITLE behavior to reject titles which don't normalise to the
23422   same title as the current page, and enabled per default
23423 * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
23424 * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new
23425   classes: mw-code, mw-css, mw-js)
23426 * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over
23427   usergroup assignment.
23428 * Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
23429 * (bug 10387) Detect and handle '.php5' extension environments at install time
23430 * Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information
23431 * (bug 10404) Show rights log for the selected user in Special:Userrights
23432 * New javascript for upload page that will show a warning if a file with the
23433   "destination filename" already exists.
23434 * Add 'editsection-brackets' message to allow localization (or removal) of the
23435   brackets in the "[edit]" link for sections
23436 * (bug 10437) Move texvc styling to shared.css
23437 * Introduce "raw editing" mode for the watchlist, to allow bulk additions,
23438   removals, and convenient exporting of watchlist contents
23439 * Show "undo" links in page histories
23440 * Option to jump to specified time period in user contributions
23441 * Improved feedback on "rollback success" page
23442 * Show distinct 'namespaceprotected' message to users when namespace protection
23443   prevents page editing
23444 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
23445 * Allow showing a one-off preview on first edit with "preview=yes"
23446 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
23447 * Link to user logs in toolbox when viewing a user page
23448 * (bug 10508) Allow HTML attributes on <gallery>
23449 * (bug 1962) Allow HTML attributes on <math>
23450 * (bug 10530) Introduce optional "sp-contributions-explain" message for
23451   additional explanation in Special:Contributions
23452 * (bug 10520) Preview licences during upload via AJAX (toggle with
23453   $wgAjaxLicensePreview)
23454 * New Parser::setTransparentTagHook for parser extension and template
23455   compatibility
23456 * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
23457   information
23458 * Add a message if category is empty
23459 * Add CSS compatibility for Opera 9.5
23460 * Remove largely untested handheld stylesheet, which was causing more trouble
23461   than good.  Proper handheld support will be added at a future date.  For now,
23462   display should be acceptable either with CSS turned off or when using a so-
23463   phisticated handheld browser.
23464 * (bug 3173) Option to offer exported pages as a download, rather than
23465   displaying inline, as in most browsers
23466 * Pass the user as an argument to 'isValidPassword' hook callbacks; see
23467   docs/hooks.txt for more information
23468 * Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
23469 * (bug 9595) Pass new Revision to the 'ArticleInsertComplete' and
23470   'ArticleSaveComplete' hooks; see docs/hooks.txt for more information
23471 * (bug 9575) Accept upload description from GET parameters
23472 * Skip the difference engine cache when 'action=purge' is used while requesting
23473   a difference page, to allow refreshing the cache in case of errors
23474 * (bug 10701) Link to Special:Listusers in default Special:Statistics messages
23475 * Improved file history presentation
23476 * (bug 10739) Users can now enter comments when reverting files
23477 * Improved handling of permissions errors
23478 * (bug 10793) "Mark patrolled" links will now be shown for users with
23479   patrol permissions on all eligible diff pages
23480 * (bug 10655) Show standard tool links for blocked users in block log messages
23481 * Show standard tool links for blocked users in Special:Ipblocklist
23482 * Miscellaneous aesthetic improvements to Special:Ipblocklist
23483 * (bug 10826) Added link trail with Cyrillic characters for Mongolian language
23484 * (bug 10859) Introduce 'UserGetImplicitGroups' hook; see docs/hooks.txt for
23485   more information
23486 * (bug 10832) Include user information when viewing a deleted revision
23487 * (bug 10872) Fall back to sane defaults when generating protection selector
23488   labels for custom restriction levels
23489 * Show edit count in user preferences
23490 * Improved support for audio/video extensions
23491 * (bug 10937) Distinguish overwritten files in upload log
23492 * Introduce 'ArticleUpdateBeforeRedirect' hook; see docs/hooks.txt for more
23493   information
23494 * Confirmation is now required when deleting old versions of files
23495 * (bug 7535) Users can now enter comments when deleting old versions of files
23496 * (bug 11001) Submit Special:Newpages as a GET, rather than a POST request
23497 * The <strong></strong> around links to watched pages in change lists now
23498   has a class - "mw-watched"
23499 * (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload
23500   when a destination filename is provided that corresponds with previous
23501   deleted files
23502 * Make the "invalid special page" message clearer
23503 * Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
23504 * Introduced 'SkinAfterBottomScripts' hook; see docs/hooks.txt for
23505   more information
23506 * (bug 11095) Honour "preview on first edit" preference when preloading
23507   text for a non-existent page
23508 * (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
23509   Special:Recentchangeslinked
23510 * Add link to user contributions in normal watchlist edit mode
23511 * (bug 9426) Add 'newsectionheaderdefaultlevel' message to allow
23512   modification of the heading formatting for new sections when section=new
23513   argument is supplied
23514 * (bug 10836) Add 'newsectionsummary' message to allow modification of the
23515   text that prefixes a new section link in Recent Changes
23517 == Bugfixes since 1.10 ==
23519 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
23520 * (bug 9670) Follow redirects when render edit section links to transcluded
23521   templates.
23522 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
23523 * (bug 3431) Suppress "next page" link in Special:Search at end of results
23524 * Don't show unblock form if the user doesn't have permission to use it
23525   (cosmetic change, no vulnerabilities existed)
23526 * Subtitle success message when unblocking a block ID instead of a pseudo link
23527   like [[User:#123|#123]]
23528 * Use the standard HTTP fetch functions when retrieving remote wiki pages
23529   through transwiki, so we can take advantage of cURL goodies if available
23530 * Disable user JavaScript on Special:Userlogin, Special:Resetpass and
23531   Special:Preferences, to avoid a compromised script sniffing passwords, etc.
23532 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
23533   instead of letting it flow outside the box or trigger ugly scroll bars.
23534 * Tooltips for print version and permalink
23535 * Links to the MediaWiki namespace for system messages having their default
23536   values are no longer shown as nonexistent (e.g., in red)
23537 * Special:Ipblocklist differentiates between empty list and no search results.
23538 * (bug 5375) profiling does not respect read-only mode.
23539 * (bug 7070) monobook/user.gif has antialias artifacts
23540 * (bug 9123) Safer way when applying $wgLocalTZoffset
23541 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
23542 * (bug 9417) Uploading new versions of images when using Postgres no longer
23543   throws warnings.
23544 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
23545 * (bug 1438) Fix for diff table layout on very wide lines.
23546   Diff style rules have been broken out to common/diff.css,
23547   and the dupes removed from the default skin files.
23548   Skins can still override the default rules.
23549 * (bug 1229) Balance columns in diff display evenly
23550 * Right-align diff line numbers in RTL language display
23551 * (bug 9332) Fix instructions in tests/README
23552 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
23553   of fragments during the normalisation process
23554 * (bug 7989) RSS feeds content now use black text when using white background.
23555 * (bug 9971) Typo in a french language message.
23556 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
23557   with $wgRCShowChangedSized = false.
23558 * Fix PHP strict standards warning in enhanced recent changes.
23559 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
23560   entries.
23561 * (bug 7432) Change language name for Aromanian (roa-rup)
23562 * (bug 908) Unexistent special pages now generate a red link.
23563 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
23564 * (bug 7993) support mathematical symbol classes
23565 * (bug 10007) Allow Block IP to work with Postgrs again.
23566 * Add Google Wireless Transcoder to the Unicode editing blacklist
23567 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
23568 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
23569 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
23570 * (bug 10113) Fix double-click for view source on protected pages
23571 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
23572   set [now prints out a warning]
23573 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
23574   templates with a high number of inclusion links
23575 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
23576 * (bug 9820) session.save_path check no longer halts installation, but
23577   warns of possible bad values
23578 * (bug 9978) Fixed session.save_path validation when using extended
23579   configuration format, e.g. "5;/tmp"
23580 * Don't generate a diff link in the patrol log if the page doesn't exist
23581 * (bug 10067) Translations for former skins removed from message files
23582 * (bug 9993) Force $wgShowExceptionDetails on during installation
23583 * (bug 9980) Validate administrator username and password during
23584   installation
23585 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
23586   database patch
23587 * (bug 10149) Don't show full template list on section-0 edit
23588 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
23589   and decodeBlob()
23590 * (bug 6743) Don't link broken image links to the upload form when uploads
23591   are disabled
23592 * (bug 9679) Improve documentation for $wgSiteNotice
23593 * (bug 10215) Show custom editing introduction when editing existing pages
23594 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
23595 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
23596 * (bug 9948) Workaround for diff regression with old Mozilla versions
23597 * (bug 10265) Fix regression in category image gallery paging
23598 * (bug 8577) Fix some weird misapplications of time zones.
23599   {{CURRENT*}} functions now consistently use UTC as intended, while
23600   {{LOCAL*}} functions return local time per server config or $wgLocaltimezone.
23601   Signature dates for Japanese and other languages including weekday now show
23602   the correct day to match the rest of the time in local time.
23603 * Escape the output of magic variables that return page name or part of it
23604 * (bug 10309) Initialise parser state properly in extractSections(), fixes
23605   some cases where section edits broke because tags were improperly stripped
23606 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
23607 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
23608 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
23609 * (bug 10325) Fix regression in form action on Special:Listusers
23610 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
23611   overlong key errors.
23612 * Fixed zero-padding issues with MySQL 5 binary schema
23613 * (bug 10344) Don't follow a redirect after changing its protection level
23614 * (bug 10333) Correct date format in Slovenian
23615 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
23616   Special:Prefixindex; making forms prettier for RTL wikis.
23617 * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
23618   spaces
23619 * (bug 10372) namespaceDupes.php no longer ignores namespace aliases
23620 * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
23621 * namespaceDupes.php should work better for initial-lowercase wikis
23622 * (bug 10377) "Permanent links" to revisions still work if the page is moved
23623   and the redirect deleted
23624 * (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
23625   match the given title. Fixes inconsistencies with talk, history, edit links.
23626 * (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
23627 * (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
23628   using $wgScript now included in JS info
23629 * Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
23630   avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
23631   security settings are cranked this way and AJAX-y gets used.
23632 * Delay AJAX watch initialization until click so IE 6 with ugly security
23633   settings doesn't prompt you until you use the link.
23634 * (bug 10401) Provide non-redirecting link to original title in Special:Movepage
23635 * Fix broken handling of log views for page titles consisting of one
23636   or more zeros, e.g. "0", "00" etc.
23637 * Fix read permission check for special pages with subpage parameters, e.g.
23638   Special:Confirmemail
23639 * Fix read permission check for unreadable page titles which are numerically
23640   equivalent to a whitelisted title
23641 * '?>' closing tag removed from all files to help avoid problems with extraneous
23642   whitespace (broken XML feeds, etc.)
23643 * Don't use garbled parser cache output when viewing custom CSS or JavaScript
23644   pages
23645 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
23646 * Fix empty message checks for message names containing &
23647   This corrects some odd behavior with sidebar items and custom namespaces
23648   containing ampersands.
23649 * (bug 10375) Change thousands separator character to &nbsp; for Latin (la)
23650 * (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
23651 * (bug 10496) Fix broken DISTINCT option logic in database backend
23652 * Fix CSS media declaration for "screen, projection"; was causing some
23653   validation issues
23654 * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php
23655 * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting
23656   the intended skin directly in the URL.
23657 * (bug 9903) Don't mark redirects in categories as stubs
23658 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
23659 * Padding parser functions now work with strings like '0' that evaluate to false
23660 * (bug 10332) Title->userCan( 'edit' ) may return false positive
23661 * Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is
23662   true
23663 * (bug 10552) Suppress rollback link in history for single-revision pages
23664 * (bug 10538) Gracefully handle invalid input on move success page
23665 * Fix for Esperanto double-x-encoding in move success page
23666 * (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+)
23667   Now matches the selection behavior on Mozilla / Safari.
23668   Patch by Alex Smotrov.
23669 * Don't show non-functional toolbar buttons on Opera 7 anymore
23670 * (bug 9151) Fix relative subpage links with section fragments
23671 * (bug 10560) Adding a space between category letter heading and "continues"
23672 * (bug 4650) Keep impossibly large/small counts off Special:Statistics
23673 * (bug 10608) PHP notice when installing with PostgreSQL
23674 * (bug 10615) Fix for transwiki import when CURL not available
23675 * (bug 8054) Return search page for empty search requests with ugly URLs
23676 * (bug 10572) Force refresh after clearing visitation timestamps on watchlist
23677 * (bug 10631) Warn when illegal characters are removed from filename at upload
23678 * Fix several JavaScript bugs under MSIE 5/Macintosh
23679 * (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language
23680 * (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0
23681 * Work around Safari bug with pages ending in ".gz" or ".tgz"
23682 * Removed obsolete maintenance/changeuser.sql script; use RenameUser extension
23683 * (bug 2735) "Preview" shown in title bar for action=submit on special pages
23684 * Removed "restore" links from the deletion log embedded in Special:Undelete
23685 * Improved error reporting and robustness for file delete/undelete.
23686 * Improved speed of file delete by storing the SHA-1 hash in image/oldimage
23687 * Fixed leading zero in base 36 SHA-1 hash
23688 * Protection form no longer produces JavaScript errors
23689 * (bug 10741) File histories show "delete" links for non-sysops
23690 * (bug 10744) Treat "noarticletext" and "noarticletextanon" as wiki text when
23691   used on a non-existent page with "action=info"
23692 * Fix escaping of raw message text when used on a non-existent page with
23693   "action=info"
23694 * (bug 10683) Fix inconsistent handling of URL-encoded titles in links
23695   used in redirects (i.e. they now work)
23696 * (bug 8878) Changes to $dateFormats in German localization (removing unused,
23697   nonexistent formats, putting time after date)
23698 * (bug 10769) Database::update() should return boolean result
23699 * Fix preference checkbox display for right-to-left languages which caused
23700   them to be hidden in IE in some cases
23701 * Fix upload form display in right-to-left languages
23702 * Fixed regression in blocking of username '0'
23703 * (bug 9437) Don't overwrite edit form submission handler when setting up
23704   edit box scroll position preserve/restore behavior
23705 * (bug 10805) Fix "undo" link when viewing the diff of the most recent
23706   change to a page using "diff=0"
23707 * (bug 10765) img_auth.php will now refuse logged-out requests where
23708   $wgWhitelistRead is undefined, instead of (incorrectly) honouring them
23709 * Fixed img_auth.php file name extraction for whitelist checking
23710 * Tweak spacing of email preference display
23711 * Table sorting JavaScript prefers textContent over innerText to allow hidden
23712   sort keys to work on Safari
23713 * (bug 4530) Fix local name of Kurdish language
23714 * (bug 10830) Fix local name of Haitian Creole language
23715 * Fix invalid XHTML in Special:Protectedpages
23716 * Fix comments in contributions and log pages for right-to-left languages
23717 * Make installer include_path-independent, so it should work on hosts which
23718   disable user setting of PHP include_path setting
23719 * glob() is horribly unreliable and doesn't work on some systems, including
23720   free.fr shared hosting. No longer using it in Language::getLanguageNames()
23721 * (bug 10763) Fix multi-insert logic for PostgreSQL
23722 * Fix invalid XHTML when viewing a deleted revision
23723 * Fix syntax error in translations of magic words in Romanian language
23724 * (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping
23725   process error output under Windows
23726 * (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects
23727 * (bug 10783) Resizing PNG-24 images with GD no longer causes all alpha
23728   channel transparency to be lost and transparent pixels to be turned black
23729 * (bug 9339) General error pages were transforming messages and their parameters
23730   in the wrong order
23731 * (bug 9026) Incorrect heading numbering when viewing Special:Statistics with
23732   "auto-numbered headings" enabled
23733 * Fixed invalid XHTML in Special:Upload
23734 * (bug 11013) Make sure dl() is available before attempting to use it to check
23735   available databases in installer
23736 * Resizing transparent GIF images with GD now retains transparency by skipping
23737   resampling
23738 * (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
23739 * Double encoding broke Special:Newpages for some languages
23740 * Adding a newline before the statistics footer, to prevent parsing problems
23741 * Preventing the TOC from appearing in Special:Statistics
23742 * (bug 11082) Fix check for fully-specced table names in Database::tableName
23743 * (bug 11067) Fix regression in upload conflict thumbnail display
23744 * (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
23745   suppressed, breaking paging - now strikes out "fixed" results
23746 * (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
23747   entries in the table of contents
23748 * (bug 11114) Fix regression in read-only mode error display during editing
23749 * Force non-MySQL databases to use an ORDER BY in SpecialAllpages to ensure
23750   that the first page_title is truly the first page title.
23751 * (bug 10836) Change the summary on creating of new section
23752 * Inclusion of Special:Wantedpages now works again
23754 == API changes since 1.10 ==
23756 Full API documentation is available at https://www.mediawiki.org/wiki/API
23758 * New properties: links, templates, images, langlinks, categories, external
23759   links
23760 * Breaking Change: imagelinks renamed into imageusage (il->iu)
23761 * Bug fix: incorrect generator behavior in some cases
23762 * JSON format allows an optional callback function to wrap the result.
23763 * Login module disabled until a more secure solution can be implemented
23764 * (bug 9938) Querying by revision identifier returns the most recent revision
23765   for the corresponding page, rather than the requested revision
23766 * (bug 8772) Filter page revision queries by user
23767 * (bug 9927) User contributions queries do not accept IP addresses
23768 * Watchlist feed now reports a proper feed item when the user is not logged in
23769 * Watchlist feed date bug fixed - automatically shows one last day
23770 * Watchlist feed now allows to specify number of hours to monitor
23771 * list=allpages now returns a list instead of a map in JSON format
23772 * Breaking Change: in json, revisions are now returned as a list, not as a map.
23773 * Add: prop=info can show page is new flag, current page length, and visit
23774   counter.
23775 * Change: Query watchlist now shows flags only when explicitly requested with
23776   wlparam=flags
23777 * rc_this_oldid (textid) is no longer accessible from query watchlist
23778 * action=usercontribs: additional filtering by ucshow=; selection of needed
23779   fields with ucprop=; the textid (rev_text_id) is no longer being exposed
23780 * (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return
23781   lists in JSON instead of a map, and do not return anything when titles do
23782   not exist
23783 * (bug 9121) Introduced indexpageids query parameter to list the page_id
23784   values of all returned page items
23785 * (bug 10147) Now interwiki titles are not processed but added to a separate
23786   "interwiki" section of the output.
23787 * Added categorymembers list to query for pages in a category.
23788 * (bug 10260) Show page protection status
23789 * (bug 10392) Include MediaWiki version details in version output
23790 * (bug 10411) Site language in meta=siteinfo
23791 * (bug 10391) action=help doesn't return help if format is fancy markup
23792 * backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title
23793   parameter instead of titles. Titles for these lists is obsolete and might stop
23794   working soon.
23795 * Added prop=imageinfo - gets image properties and upload history
23796 * (bug 10211) Added db server replication lag information in meta=siteinfo
23797 * Added external url search within wiki pages (list=exturlusage)
23798 * Added link enumeration (list=alllinks)
23799 * Added registered users enumeration (list=allusers)
23800 * Added full text search in titles and content (list=search)
23801 * (bug 10684) Expanded list=allusers functionality
23802 * Possible breaking change: prop=revisions no longer includes pageid for
23803   rvprop=ids
23804 * Added rvprop=size to prop=revisions (The size will not be shown if it is NULL
23805   in the database)
23806 * list=allpages now allows to filter by article min/max size and protection
23807   status
23808 * Added site statistics (siprop=statistics for meta=siteinfo)
23809 * (bug 10902) Unable to fetch user contributions from IP addresses
23810 * `list=usercontribs` no longer requires that the user exist
23811 * (bug 10971) `aufrom` parameter doesn't work with spaces
23812 * Fix username handling issue with `auprefix` parameter
23813 * Treat underscores as spaces for `aufrom` and `auprefix` parameters
23814 * Added edit/delete/... token retrieval to prop=info
23815 * Added meta=userinfo - logged-in user information, group membership, rights
23816 * (bug 11072) Fix regression in API image history query
23817 * (bug 11115) Adding SHA1 hash to imageinfo query
23818 * (bug 10898) API does not return an edit token for non-existent pages
23819 * (bug 10890) Timestamp support for categorymembers query
23820 * (bug 10980) Add exclude redirects on backlinks
23821 * IPv6 titles in User namespace are normalized (run cleanupTitles.php to fix any
23822   old stray pages)
23824 == Maintenance script changes since 1.10 ==
23826 * Add support for wgMaxTocLevel option in parserTests
23827 * (bug 6823) Disable article view counter in maintenance/dumpHTML.php
23828 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no
23829   suitable files are found, and make the list of extensions an option (defaults
23830   to $wgFileExtensions)
23831 * Add option to maintenance/createAndPromote.php to give the user bureaucrat
23832   permissions (--bureaucrat)
23833 * Allow overwriting existing files with a conflicting name using
23834   maintenance/importImages.php
23835 * (bug 10266) Use native newlines when rebuilding a messages file.
23837 == Languages updated since 1.10 ==
23839 * Afrikaans (af)
23840 * Arabic (ar)
23841 * Bikol (bcl)
23842 * Bulgarian (bg)
23843 * Catalan (ca)
23844 * Danish (da)
23845 * German (de)
23846 * Greek (el)
23847 * Esperanto (eo)
23848 * Spanish (es)
23849 * Estonian (et)
23850 * Extremaduran (ext)
23851 * Farsi (fa)
23852 * Finnish (fi)
23853 * Vöro (fiu-vro)
23854 * French (fr)
23855 * Français Cadien (frc) (new)
23856 * Franco-Provençal/Arpetan (frp)
23857 * Galician (gl)
23858 * Hakka (hak)
23859 * Hebrew (he)
23860 * Upper Sorbian (hsb)
23861 * Haitian (ht)
23862 * Indonesian (id)
23863 * Icelandic (is)
23864 * Italian (it)
23865 * Japanese (ja)
23866 * Georgian (ka)
23867 * Kabyle (kab)
23868 * Kazakh (kk)
23869 * Korean (ko)
23870 * Kinaray-a (krj) (new)
23871 * Kurdish (ku)
23872 * Latin (la)
23873 * Lao (lo)
23874 * Lithuanian (lt)
23875 * Latviešu (lv)
23876 * Malayalam (ml)
23877 * Bahasa Melayu (ms)
23878 * Burmese (my)
23879 * Low German (nds)
23880 * Dutch (nl)
23881 * Norwegian (no)
23882 * Occitan (oc)
23883 * Punjabi (Gurmukhi) (pa)
23884 * Polish (pl)
23885 * Piedmontese (pms)
23886 * Portuguese (pt)
23887 * Romani (rmy)
23888 * Romanian (ro)
23889 * Aromanian (roa-rup)
23890 * Russian (ru)
23891 * Sakha (sah)
23892 * Sango (se) (new)
23893 * Slovak (sk)
23894 * Slovenian (sl)
23895 * Shona (sn)
23896 * Somali (so)
23897 * Albanian (sq)
23898 * Sundanese (su)
23899 * Swedish (sv)
23900 * Tamil (ta)
23901 * Thai (th)
23902 * Tigrinya (ti)
23903 * Setswana (tn)
23904 * Tok Pisin (tpi)
23905 * Uyghur (ug)
23906 * Volapük (vo)
23907 * Winaray (war) (new)
23908 * Yiddish (yi)
23909 * Old Chinese / Late Middle Chinese (zh-classical)
23910 * Chinese (PRC) (zh-cn)
23911 * Chinese (Taiwan) (zh-tw)
23912 * Cantonese (zh-yue)
23914 == MediaWiki 1.10 ==
23916 == MediaWiki 1.10.4 ==
23918 March 2, 2008
23920 * Correction for API path fix, broken in 1.10.3
23922 == MediaWiki 1.10.3 ==
23924 January 23, 2008
23926 This is a security update to the Winter 2007 quarterly release. A potential
23927 XSS injection vector affecting api.php only for Microsoft Internet Explorer
23928 users has been closed.
23931 To work around the vulnerability without upgrading, you may disable the API if
23932 you don't need it:
23934 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23936 Not vulnerable versions:
23937 * 1.12 or later
23938 * 1.11 >= 1.11.1
23939 * 1.10 >= 1.10.3
23940 * 1.9 >= 1.9.5
23941 * 1.8 any version (if $wgEnableAPI has been left off)
23943 Vulnerable versions:
23944 * 1.11 <= 1.11.0rc1
23945 * 1.10 <= 1.10.2
23946 * 1.9 <= 1.9.4
23947 * 1.8 any version (if $wgEnableAPI has been switched on)
23949 MediaWiki 1.7 and below are not affected as they do not include the API
23950 functionality, however the BotQuery extension is similarly vulnerable unless
23951 updated to the latest SVN version.
23953 == MediaWiki 1.10.2 ==
23954 September 10, 2007
23956 This is a security fix update to the Spring 2007 quarterly release snapshot. A
23957 possible HTML/XSS injection vector in the API pretty-printing mode has been
23958 found and fixed.
23960 The vulnerability may be worked around in an unfixed version by simply
23961 disabling the API interface if it is not in use, by adding this to
23962 LocalSettings.php:
23963 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23965 Not vulnerable versions:
23966 * 1.11 >= 1.11.0
23967 * 1.10 >= 1.10.2
23968 * 1.9 >= 1.9.4
23969 * 1.8 >= 1.8.5
23971 Vulnerable versions:
23972 * 1.11 <= 1.11.0rc1
23973 * 1.10 <= 1.10.1
23974 * 1.9 <= 1.9.3
23975 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
23977 MediaWiki 1.7 and below are not affected as they do not include the faulty
23978 function, however the BotQuery extension is similarly vulnerable unless updated
23979 to the latest SVN version.
23981 == MediaWiki 1.10.1 ==
23982 July 13, 2007
23984 This is a bugfix update to the Spring 2007 quarterly release snapshot. A number
23985 of fixes to improve compatibility with PostgreSQL, some versions of MySQL, and
23986 some PHP configurations are included.
23988 Changes since 1.10.0:
23990 * (bug [[bugzilla:9417|9417]]) Uploading new versions of images when using
23991 Postgres no longer  throws warnings.
23992 * (bug [[bugzilla:9908|9908]]) Using tsearch2 with Postgres 8.1 no longer gives
23993 an error.
23994 * (bug [[bugzilla:9973|9973]]) Changed size was shown in advanced recentchanges
23995 collapsible items with $wgRCShowChangedSized = false.
23996 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
23997 overlong key errors.
23998 * Fixed zero-padding issues with MySQL 5 binary schema
23999 * (bug [[bugzilla:9820|9820]]) session.save_path check no longer halts
24000 installation, but warns of possible bad values
24001 * (bug [[bugzilla:9978|9978]]) Fixed session.save_path validation when using
24002 extended configuration format, e.g. "5;/tmp"
24004 == MediaWiki 1.10.0 ==
24005 May 9, 2007
24007 This is the quarterly release snapshot for Spring 2007. See below for a full
24008 list of changes since the 1.9.x series.
24010 Changes since 1.10.0rc2:
24012 * (bug [[bugzilla:9808|9808]]) Fix regression that ignored user 'rclimit'
24013 option for Special:Contributions
24015 == MediaWiki 1.10.0rc2 ==
24016 May 4, 2007
24018 THIS IS A RELEASE CANDIDATE MADE AVAILABLE FOR TESTING!
24019 A FINAL 1.10.0 RELEASE WILL APPEAR WITHIN A FEW DAYS.
24021 Changes since 1.10.0rc1:
24022 * Various l10n fixes and updates
24023 * Fix for upgrade of page_restrictions table
24024 * (bug [[bugzilla:9780|9780]]) Fix normalization of titles with initial colon
24025 followed by whitespace
24026 * Fix for regression in upload: wrong size info saved into image table
24027 * Avoid cyclic stub problems when authorization hooks do funny things with the
24028 user and the database at load time
24030 == MediaWiki 1.10.0rc1 ==
24031 This is the Spring 2007 branch release of MediaWiki.
24033 MediaWiki is now using a "continuous integration" development model with
24034 quarterly snapshot releases. The latest development code is always kept
24035 "ready to run", and in fact runs our own sites on Wikipedia.
24037 Release branches will continue to receive security updates for about a year
24038 from first release, but nonessential bugfixes and feature developments
24039 will be made on the development trunk and appear in the next quarterly release.
24041 Those wishing to use the latest code instead of a branch release can obtain
24042 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
24044 == Configuration changes ==
24046 * A new switch $wgCommandLineDarkBg used by maintenance scripts
24047   (parserTests.php). It lets you specify if your terminal use a dark background,
24048   the colorized output will be made lighter making things easier to read.
24049 * The minimum permissions needed to edit a page in each namespace can now be
24050   customized via the $wgNamespaceProtection array. By default, editing pages in
24051   the MediaWiki namespace requires "editinterface" permission, as before.
24052 * Allow restriction of autoconfirmed permission by edit count. New global
24053   setting $wgAutoConfirmCount (defaulting to zero, naturally).
24054 * Added rate limiter for Special:Emailuser
24055 * Private logs can now be created using $wgLogRestrictions
24056 * (Bug 8590) limited HTML is now always enabled ($wgUserHtml = true).
24057 * Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
24059 == New features since 1.9 ==
24061 * (bug 6937) Introduce "statistics-footer" message, appended to
24062   Special:Statistics
24063 * (bug 6638) List block flags in block log entries
24064 * (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript
24065 * Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage()
24066   starts page output
24067   (http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html)
24068 * Introduce "cascading protection" -- implicit protection on pages transcluded
24069   into a page protected with this option enabled
24070 * (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown
24071   out in action=raw, so extensions might influence the output.
24072 * (bug 3446) Add user preference to hide page content below diffs, can be
24073   overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
24074 * Add 'purge' privilege to replace the hardcoded check for login state in
24075   determining whether action=purge can be done via GET. Switching the
24076   permission on for anons can be helpful for benchmarking.
24077 * (bug 7842) Link back to deleted revision list from deleted revision preview
24078 * (bug 8619) Add user-aware "unblock" link to Special:Blockip
24079 * (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with
24080   the appropriate permission
24081 * (bug 8628) Add user-aware block list link to Special:Blockip
24082 * (bug 8621) Log revisions marked as patrolled
24083 * Introduce "BookInformation" hook; see docs/hooks.txt for more details
24084 * Add title prefix search for Special:Undelete
24085 * Remove full-archive list from Special:Undelete
24086 * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
24087 * (bug 8712) Expose user groups as a JavaScript global
24088 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
24089 * New special page, Special:Protectedpages, which shows all protected pages
24090   and their protection status (full protection status is not pulled out due
24091   to performance considerations, so it just shows "full protected" or
24092   "semi protected".
24093 * (bug 4133) Allow page protections to be made with an expiry date, in the same
24094   format as block expiry dates. Existing protections are assumed to be infinite,
24095   as are protections made with the new field left blank.
24096 * (bug 8535) Allow certain vertical alignment attributes to be used as image
24097   keywords
24098 * (bug 6987) Allow perrow, widths, and heights attributes for <gallery>
24099 * (bug 3678) Allow disabling MediaWiki:Aboutsite in the same way as
24100   MediaWiki:Disclaimers; Also means that if any of the footer links are
24101   disabled in the wiki's default language (by setting to "-"), they'll also
24102   be disabled in other languages too (e.g. if the user specifies uselang=fr).
24103 * Sort log types in Special:Log
24104 * Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit
24105   toolbar buttons
24106 * Hide irrelevant block options in Special:Blockip based on whether an
24107   IP address/range or username is listed. (Dynamic using JS.)
24108 * (bug 9032) Make quickbarSettings localizable through Special:Allmessages
24109 * (bug 7782) Standardisation of file info at image description pages.
24110 * (bug 1035) View contributions / recentchanges for an IP range.
24111 * (bug 8747) When unwatching pages from Special:Watchlist/edit, put the
24112   confirmation messages in a proper list with a CSS class and id.
24113 * (bug 9118) Show relevant log fragments on deletion confirmatio page
24114 * (bug 9009) Add username entry field to Special:Contributions
24115 * (bug 1723) Article size in history
24116 * (bug 9223) Disallow magic tilde sequences in page titles and usernames
24117 * (bug 6997) Link from Special:log/block to unblock form
24118 * (bug 9117) Link from Special:log/delete to undelete form
24119 * Link from Special:log/protect to change protection form
24120 * (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6
24121   contribs
24122 * (bug 3984) Searching in logs by title%
24123 * Show thumbnail of existing image if image exists already under this filename
24124 * (bug 5546) Watchlist reflects logged actions like move, protection, undelete
24125 * Support protocols other than HTTP in LinkFilter, use $wgUrlProtocols
24126 * (bug 3069) Warning on upload of scaled down images
24127 * Warning on upload of images with uppercase extension if image with lowercase
24128   extension exists
24129 * (bug 4624) Namespace selection for Special:Whatlinkshere
24130 * Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see
24131   docs/hooks.txt for more information
24132 * (bug 9397) Introduce "sp-contributions-footer" and
24133   "sp-contributions-footer-anon" messages, shown at the end of
24134   Special:Contributions as appropriate for the target
24135 * (bug 8421) Expose current action in JavaScript globals (as 'wgAction')
24136 * (bug 9069) Use galleries in query pages dedicated to images
24137 * (bug 9177) Installer now warns of various conditions affecting
24138   session.save_path which can lead to broken session storage
24139 * (bug 9046) Special page to list pages without language links
24140 * (bug 9508) Special page to list articles with the fewest revisions
24141 * Introduce 'FileUpload' hook; see docs/hooks.txt for more information
24142 * Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information
24143 * Introduce 'mywatchlist' message; used on personal menu to link to watchlist
24144   page
24145 * Introduce magic word {{NUMBEROFEDITS}}
24146 * Introduced media handlers for file-type specific operations.
24147 * Improved error reporting for image thumbnailing
24148 * Added sharpening option for ImageMagick thumbnailing
24149 * (bug 9656) Autosummaries will be generated for deletion of pages longer than
24150   500 characters
24151 * Predefined block reasons added to Special:Blockip
24152 * (bug 9196) Installer now check that zend.ze1_compatibility_mode is off
24153 * (bug 9697) Introduce 'InternalParseBeforeLinks' hook; see docs/hooks.txt for
24154   more information
24155 * 'contribsub' message changed to 'contribsub2' with two parameters to permit
24156   better localization.  Change is reverse-compatible and can be ignored for
24157   most wikis.
24158 * Adding a 'reason' field to Special:Userrights
24160 == Bugfixes since 1.9 ==
24162 * (bug 7292) Fix site statistics when moving pages in/out of content namespaces
24163 * (bug 8531) Correct local name of Lingála
24164 * Made the PLURAL: parser function return singular on -1 per default
24165 * Fixed up the AjaxSearch
24166 * Fix SpecialVersion->formatCredits input. Version and Url parameters should be
24167   null to be treated properly with isset.
24168 * Page restrictions moved into a new, dedicated table
24169 * Correct tooltip accesskey hint for Opera on the Macintosh
24170   (uses Shift-Esc-, not Ctrl-).
24171 * (bug 8002) Math should render left-to-right even in right-to-left wikis
24172 * Pass e-mail and real name fields to AuthPlugin::addUser, as additional
24173   optional fields, which may be considered useful at registration time.
24174 * PostgreSQL upgrade scripts fixed and updated
24175 * (bug 8613) Fix error when viewing "Recent Changes" and using Postgres.
24176 * Initialise site_stats table at upgrade time if data was missing
24177 * (bug 7250) Updated Unicode normalization tables to Unicode 5.0
24178 * Unmaintained Oracle support files have been removed.
24179 * Use browser default for printing size, don't force to 11pt
24180 * (bug 8632) Fix regression in page protection null edit update
24181 * (bug 8407) Disallow indexing of "printable" versions
24182 * (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins
24183 * (bug 8629) Document $wgFilterCallback
24184 * (bug 1000) Clarify warning about memory_limit in installer
24185 * Suppress PHP warning about set_time_limit in installer when safe mode is on
24186 * (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is
24187   not available, as on IIS with PHP-CGI
24188 * Missing interwiki row for English Wikipedia restored (as "wikipedia:")
24189 * use configured cache servers for mctest.php
24190 * bucket details in mcc.php
24191 * fix input validation and remove debugging code in compressOld
24192 * full ID range for moveToExternal
24193 * fix resolveStubs.php for compatibility with older serialized data
24194 * maximum line length for bar graphs in getLagTimes.php
24195 * recognize specieswiki in rebuildInterwiki.inc
24196 * profile unicode cleanup in Xml
24197 * log slow parses in Article.php
24198 * profile wfMsgReal
24199 * log mkdir failures
24200 * profile AutoLoader
24201 * rebuild empty DjVu metadata containing ''
24202 * security fix for DjVu metadata retrieval
24203 * Undelete page list can use plural marker
24204 * (bug 8638) Fix update from 1.4 and earlier
24205 * (bug 8641) Fix order of updates to ipblocks table
24206 * (bug 8678) Fix detection of self-links for numeric titles in Parser
24207 * (bug 6171) Magically close tags in tables when not using Tidy.
24208 * Sanitizer now correctly escapes lonely '>' occurring before the first wikitag.
24209 * Ignore self closing on closing tags ( '</div />' now gives '</div>')
24210 * (bug 8673) Minor fix for web service API content-type header
24211 * Fix API revision list on PHP 5.2.1; bad reference assignment
24212 * (bug 8688) Handle underscores/spaces in Special:Blockip and
24213   Special:Ipblocklist in a consistent manner
24214 * (bug 8701) Check database lock status when blocking/unblocking users
24215 * ParserOptions and ParserOutput classes are now in their own files
24216 * (bug 8708) Namespace translations for Zealandic language
24217 * Renamed constructor methods to PHP 5 __construct reserved name
24218 * (bug 8715) Warn users when editing an interface message whether or not the
24219   message page exists
24220 * ar: fix the 'create a new page' on search page when no exact match found
24221 * (bug 8703) Corrected talk and image namespace name for Limburgish (li)
24222 * (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
24223 * (bug 8403) Respect bad image list exceptions in galleries on wiki pages
24224 * Allow sending per-user contribution requests to "contributions" query group
24225 * (bug 3717) Update user count for AuthPlugin account autocreation
24226 * (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
24227   accesskeys default settings appear to be same as Windows.
24228 * Added an option to make Linker::userToolLinks() show the contribs link
24229   red when the user has no edits. Linker::userToolLinksRedContribs() is an
24230   alias to that which should be used to make it more self documentating.
24231 * (bug 8749) Bring MySQL 5 table defs back into sync
24232 * (bug 8751) Set session cookies to HTTPS-only to match other cookies
24233 * (bug 8652) Catch exceptions generated by malformed XML in multipage media
24234 * (bug 8782) Help text in Makefile
24235 * (bug 8777) Suppress 'previous' link on Special:Allpages when at first page
24236 * (bug 8774) Fix path for GNU FDL rights icon on new installs
24237 * Fix multipage selector drop-down for DjVu images to work when title
24238   is passed as a query string parameter; we have to pass the title as
24239   a form parameter or it gets dropped from the form submission URL
24240 * (bug 8819) Fix full path disclosure in with skins dependencies
24241 * Fixed bug affecting HTML formatting in sortable table column titles
24242 * Merged table sorting code into wikibits.js
24243 * (bug 8711) Stop floats in previews from spilling into edit area
24244 * (bug 8858) Safer handling when $wgImageLimits is changed. Added a note
24245   in DefaultSettings to make it clear.
24246 * (bug 4268) Fixed data-loss bug in compressOld batch text compression
24247   affecting pages which had null edits (move, protect, etc) as second
24248   edit in a batch group. Isolated and patched by Travis Derouin.
24249 * Fix for paths in 1.4->1.5 special-case updater script
24250 * (bug 8789) AJAX search: IE users can now use the return key
24251 * (bug 6844) Use <ins> and <del> tags to emphase the differences
24252 * (bug 6684) Fix improper javascript array iteration
24253 * (bug 4347) use MailAddress object for reply-to
24254 * Add AlphabeticPager abstract class
24255 * Use faster AlphabeticPager for Special:Categories
24256 * (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
24257   pages; perhaps useful for categories and shared images
24258 * Clean up session checks to better handle the case where the session was
24259   opened during the current request. May help with some caching corner
24260   cases.
24261 * (bug 8897) Fix whitespace removal for interlanguage links with link prefix
24262 * Add 'ParserTestTables' hook to expand the list of temporary tables copied
24263   by the parser test harness; use for extensions which require the presence
24264   of other tables while they work.
24265 * Message names changed for AlphabeticPager introduced with r19758
24266   for better localisations.
24267 * (bug 8944) The deprecated is_a() function is used in StubObjects.php
24268 * (bug 8992) Fix a remaining raw use of REQUEST_URI in history
24269 * (bug 8999) User.php gives "undefined user editcount" PHP notice.
24270 * (bug 8984) Fix a database error in Special:Recentchangeslinked
24271   when using the Postgres database.
24272 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
24273   The ob_start() section should preferably be removed from older
24274   LocalSettings.php files.
24275 * Give Content-Length header for HTTP/1.0 clients.
24276 * Partial support for Flash cross-domain-policy filtering.
24277 * Lazy-initialize site_stats row on load when empty. Somewhat kinder to
24278   dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES
24279   and such are used.
24280 * Add 'charset' to Content-Type headers on various HTTP error responses
24281   to forestall additional UTF-7-autodetect XSS issues. PHP sends only
24282   'text/html' by default when the script didn't specify more details,
24283   which some inconsiderate browsers consider a license to autodetect
24284   the deadly, hard-to-escape UTF-7.
24285     This fixes an issue with the Ajax interface error message on MSIE when
24286   $wgUseAjax is enabled (not default configuration); this UTF-7 variant
24287   on a previously fixed attack vector was discovered by Moshe BA from BugSec:
24288   http://www.bugsec.com/articles.php?Security=24
24289 * Trackback responses now specify XML content type
24290 * (bug 9044) Send a comment with action=raw pages in CSS/JS output mode
24291   to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly,
24292   particularly with new keepalive-friendly HTTP on Wikipedia
24293 * (bug 8919) Suppress paging links and related messages where there are no
24294   rows to list for query pages
24295 * (bug 9057) Standardize MediaWiki: namespace for oc
24296 * (bug 8132) Suppress "Pages in this category" heading in categories when
24297   there are none
24298 * (bug 8958) Handle search operators better when using tsearch2 (Postgres)
24299 * (bug 8799) Use redirect table for Special:BrokenRedirects and
24300   Special:DoubleRedirects
24301 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
24302   MediaWiki:showingresultsnum
24303 * (bug 9122) Fix minor display issue in RTL with section edit link margin
24304 * (bug 5805) Enable PLURAL option for some messages of watchlist and statistic
24305 * (bug 3953) Work around poor display of parenthesis in the in other
24306   languages section of MonoBook skin
24307 * (bug 8539) Enable PLURAL option for another message of recentchanges.
24308 * (bug 8728) MediaWiki:Badfiletype split into 3 messages
24309 * (bug 9131) Allow SpecialContributions to work with Postgres
24310 * (bug 9155) Allow footer info to wrap in Monobook
24311 * (bug 8847) Strip spurious #fragments from request URI to fix redirect
24312   loops on some server configurations
24313 * (bug 9097) column "pr_pagetype" does not exist
24314 * (bug 9217) Balance wfProfile calls in Skin::outputPage
24315 * (bug 9222) PostgreSQL updater should not be version-specific
24316 * Fix fallback implementation of mb_strlen so it works and isn't insanely
24317   slow for large strings, since it's used for page edit lengths
24318 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
24319 * (bug 9256) Add a quick note to index.php header comments
24320 * Make Special:Listusers caseinsensitive for first letter
24321 * Default tidy.conf has been moved from extensions module into includes.
24322 * Ignore lonely '''''
24323 * (bug 9244) When calling edit page for nonexistent section, generate error
24324   inside of just discarding edits, since edit links sometimes go to the wrong
24325   place.
24326 * (bug 9019) No warning during upload if image description page exists, but no
24327   image
24328 * (bug 8582) Allow thumbnailing when imagesize has a space.
24329 * (bug 8716) Change math_inputhash and math_outputhash to bytea for Postgres
24330 * (bug 9343) Correct internal name for Wolof language
24331 * (bug 9363) Fix Postgres error on Recentchangeslinked
24332 * (bug 5142) Fixed call of hook ArticleViewHeader
24333 * (bug 4777) Separate prev/next messages for Special:Whatlinkshere
24334 * Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql
24335   based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive.
24336 * (bug 9411) Fix for shared image descriptions using query-string titles
24337 * (bug 4756) Add user tool links for self created accounts at special:log
24338   instead of sometimes broken block links from newuserlog extension
24339 * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent
24340   target page instead of silently redirecting
24341 * (bug 8914) Don't transform colons in {{anchorencode:}}
24342 * (bug 9241) Handle edit section links and include size links for cached
24343   templates the same as the first transclusion.
24344 * (bug 9466) "Rollback failed" page doesn't format edit comment
24345 * (bug 9472) Invalid XHTML on cached special pages
24346 * (bug 9472) Invalid XHTML on Special:Newpages
24347 * (bug 4764) "My contributions" not bold when viewing own contributions
24348 * (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere
24349 * (bug 9033) Use a more specific error message when users are not able/allowed
24350   to edit page protection levels due to a block, database lock or permissions
24351 * Fixed $wgFeedLimit
24352 * (bug 9270) Corrected help namespace name for Dutch Lower Saxon (nds-nl)
24353 * (bug 929, 4215) Expose "rcdays" user preference in Special:Preferences
24354 * (bug 9554) Extension-provided group name messages not used
24355 * (bug 9565) Translate template namespace name for Hindi (hi)
24356 * (bug 8599) Correct localized names of zh-variants
24357 * (bug 3366) Require skins based on SkinTemplate to override the skinname
24358   property.
24359 * (bug 9220) Removed obsoletes functions in install-utils.inc.
24360 * Removed obsoletes Title::getRelatedCache and Title:touchArray
24361 * (bug 7285) Check MySQL username length during install
24362 * (bug 6910) Correct date/time formats in Vietnamese (vi)
24363 * (bug 9608) Correctly use ORDER BY in dumpLinks.php
24364 * (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php
24365 * Special:Random and Special:Randomredirect now try harder to send the user to
24366   a random page, and will give an error message if none really can be found
24367   instead of sending the user to the main page like they used to
24368 * Fix object variable used for displaying "not-patrolled" CSS class on list
24369 * Fixed interaction of page parameter to ImagePage with the HTML file cache
24370 * Fixed MIME type for SVG files, will be silently changed from image/svg
24371   to image/svg+xml after loading from the database.
24372 * Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump
24373   instead.
24374 * Fixed odd behavior in ImagePage on DjVu thumbnailing errors
24375 * (bug 5439) "Go" title search will now jump to shared/foreign Image: and
24376   MediaWiki: pages that have not been locally edited.
24377 * (bug 9630) Limits links in Whatlinkshere forgot about namespace filter
24378 * Fixed upgrade for the non-standard MySQL schemas
24379 * Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the
24380   various problems that occur when it is on.
24381 * (bug 9585) Fix regression in tidy usage in Special:Undelete previews
24382 * (bug 3826) Normalize some invalid cookie name characters when setting
24383   up $wgCookiePrefix. Completes application of patch by Anders Kaseorg.
24384 * (bug 9649) Fix RTL form alignment for Special:Movepage
24385 * (bug 9582) Members of bot group now mark edits patrolled by default
24386 * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
24387   converted from 1.4 to 1.5 schema
24388 * (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
24389 * (bug 5959) Anchors dropped from stub links
24390 * (bug 3348) Some additional weak password checks: password which is same
24391   as username will now be rejected.
24392 * (bug 8602) Converted Special:Contributions to use an IndexPager. The
24393   interpretation of the offset parameter has changed, and the go parameter
24394   has been removed.
24395 * (bug 6204) Fixes for indentation with $wgMaxTocLevel:
24396   - don't emit too many list close tags after an invisible header
24397   - don't emit too many final list close tags if last header is invisible
24398   - don't emit TOC when there are no visible headers
24399 * (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
24400   when certain plugins are present which alter the user agent
24403 == Maintenance ==
24405 * New script maintenance/language/checkExtensioni18n.php used to check i18n
24406   progress in the extension repository.
24407 * Running maintenance/parserTests.php with '--record' option, will now
24408   automatically attempt to create the required tables
24409 * --purge option to do additional parser-cache purging for purgeList.php
24410 * Fix hardcoded background color in parserTests.php
24411 * parserTests.php : removed the 'light' option for --color argument, replacing
24412   it with a new global switch : $wgCommandLineDarkBg
24413 * (bug 8780) Clarify message for command-line scripts if LocalSettings.php
24414   exists but is not readable
24415 * dumpBackup / importDump now work with PostgreSQL
24416 * (bug 8975) Use "Maintenance script" as the default username for
24417   importImages.php and importTextFile.php scripts
24418 * (bug 8933) Fix maintenance/reassignEdits.php script
24419 * (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org
24420 * (bug 2979) Import now gracefully skips invalid titles with a warning
24421 * Restore '--norc' option for maintenance/importTextFile.php
24422 * Help information for maintenance/importTextFile.php now easier to read on
24423   consoles
24424 * Doxygen documentation now show the revision number of each file, generate
24425   graphs using dot and include a search engine.
24428 == Languages updated ==
24430 * Arabic (ar)
24431 * Aramaic (arc)
24432 * Aymara (ay)
24433 * Belarusian normative (be)
24434 * Belarusian alternative (be-x-old)
24435 * Bulgarian (bg)
24436 * Bihara (bh)
24437 * Breton (br)
24438 * Catalan (ca)
24439 * Czech (cs)
24440 * Danish (da)
24441 * German (de)
24442 * Greek (el)
24443 * Esperanto (eo)
24444 * Spanish (es)
24445 * Estonian (et)
24446 * Basque (eu)
24447 * Finnish (fi)
24448 * Võro (fiu-vro)
24449 * French (fr)
24450 * Hebrew (he)
24451 * Hindi (hi)
24452 * Upper Sorbian (hsb)
24453 * Hungarian (hu)
24454 * Armenian (hy)
24455 * Indonesian (id)
24456 * Italian (it)
24457 * Japanese (ja)
24458 * Javanese (jv)
24459 * Georgian (ka)
24460 * Kabyle (kab)
24461 * Kazakh (kk)
24462 * Korean (ko)
24463 * Kashmiri (ks)
24464 * Ripuarian (ksh)
24465 * Latin (la)
24466 * Luganda (lg)
24467 * Limburgish (li)
24468 * Lithuanian (lt)
24469 * Latvian (lv)
24470 * Marathi (mr)
24471 * Low Saxon (nds)
24472 * Dutch Lower Saxon (nds-nl)
24473 * Nepali (ne)
24474 * Nepal Bhasa (new)
24475 * Dutch (nl)
24476 * Occitan (oc)
24477 * Pali (pi)
24478 * Polish (pl)
24479 * Romanian (ro)
24480 * Russian (ru)
24481 * Sanskrit (sa)
24482 * Sicilian (scn)
24483 * Slovak (sk)
24484 * Sundanese (su)
24485 * Swedish (sv)
24486 * Tahitian (ty)
24487 * Ukrainian (uk)
24488 * Urdu (ur)
24489 * Uzbek (uz)
24490 * Vietnamese (vi)
24491 * Zealandic (zea)
24492 * Old Chinese / Late Middle Chinese (zh-classical)
24493 * Chinese (PRC) (zh-cn)
24494 * Chinese (Taiwan) (zh-tw)
24495 * Cantonese (zh-yue)
24497 == Compatibility ==
24499 MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
24501 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
24502 http://bugs.php.net/bug.php?id=34879
24503 Upgrade affected systems to PHP 5.1 or higher.
24505 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
24506 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
24509 == Upgrading ==
24511 1.10 has several database changes since 1.9, and will not work without schema
24512 updates.
24514 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
24515 new database fields are filled with data.
24517 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
24518 changes are made, and there is a slightly higher chance that things could
24519 break. Don't forget to always back up your database before upgrading!
24521 See the file UPGRADE for more detailed upgrade instructions.
24523 = MediaWiki release notes =
24524 Security reminder: MediaWiki does not require PHP's register_globals
24525 setting since version 1.2.0. If you have it on, turn it *off* if you can.
24527 = MediaWiki 1.9 =
24529 == MediaWiki 1.9.6 ==
24531 March 2, 2008
24533 * Correction for API path fix, broken in 1.9.5
24535 == MediaWiki 1.9.5 ==
24537 January 23, 2008
24539 This is a security update to the Winter 2007 quarterly release. A potential XSS
24540 injection vector affecting api.php only for Microsoft Internet Explorer users
24541 has been closed.
24544 To work around the vulnerability without upgrading, you may disable the API if
24545 you don't need it:
24547 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
24549 Not vulnerable versions:
24550 * 1.12 or later
24551 * 1.11 >= 1.11.1
24552 * 1.10 >= 1.10.3
24553 * 1.9 >= 1.9.5
24554 * 1.8 any version (if $wgEnableAPI has been left off)
24556 Vulnerable versions:
24557 * 1.11 <= 1.11.0rc1
24558 * 1.10 <= 1.10.2
24559 * 1.9 <= 1.9.4
24560 * 1.8 any version (if $wgEnableAPI has been switched on)
24562 MediaWiki 1.7 and below are not affected as they do not include the API
24563 functionality, however the BotQuery extension is similarly vulnerable unless
24564 updated to the latest SVN version.
24566 == MediaWiki 1.9.4 ==
24568 September 10, 2007
24570 This is a security and bug fix update to the Winter 2007 quarterly release.
24571 Minor compatibility fixes for IIS 5 are included.
24573 * (bug [[bugzilla:8847|8847]]) Strip spurious #fragments from request URI to
24574 fix redirect loops on some server configurations
24575 * A possible HTML/XSS injection vector in the API pretty-printing mode has been
24576 found and fixed.
24578 The vulnerability may be worked around in an unfixed version by simply
24579 disabling the API interface if it is not in use, by adding this to
24580 LocalSettings.php:
24582 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
24584 Not vulnerable versions:
24585 * 1.11 >= 1.11.0
24586 * 1.10 >= 1.10.2
24587 * 1.9 >= 1.9.4
24588 * 1.8 >= 1.8.5
24590 Vulnerable versions:
24591 * 1.11 <= 1.11.0rc1
24592 * 1.10 <= 1.10.1
24593 * 1.9 <= 1.9.3
24594 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
24596 MediaWiki 1.7 and below are not affected as they do not include the faulty
24597 function, however the BotQuery extension is similarly vulnerable unless updated
24598 to the latest SVN version.
24600 == MediaWiki 1.9.3 ==
24602 February 20, 2007
24604 This is a security and bug-fix update to the Winter 2007 quarterly release.
24605 Minor compatibility fixes for IIS and PostgreSQL are included.
24607 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
24608 charset autodetection was located in the AJAX support module, affecting MSIE
24609 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
24611 If you are using an extension based on the optional Ajax module, either disable
24612 it or upgrade to a version containing the fix:
24614 * 1.9: fixed in 1.9.3
24615 * 1.8: fixed in 1.8.4
24616 * 1.7: fixed in 1.7.3
24617 * 1.6: fixed in 1.6.10
24619 There is no known danger in the default configuration, with ''$wgUseAjax'' off.
24621 * ([[mediazilla:8992|8992]]) Fix a remaining raw use of REQUEST_URI in history
24622 * ([[mediazilla:8984|8984]]) Fix a database error in
24623 Special:Recentchangeslinked when using the PostgreSQL database.
24624 * Add ''charset'' to Content-Type headers on various HTTP error responses to
24625 forestall additional UTF-7-autodetect XSS issues. PHP sends only ''text/html''
24626 by default when the script didn't specify more details, which some
24627 inconsiderate browsers consider a license to autodetect the deadly,
24628 hard-to-escape UTF-7. This fixes an issue with the Ajax interface error message
24629 on MSIE when ''$wgUseAjax'' is enabled (not default configuration); this UTF-7
24630 variant on a previously fixed attack vector was discovered by Moshe BA from
24631 BugSec: [http://www.bugsec.com/articles.php?Security=24
24632 http://www.bugsec.com/articles.php?Security=24]
24633 * Trackback responses now specify XML content type
24635 == MediaWiki 1.9.2 ==
24637 February 4, 2007
24639 This is a bug-fix update that fixes some installation and other minor issues
24640 with the 1.9.1 release as well as a security issue which was introduced in the
24641 1.9 branch.
24643 JavaScript code which regenerated the "sortable tables" feature did not
24644 properly sanitize input, leading to an HTML injection vulnerability.
24646 * ([[mediazilla:8774|8774]]) Fix path for GNU FDL rights icon on new installs
24647 * ([[mediazilla:8819|8819]]) Fix full path disclosure with skins dependencies
24648 * ([[mediazilla:8819|8819]]) Fixed data-loss bug in compressOld batch text
24649 compression affecting pages which had null edits (move, protect, etc) as second
24650 edit in a batch group. Isolated and patched by Travis Derouin.
24651 * Security fix for sortable tables JavaScript
24653 == MediaWiki 1.9.1 ==
24655 January 24, 2007
24657 This is a bug-fix update that fixes some installation and upgrade issues with
24658 the original 1.9.0 release.
24660 * ([[mediazilla:3000|3000]]) Fall back to SCRIPT_NAME plus QUERY_STRING when
24661 REQUEST_URI is not available, as on IIS with PHP-CGI
24662 * Security fix for DjVu images. (Only affects servers where .djvu file  uploads
24663 are enabled and ''$wgDjvuToXML'' is set.)
24664 * ([[mediazilla:8638|8638]]) Fix update from 1.4 and earlier
24665 * ([[mediazilla:8641|8641]]) Fix order of updates to ipblocks table for updates
24666 from <=1.7
24667 * ([[mediazilla:8673|8673]]) Minor fix for web service API content-type header
24668 * Fix API revision list on PHP 5.2.1; bad reference assignment
24669 * Fixed up the AjaxSearch
24670 * Exclude settings files when generating documentation. That could expose the
24671 database user and password to remote users.
24672 * ar: fix the 'create a new page' on search page when no exact match found
24673 * Correct tooltip accesskey hint for Opera on the Macintosh (uses Shift-Esc-,
24674 not Ctrl-).
24675 * ([[mediazilla:8719|8719]]) Firefox release notes lie! Fix tooltips for
24676 Firefox 2 on x11; accesskeys default settings appear to be same as Windows.
24678 == Changes since 1.8 ==
24680 * (bug 8200) Make category lists sorted by name when using Postgres.
24681 * (bug 7841) Support 'IGNORE' inserts for Postgres, fixes watchlist
24682   adding problem.
24683 * (bug 6835) Removing the includes/Parser.php::getTemplateArgs() function,
24684   because it seems to be unused.
24685 * (bug 7139) Increasing the visual width of the edit summary field on larger
24686   screen sizes, for the default monobook skin.
24687 * Fix PHP notice and estimates for dumpBackup.php and friends
24688 * Improved register_globals paranoia checks
24689 * (bug 7545) Fix PHP version check on install
24690 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails
24691   is set. Backtraces may contain sensitive information in function call
24692   parameters.
24693 * (bug 6164) Avoid smashing Cite state if message transformation triggers
24694   during bad image list check, by skipping message transformation.
24695   This isn't a good permanent fix.
24696 * (bug 6918) Stopped borders and backgrounds from showing through floated
24697   tables in Monobook
24698 * (bug 6868) Un-hardcode section edit link style
24699 * (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
24700 * Added global $wgStyleVersion to centralize bumping CSS and JS file versions
24701   for cache-friendly style and script updating
24702 * (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
24703 * Friendlier check for PHP 5 in command-line scripts; it's common for parallel
24704   PHP 4 and 5 installations to interfere on the command-line.
24705 * Fix regression in autoconfirm permission check
24706 * (bug 3015) Add CSS ids to subcategory and page sections on category pages
24707 * (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup
24708 * (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge
24709 * (bug 7581) Update language name for cbk-zam
24710 * (bug 7444) Update namespace translations for Telugu (te), kept old values as
24711   alias for compatibility
24712 * (bug 4525) Move section links down visually to same level as headings
24713   (editsection links are now inside the heading elements)
24714 * Workaround for http://bugs.php.net/bug.php?id=31892 , PATH_INFO and hence
24715   URLs of the style /index.php/Main_Page were broken on some CGI installations.
24716 * (bug 7623) Validate custom HTML id's correctly in Monobook interface
24717 * (bug 2241) Fix collision of 'w' and 'd' accesskeys
24718 * (bug 5795) CSS class added to body based on page name for page-specific
24719   styling
24720 * (bug 6276) Stopped search field from getting too large in Cologne Blue
24721 * (bug 7644) User creations that are aborted by hooks shouldn't be counted
24722   against account creations per day limit
24723 * (bug 7636) Show Firefox 2 users correct accesskey prefix
24724 * (bug 6427) Block blocked IPs from using the mail password function
24725   to allow blocking of flooders
24726 * Include common.css from classic-style skins in main HTML with the bump URL
24727 * (bug 7607) Add Karakalpak (kaa) to Names.php and stub message file for
24728   linktrail
24729 * (bug 7582) Add 'tog-nolangconversion' to MessagesEn.php.
24730   This key is need for languages with variants (zh, sr, kk)
24731 * (bug 7606) MediaWiki messages for "rss" and "atom" missing
24732 * (bug 7609) Add some more '*-summary' messages to MessagesEn.php with empty
24733   strings to allow better localisation via Special:Allmessages. Mark this new
24734   messages as optional for localisation.
24735 * Fix user_newpass upgrade for prefixed tables (reported by Fyren)
24736 * (bug 7663) Include language variant switcher links on Nostalgia skin
24737 * (bug 6531) Fix PHP fatal error on installation page with bad username input.
24738 * (bug 6977) Remove 404 link for autogenerated database documentation.
24739 * (bug 7369) Allow "Show Changes" without requiring edit token.
24740 * (bug 7687) Fix movetalk box checks itself when confirming a delete and move.
24741 * (bug 7684) Obey watchcreated preference for Special:Upload watch checkbox
24742 * (bug 7686) Include id attribute on delete form confirmation button
24743 * Allow compound interwiki prefixes in $wgImportSources
24744 * (bug 7304) Added redirect table to store redirect targets.
24745 * Added querycachetwo table (similar to querycache but has two titles)
24746 * PageArchive can now return a Revision object for more convenient processing
24747   of deleted revision data
24748 * Added 'UndeleteShowRevision' hook in Special:Undelete
24749 * Error message on attempt to view invalid or missing deleted revisions
24750 * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
24751 * (bug 3224) Allow minor edits by bots to skip new message notification on
24752   user talk pages. This can be disabled by adjusting the 'nominornewtalk'
24753   permission. Patch by Werdna.
24754 * (bug 7741) MATH: fixed broken syntax of underbrace etc. Fixed arrays
24755 * Fix purging for updated SVG files
24756 * (bug 7745) Add id attribute to search button in Monobook
24757 * (bug 7749) MATH: added some more LaTeX symbols, e.g. parallel, diamond, ast...
24758 * (bug 7304) Added code in Article.php to keep redirect table up to date.
24759 * Made special page names case-insensitive and localisable. Care has been taken
24760   to maintain backwards compatibility.
24761 * Used special page subpages in a few more places, instead of query parameters.
24762 * (bug 7758) Added wrapper span to "templates used" explanation to allow CSS
24763   styling (class="mw-templatesUsedExplanation").
24764 * Added {{#special:}} parser function, to give the local default title for
24765   special pages
24766 * (bug 7766) Remove redundant / from AJAX requests, can break some servers
24767 * Add tab links from extensions to classic-based skins (SkinTemplateTab hook)
24768   Provides better cross-skin compatibility for extensions using the modern
24769   skin hooks, such as Oversight
24770 * Moved variant language links on Cologne Blue and Nostalgia to before the
24771   login/logout link
24772 * Fix for parser tests with MySQL 5 in strict mode
24773 * Added block option "enable autoblocks"
24774 * Amend Special:Ipblocklist to note when a block has autoblock DISABLED.
24775 * (bug 7780) Fix regression in editing redirects
24776 * Add whitespace above "templates included on this page" using CSS, not
24777   hardcoded line break.
24778 * Remove entries from redirect table on article deletion
24779 * (bug 7788) Force section headers in new section links for users who have
24780   'prompt for blank edit summaries' on.
24781 * (bug 1133) Special:Emailuser: add an option to send yourself a copy of your
24782   mail.
24783 * (bug 461) Allow "Categories:" link at bottom of pages to be customized via
24784   pagecategorieslink message.
24785 * Sort the list of skins in "My Preferences" -> Skins by alphabetical order.
24786 * (bug 7785) Postgres compatibility for timestamps in RC feeds
24787 * (bug 7550) Normalize user parameter normally on Special:Log
24788 * (bug 7294) Fix PATH search for diff3 on install
24789 * Various fixes related to the blocking change re: autoblocks. On inserting
24790   an IP block, the ipb_enable_autoblock field is now automagically blanked,
24791   because it doesn't make any sense for an IP. Additionally, IP blocks
24792   without the ipb_enable_autoblock option no longer show up as "autoblock
24793   disabled" on Special:Ipblocklist.
24794 * (bug 7774) MATH: aded more amstex functions
24795 * (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in
24796   TeX
24797 * Fix regression in streaming page dump generation
24798 * (bug 7801) Add support for parser function hooks in parser tests
24799 * checkUsernames.php now uses wfDebugLog instead of hardcoded path to log
24800 * (bug 7810) Update talk namespaces for Occitan
24801 * Allow case-sensitive URLs to be used for uploading from URLs.
24802 * (bug 1109) Correct fix for compressed 304 responses when additional output
24803   buffers have been installed within the compression handler
24804 * (bug 7819) Move automatic redirect edit summary after pre-save transform
24805   to work properly with subst: fun
24806 * (bug 7826) Fix typos in two English messages.
24807 * (bug 5365) Stop users being prompted to enter an edit summary for null edits,
24808   if they have selected that option in preferences.
24809 * (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor
24810   edits.
24811 * (bug 7820) Improve error reporting for uploads via URL.
24812 * (bug 5149) When autoblocks are enabled, retroactively apply an autoblock to
24813   the most recently used IP of a user when they are blocked.
24814 * Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This
24815   will make CheckUser.php and the new retroactive autoblock functionality
24816   faster.
24817 * Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
24818   with compression or legacy encoding
24819 * (bug 6737) Fixes for MySQL 5 schema in strict mode
24820 * Approximate height for client-side scaling fallback instead of passing -1
24821   into the HTML output.
24822 * Make the DNSBL to check for proxy blocking configurable via $wgSorbsUrl
24823 * Add experimental recording/reporting mode to parser tests runner, to
24824   compare changes against the previous run.
24825   Additional tables 'testrun' and 'testitem' are in maintenance/testRunner.sql,
24826   source this and pass --record option to parserTests.php
24827 * Make the set of default parser test input files extensible via
24828   $wgParserTestFiles. This can now be appended to by extensions or local
24829   configuration files so that extension or custom tests can be automatically
24830   run along with the main batch.
24831 * Run PHP install version checks on update.php so command-line updaters see
24832   new version requirements
24833 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
24834   as of MW 1.8 than it used to be. Install or upgrade now aborts with a
24835   warning and a request to upgrade.
24836 * (bug 6440) Updated indexes to improve backlinking queries (links, templates,
24837   images)
24838 * Switched 'anon-only' block mode to default for IP blocks
24839 * (bug 3687, 7892) Add distinct heading for media files in category display,
24840   with count.
24841 * (bug 1578) Add different icons for external links to audio, video, or PDF in
24842   Monobook.
24843 * Made autoblocks block account creation if the user block has that option
24844   enabled.
24845 * Add auto-summaries to blankings and large removals without summaries.
24846 * (bug 7811) Allow preview of edit summaries.
24847 * (bug 6839) Wikibits.js minor changes to make JS-lint happier.
24848 * (bug 7932) Make sure that edit toolbar clears floats so it appears correctly.
24849 * (bug 6873) When viewing old revisions, add link to diff to current version.
24850 * (bug 3315) Provide rollback link directly on history page.
24851 * Replace 'old-revision-navigation' message with 'revision-info' and
24852   'revision-nav' messages, wrapped in divs with appropriate id's.
24853 * (bug 4178) MediaWiki:Common.js will now be included for all users if
24854   $wgUseSiteJs is enabled, in addition to (if applicable) MediaWiki:Monobook.js
24855   and user JS subpages.
24856 * (bug 7918) "Templates used on this page" changes during preview to reflect
24857   any added or removed templates, and works as expected for section edits.
24858 * (bug 7919) "Templates used on this page" is now shown for read-only pages.
24859 * (bug 7688) When viewing diff, section anchors in autosummary jump to section
24860   on current page instead of loading the latest version.
24861 * (bug 7970) Use current connection explicitly on Database::getServerVersion
24862 * (bug 2001) Tables with class="sortable" can now be dynamically sorted via
24863   JavaScript.
24864 * Added autosummary for new pages with 500 or less characters, and refactor
24865    the autosummary code so it's all done in one function. doEdit is getting too
24866    big!
24867 * (bug 7554) The correct MIME type for SVG images is now displayed on the
24868   image page (image/svg+xml, not image/svg).
24869 * (bug 7883) Added autoblock whitelisting feature, using which specific ranges
24870    can be protected from autoblocking. These ranges are specified, in list
24871   format, in the autoblock_whitelist system message.
24872 * Added placeholders for text injection by hooks to EditPage.php
24873 * (bug 8009) Automatic edit summary for redirects is not filled for edits in
24874   existing pages
24875 * Installer support for experimental MySQL 4.1/5.0 binary-safe schema
24876 * Use INSERT IGNORE for db-based BagOStuff add/insert, for more memcache-like
24877   behavior when keys already exist on add (instead of dying with an error...)
24878 * Add a hook 'UploadForm:initial' before the upload form is generated, and two
24879   member variable for text injection into the form, which can be filled by the
24880   hooks.
24881 * (bug 6295) Add a "revision patching" functionality, where an edit can be
24882   undone
24883   (with a functionality similar to diff rev1 rev2 | patch -R rev3 -o rev3).
24884   This is triggered by including &undo=revid in an edit URL. A link to a URL
24885   that will undo a given edit is shown on NEW revision headers on diff pages.
24886   The link leads to a "Show Changes" page showing what will be done to undo the
24887   edit.
24888 * Fix display of link in "already rolled back" message for image/category pages
24889 * (bug 6016) Left-aligned images should stack vertically, like right-aligned
24890   images, not horizontally.
24891 * Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php
24892 * Add AuthPluginSetup hook to override $wgAuth after configuration
24893 * Fix regression in authentication hook auto-creation on login
24894 * (bug 8110) Allow spaces in ISBNs
24895 * (bug 8024) Introduce "send me copies of emails I send to others" preference
24896 * Added 'EditPage::attemptSave' hook before an article is saved.
24897 * (bug 8083) Applied patch for sk localisation
24898 * Add a backslash character to the edit token, to prevent edits via certain
24899   broken proxies that mangle such characters in form submissions
24900 * (bug 7461) Allow overwriting pages using importTextFile.php
24901 * (bug 7946) importTextFile.php doesn't perform pre-save transform
24902 * (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set;
24903   now uses current time for previews and if timestamp can't be loaded from DB
24904 * {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone
24905   to ensure consistent behavior
24906 * {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends
24907 * (bug 7671) Observe canonical media namespace prefix in Linker::formatComment
24908 * Added js variable wgCurRevisionId to the output
24909 * (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht
24910 * (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit
24911   instead of hardcoding to 1000
24912 * Enable QueryPage classes to override list formatting
24913 * (bug 5485) Show number of intervening revisions in diff view
24914 * (bug 8100) Fix XHTML validity in Taiwanese localization
24915 * Added redirect to section feature. Use it wisely.
24916 * Added a configuration variable allowing the "break out of framesets" feature
24917   to be switched on and off ($wgBreakFrames). Off by default.
24918 * Allow Xml::check() $attribs parameter to override 'value' attribute
24919 * DB schema change: added two columns (rc_old_len and rc_new_len) to the
24920   recentchanges table to store the text lengths before and after the edit
24921 * (bug 1085) Made Special:Recentchanges show the character difference between
24922   the changed revisions
24923 * Removed a redundant <strong> tag from diff pages that was causing display
24924   issues for some users
24925 * (bug 8203) The keyboard shortcut for "log out" was removed, because users
24926   were pressing it when they intended to press the shortcut for "preview".
24927 * (bug 8148) Handle non-removable output buffers gracefully when cleaning
24928   buffers for HTTP 304 responses, StreamFile, and Special:Export.
24929   Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers()
24930 * Special:AllPages : 'next page' link now point to the first title of the next
24931   chunk instead of pointing to the last title of current chunk.
24932 * (bug 4673) Special:AllPages : add a 'previous' link (new message 'prevpage')
24933 * (bug 8121) wfRandom() was not between 0 and 1
24934 * Add static method Parser::createAssocArgs($args), so parser functions can
24935   use the same code to parse arguments as the templates do.
24936 * Change behavior of logins using the temporary e-mailed password (as stored
24937   in user_newpassword hash field). Instead of just logging in silently and
24938   leaving the previous user_password field in place indefinitely, the user
24939   is now prompted to set a new password.
24941   The password-changing form is at Special:Resetpass; currently it's only
24942   usable for changing from the temporary password during login, but it
24943   could perhaps be generalized, replacing the subform in preferences.
24945   Once the new password is set successfully, the temporary password is wiped
24946   so it cannot be used to login a second time, and the login process
24947   is completed.
24948 * Suppress 'mail new password' button on login form if $wgAuth forbids
24949   changing user passwords; it wouldn't work very well...
24950 * Consolidate password length checks and $wgAuth manipulation into
24951   User::setPassword() to avoid duplicate code in different places
24952   that set passwords.
24953 * User::setPassword() now throws PasswordError exceptions if the password
24954   is illegal or cannot be set via $wgAuth. These can be caught and a human-
24955   readable error message displayed by UI code.
24956 * Added Title::isSubpage()
24957 * (bug 8241) Don't consider user pages of User:Foo.css to be CSS subpages
24958 * Set an explicit class on framed thumbnail inner divs and images, changed some
24959   CSS to use these instead of using descendent selectors.
24960 * Accept null parameter to User::setPassword() as indicating the password
24961   field should be cleared to an unusable state. Login will only be possible
24962   after the password is reset, for instance by e-mail.
24963 * (bug 6394) Invalidate the password set for "by e-mail" account creations
24964   to avoid accidental empty password creations.
24965 * Made the show change size function work on page moves, page creations, and
24966   log entries. Also fixed it in the javascript recentchanges.
24967 * (bug 8239) correctly get 50 new contributions when clicking '(50 next)'
24968 * (bug 2259) Fix old regression where e-mail addresses were no longer
24969   confirmed on login with mailed password.
24970 * Add a notification about the confirmation mail sent during account
24971   creation, so people don't immediately go off to request a second one.
24972 * Add a warning on Special:Confirmemail if a code was already sent and has
24973   not yet expired.
24974 * Add user_editcount field to provide data for heuristics on account use.
24975   Incremented on edit, with lazy initialization from past revision data.
24976   Can batch-initialize with maintenance/initEditCount.php (not yet friendly
24977   to replication environments, this will do all accounts in one query).
24978 * Allow raw SQL subsections in Database::update() SET portion as well as
24979   for WHERE portion. Handy for increments and such.
24980 * User::getOption now accept a default value to override default user values
24981   this makes it consistent with WebRequest::get* methods. Corrected code in
24982   various places accordingly.
24983 * (bug 8264) Fix JavaScript global vars for XHTML mode
24984 * Make $wgSiteNotice value wikitext again, for consistency with editable
24985   MediaWiki:Sitenotice and MediaWiki:Anonnotice.
24986 * (bug 8044) When redirecting from the canonical name of the special page
24987   to the localised one, parameters/subpages are omitted
24988 * (bug 8164) Special:Booksources should use GET for form submission
24989 * Rewrite Special:Booksources to clean up interface and remove redundant code
24990 * (bug 7925) Change Special:Allmessages message name filter javascript to be
24991   a bit more responsive and easier on the CPU
24992 * (bug 4488) Support watching pages on deletion; introduces new user preference
24993 * Minor restructuring of Special:Preferences; "watch pages I edit" and "watch
24994   pages I create" options now accessible under "Watchlist" options
24995 * (bug 8153) <nowiki> doesn't work in site notice
24996 * (bug 6690) wfMsgNoTrans() transforms messages
24997 * (bug 8274) Wrap edit tools in a <div> with a specified class
24998 * Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
24999   mysteriously otherwise (detection code copied from install-utils.inc)
25000 * (bug 8295) Change handling of <center> tags in doBlockLevels() to match that
25001   of <div>
25002 * (bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
25003   (plus optional ISBN-13 prefix) with no immediately following alphanumeric
25004   character, disallow multiple consecutive internal redirects
25005 * (bug 2785) Accept optional colon prefix in links when formatting comments
25006 * Don't show "you can view and copy the source of this page" message for
25007   pages which don't exist
25008 * (bug 8310) Blank line added to top of 'post' when page is blank
25009 * (bug 8109) Template parameters ignored in "recentchangestext"
25010 * Gracefully skip redirect-to-fragment on WebKit versions less than 420;
25011   it messes up on current versions of Safari but is ok in the latest
25012   nightlies. Checking the version number will allow it to automatically
25013   work when new releases of Safari appear.
25014 * Fix regression in thumb styles; size and padding didn't match with
25015   new arrangement.
25016 * (bug 8333) Fix quick user data update on login password change on
25017   replication database setups. User data is now pulled from master
25018   instead of slave in User::loadFromDatabase, ensuring that it is
25019   fresh and accurate when read and then saved back into cache.
25020   This was breaking with the Special:Rename operation which
25021   automatically logs the user in with the new password after changing
25022   it; pulling from slave meant the record was often not the updated
25023   one.
25024 * (bug 8335) Set image width to the first valid parameter found.
25025 * (bug 8350) Fix watchlist viewing bug when using Postgres.
25026 * (bug 6603) When warning about invalid file extensions, output the bit
25027   of the extension we actually checked
25028 * (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility
25029   with MySQL's strict mode, often enabled by the Windows installer.
25030   The defaults are ignored anyway when strict mode is off...
25031 * (bug 7685) Use explicit values for ar_text and ar_flags when deleting,
25032   for better compatibility with MySQL's strict mode
25033 * Update default interwiki values to reflect changed location of ursine:
25034 * (bug 5411) Remove autopatrol preference
25035 * Users who have the "autopatrol" permission will have their edits marked as
25036   patrolled automatically
25037 * Users who do not have the "autopatrol" permission will no longer be able
25038   to mark their own edits as patrolled
25039 * Introduce 'PingLimiter' hook; see docs/hooks.txt for more information
25040 * (bug 532) Tweaked alt text for some interface messages
25041 * (bug 8231) Gave useful alt text to the main <img> on image pages
25042 * (bug 371) Remove alt text for "Enlarge" icon on thumbnails
25043 * Initialize user_editcount to 0 instead of NULL for newly created accounts
25044 * (bug 3696) Strip LRM and RLM characters from titles to work around the
25045   problem some people have where titles cut-and-pasted from lists include
25046   the bidi override characters appended to the lists.
25047   A more thorough blacklist for forbidden and translatable characters would
25048   be wise, though, as might a cleaner method for the lists in the first place.
25049 * Fix regression in email password resets on read-restricted sites
25050 * Set tabindex on fields in deletion form so you don't have to tab through
25051   the links in the sitenotice
25052 * (bug 8271) Show full time and date on viewer for individual deleted
25053   revisions
25054 * (bug 8214) Output file size limit and actual file size in appropriate units
25055   on Special:Upload
25056 * (bug 8016) Purge objectcache table during upgrade processes - use the
25057   --nopurge option to prevent this when running maintenance/update.php
25058 * (bug 7612) Remove superfluous link to Special:Categories from result items
25059   on Special:Mostcategories
25060 * {{PLURAL:}} now handles formatted numbers correctly
25061 * (bug 8331) Added the change size value to watchlists; therefore made
25062   watchlists use RecentChange::newFromRow() instead of newFromCurRow()
25063 * (bug 8351) Fix undo for simple reverts
25064 * (bug 6856) User::clearNotification() does not respect read-only mode
25065 * (bug 6853) Use a checkbox on the installer form to indicate that a superuser
25066   account should be used; this is clearer than the old check which relied on
25067   the password never being an obscure value
25068 * Remove old unused watchlist cache, which was a leftover from the old schema
25069   where watchlists were more expensive to generate
25070 * Minor cosmetic changes to Special:Userrights
25071 * Added wgCanonicalSpecialPageName to JavaScript variables
25072 * Fix image deleting when using Postgres.
25073 * Output both source and destination titles in maintenance/moveBatch.php
25074 * Added basic parser tests for language variants
25075 * Enable selflinks and categories to be written in some of the language variants
25076 * Prevent conversion of JavaScript code in language variants
25077 * Output software version number in maintenance/parserTests.php
25078 * (bug 7169) Use Ajax to watch/unwatch articles if enabled
25079 * Make variant table caching a little more robust, using main language code
25080   in cache key. Probably this is still a bit wonky, though. Was breaking
25081   parser tests when Chinese tables were getting loaded into Serbian code.
25082 * (bug 8380) Be nicer about blank lines in deleteBatch.php
25083 * (bug 8401) Fix regression in SORBS lookup for some DNS setups
25084 * Use raw file descriptor in posix_isatty() check to avoid warning on
25085   Linux systems with at least some versions of PHP
25086 * (bug 5908) Allow overriding the default category sort key for all items on
25087   a page using {{DEFAULTSORT}}
25088 * (bug 6449) Throw a more definitive error message when installation fails
25089   due to an invalid database name
25090 * (bug 5827) Use full text for option link labels on Special:Watchlist
25091 * (bug 8018) Allow hiding minor edits from the watchlist
25092 * (bug 8427) MonoBook RTL IE 7.0 tweaks failed when sidebar's navigation
25093   section is renamed; no longer relies on first section name
25094 * Stabilize client-side table sorting even if the underlying Javascript sort()
25095   implementation is unstable
25096 * Add hook for extensions to add user information to the panel in preferences,
25097   next to the user name and ID.
25098 * (bug 8392) Display protection status of transcluded pages in the edit page
25099   template list. Patch by Fyren, with i18n naming tweak.
25100 * Fix for interwiki transclusion where target wiki uses query string for title
25101 * Resolve namespaces on interwiki Title objects using canonical namespace names
25102   if possible (should not happen, though, outside interwiki transclusion... and
25103   maybe not even then, but it does)
25104 * (bug 8447) Fix SQL typo breaking non-default $wgHitcounterUpdateFreq
25105 * Do not allow previews of deleted images to be cached
25106 * Add global variable $wgDefaultLanguageVariant used to set the default language
25107   variant of a wiki to something different than the main language code
25108 * Add 'variant' option to parserTests - runs test with the given variant as
25109   preferred, utilize it for more parser tests of language variants code
25110 * (bug 6503) Fix bug that stopped certain irrelevant links from being hidden
25111   for printing
25112 * Avoid PHP warning in Creative Commons metadata when a creative commons
25113   license is not actually set up
25114 * (bug 8463) Don't print external link icons for Monobook
25115 * (bug 8461) Support watching pages on move
25116 * (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is
25117   loaded by skipping the function. Use wfDebugBacktrace() wrapper function.
25118 * Reduce config file clutter by setting various script and upload paths
25119   based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
25120   overridden in LocalSettings.php if desired...
25121 * Attempt to detect redirect loops for the canonical title redirect, and
25122   give some hints to the poor confused administrator.
25123 * Introduce new flag 'R' - raw output for language variant escape tags
25124 * Advise users when updates for a query page have been disabled using
25125   $wgDisableQueryPageUpdate
25126 * (bug 8413) Improve comments for $wgNamespaceRobotPolicies
25127 * (bug 8330) Show "bytes" suffix on recent changes diff counter
25128   optionally... if set in rc-changes-size message (default empty for now)
25129 * (bug 8489) Support basic links in <gallery> caption attribute
25130 * (bug 8485) Correct Lingala number formatting
25131 * The MediaWiki namespace is no longer pre-filled with default messages on
25132   install. All default messages will be removed from the MediaWiki namespace
25133   on upgrade.
25134 * Recentchanges RSS/Atom feeds now use a separate message for the description
25135   to avoid cluttering it with useless wiki formatting
25136 * (bug 8417) Handle EXIF unknown dates
25137 * (bug 8372) Return nothing on empty <math> tags.
25138 * New maintenance script to show the cached statistics : showStats.php.
25139 * Count deleted edits when regenerating total edits in maintenance/initStats.php
25140 * (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt
25141   permission key has been added to enable this behavior, by default assigned to
25142   sysops.
25143 * (bug 7948) importDump.php now warn that Recentchanges need to be rebuild.
25144 * (bug 7667) allow XHTML namespaces customization
25145 * (bug 8531) Correct local name of Lingála (patch by Raymond)
25146 * Fix regression with default lock file and cache directories; threw visible
25147   warning with open_basedir
25150 == 1.8 Compatibility changes ==
25152 === Zend Optimizer ===
25154 A bug in some versions of PHP 5 and Zend Optimizer which was triggered under
25155 MediaWiki 1.8.x has been worked around by disabling some internal debugging
25156 features when Zend Optimizer is loaded. This should solve some common
25157 "blank page" problems.
25159 === PHP 5.0 64-bit ===
25161 MediaWiki now checks for a condition where PHP 5.0.x corrupts array data
25162 on 64-bit systems and warns you to upgrade PHP to solve the problem. This
25163 bug causes Special: pages to fail on affected systems under MediaWiki 1.8
25164 and higher, and subtler data corruption on earlier versions.
25166 The only known workaround is to upgrade PHP to 5.1 or later, which you
25167 probably should do anyway for security reasons!
25169 === MySQL 5 ===
25171 MediaWiki should now install and run correctly on MySQL 5.0 and higher when
25172 MySQL's "strict mode" is enabled. (This is now the default for many Windows
25173 installations, though it seems to remain off by default on Unix.)
25175 This fixes errors about "cannot default default value for BLOB/TEXT fields".
25177 === ImageMagick ===
25179 Note that ImageMagick older than 6.x may no longer work for image resizing
25180 due to use of the -thumbnail option.
25183 == 1.8 Behavior changes ==
25185 === Localized special pages ===
25187 The names of Special: pages can now be localized, so links and URLs to them
25188 are more legible in languages that aren't English.
25190 Not all languages have included localized names yet.
25192 === E-mail password ===
25194 Users are now required to set a new password for themselves when they first
25195 log in with a newly generated e-mailed password.
25197 Requesting passwords frequently is prevented to reduce abusive mailbombing.
25199 === Undo revision ===
25201 An "undo" link now appears in diff view for easier reverting of older edits.
25202 When GNU diff3 is available for edit conflict merging, this can make it much
25203 easier to "undo" the changes of an older edit when there are surrounding
25204 changes elsewhere in the page.
25206 The changes must be manually reviewed and approved, as with conventional
25207 full-revision reverts.
25209 === Blocking ===
25211 User blocks can be set to disable the automatic blocking of IP addresses the
25212 account logs in with.
25215 == 1.8 Database changes ==
25217 * new 'redirect' table stores data on page redirects
25218 * new 'querycachetwo' table used for some cached special pages
25219 * 'ipblocks' table adds 'ipb_enable_autoblock'
25220 * 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking
25221 * 'user' table has added 'user_newpass_time' and 'user_editcount' fields
25222 * some indexes have been updated on 'recentchanges'
25224 == 1.8 Configuration changes ==
25226 Several configuration options have changed since 1.8:
25228 === $wgEnableAPI ===
25230 The experimental machine API interface is now enabled by default, read-only.
25231 You can disable it by setting $wgEnableAPI = false; in LocalSettings.php.
25233 === $wgPathInfo ===
25235 The use of PATH_INFO (the text after the script name in 'index.php/Blah')
25236 is controlled by the $wgUsePathInfo setting. This is now explicitly disabled
25237 for CGI, apache2filter, and ISAPI configurations of PHP, for more consistency
25238 with the autodetection from the installer.
25240 In some rarer configurations you may have to switch $wgUsePathInfo from false
25241 to true or, perhaps, from true to false to make things work properly if bad
25242 PATH_INFO data comes through the server.
25244 The wiki now tries to detect this condition and should show you an error
25245 message describing what to change instead of sending the browser into an
25246 infinite redirect loop.
25248 === $wgScript and other path settings ===
25250 The following configuration variables are now automatically set in Setup.php
25251 if they are not overridden in LocalSettings.php:
25253 from $wgScriptPath:
25254  + $wgScript
25255  |  \- $wgArticlePath
25256  + $wgRedirectScript
25257  + $wgStylePath
25258  + $wgUploadPath
25259     \- $wgLogo
25260      + $wgMathPath
25262 from $IP:
25263  - $wgStyleDirectory
25264  + $wgUploadDirectory
25265    \- $wgMathDirectory
25266     + $wgTmpDirectory
25268 Newly generated configuration files will by default include only $wgScriptPath
25269 (hardcoded from the installer) and $IP (detected at runtime).
25271 Old configuration files which specify all these values explicitly should
25272 continue to work just fine, but if you use the defaults you can remove them
25273 to reduce clutter.
25275 === $wgGroupPermissions ===
25277 The sysop group now holds the "autopatrol" and "ipblock-exempt" rights by
25278 default.
25280 "autopatrol" replaces the preference for marking ones own edits patrolled
25281 by default; users holding this permission will automatically have their
25282 edits patrolled, while others cannot mark their own edits as patrolled
25283 even if they have patrolling rights.
25285 "ipblock-exempt" excludes the user from IP blocks; accounts which are blocked
25286 explicitly by name will still be blocked, however. This is given to sysops
25287 to minimize annoyance from accidental "collateral damage"; remember that a
25288 sysop will be able to lift the block if they desire.
25290 The bot group now holds the "nominornewtalk" right. A user with this right
25291 will not trigger new message notifications when making minor edits to user
25292 talk pages. This is meant to minimize annoyance from maintenance bot
25293 processes.
25295 === $wgUseWatchlistCache ===
25297 Watchlist caching has been removed. The feature was not maintained, and has
25298 been unnecessary since switching to the 'recentchanges' database table
25299 reduced server pressure for Wikipedia's watchlists.
25301 === $wgBreakFrames ===
25303 MediaWiki in the past attempted to detect when it was embedded in a frameset
25304 and "break out" of it, assuming it to be hostile.
25306 This behavior is now disabled by default, but can be reenabled by setting
25307 $wgBreakFrames to true in LocalSettings.php.
25310 == 1.8 New settings ==
25312 === $wgVariantArticlePath ===
25314 For languages with script variant support (Chinese, Serbian, and others),
25315 it's possible to use alternate URL paths to select the variant for article
25316 display, setting $wgVariantArticlePath.
25318 Documentation for this setting would be useful.
25320 === $wgMaxMsgCacheEntrySize ===
25322 The message cache can now skip items larger than a given size; this allows
25323 it to better handle the primary caching case when large CSS and JS blobs are
25324 present.
25326 === $wgStyleVersion ===
25328 When making significant changes to skin stylesheets and JavaScript files,
25329 you can append a string to this variable to tweak the generated URLs,
25330 forcing newly rendered pages to bring in a fresh version despite server-
25331 or browser-side caching.
25333 Normally this will be set in the course of MediaWiki development, but
25334 if doing development on a custom skin you may wish to poke it as well.
25336 === $wgRCShowChangedSize ===
25338 Special:Recentchanges and Special:Watchlist now show the number of bytes
25339 added or removed to an article to give an idea of the size of the edit.
25340 This information was previously available only in the IRC update feeds.
25342 To disable this site-wide, set $wgRCShowChangedSize to false.
25343 (Individual users can suppress the data in custom CSS.)
25345 Adjust $wgRCChangedSizeThreshold to trigger highlighting of particularly
25346 large changes.
25348 The formatting of the size figure can be adjusted through the
25349 [[MediaWiki:Rc-change-size]] message.
25351 === $wgQueryCacheLimit ===
25353 The number of rows stored for "expensive" special pages in miser mode
25354 can now be adjusted up or down from the default 1000.
25356 === $wgDisableQueryPageUpdate ===
25358 Individual "expensive" special pages can be skipped in processing by
25359 updateSpecialPages if added to this list.
25361 === $wgSorbsUrl ===
25363 The base hostname for the DNS-based proxy blacklist can now be overridden
25364 when $wgEnableSorbs is set, to use a different blacklist instead of SORBS.
25365 The blacklist would need to respond the same was as SORBS; any positive
25366 response will be taken as a proxy.
25368 === $wgAjaxWatch ===
25370 Experimental AJAX mode for the watch/unwatch tabs to execute inline.
25371 Does not include the UI messages describing how to reach the watchlist,
25372 so you may not want it on a general-audience site just yet.
25374 === $wgParserTestFiles ===
25376 MediaWiki's parser test suite can now be expanded with additional test
25377 files. Custom extensions can add their test files to this array, and
25378 they will be run along with the main tests by maintenance/parserTests.php
25380 = MediaWiki 1.8=
25382 == MediaWiki 1.8.5 ==
25384 September 10, 2007
25386 This is a security fix update to the Fall 2006 quarterly release snapshot. A
25387 possible HTML/XSS injection vector in the API pretty-printing mode has been
25388 found and fixed.
25390 The vulnerability may be worked around in an unfixed version by simply
25391 disabling the API interface if it is not in use, by adding this to
25392 LocalSettings.php:
25394 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
25396 (This is the default setting in 1.8.x.)
25398 Not vulnerable versions:
25399 * 1.11 >= 1.11.0
25400 * 1.10 >= 1.10.2
25401 * 1.9 >= 1.9.4
25402 * 1.8 >= 1.8.5
25404 Vulnerable versions:
25405 * 1.11 <= 1.11.0rc1
25406 * 1.10 <= 1.10.1
25407 * 1.9 <= 1.9.3
25408 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
25410 MediaWiki 1.7 and below are not affected as they do not include the faulty
25411 function, however the BotQuery extension is similarly vulnerable unless updated
25412 to the latest SVN version.
25414 == MediaWiki 1.8.4 ==
25416 February 20, 2007
25418 This is a security and bug-fix update to the Fall 2006 quarterly release.
25420 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
25421 charset autodetection was located in the AJAX support module, affecting MSIE
25422 users on MediaWiki 1.6.x and up when the optional setting
25423 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
25425 If you are using an extension based on the optional Ajax module, either disable
25426 it or upgrade to a version containing the fix:
25427 * 1.9: fixed in 1.9.3
25428 * 1.8: fixed in 1.8.4
25429 * 1.7: fixed in 1.7.3
25430 * 1.6: fixed in 1.6.10
25432 There is no known danger in the default configuration, with $wgUseAjax off.
25434 * (bug [[bugzilla:8819|8819]]) Fix full path disclosure with skins dependencies
25435 * Add 'charset' to Content-Type headers on various HTTP error responses to
25436 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
25437 default when the script didn't specify more details, which some inconsiderate
25438 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
25439 This fixes an issue with the Ajax interface error message on MSIE when
25440 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
25441 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
25442 from BugSec: http://www.bugsec.com/articles.php?Security=24
25443 * Trackback responses now specify XML content type
25445 == MediaWiki 1.8.3 ==
25447 January 9, 2007
25449 MediaWiki 1.8.3 fixes several issues in the Fall 2006 snapshot release:
25451 * ([[mediazilla:7831|7831]]) Regression in AutoAuthenticate hook
25452 * Run PHP install version checks on update.php so command-line updaters see new
25453 version requirements
25454 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
25455 as of MW 1.8 than it used to be. Install or upgrade now aborts with a warning
25456 and a request to upgrade.
25457 * XSS fix in AJAX module
25459 An XSS injection vulnerability was located in the AJAX support module,
25460 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
25461 enabled.
25463 There is no danger in the default configuration, with $wgUseAjax off.
25465 If you are using an extension based on the optional AJAX module, either disable
25466 it or upgrade to a version containing the fix:
25468 == MediaWiki 1.8.2 ==
25470 October 13, 2006
25472 MediaWiki 1.8.2 fixes several issues in the Fall 2006 snapshot release:
25474 * ([[mediazilla:7565|7565]]) Fixed typos in German localisation
25475 * ([[mediazilla:7562|7562]]) Fix non-ASCII namespaces on Windows/XAMPP servers
25477 == MediaWiki 1.8.1 ==
25479 October 11, 2006
25481 MediaWiki 1.8.1 fixes several issues in the Fall 2006 snapshot release:
25483 * Fix PHP notice and estimates for dumpBackup.php and friends
25484 * Improved register_globals paranoia checks
25485 * ([[mediazilla:7545|7545]]) Fix PHP version check on install
25486 * Experimental web API disabled by default
25487 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails is
25488 set. Backtraces may contain sensitive information in function call parameters.
25490 == MediaWiki 1.8.0 ==
25492 October 10, 2006
25494 This is the quarterly release snapshot for Fall 2006. While the code has been
25495 running on Wikipedia for some time, installation and upgrade bits may be less
25496 well tested. Bug fix releases may follow in the coming days or weeks.
25498 MediaWiki is now using a "continuous integration" development model with
25499 quarterly snapshot releases. The latest development code is always kept "ready
25500 to run", and in fact runs our own sites on Wikipedia.
25502 Release branches will continue to receive security updates for about a year
25503 from first release, but nonessential bugfixes and feature development happen
25504 will be made on the development trunk and appear in the next quarterly release.
25506 Those wishing to use the latest code instead of a branch release can obtain it
25507 from source control: [[Download from SVN]]
25509 == Configuration changes ==
25510 * $wgUseETag, to enable/disable sending of HTTP ETag headers (default: disabled)
25511 * $wgLegalTitleChars now includes '+' by default for better compatibility with
25512 importing data dumps from Wikipedia
25513 * $wgDefaultUserOptions now includes all default option settings instead of
25514 only overrides.
25516 == Major new features ==
25517 * ([[mediazilla:7098|7098]]) Add an option to disable/enable sending of HTTP
25518 ETag headers, as it seems to result in broken behaviour in combination with
25519 Squid 2.6 (disabled by default).
25520 * ([[mediazilla:550|550]]) Allow blocks on anonymous users only.
25521 * ([[mediazilla:6420|6420]]) Render thumbnails for DJVU images, support
25522 multipage DJVU display on image pages. Added new 'page=' thumbnail option to
25523 select a page from a multipage djvu for thumbnail generation.
25524 * Full Postgres support is now enabled. It requires version 8.1 or better, and
25525 needs to have both plpgsql and tsearch2 already installed.
25526 * ([[mediazilla:6386|6386]]) fix grammatical errors in danish naming of talk
25527 namespaces.
25529 == Changes since 1.7 ==
25531 * Introduced AjaxResponse object, superceding AjaxCachePolicy
25532 * Changes to sajax_do_call: optionally accept an element to fill instead of a
25533   callback function; take the target function or element as a third parameter;
25534   pass the full XMLHttpRequest object to the handler function, instead of just
25535   the resultText value; use HTTP response codes to report errors.
25536 * (bug 6562) Removed unmaintained ParserXml.php for now
25537 * History paging overlap bug fixed
25538 * (bug 6586) Regression in "unblocked" subtitle
25539 * Don't put empty-page message into view-source when page text is blank
25540 * (bug 6587) Remove redundant "allnonarticles" message
25541 * Block improvements: Allow blocks on anonymous users only. Optionally allow
25542   or disallow account creation from blocked IP addresses. Prevent duplicate
25543   blocks. Fixed the problem of expiry and unblocking erroneously affecting
25544   multiple blocks. Fixed confusing lack of error message when a blocked user
25545   attempts to create an account. Fixed inefficiency of Special:Ipblocklist in
25546   the presence of large numbers of blocks; added indexes and implemented an
25547   indexed pager.
25548 * (bug 6448) Allow filtering of Special:Newpages according to username
25549 * (bug 6618) Improve permissions/error detection in Special:Lockdb
25550 * Quick hack for extension testing: parser test doesn't create new message
25551   cache object.
25552 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
25553   {{REVISIONID}} when Cite extension is used
25554 * (bug 6622) Removed deprecated function Image::newFromTitle
25555 * (bug 6627) Fix regression in Special:Ipblocklist with table prefix
25556 * Removed forced dereferencements (new() returns a reference in PHP5)
25557 * Note about $wgUploadSizeWarning using byte
25558 * (bug 6592) Add most viewed pages summary to Special:Statistics
25559 * Pre-strip characters ignored in IDNs from URLs so they can't be used
25560   to break the blacklists for regular URLs
25561 * Fix regression in blocking of user accounts
25562 * (bug 6635) Fix regression searching for range blocks on Ipblocklist
25563 * Fix regression searching Ipblocklist with ugly URLs
25564 * (bug 6639) Use a consistent default for upload directories
25565 * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
25566 * (bug 6642) Don't offer to unlock the database when it isn't locked
25567 * cleanupTitles.php changed from --dry-run option to --fix, so default
25568   behavior is now a non-invasive check as with namespaceDupes.php
25569 * (bug 6660) Fix behavior of EditPage::blockedPage() when the article does
25570   not exist; now doesn't show the source box if the user hasn't provided it
25571   (blocked mid-edit) and the page doesn't exist
25572 * Improve default value of "blockedtext"
25573 * (bug 6680) Added localisation for Dutch bookstore list (nl)
25574 * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer
25575   usage
25576 * Fix regression which allowed some blocked users to create additional accounts
25577 * (bug 6657) Fix Hungarian linktrail
25578 * (bug 6751) Fix preview of blanked section with edit on first preview option
25579 * (bug 5456) Separate MediaWiki:Search into messages for both noun and verb,
25580   introduced 'MediaWiki:Searchbutton'
25581 * Made lines from initialiseMessages() appear as list items during installation
25582 * Moved the bulk of the localisation data from the Language*.php files to the
25583   Messages*.php files. Deleted most of the Languages*.php files.
25584 * Introduced "stub global" framework to provide deferred initialisation of core
25585   modules.
25586 * Removed placeholder values for $wgTitle and $wgArticle, these variables will
25587   now be null during the initialisation process, until they are set by index.php
25588   or another entry point.
25589 * Added DBA cache type, for BDB-style caches.
25590 * Removed custom date format functions, replacing them with a format string in
25591   the style of PHP's date(). Used string identifiers instead of integer
25592   identifiers, in both the language files and user preferences. Migration should
25593   be transparent in most cases.
25594 * Simplified the initialisation API for LoadBalancer objects.
25595 * Removed the broken altencoding feature.
25596 * Moved default user options and toggles from Language to User. Language objects
25597   are still able to define default preference overrides and extra user toggles,
25598   via a slightly different interface.
25599 * Don't include the date option in the parser cache rendering hash unless
25600   $wgUseDynamicDates is enabled.
25601 * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php.
25602 * Removed inclusion of language files from the bottom of Language.php. This is
25603   now consistently done from Language::factory().
25604 * Add the name of the executing maintenance script to the debug log. Start the
25605   profiler during maintenance scripts.
25606 * Added "serialized" directory, for storing precompiled data in serialized form.
25607 * Fix regression in auto-set NS_PROJECT_TALK namespace
25608 * Fix regression in ordering of namespaces
25609 * (bug 6806, 6030) Added several global JS variables for article path, user
25610   name, page title, etc.
25611 * hooks registered with addOnloadHook are now called at the one of the html body
25612   by all skins.
25613 * Split ajax aided search from core ajax framework. Use wgUseAjax to enable the
25614   framework and wgAjaxSearch to enable the suggest feature for the search box.
25615 * Added experimental installer for extensions.
25616   See maintenance/installExtension.php
25617 * Added Tajic (tg) language file.
25618 * (bug 6903) Added Cantonese localisation (zh-yue)
25619 * Fix regression in Korean and Japanese date formatting (day of week)
25620 * (bug 6919) Add English alias magic words for Tatar (tt) language file.
25621 * (bug 6753) Fixed broken Kazakh linktrail (kk)
25622 * (bug 6700) Added Kazakh language variants to Names.php
25623 * (bug 6827) some i18n specific maintenance scripts fails after merge of
25624   localisation-work branch
25625 * Throwed an exception for the deprecated functions OutputPage::sysopRequired
25626   and OutputPage::developerRequired - use OutputPage::permissionRequired
25627   instead.
25628 * Removed the deprecated functions User::isSysop, User::isBureaucrat and
25629   User::isDeveloper - use User::isAllowed instead.
25630 * (bug 769) OutputPage::permissionRequired() should suggest groups with the
25631   needed permission
25632 * (bug 6971) Fix regression in Special:Export history view
25633 * Revamped Special:Imagelist
25634 * (bug 7000) updated MessagesPl.php
25635 * (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
25636 * (bug 1866) Improve navigation on Special:Listusers; user now a starting
25637   point as with Special:Allpages, rather than a pure limit.
25638 * Clean up tab order on Special:Blockip
25639 * (bug 5969) Clean up tab order on Special:Userlogin forms
25640 * (bug 3512) namespaceDupes now handles spaces and initial caps properly
25641 * (bug 7037) Fix regression in login tab order
25642 * (bug 7031) Report missing email on 'email password' instead of false success
25643 * (bug 7010) Don't send email notifications for watched talk pages when user
25644   has selected to receive only updates for their own talk page
25645 * Added {{CURRENTHOUR}}
25646 * Added [[:Image:Foo.png]] style links to the pagelinks table
25647 * Avoid duplicate revision imports with Special:Import
25648 * (bug 7054) Validate email address before sending email confirmation message
25649 * (bug 7061) Format title on "from (page)" links on Special:Allpages
25650 * (bug 7044) Introduce "padleft" and "padright" colon functions
25651 * Pass page title as parameters to "linkshere" and "nolinkshere" and update
25652   default message text
25653 * Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true;
25654   in LocalSettings.php
25655   Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops
25656   by default, and displayed as a second line if appropriate
25657 * (bug 832) Return to user page after emailing a user
25658 * (bug 366) Add local-system-timezone equivalents for date/time variables
25659 * (bug 7109) Fix Atom feed version number in header links
25660 * (bug 7075) List registered parser function hooks on Special:Version
25661 * (bug 7059) Introduce "anchorencode" colon function
25662 * Include SVN revision number in {{CURRENTVERSION}} output, where applicable
25663 * Fix bug in wfRunHooks which caused corruption of objects in the hook list
25664 * (bug 4979) Use simplified email addresses when running on Windows
25665 * (bug 4434) Show block log fragment on Special:Blockip
25666 * [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any
25667   number of disambiguation templates.
25668 * [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages
25669   that embed any of the templates listed at [[MediaWiki:Disambiguationspage]].
25670 * Fix formatting of titles on Special:Undelete
25671 * (bug 7026) Fix action=raw&templates=expand
25672 * (bug 6976) Add namespace and direction classes to classic skins
25673 * (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the user
25674   can't read the main page in the first place
25675 * (bug 7188) Fix minor borkage in HTMLForm
25676 * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in
25677   Special:Upload
25678 * Add a quickie script dumpSisterSites.php for generating a page list in the
25679   format for WSR-1 SisterSites support
25680 * (bug 7223) Monobook.js is used for site content, should not be localized
25681 * Set default disabled values for DjVu render options
25682 * Added Xml::option() for generating <option>s easily
25683 * Localized page numbers in drop-down for DjVu page selection
25684 * Fixed linktrail for vi
25685 * (bug 6893) "Call to a member function exists() on a non-object" on
25686   trackback.php with bad input
25687 * (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete
25688 * (bug 6887) PHP error for call to getId() on bad input to
25689   Special:Revisiondelete
25690 * (bug 6888) PHP error for call to getTimestamp() on bad input to
25691   Special:Revisiondelete
25692 * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required
25693   if texvc is rebuilt.
25694 * (bug 7279) Use wfBaseName in place of basename() in more places
25695 * Clear newtalk marker on diff links with explicit current revision number
25696 * (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
25697 * (bug 6777) Remove some PHP 4 compat cruft
25698 * Add --user, --comment, and --license options to importImages.php
25699 * (bug 6216) The immobile namespace message does not mention the source page
25700 * (bug 7299) Normalize username filter on Special:Newpages
25701 * (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges
25702 * (bug 7312) Don't emit SET NAMES utf8 if connection failed
25703 * (bug 7305) Proper compare for bot check on RC notify, should fix overrides
25704   that force edits by non-bot users to bot mode
25705 * Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user
25706   preferences don't get stuck in proxy caches for other people
25707 * (bug 7324) Fix error message for failure of Database::sourceFile()
25708 * (bug 7309) Plurals: use singular form for zero in French and Brazilian
25709   Portuguese
25710 * Add page_no_title_convert field to support language variant conversion
25711   for page titles which shouldn't be converted on display/linking
25712 * Lazy extraction of text chunks in Revision objects, may reduce hits to
25713   external storage when actual text content is not used
25714 * Added experimental $wgRevisionCacheExpiry to cache extracted revision text
25715   in $wgMemc, to further reduce hits to external storage.
25716   Set to 0 (disabled) by default.
25717 * Minor changes to the installer.
25718 * Remove ":" for 'youremail' and 'yourrealname' in
25719   includes/templates/Userlogin.php so that ":" could be used in i18n for
25720   Special:Preferences (like 'username' and 'uid').
25721 * Fix layout for Special:Preferences->Date and Time (position for
25722   'timezonetext').
25723 * Updates to language variant code for Serbian et al
25724 * (bug 6756) Enabling RTL direction for kk-cn
25725 * (bug 6701) Kazakh language variants in MessagesEn.php
25726 * (bug 7335) SVN revision check in Special:Version fails on SVN 1.4 working copy
25727 * (bug 6518) Replaced 'lastmodified' with 'lastmodifiedat' and 'lastmodifiedby'
25728   with 'lastmodifiedatby' with separated parameters for date and time to allow
25729   better localisation. Updated all message files to display the old format for
25730   compatibility.
25731 * (bug 7357) Make supposedly static methods of Skin actually static
25732 * Added info text to Special:Deadendpages and Special:Lonelypages
25733 * Fix regression in cachability of generated CSS and JS for MonoBook skin,
25734   while avoiding clobbering of different users' cached data
25735 * (bug 6849) Block @ from usernames; interferes with multi-database tools and
25736   was meant to be banned years ago... For now existing accounts will not be
25737   prevented fromm login.
25738 * (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2},
25739   {{REVISIONMONTH}}, {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}}
25740 * (bug 7425) Preceeding whitespace in [[...]] breaks subpages
25741 * Try to reconnect after transitory database errors in dumpTextPass.php
25742 * (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now
25743   notification mails are working after 'Mark all pages visited' button on
25744   Special:Watchlist is clicked
25745 * Made {{INT:}} a core parser function instead of a special case. The syntax
25746   and behavior is largely unchanged.
25747 * (bug 7448) Fixing the native name for Ewe (ee)
25748 * (bug 6864) Replace message 'editing' with new message 'editinguser' in
25749   Special:Userrights to allow better localisation
25750 * Add '*-summary' for special pages to MessagesEn.php to allow
25751   customizing/translation directly through Special:Allmessages
25752 * (bug 6130, bug 5818) Replaced message 'go'  with the new message
25753   'searcharticle' in skins to allow better localisation
25754 * Add + to $wgLegalTitleChars by default. Some sites may have occasional
25755   problems with hard-to-reach pages, but it should be less trouble than
25756   "I can't import dumps from Wikipedia" complaints
25757 * (bug 7460) Revert broken patch for bug 7226 which slows down
25758   Special:Allmessages by a factor of 16
25759 * Committed a bunch of live hacks from Wikimedia servers
25760 * (bug 6889) PHP notices in thumb.php with missing params
25761 * Cleaner error behavior on thumb.php with invalid page selection
25762 * (bug 6617) Validate timestamps on Special:Undelete
25763 * Do fewer unnecessary full writes of user rows; only update user_touched
25764   for watch/unwatch, group membership change, and login operations
25765 * Restructured the languages directory, to avoid problems when people
25766   untar MW 1.8 over the top of a 1.7 installation.
25767 * (bug 6890) SQL query error on bad input to Pager lists
25768   due to negative LIMIT clause, caused by integer wraparound.
25769 * Fixed various bugs related to table prefixes, especially the interaction
25770   between table prefixes and memcached, which was formerly completely broken.
25771 * (bug 7004) PHP iconv() notice on bad password input to Special:Userlogin.
25772 * (bug 6826) Extend pre-save transform context link ("pipe trick")
25773   syntax to pages with commas in title
25774 * Use ImageMagick -thumbnail option instead of -resize to avoid including
25775   excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
25776 * (bug 7499) Corrections to Swedish talk namespace names
25777 * (bug 7508) Added option to compress HTML pages by dumpHTML.php
25778 * (bug 7519) Add plural in SpecialWatchlist
25779 * (bug 7459) Magic word variables are always case sensitive
25780 * Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files
25781 * Fix regression in Special:Watchlist text header
25782 * (bug 7510) Update article counts etc on undelete
25783 * (bug 7520) Update article counts on XML import
25784 * (bug 7526) Make $wgDefaultUserOptions work again
25785 * (bug 7472) Localize Help namespace for Basque
25786 * (bug 7529) Including a non-existent category in an article places that article
25787   in the category
25788 * (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
25789 * (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner,
25790   twoheadrightarrow, twoheadleftarrow
25791 * (bug 7367) Hyphens sometimes erroneously appended to equations when not
25792   converted to PNG
25793 * Add "title" to the opensearch link to allow automatic adding of the search
25794   engine in Firefox 2
25795 * (bug 7537) Add php5 to $wgFileBlacklist
25796 * (bug 6929) Restore AutoAuthenticate hook
25798 == Languages updated ==
25799 * Albanian (sq)
25800 * Bashkir (ba)
25801 * Bavarian (bar) stub file
25802 * Belarusian (be)
25803 * Bishnupriya (bpy) stub file
25804 * Brazilian Portuguese (pt-br)
25805 * Cantonese (zh-yue)
25806 * Catalan (ca)
25807 * Czech (cs)
25808 * Dutch (nl)
25809 * English (en)
25810 * Finnish (fi)
25811 * French (fr)
25812 * Georgian (ka)
25813 * German (de)
25814 * Hebrew (he)
25815 * Hungarian (hu)
25816 * Indonesian (id)
25817 * Japanese (ja)
25818 * Korean (ko)
25819 * Latin (la)
25820 * Lojban (jbo)
25821 * Macedonian (mk)
25822 * Mazandarani (mzn)
25823 * Polish (pl)
25824 * Portuguese (pt)
25825 * Ripuarian (ksh)
25826 * Romani (rmy)
25827 * Russian (ru)
25828 * Slovak (sk)
25829 * Spanish (es)
25830 * Tajic (tg)
25831 * Tatar (tt)
25832 * Telugu (te)
25833 * Uzbek (uz)
25834 * Yiddish (yi)
25836 == Compatibility ==
25837 MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
25839 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At
25840 this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
25842 == Upgrading ==
25843 Some minor database changes have been made since 1.7:
25844 * new fields and indexes on ipblocks
25845 * index change on recentchanges
25847 Several changes from 1.5 and 1.6 do require updates to be run on upgrade. To
25848 ensure that these tables are filled with data, run refreshLinks.php after the
25849 upgrade.
25851 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
25852 changes are made, and there is a slightly higher chance that things could
25853 break. Don't forget to always back up your database before upgrading!
25855 === Caveats ===
25856 Some output, particularly involving user-supplied inline HTML, may not produce
25857 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
25858 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
25859 recommended on live sites. (This must be set for MathML to display properly in
25860 Mozilla.)
25862 = MediaWiki 1.7=
25864 == MediaWiki 1.7.3 ==
25866 February 20, 2007
25868 This is a security and bug-fix update to the Summer 2006 quarterly release.
25870 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
25871 charset autodetection was located in the AJAX support module, affecting MSIE
25872 users on MediaWiki 1.6.x and up when the optional setting
25873 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
25875 If you are using an extension based on the optional Ajax module, either disable
25876 it or upgrade to a version containing the fix:
25878 * 1.9: fixed in 1.9.3
25879 * 1.8: fixed in 1.8.4
25880 * 1.7: fixed in 1.7.3
25881 * 1.6: fixed in 1.6.10
25883 There is no known danger in the default configuration, with
25884 [[Manual:$wgUseAjax|$wgUseAjax]] off.
25886 * Add 'charset' to Content-Type headers on various HTTP error responses to
25887 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
25888 default when the script didn't specify more details, which some inconsiderate
25889 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
25890 This fixes an issue with the Ajax interface error message on MSIE when
25891 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
25892 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
25893 from BugSec: http://www.bugsec.com/articles.php?Security=24
25894 * Trackback responses now specify XML content type
25896 == MediaWiki 1.7.2 ==
25898 January 9, 2007
25900 * Note about $wgUploadSizeWarning using byte
25901 * Update to German bookstore list (de)
25902 * (bug [[bugzilla:6680|6680]]) Added localisation for Dutch bookstore list (nl)
25903 * (bug [[bugzilla:6708|6708]]) Minor updates to Russian translation (ru)
25904 * (bug [[bugzilla:6730|6730]]) Clearer usage of message 'titlematch' in German
25905 translation (de)
25906 * Added direction mark to Special:Listredirects
25907 * XSS fix in AJAX module
25909 An XSS injection vulnerability was located in the AJAX support module,
25910 affecting MediaWiki 1.6.x and up when the optional setting
25911 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
25913 There is no danger in the default configuration, with
25914 [[Manual:$wgUseAjax|$wgUseAjax]] off.
25916 If you are using an extension based on the optional AJAX module, either disable
25917 it or upgrade to a version containing the fix:
25919 * 1.9: fixed in 1.9.0rc2
25920 * 1.8: fixed in 1.8.3
25921 * 1.7: fixed in 1.7.2
25922 * 1.6: fixed in 1.6.9
25925 == MediaWiki 1.7.1 ==
25927 July 8, 2006
25929 MediaWiki 1.7.1 is a security and bugfix maintenance release of the Summer 2006
25930 snapshot:
25932 A potential HTML/JavaScript-injection vulnerability in a debugging script has
25933 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
25934 overwrite vulnerability are affected.
25936 As a workaround for existing installs, profileinfo.php may simply be deleted if
25937 it's not being used.
25939 * Fix for 'emailconfirmed' implicit user group
25940 * Fix for upgrades on some versions of MySQL 4.0.x
25941 * Fixed potential XSS in profileinfo.php
25942 * Installer now shows clear error message about old PHP versions rather than a
25943 confusing parse error
25945 == MediaWiki 1.7.0 ==
25946 July 6, 2006
25948 This is the quarterly release snapshot for Summer 2006. While the code
25949 has been running on Wikipedia for some time, installation and upgrade
25950 bits may be less well tested. Bug fix releases may follow in the coming
25951 days or weeks.
25953 MediaWiki is now using a "[[w:en:Continuous_integration|continuous
25954 integration]]" development model with
25955 quarterly snapshot releases. The latest development code is always kept
25956 "ready to run", and in fact runs our own sites on Wikipedia.
25958 Release branches will continue to receive security updates for about a year
25959 from first release, but nonessential bugfixes and feature development happen
25960 will be made on the development trunk and appear in the next quarterly release.
25962 Those wishing to use the latest code instead of a branch release can obtain
25963 it from source control: [[Download from SVN]]
25965 == Changes since 1.6 ==
25967 * (bug 5458) Fix double-URL encoding in block log link in contribs and contribs
25968   link in block log
25969 * (bug 5462) Bogus missing patch warning in updater
25970 * (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked
25971 * PHP warning when allow_call_time_pass_reference is off
25972 * Update to Finnish localization
25973 * (bug 5467) Link to page histories in watchlist edit mode
25974 * Further additions to Hebrew localisation
25975 * (bug 5476) Invalid xhtml in German localization
25976 * (bug 5479) Id translation for preferences tabs caption
25977 * (bug 5493) Id translation for special pages
25978 * Added skinname and style path parameters to CBT version of MonoBook
25979 * Include subversion revision number in Special:Version if available
25980 * (bug 5344) Fix regression that broke slashes in extension tag parameters
25981 * Improve Special:Log performance on big log sets
25982 * (bug 5507) Changed mediawiki:logouttext from plain to wikitext
25983 * (bug 4760) Prevent creation of entries in protection log when protection
25984   levels haven't changed
25985 * (bug 861) Show page protection/unprotection events in histories
25986 * (bug 5499) Don't clear the tag strip state when asked not to clear state.
25987   Fixes regression with use of <ref> in a template breaking <nowiki> etc.
25988 * Minor improvements to English language files
25989 * Display the anon talk page info message on anon talk pages again
25990   (moved outside the parser cache)
25991 * Optional {{DISPLAYTITLE|title with markup}} magic word
25992   Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php
25993   to activate
25994 * Cleaned SpecialContributions a bit
25995 * Added a table to track interlanguage links
25996 * (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left
25997   languages
25998 * Replace "doubleredirectsarrow" with a content language check that picks the
25999   appropriate arrow
26000 * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits
26001   Lithuanian (lt)
26002 * Don't force edit summaries when a user is editing their own user/talk page
26003 * (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
26004 * (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
26005 * PersistentObject removed; it doesn't do anything and was broken besides.
26006   All extensions using it have been corrected.
26007 * Propagate ISBN number for Booksources in LanguageNo.php
26008 * (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
26009 * Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms
26010   for all) magic words
26011 * (bug 5403) Fix Special:Newpages RSS/Atom feeds
26012 * Reject malformed addresses in X-Forwarded-For entries
26013 * (bug 3359) Add hooks on completion of file upload
26014 * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
26015 * (bug 5475) New pages feeds ignore "limit" argument
26016 * (bug 5184) CSS misapplied to elements in Special:Allmessages due to
26017   conflicting anchor identifiers
26018 * (bug 5519) Allow sidebar cache to be disabled; disable it by default.
26019 * Maintenance script to import the contents of a text file into a wiki page
26020 * Add $wgReservedUsernames configuration directive to block account creation/use
26021 * (bug 5576) Remove debugging hack in session check
26022 * (bug 5426) Lowercase treatment of titles in rights log leads to broken links
26023   on Special:Log
26024 * Minor improvements to French localisation files
26025 * (bug 5181) Update "nogomatch" for Slovak
26026 * (bug 5594) Id translation up to # Login and logout pages section
26027 * (bug 5536) Use content language for editing help link
26028 * Improvements to German localisation files
26029 * (bug 5570) Problems using <special page>/parameter link form for long titles
26030 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
26031   registrations as well as self-registrations.
26032 * (bug 4327) Report age of cached data sets in query pages
26033 * (bug 4662) Fix Safari check in wikibits.js
26034 * (bug 4663) Edit toolbar enabled in compatible versions of Safari
26035 * (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
26036 * (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
26037 * Edit toolbar now works in pure XHTML mode (application/xhtml+xml)
26038 * Add watchlist clear function to allow quick purging of all items
26039 * (bug 5625) Additional namespace translations for Welsh
26040 * Add meta tag and JavaScript variables to cached special pages which provides
26041   the timestamp of the last update, in YYYYMMDDHHMMSS format.
26042 * (bug 5628) More translations for MessagesHr.php
26043 * (bug 5595) Localisation for Bosnian language (bs)
26044 * (bug 2910) Default view preferences for watchlists
26045 * Add "hide bot edits from the watchlist" user preference
26046 * (bug 5250) Introduce Special:Unusedtemplates
26047 * Add user preference setting for an extended watchlist, showing all recent
26048   edits up to a certain edit, and not just the latest edit.
26049 * Made MessageRo.php more general
26050 * (bug 5640) Indonesian localisation improvements
26051 * (bug 5592) Actions are logged with the default language for the
26052    wiki, not the language of the user performing the operation.
26053 * (bug 5644) Error in LanguageBs.php file
26054 * (bug 5646) Compare for identical types in wfElement()
26055 * (bug 5472) Language::userAdjust()->minDiff not initialized on else condition
26056 * (bug 5386) LanguageMk.php: updated namespaces translations
26057 * (bug 5422) Stub for Romani (rmy) language which extends ro
26058 * Fix linktrail for LanguageSr
26059 * (bug 5664) Fix Bosnian linktrail
26060 * (bug 3825) Namespace filtering on Special:Newpages
26061 * (bug 1922) When Special:Wantedpages is cached, mark links to pages
26062   which have since been created
26063 * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
26064   This sort of special casing should be removed and fixed properly.
26065 * Remove useless whitespace from Special:Brokenredirects header
26066 * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default
26067   text
26068 * (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
26069 * (bug 5709) Allow customisation of separator for categories
26070 * (bug 5684) Introduce Special:Randomredirect
26071 * (bug 5611) Add a name attribute to the text box containing source text in
26072   read-only pages
26073 * Indicate when a protected page is an interface message ("protectedinterface")
26074 * (bug 4259) Indicate when a protected page being edited is an interface message
26075   ("editinginterface")
26076 * (bug 4834) Fix XHTML output when using $wgMaxTocLevel
26077 * Pass login link to "whitelistedittext" containing 'returnto' parameter
26078 * (bug 5728): mVersion missing from User::__sleep() leading to constant cache
26079   miss
26080 * Updated maintenance/transstat.php so it can show duplicate messages
26081 * Improvements to update scripts; print out the version, check for superuser
26082   credentials before attempting a connection, and produce a friendlier error if
26083   the connection fails
26084 * (bug 5005) Fix XHTML <gallery> output.
26085 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
26086 * (bug 4825) note in DefaultSettings.php about 'profiling' table creation
26087 * Remove unneeded extra whitespace at top of Special:Categories
26088 * (bug 5679) time units are now using local numerals
26089 * (bug 5751) Updates to Portuguese localisation files
26090 * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
26091 * (bug 93) <nowiki> tags and tildes in templates
26092 * The returnto parameter is now actually used by SpecialUserlogin.php
26093 * Parser can now know that it is parsing an interface message
26094 * (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
26095 * Fix bug in wfMsgExt under PHP 5.1.2
26096 * (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
26097 * Rewrite reassignEdits script to be more efficient; support optional updates to
26098   recent changes table; add reporting and silent modes
26099 * Cleaned up formatNum usage in langfiles
26100 * (bug 5716) Warn when a user tries to upload a file which was previously
26101   deleted
26102 * (bug 5565) Add a class attribute to the table on Special:Allpages
26103 * "lang=xx" option for parser test cases to set content language
26104 * (bug 5764) Friulian translation updated
26105 * (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
26106 * (bug 5516) Show appropriate "return to" link on blocked page
26107 * (bug 5377) Do not auto-login when creating an account as another user
26108 * (bug 5284) Special redirect pages should remember parameters
26109 * Suppress 7za output on dumpBackup
26110 * (bug 5338) Reject extra initial colons in title
26111 * (bug 5487) Escape self-closed HTML pair tags
26112 * Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}}
26113   will produce a count minus formatting
26114 * Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an
26115   appropriate output format given the scope of the clean
26116 * (bug 5593) Change "bureaucrat log" to "rights log"
26117 * Show a boilerplate "(none)" in place of a blank within the log action text for
26118   user rights
26119 * (bug 137) Commented out translations for copyrightwarning which mention GNU
26120   FDL
26121 * (bug 5723) Don't count pages linked to from the MediaWiki namespace as
26122   "wanted"
26123 * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time
26124   formatted according to the current user's settings
26125 * (bug 5780) Thousands and decimal separators for Norwegian
26126 * Updated initStats maintenance script
26127 * (bug 5767) Fix date formats in Vietnamese locale
26128 * (bug 361) URL in URL, they were almost fixed. Now they are.
26129 * (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section"
26130   link/tab to show up on specific pages on demand
26131 * Bidi-aid on list pages
26132 * (bug 5782) Allow entries in the bad image list to use canonical namespace
26133   names
26134 * (bug 5789) Treat "loginreqpagetext" as wikitext
26135 * Sanitizer: now handles nested <li> in <ul> or <ol>
26136 * (bug 5796) We require MySQL >=4.0.14
26137 * Add 'EmailConfirmed' hook
26138 * New findhooks.php script to find undocumented hooks.
26139 * Silently ignore errors on profiling table update.
26140 * (bug 5801) Correct handling of underscores in Special:Listusers
26141 * Clean up Special:Listusers; add an "(all)" label to the group selection box
26142 * (bug 5812) Use appropriate link colour in Special:Mostlinked
26143 * (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale
26144 * (bug 5817) Appropriate handling for Special:Recentchangeslinked where the
26145   target page doesn't exist
26146 * Special:Randompage now additionally accepts English namespace name as
26147   parameter
26148 * (bug 2981) Really fixed linktrail for Tamil (ta)
26149 * Disallow substituting Special pages when included into a page
26150 * (bug 5587) Clean up the languages from references to the Groups special page
26151 * Added new group-X and group-X-member messages
26152 * Rewritten removeUnusedAccounts to be more efficient, print names of inactive
26153   accounts
26154 * Redirect Special:Userlist to Special:Listusers
26155 * Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded
26156   files bearing the image/svg MIME type. Disabled by default due to the vast
26157   majority of web servers being hideously misconfigured. See DefaultSettings.php
26158   for more details.
26159 * Changed default LocalSettings.php to append the previous include path when
26160   setting it
26161 * (bug 5837) Use "members" for the value descriptor in Special:Categories,
26162   Special:Wantedcategories and Special:Mostlinkedcategories.
26163 * (bug 3309) Allow comments when undeleting pages
26164 * Clean up Special:Undelete a bit
26165 * (bug 5805) messages nbytes, ncategories can now use {{plural:}}
26166 * Clean up Special:Imagelist a bit
26167 * (bug 5838) Namespace names for Nds-NL
26168 * (bug 5749) Added Tyvan language files
26169 * (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect
26170   data to show
26171 * (bug 5839) Prevent access to Special:Confirmemail for logged-out users
26172 * (bug 5853) Update for Portuguese messages (pt)
26173 * (bug 5851) Use Cyrillic for Kirghiz language name
26174 * (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message
26175 * (bug 5846) Link to individual group description pages in Special:Listusers
26176 * (bug 5857) Update for German localisation (de)
26177 * (bug 5858) Update for Russian language (ru)
26178 * (bug 5860) Update for Indonesian language (id)
26179 * (bug 1120) Update for Czech language (Cs)
26180 * Added many missing formatNum calls
26181 * Added grammar function to Belarusian (be)
26182 * (bug 5819) Add 'PersonalUrls' hook
26183 * (bug 5862) Update of Belarusian language (be)
26184 * (bug 5886) Update for Portuguese messages (pt)
26185 * (bug 5586) <gallery> treated text as links
26186 * (bug 5878) Update for Indonesian language (id)
26187 * (bug 5697) Update for Malay language (ms)
26188 * (bug 5890) Update for German language (de)
26189 * (bug 5889) Name for Sindhi language should appear as سنڌي
26190 * --force-normal parameter on dump scripts to force check for ICU extension
26191 * (bug 5895) Update for Dutch language (nl)
26192 * (bug 5891) Linktrail for Polish language (pl)
26193 * User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in
26194   v1.6 now die with a backtrace. They will be removed in v1.8
26195 * dumpTextPass now skips goes to database for entries that were blank in the
26196   previous dump, as this may indicate a broken dump.
26197 * dumpTextPass progress includes percentage of items prefetched
26198 * dumpTextPass can now use 7zip files for prefetch
26199 * (bug 5915) Update to Indonesian localisation (id)
26200 * (bug 5913) Update for German localisation (de)
26201 * (bug 5905) Plural support for Bosnian localisation (bs)
26202 * Groups which won't hit the rate limiter now configurable with
26203   $wgRateLimitsExcludedGroups
26204 * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages
26205 * (bug 5931) Update for Polish language (pl)
26206 * Ignore the user and user talk namespaces on Special:Wantedpages
26207 * Introduce NUMBEROFPAGES magic word
26208 * (bug 5833) Introduce CURRENTVERSION magic word
26209 * (bug 5370) Allow throttling of password reminder requests with the rate
26210   limiter
26211 * (bug 5683) Respect parser output marked as uncacheable when saving
26212 * (bug 5918) Links autonumbering now work for all defined protocols
26213 * (bug 5935) Improvement to German localisation (de)
26214 * (bug 5937) Register links from gallery captions with the parent parser output
26215   object so that link tables receive those updates too
26216 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
26217 * (bug 5941) Use content language when getting the administrator page title for
26218   Special:Statistics
26219 * (bug 5949) Update to Indonesian localisation (id)
26220 * (bug 5862) Update of Belarusian translation (be)
26221 * (bug 5950) Improvements to French localisation
26222 * (bug 5805) {{plural:}} support for counters in some special pages
26223 * (bug 5952) Improvement to German localisation (de)
26224 * Rename conflicting metadata help message to "metadata_help" (was "metadata")
26225   and treat it as wiki text
26226 * Improve preferences input filtering
26227 * Maintenance script to import multiple files into the wiki
26228 * (bug 5957) Update for Hebrew language (he)
26229 * (bug 5962) Update for Italian language (it)
26230 * (bug 5961) Update for Portuguese localisation (pt)
26231 * (bug 5849) Remove some hard-coded references to "Wikipedia" in messages
26232 * (bug 5967) Improvement to German localisation (de)
26233 * (bug 5962) Update for Italian language (it)
26234 * Suppress images in galleries which appear on the bad image list (when
26235   rendering for a wiki page; galleries in special pages and categories are
26236   unaffected)
26237 * Maintenance script to remove orphaned revisions from the database
26238 * (bug 5991) Update for Russian language (ru)
26239 * (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL
26240   magic words
26241 * (bug 5958) Switch Uzbek language name to use latin script
26242 * (bug 839) Add URLENCODE magic word
26243 * (bug 6004) Update for Polish language (pl)
26244 * (bug 5971) Improvement to German localisation (de)
26245 * (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect
26246   page that isn't current
26247 * (bug 2203) Namespace updates for Thai
26248 * Fix breakage in parser test suite which caused incorrect reporting of the
26249   failure of {{NUMBEROFFILES}}. Now initialises the site_stats table with some
26250   dumb data. Updated the expected output for {{NUMBEROFARTICLES}} to reflect
26251   this.
26252 * (bug 6009) Use {{ns:project}} in messages where appropriate
26253 * (bug 6012) Update to Indonesian localisation (id)
26254 * (bug 6017) Update list of bookstores in German localisation files
26255 * (bug 5187) Allow programmatically bypassing username validation, for scripts
26256 * (bug 6025) SpecialImport: wrong message when no file selected
26257 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
26258 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
26259 * (bug 2015) Add "\sim" to ~ conversion for HTML rendering
26260 * (bug 6029) Improvement to German localisation (de)
26261 * (bug 5015) Update be: magic words
26262 * (bug 3974) Add parameter for site URL to "passwordremindertext"
26263 * (bug 6039) Update for Portuguese localisation (pt)
26264 * (bug 764) Add CREATE TEMPORARY TABLES to default database permissions
26265 * Big update to Swedish localisation (sv)
26266 * Use appropriate HTML functions to create the tool links on image pages, so
26267   they don't look garbled when tidy isn't on
26268 * (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist
26269 * (bug 6046) Update to Indonesian localisation (id) #15
26270 * (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in
26271   specially-selected namespaces.
26272 * (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick
26273   Jenkins)
26274 * Reordered wiki table handling and __TOC__ extraction in the parser to better
26275   handle some overlapping tag cases.
26276 * Only the first __TOC__ is now turned into a TOC
26277 * (bug 4610) Indicate patrolled status on watchlists and allow users to mark
26278   changes as patrolled using the diff links there
26279 * Add 'DiffViewHeader' hook called before diff page output
26280 * (bug 6051) Improvement to German localisation (de)
26281 * (bug 6054) Update to Indonesian localisation (id) #16
26282 * Add {{CURRENTTIMESTAMP}} magic word
26283 * (bug 6061) Improper escaping in some html forms
26284 * (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics.
26285 * (bug 6074) Correct squid purging of offsite upload URLs
26286 * To simplify the lives of extension developers, the logging type arrays
26287   can now be appended to directly by an extension setup function. It is
26288   no longer necessary to write four separate functions just to add a
26289   custom log type.
26290 * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages)
26291 * Added $wgGrammarForms global
26292 * Fixed hardcoded 'done.' when removing watchlist entries.
26293 * (bug 5962) Update for Italian language (it)
26294 * (bug 6086) Remove vestigial attempt to call Article::validate()
26295 * wfHostname() function for consistent server hostname use in debug messages
26296 * Send thumbnailing error messages to 'thumbnail' log group
26297 * wfShellexec() now accepts an optional parameter to receive the exit code
26298 * Failed, but not zero-length, thumbnail renderings are now removed.
26299   Should help clean up when rsvg fails in weird ways.
26300 * (bug 6081) Change description for Turkmen language
26301 * Increase robustness of parser placeholders; fixes some glitches when
26302   adjacent to identifier-ish constructs such as URLs.
26303 * Shut up the parser test whining about files in a temp directory.
26304 * (bug 6098) Add Aragonese language support (an)
26305 * (bug 6101) Update for Russian language (ru)
26306 * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering
26307   problems. If errors are transitory, this should reduce annoying messages
26308   making it into cached display.
26309 * (bug 6103) Wrap self-links in a CSS class ("selflink")
26310 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
26311   character entities in URLs, not just ampersands. This allows use of eg
26312   &#61; when making URLs for template parameters.
26313 * Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
26314   under HTML-compatible browsers.
26315 * (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage
26316 * Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
26317 * (bug 472) Syndication feeds for the last few edits of page history
26318 * Format edit comments in Recent Changes feed
26319 * Switch incorrectly ordered column headers on Recent Changes feed diffs
26320 * (bug 6117) Use message for history feed description, add German localization
26321 * (bug 1017) fixed thumbnails of animated gifs.
26322 * Add APC as object caching option
26323 * Update to Albanian localization (sq)
26324 * (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an
26325   alias)
26326 * Use optimized php5-only microtime()
26327 * Add possibility to store local message cache as PHP executable script
26328 * Fix profiling table definition
26329 * (bug 6040) Run pre-save transform before calculating the diff. when doing a
26330   "show changes" operation in the editor
26331 * (bug 4033) Respect $wgStyleDirectory when checking available skins
26332 * Remove hideous backslashes from MessagesBr.php
26333 * Fix APC object cache issues, add functionality to installer
26334 * (bug 6133) Update strip state as we work. This mostly fixes extensions
26335   used in Cite.php <ref> tags when Tidy is on.
26336 * (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
26337 * (bug 6136) Update to Catalan language (ca)
26338 * Update to Japanese localization (ja)
26339 * Add /usr/local/bin to the diff3 search paths in the installer
26340 * (bug 6106) Update to Indonesian localisation (id) #17
26341 * (bug 6125) Add links to edit old versions to diff views
26342 * (bug 5127) Auto edit summary when creating/editing redirect page
26343 * (bug 3926) Introduce {{#language:}} magic word
26344 * Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles
26345 * (bug 6126) Allow fallback to customized primary language when user language
26346   message contains '-'; fixes licenses selector on Commons configuration after
26347   recent addition of the message to Messages.php
26348 * (bug 5527) Batch up job queue insertions for, hopefully, better survivability
26349   of lock contention etc. Duplicates are now removed at pop time instead of
26350   at insert time.
26351 * When showing the "blah has been undeleted" page, make sure it's a blue link
26352 * parserTests.php accepts a --file parameter to run an alternate test sutie
26353 * parser tests can now test extensions using !!hooks sections
26354 * Fix oddity with open tag parameters getting stuck on </li>
26355 * (bug 5384) Fix <!-- comments --> in <ref> extension
26356 * Nesting of different tag extensions and comments should now work more
26357   consistently and more safely. A cleaner, one-pass tag strip lets the
26358   'outer' tag either take source (<nowiki>-style) or pass it down to
26359   further parsing (<ref>-style). There should no longer be surprise
26360   expansion of foreign extensions inside HTML output, or differences
26361   in behavior based on the order tags are loaded.
26362 * (bug 885) Pre-save transform no longer silently appends close tags
26363 * Pre-save transform no longer changes the case of close tags
26364 * (bug 6164) Fix regression with <gallery> resetting <ref> state
26365 * Hackaround for IE 7 wrapping bug in MonoBook footer
26366 * New message sp-newimages-showfrom replaces rclistfrom on special:newimages
26367 * Improve handling of ;: definition list construct with overlapping or
26368   nested HTML tags
26369 * (bug 6171) Fix sanitizing of HTML-elements with an optional closing
26370   tag. The sanitizer still needs to learn how to make well-formed XML
26371   in this case.
26372 * Fix fatal error when specifying illegal name for manual thumbnail
26373 * (bug 6184) Use shinier Linker::userLink() to make user links in
26374   Special:Undelete
26375 * (bug 6170) Update for Kashubian translation (csb)
26376 * (bug 6191) Update to Indonesian translation (id) #18
26377 * (bug 6114) Update to Walloon localization (wa)
26378 * Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a
26379   per-namespace basis.
26380 * Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being
26381   interspersed into your ordered lists.
26382 * (bug 5021) Transcluding the same special page twice now works
26383 * Add 'SiteNoticeBefore' and 'SiteNoticeAfter' hooks
26384 * (bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time
26385   preferences
26386 * (bug 2587) Fix for section editing with comment prefix
26387 * (bug 2607) Fix for section editing with mix of wiki and HTML headings
26388 * (bug 3342) Fix for section editing with headings wrapped in <noinclude>
26389 * (bug 3476) Fix for section editing with faux headings in extensions
26390 * (bug 5272) Fix for section editing with HTML-heading subsections
26391 * Fix for bogus wiki headings improperly detected with following text
26392 * Fix for HTML headings improperly not detected with preceding/following text
26393 * Section extraction and replacement functions merged into one implementation
26394   on the Parser object, so they can't get out of sync with each other.
26395 * Edit security precautions in raw HTML mode, etc
26396 * (bug 6197) Update to Indonesian translation (id) #19
26397 * (bug 6175) Improvement to German translation (de)
26398 * Redirect Special:Logs to Special:Log
26399 * (bug 6206) Linktrail for Swedish localization (se)
26400 * (bug 3202) Attributes now allowed on <pre> tags
26401 * Sanitizer::validateTagAttributes now available to discard illegal/unsafe
26402   attribute values from an array.
26403 * (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
26404   to <div class="center">. <center> is perfectly valid in the target doctype
26405   (XHTML 1.0 Transitional), while the replacement didn't catch all cases and
26406   could even result in invalid output from valid input.
26407 * (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
26408   meta robots tag on diff view and special pages. Should reduce impact of
26409   robots on scrolling special pages, diffs etc on sites where robots.txt
26410   doesn't forbid access.
26411 * Regression fix: suppress warning about session failure when clicking to
26412   edit with 'preview on first edit' enabled.
26413 * (bug 6230) Regression fix: <nowiki> in [URL link text]
26414 * Added AutoLoader.php, which loads classes without need of require_once()
26415 * (bug 5981) Add plural function Slovenian (sl)
26416 * (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
26417 * {{PLURAL}} can now take up to five forms
26418 * (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
26419 * Remove a number of needless {{ns:project}}-type transforms from messages
26420   files. These usages already have separate label text. Such transforms are
26421   wasteful on each page view.
26422 * Update to Yiddish localization (yi)
26423 * (bug 6254) Update to Indonesian translation (id) #20
26424 * (bug 6255) Fix transclusions starting with "#" or "*" in HTML attributes
26425 * Whitespace now normalized more or less properly in HTML attributes
26426 * Fix regression(?) in behavior of initial-whitespace-pre in <center>
26427 * (bug 6260) Update to Interlingua localization (ia)
26428 * Update to Vlax Romany localization (rmy)
26429 * Update to Latin translation (la)
26430 * Update to Dutch translation (nl)
26431 * Avoid some notices in page history with bad input
26432 * Use double quoted consistently on attributes in linker output; preparing
26433   for new normalization code when tidy not in use
26434 * Replace "nogomatch" with "noexactmatch" and place the magic colon in the
26435   messages themselves. Some minor tweaks to the actual message content.
26436 * Introduce $wgContentNamespaces which allows for articles to exist in
26437   namespaces other than the main namespace, and still be counted as valid
26438   content in the site statistics.
26439 * (bug 5932) Introduce {{PAGESINNAMESPACE}} magic word
26440 * Disable $wgAllowExternalImages by default.
26441 * (bug 2700) Nice things like link completion and signatures now work in
26442   <gallery> tags.
26443 * Cancel output buffering in StreamFile; when used inside gzip buffering this
26444   could cause funny timeout behavior as the Content-Length was wrong.
26445 * Return correct content-type header with 304 responses for StreamFile;
26446   it confuses Safari if you let it return "text/html".
26447 * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
26448 * (bug 6162) Change date format for Dutch Low Saxon (nds-nl)
26449 * (bug 6296) Update to Indonesian localisation (id) #21
26450 * Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
26451 * (bug 4054) Add "boteditletter" to recent changes flags
26452 * Update to Catalan localization (ca)
26453 * (bug 2099) Deleted image files can now be archived and undeleted.
26454   Set $wgSaveDeletedFiles on and an appropriate directory path in
26455   $wgFileStore['deleted']['directory']
26456 * (bug 6324) Fix regression in enhanced RC alignment
26457 * Introduce {{NUMBEROFADMINS}} magic word
26458 * Update to Slovak translation (sk)
26459 * Update to Alemannic localization (gsw)
26460 * (bug 6300) Bug fixes for sr: variants
26461 * namespaceDupes.php can now accept an arbitrary prefix, for checking rogue
26462   interwikis and such. Not yet fully automated.
26463 * (bug 6344) Add Special:Uncategorizedimages page
26464 * (bug 6357) Update to Russian translation (ru)
26465 * Workaround possible bug in Firefox nightlies by properly removing the
26466   Content-Encoding header instead of sending explicit 'identity' value
26467   in StreamFile
26468 * (bug 6304) Show timestamp for current revision in diff pages
26469 * Vertically align current version with old version header in diff display
26470 * (bug 6174) Remove redundant "emailforlost" message
26471 * (bug 6189) Show an error to an unprivileged user trying to create account
26472 * (bug 6365) Show user information in the "old revision" navigation links
26473 * Introduce 'FetchChangesList' hook; see docs/hooks.txt for more information
26474 * (bug 6345) Update to Indonesian localisation (id) #22
26475 * (bug 6279) Add genitive month names to Slovenian localisation
26476 * (bug 6351) Update to German translation (de)
26477 * Respect language directionality when displaying arrow in
26478   Special:Brokenredirects
26479 * Remove unused "validation" table definitions from the schema files
26480 * (bug 6398) Work around apparent PCRE bug breaking section editing when
26481   massively-indented preformatted text immediately followed a header
26482 * (bug 6392) Fix misbehaving <br /> in preferences form
26483 * Add translated magic words to Hebrew localization
26484 * (bug 6396) Change name for Chuvash language
26485 * Introduce optional (off by default) language selector bar for user login
26486   and registration. Customisable via the "loginlanguagelinks" message, the
26487   links will preserve "returnto" values. If the user creates an account while
26488   using such a link, then the language in use will be saved as their language
26489   preference.
26490 * Make sure '~~~' '~~~~' '~~~~~' are removed in Nickname preference.
26491 * Rename "ipusuccess" to "unblocked", change the format (now wiki text)
26492 * (bug 2316) Add "caption" attribute to <gallery> tag
26493 * Allow setting the skin object that ImageGallery will use; needed during parse
26494   operations (the skin must come from the ParserOptions, not $wgUser)
26495 * Fix notice in MacBinary detection debug data for files of certain lengths
26496 * (bug 6131) Add type detection for DjVu files, allowing them to be uploaded
26497   with validity checking and size detection. No inline thumbnailing yet,
26498   but could be added in the future.
26499 * (bug 6423) Don't update newtalk flag if page content didn't change (null edits
26500   were causing the newtalk flag to trigger inappropriately)
26501 * Parser functions are now set using magic words.
26502 * (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0
26503   set
26504 * (bug 4990) Show page source to blocked users on edits, or their modified
26505   version if blocked during an edit
26506 * (bug 5903) When requesting the raw source of a non-existent message page,
26507   return blank content (as opposed to the message key)
26508 * Improve default blank content of MediaWiki:Common.css and
26509   MediaWiki:Monobook.css
26510 * (bug 6434) Allow customisation of submit button text on Special:Export
26511 * (bug 6314) Add user tool links on page histories
26512 * Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off
26513 * (bug 6438) Update to Indonesian translation (id) #23
26514 * Adding the language code parameter to the hook "LanguageGetMagic", to allow
26515   localizble extensions magic words.
26516 * Update to Romanian translation (ro)
26517 * Update to Esperanto translation (eo)
26518 * Check for preg_match() existence when installing and die out whining about
26519   PCRE if it's not there, instead of throwing a fatal error
26520 * (bug 672) Add MathAfterTexvc hook
26521 * Update to Piedmontese localization (pms)
26522 * dumpBackup can optionally compress via dbzip2
26523 * (bug 2483) Run link updates on change via XML import
26524 * (bug 2481) List imported pages during Special:Import
26525 * (bug 2482) Log and RC entries for Special:Import events
26526 * Allow fetching all revisions from transwiki Special:Import
26527 * Allow fetching all revisions from Special:Export GET request
26528 * Disable output buffering on Special:Export; should help with streaming
26529   large numbers of history items.
26530 * Allow setting a maximum number of revisions for history Special:Export;
26531   pages with more than $wgExportMaxHistory revisions are excluded from
26532   export when history is requested.
26533 * Fix transwiki import of pages with space in name
26534 * Save null edit when importing pages through Special:Import
26535 * Update to Korean translation (ko)
26536 * Show a more specific message when an anonymous user tries to access
26537   Special:Watchlist
26538 * (bug 3278) Paging links in Special:Prefixindex
26539 * Added Latvian localization (lv)
26540 * (bug 6472) Fix regression in Special:Export with multiple pages
26541 * Update to Macedonian translation (mk)
26542 * Allow page moves over historyless self-redirects. Such are usually created
26543   as part of namespace rearrangements, and it's easier to clean them up if
26544   we can move over them.
26545 * Show some error results in moveBatch.php
26546 * (bug 6479) Allow specification of the skin to use during HTML dumps
26547 * (bug 6461) Link to page histories in Special:Newpages
26548 * (bug 6484) Don't do message transformations when preloading messages for
26549   editing
26550 * (bug 6201) Treat spaces as underscores in parameters to {{ns:}}
26551 * (bug 6006) Allow hiding the password change fields using an authentication
26552   plugin
26553 * (bug 6489) Use appropriate link colour on Special:Shortpages
26554 * Added formatnum magic word
26555 * Added Javanese localization (jv)
26556 * (bug 6491) Apply bad image list in category galleries
26557 * (bug 6488) Show relevant log fragment in Special:Movepage
26558 * Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true
26559 * Use mysql_real_escape_string instead of addslashes for string escaping in
26560   the MySQL Database class. This may fix some rare breakage with binary fields.
26561   Note that MediaWiki does not support the multibyte character sets where a
26562   "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
26563   in this regard due to the bit patterns which make head and tail bytes
26564   distinct.
26565 * (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set
26566 * (bug 6498) Use localized forms for image size in Special:Undelete
26567 * (bug 6485) Update to Indonesian translation (id) #24
26568 * Extension messages translation is now possible.
26569 * Add target namespace override selector for transwiki imports.
26570   $wgImportTargetNamespace specifies the default, to be used for
26571   Wiktionary's 'Transwiki:' namespace etc.
26572 * (bug 6506) Update to German localisation (de)
26573 * (bug 502) Avoid silly tabs on bad title by using virtual special page
26574 * (bug 6511) Add diff links to old revision navigation bar
26575 * (bug 6511) Replace 'oldrevisionnavigation' message with
26576   'old-revision-navigation'
26577 * Fix regression in Polish genitive month forms
26578 * (bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
26579   more consistent: Accept just a namespace prefix and a colon, reject input
26580   with interwiki prefixes, otherwise do what Title::makeTitleSafe() does.
26581 * (bug 6516) Update to Russian translation
26582 * New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'.
26583 * Rename "searchquery" to "searchsubtitle" and support wiki text in it
26584 * Introduce updateArticleCount maintenance script which uses a better check that
26585   reflects what Article::isCountable() tests for
26586 * Introduce 'BadImage' hook; see docs/hooks.txt for more information
26587 * Add "searchsubtitleinvalid" message for searches that are not valid titles.
26588 * (bug 5962) Update to Italian localisation
26589 * (bug 6530) Update to Indonesian localisation (id) #25
26590 * (bug 6523) Fix SVG issue in rebuildImages.php
26591 * (bug 6512) Link to page-specific logs on page histories
26592 * (bug 6504) Allow configuring session name with $wgSessionName
26593 * (bug 6185) Add standard user tool links to log page views
26594 * Update to Venetian translation (vec)
26595 * Update to Slovenian translation (sl)
26596 * Add standard user tool links to deleted revision list
26597 * Separate out EditPage's getContent bits from regular Article getContent.
26598   Cleans up read-only-mode warning on empty pages and neats up some code.
26599 * (bug 6565) Strict JavaScript writing
26600 * (bug 6570) Update to Indonesian localisation (id) #26
26601 * Added Telugu translation (te)
26602 * Update to Catalan translation (ca)
26603 * (bug 6560) Avoid PHP notice when trimming ISBN whitespace
26604 * Added namespace translation to Kannada (ka)
26605 * (bug 6566) Improve input validation on timestamp conversion
26606 * Implicit group "emailconfirmed" for all users whose email addresses are
26607   confirmed
26608 * (bug 6577) Avoid multiline parser breakage on <pre> with newline in attribute
26609 * (bug 6771) Make old revisions of MediaWiki pages available with action=raw
26612 == Compatibility ==
26613 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
26615 If you are unable to run PHP 5, you may have to stick with 1.6 for now.
26617 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
26618 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
26620 Experimental Oracle support has been dropped as it is unmaintained.
26622 == Upgrading ==
26623 Several changes to the database have been made from 1.6:
26625 * A new "langlinks" table tracks interlanguage links
26626 * A new "filearchive" table stores information on deleted files
26627 * A new "querycache_info" table stores information on query page updates
26629 To ensure that these tables are filled with data, run refreshLinks.php after
26630 the upgrade.
26632 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
26633 changes are made, and there is a slightly higher chance that things could
26634 break. Don't forget to always back up your database before upgrading!
26636 == Configuration changes ==
26638 Some configuration options have changed:
26639 * $wgAllowExternalImages now defaults to off for increased security.
26640 * $wgLocalTZoffset was in hours, it is now using minutes.
26641 * Extensions may register special pages via the $wgSpecialPages array without
26642 forcing an early load of the SpecialPage.php class file.
26644 == Major new features ==
26646 * Deleted files can now be archived and undeleted, if you set up an appropriate
26647 non-web-accessible directory. Set $wgSaveDeletedFiles on and an appropriate
26648 directory path in $wgFileStore['deleted']['directory']
26649 * Experimental PostgreSQL support has been updated. It may or may not be in
26650 usable shape; those interested in PostgreSQL are encouraged to follow 1.8
26651 development.
26653 === Caveats ===
26654 Some output, particularly involving user-supplied inline HTML, may not
26655 produce 100% valid or well-formed XHTML output. Testers are welcome to
26656 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
26657 cases, but this is not recommended on live sites. (This must be set for
26658 MathML to display properly in Mozilla.)
26660 = MediaWiki 1.6 =
26662 == MediaWiki 1.6.12 ==
26664 February 7, 2009
26666 This is a security update to the Spring 2006 quarterly release.
26668 A number of cross-site scripting (XSS) security vulnerabilities were discovered
26669 in the web-based installer (config/index.php). These vulnerabilities all
26670 require a live installer -- once the installer has been used to install a
26671 wiki,  it is deactivated.
26673 Note that cross-site scripting vulnerabilities can be used to attack any
26674 website in the same cookie domain. So if you have an uninstalled copy of
26675 MediaWiki on the same site as an active web service, MediaWiki could be used to
26676 attack the active service.
26678 If you are hosting an old copy of MediaWiki that you have never installed, you
26679 are advised to remove it from the web.
26681 == MediaWiki 1.6.11 ==
26683 December 15, 2008
26685 This is a security update to the Spring 2006 quarterly release.
26687 David Remahl of Apple's Product Security team has identified a number of
26688 security issues in previous releases of MediaWiki. Subsequent analysis by the
26689 MediaWiki development team expanded the scope of these vulnerabilities. The
26690 issues with a significant impact are as follows:
26692 * An XSS vulnerability affecting Internet Explorer clients for all MediaWiki
26693 installations with uploads enabled. [CVE-2008-5250]
26694 * An XSS vulnerability affecting clients with SVG scripting capability (such as
26695 Firefox 1.5+), for all MediaWiki installations with SVG uploads enabled.
26696 [CVE-2008-5250]
26697 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
26698 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
26700 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
26701 authorised user's login session, and to act as that user on the wiki. The
26702 authorised user must visit a web page controlled by the attacker in order to
26703 activate the attack. Intranet wikis are vulnerable if the attacker can
26704 determine the intranet URL, even if the attacker cannot access it.
26706 CSRF vulnerabilities allow an attacker to act as an authorised user on the
26707 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
26708 a specific and restricted way. The present CSRF vulnerability allows pages to
26709 be edited, with forged revision histories. Like an XSS vulnerability, the
26710 authorised user must visit the malicious web page to activate the attack.
26712 Rather than backport our SVG validation code to this ancient branch, we have
26713 instead disabled SVG uploads. To enable SVG uploads, please upgrade to
26714 MediaWiki 1.13.3 or later.
26716 The other two issues have been fixed.
26718 == MediaWiki 1.6.10 ==
26720 February 20, 2007
26722 This is a security and bug-fix update to the Spring 2006 quarterly release.
26724 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
26725 charset autodetection was located in the AJAX support module, affecting MSIE
26726 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
26728 If you are using an extension based on the optional Ajax module, either disable
26729 it or upgrade to a version containing the fix:
26731 * 1.9: fixed in 1.9.3
26732 * 1.8: fixed in 1.8.4
26733 * 1.7: fixed in 1.7.3
26734 * 1.6: fixed in 1.6.10
26736 There is no known danger in the default configuration, with $wgUseAjax off.
26738 * ([[mediazilla:8819|bug 8819]]) Fix full path disclosure with skins
26739 dependencies
26740 * Add 'charset' to Content-Type headers on various HTTP error responses to
26741 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
26742 default when the script didn't specify more details, which some inconsiderate
26743 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
26744 This fixes an issue with the Ajax interface error message on MSIE when
26745 $wgUseAjax is enabled (not default configuration); this UTF-7 variant on a
26746 previously fixed attack vector was discovered by Moshe BA from BugSec:
26747 http://www.bugsec.com/articles.php?Security=24
26748 * Trackback responses now specify XML content type
26750 == MediaWiki 1.6.9 ==
26752 January 9, 2007
26754 * ([[mediazilla:6621|bug 6621]]) Backported German translation for
26755 'eauthentsent'
26757 * ([[mediazilla:6680|bug 6680]]) Added localisation for Dutch bookstore list
26758 (nl)
26759 * ([[mediazilla:6730|bug 6730]]) Clearer usage of message 'titlematch' in
26760 German translation (de)
26761 * XSS fix in AJAX module
26763 An XSS injection vulnerability was located in the AJAX support module,
26764 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
26765 enabled.
26767 There is no danger in the default configuration, with $wgUseAjax off.
26769 If you are using an extension based on the optional AJAX module, either disable
26770 it or upgrade to a version containing the fix:
26772 * 1.9: fixed in 1.9.0rc2
26773 * 1.8: fixed in 1.8.3
26774 * 1.7: fixed in 1.7.2
26775 * 1.6: fixed in 1.6.9
26777 == MediaWiki 1.6.8 ==
26779 July 8, 2006
26781 MediaWiki 1.6.8 is a security and bugfix maintenance release of the Spring 2006
26782 snapshot:
26784 A potential HTML/JavaScript-injection vulnerability in a debugging script has
26785 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
26786 overwrite vulnerability are affected.
26788 As a workaround for existing installs, profileinfo.php may simply be deleted if
26789 it's not being used.
26791 * ([[mediazilla:5957|bug 5957]]) Updates to Hebrew translation (he)
26792 * Respect language directionality when displaying arrow in
26793 Special:Brokenredirects
26794 * ([[mediazilla:6415|bug 6415]]) Typo in Parser.php
26795 * Fixed potential XSS in profileinfo.php
26797 == MediaWiki 1.6.7 ==
26799 June 6, 2006
26801 MediaWiki 1.6.7 is a security and bugfix maintenance release of the Spring 2006
26802 snapshot:
26804 An HTML/JavaScript-injection vulnerability in the edit form has been closed.
26805 This vulnerability was new in 1.6.0; MediaWiki versions 1.5.x or earlier are
26806 not affected.
26808 Extensions, comments, and <nowiki><nowiki></nowiki> sections are now handled in
26809 a one-pass way which is more reliable and safer. Under earlier versions of
26810 MediaWiki, certain extensions could be abused to inject HTML/JavaScript into
26811 the page.
26813 Additional precautions are made against offsite form submissions when the
26814 restricted raw HTML mode is enabled.
26816 Some small localization and user interface updates are also included.
26818 *([[MediaZilla:6051|bug 6051]]) Improvement to German localisation (de)
26819 *([[MediaZilla:6017|bug 6017]]) Update bookstore list for German language (de)
26820 *([[MediaZilla:6138|bug 6138]]) Minor grammar tweak in "loginreqlink"
26821 *([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
26822 *Increase robustness of parser placeholders; fixes some glitches when adjacent
26823 to identifier-ish constructs such as URLs.
26824 *([[MediaZilla:5384|bug 5384]]) Fix <nowiki><!-- comments --> in <ref></nowiki>
26825 extension
26826 *Nesting of different tag extensions and comments should now work more
26827 consistently and more safely. A cleaner, one-pass tag strip lets the 'outer'
26828 tag either take source (<nowiki><nowiki></nowiki>-style) or pass it down to
26829 further parsing (<nowiki><ref></nowiki>-style). There should no longer be
26830 surprise expansion of foreign extensions inside HTML output, or differences in
26831 behavior based on the order tags are loaded.
26832 *([[MediaZilla:885|bug 885]]) Pre-save transform no longer silently appends
26833 close tags
26834 *Pre-save transform no longer changes the case of close tags
26835 *Edit security precautions in raw HTML mode, etc
26837 == MediaWiki 1.6.6 ==
26839 May 23, 2006
26841 MediaWiki 1.6.6 is a security and bugfix maintenance release.
26843 An XSS injection vector in brace replacement has been fixed, as have some
26844 potential problems with table parsing. Upgrading is strongly recommended for
26845 all users of 1.6. MediaWiki versions 1.5 and earlier are not affected.
26847 Additionally some localization and user interface updates are included.
26849 * Correct "revertpage" message in English
26850 * ([[MediaZilla:5507|bug 5507]]) Logouttext now uses wiki markup
26851 * (bugs [[MediaZilla:5857|5857]], [[MediaZilla:5957|5957]]) Update for German
26852 localisation (de)
26853 * ([[MediaZilla:5586|bug 5586]]) <nowiki><gallery></nowiki> treated text as
26854 links
26855 * ([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
26856 * ([[MediaZilla:6025|bug 6025]]) SpecialImport: wrong message when no file
26857 selected
26858 * ([[MediaZilla:6015|bug 6015]]) EditPage: add spacing in the boxes "edit is
26859 minor" and "watch this"
26860 * ([[MediaZilla:6018|bug 6018]]) Userrights: new message when no user specified
26861 ('nouserspecified')
26862 * ([[MediaZilla:6055|bug 6055]]) Fix for HTML/JS injection bug in variable
26863 handler (found by Nick Jenkins)
26864 * Reordered wiki table handling and <nowiki>__TOC__</nowiki> extraction in the
26865 parser to better handle some overlapping tag cases.
26866 * Only the first <nowiki>__TOC__</nowiki> is now turned into a TOC.
26867 * ([[MediaZilla:361|bug 361]]) URL in URL, they were almost fixed. Now they are.
26869 == MediaWiki 1.6.5 ==
26871 May 2, 2006
26873 * Rolled back the buggy patch for [[MediaZilla:5497|bug 5497]].
26875 == MediaWiki 1.6.4 ==
26877 May 2, 2006
26879 * Further improvements to Hebrew localisation
26880 * ([[MediaZilla:5544|bug 5544]]) Fix redirect arrow in Special:Listredirects
26881 for right-to-left languages
26882 * Replace "doubleredirectsarrow" with a content language check that picks the
26883 appropriate arrow
26884 * Remove live debugging hack which caused errors with certain database names
26885 * ([[MediaZilla:5510|bug 5510]]) Warning produced when using
26886 <nowiki>{{SUBPAGENAME}}</nowiki> in some namespaces
26887 * ([[MediaZilla:5548|bug 5548]]) Improvements to Indonesian localisation
26888 [patch: Ivan Lanin]
26889 * ([[MediaZilla:5403|bug 5403]]) Fix Special:Newpages RSS/Atom feeds
26890 * ([[MediaZilla:3359|bug 3359]]) Add hooks on completion of file upload
26891 * ([[MediaZilla:5184|bug 5184]]) CSS misapplied to elements in
26892 Special:Allmessages due to conflicting anchor identifiers
26893 * ([[MediaZilla:5519|bug 5519]]) Allow sidebar cache to be disabled; disable it
26894 by default.
26895 * Add $wgReservedUsernames configuration directive to block account creation/use
26896 * ([[MediaZilla:5576|bug 5576]]) Remove debugging hack in session check
26897 * ([[MediaZilla:5181|bug 5181]]) Update "nogomatch" for Slovak
26898 * ([[MediaZilla:5594|bug 5594]]) Id translation up to '# Login and logout
26899 pages' section
26900 * ([[MediaZilla:5536|bug 5536]]) Use content language for editing help link
26901 * Minor improvements to English language files
26902 * Improvements to German localisation files
26903 * ([[MediaZilla:5628|bug 5628]]) Translations for MessagesHr.php
26904 * (bugs [[MediaZilla:5595|5595]], [[MediaZilla:5644|5644]]) Localisation for
26905 Bosnian language (bs)
26906 * ([[MediaZilla:5592|bug 5592]]) Actions are logged with the default language
26907 for the wiki, not the language of the user performing the operation.
26908 * ([[MediaZilla:5646|bug 5646]]) Compare for identical types in wfElement()
26909 * Fix for concurrency problem in job queue (image description page invalidation)
26910 * ([[MediaZilla:5497|bug 5497]]) regeression in HTML normalization in 1.6
26911 (unclosed <nowiki><li>,<dd>,<dt></nowiki>)
26912 * ([[MediaZilla:5709|bug 5709]]) Allow customisation of separator for categories
26913 * ([[MediaZilla:4834|bug 4834]]) Fix XHTML output when using $wgMaxTocLevel
26914 * Improvements to update scripts; print out the version, check for superuser
26915 credentials before attempting a connection, and produce a friendlier error if
26916 the connection fails
26917 * ([[MediaZilla:5005|bug 5005]]): Fix XHTML <nowiki><gallery></nowiki> output.
26918 * ([[MediaZilla:5315|bug 5315]]) "Expires: -1" HTTP header made strictly valid
26919 (using 1970 date).
26920 * ([[MediaZilla:4825|bug 4825]]): note in DefaultSettings.php about 'profiling'
26921 table creation
26922 * Remove unneeded extra whitespace at top of Special:Categories
26923 * Rewrite reassignEdits script to be more efficient; support optional updates
26924 to recent changes table; add reporting and silent modes
26925 * Updated initStats maintenance script
26926 * ([[MediaZilla:5723|bug 5723]]) Don't count pages linked to from the MediaWiki
26927 namespace as "wanted"
26928 * ([[MediaZilla:5789|bug 5789]]) Treat "loginreqpagetext" as wikitext
26929 * ([[MediaZilla:5796|bug 5796]]) We require MySQL >=4.0.14
26931 == MediaWiki 1.6.3 ==
26933 April 10, 2006
26935 * Fix disappearing red-linked items in the watchlist editing view
26936 * ([[MediaZilla:5512|bug 5512]]) Spacing in "page has a history" deletion
26937 warning
26938 * ([[MediaZilla:5508|bug 5508]]) Switch ENGINE in table statements back to
26939 TYPE; fixes regression where some versions of MySQL 4.0.x wouldn't work
26940 * Added note about [[Manual:$wgUrlProtocols|$wgUrlProtocols]] format change
26942 == MediaWiki 1.6.2 ==
26944 April 8, 2006
26946 * Further improvements to Hebrew localisation
26947 * Fix 'copyright' message for Romanian
26948 * ([[MediaZilla:5476|bug 5476]]) Invalid xhtml in German localization
26949 * ([[MediaZilla:5479|bug 5479]]) Id translation for preferences tabs caption
26950 * ([[MediaZilla:5493|bug 5493]]) Id translation for special pages
26951 * Additional path fixes in the updater
26952 * ([[MediaZilla:5344|bug 5344]]) Fix regression that broke slashes in extension
26953 tag parameters
26955 == MediaWiki 1.6.1 ==
26957 April 5, 2006
26959 Some minor issues in the 1.6.0 release have been corrected:
26960 * ([[MediaZilla:5458|bug 5458]]) Fix double-URL encoding in block log link in
26961 contribs and contribs link in block log
26962 * ([[MediaZilla:5462|bug 5462]]) Bogus missing patch warning in updater
26963 * ([[MediaZilla:5461|bug 5461]]) Use of deprecated "showhideminor" in
26964 Special:Recentchangeslinked
26965 * PHP warning when allow_call_time_pass_reference is off
26966 * Update to Finnish localization
26968 == MediaWiki 1.6.0 ==
26970 April 5, 2006
26972 MediaWiki is now using a "continuous integration" development model with
26973 quarterly snapshot releases. The latest development code is always kept "ready
26974 to run", and in fact runs our own sites on Wikipedia.
26976 Release branches will continue to receive security updates for about a year
26977 from first release, but nonessential bugfixes and feature development will take
26978 place on the development trunk and will appear in the next quarterly release.
26980 Those wishing to use the latest code instead of a branch release can [[Download
26981 from SVN|obtain it from source control]].
26983 === What's new in 1.6 ===
26985 '''User interface:'''
26986 * The account creation form has been separated from the user login form.
26987 * Page protection/unprotection uses a new, expanded form
26989 '''Templates:'''
26990 * Categories and "what links here" now update as expected when adding or
26991 removing links in a template.
26992 * Template parameters can now have default values, as <nowiki>{{{name|default
26993 value}}}</nowiki>
26995 '''Uploads:'''
26996 * Optional support for rasterizing SVG images to PNG for inline display
26998 '''Feeds:'''
26999 * Feed generation upgraded to Atom 1.0
27000 * Diffs in RSS and Atom feeds are now colored for improved readability.
27002 '''Database:'''
27003 * MySQL 3.23.x support dropped; 4.0 or later required
27004 * Experimental support for Unicode mode of MySQL 4.1/5.0 (moderately tested)
27005 * Experimental Oracle support (not well tested!)
27007 '''Anti-spam extension support:'''
27008 * [[meta:SpamBlacklist extension|SpamBlacklist extension]] now has support for
27009 automated cleanup.
27010 * Support for a [[meta:ConfirmEdit extension|captcha extension]] to restrict
27011 automated spam edits.
27013 Numerous bug fixes and other behind-the-scenes changes have been made; see the
27014 file HISTORY for a complete change list.
27016 == Changes since 1.5 ==
27018 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
27020 Code quality:
27021 * Use strval() to make sure we don't accidentally get null on bad revision
27022   text loads or other fields mucking up XML export output
27023 * Clean up duplicate code for selection of changeslist style
27024 * Correct blob caching to reduce redundant blob loads on backups
27025 * (bug 3182) Clear link cache during import to prevent memory leak
27026 * Fixed possible infinite loop in formatComment
27027 * Wrap message page insertions in a transaction to speed up installation
27028 * Avoid notice warning on edit with no User-Agent header
27029 * (bug 3649) Remove obsolete, broken moveCustomMessages script
27030 * Avoid numerous redundant latest-revision lookups in history
27031 * Require PHP 4.3.2 or higher strictly now.
27032 * Tweak infinite-template-handling loop for PHP 5.1.1 string handling change
27033 * Remove unused OutputPage::addCookie()
27034 * Fix for short_open_tag off again; please don't break this, guys
27035 * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form
27036 * (bug 5302) Merge the two #p-search .pBody statements in monobook css.
27038 Database:
27039 * Finally dropped MySQL 3.23.x support
27040 * Oracle support
27041 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
27042 * Update all stats fields on recount.sql
27043 * (bug 3227) Fix SQL injection introduced in experimental code
27044 * Fix table prefix usage in Block::enumBlocks
27045 * (bug 3448) Set page_len on undelete
27046 * (bug 3506) Avoid MySQL error when Listusers returns no results
27047 * Skip update of disused 'rc_cur_time' field (todo: discard the field)
27048 * (bug 3735) Fix to run under MySQL 5's strict mode
27049 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
27050   NOTE: Enabling this may break existing wikis, and still doesn't
27051   work for all Unicode characters due to MySQL limitations.
27052 * MySQL 5.0 strict mode fix for moving unwatched pages
27053 * Ability to set the table name for external storage servers
27054 * Update ipblocks table in MySQL 5 table defs
27055 * Removed FulltextStoplist.php, no longer used (was for MySQL 3.x workaround)
27056 * Added templatelinks table, to track template inclusions. User-visible effects
27057   will be:
27058   * (inclusion) tag for inclusions in Special:Whatlinkshere
27059   * More accurate list of used templates on the edit page
27060   * More reliable cache invalidation when templates outside the template
27061     namespace are changed
27062 * Respect database prefix in dumpHTML.inc
27063 * Removed read-only check from Database::query()
27064 * Added externallinks table, to track links to arbitrary URLs
27065 * Added job table, for deferred processing of jobs. The immediate application is
27066   to complete the link table refresh operation when templates are changed.
27067 * Don't change the password of the MySQL root user.
27069 Documentation:
27070 * (bug 3306) Document $wgLocalTZoffset
27072 Hooks:
27073 (list not complete)
27074 * Move ArticleSave hook execution into Article insert/update functions,
27075   so they get called on non-EditPage actions that use these functions
27076   to create or update pages.
27077 * Added EditFilter hook, and output callback on EditPage::showEditForm()
27078   for a place to add in captcha-type extensions in the edit flow
27079 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
27080 * Fix for hook callbacks on objects containing no fields
27081 * Add a hook for additional user creation throttle / limiter extensions
27082 * Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser
27083   instance. This allows use of extension hooks if required.
27084 * Added AutoAuthenticate hook for external User object suppliers
27085 * Added 'PageRenderingHash' hook for changing the parser cache hash key
27086   from an extension that changes rendering based on nonstandard options.
27087 * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones
27088 * (bug 4456) Add hook for marking article patrolled
27089 * Add UserRights hook, fires after a user's group memberships are changed
27091 Images:
27092 * Support SVG rendering with rsvg
27093 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
27094 * (bug 3127) Render large SVGs at image page size correctly
27095 * Fix scaling of non-integer SVG unit sizes
27096 * (bug 2800) Don't scale up small images on |thumb| without explicit size
27097 * Use the real file link instead of the default-size rasterized version for
27098   large SVG images on image description page
27099 * Include the file name/type/size line for non-resized images
27100 * (bug 3489) PHP 5.1 compat problem with captioned images
27101 * (bug 3643) Fix image page display of large images with resizing disabled
27102 * Added a limit to the size of image files which can be thumbnailed
27103 * (bug 3806) Gracefully fall back to client-side scaling on |thumb| image
27104   that passes $wgMaxImageArea
27105 * (bug 153) Adjust thumbnail size calculations to match consistently;
27106   patch by David Benbennick
27107 * (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to
27108   be rerendered on demand, sitewide
27109 * (bug 1850) Additional fixes so existing local and remote images
27110   get a blue link even if there's no local description page
27111 * Avoid FATAL ERROR when creating thumbnail of non-existing image
27112 * (bug 4207) Wrong image size when using 100x200px syntax to scale image up
27113   patch by David Benbennick
27114 * Don't delete thumbnails when refreshing exif metadata. This caused thumbs
27115   to vanish mysteriously from time to time for files that didn't have metadata.
27116 * (bug 4426) Add link to user_talk page on image pages
27117 * Support a custom convert command for thumbnailing. See DefaultSettings.php
27118   and the comments for $wgCustomConvertCommand, for more information.
27119 * UserCan hook now allows advisory return values, rather than mandatory ones.
27121 Installer:
27122 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
27123   Why do people invent these crazy options that change language semantics?
27124 * Fixed installer bugs 921 and 3914 (issues with using root and so forth)
27125 * (bug 4258) Use ugly urls for ISAPI by default
27126   patch by Rob Church
27127 * Improve installer
27128     * Use a superuser account (such as root), if specifed, to create tables
27129     * Don't overwrite conservative permissions on the mySQL user with ALL
27130       permissions, if said user exists
27131     * Changes to some of the wording of explanations for fields
27132 * (bug 1734) granting db permissions failed with db usernames containg '-'
27133 * Add basic check for session support in PHP and die if not present
27135 Maintenance:
27136 * Fix problem reported on mailing list where re-initialising stats didn't work
27137   (can't insert duplicate rows with the same id field)
27138 * Added --conf option to command line scripts, allowing the user to specify a
27139   different LocalSettings.php.
27140 * Maintenance script to delete unused text records
27141 * Maintenance script to delete non-current revisions
27142 * Maintenance script to wipe a page and all revisions from the database
27143 * Maintenance script to reassign edits from one user to another
27144 * Maintenance script to find and remove links to a given domain
27145   (cleanupSpam.php)
27146 * Fix --report interval option for dumpTextPass
27148 i18n / Languages:
27149 * Partial support for Basque language (from wikipedia and meta)
27150 * (bug 3141) Partial support for Breton language (thanks Fulup).
27151 * Support for venitian language
27152 * (bug 1334) LanguageGa.php update
27153 * Finnish date format was hardcoded, now implemented properly
27154 * (bug 3190) Added some date format choices for language sr
27155 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
27156 * (bug 3204) Fix typo breaking special pages in fy localization
27157 * (bug 3177) Estonian date formats not implemented in LanguageEt.php
27158 * (bug 1020) Changing user interface language does not work immediately
27159 * (bug 3271) Updated LanguageNn.php for HEAD
27160 * Experimental feature to allow translation of block expiry times
27161   Implementation only for Finnish currently
27162 * (bug 3304) Language file for Croatian (LanguageHr.php)
27163 * (bug 2143) Update Vietnamese interface
27164 * (bug 3063) Remove some hardcodings from Hebrew localisation
27165 * (bug 3408) Bulgarian formatNum corrected
27166 * (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
27167   harm than good under current system by breaking incoming URLs with "ux".
27168   (Editing is not affected, just URLs.)
27169 * (bug 1423) LanguageJa.php update
27170 * Fix language name for dv
27171 * (bug 3503) Update LanguageSq.php from sq.wikipedia.org messages
27172 * (bug 3629) Fix date & time format for Frisian
27173 * (bug 3334) Namespace changes for Polish
27174 * (bug 3580) Change default Dutch language file to more neutral
27175 * (bug 3656) LanguageHr.php - added convertPlural
27176 * (bug 3414) LanguageBe.php - added convertPlural
27177 * (bug 3163) Full translation of LanguageBr
27178 * (bug 3617) Update for portuguese language (pt)
27179 * Namespaces hacks on LanguagePl
27180 * (bug 3682) LanguageSr.php - added convertPlural
27181 * (bug 3694) LanguageTr.php update
27182 * (bug 3711) Removed invisible unicode characters from LanguageHu
27183 * (bug 2981) Linktrail for Tamil (ta)
27184 * (bug 3722) Update of Arabic language (ar) Namespace changes
27185 * Removed hardcoded Norwegian (no) project namespaces
27186 * (bug 2324) image for redirects should be without text and oriented according
27187   to content language
27188 * (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language
27189 * (bug 3817) Use localized date formats in preferences; 'no preference' option
27190   localizable as 'datedefault' message. Tweaked lots of languages files...
27191 * (bug 2721) Regression: Use European number separators for vi: wikis
27192 * (bug 3961) minor languageDe changes
27193 * (bug 1984) LanguageKo.php (Korean) update
27194 * (bug 3804) update of LanguageWa.php file
27195 * (bug 3886) Update for Portuguese language (pt)
27196 * (bug 4020) Update namespaces for ms
27197 * (bug 3922) bidi embedding overrides on category links
27198 * (bug 4061) Update of Slovene namespace names (LanguageSl.php)
27199 * (bug 4064) LanguageDe comma changes
27200 * (bug 3922) Further tweaks to bidi overrides in category list for old
27201   versions of Safari and Konqueror
27202 * Fix custom namespaces on wikis set for Portuguese
27203 * (bug 4153) Fix block length localizations in Greek
27204 * (bug 3844) ab: av: ba: ce: & kv: now inherit from LanguageRu.php
27205              ii: & za: now inherit from LanguageZn_cn.php
27206 * (bug 4165) Correct validation for user language selection (data taint)
27207 * (bug 4192) Remove silly 'The Free Encyclopedia' default sitesubtitle
27208 * Use content-lang for sitenotice
27209 * (bug 4233) Update LanguageJa.php
27210 * (bug 4279) Small correction to LanguageDa.php
27211 * (bug 4108, 4336) Remove trailing whitespace from various messages, which
27212   mucks up message updating to create dupe entries
27213 * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized)
27214 * (bug 4392) Update of LanguageSr.php
27215 * (bug 4382) Frisian numeric format
27216 * (bug 4424) Update for Spanish language (es) 100% messages translated
27217 * (bug 4425) Typos in Polish translation
27218 * (bug 4436) Update for Turkish language (tr)
27219 * (bug 4413) Update of Farsi language file (LanguageFa.php)
27220 * Update for LanguageSr (Serbian): magic words
27221 * (bug 137) MediaWiki:Copyrightwarning hardcoding
27222 * (bug 4457) Update for Portuguese language (pt)
27223 * convertPlural breakage fixed a little
27224 * (bug 4144) Support for Sudanese language (Basa Sunda)
27225 * Big cleanup:
27226  - Removed obsolote, badly or untranslated messages
27227  - Removed references to wikipedia/wikimedia etc in messages
27228  - Other cleanup, like removing html and javascript and extension calls
27229  - Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
27230  - Removed some useless backwards compatibility hacks
27231  - Fixed formatnum on many languages
27232 * wgAmericanDates check produced incorrect results in languages that don't have
27233   a such distinction
27234 * (bug 4548) Update for Portuguese language (pt): time format
27235 * (bug 4530) Use consistent name for Kurdish
27236 * Tweak default "upload disabled" text
27237 * (bug 4504) Use site language for namespace name resolution
27238 * (bug 4510) Correct Barnes & Noble bookstore URLs
27239 * (bug 3991) Allow the operation of wikicode on Protect move only text
27240 * (bug 4267) Switch dv sd ug ks arc languages to RTL
27241 * Default main page content improved per bug 4690
27242 * (bug 4615) Update for Portuguese language (pt)
27243 * Separated MessagesSl.php as the other languages.
27244 * (bug 4960) Add additional namespaces variants to Yiddish for compatibility
27245 * (bug 4805) Removed more wikipedia-references from MessagesUk.php
27246 * (bug 5015) Update magic words translation in LanguageBe.php
27247 * (bug 4859) Update for Portuguese messages (pt)
27248 * (bug 4788) One string for MessagesPl
27249 * Restriction types now use restriction-* messages instead of ui messages
27250 * (bug 4685) Slovenian LanguageSl.php hardcodes project namespace
27251 * (bug 5097) Fix Hungarian language (hu): thousands separator
27252 * (bug 5098) Update for Portuguese messages (pt)
27253 * (bug 5113) Spelling error in French language file
27254 * (bug 5105) Magic words for LanguageAr.php
27255 * (bug 3993) Variants for Serbian language
27256 * Typo in English messages file
27257 * (bug 4114) Spacing in watchlist rows (in editing mode)
27258 * Update default "exporttext" to reflect that Special:Import exists
27259 * (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews
27260   fix
27261 * (bug 5357) Add the icon near the user name also in RTL interfaces
27262 * (bug 5156) Update for Hebrew language (he)
27263 * (bug 4497,4704,5010) Added some new language codes.
27264 * (bug 5362) Piedmontese added
27265 * (bug 5349) Update for Portuguese messages (pt)
27266 * (bug 3573) Finished full Greek translation: namespaces
27267 * (bug 5288) Initial localisation for Az
27268 * (bug 4361) Fix "allmessagesnotsupportedui" so it doesn't refer to nonexisting
27269   page
27270 * Tweak wording of "allmessagesnotsupporteddb"
27272 Parser:
27273 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
27274 * (bug 3210) Fix Media: links with remote image URL path
27275 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
27276 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
27277   format as designed. Documentation comments updated.
27278 * Fix Parser::unstrip on PHP 5.1.0RC4
27279 * (bug 3797) Don't expand variables and sigs in comments
27280 * Allow parser cache on redirect targets
27281 * Run wikitext-escaping on plaintext sigs (no wiki markup, just name)
27282 * Check for unbalanced HTML tags on raw sigs (markup allowed, but show
27283   a warning in prefs and use default sig if not balanced)
27284 * Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as
27285   ordinary templates.
27286 * Support <includeonly> in templates loaded through preload= parameter
27287 * (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
27288 * Substitute {{REVISIONID}} correctly in diff display
27289 * (bug 1850) Allow red-links on image pages linked with [[:image:foo]]
27290 * Fix XML validity checks in parser tests on PHP 5.1
27291 * (bug 4377) "[" is not valid in URLs
27292 * (bug 4453) fix for __TOC__ dollar-number breakage
27293 * Convert unnecessary URL escape codes in external links to their equivalent
27294   character before doing anything with them. This prevents certain kinds of
27295   spam filter evasion.
27296 * (bug 4783) : Fix for "{{ns:0}} does not render"
27297 * Improved support for interwiki transclusion
27298 * (bug 1850) Image link to nonexistent file fixed.
27299 * (bug 5167) Add {{SUBPAGENAME}} and {{SUBPAGENAMEE}} variables
27300 * (bug 4949) Missing : in "addedwatchtext" for English and Spanish
27301 * Allow user-defined functions, which work in a similar way to {{GRAMMAR:}}
27302   etc. Registered via an interface similar to tag hooks.
27304 Upload:
27305 * (bug 2527) Always set destination filename when new file is selected
27306 * (bug 3076) Support MacBinary-encoded uploads from IE/Mac
27307 * (bug 2554) Tell users they are uploading too large file
27308 * Support for a license selection box on Special:Upload, configurable from
27309   MediaWiki:Licenses
27310 * Add 'reupload' and 'reupload-shared' permission keys to restrict new uploads
27311   overwriting existing files; default is the old behavior (allowed).
27313 Security:
27314 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
27315 * (bug 3280) Respect 'move' group permission on page moves
27316 * (bug 2613) Clear saved passwords from the form
27317 * IP privacy fix for blocklist search on autoblocks
27318 * Security fix for <math>
27319 * Security fix for tables
27320 * Security fix for Special:Upload license selection list
27321 * Add UploadVerification hook for custom file upload validation/security checks
27322 * Blacklist additional MSIE CSS safety tricks
27323 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
27324   versions for convenient harvesting by automated worms
27325 * Sanitizer CSS comment processing order fix
27326 * Forbid usernames that can be interpreted as titles with namespaces, as that
27327   leads to hard-to-manage names.
27328 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
27329 * Add createpage and createtalk permission keys, allowing a quick
27330   switch to disable page creation for anonymous users.
27331 * (bug 675) Add page protection level for unregistered/new accounts
27332 * User::isNewbie now uses the registration date and $wgAutoconfirmAge
27333 * Add 'deletedhistory' permission key for ability to view deleted history
27334   list via Special:Undelete. Default is off, replicating the 1.5 behavior,
27335   but it can be turned back on for random users to replicate the previous
27336   1.6 dev behavior.
27337 * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
27338 * (bug 4371) Disallow tilde character in signatures
27339 * Removed broken wgAllowAnonymousMinor and added new group right minoredit
27340 * Added detection for WMF files (application/x-msmetafile), added this
27341   MIME type to the default blacklist. Prevented inline display of images
27342   which are not of known image types. This is in response to
27343   https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
27344 * Blocked users can no longer roll back, change the protection of, or
27345   delete/undelete pages
27346 * Protect against spoofing of X-Forwarded-For header
27347 * XSS issue : now sanitize search query input (fixed in 1.5rc3)
27348 * Remove deprecated $wgOnlySysopsCanPatrol references; use
27349   User::isAllowed( 'patrol' )
27350   per bug 5282. Patch by Alan Harder.
27351 * Prevent registration/login with the username "MediaWiki default"
27353 Special Pages:
27354 * Rearranged Special:Movepage form to reduce confusion between destination
27355   title and reason input boxes
27356 * (bug 1956) Hide bot uploads from Special:Newimages
27357 * (bug 3220) Fix escaping of block URLs in Recentchanges
27358 * (bug 3284) Ipblocklist paging, substring search
27359 * Allow filtering of robot edits in Special:Watchlist by setting
27360   $wgFilterRobotsWL = true.
27361 * Fix interlanguage links on special pages when extra namespaces configured
27362 * (bug 3475) anon contrib links on Special:Newpages
27363 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
27364 * (bug 2369) Add separate message for input box on Special:Prefixindex
27365 * (bug 3798) DoubleRedirects no longer has hard coded arrows
27366 * (bug 3803) Fix links on Special:Wantedcategories with miser mode off
27367 * Fix Special:BrokenRedirects on MySQL 5.0
27368 * (bug 3807) Fix 'all' in namespaces drop-down on contribs, rc
27369 * Fail gracefully on invalid namespace in Special:Newpages
27370 * (bug 3762) Define missing Special:Import UI messages
27371 * (bug 3761) Avoid deprecation warnings in Special:Import
27372 * (bug 2894) Enhanced Recent Changes link fixes
27373 * (bug 4059) fix 'hide minor edits' on Recentchangeslinked
27374 * (bug 146) List number of category members in Special:Categories
27375   (patch by Joel Nothman)
27376 * (bug 4090) Fix diff links in Special:Recentchangeslinked
27377 * (bug 4093) '&bot=1' in Special:Contributions now propagate to other links
27378 * Fix display of old recentchanges records for page moves
27379 * (bug 360) Let Whatlinkshere track [[:image:foo]] links
27380 * (bug 3073) Keep search parameter on paging in Special:Newimages
27381 * Removed Special:Validate, it's been superseded by the Review extension
27382 * (bug 4359) red [[user:#id]] links generated in [[special:Log]]
27383 * (bug 1996) Special page to list redirects
27384 * (bug 4334) Add "watch" links to Special:Unwatchedpages
27385 * Generate target user page links in Special:Ipblocklist where appropriate
27386   (i.e. not an autoblock)
27387 * Generate link to talk page of the blocker in Special:Ipblocklist, move
27388   contribs. link of the target next to their name
27389 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
27390 * Move parentheses out of <a> link in Special:Contributions
27391 * (bug 3192): properly check 'limit' parameter on Special:Contributions
27392 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
27393 * Add block, block log and general log links to Special:Contributions
27394 * Add contributions link to block log items
27395 * Added optional "hide own edits" feature to Special:Recentchanges
27396 * (bug 5018) Anchors for each message in Special:Allmessages
27397 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
27398   list pages with less than this number of links. Defaults to 1.
27399 * (bug 4319) Don't show a "create account" link on the login form when
27400   account creation is disabled.
27401 * JavaScript filter for Special:Allmessages
27402 * (bug 3047) Don't mention talk pages on Special:Movepage when there isn't one
27403 * Show links to user page, talk page and contributions page on Special:Newpages
27404 * Special:Export can now export a list of all contributors to an article (off by
27405   default)
27406 * (bug 5372) Add number of files to Special:Statistics
27407 * (bug 2871) Links to talk pages in watchlist editing view
27408 * (bug 5385) Allow hiding anonymous edits on Special:Recentchanges
27409 * (bug 2544) Illogical error reporting order in Special:Userlogin
27410 * (bug 5409) Hide "show/hide patrolled edits" in Special:Recentchanges if
27411   patrolling is disabled
27412 * (bug 5447) Convert first letter of username to uppercase before searching in
27413   Special:Listusers
27414 * (bug 759) Wrap redirects on the watchlist editing page in a span, class
27415   "watchlistredir"
27416 * (bug 1862) Namespace filtering in watchlists
27418 Misc.:
27419 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
27420   if running prior to 4.2.0 as it causes the call to fail
27421 * (bug 3117) Fix display of upload size and type with tidy on
27422 * (bug 2323) Remove "last" tabindex from history page
27423 * (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]]
27424 * Fix display of read-only lockfile message
27425 * Include software-visible client IP address in Special:Version comment
27426   as a proxy debugging aid
27427 * (bug 3170) Page Title failed to obey MediaWiki:Pagetitle.
27428   wikititlesuffix was removed
27429 * Add ability to break off certain debug topics into additional log files;
27430   use $wgDebugLogGroups to configure and wfDebugLog() to log.
27431 * Edit conflict on recreation of deleted page
27432 * (bug 3216) Don't show empty warning page when no warnings.
27433 * (bug 3218) Use proper quoting on history Compare Revisions button
27434 * Fix upgrade from 1.4 due to version number check breakage [for rc future]
27435 * Fix upgrade from 1.4 with no old revisions
27436 * Remove "info" editing toolbar that was shown in browsers which do not
27437 fully support the editing toolbar, but was found to be too confusing.
27438 * Don't override edit conflict suppression on section edits; section merging
27439   should provide the expected transparency here and fits usage patterns better.
27440 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
27441 * (bug 2078) Don't hide watch tab on preview
27442 * Fix regressions in ChangesList traditional layout
27443 * Fix edit on double-click for move-protected pages in Classic skin
27444 * (bug 3485) Fix bogus warning about filename capitalization when off
27445 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
27446   by default when 'watchdefault' option is on
27447 * Add options to dumpBackup.php for making split/partial dumps by page id
27448 * Added filter options, compression piping, and multiple output streams for
27449   dumpBackup.php
27450 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
27451 * (bug 3598) Update message cache on message page deletion, patch by Tietew
27452 * Added separate noarticletext and newarticletext messages for logged in and
27453   anon users.
27454 * (bug 3332) Installation now uses Monobook, validates, plus usability
27455   improvements.
27456 * (bug 3660) Update diff3 detection to work with Windows/Cygwin
27457 * (bug 2330) Don't do funny thinks with "links" in MediaWiki:Undeletedtext
27458 * Two-pass data dump for friendliness to the DB (--stub, then dumpTextPass.php)
27459 * Data dump 'prefetch' mode to read normalized text from a prior dump
27460   (requires PHP 5, XMLReader extension)
27461 * (bug 2773) Print style sheet no longer overrides RTL text direction
27462 * (bug 2938) Update MediaWiki:Exporttext to be more general
27463 * Various fixes
27464 * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped
27465 * Added @import for [[MediaWiki:Common.css]] to all skins
27466 * Edit box now remembers scrollbar position on preview
27467 * (bug 3816) Throw edit conflict instead of fatal error when a page is
27468   moved or deleted during section edit
27469 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
27470 * (bug 3291) 'last' diff link for last history line when not at end
27471 * (bug 3667) Add missing global in page move code
27472 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
27473   talk notification on PHP 5.0.5
27474 * (bug 3852) "Redirected from" link no longer obscured on double-redirects
27475 * changed directory hierarchy in images/math/. System upgrades from old to
27476   new hierarchy on the fly.
27477 * (bug 3487) Fix category edit preview with preview-on-bottom
27478 * (bug 918) Search index incorrectly joined words at == headings ==
27479 * (bug 3877) Render math images into temp directory, then move to hashed
27480   subdir so you can render new math images and have them work
27481 * (bug 2392) Fix Atom items content type, upgrade to Atom 1.0
27482 * Allow $wgFeedCacheTimeout of 0 to disable feed caching
27483 * Fix WebRequest::getRequestURL() to strip off the host bits squid prepends
27484 * Require POST for action=purge, to stop bots from purging the cache
27485 * Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth
27486   requirements to the memcached server.
27487 * (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
27488 * (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on
27489   DIRECTORY_SEPARATOR (was wrong on NetWare)
27490 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
27491 * (bug 3939) Don't try to load text for interwiki redirect target
27492 * (bug 3948) Avoid notice warning in debug statement in bad search
27493 * Recognize Special:Search consistently so read whitelist works
27494 * (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due to
27495   unclear language in the spec. Now using the URL, same as the permalink,
27496   which someone else will probably whine about because it's not 'perma'
27497   enough or something.
27498 * (bug 4014) Fix include mode for Allpages on small page sets
27499 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
27500 * (bug 3065) Update both watched namespaces when renaming pages
27501 * Changed mail form to have a bigger message entry box (like for editing
27502   a page
27503 * Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
27504 * (bug 2111) Collapsable exif metadata table, clean up display
27505 * Reduce fractions in display of exif exposure time
27506 * (bug 4048) Optional footer link to site privacy policy
27507 * Don't die() when update.php reaches the end of the warning count
27508 * (bug 1915) Fix edit links when 'direction' used with 'oldid';
27509   using revision ID reported via OutputPage; Skin::editUrlOptions()
27510 * Remove obsolete 'redirect=no' on some edit links
27511 * Include oldid for the second revision on edit link on diff view
27512 * (bug 4035) Fix prev/next revision links on edit page
27513 * (bug 4100, 3049) Add 'edittools' message to hold edit tools, put it
27514   on Special:Upload as well as edit, rearrange edit page pieces a bit.
27515   Copyright warning now above the buttons to ensure it's visible,
27516   template list at the bottom so it can grow.
27517 * Optional summary parameter to action=rollback, for user javascript
27518 * (bug 4167) Fix regression caused by patch for bug 153
27519 * (bug 4169) Use $wgLegalTitleChars in pipe trick conversions
27520 * (bug 4170) Decode HTML character escapes in sort key
27521 * (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
27522 * (bug 4214) Skip redundant action text inserts into the HTML <title>
27523 * (bug 4212) Skip redundant meta-robots tag for default settings
27524 * Fix regression: old version missing from edit links in Nostalgia skin
27525 * (bug 1600) Trigger edit conflict on duplicate section=new submissions
27526 * (bug 4001) Use local variables properly in wikibits.js akeytt()
27527 * Fix regression: old version missing from edit links on CSS/JS pages
27528 * (bug 3211) Include Date, To mail headers when using PEAR::Mail
27529 * (bug 3407) Fix encoding of subject and from/to headers on notification
27530   mails; userMailer() now takes a MailAddress wrapper object instead of
27531   a raw string to abstract things a level.
27532 * Fixed --server override on dumpTextPass.php
27533 * Added plugin interface for dumpBackup, so additional filters and output
27534   sink types can be registered at runtime from an extension
27535 * (bug 349) Fix for some numeric differences not being highlighted
27536   patch by Andrius Ramanauskas
27537 * (bug 4298) Include rc_id on enhanced RC singleton diff links for patrolling
27538 * Did some refactoring on ChangesList.php merging dupe code
27539 * (bug 1586) Fix interwiki generator for wikimedia obscure domains
27540 * (bug 3493) Mark edits patrolled when they are reverted
27541   patch by Leon Planken
27542 * Removed experimental Amethyst skin from default set
27543 * Upgrade old skin preferences properly at Special:Preferences
27544   (used to spontaneously switch to Classic skin for old numeric pref records)
27545 * (bug 3424) Update page_touched for category members on category page creation
27546 * Log views show message when no matches
27547 * Fix raw sitenotice display on database error
27548 * Fix autoconfirm check for old accounts
27549 * (bug 4368) Don't show useless empty preview on new section creation
27550 * Don't show useless empty preview on new page creation
27551 * (bug 4411) Fix messages diff link for classic skin
27552 * (bug 4385) Separate parser cache entries for non-editing users, so section
27553   edit links don't vanish / appear unwanted on protected pages
27554 * (bug 2726, 3397) Fix [[Special:]] and [[:Image]] links in action=render
27555 * (bug 4419) Remove obsolete magnify.png.old
27556 * Removed $wgUseCategoryMagic option, categories are now enabled unconditionally
27557 * (bug 3318) UI workarounds for disabled items in license selector
27558   MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked
27559   Safari: JS will revert to 'non selected' if clicked (but not gray)
27560   MSIE/Mac: indented items now visible (JS hack)
27561 * (bug 714) "plainlinks" class issues in IE, Opera
27562 * (bug 4317) Inconsistent "broken redirects" messages
27563 * Default interface text for "selflinks" tweaked
27564 * (bug 3194) default implementation of translateBlockExpiry
27565   which uses ipboptions
27566 * (bug 4446) $wgExportAllowHistory option to explicitly disable history in
27567   Special:Export form, 'exportnohistory' message to translate live hack.
27568 * Maintenance script to delete unused user accounts
27569 * (bug 912) Search box easier to reach in text browsers (lynx, links)
27570 * $wgParserCacheExpireTime added
27571 * Skip loading of RecentChange.php except where needed
27572 * Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source
27573   size. This is necessary to limit server memory usage.
27574 * Cleanup and error checking on Special:Listredirects
27575 * Clear up some instances of old OutputPage::sysopRequired() function usage
27576 * Improve "upload disabled" notice
27577 * Move parts of index.php to include/Wiki.php in an attempt to both cleanup
27578   index.php and create a MediaWiki-class mediaWiki base object
27579 * (bug 4104) Added OutputPageBeforeHTML hook for tweaking primary wiki output
27580   HTML on final output (cached or not)
27581 * Avoid PHP notice on command-line scripts if empty argument is passed ('')
27582 * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
27583 * (bug 3502) Bowtie symbol for TeX
27584 * (bug 4000) Support for \textstyle et al. in <math>
27585 * (bug 1663) support color in TeX formulas
27586 * (bug 2026) missing glue around \not= (TeX)
27587 * (bug 4576) Missing '>' broke license selector's first option in IE, Opera
27588 * Override $wgLocaltimezone in parser tests for us outside Iceland and UK
27589 * Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT
27590 * Remove redundant 'echo' statements from MonoBook.php
27591 * (bug 1103) Fix up redirect handling for images, categories
27592   Redirects are now followed from the top-level, outside of the Article
27593   content loading and viewing, for clarity and consistency.
27594 * (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
27595   page view (comes after parser cache, if used). Patch by ThomasV.
27596 * Linker::formatComment corrupted the passed title object on PHP 5
27597   if the comment included a section link. Use clone() to make a safe copy.
27598 * Add wfClone() wrapper since we're still using PHP 4 on some servers.
27599 * Remove obsolete killthread.php
27600 * Added wfDie() wrapper, and some manual die(-1), to force the return code
27601   to the shell to return nonzero when we crap out with an error.
27602 * Allow input of the stub from a compressed file instead of stdin
27603   for dumpTextPass.php; easier to get errors back on the shell
27604 * Added an attractive space on the namespace selector on contribs
27605 * Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
27606   Fixes use of named entities in sigs on PHP 5
27607 * (bug 4482) Include move comment on the null edit as well as the redirect
27608 * (bug 3990) Use existing session name if session.auto_start is on
27609   Fixes checks for open sessions, such as the cookie warning on login.
27610   Patch by Zbigniew Braniecki.
27611 * Add cache-safe alternate sitenotice for anonymous users.
27612   (MediaWiki:Anonnotice) This is displayed instead of the regular sitenotice,
27613   if it exists. If not, the regular sitenotice shows. If that doesn't exist,
27614   the value of $wgSiteNotice is used, and if that's null, then nothing is shown.
27615 * Spit the generated LocalSettings code out during the installer as an aid
27616   to debugging issues. (Keep this?)
27617 * Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
27618   when the directory is relocated for typical usage.
27619 * Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
27620   For typical usage this will be a light burden and should reduce confusion
27621   when the configuration is edited.
27622 * Fix $wgCacheEpoch's effect on client-side caching.
27623 * (bug 1122) gray out 'older revision' when viewing first article revision.
27624 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
27625 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
27626   name attribute)
27627 * (bug 3350) Missing label for move talk page checkbox.
27628 * (bug 2108) Sort entries when using category browser
27629 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
27630 * Add ".deps.php" include-file preloaders for some dynamically-loaded
27631   language and skin classes. Should help with the broken base-class
27632   problem under PHP 5 with APC as opcode cache. See details:
27633   https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/4NVSC4LAZX6ACO77QVLRQYAWULAJCKJ2/
27634 * Small changes to tabs in Monobook skin c/o Chris Ware
27635 * (bug 4679) Work around buggy basename() function in PHP5, which breaks
27636   uploads of files starting with multibyte characters on Linux.
27637   wfBaseName() doesn't suffer this bug, and understands backslash on
27638   both Unix and Windows.
27639 * (bug 3603) headscripts variable not hooked up to MonoBook skin
27640 * Allow local cdb-based interwiki cache
27641 * Use the "block", not the "protect" permission, when determining whether to
27642   show a "block user" link in the toolbox
27643 * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
27644 * Suppress useless percentage indicator on output from 7za during dumps
27645 * (bug 4633) Add (previous 200) (next 200) also above catlinks
27646 * (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
27647   pages with only one revision. Fixes message diff link on first edit.
27648 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
27649 * Do not check lag on external storage servers
27650 * Do not tidy interface messages (unless full tidy is set)
27651 * Do not trust equality propagation and give more hints to MySQL
27652   optimizer for revision fetches (avoids index scans)
27653 * Use revision rate for ETA in dump generation; it tends to be more stable
27654   than the per-page count for full-history dumps.
27655 * Include timestamp in wfDebugLog breakouts
27656 * (bug 4469) Namespace-specific notice to be displayed below site-notice
27657   Edit messages like "MediaWiki:Namespacenotice-" plus namespace name
27658   which is blank for main namespace, or like e.g. "User_talk"
27659 * Adjust user login/creation form hooks to work with a captcha plugin
27660 * (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
27661 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
27662   and seems to work ok with other bits. No longer including the IE
27663   workarounds JavaScript for IE 7 and above.
27664 * Fix extra namespace for Bulgarian
27665 * (bug 4303) Add $wgFavicon to change the shorticon icon link from
27666   the default /favicon.ico or disable it (if set to false)
27667 * (bug 3347) strip linebreaks in math error source
27668 * (bug 4841) Warning for non-logged-in edits
27669 * (bug 4867) Leave invalid EXIF date fields unformatted instead of
27670   showing a bogus current timestamp
27671 * Reset $wgActionPaths during parser test; corrects some false failures
27672   in the automated test report.
27673 * (bug 4875) Define a div containing the shared image description
27674 * (bug 4860) Expose Title->userCan() as Hooks
27675 * (bug 4828) Fix genitive month-name variable for cs, pl, uk
27676 * (bug 4842) Fix 'show number of watching users' with enhanced RC
27677 * (bug 4889) Fix image talk namespace for Tamil
27678 * (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries
27679 * (partial bug 3456) Disable auto redirect to Main Page after account creation
27680 * (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages
27681 * Added support for wikidiff2 and similar external diff engines.
27682 * Allow cookies to be shared between multiple wikis with a shared user database
27683 * Blocking some Unicode whitespace characters in usernames. Should check
27684   if some or all should be blocked from all page titles.
27685 * Unknown log types no longer throw notices everywhere in RecentChanges
27686 * (bug 4502, 5017) Don't render potentially hostile deleted page contents
27687   on Special:Undelete by default; show source, with an optional preview.
27688   The revisions list no longer shows the latest text by default, so it can
27689   still be operated if the text is hostile.
27690 * (bug 5013) Check for existence on "return to" links
27691 * Removed trailing whitespace on a bunch more messages.
27692 * Fix missing bad title check in Special:Booksources
27693 * Remove empty booksources string in fy
27694 * Avoid corrupting <gallery> inside <!-- comment -->
27695 * Remove legacy PHPTal code, hasn't been maintained in ages.
27696 * Tweak Userlogin include order for APC issue
27697 * Don't try to link to current page on protection tab
27698 * More exact checking in Title::equals() to fox moves of numerically similar
27699   page titles. (Odd hex title bug on 64-bit.)
27700 * Fix explicit s-maxage=0 on raw pages; should help with proxy issues in
27701   generated stylesheets... hopefully...
27702 * (bug 4685) More fixes for Slovenian project namespace
27703 * Fixed and enhanced a little the Live Preview, which had been broken for some
27704   time
27705 * Added article size limit, $wgMaxArticleSize
27706 * (bug 4974) Don't follow redirected talk page on "new messages" link
27707 * (bug 4970) Make category paging limits configurable
27708 * (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't
27709   exist
27710 * Make Live Preview an user preference, still controllable by the global
27711   variable
27712 * Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow
27713   updated language code assignments
27714 * (bug 5081) Remove bogus fix for invalid characters in links which simply
27715   broke use of legitimate multiple whitespace characters in bracketed link.
27716 * (bug 4838) Add relative oldids (prev, next, cur) for raw pages
27717   Patch by Lupin
27718 * (bug 5086) Force image resize dimensions on ImageMagick, as for instance
27719   "-resize 100x35!"; some thumbs were off due to differences in rounding and
27720   would be generated smaller than expected.
27721 * (bug 5062) Width sometimes one pixel short when using maximum heights
27722 * Purge thumbnails and metadata cache for action=purge on an image page
27723 * (bug 4273) Bounce back with a message when attempting to submit a new comment
27724   with an empty main textbox (user probably hit Enter in subject field)
27725 * (bug 5141) Gracefully handle the new account link when createaccount off
27726 * (bug 5150 and related) Fix missing ID attribute in HTML namespace selector
27727 * (bug 5152) Proper HTML escaping on subpage breadcrumbs
27728 * (bug 4855) Section edit links now have the section name in the title
27729   attribute.
27730 * (bug 2115) Support shift-selecting multiple checkboxes with JavaScript.
27731 * (bug 5161) Don't try to load template list for nonexistent pages
27732 * (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
27733   unnecessary hidden UI work when watch/unwatch is performed on edit
27734 * Fixed bogus master fallback in external storage
27735 * (bug 5246) Add speak:none to "hiddenStructure" class in main.css
27736 * Further work on rev_deleted; changed to a bitfield with several data-hiding
27737   options. Not yet ready for production use; Special:Revisiondelete is
27738   incomplete, and the flags are not preserved across page deletion/undeletion.
27739   To try it; add the 'deleterevision' permission to a privileged group.
27740 * (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa
27741 * Add a clickable contribs link in user tool links (rc, watchlist, diff view)
27742   to see how people like it. (There was one in the old hacked-up diff view.)
27743 * (bug 5236) Load wikibits.js before site-customized javascript
27744 * (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
27745   from linktrail, as they're not used anywhere else.
27746 * (bug 4781) Output links with the percent-encoding they're supplied with;
27747   save the normalization for internal link storage. The normalization is a bit
27748   buggy and can make incorrect foldings in the query string and such, so isn't
27749   reliable beyond the hostname where it's used for the spam bulk checker.
27750 * Don't URL-decode in the title attribute for URL links; it can produce false
27751   results that don't code back to their original values.
27752 * (bug 4611) Add user preference (default on) to add new pages to creators's
27753   watchlist
27754 * (bug 5286) Fix regression in display of missing/bad revision IDs
27755 * (bug 4729) Add user preference that marks a user's edits as patrolled if user
27756   is able to
27757 * (bug 4630) Add user preference to prompt users when entering blank edit
27758   summaries
27759 * Added optional suggest feature for the search box. Set wgUseAjax to true to
27760   enable it.
27761 * (bug 5277) Use audio/midi rather that audio/mid
27762 * (bug 5410) Use namespace name when a custom namespace's nstab-NS message is
27763   nonexistent
27764 * (bug 5432) Fix inconsistencies in cookie names when using table prefixes
27765 * Additional protections against HTML breakage in table parsing
27766 * (bug 5355) Include skin name and style JS settings in page source;
27767   fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
27768   when wikibits.js was moved up before user JS inclusion.
27769 * Added $wgColorErrors: if set, database error messages will be highlighted
27770   when running command-line scripts in a Unix terminal.
27771 * (bug 5195) rebuildrecentchanges.php works again; Database::insertSelect now
27772   has a parameter for select options.
27773 * Fix updateSearchIndex.php for new schema
27774 * Fix bogus "filename too short" error when uploading files with a period in the
27775   base name, e.g. "Mr. Zee.png"
27776 * (bug 2139) Show page title in subtitle when viewing "read only" page
27777 * (bug 5452) Update language name for Cree
27779 == Compatibility ==
27781 Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must
27782 upgrade to 4.3 or later.
27784 MediaWiki 1.6 is the last major version to support PHP 4; future versions will
27785 require PHP 5.
27787 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
27788 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
27790 == Upgrading ==
27792 Several changes to the database have been made from 1.5; these are relatively
27793 minor but do require that the update process be run before the new code will
27794 work properly:
27796 * A new "templatelinks" table tracks template inclusions.
27797 * A new "externallinks" table tracks URL links; this can be used by a mass
27798 spam-cleanup tool in the SpamBlacklist extension.
27799 * A new "jobs" table stores a queue of pages to update in the background; this
27800 is used to update links in including pages when templates are edited.
27802 To ensure that these tables are filled with data, run refreshLinks.php after
27803 the upgrade.
27805 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
27806 changes are made, and there is a slightly higher chance that things could
27807 break. Don't forget to always back up your database before upgrading!
27809 === Caveats ===
27811 Some output, particularly involving user-supplied inline HTML, may not produce
27812 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
27813 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
27814 recommended on live sites. (This must be set for MathML to display properly in
27815 Mozilla.)
27818 = MediaWiki 1.5 =
27820 == MediaWiki 1.5.9 ==
27821 * (bug 3359) Add hooks on completion of file upload
27823 == MediaWiki 1.5.8 ==
27825 March 26, 2006
27827 MediaWiki 1.5.8 is a security and bugfix maintenance release.
27829 A bug in decoding of certain encoded links could allow injection of raw
27830 HTML into page output; this could potentially lead to XSS attacks.
27832 Some minor UI fixes were also made, see the change log at the bottom of
27833 this file.
27836 == MediaWiki 1.5.7 ==
27838 March 2, 2006
27840 MediaWiki 1.5.7 is a bugfix maintenance release.
27842 Most importantly, a security issue in the installer has been fixed. The bug
27843 affects new installations of 1.5.6 only. If the user specified the MySQL root
27844 password, to allow the installer to create an unprivileged account, the
27845 installer would not only create the new account but also change the root
27846 password to be equal to the password of the new account.
27848 Anyone affected by this bug will need to change the root password back
27849 manually. For information about how to change passwords in MySQL please see:
27850 http://dev.mysql.com/doc/refman/5.1/en/passwords.html
27852 This version includes fixes for compatibility with Internet Explorer 7
27853 beta 2, and various other bugs; see the full changelog at the end of
27854 the release notes.
27857 == MediaWiki 1.5.6 ==
27859 January 19, 2006
27861 MediaWiki 1.5.6 is a security and bugfix maintenance release.
27863 A bug in edit comment formatting could send PHP into an infinite loop
27864 if certain malformed links were included. In most installations, this
27865 would cause the script to fail after PHP's 30-second failsafe timeout.
27867 Some improvements have been made to the installer which should make
27868 installation possible on a system with a broken MySQL "root" account.
27870 For several other minor fixes, see the complete changelog at the end
27871 of this file.
27874 == MediaWiki 1.5.5 ==
27876 January 5, 2006
27878 MediaWiki 1.5.5 is a security and bugfix maintenance release.
27880 Detection for uploads of Windows Metafile (.wmf) images has been added
27881 to help protect against a client-side vulnerability in unpatched Microsoft
27882 Windows operating systems.
27884 Sites which have enabled uploads and added non-standard file types
27885 (such as .ogg, .doc, or .pdf) should upgrade to this release to ensure
27886 that malicious .wmf files can't be uploaded with a fake extension;
27887 such files could put visitors to the site at risk.
27889 For more details on this, see:
27890 https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
27892 Additionally, a maintenance script removeUnusedAccounts.php has been added;
27893 this replaces an older Perl script which had not been updated for the new
27894 schema in 1.5.
27897 == MediaWiki 1.5.4 ==
27899 December 21, 2005
27901 MediaWiki 1.5.4 is a security and bugfix maintenance release.
27903 A hardcoded internal placeholder string has been replaced with a random
27904 one. This closes a hole where security checks in inline style attributes
27905 could be bypassed, injecting JavaScript code that could execute in
27906 Microsoft Internet Explorer.
27908 Other browsers would not be vulnerable.
27910 Several minor fixes are included in this release, most notably a fix
27911 to clear the "you have new messages" flag properly for usernames
27912 containing spaces when e-mail notification is enabled.
27914 See the changelog at the end of the release notes for a full list of
27915 fixes.
27918 == MediaWiki 1.5.3 ==
27920 December 4, 2005
27922 MediaWiki 1.5.3 is a security and bugfix maintenance release.
27924 Validation of the user language option was broken by a code change in
27925 May 2005, opening the possibility of remote code execution as this
27926 parameter is used in forming a class name dynamically created with
27927 eval().
27929 The validation has been corrected in this version. All prior 1.5 release
27930 and prelease versions are affected; 1.4 and earlier and not affected.
27932 Additionally several bugs have been fixed; see the changelog later in
27933 this file for a complete list.
27936 == MediaWiki 1.5.2 ==
27938 November 2, 2005
27940 MediaWiki 1.5.2 is a bugfix maintenance release.
27942 A change in PHP 4.4.1 and PHP 5.1.0RC broke handling of extension and
27943 <pre> sections, causing garbage data to be inserted in output and saved
27944 edits. This version works around the change.
27946 Several other glitches with MySQL 5.0 and PHP 5.0.5 were also fixed;
27947 see the change log below for a complete list.
27950 == MediaWiki 1.5.1 ==
27952 October 26, 2005
27954 MediaWiki 1.5.1 is a bugfix and security maintenance release, and is a
27955 recommended upgrade for all installations.
27957 This release includes further corrections to the inline CSS style sanitation
27958 which works around a JavaScript "feature" on Microsoft Internet Explorer.
27959 Users of Microsoft Internet Explorer for Windows may be vulnerable to
27960 XSS injections on prior versions; users of standards-compliant browsers
27961 are not vulnerable.
27963 Major fixes include:
27964 * Image pages work again with resizing disabled
27965 * Works in MySQL 5.0 strict mode
27967 There is experimental support in this release for explicitly declaring
27968 the UTF-8 charset in the database; this has been tested with MySQL 5.0.15
27969 but should work on 4.1 as well.
27971 IMPORTANT: Changing this setting on an existing wiki may produce interesting
27972 data corruption, depending on server configuration. Page contents should,
27973 usually, be unaffected, but page titles and other items may be. Limitations
27974 in MySQL's Unicode support mean that characters outside the BMP cannot be used
27975 in page titles or various other fields when using this mode.
27977 Table definitions are in maintenance/mysql5/tables.sql, and the runtime
27978 option to send 'SET NAMES utf8' is set by $wgDBmysql5 = true.
27980 (MySQL 3.23.x and 4.0.x do not support character set declarations; on these
27981 versions MediaWiki simply works with UTF-8 data and MySQL is blissfully
27982 unaware of it.)
27986 == MediaWiki 1.5.0 final ==
27988 October 5, 2005
27990 MediaWiki 1.5.0 is the new stable release branch of MediaWiki, and is
27991 recommended for all new installations.
27993 Any wikis running a 1.5 beta or release candidate are strongly recommended
27994 to upgrade to the final release, which includes a number of bug fixes and
27995 a security fix for CSS bugs in Microsoft Internet Explorer.
27997 IMPORTANT: Running a 1.3 or 1.4 wiki and don't want to jump to 1.5 yet?
27998 Be sure to upgrade to 1.3.17 or 1.4.11, also released today. Versions
27999 prior to 1.3.16 and 1.4.10 have a serious data corruption bug which is
28000 triggered by a spambot known to operate in the wild.
28003 === What's new in 1.5? ===
28005 Schema:
28006   The core table schema has changed significantly. This should make better
28007   use of the database's cache and disk I/O, and make significantly speed up
28008   rename and delete operations on pages with very long edit histories.
28010   Unfortunately this does mean upgrading a wiki of size from 1.4 will require
28011   some downtime for the schema restructuring, but future storage backend
28012   changes should be able to integrate into the new system more easily.
28014 Permalinks:
28015   The current revision of a page now has a permanent 'oldid' number assigned
28016   immediately, and the id numbers are now preserved across deletion/undeletion.
28017   A permanent reference to the current revision of a page is now just a matter
28018   of going to the 'history' tab and copying the first link in the list.
28020 Page move log:
28021   Renames of pages are now recorded in Special:Log and the page history.
28022   A handy revert link is available from the log for sysops.
28024 Editing diff:
28025   Ever lost track of what you'd done so far during an edit? A 'Show diff'
28026   button on the edit page now makes it easy to remember.
28028 Uploads:
28029   It's now possible to specify the final filename of an upload distinct
28030   from the original filename on your disk.
28032   An image link for a missing file will now take you straight to the upload
28033   page.
28035   More metadata is pre-extracted from uploaded images, which will ease pressure
28036   on disk or NFS volumes used to store images. EXIF metadata is displayed on
28037   the image description page if PHP is configured with the necessary module.
28039   If .svg files are added to the upload whitelist, you can choose to render
28040   them to rasterized .png images for inline display using one of several
28041   external helper programs. See DefaultSettings.php for SVG options.
28043 User accounts:
28044   There are some changes to the user permissions system, with assignable
28045   groups. Note that this does *not* allow you to make pages which are only
28046   accessible to certain groups.
28048   For details see: https://www.mediawiki.org/wiki/Manual:User_rights
28050 E-mail:
28051   User-to-user e-mail can now be restricted to require a mail-back confirmation
28052   first to reduce potential for abuse with false addresses.
28054   Updates to user talk pages and watchlist entries can optionally send e-mail
28055   notifications.
28057 External hooks:
28058   A somewhat experimental interface for hooking in an external editor
28059   application is included.
28061 And...
28062   A bunch of stuff we forgot to mention.
28065 === What's gone? ===
28067 Latin-1:
28068   Wikis must now be encoded in Unicode UTF-8; this has been the default for
28069   some time, but some languages could optionally be installed in Latin-1 mode.
28070   This is no longer supported.
28072   You can check if your current wiki is in Latin-1 mode by using your browser's
28073   "view source"; look for a line like this:
28075     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28077   If it says charset=utf-8, you're ready. If it says charset=iso8859-1,
28078   you may need to convert your data. (English-language wikis avoiding
28079   any accented characters may be able to get away without conversion.)
28081 MySQL 3.x:
28082   Some optimization hacks for MySQL 3.x have been removed as part of the schema
28083   clean-up (specifically, the inverse_timestamp fields).
28085   MediaWiki 1.5 may still run on 3.x, but wikis of non-trivial size should
28086   very seriously consider upgrading to a more modern release. MySQL 3.x support
28087   will probably be entirely dropped in the next major release.
28089 Special:Maintenance
28090   These tools were, ironically enough, not really maintained. This special
28091   page has been removed; insofar as some of its pieces were useful and haven't
28092   already been supplanted by other special pages they should be rewritten in
28093   an efficient and safe manner in the future.
28096 === Caveats ===
28098 Upgrade:
28099   Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8.
28100   A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of
28101   old page text entries, but other metadata fields (titles, comments etc) need
28102   to be pre-converted. The standard upgrade process does not yet fully automate
28103   this, but you can try the alternate partial-upgrader in upgrade1_5.php.
28105   The upgrade from 1.4 to 1.5 schema has not been tested for all cases, so
28106   it's possible you may experience problems in some combinations.
28108 Backups:
28109   The text entries of deleted pages are no longer removed from the main
28110   text table on deletion. If you provide public backup dumps of your databases,
28111   you will probably want to use the new XML-format dump generator, available
28112   as maintenance/dumpBackup.php.
28114   For more information on how we run our own public data dumps at Wikimedia,
28115   see http://meta.wikimedia.org/wiki/Data_dumps
28117 PostgreSQL:
28118   The table definitions for PostgreSQL install are out of date. PostgreSQL
28119   support may return in later releases, pending appropriate patches.
28121 MySQL 4.1+:
28122   Some users may encounter installation problems with MySQL 4.1 or higher
28123   due to strange charset encoding / collation configurations. Try setting
28124   to 'latin1' or 'utf8' if you encounter problems.
28128 == MediaWiki 1.5 release candidate 4 ==
28130 August 29, 2005
28132 MediaWiki 1.5rc4 is a preview release of the new 1.5 release series.
28133 It fixes compatibility with PHP 5.1, and corrects two cross-site scripting
28134 security bugs:
28136 * <math> tags were handled incorrectly when TeX rendering support is off,
28137   as in the default configuration.
28138 * Extension or <nowiki> sections in Wiki table syntax could bypass HTML
28139   style attribute restrictions for cross-site scripting attacks against
28140   Microsoft Internet Explorer
28142 Wikis where the optional math support has been *enabled* are not vulnerable
28143 to the first, but are vulnerable to the second.
28147 == MediaWiki 1.5 release candidate 3 ==
28149 August 24, 2005
28151 MediaWiki 1.5rc3 is a preview release of the new 1.5 release series.
28152 It fixes several major problems in 1.5rc2:
28154 * Fixed a cross-site scripting injection in the search form
28155   (broken since 1.5beta1)
28157 * Fixed upgrades from 1.4 database schema
28158   (broken since 1.5rc2)
28160 1.3 and 1.4 releases are not vulnerable to the XSS bug, but anyone
28161 running an earlier 1.5 beta or release candidate should upgrade
28162 immediately.
28165 == MediaWiki 1.5 release candidate 2 ==
28167 August 23, 2005
28169 MediaWiki 1.5rc2 is a preview release of the new 1.5 release series.
28170 Numerous bug fixes since last beta, plus a security fix; see change
28171 log below for full details.
28173 A flaw in the interaction between extensions and HTML attribute
28174 sanitization was discovered which could allow unauthorized use
28175 of offsite resources in style sheets, and possible exploitation
28176 of a JavaScript injection feature on Microsoft Internet Explorer.
28178 This version expands the returned text and properly checks it
28179 before output.
28181 A 1.5rc1 release was mistakenly made from the incorrect source code
28182 branch; 1.5rc2 is identical to the actual 1.5rc1 in revision control
28183 except for version number.
28186 == MediaWiki 1.5 beta 4 ==
28188 July 30, 2005
28190 MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series.
28191 A number of bugs have been fixed since beta 3; see the full changelist below.
28194 == MediaWiki 1.5 beta 3 ==
28196 July 7, 2005
28198 MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release
28199 series, with a security update over beta 2.
28201 Incorrect escaping of a parameter in the page move template could
28202 be used to inject JavaScript code by getting a victim to visit a
28203 maliciously constructed URL. Users of vulnerable releases are
28204 recommended to upgrade to this release.
28206 Vulnerable versions:
28207 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
28208 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
28209 * 1.3 legacy series: not vulnerable
28211 This release also includes several bug fixes and localization updates.
28212 See the changelog at the end of this file for a detailed list.
28216 == MediaWiki 1.5 beta 2 ==
28218 July 5, 2005
28220 MediaWiki 1.5 beta 2 is a preview release of the new 1.5 release series.
28221 While most exciting new bugs should have been ironed out at this point,
28222 third-party wiki operators should probably not run this beta release
28223 on a public site without closely following additional development.
28225 Anyone who _has_ been running beta 1 is very very strongly advised to
28226 upgrade to beta 2, as it fixes many bugs from the previous beta including
28227 a couple of HTML and SQL injections.
28229 This release should be followed by one or two release candidates and
28230 a 1.5.0 final within the next few weeks.
28232 Beta upgraders, note there are some minor database changes. For upgrades
28233 from 1.4, see the file UPGRADE for details on significant database and
28234 configuration file changes.
28236 Beta 2 includes a preliminary command-line XML wiki dump importer tool,
28237 maintenance/importDump.php, paired with maintenance/dumpBackup.php.
28238 These use the same format as Special:Export and Special:Import, able
28239 to package a wiki's entire page set independent of the backend database
28240 and compression format.
28243 == MediaWiki 1.5 beta 1 ==
28245 June 26, 2005
28247 MediaWiki 1.5 beta 1 is a preview release, pretty much feature complete,
28248 of the new 1.5 release series. There are several known and likely a number
28249 of unknown bugs; it is not recommended to use this release in a production
28250 environment but would be recommended for testing in mind of an upcoming
28251 deployment.
28253 A number of significant changes have been made since the alpha releases,
28254 including database changes and a reworking of the user permissions settings.
28255 See the file UPGRADE for details of upgrading and changing your prior
28256 configuration settings for the new system.
28260 == MediaWiki 1.5 alpha 2 ==
28262 June 3, 2005
28264 MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
28265 and a security update.
28267 Incorrect handling of page template inclusions made it possible to
28268 inject JavaScript code into HTML attributes, which could lead to
28269 cross-site scripting attacks on a publicly editable wiki.
28271 Vulnerable releases and fix:
28272 * 1.5 prerelease: fixed in 1.5alpha2
28273 * 1.4 stable series: fixed in 1.4.5
28274 * 1.3 legacy series: fixed in 1.3.13
28275 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
28278 == MediaWiki 1.5 alpha 1 ==
28280 May 3, 2005
28282 This is a testing preview release, being put out mainly to aid testers in
28283 finding installation bugs and other major problems. It is strongly recommended
28284 NOT to run a live production web site on this alpha release.
28286 **  WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH  **
28287 **  TERMITES, ROT YOUR TEETH,  GROW HAIR ON YOUR PALMS, AND PASTE  **
28288 **  INNUENDO  INTO  YOUR  C.V.  RIGHT  BEFORE  A  JOB  INTERVIEW!  **
28289 **  DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE.  **
28292 === Smaller changes since 1.4 ===
28294 Various bugfixes, small features, and a few experimental things:
28296 * 'live preview' reduces preview reload burden on supported browsers
28297 * support for external editors for files and wiki pages:
28298   https://www.mediawiki.org/wiki/Manual:External_editors
28299 * Schema reworking:
28300   https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004
28301 * (bug 15) Allow editors to view diff of their change before actually submitting
28302   an edit
28303 * (bug 190) Hide your own edits on the watchlist
28304 * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN.
28305 * (bug 1015) support for the full wikisyntax in <gallery> captions.
28306 * (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload.
28307 * (bug 1352) Images on description pages now get thumbnailed regardless of
28308   whether the thumbnail is larger than the original.
28309 * (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of
28310   the current month
28311 * (bug 1668) 'Date format' supported for other languages than English, see:
28312   https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/5SH5IDCNYZTRBQQZ33GS7WYDEJ3PSEZE/
28313 * (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff
28314   database revision id, useful for proper citation.
28315 * (bug 1998) Updated the Russian translation.
28316 * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType
28317 * (bug 2084) Fixed a regular expression in includes/Title.php that was accepting
28318   invalid syntax like #REDIRECT [[foo] in redirects
28319 * It's now possible to invert the namespace selection at Special:Allpages and
28320   Special:Contributions
28321 * No longer using sorbs.net to check for open proxies by default.
28322 * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true
28323   if one wishes to enable uploads.
28324 * Supplying a reason for a block is no longer mandatory
28325 * Language conversion support for category pages
28326 * $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory;
28327 * Special:Movepage can now take parameters like Special:Movepage/Page_to_move
28328   (used to just be able to take parameters via a GET request like
28329   index.php?title=Special:Movepage&target=Page_to_move)
28330 * (bug 2151) The delete summary now includes editor name, if only one has edited
28331   the article.
28332 * (bug 2105) Fixed from argument to the PHP mail() function. A missing space
28333   could prevent sending mail with some versions of sendmail.
28334 * (bug 2228) Updated the Slovak translation
28335 * ...and more!
28338 === Changes since 1.5alpha1 ===
28340 * (bug 73) Category sort key is set to file name when adding category to
28341   file description from upload page (previously it would be set to
28342   "Special:Upload", causing problems with category paging)
28343 * (bug 419) The contents of the navigation toolbar are now editable through
28344   the MediaWiki namespace on the  MediaWiki:navbar page.
28345 * (bug 498) The Views heading in MonoBook.php is now localizable
28346 * (bug 898) The wiki can now do advanced sanity check on uploaded files
28347   including virus checks using external programs.
28348 * (bug 1692) Fix margin on unwatch tab
28349 * (bug 1906) Generalize project namespace for Latin localization, update
28350   namespaces
28351 * (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs
28352 * (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order
28353   to preserve the correct flow of text on RTL wikis.
28354 * (bug 2067) Fixed crash on empty quoted HTML attribute
28355 * (bug 2075) Corrected namespace definitions in Tamil localization
28356 * (bug 2079) Removed links to Special:Maintenance from movepagetext message
28357 * (bug 2094) Multiple use of a template produced wrong results in some cases
28358 * (bug 2095) Triple-closing-bracket thing partly fixed
28359 * (bug 2110) "noarticletext" should not display on Image page for "sharedupload"
28360   media
28361 * (bug 2150) Fix tab indexes on edit form
28362 * (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
28363 * (bug 2176) Section edit 'show changes' button works correctly now
28364 * (bug 2178) Use temp dir from environment in parser tests
28365 * (bug 2217) Negative ISO years were incorrectly converted to BC notation
28366 * (bug 2234) allow special chars in database passwords during install
28367 * Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is
28368   now the wikisyntax representation of wfMsgForContent()
28369 * Fix for reading incorrectly re-gzipped HistoryBlob entries
28370 * HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
28371   multiple-revision pulls
28372 * Add $wgLegacySchemaConversion update-time option to reduce amount of
28373   copying during the schema upgrade: creates HistoryBlobCurStub reference
28374   records in text instead of copying all the cur_text fields. Requires
28375   that the cur table be left in place until/unless such fields are migrated
28376   into the main text store.
28377 * Special:Export now includes page, revision, and user id numbers by
28378   default (previously this was disabled for no particular reason)
28379 * dumpBackup.php can dump the full database to Export XML, with current
28380   revisions only or complete histories.
28381 * The group table was renamed to groups because "group" is a reserved word in
28382   SQL which caused some inconveniances.
28383 * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o,
28384   ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE
28385   crystalsvg theme.
28386 * Fixed a bug in Special:Newimages that made it impossible to search for '0'
28387 * Added language variant support for Icelandic, now supports "Íslenzka"
28388 * The #p-nav id in MonoBook is now #p-navigation
28389 * Putting $4 in msg:userstatstext will now give the percentage of
28390   admnistrators out of normal users.
28391 * links and brokenlinks tables merged to pagelinks; this will reduce pain
28392   dealing with moves and deletes of widely-linked pages.
28393 * Add validate table and val_ip column through the updater.
28394 * Simple rate limiter for edits and page moves; set $wgRateLimits
28395   (somewhat experimental; currently needs memcached)
28396 * (bug 2262) Hide math preferences when TeX is not enabled
28397 * (bug 2267) Don't generate thumbnail at the same size as the source image.
28398 * Fix rebuildtextindex.inc for new schema
28399 * Remove linkscc table code, no longer used.
28400 * (bug 2271) Use faster text-only link replacement in image alt text
28401   instead of rerunning expensive link lookup and HTML generation.
28402 * Only build the HTML attribute whitelist tree once.
28403 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
28404   that does both numeric and named chars: Sanitizer::decodeCharReferences
28405 * Removed some obsolete UTF-8 converter functions
28406 * Fix function comment in debug dump of SQL statements
28407 * (bug 2275) Update search index more or less right on page move
28408 * (bug 2053) Move comment whitespace trimming from edit page to save;
28409   leaves the whitespace from the section comment there on preview.
28410 * (bug 2274) Respect stub threshold in category page list
28411 * (bug 2173) Fatal error when removing an article with an empty title from the
28412   watchlist
28413 * Removed -f parameter from mail() usage, likely to cause failures and bounces.
28414 * (bug 2130) Fixed interwiki links with fragments
28415 * (bug 684) Accept an attribute parameter array on parser hook tags
28416 * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
28417   LDAP authentication plugin
28418 * (bug 2034) Armor HTML attributes against template inclusion and links munging
28420 === Changes since 1.5alpha2 ===
28422 * (bug 2319) Fix parse hook tag matching
28423 * (bug 2329) Fix title formatting in several special pages
28424 * (bug 2223) Add unique index on user_name field to prevent duplicate accounts
28425 * (bug 1976) fix shared user database with a table prefix set
28426 * (bug 2334) Accept null for attribs in wfElement without PHP warning
28427 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
28428   with proper validation checks. (regression from fix for 2304)
28429 * Disallow close tags and enforce empty tags for <hr> and <br>
28430 * Changed user_groups format quite a bit.
28431 * (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line
28432 * (bug 2367) Insert correct redirect link record on page move
28433 * (bug 2372) Fix rendering of empty-title inline interwiki links
28434 * (bug 2384) Fix typo in regex for IP address checking
28435 * (bug 650) Prominently link MySQL 4.1 help page in installer if a possible
28436   version conflict is detected
28437 * (bug 2394) Undo incompatible breakage to {{msg:}} compatibility includes
28438 * (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1
28439   when the default charset is set to utf8
28440 * (bug 2400) don't send confirmation mail on account creation if
28441   $wgEmailAuthentication is false.
28442 * (bug 2172) Fix problem with nowiki beeing replaced by marker strings
28443   when a template with a gallery was used.
28444 * Guard Special:Userrights against form submission forgery
28445 * (bug 2408) page_is_new was inverted (whoops!)
28446 * Added wfMsgHtml() function for escaping messages and leaving params intact
28447 * Fix ordering of Special:Listusers; fix groups list so it shows all groups
28448   when searching for a specific group and can't be split across pages
28449 * (bug 1702) Display a handy upload link instead of a useless blank link
28450   for [[media:]] links to nonexistent files.
28451 * (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
28452 * (bug 1805) Initialise $wgContLang before $wgUser
28453 * (bug 2277) Added Friulian language file
28454 * (bug 2457) The "Special page" href now links to the current special page
28455   rather than to "".
28456 * (bug 1120) Updated the Czech translation
28457 * A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath
28458 * A new magic word, {{SERVERNAME}}, returns $wgServerName
28459 * A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the image
28460   table
28461 * Special:Imagelist displays titles with " " instead of "_"
28462 * Less gratuitous munging of content sample in delete summary
28463 * badaccess/badaccesstext to supercede sysop*, developer* messages
28464 * Changed $wgGroupPermissions to more cut-n-paste-friendly format
28465 * 'developer' group deprecated by default
28466 * Special:Upload now uses 'upload' permission instead of hardcoding login check
28467 * Add 'importupload' permission to disable direct uploads to Special:Import
28468 * (bug 2459) Correct escaping in Special:Log prev/next links
28469 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many
28470   things for the current parser to handle cleanly
28471 * (bug 2467) Added a Turkish language file
28472 * Fixed a bug in Special:Contributions that caused the namespace selection to
28473   be forgotten between submits
28474 * Special:Watchlist/edit now has namespace subheadings
28475 * (bug 1714) the "Save page" button now has right margin to separate it from
28476   "Show preview" and "Show changes"
28477 * Special:Statistics now supports action=raw, useful for bots designed to
28478   harwest e.g. article counts from multiple wikis.
28479 * The copyright confirmation box at Special:Upload is now turned off by default
28480   and can be turned back on by setting $wgCopyrightAffirmation to a true value.
28481 * Restored prior text for password reminder button and e-mail, replacing
28482   the factually inaccurate text that was there.
28483 * (bug 2178) Fix temp dir check again
28484 * (bug 2488) Format 'deletedtext' message as wikitext
28485 * (bug 750) Keep line endings consistent in LocalSettings.php
28486 * (bug 1577) Add 'printable version' tab in MonoBook for people who don't
28487   realize you can just hit print to get a nicely formatted printable page.
28488 * Trim whitespace from option values to weather line-ending corruption problems
28489 * Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA)
28490 * (bug 2504) Updated the Finnish translation
28491 * (bug 2506, 2512) Updated the Nynorsk translation
28492 * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE
28493   documentation about edit and read whitelists.
28494 * (bug 2515) Fix incremental link table update
28495 * Removed some wikipedia-specifica from LanguageXx.php's
28496 * (bug 2496) Allow MediaWiki:edithelppage to point to external page
28497 * Added a versionRequired() function to OutputPage, useful for extension
28498   writers that want to control what version of MediaWiki their extension
28499   can be used with.
28500 * Serialized user objects now checked for versioning
28501 * Fix for interwiki link regression
28502 * Printable link shorter in monobook
28503 * Experimental Latin-1-and-replication-friendly upgrader script
28504 * (bug 2520) Don't show enotif options when disabled
28506 == Changes since 1.5beta1 ==
28508 * (bug 2531) Changed the interwiki name for sh (Serbocroatian) to
28509   Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski))
28510 * Nonzero return code for command-line scripts on wfDebugDieBacktrace()
28511 * Conversion fix for empty old table in upgrade1_5.php
28512 * Try reading revisions from master if no result on slave
28513 * (bug 2538) Suppress notice on user serialized checks
28514 * Fix paging on Special:Contributions
28515 * (bug 2541) Fix unprotect tab
28516 * (bug 1242) category list now show on edit page
28517 * Skip sidebar entries where link text is '-'
28518 * Convert non-UTF-8 URL parameters even if referer is local
28519 * (bug 2460) <img> width & height properly filled when resizing image
28520 * (bug 2273) deletion log comment used user interface language
28521 * Try reading revision _text_ from master if no result on slave
28522 * Use content-language message cache for raw view of message pages
28523 * (bug 2530) Not displaying talk pages on Special:Watchlist/edit
28524 * Fixed a bug that would occour if $wgCapitalLinks was set to false, a user
28525   agent could create a username that began with a lower case letter that was
28526   not in the ASCII character set ( now user $wgContLang->ucfirst() instead of
28527   PHP ucfirst() )
28528 * Moved the user name / password validity checking from
28529   LoginForm::addNewAccountInternal() to two new functions,
28530   User::isValidUserName() and User::isValidPassword(), extensions can now do
28531   these checks without rewriting code.
28532 * Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-'
28533 * Fixed a bug where the watchlist count without talk pages would be off by a
28534   factor of two.
28535 * upgrade1_5.php uses insert ignore, allows to skip image info initialization
28536 * Fix namespaces in category list.
28537 * Add rebuildImages.php to update image metadata fields
28538 * Special:Ancientpages is expensive in new schema for now
28539 * (bug 2568) Fixed a logic error in the Special:Statistics code which caused
28540   the displayed percentage of admins to be totally off.
28541 * (bug 2560) Don't show blank width/height attributes for missing size
28542 * Don't show bogus messages about watchlist notifications when disabled
28543 * Don't show old debug messages in watchlist
28544 * (bug 2576) Fix recording of transclusion links
28545 * (bug 2577) Allow sysops to enter non-standard block times
28546 * Fixed a bug where Special:Contributions wouldn't remember the 'invert'
28547   status between next/previous buttons.
28548 * Move MonoBook printable link from tab to sidebar
28549 * (bug 2567) Fix HTML escaping on category titles in list
28550 * (bug 2562) Show rollback link for current revisions on diff pages
28551 * (bug 2583) Add --missinig option on rebuildImages.php to add db entries
28552   for uploaded files that don't have them
28553 * (bug 2572) Fix edit conflict handling
28554 * (bug 2595) Show "Earlier" and "Latest" links on history go to the first/last
28555   page in the article history pager.
28556 * Don't show empty-page text in 'Show changes' on new page
28557 * (bug 2591) Check for end, fix limits on Whatlinkshere
28558 * (bug 2584) Fix output of subcategory list
28559 * (bug 2597) Don't crash when undeleting an image description page
28560 * (bug 2564) Don't show "editingold" warning for recent revision
28561 * Various code cleanup and HTML escaping fixlets
28562 * Copy IRC-over-UDP update option from REL1_4
28563 * (bug 2548) Keep summary on 'show changes' of section edit
28564 * Move center on toc to title part to avoid breaking .toc style usage
28565 * HTML sanitizer: correct multiple attributes by keeping last, not first
28566 * (bug 2614) Fix section edit links on diff-to-current with oldid set
28567   Also fix navigation links on current-with-oldid view.
28568 * (bug 2620) Return to prior behavior for some more things (such as
28569   subpage parent links) on current-diff view.
28570 * (bug 2618) Fix regression from another fix; show initial preview for
28571   categories only if the page does not exist.
28572 * (bug 2625) Keep group & user settings when paging in Listusers
28573 * (bug 2627) Fix regression: diff radio button initial selection
28574 * Copy fix for old search URLs with Lucene search plugin from REL1_4
28575 * (bug 619) Don't use incompatible diff3 executable on non-Linux systems.
28576 * (bug 2631) Fix Hebrew namespaces.
28577 * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list
28578 * (bug 2644, 2645) "cur" diff links in page history, watchlist and
28579   recentchanges should specify current ID explicitly.
28580 * (bug 2609) Fix text justification preferenced with MonoBook skin.
28581 * (bug 2594) Display article tab as red for non-existent articles.
28582 * (bug 2656) Fix regression: prevent blocked users from reverting images
28583 * (bug 2629) Automatically capitalize usernames again instead of
28584   rejecting lowercase with a useless error message
28585 * (bug 2661) Fix link generation in contribs
28586 * Add support for &preload=Page_name (load text of an existing page into
28587 edit area) and &editintro=Page_name (load text of an existing page instead
28588 of MediaWiki:Newpagetext) to &action=edit, if page is new.
28589 * (bugs 2633, 2672, 2685, 2695) Fix Estonian, Portuguese, Italian, Finnish and
28590   Spanish numeric formatting
28591 * Fixed Swedish numeric formatting
28592 * (bug 2658) Fix signature time, localtime to match timezone offset again
28593 * Files from shared repositories (e.g. commons) now display with their
28594   image description pages when viewed on local wikis.
28595 * Restore compatibility namespace aliases for French Wikipedia
28596 * Fix diff order on Enhanced RC 'changes' link
28597 * (bug 2650) Fix national date type display on wikis that don't support
28598   dynamic date conversion.
28599 * FiveUpgrade: large table hacks, install iw_trans update before links
28600 * (bug 2648) Rename namespaces in Afrikaanse
28601 * Special:Booksources checks if custom list page exists before using it
28602 * (bug 1170) Fixed linktrail for da: and ru:
28603 * (bug 2683) Really fix apostrophe escaping for toolbox tips
28604 * (bug 923) Fix title and subtitle for rclinked special page
28605 * (bug 2642) watchdetails message in several languages used  <a></a> instead of
28606   [ ]
28607 * (bug 2181) basic CSB language localisation by Tomasz G. Sienicki (thanks for
28608   the patch)
28609 * Fix correct use of escaping in edit toolbar bits
28610 * Removed language conversion support from Icelandic
28611 * (bug 2616) Fix proportional image scaling, giving correct height
28612 * (bug 2640) Include width and height attributes on unscaled images
28613 * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs
28614 * (bug 1109) Suppress compressed output on 304 responses
28615 * (bug 2674) Include some site configuration info in export data:
28616   namespaces definitions, case-sensitivity, site name, version.
28617 * Use xml:space="preserve" hint on export <text> elements
28618 * Make language variant selection work again for zh
28620 == Changes since 1.5beta2 ==
28622 * Escaped & correctly in Special:Contributions
28623 * (bug 2534) Hide edit sections with CSS to make right click to edit section
28624   work
28625 * (bug 2708) Avoid undefined notice on cookieless login attempt
28626 * (bug 2188) Correct template namespace for Greek localization
28627 * Fixed number formatting for Dutch
28628 * (bug 1355) add class noprint to commonPrint.css
28629 * (bug 2350) Massive update for Limburgish (li) language using Wikipédia
28630 * Massive update for Arab (ar) language using Wikipédia
28631 * (bug 1560) Massive update for Kurdish (ku) language using Wikipédia
28632 * (bug 2709) Some messages were not read from database
28633 * (bug 2416) Don't allow search engine robots to index or follow nonexisting
28634   articles
28635 * Fix escaping in page move template.
28636 * (bug 153) Discrepancy between thumbnail size and <img> height attribute
28638 == Changes since 1.5beta3 ==
28640 * Fix talk page move handling
28641 * (bug 2721) New language file for Vietnamese with the Vietnamese number
28642   notation
28643 * (bug 2749) &nbsp; would appear as a literal in image galleries for Cs, Fr,
28644   Fur, Pl and Sv
28645 * (bug 787) external links being rendered when they only have one slash
28646 * Fixed a missing typecast in Language::dateFormat() that would cause some
28647   interesting errors with signitures.
28648 * (bug 2764) Number format for Nds
28649 * (bug 1553) Stop forcing lowercase in Monobook skin for German language.
28650 * (bug 1064) Implements Special:Unusedcategories
28651 * (bug 2311) New language file for Macedonian
28652 * Fix nohistory message on empty page history
28653 * Fix fatal error in history when validation on
28654 * Cleaned up email notification message formatting
28655 * Finally fixed Special:Disambiguations that was broke since SCHEMA_WORK
28656 * (bug 2761) fix capitalization of "i" in Turkish
28657 * (bug 2789) memcached image metadata now cleared after deletion
28658 * Add serialized version number to image metadata cache records
28659 * (bug 2780) Fix thumbnail generation with GD for new image schema
28660 * (bug 2791) Slovene numeric format
28661 * (bug 655) Provide empty search form when searching for nothing
28662 * Nynorsk numeric format fix
28663 * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off
28664 * (bug 2833) Fix bug in previous fix
28665 * With $wgCapitalLinks off, accept off-by-first-letter-case in 'go' match
28666 * Optional parameters for [[Special:Listusers]]
28667 * (bug 2832) [[Special:Listadmins]] redirects to [[Special:Listusers/sysop]]
28668 * (bug 785) Parser did not get out of <pre> with list elements
28669 * Some shared upload fixes
28670 * (bug 2768) section=new on nonexistent talk page does not add heading
28671 * support preload= parameter for section=new
28672 * show comment subject in preview when using section=new
28673 * use comment form when creating a new talk page
28674 * (bug 460) Properly handle <center> tags as a block.
28675 * Undo inconsistent editing behavior change
28676 * (bug 2835) Back out fix for bug 2802, caused regressions in category sort
28677 * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
28678 * (bug 2901) Number format for Catalan
28679 * Special:Allpages performance hacks: index memcached caching, removed
28680   inverse checkbox, use friendlier relative offsets in index build
28681 * Bring back "Chick" skin for mobile devices. It needs testing.
28682 * Fix spelling of $wgForwardSearchUrl in DefaultSettings.php
28683 * Specify USE INDEX on Allpages chunk queries, sometimes gets lost
28684   due to bogus optimization
28685 * (bug 275) Section duplication fix
28686 * Remove unused use of undefined variable in UserMailer
28687 * Fix notice on search index update due to non-array
28688 * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
28689 * (bug 2931) Fix additional notices on reference use in PHP 4.4.0
28690 * (bug 2774) Add three new $wgHooks to LogPage which enable extensions to add
28691   their own logtypes, see extensions/Renameuser/SpecialRenameuser.php for an
28692   example of this.
28693 * (bug 740) Messages from extensions now appear in Special:Allmessages
28694 * (bug 2857) fixed parsing of lists in <pre> sections
28695 * (bug 796) Trackback support
28696 * Fix 1.5 regression: weird, backwards diff links on new pages in enhanced RC
28697   are now suppressed as before.
28698 * New skin: Simple
28699 * "uselang" and "useskin" URL parameters can now be used in the URL when
28700   viewing a page, to change the language and skin of a page respectively.
28701 * Skins can now be previewed in preferences
28702 * (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook,
28703   patch from robla
28704 * Wrap revision insert & page update in a transaction, rollback on late
28705   edit conflict.
28706 * (bug 2953) 'other' didn't work in Special:Blockip when localized
28707 * (bug 2958) Rollback and delete auto-summary should be in the project's
28708   content language
28709 * Removed useless protectreason message
28710 * Spelling fix: $wgUrlProtcols -> $wgUrlProtocols
28711 * Switch Moldovan local name to cyrillic
28712 * Fix typo in undefined array index access prevention
28713 * (bug 2947) Update namespaces for sr localization
28714 * (bug 2952) Added Asturian language file with translated namespaces
28715 * (bug 2676) Apply a protective transformation on editing input/output
28716   for browsers that hit the Unicode blacklist. Patch by plugwash.
28717 * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php
28718 * compressOld.php disabled, as it's known to be broken.
28721 === Changes since 1.5beta4 ===
28723 * Fix Special:Allmessages under PHP 5
28724 * (bug 2911) Special:Watchlist allowed only one type of limit at a time
28725 * (bug 693) Special:Allmessages is excessively wide and redundant
28726 * (bug 3001) Updated and applied live hack for recentchanges-based watchlist
28727 * (bug 145) Finish 'exclude redirect' implementation in search form
28728 * Rearranged Special:Movepage form to reduce confusion between destination
28729   title and reason input boxes
28730 * (bug 2527) Always set destination filename when new file is selected
28731 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
28732 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
28733   if running prior to 4.2.0 as it causes the call to fail
28734 * (bug 3117) Fix display of upload size and type with tidy on
28735 * (bug 1487) invalid html on empty list in banlist
28736 * (bug 3017) Hotkey conflict for delete and show changes
28737 * made pixel unit translateable and blocklistline now eats infiniteblock
28738   and expiringblock
28739 * (bug 3092) Wrong numerical separator for big numbers in Serbian.
28740 * (bug 2855) Credit for a uniq author showed its realname even with
28741   $wgAllowRealName=false.
28742 * New special page: SpecialMostlinked
28743 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
28744 * Fix display of read-only lockfile message
28745 * Added a new hook, 'AddNewAccount', which is run after account creation
28746 * Update all stats fields on recount.sql
28747 * Include software-visible client IP address in Special:Version comment
28748   as a proxy debugging aid
28749 * (bug 3162) Fix 'undefined property page_is_new' error on watchlist
28750 * (bug 1734) granting db permissions failed with db usernames containg '-'
28751 * (bug 3170) wikititlesuffix was removed, use pagetitle instead
28752 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
28753 * (bug 3190) Added some date format choices for language sr
28754 * (bug 1334) LanguageGa.php update
28755 * (bug 1020) Changing user interface language does not work immediately
28756 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
28757 * (bug 3204) Fix typo breaking special pages in fy localization
28758 * (bug 3210) Fix Media: links with remote image URL path
28759 * (bug 3220) Fix escaping of block URLs in Recentchanges
28760 * (bug 3238): Updated LanguageNn.php for 1_5 branch
28761 * (bug 3192): properly check 'limit' parameter on Special:Contributions
28762 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
28763 * Fix URL sanitization in HTML attributes, which broke in this branch
28764 * (bug 3475) anon contrib links on Special:Newpages
28767 === Changes since 1.5rc2 ===
28769 * Fix upgrade from 1.4 due to version number check breakage
28770 * Fix upgrade from 1.4 with no old revisions
28771 * (bug 2108) Sort entries when using category browser
28772 * XSS issue : now sanitize search query input
28775 === Changes since 1.5rc3 ===
28777 * (bug 3280) Respect 'move' group permission on page moves
28778 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
28779 * Security fix for <math>
28780 * Security fix for tables
28783 === Changes since 1.5rc4 ===
28785 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
28786 * (bug 2078) Don't hide watch tab on preview
28787 * (bug 3306) Document $wgLocalTZoffset
28788 * Support SVG rendering with rsvg
28789 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
28790 * (bug 3127) Render large SVGs at image page size correctly
28791 * (bug 3448) Set page_len on undelete
28792 * (bug 2800) Don't scale up small iamges on |thumb| without explicit size
28793 * Use the real file link instead of the default-size rasterized version for
28794   large SVG images on image description page
28795 * Include the file name/type/size line for non-resized images
28796 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
28797   format as designed. Documentation comments updated.
28798 * (bug 1423) LanguageJa.php update
28799 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
28800 * (bug 3485) Fix bogus warning about filename capitalization when off
28801 * (bug 2792) Update rebuildrecentchanges.inc for new schema
28802 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
28803 * (bug 3489) PHP 5.1 compat problem with captioned images
28804 * (bug 3350) Missing label for move talk page checkbox.
28805 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
28806   by default when 'watchdefault' option is on
28807 * (bug 3182) Clear link cache during import to prevent memory leak
28808 * (bug 3573) Full Greek Translation
28809 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
28810 * (bug 3598) Update message cache on message page deletion, patch by Tietew
28811 * Blacklist additional MSIE CSS safety tricks
28814 === Changes since 1.5.0 ===
28816 * (bug 3629) Fix date & time format for Frisian
28817 * (bug 3641) Fix handling of unrecognized file uploads with known extensions
28818 * (bug 3643) Fix image page display of large images with resizing disabled
28819 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
28820   versions for convenient harvesting by automated worms
28821 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
28822 * Backport fix for reference usage notice in Special:Search on PHP 4.4.0
28823 * Backport database connect error display fix from HEAD
28824 * (bug 2773) Print style sheet no longer overrides RTL text direction
28825 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
28826   name attribute)
28827 * Wrap message page insertions in a transaction to speed up installation
28828 * Fix Special:MovePage invalid HTML attribute for reason textarea
28829 * Avoid notice warning on edit with no User-Agent header
28830 * (bug 3734) Swapped out obsolete recount.sql with initStats.php
28831 * (bug 3735) Fix to run under MySQL 5's strict mode
28832 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
28833   NOTE: Enabling this may break existing wikis, and still doesn't
28834   work for all Unicode characters due to MySQL limitations.
28835 * Sanitizer CSS comment processing order fix
28838 === Changes since 1.5.1 ===
28840 * Fix Special:BrokenRedirects on MySQL 5.0
28841 * (bug 3809) Backport fix for detecting diff3 failure
28842 * MySQL 5.0 strict mode fix for moving unwatched pages
28843 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
28844   Why do people invent these crazy options that change language semantics?
28845 * (bug 3762) Define missing Special:Import UI messages
28846 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
28847 * (bug 3649) Remove obsolete, broken moveCustomMessages script
28848 * (bug 3667) Add missing global in page move code
28849 * (bug 3761) Avoid deprecation warnings in Special:Import
28850 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
28851   talk notification on PHP 5.0.5
28852 * (bug 3845) Update attribute.php for 1.5 schema
28853 * Fix Parser::unstrip on PHP 4.4.1 and PHP 5.1.0RC4
28856 === Changes since 1.5.2 ===
28858 * (bug 3612) Remove old broken version of maintenance/compressOld.php
28859   The working version is in maintenance/storage/compressOld.php
28860 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
28861 * (bug 3933) specify XML namespace for Atom 0.3 feeds
28862 * (bug 3939) Don't try to load text for interwiki redirect target
28863 * (bug 3948) Avoid notice warning in debug statement in bad search
28864 * Recognize Special:Search consistently so read whitelist works
28865 * (bug 4013) typo in fr
28866 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
28867 * (bug 2894) Enhanced Recent Changes link fixes
28868 * (bug 3065) Update both watched namespaces when renaming pages
28869 * Move parentheses out of <a> link in Special:Contributions
28870 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
28871 * (bug 4035) Fix prev/next revision links on edit page
28872 * (bug 4165) Correct validation for user language selection (data taint)
28873 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
28876 === Changes since 1.5.3 ===
28878 * (bug 3805) Clear 'new messages' flag properly in enotif mode
28879   for usernames containing spaces
28880 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
28881 * (bug 4249) Typo in entities2literals.pl
28882 * (bug 4233) Update for japanese language
28883 * (bug 4279) Small correction to LanguageDa.php
28884 * (bug 4267) Switch dv sd ug ks arc languages to RTL
28885 * (bug 3991) Allow the operation of wikicode on Protect move only text
28886 * Added AutoAuthenticate hook for external User object suppliers
28887 * Parser internal placeholder string now fully randomized for safety
28889 === Changes since 1.5.4 ===
28891 * Maintenance script to delete unused user accounts
28892 * Added detection for WMF files (application/x-msmetafile), added this
28893   MIME type to the default blacklist. Prevented inline display of images
28894   which are not of known image types. This is in response to
28895   https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
28897 === Changes since 1.5.5 ===
28899 * (bug 4258) When installing under IIS, $wgArticlePath = "$wgScript?title=$1"
28900   should be set
28901 * (bug 4510) Correct Barnes & Noble bookstore URLs
28902 * (bug 4504) Use site language for namespace name resolution
28903 * Installer fixes from HEAD backported; now uses a more sensible method of
28904   establishing which mySQL user to use, which clears up bug 921 et al. Minor
28905   changes to installer.
28906 * Fix problem reported on mailing list where re-initialising stats didn't work
28907   (can't insert duplicate rows with the same id field)
28908 * (bug 1122) gray out 'older revision' when viewing first article revision.
28909 * Respect database prefix in dumpHTML.inc
28910 * Minor improvements to removeUnusedAccounts.php maintenance script
28911 * Fix for single-digit week numbers from {{CURRENTWEEK}}, broken by PHP 4.4.1
28912 * Removed read-only check from Database::query()
28913 * Added --conf option to command line scripts, allowing the user to specify a
28914   different LocalSettings.php.
28916 === Changes since 1.5.6 ===
28918 * Default main page content improved per bug 4690
28919 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
28920 * Fixed Special:Unlockdb
28921 * Maintenance script to delete unused text records
28922 * Maintenance script to delete non-current revisions
28923 * Maintenance script to wipe a page and all revisions from the database
28924 * (bug 4768) Wrong Russian translation (typo)
28925 * Performance bugfix: propagate equality manually for Revision fetches
28926 * (bug 4773) PHP fatal error when invalid title passed to Special:Export
28927 * Added missing table defs. for transcache to installer schemas
28928 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
28929   and seems to work ok with other bits. No longer including the IE
28930   workarounds JavaScript for IE 7 and above.
28931 * (bug 2532) Image directory structure migration bug
28932 * (bug 4881) Correction to the fix for 1487; Ipblocklist showed 'no blocks'
28933   message at the end of the list even if there were blocks.
28934 * (bug 4805) Removed more wikipedia-references from LanguageUk.php
28935 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
28936   list pages with less than this number of links. Defaults to 1.
28937 * Allow customisation of paging limits for items in categories using the
28938   $wgCategoryPagingLimit global, per bug 4970.
28939 * Improve "nogomatch" text to make it more obvious that a page can be created.
28940 * (bug 5113) Spelling error in French language file
28941 * Don't change the password of the MySQL root user.
28943 === Changes since 1.5.7 ===
28945 * (bug 5180) User login page shows inappropriate email blurb
28946 * Add the "AbortNewAccount" hook on account creation; see hooks.txt for more
28947   info.
28948 * Update default "exporttext" to reflect that Special:Import exists
28949 * Add links to useful material to the default main page content
28950 * Fix fragment HTML injection
28952 === Changes since 1.5.8 ===
28954 * Fixed obvious mistakes in Finnish (fi) translation
28955 * Fixed obvious mistakes in Kurdish (ku) translation
28956 * Merge two #p-search .pBody statements i monobook/main.css
28957 * (bug 5156) Update for Hebrew language (he) translation
28958 * Add the "UserRights" hook on user group changes; see hooks.txt for more info.
28959 * Translated "listingcontinuesabbrev" for German
28961 === Caveats ===
28963 Some output, particularly involving user-supplied inline HTML, may not
28964 produce 100% valid or well-formed XHTML output. Testers are welcome to
28965 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
28966 cases, but this is not recommended on live sites. (This must be set for
28967 MathML to display properly in Mozilla.)
28969 = MediaWiki 1.4 =
28971 == MediaWiki 1.4.15 ==
28973 (released March 26, 2006) MediaWiki 1.4.15 is a security maintenance release. A
28974 bug in decoding of certain encoded links could allow injection of raw HTML into
28975 page output; this could potentially lead to XSS attacks. Additionally, this
28976 release may display more correctly in IE7 betas.
28978 == MediaWiki 1.4.14 ==
28979 (released January 19, 2006) MediaWiki 1.4.14 is a security and bugfix
28980 maintenance release. A bug in edit comment formatting could send PHP into an
28981 infinite loop if certain malformed links were included. In most installations,
28982 this would cause the script to fail after PHP's 30-second failsafe timeout. For
28983 several other minor fixes, see the complete changelog at the end of this file.
28985 == MediaWiki 1.4.13 ==
28986 (released January 5, 2006) MediaWiki 1.4.13 is a security maintenance
28987 release.Detection for uploads of Windows Metafile (.wmf) images has been added
28988 to help protect against a client-side vulnerability in unpatched Microsoft
28989 Windows operating systems. Sites which have enabled uploads and added
28990 non-standard file types (such as .ogg, .doc, or .pdf) should upgrade to this
28991 release to ensure that malicious .wmf files can't be uploaded with a fake
28992 extension; such files could put visitors to the site at risk. For more details
28993 on this, see: https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
28995 == MediaWiki 1.4.12 ==
28996 (released 2005-11-02) MediaWiki 1.4.12 is a bugfix and security maintenance
28997 release. A change in PHP 4.4.1 broke handling of extension and
28998 <nowiki><pre></nowiki> sections, causing garbage data to be inserted in output
28999 and saved edits. This version works around the change. This release includes
29000 further corrections to the inline CSS style sanitation which works around a
29001 JavaScript "feature" on Microsoft Internet Explorer. Users of Microsoft
29002 Internet Explorer for Windows may be vulnerable to XSS injections on prior 1.4
29003 releases; users of standards-compliant browsers are not vulnerable.
29005 == MediaWiki 1.4.11 ==
29006 (released 2005-10-05) MediaWiki 1.4.11 is a security maintenance release.
29007 Unsafe handling of CSS by Microsoft Internet Explorer could be exploited to
29008 produce cross-site scripting attacks by JavaScript injection to clients running
29009 that browser. This release blacklists several additional variants from use in
29010 HTML inline style attributes. All publicly accessible wikis are recommended to
29011 upgrade to reduce the risk to visitors using Microsoft web browsers. Note: the
29012 MediaWiki 1.4.x series is not compatible with PHP 5.0.5 or higher. Upgrade to
29013 the 1.5.0 release if you require this version of PHP 5.
29015 == MediaWiki 1.4.10 ==
29016 (released 2005-09-21) MediaWiki 1.4.10 is a security maintenance release. A bug
29017 in edit submission handling could cause corruption of the previous revision in
29018 the database if an abnormal URL was used, such as those used by some spambots.
29019 Affected releases:
29020 * 1.4.x <= 1.4.9; fixed in 1.4.10
29021 * 1.3.x <= 1.3.15; fixed in 1.3.16
29022 1.5 release candidates are not affected by this problem. All publicly editable
29023 wikis are strongly recommended to upgrade immediately.
29024 1.4 releases can be manually patched by changing this bit in EditPage.php:
29026 <syntaxhighlight lang="php">
29027 function importFormData( &$request ) {
29028         if( $request->wasPosted() ) {
29029 </syntaxhighlight>
29031 <syntaxhighlight lang="php">
29032     function importFormData( &$request ) {
29033         if( $request->getVal( 'action' ) == 'submit' && $request->wasPosted() )
29034         {
29035 </syntaxhighlight>
29036 == MediaWiki 1.4.9 ==
29037 (released 2005-08-29) MediaWiki 1.4.9 is a security maintenance release. It
29038 corrects two cross-site scripting security bugs:
29039 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
29040 support is off, as in the default configuration.
29041 * Extension or <nowiki><nowiki></nowiki> sections in Wiki table syntax could
29042 bypass HTML style attribute restrictions for cross-site scripting attacks
29043 against Microsoft Internet Explorer Wikis where the optional math support has
29044 been *enabled* are not vulnerable to the first, but are vulnerable to the
29045 second.
29047 == MediaWiki 1.4.8 ==
29048 (released 2005-08-23) MediaWiki 1.4.8 is a bug fix and security maintenance
29049 release. A flaw in the interaction between extensions and HTML attribute
29050 sanitization was discovered which could allow unauthorized use of offsite
29051 resources in style sheets, and possible exploitation of a JavaScript injection
29052 feature on Microsoft Internet Explorer. This version expands the returned text
29053 and properly checks it before output. Additionally, an update to
29054 skins/MonoBook.php ensures that sites using the default MonoBook skin will
29055 display correctly in the Internet Explorer 7 beta. (1.3 and 1.5 are not
29056 affected by this bug.)
29058 == MediaWiki 1.4.7 ==
29059 (released 2005-07-16)
29060 MediaWiki 1.4.7 is a bug fix release. Those affected by the following problems
29061 in 1.4.6 should upgrade:
29062 * Watchlist breakage on MySQL 3.23.x and with table prefix enabled
29063 * Possible breakage in watchlist, some image resizing modes on PHP 4.1.2 1.4.6
29064 included a fix for a cross-site scripting vulnerability, so anyone running
29065 older 1.4 releases is very strongly encouraged to upgrade as well. Note to
29066 upgraders: this version of MediaWiki is known to produce a large number of
29067 notice-level warnings under the newly released PHP 4.4.0. These appear however
29068 to be harmless; if you encounter them add this to your LocalSettings.php to
29069 suppress the notices: error_reporting( E_ALL & ~E_NOTICE ); PHP 5.1.0beta3 is
29070 known to be incompatible at this time.
29072 == MediaWiki 1.4.6 ==
29073 (released 2005-07-07) MediaWiki 1.4.6 is a bug fix and security update release.
29074 Incorrect escaping of a parameter in the page move template could
29075 be used to inject JavaScript code by getting a victim to visit a maliciously
29076 constructed URL. Users of vulnerable releases are recommended to upgrade to
29077 this release. Vulnerable versions:
29078 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
29079 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
29080 * 1.3 legacy series: not vulnerable This release also includes fixes for some
29081 rare bug annoying HTTP errors, a PHP 4.1.2 breakage bug, and works around some
29082 template limitations introduced in 1.4.5. See the changelog at the end of this
29083 file for a detailed list of bugs fixed.
29085 == MediaWiki 1.4.5 ==
29086 (released 2005-06-03) MediaWiki 1.4.5 is a security update and bugfix release.
29087 Incorrect handling of page template inclusions made it possible to inject
29088 JavaScript code into HTML attributes, which could lead to cross-site scripting
29089 attacks on a publicly editable wiki. Vulnerable releases and fix:
29090 * 1.5 prerelease: fixed in 1.5alpha2
29091 * 1.4 stable series: fixed in 1.4.5
29092 * 1.3 legacy series: fixed in 1.3.13
29093 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended This
29094 release also includes a number of bug fixes (see changelog below) and merges
29095 some large-server load balancing patches from Wikipedia. An experimental rate
29096 limiter for page edits and moves can be enabled with global, per-IP,
29097 per-subnet, or per-user bases. See configuration options in
29098 includes/DefaultSettings.php
29100 == MediaWiki 1.4.4 ==
29101 (released 2005-05-04) MediaWiki 1.4.4 is a bugfix release for the 1.4 stable
29102 release series. Some bugs in the installer/updater and refreshLinks maintenance
29103 script were introduced in the last release and have been corrected.
29105 == MediaWiki 1.4.3 ==
29107 (released 2005-04-28)
29109 MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series.
29111 Chiefly, this fixes a compatibility problem with PHP 5 and a minor link
29112 table corruption bug on initial page save.
29115 == MediaWiki 1.4.2 ==
29117 (released 2005-04-20)
29119 MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release
29120 series.
29122 A cross-site scripting injection vulnerability was discovered, which
29123 affects only MSIE clients and is only open if MediaWiki has been
29124 manually configured to run output through HTML Tidy ($wgUseTidy).
29126 Several other bugs are fixed in this release, see the changelog below.
29128 All new installations are highly recommended to use 1.4.2 instead of
29129 1.3.x; 1.3.x users should consider upgrading for bug fixes and new
29130 features. Ealier 1.4.x release and beta users should upgrade to this
29131 release for relevant bug fixes; see the changelog later in this file.
29134 If you have trouble, remember to read this whole file and the online FAQ page
29135 before asking for help:
29137 https://www.mediawiki.org/wiki/Manual:FAQ
29140 === READ THIS FIRST: Upgrading ===
29142 If upgrading from an older release, see the notes in the file UPGRADE.
29143 There are a couple of minor database changes from the beta releases,
29144 and somewhat larger changes from 1.3.x.
29146 Upgrading from a previous 1.4.x stable release installation should
29147 generally only require copying the new files over the old ones.
29150 ==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ====
29152 MySQL 5.0 is a beta release, not yet ready for production use. If you
29153 are using it, the notes below about 4.1 apply to you too.
29155 If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for
29156 some other application, you should consider sticking with 4.0 for the
29157 moment. 4.1 may require you to do extra fiddling to get things to work
29158 due to changes that aren't fully backwards-compatible.
29160 MySQL 4.1 has changed the authentication protocol in an incompatible
29161 way; many PHP installations still use the older client libraries and
29162 CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes.
29164 See: http://dev.mysql.com/doc/mysql/en/Old_client.html
29166 If MySQL is set with utf-8 as the default character set, installation
29167 may fail with "key too long" errors. Set the default charset to 'latin1'
29168 for installation and it should work.
29170 The mysqldump backup generator now applies an automatic conversion to
29171 UTF-8, which may irretrivably corrupt your data. Pass the -charset option
29172 with the original default charset (eg 'latin1') to skip the conversion.
29175 ==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ====
29177 MediaWiki is tested and deployed primarily under the Apache web server
29178 on Linux Unix systems. There are known to be problems running on
29179 Microsoft's IIS which are not fully resolved. If you have a choice,
29180 try running under Apache on Windows, or on a Unix/Linux box instead.
29182 If you're having trouble with blank pages on IIS and can't switch,
29183 try the workaround suggested in this bug report:
29184 http://bugzilla.wikimedia.org/show_bug.cgi?id=1763
29187 === New features ===
29189 * 'Recentchanges Patrol' to mark new edits that haven't yet been viewed.
29190 * New, searchable deletion/upload/protection logs
29191 * Image gallery generation (Special:Newimages and <gallery> tag)
29192 * SVG rasterization support (requires external support tools)
29193 * Users can select from the available localizations to override the
29194   default user interface language.
29195 * Traditional/Simplified Chinese conversion support
29196 * rel="nofollow" support to combat linkspam
29198 The current implementation adds this attribute to _all_ external URL
29199 links in wiki text (but not internal [[wiki links]] or interwiki links).
29200 To disable the attribute for _all_ external links, add this line to your
29201 LocalSettings.php:
29203   $wgNoFollowLinks = false
29205 For background information on nofollow see:
29207   http://www.google.com/googleblog/2005/01/preventing-comment-spam.html
29210 === Installation and compatibility ===
29212 * The default MonoBook theme now works with PHP 5.0
29213 * Installation on systems with PHP's safe mode or other oddities
29214   should work more reliably, as MonoBook no longer needs to
29215   create a compiled template file for the wiki to run.
29216 * A table prefix may be specified, to avoid conflicts with other
29217   web applications forced to share a database.
29218 * More thorough UTF-8 input validation; fixes non-ASCII uploaded
29219   filenames from Safari.
29220 * Command-line database upgrade script.
29223 === Customizability ===
29225 * Default user options can now be overridden in LocalSettings.
29226 * Skins system more modular: templates and CSS are now in /skins/
29227   New skins can be dropped into this directory and used immediately.
29228 * More extension hooks have been added.
29229 * Authentication plugin hook.
29230 * More internal code documentation, generated with phpdoc:
29231   https://doc.wikimedia.org/mediawiki-core/master/php/html/
29234 === Optimization ===
29236 * For many operations, MediaWiki 1.4 should run faster and use
29237   less memory than MediaWiki 1.3. Page rendering is up to twice
29238   as fast. (Use a PHP accelerator such as Turck MMCache for best
29239   results with any PHP application, though!)
29240 * The parser cache no longer requires memcached, and is enabled
29241   by default. This avoids a lot of re-rendering of pages that
29242   have been shown recently, greatly speeding longer page views.
29243 * Support for compiled PHP modules to speed up page diff and
29244   Unicode validation/normalization. (Requires ability to compile
29245   and load PHP extensions).
29248 === What isn't ready yet ===
29250 * A new user/groups permissions scheme has been held back to 1.5.
29251 * An experimental SOAP interface will be made available as an extension
29252 * PostgreSQL support is largely working, minus search and the installer.
29253   You can perform a manual installation.
29254 * E-mail notification of watched page changes and verification of
29255   user-submitted e-mail addresses is not yet included.
29256 * Log pages are not automatically imported into the new log table
29257   at upgrade time. A script to import old text log entries is
29258   incomplete, but may be available in later point releases.
29259 * Some localizations are still incomplete.
29263 == Changelog ==
29265 === Important security updates ===
29267 A security audit found and fixed a number of problems. Users of MediaWiki
29268 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases
29269 prior to 1.4rc1 should upgrade immediately.
29271 ==== Cross-site scripting vulnerability ====
29273 XSS injection points can be used to hijack session and authentication
29274 cookies as well as more serious attacks.
29276 * Media: links output raw text into an attribute value, potentially
29277   abusable for JavaScript injection. This has been corrected.
29278 * Additional checks added to file upload to protect against MSIE and
29279   Safari MIME-type autodetection bugs.
29281 As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled
29282 by default as a general precaution. Sites which want this ability may set
29283 $wgAllowUserCss and $wgAllowUserJs in LocalSettings.php.
29286 ==== Cross-site request forgery ====
29288 An attacker could use JavaScript-submitted forms to perform various
29289 restricted actions by tricking an authenticated user into visiting
29290 a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has
29291 been expanded in this release to other forms and functions.
29293 Authors of bot tools may need to update their code to include the
29294 additional fields.
29297 ==== Directory traversal ====
29299 An unchecked parameter in image deletion could allow an authenticated
29300 administrator to delete arbitary files in directories writable by the
29301 web server, and confirm existence of files not deletable.
29304 ==== Older issues ====
29306 Note that 1.4 beta releases prior to beta 5 include an input validation
29307 error which could lead to execution of arbitrary PHP code on the server.
29308 Users of older betas should upgrade immediately to the current version.
29311 Beta 6 also introduces the use of rel="nofollow" attributes on external
29312 links in wiki pages to reduce the effectiveness of wiki spam. This will
29313 cause participating search engines to ignore external URL links from wiki
29314 pages for purposes of page relevancy ranking.
29317 === Misc bugs fixed in beta 1 ===
29319 * (bug 95) Templates no longer limited to 5 inclusions per page
29320 * New user preference for limiting the image size for images on image
29321   description pages
29322 * (bug 530) Allow user to preview article on first edit
29323 * (bug 479) [[RFC 1234]] will now make an internal link
29324 * (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages
29325 * (bug 770) Adding filter and username exact search match for Special:Listusers
29326 * (bug 733) Installer die if it can not write LocalSettings.php
29327 * (bug 705) Various special pages no more show the rss/atom feed links
29328 * (bug 114) use category backlinks in Special:Recentchangeslinked
29330 === Beta 2 fixes ===
29332 * (bug 987) Reverted bogus fix for bug 502
29333 * (bug 992) Fix enhanced recent changes in PHP5
29334 * (bug 1009) Fix Special:Makesysop when using table prefixes
29335 * (bug 1010) fix broken Commons image link on Classic & Cologne Blue
29336 * (bug 985) Fix auto-summary for section edits
29337 * (bug 995) Close <a> tag
29338 * (bug 1004) renamed norsk language links (twice)
29339 * Login works again when using an old-style default skin
29340 * Fix for load balancing mode, notify if using old settings format
29341 * (bug 1014) Missing image size option on old accounts handled gracefully
29342 * (bug 1027) Fix page moves with table prefix
29343 * (bug 1018) Some pages fail with stub threshold enabled
29344 * (bug 1024) Fix link to high-res image version on Image: pages
29345 * (bug 1016) Fix handling of lines omitting Image: in a <gallery> tag
29346 * security fix for image galleries
29347 * (bug 1039) Avoid error message in certain message cache failure modes
29348 * Fix string escaping with PostgreSQL
29349 * (bug 1015) [partial] -- use comment formatter on image gallery text
29350 * Allow customization of all UI languages
29351 * use $wgForceUIMsgAsContentMsg to make regular UI messages act as content
29352 * new user option for zh users to disable language conversion
29353 * Defer message cache initialization, shaving a few ms off file cache hits
29354 * Fixed Special:Allmessages when using table prefixes
29355 * (bug 996) Fix $wgWhitelistRead to work again
29356 * (bug 1028) fix page move over redirect to not fail on the unique index
29358 === Beta 3 fixes ===
29360 * Hide RC patrol markers when patrol is disabled or not allowed to patrol.
29361 * Fix language selection for upgraded accounts
29362 * (bug 1076) navigation links in QueryPage should be translated by wgContLang.
29363 * (bug 922) bogus DOS line endings in LanguageEl.php
29364 * Fix index usage in contribs
29365 * Caching and load limiting options for Recentchanges RSS/Atom feed
29366 * (bug 1074) Add stock icons for non-image files in gallery/Newimages
29367 * Add width and height attributes on thumbs in gallery/Newimages
29368 * Enhance upload extension blacklist to protect against vulnerable
29369   Apache configurations
29371 === Beta 4 fixes ===
29373 * (bug 1090) Fix sitesupport links in CB/classic skins
29374 * Gracefully ignore non-legal titles in a <gallery>
29375 * Fix message page caching behavior when $wgCapitalLinks is turned off
29376   after installation and the wiki is subsequently upgraded
29377 * Database error messages include the database server name/address
29378 * Paging support for large categories
29379 * Fix image page scaling when thumbnail generation is disabled
29380 * Select the content language in prefs when bogus interface language is set
29381 * Fix interwiki links in edit comments
29382 * Fix crash on banned user visit
29383 * Avoid PHP warning messages when thumbnail not generated
29384 * (bug 1157) List unblocks correctly in Special:Log
29385 * Fix fatal errors in LanguageLi.php
29386 * Undo overly bright, difficult to read colors in Cologne Blue
29387 * (bug 1162) fix five-tilde date inserter
29388 * Add raw signatures option for those who simply must have cute sigs
29389 * (bug 1164) Let wikitext be used in Loginprompt and Loginend messages
29390 * Add the dreaded <span> to the HTML whitelist
29391 * (bug 1170) Fix Russian linktrail
29392 * (bug 1168) Missing text on the bureaucrat log
29393 * (bug 1180) Fix Makesysop on shared-user-table sites
29394 * (bug 1178) Fix previous diff link when using 'oldid=0'
29395 * (bug 1173) Stop blocked accounts from reverting/deleting images
29396 * Keep generated stylesheets cache-separated for each user
29397 * (bug 1175) Fix "preview on first edit" mode
29398 * Fix revert bug caused by bug 1175 fix
29399 * Fix CSS classes on minor, new, unpatrolled markers in enhanced RC
29400 * Set MySQL 4 boolean search back to 'and' mode by default
29401 * (bug 1193) Fix move-only page protection mode
29402 * Fix zhtable Makefile to include the traditional manual table
29403 * Add memcache timeout for the zh conversion tables
29404 * Allow user customization of the zh conversion tables through
29405   MediaWiki:zhconversiontable
29406 * Add zh-min-man (back) to language names list
29407 * Ported $wgCopyrightIcon setting from REL1_3A
29408 * (bug 1218) Show the original image on image pages if the thumbnail would be
29409   bigger than the original image
29410 * (bug 1213) i18n of Special:Log labels
29411 * (bug 1013) Fix jbo, minnan in language names list
29412 * Added magic word MAG_NOTITLECONVERT to indicate that the title of the page
29413   do not need to be converted. Useful in zh:
29414 * (bug 1224) Use proper date messages for date reformatter
29415 * (bug 1241) Don't show 'cont.' for first entry of the category list
29416 * (bug 1240) Special:Preferences was broken in Slovenian locale when
29417   $wgUseDynamicDates is enabled
29418 * Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the
29419   content of an article. Useful in zh:
29420 * write-lock for updating the zh conversion tables in memcache
29421 * recursively parse subpages of MediaWiki:Zhconversiontable
29422 * (bug 1144) Fix export for fy language
29423 * make removal of an entry from zhconversiontable work
29424 * (bug 752) Don't insert newline in link title for url with %0a
29425 * Fix missing search box contents in MonoBook skin
29426 * Add option to forward search directly to an external URL (eg google)
29427 * Correctly highlight the fallback language variant when the selected
29428   variant is disabled. Used in zh: only for now.
29430 === Beta 5 fixes ===
29432 * (bug 1124) Fix ImageGallery XHTML compliance
29433 * (bug 1186) news: in the middle of a word
29434 * (bug 1283) Use underlining and borders to highlight additions/deletions
29435   in diff-view
29436 * Use user's local timezone in Special:Log display
29437 * Show filename for images in gallery by default (restore beta 3 behavior)
29438 * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks,
29439   searchindex
29440 * When using squid reverse proxy, cache the redirect to the Main_Page
29441 * (bug 1302) Fix Norwegian language file
29442 * (bug 1205) Fix broken article saving in PHP 5.1
29443 * (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give
29444   number of the week and number of the day).
29445 * (bug 1204) Blocks do not expire automatically
29446 * (bug 1184) expiry time of indefinite blocks shown as the current time
29447 * (bug 1317) Fix external links in image captions
29448 * (bug 1084) Fix logo not rendering centrally in IE
29449 * (bug 288) Fix tabs wrapping in IE6
29450 * (bug 119) Fix full-width tabs with RTL text in IE
29451 * (bug 1323) Fix logo rendering off-screen in IE with RTL language
29452 * Show "block" link in Special:Recentchanges for logged in users, too, if
29453   wgUserSysopBans is true.
29454 * (bug 1326) Use content language for '1movedto2' in edit history
29455 * zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set
29456 * zh: Fix double conversion for zh-sg and zh-hk
29457 * (bug 1132) Fix concatenation of link lists in refreshLinks
29458 * (bug 1101) Fix memory leak in refreshLinks
29459 * (bug 1339) Fix order of @imports in Cologne Blue CSS
29460 * Don't try to create links without namespaces ([[Category:]] link bug)
29461 * Memcached data compression fixes
29462 * Several valid XHTML fixes
29463 * (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook
29464 * (bug 211) Fix tabbed preferences with XHTML MIME type
29465 * Fix for script execution vulnerability.
29467 === Beta 6 fixes ===
29469 * (bug 1335) implement 'tooltip-watch' in Language.php
29470 * Fix linktrail for nn: language
29471 * (bug 1214) Fix prev/next links in Special:Log
29472 * (bug 1354) Fix linktrail for fo: language
29473 * (bug 512) Reload generated CSS on preference change
29474 * (bug 63) Fix displaying as if logged in after logout
29475 * Set default MediaWiki:Sitenotice to '-', avoiding extra database hits
29476 * Skip message cache initialization on raw page view (quick hack)
29477 * Fix notice errors in wfDebugDieBacktrace() in XML callbacks
29478 * Suppress notice error on bogus timestamp input (returns epoch as before)
29479 * Remove unnecessary initialization and double-caching of parser variables
29480 * Call-tree output mode for profiling
29481 * (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries
29482 * Add $wgNoFollowLinks option to add rel="nofollow" on external links
29483   (on by default)
29484 * (bug 1130) Show actual title when moving page instead of encoded one.
29485 * (bug 925) Fix headings containing <math>
29486 * (bug 1131) Fix headings containing interwiki links
29487 * (bug 1380) Update Nynorsk language file
29488 * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode
29489 * (bug 1217) Image within an image caption broke rendering
29490 * (bug 1384) Make patrol signs have the same width for page moves as for edits
29491 * (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit
29492 * (bug 1389) i18n for proxyblocker message
29493 * Add fur/Furlan/Friulian to language names list
29494 * Add TitleMoveComplete hook on page renames
29495 * Allow simple comments for each translation rules in MW:Zhconversiontable
29496 * (bug 1402) Make link color of tab subject page link on talk page indicate
29497   whether article exists
29498 * (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x
29499 * Translated Hebrew namespace names
29500 * (bug 1429) Stop double-escaping of block comments; fix formatting
29501 * (bug 829) Fix URL-escaping on block success
29502 * (bug 1228) Fix double-escaping on &amp; sequences in [enclosed] URLs
29503 * (bug 1435) Fixed many CSS errors
29504 * (bug 1457) Fix XHTML validation on category column list
29505 * (bug 1458) Don't save if edit form submission is incomplete
29506 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
29507 * Per-user CSS and JavaScript subpage customizations now disabled by default.
29508   They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss.
29509 * Removed .ogg from the default uploads whitelist as an extra precaution.
29510   If your web server is configured to serve Ogg files with the correct
29511   Content-Type header, you can re-add it in LocalSettings.php:
29512     $wgFileExtensions[] = 'ogg';
29514 === RC1 fixes ===
29516 * Fix notice error on nonexistent template in wikitext system message
29517 * (bug 1469) add missing <ul> tags on Special:Log
29518 * (bug 1470) remove extra <ul> tags from Danish log messages
29519 * Fix notice on purge w/ squid mode off
29520 * (bug 1477) hide details of SQL error messages by default
29521   Set $wgShowSQLErrors = true for debugging.
29522 * (bug 1430) Don't check for template data when editing page that doesn't exist
29523 * Recentchanges table purging fixed when using table prefix
29524 * (bug 1431) Avoid redundant objectcache garbage collection
29525 * (bug 1474) Switch to better-cached index for statistics page count
29526 * Run Unicode normalization on all input fields
29527 * Fix translation for allpagesformtext2 in LanguageZh_cn and LanguageZh_tw
29528 * Block image revert without valid login
29529 * (bug 1446) stub Bambara (bm) language file using French messages
29530 * (bug 1432) Update Estonian localization
29531 * (bug 1471) unclosed <p> tag in Danish messages
29532 * convertLinks script fixes
29533 * Corrections to template loop detection
29534 * XHTML encoding fix for usernames containing & in Special:Emailuser
29535 * (for zh) Search for variant links even when conversion is turned off,
29536   to help prevent duplicate articles.
29537 * Disallow ISO 8859-1 C1 characters and "no-break space" in user names
29538   on Latin-1 wikis.
29539 * Correct the name of the main page it LanguageIt
29540 * Allow Special:Makesysop to work for usernames containing SQL special
29541   characters.
29542 * Fix annoying blue line in Safari on scaled-down images on description page
29543 * Increase upload sanity checks
29544 * Fix XSS bug in Media: links
29545 * Add cross-site form submission protection to various actions
29546 * Fix fatal error on some dubious page titles
29547 * Stub threshold displays correctly again
29550 === 1.4.0 final fixes ===
29552 * (bug 65) Fix broken interwiki link encoding on Latin-1 wikis; force to UTF-8
29553 * (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis
29554 * (bug 1536) Fix page info
29555 * Support os (Ossetic) as language code, using Russian localization base
29556 * (bug 1610) Support non (Old Norse) as language code, using Icelandic
29557   localization base
29558 * (bug 1618) Properly list custom namespaces in Special:Allpages
29559 * (bug 1622) Remove trailing' >' when using category browser
29560 * (bug 1570) Fix php 4.2.x error on conflict merging
29561 * (bug 1585) Fix page title on post-login redirection page
29562 * Run UTF-8 validation on old text in Recentchanges RSS diffs
29563 * (bug 1642) fix a mime type typo in img_auth.php
29564 * Automated interwiki redirects only for local interwikis
29565 * Respect read-only mode on block removals
29566 * Trim old illegal characters from syndication feeds
29567 * Reduce message cache outage recovery delay from 1 day to 5 minutes
29568 * (bug 1403) Update Finnish localization
29569 * (bug 1478) Punjabi localization
29570 * (bug 1667) Update script 5 second countdown.
29571 * (bug 1057) Fix logging table encoding (error on MySQL 4.1)
29572 * (bug 1680) Fix linktrail for fo
29573 * (bug 1653) Removing hardcoded messages in Special:Allmessages
29574 * (bug 1594) Render a hyphen in a formula as &minus; in HTML
29575 * (bug 1495) Fall back to default language MediaWiki: for custom messages
29576 * (bug 1617) Show different error messages for "user does not
29577     exist" and "wrong password" when using AuthPlugin
29578 * (bug 1532), (bug 1544) Changed language names for
29579     'bn', 'bo', 'dv', 'dz', 'ht', 'ii', 'li', 'lo', 'ng', 'or', 'pa', 'si',
29580     'ti', 've'
29581 * Fix editing on non-Esperanto wiki with user language pref set to Esperanto
29582 * Make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw
29583 * Fix PHP notice in MonoBook when counters disabled
29584 * (bug 1696) Update namespaces, dates in uk localization
29585 * (bug 551) Installer warns about magic_quotes_runtime and magic_quotes_sybase
29586   instead of trying to install with corrupt table files
29587 * Installer no longer tries to move non-default MediaWiki: pages into Template:
29588 * User-to-user email disabled by default ($wgEnableUserEmail)
29591 === 1.4.1 fixes ===
29593 * (bug 1720) fix genitive month names for uk
29594 * (bug 1704) fixed untranslateable string in Special:Log
29595 * (bug 1638) Added Belrusian language file
29596 * (bug 1736) typo in SpecialValidate.php
29597 * (bug 73) Upload doesn't run edit updates on description page (links,
29598   search index and categories)
29599 * (bug 646) <math> fails to recognize \ll and \gg
29600 * (bug 926) \div element from TeX not supported in <math> element
29601 * (bug 1147) add \checkmark to whitelist in texutil.ml
29602 * (bug 937) \limits function from LaTeX not supported in <math> element
29603 * Support for manually converting article title to different Chinese
29604   variants (for zh)
29605 * (bug 1488, bug 1744) Fix encoding for preferences, dates in Latin-1 mode
29606 * (bug 1042) Fix UTF-8 case conversion for PHP <4.3 with mbstring extension
29607 * Fix code typo that broke article credits display
29608 * Installation fixes for running under IIS
29609 * (bug 1556) login page tab order. "remember" checkbox now come after password.
29610 * SQL debug log fixlets
29611 * (bug 1815) Fix namespace in old revision display with mismatched title
29612 * (bug 1788) Fix link duplication when edit/upload comment includes newlines
29613 * Change default on $wgSysopUserBans and $wgSysopRangeBans to true
29614 * Fix link conversion for URL request
29615 * (bug 1851) Updated download URL for the SCIM packages used by zhtable
29616 * (bug 1853) Try stripping quotes from term for 'go' title match
29617 * Fix missing function in Latin1 mode
29618 * (bug 1860) Anchors of interwiki links did not get normalized
29619 * (bug 1847) accept lowercase x in ISBN, do not accept invalid A-W,Y,Z
29620 * Fix link conversion for URL request, hopefully without breaking the wiki
29621 * (bug 1849) New option allows to consider categorized images as used on
29622   Special:Unusedimages
29623 * Localized category namespace for ka (Georgian)
29624 * (bug 1107) Work around includes problem in installer when parent dir is not
29625   readable by the web server
29626 * (bug 1927) Incorrect escaping on wikitext message in Blockip
29629 === 1.4.2 fixes ===
29631 * Fix math options in Finnish localization
29632 * Use in-process Tidy extension if available when $wgUseTidy is on
29633 * (bug 1933) Fix PATH_INFO usage under IIS with PHP ISAPI module
29634 * (bug 1188) <nowiki> in {{subst:}} includes fixed
29635 * (bug 1936) <!-- comments --> in {{subst:}} includes fixed
29636 * Fix a potential MSIE JavaScript injection vector in Tidy mode
29639 === 1.4.3 fixes ===
29641 * (bug 1636) Refs like &#0355; were misinterpreted as octal in some places
29642 * (bug 1163) Special:Undelete showed oldest revision instead of newest
29643 * (bug 1938) Fix escaping of illegal character references in link text
29644 * (bug 1997) Fix for error on display of renamed items in Recentchanges on PHP5
29645 * (bug 1949) Profiling typo in rare error case
29646 * (bug 1963) Fix deletion log link when $wgCapitalLinks is off
29647 * (bug 1970) Don't show move tab for immobile pages
29648 * (bug 1770) Page creation recorded links from the 'newarticletext' message
29649 * Optional change to the site_stats table. When applied, this removes the need
29650   for expensive queries in Special:Statistics.
29653 === 1.4.4 fixes ===
29655 * (bug 725) Let dir="ltr" attribute work again in MonoBook on RTL languages
29656 * (bug 2024) Skip JavaScript error for custom skins where .js message not set
29657 * (bug 2025) Updated Indonesian localization
29658 * (bug 2039) Updated Lithuanian localization
29661 === Caveats ===
29663 Some output, particularly involving user-supplied inline HTML, may not
29664 produce 100% valid or well-formed XHTML output. Testers are welcome to
29665 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
29666 cases, but this is not recommended on live sites. (This must be set for
29667 MathML to display properly in Mozilla.)
29670 For notes on 1.3.x and older releases, see HISTORY.
29673 === Online documentation ===
29675 Documentation for both end-users and site administrators is currently being
29676 built up on MediaWiki.org, and is covered under the GNU Free Documentation
29677 License:
29679   https://www.mediawiki.org/
29682 === Mailing list ===
29684 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
29685 wikitech-l list:
29687   http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
29689 A low-traffic announcements-only list is also available:
29690   http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
29692 It's highly recommended that you sign up for one of these lists if you're
29693 going to run a public MediaWiki, so you can be notified of security fixes.
29696 === IRC help ===
29698 There's usually someone online in #mediawiki on irc.freenode.net
29700 =MediaWiki 1.3=
29702 == MediaWiki 1.3.18 ==
29703 (released 2005-11-02)
29704 MediaWiki 1.3.18 is a bugfix and security maintenance release. A change in PHP
29705 4.4.1 broke handling of extension and <nowiki><pre></nowiki> sections, causing
29706 garbage data to be inserted in output and saved edits. This version works
29707 around the change. This release includes further corrections to the inline CSS
29708 style sanitation which works around a JavaScript "feature" on Microsoft
29709 Internet Explorer. Users of Microsoft Internet Explorer for Windows may be
29710 vulnerable to XSS injections on prior 1.3 releases; users of
29711 standards-compliant browsers are not vulnerable.
29713 == MediaWiki 1.3.17 ==
29714 (released 2005-10-05)
29715 MediaWiki 1.3.17 is a security maintenance release. Unsafe handling of CSS by
29716 Microsoft Internet Explorer could be exploited to produce cross-site scripting
29717 attacks by JavaScript injection to clients running that browser. This release
29718 blacklists several additional variants from use in HTML inline style
29719 attributes. All publicly accessible wikis are recommended to upgrade to reduce
29720 the risk to visitors using Microsoft web browsers.Note: the MediaWiki 1.3.x
29721 series is not compatible with PHP 5.0.5 or higher. Upgrade to the 1.5.0 release
29722 if you require this version of PHP 5.
29724 == MediaWiki 1.3.16 ==
29725 (released 2005-09-21)
29726 MediaWiki 1.3.16 is a security maintenance release. A bug in edit submission
29727 handling could cause corruption of the previous revision in the database if an
29728 abnormal URL was used, such as those used by some spambots. Affected releases:
29729 * 1.4.x <= 1.4.9; fixed in 1.4.10
29730 * 1.3.x <= 1.3.15; fixed in 1.3.16
29731 1.5 release candidates are not affected by this problem. All publicly editable
29732 wikis are strongly recommended to upgrade immediately.
29733 1.3 releases can be manually patched by changing this bit in
29734 {{manual|EditPage.php}}:
29735 <syntaxhighlight lang="php">
29736     if( $this->tokenOk( $request ) ) {
29737         $this->save    = $request->wasPosted() && !$this->preview;
29738     } else {
29739 </syntaxhighlight>
29741 <syntaxhighlight lang="php">
29742     if( $this->tokenOk( $request ) ) {
29743         $this->save    = $request->getVal( 'action' ) == 'submit' &&
29744                          $request->wasPosted() && !$this->preview;
29745     } else {
29746 </syntaxhighlight>
29748 == MediaWiki 1.3.15, 2005-08-29 ==
29749 MediaWiki 1.3.15 is a security maintenance release. It corrects across-site
29750 scripting security bug:
29751 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
29752 support is off, as in the default configuration. Wikis where the optional math
29753 support has been *enabled* are not vulnerable. The 1.3.x series is no longer
29754 maintained except for security fixes; new users and those seeking bug fixes
29755 should upgrade to 1.4.9 or 1.5.0.
29757 == MediaWiki 1.3.14, 2005-08-23 ==
29758 MediaWiki 1.3.14 is a security maintenance release. A flaw in the interaction
29759 between extensions and HTML attribute sanitization was discovered which could
29760 allow unauthorized use of offsite resources in style sheets, and possible
29761 exploitation of a JavaScript injection feature on Microsoft Internet Explorer.
29762 The 1.3.x series is no longer maintained except for security fixes; new users
29763 and those seeking bug fixes should upgrade to 1.4.8 or 1.5.0. Existing 1.3.x
29764 installations not willing to upgrade to the current stable release should apply
29765 the change manually:
29766 In includes/Parser.php, function {{code|inline=y|lang=php|fixTagAttributes()}}
29767 add:
29768 <syntaxhighlight lang="php">
29769        # Any placeholder items should have been unstripped already before
29770        # we got to this point. Raw text inserted later could be dangerous.
29771        if( strpos( $t, UNIQ_PREFIX ) !== false ) {
29772            wfDebug( "Parser::fixTagAttributes found stripped data placeholder;
29773            dropping attributes\n" );
29774            $t = '';
29775        }
29776 </syntaxhighlight>
29777 If you are actively using extensions to generate HTML attribute values, upgrade
29778 to 1.4 or 1.5 for a more thorough fix.
29780 == MediaWiki 1.3.13, 2005-06-03 ==
29781 MediaWiki 1.3.13 is a security maintenance release. Incorrect handling of page
29782 template inclusions made it possible to inject JavaScript code into HTML
29783 attributes, which could lead to cross-site scripting attacks on a publicly
29784 editable wiki. Vulnerable releases and fix:
29785 * 1.5 prerelease: fixed in 1.5alpha2
29786 * 1.4 stable series: fixed in 1.4.5
29787 * 1.3 legacy series: fixed in 1.3.13
29788 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended The
29789 1.3.x series is no longer maintained except for security fixes; new users and
29790 those seeking general bug fixes should install 1.4.5. Existing 1.3.x
29791 installations not willing or able to upgrade to the current stable relase
29792 should update the installation to 1.3.13; only includes/Parser.php has changed
29793 from 1.3.12.
29795 == MediaWiki 1.3.12, 2005-02-20 ==
29796 MediaWiki 1.3.12 is a security maintenance release. A cross-site scripting
29797 injection vulnerability was discovered, which affects only MSIE clients and is
29798 only open if MediaWiki has been manually configured to run output through HTML
29799 Tidy ($wgUseTidy). The 1.3.x series is no longer maintained except for security
29800 fixes; new users and those seeking bug fixes should upgrade to 1.4.2. Existing
29801 1.3.x installations using Tidy not willing to upgrade to the current stable
29802 relase should either turn off Tidy or update the installation to 1.3.12.
29804 == MediaWiki 1.3.11, 2005-02-20 ==
29805 MediaWiki 1.3.11 is a security release.
29806 A security audit found and fixed a number of problems. Users of MediaWiki
29807 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases should
29808 upgrade to 1.4rc1.
29810 === Cross-site scripting vulnerability ===
29811 XSS injection points can be used to hijack session and authentication cookies
29812 as well as more serious attacks.
29813 * Media: links output raw text into an attribute value, potentially abusable
29814 for JavaScript injection. This has been corrected.
29815 * Additional checks added to file upload to protect against MSIE and Safari
29816 MIME-type autodetection bugs.
29817 As of <code>1.3.10/1.4beta6</code>, per-user customized CSS and JavaScript is
29818 disabled by default as a general precaution. Sites which want this ability may
29819 set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in LocalSettings.php.
29821 === Cross-site request forgery ===
29822 An attacker could use JavaScript-submitted forms to perform various restricted
29823 actions by tricking an authenticated user into visiting a malicious web page. A
29824 fix for page editing in 1.3.10/1.4beta6 has been expanded in this release to
29825 other forms and functions. Authors of bot tools may need to update their code
29826 to include the additional fields.
29828 === Directory traversal ===
29829 An unchecked parameter in image deletion could allow an authenticated
29830 administrator to delete arbitary files in directories writable by the web
29831 server, and confirm existence of files not deletable.
29833 == MediaWiki 1.3.10, 2005-02-03 ==
29834 MediaWiki 1.3.10 is a security release.
29835 An attacker could craft a URL which, when visited by a particular logged-in
29836 user, would execute arbitrary JavaScript code on the user's browser in the
29837 wiki's site context. This attack has been blocked, and as an extra precaution
29838 the user CSS and JavaScript subpage support is now disabled by default. Sites
29839 which want this ability may set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in
29840 {{manual|LocalSettings.php}}. Additional protections have been added against
29841 off-site form submissions
29842 hijacking user credentials. Authors of bot tools may need to update their code
29843 to include additional fields. All wikis running 1.3.x are strongly urged to
29844 upgrade to 1.3.10.
29845 Changes from 1.3.9:
29846 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
29847 * Per-user CSS and JavaScript subpage customizations now disabled by default.
29848 They can be re-enabled via {{wg|AllowUserJs}} and {{wg|AllowUserCss}}.
29849 * Removed .ogg from the default uploads whitelist as an extra precaution. If
29850 your web server is configured to serve Ogg files with the correct Content-Type
29851 header, you can re-add it in LocalSettings.php: {{wg|FileExtensions}}<code>[] =
29852 'ogg'</code>
29854 == MediaWiki 1.3.9, 2004-12-12 ==
29855 MediaWiki 1.3.9 is a security and bug fix release.
29856 A flaw in upload handling has been found which may allow upload and  execution
29857 of arbitrary scripts with the permissions of the web server. Only wikis that
29858 have enabled uploads and have a vulnerable Apache  configuration will be
29859 affected, but to be safe all wikis should upgrade. Wikis with uploads available
29860 should either disable uploads or upgrade to 1.3.9 immediately; if other files
29861 are customized and require merging changes,
29862 includes/{{manual|SpecialUpload.php}} may be replaced individually to add the
29863 fix. (It is also recommended to configure your web server to disable script
29864 execution in the 'images' subdirectory where uploads are placed, which prevents
29865 most attacks even if the wiki fails.)
29866 Changes from 1.3.8:
29867 * Backported "Templates used in this page"-feature of EditPage
29868 * Allow "MySkin" as a default skin.
29869 * ({{bugzilla|938}}) Parse namespaces correctly on self-interwiki links
29870 * ({{bugzilla|1010}}) fix broken Commons image link on [[Skin:Classic|Classic]]
29871 & [[Skin:Cologne Blue|Cologne Blue]]
29872 * ({{bugzilla|1004}}) Norsk language names for interwiki links changed, Nauruan
29873 language name changed
29874 * Enhance upload extension blacklist to protect against vulnerable Apache
29875 configurations
29877 == MediaWiki 1.3.8, 2004-11-15 ==
29878 MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads enabled
29879 are strongly recommended to upgrade as this fixes several problems with
29880 overwriting previously-uploaded files.
29881 Changes from 1.3.7:
29882 * ({{bugzilla|506}}) fix {{code|inline=y|lang=html|array_key_exists()}} warning
29883 for IIS servers using ISAPI mode
29884 * ({{bugzilla|718}}) fix bad charset in (file) cached pages
29885 * use local numerals in category page (for Hindi et al)
29886 * alias month abbreviations to month names in Hindi
29887 * add localized numerals for Gujarati and Kannada
29888 * fix Category and project namespaces for Hindi
29889 * Don't output bogus timestamp on [[Special:RecentChanges]] if no entries
29890 * Correct template include path which broke some but not all Windows installs
29891 * Fix edit form submission problem with some PHP versions
29892 * Disallow unreachable titles with %XX hex codes
29893 * Allow page [[0]] to be renamed
29894 * ({{bugzilla|774}}) when saving with <code>section=new</code>, return to the
29895 anchor as with existing numbered section edits
29896 * Experimental shared upload overlay area (disabled by default)
29897 * ({{bugzilla|806}}) Removed some "Wikipedia" hardcoding in German localization
29898 * User option localization fix for some extensions
29899 * ({{bugzilla|809}}) now try to load the mysql php extension if it isn't loaded
29900 * ({{bugzilla|848}}) fix error message in [[Special:Newpages]] RSS and Atom
29901 feeds
29902 * ({{bugzilla|26}}) fix cache headers on anon talk page notification
29903 * ({{bugzilla|874}}) added 'cgi' to {{wg|FileBlacklist}}
29904 * ({{bugzilla|862}}) localize date and time format for Finnish
29905 * ({{bugzilla|548}}) Don't overwrite images until the user confirms it
29907 == MediaWiki 1.3.7, 2004-10-18 ==
29908 Changes from 1.3.6:
29909 * Fix protected-page related security issue.
29911 == MediaWiki 1.3.6, 2004-10-14 ==
29912 Changes from 1.3.5:
29913 * ({{bugzilla|296}}) Variables in user interface messages are no longer
29914 substituted at install time, so changes to the site name etc should be easier
29915 to make
29916 * ({{bugzilla|149}}) [[Special:RecentChanges]] "changes from" link preserves
29917 limit
29918 * ({{bugzilla|433}}) tooltip for "Undelete" tab now labeled correctly
29919 * ({{bugzilla|439}}) unclickable "Move" tab no longer displays on protected
29920 pages
29921 * ({{bugzilla|484}}) graceful deletion of images where the actual file is
29922 missing
29923 * ({{bugzilla|686}}) fixed [[plural]]s in Catalan localization
29924 * Fixed potential HTML/JavaScript injection attack in the
29925 [[Extension:UnicodeConverter|UnicodeConverter]] extension. (This extension is
29926 not enabled by default.)
29927 * Fixed potential HTML/JavaScript injection attack via raw page views to a
29928 maliciously crafted wiki page.
29929 * ({{bugzilla|187}}, {{bugzilla|669}}) Fixed centered thumbnails, using
29930 {{code|inline=y|lang=html|<div>}} instead of {{code|inline=y|lang=html|<span>}}.
29931 * catch MySQL error 2000 during installation.
29932 * ({{bugzilla|704}}) Removed misleading LocalSettings.sample
29933 * Fix cross site scripting bugs in [[Special:Ipblocklist]],
29934 [[Special:EmailUser]]
29935 * Fix SQL injection and cross site scripting bugs in Special:Maintenance
29936 * Fix cross site scripting bugs and possible filename validation vulnerability
29937 in ImagePage.
29938 * and more of that sort
29940 == MediaWiki 1.3.5, 2004-09-30 ==
29941 Changes from 1.3.4:
29942 * Clean up input validation in 'raw' page output mode which was a potential
29943 cross-site scripting opportunity.
29945 == MediaWiki 1.3.4, 2004-09-28 ==
29946 === SECURITY NOTE ===
29947 As of 1.3.4, MediaWiki performs some screening of newly uploaded files for
29948 validity. (Some)  corrupt image files, and HTML files mistakenly or maliciously
29949 masquerading as images, should now be rejected. These checks protect against
29950 Internet Explorer security holes relating to type autodetection which are a
29951 potential cross-site scripting attack vector, and also rejects at least one
29952 known version of the "JPEG virus" which might attack unpatched clients. If you
29953 already have invalid files uploaded this will not protect against them. If you
29954 have expanded the <code>filetype</code> whitelist or disabled the strict type
29955 checking, other dangerous file types may still get through. You should always
29956 be careful when allowing uploads!
29957 Changes from 1.3.3:
29958 * Fixed lots of template-related bugs, esp. for cases where template variables
29959 are used for links, images, etc.
29960 * Fixed transformation of page messages when viewing [[Special:Allmessages]]
29961 * Handle "ISBN ISBN 1234" correctly
29962 * Fixed warning on Category pages
29963 * Fixed some bad error messages on login page
29964 * Fixed history entry for initial main page on install
29965 * Removed problematic <code>{</code> and <code>}</code> from legal title
29966 characters
29967 * Strip leading blank from output in preformatted text.
29968 * Fixed problem when moving pages to titles with '#' in
29969 * Optional {{wg|RawHtml}} for raw {{code|inline=y|lang=html|<html>}} sections.
29970 Use only on limited- participation 'trusted' wikis, as it does not protect
29971 against cross-site scripting attacks. For security, this option can only be
29972 enabled if in {{wg|WhitelistEdit}} mode.
29973 * Fixed problem where pages which were created as a redirect following a move
29974 never showed on [[Special:Randompage]].
29975 * Fixed line spacing on printed table of contents
29976 * Allow links to pages with names of the form [[RFC 1234]]
29977 * Fixed broken edit links being shown for sections from included templates
29978 * Verify that uploaded image files are of the claimed type.
29980 == MediaWiki 1.3.3, 2004-09-09 ==
29981 Changes from 1.3.2:
29982 * Fix for long numeric page titles
29983 * Fix Go search for "0", numeric almost-self-links
29984 * Avoid caching of pages with "You have new messages" headers
29985 * Fix for upgrades as non-root users from 1.2 command-line installs.
29986 * Fix for {{wg|DebugDumpSql}} debug mode.
29987 * {{wg|ExtraNamespaces}} setting for configuring additional namespaces (see
29988 note in {{manual|DefaultSettings.php}})
29989 * 'recache' on query pages now disabled when miser mode is on; special case the
29990 global settings in your {{manual|LocalSettings.php}} to do automatic updates.
29991 * Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2)
29992 * Watch/unwatch tabs now shown on edit pages in MonoBook.
29993 * Fix default skin in Irish localization (ga)
29994 * Add Traditional Chinese localization (zh-tw)
29995 * Changed default sortkey of subcategories. Don't include "Category:"-prefix
29996 any longer
29997 * More helpful info on spam catcher.
29998 * Allow larger offsets for queries such as [[Special:Listusers]]
29999 * Semicolon (;) added to French non-break space rules
30000 * Possible fix for some install errors with path names permission problems.
30001 * Removed [[Project:All system messages]], which has been superseded by the
30002 much faster [[Special:Allmessages]]. This speeds up installation considerably.
30004 == MediaWiki 1.3.2, 2004-08-30 ==
30005 Changes from 1.3.1:
30006 * Fix namespaced page creation links when no go match
30007 * When cookies are disabled, don't show login screen twice
30008 * Install should no longer die when PHP is pre-configured to compress output
30009 * Fixed bug that caused long Japanese pages to time out with Tidy active
30010 * When session.handler is set incorrectly, try automatic override to 'files'
30011 * Watch/Unwatch links back to the affected page instead of Main Page
30012 * Upload link no longer displayed on Monobook if uploading is disabled
30013 * Special:Allmessages faster, shows correct original text, works in safe mode
30015 == MediaWiki 1.3.1, 2004-08-14 ==
30016 Changes from 1.3.0:
30017 * Watchlist parameters now work with register_globals off
30018 * Fixed parsing of ''italics'' and '''bold''' mark-up (again)
30019 * Special:Allpages display is more sensible on smaller wikis
30020 * Fixed XHTML parsing error in classic skins
30021 * Moved pages update watchlist correctly
30022 * Fixed rebuildall.php on case-sensitive Unix filesystems
30023 * Disabled file cache compression by default due to incompatibility with output
30024 buffer compression (ob_gzhandler)
30025 * New magic word {{code|inline=y|PAGENAMEE}} (URL-escaped version of
30026 {{code|inline=y|PAGENAME}})
30027 * Installation avoids blank username; better message on missing XML module
30028 * {{wg|WhitelistAccount}} no longer breaks all logins.
30030 == MediaWiki 1.3.0, 2004-08-11 ==
30031 Look & layout:
30032 * New default layout '[[Skin:MonoBook|MonoBook]]' (available on PHP4 only
30033 currently)
30034 * Print stylesheet now built-in to every page
30035 * More or less correct XHTML 1.0 (served as text/html by default)
30036 Wiki features:
30037 * Image captions can now include links and other basic formatting
30038 * Image bounding box can be specified instead of width, e.g. as 100x100px,
30039 making the image not wider than 100px and not higher than 100px, keeping aspect
30040 ratio.
30041 * Templates have been expanded with parameters, and separated from the
30042 MediaWiki: localization scheme.
30043 * Categories more or less work
30044 * added a special page for listing users with sysop rights.
30045 Editing:
30046 * Automatic merging of edit conflicts that don't directly interfere
30047 * Edit summaries can now include basic formatting and links
30048 Metadata and output:
30049 * Linked Creative Commons copyright metadata (optional)
30050 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
30051 Optional modules:
30052 * WikiHiero hieroglyphic module can be added (separate download)
30053 * Timeline module can be added (separate download). Requires ploticus.
30054 * TeX now has an experimental MathML output mode (incomplete!)
30055 Installation and upgrading:
30056 * The old install.php and update.php have been removed. In-place installation
30057 introduced in 1.2 is now the standard installation and upgrade method, see
30058 INSTALL and UPGRADE for directions.
30059 Database:
30060 * The links table has been changed to use a cur_id for l_from. The link tables
30061 must be converted on upgrade, which may entail some downtime.
30062 Code and compatibility:
30063 * Should now run clean with error reporting set to E_ALL.
30064 * register_globals hack from 1.2 has been replaced with safer code
30065 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/ (with some patches)
30066 * Most image-related code moved to Image.php
30067 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
30068 * URL encoding fix for anchors
30069 * All languages now available in UTF-8 mode
30070 * Various other fixes
30072 === Caveats ===
30073 Some output, particularly involving user-supplied inline HTML, may not produce
30074 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
30075 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
30076 recommended on live sites. (This must be set for MathML to display properly in
30077 Mozilla.) The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in
30078 the underlying PHPTAL library. It will be automatically disabled when running
30079 on PHP5; the older look and feel will be used instead.