1 Change notes from older releases. For current info, see RELEASE-NOTES-1.41.
7 === Changes since MediaWiki 1.40.0-rc.0 ===
8 * Localisation updates.
9 * (T330464) Work around argument corruption bug in XMLReader::open.
10 * build: Updating mediawiki/mediawiki-phan-config to 0.12.1.
11 * Fix frame and frameless rdfa depending on file existing.
12 * (T329214) Pass whether current rev of file exists to
13 Linker::makeBrokenImageLinkObj.
14 * (T334659) Handle thumb errors when !$enableLegacyMediaDOM.
15 * A manualthumb that doesn't exist should be considered a thumb error.
16 * (T313157) IndexPager: Also protect against $offset being 0.
17 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
19 == MediaWiki 1.40.0-rc.0 ==
21 == Upgrading notes for 1.40 ==
22 Don't forget to always back up your database before upgrading!
24 See the file UPGRADE for more detailed per-version upgrade instructions from the
25 oldest supported upgrading version, MediaWiki 1.35.
27 Some specific notes for MediaWiki 1.40 upgrades are below:
28 * Maintenance scripts should now be executed using maintenance/run.php, e.g.
29 maintenance/run.php update not maintenance/update.php as before.
30 * Five extensions have now been bundled with MediaWiki:
31 * The DiscussionTools extension, which provides a forum-like editing
32 experience for wikitext-based discussion pages.
33 * The Echo extension, which provides a system of user notifications.
34 * The Linter extension, which warns about use of deprecated wikitext.
35 * The LoginNotify extension, which warns users about failed attempted logins.
36 * The Thanks extension, which lets users thank editors for edits.
37 * The Renameuser extension has been moved to MediaWiki core. It is now possible
38 to rename users without installing an extension. The extension had already
39 been bundled with MediaWiki since 1.18.
41 For notes on 1.39.x and older releases, see HISTORY.
43 === Configuration changes for system administrators in 1.40 ===
44 * When computing PBKDF2 password hashes, MediaWiki now detects and uses OpenSSL
45 support if available, unless $wgPasswordConfig['pbkdf2']['class'] is set in
46 LocalSettings.php. OpenSSL is more efficient, so if that setting is present,
47 you should remove it (or set it to 'Pbkdf2PasswordUsingOpenSSL' if possible).
48 If users get an internal error when trying to log in, you can try setting it
49 to 'Pbkdf2PasswordUsingHashExtension'. In particular, this would be necessary
50 if existing PBKDF2 password hashes were computed using a hash algorithm other
51 than "sha512" or "sha256" (the current and prior defaults).
52 * You should configure your webserver to return the http header
53 'X-Content-Type-Options: nosniff' for the /images directory. This will
54 instruct browsers to not apply content sniffing when accessing the files.
55 MediaWiki before 1.40 shipped with a content sniffer which disallowed
56 potentially dangerous files at upload time, but this protection has now been
57 removed in favor of this 'X-Content-Type-Options: nosniff' header and the
58 installer will return a warning when it is not in place.
59 * Support for MW_USE_LEGACY_DEFAULT_SETTINGS has been removed, setting this
60 constant will not have any effect. Use of MW_USE_LEGACY_DEFAULT_SETTINGS
61 had been deprecated since 1.39.
63 ==== New configuration ====
64 * $wgThumbnailNamespaces - This setting lets you define the namespaces for which
65 image thumbnails (or a placeholder in the absence of a thumbnail) will be
66 displayed on Special:Search.
67 * $wgResourceLoaderClientPreferences – This experimental flag lets you enable
68 client-side preferences for logged-out users.
69 * $wgExternalLinksSchemaMigrationStage – This temporary flag lets you control
70 the migration stage for the new schema for the external links database table.
71 Ignore it unless you have a large wiki farm with complex migration needs.
72 * $wgCommentTempTableSchemaMigrationStage – This temporary flag lets you control
73 the migration stage for the temporary comment database table, from revision.
74 Ignore it unless you have a large wiki farm with complex migration needs.
75 * $wgSpecialContributeSkinsEnabled – This setting lets you list skins on which
76 Special:Contribute is available, for where others don't work for the feature.
78 ==== Changed configuration ====
79 * $wgPasswordPolicies – This setting, which controls what makes for a valid
80 password for wiki accounts, has been adjusted to raise the minimal password
81 length from 1 to 8 characters. The initial limit of 1 has been in place since
82 MediaWiki 1.26. If you wish to allow shorter passwords, you can over-ride it
83 in your LocalSettings following the guidance on MediaWiki.org.
84 * (T254045) New accounts can no longer use an equals sign (=) in their
85 usernames because of issues it causes in wikitext syntax. This can be
86 adjusted by changing the value of $wgInvalidUsernameCharacters.
87 * (T314318) $wgParserEnableLegacyMediaDOM – This setting has been changed, so
88 the alternative modern HTML structure for media is now the default. You can
89 disable it for now by over-riding this back to `true` in LocalSettings, but
90 this configuration will be removed in future versions of MediaWiki. For more
91 details, see the documentation at:
92 https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Media_structure/FAQ
93 * $wgWatchlistExpiryMaxDuration – This setting, which controls the maximum
94 allowed duration for users to set their temporary watchlist entries for expiry
95 if that feature is enabled, has been increased from 6 months to 1 year.
97 ==== Removed configuration ====
98 * $wgShellboxUrl – This setting, deprecated in 1.37, has now been removed; use
99 $wgShellboxUrls instead.
100 * $wgMainWANCache and $wgWANObjectCaches – These never-used settings have been
101 removed. To inject WANObjectCache parameters, use $wgWANObjectCache instead.
102 These variables were introduced for multi-DC wiki farms to add a separate
103 memcached proxy for cross-DC relaying of purges but never used because
104 WANObjectCache works based on route prefixes, which can be transparently
105 handled by the main memcached proxy.
106 * $wgParserTestFiles – This setting, deprecated in 1.30, has now been removed;
107 extensions can place their parser test files in `tests/parser` instead.
108 * (T231412) $wgAutoloadAttemptLowercase – This setting, deprecated in 1.35, no
109 longer has any effect. If you run into difficulties, fix the names of miscased
111 * (T309787) $wgVerifyMimeTypeIE – This setting, to provide extra security checks
112 for very old versions of Internet Explorer clients, was removed. These user
113 agents aren't used in practice, and haven't been served JavaScript content for
116 === New user-facing features in 1.40 ===
117 * Special:Search can now show thumbnails for results for titles outside NS_FILE.
118 This is controlled via the new onSearchResultProvideThumbnail hook.
119 * A new preference ('search-thumbnail-extra-namespaces') to allow users to
120 control whether to show more thumbnails (per $wgThumbnailNamespaces)
121 * (T324910) On pages using multi-content revisions, the raw content of a
122 specific slot can be retrieved using the action=raw&slot=<role-name> query
124 * (T313804) The preferences page now provides a search bar to find preferences,
125 regardless of the tab on which they appear.
127 === New developer features in 1.40 ===
128 * The MediaWiki-Docker development environment is now configured to
129 run on PHP 8.1 by default, up from PHP 7.4 now that that's EOL.
130 * Vue development mode is enabled by default in DevelopmentSettings.php
131 * (T277618) The @noVarDump annotation from the DebugInfoTrait tool can now be
132 added to references to stop them from being expanded when their object is
133 passed to var_dump(), to make its use for debugging more feasible.
134 * The ApiSandbox will now by default request responses in the latest API format,
135 rather than the original format. Users can set `formatversion` to a different
137 * A new hook, GetBlockErrorMessageKeyHook, allows extensions' block error
138 messages to be received and displayed by BlockErrorFormatter.
139 * A new hook, SpecialCreateAccountBenefits, lets extensions and local code set
140 custom content on the signup page about the benefits of using an account.
141 * (T321412) A new 'PageUndeleteComplete' hook has been added for more thorough
142 information about a page post restoration than the 'PageUndelete' hook passes.
143 This provides similar functionality to the 'PageDeleteComplete' hook.
144 * The Linker::specialLink() method can now link to a Special page's with a sub-
145 page or action parameter set, e.g. [[Special:Contributions/JohnDoe]].
146 * The PHPUnit entrypoints (tests/phpunit/phpunit.php and vendor/bin/phpunit)
147 now check if composer dependencies are up-to-date, like update.php, using
148 CheckComposerLockUpToDate. To disable this check, use
149 MW_SKIP_EXTERNAL_DEPENDENCIES=1 environment flag when running PHPUnit.
150 * ManualLogEntry::setForceBotFlag() has been added to allow the forcing of the
151 bot flag for log entries which are inserted to the recent changes.
153 === External library changes in 1.40 ===
155 ==== New external libraries ====
156 * Added codex-design-tokens at v0.6.2.
157 * Added symfony/polyfill-php81 at v1.27.0.
158 * Added wikimedia/bcp-47-code at v1.0.0.
160 ===== New development-only external libraries =====
161 * Added wikimedia/langconv at v0.4.2.
163 ==== Changed external libraries ====
164 * Updated OOUI from v0.44.3 to v0.46.3.
165 * Updated codex, codex-search, and codex-icons from v0.2.2 to v0.6.2.
166 * Updated cssjanus/cssjanus from 2.1.0 to 2.1.1.
167 * Updated guzzlehttp/guzzle 7.4.5 to 7.5.0.
168 * Updated justinrainbow/json-schema from 5.2.11 to 5.2.12.
169 * Updated pear/mail from 1.4.1 to 1.5.0.
170 * Updated pear/net_smtp from 0.10.0 to 0.10.1.
171 * Updated psr/container from 1.1.1 to 1.1.2.
172 * Updated symfony/polyfill-php80 from 1.26.0 to 1.27.0.
173 * Updated symfony/yaml from 5.4.10 to 5.4.17.
174 * Updated wikimedia/less.php from 3.1.0 to 4.0.0.
175 * Updated wikimedia/object-factory from 4.0.0 to 5.0.1.
176 * Updated wikimedia/parsoid from 0.16.0 to 0.17.0.
177 * Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
178 * Updated wikimedia/shellbox from 3.0.0 to 4.0.0.
179 * Updated wikimedia/timestamp from 4.0.0 to 4.1.0.
180 * Updated wikimedia/xmp-reader from 0.8.4 to 0.9.1.
182 ===== Changed development-only external libraries =====
183 * Updated QUnit from 2.18.2 to 2.19.4.
184 * Updated api-testing from 1.5.0 to 1.5.1.
185 * Updated composer/spdx-licenses from 1.5.6 to 1.5.7.
186 * Updated eslint-config-wikimedia from 0.22.1 to 0.24.0.
187 * Updated giorgiosironi/eris from ^0.10.0 to ^0.13.0.
188 * Updated grunt from 1.5.2 to 1.6.1.
189 * Updated grunt-banana-checker from 0.9.0 to 0.10.0.
190 * Updated grunt-eslint from 24.0.0 to 24.0.1.
191 * Updated karma from 6.3.15 to 6.4.1.
192 * Updated mediawiki/mediawiki-codesniffer from 38.0.0 to 41.0.0.
193 * Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1.
194 * Updated php-parallel-lint/php-console-highlighter from 0.5 to 1.0.0.
195 * Updated php-parallel-lint/php-parallel-lint from 1.3.1 to 1.3.2.
196 * Updated phpunit/phpunit from 8.5.28 to 9.5.28.
197 * Updated stylelint-config-wikimedia from 0.13.0 to 0.13.1.
198 * Updated wikimedia/alea from 0.9.3 to 1.0.0.
200 ==== Removed external libraries ====
201 * jquery.throttle-debounce, deprecated since MediaWiki 1.33.
202 * WVUI, deprecated since MediaWiki 1.39.
204 === Action API changes in 1.40 ===
205 * New `cancreateaccount` parameter on action=query&meta=userinfo that allows
206 you to check if the user can create an account. Some of the errors that have
207 previously been returned by action=query&list=users&usprop=cancreate are now
210 === Languages updated in 1.40 ===
211 MediaWiki supports over 400 languages. Many localisations are updated regularly.
212 Below only new and removed languages are listed, as well as changes to languages
213 because of Phabricator reports.
215 * (T300378) Added language support for Toki Pona (tok).
216 * (T320465) Added language support for Magahi (mag).
217 * (T320912) Added language support for Arakanese (rki).
218 * (T323971) Added language support for Khakas (kjh).
219 * (T326526) Added language support for Igala (igl).
220 * (T329476) Added language support for Kusaal (kus).
221 * (T330266) Added language support for Southern Dagaare (dga).
222 * (T331596) Added language support for Obolo (ann).
223 * (T331597) Added language support for Nogai (nog).
224 * (T331599) Added language support for Wolaytta (wal).
225 * (T295637) Add no to fallback chain of nb and nn.
227 === Breaking changes in 1.40 ===
228 * OutputPage::enableClientCache no longer accepts a parameter, nor does it
229 return the current value. It simply sets the OutputPage::mEnableClientCache
230 to true. Use OutputPage::disableClientCache to disable client side caching
232 * ResourceLoader::makeMessageSetScript, unused since 1.26, has been removed
235 - The internal protected method Skin::getFooterLinks() was removed.
236 It had no known usages. Different from SkinTemplate::getFooterLinks.
237 - The internal public method Skin::getSiteFooterLinks() was removed.
238 It had no known usages.
239 * The 'oojs-router' module has been removed without deprecation in favour
240 of the 'mediawiki.router' wrapper module.
241 * BagOStuff::makeKeyInternal(), deprecated for public use in 1.36, is now a
242 protected method of MediumSpecificBagOStuff.
243 * WANObjectCache::reap() and WANObjectCache::reapCheckKey(), deprecated since
244 1.39, have been removed.
245 * The EnqueueJob class, unused since 1.31, has been removed without
247 * JobQueueGroup::singleton() and ::destroySingletons(), deprecated since 1.37,
249 * JobRunner no longer supports manually calling the constructor,
250 use MediaWikiServices::getInstance()->getJobRunner() instead.
251 * JobRunner::setLogger, deprecated since 1.35, has been removed.
252 * ContextSource::getStats, deprecated since 1.27, has been removed.
253 * The following public properties of Parser, deprecated in 1.35,
254 have been made private: Parser::$mLinkId, Parser::$mIncludeSizes,
255 Parser::$mDoubleUnderscore, Parser::$mShowToc, Parser::$mRevisionId,
256 Parser::$mRevisionTimestamp, Parser::$mRevisionUser, Parser::$mRevisionSize,
257 Parser::$mInputSize, Parser::$mInParse, Parser::$mFirstCall,
258 Parser::$mGeneratedPPNodeCount
259 * The MWGrants class, deprecated since 1.38, has been removed.
260 * PageProps::getInstance(), deprecated since 1.38, has been removed.
261 * Global functions wfReadOnly and wfReadOnlyReason, deprecated since 1.38, have
263 * Global function wfQueriesMustScale, deprecated since 1.39, has been removed.
264 * Global function wfLogProfilingData, deprecated since 1.38, has been removed.
265 * The HTMLCacheUpdate class, deprecated since 1.34, has been removed.
266 * Linker::normaliseSpecialPage(), deprecated since 1.35, has been removed.
267 * MWTimestamp::getHumanTimestamp(), deprecated since 1.26, has been removed.
268 * Collation::singleton() and ::factory(), deprecated since 1.37, have been
270 * SpecialVersion::listToText() and SpecialVersion::arrayToString()
271 have become private or internal without deprecation.
272 * The 'ParserTestFiles' key in the schema for extension.json has been removed.
273 This was deprecated in 1.30 and the corresponding $wgParserTestFiles
274 configuration variable has also been removed in this release. Extensions
275 can put parser test files in their `tests/parser` directory to have them
277 * DBLockManager, MySqlLockManager, and PostgreSqlLockManager have been
278 removed without deprecation.
279 * MediaWikiTestCaseTrait::checkPHPExtension() has been removed without
280 deprecation. Use PHPUnit @requires annotations instead.
281 * EditPage::getCopywarn(), deprecated since 1.38, has been removed.
282 * EditPage::getCopyrightWarning() now requires a MessageLocalizer parameter.
283 Use of other parameter types or omitting it was deprecated since 1.38.
284 * Action constructor now requires Article and IContextSource parameters.
285 Use of other parameter types or omitting them was deprecated since 1.35.
286 * Article::viewRedirect(), deprecated since 1.30, has been removed.
287 * Title::getNotificationTimestamp(), deprecated since 1.35, has been removed.
288 * WikiRevision::$fileIsTemp property, deprecated since 1.29, has been removed.
289 * Use of CommentStore::insertWithTempTable() with 'img_description' is no
290 longer supported, it was deprecated since 1.32. Use CommentStore::insert()
292 * Return values in the parameter $pageLang of the PageContentLanguage hook with
293 other types than a Language object, deprecated since 1.33 & emitting warnings
294 since 1.38, now throws an exception.
295 * FormatMetadata::flattenArrayContentLang(), deprecated since 1.36, has been
297 * WikiRevision::downloadSource() and ::importUpload(), deprecated since 1.31,
299 * DataUpdate::runUpdates(), deprecated since 1.28, has been removed.
300 * CdnCacheUpdate::newFromTitles(), deprecated since 1.35, has been removed.
301 * HtmlFileCacheUpdate::newFromTitles(), deprecated since 1.37, has been
303 * BaseTemplate::renderAfterPortlet() and ::getAfterPortlet(), has been removed.
304 Use the corresponding methods in Skin class.
305 * DifferenceEngine::textDiff(), deprecated since 1.32, has been removed.
306 * Skin::getSearchPageTitle() and Skin::setSearchPageTitle(), deprecated since
307 1.38, have been removed.
308 * DifferenceEngine::getDiffBodyCacheKey(), deprecated since 1.31, has been
310 * ForeignDBViaLBRepo::getMasterDB(), LocalRepo::getMasterDB(), and
311 JobQueueDB::getMasterDB(), deprecated since 1.37, have been removed.
312 * Clarified that the InitializeArticleMaybeRedirect hook should not change
313 its $article parameter; the behavior when doing so was previously
315 * IDatabase::ping()'s $rtt parameter was removed without deprecation.
316 * IDatabase::setBigSelects(), unused, was removed without deprecation.
317 * IDatabase::attributesFromType(), unused, was removed without deprecation.
318 * IMaintainableDatabase::deadlockLoop() was removed without deprecation.
319 * DatabasePostgres::remappedTableName(), deprecated since 1.37, has been
321 * ILBFactory::getChronologyProtectorClientId and ::commitAll, unused, were
322 removed without deprecation.
323 * LoadBalancer::haveIndex() and ::isNonZeroLoad(), deprecated in 1.34,
325 * LoadBalancer::getLazyConnectionRef(), deprecated in 1.38, has been removed.
326 * ILBFactory::forEachLB(), deprecated in 1.39, has been removed.
327 * LoadBalancer::getTransactionRoundStage and ::commitAll, unused, were
328 removed without deprecation.
329 * ILoadBalancer::getLaggedReplicaMode, unused, was removed without
330 deprecation. Use ILBFactory::laggedReplicaUsed() instead.
331 * Optional parameters of ILoadBalancer::waitForPrimaryPos(), $pos and $timeout
332 have been removed without deprecation as they are unused.
333 * LoadMonitorMysql was removed without deprecation. Use LoadMonitor instead.
334 * IDatabase::selectDB(), deprecated since 1.32, has been removed.
335 Use IDatabase::selectDomain() instead.
336 * The following deprecated hooks have been removed:
337 - BaseTemplateAfterPortlet, deprecated in 1.35
338 - BeforeParserFetchTemplateAndtitle, deprecated in 1.36
339 - BeforeParserrenderImageGallery, deprecated in 1.35
340 - InternalParseBeforeSanitize, deprecated in 1.35
341 - LinksUpdateConstructed, deprecated in 1.38
342 - LinksUpdateAfterInsert, deprecated in 1.38
343 - ParserSectionCreate, deprecated in 1.35
344 - ResourceLoaderTestModules, deprecated in 1.33
345 - SpecialMuteSubmit, deprecated in 1.35
346 - UserLoadFromDatabase, deprecated in 1.37
347 - UserSetCookies, deprecated in 1.27
348 * RemexDriver::__construct() now only accepts a ServiceOptions instance as
349 the only argument. Passing an array was deprecated since 1.36.
350 * TidyDriverBase::supportsValidate(), deprecated since 1.36, has been removed.
351 * RevDelList::reloadFromMaster(), deprecated since 1.37, has been removed.
352 * ExternalStoreDB::getMaster(), deprecated since 1.37, has been removed.
353 * DeletePage::deletionWasScheduled(), deprecated since 1.38, has been removed.
354 * The SearchResultProvideThumbnailHook (which was unstable) and now no longer
355 used, has been removed. Use SearchResultProvideThumbnailHook in the search
356 namespace: MediaWiki\Search\Hook\SearchResultProvideThumbnailHook.
357 * Command::cgroup(), deprecated since 1.36, has been removed.
358 * When running tests, the serialize_precision INI setting is now set to -1
359 (current PHP default) instead of 17. Extension tests may need to be adjusted
360 accordingly; string representations of floating-point numbers in serialized
361 or JSON-encoded data may change.
362 * WikiRevision::$sha1base36 is now private.
363 * IcuCollation::getUnicodeVersionForICU() was removed without deprecation.
364 * LinkFilter::supportsIDN() was removed without deprecation.
365 * The ability to pass null for the errorData parameter of HttpException and
366 LocalizedHttpException was removed without deprecation.
367 * ApiQueryExtLinksUsage::getProtocolPrefix() and ::prepareProtocols() have
368 been moved to LinkFilter with the same name.
369 * .box-sizing() Less mixin, deprecated since 1.37, has been removed.
370 Use CSS box-sizing now.
371 * MimeAnalyzer::getIEMimeTypes() and IEContentAnalyzer were removed.
372 * Language::commafy and mw.language.commafy, deprecated since 1.36, has been
374 * BagOStuff::decr(), deprecated since 1.28, has been removed.
375 * BagOStuff::incr(), deprecated since 1.28, has been removed.
377 === Deprecations in 1.40 ===
379 - The public Skin::footerLink is deprecated.
380 Use SkinComponentMenuLink::getTemplateData instead.
381 It now emits deprecation warnings.
382 - The protected Skin::lastModified is deprecated, and marked for @internal use
383 and now emits deprecation warnings.
384 * Manipulating $wgHooks after initialization is deprecated.
385 HookContainer::register() or HookContainer::scopedRegister() should be
386 used instead. During initialization, SettingsBuilder::registerHookHandlers
387 can be used. For backwards compatibility, $wgHooks is replaced by a fake
388 array that calls methods on HookContainer. $wgHooks can still be used as a
389 configuration variable, only dynamic manipulation is deprecated.
390 * ParserOptions::{get,set}ExternalLinkTarget() and
391 ParserOptions::{get,set}MaxTemplateDepth() have been deprecated and marked
392 for @internal use only.
393 * ParserOutput::getCategories() has been deprecated; use ::getCategoryNames()
394 and ::getCategorySortKey() instead.
395 * ParserOutput::{get,set}TOCHTML() has been deprecated; use
396 ::{get,set}TOCData() instead.
397 * TransactionProfiler::setSilenced() is deprecated.
398 Use TransactionProfiler::silenceForScope() instead.
399 * The following methods in the Title class, deprecated since 1.37, emits
400 deprecations warnings:
401 - ::areCascadeProtectionSourcesLoaded()
402 - ::areRestrictionsCascading()
403 - ::areRestrictionsLoaded()
404 - ::getAllRestrictions()
405 - ::getCascadeProtectionSources()
406 - ::getFilteredRestrictionTypes()
407 - ::getRestrictionExpiry()
408 - ::getRestrictionTypes()
409 - ::getRestrictions()
410 - ::isCascadeProtected()
412 - ::isSemiProtected()
413 - ::loadRestrictionsFromRows()
414 * The class Pbkdf2Password was renamed to Pbkdf2PasswordUsingHashExtension,
415 and the old name is now deprecated.
416 * WikiPage::factory(), ::newFromID() and ::newFromRow, deprecated in 1.36, now
417 emit deprecation warnings.
418 * Manually constructing a LinkBatch object, deprecated in 1.35, now emits
419 deprecation warnings. Use LinkBatchFactory instead.
420 * Calling MediaWikiSite::getFileUrl() without a $path argument is deprecated.
421 If you need the "generic" full file path, with $1 not replaced by anything,
422 call $site->getPath( MediaWikiSite::PATH_FILE ) directly.
423 * In SessionConsistentConnectionManager, the methods
424 getReadConnectionRef() and getWriteConnectionRef() are deprecated;
425 the ConnectionManager methods they override had been deprecated already.
426 * Database::wasErrorReissuable() is deprecated.
427 * MimeAnalyzer::isPHPImageType was not used and will now emit deprecation
429 * GenericArrayObject, originally developed for Wikibase and SiteList, has been
430 deprecated. Use built-in ArrayObject directly instead.
431 * Parser::getFunctionLang() has been deprecated; use
432 Parser::getTargetLanguage() instead.
433 * MagicWordArray::getVariableRegex(), deprecated in 1.36, now emits deprecation
435 * AbstractBlock::getId() now emits deprecation warnings in case of cross-wiki
436 access. This use was deprecated in 1.38.
437 * CommentStore::getStore, deprecated in 1.31, now emits deprecation warnings.
438 * BacklinkCache::get(), ::getLinks() and ::getCascadeProtectedLinks(),
439 deprecated in 1.37, now emit deprecation warnings.
440 * LanguageConverterFactory::isTitleConversionDisabled(), deprecated in 1.36,
441 now emits deprecation warnings.
442 * Language::getFileName(), ::getMessagesFileName() and
443 ::getJsonMessagesFileName(), deprecated in 1.34,
444 now emit deprecation warnings.
445 * Language::getLocalisationCache(), deprecated in 1.34, also
446 Language::getMessagesFor(), ::getMessageFor() and ::getMessageKeysFor(),
447 deprecated in 1.35, now emit deprecation warnings.
448 * User::incEditCount(), deprecated in 1.37, now emits deprecation warnings.
449 * User::idFromName(), deprecated in 1.37, now emits deprecation warnings.
450 * The ability to override and use User::$mRights, deprecated in 1.34, now emits
451 deprecation warnings.
452 * IndexPager::getHookContainer is deprecated and emits deprecation warnings.
453 Inject a HookContainer instead.
454 * User::getGroupPermissions(), ::getGroupsWithPermission() and
455 ::groupHasPermission(), deprecated in 1.34, now emit deprecation warnings.
456 * PermissionManager::getGroupPermissions(), ::getGroupsWithPermission() and
457 ::groupHasPermission(), deprecated in 1.36, now emit deprecation warnings.
458 * Global function wfShowingResults is deprecated and emits deprecation warnings.
459 * UserGroupMembership::getGroupMemberName is deprecated, the deprecation of
460 UserGroupMembership::getGroupName in 1.38 missed a release note.
461 Use Language::getGroupMemberName or ::getGroupName instead.
462 * AbstractBlock::getPermissionsError(), deprecated in 1.35, now emits
463 deprecation warnings.
464 * SearchEngine::getNearMatcher() and ::getDefaultMatcher() have been deprecated
465 in favor of MediaWikiServices::getInstance()->getTitleMatcher().
466 * SearchNearMatcher class has been deprecated in 1.40 in favor of TitleMatcher.
467 * The following functions are deprecated: User::isBlockedGlobally and
468 User::getGlobalBlock. Use User::getBlock instead.
469 * The UserIsBlockedGlobally hook is deprecated.
470 Use GetUserBlock hook instead.
471 * The SystemBlock type global-block is deprecated.
472 GlobalBlocks are now added into CompositeBlocks via the GetUserBlock hook.
473 * Language::isWellFormedLanguageTag(), deprecated in 1.39, now emits deprecation
474 notices. Please use LanguageCode::isWellFormedLanguageTag() instead.
475 * Language::fetchLanguageNames() and ::fetchLanguageName(), deprecated in 1.34,
476 now emit deprecation warnings.
477 * Language::getFallbackFor(), ::getFallbacksIncludingSiteLanguage() and
478 ::getFallbacksFor(), deprecated in 1.35, now emit deprecation warnings.
479 * Language::isSupportedLanguage(), ::isValidCode(), ::isValidBuiltInCode() and
480 ::isKnownLanguageTag(), deprecated in 1.34, now emit deprecation warnings.
481 * Language::getConverter(), ::autoConvert(), ::autoConvertToAllVariants(),
482 ::convert(), ::convertNamespace(), ::convertHtml(), ::convertCategoryKey(),
483 ::getVariants(), ::hasVariants(), ::hasVariant(), ::getDefaultVariant(),
484 ::getURLVariant(), ::getExtraHashOptions(), ::getConvRuleTitle(),
485 deprecated in 1.35, now emit deprecation warnings.
486 * Language::factory() and ::getParentLanguage(), deprecated in 1.35, now emit
487 deprecation warnings.
488 * Executing maintenance scripts directly is deprecated. The maintenance/run.php
489 entry point should be used instead.
490 * MWHttpRequest::factory, deprecated in 1.34, now emits deprecation warnings.
491 * Job::factory is deprecated, use JobFactory::newJob instead.
492 * Http::request(), ::get(), ::post(), ::userAgent() and ::isValidURI(),
493 deprecated in 1.34, now emit deprecation warnings.
494 * Title.js's confusingly-named getName() and getNameText() methods, for using
495 media files' pages, have been renamed to getFileNameWithoutExtension() and
496 getFileNameTextWithoutExtension() respectively. The old names are deprecated.
497 * Command::whitelistPaths() should now emit deprecation warnings. Make use of
498 Command::allowPaths/disallowPaths() instead.
499 * When manually creating an HTMLFormField (i.e. not via HTMLForm::factory),
500 it is deprecated to not include the "parent" field as one of the parameters.
501 * The MWException class is deprecated. Use native exceptions, either directly
503 * SelectQueryBuilder::lockForUpdate() is deprecated. Use ::forUpdate() with
504 ::fetchRowCount() or ::acquireRowLocks() instead.
505 * ArticleUndelete hook is deprecated. Use PageUndeleteComplete hook instead.
506 * The global function wfReportTime() is now deprecated.
507 * PrevNextNavigationRenderer, deprecated in 1.39, now emits deprecation
509 * PagerNavigationBuilder::setMakeLinkCallback(), deprecated in 1.39, now emits
510 deprecation warnings.
511 * IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
512 IndexPager::buildPrevNextNavigation(), deprecated in 1.39, now emit
513 deprecation warnings.
514 * Overriding the method IndexPager::makeLink(), deprecated in 1.39, now emits
515 deprecation warnings.
516 * The following class names were namespaced (and, for the special pages,
517 also renamed), and the old class names are now deprecated:
518 - MostimagesPage -> MediaWiki\Specials\SpecialMostImages
519 - MovePageForm -> MediaWiki\Specials\SpecialMovePage
520 - UserrightsPage -> MediaWiki\Specials\SpecialUserRights
521 - WantedFilesPage -> MediaWiki\Specials\SpecialWantedFiles
522 - WantedPagesPage -> MediaWiki\Specials\SpecialWantedPages
523 - DerivativeRequest -> MediaWiki\Request\DerivativeRequest
524 - FauxRequest -> MediaWiki\Request\FauxRequest
525 - FauxRequestUpload -> MediaWiki\Request\FauxRequestUpload
526 - PathRouter -> MediaWiki\Request\PathRouter
527 - WebRequestUpload -> MediaWiki\Request\WebRequestUpload
528 - HeaderCallback -> MediaWiki\Request\HeaderCallback
529 - FauxResponse -> MediaWiki\Request\FauxResponse
530 - WebResponse -> MediaWiki\Request\WebResponse
531 - ForeignResourceManager ->
532 MediaWiki\ResourceLoader\ForeignResourceManager
533 - DummyLinker -> MediaWiki\Linker\DummyLinker
534 - Linker -> MediaWiki\Linker\Linker
535 - PageProps -> MediaWiki\Page\PageProps
536 - MagicWord -> MediaWiki\Parser\MagicWord
537 - MagicWordArray -> MediaWiki\Parser\MagicWordArray
538 - MagicWordFactory -> MediaWiki\Parser\MagicWordFactory
539 - RawMessage -> MediaWiki\Language\RawMessage
540 - ActorMigration -> MediaWiki\User\ActorMigration
541 - ActorMigrationBase -> MediaWiki\User\ActorMigrationBase
542 - CategoriesRdf -> MediaWiki\Category\CategoriesRdf
543 - Category -> MediaWiki\Category\Category
544 - CategoryViewer -> MediaWiki\Category\CategoryViewer
545 - TrackingCategories -> MediaWiki\Category\TrackingCategories
546 - EditPage -> MediaWiki\EditPage\EditPage
547 - TemplatesOnThisPageFormatter ->
548 MediaWiki\EditPage\TemplatesOnThisPageFormatter
549 - ContentSecurityPolicy -> MediaWiki\Request\ContentSecurityPolicy
550 - FormOptions -> MediaWiki\Html\FormOptions
551 - Html -> MediaWiki\Html\Html
552 - HtmlHelper -> MediaWiki\Html\HtmlHelper
553 - TemplateParser -> MediaWiki\Html\TemplateParser
554 - FormOptions -> MediaWiki\Html\FormOptions
555 - WikiMap -> MediaWiki\WikiMap\WikiMap
556 - WikiReference -> MediaWiki\WikiMap\WikiReference
557 - MediaWiki\BadFileLookup -> MediaWiki\Page\File\BadFileLookup
558 - FileDeleteForm -> MediaWiki\Page\File\FileDeleteForm
559 - MergeHistory -> MediaWiki\Page\MergeHistory
560 - MovePage -> MediaWiki\Page\MovePage
561 - ProtectionForm -> MediaWiki\Page\ProtectionForm
562 - LinkFilter -> MediaWiki\ExternalLinks\LinkFilter
563 - TitleArray -> MediaWiki\Title\TitleArray
564 - TitleArrayFromResult -> MediaWiki\Title\TitleArrayFromResult
565 - TitleFactory -> MediaWiki\Title\TitleFactory
566 - Title -> MediaWiki\Title\Title
567 - ForkController -> MediaWiki\Maintenance\ForkController
568 - OrderedStreamingForkController ->
569 MediaWiki\Maintenance\OrderedStreamingForkController
570 - AtomFeed -> MediaWiki\Feed\AtomFeed
571 - ChannelFeed -> MediaWiki\Feed\ChannelFeed
572 - FeedItem -> MediaWiki\Feed\FeedItem
573 - FeedUtils -> MediaWiki\Feed\FeedUtils
574 - RSSFeed -> MediaWiki\Feed\RSSFeed
575 - DeprecatedGlobal -> MediaWiki\StubObject\DeprecatedGlobal
576 - StubGlobalUser -> MediaWiki\StubObject\StubGlobalUser
577 - StubObject -> MediaWiki\StubObject\StubObject
578 - StubUserLang -> MediaWiki\StubObject\StubUserLang
579 * ContentHandler::getParserOutputForIndexing() and ::getDataForSearchIndex()
580 now take an optional RevisionRecord parameter.
581 * The SearchDataForIndex hook is deprecated in favor of SearchDataForIndex2
582 * IDatabase::lastQuery and IReadableDatabase::lastQuery are deprecated without
585 === Other changes in 1.40 ===
586 * Calling RecentChange::doMarkPatrolled() with $auto = true has no effect and
587 logs a warning. Since 1.31, it would mark the change as manually patrolled,
588 but would not log it as such in patrol log and would still require
589 'autopatrol' right (not 'patrol'). Generally, whether a change should become
590 autopatrolled, is usually determined before it's inserted in the database.
591 * In versions of MediaWiki before 1.39, the table of contents location
592 was marked internally with <mw:toc>...</mw:toc>; in version 1.39
593 this was changed to an empty tag <mw:tocplace />. In 1.40 this has
594 been changed a final time to use an empty <meta> tag for future
595 Parsoid compatibility (see Parser::TOC_PLACEHOLDER). This may
596 affect you if stale content is left in the ParserCache or if your
597 skin did manual ToC replacement without using the recommended
598 Parser::replaceTableOfContentsMarker() function.
599 * Skins can now choose which Codex theme should be loaded by setting the
600 SkinCodexThemes attribute in their skin.json file.
601 * The parser test framework has been updated, and the 'pst', 'ill', 'cat'
602 and 'showflags' options have slight differences in their output. These
603 options are not much used outside core, but third parties may need to
605 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
609 MediaWiki 1.40 requires PHP 7.4.3 or later and the following PHP extensions:
620 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
621 be used instead, but support for them is somewhat less mature.
623 The supported versions are:
625 * MariaDB 10.3 or higher
626 * MySQL 5.7.0 or higher
627 * PostgreSQL 10 or later
628 * SQLite 3.8.0 or later
630 == Online documentation ==
631 Documentation for both end-users and site administrators is available on
632 MediaWiki.org, and is covered under the GNU Free Documentation License (except
633 for pages that explicitly state that their contents are in the public domain):
635 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
638 A mailing list is available for MediaWiki user support and discussion:
640 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
642 A low-traffic announcements-only list is also available:
644 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
646 It's highly recommended that you sign up for one of these lists if you're
647 going to run a public MediaWiki, so you can be notified of security fixes.
650 There's usually someone online in #mediawiki on irc.libera.chat.
654 == MediaWiki 1.39.4 ==
656 This is a security and maintenance release of the MediaWiki 1.39 branch.
658 === Changes since MediaWiki 1.39.3 ===
659 * Localisation updates.
660 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
661 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
663 * (T333776) {{ACTIVEUSERS}} wasn't being updated without updateSpecialPages.php.
664 * (T258860) Prevent LogicCache exception from message cache during IO errors
666 * (T336868) Improve idempotency of postgres index upgrades.
667 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
668 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
669 * A fake MessageLocalizer for use in unit tests.
670 * (T338114) Title: Add forward alias.
671 * composer: Add symfony/polyfill-php81 like symfony/polyfill-php80.
672 * (T330464) Work around argument corruption bug in XMLReader::open.
673 * Fix frame and frameless rdfa depending on file existing.
674 * Fixes for the phan upgrade, part 1.
675 * Fixes for the phan upgrade, part 2.
676 * (T298571) build: Update mediawiki/mediawiki-phan-config to 0.12.0.
677 * build: Updating mediawiki/mediawiki-phan-config to 0.12.1.
678 * (T329214) Pass whether current rev of file exists to
679 Linker::makeBrokenImageLinkObj.
680 * (T334659) Handle thumb errors when !$enableLegacyMediaDOM.
681 * A manualthumb that doesn't exist should be considered a thumb error.
682 * (T313157) IndexPager: Also protect against $offset being 0.
683 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
685 == MediaWiki 1.39.3 ==
687 This is a security and maintenance release of the MediaWiki 1.39 branch.
689 === Changes since MediaWiki 1.39.2 ===
690 * Localisation updates.
691 * (T328477) LinksUpdate: Use DB key for category links table.
692 * GlobalFunctions: Remove check for MEDIAWIKI constant.
693 * (T329484) API: Fix query+allimages user parameter description.
694 * (T330529) SpecialEditTags: Set default of '' for wpReason.
695 * (T330382) postgres: Make the upgrade ignore dropping indexes that
697 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
699 * (T291753) rdbms: escape backslashes in makeConnectionString for PostgreSQL.
700 * (T325529) Fix total breakage of wgCanonicalServer fallback.
701 * (T318103) mediawiki.storage: Disable async GC during integration test.
702 * (T332461, T332397) TempFSFile: Keep the WeakMap alive.
703 * (T332902) page: fix InvalidArgumentException in SQLPlatform::makeList.
704 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
707 == MediaWiki 1.39.2 ==
709 This is a maintenance release of the MediaWiki 1.39 branch.
711 === Changes since MediaWiki 1.39.1 ===
712 * Localisation updates.
713 * (T325872) ChangeTags: Remove table name from condition.
714 * (T324895) MWCallbackStream: Add explicit $stream property.
715 * (T297031, T326039) PostgresUpdater: Move setDefault ahead of
717 * (T321319) Produce HTML for invalid JSON.
718 * (T215466, T326071) MigrateActors: Write to revision table (Follow-up 24115a8).
719 * (T223027) ReservedUsernames config: Add reserved names from maintenance
721 * (T325000, T324896, T307631) Updated OOUI from v0.44.3 to v0.44.5.
722 * Remove /images .htaccess rules that are no longer relevant.
723 * Disable php in .htaccess of images directory as a hardening measure.
724 * (T322583) Include missing message parameter in message.
725 * LocalFileTest: use encodeBlob/decodeBlob for img_metadata.
726 * DatabaseSqlite: fix null blobs.
727 * rdbms: avoid pg_escape_bytea() call-style deprecation notices.
728 * (T322278) Improve LocalisationCache post-merge validation check.
729 * (T324408, T326367) Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
730 * (T322278) Fix the remaining Phan failures on PHP 8.1.
731 * (T322278, T326367) Respond to some messages from Phan on PHP 8.1.
732 * Fix phan error when Excimer is enabled.
733 * (T326021) Add matrix: to $wgUrlProtocols.
734 * (T314099) stream wrapper: Declare $context class property.
735 * (T314099) libs\jsminplus: Declare JSNode::$expression.
736 * (T314096) composer.json: Updated composer/spdx-licenses from 1.5.6 to 1.5.7.
737 * (T326472) Upgrading cssjanus/cssjanus (v2.1.0 => v2.1.1).
738 * (T308536) rdbms: Remove deprecation mark for $wgSharedDB.
739 * (T215466, T326071) installer: Split drop action out of the SQL patch for actor
741 * (T322603) SqliteMaintenance.php: Fix fatally broken instanceof check.
742 * (T326377) rdbms: Use DBConnRef in SelectQueryBuilder.
743 * api/en.json: api-help-datatype-expiry add missing 'may'.
744 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
745 * (T328222) Pass empty string to strlen() if schema is null for
747 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
748 * (T155582, T328503) Fix XML dumps for content types with non-string
750 * (T326886) PoolCounterRedis: Fix wrong cast, locks weren't being released.
751 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses
752 * (T327821) skin: Restore default 'value' attribute in makeSearchButton().
753 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
754 * (T329415) Clear the statsd data buffer regardless of StatsdServer config.
755 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text' tag.
756 * (T330049) UnregisteredLocalFile: Don't call MimeAnalyzer if no path.
757 * (T324894 TempFSFile: Use a WeakMap for reference tracking if available.
758 * (T295637) Add no to fallback chain of nb and nn.
760 == MediaWiki 1.39.1 ==
762 This is a security and maintenance release of the MediaWiki 1.39 branch.
764 === Changes since MediaWiki 1.39.0 ===
765 * Localisation updates.
766 * PostgresUpdater: Remove trailing space from 'user_id ' column.
767 * (T304515) LCStoreStaticArray: atomically replace the cache file.
768 * (T324516) postgres: Fix upgrade for templatelinks primary key.
769 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
770 * (T324513) uuid\GlobalIdGenerator: Check if getmyuid() exists.
771 * (T314099) OutputPage: Remove unused dynamic property ParserOptions->isBogus.
772 * (T314099) api: Remove use of undeclared property in action=comparepages.
773 * Upgrading wikimedia/xmp-reader (0.8.5 => 0.8.6).
774 * (T324489) Upgrading wikimedia/parsoid (v0.16.0 => v0.16.1).
775 * Updated pear/mail (v1.4.1 => v1.5.0).
776 * Removed wikimedia/dodo (v0.4.0).
777 * (T324910) On pages using multi-content revisions, the raw content of a
778 specific slot can be retrieved using the action=raw&slot=<role-name> query
780 * (T322637) SECURITY: sqlite should not create DB file world-readable.
782 == MediaWiki 1.39.0 ==
784 === Changes since MediaWiki 1.39.0-rc.1 ===
785 * Localisation updates.
786 * exception: Tolerate no service container when trying DB rollback.
787 * (T320282) Upgrading wikimedia/xmp-reader (0.8.3 => 0.8.4).
788 * objectcache: Deprecate WANObjectCache::reap() and ::reapCheckKey().
789 * (T320864) When calling mail(), use an array for headers.
790 * Upgrading wikimedia/xmp-reader (0.8.4 => 0.8.5).
791 * (T321154) Call setFormIdentifier() on LogEventsList form.
792 * When importing revision with same timestamp as latest revision, treat
793 it as the new latest.
794 * (T320726) RandomImageGenerator::getImageSpec: Don't pass a float to mt_rand(),
796 * (T298485, T322360) WikiExporter: Avoid calling reload in processing every row.
797 * (T321551) pager: Fix null used for foreach in Pager::getNavigationBar.
798 * (T321551) pager: Remove unused AlphabeticPager::getOrderTypeMessages()
800 * pager: Remove unused PagerNavigationBuilder::setExtra().
801 * PagerNavigationBuilder: Document that nulls in setLinkQuery() etc. are
803 * (T322335) ApiQueryRevisionsBase: Fix 'rvdiffto' parameter handling on PHP 8.0.
804 * (T314096) TestFileEditor: Fix string interpolation.
805 * (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions.
806 * (T322803) SpecialBotPasswords: Don't pass null to trim().
807 * (T289926) Fix incomplete ITextFormatter mocks.
808 * Language: Handle ronna and quetta.
809 * (T72510) rdbms: make SqlitePlatform::tableName() apply double quotes.
810 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0.
811 * .gitattributes: Ship docker-compose.yml to the tarball.
813 == MediaWiki 1.39.0-rc.1 ==
815 === Changes since MediaWiki 1.39.0-rc.0 ===
816 * Localisation updates.
817 * (T318481) composer: Drop symfony/php73-polyfill.
818 * (T318460) SpecialChangeEmail: Set default for returntoquery.
819 * (T318307) HTMLFormField::validate(): Update docs to permit all data types
820 * (T306802) docker: update to latest published images.
821 * (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset.
822 * (T227047) Soft-deprecate the remainder of ActorMigration.
823 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
824 in an IP range check on Special:Contributions.
825 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
827 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
828 "alreadyrolled" can leak revision deleted user name.
829 * (T319186) .phan/config.php: Update minimum_target_php_version.
830 * Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings).
831 * (T319186) .phan/config.php: Update minimum_target_php_version.
832 * (T310243) Deprecate use of 'wvui-search' package.
833 * utils: Fix return doc about false/null for UrlUtils::expand.
834 * (T319000) WebInstaller: Don't try and run trim() on null.
835 * In the event of preg failure in MagicWordArray throw exception.
836 * (T318753) Installer: Disable logo dropper for now.
838 == MediaWiki 1.39.0-rc.0 ==
840 == Upgrading notes for 1.39 ==
841 Don't forget to always back up your database before upgrading!
843 See the file UPGRADE for more detailed per-version upgrade instructions from the
844 oldest supported upgrading version, MediaWiki 1.31.
846 Some specific notes for MediaWiki 1.39 upgrades are below:
847 * (T278139) Drop PHP 7.3 support in MediaWiki 1.39; require 7.4.3 or higher.
849 For notes on 1.38.x and older releases, see HISTORY.
851 === Configuration changes for system administrators in 1.39 ===
853 ==== New configuration ====
854 * $wgAutoCreateTempUser – This configures automatic user creation on page save.
855 * $wgCopyUploadAllowOnWikiDomainConfig – This configures if administrators can
856 use the MediaWiki:Copyupload-allowed-domains system message to define which
857 domains can be used with the upload-by-url tool.
858 * $wgCdnMatchParameterOrder – This can be set to false if MediaWiki is behind a
859 CDN that re-orders query parameters. This will make the code that matches
860 request URLs to canonical CDN URLs insensitive to parameter order.
861 * $wgMultiShardSiteStats – This allows you to split site_stats across multiple
862 rows. Only useful for very large, heavily edited wikis. (T306589)
864 ==== Changed configuration ====
865 * $wgInvalidUsernameCharacters – This setting now contains the char '>', which
866 is now the reserved delimiter for external user names.
867 * $wgLocalFileRepo – The default serialization method for file meta-data has
868 been changed to JSON. You can revert it to PHP by setting the property
869 'useJsonMetadata' to false.
870 * $wgLBFactoryConf – The 'configCallback' flag can now be set to a callback
871 function that returns an array with keys to update in $wgLBFactoryConf. This
872 can be used to update the database configuration on the fly, e.g. to take
873 replica hosts out of rotation.
874 * $wgDBservers and $wgLBFactoryConf – The DBO_SSL flag in has been deprecated in
875 favour of a boolean "ssl" parameter.
876 * $wgObjectCaches – The 'globalKeyLB' and 'localKeyLB' flags are no longer
879 ==== Removed configuration ====
880 * $wgMultiContentRevisionSchemaMigrationStage - This transition flag, deprecated
881 since MediaWiki 1.35, has been removed; the data migration is over.
882 * $wgActorTableSchemaMigrationStage - This transition flag has been removed; the
883 data migration is over.
884 * $wgWikiFarmSiteDetector – This experimental setting has been removed without
885 replacement. Use the MW_WIKI_NAME environment variable to specifiy the name of
886 the site for which to load configuration. Using the WIKI_NAME environment
887 variable for this purpose is deprecated.
888 * $wgParserCacheUseJson - The ParserCache now always uses JSON serialization.
889 Reading old non-JSON cache entries is still supported. The setting had been
890 deprecated since 1.36.
891 * $wgAllowJavaUploads - To allow uploads of JAR files, remove application/java
892 from $wgMimeTypeExclusions.
893 * $wgMaxRedirects – This broken feature was removed, as it never worked as
895 * $wgElementTiming – This experimental, default-disabled feature has been
896 removed without replacement.
897 * $wgPriorityHints and $wgPriorityHintsRatio – The related experimental feature
898 has been removed without replacement.
899 * $wgIncludeLegacyJavaScript – This flag has been removed, without loss of any
900 functionality in this release. Most former "wikibits" functions were removed
901 after deprecation in previous releases. The remaining functions, such as
902 importScript, are now available unconditionally.
903 * $wgLegacySchemaConversion - This unused setting has been removed.
904 * $wgInterwikiPrefixDisplayTypes - This unused setting has been removed.
905 * $wgMangleFlashPolicy – This is no longer functional, and is now deprecated.
906 Users who are somehow still using Flash as a browser extension will be exposed
907 to CSRF vulnerabilities.
909 === New user-facing features in 1.39 ===
910 * Optional automatic user creation on page save ($wgAutoCreateTempUser)
911 * Administrators now have the option to delete/undelete the associated "Talk"
912 page when they are (un)deleting a given page. `deletetalk` and `undeletetalk`
913 options were added to the 'delete' and 'undelete' action APIs in MW 1.38.
914 * `{{=}}` is now a wikitext built-in magic word, expanding to `=`. This is
915 conventionally used as an escape mechanism to allow the use of `=` in
916 unnamed template arguments. Defining [[Template:=]] to expand to something
917 other than `=` has been deprecated since 1.36, with affected pages put into
918 a special tracking category for migration.
919 * (T284020) Bot passwords are now supported when using the REST API.
921 === New developer features in 1.39 ===
922 * Added optional $size param to SearchResultProvideThumbnail hook.
923 * SearchResultProvideThumbnail hook interface moved from MediaWiki\Rest\Hook
924 namespace to MediaWiki\Search\Hook.
925 * JsonValidateSaveHook has been added to allow extensions to set additional
926 pre-save validations for specific JSON pages (T313254)
927 * Added 'PermissionErrorAudit' hook, enabling extensions to audit permission
928 errors on specfic actions. For instance account registration failed attempts
929 due to a block (T306018).
931 === External library changes in 1.39 ===
933 ==== New external libraries ====
934 * Added Codex v0.1.1. This replaces the now deprecated wvui library.
935 * Added symfony/polyfill-php81.
937 ===== New development-only external libraries =====
938 * Updated QUnit from 2.18.0 to 2.18.2.
940 ==== Changed external libraries ====
941 * Updated jQuery from v3.6.0 to v3.6.1.
942 * Updated OOUI from v0.43.2 to v0.44.5.
943 * Updated composer/semver from 3.2.6 to 3.3.2.
944 * Updated cssjanus/cssjanus fromv2.1.0 to v2.1.1.
945 * Updated pear/mail from v1.4.1 to v1.5.0.
946 * Updated symfony/polyfill-php73 from 1.25.0 to 1.26.0.
947 * Updated symfony/polyfill-php80 from 1.25.0 to 1.26.0.
948 * Updated symfony/yaml from 5.4.3 to 5.4.10.
949 * Updated vue/compat from 3.2.23 to 3.2.37.
950 * Updated wikimedia/base-convert from 2.0.1 to 2.0.2.
951 * Updated wikimedia/ip-set from 3.0.0 to 3.1.0.
952 * Updated wikimedia/minify from 2.2.6 to 2.3.0.
953 * Updated wikimedia/php-session-serializer from 2.0.0 to 2.0.1.
954 * Updated wikimedia/remex-html from 3.0.2 to 3.0.3.
955 * Updated wikimedia/running-stat from 1.2.1 to 2.1.0.
956 * Updated wikimedia/scoped-callback from 3.0.0 to 4.0.0.
957 * Updated wikimedia/services from 2.0.1 to 3.0.0.
958 * Updated wikimedia/timestamp from 3.0.0 to 4.0.0.
959 * Updated wikimedia/xmp-reader from 0.8.1 to 0.8.6.
961 ===== Changed development-only external libraries =====
962 * Updated composer/spdx-licenses from 1.5.5 to 1.5.7.
963 * Updated doctrine/dbal for PHP < 7.3 from 2.13.6 to 2.13.9.
964 * Updated doctrine/dbal for PHP >= 7.3 from 3.1.5 to 3.4.2.
965 * Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1.
967 ==== Removed external libraries ====
968 * Removed wikimedia/dodo (v0.4.0).
970 === Bug fixes in 1.39 ===
971 * (T314013) $wgExtraNamespaces no longer overrides canonical namespace names
972 specified in extension.json files. While this setting can still be used to
973 rename extension-defined namespaces, system administrators may need to run
974 namespaceDupes.php after upgrading.
976 === Action API changes in 1.39 ===
977 * New `undeletetalk` parameter on action=undelete that allows you to restore
978 all revisions of the associated talk page.
980 === Languages updated in 1.39 ===
981 MediaWiki supports over 350 languages. Many localisations are updated regularly.
982 Below only new and removed languages are listed, as well as changes to languages
983 because of Phabricator reports.
985 * Actual localization was added for several languages, which were already
986 in Names.php and even used for a Wikipedia:
987 ** (T313200) Added language support for Rundi (Kirundi, rn).
988 ** (T310976) Added language support for Tumbuka (ChiTumbuka, tum).
989 ** (T314270) Added language support for Kanuri (kr).
990 * (T313199) Added language support for Sylheti (syl).
991 * (T311975) Added language support for Ghanaian Pidgin (gpe).
992 * (T307080) Added language support for Okinawan (ryu).
993 * (T307887) Added language support for Mooré (mos).
994 * (T308813) Added language support for Nigerian Pidgin (pcm).
995 * (T309763) Added language support for Tai Nüa (tdd).
996 * (T310040) Added language support for Fante (fat).
997 * (T311034) Added language support for Campidanese Sardinian (sro).
998 * (T315406) Fix the autonym of the Iñupiaq language to "Iñupiatun".
999 * (T315677) Removed French fallback from the Fula language (ff).
1000 * (T304920) In Swahili, The "Media" namespace is now "Media", as in English,
1001 and the "File" namespace is now "Faili". The old name of the "File" namespace
1002 was "Picha", and it's kept for backwards compatibility. If you manage a wiki
1003 in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and
1004 you mean to use it as "Media:", these need to be replaced to "Media:".
1005 * (T309866) Some namespace translations were updated for Kyrgyz (ky). The old
1006 ones are retained as aliases for backwards compatibility.
1007 * (T117845) Started the renaming of the language codes for Serbian from sr-ec
1008 and sr-el to sr-cyrl and sr-latn.
1009 * (T295637) Add no to fallback chain of nb and nn.
1011 === Breaking changes in 1.39 ===
1012 * Basic non-JavaScript (Grade C) support has been dropped for Internet Explorer
1013 9-10, Firefox 27-38, and Android 4.3-4.4.
1014 * The following methods, deprecated since 1.37, have been removed from IDatabase
1019 * Title::getDefaultNamespace(), deprecated since 1.37, has been removed.
1020 * The DBPrimaryPos class alias 'DBMasterPos' has been removed.
1021 * The global function wfGetLB(), deprecated since 1.27, has been removed.
1022 * Passing a db to BlockRestrictionStore::loadByBlockId() is no longer supported.
1023 BlockRestrictionStoreFactory should be used to fetch a correct
1024 BlockRestrictionStore instead. This was deprecated since 1.38.
1025 * The global function wfGetCache(), deprecated since 1.32, has been removed. You
1026 can use ObjectCache::getInstance() instead.
1027 * The global function wfGetMainCache(), deprecated since 1.32, has been removed.
1028 You can use ObjectCache::getLocalClusterInstance() instead.
1029 * MovePage::__construct() now requires that all parameters be passed. The
1030 fallback to MediaWikiServices emitted deprecation notices since 1.37.
1031 * WikiPage::doEditContent(), deprecated since 1.32, was removed.
1032 * WikiPage::prepareContentForEdit() now requires a UserIdentity parameter to be
1033 provided. Not providing one has been deprecated since 1.37.
1034 * EventRelayerKafka, deprecated in 1.38, was removed.
1035 * MediaWiki\Logger\Monolog\KafkaHandler, deprecated in 1.38, was removed.
1036 * The "trace" option of SectionProfiler, deprecated in 1.38, was removed.
1037 * The global function wfWikiID(), deprecated since 1.35, has been removed.
1038 * Database::wasKnownStatementRollbackError() was removed. Subclasses should
1039 override isKnownStatementRollbackError() instead.
1040 * Database::wasQueryTimeoutError() was removed. Subclasses should
1041 override isQueryTimeoutError() instead.
1042 * Database::buildSuperlative() has been removed without deprecation.
1043 * The following methods, deprecated in 1.37, have been removed:
1044 - Linker::setStubThreshold(), ::getStubThreshold().
1045 - LinkRendererFactory::createForUser().
1046 - ParserOptions::getStubThreshold(), ::setStubThreshold().
1047 * Changes to ResourceLoader modules:
1048 - The mediawiki.viewport module, deprecated in 1.37 has been
1049 removed. Use IntersectionObserver instead.
1050 * If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere,
1051 and you mean to use it as "Media:", replace it with "Media:". See T304920.
1053 - Skin::getCopyrightIcon(), ::getPoweredBy(), deprecated in 1.37 have been
1055 - Skin::bottomScripts, deprecated in 1.37, now emits deprecation notices.
1056 Skins using SkinTemplate must set bodyOnly as a skin option and
1057 remove lines of code generating html, body and head elements.
1058 - Skin::makeSearchButton and Skin::makeSearchInput were deprecated in 1.38.
1059 Use SkinTemplate methods with the same name or Skin::getTemplateData
1061 - Styles for the HTML classes `warningbox`, `errorbox` and `successbox` have
1062 been removed in favor of Html class methods.
1063 - The feature `legacy` used inside ResourceLoaderSkinModule,
1064 deprecated in 1.37, will no longer ship any styles.
1065 - Skin::getSkinStylePath, deprecated since 1.36, has been removed.
1066 - Skin::getPortletData has been made private.
1067 - SkinTemplate::getPersonalToolsList(), deprecated in 1.35 has been
1069 - The following SkinTemplate template data, deprecated in 1.37,
1073 - The following hooks, deprecated in 1.37, have been removed:
1074 - SkinGetPoweredBy: SkinGetPoweredByHook
1075 - The following hooks are deprecated and replaced with
1076 SkinTemplateNavigation::Universal:
1077 - SkinTemplateNavigation::SpecialPage
1078 - SkinTemplateNavigation
1080 - The mediawiki.skinning.content.externallinks module, which was
1081 deprecated in 1.36 has been removed. Skins that still rely on it
1082 will lose the icon styling of external links by type.
1083 * Experimental wiki farm support: Automatic detection of the requested site
1084 within a wiki farm based on the requested domain has been removed.
1085 Use the MW_WIKI_NAME environment variable to specify the name of the site
1086 to load configuration for. Using the WIKI_NAME environment variable for this
1087 purpose is deprecated. This is only relevant if you have been using
1088 $wgWikiFarmSettingsDirectory to load wiki farm config.
1089 * MWExceptionHandler::installHandler was marked @internal and had required
1090 arguments added. This method is intended for use in bootstrap code and is
1091 unused in known extensions.
1092 * MWException::useOutputPage was made private without deprecation.
1093 This method was apparently only public for testing and is unused in known
1095 * Calling getId() on a User or UserIdentityValue from the wrong wiki, deprecated
1096 since 1.36, now throws an exception.
1097 * The following methods have been removed from ExtensionRegistry without
1098 deprecation and without replacement. They had been introduced in 1.35 for use
1099 in the testing framework, and were not in use by any known extension:
1100 - exportAutoloadClassesAndNamespaces
1101 - exportTestAutoloadClassesAndNamespaces
1102 * The MWNamespace class, deprecated since 1.34, has been removed. Use the
1103 NamespaceInfo service instead.
1104 * The UnknownContent and UnknownContentHandler class aliases have been removed,
1105 use FallbackContent and FallbackContentHandler instead.
1106 * IResultWrapper::next() now returns void, to match the Iterator interface that
1107 it implements. fetchObject() has the same behavior as next() used to.
1108 * In HTMLForm HTMLAutoCompleteSelectFields, the parameters 'autocomplete' and
1109 'autocomplete-messages', which were deprecated in MediaWiki 1.29, were
1110 removed. Instead, use 'autocomplete-data' and 'autocomplete-data-messages'.
1111 * The global $wgParser, deprecated in 1.32, was removed. Use
1112 MediaWikiServices::getInstance()->getParser() instead.
1113 * ParserOutput::setText will now set the ParserOutput's text to null if
1114 given null. Previously it did nothing if given null.
1115 * The default value for the first argument to the ParserOutput constructor
1116 is now null instead of ''.
1117 * IDatabase::lockTables() and IDatabase::unlockTables(), deprecated since 1.38,
1119 * The $context parameter to `new HTMLForm( … )` and `HTMLForm::factory( … )`
1121 * The class alias for revision related classes in namespace MediaWiki\Storage
1122 has been removed. Classes are IncompleteRevisionException,
1123 MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
1124 RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
1125 RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
1126 SuppressedDataException.
1127 * Calling getBy() on an AbstractBlock from the wrong wiki, deprecated since
1128 1.38, now throws an exception.
1129 * Passing a MediaWiki\Linker\LinkTarget to EditPage::makeTemplatesOnThisPageList
1130 or TemplatesOnThisPageFormatter::format is no longer supported,
1131 a MediaWiki\Page\PageIdentity is required.
1132 * The deprecated class alias FakeConverter has been removed, use
1133 TrivialLanguageConverter instead.
1134 * The deprecated ApiQueryContributions class alias has been removed, use
1135 ApiQueryUserContribs instead.
1136 * The deprecated MediaWiki\Special\SpecialPageFactory class alias has been
1137 removed, use MediaWiki\SpecialPage\SpecialPageFactory instead.
1138 * The following skin modules, deprecated in 1.37, have been removed:
1139 - mediawiki.skinning.elements
1140 - mediawiki.skinning.content
1141 - mediawiki.toc.styles
1142 - mediawiki.legacy.config
1143 - mediawiki.legacy.shared
1144 - mediawiki.legacy.commonPrint
1145 * FileModule::compileLessFile(), deprecated since 1.35, has been removed. Use
1146 ::compileLessString() instead.
1147 * LogFormatter::styleRestricedElement(), deprecated since 1.37, has been
1148 removed. Use ::styleRestrictedElement() instead.
1149 * Title::isNamespaceProtected(), deprecated in 1.34, has been removed.
1150 * ApiStashEdit::parseAndStash(), deprecated in 1.34, has been removed.
1151 * LinkCache::forUpdate(), deprecated in 1.34, has been removed.
1152 * Passing null instead of a NamespaceInfo instance to LinkCache::__construct()
1153 is not supported anymore. It is recommended to request an instance from the
1155 * ApiQueryBase::showHiddenUsersAddBlockInfo(), deprecated in 1.34, has been
1156 removed. Use ApiQueryBlockInfoTrait instead.
1157 * ApiQueryBase::prefixedTitlePartToKey(), deprecated in 1.35, has been removed.
1158 Use ::parsePrefixedTitlePart() instead.
1159 * ExternalStoreDB::getSlave(), deprecated in 1.34, has been removed. Use
1160 ExternalStoreDB::getReplica() instead.
1161 * ChangesListSpecialPage::checkStructuredFilterUiEnabled() and
1162 SpecialWatchlist::checkStructuredFilterUiEnabled() now support UserIdentity
1163 as the only argument. Passing Config argument was deprecated in 1.34.
1164 * DatabaseUpdater::ifNoActorTable(), deprecated in 1.35, has been removed. Use
1165 ::ifTableNotExists() instead.
1166 * MediaWiki\Revision\RevisionStoreFactory::getRevisionStore was documented
1167 to allow passing bool true as a dbDomain, this is no longer possible,
1168 because that is an invalid value for a dbDomain.
1169 * LinkHolderArray::__construct() had its signature changed. The class was marked
1171 * SpecialMute::isTargetBlacklisted(), deprecated in 1.35, has been removed. Use
1172 ::isTargetMuted() instead.
1173 * WebRequest::checkUrlExtension(), deprecated in 1.35, has been removed.
1174 * ContentHandler::cleanupHandlersCache(), deprecated in 1.35, has been removed.
1175 * SpecialVersion::getExtAuthorsFileName, deprecated in 1.35, has been removed.
1176 Use MediaWiki\ExtensionInfo::getAuthorsFileName.
1177 * SpecialVersion::getExtLicenseFileName, deprecated in 1.35, has been removed.
1178 Use MediaWiki\ExtensionInfo::getLicenseFileNames.
1179 * CategoryPage::getCategoryViewerClass and ::setCategoryViewerClass, deprecated
1180 in 1.35, have been removed.
1181 * SqlBlobStore::getLegacyEncodingConversionLang(), deprecated in 1.34, has been
1183 * wfCanIPUseHTTPS(), deprecated in 1.37, has been removed.
1184 * wfGetScriptUrl(), deprecated in 1.35, has been removed.
1185 * The following methods of Database class, are no longer stable to override:
1186 - ::implicitOrderby()
1194 - ::buildSubstring()
1195 - ::buildStringCast()
1196 - ::buildIntegerCast()
1198 - ::addIdentifierQuotes()
1201 - ::unionSupportsOrderAndLimit()
1207 - ::setTableAliases()
1208 - ::setIndexAliases()
1209 - ::buildGroupConcatField()
1210 * SpecialUnblock::processUnblock(), deprecated in 1.36, has been removed. Use
1211 UnblockUser instead.
1212 * wfLocalFile() and wfFindFile(), deprecated in 1.34, have been removed.
1213 * Maintenance script resetUserTokens.php, deprecated in 1.27, has been removed.
1214 * These methods in Database have been removed without deprecation as they are
1215 not used outside core. Users should override corresponding methods in
1216 SQLPlatform instead:
1217 - Database::doInsert -> SQLPlatform::insertSqlText
1218 - Database::doDropTable -> SQLPlatform::dropTableSqlText
1219 - Database::doRollback -> SQLPlatform::rollbackSqlText
1220 - Database::doSavepoint -> SQLPlatform::savepointSqlText
1221 - Database::doReleaseSavepoint -> SQLPlatform::releaseSavepointSqlText
1222 - Database::doRollbackToSavepoint -> SQLPlatform::rollbackToSavepointSqlText
1223 * The following protected methods of Database class have been removed without
1224 deprecation as they are not used outside core. Users should call
1225 corresponding methods in SQLPlatform:
1226 - Database::makeInsertLists -> SQLPlatform::makeInsertLists
1227 - Database::isFlagInOptions -> SQLPlatform::isFlagInOptions
1228 - Database::normalizeOptions -> SQLPlatform::normalizeOptions
1229 - Database::fieldNameWithAlias -> SQLPlatform::fieldNameWithAlias
1230 - Database::isTransactableQuery -> SQLPlatform::isTransactableQuery
1231 * $wgCanonicalNamespaceNames no longer includes custom namespaces defined using
1232 $wgExtraNamespaces. Extensions should use the NamespaceInfo service instead
1233 of accessing this configuration setting directly.
1234 * The following hook, deprecated in 1.35, has been removed:
1235 - ParserGetVariableValueVarCache: ParserGetVariableValueVarCacheHook
1236 * The $variableCache parameter to the ParserGetVariableValueSwitch hook is
1237 no longer used; non-standard use of this parameter has been deprecated since
1239 * These methods have been moved from IDatabase to IMaintainableDatabase:
1240 - IDatabase::fieldExists -> IMaintainableDatabase::fieldExists
1241 - IDatabase::indexExists -> IMaintainableDatabase::indexExists
1242 - IDatabase::tableExists -> IMaintainableDatabase::tableExists
1243 * DBConnRef doesn't accept live connection in constructor anymore.
1244 Only parameters for getting connection should be provided.
1245 * IDatabase::getTopologyRootPrimary() was removed.
1246 * User::blockedBy(), deprecated since 1.38, has been removed.
1247 * User::getBlockId(), deprecated since 1.38, has been removed.
1248 * AlphabeticPager::getOrderTypeMessages(), unused since 1.13, has been removed
1249 without deprecation.
1251 === Deprecations in 1.39 ===
1252 * PageProps::getInstance(), deprecated since 1.38, emits deprecations warnings.
1253 * The global function wfGetDB() has been deprecated. Use
1254 LoadBalancer::getConnection() instead.
1255 * SpecialRedirectWithAction::__construct without SearchEngineFactory argument
1256 will now emit a deprecation notice.
1257 * Use of the SiteStatsUpdate constructor has been deprecated in favor of
1258 the ::factory() method.
1259 * AuthManager::checkAccountCreatePermissions has been deprecated. Use
1260 AuthManager::authorizeCreateAccount or AuthManager::probablyCanCreateAccount
1262 * Title::getSelectFields() has been deprecated in favor of
1263 PageStore::newSelectQueryBuilder()
1264 * Title::newFromTitleValue(), deprecated since in 1.34, now emits deprecation
1265 warnings. Use ::newFromLinkTarget() instead.
1266 * ExtensionRegistry::readFromQueue() has been marked @internal. Extensions
1267 should use ExtensionProcessor instead.
1268 * Processor::getExtraAutoloaderPaths() and
1269 ExtensionProcessor::getExtraAutoloaderPaths() have been deprecated, use get
1270 getExtractedAutoloadInfo() instead.
1271 * The following global functions are deprecated in favor of the listed UrlUtils
1273 - wfExpandUrl -> UrlUtils::expand
1274 - wfGetServerUrl -> UrlUtils::getServer
1275 - wfAssembleUrl -> UrlUtils::assemble
1276 - wfRemoveDotSegments -> UrlUtils::removeDotSegments
1277 - wfUrlProtocols -> UrlUtils::validProtocols
1278 - wfUrlProtocolsWithoutProtRel -> UrlUtils::validAbsoluteProtocols
1279 - wfParseUrl -> UrlUtils::parse
1280 - wfExpandIRI -> UrlUtils::expandIRI
1281 - wfMatchesDomainList -> UrlUtils::matchesDomainList
1282 These methods are exact replacements except that
1283 1) they return null instead of false or empty string on error (where
1285 2) UrlUtils::validProtocols does not take a parameter (documentation said not
1286 to pass one to wfUrlProtocols anyway);
1287 3) they use type hints (don't try passing null instead of string, etc.).
1288 * MaintainableDBConnRef is deprecated, use DBConnRef instead.
1289 * Loading DefaultSettings.php is deprecated. To get default values of main
1290 config settings, use MainConfigSchema::listDefaultValues() or
1291 MainConfigSchema::getDefaultValue().
1292 * AbstractContent::getRedirectChain() and
1293 AbstractContent::getUltimateRedirectTarget() are now emitting deprecation
1295 * (T244138) QueryPage::getSQL() is deprecated. Instead QueryPage::getQueryInfo()
1296 should be overridden.
1297 * Calling new JobRunner() directly without $serviceOptions now emits
1298 deprecation warnings. Use MediaWikiServices::getInstance()->getJobRunner()
1300 * Passing an array of targets to Article::getRedirectHeaderHtml() is
1301 deprecated. Supply a single redirect target instead (T296430).
1302 * The following Less mediawiki.mixins have been deprecated:
1304 - .animation-delay()
1305 - .transform-rotate()
1306 * Skin::getAction is deprecated. Use IContextSource::getActionName instead.
1307 * User::getOption, deprecated since 1.35, now emits deprecation warnings.
1308 Use UserOptionsLookup::getOption instead.
1309 * ILBFactory::forEachLB() is deprecated. Use ::getAllLBs().
1310 * LoadBalancer::forEachOpenConnection() and ::forEachOpenPrimaryConnection()
1311 are deprecated without replacement.
1312 * The following classes were moved from the root namespace to the
1313 MediaWiki\ResourceLoader namespace, the old names becoming deprecated aliases:
1314 ResourceLoader, MessageBlobStore, VueComponentParser.
1315 * The following classes had the "ResourceLoader" prefix stripped while being
1316 moved to the MediaWiki\ResourceLoader namespace, the old names becoming
1317 deprecated aliases: DerivativeResourceLoaderContext,
1318 ResourceLoaderCircularDependencyError, ResourceLoaderClientHtml,
1319 ResourceLoaderCodexModule, ResourceLoaderContext, ResourceLoaderFileModule,
1320 ResourceLoaderFilePath, ResourceLoaderForeignApiModule, ResourceLoaderImage,
1321 ResourceLoaderImageModule, ResourceLoaderLanguageDataModule,
1322 ResourceLoaderLessVarFileModule, ResourceLoaderModule,
1323 ResourceLoaderMwUrlModule, ResourceLoaderOOUIFileModule,
1324 ResourceLoaderOOUIIconPackModule, ResourceLoaderOOUIImageModule,
1325 ResourceLoaderOOUIModule, ResourceLoaderSiteModule,
1326 ResourceLoaderSiteStylesModule, ResourceLoaderSkinModule,
1327 ResourceLoaderStartUpModule, ResourceLoaderUserModule,
1328 ResourceLoaderUserOptionsModule, ResourceLoaderUserStylesModule,
1329 ResourceLoaderWikiModule.
1330 * WANObjectCache::reap() and WANObjectCache::reapCheckKey() have been
1331 deprecated without replacement.
1332 * The following methods in WikiRevision and their interfaces
1333 ImportableUploadRevision and ImportableOldRevision are deprecated:
1334 - ::getUserObj() → ::getUser()
1335 - ::setUserObj() → ::setUsername()
1336 - ::setUserIP() → ::setUsername()
1337 * ObjectCache::addBusyCallback() is deprecated and non-functional.
1338 * MWTimestamp::getHumanTimestamp(), deprecated in 1.26, now emits deprecation
1340 * Article::viewRedirect(), deprecated in 1.30, now emits deprecation warnings.
1341 * Parser::getFreshParser() is deprecated, use ParserFactory::getInstance().
1342 * CoreParserFunctions::mwnamespace() is deprecated and emits deprecation
1343 warnings, use CoreParserFunctions::namespace() instead.
1344 * Registering magic variables whose names include a colon is deprecated.
1345 * User::blockedFor(), deprecated in 1.35, now emits deprecation warnings.
1346 * Access to previously public properties AbstractBlock::$mExpiry,
1347 AbstractBlock::$mHideName, AbstractBlock::$mTimestamp, DatabaseBlock::$mAuto,
1348 and DatabaseBlock::$mParentBlockId, deprecated in 1.34, now emits deprecation
1350 * Access to previously public properties User::$mBlock, User::$mBlockedby, and
1351 User::$mHideName, deprecated in 1.35, now emits deprecation warnings.
1352 * JobQueueGroup::singleton() and ::destroySingletons(), deprecated in 1.37, now
1353 emit deprecation warnings.
1354 * Title::getNotificationTimestamp(), deprecated in 1.35, now emits deprecation
1356 * Global functions wfReadOnly and wfReadOnlyReason, deprecated in 1.38, now
1357 emit deprecation warnings.
1358 * Overriding or calling DifferenceEngine::getDiffBodyCacheKey(), deprecated in
1359 1.31, now emits deprecation warnings.
1360 * Access to previously public property WikiRevision::$fileIsTemp, deprecated in
1361 1.29, now emits deprecation warnings.
1362 * wfQueriesMustScale() has been deprecated and emits deprecation warnings.
1363 * ContextSource::getStats(), RequestContext::getStats(), and
1364 DerivativeContext::getStats(), deprecated in 1.27, now emit deprecation
1366 * ManualLogEntry::setTags(), deprecated in 1.33, now emits deprecation warnings.
1367 * WikiRevision::downloadSource(), deprecated in 1.31, now emits deprecation
1369 * DifferenceEngine::textDiff(), deprecated in 1.32, now emits deprecation
1371 * FormatMetadata::flattenArrayContentLang(), deprecated in 1.36, now emits
1372 deprecation warnings.
1373 * SkinTemplate::getNameSpaceKey(), deprecated in 1.35, now emits deprecation
1375 * EnqueueJob::newFromJobsByWiki(), deprecated in 1.33, now emits deprecation
1377 * The following methods of the MWGrants class, all deprecated since 1.38,
1378 are now emitting deprecation warnings:
1389 * DataUpdate::runUpdates(), deprecated in 1.28, now emits deprecation warnings.
1390 * CdnCacheUpdate::newFromTitles(), deprecated in 1.35, now emits deprecation
1392 * Instantiating HTMLCacheUpdate class, deprecated in 1.34, now emits deprecation
1394 * ISQLPlatform::tableNames() (implemented by IDatabase) is now deprecated.
1395 None of the tableName*() functions should be used by most users;
1396 if you absolutely must use raw SQL, write several tableName() calls instead.
1397 * Language::isWellFormedLanguageTag() has been deprecated in favor of
1398 LanguageCode::isWellFormedLanguageTag().
1399 * The PrevNextNavigationRenderer helper class has been deprecated in favor of
1400 the new PagerNavigationBuilder one.
1401 * The methods IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and
1402 IndexPager::buildPrevNextNavigation() have been deprecated in favor of
1403 IndexPager::getNavigationBuilder().
1404 * Overriding the method IndexPager::makeLink() has been deprecated.
1405 * ActorMigration is deprecated. The temporary table is no longer needed, the
1406 actor table can be directly joined to the revision table, which is simple
1407 enough to not need a helper class. See the methods of ActorMigration for more
1408 specific information on replacements. ActorMigrationBase remains usable for
1409 migrations in extension tables.
1411 === Other changes in 1.39 ===
1412 * Dynamic default values are now applied before extension registration callbacks
1413 are run. This way, extensions have a complete view of config variables, with
1414 all defaults applied. For example, when the default value of X used to be
1415 static but becomes dynamic, and an extension reads the value of X in the
1416 registration callback, it will now continue to function as expected. In some
1417 cases however, this may cause an undesired change in behavior: if the dynamic
1418 default of setting X depends on the value of setting Y, and an extension
1419 changes Y, the changed value of Y will no longer affect the value of X.
1423 MediaWiki 1.39 requires PHP 7.4.3 or later and the following PHP extensions:
1434 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
1435 be used instead, but support for them is somewhat less mature.
1437 The supported versions are:
1439 * MariaDB 10.3 or higher
1440 * MySQL 5.7.0 or higher
1441 * PostgreSQL 10 or later
1442 * SQLite 3.8.0 or later
1444 == Online documentation ==
1445 Documentation for both end-users and site administrators is available on
1446 MediaWiki.org, and is covered under the GNU Free Documentation License (except
1447 for pages that explicitly state that their contents are in the public domain):
1449 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
1452 A mailing list is available for MediaWiki user support and discussion:
1454 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
1456 A low-traffic announcements-only list is also available:
1458 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
1460 It's highly recommended that you sign up for one of these lists if you're
1461 going to run a public MediaWiki, so you can be notified of security fixes.
1464 There's usually someone online in #mediawiki on irc.libera.chat.
1468 == MediaWiki 1.38.7 ==
1470 This is a security and maintenance release of the MediaWiki 1.38 branch.
1472 === Changes since MediaWiki 1.38.6 ===
1473 * Localisation updates.
1474 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
1475 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
1477 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
1478 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
1479 * (T330464) Work around argument corruption bug in XMLReader::open.
1480 * (T313157) IndexPager: Also protect against $offset being 0.
1481 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
1483 == MediaWiki 1.38.6 ==
1485 This is a security and maintenance release of the MediaWiki 1.38 branch.
1487 === Changes since MediaWiki 1.38.5 ===
1488 * Localisation updates.
1489 * (T325872) ChangeTags: Remove table name from condition.
1490 * (T324895) MWCallbackStream: Add explicit $stream property.
1491 * (T297031, T326039) PostgresUpdater: Move setDefault ahead of
1492 changeNullableField.
1493 * Remove /images .htaccess rules that are no longer relevent.
1494 * Disable php in .htaccess of images directory as a hardening measure.
1495 * (T322583) Include missing message parameter in message.
1496 * Fix phan error when Excimer is enabled.
1497 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0
1498 * (T326021) Add matrix: to $wgUrlProtocols.
1499 * (T326377) rdbms: Use DBConnRef in SelectQueryBuilder.
1500 * api/en.json: api-help-datatype-expiry add missing 'may'.
1501 * (T328222) Pass empty string to strlen() if schema is null for
1503 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
1504 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
1505 * (T155582, T328503) Fix XML dumps for content types with non-string
1507 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses.
1508 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
1509 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text'
1511 * (T295637) Add no to fallback chain of nb and nn.
1512 * (T329484) API: Fix query+allimages user parameter description.
1513 * (T330529) SpecialEditTags: Set default of '' for wpReason.
1514 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
1516 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
1519 == MediaWiki 1.38.5 ==
1521 This is a security and maintenance release of the MediaWiki 1.38 branch.
1523 === Changes since MediaWiki 1.38.4 ===
1524 * Localisation updates.
1525 * Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings).
1526 * (T319000) WebInstaller: Don't try and run trim() on null.
1527 * (T318753) Installer: Disable logo dropper for now.
1528 * (T320864) When calling mail(), use an array for headers.
1529 * (T311567) In ManualLogEntry, cast the comment to string.
1530 * (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions.
1531 * (T322803) SpecialBotPasswords: Don't pass null to trim().
1532 * (T323082) Upgrading wikimedia/xmp-reader (0.8.1 => 0.8.5).
1533 * Language: Handle ronna and quetta.
1534 * PostgresUpdater: Remove trailing space from 'user_id ' column.
1535 * (T304515) LCStoreStaticArray: atomically replace the cache file.
1536 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
1537 * (T324910) On pages using multi-content revisions, the raw content of a
1538 specific slot can be retrieved using the action=raw&slot=<role-name> query
1540 * (T322637) SECURITY: sqlite should not create DB file world-readable.
1542 == MediaWiki 1.38.4 ==
1544 This is a maintenance release of the MediaWiki 1.38 branch.
1546 === Changes since MediaWiki 1.38.3 ===
1547 * Fix missing use statement from backport of fix for T307278.
1549 == MediaWiki 1.38.3 ==
1551 This is a security and maintenance release of the MediaWiki 1.38 branch.
1553 === Changes since MediaWiki 1.38.2 ===
1554 * Localisation updates.
1555 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
1556 * (T311559) SpecialListFiles: user parameter isn't always present.
1557 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
1558 * (T311920) SpecialBlockList: Prevent passing null to trim().
1559 * (T311921) SpecialUserrights: Don't pass null to str_replace.
1560 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
1561 Title::capitalize().
1562 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
1563 * (T311360) RecentChange: Straight join to actor table when needed.
1564 * (T311360) RecentChange: Make join to comment table also straight.
1565 * Remove messages in en-gb.json.
1566 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
1567 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
1568 * (T312302) SpecialRedirect: Don't pass null to explode.
1569 * RemoveInvalidEmails: Fix quoting for postgres.
1570 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
1572 * (T312300) SpecialDiff: Don't pass null to explode().
1573 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
1574 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
1575 * (T289926) Ensure that strlen() does not get passed a (valid) null.
1576 * (T312301) SpecialDiff: Don't pass null to trim().
1577 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
1578 * (T289926) Ensure we don't pass null to mb_strlen.
1579 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
1581 * (T289926) site: Consistently return null from Site::getDomain().
1582 * (T307304, T289879) filebackend,jobqueue: Add signature for
1583 FilterIterator::accept().
1584 * (T304559) Use page ID from parent revision, improve logging.
1585 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
1586 * Add application/vnd.ms-opentype to MIME list.
1587 * Allow composer/installers plugin in composer.json.
1588 * (T313663) Make ReadOnlyModeTest work in php8.
1589 * (T313663) Make HandlerTestTrait compatible with php8.1.
1590 * (T313663) [php8] Make DeletePageTest stop giving warnings on php8.1.
1591 * Change type hints for BatchRowIterator and NotRecursiveIterator for
1592 compatibility with PHP 8.1.
1593 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
1594 * (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix
1596 * (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for
1598 * Fix tests so getName() doesn't return null.
1599 * (T313663) [php8] Don't use strlen on potentially null string.
1600 * (T313663) [php8.1] Suppress test warning about providing null.
1601 * (T313663) [php8.1] mock User::getTitleKey() in DeaultPreferencesFactoryTest.
1602 * (T313663) Parser will use current timestamp instead of null if passed a
1603 RevisionRecord that does not have a timestamp.
1604 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
1605 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
1606 * (T313663) Mock UserOptionsManager::getOption for php8.1.
1607 * (T289879, T289926) Get rid of warnings on PHP 8.1.
1608 * (T313663) Check for null return of preg_replace in MediaWikiTitleCodec.
1609 * (T313663) cast db name to string when checking if it is read only [php8.1].
1610 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
1611 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
1612 * (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1].
1613 * (T314096) Migrate use of ${var}-style string interpolation.
1614 * (T314099) preprocessor: Add missing field declarations.
1615 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
1617 * (T313663) [php8.1] Mock out getLocalDomainID for WatchedItemStore tests.
1618 * (T313663) Suppress warnings for the null test of addIdentifierQuotes.
1619 * (T314225) SpecialCategories: Null coalescene $par.
1620 * (T314099) User: Allow dynamic properties on PHP 8.2.
1621 * (T314404) SpecialGoToInterwiki: Null coalescene $par.
1622 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
1623 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
1624 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
1625 * (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1.
1626 * (T313663) Do not test giving a null fragment to Title::makeTitle.
1627 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
1628 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
1629 * (T313663) Cast results of Sqlite test to string [php 8.1].
1630 * (T314208) Set $wgServer for HttpRequestFactoryTest to prevent warnings on
1632 * (T314208, T297082) phpunit: Fallback to global default user options.
1633 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
1634 * Fix a couple deprecation warnings in the installer under PHP 8.1.
1635 * api: Add rel=nofollow to help examples.
1636 * (T307613) Validate length of user email on Special:ChangeEmail/
1637 Special:CreateAccount.
1638 * (T314226) LoginSignupSpecialPage: Check if $value is a string before length.
1639 * (T314824) tests: Update parser test after i18n change.
1640 * (T313663, T296083) context: Replace deprecated User::getOption.
1641 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
1642 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
1643 wpNamespaceRestrictions.
1644 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
1645 * (T315892) composer.json: Pin phpunit to 8.5.28.
1646 * (T313663) Do not compare byte-for-byte of serialized items in tests [php8.1].
1647 * objectcache: avoid php 8.1 argument type warnings in
1648 genericKeyFromComponents().
1649 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
1651 * ManualLogEntry: Don't pass null to trim() as PHP 8.1 whines.
1652 * (T313663) Add a null check VueComponentParser to prevent php8.1 issues.
1653 * (T313049) Bump wikimedia/parsoid to v0.15.1.
1654 * (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset.
1655 * (T318460) SpecialChangeEmail: Set default for returntoquery.
1656 * (T318307) Update docs for HTMLFormField::validate() to permit all data types.
1657 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
1658 in an IP range check on Special:Contributions.
1659 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
1661 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
1662 "alreadyrolled" can leak revision deleted user name.
1664 == MediaWiki 1.38.2 ==
1666 This is a security and maintenance release of the MediaWiki 1.38 branch.
1668 === Changes since MediaWiki 1.38.1 ===
1669 * Localisation updates.
1670 * (T309426) Repair language selector for SVGs.
1671 * (T310013) Fix default value for $wgShowEXIF and $wgUsePathInfo.
1672 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
1673 * (T308473) SECURITY: Escape contributions-title msg for use within page title.
1674 * (T311272) Call parent constructor of AddSite maintenance script first.
1675 * MediaWiki: Don't eagerly initialize action name.
1676 * (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.4.1 to 7.4.5.
1677 * (T289926) Avoid passing null to trim() in SkinTemplate.
1678 * (T289879) Address deprecations for PHP 8.1.
1679 * (T311473) rollbackEdits: Pass user identity to RollbackPage.
1680 * Upgrade wikimedia/remex-html from 3.0.1 to 3.0.2.
1681 * (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null.
1682 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
1683 * (T311569) FileBackend::isStoragePath() Handle being passed null.
1684 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
1685 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
1686 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
1687 * Upgrade wikimedia/common-passwords from 0.3.0 to 0.4.0.
1689 == MediaWiki 1.38.1 ==
1691 This is a maintenance release of the MediaWiki 1.38 branch.
1693 === Changes since MediaWiki 1.38.0 ===
1694 * (T309860) Add justinrainbow/json-schema to vendor.
1695 * (T309933) Drop PHP 7.2 support in MediaWiki 1.38; require 7.3.19.
1697 == MediaWiki 1.38.0 ==
1699 === Changes since MediaWiki 1.38.0-rc.1 ===
1700 * Localisation updates.
1701 * (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail
1703 * (T305779) phpunit: Support setting skin context in BundleSizeTest subclasses.
1704 * (T309028) SECURITY: ApiEditPage: update title after redirects.
1705 * (T308967) notifications: prevent log spam when invalid user object listed.
1706 * composer: Lock Parsoid version to specific 0.15.0 release.
1707 * (T306362, T308680) change-your-logo.svg: Resize to 135px square, re-crush,
1708 and manually minify.
1710 == MediaWiki 1.38.0-rc.1 ==
1712 === Changes since MediaWiki 1.38.0-rc.0 ===
1713 * Localisation updates.
1714 * (T305028) Undeprecate EditPage::$textbox2.
1715 * (T305635) LogActions is a map, not a list.
1716 * (T306721) Add wikimedia/equivset to vendor; needed by bundled AbuseFilter.
1717 * (T307284) Simplify TransactionManager::pendingWriteQueryDuration.
1718 * (T307307) Add symfony/yaml to vendor.
1719 * Fix old_name in UserLogoutComplete hook.
1720 * REST: don't send stack trace in error responses.
1721 * (T307998) SessionManager: stop storing an ObjectFactory instance.
1722 * (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update.
1724 == Upgrading notes for 1.38 ==
1725 Don't forget to always back up your database before upgrading!
1727 See the file UPGRADE for more detailed per-version upgrade instructions from the
1728 oldest supported upgrading version, MediaWiki 1.29.
1730 Some specific notes for MediaWiki 1.38 upgrades are below:
1731 * (T191740) The AbuseFilter extension is now bundled with MediaWiki. This is an
1732 anti-abuse feature that lets privileged users to set specific actions to be
1733 taken when actions by users, such as edits or file uploads, match certain
1735 * (T232948) The Math extension is now bundled with MediaWiki. This is a content
1736 feature that lets users create mathematical formulæ, written in a sub-set of
1737 LaTeX and rendered in MathML with a fallback SVG image. By default, it will
1738 use Wikimedia's mathoid service to render each formula, but local rendering
1739 can be set up for network isolation or performance.
1740 * (T191743) The Minerva skin is now bundled with MediaWiki. This is a simple,
1741 light-weight, and scalable skin that is particularly optimised for mobile use,
1742 and integrates well with the MobileFrontend extension (available separately),
1743 but can also be used as a regular desktop skin.
1745 For notes on 1.37.x and older releases, see HISTORY.
1747 === Configuration changes for system administrators in 1.38 ===
1749 ==== New configuration ====
1750 * (T297708) $wgMaxExecutionTimeForExpensiveQueries - This setting can be used to
1751 control the maximum execution time for several expensive query pages (e.g.
1752 RecentChanges and UserContribs).
1753 * $wgBrowserFormatDetection – This setting allows overriding browsers' automatic
1754 detection and handling of formats. It's initially used to prevent auto-linking
1755 of possible telephone numbers in wiki pages' output in Safari on iOS; this can
1756 be re-enabled if you wish, or locally extended for other browsers' quirks.
1757 * (T240685) $wgMetricsTarget, $wgMetricsFormat, $wgMetricsPrefix - These provide
1758 configuration for a new MetricsFactory service with support for the dogstatsd
1759 format, intended for integration with Prometheus integration.
1760 * $wgGroupInheritsPermissions – This setting allows inheriting permissions, both
1761 granted and revoked, from another group.
1762 * $wgForeignApiRepos – ForeignAPIRepo now has a apiMetadataExpiry option to
1763 control for how long file metadata is cached. Additionally the default changed
1764 from 1 hour to 4 hours.
1765 * $wgSkinsPreferred – This lets you set a list of preferred skins to be listed
1766 higher in Special:Preferences.
1767 * $wgWikiFarmSettingsDirectory – A directory that contains site-specific
1768 configuration files. Setting this will enable multi-tenant ("wiki farm")
1769 mode, causing site-specific settings to be loaded based on information from
1770 the web request. EXPERIMENTAL.
1771 * $wgWikiFarmSettingsExtension – The file extension to be used when looking up
1772 site-specific settings files in $wgWikiFarmSettingsDirectory, such as 'json'
1773 or 'yaml'. EXPERIMENTAL.
1774 * $wgWikiFarmSiteDetector – A callback function that returns the name of the
1775 wiki for the current request. This is used in multi-tenant ("wiki farm")
1776 mode to determine which settings file to load from
1777 $wgWikiFarmSettingsDirectory. EXPERIMENTAL.
1778 * $wgEnableRemoteBagOStuffTests – This replaces the environment variable
1779 PHPUNIT_USE_BAGOSTUFF.
1780 * (T230211) $wgForceDeferredUpdatesPreSend – Force deferred updates to be run
1781 before sending a response to the client, instead of attempting to run them
1782 after sending the response. Setting this to true is useful for end-to-end
1783 testing, to ensure that the effects of a request are visible to any subsequent
1784 requests, even if they are made immediately after the first one. Note however
1785 that this does not ensure that database replication is complete, nor does it
1786 execute any jobs enqueued for later.
1787 * $wgTemplateLinksSchemaMigrationStage – Templatelinks table schema migration
1788 stage, for normalizing tl_namespace and tl_title fields.
1790 ==== Changed configuration ====
1791 * $wgStyleDirectory and $wgExtensionDirectory – These are now set later, so can
1792 no longer be used within LocalSettings.php unless explicitly set in that file.
1793 * $wgFileBackends – This setting no longer takes 'fileJournal' as an option.
1794 * $wgMaxImageArea - This setting may now be set to false to disable size.
1795 checking before scaling. Extensions can still override its value by using the
1796 BitmapHandlerCheckImageArea hook.
1797 * $wgAjaxUploadDestCheck – This is now deprecated, and act as always-true.
1798 * $wgInterwikiCache – This no longer supports the string value for CDB files.
1799 * $wgParserOutputHooks – This is now deprecated; adjustments using this should
1800 be done with OutputPageParserOutputHook instead. (T292321)
1801 * $wgExternalStores – This is newly documentated in
1802 includes/externalstore/README.md.
1804 ==== Removed configuration ====
1805 * $wgShellLocale - This setting has been removed as it was a flawed solution to
1806 the problem of locale dependence, MediaWiki will now always set a locale of
1807 C.UTF-8 or C and works around the remaining problems of the C locale by not
1808 using escapeshellarg. This follows the direction of PHP 8.0, which sets a
1809 locale of C by default instead of respecting LC_CTYPE.
1810 * $wgLoggedOutMaxAge - Experiment removed, originally added in 1.35. (T293848)
1811 * $wgIncludejQueryMigrate - Deprecated in 1.36. We only support jQuery v3.
1812 * $wgUseCategoryBrowser - This experimental feature has been removed. If you
1813 still need to use this feature, please see [[mw:Extension:CategoryExplorer]].
1814 * $wgStyleSheetPath - alias for $wgStylePath, deprecated since 1.3 (2004).
1816 === User-facing changes in 1.38 ===
1817 * (T284921) The "auto-number headings" feature was removed following a
1818 consultation, due to performance reasons.
1820 === New operator/developer features in 1.38 ===
1821 * EXPERIMENTAL: The environment variable MW_CONFIG_FILE can be used to specify
1822 the location of the settings file. This allows alternative settings files to
1823 be loaded depending on the environment. Settings files may be given as PHP
1824 files like the traditional LocalSettings.php file, or they may use JSON or
1826 See https://www.mediawiki.org/wiki/Manual:YAML_settings_file_format
1827 * Added a deleteUserEmail maintenance script - This file enables the deletion of
1828 a given user's associated email address. It can be helpful for
1829 privacy-preserving operations.
1830 * The description array for constructing an HTMLForm now can use 'disable-if' to
1831 disable fields on condition easily, supported expressions are the same as
1833 * There is a new interface, IForeignRepoWithMWApi, to allows you to mark file
1834 repos provided by an extension as supporting making API queries against the
1835 foreign file repo so that extensions like TimedMediaHandler that depend on
1836 this can stop hard-coding looking for specific class names.
1837 * Added EXPERIMENTAL support for an easy to configure multi-tenant ("wiki
1839 Settings for each site can be placed in a directory specified by
1840 $wgWikiFarmSettingsDirectory. Site detection is controlled by
1841 $wgWikiFarmSiteDetector and defaults to the requested host name.
1842 For example, setting $wgWikiFarmSettingsDirectory = "sites" would cause
1843 the settings for wiki.example.com to be loaded from
1844 "sites/wiki_example_com.yaml".
1845 WARNING: YAML files under the web root may be accessible to browsers, please
1846 take appropriate measures to protect them from access via HTTP.
1847 * Running QUnit tests for an individual test suite module is possible with
1848 `grunt qunit --qunit-component={componentName}`, where {componentName} is
1849 "MediaWiki" to run core's QUnit tests or the skin or extension name.
1850 * The 'mediawiki.mixins' module now has a `.user-select()` Less mixin.
1852 === External library changes in 1.38 ===
1854 ==== New external libraries ====
1855 * symfony/yaml was promoted from development-only.
1856 * justinrainbow/json-schema was promoted from development-only.
1858 ==== Changed external libraries ====
1859 * Updated OOUI from v0.42.0 to v0.43.2.
1860 * Updated Vue from 2.6.11 to 3.2.23.
1861 * Updated WVUI from v0.3.0 to v0.4.0.
1862 * Updated composer/semver from 3.2.5 to 3.2.6.
1863 * Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
1864 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
1865 * Updated pear/net_smtp from 1.9.2 to 1.10.0.
1866 * Updated psr/log from 1.1.3 to 1.1.4.
1867 * Updated psy/psysh from 0.10.5 to 0.11.1.
1868 * Updated symfony/polyfill-php80 from 1.23.1 to 1.25.0.
1869 * Updated wikimedia/assert from 0.5.0 to 0.5.1.
1870 * Updated wikimedia/cdb from 1.4.1 to 2.0.0.
1871 * Updated wikimedia/ip-utils from 3.0.2 to 4.0.0.
1872 * Updated wikimedia/minify from 2.2.4 to 2.2.6.
1873 * Updated wikimedia/object-factory from 3.0.2 to 4.0.0.
1874 * Updated wikimedia/parsoid from v0.14.0-a14 to v0.15.0.
1875 * Updated wikimedia/purtle from 1.0.7 to 1.0.8.
1876 * Updated wikimedia/request-timeout from 1.1.0 to 1.2.0.
1877 * Updated wikimedia/shellbox from 2.0.0 to 3.0.0.
1878 * Updated wikimedia/wrappedstring from 3.2.0 to 4.0.1.
1879 * Updated wikimedia/remex-html from 3.0.1 to 3.0.2.
1880 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
1882 ===== Changed development-only external libraries =====
1883 * Updated QUnit from 2.16.0 to 2.18.0.
1884 * Updated composer/semver from 3.5.4 to 3.5.5.
1885 * Updated composer/spdx-licenses from 1.5.4 to 1.5.5.
1886 * Updated doctrine/dbal for PHP < 7.3 from 2.10.4 to 2.13.6.
1887 * Updated doctrine/dbal for PHP >= 7.3 from 3.0.0 to 3.1.5.
1889 ==== Removed external libraries ====
1890 * jquery.jStorage, deprecated since MW 1.28; use "mediawiki.storage" instead.
1892 === Action API changes in 1.38 ===
1893 * New `deletetalk` parameter on action=delete that allows you to delete the
1894 associated talk page of a subject page.
1895 * New `variant` parameter for all API actions, for specifying language variant
1896 (akin to the existing `variant` parameter for index.php). Task T117549.
1898 === Languages updated in 1.38 ===
1899 MediaWiki supports over 400 languages. Many localisations are updated regularly.
1900 Below only new and removed languages are listed, as well as changes to languages
1901 because of Phabricator reports.
1903 * (T292166) Updated namespace names for the Lombard language.
1904 * (T299201) Changed the autonym of the Angika language to अंगिका
1905 * (T298309) Changed the autonym of the Abkhaz language to аԥсшәа
1906 * (T302972) Changed the autonym of the Kirundi language to ikirundi
1907 * (T220303) Show numbered lists with Burmese numerals in relevant languages
1908 * (T291899) Added language support for Xiang Chinese (hsn).
1909 * (T292612) Added language support for S'gaw Karen (ksw).
1910 * (T293656) Added language support for Farefare (gur).
1911 * (T294729) Added language support for Pa'O (blk).
1912 * (T296286) Added language support for Skolt Sámi (sms).
1913 * (T296612) Added language support for Makhuwa (vmw).
1914 * (T296707) Added language support for Ga (gaa).
1915 * (T297073) Added language support for Nanai (gld).
1916 * (T297074) Added language support for Nawdm (nmz).
1917 * (T298075) Added language support for Northern Thai (nod).
1918 * (T298182) Added language support for Cape Verdean Creole (kea).
1919 * (T298385) Added language support for Nheengatu (yrl).
1920 * (T299329) Added language support for Fon (fon).
1921 * (T300474) Added language support for Nkore (nyn).
1922 * (T302556) Added language support for Pannonian Rusyn (rsk).
1924 === Breaking changes in 1.38 ===
1925 * (T291008) The IP class, deprecated since 1.35 in favor of the IPUtils library,
1926 has been removed. The IP related regexes which were also deprecated in favor
1927 of the IPUtils library were also removed, IPUtils::RE_* should be used
1929 * (T293043) The MediaWikiIntegrationTestCase class alias 'MediaWikiTestCase' has
1931 * LinkCache::singleton(), deprecated since 1.28, has been removed.
1932 * RepoGroup::singleton(), ::destroySingletons() and setSingleton(), all
1933 deprecated since 1.34, have been removed.
1934 * The following methods from FileDeleteForm were removed:
1935 - ::__construct (the class is no longer newable)
1937 - ::haveDeletableFile()
1938 Use FileDeleteAction instead.
1939 * MessageCache::singleton(), deprecated since 1.34, has been removed.
1940 * LockManagerGroup::singleton() and ::destroySingletons(), both deprecated since
1941 1.34, have been removed.
1942 * FileBackendGroup::singleton() and ::destroySingletons(), both deprecated since
1943 1.35, have been removed.
1944 * TemplateParser used to support disabling the cache with a boolean parameter in
1945 its constructor. This was deprecated in 1.35 and has now been removed.
1946 * The ArticleUndeleteLogEntry hook, deprecated in 1.37, was removed.
1947 * The BeforeResetNotificationTimestamp hook, deprecated in 1.37, was removed.
1948 * The global function mimeTypeMatch() has been removed without a deprecation
1950 * The following JavaScript mw.config keys have been removed:
1954 - $wgCookieExpiration
1955 Use mw.cookie from the mediawiki.cookie module instead.
1956 * The signature of PageUpdater::markAsRevert method was changed. It has never
1957 been used outside of MediaWiki core.
1958 * If you want to use interwiki titles with HTMLTitleTextField, you now need to
1959 pass 'interwiki' => true. In 1.37, the default behavior was to let interwiki
1960 title through by default, logging a deprecation warning.
1961 * The `UndeleteForm::undelete` hook, deprecated in 1.37, was removed.
1962 * BagOStuff::setDebug(), deprecated since 1.36, has been removed.
1963 * The `jquery.mw-jump` ResourceLoader module was removed.
1964 * The `wgForeignUploadTargets` and `wgEnableUploads` configuration values were
1965 removed from mw.config. They had previously been documented as being included
1966 for internal use by the mediawiki.ForeignUpload module.
1967 *The `&$hasHistory` parameter to WikiPage::getAutoDeleteReason() and
1968 ContentHandler::getAutoDeleteReason() was hard-deprecated with no replacement.
1969 * Several Skin methods, which have emitted deprecation warnings since 1.36, have
1970 been removed. These include:
1971 - Skin::privacyLink()
1973 - Skin::disclaimerLink()
1974 For these, instead use Skin::footerLink() to alter footer links.
1976 For this, use ResourceLoaderSkinModule::getAvailableLogos() instead.
1977 - Skin::getIndicatorsHTML()
1978 For this, use Skin::getIndicatorsData() instead.
1979 - Skin::subPageSubtitle()
1980 For this, use Skin::prepareSubtitle() instead.
1981 - Skin::makeVariablesScript()
1982 For this, use ResourceLoader::makeInlineScript() instead.
1983 - Skin::getAllowedSkins()
1984 - Skin::getSkinNames()
1985 For these, use SkinFactory::getAllowedSkins() or ::getInstalledSkins().
1987 - Skin::getSearchLink()
1988 - Skin::mainPageLink()
1989 * Parser::getUser and ::mUser, as well as ParserOptions::getUser, deprecated
1990 since 1.37, has been removed.
1991 * Parser::$mStripState, deprecated in 1.35, has been made private. Use
1992 Parser::getStripState() instead.
1993 * The following deprecated features in blocks were removed:
1994 - DatabaseBlock constructor 'byText' property with blocker's name, use 'by'
1995 property with UserIdentity value instead.
1996 - DatabaseBlock constructor 'by' property with blocker's ID, use 'by' property
1997 with UserIdentity value instead.
1998 - DatabaseBlock::isWhitelistedFromAutoblocks, use ::isExemptedFromAutoblocks.
1999 - DatabaseBlock::setBlocker now only accepts UserIdentity.
2000 - AbstractBlock::getTargetAndType and ::getTarget, use ::getTargetName,
2001 ::getTargetUserIdentity and ::getType instead
2002 * The following functions, emitting deprecations since 1.37, have been removed:
2003 - Title::isWatchable()
2004 - WatchAction::doWatchOrUnwatch(), WatchAction::doWatch(),
2005 WatchAction::doUnwatch(), WatchAction::getWatchToken()
2006 - User::isWatched(), User::isTempWatched(), User::addWatch(),
2008 * ParserOptions::setTidy() that had no effect and was deprecated since 1.35 has
2010 * The "YAML" encoding option of EtcdConfig, has been removed without
2012 * The constant ApiBase::PARAM_VALUE_LINKS, deprecated since 1.35 has been
2014 * UserLoadOptions, UserSaveOptions and UserResetAllOptions hooks, deprecated
2015 since 1.37, were removed.
2016 * The experimental FileJournal system has been removed without deprecation. This
2017 includes the FileJournal abstract class, its implementation classes
2018 DBFileJournal and NullFileJournal, various minor getters and setters, and the
2019 option for the wiki configuration $wgFileBackends.
2020 * The return values for each `bind` function in checkboxHack.js has been changed
2021 from an object to a function. In addition, the `unbind` function has been
2022 removed. A deprecation process was assumed unnecessary as there were no known
2024 * File::getUser, ::getImageSize, ArchivedFile::getRawDescription, ::getUser,
2025 ::getRawUser and ::getRawDescription, deprecated since 1.37, has been removed.
2026 * ShellboxHttpClient class has been removed without deprecation. It was an
2027 internal class used by ShellboxClientFactory.
2028 * The following hard deprecated User methods have been removed:
2029 - ::resetIdByNameCache,
2030 - ::getStubThreshold,
2031 - ::matchEditTokenNoSuffix,
2032 - ::changeableByGroup,
2033 - ::changeableGroups,
2034 - ::isAllowUsertalk,
2039 - ::isValidUserName,
2041 - ::isCreatableName,
2042 - ::getCanonicalName,
2043 - ::addAutopromoteOnceGroups,
2044 - ::getDefaultOptions,
2045 - ::getDefaultOption,
2053 - ::getEffectiveGroups,
2054 - ::getAutomaticGroups,
2057 - ::getFirstEditTimestamp
2058 - ::getLatestEditTimestamp
2059 * Http::$httpEngine, deprecated since 1.34, has been removed. The only available
2060 HTTP engine is now Guzzle. CurlHttpRequest and PhpHttpRequest classes were
2062 * The UserRightsProxy class was deprecated. Pass the correct domain to
2063 UserGroupManagerFactory instead.
2064 * Parser option enableLimitReport was deprecated. The report is now generated
2065 post-parse and can be included by providing 'includeDebugInfo' option to
2066 ParserOutput::getText. Thus, ParserOptions::enableLimitReport and
2067 ::getEnableLimitReport methods were deprecated.
2068 * Ajax action that was deprecated in 1.27 now has been removed.
2069 * The following methods have been removed from IDatabase without deprecation as
2070 they were completely unused:
2071 - ::preCommitCallbacksPending()
2072 - ::pendingWriteRowsAffected()
2073 - ::getServerUptime()
2075 * The following deprecated methods have been removed from IDatabase:
2076 - ::aggregateValue() soft-deprecated since 1.33
2077 - ::getTopologyRootMaster() since 1.37
2078 - ::masterPosWait() since 1.37
2079 - ::dataSeek() soft-deprecated since 1.37
2080 - ::numFields() soft-deprecated since 1.37
2081 - ::fieldName() soft-deprecated since 1.37
2082 - ::onTransactionIdle() soft-deprecated since 1.32
2083 - ::getMasterPos() since 1.37
2084 * DatabaseMysqlBase::fieldType() and DatabasePostgres::fieldType(), deprecated
2085 since 1.37, have been removed.
2086 * Database::assertIsWritableMaster(), deprecated since 1.37, has been removed.
2087 * ResultWrapper::getInternalResult(), soft-deprecated since 1.37 and
2088 ResultWrapper::unwrap(), deprecated since 1.37, have been removed.
2089 * Language::AS_AUTONYMS, deprecated since 1.34, has been removed. You can use
2090 the LanguageNameUtils::AUTONYMS constant instead.
2091 * Several Language class variables deprecated in 1.35 have been removed; they
2092 are each replaced by a constant, as listed after the arrow:
2093 - ::$mWeekdayMsgs → WEEKDAY_MESSAGES
2094 - ::$mWeekdayAbbrevMsg → WEEKDAY_ABBREVIATED_MESSAGES
2095 - ::$mMonthGenMsgs → MONTH_GENITIVE_MESSAGES
2096 - ::$mIranianCalendarMonthMsgs → IRANIAN_CALENDAR_MONTHS_MESSAGES
2097 - ::$mHebrewCalendarMonthMsgs → HEBREW_CALENDAR_MONTHS_MESSAGES
2098 - ::$mHebrewCalendarMonthGenMsgs → HEBREW_CALENDAR_MONTH_GENITIVE_MESSAGES
2099 - ::$mHijriCalendarMonthMsgs → HIJRI_CALENDAR_MONTH_MESSAGES
2100 * wfIncrStats, deprecated since 1.36, has been removed.
2101 * Profiler::profileIn and ::profileOut, deprecated in 1.33, has been removed.
2102 * IEditObject::AS_CANNOT_USE_CUSTOM_MODEL, deprecated in 1.35, was removed.
2103 * Several protected methods in EditPage were made private. None of these was
2104 used outside of EditPage itself. Since the class is not stable to extend,
2105 this change happened without a deprecation phase.
2106 * The following public methods in EditPage, unused externally, were
2109 - ::isSupportedContentModel()
2110 - ::getParentRevId()
2111 * EditPage::setApiEditOverride() was marked as @internal for use by
2113 * SelectQueryBuilder::straightJoin() was renamed to straightJoinOption().
2114 * The following deprecated methods have been removed from ILBFactory:
2115 - ::beginMasterChanges() since 1.37
2116 - ::commitMasterChanges() since 1.37
2117 - ::rollbackMasterChanges() since 1.37
2118 - ::hasMasterChanges() since 1.37
2119 - ::hasOrMadeRecentMasterChanges() since 1.37
2120 * The "groupLoadsByDB" option to LBFactoryMulti has been removed. Consider using
2121 "groupLoadsBySection" instead.
2122 * The following methods have been removed from ILoadBalancer without deprecation
2123 as they were completely unused:
2126 - ::forEachOpenReplicaConnection()
2127 * The following deprecated methods have been removed from ILoadBalancer:
2128 - ::getMasterPos() since 1.37
2129 - ::finalizeMasterChanges() since 1.37
2130 - ::approveMasterChanges() since 1.37
2131 - ::beginMasterChanges() since 1.37
2132 - ::commitMasterChanges() since 1.37
2133 - ::runMasterTransactionIdleCallbacks() since 1.37
2134 - ::runMasterTransactionListenerCallbacks() since 1.37
2135 - ::rollbackMasterChanges() since 1.37
2136 - ::flushMasterSnapshots() since 1.37
2137 - ::hasMasterConnection() since 1.37
2138 - ::hasMasterChanges() since 1.37
2139 - ::lastMasterChangeTimestamp() since 1.37
2140 - ::hasOrMadeRecentMasterChanges() since 1.37
2141 - ::pendingMasterChangeCallers() since 1.37
2142 - ::forEachOpenMasterConnection() since 1.37
2143 - ::waitForMasterPos() since 1.37
2144 * LoadBalancer::safeGetLag() which has been soft-deprecated since 1.34 has been
2146 * The following properties of the EditPage class, deprecated since 1.35, were
2148 - ::$deletedSinceEdit
2156 - ::$allowBlankSummary
2159 - ::$hasPresetSummary
2163 - ::$nosummaryparentRevId
2167 * Special:ListFiles and Special:NewFiles no longer allows to search for parts of
2168 file names (option was not available for $wgMiserMode = true)
2169 * DBAccessBase, deprecated since 1.37, has been removed.
2170 * The UserNamePrefixSearch service no longer supports a UserIdentity parameter
2171 to search(), to check for a specific audience an Authority object is required.
2172 * The methods CoreParserFunctions::register() and CoreTagHooks::register() have
2173 been marked @internal, and had a seconds parameter added. These methods are
2174 intended for use in Parser's constructor, and are not used by any known
2176 * LoadBalancer::openConnection(), deprecated since 1.34, has been removed.
2177 * Skin::preloadExistence has been made private. There is no known usages outside
2180 === Deprecations in 1.38 ===
2181 * The MWGrants class is deprecated in favor of the new GrantsInfo and
2182 GrantsLocalization services.
2183 * The global functions wfReadOnly() and wfReadOnlyReason() have been deprecated
2184 in favor of the ReadOnlyMode service.
2185 * PageProps::getInstance() has been deprecated. Use
2186 MediaWikiServices::getPageProps() instead.
2187 * User::setOption(), deprecated since 1.35, now emits deprecation warnings.
2188 * Linker::formatComment(), ::formatLinksInComment(), ::commentBlock() and
2189 revComment() were deprecated. Use the new CommentFormatter service.
2190 * Several Skin methods have been deprecated.
2191 - Skin::setSearchPageTitle(), Skin::getSearchPageTitle(). For these,
2192 use SpecialPage::newSearchPage() or associated user preference instead.
2193 - Skin::getSkinStylePath now triggers deprecation warnings. Direct string path
2194 should be used instead.
2195 - SkinTemplate::getPersonalToolsList(), deprecated since 1.35, now emits
2196 deprecation warnings.
2197 - In preparation for SkinTemplate::getPortletData becoming a private
2198 function, extending the method is no longer permitted. Use
2199 SkinTemplate::getTemplateData instead.
2200 - SkinTemplate::buildContentNavigationUrls is now deprecated. Skins can
2201 use the runOnSkinTemplateNavigationHooks method or the
2202 SkinTemplateNavigation__Universal hook if they need access to this data.
2203 * Usage of several template data keys in QuickTemplate are now deprecated:
2204 - searchaction, poweredbyico, copyrightico
2205 * DatabaseBlock::purgeExpired(), deprecated since 1.36, now emits deprecation
2207 * The following methods from the User class now trigger deprecation warnings:
2210 * Content::getParserOutput and AbstractContent::fillParserOutput was
2211 hard-deprecated, use ContentRenderer::getParserOutput instead. Extensions
2212 defining a content model should override ContentHandler::fillParserOutput.
2213 * Title::newFromIDs and TitleFactory::newFromIDs have been hard deprecated. Use
2214 a PageSelectQueryBuilder from a PageStore instead.
2215 * Content::getRedirectChain() and Content::getUltimateRedirectTarget() have been
2216 deprecated with no replacement because support for $wgMaxRedirect will be
2217 removed completely. See T296430 for more information.
2218 * WikiPage::getRedirectTarget() has been deprecated. Use the equivalent
2219 RedirectLookup::getRedirectTarget() instead.
2220 * Article::doDelete() was deprecated. Use WikiPage::doDeleteArticleReal if you
2221 only need to delete the article. If you also need things to happen with
2222 OutputPage, you may want to check the hooks in DeleteAction instead.
2223 * Instantiating the MessageContent class now emits deprecation notices.
2224 * Message::content() now triggers deprecation warnings.
2225 * Parser::setDefaultSort(), Parser::getDefaultSort(), and
2226 Parser::getCustomDefaultSort() now trigger deprecation warnings. Use
2227 ParserOutput::{get,set}PageProperty('defaultsort') instead.
2228 * The following methods from the ParserOutput class now emit deprecation
2230 - ::hideNewSection() - use ::setHideNewSection()
2231 - ::preventClickjacking() - use ::{get,set}PreventClickjacking()
2232 - ::getProperty() - use ::getPageProperty() (return value changed)
2233 - ::setProperty() - use ::setPageProperty()
2234 - ::unsetProperty() - use ::unsetPageProperties()
2235 - ::getProperties() - use ::getPageProperties()
2236 - ::getCategoryLinks() - use ::getCategoryNames()
2237 - ::setCategoryLinks() - use ::setCategories()
2238 - ::addTrackingCategory() - use Parser::addTrackingCategory()
2239 or TrackingCategories::addTrackingCategory()
2240 - ::addWarning() - use ::addWarningMsg()
2241 - ::hasDynamicContent() - use ::hasReducedExpiry()
2242 * The following methods from the ParserOutput class were deprecated:
2243 - ::getFlag() - use ::getOutputFlag()
2244 - ::setFlag() - use ::setOutputFlag()
2245 - ::getAllFlags() - this method is now marked @internal
2246 - ::addJsConfigVars() - use ::setJsConfigVar() or ::appendJsConfigVar()
2247 - ::addOutputHook() / ::getOutputHooks() - these hooks should be migrated
2248 to use the OutputPageParserOutput hook instead
2249 * The use of ParserOutput::setExtensionData() to overwrite previous values
2250 stored under a given key has been deprecated; use the new
2251 ::appendExtensionData() to collect multiple values in the ParserOutput rather
2252 than destructively updating stored values. (T300981)
2253 * The signatures of the following methods from the ParserOutput class were
2254 narrowed, restricting the permitted argument types:
2255 - ::addModules() - if you formerly passed a string, pass an array with
2256 the string as the only element.
2257 - ::addModuleStyles() - if you formerly passed a string, pass an array
2258 with the string as the only element.
2259 * Access to the following public or protected properties of OutputPage was
2260 deprecated; they will be made private or removed in a future release.
2261 Use accessor functions instead.
2270 - ::$mEnableClientCache
2271 - ::$mNewSectionLink
2272 - ::$mHideNewSectionLink
2274 * The following methods were deprecated; use ::setPreventClickjacking(..)
2276 - OutputPage::preventClickjacking()
2277 - OutputPage::allowClickjacking()
2278 - ImageHistoryList::preventClickjacking()
2279 - ImageHistoryPseudoPager::preventClickjacking()
2280 - ContribsPager::preventClickjacking()
2281 * OutputPage::enableClientCache() was deprecated, because it is universally used
2282 to do the opposite -- use OutputPage::disableClientCache() instead.
2283 * Sanitizer::removeHTMLtags() has been deprecated. Its output can include
2284 unbalanced or ill-formed HTML and thus external callers may be misled about
2285 how to safely incorporate its output into a page. It is recommended to use the
2286 new Sanitizer::removeSomeTags() method instead, which will always return
2288 * EventRelayerKafka was deprecated. To use $wgEventRelayerConfig with Kafka,
2289 add a similar class to your code.
2290 * MediaWiki\Logger\Monolog\KafkaHandler was deprecated. Consider using
2291 $wgMWLoggerDefaultSpi with SyslogHandler, or to use Kafka, add a similar
2292 Monolog handler class to your code.
2293 * Collation::singleton() and ::factory() now trigger deprecation warnings.
2294 * The following methods in MWNamespace, all deprecated since 1.34, now emit
2295 deprecation warnings:
2299 - getCanonicalNamespaces()
2300 - getCanonicalName()
2301 - getCanonicalIndex()
2302 - getValidNamespaces()
2305 - getContentNamespaces()
2306 * Return values in the parameter $pageLang of the hook PageContentLanguage with
2307 other types than a Language object, deprecated since 1.33, now emmits
2308 deprecation warnings.
2309 * Passing a db to BlockRestrictionStore::loadByBlockId() is deprecated.
2310 BlockRestrictionStoreFactory should be used to fetch a correct
2311 BlockRestrictionStore instead.
2312 * All external access to ParserOutput and CacheTime classes properties will now
2313 emit deprecation warnings. Use getters and setters instead.
2314 * The custom jQuery event `watchpage.mw` emitted on #ca-watch and #ca-unwatch is
2315 now deprecated in favour of the new `wikipage.watchlistChange` hook.
2316 * The global function wfLogProfilingData() has been deprecated without a
2317 replacement. The logic has been moved to the MediaWiki class.
2318 * The "trace" option of SectionProfiler has been deprecated.
2319 * The PageArchive class has had several methods deprecated. The replacements are
2321 - Use UndeletePage instead of ::undeleteAsUser(), ::getFileStatus() and
2322 ::getRevisionStatus().
2323 - Use the respective methods of the new ArchivedRevisionLookup service
2324 instead of ::listRevisions, ::getRevisionRecordByTimestamp,
2325 ::getArchivedRevisionRecord, ::getPreviousRevisionRecord and
2326 ::getLastRevisionId.
2327 - Use ArchivedRevisionLookup::hasArchivedRevisions instead of ::isDeleted.
2328 * PageUpdater::isUnchanged() has been deprecated, use wasRevisionCreated()
2330 * The `mediawiki.pager.tablePager` module was deprecated in favor of the more
2331 generic `mediawiki.pager.styles`.
2332 * wfGetCache() and wfGetMainCache(), both deprecated since 1.32, now emit
2333 deprecation warnings.
2334 * LinkCache::addGoodLinkObj() has been hard deprecated.
2335 * ApiStashEdit::parseAndStash has been hard deprecated.
2336 * Content::prepareSave was hard-deprecated, now emits deprecation warnings.
2337 Use ContentHandler::validateSave instead.
2338 * The hooks LinksUpdateAfterInsert and LinksUpdateConstructed were deprecated.
2339 * Access to all public properties in LinksUpdate was deprecated.
2340 * The global variable $IP has been deprecated for use in application logic.
2341 It will remain available for use in LocalSettings.php for now, though
2342 $wgBaseDirectory is preferred.
2343 Application logic should use the BaseDirectory setting from the main config.
2344 Tests and framework code that need to function without MediaWiki being
2345 fully initialized should use the MW_INSTALL_PATH constant.
2346 * The global function wfWikiID(), deprecated since 1.35, now emits deprecation
2348 * AbstractBlock::getBy() now takes a wikiId as a parameter and emits deprecation
2349 warnings in case of cross-wiki accesses.
2350 * The `button` parameter for `bindUpdateAriaExpandedOnInput` and
2351 `updateAriaExpanded` in checkboxHack.js have been deprecated.
2352 `bindToggleOnSpaceEnter` has also been deprecated in favor of
2353 `bindToggleOnEnter`.
2354 * IDatabase::lockTables() and IDatabase::unlockTables() have been deprecated
2355 with no replacement. Instead, callers should batch updates into atomic
2356 transactions, using FOR UPDATE for SELECT queries.
2357 * EditPage::addNewLineAtEnd() was deprecated; use
2358 TextboxBuilder::addNewLineAtEnd instead.
2359 * EditPage::getCopywarn() was deprecated; use EditPage::getCopyrightWarning
2361 * EditPage::getCopyrightWarning() without passing a MessageLocalizer parameter
2362 has been deprecated.
2363 * Passing the $formCallback parameter to EditPage::showEditForm, deprecated in
2364 1.25 and previously emitting a warn notice, now emits a deprecation notice.
2365 * EditPage::$action has been deprecated.
2366 * The following properties in EditPage now emit deprecation notices when used
2368 - mArticle (use ::getArticle() instead)
2369 - mTitle (use ::getTitle() instead)
2370 - isNew (no replacement)
2371 - allowBlankArticle (no replacement)
2372 - selfRedirect (no replacement)
2373 - allowSelfRedirect (no replacement)
2374 - diff (no replacement)
2375 - textbox2 (no replacement)
2376 - undoAfter (no replacement)
2377 - edit (no replacement)
2378 - contentLength (no replacement)
2379 * The HTMLForm methods getPreText, setPreText, addPreText, getPostText,
2380 setPostText, addPostText, getHeaderText, setHeaderText, addHeaderText,
2381 getFooterText, setFooterText and addFooterText have been renamed to
2382 getPreHtml, setPreHtml, addPreHtml, getPostHtml, setPostHtml, addPostHtml,
2383 getHeaderHtml, setHeaderHtml, addHeaderHtml, getFooterHtml, setFooterHtml and
2384 addFooterHtml respectively.
2385 * The FormSpecialPage methods preText and postText have been renamed to preHtml
2386 and postHtml respectively.
2387 * Article::doDelete, deprecated in 1.37, now emits deprecation notices.
2388 * The following Less mediawiki.mixins have been deprecated:
2389 - .background-image()
2390 - .list-style-image()
2391 * Category::getPageCount now takes a parameter. Category::COUNT_ALL_MEMBERS
2392 return count of all members while Category::COUNT_CONTENT_PAGES return that
2393 of content pages. For the former behavior use Category::getMemberCount()
2394 * Using `new HTMLForm( … )` or `HTMLForm::factory( … )` without the $context
2395 parameter is now deprecated.
2396 * BagOStuff::incr() and BagOStuff::decr() are now deprecated.
2397 * Action::exists() and ActionFactory::actionExists() are deprecated, use
2398 (bool)ActionFactory::getAction().
2400 === Other changes in 1.38 ===
2401 * The following things were changed in the file deletion form:
2402 - The name and ID of the submit button are now `wpConfirmB`, not
2403 `mw-filedelete-submit`
2404 - The ID of the form is now `deleteconfirm`, not `mw-img-deleteconfirm`
2405 - The `mw-filedelete-editreasons` class was replaced with
2406 `mw-delete-editreasons`
2407 The goal of these changes is to make the HTML more similar to that of
2408 normal page deletion.
2409 * ParserOptions created with ::newFrom* or ::newCanonical are now identical.
2410 * MediaWiki initialization order have been changed to load vendor autoload
2411 earlier. This means that extensions that are installed via composer and
2412 execute code upon autoloading can not depend on any MediaWiki classes,
2413 constants or globals in that code.
2414 * The source of truth for configuration defaults is now the MainConfigSchema
2415 class. DefaultSettings.php still exists for backwards compatibility. A PHP
2416 file generated for optimized loading will be used in Setup.php to initialize
2417 configuration variables. Setup.php can be made to load DefaultSettings.php
2418 as before by setting MW_USE_LEGACY_DEFAULT_SETTINGS as an environment
2419 variable (e.g. via SetEnv in htaccess) or a PHP constant (e.g. via
2420 auto_prepend_file in php.ini).
2423 MediaWiki 1.38 requires PHP 7.3.19 or later and the following PHP extensions:
2434 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
2435 but support for them is somewhat less mature.
2437 The supported versions are:
2439 * MySQL 5.5.8 or later
2440 * PostgreSQL 9.4 or later
2441 * SQLite 3.8.0 or later
2443 == Online documentation ==
2444 Documentation for both end-users and site administrators is available on
2445 MediaWiki.org, and is covered under the GNU Free Documentation License (except
2446 for pages that explicitly state that their contents are in the public domain):
2448 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
2451 A mailing list is available for MediaWiki user support and discussion:
2453 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
2455 A low-traffic announcements-only list is also available:
2457 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
2459 It's highly recommended that you sign up for one of these lists if you're
2460 going to run a public MediaWiki, so you can be notified of security fixes.
2463 There's usually someone online in #mediawiki on irc.libera.chat.
2467 == MediaWiki 1.37.6 ==
2469 This is a maintenance release of the MediaWiki 1.37 branch.
2471 === Changes since MediaWiki 1.37.5 ===
2472 * Fix missing use statement from backport of fix for T307278.
2474 == MediaWiki 1.37.5 ==
2476 This is a security and maintenance release of the MediaWiki 1.37 branch.
2478 === Changes since MediaWiki 1.37.4 ===
2479 * Localisation updates.
2480 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
2481 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
2482 * (T312302) SpecialRedirect: Don't pass null to explode.
2483 * RemoveInvalidEmails: Fix quoting for postgres.
2484 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
2486 * (T312300) SpecialDiff: Don't pass null to explode().
2487 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
2488 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
2489 * (T289926) Ensure that strlen() does not get passed a (valid) null.
2490 * (T312301) SpecialDiff: Don't pass null to trim().
2491 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
2492 * (T289926) Ensure we don't pass null to mb_strlen.
2493 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
2495 * (T289926) site: Consistently return null from Site::getDomain().
2496 * (T307304, T289879) filebackend,jobqueue: Add signature for
2497 FilterIterator::accept().
2498 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
2499 * Add application/vnd.ms-opentype to MIME list.
2500 * Allow composer/installers plugin in composer.json.
2501 * Change type hints for BatchRowIterator and NotRecursiveIterator for
2502 compatibility with PHP 8.1.
2503 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
2504 * (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix
2506 * (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for
2508 * Fix tests so getName() doesn't return null.
2509 * (T313663) [php8] Don't use strlen on potentially null string.
2510 * (T313663) [php8.1] Suppress test warning about providing null.
2511 * (T313663) Parser will use current timestamp instead of null if passed a
2512 RevisionRecord that does not have a timestamp.
2513 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
2514 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
2515 * (T313663) Mock UserOptionsManager::getOption for php8.1.
2516 * (T289879, T289926) Get rid of warnings on PHP 8.1.
2517 * (T313663) Check for null return of preg_replace in MediaWikiTitleCodec.
2518 * (T313663) cast db name to string when checking if it is read only [php8.1].
2519 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
2520 * Fix a couple deprecation warnings in the installer under PHP 8.1.
2521 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
2522 * (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1].
2523 * (T314096) Migrate use of ${var}-style string interpolation.
2524 * (T314099) preprocessor: Add missing field declarations.
2525 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
2527 * (T314225) SpecialCategories: Null coalescene $par.
2528 * (T314099) User: Allow dynamic properties on PHP 8.2.
2529 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
2530 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
2531 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
2532 * (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1.
2533 * (T313663) Do not test giving a null fragment to Title::makeTitle.
2534 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
2535 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
2536 * api: Add rel=nofollow to help examples.
2537 * (T307613) Validate length of user email on Special:ChangeEmail/
2538 Special:CreateAccount.
2539 * (T314226) LoginSignupSpecialPage: Check if $value is a string before length.
2540 * (T314824) tests: Update parser test after i18n change.
2541 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
2542 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
2543 wpNamespaceRestrictions.
2544 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
2545 * (T315892) composer.json: Pin phpunit to 8.5.28.
2546 * (T313049) Bump wikimedia/parsoid to v0.14.2.
2547 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
2549 * (T318079) SpecialEditTags: Set default value of wpTagsToRemove to empty array.
2550 * (T318460) SpecialChangeEmail: Set default for returntoquery.
2551 * (T318307) Update docs for HTMLFormField::validate() to permit all data types.
2552 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
2553 in an IP range check on Special:Contributions.
2554 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
2556 * (T307278, CVE-2022-41766) SECURITY: On action=rollback the message
2557 "alreadyrolled" can leak revision deleted user name.
2559 == MediaWiki 1.37.4 ==
2561 This is a maintenance release of the MediaWiki 1.37 branch.
2563 === Changes since MediaWiki 1.37.3 ===
2564 * Localisation updates.
2565 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
2566 * (T311559) SpecialListFiles: user parameter isn't always present.
2567 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
2568 * (T311920) SpecialBlockList: Prevent passing null to trim().
2569 * (T311921) SpecialUserrights: Don't pass null to str_replace.
2570 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
2571 Title::capitalize().
2572 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
2573 * (T312059) Update guzzlehttp/guzzle to 7.4.5 in vendor.
2574 * (T296435, T297669) cache: Add four fields to LinkCache::getSelectFields.
2576 == MediaWiki 1.37.3 ==
2578 This is a security and maintenance release of the MediaWiki 1.37 branch.
2580 === Changes since MediaWiki 1.37.2 ===
2581 * Localisation updates.
2582 * (T289879) Type hints for ArrayAccess and JsonSerializable.
2583 * (T304783) TemplateParser: avoid warnings when called by NoLocalSettings.
2584 * Rebuilt vendor with composer 2.3.3.
2585 * Fix old_name in UserLogoutComplete hook.
2586 * (T289879) Address some deprecations for PHP 8.1.
2587 * (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update.
2588 * (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail jobs
2590 * (T307982) Updated wikimedia/parsoid from v0.14.0 to v0.14.1.
2591 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
2592 * (T308473) SECURITY: Escape contributions-title msg for use within page title.
2593 * (T311272) Call parent constructor of AddSite maintenance script first.
2594 * MediaWiki: Don't eagerly initialize action name.
2595 * Updated wikimedia/shellbox from v2.0.0 to v2.1.1.
2596 * (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
2597 * (T289926) Avoid passing null to trim() in SkinTemplate.
2598 * (T311473) rollbackEdits: Pass user identity to RollbackPage.
2599 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
2600 * (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null.
2601 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
2602 * (T311569) FileBackend::isStoragePath() Handle being passed null.
2603 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
2604 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
2605 * (T281741) ChangeTags: Fix adding CSS classes for hidden tags.
2606 * (T296642) changetags: Fix management of a '0' tag.
2607 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
2608 * (T303033) Handle null in ChangeTags::modifyDisplayQuery.
2609 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
2611 == MediaWiki 1.37.2 ==
2613 This is a security and maintenance release of the MediaWiki 1.37 branch.
2615 === Changes since MediaWiki 1.37.1 ===
2616 * (T298261) Fix support for Composer 2.2.
2617 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
2618 * Update doctrine/dbal (3.0.0 => 3.1.5).
2619 * (T296898) Add entry point name to disabled Session exception if possible.
2620 * (T298564) MemcachedClient: Add support for IPv6.
2621 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
2622 galleries and Special:RevisionDelete.
2623 * (T289956) WatchAction: Fix bug that prevents showing proper success
2624 message in the noscript fallback mode.
2625 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
2626 * (T283275) Fix PHP 8.0 failure of RefreshSecondaryDataUpdateTest.
2627 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
2628 * (T275673) objectcache: Avoid getCurrentTime() call in MapCacheLRU::has().
2629 * (T275673) objectcache: split up MapCacheLRU::getAge() to avoid conditional
2631 * Fix the json schema and the extension processor for Parsoid extension modules.
2632 * (T299696) update.php: Avoid passing null to substr.
2633 * (T195807, T256401) Fix signature of DatabasePostgres::buildGroupConcatField.
2634 * In PHP 8.1 don't throw exceptions from mysqli.
2635 * (T289926) SiteConfiguration: Don't pass null to str_replace().
2636 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
2637 * (T260735) Stop using is_resource() where possible.
2638 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
2640 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
2641 * ExtensionRegistry: Add process cache for lazy attributes.
2642 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
2643 * Allow ParsoidModules extension schema to register services.
2644 * (T300462) SpecialUndelete: Do not show empty comments as deleted.
2645 * (T297708) Allow setting max execution time to several special pages.
2646 * (T205349) LinkCache: Try invalidating cache before throwing.
2647 * (T302540) composer.json: Add ext-calendar to require.
2648 * (T302540) composer.json: Add ext-simplexml to require-dev.
2649 * (T302540) composer.json: Add various PHP extensions to suggests.
2650 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
2651 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
2652 * (T293576) listFiles: Display file name instead of version.
2653 * (T303871) Fix @since of Title::getId().
2654 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
2655 * wrapOldPasswords: add \n to two output calls.
2656 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
2657 loop if it points to a local interwiki.
2658 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
2659 uploads with actor as a condition can result in a DoS.
2660 * (T297754, CVE-2022-28204) Special:WhatLinksHere can result in a DoS when a
2661 page is used on a extremely large number of other pages.
2663 == MediaWiki 1.37.1 ==
2665 This is a security and maintenance release of the MediaWiki 1.37 branch.
2667 === Changes since MediaWiki 1.37.0 ===
2668 * (T296112) Allow inserting new sections named '0'.
2669 * Fix path for ZhConversion.php.
2670 * nukeNS: don't run purgeRedundantText() after every change.
2671 * (T286779, T297031) installer: Fix Postgres mistakes in using changeField
2673 * (T225888) RollbackAction: fix missing pagetitle.
2674 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
2676 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
2677 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
2678 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
2679 when changing content model.
2681 == MediaWiki 1.37.0 ==
2683 === Changes since MediaWiki 1.37.0-rc.2 ===
2684 * Remove justinrainbow/json-schema from vendor.
2685 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
2686 * Update deprecated Guzzle Psr7 function calls.
2687 * (T281972) UserIdentityValue: Correct @since tags.
2688 * Updated wikimedia/parsoid from v0.14.0-a19 to v0.14.0.
2689 * Localisation updates.
2690 * Tweak error message for missing composer dependencies.
2692 == MediaWiki 1.37.0-rc.2 ==
2694 === Changes since MediaWiki 1.37.0-rc.1 ===
2695 * (T295173) Re-add wikimedia/normalized-exception to vendor.
2696 * Remove wikimedia/testing-access-wrapper, psr/simple-cache, psr/http-factory
2698 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is set.
2699 * (T212428) Allow populateContentTables to continue when there are bad blobs.
2701 == MediaWiki 1.37.0-rc.1 ==
2703 === Changes since MediaWiki 1.37.0-rc.0 ===
2704 * (T294043) checkStorage: pass no parameters to WikiRevision::getContent().
2705 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
2707 * (T293783) ApiQueryImageInfo: don't show empty comments as deleted.
2708 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
2709 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
2710 * Remove duplicate settings from DefaultSettings.
2711 * (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser.
2713 == MediaWiki 1.37.0-rc.0 ==
2715 == Upgrading notes for 1.37 ==
2716 Don't forget to always back up your database before upgrading!
2718 See the file UPGRADE for more detailed per-version upgrade instructions from the
2719 oldest supported upgrading version, MediaWiki 1.27.
2721 Some specific notes for MediaWiki 1.37 upgrades are below:
2722 * (T280806) Deprecated methods of fetching API tokens have been removed. This
2723 may cause older bots and scripts to fail. Most queries are trivially
2724 updateable to using new methods. See the Action API changes section below
2725 for more information.
2727 For notes on 1.36.x and older releases, see HISTORY.
2729 === Configuration changes for system administrators in 1.37 ===
2730 * (T242768) The PasswordCannotMatchUsername password policy has been removed,
2731 please use PasswordCannotBeSubstringInUsername instead. If you have not
2732 customised your password policies, there will be nothing to do here.
2734 ==== New configuration ====
2735 * $wgBrowserFormatDetection - This setting allows the enabling or disabling
2736 of automatic detection of possible phone numbers in a webpage in iOS Safari.
2737 * $wgParserEnableLegacyMediaDOM - This setting defaults to true, and enables
2738 the legacy media HTML structure in the output from the Parser. The
2739 alternative modern HTML structure for media is described at
2740 https://www.mediawiki.org/wiki/Parsing/Media_structure
2741 In a future release of MediaWiki this option will default to false,
2742 so it's a good idea to test this setting on your wiki early and report
2745 ==== Changed configuration ====
2746 * $wgContentHandlerTextFallback - This migration setting, which defines how to
2747 react if a plain text version of a non-text Content object is requested using
2748 ContentHandler::getContentText(), is deprecated.
2749 * $wgActions – This setting lets sysadmins over-ride which actions can be used.
2750 It has been re-worked to support injecting dependencies into Action sub-
2751 classes as part of wider work on dependency injection. Previously, $wgActions
2752 was an array where the keys were the names of actions, and the values had the
2753 following impacts (for a given key 'Foo'):
2754 - `true`: use the class 'FooAction' unless for a specific page
2755 WikiPage::getActionOverrides() wants to override that action
2756 - a string: use the class with that name, and do not allow over-riding on a
2758 - `false`: the action is disabled
2759 - a callable: use the Action instance returned by invoking that callback, and
2760 do not allow overriding on a per-page basis
2761 - an object: use that specific Action instance, and do not allow overr-iding
2762 on a per-page basis.
2763 As part of T253078, values can now be arrays that are not callables, which are
2764 treated as ObjectFactory specs, allowing for services to be injected.
2765 Additionally, the distinction between values that allow per-page overrides and
2766 those that do not was removed - all actions can now be overridden on a per-
2767 page basis using WikiPage::getActionOverrides().
2768 * $wgShellboxUrl – This setting, new in 1.36 to configure the novel Shellbox
2769 encapsulation system, is now deprecated; use $wgShellboxUrls as a mapping of
2770 service => URL instead.
2771 * $wgIncludejQueryMigrate – This setting, introduced in 1.29 to on whether to
2772 provide a migration layer for jQuery, has now switched its default value from
2773 true to false. This may break gadgets that depended on methods that were
2774 removed in jQuery 3 in 2017. See T280944 for more information.
2775 * A number of settings have been renamed. The former configuration variable
2776 names are deprecated, but will be used as the fall back if they are still set,
2777 and remain temporarily available for extensions which might try to read them:
2778 - $wgFileBlacklist is now $wgProhibitedFileExtensions
2779 - $wgMimeTypeBlacklist is now $wgMimeTypeExclusions
2780 - $wgEnableUserEmailBlacklist is now $wgEnableUserEmailMuteList
2781 - $wgShortPagesNamespaceBlacklist is now $wgShortPagesNamespaceExclusions
2782 * $wgMimeTypeExclusions - As well as being renamed, this configuration array now
2783 also prohibits the RFC 4329 form of JavaScript, 'application/javascript', as
2784 well as previous MIME types.
2785 * $wgFragmentMode - This setting, which determines the encoding of section IDs,
2786 has now switched its default value from legacy-first to html5-first: both the
2787 HTML5 anchor and the legacy percent-encoding-style anchor will still be
2788 generated for section titles, but references to them will use the HTML5
2789 version, resulting in human-readable fragments.
2791 ==== Removed configuration ====
2792 * $wgLegacyJavaScriptGlobals, deprecated in 1.36.
2793 * (T274695) $wgAjaxEditStash, deprecated in 1.36.
2794 * $wgShowDBErrorBacktrace, deprecated and non-functional since 1.32.
2795 * $wgShowSQLErrors, deprecated and non-functional since 1.32.
2796 * $wgLangObjCacheSize, without deprecation; the LanguageFactory service now
2797 always retains at most 10 objects in its LRU-cache.
2798 * $wgDjvuToXML, without deprecation; the tool it enables is obsolete and
2799 abandoned upstream. Use $wgDjvuDump to use that tool instead.
2801 === New user-facing features in 1.37 ===
2802 * (T161934) MediaWiki now supports JPEG2000 files, to a limited extent.
2804 === External library changes in 1.37 ===
2806 ==== New external libraries ====
2807 * Added symfony/polyfill-php80 1.23.1.
2808 * Added whatwg-fetch 3.6.2.
2809 * Added wikimedia/normalized-exception 1.0.1.
2811 ==== Changed external libraries ====
2812 * Updated OOjs from v5.0.0 to v6.0.0
2813 * Updated OOjs-Router from v0.2.0 to v0.3.0
2814 * Updated OOUI from v0.41.3 to v0.42.0
2815 * Updated WVUI from v0.1.0 to v0.3.0
2816 * Updated cssjanus/cssjanus from v1.3.0 to v2.1.0.
2817 * Updated pear/mail_mime from 1.10.9 to 1.10.11.
2818 * Updated psr/container from v1.0.0 to v1.1.1.
2819 * Updated wikimedia/minify from v2.2.2 to v2.2.4.
2820 * Updated wikimedia/object-factory from v3.0.0 to v3.0.2.
2821 * Updated wikimedia/parsoid from v0.13.1 to v0.14.1.
2822 * Updated wikimedia/relpath from v2.1.1 to v3.0.0.
2823 * Updated wikimedia/remex-html from v2.3.1 to v2.3.2.
2824 * Updated wikimedia/shellbox from v1.0.4 to v2.1.1.
2825 * Updated wikimedia/wait-condition-loop from v2.0.1 to v2.0.2.
2826 * Updated zordius/lightncandy from v1.2.5 to v1.2.6.
2827 * Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5.
2828 * Updated wikimedia/common-passwords from 0.3.0 to 0.4.0.
2830 ===== Changed development-only external libraries =====
2831 * Updated qunit from 2.10.0 to 2.16.0.
2833 ==== Removed external libraries ====
2834 * The pimple/pimple development-only library has been removed.
2836 === Action API changes in 1.37 ===
2837 * (T280806) The API methods for fetching tokens which were deprecated in
2838 MediaWiki 1.24 have been removed. action=query&meta=tokens&type= should be
2839 used instead. Please note some token types no longer exist, and you should
2840 just use type=csrf for those instead.
2841 - action=query&prop=info&intoken ->
2842 action=query&meta=tokens&type=csrf
2843 - action=tokens&type= ->
2844 action=query&meta=tokens&type=
2845 - action=query&list=recentchanges&rctoken ->
2846 action=query&meta=tokens&type=csrf
2847 - action=query&prop=revisions&rvtoken=rollback ->
2848 action=query&meta=tokens&type=rollback
2849 - action=query&meta=userinfo&uiprop=preferencestoken ->
2850 action=query&meta=tokens&type=csrf
2851 - action=query&list=users&ustoken=userrights ->
2852 action=query&meta=tokens&type=userrights
2854 === Languages updated in 1.37 ===
2855 MediaWiki supports over 350 languages. Many localisations are updated regularly.
2856 Below only new and removed languages are listed, as well as changes to languages
2857 because of Phabricator reports.
2859 * (T280435) LRM and RLM characters were removed from names of languages with
2860 parentheses in Names.php
2861 * (T283422) Add namespace name translations and change the autonym of
2862 the Kinyarwanda language to "Ikinyarwanda".
2863 * (T283423) Change the autonym of the Lombard language from "lumbaart"
2865 * (T279619) Added language support for Dagbani (dag).
2866 * (T282085) Added language support for Malay in Arabic (Jawi) script (ms-arab).
2867 * (T283053) Added language support for Ojibwe (ojb).
2868 * (T283480) Added language support for Wallisian (wls, Fakaʻuvea).
2869 * (T284002) Added language support for Paiwan (pwn).
2870 * (T284044) Added language support for Carpathian Romani (rmc).
2871 * (T286460) Added language support for Gun (guw, Gungbe).
2872 * (T287345) Added language support for Baoulé (bci).
2873 * (T290126) Added language support for Kildin Sami (sjd).
2874 * (T290408) Added language support for Pite Sami (sje).
2875 * (T25216) Started the renaming of the language code for Norman from nrm to
2878 === Breaking changes in 1.37 ===
2879 * The Revision class, emitting deprecation warnings since 1.35, was removed
2880 entirely. As part of this, the following hooks that included a Revision object
2882 - ArticleRevisionUndeleted - use RevisionUndeleted
2883 - ArticleRollbackComplete - use RollbackComplete
2884 - DiffRevisionTools - use DiffTools
2885 - DiffViewHeader - use DifferenceEngineViewHeader
2886 - HistoryRevisionTools - use HistoryTools
2887 - NewRevisionFromEditComplete - use RevisionFromEditComplete
2888 - PageContentInsertComplete - use PageSaveComplete
2889 - PageContentSaveComplete - use PageSaveComplete
2890 - ParserFetchTemplate - use BeforeParserFetchTemplateRevisionRecord
2891 - RevisionInsertComplete - use RevisionRecordInserted
2892 - TitleMoveComplete - use PageMoveComplete
2893 - TitleMoveCompleting - use PageMoveCompleting
2894 - UndeleteShowRevision - no replacement
2895 - UserRetrieveNewTalks - no replacement
2896 … the following methods and variables have been removed:
2897 - Article::$mRevision
2898 - Article::getRevisionFetched()
2899 - ContribsPager::tryToCreateValidRevision()
2900 - EditPage::$mBaseRevision
2901 - EditPage::getBaseRevision()
2902 - LinksUpdate::getRevision()
2903 - LinksUpdate::setRevision()
2904 - PageArchive::getArchivedRevision()
2905 - PageArchive::getPreviousRevision()
2906 - PageArchive::getRevision()
2907 - Parser::$mRevisionObject
2908 - Parser::fetchCurrentRevisionOfTitle()
2909 - Parser::getRevisionObject()
2910 - Parser::statelessFetchRevision()
2911 - ParserOptions::getCurrentRevisionCallback()
2912 - ParserOptions::setCurrentRevisionCallback()
2913 - Title::countAuthorsBetween()
2914 - Title::getFirstRevision()
2915 - User::getNewMessageLinks()
2916 - User::getNewMessageRevisionId()
2917 - User::setNewtalk()
2918 - WikiPage::getOldestRevision()
2919 - WikiPage::getRevision()
2920 - WikiPage::getUndoContent()
2921 - WikiPage::updateIfNewerOn()
2922 … and the following methods no longer accept Revision objects as parameters:
2923 - CategoryMembershipChange::__construct()
2924 - ContentHandler::getUndoContent()
2925 - DerivedPageDataUpdater::prepareUpdate()
2926 - DifferenceEngine::getRevisionHeader()
2927 - Linker::buildRollbackLink()
2928 - Linker::generateRollback()
2929 - Linker::getRevDeleteLink()
2930 - Linker::getRollbackEditCount()
2931 - Linker::revComment()
2932 - Linker::revUserLink()
2933 - Linker::revUserTools()
2934 - WikiPage::doDeleteUpdates()
2935 - WikiPage::doEditUpdates()
2936 - WikiPage::hasDifferencesOutsideMainSlot()
2937 - WikiPage::onArticleEdit()
2938 - WikiPage::prepareContentForEdit()
2939 - WikiPage::updateRevisionOn()
2940 The following methods return arrays that formerly included a 'revision'
2941 key that would emit deprecation warnings when accessed and return a
2942 Revision object. The Revision object has been removed from the arrays,
2943 and the 'revision-record' key should be used to get the relevant
2944 RevisionRecord instead:
2945 - PageUpdater::doCreate()
2946 - PageUpdater::doModify()
2947 - Parser::statelessFetchTemplate()
2948 - WikiPage::doEditContent()
2949 Finally, the ParserOptions `templateCallback` option is a callback that is
2950 called in Parser::fetchTemplateAndTitle() and should return an array - the
2951 'revision' key to that array used to be a Revision object and was used if
2952 no 'revision-record' was returned - is now ignored.
2953 * Previously, the classes RevisionTestModifyableContent and
2954 RevisionTestModifyableContentHandler were loaded for use in tests, but were
2955 only used within the tests for the since-removed Revision class. This content
2956 and content handler class were removed without deprecation.
2957 * WANObjectCache::HOLDOFF_NONE, deprecated since 1.35, was removed. Use
2958 WANObjectCache::HOLDOFF_TTL_NONE instead.
2959 * Calling ResourceLoader::makeVersionQuery() without $modules parameter,
2960 deprecated since MediaWiki 1.34, is no longer supported.
2961 * LocalFile::recordUpload2(), deprecated since 1.35, was removed.
2962 * The following methods and fields in the Language class, deprecated since 1.35,
2967 - ::findVariantLink()
2969 - ::updateConversionTable()
2970 * The following methods in the Parser class have been removed after having been
2974 * (T273354) When an edit is prevented by an 'EditFilterMergedContent' hook
2975 handler without changing the status, the edit form will now be displayed.
2976 * User::clearNotification() which had been deprecated in 1.35 has been removed.
2977 Use WatchlistManager::clearTitleUserNotification() instead.
2978 * User::getNewtalk() which had been deprecated in 1.35 has been removed. Use
2979 TalkPageNotificationManager::userHasNewMessages() instead.
2980 * The Autopromote class, deprecated since 1.35, was removed. Use
2981 UserGroupManager instead.
2982 * The CachedAction, SpecialCachedPage, CacheHelper, and ICacheHelper classes,
2983 all emitting deprecation warnings since 1.36, have been removed.
2984 * The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS, deprecated
2985 in 1.35, were removed.
2986 * The TitleArrayFromResult hook, deprecated in 1.36, was removed.
2987 * The deprecated "es6-promise" alias ResourceLoader module has been removed. Use
2988 the "es6-polyfills" module directly intead.
2989 * The deprecated "mediawiki.legacy.protect" ResourceLoader module, deprecated
2990 since 1.36, has been removed. Use "mediawiki.action.protect" instead.
2991 * The JavaScript alias $j for references to jQuery, deprecated since 1.23, has
2992 been removed. Use $ instead.
2993 * The AuthenticationProvider interface and the SessionProvider class no longer
2994 extend the PSR LoggerAwareInterface concept, so they can't be typehinted as
2995 LoggerAwareInterface.
2996 * User::getGrantName(), emitting deprecation warnings since 1.36, has been
2997 removed. Use MWGrants::grantName() instead.
2998 * The following ApiBase methods, deprecated since 1.35, have been removed:
2999 - ApiBase::explodeMultiValue
3000 - ApiBase::parseMultiValue
3001 - ApiBase::validateLimit
3002 - ApiBase::validateTimestamp
3003 * The User::idCacheByName() public static field was removed without deprecation.
3004 Instead of using it, get a UserIdentity by name from the UserIdentityLookup
3006 * IDatabase::upsert() and IDatabase::replace() now only accept a single unique
3007 key. Previously, a warning was issued if there were multiple unique keys
3009 * The MediaWiki:Autoblock_whitelist block exemption control was moved in 1.36 to
3010 MediaWiki:Block-autoblock-exemptionlist. The backward-compatibility of reading
3011 the old MediaWiki:Autoblock_whitelist page has now been dropped.
3012 * The following overridable methods in File hierarchy have changed signatures:
3013 - File::deleteFile() - now accepts UserIdentity instead of User
3014 - File::getDescription() - now accepts Authority instead of User
3015 - File::userCan() - now accepts Authority instead of User
3016 - LocalFile::deleteOldFile() - now accepts UserIdentity instead of User
3017 * The following global methods, each deprecated since 1.36, have been removed:
3018 - wfAppendToArrayIfNotDefault()
3020 - wfConfiguredReadOnlyReason()
3022 - wfGetPrecompiledData()
3024 * The following deprecated methods of the Title class have been removed:
3025 - ::nameOf(), deprecated in 1.36
3026 - ::getPreviousRevisionID(), deprecated in 1.34
3027 - ::getNextRevisionID(), deprecated in 1.34
3028 - ::getEarliestRevTime(), deprecated in 1.35
3029 * UploadBase::stashFile(), deprecated since 1.28, was removed.
3030 * wfGetRusage(), deprecated since 1.35, has been removed.
3031 * The following CLI options were removed from tests/phpunit.php:
3035 The following options (inherited from Maintenance) were also removed:
3044 The following options were changed to environment variables:
3045 - wiki => PHPUNIT_WIKI
3046 - use-normal-tables => PHPUNIT_USE_NORMAL_TABLES
3047 - use-filebackend => PHPUNIT_USE_FILEBACKEND
3048 - use-bagostuff => PHPUNIT_USE_BAGOSTUFF
3049 - use-jobqueue => PHPUNIT_USE_JOBQUEUE
3050 This is so that we can use the default PHPUnit entry point (T90875).
3051 * The PHPUNIT_REUSE_DB / --reuse-db option was removed from the phpunit.php
3052 runner. It had been broken for at least three years already. The original use
3053 case was speeding up tests on Oracle, but Oracle support was dropped several
3055 * The MediaWikiPHPUnitTest__endTestHook and MediaWikiPHPUnitTest__startTestHook
3056 PHPUnit hooks were removed. MediaWikiHooksPHPUnitExtension was also removed.
3057 * EntryPoint::getTextFormatters() was made private without a deprecation period;
3058 it had no known external callers.
3059 * DatabaseBlock::chooseBlock(), deprecated since 1.35, was removed.
3060 * SpecialPageFactory::getRestrictedPages(), deprecated since 1.36, was removed.
3061 * SpecialBlock::validateTarget(), deprecated since 1.36, was removed.
3062 * The PatchFileLocation trait was removed without deprecation.
3063 * ActorMigrationBase::getExistingActorId() and ::getNewActorId(), emitting
3064 deprecation warnings since 1.36, were removed.
3065 * Hook handlers implementing the MediaWikiServicesHook hook are now prohibited
3066 from having services injected. This is because by definition, this hook runs
3067 before the service container is fully initialized.
3068 * The protected property LocalFile::$metadata was removed without deprecation.
3069 * WatchedItem::getUser(), emitting deprecation warnings since 1.36, has been
3071 * AuthManager::singleton(), emitting deprecation warnings since 1.36, has been
3073 * The AugmentPageProps class was removed without deprecation. It had no known
3075 * Html::infobox(), deprecated since 1.36, was removed.
3076 * ParserOptions::__construct() now requires that the first parameter is a
3077 UserIdentity object - passing `null` used to fallback to the global
3078 $wgUser but was deprecated since 1.36.
3079 * ParserOptions::newCanonical() no longer supports the first parameter being
3080 null (or omitted entirely), which would fallback to the global $wgUser but
3081 was deprecated since 1.35.
3082 * The SkinTemplatePreventOtherActiveTabs hook, deprecated in 1.35, was removed
3084 * The SkinTemplateTabAction hook, deprecated in 1.35, was removed entirely.
3085 * The SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook, deprecated in 1.35,
3086 was removed entirely.
3087 * The SkinTemplateToolboxEndHook, deprecated in 1.35, was removed entirely.
3088 * The following methods of RevisionStore class, formerly emitting deprecation
3089 warnings, were removed:
3090 - ::newMutableRevisionFromArray()
3091 - ::loadRevisionFromPageId()
3092 - ::loadRevisionFromTitle()
3093 - ::loadRevisionFromTimestamp()
3094 - ::listRevisionSizes()
3095 * LogEntry::getPerformer(), deprecated since 1.36, was removed along with
3096 methods in sub-classes: DatabaseLogEntry, ManualLogEntry, RCDatabaseLogEntry.
3097 * Skin::getRelevantUser() now returns an instance of UserIdentity, and not
3098 necessarily a User object. There is no known usages in MediaWiki ecosystem
3099 that were not satisfied with UserIdentity.
3100 * Direct construction of MergeHistory class, deprecated since 1.35, is no longer
3101 supported. Use MergeHistoryFactory instead. MergeHistory::checkPermissions,
3102 deprecated since 1.36, was removed.
3103 * Skin::generateDebugHTML(), deprecated since 1.35, was removed. Call
3104 MWDebug::getHTMLDebugLog() directly.
3105 * The ApiTestCase class no longer interacts with the global $wgUser.
3106 Previously, the global variable was set at the start of each test, and in
3107 ApiTestCase::doApiRequest() if a performer was specified $wgUser was
3108 updated to match, and if no performer was specified $wgUser was used
3109 instead. Now, $wgUser is not updated, and if no performer is specified
3110 the reusable TestUser object for the sysop is relied on. Extensions
3111 or skins that rely on the global $wgUser variable (which has been
3112 deprecated since 1.35) should instead retrieve the acting user from the
3113 relevant context source.
3114 * SkinTemplate::makeArticleUrlDetails(), deprecated since 1.35, was removed.
3115 * Skin::makeNSUrl(), deprecated since 1.35, was removed.
3116 * Skin::getRevisionId(), deprecated since 1.34, was removed. Use
3117 OutputPage::getRevisionId() instead.
3118 * Skin::isRevisionCurrent(), deprecated since 1.34, was removed. Use
3119 OutputPage::isRevisionCurrent() instead.
3120 * AbstractBlock::parseTarget(), deprecated since 1.36, was removed.
3121 * The ArticleEditUpdates hook, deprecated since 1.35, was removed.
3122 * The `@stable to extend` class CentralIdLookup has following changes:
3123 - The protected ::checkAudience() method now returns an Authority instead of a
3125 - A number of its `@stable to override` methods now accept an Authority
3126 instead of a User instance as the $audience parameter.
3127 - A number of methods now accept a UserIdentity instead of their User
3129 - The ::localUserFromCentralId() method now returns UserIdentity and not
3130 necessarily a User object.
3131 All extensions that extend this class or use this method were updated to be
3132 ready to the new behavior.
3133 * WatchedItemStoreInterface::enqueueWatchlistExpiryJob(), deprecated since 1.36,
3135 * ResultWrapper is now abstract. It cannot be directly constructed (T286694).
3136 * The SecondaryDataUpdates hook, deprecated in 1.32, was removed entirely.
3137 * Content::getDeletionUpdates(), was removed. Use
3138 ContentHandler::getDeletionUpdates() instead.
3139 * Content::getSecondaryDataUpdates(), was removed. Use
3140 ContentHandler::getSecondaryDataUpdates() instead.
3141 * wfDiff(), deprecated since 1.25, has been removed.
3142 * Language::$mLangObjCache, deprecated since 1.35, was removed.
3143 * Language::$transformData, deprecated since 1.35, was removed.
3144 * Language::transformUsingPairFile() was marked @internal. Its deprecated
3145 parameters are no longer supported.
3146 * SpecialMute::getTarget(), unused outside of the SpecialMute class, was
3148 * The Skin::setupSkinUserCss() method, deprecated in 1.32, was removed. Please
3149 use skin registration instead.
3150 * The ResourceLoaderSkinModule `legacy`, `content` and `content-thumbnails`
3151 features were deprecated. Skins should instead select from the features
3152 listed on [[mw:Manual:ResourceLoaderSkinModule]].
3153 * ParserCache::getKey() and ::getEtag(), deprecated since 1.36, were removed.
3154 * The BaseTemplateToolbox hook, deprecated since 1.35, was removed.
3155 * Previously a capitalize-all-nouns class was added to the body element of
3156 languages where nouns must be capitalized. This class is no longer added to
3157 the body tag and must be provided by skins.
3158 * The SkinTemplateOutputPageBeforeExec hook, deprecated since 1.35, was removed.
3159 * Calling Message::toString() without a parameter, which triggered deprecation
3160 warnings since 1.36, is no longer supported. You can instead use the explicit
3161 formatting methods directly, such as Message::text() and Message::escaped().
3162 * Article::getContentObject(), deprecated since 1.32, was removed.
3163 * Article::delete(), Article::confirmDelete() and ImagePage::delete() were
3164 removed. The logic responsible for building the form is being
3165 moved to DeleteAction, while the actual deletion logic will be moved to a
3167 * WikiImporter::debugRevisionHandler(), unused and for debug only, was removed.
3168 * Content::preloadTransform() now emits deprecation warnings. Instead, please
3169 use ContentTransformer::preloadTransform(). Extensions defining a content
3170 model should override ContentHandler::preloadTransform().
3171 * Content::preSaveTransform() now emits deprecation warnings. Instead, please
3172 use ContentTransformer::preSaveTransform() instead. Extensions defining
3173 a content model should override ContentHandler::preSaveTransform().
3174 * Constructing WikiPage objects from Title instances that cannot exist, emitting
3175 deprecation warnings since 1.36, now throws an exception. Additionally,
3176 WikiPage now implements ProperPageIdentity, rather than just PageIdentity.
3177 * The Skin::bottomScripts() method is deprecated. Please instead use
3178 OutputPage::getBottomScripts().
3179 * LinksUpdate::getTriggeringUser() now returns ?UserIdentity instead of ?User.
3180 * The LESS mixin `.box-shadow()` (from mediawiki.mixins.less), deprecated since
3181 1.36, was removed. Use CSS property `box-shadow` unprefixed for all basic
3182 supported browsers instead.
3183 * The LESS mixin `.flex()` now no longer tries to support the 2009 version of
3184 the Flexbox specification; support for the 2012 and modern standard versions
3186 * The StorageAwareness::ATTR_SYNCWRITES, StorageAwareness::QOS_SYNCWRITES_*,
3187 StorageAwareness::ATTR_LOCALITY, and StorageAwareness::QOS_LOCALITY_*
3188 constants were removed.
3190 === Deprecations in 1.37 ===
3191 * JobQueue::getWiki(), deprecated in 1.33, now emits deprecation warnings.
3192 * AbstractBlock::getTargetAndType() and ::getTarget() now emit deprecation
3193 warnings. Use ::getTargetName() and ::getTargetUserIdentity() together with
3195 * Passing a UserIdentity to WatchlistManager::clearAllUserNotifications() and
3196 WatchlistManager::clearTitleUserNotifications() is now deprecated. Pass an
3198 * Passing LinkTarget to WatchlistManager::clearTitleUserNotifications() and
3199 WatchlistManager::getTitleNotificationTimestamp(). Pass PageIdentity instead.
3200 * The User class methods ::isWatched(), ::isTempWatched(), ::removeWatch(), and
3201 ::addWatch() have been deprecated. Use corresponding methods in
3202 WatchlistManager instead.
3203 * Multiple WatchAction methods have been deprecated in lieu of WatchlistManager:
3204 - ::doWatchOrUnwatch() use WatchlistManager::setWatch()
3205 - ::doWatch() -> WatchlistManager::addWatch()
3206 - ::doUnwatch() -> WatchlistManager::removeWatch()
3207 * WatchAction::getWatchToken() now emits deprecation warnings. Instead use
3208 CsrfTokenSet::getToken().
3209 * Action::getHookContainer() has been marked as internal. Actions that require
3210 access to a hook container should have one injected instead.
3211 * The ::getTitle() and ::setTitle() methods in Parser have been deprecated.
3212 Use ::getPage() and ::setPage() instead.
3213 * Title::isWatchable() has been deprecated. Use WatchlistManager::isWatchable()
3215 * Methods and classes related to the primary database, previously referred to as
3216 'master', have been deprecated, with the new ones replacing them as follows:
3217 - The DBMasterPos and MySQLMasterPos classes have been respectively renamed to
3218 DBPrimaryPos and MySQLPrimaryPos.
3219 - LocalRepo::getMasterDB() -> ::getPrimaryDB()
3220 - ForeignDBRepo::getMasterDB() -> ::getPrimaryDB()
3221 - JobQueueDB::getMasterDB() -> ::getPrimaryDB()
3222 - ForeignDBViaLBRepo::getMasterDB() -> ::getPrimaryDB()
3223 - DBFileJournal::getMasterDB() -> ::getPrimaryDB()
3224 - ILoadBalancer::getMasterPos() -> ::getPrimaryPos()
3225 - IDatabase::getMasterPos() -> ::getPrimaryPos()
3226 - ILoadBalancer::finalizeMasterChanges() -> ::finalizePrimaryChanges()
3227 - ILoadBalancer::approveMasterChanges() -> ::approvePrimaryChanges()
3228 - ILoadBalancer::beginMasterChanges() -> ::beginPrimaryChanges()
3229 - ILBFactory::beginMasterChanges() -> ::beginPrimaryChanges()
3230 - ILoadBalancer::commitMasterChanges() -> ::commitPrimaryChanges()
3231 - ILBFactory::commitMasterChanges() -> ::commitPrimaryChanges()
3232 - IDatabase::getTopologyRootMaster() -> ::getTopologyRootPrimary()
3233 - IDatabase::masterPosWait() -> ::primaryPosWait()
3234 - ILoadBalancer::runMasterTransactionIdleCallbacks() ->
3235 ::runPrimaryTransactionIdleCallbacks()
3236 - ILoadBalancer::runMasterTransactionListenerCallbacks() ->
3237 ::runPrimaryTransactionListenerCallbacks()
3238 - ILoadBalancer::rollbackMasterChanges() -> ::rollbackPrimaryChanges()
3239 - ILBFactory::rollbackMasterChanges() -> ::rollbackPrimaryChanges()
3240 - ILoadBalancer::flushMasterSnapshots() -> ::flushPrimarySnapshots()
3241 - ILoadBalancer::hasMasterConnection() -> ::hasPrimaryConnection()
3242 - ILoadBalancer::hasMasterChanges() -> ::hasPrimaryChanges()
3243 - ILBFactory::hasMasterChanges() -> ::hasPrimaryChanges()
3244 - ILoadBalancer::lastMasterChangeTimestamp() -> ::lastPrimaryChangeTimestamp()
3245 - ILoadBalancer::hasOrMadeRecentMasterChanges() ->
3246 ::hasOrMadeRecentPrimaryChanges()
3247 - ILBFactory::hasOrMadeRecentMasterChanges() ->
3248 ::hasOrMadeRecentPrimaryChanges()
3249 - ILoadBalancer::pendingMasterChangeCallers() ->
3250 ::pendingPrimaryChangeCallers()
3251 - ILoadBalancer::forEachOpenMasterConnection() ->
3252 ::forEachOpenPrimaryConnection()
3253 - ILoadBalancer::waitForMasterPos() -> ::waitForPrimaryPos()
3254 - Database::assertIsWritableMaster() -> ::assertIsWritablePrimary()
3255 - RevDelList::reloadFromMaster() -> ::reloadFromPrimary()
3256 - ExternalStoreDB::getMaster() -> ::getPrimary()
3257 - DatabaseMysqlBase::getMasterServerInfo() -> ::getPrimaryServerInfo()
3258 - MWExceptionHandler::rollbackMasterChangesAndLog() ->
3259 ::rollbackPrimaryChangesAndLog()
3260 * wfGetLB(), deprecated since 1.27, now emits deprecation warnings.
3261 * wfLocalFile(), deprecated since 1.34, now emits deprecation warnings.
3262 * wfFindFile(), deprecated since 1.34, now emits deprecation warnings.
3263 * wfIncrStats(), deprecated in 1.36, now emits deprecation warnings.
3264 * wfCanIPUseHTTPS() is now deprecated, and always returns true.
3265 * The UserLoadFromDatabase hook has been deprecated. It had no known uses.
3266 * The following methods in ApiPageSet have been deprecated:
3267 - ::getTitles(), use ::getTargets() instead.
3268 - ::getGoodTitles(), use ::getGoodPages() instead.
3269 - ::getMissingTitles(), use ::getMissingPages() instead.
3270 - ::getGoodAndMissingTitles(), use ::getGoodAndMissingPages() instead.
3271 - ::getRedirectTitles(), use ::getRedirectTargets() instead.
3272 - ::getSpecialTitles(), use ::getSpecialPages() instead.
3273 * The following methods from the User class, deprecated in 1.35, now each emit
3274 deprecation warnings:
3278 - ::isCreatableName()
3279 - ::getCanonicalName()
3280 - ::addAutopromoteOnceGroups()
3281 - ::getEffectiveGroups()
3282 - ::getAutomaticGroups()
3283 - ::getFormerGroups()
3286 * The following methods in User were deprecated:
3287 - ::idFromName() - use UserIdentityLookup::getUserIdentityByName() instead.
3288 - ::resetIdByNameCache() - in tests, reset service container. No replacement
3289 needed in production code.
3290 * Use of ActorMigration for any table except revision, deprecated in 1.34, now
3291 emits deprecation warnings. Instead of getInsertValues(), use
3292 ActorNormalization::acquireActorId(). Instead of getWhere() and getJoin(),
3293 do your own join on the actor table.
3294 * DatabasePostgres::remappedTableName() and its dependent constructor parameter
3295 'keywordTableMap' are deprecated. Reserved identifiers that are used as table
3296 names should be quoted where necessary.
3297 * LinkCache::singleton(), deprecated since 1.28, now emits deprecation warnings.
3298 * MessageCache::singleton(), deprecated since 1.34, now emits deprecation
3300 * LockManagerGroup::singleton() and ::destroySingletons(), deprecated since
3301 1.34, now emit deprecation warnings.
3302 * HtmlFileCacheUpdate::newFromTitles() is now deprecated and emitting warnings.
3303 Use newFromPages() instead.
3304 * SessionProvider ::setLogger(), ::setManager(), ::setConfig(), and
3305 ::setHookContainer() were deprecated. Use ::init() to inject dependencies, or
3306 override ::postInitSetup() to do any custom post-initialization configuration.
3307 * AbstractAuthenticationProvider ::setLogger(), ::setManager(), ::setConfig(),
3308 and ::setHookContainer() now emit deprecation warnings. Use ::init() to inject
3309 dependencies, or override ::postInitSetup() to do any custom post-
3310 initialization configuration.
3311 * User::isLoggedIn(), deprecated since 1.36, now emits deprecation warnings. Use
3312 the method it wraps, User::isRegistered(), instead.
3313 * FileBackendGroup::singleton() and ::destroySingletons(), deprecated since
3314 1.35, now emit deprecation warnings.
3315 * The first parameter of User::getBlock() should now be an integer using the
3316 Authority::FOR_XXX constants. Providing a boolean is deprecated.
3317 * ApiBase::addBlockInfoToStatus() is deprecated for use by extensions. It is now
3318 marked as @internal and may be deleted in the future.
3319 It should not be necessary to call this method, Authority should be providing
3320 all relevant information via a PermissionStatus object.
3321 * JobQueueGroup::singleton() was deprecated - use
3322 MediaWikiServices::getJobQueueGroup() instead.
3323 * JobQueueGroup::destroySingletons() was deprecated. JobQueueGroups are now
3324 automatically destroyed after tests.
3325 * LinkCache::addGoodLinkObj() has been deprecated, since it is prone to
3326 corrupting the cache with invalid information. Use addGoodLinkObjFromRow()
3327 instead. PHPUnit tests must use LinkCacheTestTrait::addGoodLinkObject().
3328 * ContentHandler::getContentText() is now deprecated. Use Content::getText()
3330 * LinkCache::addLinkObj() has been deprecated, use PageStore::getPageForLink()
3332 * MediaWiki\User\UserNamePrefixSearch::search() previously accepted as its first
3333 parameter either the string 'public' or a UserIdentity object, to filter
3334 results for. It now expects an Authority object instead of UserIdentity, and
3335 providing just a UserIdentity will now trigger a deprecation warning.
3336 * User::getRights(), deprecated since 1.34, now emits deprecation warnings.
3337 * User::changeableGroups() and ::changeableByGroup() now emit deprecation
3338 warnings, use corresponding methods in UserGroupManager instead.
3339 * User::incEditCount() was deprecated in favor of the new method
3340 UserEditTracker::incrementUserEditCount().
3341 * RepoGroup::singleton(), ::destroySingleton() and ::setSingleton(), deprecated
3342 since 1.34, now emit deprecation warnings.
3343 * RecentChange::getPerformer(), deprecated since 1.36, now emits deprecation
3344 warnings. Use ::getPerformerIdentity() instead.
3345 * ContentHandler::cleanupHandlersCache(), deprecated since 1.35, now emits
3346 deprecation warnings.
3347 * Category::getTitle() was deprecated in favor of Category::getPage()
3348 * File::getUser() method now emits deprecation warnings, along with its over-
3349 rides in LocalFile and ForeignApiFile in favor of ::getUploader().
3350 * SpecialBlock::checkUnblockSelf(), deprecated in 1.36, now emits deprecation
3352 * (T284179) The mediawiki.viewport ResourceLoader module is deprecated. You can
3353 now just use MutationObserver or InterSectionObserver directly, which are
3354 widely available in all supported JavaScript browsers.
3355 * The following constructor options of DatabaseBlock class will now trigger
3356 deprecation warnings:
3357 - the 'byText' property with blocker's name,
3358 - the 'by' property with blocker's ID,
3359 For both of these, use the 'by' property with UserIdentity value instead.
3360 * The BeforeResetNotificationTimestamp hook was deprecated.
3361 * ArchivedFile::getUser() ::getRawUser() ::getRawUserText() were deprecated in
3362 favor of ::getUploader.() ::getRawDescription() was deprecated in favor of
3363 ::getDescription() with RAW audience parameter.
3364 * When calling LocalFile::newFromRow() or LocalFile::loadFromRow(), passing
3365 extra fields not requested by ::getQueryInfo() will now trigger deprecation
3366 warnings. This is to warn callers that deprefixing and automatic assignment of
3367 such fields will not be done in a future version.
3368 * JobSpecification::getTitle() was deprecated without providing a replacement.
3369 It wasn't used and job given the purpose of JobSpecification class it is not
3371 * The protected method File::getImageSize() is now deprecated.
3372 * BacklinkCache::get() was deprecated, use
3373 BacklinkCacheFactory::getBacklinkCache() instead.
3374 * Title::getBacklinkCache() now emits deprecation warnings. Instead, use the
3375 ::getBacklinkCache() method in the BacklinkCacheFactory service.
3376 * MediaHandler::getImageSize(), ::getMetadata(), and ::isMetadataValid() were
3377 deprecated and should no longer be overridden. Instead, sub-classes should
3378 override getSizeAndMetadata().
3379 * Deprecated File::getMetadata(). Instead use ::getMetadataArray(),
3380 ::getMetadataItem() and ::getMetadataItems().
3381 * Message::title() has been deprecated; use Message::page() instead.
3382 * BaseTemplate::getAfterPortlet(), BaseTemplate::renderAfterPortlet(), and the
3383 BaseTemplateAfterPortlet hook, which were deprecated in 1.35,
3384 now emit deprecation warnings.
3385 * The LocalFile::getHistory() hook is deprecated.
3386 * Previously the Skin templateDirectory option inside skin.json had to be
3387 relative to MediaWiki core. This should now be relative to the skin.
3388 * Calling WikiPage::prepareContentForEdit() without a UserIdentity is now
3390 * User::getEditTokenObject(), ::getEditToken(), and ::matchEditToken() were each
3391 deprecated. Use CsrfTokenRepository, which is available via IContextSource,
3392 instead. ::matchEditTokenNoSuffix() was deprecated without replacement.
3393 It was introduced to be able to provide custom error message if the token
3394 was submitted, but ending slashes were stripped by some ASCII mangling proxy.
3395 Use ::matchToken() instead, such proxies are much less common now and there's
3396 not much benefit in customising the error message.
3397 * ContentHandler::getForTitle(), deprecated since 1.35, now emits deprecation
3399 * User::listOptionKinds(), deprecated since 1.35, now emits deprecation
3401 * WikiPage::doEditContent(), deprecated since 1.32, now emits deprecation
3403 * CentralIdLookup::factory() and ::factoryNonLocal() now emit deprecation
3404 warnings; obtain an instance from MediaWikiServices instead.
3405 * The class RandomPage was renamed to SpecialRandomPage. The class RandomPage
3407 * BotPassword::invalidateAllPasswordsForCentralId() was deprecated.
3408 * BotPassword::removeAllPasswordsForCentralId() was deprecated.
3409 * The Title class members: $mTextform, $mUrlform, $mDbkeyform, $mNamespace,
3410 $mInterwiki, and $mFragment have been deprecated to not be used directly.
3411 Instead, their corresponding accessor methods should be used.
3412 * IDatabase::fetchObject(), ::fetchRow(), ::numRows(), ::numFields(),
3413 ::fieldName(), ::freeResult() and ::dataSeek() are deprecated. Use the
3414 corresponding methods in IResultWrapper instead.
3415 * ResultWrapper::unwrap(), DatabaseMysqlBase::fieldType() and
3416 DatabasePostgres::fieldType() each now emit deprecation warnings.
3417 * Sub-classes implementing Database::doQuery() should return either boolean or
3418 an IResultWrapper. To do otherwise will now trigger a deprecation warning.
3419 * User::getOptionKinds() and ::resetOptions(), both deprecated since 1.35,
3420 now emit deprecation warnings.
3421 * The following methods in MWNamespace, all deprecated since 1.34, now emit
3422 deprecation warnings:
3430 - ::hasTalkNamespace()
3431 - ::wantSignatures()
3433 - ::getSubjectNamespaces()
3434 - ::getTalkNamespaces()
3436 - ::hasGenderDistinction()
3437 - ::isNonincludable()
3438 - ::getNamespaceContentModel()
3439 - ::getRestrictionLevels()
3440 - ::getCategoryLinkType()
3441 * LogFormatter::styleRestricedElement() has been deprecated in favor of
3442 LogFormatter::styleRestrictedElement()
3443 * The following hooks related to user preferences were deprecated:
3444 - UserLoadOptions: use LoadUserOptions instead.
3445 - UserSaveOptions: use SaveUserOptions instead.
3446 - UserResetAllOptions: no replacement was provided, the hook is not used.
3447 * Title::isNamespaceProtected(), deprecated in 1.34, now emits deprecation
3449 * UserSelectQueryBuilder::userIds(), ::userNames(), and ::userNamePrefix() has
3450 been deprecated in favor of ::whereUserIds(), ::whereUserNames(), and
3451 ::whereUserNamePrefix().
3452 * Manually constructing a MovePage object, deprecated in 1.34, now emits
3453 deprecation warnings. Use MovePageFactory instead.
3454 * The following deletion-related methods were deprecated:
3455 - WikiPage::doDeleteArticleReal() (soft) - use DeletePage
3456 - WikiPage::doDeleteArticleBatched() (soft) - no replacement
3457 - WikiPage::isBatchedDelete() (soft) - use DeletePage
3458 - WikiPage::doDeleteUpdates() (hard) - no replacement
3459 - WikiPage::getDeletionUpdates() (hard) - no replacement
3460 - Title::isBigDeletion (soft) - no replacement
3461 * Relying on PermissionManager or Authority to check for big deletions
3462 was deprecated. This is now automatically checked if you use
3463 DeletePage::deleteIfAllowed(). (T288759)
3464 * The userCan hook now emits deprecation warnings. Use the
3465 getUserPermissionsErrors or getUserPermissionsErrorsExpensive hooks instead.
3466 * Parser::$mUser public access, and the methods ParserOptions::getUser() and
3467 Parser::getUser() each now emit deprecation warnings.
3468 * The following methods in the Title class have been deprecated in favor of the
3469 corresponding methods in the new RestrictionStore service (with different
3470 names where indicated):
3471 - ::areCascadeProtectionSourcesLoaded()
3472 - ::areRestrictionsCascading()
3473 - ::areRestrictionsLoaded()
3474 - ::getAllRestrictions()
3475 - ::getCascadeProtectionSources()
3476 - ::getFilteredRestrictionTypes()
3477 -> ::listAllRestrictionTypes()
3478 - ::getRestrictionExpiry()
3479 - ::getRestrictionTypes()
3480 -> ::listApplicableRestrictionTypes()
3481 - ::getRestrictions()
3482 - ::isCascadeProtected()
3484 - ::isSemiProtected()
3485 - ::loadRestrictionsFromRows()
3486 * The following Title methods have been deprecated with no direct public
3488 - ::deleteTitleProtection()
3489 - ::getTitleProtection()
3490 - ::flushRestrictions()
3491 - ::loadRestrictions()
3492 * User::isAllowUsertalk() now emits deprecation warnings. Use User::getBlock()
3493 and AbstractBlock::isUsertalkEditAllowed() instead.
3494 * Classes used by Preprocessor_DOM have been merged with classes used by
3495 Preprocessor_Hash, as Preprocessor_DOM was removed in 1.35.
3496 - PPDPart has been merged into PPDPart_Hash
3497 - PPDStack has been merged into PPDStack_Hash
3498 - PPDStackElement has been merged into PPDStackElement_Hash
3499 * By default, the global variable $wgUser is now an instance of the new class
3500 StubGlobalUser rather than User, and the first time it is used it will emit
3501 deprecation warnings (the $wgUser variable was deprecated in 1.35). For
3502 extensions that read from this variable, please use a relevant ContextSource
3503 instead, falling back to RequestContext::getMain() if none is available.
3504 * Collation::singleton() and ::factory() were deprecated; obtain an instance of
3505 the CollationFactory from MediaWikiServices instead.
3506 * Title::getDefaultNamespace() has been deprecated to be removed because there
3507 are no known callers/consumers.
3508 * With removal of the stub threshold feature, the following methods now emit
3509 deprecation warnings:
3510 - LinkRenderer::setStubThreshold() and ::getStubThreshold() - no replacement.
3511 - LinkRendererFactory::createForUser() - calling ::create() is now sufficient
3512 - ParserOptions::setStubThreshold() and ::getStubThreshold() - no replacement.
3513 - User::getStubThreshold() - no replacement.
3514 * The ArticleDelete and ArticleDeleteComplete hooks were deprecated. Use
3515 PageDelete and PageDeleteComplete instead.
3516 * The ArticleUndeleteLogEntry hook was deprecated without replacement.
3517 * The following LESS mediawiki.mixins have been deprecated:
3520 - .transform-origin()
3522 - .transition-transform()
3523 * The `UndeleteForm::undelete` hook was deprecated. A new hook was
3524 introduced, `PageUndelete`, that provides handlers with more information and
3525 is also called for non-UI requests. The capability of replacing the
3526 PageArchive object has been removed, as that violates the laws of nature.
3528 === Other changes in 1.37 ===
3529 * WatchlistManager::addWatch() and WatchlistManager::addWatchIgnoringRights(),
3530 which replace User::addWatch(), now call the WatchArticle and
3531 WatchArticleComplete hooks.
3532 * WatchlistManager::removeWatch() and
3533 WatchlistManager::removeWatchIgnoringRights(), which replace
3534 User::removeWatch(), now call the UnwatchArticle and UnwatchArticleComplete
3536 * The overridable postInitSetup() method was added to the
3537 AbstractAuthenticationProvider class. A provider can override postInitSetup()
3538 to do any custom post-initialization configuration.
3539 * The overridable postInitSetup() method was added to the SessionProvider
3540 class. A provider can override postInitSetup() to do any custom
3541 post-initialization configuration.
3542 * The protected getConfig() method was added to the SessionProvider class.
3543 Use SessionProvider::getConfig() to get a config.
3544 * The DBAccessBase class is deprecated. Classes that used to extend it
3545 should get a load balancer (factory) injected in the constructor instead.
3546 * ActorNormalization::acquireActorId() now requires IDatabase parameter.
3547 Not providing one emitted deprecation warnings since 1.36.
3548 * Anti-lock constants ALF_PRELOAD_LINK, ALF_NO_BLOCK_LOCK, ALF_NO_LINK_LOCK
3549 and ALF_PRELOAD_EXISTENCE have been removed. They're unused since 1.25.
3550 * (T278036) CSS class 'mw-htmlform-field-autoinfuse' used by some forms has been
3551 renamed to 'mw-htmlform-autoinfuse'.
3552 * User::newFromRow() does not accept pre-loaded user preferences under
3553 $data['user_properties'] anymore. This optimization was not used.
3554 * The following files change the letter case of the file names:
3555 - SpecialRandompage.php -> SpecialRandomPage.php
3556 - SpecialRandomredirect.php -> SpecialRandomRedirect.php
3557 - SpecialRandomrootpage.php -> SpecialRandomRootPage.php
3558 * Media files which are uploaded server side using the importImages.php
3559 maintenance script will now have the "mw-server-side-upload" change tag.
3560 * (T284917) The stub threshold feature has been removed.
3561 * Skin::getPoweredBy() and Skin::getCopyrightIcon() have been deprecated as they
3562 are only designed for use by skins extended BaseTemplate. You can move calls
3563 to instead use BaseTemplate::getPoweredByHTML() and ::getCopyrightIconHTML()
3565 * The SkinGetPoweredBy hook is deprecated. No replacement is provided.
3566 * HTMLTitleTextField didn't support interwiki titles well previously.
3567 Starting with 1.37, HTMLTitleTextField has a new parameter, 'interwiki',
3568 which can be used to control acceptance of interwiki titles. To provide
3569 a transitional period, the default value ('interwiki' => null) ensures
3570 MW will have the same behavior as before (logging a deprecation warning).
3571 In 1.38, the default behavior will change to "interwiki links aren't allowed".
3575 MediaWiki 1.37 requires PHP 7.3.19 or later, or PHP 7.4.3 or later, and the
3576 following PHP extensions:
3587 Support for PHP 8.0 is not yet complete.
3589 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
3590 but support for them is somewhat less mature.
3592 The supported versions are:
3594 * MySQL 5.5.8 or later
3595 * PostgreSQL 9.4 or later
3596 * SQLite 3.8.0 or later
3598 == Online documentation ==
3599 Documentation for both end-users and site administrators is available on
3600 MediaWiki.org, and is covered under the GNU Free Documentation License (except
3601 for pages that explicitly state that their contents are in the public domain):
3603 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
3606 A mailing list is available for MediaWiki user support and discussion:
3608 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
3610 A low-traffic announcements-only list is also available:
3612 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
3614 It's highly recommended that you sign up for one of these lists if you're
3615 going to run a public MediaWiki, so you can be notified of security fixes.
3618 There's usually someone online in #mediawiki on irc.libera.chat.
3622 == MediaWiki 1.36.4 ==
3624 This is a security and maintenance release of the MediaWiki 1.36 branch.
3626 === Changes since MediaWiki 1.36.3 ===
3627 * (T298261) Fix support for Composer 2.2.
3628 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
3629 * Update doctrine/dbal (3.0.0 => 3.1.5).
3630 * (T296898) Add entry point name to disabled Session exception if possible.
3631 * (T298564) MemcachedClient: Add support for IPv6.
3632 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
3633 galleries and Special:RevisionDelete.
3634 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
3635 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
3636 * Fix the json schema and the extension processor for Parsoid extension modules.
3637 * (T299696) update.php: Avoid passing null to substr.
3638 * In PHP 8.1 don't throw exceptions from mysqli.
3639 * (T289926) SiteConfiguration: Don't pass null to str_replace().
3640 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
3641 * (T260735) Stop using is_resource() where possible.
3642 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
3644 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
3645 * ExtensionRegistry: Add process cache for lazy attributes.
3646 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
3647 * Allow ParsoidModules extension schema to register services.
3648 * (T297708) Allow setting max execution time to several special pages.
3649 * (T302540) composer.json: Add ext-calendar to require.
3650 * (T302540) composer.json: Add ext-simplexml to require-dev.
3651 * (T302540) composer.json: Add various PHP extensions to suggests.
3652 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
3653 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
3654 * (T293576) listFiles: Display file name instead of version.
3655 * (T303871) Fix @since of Title::getId().
3656 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
3657 * wrapOldPasswords: add \n to two output calls.
3658 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
3659 loop if it points to a local interwiki.
3660 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
3661 uploads with actor as a condition can result in a DoS.
3663 == MediaWiki 1.36.3 ==
3665 This is a security and maintenance release of the MediaWiki 1.36 branch.
3667 === Changes since MediaWiki 1.36.2 ===
3668 * (T280363) mediawiki.page.ready: Introduce wikipage.indicators hook.
3669 * (T290697) Add symfony/polyfill-php80.
3670 * IcuCollation: Add some more icu to unicode version mappings.
3671 * ApiBase: Annotate deprecated constants individually.
3672 * PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy.
3673 * (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater.
3674 * (T291127) Always encode spaces in cookie values as "%20".
3675 * Use LocalFile::getHookRunner instead of LocalFile::hookRunner.
3676 * (T293564) mediawiki.page.ready: Fire hook 'wikipage.indicators' with
3678 * HistoryBlobStub: add getLocation() to get $mOldId.
3679 * Fix checkStorage.php.
3680 * checkStorage: pass no parameters to WikiRevision::getContent().
3681 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
3683 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
3684 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
3685 * (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser.
3686 * (T212428, T267468) Allow populateContentTables to continue when there are
3688 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is
3690 * Update pear/mail_mime to 1.10.11.
3691 * Update deprecated Guzzle Psr7 function calls.
3692 * (T281972) Follow-Up: I10fbd4b6a: Update @since tags as those were backported.
3693 * Tweak error message for missing composer dependencies.
3694 * (T296112) Allow inserting new sections named '0'.
3695 * nukeNS: don't run purgeRedundantText() after every change.
3696 * (T286779, T297031) installer: Fix Postgres mistakes in using changeField
3698 * (T225888) RollbackAction: fix missing pagetitle.
3699 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
3701 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
3702 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
3703 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
3704 when changing content model.
3706 == MediaWiki 1.36.2 ==
3708 This is a security and maintenance release of the MediaWiki 1.36 branch.
3710 === Changes since MediaWiki 1.36.1 ===
3711 * Don't access MWServices prematurely in Maintenence.php.
3712 * (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode.
3713 * Installer: Fix foundation.wikimedia.org link in config-pingback-help.
3714 * (T283273) Make postgres IRC channel point to libera.chat.
3715 * composer.json: Promote and pin monolog/monolog to require from require-dev.
3716 * (T287526) JavaScriptMinifer: Recognize `...` as a single token.
3717 * (T287526) Update wikimedia/minify to 2.2.4.
3718 * (T289108) ExtensionProcessor: Remove loaderScripts from extension.json
3720 * (T281549) Installer: Fix mediawiki-announce auto subscription code.
3721 * FormatJson: Optimize encode() for supported PHP versions.
3722 * (T290398) renameRestrictions.php: Update protected_titles as well.
3723 * (T290489) objectcache: Fix PHP warning for ReplicatedBagOStuff::setMulti.
3724 * $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329
3725 form of JavaScript, 'application/javascript', as well as previous MIME types.
3726 * (T51097, T290273) resourceloader: Call getStyleFiles from
3727 FileModule::getFileHashes.
3728 * (T277788) parser: Avoid calling ParserOptions::getOption() too many times.
3729 * (T291244) Unserialize objects in ParserCache->mExtensionData as objects.
3730 * MysqlUpdater: Add updatelog entries for dropDefault.
3731 * (T290776) Fix $phase check in OutputHandler.
3732 * The wikimedia/parsoid library has been upgraded from v0.13.0 to v0.13.1.
3733 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search.
3734 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
3736 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
3737 Special:Contributions.
3739 == MediaWiki 1.36.1 ==
3741 This is a security and maintenance release of the MediaWiki 1.36 branch.
3743 === Changes since MediaWiki 1.36.0 ===
3744 * (T283942) DatabaseInstaller.php: Only run core schema file if specified table
3745 doesn't already exist.
3746 * (T247223) Optimise MessageCache::isMainCacheable() for the single-message
3748 * (T283244) JavaScriptMinifer: Fix handling of "delete" as object property.
3749 * (T284391) Fix SkinModule to correctly prepend remote path on document root
3751 * (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors.
3752 * (T278579) Don't send headers on ob_end_clean().
3753 * (T285287) MultiHttpClient: Replace PHP version check with defined().
3754 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging pages.
3756 == MediaWiki 1.36.0 ==
3758 === Changes since MediaWiki 1.36.0-rc.0 ===
3759 * (T248481) rdbms: Use server time in
3760 DatabaseMysqlBase::getLagFromPtHeartbeat().
3761 * (T281549) WebInstaller: Don't show the announce-l subscribe checkbox for now.
3762 * (T264214) Follow-ups for UserGroupManager.
3763 * (T282280) resourceloader: Fix path-only URLs in wiki modules when script path
3765 * (T281972) UserIdentityValue: Introduce convenience static factory methods.
3766 * (T230428) Make page_is_redirect and page_is_new unsigned.
3767 * (T280292) Legacy feature should not load thumbnail style rules (only layout).
3768 * (T283247) Freenode -> Libera per wikimedia moving from freenode to libera.
3769 * (T280270) composer: Lock Parsoid version to specific 0.13.0 release.
3770 * (T142663) Add extension.json merge strategy "provide_default".
3771 * (T283540) HookContainer: Fix normalization of callback for static handler.
3772 * (T283464) registration: Fix array order for array_replace_recursive merge
3774 * (T283539) Interwiki: Fix calling "onInterwikiLoadPrefix" hook.
3775 * (T282594) Timeless: Re-branch to 40eb3dad1for REL1_36.
3777 == MediaWiki 1.36.0-rc.0 ==
3779 == Upgrading notes for 1.36 ==
3780 Don't forget to always back up your database before upgrading!
3782 See the file UPGRADE for more detailed per-version upgrade instructions from the
3783 oldest supported upgrading version, MediaWiki 1.27.
3785 Some specific notes for MediaWiki 1.36 upgrades are below:
3786 * MediaWiki 1.36 now requires the PHP internationalization extension (commonly
3787 referred to as Intl, ext-intl, or php-intl).
3788 * The MediaWiki:Autoblock_whitelist block exemption control has been moved to
3789 MediaWiki:Block-autoblock-exemptionlist. If you use this feature, please move
3790 the MediaWiki:Autoblock_whitelist page.
3791 * (T275334) $wgExtensionFunctions is sometimes used to change configuration
3792 settings. This is not safe; extension functions are run relatively late, some
3793 services are already initialized by that point and so they use the old
3794 configuration. Changes in 1.36 make this kind of breakage even more common.
3795 You can use the MediaWikiServices hook instead. (In the future there might be
3796 a dedicated hook for configuration changes.)
3798 For notes on 1.35.x and older releases, see HISTORY.
3800 === Configuration changes for system administrators in 1.36 ===
3801 The MediaWiki update script, maintenance/update.php, used to accept `--nopurge`
3802 as an option to prevent clearing caches stored in the database during upgrade.
3803 This is no longer encouraged, and the option has been removed.
3805 ==== New configuration ====
3806 * (T256001) $wgManualRevertSearchRadius – This setting controls a new feature
3807 that marks edits as reverts if they restore the page to an exact previous
3808 state. This configuration variable sets the maximum number of revisions of a
3809 page that will be checked against every new edit. Set this to 0 to disable the
3811 * (T244058) $wgOldRevisionParserCacheExpireTime — This setting was added to
3812 control caching of ParserOutput for old (non-current) revisions.
3813 * (T265263) $wgRememberMe - This setting configures the "remember me" checkbox
3814 on account log-in systems via RememberMeAuthenticationRequest.
3815 * (T157145) $wgSkinMetaTags – This setting lets sysadmins configure skins that
3816 support meta tags. These tags make sharing of MediaWiki pages on a variety of
3817 social platforms more contentful and thus useful.
3818 * (T280944) $wgIncludejQueryMigrate - This setting lets sysadmins disable the
3819 jQuery Migrate plugin. It has been enabled by default since MediaWiki 1.27.
3820 In future releases it will be disabled by default.
3822 ==== Changed configuration ====
3823 * $wgLogos – This setting selects the logo shown on the site. The default value
3824 for the site logo, which is shown in an install if you have not set one, will
3825 now be the new logo of MediaWiki.
3826 * (T274695) $wgAjaxEditStash — This setting, to disable the edit stashing
3827 feature when users start writing an edit summary, has been deprecated. In
3828 future releases, this feature will always be enabled.
3829 * $wgUploadStashScalerBaseUrl – This setting, to enable remote on-demand media
3830 scaling, was deprecated. Use the `thumbProxyUrl` setting in $wgLocalFileRepo
3832 * $wgSlaveLagWarning and $wgSlaveLagCritical – These settings have been renamed,
3833 to $wgDatabaseReplicaLagWarning & $wgDatabaseReplicaLagCritical respectively.
3834 The former configuration variable names are deprecated, but will be used as
3835 the fall back if they are still set, and remain temporarily available for
3836 extensions which try to read them.
3837 * $wgWANObjectCaches - The "coalesceKeys" option was removed without deprecation
3838 and replaced by a new "coalesceScheme" option, set to "hash_stop" by default.
3839 If you use Dynomite, then set the new "coalesceKeys" option to "hash_tag". The
3840 "cluster" and "mcrouterAware" options were also removed without deprecation.
3841 Use "broadcastRoutingPrefix" instead.
3843 ==== Removed configuration ====
3844 * $wgUseTwoButtonsSearchForm — This setting, deprecated in 1.35, has been
3846 * $wgAllowImageMoving — This setting, deprecated in 1.35, has been removed. Use
3847 group permission settings instead. For example, to prevent sysops from
3848 moving files, set `$wgGroupPermissions['sysop']['movefile'] = false;`
3849 * $wgExtNewTables, $wgExtNewFields, $wgExtNewIndexes, $wgExtPGNewFields,
3850 $wgExtPGAlteredFields, $wgExtModifiedFields — These settings were removed.
3851 They became obsolete after 1.17 overhauled the database updater, but were kept
3852 for backwards compatibility. The LoadExtensionSchemaUpdates hook should be
3854 * $wgParserConf - This setting, deprecated in 1.35, has been removed. The last
3855 use of this setting was for pre-processor configuration, which was deprecated
3856 in 1.34 and removed in 1.35.
3857 * $wgEnableRestAPI - This setting, ignored since 1.35, has been removed.
3858 * $wgPagePropsHaveSortkey – This temporary setting has been removed, along with
3859 the schema change upgrade path it controlled. If your site is still using it,
3860 meaning you have not yet applied the `pp_sortkey` schema change from 1.24, you
3861 must now apply it before upgrading.
3862 * The deprecated password policies PasswordCannotMatchBlacklist and
3863 PasswordNotInLargeBlacklist were removed. Please use
3864 PasswordCannotMatchDefaults and PasswordNotInCommonList respectively instead.
3866 === New user-facing features in 1.36 ===
3867 * The logo of MediaWiki has changed. This means that the "Powered By MediaWiki"
3868 button shown in the skin footer will be different.
3869 * All HTML5 named entities are now accepted in wikitext.
3870 * (T106263) The file description page's alternate sizes now include 2048px.
3872 === New developer features in 1.36 ===
3873 * Parser test files can now declare a dependency on a specific extension being
3874 loaded, not just on the presence of a certain extension tag hook. This is a
3875 better fit for extensions like TimedMediaHandler, which affect the output but
3876 don't register parser hooks. Use `extension:Foo` in the `!! hooks` section of
3877 your parser test file to declare a dependency on the `Foo` extension being
3879 * To expose code previously present in SpecialBlock/SpecialUnblock to other
3880 parts of the code, or to extensions, the new BlockUser and UnblockUser command
3881 objects were added. Use the BlockUserFactory and UnblockUserFactory services
3883 * The hook UsersPagerDoBatchLookupsHook takes now a \Wikimedia\Rdbms\IDatabase,
3884 instead of \Wikimedia\Rdbms\DBConnRef, as the first parameter.
3885 * MediaHandlers can now customize the formatting of the metadata they emit by
3886 over-riding MediaHandler::formatTag( $key, $value ). The default for unknown
3887 tags is numeric formatting; non-EXIF tags which are non-numeric should always
3888 use this method to specify the desired formatting.
3889 * The new 'title' type can be used to validate action API and REST API inputs.
3890 * The new ArticleParserOptions hook allows customizing the parser options used
3891 to parse wikitext for an article, based on user preferences, title, etc.
3892 * The new 'raw' type can be used to validate action API inputs. It bypasses the
3893 Unicode NFC normalization done on inputs of type 'string', so it more suitable
3894 when the input is binary or may contain deprecated Unicode sequences or
3895 characters (such as U+2001) that should be passed unmodified.
3896 * (T260330) A new abstraction for running shell commands has been introduced,
3897 called BoxedCommand. A BoxedCommand object can be obtained with
3898 MediaWikiServices::getInstance()->getCommandFactory()->createBoxed().
3899 * ResourceLoader modules can now mark themselves as ES6-only by setting
3900 `'es6' => true` in their module definition. ES6-only modules will not be
3901 executed in browsers that don't support ES6, such as IE11.
3903 === External library changes in 1.36 ===
3905 ==== New external libraries ====
3906 * Added wikimedia/minify 2.2.2.
3907 * Added wikimedia/request-timeout 1.1.0.
3908 * Added wikimedia/shellbox 1.0.4.
3910 * Added symfony/symfony/polyfill-php80 1.23.1.
3912 ==== Changed external libraries ====
3913 * Updated composer/semver from 1.5.1 to 3.2.4.
3914 * Updated guzzlehttp/guzzle from 6.5.4 to 7.2.0.
3915 * Updated jQuery from v3.4.1 to v3.6.0.
3916 * Updated jQuery Migrate from v3.1.0 to v3.3.2.
3917 * Updated jquery.client from 2.0.2 to 3.0.0.
3918 * Updated OOUI from 0.39.3 to 0.41.3.
3919 * Updated pear/mail_mime from 1.10.8 to 1.10.9.
3920 * Updated pear/net_smtp from 1.9.1 to 1.9.2.
3921 * Updated pimple/pimple from 3.3.0 to 3.3.1.
3922 * Updated wikimedia/at-ease from 2.0.0 to 2.1.0.
3923 * Updated wikimedia/cldr-plural-rule-parser from 1.0.0 to 2.0.0.
3924 * Updated wikimedia/common-passwords from 0.2.0 to 0.3.0.
3925 * Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1.
3926 * Updated wikimedia/html-formatter from 1.0.2 to 3.0.1.
3927 * Updated wikimedia/ip-set from 2.1.0 to 3.0.0.
3928 * Updated wikimedia/ip-utils from 1.0.0 to 3.0.2.
3929 * Updated wikimedia/less.php from 3.0.0 to 3.1.0.
3930 * Updated wikimedia/object-factory from 2.1.0 to 3.0.0.
3931 * Updated wikimedia/php-session-serializer from 1.0.7 to 2.0.0.
3932 * Updated wikimedia/remex-html from 2.2.0 to 2.2.2.
3933 * Updated wikimedia/utfnormal from 2.0.0 to 3.0.2.
3934 * Updated wikimedia/wait-condition-loop from 1.0.1 to 2.0.1.
3935 * Updated wikimedia/xmp-reader from 0.7.0 to 0.8.1.
3937 ===== Changed development-only external libraries =====
3938 * Updated composer/spdx-licenses from 1.5.3 to 1.5.4.
3939 * Updated doctrine/dbal from 2.10.2 to 3.0.0.
3940 * Updated doctrine/sql-formatter from 1.1.0 to 1.1.1.
3941 * Updated mediawiki/mediawiki-phan-config from 0.10.2 to 0.10.6.
3942 * Updated monolog/monolog from 1.25.3 to 2.2.0.
3943 * Updated nikic/php-parser from 4.4.0 to 4.10.2.
3944 * Updated psy/psysh from 0.10.4 to 0.10.5.
3945 * Updated seld/jsonlint from 1.7.1 to 1.8.3.
3946 * Updated symfony/yaml from ~3.4|~4.3|~5.0.5 to ~3.4|~5.1.
3947 * Updated wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0.
3949 ==== Removed external libraries ====
3950 * The html5shiv library has been removed, as support for Internet Explorer 8 has
3952 * The wikimedia/avro suggested development-only library has been removed, as the
3953 support for logging in Avro format has been dropped.
3955 === Bug fixes in 1.36 ===
3956 * (T190285) ApiEditPage module used to switch 'undo' and 'undoafter' parameters,
3957 if it founds you reversed them (based on assumption that higher revision ID
3958 indicates a later revision). The assumption is not always true, and is
3959 hindering proper edit undoing in some cases, hence the logic has been removed.
3960 Reversing the parameters will now lead to edit conflict or undefined behavior.
3961 * (T263340) In history merging, pages with a content model that does not support
3962 redirects will now be recorded as deleted if no revision is being left in the
3963 source page (that's if all revisions of the page have been merged to another).
3965 === Action API changes in 1.36 ===
3966 * (T269636) `Access-Control-Max-Age` was added to the default list of headers
3967 allowed for cross-origin API requests ($wgAllowedCorsHeaders).
3968 * (T258108) Accounts with the 'bot' right no longer have pages automatically
3969 added to the watchlist when making API edits, regardless of their preferences.
3970 This is to reduce the size of the watchlist data in the database. To add API
3971 bot edits to the watchlist, explicitly set the 'watch' option.
3973 === Languages updated in 1.36 ===
3974 MediaWiki supports over 350 languages. Many localisations are updated regularly.
3975 Below only new and removed languages are listed, as well as changes to languages
3976 because of Phabricator reports.
3978 * (T258975) Added a Latin/Cyrillic script converter for the Talysh language.
3979 * (T245359) Split Bali script locale from "ban" (Balinese) (ban-bali).
3980 * (T264582) Added language support for Madurese (mad).
3981 * (T259330) Added language support for Mara (mrh).
3982 * (T263968) Added language support for Nias (nia).
3983 * (T270365) Added language support for Tyap (kcg).
3984 * (T276745) Added language support for Wayuu (guc).
3986 === Breaking changes in 1.36 ===
3987 * Grade C (non-JavaScript) support for Internet Explorer 8 has been dropped.
3988 * (T249459) wfIsBadImage(), deprecated in 1.34, has been removed.
3989 * (T176526) EditPage::getContextTitle() will now throw an exception if a context
3990 title was not set using setContextTitle(). Previously, this mis-use would only
3991 cause a deprecation warning to be emitted.
3992 * The DeferredStringifier class, deprecated since 1.31, was removed.
3993 * Multiple methods that fell back to the $wgUser global variable were
3994 individually hard deprecated previously. The following have now been removed:
3995 - ApiTestCase::doLogin
3996 - Article::doDeleteArticle
3997 - Article::doDeleteArticleReal
3998 - Article::getComment
3999 - Article::getCreator
4001 - Article::getUserText
4002 - Article::insertProtectNullRevision
4004 - File::recordUpload
4005 - ForeignDBFile::delete
4006 - ForeignDBFile::recordUpload
4008 - LocalFile::deleteOld
4009 - LocalFile::recordUpload
4010 - PageArchive::undelete
4011 - RecentChange::markPatrolled
4012 - Title::getUserPermissionsErrors
4013 - Title::quickUserCan
4015 - WebRequest::getLimitOffset
4016 - WikiPage::doDeleteArticle
4017 - WikiPage::insertProtectNullRevision
4018 * The SpecialPageFactory class, deprecated in 1.32, has been removed. Use the
4019 SpecialPageFactory service instead.
4020 * Multiple methods previously had optional User parameters, with fallbacks
4021 to the $wgUser global variable. Not passing a User to those methods was
4022 previously hard deprecated, and support for not passing a User has now
4024 - ArchivedFile::userCan
4026 - FileDeleteForm::__construct
4027 - FileDeleteForm::doDelete
4028 - LocalFileDeleteBatch::__construct
4029 - LogEventsList::getExcludeClause (only needed for the 'user' audience)
4030 - LogEventsList::userCan
4031 - LogEventsList::userCanBitfield
4032 - LogEventsList::userCanViewLogType
4033 - LogPage::addEntry (also accepts user id instead)
4034 - OldLocalFile::userCan
4036 - Title::getNotificationTimestamp (though the entire method is deprecated)
4037 - WikiPage::getComment (only needed for the FOR_THIS_USER audience)
4038 - WikiPage::getCreator (only needed for the FOR_THIS_USER audience)
4039 - WikiPage::getUser (only needed for the FOR_THIS_USER audience)
4040 - WikiPage::getUserText (only needed for the FOR_THIS_USER audience)
4041 * The following hooks have been removed:
4042 - APIQueryInfoTokens
4043 - APIQueryRecentChangesTokens
4044 - APIQueryRevisionsTokens
4045 - APIQueryUsersTokens
4046 - ApiTokensGetTokenTypes
4047 * LogEventsList::typeAction previously accepted an optional right parameter, and
4048 checked if the context user ($wgUser) had that right. Passing a right was hard
4049 deprecated in 1.35, and support for passing a right has now been removed.
4050 * WikiPage::doDeleteArticleReal previously accepted an optional user as its
4051 fifth parameter, and fell back to $wgUser if not user was provided. The
4052 signature changed to have the user as the second parameter, and the old
4053 signature was hard deprecated in 1.35. Support for the old signature has now
4055 * User::addNewUserLogEntry, deprecated since 1.27, was removed.
4056 * As part of refactoring the EditPage class, EditPage::setPreloadedContent,
4057 which had no known callers was removed entirely. Additionally, the following
4058 public methods were made private:
4059 - ::extractSectionTitle
4060 - ::getSummaryInputWidget
4061 - ::noSuchSectionPage
4063 * EditPage::matchSpamRegex and ::matchSummarySpamRegex, deprecated in 1.35,
4064 were removed. Use the SpamChecker service instead.
4065 * The global function `wfWaitForSlaves`, deprecated in 1.27 and hard-deprecated
4066 in 1.35, has been removed. Use LBFactory::waitForReplication() instead.
4067 * Calling Action::factory() with null as the first parameter, rather than a
4068 string, was deprecated in 1.35 and support was now removed.
4069 * Calling Action::factory() with an object that wasn't an Article as the second
4070 parameter was deprecated in 1.35 and support was now removed.
4071 * The global variable $wgMemc, deprecated since 1.35, has been removed. Usage
4072 should generally be migrated to WANObjectCache, or if you really need the
4073 internal object, use ObjectCache::getLocalClusterInstance instead.
4074 * The preprocessDump.php maintenance script was removed.
4075 * CategoryFinder, which was deprecated in 1.31 and hard-deprecated in 1.35,
4077 * GenderCache::singleton(), which was deprecated in 1.28 and hard-deprecated
4078 in 1.35, has been removed.
4079 * Sanitizer::escapeId(), deprecated in 1.30, has been removed.
4080 * Direct invocation of Parser::__construct() (instead of via a ParserFactory)
4081 now throws an exception; support has also been removed for several
4082 deprecated variants on the arguments passed to Parser::__construct.
4083 Direct invocation of Parser::__construct was deprecated in 1.34.
4084 * Parser::setFunctionTagHook(), deprecated in 1.35, has been removed.
4085 * The following properties of Parser, deprecated in 1.35, have been made
4087 - $mTagHooks - use Parser::getTags()
4088 - $mFunctionHooks - use Parser::getFunctionHooks()
4089 - $mOutput - use Parser::getOutput()
4090 - $mPreprocessor - use Parser::getPreprocessor()
4091 * The ParserBeforeTidy hook, deprecated in 1.35, has been removed.
4092 * The ParserBeforeTidy, ParserBeforeStrip, and ParserAfterStrip hooks,
4093 deprecated in 1.35, have been removed.
4094 * All methods of MWTidy except for MW::tidy() have been removed. These were each
4095 either marked as @internal or deprecated in 1.35.
4096 * (T248062) Mixins `.background-image-svg()` and `.background-image-svg-quick()`
4097 (provided by mediawiki.mixins.less), which have been deprecated since 1.35,
4098 have now been removed. MediaWiki no longer supports any browser which would
4099 require this SVG-fallback PNG support, so you can simply use the regular CSS
4100 `background-image:` declaration instead.
4101 * The ResourceLoader module `mediawiki.legacy.oldshared` and its file
4102 'oldshared.css', deprecated since 1.35 has been removed (T248357).
4103 * `ResourceLoader::__construct` now requires a Config parameter. The optional
4104 nature of this parameter was deprecated in 1.34.
4105 * The LinkBegin and LinkEnd hooks, deprecated in 1.28, have been removed. You
4106 can instead use the HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
4107 hooks, respectively.
4108 * The EmailUser hook passes its fifth param, $error, by reference, to allow
4109 hook handlers to add error messages, indicate that they have sent the email
4110 instead of core, etc. Setting the parameter to something other than a
4111 Status object, true, false, an empty string, an array, or a MessageSpecifier,
4112 object, which had been deprecated in 1.29, is no longer supported, and now
4113 results in an MWException being thrown.
4114 * Skin::getDynamicStylesheetQuery(), deprecated in 1.32, has been removed. You
4115 should use action=raw&ctype=text/css directly.
4116 * Skin::makeI18nUrl(), deprecated in 1.35, has been removed.
4117 * The following User methods, deprecated and moved to BlockManager in 1.34, were
4119 - ::isDnsBlacklisted
4121 - ::isLocallyBlockedProxy
4122 - ::trackBlockWithCookie
4123 * Support for v1 of the parser tests file format has been removed; it was
4124 deprecated in 1.35. (T174199)
4125 * SpecialUnblockUser::processUIUnblock() now returns a Status object instead of
4126 an array of messages or a boolean value. This function was also marked as
4127 @internal and is no longer safe to call it publicly.
4128 * mw.Title.getDotExtension() from the 'mediawiki.Title' module was removed
4129 without deprecation. You should use mw.Title.getExtension() and prepend the
4131 * Profiler::getTemplated and Profiler::setTemplated, deprecated in 1.34, have
4133 * DatabaseMysqlBase now requires MySQL version 5.6.4+ when "lagDetectionMethod"
4134 is set to "pt-heartbeat".
4135 * Removed HookContainer::getOriginalHooksForTest() without deprecation. This
4136 method was introduced in 1.35 for internal use, and appears unused outside of
4138 * ParserCache::__construct() now requires three parameters.
4139 * Message->getFormat(), deprecated in 1.29, has been removed.
4140 * Support for passing Article to ParserCache::get, deprecated in 1.35, has been
4142 * ParserCache::singleton(), deprecated in 1.30, has been removed.
4143 * DatabaseBlock::deleteIfExpired and ::fromMaster, deprecated in 1.35, have been
4145 * Some deprecated AbstractBlock methods have been removed:
4146 - ::prevents, deprecated in 1.33
4147 - ::shouldTrackWithCookie, deprecated in 1.34
4148 - ::getBlocker, deprecated in 1.35
4149 - ::setBlocker, deprecated in 1.35
4150 - ::getBlockErrorParams, deprecated in 1.35
4151 * Multiple DatabaseBlock methods dealing with cookies, deprecated in 1.34,
4156 - ::getIdFromCookieValue
4157 - ::shouldTrackWithCookie
4158 * The public static callback function SpecialUnblock::processUIUnblock has been
4159 removed. This method was for internal use only, and appears unused outside of
4161 * ChangeTags::truncateTagDescription, deprecated in 1.35, has been removed.
4162 * Deprecated null fallbacks in PasswordReset constructor have been removed.
4163 * User::isEveryoneAllowed and User::getAllRights, deprecated in 1.34, has been
4165 * The following methods of the UserGroupMembership class, deprecated in 1.35,
4168 - ::newFromRow - use UserGroupManager::newGroupMembershipFromRow
4169 - ::selectFields - use UserGroupManager::getQueryInfo
4170 - ::delete - use UserGroupManager::removeUserFromGroup
4171 - ::insert - use UserGroupManager::addUserToGroup
4172 - ::purgeExpired - use UserGroupManager::purgeExpired
4173 - ::getMembershipsForUser - use UserGroupManager::getUserGroupMemberships
4174 - ::getMembership - use UserGroupManager::getUserGroupMemberships
4175 * The public static callback function SpecialBlock::validateTargetField has been
4176 removed. This method was for internal use only, and appears unused outside of
4178 * The public static callback function SpecialUploadStash::tryClearStashedUploads
4179 has been removed. This method was for internal use only, and appears unused
4180 outside of MediaWiki core.
4181 * SpecialComparePages::showDiff() ::revOrTitle(), ::checkExistingTitle(), and
4182 ::checkExistingRevision() were marked as @internal to allow for breaking
4183 changes. They are no longer safe to call. The methods were unused outside of
4185 * Each special page within core now uses service injection via it constructor.
4186 When extending these special pages, a call to the grandparent constructor
4187 (`SpecialPage::__construct()`) in the sub-class would now break the derived
4188 special page, as the fallback code in the parent constructor cannot set the
4189 services as needed. Be sure to call the parent constructor when extending
4190 core special pages. Extending core's special pages is not part of the stable
4191 interface, and should generally be avoided.
4192 * Language::getExtraUserToggles and ::viewPrevNext, deprecated in 1.34, have
4194 * StreamFile::send404Message and ::parseRange, deprecated in 1.34, have been
4196 * SVGMetadataExtractor class, deprecated in 1.34, has been removed.
4197 * ProcessCacheLRU class, deprecated in 1.32, has been removed.
4198 * wfForeignMemcKey(), deprecated in 1.35, has been removed.
4199 * LoadBalancer::safeWaitForMasterPos(), deprecated in 1.34, has been removed.
4200 * JobQueue::factory() now requires its `idGenerator` option. The optional
4201 nature of this option was deprecated in 1.35.
4202 * ApiFeedRecentChanges::getFeedObject has been changed to private, and appears
4203 unused outside of MediaWiki core.
4204 * Skin::subPageSubtitle() has been changed to private method. Callers should
4205 use Skin::prepareSubtitle().
4206 * RevisionDeleter::checkRevisionExistence was removed without deprecation.
4207 It had no known callers.
4208 * wfForeignMemcKey() and wfMemcKey(), deprecated in 1.35, have been removed.
4209 * MediaWiki now also requires the php-intl extension.
4210 * BotPassword::save() now returns a Status object for the result rather than
4212 * The methods in CoreTagHooks have been marked @internal and type hints have
4213 been added. The methods appeared to be unused outside of MediaWiki core.
4214 * SquidPurgeClient and SquidPurgeClientPool, deprecated since 1.35, have been
4216 * Several methods on WikiPage will now throw an exception when called on a
4217 WikiPage instance that where constructed on a title that does not refer to a
4218 proper page (but rather a special page or interwiki link). The behavior was
4219 previously undefined and could in some cases lead to data corruption. Affected
4220 methods are: getId(), insertOn(), newPageUpdater(), doUpdateRestrictions(),
4221 doDeleteArticleReal(), doRollback(), and doEditContent().
4222 * The ParserTestRunner no longer invokes the ParserTestTables hook. Instead, it
4223 clones all database tables before running tests, like MediaWikiIntegrationTest
4224 does. If an extension was mis-using the hook to *exclude* tables from the
4225 clone, that will no longer occur, and tests may fail.
4226 * The following classes, which were only loaded for tests and had no uses found
4227 in public MediaWiki-related git, were removed:
4230 * Passing Title as a second parameter to RevisionStore::getPreviousRevision and
4231 getNextRevision, hard deprecated since 1.31, was prohibited.
4232 * (T275619) Maintenance::hasOption and Maintenance::getOption now behave as
4233 documented and are not altered by previous calls to these methods.
4234 * The internal class FirejailCommand was removed.
4235 * Command::execute() now returns a Shellbox\Command\UnboxedResult instead of a
4236 MediaWiki\Shell\Result. Any type hints should be updated.
4237 * WikiPage::$mIsRedirect was removed.
4238 * ObjectCache::detectLocalServerCache(), deprecated in 1.35, was removed.
4239 * The following functions from the Title class have been removed:
4240 - countRevisionsBetween
4242 * The PageProps class was converted to a service. PageProps::overrideInstance
4243 was removed, and MediaWikiServices::redefineService should be used
4245 * Support for creating a MediaWikiTitleCodec object without the InterwikiLookup
4246 and NamespaceInfo services, deprecated in 1.34, was removed. Note that the
4247 MediaWikiTitleCodec class is not @newable or @stable to create, and should
4248 be retrieved from MediaWikiServices instead.
4249 * The $wgContLang variable, deprecated in 1.32, was removed. You can instead use
4250 MediaWikiServices::getInstance()->getContentLanguage().
4251 * User::clearAllNotifications(), hard deprecated in 1.35, was removed. Use
4252 WatchlistManager::clearAllUserNotifications() instead.
4253 * DatabaseBlock::getBlocker can return any UserIdentity instance, not just User.
4254 * MediaWiki::triggerJobs(), deprecated in 1.34, was removed.
4255 * The following Article methods, deprecated in 1.35, were removed:
4265 - getAutoDeleteReason
4270 - getDeletionUpdates
4271 - getHiddenCategories
4282 - hasViewableContent
4285 - insertRedirectEntry
4294 - prepareContentForEdit
4295 - protectDescription
4296 - protectDescriptionLog
4297 - replaceSectionAtRev
4298 - replaceSectionContent
4300 - shouldCheckParserCache
4302 - triggerOpportunisticLinksUpdate
4303 - updateCategoryCounts
4307 - doUpdateRestrictions
4308 - updateRestrictions
4312 * The monolog-based logging system has dropped the Avro format. Because of this,
4313 the AvroFormatter class and the AvroValidator utility class have been removed
4314 without deprecation.
4315 * AbstractBlock::$mReason, deprecated in 1.34, was removed.
4316 Use AbstractBlock::getReasonComment and AbstractBlock::setReason instead.
4318 === Deprecations in 1.36 ===
4319 * (T278026) The DB_MASTER constant has been deprecated in favour of DB_PRIMARY.
4320 * (T245963) User::getGrantName() is now hard deprecated and will be removed in
4321 a subsequent release. Use MWGrants::grantName() instead.
4322 * wfIncrStats() is now deprecated. Use MediaWikiServices::getInstance()
4323 ->getStatsdDataFactory()->updateCount() instead.
4324 * WikiPage::doEditContent() is now deprecated. Use
4325 WikiPage::doUserEditContent() instead. Note that doEditContent() was also
4326 deprecated in 1.32 for unrelated reasons and doUserEditContent() is
4327 deprecated for other reasons, however, using doUserEditContent() is
4328 recommended over using doEditContent().
4329 * WikiPage::doUserEditContent() is now deprecated. Use
4330 PageUpdater::saveRevision instead. Note that the new method expects callers
4331 to take care of checking EDIT_MINOR against the minoredit right, and to apply
4332 the autopatrol right as appropriate.
4333 * LocalFile::recordUpload2, soft deprecated in 1.35, now emits deprecation
4334 warnings. Use ::recordUpload3 instead.
4335 * Constructing a new instance of the ParserOptions class without providing
4336 a User object, which falls back to the global $wgUser, is now deprecated.
4337 * The User class, which was marked as @newable in 1.35, is no longer newable,
4338 meaning that it is no longer safe to manually call the constructor via
4339 `new User`. Instead, use the UserFactory service. Additionally, the
4340 following static constructor methods were deprecated in favor of using the
4341 UserFactory service:
4344 - User::newFromActorId
4345 - User::newFromIdentity
4346 - User::newFromAnyId
4347 - User::newFromConfirmationCode
4348 * The following User methods have been hard deprecated in favor of the new
4349 UserEditTracker service:
4350 - User::getFirstEditTimestamp
4351 - User::getLatestEditTimestamp
4352 * The confusingly-named User->isLoggedIn() method has been deprecated in favour
4353 of the method it wraps, User->isRegistered().
4354 * Use of the `preprocessor=Preprocessor_DOM` option in parser test files has
4355 been deprecated. Preprocessor_DOM was removed in 1.35.
4356 * ParserOptions::setTidy() has been deprecated. It has had no effect since
4358 * Sanitizer::escapeIdReferenceList() has been deprecated; it will eventually
4359 be made private to the class, as it appears to have no uses outside the
4361 * Sanitizer::hackDocType() is deprecated; it will eventually be made private.
4362 * Skin::getIndicatorsHTML() is deprecated. The functionality can be retained
4363 by reimplementing the method using the raw indicators data from
4364 OutputPage::getIndicators.
4365 * Skin::makeVariablesScript() has been deprecated. Use
4366 ResourceLoader::makeInlineScript() instead.
4367 * SpecialPageFactory::getRestrictedPages() has been deprecated.
4368 Use SpecialPageFactory::getUsablePages() instead.
4369 * Title::nameOf() is deprecated; use Title::newFromID()->getPrefixedDBkey()
4371 * DatabaseBlock::insert, DatabaseBlock::update, DatabaseBlock::purgeExpired and
4372 DatabaseBlock::delete are deprecated. Use DatabaseBlockStore::insertBlock,
4373 DatabaseBlockStore::updateBlock, DatabaseBlockStore::purgeExpiredBlocks and
4374 DatabaseBlockStore::deleteBlock instead.
4375 * SpecialBlock::getTargetAndType and AbstractBlock::parseTarget are deprecated.
4376 Call BlockUtils::parseBlockTarget instead.
4377 * SpecialUnblock::processUnblock was deprecated - use UnblockUserFactory
4379 * Deprecated MediaWikiIntegrationtestCase::removeTemporaryHook() in favor of
4380 MediaWikiIntegrationtestCase::clearHook().
4381 * Skin::getSearchLink(), also exposed as 'searchaction' option in SkinTemplate,
4382 has been deprecated. Use Title or SpecialPage methods directly.
4383 * Skin::getAllowedSkins and ::getSkinNames have been deprecated. Use their
4384 respective equivalents in SkinFactory instead.
4385 * The RollbackComplete hook has been deprecated, use the PageSaveComplete hook
4387 * Skin::makeUrl() has been deprecated. Title methods should be used instead.
4388 * Skin::privacyLink(), Skin::disclaimerLink() and Skin::aboutLink() have been
4389 deprecated. Please use Skin::footerLink() instead.
4390 * Skin::getLogo() has been deprecated. Use ResourceLoaderSkinModule instead.
4391 * The module `mediawiki.toc.styles` has been replaced by
4392 ResourceLoaderSkinModule. If you are having problems styling table of contents
4393 ensure you have an updated skin.
4394 * Skin::mainPageLink() has been deprecated. Use LinkRenderer service instead.
4395 * BaseTemplate::getToolbox() method has been hard deprecated. The toolbox data
4396 is now available in a sidebar data array which you can get from any class
4397 that's extending QuickTemplate class.
4398 * Constructing a DefaultPreferencesFactory, LinkHolderArray or PasswordReset
4399 without a $hookContainer parameter is deprecated.
4400 * Autopromote class, soft deprecated since 1.35, now emits deprecation warnings.
4401 Use UserGroupManager instead.
4402 * SpecialBlock::canBlockEmail has been deprecated. Please use
4403 BlockPermissionChecker::checkEmailPermissions instead.
4404 * SpecialBlock::checkUnblockSelf has been deprecated. Please use
4405 BlockPermissionChecker::checkBlockPermissions instead.
4406 * SpecialBlock::parseExpiryInput was deprecated - use
4407 BlockUser::parseExpiryInput instead.
4408 * SpecialBlock::validateTarget has been deprecated, use BlockUtils instead.
4409 * SpecialBlock::validateTargetField has been deprecated for external use,
4410 use BlockUtils instead.
4411 * SpecialPage::getLanguageConverter has been deprecated, use
4412 LanguageConverterFactory::getLanguageConverter() directly.
4413 * ParserCache::getKey has been deprecated. Use ParserCache::getMetadata and
4414 ParserCache::makeParserOutputKey instead.
4415 * The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4,
4416 was removed. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
4418 * The PHPUnit6And8Compat class, used to provide compatibility with PHPUnit 6,
4419 was removed without deprecation. This class was introduced during the
4420 upgrade to PHPUnit 8, but never used.
4421 * MediaWikiIntegrationTestCase::assertType, hard-deprecated in 1.35 due to
4422 incompatibility with PHPUnit 8, was removed.
4423 * ParserCache::getETag has been deprecated, instead build suitable etag
4425 * The following functions from the Language class have been hard deprecated
4426 and will be removed in a subsequent release:
4429 - updateConversionTable
4431 * The following functions from the Title class have been hard deprecated:
4432 - getPreviousRevisionID
4434 - getEarliestRevTime
4435 * The following functions from the User class have been hard deprecated:
4438 * The mw.language.commafy client-side method has been deprecated, to match
4439 the deprecation of Language::commafy. Use mw.language.convertNumber
4441 * The "es6-promise" module has been deprecated. Use "es6-polyfills" instead.
4442 * Title::isDeleted() and Title::isDeletedQuick() have been deprecated. Please
4443 use Title::getDeletedEditsCount() and Title::hasDeletedEdits() instead.
4444 * Article::getContentObject, soft-deprecated since 1.32, was hard-deprecated.
4445 * WikiRevision::importUpload, soft-deprecated since 1.31, was hard-deprecated.
4446 * Html::infoBox() has been deprecated. There's no replacement.
4447 * Message::toString() without a $format parameter, soft-deprecated since 1.28,
4448 was hard-deprecated. Use explicit formatting methods instead, such as
4449 Message::text() and Message::escaped().
4450 * BagOStuff::makeKeyInternal() usage outside of BagOStuff has been deprecated.
4451 * BagOStuff::setDebug() is deprecated and calls to it are ignored. Debug logs
4452 are now unconditionally enabled.
4453 * The following global functions have been hard deprecated:
4454 - wfAppendToArrayIfNotDefault
4456 - wfClearOutputBuffers
4457 - wfConfiguredReadOnlyReason
4459 - wfGetPrecompiledData
4461 * BeforeParserFetchTemplateAndtitleHook has been deprecated; replace
4462 with the new BeforeParserFetchTemplateRevisionRecord hook. (The
4463 similar ParserFetchTemplateHook was deprecated in 1.35; the new hook
4465 * The InterwikiLoadPrefix hook has been deprecated; it is not compatible
4466 with future wikitext parsers (which need to enumerate all interwiki
4467 prefixes). In test cases please use $wgInterwikiCache instead.
4468 * WikiPage instances should no longer be constructed for titles that do not
4469 represent editable pages (e.g. special pages). WikiPages were always
4470 documented to represent "MediaWiki article and history".
4471 * Skin::getSkinStylePath() has been deprecated. Please replace usages with
4472 the direct path to the resources.
4473 * The second argument of EnhancedChangesList::getDiffHistLinks, $query, has
4475 * The ParserTestTables hook has been deprecated; it is no longer necessary
4476 after a ParserTestRunner refactoring.
4477 * The following classes have been hard deprecated: CachedAction,
4478 SpecialCachedPage, CacheHelper, ICacheHelper. They were unused in MediaWiki
4479 ecosystem, so no replacement was provided.
4480 * The ProtectionForm::buildForm hook has been deprecated. Please use the
4481 ProtectionFormAddFormFields hook instead.
4482 * RevisionStore::newMutableRevisionFromArray has been hard deprecated. Instead,
4483 MutableRevisionRecord should be constructed directly via constructor.
4484 * UserIdentity::getActorId() is deprecated. The actor ID should not be exposed
4485 to application logic. Storage layer code should use the ActorNormalization
4486 service for normalizing and denormalizing user names.
4487 * Constructing a UserIdentityValue with an actor ID as the third parameter is
4488 deprecated. The parameter should be omitted. Storage layer code should use
4489 the ActorNormalization service for normalizing and denormalizing user names.
4490 * Command::cgroup() is deprecated and no longer functional. $wgShellCgroup is
4491 now implemented as an Executor option.
4492 * Command::restrict() is deprecated. Instead use the new separate accessors.
4493 * MWTidy::tidy() is deprecated. Use MediaWikiServices::getTidy()-tidy() instead.
4494 * TidyDriverBase::supportsValidate() is deprecated; it has always returned
4496 * WatchedItem::getUser hard-deprecated in favor of ::getUserIdentity.
4497 * WatchedItemStoreInterface::enqueueWatchlistExpiryJob was hard deprecated in
4498 favor of the new method maybeEnqueueWatchlistExpiryJob that takes care of
4499 relevant configuration checks.
4500 * LogEntry::getPerformer() and its implementations have been hard-deprecated, in
4501 favor of ::getPerformerIdentity().
4502 * AuthManager::singleton(), deprecated in 1.35, is hard deprecated. Use
4503 MediaWikiServices::getAuthManager() instead.
4504 * User::clearNotification(), deprecated in 1.35, is hard deprecated. Use
4505 WatchlistManager::clearTitleUserNotification() instead.
4506 * Passing string to DatabaseBlock::setBlocker was deprecated. Only UserIdentity
4508 * DatabaseBlock constructor 'byText' option was deprecated in favour of 'by'
4509 option, which now accepts UserIdentity. Passing user ID is deprecated.
4510 * Parser::getUser was deprecated. Use Parser::getUserIdentity instead.
4511 * DatabaseBlock::isWhitelistedFromAutoblocks was deprecated. Use
4512 DatabaseBlock::isExemptedFromAutoblocks instead.
4513 * User::isIPRange(), deprecated in 1.35, is hard deprecated.
4514 Use the UserNameUtils service or IPUtils directly.
4515 * BaseTemplate::getFooterIcons(), deprecated in 1.35, is hard deprecated. Read
4516 footer icons from template data requested via $this->get('footericons').
4517 * `box-shadow()` LESS mixin from mediawiki.mixins is deprecated due to updated
4518 basic browser support. Use unprefixed property `box-shadow:` instead.
4519 * MergeHistory::checkPermissions was deprecated. Use ::probablyCanMerge or
4520 ::authorizeMerge instead.
4521 * User::isValidUserName(), deprecated in 1.35, is hard deprecated.
4522 Use the UserNameUtils service instead.
4523 * The TitleArrayFromResult hook has been deprecated.
4524 * The EditPageBeforeEditToolbar hook has been deprecated; it has become
4525 defunct after the classic edit toolbar was removed. Use one of the many
4526 other EditPage hooks instead.
4527 * Deprecated the class name MediaWiki\User\WatchlistNotificationManager; use
4528 MediaWiki\Watchlist\WatchlistManager instead. Deprecated the method
4529 MediaWikiServices->getWatchlistNotificationManager(); use
4530 MediaWikiServices->getWatchlistManager() instead.
4531 * The "ArticleEditUpdatesDeleteFromRecentchanges" hook, deprecated in 1.35, has
4532 been removed. Other hooks like "RecentChange_save" can be used instead.
4534 === Other changes in 1.36 ===
4535 * The 'tidy' key in ParserOptions (used in the parser cache) has been removed.
4536 It has had no effect since 1.35.
4537 * A future release of MediaWiki will make `{{=}}` a built-in parser function,
4538 for use when automatically escaping the `=` character in template arguments.
4539 A tracking category and parser warning have been added to this release when
4540 `{{=}}` is used and it expands to something other than `=`.
4541 * The implementation of TestFileReader::read has been changed to use Parsoid's
4542 parser test file parser. This should be compatible with existing code, but it
4543 only supports version 2 of the test file specification and may be more strict
4544 when parsing invalid input, including duplicate tests.
4545 * BeforeParserFetchTemplateRevisionRecord, a new hook, unifies and replaces the
4546 old BeforeParserFetchTemplateAndtitleHook and ParserFetchTemplateHook.
4547 * The SkinLessImportPaths attribute was added, allowing skins to add a directory
4548 to the import path for LESS stylesheets. Skins can use this to provide a
4549 custom version of mediawiki.skin.variables.less, setting skin-specific values
4550 for certain LESS variables.
4551 * The interaction between ContentHandler::getParserOutputForIndexing() and
4552 ContentHandler::getDataForSearchIndex() has been clarified (the latter should
4553 only be called with the result of the former). Extensions may override
4554 getParserOutputForIndexing() to skip generating HTML, which may improve
4555 indexing performance. (The default implementation still generates HTML, and
4556 getDataForSearchIndex() implementations can still rely on it if they do not
4557 over-ride getParserOutputForIndexing().)
4558 * Article::fetchContentObject, ::mContentObject, ::mContentLoaded,
4559 ::mRevIdFetched, all deprecated since 1.32, were removed.
4560 * Article::mParserOptions and ::setParserOptions were removed.
4561 * Article and ImagePage::getEmptyPageParserOutput, unused, were removed.
4562 * ParserCache's default serialization format was changed from PHP serialization
4563 to JSON serialization. In case some installed extension do not support JSON
4564 yet, $wgParserCacheUseJson can be used to revert back to PHP serialization.
4565 * PermissionManager::groupHasPermission, ::getGroupPermissions and
4566 ::getGroupsWithPermission were deprecated, use GroupPermissionsLookup
4568 * WatchedItemStoreInterface now accepts PageIdentity where it accepted
4569 LinkTarget, calling with LinkTarget was deprecated.
4570 * 'movable' attribute has been added to the 'namespaces' property of
4571 extension.json schema. Extensions that define namespaces can set it to
4572 `false` to disallow moving pages in the specified namespace. Extensions
4573 should either use this or NamespaceIsMovableHook, but not both. The hook
4574 overrides the attribute.
4578 MediaWiki 1.36 requires PHP 7.3.19 or later and the following PHP extensions:
4589 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
4590 but support for them is somewhat less mature.
4592 The supported versions are:
4594 * MySQL 5.5.8 or later
4595 * PostgreSQL 9.4 or later
4596 * SQLite 3.8.0 or later
4598 == Online documentation ==
4599 Documentation for both end-users and site administrators is available on
4600 MediaWiki.org, and is covered under the GNU Free Documentation License (except
4601 for pages that explicitly state that their contents are in the public domain):
4603 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
4606 A mailing list is available for MediaWiki user support and discussion:
4608 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
4610 A low-traffic announcements-only list is also available:
4612 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
4614 It's highly recommended that you sign up for one of these lists if you're
4615 going to run a public MediaWiki, so you can be notified of security fixes.
4618 There's usually someone online in #mediawiki on irc.libera.chat.
4622 == MediaWiki 1.35.11 ==
4624 This is a security and maintenance release of the MediaWiki 1.35 branch.
4626 === Changes since MediaWiki 1.35.10 ===
4627 * Localisation updates.
4628 * (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1.
4629 * (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7
4631 * (T269636) Add Access-Control-Max-Age to $wgAllowedCorsHeaders.
4632 * (T322944) Add Authorization to default $wgAllowedCorsHeaders.
4633 * (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter.
4634 * (T297917) objectcache: avoid use of ctype_digit() in
4635 WANObjectCache::adaptiveTTL().
4636 * (T330464) Work around argument corruption bug in XMLReader::open.
4637 * (T313157) IndexPager: Also protect against $offset being 0.
4638 * (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker.
4640 == MediaWiki 1.35.10 ==
4642 This is a security and maintenance release of the MediaWiki 1.35 branch.
4644 === Changes since MediaWiki 1.35.9 ===
4645 * Localisation updates.
4646 * (T324895) MWCallbackStream: Add explicit $stream property.
4647 * Remove /images .htaccess rules that are no longer relevent.
4648 * Disable php in .htaccess of images directory as a hardening measure.
4649 * (T322583) Include missing message parameter in message.
4650 * Fix phan error when Excimer is enabled.
4651 * (T274966) tests: Make pass on php8.0.
4652 * (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0.
4653 * (T326021) Add matrix: to $wgUrlProtocols.
4654 * api/en.json: api-help-datatype-expiry add missing 'may'.
4655 * (T225218) Wait until the recent changes are updated.
4656 * (T328222) Pass empty string to strlen() if schema is null for
4658 * (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code.
4659 * (T289926) SpecialRevisionDelete: Set default of '' for wpReason.
4660 * (T155582, T328503) Fix XML dumps for content types with non-string
4662 * (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4.
4663 * (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses.
4664 * (T329198) ParamValidator: Improve paramvalidator-help-multi-max message.
4665 * (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text'
4667 * (T329484) API: Fix query+allimages user parameter description.
4668 * (T330529) SpecialEditTags: Set default of '' for wpReason.
4669 * (T330526) htmlform: Handle null from HTMLFormField::getDefault in
4671 * (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted
4674 == MediaWiki 1.35.9 ==
4676 This is a security and maintenance release of the MediaWiki 1.35 branch.
4678 === Changes since MediaWiki 1.35.8 ===
4679 * Localisation updates.
4680 * (T319000) WebInstaller: Don't try and run trim() on null.
4681 * (T320864) When calling mail(), use an array for headers.
4682 * (T311567) In ManualLogEntry, cast the comment to string.
4683 * (T323082) Upgrading wikimedia/xmp-reader (0.7.0 => 0.8.5).
4684 * Language: Handle ronna and quetta.
4685 * (T304515) LCStoreStaticArray: atomically replace the cache file.
4686 * (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2.
4687 * (T322637) SECURITY: sqlite should not create DB file world-readable.
4689 == MediaWiki 1.35.8 ==
4691 This is a security and maintenance release of the MediaWiki 1.35 branch.
4693 === Changes since MediaWiki 1.35.7 ===
4694 * Localisation updates.
4695 * (T311568) UploadBase::setTempFile() handle $tempPath being passed as null.
4696 * (T311559) SpecialListFiles: user parameter isn't always present.
4697 * (T311561) ImageListPager: Don't call htmlspecialchars() on null.
4698 * (T311920) SpecialBlockList: Prevent passing null to trim().
4699 * (T311921) SpecialUserrights: Don't pass null to str_replace.
4700 * (T311570) SpecialWithoutInterwiki: Don't pass null through to
4701 Title::capitalize().
4702 * (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser.
4703 * (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null.
4704 * (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid.
4705 * (T312302) SpecialRedirect: Don't pass null to explode.
4706 * RemoveInvalidEmails: Fix quoting for postgres.
4707 * (T312678) import: UploadSourceAdapter::stream_read() don't pass null to
4709 * (T312300) SpecialDiff: Don't pass null to explode().
4710 * (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg.
4711 * (T289926) Handle null passed to wfShorthandToInteger() and Html::element().
4712 * (T289926) Ensure that strlen() does not get passed a (valid) null.
4713 * (T312301) SpecialDiff: Don't pass null to trim().
4714 * Hooks: Use more meaningful name for SkinAfterPortlet hook parameter.
4715 * (T289926) Ensure we don't pass null to mb_strlen.
4716 * (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim()
4718 * (T289926) site: Consistently return null from Site::getDomain().
4719 * (T307304, T289879) filebackend,jobqueue: Add signature for
4720 FilterIterator::accept().
4721 * (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1.
4722 * Add application/vnd.ms-opentype to MIME list.
4723 * Allow composer/installers plugin in composer.json.
4724 * (T313663) Make HandlerTestTrait compatible with php8.1.
4725 * (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests.
4726 * Change type hints for BatchRowIterator and NotRecursiveIterator for
4727 compatibility with PHP 8.1.
4728 * (T313663) [php8] Don't use strlen on potentially null string.
4729 * (T313663) [php8.1] Suppress test warning about providing null.
4730 * (T313663) Parser will use current timestamp instead of null if passed a
4731 RevisionRecord that does not have a timestamp.
4732 * (T313663) Add explicit null check for $sha in FileBackend [php8.1].
4733 * (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1].
4734 * (T289879, T289926) Get rid of warnings on PHP 8.1.
4735 * rdbms: fix some PHP 8 warnings in Database/LoadBalancer/LBFactory.
4736 * (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat].
4737 * Fix a couple deprecation warnings in the installer under PHP 8.1.
4738 * (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1].
4739 * (T314096) Migrate use of ${var}-style string interpolation.
4740 * (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be
4742 * (T314225) SpecialCategories: Null coalescene $par.
4743 * (T314099) User: Allow dynamic properties on PHP 8.2.
4744 * (T314404) SpecialGoToInterwiki: Null coalescene $par.
4745 * (T314397) SpecialBlock: Better handle null in getTargetUserTitle.
4746 * (T314099) phpunit: Fix trivial dynamic property usages in tests.
4747 * (T314405) UploadStash: Check if us_prop is set in the fileMetadata.
4748 * (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint.
4749 * (T314551) SpecialMergeHistory: Set defaults for target and dest parameters.
4750 * api: Add rel=nofollow to help examples.
4751 * (T314824) tests: Update parser test after i18n change.
4752 * (T263927) Add autocomplete HTML attribute to common auth form fields.
4753 * (T307613) Validate length of user email on Special:ChangeEmail/
4754 Special:CreateAccount.
4755 * (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and
4756 wpNamespaceRestrictions.
4757 * (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite.
4758 * (T315892) composer.json: Pin phpunit to 8.5.28.
4759 * (T229092) MigrateActors.php: ignore duplicate creations of actors.
4760 * (T313049) Bump wikimedia/parsoid to v0.12.3.
4761 * (T317750) session: Fix broken SessionTest case due to PHPUnit dependency
4763 * (T318460) SpecialChangeEmail: Set default for returntoquery.
4764 * (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results
4765 in an IP range check on Special:Contributions.
4766 * (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence
4769 == MediaWiki 1.35.7 ==
4771 This is a security and maintenance release of the MediaWiki 1.35 branch.
4773 === Changes since MediaWiki 1.35.6 ===
4774 * Localisation updates.
4775 * (T289879) Type hints for ArrayAccess.
4776 * (T304783) TemplateParser: avoid warnings when called by NoLocalSettings.
4777 * Rebuilt vendor with composer 2.3.3.
4778 * (T289879) Address some deprecations for PHP 8.1.
4779 * Fix old_name in UserLogoutComplete hook.
4780 * (T286260, T307979) objectcache: normalize $exptime to a TTL in
4781 APCUBagOStuff/WinCacheBagOStuff.
4782 * MediaSearchWidget should declare an explicit dependency on mediawiki.user
4784 * (T288423) WikiImporter: Replace deprecated WikiRevision::setText.
4785 * (T309377, CVE-2022-29248, T311384, CVE-2022-27776) Updating guzzlehttp/guzzle
4787 * (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage().
4788 * (T311272) Call parent constructor of AddSite maintenance script first.
4789 * MediaWiki: Don't eagerly initialize action name.
4790 * (T289926) Avoid passing null to trim() in SkinTemplate.
4791 * (T307282) Avoid passing null to strcasecmp(), for PHP 8.1.
4792 * (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode().
4793 * (T311569) FileBackend::isStoragePath() Handle being passed null.
4794 * (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param.
4795 * (T311678) SpecialEditWatchlist: Prevent passing null to strtolower().
4796 * (T281741) ChangeTags: Fix adding CSS classes for hidden tags.
4797 * (T296642) changetags: Fix management of a '0' tag.
4798 * (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null.
4799 * (T303033) Handle null in ChangeTags::modifyDisplayQuery.
4801 == MediaWiki 1.35.6 ==
4803 This is a security and maintenance release of the MediaWiki 1.35 branch.
4805 === Changes since MediaWiki 1.35.5 ===
4806 * (T298261) Fix support for Composer 2.2.
4807 * (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins.
4808 * Update doctrine/dbal (3.0.0 => 3.1.5).
4809 * (T298564) MemcachedClient: Add support for IPv6.
4810 * (T297543, CVE-2022-28202) SECURITY: properly escape output used within
4811 galleries and Special:RevisionDelete.
4812 * (T268847) Suppress deprecation warnings from libxml_disable_entity_loader().
4813 * (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest.
4814 * (T274966) Upgrading wikimedia/html-formatter (1.0.2 => 2.0.1).
4815 * Fix the json schema and the extension processor for Parsoid extension modules.
4816 * (T299696) update.php: Avoid passing null to substr.
4817 * In PHP 8.1 don't throw exceptions from mysqli.
4818 * (T289926) SiteConfiguration: Don't pass null to str_replace().
4819 * (T264735) Fix deprecation warning from CURLPIPE_HTTP1.
4820 * (T260735) Stop using is_resource() where possible.
4821 * (T289879) Apply ReturnTypeWillChange to various implementations of built in
4823 * (T299312) Implement __serialize/__unserialize for PHP 8.1 support.
4824 * ExtensionRegistry: Add process cache for lazy attributes.
4825 * (T301041) ApiPageSet: Add "missing": true to missing revisions.
4826 * Allow ParsoidModules extension schema to register services.
4827 * (T297708) Allow setting max execution time to several special pages.
4828 * Upgrading wikimedia/object-factory (v2.1.0 => v2.2.0).
4829 * (T302540) composer.json: Add ext-calendar to require.
4830 * (T302540) composer.json: Add ext-simplexml to require-dev.
4831 * (T302540) composer.json: Add various PHP extensions to suggests.
4832 * Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0).
4833 * (T303871) Add Title::getId() as an alias for ::getArticleId().
4834 * (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning.
4835 * (T293576) listFiles: Display file name instead of version.
4836 * (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value.
4837 * wrapOldPasswords: add \n to two output calls.
4838 * (T304993) Make editcontentmodel a part of editpage grant.
4839 * (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion
4840 loop if it points to a local interwiki.
4841 * (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file
4842 uploads with actor as a condition can result in a DoS.
4844 == MediaWiki 1.35.5 ==
4846 This is a security and maintenance release of the MediaWiki 1.35 branch.
4848 === Changes since MediaWiki 1.35.4 ===
4849 * (T290697) Add symfony/polyfill-php80.
4850 * IcuCollation: Add some more icu to unicode version mappings.
4851 * ApiBase: Annotate deprecated constants individually.
4852 * PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy.
4853 * (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater.
4854 * (T291127) Always encode spaces in cookie values as "%20".
4855 * Use LocalFile::getHookRunner instead of LocalFile::hookRunner.
4856 * HistoryBlobStub: add getLocation() to get $mOldId.
4857 * Fix checkStorage.php.
4858 * checkStorage: pass no parameters to WikiRevision::getContent().
4859 * (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion
4861 * (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode".
4862 * (T250068) resources: Upgrade jQuery from 3.4.1 to 3.6.0.
4863 * (T250068) resources: Upgrade jquery-migrate from 3.1.0 (patched) to 3.3.2
4865 * (T294796) JobQueueRedis: Replace deprecated zSize with zCard.
4866 * (T212428, T267468) Allow populateContentTables to continue when there are
4868 * (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is
4870 * Update pear/mail_mime to 1.10.11.
4871 * Update deprecated Guzzle Psr7 function calls.
4872 * Tweak error message for missing composer dependencies.
4873 * (T296112) Allow inserting new sections named '0'.
4874 * nukeNS: don't run purgeRedundantText() after every change.
4875 * (T225888) RollbackAction: fix missing pagetitle.
4876 * (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in
4878 * (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback.
4879 * (T34716, T297416) SECURITY: Require 'read' right for most actions.
4880 * (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook
4881 when changing content model.
4883 == MediaWiki 1.35.4 ==
4885 This is a security and maintenance release of the MediaWiki 1.35 branch.
4887 === Changes since MediaWiki 1.35.3 ===
4888 * (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode.
4889 * (T283273) Make postgres IRC channel point to libera.chat.
4890 * (T289108) ExtensionProcessor: Remove loaderScripts from extension.json
4892 * (T281549) Installer: Fix mediawiki-announce auto subscription code.
4893 * FormatJson: Optimize encode() for supported PHP versions.
4894 * (T290398) renameRestrictions.php: Update protected_titles as well.
4895 * $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329
4896 form of JavaScript, 'application/javascript', as well as previous MIME types.
4897 * (T51097, T290273) resourceloader: Call getStyleFiles from
4898 FileModule::getFileHashes.
4899 * (T277788) parser: Avoid calling ParserOptions::getOption() too many times.
4900 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search.
4901 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
4903 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
4904 Special:Contributions.
4906 == MediaWiki 1.35.3 ==
4908 This is a security and maintenance release of the MediaWiki 1.35 branch.
4910 === Changes since MediaWiki 1.35.2 ===
4911 * (T259685) SQLite compatibility with ZeroConf VisualEditor was fixed in 1.35.2.
4912 * (T196906, T242751) Fix the test MonologSpiTest::testDefaultChannel.
4913 * (T279964) Parser: Trim trailing whitespace as the last step in pre-save
4915 * (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER.
4916 * (T252853) Update updateSearchIndex.php to 2006+ standards.
4917 * (T276945) Define a batch size in maintenance/manageJobs.php.
4918 * (T276945) Implement JobQueueDB::getAllAbandonedJobs.
4919 * (T269676) authevents: strval() variables passed to status when logging.
4920 * (T280944) $wgIncludejQueryMigrate - This setting allows the jQuery Migrate
4921 plugin to be disabled. It has been enabled by default since MediaWiki 1.27.
4922 * (T281584) apihelp-query+iwlinks-param-prop: s/interlanguage/interwiki/.
4923 * (T281635) Delete maintenance/cleanupAncientTables.php.
4924 * (T282133) RedisConnectionPool: Suppress phan issue.
4925 * (T281549) WebInstaller: Don't show the announce-l subscribe
4926 checkbox temporarily.
4927 * (T278266) Fix annoying E_NOTICE about undefined 'alt' index in
4928 Skin#makeFooterIcon.
4929 * (T264214) UserRightsProxy::addGroup has to be allowed to update the
4930 old group as well, which is used for granting interwiki rights.
4931 * (T269776, T278266) getFooterIcons should not return empty arrays.
4932 * (T274966) Skip AvroFormatterTest::testSchemaNotAvailable on PHP 8.0.
4933 * phpunit: fail on warnings.
4934 * (T283247) Freenode -> Libera per wikimedia moving from
4936 * (T243124) Make phpunit:unit accept extension*.json to populate the classes.
4937 * (T142663) Add extension.json merge strategy "provide_default".
4938 * (T283540) HookContainer: Fix normalization of callback for static handler.
4939 * (T283464) Fix array order for array_replace_recursive merge strategy.
4940 * (T247223) Optimise MessageCache::isMainCacheable() for the single-message
4942 * (T278579) Don't send headers on ob_end_clean().
4943 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging
4946 == MediaWiki 1.35.2 ==
4948 This is a security and maintenance release of the MediaWiki 1.35 branch.
4950 MediaWiki 1.35.2 supports Composer 2.0. It is reccommended to make sure your
4951 libraries are up to date on Composer 1.x, before running Composer 2.x.
4953 While normally running update.php isn't required for point releases,
4954 it is recommended to run it for 1.35.2 so that iwlinks.iwl_prefix is
4955 updated to take 32 characters.
4957 === Changes since MediaWiki 1.35.1 ===
4958 * (T270450) The confusingly-named User->isLoggedIn() method has been deprecated
4959 in favour of the method it wraps, User->isRegistered().
4960 * Upgrade pimple/pimple from 3.3.0 to 3.3.1 for PHP 8.0 support.
4961 * Upgrade seld/jsonlint from 1.7.1 to 1.8.3 for PHP 8.0 support.
4962 * Upgrade doctrine/dbal from 2.10.4 to 3.0.0 for PHP 8.0 support.
4963 * (T270734) Fix display of Special:Preferences URL in password reset email.
4964 * (T252774, T271441) resourceloader: Give SkinModule 'features' option an
4966 * (T271441) Unknown features shouldn't break style output.
4967 * (T264986) Make use of CURLMOPT_MAX_HOST_CONNECTIONS conditional on having
4969 * DefaultSettings.php: Update $wgPingback documentation.
4970 * Fix docs for LanguageConverter::translate.
4971 * (T272250) Don't rely on implicit string->int cast in comparison.
4972 * (T272327) Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine.
4973 * (T272328) UploadBase: Don't call MimeAnalyzer if mTempPath is null.
4974 * Remove nonfunctional default sampling for WANObjectCache metrics.
4975 * (T258851) Prevent service injection to LoadExtensionSchemaUpdates hook.
4976 * (T270852) Hooks: Map dash character to underscore when generating hook names.
4977 * (T271551, T270145) Fix fetching ipblock-exempt within
4978 BlockManager::getUserBlock.
4979 * PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0.
4980 * (T248925) Set empty closures in DatabaseTest to fix PHP 8 tests.
4981 * (T34217) rdbms: Remove outdated MySQL 4 references and fix doc URLs.
4982 * (T248925) Special:Contributions reports negative namespace error on PHP 8.
4983 * (T248925) objectcache: Fix non-numeric string check in HashBagOStuff for
4985 * (T248925) Fix CacheTime::getCacheExpiry for PHP 8.
4986 * (T259685) Allow REST API POST handlers to opt out of mandatory SQLite locking.
4987 * (T91820, T259685) MWLBFactory: rename magic HTTP header for opting out of
4989 * (T272326) Fix DeprecationHelperTest on PHP 8.
4990 * Upgrade wikimedia/less.php from 3.0.0 to 3.1.0 for PHP 8.0 support.
4991 * (T236639) OutputPage: Make $wgDebugRedirects work again.
4992 * (T274648) registration: Allow reusing cached metadata between wikis.
4993 * CdnCacheUpdate: Send full URL instead of path to Curl for purge.
4994 * Upgrade monolog/monolog from 1.25.3 to 2.2.0 for PHP 8.0 support.
4995 * FileBackend: Do not use SOCKET_ENOENT on windows.
4996 * (T275441) ApiQueryUserInfo: Allow all uiprops to be requested at once.
4997 * (T275261) Escape wikitext in the title in invalid title error messages.
4998 * (T275242) Extend iwlinks.iwl_prefix to VARBINARY(32) on MySQL.
4999 * (T246594, T270228) PHPVersionCheck: Complain about known-bad versions above
5001 * (T275824) Upgrade wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1 for
5002 Composer 2.0 support.
5003 * (T269293) Record all used options in metadata.
5004 * Allow usage of Composer 2.0 to install MediaWiki's dependencies.
5005 * (T259872) skins: Call headElement() after getTemplateData() in SkinMustache.
5006 * (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access
5007 Special:ResetTokens.
5008 * (T272412) Add "Account data" section to user preferences.
5009 * (T268310) Add list of thumbnail urls to LocalFilePurgeThumbnails hook.
5010 * (T277520) registration: Allow specifying immovable namespaces in
5012 * (T275619) Maintenance::hasOption and Maintenance::getOption now behave as
5013 documented and are not altered by previous calls to these methods.
5014 * (T254688) Remove page inner join from subquery in SpecialWhatLinksHere.
5015 * (T122124) signup: added help message for security.
5016 * (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-* messages
5017 on Special:NewFiles.
5018 * (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages on
5020 * (T277414) HTMLFormField: Use non namespaced class name rather than
5022 * (T268673) maintenance: Don't create SearchUpdate in rebuildtextindex.php
5023 for page_namespace below 0.
5024 * (T246594, T270228) Mark ParserOptionsTests skipped on PHP 7.4.0-7.4.8.
5025 * (T268230) Switch to new MediaWiki logo by Serhio Magpie.
5026 * (T271735) Expand config-pingback-help, link to privacy policy in
5028 * Fix documentation of user-global in $wgRateLimits.
5029 * BackupDumper: Add -o as shortcode for --output.
5030 * (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors.
5031 * (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection they
5032 have right to do so via action=protect.
5033 * (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in fast
5035 * (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user can
5037 * (T279451, CVE-2021-30458) SECURITY: Parsoid comment fostering allows for
5038 inserting mostly arbitrary <meta> tags.
5040 == MediaWiki 1.35.1 ==
5042 This is a security and maintenance release of the MediaWiki 1.35 branch.
5044 While normally running update.php isn't required for point releases,
5045 it is recommended to run it for 1.35.1 so that sites.site_language is
5046 updated to take 35 characters.
5048 Watchlist Expiry is no longer considered experimental, but is off by default.
5049 To enable it, set $wgWatchlistExpiry = true; in your LocalSettings.php.
5051 === Changes since MediaWiki 1.35.0 ===
5052 * (T263929) purgeList.php Fix all-namespaces option to match one used in code.
5053 * (T248719) ParserCache::get - fix wfDeprecated call.
5054 * (T261430) WatchlistExpiryWidget: Move focus to expiry dropdown after hitting
5056 * Preload mediawiki.watchstar.widgets before api request.
5057 * (T261030) ApiEditPage: Show existing watchlist expiry if status is not being
5059 * (T264502) Fix PHP 8 compat with strcspn() $length parameter exceeding string.
5060 * (T248925) Remove final modifier on private function.
5061 * (T264683) Remove ipb_anon_only from ipb_address_unique index addition.
5062 * (T261415) Add days left messages to changes-lists' clock icons.
5063 * Fix order of wfDeprecated parameters in ExternalStoreDB::getSlave.
5064 * (T261260) Preload class used in HeaderCallback.
5065 * (T260868, T260009) Normalize WatchedItem expiry field.
5066 * (T264683) Remove doTable check from (Mysql|Sqlite)Updater::indexHasFields.
5067 * (T264534) ApiPageSet: Avoid infinite loop when merging redirects.
5068 * (T196906) Empty Monolog loggers are now real blackholes.
5069 * (T258649) WatchAction: avoid UPDATE when old and new watch period is
5071 * Parser: Adjust typehint to show that getTitle can return null.
5072 * (T263592) media: Fix case of FlashPixVersion in
5073 FormatMetadata::makeFormattedData().
5074 * (T265223) BaseTemplate: Guard against passing zero arg to array_merge().
5075 * (T264965) Fix base path handling for MessagePosterModule registration.
5076 * (T252183) Fix Database::getTempTableWrites for multi table DDLs.
5077 * (T182546) Fix switch/case indentation per mediawiki coding conventions.
5078 * Flip Yoda conditionals.
5079 * (T263213) Move SkinTemplate::getFooterLinks() to Skin.
5080 * build: Updating mediawiki/mediawiki-codesniffer to 33.0.0.
5081 * (T267105) Make ImageBuilder::checkMissingImage public.
5082 * Updating guzzlehttp/guzzle (6.5.4 => 6.5.5).
5083 * (T266681) Support new style hook registration on install and update.
5084 * (T266980) Fix unsetting of copyright icon in FooterIcons.
5085 * upload.js: Don't assume that warnings array will include 'code' key.
5086 * upload.js: Fix typo in upload API.
5087 * (T264333, T190988, T266903) Pass along ignorewarnings param to all
5088 individual chunks being uploaded.
5089 * (T267558) importTextFiles.php: Replace deprecated WikiRevision:setText().
5090 * (T266418) composer.json: add requirement for composer-plugin-api ^1.1.
5091 * (T261431) Add ARIA attributes to watchlink and its notification.
5092 * (T258877) Change invalid 'Content-Encoding: none' header.
5093 * Fix trailing ; in patch-sites-site_language-35.sql.
5094 * (T248852) wfAssembleUrl: Handle empty query field in URL bits.
5095 * (T268846) Updating wikimedia/testing-access-wrapper (1.0.0 => 2.0.0).
5096 * (T268887) migrateComments: Cast array keys back to string before passing
5098 * (T266619) Introduce new $wgThumbPath config.
5099 * (T269178) MemcachedClient: Cast Resource to integer.
5100 * (T263925) Use the old HookContainer to set up the post-reset services.
5101 * Change "site cache" to just "cache" in the right-purge message.
5102 * [UploadedFileStreamTest] Skip test with chmod.
5103 * (T269710) Updating composer/semver (1.5.1 => 1.7.2).
5104 * (T269710) Updating mediawiki/mediawiki-codesniffer (33.0.0 => 34.0.0).
5105 * (T260631, T260633), BotPassword::save() now returns a Status object for the
5106 result rather than a bool. The length of the bot password grants and
5107 restriction fields are now validated, and an error will be thrown if it
5108 would be truncated by the database.
5109 * (T265778) Fix English/*nix specific error messages in FSFileBackend.
5110 * (T267543) Split dropping of image.img_user_timestamp.
5111 * [FileTest] Do not assume /tmp exists on windows.
5112 * Clean up temp files correctly after unit tests.
5113 * Skip undo related phpunit tests when diff3 is missing.
5114 * (T269964) rdbms: Remove outer parentheses in insert query for Postgres.
5115 * (T263911) In MWExceptionHandler::report(), catch all throwables.
5116 * (T268894, CVE-2020-35474) SECURITY: Use Html::element in
5117 ChangeListSpecialPage for sanity.
5118 * (T268917) Use Xml::element in SpecialUserrights for sanity.
5119 * (T268938, CVE-2020-35478, CVE-2020-35479) SECURITY: Pass escaped html
5120 to LogFormatter::makePageLink for sanity.
5121 * (T268938) Fixed mixed escaping in Language::translateBlockExpiry.
5122 * (T263911) UserOptionsManager: don't differentiate anons caches.
5123 * (T261260) HeaderCallback: pre-cache request ID.
5124 * Parsoid updated to v0.12.1.
5125 * (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log
5126 entries when MediaWiki:Mainpage uses Special:MyLanguage.
5127 * (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions
5128 and user pages of hidden users and missing users.
5129 * (T270145) Fix condition that can lead to using APCOND_BLOCKED in
5130 $wgAutopromote to cause an OOM in PHP.
5132 == MediaWiki 1.35.0 ==
5134 === Changes since MediaWiki 1.35.0-rc.3 ===
5135 * (T261258) Remove checks for ancient ImageMagick versions in BitmapHandler.
5136 * (T260232) Don't include null page ids in query list for category dumps.
5137 * (T260009) Check existing watchitem when saving action=watch.
5138 * (T259055) Correct success messages for action=watch.
5139 * mediawiki.page.ready: Simpler tablesorter/makeCollapsible call.
5140 * mediawiki.page.ready: Fix skin override config flags, wrong way round.
5141 * (T262175, T248512) Remove requirement for ApiWatchlistTrait to be in ApiBase.
5142 * (T259053, T260434) Watchlist: Fix updateWatchLink removing css class when
5144 * (T261901, T261476) mediawiki.notification: Don't close notif when clicking
5146 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
5147 * (T259452) Parsoid updated to v0.12.0.
5148 * (T261970) watch.ajax: Add expiry support to watchpage.mw event.
5149 * (T262900) Fix failure of rebuildLocalisationCache.php due to ResourceLoader
5151 * (T263014) Hard deprecate File::userCan() with $user=null.
5152 * (T262547) Use localized success message after watching via action=watch.
5153 * (T201491) Fix typo 'Watchlst' in `apihelp-edit-param-watchlistexpiry`.
5154 * (T261081) Installer: consistently reset Language objects.
5155 * (T250449, T250450) Installer: consistently reset Language objects.
5156 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
5157 * (T262934) Ensure dropdown label is always on its own line.
5158 * (T246855) resourceloader: Use a local HookRunner.
5159 * (T263604) Have findBadBlobs.php require Maintenance.php rather than
5161 * (T263606) Set fake time, to avoid flaky tests.
5162 * (T261325) Add FindMissingActors script.
5163 * (T262364) shell: Don't blacklist /run/firejail.
5164 * (T263655) NewPagesPager: Ignore nonexistent namespaces.
5165 * Update specialPageAliases and magicWords for Egyptian Arabic (arz).
5166 * (T261347) ParserOutput: don't throw on bad editsection.
5167 * (T232568, CVE-2020-25813) SpecialUserrights: If a viewer lacks `hideuser`,
5168 ignore hidden users.
5169 * (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on
5170 Special:Contributions.
5171 * (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within
5173 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
5174 firejail's --output functionality.
5175 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
5177 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
5178 mw.message( ... ).parse().
5179 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
5181 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
5182 * Add Finnish special page aliases.
5183 * Fix GuzzleHttpRequest request headers.
5184 * Fix description for pruneFileCache.php.
5185 * emptyUserGroup.php: handle more than 5000 users.
5186 * Make ApiSandbox copyable URL absolute.
5187 * (T261087) Add a link from a deleted page to that page's logs.
5189 == MediaWiki 1.35.0-rc.3 ==
5191 === Changes since MediaWiki 1.35.0-rc.2 ===
5192 * (T258662) mediawiki.visibleTimeout: Update the nextVisibleTimeoutId value.
5193 * Ensure Parsoid doesn't throw when <ref> is used w/o Cite installed.
5194 * Remove maintenance/createCommonPasswordCdb.php.
5195 * (T260468) Increase "sites.site_global_key" to varbinary(64).
5196 * (T183759) Fix shell edge-cases in Windows.
5197 * (T257879) Drop PHP 7.2 support; require 7.3.19.
5198 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global
5200 * (T246991) User: enforce pingLimiter() expiry time.
5201 * (T256831) Rest: Handle Uri constructor exception.
5202 * (T259094) Fix RequestFromGlobalsTest failing in Travis CI.
5203 * (T256831, T261344) Rest: Use try/catch to handle URIs with embedded colon.
5205 == MediaWiki 1.35.0-rc.2 ==
5207 === Changes since MediaWiki 1.35.0-rc.1 ===
5208 * (T259693) uuid: Fix filenames on Windows.
5209 * Remove Gruntfile.js and package-lock.json from the tarball.
5210 * firejail: Strengthen by copying from Wikimedia's profile.
5211 * (T260059) ResourceLoaderOOUIImageModule: loadOOUIDefinition() may return
5213 * (T30162, T245387) The installer supports using a Postgres server running
5214 on a custom port other than 5432.
5215 * (T260201) Support private wikis in Parsoid zero configuration mode.
5216 * Fix bad use of `|=` PHP bit operation where `= … ||` bool is intended.
5217 * (T259212) SpecialBlock: Show error if a block could not be inserted or found.
5218 * (T255842) UserOptionsManager: fix options reset.
5219 * (T258649) WatchAction: avoid unnecessary UPDATEs when expiry is unchanged.
5220 * (T250851) Allow skins to override mediawiki.page.ready initialisation.
5221 * (T250851) mediawiki.page.ready: Allow skins to disable search lazy load.
5222 * (T253135, T255632) Update language in watchlist expiry.
5223 * Use IPset in MWRestrictions::checkIP.
5224 * (T259564) Fix race condition on edit page.
5225 * (T260759) Hide watchlist expiry label in edit form.
5226 * mime: Fix docs of MIME_EXTENSIONS, they're arrays, not space-seperated.
5227 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
5228 * (T259379) WatchedItemStore: Cache single WatchedItems with preexisting expiry.
5229 * Add a maintenance script to create bot passwords.
5230 * (T201269) Add Traditional Chinese zh-hant as fallback for Amis (ami).
5231 * Improve wfParseUrl docs.
5232 * (T251038) Add multi index fields in ImageListPager for unique paginate.
5233 * (T259916) Guard against 'Widget not found' error.
5235 == MediaWiki 1.35.0-rc.1 ==
5237 === Changes since MediaWiki 1.35.0-rc.0 ===
5238 * (T252136) Fix RecentChanges watchlist filters when WatchlistExpiry is off.
5239 * (T258662) Update time period for watchlist expiry pop-up.
5240 * (T258443) Fix expiry dropdown not getting disabled on edit page.
5241 * (T259398) Add license information for promise-polyfill.
5242 * Remove executable bit from scripts without shebang.
5243 * (T256526) Fix bold of watched items on Special:RecentChangesLinked.
5244 * (T259060) Edit page expiry dropdown should keep state after
5246 * (T259009) Translate expiry period in pop-up message for watchlist expiry.
5247 * (T258310) Add watchlist clock icon to RecentChanges.
5248 * (T259362) Permit temporary table writes on replica DB connections.
5249 * (T250214) Add UI support in Special:EditWatchlist for watchlist expiry.
5250 * (T72470) Disable wgLegacyJavaScriptGlobals by default.
5251 * (T130906) Add Edge to MediaWiki:Clearyourcache.
5252 * (T257279) Add mediawiki.ui Less variable deprecation note.
5253 * (T249521) Fixed reassignEdits.php to work with anonymous users.
5254 * (T259448) Fix Circular dependency when creating service in
5255 DBLoadBalancerFactory.
5256 * (T257259) Default to using watchlist expiry of old page when moving pages.
5258 == MediaWiki 1.35.0-rc.0 ==
5260 == Upgrading notes for 1.35 ==
5261 1.35 requires PHP 7.3.19 or above (up from 7.2.9). (T257879)
5263 1.35 has several database changes since 1.34, and will not work without schema
5264 updates. Note that due to changes to some very large tables like the revision
5265 table, the schema update may take quite long (minutes on a medium sized site,
5266 many hours on a large site).
5268 Don't forget to always back up your database before upgrading!
5270 MediaWiki 1.35 is the next LTS after 1.31, and will be supported for around 3
5273 MediaWiki has a lot of both soft and hard deprecations, and code removed. As
5274 always, make sure your versions of extensions match the MediaWiki version,
5275 and updates may be required to any custom extensions.
5277 See the file UPGRADE for more detailed upgrade instructions, including
5278 important information when upgrading from versions prior to 1.11.
5280 Some specific notes for MediaWiki 1.35 upgrades are below:
5281 * (T259685) Zeroconf (zero-configuration) VisualEditor/Parsoid doesn't work
5282 using SQLite as the database backend for MediaWiki. This is due to the lack
5283 of write concurrency in SQLite. If you wish to use this feature, it is
5284 recommended to use MySQL/MariaDB rather than SQLite.
5286 For notes on 1.34.x and older releases, see HISTORY.
5288 === Configuration changes for system administrators in 1.35 ===
5290 * (T72470) $wgLegacyJavaScriptGlobals is now false by default. This feature
5291 will be completely removed in a later MediaWiki release.
5293 ==== New configuration ====
5294 * $wgDiffEngine — This can be used to specify the difference engine to use,
5295 rather than MediaWiki choosing the first of $wgExternalDiffEngine, wikidiff2,
5296 or php that is usable.
5297 * $wgSearchMatchRedirectPreference — This configuration setting controls whether
5298 users can set a new preference, search-match-redirect, which decides if search
5299 should redirect them to exact matches is available. By default, this is set to
5300 false, which maintains the previous behaviour without preference bloat. Change
5301 your site's default by setting $wgDefaultUserOptions['search-match-redirect'].
5302 * $wgPoolCounterConf['SpecialContributions'] — Per-user concurrency in the use
5303 of SpecialContributions can now be limited by setting this appropriately.
5304 * $wgPasswordPolicy — PasswordCannotBeSubstringInUsername is a new password
5305 policy check. Similar to the existing PasswordCannotMatchUsername check, this
5306 check ensures that a user's (case-insensitive) password cannot be a part of
5307 their username. e.g. password = MyPass, username = ThisUsersPasswordIsMyPass.
5308 * $wgLogos — This new configuration setting combines the now-deprecated $wgLogo
5309 and $wgLogoHD settings into a single, associative array. It provides support
5310 for a new key, 'wordmark', for setting a horizontal wordmark to show next to
5311 the graphical logo. To do this, set 'wordmark' to an array with 'src' set to
5312 the path of the wordmark image, and 'width' and 'height' for its dimensions
5313 in pixels. $wgLogos inherits the existing support provided by its predecessor
5314 settings: '1x' mapping to the path of the logo as a 135x135px raster image
5315 (equivalent to $wgLogo), and '1.5x', '2x', and 'svg' operating as before for
5316 $wgLogoHD. If $wgLogos is unset, $wgLogo and $wgLogoHD values are read for
5317 temporary backwards compatibility. (T232140)
5318 * $wgWatchlistExpiry — (EXPERIMENTAL) This enables the new watchlist expiry
5319 feature. The database table (watchlist_expiry) for this is created regardless
5320 of this setting, but all other aspects of the expiry feature are controlled
5321 by it. Enabling in production is discouraged for the time being. A future
5322 MediaWiki 1.35 release will advertise this feature once it is stable.
5323 * $wgWatchlistPurgeRate — This sets the chance of expired watchlist items being
5324 purged on each page edit. Only has effect if $wgWatchlistExpiry is true.
5325 * $wgWatchlistExpiryMaxDuration — This is the maximum definite relative duration
5326 for watchlist expiries. Only has effect if $wgWatchlistExpiry is true.
5327 * $wgImgAuthPath – This can be used to override the path prefix used when
5328 handling img_auth.php requests. (T235357)
5329 * $wgAllowedCorsHeaders — This is a list of headers which can be used in a
5330 cross-site API request.
5331 * $wgHTTPMaxTimeout and $wgHTTPMaxConnectTimeout — These allow site
5332 administrators to limit the timeouts used by the HTTP client libraries.
5333 This only affects callers using HttpRequestFactory and the deprecated
5334 wrappers in the Http class.
5335 * $wgCdnMaxageStale — This controls the Cache-Control s-maxage header for page
5336 views when PoolCounter lock contention indicates that a stale cache entry
5338 * $wgForceHTTPS — This makes the HTTP to HTTPS redirect be unconditional and
5339 suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
5340 recommend this be set to true on pure HTTPS wikis.
5341 * $wgCookieSameSite — This setting allows login cookies to be sent with
5342 SameSite=None. This is required for cross-site CentralAuth auto-login after
5344 * $wgUseSameSiteLegacyCookies — This adds a compatibility hack to
5345 SameSite=None cookies for browsers which implemented an incompatible draft
5346 version of the specification.
5348 ==== Changed configuration ====
5349 * $wgResourceLoaderMaxage (T235314) — This configuration array controls the
5350 max-age for HTTP caching through the Cache-Control header. It has uses the
5351 "versioned" key for urls that do have a version parameter, and the
5352 "unversioned" key for urls without a version parameter. The sub keys for
5353 "client" and "server" are no longer supported in MediaWiki 1.35.
5354 * $wgEnableOpenSearchSuggest — This boolean variable is deprecated and no longer
5355 used. The OpenSearch API is now always enabled.
5356 * $wgAuthManagerConfig and $wgAuthManagerAutoConfig — These can now use the
5357 'services' option in provider specifications.
5358 * $wgVirtualRestConfig['modules']['parsoid'] —
5359 - The defaults have been updated. If you were relying on the default values,
5360 you may need to update your configuration.
5361 - The 'URL' parameter, previously allowed for backwards-compatibility, has
5362 been deprecated. Use 'url' instead.
5363 * $wgXmlDumpSchemaVersion — Default is now set to XML_DUMP_SCHEMA_VERSION_11, so
5364 dumps use the new dump format per default. Consumers of XML dumps should not
5365 be affected if they ignore any unknown tags they encounter. Also, the format
5366 is effectively unchanged for revisions that only contain the main slot. The
5367 --schema-version option can be used with the dumpBackup.php script to set the
5368 dump format. (T238921)
5369 * $wgParserConf — This configuration is now deprecated. It has been
5370 effectively constant since 2008, and is ignored by core code.
5371 Configure the ParserFactory service in order to customize the Parser used.
5372 * $wgAutoloadAttemptLowercase — This has been deprecated, and the default value
5374 * $wgAllowImageMoving — This configuration setting is now deprecated. Instead,
5375 use $wgGroupPermissions; e.g., to revoke sysops' ability to move images use
5376 $wgGroupPermissions['sysop']['movefile'] = false.
5377 * $wgAllowImageTag — This configuration is now deprecated; future parsers will
5378 not support direct use of the HTML <img> tag in wikitext.
5379 * $wgUseTwoButtonsSearchForm — This has been deprecated. If you maintain a skin
5380 that relies on this and wishes to let system administrators change it, you
5381 should convert it to a config variable specific to your skin. If you're using
5382 it to configure your wiki, you should check individual skins to see whether
5383 they have local skin config for the feature and use that.
5384 * $wgPasswordPolicy — The deprecated policy 'PasswordCannotBePopular' has been
5385 removed. Use PasswordNotInCommonList instead which covers many more passwords.
5386 * Backwards compatibility for using an associative array
5387 (e.g. [ '127.0.0.1' => 'bad-ip' ]) for $wgProxyList has been removed. This
5388 was deprecated since 1.30. Please convert these arrays to indexed/sequential
5389 ones (e.g. [ '127.0.0.1' ]).
5390 * $wgShellRestrictionMethod — This now defaults to 'autodetect', which will
5391 enable sandboxing for shell commands using firejail, if it's installed. To
5392 disable restrictions, set it to false.
5393 * $wgLegacyJavaScriptGlobals – This deprecated setting now default to false,
5394 instead of true, ahead of its planned removal.
5396 ==== Removed configuration ====
5397 * $wgSysopEmailBans — This setting, deprecated in 1.34, was removed. To let
5398 sysops block email access, use $wgGroupPermissions['sysop']['blockemail'].
5399 * $wgDBWindowsAuthentication — This setting had no effect anymore after support
5400 for SQL Server was removed in 1.34. (T230418)
5401 * $wgProfileOnly — This setting, deprecated in 1.23, was removed. The profiler
5402 output should instead be configured via $wgProfiler['output'].
5403 * $wgProfileLimit — This setting, deprecated in 1.25, was removed.
5404 Set $wgProfiler['threshold'] instead.
5405 * $wgDebugTimestamps — This setting was removed. It affected the text output
5406 produced via $wgDebugComments, if enabled.
5407 * $wgSkipSkin — This setting, deprecated in 1.23, was removed. To disable a
5408 skin from being shown, use $wgSkipSkins.
5409 * $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and $wgSquidMaxage —
5410 These, deprecated in 1.34, have been removed. Use $wgUseCdn, $wgCdnServers,
5411 $wgCdnServersNoPurge, or $wgCdnMaxAge instead.
5412 * $wgDisableCounters — This, deprecated in 1.25, was removed. The feature that
5413 it controlled was already removed in 1.26, but the variable remained existent
5414 with a value of `false` for backward-compatibility.
5415 * $wgMaxGeneratedPPNodeCount — This setting was removed. It only affected
5416 Preprocessor_DOM, which was deprecated in 1.34 and removed in this release.
5417 * $wgFixArabicUnicode and $wgFixMalayalamUnicode — These, deprecated in 1.33,
5418 were removed. The fixes are now always enabled for their respective languages.
5419 * $wgAllowTitlesInSVG — This, unused and deprecated since 1.34, was removed.
5420 * $wgEnablePartialBlocks — This setting, deprecated when it was added in 1.33,
5421 was removed. Partial blocks are now always enabled.
5422 * $wgLocalInterwiki — This setting, deprecated in 1.23, has been removed.
5423 * $wgContentHandlerUseDB — This setting, deprecated in 1.34, has been removed.
5424 * $wgMultiContentRevisionSchemaMigrationStage — This setting must no longer
5425 be set locally. If the migration stage was set to anything other than
5426 SCHEMA_COMPAT_NEW locally, update.php must be run after removing the setting.
5427 Usage of the setting in code is deprecated. The setting will be removed
5429 * $wgEnableRestAPI — This setting is no longer obeyed by MediaWiki core, and
5430 should not be set set locally. Usage of the setting in code is deprecated; it
5431 is now set true by default. The setting will be removed completely in 1.36.
5432 * $wgObjectCaches — The 'slaveOnly' option for SqlBagOStuff, deprecated in 1.34,
5433 was removed. Use 'replicaOnly' instead.
5435 === New user-facing features in 1.35 ===
5436 * (T204618) Whitelisted the aria-hidden HTML attribute for all elements in
5438 * (T13456) Special:EditPage, Special:PageHistory, Special:PageInfo, and
5439 Special:Purge have been created as shortcuts for each action.
5440 Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory,
5441 PageInfo, and Purge corresponding to action= history, info, and purge
5442 respectively. When linked to, its subpage is used as the target. Otherwise,
5443 it displays a basic interface to allow the end user to specify the target
5445 * (T139221) The generated table of contents is now a navigation landmark role
5446 for assistive technologies.
5447 * (T245931) interwiki map API doesn't report foreign language if
5448 $wgInterwikiMagic=false
5449 * The form at ?action=watch has a new dropdown list to support expiry dates for
5450 watchlist items (if $wgWatchlistExpiry is true).
5452 === New developer features in 1.35 ===
5453 * A Docker based local development develpoment environment configuration is
5454 included (T238224) and DEVELOPERS.md has been added with usage documentation
5455 and links to further help.
5456 * If CSP is enabled, extensions can now add additional sources using the
5457 ContentSecurityPolicy::addDefaultSource, ::addStyleSrc and ::addScriptSrc
5458 methods (e.g. $context->getOutput()->getCSP()->addDefaultSrc( 'example.com' ))
5459 * Extensions can now specify classes and namespaces to be autoloaded by the
5460 test autoloader, by setting the "TestAutoloadNamespaces" and
5461 "TestAutoloadClasses" properties in extension.json. (T196090)
5462 * (T250977) extension.json now allows "SearchMappings" which maps the canonical
5463 name of the search engine (used in wgSearchType and wgSearchTypeAlternatives)
5464 to a specification using the ObjectFactory specification. This allows
5465 extensions to register Search Engines using namespaced classes.
5466 * Added getters for OutputPage's robot, index and follow policies;
5467 getRobotPolicy() returns the entire policy as a string in the form
5468 <index policy>,<follow policy> while getIndexPolicy() and getFollowPolicy()
5469 return their respective policies as a string.
5470 * The ResourceLoaderSiteModulePages and ResourceLoaderSiteStylesModulePages
5471 hooks were added to allow changing which wiki pages these modules contain.
5472 * The SkinFactory now allows skins to be specified as an ObjectFactory spec,
5473 allowing the construction of skins with services injected.
5474 * ContentHandlerFactory for most ContentHandler static methods. It has been
5475 added to the constructors for many classes to improve SOLID / GRASP.
5476 * FileDeleteForm's constructor now accepts a user as the second parameter.
5477 Support for not passing a user has also been hard-deprecated and will be
5479 * The ParserPreSaveTransformComplete hook was added.
5480 * The ParserBeforePreprocess hook was added.
5481 * The ResourceLoaderSkinModule class now has a "legacy" feature that loads
5482 the stylesheets previously part of the "mediawiki.legacy.shared" and
5483 "mediawiki.legacy.commonPrint" module.
5484 Those modules are now deprecated and no longer loaded by skins.
5485 For skins needing to retain these styles, you will need to load these
5486 styles via a module using the ResourceLoaderSkinModule class.
5487 See Vector and Monobook for examples.
5488 * ParserOutput now has methods addExtraCSPStyleSrc, addExtraCSPDefaultSrc
5489 addExtraCSPScriptSrc for parser tags/functions to be able to add sources
5490 to the Content Security Policy.
5491 * The HtmlCacheUpdater service was added to unify the logic of purging CDN cache
5492 and HTML file cache to simplify callers and make them more consistent.
5493 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
5494 * Preferences which use HTMLTitlesMultiselectField can make use of
5495 MultiTitleFilter class for saving title text to/from article IDs in user
5497 * OutputPage::addHtmlClasses() was added to allow injecting CSS classes on
5498 to the <html> element on page load.
5499 * The SkinAddFooterLinks hook is added to allow extensions to add items to skin
5500 footers. Previously this had to be done via SkinTemplateOutputPageBeforeExec.
5501 Doing so using that hook is now hard deprecated.
5502 * A new BlockPermissionChecker service was introduced for checking
5503 block-related permissions.
5504 * The support of 'database' type of extensions has been added to allow 3d party
5505 databases like Percona be used as storage. See T226857, T253248.
5506 * Three new return parameters have been added to the
5507 EditPageGetCheckboxesDefinition hook. Handlers of this hook are no longer
5508 restricted to defining checkboxes. See the documentation of
5509 EditPage::getCheckboxesDefinition() for more details.
5510 * New flag File::RENDER_TMP was added in order to allow
5511 File::generateAndSaveThumb and File::trasform to render a thumbnail without
5512 saving it to the storage.
5514 === External library changes in 1.35 ===
5516 ==== New external libraries ====
5517 * Added wikimedia/ip-utils 1.0.0.
5518 * Added wikimedia/parsoid 0.12.0.
5519 * Added wikimedia/services 2.0.1.
5520 * Added taylorhakes/promise-polyfill v8.1.3.
5521 * Added vuejs v2.6.11.
5522 * Added vuex v3.1.3.
5523 * Added symfony/symfony/polyfill-php80 1.23.1.
5525 ===== New development-only external libraries =====
5526 * Added doctrine/dbal 2.10.2.
5527 * Added doctrine/sql-formatter 1.1.0.
5528 * Added pimple/pimple 3.3.0.
5530 ==== Changed external libraries ====
5531 * pear/mail_mime was upgraded from 1.10.2 to 1.10.8.
5532 * wikimedia/less.php was upgraded from 1.8.0 to 3.0.0.
5533 * Updated oojs from 3.0.0 to 5.0.0.
5534 * Updated OOUI from 0.35.1 to 0.39.3.
5535 * zordius/lightncandy was upgraded from 0.23.0 to 1.2.5.
5536 * Updated jQuery from v3.3.1 to v3.6.0.
5537 * Updated jQuery Migrate from v3.0.1 to v3.3.2.
5538 * Updated wikimedia/assert from 0.2.2 to 0.5.0.
5539 * Updated pear/net_smtp from 1.8.1 from to 1.9.1.
5540 * Updated psr/log from 1.0.2 to 1.1.3.
5541 * Updated jquery.i18n from 1.0.5 to 1.0.7.
5542 * Updated guzzlehttp/guzzle from 6.3.3 to 6.5.8.
5543 * Updated wikimedia/xmp-reader from 0.6.3 to 0.8.5.
5544 Fixes error log spam with too-large XMP data, and adds support for GPano tags.
5545 * Updated wikimedia/base-convert from v2.0.0 to v2.0.1.
5546 * Updated composer/semver from 1.5.0 to 1.5.1.
5547 * Updated wikimedia/remex-html from 2.1.0 to 2.2.0.
5548 * Replaced wikimedia/password-blacklist 0.1.4 with wikimedia/common-passwords
5551 ===== Changed development-only external libraries =====
5552 * Updated symfony/yaml from 3.4.28 to 5.0.5.
5553 * Updated nikic/php-parser from 3.1.5 to 4.4.0.
5554 * Updated php-parallel-lint/php-console-highlighter from v0.3.2 to v0.5.
5555 * Updated php-parallel-lint/php-parallel-lint from v0.9.2 to v1.2.0.
5556 * Updated psy/psysh from 0.9.9 to 0.10.4.
5557 * Updated monolog/monolog from 1.24.0 to 1.25.2.
5558 * Upgrade mediawiki-codesniffer from 28.0.0 to 30.0.0.
5559 * Updated composer/spdx-licenses from 1.5.1 to 1.5.3.
5560 * Updated monolog/monolog from 1.25.2 to 1.25.3.
5561 * Updated qunit from 2.9.1 to 2.10.0.
5563 ==== Removed external libraries ====
5564 * phpunit/php-invoker (dev-only).
5565 Removing this unbreaks development on Windows systems, in exchange for losing
5566 time limits in running unit tests.
5567 * The jquery.getAttrs module was removed.
5569 === Action API changes in 1.35 ===
5570 * The 'suggest' parameter of action=opensearch has been deprecated.
5571 The API behaves the same with and without this parameter.
5572 It was previously used by $wgEnableOpenSearchSuggest to partially
5573 disable the API if set to false. Specifically, it would deny internal
5574 frontend requests carrying this parameter, whilst accepting other requests.
5575 * Integer-type parameters are now validated for syntax rather than being
5576 interpreted in surprising ways. For example, the following will now return a
5578 - "1.9" (formerly interpreted as "1")
5579 - " 1" (formerly interpreted as "1")
5580 - "1e1" (formerly interpreted as "1" or "10", depending on the PHP version)
5581 - "1foobar" (formerly interpreted as "1")
5582 - "foobar" (formerly intepreted as "0")
5583 parameters. Ranges should be assumed to be enforced.
5584 * Many user-type parameters now accept a user ID, formatted like "#12345".
5585 * The 'assert' parameter used by all API modules now supports the value 'anon'.
5586 When specified, the API will return the 'assertanonfailed' error if the user
5588 * action=edit now supports the 'baserevid' parameter for edit conflict
5589 detection, as an alternative to 'basetimestamp'. Note that self-conflicts
5590 will continue to be ignored if 'basetimestamp' is set, but not if only
5592 * A new module was added to change the content model of existing pages.
5593 Use action=changecontentmodel. Unlike Special:ChangeContentModel, the api
5594 module does not work for pages that do not already exist.
5595 * If $wgWatchlistExpiry is true, the following API changes are made:
5596 - action=watch accepts a new 'expiry' parameter analagous to the expiry
5597 accepted by action=userrights, action=block, etc., except it must be no
5598 greater than $wgWatchlistExpiryMaxDuration, or an infinity value.
5599 - action=query&list=watchlistraw returns pages' watchlist expiry dates.
5600 * (T249526) action=login will now return Failed rather than NeedToken on
5603 === Action API internal changes in 1.35 ===
5604 * The Action API now uses the Wikimedia\ParamValidator library for parameter
5605 validation, which brings some new features and changes. For the most part
5606 existing module code should work as it did before, but see subsequent notes
5608 - The values for all ApiBase PARAM_* constants have changed. Code should have
5609 been using the constants rather than hard-coding the values.
5610 - Several ApiBase PARAM_* constants have been deprecated, see the in-class
5611 documentation for details. Use the equivalent ParamValidator constants
5613 - The value returned for 'upload'-type parameters has changed from
5614 WebRequestUpload to Psr\Http\Message\UploadedFileInterface.
5615 * Validation of 'user'-type parameters is more flexible. PARAM constants exist
5616 to specify the type of "user" allowed and to request UserIdentity objects
5617 rather than name strings. The default is to accept all types (name, IP,
5618 range, and interwiki) that were formerly accepted.
5619 * Maximum limits are no longer ignored in "internal mode".
5620 * The $paramName to ApiBase::handleParamNormalization() should now include the
5622 * (T245931) meta=siteinfo&siprop=interwikimap no longer reports language or
5623 extralanglink when $wgInterwikiMagic is false.
5625 === Languages updated in 1.35 ===
5626 MediaWiki supports over 350 languages. Many localisations are updated regularly.
5627 Below only new and removed languages are listed, as well as changes to languages
5628 because of Phabricator reports.
5630 * The default targets for the ISBN search from Special:BookSources in English
5631 have been updated for better international suppport. They will now be
5632 BetterWorldBooks.com, OpenLibrary.org and Worldcat.org.
5633 * (T237672) Changed the Moroccan Arabic language (ary) to the Arabic script.
5634 * (T201269) Added language support for Amis (ami).
5635 * (T248299) Added language support for Inari Sami (smn).
5636 * (T251369) Added language support for Ladin (lld).
5637 * (T251369) Added language support for Seediq (trv), also known as Taroko.
5639 === Breaking changes in 1.35 ===
5640 * MediaWiki no longer supports PHP 7.2; use PHP 7.3.19+ (T228346, T257879).
5641 * ResourceLoader::getLessVars(), deprecated in 1.32, was removed.
5642 Use ResourceLoaderModule::getLessVars() instead.
5643 * The jquery.tabIndex module, deprecated in 1.34, has been removed.
5644 * The mediawiki.RegExp module alias, deprecated in 1.34, was removed.
5645 Use the mediawiki.util module instead.
5646 * The easy-deflate.inflate module, unused since 1.32, was removed.
5647 * The easy-deflate.deflate module was removed. Use the mediawiki.deflate
5649 * The mediawiki.notify module was removed. The mw.notify() shortcut is now
5650 available by default, without any dependency.
5651 * (T219604) The "jquery.ui.*" and "jquery.effects.*" module aliases,
5652 deprecated in 1.34, have been removed. Use "jquery.ui" instead.
5653 * (T235457) The "user.tokens" module has been removed.
5654 Use "user.options" instead.
5655 * (T251855) The mw.Map#exists method in JavaScript no longer supports checking
5656 multiple keys. This affects mw.config.exists() and mw.user.tokens.exists().
5657 * The internal variable $constructorOptions for the Parser & SpecialPageFactory,
5658 exposed only for integration purposes, are now each replaced by a const called
5659 CONSTRUCTOR_OPTIONS. This was a breaking change made without deprecation.
5660 * ObjectCache::getWANInstance, deprecated in 1.34, was removed.
5661 Use MediaWikiServices::getMainWANObjectCache instead.
5662 * ObjectCache::newWANCacheFromParams, deprecated in 1.34, was removed.
5663 Construct WANObjectCache directly instead, or use MediaWikiServices.
5664 * (T231366) The ProfilerOutputDb class and profileinfo.php entry point,
5665 deprecated in 1.34, was removed.
5666 * SiteConfiguration->localVHosts, deprecated in 1.25, was removed.
5667 Use $wgLocalVirtualHosts instead.
5668 * The $wgContLanguageCode read-only variable was removed.
5669 It has been a non-configurable copy of $wgLanguageCode since MW 1.8 (2006).
5670 Use $wgLanguageCode directly instead.
5671 * ApiQueryUserInfo::getBlockInfo, deprecated in 1.34, was removed. Use
5672 ApiBlockInfoTrait::getBlockDetails instead.
5673 * Password::equals(), deprecated in 1.33, was removed. Use Password::verify().
5674 * QuickTemplate::setRef(), deprecated in 1.31, was removed. Use set().
5675 * The mediawiki.ui.text module, deprecated in 1.28 and unused, was removed.
5676 * AbstractBlock::mReason, deprecated in 1.34, is no longer public.
5677 * The GetBlockedStatus and UserIsHidden, deprecated in 1.34, has been removed.
5678 Instead, use the GetUserBlock hook.
5679 * As part of work to replace the Parser, a large number of breaking changes have
5680 been made, principally in related methods and properties being removed or made
5682 - disableCache(), deprecated in 1.28.
5683 - serializeHalfParsedText() and the helpers unserializeHalfParsedText(),
5684 isValidHalfParsedText(), and StripState::getSubState() and
5685 StripState::merge(), all deprecated in 1.31. The helper functions
5686 LinkHolderArray::mergeForeign() and LinkHolderArray::getSubArray()
5688 - getConverterLanguage(), deprecated in 1.32. Use getTargetLanguage() instead.
5689 - A large set of methods exposed only for historical reasons, deprecated in
5690 1.34, have now been removed or made private:
5691 - areSubpagesAllowed()
5695 - doDoubleUnderscore()
5700 - getVariableValue()
5701 - initialiseVariables()
5702 - makeKnownLinkHolder()
5703 - maybeDoSubpageLink()
5704 - parseLinkParameter()
5705 - replaceExternalLinks()
5706 - replaceInternalLinks()
5707 - replaceInternalLinks2()
5708 - replaceLinkHoldersText().
5714 - incrementIncludeSize(), setTransparentTagHook(), replaceTransparentTags(),
5715 and $mTransparentTagHooks have been removed without deprecation.
5716 - The following constants have been made private without deprecation:
5720 - The following properties have been removed without deprecation:
5721 - ::$mDefaultStripList
5724 - The following properties have been made private without deprecation:
5725 - ::$mFunctionSynonyms
5726 - ::$mFunctionTagHooks
5730 - ::$mImageParamsMagicArray
5733 - ::$mConf (deprecated in 1.34)
5734 - ::$mExtLinkBracketedRegex
5740 - ::$mForceTocPosition
5743 - ::$mLangLinkLanguages
5744 - ::$currentRevisionCache
5747 - Parser::getTitle() will now throw a TypeError if $mTitle is uninitialized.
5748 This use pattern was deprecated in 1.34.
5749 - ContentHandler::makeParserOptions(), deprecated in 1.32, was removed. Use
5750 WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
5751 - The ParserAfterUnstrip hook, believed to be unused, was removed without
5753 - Preprocessor_DOM and related classes, deprecated in 1.34, have been removed.
5754 Consequently, the related ParserOptions::getMaxGeneratedPPNodeCount() and
5755 ::setMaxGeneratedPPNodeCount() have been removed without deprecation.
5756 - The support for the old signature for ParserFactory::__construct, which was
5757 deprecated in 1.34, has been removed.
5758 - Parser::getDefaultPreprocessorClass(), deprecated in 1.34, has been removed.
5759 * MediaWikiTestCase::prepareServices(), deprecated in 1.32, has been removed
5760 * The method ContentHandler::getSlotDiffRendererInternal is replaced with
5761 ContentHandler::getSlotDiffRendererWithOptions. This breaks consumers which
5762 call parent::getSlotDiffRendererInternal (no instances of which are known).
5763 * TextContent::getHighlightHtml, deprecated since 1.24, has been removed. Use
5764 TextContent::getHtml instead.
5765 * ExtensionRegistry::load(), deprecated in 1.34, was removed. Instead, use
5766 ExtensionRegistry::queue().
5767 * MWMessagePack class, deprecated in 1.34, was removed.
5768 * The cdb.php maintenance script was removed. Use the 'cdb' command from the
5769 wikimedia/cdb library instead.
5770 * User::addNewUserLogEntryAutoCreate, deprecated in 1.27, was removed.
5771 * FileBasedSiteLookup class, deprecated in 1.33, was removed.
5772 * The wfGlobalCacheKey global function, deprecated in 1.30, was removed.
5773 * The APCBagOStuff class was removed. MediaWiki requires PHP 7.2+ (support
5774 for HHVM was dropped) and these versions of PHP only support apcu. The default
5775 "apc" entry in $wgObjectCaches now refers to APCUBagOStuff.
5776 * Database::bufferResults(), deprecated in 1.34, has been removed.
5777 * CannotReplaceActiveServiceException, ContainerDisabledException,
5778 DestructibleService, NoSuchServiceException, SalvageableService,
5779 ServiceAlreadyDefinedException, ServiceContainer and ServiceDisabledException
5780 in the global namespace, deprecated in 1.33, were removed. Use the classes in
5781 the MediaWiki\\Services namespace instead.
5782 * The following methods in the Interwiki class were removed: ::fetch(),
5783 ::isValidInterwiki(), ::invalidateCache(), and ::getAllPrefixes().
5784 * The UsersMultiselectWidget config 'allowArbitrary' is now false by default. To
5785 accept arbitrary entries, pass in true for this config.
5786 * OutputPage::parse() and OutputPage::parseInline(), deprecated in 1.32, have
5787 been removed. Use ::parseAsContent() or ::parseAsInterface(), as
5789 * WikiPage::selectFields, deprecated in 1.31, was removed. Use ::getQueryInfo.
5790 * The remaining static methods for MagicWord, deprecated in 1.32, were removed.
5791 These were MagicWord::get(), ::getSubstIDs(), ::getDoubleUnderscoreArray(),
5792 ::getVariableIDs(), and ::getCacheTTL(). Instead, use MagicWordFactory (via
5794 * ApiBase::checkTitleUserPermissions no longer accepts a User as the third
5795 parameter. Passing a user was deprecated in 1.33.
5796 * Sanitizer::setupAttributeWhitelist() and Sanitizer::attributeWhitelist(),
5797 deprecated in 1.34, have been removed. They should not have been public.
5798 * Passing a sequential array as the second parameter to
5799 Sanitizer::validateAttributes() has been deprecated; use an associative
5800 array where keys are the allowed attributes.
5801 * The $warnCallback parameter to Sanitizer::removeHTMLtags, deprecated since
5802 its introduction in 1.28, has been removed.
5803 * SpecialRecentChanges::filterByCategories(), deprecated in 1.31, was removed.
5804 * The `ArticleContentViewCustom` hook, deprecated in 1.32, was removed.
5805 * AuthManager::callLegacyAuthPlugin, deprecated in 1.33, was removed.
5806 * wfGetMessageCacheStorage was removed without deprecation.
5807 * Title::moveSubpages, deprecated in 1.34, was removed. Use the MovePage class
5808 and MovePage::moveSubpages instead.
5809 * Article::doEditContent, deprecated in 1.29, was removed. Instead, use
5810 WikiPage::doEditContent.
5811 * CommentStore::newKey, deprecated in 1.31, was removed.
5812 * EditPage::$hookError was changed from public to private.
5813 * Title::isValidMoveOperation, ::moveTo, and ::isValidMoveTarget, deprecated
5814 in 1.25, were removed. Use the MovePage class and its methods instead.
5815 * Title::getUserCaseDBKey(), deprecated in 1.33, was removed. Use ::getDBkey().
5816 * StringUtils::explodeMarkup() was removed without deprecation.
5817 * AjaxResponse methods that were unused have been removed without deprecation:
5823 * ApiDelete::delete and ::deleteFile, both of which were protected methods,
5824 have been made private to allow a signature change.
5825 * HistoryPager::revLink, ::curLink, ::lastLink, and ::diffButtons, which had
5826 no visibilities defined, have been made private to allow signature changes.
5827 * SpecialNewpages::revisionFromRcResult, which previously was protected, has
5828 been made private to allow a signature change.
5829 * DifferenceEngine::$mOldRev and $mNewRev, deprecated for public access in
5830 1.32, have been removed.
5831 * DifferenceEngine::revisionDeleteLink, which was previosuly protected, has
5832 been made private to allow a signature change.
5833 * DifferenceEngine::getParserOutput, which is protected, has had a breaking
5834 signature change: the second parameter must be a RevisionRecord object,
5835 rather than a Revision object.
5836 * WikiPage::setLastEdit, which was previously protected, has been made
5837 private to allow a signature change.
5838 * Skin::getSkinNameMessages() deprecated in 1.34, has been removed.
5839 * Skin::escapeSearchLink() deprecated in 1.34, has been removed, use
5840 Skin::getSearchLink() instead.
5841 * Skin::shouldPreloadLogo() deprecated in 1.32, has been removed.
5842 * Revision::loadFromId and RevisionStore::loadRevisionFromId have been
5844 * OutputPage::parserOptions doesn't accept an $options parameter anymore.
5845 * MessageCache::getParserOptions previously did not have a visibility set.
5846 It has been made private.
5847 * SpecialUndelete::showDiff previously did not have a visibilty set. It
5848 hav been made private to allow a signature change.
5849 * The Skin no longer loads the "mediawiki.legacy.shared" or
5850 "mediawiki.legacy.commonPrint" modules. The legacy shared styles must now
5851 be loaded by the skin explicitly, either inherited via the
5852 "mediawiki.skinning.*" modules, or by making your skin's main styles
5853 module use the ResourceLoaderSkinModule class with the "legacy" attribute.
5854 See Vector and Monobook for examples.
5855 * Passing an ApiMain to the constructor of ApiResult is no longer supported.
5856 This was deprecated in 1.25.
5857 * ResourceLoaderWikiModule::invalidateModuleCache has been declared to
5858 be @internal as part of a signature change. No known uses exist outside
5860 * The ArticleAfterFetchContentObject hook, deprecated in 1.32, was removed.
5861 Use ArticleRevisionViewCustom to control output.
5862 * DatabaseBlock::isValid, deprecated in 1.33, was removed.
5863 * HTMLUserTextField and HTMLUsersMultiselectField previously implied
5864 required=true when exists=true. Form fields that use exists=true should also
5865 set required=true if they are required.
5866 * In DatabaseUpdater, the following methods are no longer public: dropTable(),
5867 modifyTable(), modifyField(), runMaintenance(), copyFile(), appendLine().
5868 In PostgresUpdater, the following methods are no longer public:
5869 addPgEnumValue(), addPgIndex(), addPgExtIndex(). This change was made without
5870 deprecation due to immediate danger of data corruption and loss, see T157651.
5871 Extensions should instead use dropExtensionTable(),
5872 modifyExtensionExtensionTable(), modifyExtensionField(), addExtensionUpdate().
5873 The addExtensionUpdate() method can still be used to access any of the
5874 protected methods on DatabaseUpdater.
5875 * ResourceLoader no longer provides the (always-true) variables for wgEnableAPI
5876 and wgEnableWriteAPI; they were deprecated in MediaWiki 1.31 and removed from
5877 the PHP environment in MediaWiki 1.32.
5878 * The wfSetupSession global function, deprecated in 1.27, was removed. Use the
5879 persist() method of the right MediaWiki\Session\SessionManager object instead.
5880 * The wfIsHHVM global function, deprecated in 1.34, was removed.
5881 * GenderCache::doTitlesArray no longer accepts string values in its $titles
5882 array parameter. Use Title objects (or other LinkTarget) instead.
5883 * Unused CommentStore::MAX_COMMENT_LENGTH has been removed.
5884 * User::checkTemporaryPassword() and User::checkPassword(), deprecated in 1.27,
5885 were removed. Use AuthManager instead.
5886 * All constants and class functions now have explicit visibility modifiers. This
5887 means, per [[mw:Stable interface policy]], that these should now be considered
5888 stable. This also helps MW align with PSR 2 and PSR 12. This was done based on
5889 audits of the corpus of skins and extensions hosted in Gerrit. If you find any
5890 that you need to be less restrictive (i.e. public or protected), please report
5891 these so that we can re-evaluate or suggest workarounds.
5892 * BaseTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg() or
5894 * QuickTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg()
5896 * WebInstaller::getErrorBox() and ::getWarningBox(), deprecated in 1.34,
5897 were removed. Use Html::errorBox() or ::warningBox() instead.
5898 * SpecialVersion::getExtensionCredits() and SpecialVersion::getSkinCredits()
5899 have become private without deprecation.
5900 * As part of the migration to a new hook system (T240307), the following classes
5901 now require an additional HookContainer constructor parameter:
5905 - ClassicInterwikiLookup
5906 - ContentHandlerFactory
5907 - ContentSecurityPolicy
5908 - DefaultOptionsManager
5909 - DerivedPageDataUpdater
5910 - FullSearchResultWidget
5915 - LinkRendererFactory
5921 - PageHandlerFactory
5926 - RevisionStoreFactory
5928 - SearchEngineConfig
5929 - SearchEngineFactory
5933 - SpecialPageFactory
5935 - UserOptionsManager
5936 - WatchedItemQueryService
5938 * The following classes now require setHookContainer() to be called after
5940 - AuthenticationProvider
5941 - ResourceLoaderModule
5943 * The parameters to ChronologyProtector::getTouched() and
5944 ILBFactory::getChronologyProtectorTouched() were changed without backwards
5946 * The deprecated $blacklist parameter to wfIsBadImage() has been removed.
5947 * SpecialBlock::checkUnblockSelf no longer accepts an integer representing
5948 an user ID as part of ongoing refactoring of SpecialBlock class.
5949 * User::setInternalPassword() and User::setPassword(), deprecated in 1.27, have
5950 been removed. Use User::changeAuthenticationData() instead.
5951 * User::selectFields(), deprecated in 1.31, has been removed. Use
5952 User::getQueryInfo() instead.
5953 * The "legacy" serialization type in RESTBagOStuff, deprecated in 1.34,
5955 * The populateContentModel.php maintenance script was removed. It has
5956 been replaced by the populateContentTables.php script.
5957 * The findHooks.php maintenance script, for the old hooks system, was removed.
5958 * (T257278) Calling MediaWiki\Shell\Command::restrict() will now overwrite
5959 any previous restrictions rather than adding to them, making it possible to
5960 disable the default restrictions.
5962 === Deprecations in 1.35 ===
5963 * The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4, is
5964 now deprecated. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
5966 * LockManagerGroup::getDefault() and LockManagerGroup::getAny() are deprecated.
5967 They seem to be unused. Just use get() directly, and catch any exception.
5968 * AbstractBlock::getPermissionsError and AbstractBlock::getBlockErrorParams are
5969 deprecated. Use BlockErrorFormatter::getMessage instead.
5970 * The IP class is deprecated. Please instead use the Wikimedia\IPUtils class
5971 from the new wikimedia/ip-utils library instead. Additionally, the RE_IP_*
5972 constants are also deprecated. RE_IP_BYTE can be replaced with a class
5973 constant on the IPUtils class, while the others will eventually be made
5975 * The following Language methods are deprecated: getFallbackFor,
5976 getFallbacksFor, getFallbacksIncludingSiteLanguage. Use the corresponding new
5977 methods on the LanguageFallback class: getFirst, getAll, and
5978 getAllIncludingSiteLanguage.
5979 * FileJournal::factory is deprecated. Use the constructor directly instead.
5980 * AbstractBlock methods setBlocker(), getBlocker() are deprecated and will
5981 become internal implementation of DatabaseBlock.
5982 * Title::countRevisionsBetween has been deprecated and moved into RevisionStore.
5983 * FileBackendGroup::singleton() is deprecated. Use MediaWikiServices instead.
5984 * FileBackendGroup::destroySingleton() is deprecated. Test frameworks should
5985 instead reset MediaWikiServices between test runs.
5986 (MediaWikiIntegrationTestCase does this automatically.)
5987 * GenderCache::singleton(), deprecated in 1.28, is hard deprecated. Use
5988 MediaWikiServices::getGenderCache() instead.
5989 * MediaWikiIntegrationTest::setContentLang() has been deprecated. Use
5990 setMwGlobals( 'wgLanguageCode', 'xxx' ) to set a different site language
5991 code, or setService( 'ContentLanguage', $myObj ) to set a specific Language
5992 object. Service resets and $wgContLang will be handled automatically.
5993 * MediaWikiIntegrationTest::assertType() has been deprecated, as part of the
5994 work to move to PHPUnit 8; PHPUnit's assertInternalType() was deprecated, and
5995 will be removed in PHPUnit 9. MediaWikiIntegrationTest::assertTypeOrValue(),
5996 a wrapper for assertType(), has been removed immediately, without deprecation.
5997 * AbstractBlock::getReason is deprecated, since reasons are actually stored as
5998 CommentStoreComments, and getReason returns a string with no caller control
5999 over language or formatting. Instead use AbstractBlock::getReasonComment,
6000 which returns the CommentStoreComment.
6001 * The global function wfGetRusage() is deprecated and will now always call the
6002 getrusage() function without checking for its existence.
6003 * The properties User::mBlock, User::mBlockedby and User::mHideName are
6004 deprecated. Instead, use User::getBlock to get the block, then use
6005 AbstractBlock::getByName or AbstractBlock::getHideName.Use the GetUserBlock
6006 hook to set, unset or modify a block, including hiding or unhiding a user.
6007 * Directly calling the MergeHistory constructor is deprecated. Instead, use the
6008 new MergeHistoryFactory class.
6009 * Language::factory() and Language::getParentLanguage() are deprecated, and so
6010 is directly calling the Language constructor. Use the new LanguageFactory
6012 * Language::classFromCode() is deprecated. There is no reason it should be used
6013 outside the Language class itself.
6014 * Language::clearCaches() is deprecated. Instead, reset all services and set
6015 Language::$mLangObjCache = [].
6016 * The following functions from Language class are deprecated in favour of
6017 respective functions in LanguageConverter:
6019 - autoConvertToAllVariants
6026 - convertCategoryKey
6028 - getPreferredVariant
6031 - getExtraHashOptions
6032 - updateConversionTable
6033 * Language::classFromCode() is hard deprecated and should be removed in 1.36
6034 * Language::getConverter() is deprecated and should be removed in 1.36
6035 * Language::MESSAGES_FALLBACKS, Language::STRICT_FALLBACKS were deprecated.
6036 Use LanguageFallback::MESSAGES and LanguageFallback::STRICT respectively
6037 * Language::$mLangObjCache is deprecated and should be removed in 1.36. Use
6038 MediaWikiServices instead to get a LanguageFactory.
6039 * Language::getMessagesFor(), getMessageFor(), and getMessageKeysFor() are
6040 deprecated. Use LocalisationCache's getItem(), getSubitem(), and
6041 getSubitemList() methods directly.
6042 * OutputPage::getCSPNonce() is deprecated, use OutputPage::getCSP()->getNonce()
6044 * DerivedPageDataUpdater::prepareUpdate accepted as its second parameter an
6045 optional array of options. Specifying the value of the `oldrevision` key of
6046 the array to be a Revision object, rather than a RevisionRecord object, is
6047 hard deprecated. The same applies to the options parameter in
6048 WikiPage::doEditUpdates.
6049 * Skin::makeI18nUrl() and makeNSUrl() have been deprecated, no longer used.
6050 * Title::countAuthorsBetween and Title::getAuthorsBetween were hard deprecated.
6051 Use respective methods in RevisionStore instead.
6052 * Remove deprecated SkinCopyrightFooter &$forContent parameter
6053 * The following Language class static variables have been replaced with
6054 constants and deprecated: $mWeekdayMsgs, $mWeekdayAbbrevMsgs, $mMonthMsgs,
6055 $mMonthGenMsgs, $mMonthAbbrevMsgs, $mIranianCalendarMonthMsgs,
6056 $mHebrewCalendarMonthMsgs, $mHebrewCalendarMonthGenMsgs,
6057 $mHijriCalendarMonthMsgs and $durationIntervals.
6058 * As part of dropping security support for IE 6 and IE 7,
6059 WebRequest::checkUrlExtension() has been deprecated, and now always returns
6061 * The following ApiBase::PARAM_* constants have been deprecated in favor of
6062 equivalent ParamValidator constants: PARAM_DFLT, PARAM_ISMULTI, PARAM_TYPE,
6063 PARAM_MAX, PARAM_MAX2, PARAM_MIN, PARAM_ALLOW_DUPLICATES, PARAM_DEPRECATED,
6064 PARAM_REQUIRED, PARAM_SUBMODULE_MAP, PARAM_SUBMODULE_PARAM_PREFIX, PARAM_ALL,
6065 PARAM_EXTRA_NAMESPACES, PARAM_SENSITIVE, PARAM_DEPRECATED_VALUES,
6066 PARAM_ISMULTI_LIMIT1, PARAM_ISMULTI_LIMIT2, PARAM_MAX_BYTES, PARAM_MAX_CHARS.
6067 * ApiBase::explodeMultiValue() is deprecated. Use
6068 ParamValidator::explodeMultiValue() instead.
6069 * ApiBase::parseMultiValue() is deprecated. No replacement is provided;
6070 generally this sort of thing should be handled by fully validating the
6072 * ApiBase::validateLimit() and ApiBase::validateTimestamp() are deprecated.
6073 Use ApiParamValidator::validateValue() with an appropriate settings array
6075 * ContentHandler (use ContentHandlerFactory):
6080 - getAllContentFormats
6081 - protected $handler (not need anymore)
6082 - cleanupHandlersCache (not need anymore)
6083 * (T212738) The $wgVersion global is deprecated; instead, use MW_VERSION.
6084 * $wgMemc is deprecated, use MediaWikiServices::getLocalServerObjectCache()
6086 * ObjectCache::detectLocalServerCache() is deprecated, instead use
6087 MediaWikiServices::getLocalServerObjectCache() or
6088 ObjectCache::makeLocalServerCache().
6089 * ImagePage::getImageLimitsFromOptions() is deprecated. Use static function
6090 MediaFileTrait::getImageLimitsFromOptions() instead.
6091 * As part of work to replace the Parser, alongside the breaking changes listed
6092 above, a large number of deprecations changes been made, to simplify the API
6093 or because they will not be supported in replacement:
6094 - Parser::doBlockLevels() (and BlockLevelPass class has been marked @internal)
6095 - Parser::setFunctionTagHook()
6096 - Parser::attributeStripCallback()
6097 - Parser::fetchTemplate() - use Parser::fetchTemplateAndTitle() instead.
6098 - Parser::enableOOUI() - use $parser->getOutput()->enableOOUI() instead.
6099 - LinkHolderArray has been deprecated for public usage and will be
6100 internal part of parser.
6101 - The following parser-related hooks have been deprecated:
6102 - InternalParseBeforeSanitize
6103 Use an alternative hook which doesn't expose internal half-parsed state,
6104 like ParserBeforeInternalParse or ParserAfterTidy
6105 - ParserFetchTemplate
6106 Use BeforeParserFetchTemplateAndTitle
6107 - ParserSectionCreate
6108 No replacement; <section> tag wrapping will be done by core in future.
6109 - BeforeParserrenderImageGallery
6110 No replacement; MediaHandler provides for customizable media rendering
6112 Use ParserAfterTidy instead to avoid exposing internal half-parsed state
6114 No replacement; stripping is no longer supported.
6116 No replacement; stripping is no longer supported.
6117 - The accessor/mutator methods Parser::Options(), Parser::OutputType(), and
6118 Parser::Title() have been deprecated; use the appropriate Parser::get* or
6119 Parser::set* methods instead.
6120 - Parser::firstCallInit() has been deprecated. The parser is initialized
6121 fully on construction and so ::firstCallInit() no longer has any effect
6122 when manually invoked.
6123 - ParserOptions::setAllowExternalImages(), ::setAllowExternalImagesFrom(),
6124 and ::setEnableImageWhitelist() have been deprecated. Future parsers
6125 will not allow per-parser configuration of image filtering; use
6126 site configuration instead.
6127 - ParserOptions::getTidy() and ParserOptions::setTidy() have been deprecated.
6128 These options no longer have any effect.
6129 - Most methods of MWTidy, except for MWTidy::tidy(), have been deprecated;
6130 tidiness is always enabled and not configurable.
6131 - Version 1 of the parserTests file format has been deprecated. You'll need to
6132 update your parser tests to version 2, which uses Remex tidy on all test
6133 output by default. Support for parser tests with Remex tidy off will later
6134 be removed entirely.
6135 - $wgParser — This global variable, soft deprecated in 1.32, has now been hard
6136 deprecated. Use MediaWikiServices::getInstance()->getParser() instead.
6138 * The signature of DefaultPreferencesFactory::__construct has been changed:
6139 - LanguageConverter $languageConverter has been added.
6140 and its usage with old arguments is hard deprecated.
6141 * The public usage of the following properties of LanguageConverter have been
6142 deprecated as there is no reason they should be used outside the
6143 LanguageConverter class and will be changed from public to private:
6151 - mVarSeparatorPattern
6152 changed from public to protected:
6154 * The ArticleEditUpdatesDeleteFromRecentchanges hook has been deprecated. Please
6155 use the RecentChange_save hook or similar instead.
6156 * The ArticleEditUpdates hook has been deprecated. Please
6157 use the RevisionDataUpdates hook or similar instead.
6158 * The SkinTemplatePreventOtherActiveTabs and SkinTemplateTabAction hooks have
6159 been hard deprecated. Please use the SkinTemplateNavigation__Universal hook
6161 * ResourceLoaderFileModule::compileLessFile() has been deprecated, use
6162 ResourceLoaderFileModule::compileLessString() instead
6163 * The SquidPurgeClient and SquidPurgeClientPool classes have been deprecated.
6164 Use MultiHttpClient or HtmlCacheUpdater instead.
6165 * MimeAnalyzer::getExtensionsForType() and ::getTypesForExtensions() were
6166 deprecated in favor of MimeAnalyzer::getExtensionsFromMimeType() and
6167 ::getMimeTypesFromExtension(), respectively. The new methods return arrays
6168 rather than strings.
6169 * Calling Action::factory and Action constructor with WikiPage has been
6170 hard deprecated. Caller must provide an Article instance.
6171 * ApiTestCase::doLogin, soft deprecated in 1.31, was hard deprecated.
6172 * WebRequest::getLimitOffset is hard deprecated. Instead, use
6173 ::getLimitOffsetForUser and pass a User object.
6174 * PageArchive::getPreviousRevision is hard deprecated. Instead, use the new
6175 ::getPreviousRevisionRecord method.
6176 * PageArchive::getArchivedRevision is hard deprecated. Instead, use the new
6177 ::getArchivedRevisionRecord method.
6178 * PageArchive::undelete is hard deprecated. Instead, use ::undeleteAsUser
6179 and pass a User object.
6180 * PageArchive::getRevision is hard deprecated.
6181 * EditPage::getBaseRevision was hard deprecated. Instead, use the new
6182 ::getExpectedParentRevision method.
6183 * The public variable EditPage::$mBaseRevision was hard deprecated.
6184 * FileDeleteForm previously did not accept a user parameter in its constructor,
6185 instead relying on the global $wgUser. A user parameter has been added,
6186 and //not// providing a user is deprecated. There are no known callers
6187 outside of mediawiki core.
6188 * AuthManager::singleton() has been deprecated. Use
6189 MediaWikiServices::getInstance()->getAuthManager() instead.
6190 * ContribsPager::tryToCreateValidRevision is hard deprecated. Instead, use
6191 ContribsPager::tryCreatingRevisionRecord.
6192 * The following functions all accept an optional user parameter. Not passing a
6193 user is hard deprecated, and support for calling them without passing a user
6194 will be removed in 1.36:
6195 - Title::getNotificationTimestamp (note however that the method is deprecated
6196 in its entirely in favor of the new WatchlistNotificationManager service)
6198 - LogEventsList::userCan
6199 - LogEventsList::userCanBitfield
6200 - LogEventsList::userCanViewLogType
6202 - FileDeleteForm::doDelete
6203 - OldLocalFile::userCan
6204 - ArchivedFile::userCan
6206 * The following functions all accept an optional audience parameter and
6207 an optional user parameter. If the audience is FOR_THIS_USER and no
6208 user is passed, they fallback to $wgUser. Not passing a user when
6209 one is needed is deprecated
6210 - LogEventsList::getExcludeClause
6211 - WikiPage::getComment
6212 - WikiPage::getCreator
6214 - WikiPage::getUserText
6215 * UploadBase::checkWarnings now accepts a User parameter; not providing a
6216 user is soft deprecated.
6217 * Article::insertProtectNullRevision and WikiPage::insertProtectNullRevision
6218 were hard deprecated. Instead, use WikiPage::insertNullProtectionRevision.
6219 * Article::doDeleteArticle, Article::doDeleteArticleReal, and
6220 WikiPage::doDeleteArticle are all deprecated. Instead, use
6221 WikiPage::doDeleteArticleReal.
6222 * Article::getComment is deprecated. Instead, use WikiPage::getComment.
6223 * Article::getCreator is deprecated. Instead, use WikiPage::getCreator.
6224 * Article::updateRevisionOn() and ::updateIfNewerOn(), and
6225 WikiPage::updateIfNewerOn() are deprecated. Instead, use
6226 WikiPage::updateRevisionOn().
6227 * Article::getUser is deprecated. Instead, use WikiPage::getUser.
6228 * Article::getUserText is deprecated. Instead, use WikiPage::getUserText.
6229 * Article::prepareContentForEdit is hard deprecated. Instead, use
6230 WikiPage::prepareContentForEdit.
6231 * WikiPage::prepareContentForEdit previously accepted either a Revision or a
6232 RevisionRecord object as its optional second parameter. Passing a Revision
6233 is now hard deprecated.
6234 * Article::getUndoContent and WikiPage::getUndoContent are hard deprecated.
6235 Instead, use ContentHandler::getUndoContent.
6236 * Passing Revision objects to ContentHandler::getUndoContent is hard deprecated.
6237 Instead, pass the associated Content objects, as well as whether the undo is
6238 from the current revision.
6239 * Article::doDeleteUpdates and ::doEditUpdates are deprecated. Instead,
6240 use WikiPage::doDeleteUpdates and ::doEditUpdates.
6241 * WikiPage::doEditUpdates previously accepted a Revision object as its first
6242 parameter. It now accepts RevisionRecord objects, and passing Revision
6243 objects is deprecated.
6244 * Article::getRevisionFetched is deprecated. Instead, use the
6245 fetchRevisionRecord method, which has been converted from protected to
6247 * LocalFileDeleteBatch was migrated to a new constructor signature with the
6248 user as the second parameter. Support for the old signature is hard
6249 deprecated, and once removed the user parameter will be required. At the
6250 same time, a number of file-deletion related methods were updated
6251 - File::delete is hard deprecated in favor of the new ::deleteFile
6252 - LocalFile::delete is hard deprecated in favor of the new ::deleteFile
6253 - LocalFile::deleteOld is hard deprecated in favor of the new ::deleteOldFile
6254 - ForeignDBFile::delete is hard deprecated in favor of the new ::deleteFile
6255 * File::recordUpload (along with the respective methods in the LocalFile and
6256 ForeignDBFile classes) is hard deprecated, and LocalFile::recordUpload2 is
6257 soft deprecated. Use the new LocalFile::recordUpload3, which has a different
6258 signature and requires that a User parameter is passed.
6259 * The SpecialPageFactory class was moved from the MediaWiki\Special namespace
6260 to the MediaWiki\SpecialPage namespace. The old location remains as a
6262 * Title::userCan, ::quickUserCan, and ::getUserPermissionsErrors, which
6263 were deprecated in 1.33, were hard deprecated. Instead, use
6264 PermissionManager::userCan, ::quickUserCan, and ::getPermissionErrors.
6265 * All methods of the old SpecialPageFactory, deprecated in 1.32, were hard
6266 deprecated. Instead, get a SpecialPageFactory from MediaWikiServices and
6268 * User::updateNewtalk now accepts as its optional third parameter a
6269 RevisionRecord object; passing a Revision is hard deprecated.
6270 * User::getNewMessageRevisionId and ::getNewMessageLinks were hard deprecated.
6271 * DifferenceEngine::getRevisionHeader now accepts a RevisionRecord as its
6272 first parameter; passing a Revision is hard deprecated.
6273 * WikiPage::doDeleteUpdates now accepts as its optional third parameter
6274 a RevisionRecord object; passing a Revision is hard deprecated.
6275 * WikiPage::onArticleEdit now accepts as its optional second parameter
6276 a RevisionRecord object; passing a Revision is hard deprecated.
6277 * Global $wgUser variable was soft deprecated.
6278 * The Revision class was soft deprecated entirely in 1.31. All methods
6279 have now been individually hard deprecated:
6280 - ::__construct - create MutableRevisionRecord objects instead
6281 - ::newFromId - use RevisionLookup::getRevisionById instead
6282 - ::newFromTitle - use RevisionLookup::getRevisionByTitle instead
6283 - ::newFromPageId - use RevisionStore::getRevisionByPageId instead
6284 - ::newFromArchiveRow - use RevisionFactory::newRevisionFromArchiveRow
6285 - ::newFromRow - use RevisionStore::newRevisionFromRow instead
6286 - ::loadFromPageId - use RevisionStore::getRevisionByPageId instead
6287 - ::loadFromTitle - use RevisionStore::getRevisionByTitle instead
6288 - ::loadFromTimestamp - use RevisionStore::getRevisionByTimestamp instead
6289 - ::getQueryInfo - use RevisionStore::getQueryInfo instead
6290 - ::getArchiveQueryInfo - use RevisionStore::getArchiveQueryInfo instead
6291 - ::getParentLengths - use RevisionStore::getRevisionSizes instead
6292 - ::getRevisionRecord - no replacement
6293 - ::getId - use RevisionRecord::getId instead
6294 - ::setId - use MutableRevisionRecord::setId instead
6295 - ::setUserIdAndName - use MutableRevisionRecord::setUser instead
6296 - ::getTextId - use SlotRecord::getContentAddress for retrieving an actual
6297 content address, or RevisionRecord::hasSameContent to compare content
6298 - ::getParentId - use RevisionRecord::getParentId instead
6299 - ::getSize - use RevisionRecord::getSize instead
6300 - ::getSha1 - use RevisionRecord::getSha1 instead
6301 - ::getTitle - use RevisionRecord::getPageAsLinkTarget instead
6302 - ::setTitle - the method was previously a no-op
6303 - ::getPage - use RevisionRecord::getPageId instead
6304 - ::getUser - use RevisionRecord::getUser and then User::getId instead
6305 - ::getUserText - use RevisionRecord::getUser and then User::getName instead
6306 - ::getComment - use RevisionRecord::getComment instead
6307 - ::isMinor - use RevisionRecord::isMinor instead
6308 - ::isUnpatrolled - use RevisionStore::getRcIdIfUnpatrolled instead
6309 - ::getRecentChange - use RevisionStore::getRecentChange instead
6310 - ::isDeleted - use RevisionRecord::isDeleted instead
6311 - ::getVisibility - use RevisionRecord::getVisibility instead
6312 - ::getContent - use RevisionRecord::getContent instead
6313 - ::getSerializedData - use SlotRecord::getContent for retrieving a
6314 content object, and Content::serialize for the serialized form
6315 - ::getContentModel - use SlotRecord::getModel instead
6316 - ::getContentFormat - use SlotRecord::getFormat instead, with a fallback
6317 to ContentHandler::getDefaultFormat
6318 - ::getContentHandler - use ContentHandlerFactory::getContentHandler instead
6319 - ::getTimestamp - use RevisionRecord::getTimestamp instead
6320 - ::isCurrent - use RevisionRecord::isCurrent instead
6321 - ::getPrevious - use RevisionLookup::getPreviousRevision instead
6322 - ::getNext - use RevisionLookup::getNextRevision instead
6323 - ::getRevisionText - use RevisionRecord::getContent instead
6324 - ::compressRevisionText - use SqlBlobStore::compressData instead
6325 - ::decompressRevisionText - use SqlBlobStore::decompressData instead
6326 - ::insertOn - use RevisionStore::insertRevisionOn instead
6327 - ::base36Sha1 - use SlotRecord::base36Sha1 instead
6328 - ::newNullRevision - use RevisionStore::newNullRevision
6329 - ::userCan - use RevisionRecord::userCanBitfield instead
6330 - ::userCanBitfield - use RevisionRecord::userCanBitfield instead
6331 - ::getTimestampFromId - use RevisionStore::getTimestampFromId instead
6332 - ::countByPageId - use RevisionStore::countRevisionsByPageId instead
6333 - ::countByTitle - use RevisionStore::countRevisionsByTitle instead
6334 - ::userWasLastToEdit - use RevisionStore::userWasLastToEdit instead
6335 - ::newKnownCurrent - use RevisionStore::getKnownCurrentRevision instead
6336 * The Revision method had a few methods that were previously protected and
6337 have been made private. They were:
6338 - ::getRevisionStore
6339 - ::getRevisionLookup
6340 - ::getRevisionFactory
6342 The $mRecord variable was also changed from protected to private.
6343 * Multiple hooks that include Revision objects were deprecated. The hooks, as
6344 well as suitable replacements, are noted below:
6345 - ArticleRevisionUndeleted (hard deprecated, use the RevisionUndeleted hook)
6346 - ArticleRollbackComplete (hard deprecated, use the RollbackComplete hook)
6347 - DiffRevisionTools (hard deprecated, use the DiffTools hook)
6348 - DiffViewHeader (hard deprecated, use the DifferenceEngineViewHeader hook)
6349 - HistoryRevisionTools (hard deprecated, use the HistoryTools hook)
6350 - NewRevisionFromEditComplete (hard deprecated, use the
6351 RevisionFromEditComplete hook).
6352 - PageContentInsertComplete (hard deprecated, use the PageSaveComplete hook)
6353 - PageContentSaveComplete (hard deprecated, use the PageSaveComplete hook)
6354 - RevisionInsertComplete (soft deprecated in 1.31, now hard deprecated)
6355 - TitleMoveCompleting (hard deprecated, use the PageMoveCompleting hook)
6356 - TitleMoveComplete (hard deprecated, use the PageMoveComplete hook)
6357 - UndeleteShowRevision (hard deprecated)
6358 * The following RevisionStore methods were deprecated:
6359 - ::loadRevisionFromTitle
6360 - ::loadRevisionFromTimestamp
6361 - ::loadRevisionFromPageId
6362 - ::listRevisionSizes
6363 * WikiPage::$mLastRevision was changed from protected to private.
6364 * RecentChange::markPatrolled was deprecated. Use ::doMarkPatrolled instead.
6365 * The JobRunner class has been converted to a service class.
6366 Direct construction is deprecated, use MediaWikiServices::getJobRunner.
6367 * JobRunner::setLogger has been deprecated, thus using JobRunner as a
6368 LoggerAwareInterface is deprecated as well. Rely on the logger passed in the
6369 constructor instead.
6370 * LogEventsList::typeAction accepts an optional right to check against as
6371 the fourth parameter. Specifying such a right is deprecated.
6372 * SkinTemplate::makeArticleUrlDetails has been deprecated, no longer used.
6373 * Passing a Revision object into CategoryMembershipChange constructor is
6374 deprecated. Pass a RevisionRecord instead.
6375 * The "mediawiki.legacy.oldshared" module has been deprecated.
6376 Skins and extensions that are using this should copy its necessary CSS rules
6377 to their own styles module. CologneBlue and Nostalgia skins serve as examples.
6378 * The "mediawiki.legacy.shared" module has been deprecated.
6379 Use the "mediawiki.skinning.*" modules, or ResourceLoaderSkinModule instead.
6380 * The following hooks, soft deprecated in 1.24, have been hard deprecated:
6381 - APIQueryInfoTokens
6382 - APIQueryRecentChangesTokens
6383 - APIQueryRevisionsTokens
6384 - APIQueryUsersTokens
6385 - ApiTokensGetTokenTypes
6386 * Calling Action::factory and Action constructor with any Page implementations
6387 other than Article is deprecated.
6388 * Action::page property is deprecated for direct access.
6389 Use Action::getArticle or Action::getWikiPage instead.
6390 * LESS `.background-image-svg()` mixin from 'mediawiki.mixins.less' is
6391 deprecated and should be removed in 1.36.
6392 * LESS `.background-image-svg-quick()` mixin from 'mediawiki.mixins.less' is
6393 deprecated and should be removed in 1.36.
6394 * The following methods were deprecated:
6395 - Title::getFirstRevision (hard deprecated)
6396 - Title::getEarliestRevTime
6397 - WikiPage::getOldestRevision (hard deprecated)
6398 - Article::getOldestRevision (hard deprecated)
6399 Use RevisionStore::getFirstRevision instead.
6400 * WikiPage::commitRollback and ::doRollback are declared to be internal
6401 in preparation for breaking changes. Neither method has any known
6402 callers outside of MediaWiki core. Both methods modify an array passed
6403 by reference ($resultDetails) - accessing the Revision objects added to
6404 that array (using the keys `current` and `target`) is also deprecated.
6405 * The following Linker methods previously accepted Revision objects as
6406 parameters. They now accept either Revision or RevisionRecord objects.
6407 Passing a Revision object is hard deprecated.
6411 - ::generateRollback
6412 - ::getRollbackEditCount
6413 - ::buildRollbackLink
6414 - ::getRevDeleteLink
6415 * WikiPage::hasDifferencesOutsideMainSlot previously accepted Revision
6416 objects for its two parameters. It now accepts RevisionRecord objects,
6417 and passing Revision objects is hard deprecated.
6418 * WikiPage::updateRevisionOn previously accepted Revision objects for its
6419 second parameter. It now accepts RevisionRecord objects, and passing
6420 Revision objects is hard deprecated.
6421 * The ParserGetVariableValueVarCache hook has been deprecated.
6422 * When using the ParserGetVariableValueSwitch hook, the following unusual
6423 uses have been deprecated: modifying the passed $magicWordId or failing to
6424 cache the returned value in $variableCache. The related
6425 MagicWordwgVariableIDs hook has been deprecated and renamed; use
6426 the GetMagicVariableIDs hook instead.
6427 * The following Parser properties have been deprecated:
6438 - ::$mGeneratedPPNodeCount
6439 - ::$mHighestExpansionDepth
6440 - ::$mDoubleUnderscores
6441 - ::$mExpensiveFunctionCount
6447 - ::$mRevisionObject
6449 - ::$mRevisionTimestamp
6454 * LinksUpdate::getRevision and ::setRevision are hard deprecated in favor
6455 of the new ::getRevisionRecord and ::setRevisionRecord methods.
6456 * A large number of exposed variables and methods of Article were deprecated as
6457 part of its planned removal:
6458 - Article::$mContext is deprecated; use getContext()/setContext() instead.
6459 - Article::__get(), ::__set() are hard deprecated, use the WikiPage properties
6461 - These Article methods were hard deprecated; use their WikiPage equivalents:
6464 - ::clearPreparedEdit,
6466 - ::doDeleteArticleReal,
6470 - ::doUpdateRestrictions,
6474 - ::getContentHandler,
6475 - ::getContentModel,
6476 - ::getContributors,
6477 - ::getDeletionUpdates,
6478 - ::getHiddenCategories,
6481 - ::getLinksTimestamp,
6483 - ::getRedirectTarget,
6487 - ::hasViewableContent,
6490 - ::insertRedirectEntry,
6495 - ::lockAndGetLatest,
6496 - ::makeParserOptions,
6498 - ::pageDataFromTitle,
6499 - ::prepareContentForEdit,
6500 - ::protectDescription,
6501 - ::protectDescriptionLog,
6502 - ::replaceSectionAtRev,
6504 - ::shouldCheckParserCache,
6505 - ::supportsSections,
6506 - ::triggerOpportunisticLinksUpdate,
6507 - ::updateCategoryCounts, and
6508 - ::updateRedirectOn.
6509 - Article::generateReason() was hard deprecated; instead, please use
6510 WikiPage::getAutoDeleteReason().
6511 - Article::replaceSectionContent() was hard deprecated, use
6512 Article::replaceSectionAtRev() instead.
6513 - Article::getRevision and WikiPage::getRevision were hard deprecated in favor
6514 of the new WikiPage::getRevisionRecord method.
6515 * A new UserNameUtils service was introduced. The following User methods
6516 were deprecated in favor of using the new service:
6523 * The signature of WikiPage::doDeleteArticleReal was changed to make the user
6524 the second parameter, and the suppression option the third parameter.
6525 Previously, the third parameter was unused. Using the old signature is
6527 * ApiQueryRevisions::getRollbackToken, which has been soft deprecated since
6528 1.24, accepted as its third parameter a Revision object. It now accepts
6529 a RevisionRecord, and passing a Revision is hard deprecated.
6530 * Passing Article to ParserCache::get() was deprecated
6531 * ParserOptions::newCanonical() with no first parameter, or null as the first
6532 parameter, which falls back to using global $wgUser, is hard deprecated.
6533 * Parser::fetchCurrentRevisionOfTitle, ::statelessFetchRevision, and
6534 ::getRevisionObject were hard deprecated in favor of the new
6535 ::fetchCurrentRevisionRecordOfTitle, ::statelessFetchRevisionRecord,
6536 and ::getRevisionRecordObject methods respectively.
6537 * ParserOptions::getCurrentRevisionCallback and ::setCurrentRevisionCallback
6538 were hard deprecated in favor of the new ::getCurrentRevisionRecordCallback
6539 and ::setCurrentRevisionRecordCallback methods respectively.
6540 * Parser::statelessFetchTemplate returns an array; accessing the Revision
6541 object returned (via the `revision` key to the array) is deprecated. Instead,
6542 use `revision-record` to retrieve the equivalent RevisionRecord.
6543 * WikiPage::doEditContent returns an array, and PageUpdater::getStatus returns
6544 a Status object with an array value. For both of those arrays, accessing the
6545 Revision object returned (via the `revision` key to the array) is deprecated.
6546 Instead, use `revision-record` to retrieve the equivalent RevisionRecord.
6547 * Page interface was deprecated. Use Article or WikiPage instead.
6548 * The following DatabaseBlock methods are deprecated because they are no longer
6549 needed in core: chooseBlock, fromMaster, deleteIfExpired.
6550 * wfGetScriptUrl() was deprecated. The script URL should be configured rather
6551 than detected. wfScript() can be used to get a configured script URL.
6552 * Action::factory() with null $action argument is hard deprecated
6553 * The following methods of the User class were deprecated: getDefaultOptions,
6554 getDefaultOption, getOptions, getOption, getBoolOption, getIntOption,
6555 setOption, listOptionKinds, getOptionKinds, resetOptions. Use corresponding
6556 methods in UserOptionsLookup or UserOptionsManager service classes instead.
6557 * UserRetrieveNewTalks hook was deprecated without replacement.
6558 * User::getNewtalk and ::setNewtalk were hard deprecated. Use service
6559 TalkPageNotificationManager instead.
6560 * EditPage::matchSpamRegex and ::matchSummarySpamRegex were hard deprecated in
6561 favor of the new SpamChecker service.
6562 * Title::getNotificationTimestamp, User::clearNotification, and
6563 User::clearAllNotifications were deprecated in favor of the new
6564 WatchlistNotificationManager service.
6565 * SpecialPage::setListed() and SpecialPage::listed() were deprecated. Subclass
6566 UnlistedSpecialPage to set listed as false, and use SpecialPage::isListed()
6568 * CategoryPage::getCategoryViewerClass() and ::setCategoryViewerClass() were
6570 * MWHttpRequest and its subclasses PhpHttpRequest, CurlHttpRequest and
6571 GuzzleHttpRequest now require the timeout and connectTimeout options to
6572 always be specified, otherwise a deprecation warning will be raised. Most
6573 callers should use HttpRequestFactory which always sets these options.
6574 * Linker::normaliseSpecialPage() has been deprecated, instead make use of
6575 LinkRenderer::normalizeTarget().
6576 * SkinTemplate::getPersonalToolsList() was soft deprecated.
6577 * ChangeTags::truncateTagDescription() has been deprecated.
6578 * The following methods of the User class are deprecated: getGroups,
6579 getGroupMemberships, getEffectiveGroups, getAutomaticGroups,
6580 addGroup, removeGroup, getFormerGroups, getAllGroups, getImplicitGroups,
6581 addAutopromoteOnceGroups. Use the new UserGroupManager service instead.
6582 * The following methods of the UserGroupMembership class were deprecated:
6583 selectFields, getMembershipsForUser, getMembership, insert, delete,
6584 newFromRow, initFromRow, purgeExpired.
6585 Use the new UserGroupManager service instead.
6586 * wfWaitForSlaves() has been hard deprecated. Use LBFactory::waitForReplication
6587 instead. It was soft deprecated in 1.27.
6588 * BaseTemplate::getAfterPortlet and ::renderAfterPortlet have been deprecated in
6589 favor of the Skin::getAfterPortlet method. Skin::getAfterPortlet does not wrap
6590 the result in a div, callers are responsible for that.
6591 The hook BaseTemplateAfterPortlet, called by both methods has been deprecated
6592 as well and is replaced by SkinAfterPortlet.
6593 * Autopromote class has been soft deprecated and it's methods moved into
6595 * SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook has been deprecated.
6596 Use SidebarBeforeOutput hook and get the revision id from the OutputPage
6598 * BaseTemplate::getToolbox() method has been soft deprecated. The toolbox data
6599 is now available in a sidebar data array which you can get from any class
6600 that's extending QuickTemplate class. The hook associated with this method,
6601 BaseTemplateToolbox, has been hard deprecated. To add items to the toolbox,
6602 use SidebarBeforeOutput hook instead.
6603 * The SkinTemplateOutputPageBeforeExec hook is deprecated.
6604 The page [[mw:Manual:Hooks/SkinTemplateOutputPageBeforeExec]] and T60137
6605 for recommendations for alternative approaches based on how developers
6606 previously used this hook.
6607 * SkinTemplateToolboxEnd hook has been deprecated. Use SidebarBeforeOutput hook
6609 * Using Skin::addToBodyAttributes() method to add body attributes has been
6610 deprecated. Use OutputPageBodyAttributes hook instead.
6611 * Installer::getDBTypes has been hard deprecated in favor of
6612 InstallerDBSupport::getDatabases
6613 * The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS were
6614 deprecated, as part of a long-term plan to remove support for mixed
6616 * Skin::generateDebugHTML() has been hard deprecated. Call
6617 MWDebug::getHTMLDebugLog() directly.
6618 * ExternalStoreDB::getSlave(), soft deprecated in 1.34, was hard deprecated.
6619 Use ExternalStoreDB::getReplica() instead.
6620 * Less variables in mediawiki.ui/variables.less file that don't follow the
6621 standard variable naming scheme (compare WikimediaUI Base) including
6622 `@colorGray* variables have been deprecated. New variables are in place and
6623 aliases have been set. Replace occurrences and use the new variables instead.
6625 === Other changes in 1.35 ===
6626 * A new maintenance script is added (purgeExpiredWatchlistItems.php) with which
6627 to delete expired watchlist items. These items will also be deleted during
6628 wiki editing if $wgWatchlistPurgeRate is > 0. This maintenance script only
6629 has effect if $wgWatchlistExpiry is true. It is recommended that a cronjob or
6630 similar be set up to run it at least daily.
6631 * Title::purgeSquid is deprecated. Use MediaWikiServices::getHtmlCacheUpdater.
6632 * SpecialVersion::getExtLicenseFileName() has been deprecated, use
6633 MediaWiki\ExtensionInfo::getLicenseFileNames() instead.
6634 * SpecialVersion::getExtAuthorsFileName() has been deprecated, use
6635 MediaWiki\ExtensionInfo::getAuthorsFileName() instead.
6636 * Migration to the new content storage schema is complete, all backwards
6637 compatibility code and duplication in the database have been removed.
6638 The old schema was a 1:1 relationship modeled by
6639 revision.text_id -> text.old_id. The new schema is a n:m relationship,
6640 revision.rev_id <- slots.slot_revision_id|slots.slot_content_id ->
6641 content.content_id|content.content_address -> text.old_id. The same applies
6642 to the archive table.
6643 The following fields were removed:
6644 - revision.rev_text_id, replaced by content.content_address
6645 - revision.rev_content_model, replaced by content.content_model,
6646 referencing content_models.model_id
6647 - revision.rev_content_format, replaced by automatic detecting in
6649 - archive.ar_text_id, replaced by content.content_address
6650 - archive.ar_content_model, replaced by content.content_model,
6651 referencing content_models.model_id
6652 - archive.ar_content_format, replaced by automatic detecting in
6654 * Migration to normalized storage of edit comments and user names is
6655 progressing. The following fields were unused and have been removed:
6656 - revision.rev_comment,
6657 replaced by rev_comment_id referencing comment.comment_id.
6658 - revision.rev_user and rev_user_text,
6659 replaced by rev_actor referencing actor.actor_id.
6660 Note that archive.ar_user, archive.ar_user_text, and archive.ar_comment
6661 had already been removed in previous releases.
6662 * The printableversion has been marked as deprecated per T167956.
6663 * (T30162, T245387) The installer supports using a Postgres server running
6664 on a custom port other than 5432.
6668 == MediaWiki 1.34.4 ==
6670 This is a maintenance release of the Mediawiki 1.34 branch.
6672 === Changes since MediaWiki 1.34.3 ===
6673 * Fixed issue relating to backporting of changes for T260485.
6675 == MediaWiki 1.34.3 ==
6677 This is a security and maintenance release of the MediaWiki 1.34 branch.
6679 === Changes since MediaWiki 1.34.2 ===
6680 * In the web installer, use secure session cookies.
6681 * Make UsersPager::requestedGroup public.
6682 * (T257407) Split patch-drop-user-fields.sql into patch per table.
6683 * (T257356) Split patch-drop-comment-fields.sql into patch per table.
6684 * (T257997) Undeprecate WebInstaller::getInfoBox().
6685 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional
6686 and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
6687 recommend this be set to true on pure HTTPS wikis.
6688 * Added $wgCookieSameSite, which allows login cookies to be sent with
6689 SameSite=None. This is required for cross-site CentralAuth autologin after
6691 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to
6692 SameSite=None cookies for browsers which implemented an incompatible draft
6693 version of the specification.
6694 * (T257207) shell: Expand documentation in firejail.profile.
6695 * (T246135) Give the "remember me" checkbox a specific CSS class so skins
6696 like Minerva can only hide that checkbox.
6697 * (T256287) rdbms: improve DBConnRef domain selection exception message.
6698 * (T248191, T259123) phpunit: Acknowledge known dberror from
6699 SpecialPageFatalTest.
6700 * (T256394, T259123) Cleanup up excess commit() call in LocalRepoTest.
6701 * Fix runBatchedQuery.php for no result from select.
6702 * (T130906) Add Edge to MediaWiki:Clearyourcache.
6703 * (T249521) reassignEdits: Update script to use User::newFromName for anon
6705 * (T172060) GlobalFunctions: Use php_uname instead of posix_uname.
6706 * Use IPset in MWRestrictions::checkIP.
6707 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
6708 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
6709 * (T183759) Fixes shell edge-cases in Windows.
6710 * (T258390) Add CentralIdLookup::factoryNonLocal().
6711 * (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate
6713 * (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence
6715 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate
6717 * (T246991) User: enforce pingLimiter() expiry time.
6718 * (T260232) don't include null page ids in query list for category dumps.
6719 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
6720 * (T262900) Fix failure of rebuildLocalisationCache.php due to RL hook.
6721 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
6722 * (T263455 T247285) Set EnableJavaScriptTest to true in
6723 includes/DevelopmentSettings.php.
6724 * (T232568, CVE-2020-25813) SECURITY: SpecialUserrights: If a viewer lacks
6725 `hideuser`, ignore hidden users.
6726 * (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on
6727 Special:Contributions.
6728 * (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within
6730 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
6731 firejail's --output functionality.
6732 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
6734 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
6735 mw.message( ... ).parse().
6736 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
6738 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
6740 == MediaWiki 1.34.2 ==
6742 This is a security and maintenance release of the MediaWiki 1.34 branch.
6744 === Changes since MediaWiki 1.34.1 ===
6745 * (T247017) PasswordReset performance improvements.
6746 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
6747 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
6749 * (T251789) Let $wgResourceLoaderMaxQueryLength=-1 fallback to default.
6750 * Remove some rotten and out of date documentation.
6751 * (T252311) Improvements to some older SQLite update patches.
6752 * (T240307) Minor fixes to extension.schema.v2.json and
6753 extension.schema.v1.json.
6754 * (T238043) cleanupUsersWithNoId.php: Handle missing fields.
6755 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
6756 rebuildrecentchanges.php.
6757 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
6758 * (T249730) Password Reset Updates.
6759 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
6760 setting $wgPoolCounterConf['SpecialContributions'] appropriately.
6761 * (T248947) SECURITY: img_auth.php may leak private extension images into the
6764 == MediaWiki 1.34.1 ==
6766 This is a security and maintenance release of the MediaWiki 1.34 branch.
6768 === Changes since MediaWiki 1.34.0 ===
6769 * (T211450) User: better error message when getActorId fails.
6770 * (T241340) Don't redefine MW_ENTRY_POINT in thumb.php if already defined.
6771 * (T236444) User: Allow newSystemUser() to create over anonymous actors.
6772 * (T238483) Fix NewPagesPager "hide registered users" option.
6773 * (T245072) mediawiki.language: Rename languageData back to languageNames.
6774 * Use proper SemVer comparison in CheckComposerLockUpToDate.
6775 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
6776 * (T246127) Fix error when initialising updateCollation.php.
6777 * Update comment about PHP versions supported by The PHP Group.
6778 * (T247215) Fix output of RecountCategories::doWork().
6779 * Add check for page existence to view.php maintenance script.
6780 * (T245149) Fix fetching login token from action=query&meta=tokens on private
6782 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
6783 * (T232932) SECURITY: User content can redirect the logout button to different
6785 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
6788 == MediaWiki 1.34.0 ==
6790 === Changes since MediaWiki 1.34.0-rc.1 ===
6791 * $wgDiffEngine (T237049) – This configuration can be used to specify which
6792 difference engine to use. MediaWiki continues to default to automatically
6793 choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is
6795 * (T231866) SqlBlobStore no longer needs Language object.
6796 * (T236735) WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD
6798 * (T231673) Set MCR migration stage to SCHEMA_COMPAT_NEW.
6799 * (T229601) Make sure DBLoadBalancerFactory service is not disabled.
6800 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
6801 * (T231866) LocalisationCache: Don't instantiate ResourceLoader.
6802 * (T227461) Stop calling deprecated Redis delete functions.
6803 * (T239561) Mark options as requiring parameters in addSite.php.
6804 * (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest.
6805 * (T239734) Replace deprecated lSize with lLen in Redis code.
6806 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
6807 * (T239428) ApiEditPage: Test for bad redirect targets.
6808 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
6810 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
6811 * (T240924) NewPagesPager: Fix namespace query conditions.
6812 * (T212067) Tests for an old PHP bug in parse_url.
6814 == MediaWiki 1.34.0-rc.1 ==
6816 === Changes since MediaWiki 1.34.0-rc.0 ===
6817 * (T231742) rdbms: Restore debug toolbar "Queries" feature.
6818 * (T231366) The ProfilerOutputDb class, 'profiling' table, and profileinfo.php
6819 entry point had been deprecated.
6820 * (T234361) localisation: Add debug message for backend of MessageCache.
6821 * (T234361) session: Add debug message for the used store class.
6822 * (T235559) Fix example Kask configuration in RESTBagOStuff class comment.
6823 * (T235137) Don't apply styling for Special:Contributions on other pages.
6824 * Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0 (dev-only).
6825 * (T219604) The "jquery.ui.*" and "jquery.effects.*" modules are now
6826 deprecated as aliases for the "jquery.ui" module.
6827 * (T235392) Deprecate setting Parser::mTitle to null.
6828 * Supporting commits for T235392 were also backported to prevent divergence
6829 from master (MediaWiki 1.35).
6830 * (T234581) The 'jquery.tabIndex' module is deprecated.
6831 * Fix docs for GetUserBlock hooks.
6832 * Parser: Hard deprecate getConverterLanguage.
6833 * (T236810) A number of public methods of Parser were exposed only for
6834 historical reasons and have been deprecated: doMagicLinks,
6835 doDoubleUnderscore, doHeadings, doAllQuotes, replaceExternalLinks,
6836 replaceInternalLinks, replaceInternalLinks2, getVariableValue,
6837 initialiseVariables, formatHeadings, testPst, testPreprocess, testSrvus,
6838 areSubpagesAllowed, maybeDoSubpageLink, splitWhitespace, createAssocArgs,
6839 armorLinks, makeKnownLinkHolder, getImageParams, parseLinkParameter,
6840 stripAltText, replaceLinkHolders, replaceLinkHoldersText, armorLinks,
6841 makeKnownLinkHolder, getImageParams, parseLinkParameter, stripAltText.
6842 * (T30798) $wgServer must now always be set in LocalSettings.php. This is most
6843 likely the case already for any wiki installed after 1.18. The autodetection
6844 system was informally deprecated since 1.18 and vulnerable to cache poisoning
6845 attacks. Older wikis may need to update their LocalSettings.php file.
6846 * (T232169) Hard deprecate $wgSysopEmailBans.
6847 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
6848 * (T181658) Do not insert page titles into querycache.qc_value.
6849 * ParamValidator has been flagged as unstable.
6850 * Hard deprecate Parser::disableCache().
6852 == MediaWiki 1.34.0-rc.0 ==
6854 == Upgrading notes for 1.34 ==
6855 1.34 has several database changes since 1.33, and will not work without schema
6856 updates. Note that due to changes to some very large tables like the revision
6857 table, the schema update may take quite long (minutes on a medium sized site,
6858 many hours on a large site).
6860 Don't forget to always back up your database before upgrading!
6862 See the file UPGRADE for more detailed upgrade instructions, including
6863 important information when upgrading from versions prior to 1.11.
6865 Some specific notes for MediaWiki 1.34 upgrades are below:
6867 * MediaWiki now requires PHP 7.2.9 or above.
6868 * MediaWiki no longer supports HHVM.
6870 For notes on 1.33.x and older releases, see HISTORY.
6872 === Configuration changes for system administrators in 1.34 ===
6874 In an effort to enforce best practices for passwords, MediaWiki will now warn
6875 users, and suggest that they change their password, if it is in the list of
6876 100,000 commonly used passwords that are considered bad passwords. If you want
6877 to disable this for your users, please add the following to your local settings:
6879 $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;
6881 ==== New configuration ====
6882 * $wgAllowExternalReqID (T201409) - This configuration setting controls whether
6883 Mediawiki accepts the request ID set by the incoming request via the
6884 `X-Request-Id` header. If set to `true`, that value will be used throughout
6885 the code as the request identificator. Otherwise, the sent header will be
6886 ignored and the request ID will either be taken from Apache's mod_unique
6887 module or will be generated by Mediawiki itself (depending on the set-up).
6888 * $wgEnableSpecialMute (T218265) - This configuration controls whether
6889 Special:Mute is available and whether to include a link to it on emails
6890 originating from Special:Email.
6891 * editmyuserjsredirect user right – users without this right now cannot edit JS
6892 redirects in their userspace unless the target of the redirect is also in
6893 their userspace. By default, this right is given to everyone.
6894 * (T226733) Add rate limiter to Special:ConfirmEmail.
6895 * $wgDiffEngine (T237049) – This configuration can be used to specify which
6896 difference engine to use. MediaWiki continues to default to automatically
6897 choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is
6900 ==== Changed configuration ====
6901 * $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four
6902 CDN-related config variables have been renamed from being specific to Squid –
6903 they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and
6904 $wgSquidMaxage respectively. This aligns them with the related existing
6905 variable $wgCdnMaxageLagged. The previous configuration variable names are
6906 deprecated, but will be used as the fall back if they are still set.
6907 Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated.
6908 * (T27707) File type checks for image uploads have been relaxed to allow files
6909 containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG
6910 setting is no longer applied and is now always true. Note that MSIE 7 may
6911 still be able to misinterpret certain malformed PNG files as HTML.
6912 * (T30798) $wgServer must now always be set in LocalSettings.php. This is most
6913 likely the case already for any wiki installed after 1.18. The autodetection
6914 system was informally deprecated since 1.18 and vulnerable to cache poisoning
6915 attacks. Older wikis may need to update their LocalSettings.php file.
6916 * Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type
6917 detection heuristic on upload, which is more conservative than the checks
6918 that were changed above.
6919 * $wgExternalDiffEngine — Setting this to a string value of 'wikidiff',
6920 'wikidiff2', or 'wikidiff3' will no longer work. This legacy behaviour was
6921 deprecated in MediaWiki 1.27, 1.32, and 1.27, respectively.
6922 * $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now
6924 * $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in
6925 1.23, is now hard-deprecated.
6926 * $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated.
6927 Instead, set the log file in $wgDebugLogGroups['profileoutput'].
6928 * $wgProxyList — Setting this to an array with IP addresses in the array keys,
6929 which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be
6930 an array with IP addresses as the values, or a string path to a file
6931 containing one IP address per line.
6932 * $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock are now enabled by default.
6934 ==== Removed configuration ====
6935 * $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change
6936 size threshold, please specify in php.ini, using the configuration variable
6937 wikidiff2.moved_paragraph_detection_cutoff.
6938 * $wgUseESI - This experimental setting, deprecated in 1.33, is now removed.
6939 * $wgDebugPrintHttpHeaders - The default of including HTTP headers in the
6940 debug log channel is no longer configurable. The debug log itself remains
6941 configurable via $wgDebugLogFile.
6942 * $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values
6943 stored in WANObjectCache. This is no longer configurable.
6944 * $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure
6945 password setups and deprecated since 1.24, is now removed.
6946 * $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT
6947 in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf).
6948 * $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead.
6949 * $wgActorTableSchemaMigrationStage has been removed. Extension code for
6950 MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW.
6952 === New user-facing features in 1.34 ===
6953 * Special:Mute has been added as a quick way for users to block unwanted emails
6954 from other users originating from Special:EmailUser.
6955 * (T207577) Special:NewSection has been created as a shortcut to creating a new
6956 section on a page. When linked to, its subpage is used as the target
6957 ([[Special:NewSection/Test]] redirects to creating a new section in "Test").
6958 Otherwise, it displays a basic interface to allow the end user to specify
6959 the target manually.
6960 * (T220447) Special:Contributions/newbies has been removed for performance and
6961 usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead.
6962 * Special:NewFiles/newbies has been removed for performance and usefulness
6963 reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead.
6965 === New developer features in 1.34 ===
6966 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
6967 of headers in private wikis.
6968 * Language::formatTimePeriod now supports the new 'avoidhours' option to output
6969 strings like "5 days ago" instead of "5 days 13 hours ago".
6970 * (T220163) Added SpecialMuteModifyFormFields hook to allow extensions
6971 to add fields to Special:Mute.
6972 * (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths.
6973 See <https://www.mediawiki.org/wiki/OOUI/Themes> for details.
6974 * (T229035) The GetUserBlock hook was added. Use this instead of
6976 * ObjectFactory is available as a service. When used as a service, the object
6977 specs can now specify needed DI services.
6978 * (T222388) Special pages can now be specified as an ObjectFactory spec,
6979 allowing the construction of special pages that require services to be
6980 injected in their constructor.
6981 * (T222388) API modules can now be specified as an ObjectFactory spec,
6982 allowing the construction of modules that require services to be injected
6983 in their constructor.
6984 * (T117736) The function signature of SpecialContributions::getForm::filters
6985 has changed. It now expects definitions of additional filter fields as array
6988 === External library changes in 1.34 ===
6990 ==== Changed external libraries ====
6991 * Updated Mustache from 1.0.0 to v3.0.1.
6992 * Updated OOUI from v0.31.3 to v0.34.0.
6993 * Updated OOjs from v2.2.2 to v3.0.0.
6994 * Updated composer/semver from 1.4.2 to 1.5.0.
6995 * Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
6996 * Updated mediawiki/codesniffer from 25.0.0 to 28.0.0 (dev-only).
6997 * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0.
6998 * Updated wikimedia/at-ease from 1.2.0 to 2.0.0.
6999 * Updated wikimedia/remex-html from 2.0.1 to 2.1.0.
7000 * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only).
7001 * Updated wikimedia/object-factory from 1.0.0 to 2.1.0.
7002 * Updated wikimedia/timestamp from 2.2.0 to 3.0.0.
7003 * Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3.
7004 * Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only).
7005 * Updated wikimedia/avro from 1.8.0 to 1.9.0 (dev-only).
7007 ==== Removed external libraries ====
7008 * The jquery.async module, deprecated in 1.33, was removed.
7010 === Bug fixes in 1.34 ===
7011 * (T222529) If a log entry or page revision is recorded in the database with an
7012 empty username, attempting to display it will log an error and return a "no
7013 username available" to the user instead of silently displaying nothing or
7016 === Action API changes in 1.34 ===
7017 * The 'recenteditcount' response property from action=query list=allusers,
7018 deprecated in 1.25, has been removed.
7019 * (T60993) action=query list=filearchive, list=alldeletedrevisions and
7020 prop=deletedrevisions no longer require the 'deletedhistory' user right.
7021 * In the response to queries that use 'prop=imageinfo', entries for
7022 non-existing files (indicated by the 'filemissing' field) now omit the
7023 following fields, since they are meaningless in this context:
7024 'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width',
7025 'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment',
7026 'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime',
7027 'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata',
7028 'mime', 'mediadtype', 'bitdepth'.
7029 Clients that process these fields should first check if 'filemissing' is
7030 set. Fields that are supported even if the file is missing include:
7031 'canonicaltitle', 'archivename' (deleted files only), 'descriptionurl',
7032 'descriptionshorturl'.
7033 * The 'blockexpiry' result property in list=users and list=allusers will now be
7034 returned in the same format used by the rest of the API: ISO 8601 for
7035 expiring blocks, and "infinite" for non-expiring blocks.
7037 === Action API internal changes in 1.34 ===
7038 * The exception thrown in ApiModuleManager::getModule has been changed
7039 from an MWException to an UnexpectedValueException, thrown by ObjectFactory.
7040 ApiModuleManager::getModule now also throws InvalidArgumentExceptions when
7041 ObjectFactory is presented with an invalid spec or incorrectly constructed
7043 * Added ApiQueryBlockInfoTrait.
7045 === Languages updated in 1.34 ===
7046 MediaWiki supports over 350 languages. Many localisations are updated regularly.
7047 Below only new and removed languages are listed, as well as changes to languages
7048 because of Phabricator reports.
7050 * (T152908) Added language support for N'Ko (nqo).
7052 === Breaking changes in 1.34 ===
7053 * The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in
7054 1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and
7055 Wikimedia\AtEase\AtEase::restoreWarnings() directly.
7056 * Preferences class, deprecated in 1.31, has been removed.
7057 * The following parts of code, deprecated in 1.32, were removed in favor of
7058 built-in PHP functions:
7061 * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
7062 * Various Special Page PHP Classes were renamed (mostly casing changes):
7063 * SpecialAncientpages => SpecialAncientPages
7064 * SpecialConfirmemail => SpecialConfirmEmail
7065 * SpecialDeadendpages => SpecialDeadendPages
7066 * SpecialFewestrevisions => SpecialFewestRevisions
7067 * SpecialListredirects => SpecialListRedirects
7068 * SpecialLonelypages => SpecialLonelyPages
7069 * SpecialLongpages => SpecialLongPages
7070 * SpecialMIMEsearch => SpecialMIMESearch
7071 * SpecialMostcategories => SpecialMostCategories
7072 * SpecialMostinterwikis => SpecialMostInterwikis
7073 * SpecialMostlinked => SpecialMostLinked
7074 * SpecialMostlinkedcategories => SpecialMostLinkedCategories
7075 * SpecialMostlinkedtemplates => SpecialMostLinkedTemplates
7076 * SpecialMostrevisions => SpecialMostRevisions
7077 * SpecialNewimages => SpecialNewFiles
7078 * SpecialShortpages => SpecialShortPages
7079 * SpecialUncategorizedcategories => SpecialUncategorizedCategories
7080 * SpecialUncategorizedimages => SpecialUncategorizedImages
7081 * SpecialUncategorizedpages => SpecialUncategorizedPages
7082 * SpecialUncategorizedtemplates => SpecialUncategorizedTemplates
7083 * SpecialUnusedcategories => SpecialUnusedCategories
7084 * SpecialUnusedimages => SpecialUnusedImages
7085 * SpecialUnusedtemplates => SpecialUnusedTemplates
7086 * SpecialUnwatchedpages => SpecialUnwatchedPages
7087 * SpecialWantedcategories => SpecialWantedCategories
7088 * SpecialWantedtemplates => SpecialWantedTemplates
7089 * SpecialWithoutinterwiki => SpecialWithoutInterwiki
7090 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
7091 create a new Language object with a different language code.
7092 * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
7093 to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
7094 Instead, reset services, such as by calling $this->overrideMwServices() (if
7095 your test extends MediaWikiTestCase). Services will generally not pick up
7096 configuration changes from after they were created, so you must reset
7097 services after any configuration change. Even if your code works now, it is
7098 likely to break in future versions as more code is moved to services.
7099 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
7100 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
7102 * ObjectFactory class, deprecated in 1.31, has been removed.
7103 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
7104 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
7105 * The RedirectSpecialPage::execute method could sometimes return a Title object.
7106 This behavior was removed, and the method now matches the parent signature
7107 (SpecialPage::execute) which is to return HTML string or void.
7108 To obtain the destination title, use RedirectSpecialPage::getRedirect.
7109 * The 'recenteditcount' response property from action API action=query
7110 list=allusers, deprecated in 1.25, has been removed.
7111 * SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
7112 SearchEngine::create(), SearchEngine::getSearchTypes() and
7113 SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
7114 * FileRepo::streamFile(), deprecated in 1.26, has been removed.
7115 * User::randomPassword() method, deprecated in 1.27, have been removed.
7116 * MWNamespace::canTalk(), deprecated in 1.30, have been removed.
7117 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
7118 * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
7120 * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
7121 * Method signatures in WatchedItemQueryServiceExtension have changed from taking
7122 User objects to taking UserIdentity objects. Extensions implementing this
7123 interface need to be changed accordingly.
7124 * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
7125 removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
7126 * User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use
7127 UserGroupMembership::getLink() instead.
7128 * SavepointPostgres, deprecated in 1.31, has been removed.
7129 * OutputPage::enableSectionEditLinks(), OutputPage::sectionEditLinksEnabled(),
7130 ParserOptions::getEditSection(), ParserOptions::setEditSection(), and
7131 ParserOutput::getEditSectionTokens, ::getTOCEnabled, ::setEditSectionTokens,
7132 and ::setTOCEnabled, deprecated in 1.31, have been removed.
7133 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30,
7135 * Four methods in OutputPage, deprecated in 1.32, have been removed. You should
7136 use OutputPage::showFatalError or throw a FatalError instead. The methods are
7137 ::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and
7138 ::showFileNotFoundError().
7139 * ApiBase::truncateArray(), deprecated in 1.32, has been removed.
7140 * IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's
7141 INTL_ICU_VERSION constant directly.
7142 * HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed.
7143 * ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(),
7144 both deprecated in 1.32, have been removed.
7145 * BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have
7146 been removed. Use ->msg() or ->getMsg() instead.
7147 * WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead,
7148 use WatchAction::getWatchToken() with action 'unwatch' directly.
7149 * Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in
7150 1.28, have been removed.
7151 * PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(),
7152 deprecated in 1.32, have been removed.
7153 * OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated
7154 in 1.33, have been removed.
7155 * User::getPasswordValidity(), deprecated in 1.33, has been removed.
7156 * ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been
7158 * ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed.
7159 * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
7160 * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed.
7161 * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed.
7162 * The Block typehint only refers to blocks stored in the database. It should be
7163 updated to AbstractBlock in cases where any type of block could be expected.
7164 * FileRepoStatus, deprecated in 1.25, has been removed.
7165 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
7166 in 1.27, has been removed.
7167 * IP::isValidBlock(), deprecated in 1.30, has been removed.
7168 * WikiPage::prepareContentForEdit now doesn't accept an integer for $revision,
7169 was deprecated in 1.25.
7170 * The jquery.byteLength module, deprecated in 1.31, was removed.
7171 Use the mediawiki.String module instead.
7172 * mw.language.specialCharacters, deprecated in 1.33, has been removed.
7173 Use require( 'mediawiki.language.specialCharacters' ) instead.
7174 * The jquery.colorUtil module was removed. Use jquery.color instead.
7175 * The jquery.checkboxShiftClick module was removed. The functionality
7176 is provided by mediawiki.page.ready instead (T232688).
7177 * The 'jquery.accessKeyLabel' module has been removed. This jQuery
7178 plugin now ships as part of the 'mediawiki.util' module bundle.
7179 * EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit()
7181 * HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use
7182 getErrorsOrWarnings() instead.
7183 * SpecialPage::getTitle(), deprecated in 1.23, has been removed. Use
7184 SpecialPage::getPageTitle() instead.
7185 * jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold
7186 jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer,
7187 which are no longer used, have now been removed.
7188 * SpecialEmailUser::validateTarget(), ::getTarget() without a sender/user
7189 specified, deprecated in 1.30, have been removed.
7190 * BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed.
7191 * The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
7192 * The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been
7193 removed. Use NS_FILE and NS_FILE_TALK respectively.
7194 * Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer
7195 (deprecated in 1.32) have been removed. Closures should be used instead.
7196 * OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(),
7197 ::addWikiTextTidy(), ::addWikiTextTitle(), deprecated in 1.32, have been
7199 * The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader()
7200 method, deprecated in 1.32, have been removed.
7201 * WebInstallerOutput::addWikiText(), deprecated in 1.32, has been removed.
7202 * Parser::fetchFile(), deprecated in 1.32, has been removed. Use the method
7203 Parser::fetchFileAndTitle() instead.
7204 * The global function wfBCP47, deprecated in 1.31, has been removed.
7205 * wfCountDown() function, deprecated in 1.31, has been removed. Use
7206 \Maintenance::countDown() method instead.
7207 * OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was
7208 deprecated since 1.20.
7209 * Skin::outputPage() no longer accepts a context. This was deprecated in 1.20.
7210 * Linker::link() no longer accepts a string for the query array, as was
7212 * PrefixSearch::titleSearch(), deprecated in 1.23, has been removed. Use the
7213 SearchEngine::defaultPrefixSearch or ::completionSearch() methods instead.
7214 * The UserRights hook, deprecated in 1.26, has been removed. Instead, use the
7215 UserGroupsChanged hook.
7216 * Skin::getDefaultInstance(), deprecated in 1.27, has been removed. Get the
7217 instance from MediaWikiServices instead.
7218 * The UserLoadFromSession hook, deprecated in 1.27, has been removed.
7219 * The wfResetSessionID global function, deprecated in 1.27, has been removed.
7220 Use MediaWiki\Session\SessionManager instead.
7221 * The wfGetLBFactory global function, deprecated in 1.27, has been removed.
7222 Use MediaWikiServices::getInstance()->getDBLoadBalancerFactory().
7223 * The internal method OutputPage->addScriptFile() will no longer silently drop
7224 calls that use an invalid path (i.e., something other than an absolute path,
7225 protocol-relative URL, or full scheme URL), and will instead pass them to the
7226 client where they will likely 404. This usage was deprecated in 1.24.
7227 * Database::reportConnectionError, deprecated in 1.32, has been removed.
7228 * APIEditBeforeSave hook, deprecated in 1.28, has been removed. Please see
7229 EditFilterMergedContent hook for an alternative way to use this feature.
7230 * API module methods getDescription(), getParamDescription(), & getExamples(),
7231 all deprecated in 1.25 and ignored, have been removed.
7232 * The API module method getDescriptionMessage(), deprecated in 1.30, has been
7234 * The JavaScript global variable wgLoadScript has been removed. Use
7235 mw.util.wikiScript( 'load' ) instead.
7236 * ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has
7237 been unused since 1.16 and was deprecated in 1.22. To deprecate a property
7238 in JavaScript, use mw.log.deprecate() instead.
7239 * The 'user.groups' module, deprecated in 1.28, was removed.
7240 Use the 'user' module instead.
7241 * The ResourceLoaderContext::expandModuleNames method, deprecated in 1.33, was
7242 removed. Use ResourceLoader::expandModuleNames instead.
7243 * The ability to override User::$mRights has been removed. Use
7244 PermissionManager::addTemporaryUserRights() instead.
7245 * Previously, when iterating ResultWrapper with foreach() or a similar
7246 construct, the range of the index was 1..numRows. This has been fixed to be
7248 * The ChangePasswordForm hook, deprecated in 1.27, has been removed. Use the
7249 AuthChangeFormFields hook or security levels instead.
7250 * WikiMap::getWikiIdFromDomain(), deprecated in 1.33, has been removed.
7251 Use WikiMap::getWikiIdFromDbDomain() instead.
7252 * The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace,
7253 which were deprecated and ignored by core since 1.22, are no longer set to any
7254 value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not
7255 updated since 2013 to cope with this deprecation may now break.
7256 * (T222637) Passing ResourceLoaderModule objects to ResourceLoader::register()
7257 or $wgResourceModules is no longer supported.
7258 Use the 'class' or 'factory' option of the array format instead.
7259 * The parameter $lang of the functions generateTOC and tocList in Linker and
7260 DummyLinker must be in type Language when present. Other types are
7261 deprecated since 1.33.
7262 * The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29,
7264 * ParserOption::getSpeculativeRevIdCallback(), deprecated in 1.28, has been
7266 * The UploadVerification hook, deprecated in 1.28, has been removed. Instead,
7267 use the UploadVerifyFile hook.
7268 * UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(),
7269 deprecated in 1.28, have been removed. Instead, please use the getFileKey()
7270 method on the response from doStashFile().
7271 * LBFactory::setDomainPrefix() and LoadBalancer::setDomainPrefix(), deprecated
7272 in 1.33, have been removed. Use setLocalDomainPrefix() instead.
7273 * IDatabase::implicitGroupby(), deprecated in 1.30, has been removed.
7274 * IDatabase::doneWrites(), deprecated in 1.31, has been removed.
7275 Use IDatabase::lastDoneWrites() instead.
7276 * Database::reportConnectionError(), deprecated in 1.32, has been removed.
7277 * LoadBalancer::laggedSlaveUsed(), deprecated in 1.28, has been removed.
7278 Use LoadBalancer::laggedReplicaUsed() instead.
7279 * Database::getProperty(), deprecated in 1.28, has been removed.
7280 * IDatabase::getWikiId(), deprecated in 1.30, has been removed.
7281 Use IDatabase::getDomainID() instead.
7282 * (T191231) Support for using Oracle or MSSQL as database backends has been
7284 * MessageCache::destroyInstance() has been removed. Instead, call
7285 MediaWikiTestCase::resetServices().
7286 * SearchResult protected field $searchEngine is removed and no longer
7287 initialized after calling SearchResult::initFromTitle().
7288 * The UserIsBlockedFrom hook is only called if a block is found first, and
7289 should only be used to unblock a blocked user.
7290 * Parameters for index.php from PATH_INFO, such as the title, are no longer
7292 * The selectFields() methods on classes LocalFile, ArchivedFile, OldLocalFile,
7293 DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use
7294 the corresponding getQueryInfo() methods instead.
7295 * The following methods on Revision, deprecated since 1.31, have been removed.
7296 Use RevisionStore::getQueryInfo() or RevisionStore::getArchiveQueryInfo()
7298 * Revision::userJoinCond()
7299 * Revision::pageJoinCond()
7300 * Revision::selectFields()
7301 * Revision::selectArchiveFields()
7302 * Revision::selectTextFields()
7303 * Revision::selectPageFields()
7304 * Revision::selectUserFields()
7305 * User::setNewpassword(), deprecated in 1.27 has been removed.
7306 * The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance
7307 functions, deprecated since 1.28, have been removed.
7308 * Language::$dataCache has been removed (without prior deprecation, for
7309 practical reasons). Use MediaWikiServices instead to get a LocalisationCache.
7311 === Deprecations in 1.34 ===
7312 * The MWNamespace class is deprecated. Use NamespaceInfo.
7313 * ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
7314 Instead, use ->queue().
7315 * User::isBlocked() is deprecated since it does not tell you if the user is
7316 blocked from editing a particular page. Use User::getBlock() or
7317 PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
7318 * User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved
7319 to the BlockManager as private helper methods.
7320 * User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted
7322 * The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled
7323 is deprecated. Pass only the User argument.
7324 * WatchedItem::getUser is deprecated. Use getUserIdentity.
7325 * Passing a Title as the first parameter to the getTimestampById method of
7326 RevisionStore is deprecated. Omit it, passing only the remaining parameters.
7327 * Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use
7328 RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision.
7329 * The Title parameter to RevisionLookup::getPreviousRevision and
7330 RevisionLookup::getNextRevision is deprecated and should be omitted.
7331 * MWHttpRequest::factory is deprecated. Use HttpRequestFactory.
7332 * The Http class is deprecated. For the request, get, and post methods, use
7333 HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI. For
7334 getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a
7335 MultiHttpClient directly.
7336 * Http::$httpEngine is deprecated and has no replacement. The default 'guzzle'
7337 engine will eventually be made the only engine for HTTP requests.
7338 * RepoGroup::singleton(), RepoGroup::destroySingleton(),
7339 RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all
7340 deprecated. Use MediaWikiServices instead.
7341 * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated.
7342 Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
7343 * MWMessagePack class, no longer used, has been deprecated in 1.34.
7344 * The Block class is separated into DatabaseBlock (for blocks stored in the
7345 database), and SystemBlock (for temporary blocks created by the system).
7346 SystemBlock should be used when creating any temporary blocks. Block is
7347 a deprecated alias for DatabaseBlock.
7348 * Parser::$mConf is deprecated. It will be removed entirely in a later version.
7349 Some context can be found at T224165.
7350 * Constructing Parser directly is deprecated. Obtain one from ParserFactory.
7351 * Title::moveSubpages is deprecated. Use MovePage::moveSubpages or
7352 MovePage::moveSubpagesIfAllowed.
7353 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
7354 * (T62260) Hard deprecate Language::getExtraUserToggles() method.
7355 * Language::viewPrevNext function is deprecated, use
7356 PrevNextNavigationRenderer::buildPrevNextNavigation instead
7357 * User::trackBlockWithCookie and DatabaseBlock::clearCookie are deprecated. Use
7358 BlockManager::trackBlockWithCookie and BlockManager::clearCookie instead.
7359 * DatabaseBlock::setCookie, DatabaseBlock::getCookieValue,
7360 DatabaseBlock::getIdFromCookieValue and AbstractBlock::shouldTrackWithCookie
7361 are moved to internal helper methods for BlockManager::trackBlockWithCookie.
7362 * ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have
7363 been deprecated. Inside ResourceLoaderModule subclasses, use the local methods
7364 instead. Elsewhere, use the methods from the ResourceLoader class.
7365 * The Profiler::setTemplated and Profiler::getTemplated methods have been
7366 deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput
7368 * The ProfilerOutputDb class, 'profiling' table, and profileinfo.php entry
7369 point had been deprecated (T231366).
7370 * The Preprocessor_DOM implementation has been deprecated. It will be
7371 removed in a future release. Use the Preprocessor_Hash implementation
7373 * Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist()
7374 have been deprecated; they will be made private in the future.
7375 * SearchResult::termMatches() method is deprecated. It was unreliable because
7376 only populated by few search engine implementations. Use
7377 SqlSearchResult::getTermMatches() if really needed.
7378 * SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated
7379 and should no longer be passed. Search engine implemenations should be
7380 responsible for carrying relevant information needed for highlighting with
7381 their own SearchResultSet/SearchResult sub-classes.
7382 * SearchResultSet::free() method is deprecated.
7383 * SearchEngine::$searchTerms protected field is deprecated. Moved to
7385 * The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle
7386 hooks is highly discouraged as it's only populated by SearchDatabase search
7388 * Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin
7389 template option 'searchaction' instead.
7390 * Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated.
7391 Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead.
7392 * LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have
7394 * FileBackend::getWikiId() has been deprecated.
7395 Use FileBackend::getDomainId() instead.
7396 * User::getRights() and User::$mRights have been deprecated. Use
7397 PermissionManager::getUserPermissions() instead.
7398 * The LocalisationCacheRecache hook no longer allows purging of message blobs
7399 to be prevented. Modifying the $purgeBlobs parameter now has no effect.
7400 * SVGMetadataExtractor::getMetadata has been deprecated. Instead, you should
7401 use SVGReader->getMetadata() directly.
7402 * The following public properties on AbstractBlock are deprecated: $mReason,
7403 $mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead.
7404 * The following public properties on DatabaseBlock are deprecated: $mAuto,
7405 $mParentBlockId. To check for an autoblock use DatabaseBlock::getType; to
7406 check for the parent ID, use DatabaseBlock::getParentBlockId.
7407 * SearchEngine::userHighlightPrefs() is deprecated, simply stop passing
7408 $contextlines and $contextchars to the SearchHighlighter methods, they will
7409 use proper defaults defined in SearchHighlighter::DEFAULT_CONTEXT_LINES and
7410 DEFAULT_CONTEXT_CHARS.
7411 * SearchUpdate constructor: passing a string as the title param and or a boolean
7412 or a string as the content will produce a deprecation warning.
7413 * SearchEngine::getTextFromContent() is deprecated, use getTextForSearchIndex()
7414 directly from the Content object.
7415 * SearchEngine::textAlreadyUpdatedForIndex() is deprecated, given the
7416 deprecation above this method is no longer needed/called and should not be
7417 implemented by SearchEngine implementation.
7418 * IDatabase::bufferResults() has been deprecated. Use query batching instead.
7419 * MessageCache::singleton() is deprecated. Use
7420 MediaWikiServices::getMessageCache().
7421 * ObjectCache::getWANInstance() is deprecated. Use
7422 MediaWikiServices::getMainWANObjectCache() instead.
7423 * ObjectCache::newWANCacheFromParams() is deprecated. Use
7424 MediaWikiServices::getMainWANObjectCache() instead.
7425 * Constructing MovePage directly is deprecated. Use MovePageFactory.
7426 * TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead.
7427 * wfIsBadImage() is deprecated. Use the BadFileLookup service instead.
7428 * Building a new SearchResult is hard-deprecated, always call
7429 SearchResult::newFromTitle(). This class is being refactored into an abstract
7430 class. If you extend this class please be sure to override all its methods
7431 or extend RevisionSearchResult.
7432 * Skin::getSkinNameMessages() is deprecated and no longer used.
7433 * The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp() instead.
7434 * Specifying a SpecialPage object for the list of special pages (either through
7435 the SpecialPage_initList hook or by adding to $wgSpecialPages) is now
7437 * The 'jquery.tabIndex' module is deprecated.
7438 * WebInstaller::getWarningBox() and getErrorBox() are deprecated.
7439 Use Html::errorBox() or Html::warningBox() instead.
7440 * Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user',
7441 'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted
7442 to use the corresponding actor fields directly. Note that use with
7443 'rev_user' is *not* deprecated at this time.
7444 * Specifying both the class and factory parameters for
7445 ApiModuleManager::addModule is now deprecated. The ObjectFactory spec should
7447 * The UserIsHidden hook is deprecated. Use GetUserBlock instead, and add a
7448 system block that hides the user.
7449 * The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or
7451 * $wgContentHandlerUseDB is deprecated and should always be true.
7452 * StreamFile::send404Message() and StreamFile::parseRange() are now deprecated.
7453 Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange()
7454 respectively instead.
7455 * Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban
7456 users from sending emails, use
7457 $wgGroupPermissions['sysop']['blockemail'] = true;
7458 * ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use
7459 ApiQueryBlockInfoTrait instead.
7460 * PasswordReset is now a service, its direct instantiation is deprecated.
7461 * RESTBagOStuff users should specify either "JSON" or "PHP" serialization type.
7462 * The global function wfIsHHVM() is deprecated and will now always return false
7463 regardless of the runtime environment. This is part of the continuing work to
7464 remove HHVM support from MediaWiki, which started in MediaWiki 1.31.
7465 * Language::getLocalisationCache() is deprecated. Use MediaWikiServices
7467 * The following Language methods are deprecated: isSupportedLanguage,
7468 isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames,
7469 fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName.
7470 Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s)
7471 are called getLanguageName(s) in the new class.)
7472 * Using the Parser without initializing its $mTitle property to non-null has
7473 been deprecated. In a future release Parser::getTitle() will throw a
7474 TypeError if $mTitle is uninitialized.
7475 * A number of public methods of Parser were exposed only for historical
7476 reasons and have been deprecated: doMagicLinks, doDoubleUnderscore,
7477 doHeadings, doAllQuotes, replaceExternalLinks, replaceInternalLinks,
7478 replaceInternalLinks2, getVariableValue, initialiseVariables, formatHeadings,
7479 testPst, testPreprocess, testSrvus, areSubpagesAllowed, maybeDoSubpageLink,
7480 splitWhitespace, createAssocArgs, armorLinks, makeKnownLinkHolder,
7481 getImageParams, parseLinkParameter, stripAltText, replaceLinkHolders,
7482 replaceLinkHoldersText, armorLinks, makeKnownLinkHolder, getImageParams,
7483 parseLinkParameter, stripAltText.
7485 === Other changes in 1.34 ===
7486 * Added option to specify "Various authors" as author in extension credits using
7487 "..." as the only author name. If the "author" array contains more than one
7488 entry and "..." is one of the entries in the array, "..." will be parsed as
7489 "others" (version-poweredby-others i18n message) like previously.
7490 * (T232563) Browser support ("Grade C") for Internet Explorer 6 and 7
7491 was discontinued. Basic content and security features may no longer
7492 work correctly in these browsers.
7496 == MediaWiki 1.33.4 ==
7498 This is a security and maintenance release of the MediaWiki 1.33 branch.
7500 === Changes since MediaWiki 1.33.3 ===
7501 * (T247017) PasswordReset performance improvements.
7502 * The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
7503 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
7505 * Remove some rotten and out of date documentation.
7506 * (T252311) Improvements to some older SQLite update patches.
7507 * (T240307) Minor fixes to extension.schema.v2.json and
7508 extension.schema.v1.json.
7509 * rdbms: Add callback for atomic section cancellation.
7510 * (T191668) NameTableStoreTest::getCallCheckingDb simplification.
7511 * Make NameTableStore use LoadBalancer::getConnectionRef().
7512 * (T224949) NameTableStore: ensure consistency upon rollback.
7513 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
7514 rebuildrecentchanges.php.
7515 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
7516 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
7517 setting $wgPoolCounterConf['SpecialContributions'] appropriately.
7518 * (T248947) SECURITY: img_auth.php may leak private extension images into the
7521 == MediaWiki 1.33.3 ==
7523 This is a security and maintenance release of the MediaWiki 1.33 branch.
7525 === Changes since MediaWiki 1.33.2 ===
7526 * (T245072) mediawiki.language: Rename languageData back to languageNames.
7527 * Use proper SemVer comparison in CheckComposerLockUpToDate.
7528 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
7529 * Update comment about PHP versions supported by The PHP Group.
7530 * (T247215) Fix output of RecountCategories::doWork().
7531 * Add check for page existence to view.php maintenance script.
7532 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
7533 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
7536 == MediaWiki 1.33.2 ==
7538 This is a security and maintenance release of the MediaWiki 1.33 branch.
7540 === Changes since MediaWiki 1.33.1 ===
7541 * (T217831) (T200653) PopulateContentTables: compute sha1 and length if needed.
7542 * Fix extra newlines in the installer.
7543 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
7544 * (T181658) Do not insert page titles into querycache.qc_value.
7545 * (T206013) Suppress errors when reading invalid XML file properties.
7546 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
7547 * Use correct value for 'sslmode' in DatabasePostgres.
7548 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
7549 * (T227461) Stop calling deprecated Redis delete functions.
7550 * (T239561) Mark options as requiring parameters in addSite.php.
7551 * (T219440) Skip flaky rollback test.
7552 * (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest.
7553 * (T239734) Replace deprecated lSize with lLen in Redis code.
7554 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
7555 * (T239428) ApiEditPage: Test for bad redirect targets.
7556 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
7558 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
7559 * (T212067) SECURITY: Work around PHP bug in parse_url.
7561 == MediaWiki 1.33.1 ==
7563 This is a security and maintenance release of the MediaWiki 1.33 branch.
7565 === Changes since MediaWiki 1.33.0 ===
7566 * A change that kept people with a database table prefix that didn't
7567 end with an underscore from updating was reverted.
7568 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
7569 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
7570 of headers in private wikis.
7571 * (T230317) Allow upgrading from MediaWiki before 1.15 where the valid_tag table
7573 * (T208897) MessageCache: Restore 'loadedLanguages' tracking for load().
7574 * (T228555) MessageCache: Fix isMainCacheable() logic for non-content languages.
7575 * (T200088) Remove title protection correctly for undeletions and imports.
7576 * (T230402) SECURITY: Add permission check for suppressed account to
7578 * Add helper for HTTPFileStreamer header syntax.
7579 * (T227461) ObjectCache: avoid using deprecated phpredis::delete() alias.
7580 * (T231386) SpecialRedirect::dispatchUser() should use a 302 http status code.
7581 * (T118799) Fix XMP parser errors due to trailing nullchar.
7582 * (T230618) Fix GROUP BY in ActiveUsersPager and RecentChangesUpdateJob for
7584 * (T230487) Handle changed defaults in Argon2PasswordTest::testPartialConfig().
7585 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
7586 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
7587 separate files to help allieviate potential migration problems.
7589 === Upgrading notes for 1.33 ===
7590 1.33 has several database changes since 1.32, and will not work without schema
7591 updates. Note that due to changes to some very large tables like the revision
7592 table, the schema update may take quite long (minutes on a medium sized site,
7593 many hours on a large site).
7595 Don't forget to always back up your database before upgrading!
7597 See the file UPGRADE for more detailed upgrade instructions, including
7598 important information when upgrading from versions prior to 1.11.
7600 Some specific notes for MediaWiki 1.33 upgrades are below:
7602 * Some external link searches will not work correctly until update.php (or
7603 refreshExternallinksIndex.php) is run. These include searches for links using
7604 IP addresses, internationalized domain names, and possibly mailto links.
7605 * If you ran migrateActors.php using an older version of MediaWiki and want to
7606 run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD,
7607 note that log_search rows needed to find revision deletions by target user
7608 were incorrectly deleted. See T215464 for details.
7609 * If revision deletions were performed when the wiki was configured with
7610 $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without
7611 migrateActors.php having been run, the log_search table may contain rows with
7612 empty values for "target_author_actor" which will prevent log searches for
7613 revision deletions by target user from finding those log entries. These rows
7614 may be corrected by (re-)running migrateActors.php.
7616 For notes on 1.32.x and older releases, see HISTORY.
7618 == MediaWiki 1.33.0 ==
7620 === Changes since MediaWiki 1.33.0-rc.0 ===
7621 * (T225558) Update installer link to PHP intl.
7622 * (T225901) Only attempt to deduplicate if there is data in archive and revision
7624 * (T225564) Fetch tag ID before calling undefineTag().
7625 * (T225496) Detect APC for MainCacheType in CLI installer.
7626 * Call unpack() with correct parameters in MimeAnalyzer.php for PHP 7.0 support.
7627 * (T212613) Style change tags correctly on Special:Newpages.
7628 * (T202211) Fix SQLite patch-(page|template)links-fix-pk.sql column order.
7630 == MediaWiki 1.33.0-rc.0 ==
7632 === Configuration changes for system administrators in 1.33 ===
7633 ==== New configuration ====
7634 * $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
7635 accounts with block permissions the ability to block users, IPs, and IP ranges
7636 from editing specific pages, while allowing them to edit the rest of the wiki.
7637 It is a temporary setting for gradual enablement, current default to `false`,
7638 and will be set to `true` and then removed once initial development completes.
7640 ==== Changed configuration ====
7641 * $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in
7642 MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH.
7643 * $wgPasswordPolicy – There is a new password policy to check that the account's
7644 password is not in the large blacklist. This is enabled by default for the
7645 built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure
7646 this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`.
7647 * $wgPasswordDefault – There is a new password type configuration using Argon2
7648 password hashing (which requires PHP 7.2 and above). It's designed to resist
7649 timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure
7650 argon2 to be used, by default, it will automatically choose the best available
7651 algorithm depending on which version of PHP you have available. To use this,
7652 you can set `$wgPasswordDefault = 'argon2';`.
7653 * $wgActorTableSchemaMigrationStage now defaults to reading the new schema.
7654 update.php will back-populate the new database fields due to the changed
7655 setting, which may take some time on large wikis. You can avoid downtime by
7656 following a process like that described in T188327.
7658 ==== Removed configuration ====
7659 * $wgTagStatisticsNewTable (T199334) — This temporary setting, added in
7660 MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki
7661 will now always use the `change_tag_def` instead of the `change_tag` table.
7662 * $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and
7663 $wgDebugTidy – These options, all deprecated since 1.26, have now all been
7664 removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting
7665 remains only for experimental features and debugging, and should not be used.
7666 * $wgEnableParserCache – This setting has been deprecated since 1.26, has now
7667 been removed. If you still desire to disable the parser cache, instead you can
7668 set `$wgParserCacheType = CACHE_NONE;`.
7669 * $wgCommentTableSchemaMigrationStage – This temporary migration setting has now
7670 been removed. Code finding it unset should treat it as being MIGRATION_NEW.
7671 * $wgAuth – This old setting, deprecated in 1.27, has been removed as part of
7672 the removal of AuthPlugin.
7673 * $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent
7674 to allow sites to configure a file in which to cache the SiteStore database
7675 table, but it was never used. SiteStore already caches its information by
7676 default using BagOStuff (e.g. Memcached or APC).
7677 * $wgClockSkewFudge – This setting was used by User.php to let sites adjust by
7678 how much MediaWiki would fudge when trying to minimize the chances of a
7679 user.user_touched database update to the "current" timestamp being before the
7680 value already there (e.g. due to clock skew between different servers). This
7681 is no longer a problem, because the code now ensures the timestamp is always
7682 higher than the previous one. The writes are guarded with CAS logic (check
7683 and set), which prevents updates that would overlap.
7684 * $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has
7687 === New user-facing features in 1.33 ===
7688 * (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category
7689 to be hidden on Special:UnusedCategories.
7690 * (T210814) SVGs are now by default displayed in wiki language on image
7692 * Special:CreateAccount now warns the user if their chosen username has to be
7694 * (T205040) Multilingual images are now be displayed in the current parse
7695 language where available.
7696 * Special:ActiveUsers will no longer filter out users who became inactive since
7697 the last time the active users query cache was updated.
7698 * (T215675) RecentChange and ManualLogEntry implement new Taggable interface.
7699 * (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions
7700 to modify (example: add tags) log entries.
7702 === New developer features in 1.33 ===
7703 * The AuthManagerLoginAuthenticateAudit hook has a new parameter for
7704 additional information about the authentication event.
7705 * TextContent::getText() was introduced as a replacement for
7706 Content::getNativeData() for text-based content models.
7707 * (T214706) LinksUpdate::getAddedExternalLinks() and
7708 LinksUpdate::getRemovedExternalLinks() were introduced.
7709 * (T213893) Added 'MaintenanceUpdateAddParams' hook
7710 * (T219655) The MarkPatrolled hook has a new parameter for the tags
7711 associated with this entry in the patrol log.
7712 * (T212472) Extensions can now specify platform abilities they require to work,
7713 limited to shell access for now.
7716 === External library changes in 1.33 ===
7717 ==== New external libraries ====
7718 * Added wikimedia/password-blacklist 0.1.4.
7719 * Added guzzlehttp/guzzle 6.3.3.
7721 ==== Changed external libraries ====
7722 * Updated OOUI from v0.29.2 to v0.31.3.
7723 * Updated OOjs Router from pre-release to v0.2.0.
7724 * Updated moment from v2.19.3 to v2.24.0.
7725 * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2.
7726 * Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
7727 * Updated jquery-client from 2.0.1 to 2.0.2.
7728 * Updated pear/net_smtp from 1.8.0 to 1.8.1.
7729 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
7730 * Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7.
7732 ==== Removed external libraries ====
7733 * (T219403) jquery.ui.spinner, deprecated since 1.31, was removed.
7736 === Developer library changes in 1.33 ===
7737 ==== New developer libraries ====
7738 * Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only).
7739 * Added mediawiki/mediawiki-phan-config 0.5.0 (dev-only).
7741 ==== Changed developer libraries ====
7742 * Updated wikimedia/ip-set from 1.3.0 to 2.0.1.
7743 * The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be
7745 * Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only).
7746 * Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only).
7747 * Updated mediawiki/mediawiki-codesniffer from 22.0.0 to 25.0.0 (dev-only).
7748 * Updated qunitjs from 2.6.2 to 2.9.1.
7750 ==== Removed developer libraries ====
7751 * The jetbrains/phpstorm-stubs repository was removed in favour of the minimal
7752 stubs we need, which are kept in the new `.phan/internal_stubs` directory
7756 === Bug fixes in 1.33 ===
7757 * (T164211) Special:UserRights could sometimes fail with a
7758 "conflict detected" error when there weren't any conflicts.
7759 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
7760 a non-Latin name on a page with non-Latin characters in title.
7761 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
7762 saveFileDependencies().
7764 === Action API changes in 1.33 ===
7765 * (T198913) Added 'ApiOptions' hook.
7766 * The JSON formatversion=2 is no longer experimental.
7767 * Internal API errors (those with code beginning "internal_api_error") will
7768 include the exception class name in a data field named "errorclass".
7769 * Class names are not guaranteed to remain stable, and in particular database
7770 exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name.
7771 * The code including an exception class name is deprecated. In the future,
7772 all internal errors will use code "internal_api_error".
7773 * (T212356) When using action=delete on pages with many revisions, the module
7774 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
7775 deletion will be processed via the job queue.
7776 * action=setnotificationtimestamp will now update the watchlist asynchronously
7777 if entirewatchlist is set, so updates may not be visible immediately
7778 * Block info will be added to "blocked" errors from more modules.
7779 * (T216245) Autoblocks will now be spread by action=edit and action=move.
7780 * action=query&meta=userinfo has a new uiprop, 'latestcontrib', that returns
7781 the date of user's latest contribution.
7782 * (T25227) action=logout now requires to be posted and have a csrf token.
7784 === Action API internal changes in 1.33 ===
7785 * A number of deprecated methods for API documentation, intended for overriding
7786 by extensions, are no longer called by MediaWiki, and will emit deprecation
7787 notices if your extension attempts to use them:
7788 * ApiBase::getDescription() (deprecated in 1.25)
7789 * ApiBase::getParamDescription() (deprecated in 1.25)
7790 * ApiBase::getExamples() (deprecated in 1.25)
7791 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
7792 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
7793 been removed, as their only use was to let extensions override values returned
7794 by getDescription() and getParamDescription(), respectively.
7795 * API error codes may only contain ASCII letters, numbers, underscore, and
7796 hyphen. Methods such as ApiBase::dieWithError() and
7797 ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
7799 * ApiBase::checkTitleUserPermissions() now takes an options array as its third
7800 parameter. Passing a User object or null is deprecated.
7801 * The api-feature-usage log channel now has log context. The text message is
7802 deprecated and will be removed in the future.
7804 === Languages updated in 1.33 ===
7805 MediaWiki supports over 350 languages. Many localisations are updated regularly.
7806 Below only new and removed languages are listed, as well as changes to languages
7807 because of Phabricator reports.
7809 * (T203908) Added language support for Eastern Pwo (kjp).
7810 * (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
7812 * (T212221) Added $digitTransformTable for Santali (sat).
7813 * (T216479) Added language support for Saisiyat (xsy).
7814 * (T219728) Added support for new Japanese era name "Reiwa"
7816 === Breaking changes in 1.33 ===
7817 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
7818 Language. Other types are deprecated since 1.32.
7819 * Skin::doEditSectionLink requires type Language for the parameter $lang.
7820 The parameters $tooltip and $lang are mandatory. Omitting the parameters is
7821 deprecated since 1.32.
7822 * Language::truncate(), deprecated in 1.31, has been removed.
7823 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
7825 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
7826 and 'notice-message', which were deprecated in 1.32, were removed. Instead,
7827 use 'help', 'help-message', and 'help-messages'.
7828 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
7829 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
7830 RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
7831 Use the RESTBase v1 or Parsoid v3 API instead.
7832 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
7833 parser are being deprecated and ParserOptions::getCanonicalOverrides()
7834 has always been true at any rate.
7835 * Support for disabling tidy and external tidy implementations has been removed.
7836 This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
7837 used and no configuration is necessary.
7838 * A number of deprecated methods for API documentation, intended for overriding
7839 by extensions, are no longer called by MediaWiki, and will emit deprecation
7840 notices if your extension attempts to use them:
7841 * ApiBase::getDescription() (deprecated in 1.25)
7842 * ApiBase::getParamDescription() (deprecated in 1.25)
7843 * ApiBase::getExamples() (deprecated in 1.25)
7844 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
7845 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
7846 been removed, as their only use was to let extensions override values returned
7847 by getDescription() and getParamDescription(), respectively.
7848 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
7849 'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
7850 the creation of AuthManager in 1.27, have been removed. This also means that
7851 the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
7852 is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
7853 that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
7854 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
7856 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
7857 1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
7858 respectively in a $wgExtensionMessagesFiles file.
7859 * The following methods of the Preferences class, deprecated in 1.31, have been
7861 * getSaveBlacklist()
7862 * loadPreferenceValues()
7863 * getOptionFromUser()
7864 * profilePreferences()
7866 * filesPreferences()
7867 * datetimePreferences()
7868 * renderingPreferences()
7869 * editingPreferences()
7871 * watchlistPreferences()
7872 * searchPreferences()
7874 * generateSkinOptions()
7878 * validateSignature()
7880 * getTimezoneOptions()
7882 * filterTimezoneInput()
7884 * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
7885 * (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
7886 * The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
7887 Specifically: mediawiki.api.category, mediawiki.api.edit,
7888 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
7889 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
7890 mediawiki.api.messages, and mediawiki.api.rollback.
7891 * The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
7892 deprecated in 1.31, was removed.
7893 * Revision::fetchRevision(), deprecated in 1.28, was removed.
7894 * Class SquidUpdate, deprecated in 1.27, was removed.
7895 * Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
7896 Title->getCdnUrls().
7897 * Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
7898 Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
7899 * Title->canTalk(), deprecated in 1.30, was removed. Instead, use
7900 Title->canHaveTalkPage().
7901 * Title's methods for site and user page related to CSS and JS, deprecated in
7903 * Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
7904 * Title->isCssJsSubpage() – Use Title->isUserConfigPage()
7905 * Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
7906 * Title->isCssSubpage() – Use Title->isUserCssConfigPage()
7907 * Title->isJsSubpage() – Use Title->isUserJsConfigPage()
7908 * SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
7909 would return the global SiteStore instance, has been removed. You can get to
7910 this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
7911 * Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
7912 Instead, use Language->formatSize() with the relevant Language object.
7913 * Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
7914 version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
7915 * EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
7916 use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
7917 * LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
7918 be unused, and is distinct from OutputPage->addLink(), which remains.
7919 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
7920 JsonContent->getData().
7921 * MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
7922 exception ID is the same as the request ID, from WebRequest::getRequestId().
7923 * SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
7924 You can use SearchEngine::getNearMatcher() instead.
7925 * EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
7926 removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
7927 * User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
7928 been removed. Instead, please use UserGroupMembership::getGroupName() and
7929 UserGroupMembership::getGroupMemberName().
7930 * Backwards compatibility for setting wgSessionsInObjectCache to false or using
7931 wgSessionHandler, both of which were deprecated in 1.27 with the introduction
7932 of SessionManager, has been removed.
7933 * SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
7934 MediaWiki\Auth\AuthManager::autoCreateUser instead.
7935 * The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
7936 Use require( 'mediawiki.libs.jpegmeta' ) instead.
7937 * The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
7938 Use mw.user.getPageviewToken() instead.
7939 * Removed deprecated class property WikiRevision::$importer.
7940 * ResourceLoaderFileModule::readStyleFiles() now requires its $context
7942 * The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
7944 * MessageBlobStore::__construct() now requires its $rl parameter.
7945 * Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
7947 * The 'jquery.xmldom' module has been removed.
7948 * The 'jquery.mockjax' module has been removed.
7949 * The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
7950 * AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
7951 should instead use AuthManager. The following no longer exist:
7952 * The AuthPlugin class itself and the related AuthPluginUser class and i18n
7953 * The AuthPluginSetup and AuthPluginAutoCreate hooks
7954 * The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
7955 AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
7956 * The $wgAuth configuration setting and its use in Setup.php and unit tests
7957 * (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
7958 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
7959 LanguageConverter::markNoConversion instead.
7960 * BagOStuff::modifySimpleRelayEvent() method has been removed.
7961 * ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
7962 Use ParserOutput::allCacheVaryingOptions instead.
7963 * CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
7964 Use CdnCacheUpdate::newFromTitles() instead.
7965 * Handling of multiple arguments by the Block constructor, deprecated in 1.26,
7967 * The translation of main page in Sardinian (sc) was changed from "Pàgina Base"
7968 to "Pàgina printzipale". Existing wikis using this content language need to
7969 move the main page or change the name through MediaWiki:Mainpage page.
7970 * wfSplitWikiID(), deprecated in 1.32, has been removed.
7971 * MessageBlobStore::getBlob(), deprecated in 1.27, has been removed.
7972 Use ::getBlobs() instead.
7973 * The .background-size() LESS mixin, deprecated in 1.27, has been removed.
7974 * ReadOnlyMode::clearCache() and ConfiguredReadOnlyMode::clearCache() have been
7975 removed. Use MediaWikiTestCase::overrideMwServices() instead.
7976 * Support for the 'aggregator' option of JobQueue (and thus $wgJobTypeConf) was
7977 removed. The JobQueueAggregator interface and JobQueueAggregatorRedis class
7978 have also been removed. They were experimentally developed for use by the
7979 Wikimedia Foundation, but were never used, with no known use cases. (Note that
7980 this does not affect JobQueueRedis which is still supported.)
7982 === Deprecations in 1.33 ===
7983 * The configuration option $wgUseESI has been deprecated, and is expected
7984 to be removed in a future release.
7985 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
7986 and is expected to be removed in a future release.
7987 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
7988 introduced in MW 1.17, have been deprecated. These fixes will always be
7989 applied for Arabic and Malayalam in the future. Please enable these on
7990 your local wiki (if you have them explicitly set to false) and run
7991 maintenance/cleanupTitles.php to fix any existing page titles.
7992 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
7993 in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
7994 This will help identify the issue if you added it to $wgAuthManagerConfig.
7995 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
7996 domain ID as a key component and use makeGlobalKey().
7997 * (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
7998 Title::getDBkey(), which doesn't vary case.
7999 * User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
8000 returns the same information in a more useful format.
8001 * For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
8002 as the $lang parameter was deprecated. The same applies to DummyLinker.
8003 * The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
8004 follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
8005 instead which blacklists 100,000 commonly used passwords.
8006 * (T208862) Action::requiresUnblock() is now called from
8007 Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
8008 was only called in Action::checkCanExecute(). Actions should ensure that their
8009 requiresUnblock() returns the proper result (the default is `true`).
8010 * (T211608) The MediaWiki\Services namespace has been renamed to
8011 Wikimedia\Services. The old name is still supported, but deprecated.
8012 * (T155582) Content::getNativeData has been deprecated. Please use model-
8013 specific getters, such as TextContent::getText().
8014 * The class WebInstallerOutput is now marked as @private.
8015 * (T209699) The jquery.async module has been deprecated. JavaScript code that
8016 needs asynchronous behaviour should use Promises.
8017 * Password::equals() is deprecated, use verify().
8018 * BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
8019 other means to fetch a properly escaped message string or Message object.
8020 * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
8021 testing code for your JavaScript modules, is deprecated. Instead, you can now
8022 use the new extension registration key 'QUnitTestModule'.
8023 * (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
8024 code that needs this behaviour should use OO.ui.debounce/throttle.
8025 * The mw.language.specialCharacters property from the
8026 'mediawiki.language.specialCharacters' module has been deprecated.
8027 Use require( 'mediawiki.language.specialCharacters' ) instead.
8028 * ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
8029 removed in a future release.
8030 * Passing a User object or null as the third parameter to
8031 ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
8032 [ 'user' => $user ] instead.
8033 * (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
8034 Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
8035 block properties; use Block::appliesToRight and Block::appliesToUsertalk to
8036 check block behaviour.
8037 * The api-feature-usage log channel now has log context. The text message is
8038 deprecated and will be removed in the future.
8039 * The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
8040 implementation, use CachingSiteStore instead.
8041 * Language::viewPrevNext function is deprecated, use
8042 SpecialPage::buildPrevNextNavigation instead
8043 * ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
8044 instead. The setTags() method was overriding the tags, addTags() doesn't
8045 override, only adds new tags.
8046 * Block::isValid is deprecated, since it is no longer needed in core.
8047 * Calling Maintenance::hasArg() as well as Maintenance::getArg() with no
8048 parameter has been deprecated. Please pass the argument number 0.
8049 * ResourceLoaderContext::expandModuleNames has been deprecated.
8050 Use ResourceLoader::expandModuleNames instead.
8052 === Other changes in 1.33 ===
8053 * (T201747) Html::openElement() warns if given an element name with a space
8055 * The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
8056 changed to explicitly cast. Subclasses relying on the base-class
8057 implementation should check whether they need to override it now.
8058 * BagOStuff::add is now abstract and must explicitly be defined in subclasses.
8059 * LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
8060 the following hooks will now be triggered upon page deletion in addition
8061 to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.
8062 LinksUpdateAfterInsert is not triggered since deletions do not cause
8063 insertions into links tables.
8064 * Category::newFromID( $id )->getID() will now return $id without any
8065 validation, to avoid a mostly unnecessary DB query.
8066 * On Special:Version, the name for an extension can no longer be arbitrary
8067 html when no link is specified.
8071 == MediaWiki 1.32.6 ==
8073 This is a security and maintenance release of the MediaWiki 1.32 branch.
8075 === Changes since MediaWiki 1.32.5 ===
8076 * (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php.
8077 * (T181658) Do not insert page titles into querycache.qc_value.
8078 * (T206013) Suppress errors when reading invalid XML file properties.
8079 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
8080 * Use correct value for 'sslmode' in DatabasePostgres.
8081 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
8082 * (T227461) Stop calling deprecated Redis delete functions.
8083 * (T239561) Mark options as requiring parameters in addSite.php.
8084 * (T239734) Replace deprecated lSize with lLen in Redis code.
8085 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
8086 * (T239428) ApiEditPage: Test for bad redirect targets.
8087 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
8089 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
8090 * (T212067) SECURITY: Work around PHP bug in parse_url.
8092 == MediaWiki 1.32.5 ==
8094 This is a maintenance release of the MediaWiki 1.32 branch.
8096 === Changes since MediaWiki 1.32.4 ===
8097 * Compute sha1 and length if needed in maintenance/populateContentTables.php.
8098 * Fix extra newlines in the installer.
8099 * Followup T230402, PermissionManager doesn't exist until 1.33, so fix the
8100 backported patches to use User::isAllowed() instead.
8102 == MediaWiki 1.32.4 ==
8104 This is a security and maintenance release of the MediaWiki 1.32 branch.
8106 === Changes since MediaWiki 1.32.3 ===
8107 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
8108 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
8109 of headers in private wikis.
8110 * (T230402) SECURITY: Add permission check for suppressed account to
8112 * (T208897) MessageCache: Restore 'loadedLanguages' tracking for load().
8113 * (T200088) Remove title protection correctly for undeletions and imports.
8114 * Add helper for HTTPFileStreamer header syntax.
8115 * (T118799) Fix XMP parser errors due to trailing nullchar.
8116 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
8117 * Cache redirects from Special:Redirect.
8118 * (T231386) dispatchUser() should use a 302 http status code.
8119 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
8120 separate files to help allieviate potential migration problems.
8121 * Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database
8124 == MediaWiki 1.32.3 ==
8126 This is a maintenance release of the MediaWiki 1.32 branch.
8128 === Changes since MediaWiki 1.32.2 ===
8129 * (T225558) Update installer link to PHP intl.
8130 * (T225496) Detect APC for MainCacheType in CLI installer.
8131 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies.
8132 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
8134 == MediaWiki 1.32.2 ==
8136 This is a security and maintenance release of the MediaWiki 1.32 branch.
8138 === Changes since MediaWiki 1.32.1 ===
8139 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
8140 * (T216968) Return pageid as int in both list=iwbacklinks and
8142 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
8143 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
8144 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
8145 $wgBlockDisablesLogin is true.
8146 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
8147 a non-Latin name on a page with non-Latin characters in title.
8148 * Unbreak language related maintenance scripts that use StaticArrayWriter.
8149 * (T219728) Added support for new Japanese era name "Reiwa".
8150 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
8152 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
8153 * (T221045) Remove orphaned code from ConfigRepository.
8154 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
8155 saveFileDependencies().
8156 * (T224374) Fix message parameters so that the message that says SQLite is
8157 out of date makes sense.
8158 * (T200471) Prevent LBFactorySimple breaking ExternalStorage, when trying to
8159 connect to external server with local database name.
8160 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
8161 * (T208881) SECURITY: blacklist CSS var().
8162 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
8163 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
8164 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
8165 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
8167 * (T221739) SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358.
8169 == MediaWiki 1.32.1 ==
8171 === Changes since MediaWiki 1.32.0 ===
8172 * (T213577) rdbms: avoid transaction status errors from ping() in rollback().
8173 * rdbms: Pass required parameter.
8174 * rdbms: do not treat SAVEPOINT and RELEASE SAVEPOINT as write queries.
8175 * (T204531) rdbms: reduce LoadBalancer replication log spam.
8176 * (T213489) Avoid session double-start in Setup.php.
8177 * (T213717) Correct namespace 'Template' for gom-deva
8178 * (T198054) Fix login page crash caused by unknown language via ?uselang
8179 * (T215324) (T210937) list=users mistakenly reports user as missing.
8180 * (T209483) Add ILBFactory::redefineLocalDomain method. This is intended for
8181 use with scripts like addWiki.php to avoid mismatched domain errors.
8182 * (T208871) The hard-coded Google search form on the database error page was
8184 * (T204800) Fix Title::getFragmentForURL for bad interwiki prefix
8185 * (T215566) Fix installer being unable to determine if the database exists
8186 during a fresh installation.
8188 == MediaWiki 1.32.0 ==
8190 === Changes since MediaWiki 1.32.0-rc.2 ===
8191 * (T188327) Fix slow queries in migrateActors.php.
8192 * (T102320) Fix $magicWords for the Sanskrit language.
8194 === Changes since MediaWiki 1.32.0-rc.1 ===
8195 * Fix addition of ug_expiry column to user_groups table on MSSQL.
8196 * (T210307) Fix the cache timestamp for forced updates.
8197 * (T210621) User: Bypass repeatable-read when creating an actor_id.
8198 * (T197535) Extensions can now specify PHP versions and PHP extensions they
8200 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
8201 * (T212356) When using action=delete on pages with many revisions, the module
8202 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
8203 deletion will be processed via the job queue.
8204 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
8205 recentchanges.rc_cur_time from the PostgreSQL schema.
8207 === Changes since MediaWiki 1.32.0-rc.0 ===
8208 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
8210 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
8211 if --lang is used with the command-line installer (install.php).
8213 === Configuration changes in 1.32 ===
8215 ==== New configuration ====
8216 * $wgJpegQuality – The quality of JPEG thumbnails is now configurable through
8217 this setting. The default is 80, which matches the quality of JPEG thumbnails
8218 previously generated by ImageMagick. The quality of JPEG thumbnails generated
8219 by GD was previously 95, but now uses the $wgJpegQuality setting as well.
8220 * $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP
8221 user is blocked. Doing so means that a blocked user, even after moving to a
8222 new IP address, will still be blocked.
8223 * $wgRawHtmlMessages – This new configuration setting is added for listing
8224 messages which are displayed as raw HTML.
8225 * $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a
8226 "Content Security Policy" for your wiki. This adds a defense-in-depth feature
8227 to stop an attacker who has found a bug in the parser allowing them to insert
8228 malicious attributes. Disabled by default. (T135963)
8229 * $wgGroupPermissions – A new user group, 'interface-admin', is added for
8230 controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No
8231 other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs'
8233 * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for
8234 granting the above rights.
8235 * $wgDBDefaultGroup – A default database group for use by maintenance scripts.
8236 * $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you
8237 enable client-side profiling of JavaScript modules; it is off by default.
8238 * (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration
8239 setting allows sysadmins to gradually migrate the database table schema for
8240 how change tags are stored.
8241 * (T199334) $wgTagStatisticsNewTable — This temporary configuration setting
8242 allows sysadmins to enable the caching of Special:Tags via the new
8243 change_tag_def table.
8245 ==== Changed configuration ====
8246 * $wgUseAjax – This setting, deprecated in 1.31, is now ignored.
8247 * $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has
8248 been increased from 3 to 7 days. (T194414)
8249 * $wgGroupPermissions – The right to edit sitewide Javascript
8250 (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface'
8251 and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having
8252 'editinterface' is still necessary to edit such pages.
8253 * $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the
8254 old and the new schema, but reading the new schema, so Multi-Content Revisions
8255 (MCR) are now functional per default. The new default value of the setting is
8256 SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW.
8257 * $wgActorTableSchemaMigrationStage no longer accepts MIGRATION_WRITE_BOTH or
8258 MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH |
8259 SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW
8260 for intermediate stages of migration.
8261 * $wgDBTableOptions – The default table options now use the binary charset. The
8262 default was already overridden in the installer-generated LocalSettings.php,
8263 and so is always set to binary after the installer UI option was removed. The
8264 default value is only used when the installer installs an extension.
8265 * $wgPopularPasswordFile — The location of the default popular passwords file
8266 has been moved to be in line with other non-PHP files used by libraries and
8268 * $wgEnableImageWhitelist is now disabled by default, as it opens up a hole for
8269 potential privacy leaks by administrators. You can check
8270 "MediaWiki:External image whitelist" on your wiki to see whether the feature
8271 was ever used, and whether it needs to be re-enabled.
8273 ==== Removed configuration ====
8274 * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31,
8275 have been removed. (T115414)
8276 * $wgSiteSupportPage – This setting, unused since 1.5, was removed.
8277 * $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed.
8278 * $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed.
8279 The 'html5-legacy' value for $wgFragmentMode is no longer accepted.
8280 * $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and
8281 most extensions, is no longer set. Instead, you can modify the system
8282 message `emailsender`.
8283 * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers
8284 were removed. RemexHtml, which is the default, should be used instead.
8285 * (T181318) The $wgStyleVersion setting and its appendage to various script and
8286 style URLs in OutputPage, deprecated in 1.31, was removed.
8287 * (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed
8288 from ResourceLoader. Instead, use `@import` statements in LESS to import
8289 files directly from nearby directories within the same project.
8290 * (T140804) The wgResourceLoaderLESSVars configuration option, deprecated
8291 since 1.30, was removed. Instead, to expose variables from PHP to LESS, use
8292 the ResourceLoaderModule::getLessVars() method.
8293 * $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18,
8295 * Two temporary variables for deploying the feature of filters on change lists,
8296 $wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and
8297 $wgStructuredChangeFiltersOnWatchlist in 1.31, were removed.
8299 === New features in 1.32 ===
8300 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
8301 using a particular page during edit previews.
8302 * (T12331) You can now log page creation events by setting $wgPageCreationLog
8304 * Added 'ApiParseMakeOutputPage' hook.
8305 * (T174313) Added checkbox on Special:ListUsers to display only users in
8306 temporary user groups.
8307 * (T152462) A cookie can now be set when an IP user is blocked to track that
8308 user if they move to a new IP address. This is disabled by default.
8309 * (T194950) Added 'ApiMaxLagInfo' hook.
8310 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
8312 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
8313 getLoginSecurityLevel() returns non-false.
8314 * The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser,
8315 &$query and &$widthOption, allowing extensions even finer control over the
8316 resulting HTML code.
8317 * Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine
8318 if the [mark as patrolled] link should be shown at the footer of patrollable
8320 * The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook
8321 is now passed by reference, allowing extensions to modify or even unset it.
8322 * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
8323 modify the return value of OutputPage#getHeadLinksArray in order to add,
8324 remove or otherwise alter the elements to be output in the page <head>.
8325 * (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
8326 additional links to the subtitle of a history page.
8327 * The 'GetLinkColours' hook now receives an additional $title parameter,
8328 the Title object of the page being parsed, on which the links will be shown.
8329 * (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to
8330 render diffs between two Content objects, and DifferenceEngine::setRevisions()
8331 to render diffs between two custom (potentially multi-content) revisions.
8332 Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots.
8333 * Added a temporary action=mcrundo to the web UI, as the normal undo logic
8334 can't yet handle MCR and deadlines are forcing is to put off fixing that.
8335 This action should be considered deprecated and should not be used directly.
8336 * Extensions overriding ContentHandler::getUndoContent() will need to be
8337 updated for the changed method signature.
8338 * Added a new hook, 'UserGetRightsRemove', which can be used to remove rights
8339 from user. Unlike the 'UserGetRights' it will ensure that removed rights
8340 will not be reinserted.
8341 * (T197535) Extensions can now specify PHP versions and PHP extensions they
8344 === External library changes in 1.32 ===
8346 ==== New external libraries ====
8347 * Added pear/Net_SMTP v1.8.0.
8348 * Added wikimedia/xmp-reader v0.6.0.
8350 * Added cache/integration-tests v0.16.0 (dev-only).
8351 * Added giorgiosironi/eris v0.10.0 (dev-only).
8352 * Added seld/jsonlint v1.7.1 (dev-only).
8354 * Added EasyDeflate (unversioned).
8356 ==== Changed external libraries ====
8357 * Updated OOUI from v0.26.3 to v0.29.2.
8358 * Updated wikimedia/base-convert from v1.0.1 to v2.0.0.
8359 * Updated wikimedia/remex-html from v1.0.3 to v2.0.1.
8360 * Updated wikimedia/scoped-callback from v1.0.0 to v2.0.0.
8361 ** ScopedCallback objects can no longer be serialized.
8362 * Updated wikimedia/timestamp from v1.0.0 to v2.2.0.
8363 * Updated wikimedia/wrappedstring from v2.3.0 to v3.0.1.
8364 * oyejorge/less.php replaced with our fork wikimedia/less.php
8365 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
8367 * Updated composer/spdx-licenses from v1.3.0 to v1.4.0 (dev-only).
8368 * Updated mediawiki/mediawiki-codesniffer from v18.0.0 to v22.0.0 (dev-only).
8369 * Updated psy/psysh from v0.8.11 to v0.9.6 (dev-only).
8371 * Updated CLDRPluralRuleParser from v0.1.0 to v1.3.2-pre.
8372 * Updated jquery from v3.2.1 to v3.3.1.
8373 * Updated jquery.client from v2.0.0 to v2.0.1.
8374 * Updated jquery.i18n from v1.0.4 to v1.0.5.
8375 * Updated mustache.js from v0.8.2-d9aa703 to v1.0.0.
8376 * Updated OOjs from v2.2.0 to v2.2.2.
8377 * Updated qunitjs from v2.4.0 to v2.6.2.
8378 * Updated sinonjs from v1.17.3 to v1.17.7.
8380 ==== Removed external libraries ====
8381 * pear/mail_mime-decode was removed.
8383 === Bug fixes in 1.32 ===
8384 * SpecialPage::execute() will now only call checkLoginSecurityLevel() if
8385 getLoginSecurityLevel() returns non-false.
8386 * (T43720, T46197) Improved page display title handling for category pages
8387 * (T65080) Fixed resetting options of some types via API action=options.
8389 === Action API changes in 1.32 ===
8390 * Added templated parameters.
8391 * A module can define a templated parameter like "{fruit}-quantity", where
8392 the actual parameters recognized correspond to the values of a multi-valued
8393 parameter. Then clients can make requests like
8394 "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
8395 * action=paraminfo will return templated parameter definitions separately
8396 from normal parameters. All parameter definitions now include an "index"
8397 key to allow clients to maintain parameter ordering when merging normal and
8398 templated parameters.
8399 * It is now an error to submit too many values for a multi-valued parameter.
8400 This has generated a warning since MediaWiki 1.14.
8401 * Assertion failures from the 'assert' and 'assertuser' parameters will no
8402 longer use the action module's custom response format, for the few modules
8403 that use custom formatters that handle errors.
8404 * (T198935) User list preferences such as `email-blacklist` and similar
8405 extension preferences are no longer represented as arrays when returned by
8406 action=query&meta=userinfo&uiprop=options.
8407 * 'missingparam' errors will now use the prefixed parameter name in the code
8408 and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
8409 than "nofoo" and "The 'foo' parameter must be set".
8410 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
8411 multi-content revision slots for which content should be returned. It also
8412 has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
8413 warning will be issued if rvprop=content or rvprop=contentmodel are used
8415 * The rvcontentformat parameter to action=query&prop=revisions has been
8416 deprecated. Clients should be prepared to deal with the default format for
8418 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
8419 rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
8420 rvprop=parsetree is forbidden with the new 'rvslots' parameter.
8421 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
8422 action=query&list=alldeletedrevisions are changed similarly to
8423 &prop=revisions (see the three previous items).
8424 * (T174032) action=compare now supports multi-content revisions.
8425 * It has a 'slots' parameter to select diffing of individual slots. The
8426 default behavior is to return one combined diff.
8427 * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat',
8428 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters
8429 are deprecated. Specify the new 'fromslots' and 'toslots' to identify which
8430 slots have text supplied and the corresponding templated parameters for
8432 * The behavior of 'fromsection' and 'tosection' of extracting one section's
8433 content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}'
8434 instead expand the given text as if for a section edit. This effectively
8435 declines T183823 in favor of T185723.
8436 * (T198214) The 'disabletidy' parameter to action=parse has been
8437 deprecated; untidy output will not be supported by future wikitext
8439 * Added intestactionsdetail to action=query&prop=info to allow retrieving the
8440 reasons an action is not allowed.
8441 * Deprecated action=query&prop=info inprop=readable in favor of
8443 * (T212356) When using action=delete on pages with many revisions, the module
8444 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
8445 deletion will be processed via the job queue.
8447 === Action API internal changes in 1.32 ===
8448 * Added 'ApiParseMakeOutputPage' hook.
8449 * Parameter names may no longer contain '{' or '}', as these are now used for
8450 templated parameters.
8451 * (T194950) Added 'ApiMaxLagInfo' hook.
8452 * The following methods now take a RevisionRecord rather than a Revision. No
8453 external callers are known.
8454 * ApiFeedContributions::feedItemAuthor()
8455 * ApiFeedContributions::feedItemDesc()
8456 * ApiQueryRevisionsBase::extractRevisionInfo()
8457 * The following deprecated methods have been removed:
8458 * ApiBase::profileIn() (deprecated in 1.25)
8459 * ApiBase::profileOut() (deprecated in 1.25)
8460 * ApiBase::safeProfileOut() (deprecated in 1.25)
8461 * ApiBase::profileDBIn() (deprecated in 1.25)
8462 * ApiBase::profileDBOut() (deprecated in 1.25)
8463 * ApiBase::dieUsage() (deprecated in 1.29)
8464 * ApiBase::dieUsageMsg() (deprecated in 1.29)
8465 * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
8466 * ApiBase::getErrorFromStatus() (deprecated in 1.29)
8467 * ApiBase::parseMsg() (deprecated in 1.29)
8468 * ApiBase::setWarning() (deprecated in 1.29)
8469 * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
8470 * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
8471 * ApiUsageException::getCodeString() (deprecated in 1.29)
8472 * ApiUsageException::getMessageArray() (deprecated in 1.29)
8473 * Class UsageException, deprecated in 1.29, has been removed.
8474 * ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you
8475 can now easily test $formatter->getFormat() === 'bc', and then call
8476 $formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter.
8478 === Languages updated in 1.32 ===
8479 MediaWiki supports over 350 languages. Many localisations are updated regularly.
8480 Below only new and removed languages are listed, as well as changes to languages
8481 because of Phabricator reports.
8483 * (T193566) Added language support for Ambonese Malay (abs).
8484 * (T194047) Added language support for Shawiya, Latin script (shy-latn).
8485 * (T195940) Added language support for Batak Mandailing (btm).
8486 * (T137491) Added language support for Standard Moroccan Amazigh (zgh).
8487 * (T198132) Added language support for Manipuri (mni).
8488 * (T201276) Added language support for Western Armenian (hyw).
8489 * (T201583) Added language support for Mon (mnw).
8491 === Breaking changes in 1.32 ===
8492 * $wgRequestTime, deprecated in 1.25, was removed. Use
8493 $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
8494 * The MediaWikiI18N class, deprecated in 1.31, was removed.
8495 * QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use
8496 Skin::msg() instead.
8497 * wfInitShellLocale(), deprecated in 1.30, was removed.
8498 * wfShellExecDisabled(), deprecated in 1.30, was removed.
8499 * The type string for the parameter $lang of DateFormatter::getInstance,
8500 deprecated in 1.31, was removed.
8501 * The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use
8502 MediaWiki\Session\Token::SUFFIX instead.
8503 * EditPage::isOouiEnabled() deprecated in 1.30, was removed.
8504 * mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl()
8506 * (T61113) The following methods and constants from the Revision class, which
8507 were deprecated in 1.25, have now been removed:
8508 * Revision::getRawUser()
8509 * Revision::getRawUserText()
8510 * Revision::getRawComment()
8511 * window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use
8512 mw.msg() or mw.message() instead.
8513 * mw.util.escapeId(), deprecated in 1.30, was removed. Use
8514 mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead.
8515 * mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use
8516 jquery.accessKeyLabel instead.
8517 * The SqlDataUpdate class, deprecated in 1.28, has been removed.
8518 * The Html5Internal and Html5Depurate tidy driver classes were removed, along
8519 with the Balancer tidy implementation. Both implementations were experimental,
8520 and were replaced by RemexHtml.
8521 * (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both
8522 removed. Use JobQueueGroup::singleton()->push() instead.
8523 * The jquery.footHovzer module, for mediawiki.debug, was removed.
8524 * The es5-shim module, empty and deprecated since 1.29, was removed.
8525 * the dom-level2-shim module, empty and deprecated since 1.29, was removed.
8526 * the json module, empty and deprecated since 1.29, was removed.
8527 * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was
8528 removed. Use mediawiki.widgets.visibleLengthLimit instead.
8529 * The jquery.farbtastic module, unused since 1.18, was removed.
8530 * The 'jquery.expandableField' module, unused since 1.22, was removed.
8531 * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide
8532 any HTMLForm object rather than PreferencesForm.
8533 * The non namespaced TimestampException class, deprecated in 1.29, was removed.
8534 Use Wikimedia\Timestamp\TimestampException instead.
8535 * The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence,
8536 utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed.
8537 The UtfNormal\Utils class from the utfnormal library should be used instead.
8538 * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants
8539 from the UtfNormal\Constants class from the utfnormal library should be used
8540 * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
8541 only needed for PHP5 compatibility, have been removed. It now uses the boolean
8542 values `true` and `false` respectively.
8543 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
8544 were removed. Use the ParserCache class instead.
8545 * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
8547 * Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(),
8548 deprecated since 1.26, was removed. Use getDefinitionSummary() instead.
8549 * (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump"
8550 and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump"
8551 is no longer loaded by default. The Vector and MonoBook skins have made a
8552 minor change to implement the toggle feature with CSS instead. To restore
8553 prior functionality, either explicitly load "jquery.mw-jump" in your skin
8554 or refer to T195256 for details on how to make the same change.
8555 * Hook 'EditPageBeforeEditChecks' was removed;
8556 use 'EditPageGetCheckboxesDefinition' instead.
8557 * Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since
8558 1.28, were removed. LinkRenderer::getLinkClasses() should be used instead.
8559 * Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has
8560 been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode()
8562 * mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of
8563 CapsuleMultiselectWidget. The following methods may no longer be used:
8564 * setItemsFromData: Use setValue instead
8565 * getItemsData: Use getItems instead and get the data property
8566 * Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
8567 removed. Use addLink() instead.
8568 * Another two OutputPage methods, setPageTitleActionText() and
8569 getPageTitleActionText(), were removed. They did nothing since 1.15 (almost
8570 ten years). Use setHTMLTitle() directly.
8571 * The return value of OutputPage::adaptCdnTTL() has been removed. The
8572 value returned was misleading and probably not what any caller would
8574 * All MagicWord static member variables have been removed. Use appropriate
8575 hooks or MagicWordFactory methods instead.
8576 * MagicWord::clearCache() has been removed. Instead, create a new
8577 MagicWordFactory, such as by calling
8578 resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
8579 * mw.util.init() has been removed. This function is not needed anymore and was
8580 a no-op function since 1.30.
8581 * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices()
8583 * MediaWiki no longer supports a StartProfiler.php file. Instead, you can set
8584 $wgProfiler and $wgEnableProfileInfo.
8585 * The mw.loader.addSource() is now considered a private method, and no longer
8586 supports the `id, url` signature. Use the `Object` parameter instead.
8587 * The backwards-compatibility code in HTMLForm to add a drop-down control to an
8588 option that is not set to be a drop-down if the "mw-chosen" class is present,
8590 * Several collations were removed. They were workarounds for bugs in the ICU
8591 library and they are no longer needed (as of ICU 57.1):
8592 * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead
8593 * 'xx-uca-et' (CollationEt) - use 'uca-et' instead
8594 * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead
8595 * LanguageCode::bcp47() now always returns a valid BCP 47 code. This means
8596 that some MediaWiki-specific language codes, such as `simple`, are mapped
8597 into valid BCP 47 codes (eg `en-simple`).
8598 * The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated
8599 in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'.
8600 The ChangesListSpecialPage code for these legacy hooks, and their use in
8601 SpecialRecentchanges.php and SpecialWatchlist, was also removed:
8602 * ChangesListSpecialPage->getCustomFilters()
8603 * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters()
8604 * ChangesListSpecialPage::customFilters
8605 * The global function wfUseMW, deprecated since 1.26, has now been removed. Use
8606 the "requires" property of static extension registration instead.
8607 * $wgSpecialPages no longer accepts array syntax, deprecated since 1.18.
8608 * The MailAddress constructor can no longer be called with a User object,
8609 behaviour which has been deprecated since 1.24.
8610 * LBFactory, deprecated since 1.28, has been removed. Instead, use
8611 Wikimedia\Rdbms\LBFactory.
8612 * The MimeMagic class, deprecated since 1.28 has been removed. Get a
8613 MimeAnalyzer instance from MediaWikiServices instead.
8614 * The '--tidy' option to maintenance/parse.php has been removed. Tidying
8615 the output is now the default. Use '--no-tidy' to bypass the tidy
8617 * The global function wfErrorLog, deprecated since 1.25, has now been removed.
8618 Use MWLoggerLegacyLogger::emit or UDPTransport.
8619 * The hooks 'SpecialRecentChangesQuery' & 'SpecialWatchlistQuery', deprecated in
8620 1.23, were removed. Instead, use ChangesListSpecialPageStructuredFilters or
8621 ChangesListSpecialPageQuery.
8622 * The global function wfUsePHP, deprecated since 1.30, has now been removed. To
8623 assert a newer version of PHP than MediaWiki does, use extension registration.
8624 * The hook 'ChangesListSpecialPageFilters', deprecated in 1.29, has now been
8625 removed. Use the 'ChangesListSpecialPageStructuredFilters' hook instead.
8626 * DeferredUpdates::setImmediateMode(), deprecated since 1.29, has been removed.
8627 * File / MediaHandler::getStreamHeaders(), deprecated since 1.30, was removed.
8628 * The hook 'DoEditSectionLink', deprecated since 1.25, has been removed. Use
8629 the hook 'SkinEditSectionLinks' instead.
8630 * The hook 'UserGetImplicitGroups', deprecated since 1.25, has been removed.
8631 * The global function wfRunHooks, deprecated since 1.25, has now been removed.
8633 * The hook 'UnknownAction', deprecated since 1.19, has now been removed.
8634 * The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use
8635 the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead.
8636 * The following deprecated API methods have been removed:
8637 * ApiBase::profileIn() (deprecated in 1.25)
8638 * ApiBase::profileOut() (deprecated in 1.25)
8639 * ApiBase::safeProfileOut() (deprecated in 1.25)
8640 * ApiBase::profileDBIn() (deprecated in 1.25)
8641 * ApiBase::profileDBOut() (deprecated in 1.25)
8642 * ApiBase::dieUsage() (deprecated in 1.29)
8643 * ApiBase::dieUsageMsg() (deprecated in 1.29)
8644 * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
8645 * ApiBase::getErrorFromStatus() (deprecated in 1.29)
8646 * ApiBase::parseMsg() (deprecated in 1.29)
8647 * ApiBase::setWarning() (deprecated in 1.29)
8648 * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
8649 * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
8650 * ApiUsageException::getCodeString() (deprecated in 1.29)
8651 * ApiUsageException::getMessageArray() (deprecated in 1.29)
8652 * Class UsageException, deprecated in 1.29, has been removed.
8653 * MediaWiki no longer has a 'JavaScript-powered' wikitext toolbar built in. The
8654 old "bulletin board style toolbar", known as "the 2006 wikitext editor", has
8655 been removed, and instead sysadmins will be required to choose one (or more)
8656 of the several extensions available for this purpose if they need the
8657 functionality. The MediaWiki "tarball" releases have included the replacement
8658 extension for this, the WikiEditor extension aka "the 2010 wikitext editor",
8659 for many years now. As part of this, several parts of MediaWiki have been
8660 removed or simplified:
8661 * The user option 'showtoolbar' (shown as "Show edit toolbar") is no longer
8662 available; if an extension adds a toolbar via the EditPageBeforeEditToolbar
8663 hook, it will be shown; extensions should provide a specific user preference
8664 to disable themselves as needed.
8665 * The public methods Language::getImageFile() and ::getImageFiles(), and the
8666 related specification of $imageFiles within individual languages' code file,
8667 as well as the referenced static media assets, all of which were only used
8668 inside MediaWiki itself for providing the icons for the old toolbar, have
8669 been removed without explicit deprecation.
8670 * The internal ResourceLoader module "mediawiki.toolbar", which is unused
8671 except by MediaWiki itself and back-compatibility code, has been removed.
8672 * The internal ResourceLoaderEditToolbarModule class has been removed.
8674 === Deprecations in 1.32 ===
8675 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
8676 button is already marked as progressive.
8677 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
8678 has been centralised to Skin::getDefaultModules(), which is now capable
8679 of queueing style modules as well.
8680 * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are
8681 deprecated. Use addModules() instead.
8682 * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle}
8683 in extending classes is deprecated. Extend related doSearch* methods
8685 * The following 'mediawiki.api' plugin modules were merged into mediawiki.api
8686 and deprecated: mediawiki.api.category, mediawiki.api.edit,
8687 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
8688 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
8689 mediawiki.api.messages, and mediawiki.api.rollback.
8690 * ApiBase::truncateArray() is deprecated. No replacement, as nothing is known
8692 * WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken
8693 with the 'unwatch' action parameter instead.
8694 * IcuCollation::getICUVersion() is deprecated, as you can just use the PHP
8695 constant INTL_ICU_VERSION directly in all versions that MediaWiki supports.
8696 * Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead.
8697 * The ApiQueryContributions class has been renamed to ApiQueryUserContribs.
8698 * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor
8699 of the namespaced classes provided by the wikimedia/xmp-reader library.
8700 * SearchResultSet::{next,rewind} are deprecated. Calling code should
8701 use foreach on the SearchResultSet, or the extractResults method. Extending
8702 code should override extractResults.
8703 * Instantiating SearchResultSet directly is deprecated. SearchEngine
8704 implementations must subclass SearchResultSet for their purposes.
8705 * SearchResult::setExtensionData argument has been changed from accepting an
8706 array to accepting a Closure that returns the array when called.
8707 * Class CryptRand, everything in MWCryptRand except generateHex() and function
8708 MediaWikiServices::getInstance()->getCryptRand() are deprecated, use
8709 random_bytes() to generate cryptographically secure random byte sequences.
8710 * Parser::getConverterLanguage() is deprecated. Use ::getTargetLanguage()
8712 * Language::markNoConversion() is deprecated. It confused readers because
8713 it had unexpected behavior (only marking text if it looked like a URL)
8714 and was only used in a single place in the code. Use
8715 LanguageConverter::markNoConversion() instead.
8716 * (T197492) Language::truncate() was soft deprecated in 1.31 and is
8717 hard deprecated in this release. It has been split into two similar
8718 methods, Language::truncateForVisual() and Language::truncateForDatabase(),
8719 which measure length in characters and bytes, respectively. Use
8720 Language::truncateForVisual() when possible to provide equity to users
8721 of multibyte scripts.
8722 * (T176526) EditPage::getContextTitle() falling back to $wgTitle when the
8723 context title is unset is now deprecated; anything creating an EditPage
8724 instance should set the context title via ::setContextTitle().
8725 * The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated.
8726 * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules()
8727 are deprecated. These concepts are obsolete and have no replacement.
8728 * String type for $lang of DifferenceEngine::setTextLanguage is deprecated.
8729 * The following methods of OutputPage are now deprecated in favour
8730 of using showFatalError directly: OutputPage::showFileDeleteError()
8731 OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError()
8732 OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError().
8733 * The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer
8734 classes are now deprecated. Use a Closure instead.
8735 * (T194263) ContentHandler::makeParserOptions() is deprecated. Use
8736 WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
8737 * (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in
8738 MediaWiki 1.26, is now hard-deprecated. All known clients were converted to
8739 the Parsoid v3 API in May 2015.
8740 * $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use
8741 $formDescriptor instead.
8742 * SearchEngine::transformSearchTerm( $term ) should no longer be called prior
8743 to running searchText. This method was mainly implemented to support the
8744 'prefix' URI param in SpecialSearch, but there are no reasons to expose this
8745 logic as it should be handled internally by SearchEngine implementations
8746 supporting this feature. SearchEngine implementations should no longer
8747 override this methods.
8748 * SearchEngine::replacePrefixes( $query ) should no longer be called prior
8749 to running searchText/searchTitle.
8750 * (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
8751 'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
8752 * Global functions wfArrayFilter() and wfArrayFilterByKey() are deprecated.
8753 use array_filter() directly.
8754 * The $wgShowSQLErrors global is deprecated and nonfunctional.
8755 Set $wgShowExceptionDetails and/or $wgShowHostnames instead.
8756 * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional.
8757 Set $wgShowExceptionDetails instead.
8758 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
8759 mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
8760 mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() /
8761 getOldRevision() / getNewRevision() for the first four (note that the
8762 revision ones return a RevisionRecord, not a Revision), do your own lookup
8764 * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
8765 just enable the PHP extension, and it will be autodetected.
8766 * (T194731) DifferenceEngine properties mOldContent and mNewContent and methods
8767 setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff()
8768 are deprecated. To interact with a single slot, use a SlotDiffRenderer (and
8769 subclass it to customize diff rendering); to diff custom (e.g. unsaved)
8770 content, use setRevisions(). Subclassing DifferenceEngine should only be done
8771 to customize page-level diff properties (such as the navigation header).
8772 * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
8773 * All MagicWord static methods are now deprecated. Use the MagicWordFactory
8775 * PasswordFactory::init is deprecated. To get a password factory with the
8776 standard configuration, use
8777 MediaWikiServices::getInstance()->getPasswordFactory.
8778 * $wgContLang is deprecated, use
8779 MediaWikiServices::getInstance()->getContentLanguage() instead.
8780 * $wgParser is deprecated, use MediaWikiServices::getInstance()->getParser()
8782 * wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance()
8784 * wfGetCache() is deprecated, use ObjectCache::getInstance() instead.
8785 * All SpecialPageFactory static methods are deprecated. Instead, call the
8786 methods on a SpecialPageFactory instance, which may be obtained from
8788 * mw.user.stickyRandomId was renamed to the more explicit
8789 mw.user.getPageviewToken to better capture its function.
8790 * Passing Revision objects to ContentHandler::getUndoContent() is deprecated,
8791 Content object should be passed instead.
8792 * (T197179) Parameters 'notice', 'notice-messages', 'notice-message',
8793 previously used by OOUI HTMLForm fields, are now deprecated. Use
8794 'help', 'help-message', 'help-messages' instead.
8795 * (T197179) HTMLFormField::getNotices() is now deprecated.
8796 * The jquery.localize module is now deprecated. Use jquery.i18n instead.
8797 * The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates,
8798 or overriding ContentHandler::getSecondaryDataUpdates (T194038).
8799 * The WikiPageDeletionUpdates hook was deprecated in favor of
8800 PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates
8802 * Content::getSecondaryDataUpdates has been deprecated in favor of
8803 ContentHandler::getSecondaryDataUpdates() for overriding by extensions
8805 Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
8806 * Content::getDeletionUpdates has been deprecated in favor of
8807 ContentHandler::getDeletionUpdates() for overriding by extensions (T194038).
8808 Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
8809 * (T198214) Old Tidy-related configuration settings, which were soft-deprecated
8810 in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy,
8811 $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use
8812 $wgTidyConfig instead.
8813 * All Tidy configurations other than Remex have been hard deprecated;
8814 future parsers will not emit compatible output for these configurations.
8815 In particular, running MediaWiki with tidy disabled has been deprecated.
8816 * (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(),
8817 and OutputPage::addWikiTextTitle() have been deprecated, since they
8818 can result in untidy output. In addition OutputPage::addWikiTextTidy()
8819 and OutputPage::addWikiTextTitleTidy() was deprecated to make naming new
8820 methods consistent. Use OutputPage::addWikiTextAsInterface() or
8821 OutputPage::addWikiTextAsContent() instead, which ensures the output is
8822 tidy and clarifies whether content-language specific postprocessing should
8823 be done on the text.
8824 * OutputPage::parse() and OutputPage::parseInline() have been deprecated
8825 due to untidy output and inconsistent handling of wrapper divs and
8826 interface/content language defaults. Use OutputPage::parseAsContent(),
8827 OutputPage::parseAsInterface(), or OutputPage::parseInlineAsInterface()
8829 * QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated
8830 as they promote bad practises. I18n messages should always be properly
8832 * Skin::getDynamicStylesheetQuery() has been deprecated. It always
8833 returns action=raw&ctype=text/css which callers should use directly.
8834 * Class LegacyFormatter is deprecated.
8835 * Use of CommentStore::insertWithTempTable() with 'img_description' is
8836 deprecated. Use CommentStore::insert() instead.
8837 * Language::setCode is deprecated as public function. Use Language::factory
8838 to create a new Language object with a different language code.
8839 * Several classes have been moved from the MediaWiki\Storage\ namespace to the
8840 MediaWiki\Revision\ namespace. The old class names are aliased for
8841 compatibility, but are deprecated. Classes are IncompleteRevisionException,
8842 MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
8843 RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
8844 RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
8845 SuppressedDataException.
8846 * When using OOUI HTMLForm containing an 'info' field which uses the 'rawrow'
8847 option, it is now deprecated to give its contents (the 'default' option)
8848 as a string. They should be given as a OOUI\FieldLayout object instead.
8849 Notably, this affects fields defined in the 'GetPreferences' hook, because
8850 Special:Preferences uses an OOUI form now. (If possible, don't use 'rawrow'.)
8851 * In Skin::doEditSectionLink omitting the parameters $tooltip and $lang is
8852 deprecated. For the $lang parameter, types other than Language are
8854 * The $wgUseKeyHeader configuration option and the
8855 OutputPage::getKeyHeader() method have been deprecated; the relevant
8856 draft IETF spec expired without becoming a standard.
8857 * Deprecated API action=query&prop=info inprop=readable in favor of
8860 === Other changes in 1.32 ===
8861 * (T198811) The following tables have had their UNIQUE indexes turned into
8862 proper PRIMARY KEYs for increased maintainability: interwiki, page_props,
8863 protected_titles and site_identifiers.
8864 * OOUI HTMLForm will now display help text inline after the input field,
8865 rather than in a popup. Previous behavior can be restored by using
8866 `'help-inline' => false`.
8867 * The archive table's ar_rev_id field is now unique.
8868 * Special:BotPasswords now requires reauthentication.
8869 * (T174023) Multi-Content Revision (MCR) capabilities were introduced into the
8870 storage layer and have basic support for display. No user interface exists
8871 yet for creating or managing content in slots beides the main slot. See
8872 <https://www.mediawiki.org/wiki/Multi-Content_Revisions> for more
8874 * The image_comment_temp database table has been removed. Since all access
8875 should be mediated by the CommentStore class, this change shouldn't affect
8877 * (T206147) Database::close() will no longer commit any open transactions.
8878 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
8879 recentchanges.rc_cur_time from the PostgreSQL schema.
8883 == MediaWiki 1.31.16 ==
8885 This is a security and maintenance release of the MediaWiki 1.31 branch.
8887 This is intended to be the final release of the MediaWiki 1.31 branch,
8888 and as such, 1.31 is now considered End of Life.
8890 === Changes since MediaWiki 1.31.15 ===
8891 * (T283273) Make postgres IRC channel point to libera.chat.
8892 * (T289108) ExtensionProcessor: Remove loaderScripts from
8893 extension.json schemas.
8894 * (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in
8896 * (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full
8898 * (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of
8899 Special:Contributions.
8901 == MediaWiki 1.31.15 ==
8903 This is a security and maintenance release of the MediaWiki 1.31 branch.
8905 === Changes since MediaWiki 1.31.14 ===
8906 * (T270988) Fixup issues in SpecialChangeContentModel.php.
8907 * (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER.
8908 * (T276945) Define a batch size in maintenance/manageJobs.php.
8909 * (T276945) Implement JobQueueDB::getAllAbandonedJobs.
8910 * (T281549) WebInstaller: Don't show the announce-l subscribe
8911 checkbox temporarily.
8912 * (T283247) Freenode -> Libera per wikimedia moving from
8914 * (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from
8917 == MediaWiki 1.31.14 ==
8919 This is a maintenance release of the MediaWiki 1.31 branch.
8921 === Changes since MediaWiki 1.31.13 ===
8922 * Make Title implement IDBAccessObject.
8924 == MediaWiki 1.31.13 ==
8926 This is a security and maintenance release of the MediaWiki 1.31 branch.
8928 === Changes since MediaWiki 1.31.12 ===
8929 * (T115436) resourceloader: CSSMin::getLocalFileReferences now strips
8931 * Updating php-parallel-lint/php-parallel-lint (0.9.2 => 1.0.0).
8932 * Updating mediawiki/codesniffer (19.1.0 => 19.4.0).
8933 * DefaultSettings.php: Update $wgPingback documentation.
8934 * PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0.
8935 * (T275261) Escape wikitext in the title in invalid title error messages.
8936 * (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access
8937 Special:ResetTokens.
8938 * pageExist.php: Output trailing newlines.
8939 * (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages
8940 on ChangesList pages.
8941 * (T277414) HTMLFormField: Use non namespaced class name rather than
8943 * (T268230) Switch to new MediaWiki logo by Serhio Magpie.
8944 * (T271735) Expand config-pingback-help, link to privacy policy in
8946 * Fix documentation of user-global in $wgRateLimits.
8947 * BackupDumper: Add -o as shortcode for --output.
8948 * (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-*
8949 messages on Special:NewFiles.
8950 * (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection
8951 they have right to do so via action=protect.
8952 * (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in
8954 * (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user
8956 * (T276843, CVE-2021-20270, CVE-2021-27291) SECURITY:
8957 SyntaxHighlight_GeSHi: Various lexers have been disabled due to DoS
8960 == MediaWiki 1.31.12 ==
8962 This is a maintenance release of the MediaWiki 1.31 branch.
8964 === Changes since MediaWiki 1.31.11 ===
8965 * Fixed issues relating to User::isRegistered() not existing in 1.31.
8967 == MediaWiki 1.31.11 ==
8969 This is a security and maintenance release of the MediaWiki 1.31 branch.
8971 === Changes since MediaWiki 1.31.10 ===
8972 * Fix undefined $wgRedirectOnLogin.
8973 * (T251661, T265313) CentralIdLookup::factoryNonLocal can return null.
8974 * (T263592) media: Fix case of FlashPixVersion in
8975 FormatMetadata::makeFormattedData().
8976 * (T265223) BaseTemplate: Guard against passing zero arg to array_merge().
8977 * (T266418) composer.json: add requirement for composer-plugin-api ^1.1.
8978 * (T260631, T260633), BotPassword::save() now returns a Status object for the
8979 result rather than a bool. The length of the bot password grants and
8980 restriction fields are now validated, and an error will be thrown if it
8981 would be truncated by the database.
8982 * (T264536, T233012) SectionProfiler: Do not attempt to use null values as
8984 * (T269178) MemcachedClient: Cast Resource to integer.
8985 * (T268917, CVE-2020-35475) SECURITY: Use Xml::element in SpecialUserrights for
8987 * (T268938, CVE-2020-35479) SECURITY: BlockLogFormatter can output raw html.
8988 * (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log entries
8989 when MediaWiki:Mainpage uses Special:MyLanguage.
8990 * (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions and
8991 user pages of hidden users and missing users.
8993 == MediaWiki 1.31.10 ==
8995 This is a maintenance release of the MediaWiki 1.31 branch.
8997 === Changes since MediaWiki 1.31.9 ===
8998 * Fixed issues relating to backporting of changes for T260485.
9000 == MediaWiki 1.31.9 ==
9002 This is a security and maintenance release of the MediaWiki 1.31 branch.
9004 === Changes since MediaWiki 1.31.8 ===
9005 * In the web installer, use secure session cookies.
9006 * (T257207) shell: Expand documentation in firejail.profile.
9007 * Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional
9008 and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We
9009 recommend this be set to true on pure HTTPS wikis.
9010 * Added $wgCookieSameSite, which allows login cookies to be sent with
9011 SameSite=None. This is required for cross-site CentralAuth autologin after
9013 * Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to
9014 SameSite=None cookies for browsers which implemented an incompatible draft
9015 version of the specification.
9016 * (T191537) Disable WebResponse setters for post-send processing.
9017 * (T198525) WebReponse: Use values altered in 'WebResponseSetCookie' hook.
9018 * Fix runBatchedQuery.php for no result from select.
9019 * (T130906) Add Edge to MediaWiki:Clearyourcache.
9020 * Use IPset in MWRestrictions::checkIP.
9021 * (T260031) Add application/font-sfnt to MimeMap for ttf files.
9022 * shell: Make ->restrict( RESTRICT_NONE ) actually work.
9023 * (T183759) Fixes shell edge-cases in Windows.
9024 * (T258390) Add CentralIdLookup::factoryNonLocal().
9025 * (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate
9027 * (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate
9029 * (T246991) User: enforce pingLimiter() expiry time.
9030 * (T260232) don't include null page ids in query list for category dumps.
9031 * (T251506) Sanitizer: Truncate IDs to a reasonable length.
9032 * Explicitly wrap some XML calls in libxml_disable_entity_loader().
9033 * (T263455 T247285) Set EnableJavaScriptTest to true in
9034 includes/DevelopmentSettings.php.
9035 * (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence
9037 * (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking
9038 firejail's --output functionality.
9039 * (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and
9041 * (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in
9042 mw.message( ... ).parse().
9043 * (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct
9045 * (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used.
9047 == MediaWiki 1.31.8 ==
9049 This is a security and maintenance release of the MediaWiki 1.31 branch.
9051 === Changes since MediaWiki 1.31.7 ===
9052 * (T199809) Don't invalidate BotPasswords if a password reset email is sent.
9053 * (T247017) PasswordReset performance improvements.
9054 * (T250568) Work around change in SimpleXMLElement behavior introduced in PHP
9056 * Remove some rotten and out of date documentation.
9057 * (T252311) Improvements to some older SQLite update patches.
9058 * (T240307) Minor fixes to extension.schema.v2.json and
9059 extension.schema.v1.json.
9060 * (T199474) Set rc_patrolled to 2 for autopatrolled changes in
9061 rebuildrecentchanges.php.
9062 * (T229461) Update the change_tag table in rebuildrecentchanges.php.
9063 * (T206476) Call ob_start() before running tests.
9064 * (T234450) Per-user concurrency in SpecialContributions can now be limited by
9065 setting $wgPoolCounterConf['SpecialContributions'] appropriately.
9066 * (T248947) SECURITY: img_auth.php may leak private extension images into the
9069 == MediaWiki 1.31.7 ==
9071 This is a security and maintenance release of the MediaWiki 1.31 branch.
9073 === Changes since MediaWiki 1.31.6 ===
9074 * (T193565, T234022) Re-add DB domain sanity checks to LoadBalancer.
9075 * Use proper SemVer comparison in CheckComposerLockUpToDate.
9076 * (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated.
9077 * Update comment about PHP versions supported by The PHP Group.
9078 * (T247215) Fix output of RecountCategories::doWork().
9079 * Add check for page existence to view.php maintenance script.
9080 * (T247580) Disable some broken Selenium tests.
9081 * (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink().
9082 * (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to
9085 == MediaWiki 1.31.6 ==
9087 This is a security and maintenance release of the MediaWiki 1.31 branch.
9089 === Changes since MediaWiki 1.31.5 ===
9090 * (T181658) Do not insert page titles into querycache.qc_value.
9091 * (T206013) Suppress errors when reading invalid XML file properties.
9092 * (T237931) Remove references to pg_attrdef.adsrc in Postgres code.
9093 * Use correct value for 'sslmode' in DatabasePostgres.
9094 * (T232866) Fix support for HTTP/2 in MultiHttpClient.
9095 * (T227461) Stop calling deprecated Redis delete functions.
9096 * (T239561) Mark options as requiring parameters in addSite.php.
9097 * (T239734) Replace deprecated lSize with lLen in Redis code.
9098 * (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset.
9099 * (T239428) ApiEditPage: Test for bad redirect targets.
9100 * (T233342) rdbms: Log debug message traces as 'exception.trace' instead of
9102 * (T226751) media: Log and fail gracefully on invalid EXIF coordinates.
9103 * (T212067) Work around PHP bug in parse_url.
9105 == MediaWiki 1.31.5 ==
9107 This is a maintenance release of the MediaWiki 1.31 branch.
9109 === Changes since MediaWiki 1.31.4 ===
9110 * Fix extra newlines in installer.
9111 * Followup T230402, PermissionManager doesn't exist until 1.33, so fix the
9112 backported patches to use User::isAllowed() instead.
9114 == MediaWiki 1.31.4 ==
9116 This is a security and maintenance release of the MediaWiki 1.31 branch.
9118 === Changes since MediaWiki 1.31.3 ===
9119 * (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3.
9120 * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
9121 of headers in private wikis.
9122 * (T230402) SECURITY: Add permission check for suppressed account to
9124 * Add helper for HTTPFileStreamer header syntax.
9125 * (T118799) Fix XMP parser errors due to trailing nullchar.
9126 * (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy.
9127 * (T202183) Give more specific error messages on Special:Redirect.
9128 * Cache redirects from Special:Redirect.
9129 * (T231386) dispatchUser() should use a 302 http status code.
9130 * (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into
9131 separate files to help allieviate potential migration problems.
9132 * Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database
9135 == MediaWiki 1.31.3 ==
9137 This is a maintenance release of the MediaWiki 1.31 branch.
9139 === Changes since MediaWiki 1.31.2 ===
9140 * (T225558) Update installer link to PHP intl.
9141 * (T225496) Detect APC for MainCacheType in CLI installer.
9142 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies.
9143 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
9145 == MediaWiki 1.31.2 ==
9147 This is a security and maintenance release of the MediaWiki 1.31 branch.
9149 Required PHP version has been increased from 7.0.0 to 7.0.13.
9151 === Changes since MediaWiki 1.31.1 ===
9152 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
9153 all titles when asked for none.
9154 * (T205967) Fix syntax error typo in postgres database upgrade file.
9155 * (T200254) Add pear/Net_SMTP 1.7.3 to composer dependencies.
9156 * (T206765) Load installer i18n when running update.php.
9157 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
9159 [Also in the bundled composer /vendor directory.]
9160 * Various PHP 7.2 and 7.3 compatibility fixes:
9161 * (T200595, T206974) Fix PHP 7.3 warnings of using "continue" in some
9162 scenarios instead of "break".
9163 * (T206976, T206977) Also in the bundled LocalisationUpdate and
9164 ParserFunctions extensions.
9165 * (T206979) Fix PHP 7.3 warnings of using "compact()" when some variables may
9167 * (T215632) FormatMetadata and UploadStash regexes fixed to be PHP
9169 * Fix PHP warnings "preg_replace(): [...] invalid range in character class.
9170 * Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable.
9171 * Suppress "Headers already sent" in PHP 7.2 too.
9172 * (T206476) Output only to stderr in unit tests.
9173 * (T207112) Add session_write_close() calls to SessionManager tests.
9174 * oyejorge/less.php replaced with our fork wikimedia/less.php
9175 * (T209756) Updated wikimedia/ip-set from 1.2.0 to 1.3.0.
9176 * (T213489) Avoid session double-start in Setup.php.
9177 * (T206975) Switch to our fork of less.php.
9178 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
9179 * (T201781) Database: Allow selectFieldValues() to accept SQL fragments.
9180 * (T205765) installer: Don't link to the obsolete "Extension Matrix" page.
9181 * (T206013) Update ImportableUploadRevisionImporter for interwiki usernames.
9182 * (T207541) Pass an email address, not a MailAddress, to mail().
9183 * (T207603) SECURITY: User JS may no longer be loaded with mime type
9184 text/javascript if there is no account associated with the username.
9185 * (T112937, T113042) SECURITY: Do not allow loading pages raw with a
9186 text/javascript MIME
9187 type if non-admins can edit the page.
9188 * (T17491) <ins>/<del> elements can be phrasing or flow.
9189 * (T200827) RemexCompatMunger: Don't call endTag() in case B/b
9190 * (T207088) Upgrade wikimedia/remex-html to 2.0.1.
9191 [Also in the bundled composer /vendor directory.]
9192 * (T194052) Updated wikimedia/base-convert from 1.0.1 to 2.0.0.
9193 [Also in the bundled composer /vendor directory.]
9194 * (T199494) Fix notices in maintenance/removeUnusuedAccounts.php.
9195 * Require ext-fileinfo in composer.json, per PHPVersionCheck.
9196 * (T176390) Bundled LocalisationUpdate extension: Handle exceptions from
9198 * (T208255) Completion search should not change the search query.
9199 * (T209870) Fix SQL syntax error in MS-SQL initialisation file for new wikis.
9200 * (T185049) LogFormatter: Fail softer when trying to link an invalid titles.
9201 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
9202 if --lang is used with the command-line installer (install.php).
9203 * (T211061) ImageListPager: Actor migration for buildQueryConds().
9204 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
9205 * Fix addition of ug_expiry column to user_groups table on MSSQL.
9206 * (T204767) Add join conditions to ActiveUsersPager.
9207 * (T210621) User: Bypass repeatable-read when creating an actor_id.
9208 * (T204531) rdbms: reduce LoadBalancer replication log spam.
9209 * (T195525) Fix db error outage page.
9210 * (T208871) The hard-coded Google search form on the database error page was
9212 * (T176097) Fix flaky MessageBlobStoreTest assertion failures.
9213 * (T209423) Update required PHP version to 7.0.13.
9214 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
9216 * (T216968) Return pageid as int in both list=iwbacklinks and
9218 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
9219 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
9220 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
9221 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
9222 $wgBlockDisablesLogin is true.
9223 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
9224 a non-Latin name on a page with non-Latin characters in title.
9225 * (T219728) Added support for new Japanese era name "Reiwa".
9226 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
9228 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
9229 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
9230 saveFileDependencies().
9231 * (T224374) Fix message parameters so that the message that says SQLite is out
9232 of date makes sense.
9233 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
9235 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
9236 getLoginSecurityLevel() returns non-false.
9237 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
9238 * (T208881) SECURITY: blacklist CSS var().
9239 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
9240 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
9241 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
9242 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
9244 * (T221739) SECURITY: resources: Patch jQuery 3.2.1 for CVE-2019-11358.
9246 == MediaWiki 1.31.1 ==
9248 This is a security and maintenance release of the MediaWiki 1.31 branch.
9250 === Changes since MediaWiki 1.31.0 ===
9251 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
9253 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
9255 * (T199029, CVE-2018-13258) SECURITY: Tarball was missing .htaccess files.
9256 * (T197229) Bundle Nuke extension, it was accidentally omitted.
9257 * (T193995) Fix undefined patchPath() method call in parser tests.
9258 * (T198687) Fix various selectFields methods to use the string 'NULL', not null.
9259 * Special:BotPasswords now requires reauthentication.
9260 * (T191608, T187638) Add 'logid' parameter to Special:Log.
9261 * (T193829) Indicate when a Bot Password needs reset.
9262 * (T198037) GitInfo: Don't try shelling out if it's disabled.
9263 * (T151415) Log email changes.
9264 * (T197206) Fix performance regression when multiple DB used without caching.
9265 * (T197030) PHPSessionHandler: Suppress headers warnings in initialize().
9266 * (T182377, T196793) Exif: Guard against uncountable tag values.
9267 * (T200861) Fix total breakage of SQLite web upgrade.
9268 * (T200864) Fix pingback over-reporting on non-MySQL databases
9269 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
9272 == MediaWiki 1.31.0 ==
9274 === Changes since MediaWiki 1.31.0-rc.2 ===
9275 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
9276 * (T196092) Hide MySQL binary/utf-8 charset option in the installer.
9277 * (T196185) Don't allow setting $wgDBmysql5 in the installer.
9278 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
9279 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
9280 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
9282 * (T196672) The mtime of extension.json files is now able to be zero
9283 * (T180403) Validate $length in padleft/padright parser functions.
9284 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
9286 === Changes since MediaWiki 1.31.0-rc.0 ===
9287 * (T33223) Drop archive.ar_text and ar_flags.
9288 * Add default edit rate limit of 90 edits/minute for all users.
9289 * (T187645) Use codepoint as tiebreaker when getting first-letters in
9291 * (T191947) Don't shell during the installer if shelling out is disabled.
9292 * (T194319) Improve duplicate config setting exception as part of extension
9294 * (T195211) Don't require trailing slash in PSR-4 autoloader directory.
9295 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
9296 * Do not incorrectly hide namespace input field in the installer.
9297 * (T186456) Refactor checks looking for PEAR maik libraries to be clearer.
9299 === Important pre-upgrade notes for 1.31 ===
9300 * If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply
9301 schema changes, and cannot have downtime to run migrateArchiveText.php and
9302 apply patch-drop-ar_text.sql manually, you'll have to apply a default value
9303 to the ar_text and ar_flags columns of the archive table or make those
9304 columns nullable before upgrading to MediaWiki 1.31.
9305 maintenance/archives/patch-nullable-ar_text.sql shows how to do this for
9308 === Configuration changes in 1.31 ===
9309 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
9310 a future version. The API is now considered to be stable, secure and
9312 * $wgUsejQueryThree was removed, as it is now the default. This was documented
9313 as a temporary variable during the migration period, deprecated since 1.29.
9314 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
9315 possible for fallback images such as png.
9316 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not
9317 have the right to mark things patrolled.
9318 * Wikis that contain imported revisions or CentralAuth global blocks should run
9319 maintenance/cleanupUsersWithNoId.php.
9320 * The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and
9321 $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
9322 * (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that
9323 are not using the latest version of the Referrer Policy specification.
9324 * $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a
9325 first step of migration to human-readable section IDs that will later result
9326 in 'html5' being the default mode.
9327 * CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed
9328 as upstream is inactive and has no plans to move to PHP 7.
9329 * The old CategorizedRecentChanges feature, including its related configuration
9330 option $wgAllowCategorizedRecentChanges, has been removed.
9331 * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported
9332 for performance reasons, and installations with this setting will now work as
9333 if it was configured with 'any'.
9334 * (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input,
9335 rather than being off by default. If you wish to disable HTML tidying
9336 entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated
9337 Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
9338 * $wgLogAutopatrol now defaults to false instead of true.
9339 * $wgValidateAllHtml was removed and will be ignored.
9340 * $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the
9341 1.25 release notes for more information.
9342 * $wgUseAjax is now marked as deprecated, just like the deprecated AJAX
9343 framework that it enables. Some extensions mistakenly used this to check
9344 whether any AJAX functionality at all should be enabled, further making this
9345 problematic to retain.
9346 * $wgDBmysql5 is now deprecated, and will be removed in a future version. It
9347 has been marked as experimental ever since it was introduced.
9349 === New features in 1.31 ===
9350 * (T76554) User sub-pages named ….json are now protected in the same way that
9351 ….js and ….css pages are, so that configuration options can safely be placed
9353 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins
9354 with parentheses for grouping.
9355 * As a first pass in standardizing dialog boxes across the MediaWiki product,
9356 Html class now provides helper methods for messageBox, successBox, errorBox
9357 and warningBox generation.
9358 * (T9240) Imports will now record unknown (and, optionally, known) usernames in
9359 a format like "iw>Example".
9360 * (T20209) Linker (used on history pages, log pages, and so on) will display
9361 usernames formed like "iw>Example" as interwiki links, as if by wikitext like
9362 [[iw:User:Example|iw>Example]].
9363 * (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create
9364 users during an import.
9365 * Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect
9366 the ParserOutput::getText() post-cache transformations.
9367 * Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the
9368 initial page text for file uploads.
9369 * (T181651) The info page for File pages now displays the file's base-16 SHA1
9370 hash value in the table of basic information.
9371 * Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a
9372 ParserOutput::getText() post-cache transformation. This may be disabled by
9373 passing 'deduplicateStyles' => false to that method.
9374 * The identity of the logged-in or IP "actor" for logged actions is being moved
9375 into a new actor table, with the rows in tables such as revision and logging
9376 referring to the actor ID instead of storing the user ID and name/IP in
9378 * This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis
9379 can set this to MIGRATION_NEW and run maintenance/migrateActors.php as
9380 soon as any necessary extensions are updated.
9381 * Most code accessing rows for logged actions from the database should use
9382 the relevant getQueryInfo() methods to get the information needed to build
9383 the SQL query. The ActorMigration class may also be used to get feature
9384 -flagged information needed to access actor-related fields during the
9386 * Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic
9387 section without having to roll back the whole transaction.
9388 * Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(),
9389 and non-MySQL ::replace() and ::upsert() no longer roll back the whole
9390 transaction on failure.
9391 * (T189785) Added a monthly heartbeat ping to the pingback feature.
9392 * The CLI installer (maintenance/install.php) learned to detect and include
9393 extensions. Pass --with-extensions to enable that feature.
9394 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
9395 "1" for manually patrolled and "2" for autopatrolled actions.
9396 * Extensions can now set their type to "editor" if they provide an editor or
9397 enhance the editing experience.
9398 * Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces"
9399 property in extension.json. See the documentation at
9400 <https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
9401 for more details and an example.
9402 * (T19099) Tabs which link to pages that don't exist (like those to uncreated
9403 discussion pages) now have a tooltip to indicate state, not just colour.
9405 === External library changes in 1.31 ===
9406 * pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
9407 suggested to required. These packages now must be installed via composer
9408 and not via PEAR itself.
9410 ==== Upgraded external libraries ====
9411 * Updated jquery.chosen from v0.9.14 to v1.8.2.
9412 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
9413 * Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency).
9414 * Updated wikimedia/ip-set from 1.1.0 to 1.2.0.
9415 * Updated wikimedia/relpath from 2.0.0 to 2.1.1.
9416 * Updated wikimedia/running-stat from 1.1.0 to 1.2.0.
9417 * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0.
9418 * Updated mediawiki/at-ease from 1.1.0 to 1.2.0.
9419 * Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6.
9420 * Updated wikimedia/remex-html from 1.0.2 to 1.0.3.
9421 * Updated wikimedia/html-formatter from 1.0.1 to 1.0.2.
9423 ==== New external libraries ====
9424 * Added wikimedia/object-factory 1.0.0
9426 ==== Removed and replaced external libraries ====
9427 * (T17845) The deprecated 'jquery.badge' module was removed.
9428 * The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS
9429 text-overflow property instead.
9430 * The deprecated 'jquery.placeholder' module was removed.
9431 * The deprecated 'jquery.appear' module was removed. Use the
9432 'mediawiki.viewport' module instead.
9433 * mediawiki/at-ease was replaced with wikimedia/at-ease.
9435 === Bug fixes in 1.31 ===
9436 * (T90902) Non-breaking space in header ID breaks anchor.
9437 * (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a
9439 * (T2087, T10897, T87753, T174639) Whitespace created by category and language
9440 links is now stripped rather than leaving blank lines in odd places.
9441 * (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
9442 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
9444 === Action API changes in 1.31 ===
9445 * (T185058) The 'name' value to tgprop for action=query&list=tags has been
9446 removed. It has never made a difference in the output, the name was always
9447 returned regardless.
9448 * The 'watch' and 'unwatch' parameters for action=move have been removed. They
9449 were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use
9450 'watchlist' instead.
9452 === Action API internal changes in 1.31 ===
9453 * ApiBase::getProfileDBTime, deprecated since 1.25, was removed.
9454 * ApiBase::getModuleProfileName, deprecated since 1.25, was removed.
9455 * ApiBase::getProfileTime, deprecated since 1.25, was removed.
9457 === Languages updated in 1.31 ===
9458 MediaWiki supports over 350 languages. Many localisations are updated
9459 regularly. Below only new and removed languages are listed, as well as
9460 changes to languages because of Phabricator reports.
9462 * (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
9463 * (T182305) New language support: Nyungar (nys).
9464 * (T186359) New language support: Siberian Tatar [себертатар] (sty).
9465 * (T186635) New language support: Guianan Creole (gcr).
9466 * (T186647) New language support: Kumyk [къумукъ] (kum).
9467 * (T187750) New language support: Spanish formal address (es-formal).
9468 * (T187824) New language support: Hungarian formal address (hu-formal).
9469 * (T189127) New language support: Gorontalo (gor).
9471 === Breaking changes in 1.31 ===
9472 * MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed.
9473 * The OutputPage class constructor now requires a context parameter.
9474 Instantiating without context was deprecated in 1.18.
9475 * The mw.page JavaScript singleton, deprecated in 1.30, was removed.
9476 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
9477 related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
9478 * The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and
9479 ::onArticleEdit() methods, deprecated in 1.24, were removed.
9480 * Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were
9481 removed. Use ExecutableFinder::findInDefaultPaths() instead.
9482 * The deprecated MW_DIFF_VERSION constant was removed.
9483 DifferenceEngine::MW_DIFF_VERSION should be used instead.
9484 * Due to significant refactoring, method ContribsPager::getUserCond() that had
9485 no access restriction has been removed.
9486 * The Block class will no longer accept usable-but-missing usernames for
9487 'byText' or ->setBlocker(). Callers should either ensure the blocker exists
9488 locally or use a new interwiki-format username like "iw>Example".
9489 * The following methods and constants from the WatchedItem class, which were
9490 deprecated in 1.27, have been removed:
9491 * WatchedItem::getTitle()
9492 * WatchedItem::fromUserTitle()
9493 * WatchedItem::addWatch()
9494 * WatchedItem::removeWatch()
9495 * WatchedItem::isWatched()
9496 * WatchedItem::duplicateEntries()
9497 * WatchedItem::IGNORE_USER_RIGHTS
9498 * WatchedItem::CHECK_USER_RIGHTS
9499 * WatchedItem::DEPRECATED_USAGE_TIMESTAMP
9500 * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed.
9501 $wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration
9502 variable, has been deprecated since 1.27 and was removed as well.
9503 * The $maxLineLength parameter of JavaScriptMinifier::minify was removed.
9504 $wgResourceLoaderMinifierMaxLineLength, the corresponding configuration
9505 variable, has been deprecated since 1.27 and was removed as well.
9506 * The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced
9507 HtmlFormatter\HtmlFormatter class should be used instead.
9508 * The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed.
9509 The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The
9510 default driver for MySQL has been 'mysqli' since MediaWiki 1.22.
9511 * The following properties of PreparedEdit were deprecated in 1.21 and have
9513 * PreparedEdit->newText
9514 * PreparedEdit->oldText
9516 * ParserOutput objects which are generated using a non-default value for
9517 ParserOptions::setWrapOutputClass() can no longer be added to the parser
9519 * The following deprecated methods from the OutputPage class have been removed:
9520 * OutputPage::addExtensionStyle(); deprecated in 1.27
9521 * OutputPage::getExtStyle(); deprecated in 1.27
9522 * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
9523 * OutputPage::setSquidMaxage(); deprecated in 1.27
9524 * OutputPage::readOnlyPage(); deprecated in 1.25
9525 * OutputPage::rateLimited(); deprecated in 1.25
9526 * Additionally, the protected OutputPage::$mExtStyles array, only accessed
9527 through the above and with no known uses, was removed.
9528 * The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
9529 * The following variables and methods in EditPage, deprecated in MediaWiki 1.30,
9531 * $isCssJsSubpage — use ::isUserConfigPage()
9532 * $isCssSubpage — use ::isUserCssConfigPage()
9533 * $isJsSubpage — use ::isUserJsConfigPage()
9534 * $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage()
9535 * ::getSummaryInput() – use ::getSummaryInputWidget()
9536 * ::getSummaryInputOOUI() – use ::getSummaryInputWidget()
9537 * ::getCheckboxes() – use ::getCheckboxesWidget() or
9538 ::getCheckboxesDefinition()
9539 * ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or
9540 ::getCheckboxesDefinition()
9541 * ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed.
9542 * In User, the cookie-related methods which were wrappers for the functions on
9543 the response object, and were deprecated in 1.27, have been removed:
9546 * ::setExtendedLoginCookie()
9547 Note that User::setCookies() remains, and is not deprecated.
9548 * Also in User, some auth-related methods which were deprecated in 1.27 have
9550 * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
9551 * ::getPasswordFactory() – create a PasswordFactory directly
9552 * ::passwordChangeInputAttribs()
9553 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have
9555 * SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can
9556 use ::getNames() instead.
9557 * OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You
9558 can use ApiOpenSearch::getOpenSearchTemplate() instead.
9559 * The global function wfBaseConvert, deprecated in 1.27, has been removed. Use
9560 Wikimedia\base_convert() directly.
9561 * Calling Database::begin() explicitly during an implicit transaction or when
9562 DBO_TRX is set results in an exception. Calling Database::commit() explicitly
9563 for an implicit transaction also results in an exception. Previously these
9564 were logged as errors. The startAtomic() and endAtomic() methods, or
9565 AtomicSectionUpdate should be used instead.
9566 * The global function wfOutputHandler() was removed, use the its replacement
9567 MediaWiki\OutputHandler::handle() instead. The global function was only
9568 sometimes defined. Its replacement is always available via the autoloader.
9569 * ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags,
9570 deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and
9571 ::listSoftwareDefinedTags() instead.
9572 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can
9573 use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
9574 * HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
9575 * The ProfileSection class, deprecated in 1.25 and unused, has been removed.
9576 * The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use
9577 ResourceLoaderModule::getLessVars() to expose local variables instead of
9579 * As part of work to modernise user-generated content clean-up, a config option
9580 and some methods related to HTML validity were removed without deprecation.
9581 The public methods MWTidy::checkErrors() and the path through which it was
9582 called, TidyDriverBase::validate(), are removed, as are the testing methods
9583 MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument().
9584 The $wgValidateAllHtml configuration option is removed and will be ignored.
9585 * Execution of external programs using MediaWiki\Shell\Command now applies
9586 the RESTRICT_DEFAULT Firejail restriction by default.
9587 * The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods,
9588 deprecated in 1.26, were removed.
9589 * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed.
9590 Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly.
9592 === Deprecations in 1.31 ===
9593 * The Revision class was deprecated in favor of RevisionStore, BlobStore, and
9594 RevisionRecord and its subclasses.
9595 * The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47.
9596 * The global function wfCountDown is now deprecated in favor of
9597 Maintenance::countDown.
9598 * Several methods for returning lists of fields to select from the database
9599 have been deprecated in favor of similar methods that also return the tables
9600 to select from and the join conditions for those tables.
9601 * Block::selectFields() → Block::getQueryInfo()
9602 * RecentChange::selectFields() → RecentChange::getQueryInfo()
9603 * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
9604 * LocalFile::selectFields() → LocalFile::getQueryInfo()
9605 * LocalFile::getCacheFields() with a prefix no longer works
9606 * LocalFile::getLazyCacheFields() with a prefix no longer works
9607 * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
9608 * RecentChange::selectFields() → RecentChange::getQueryInfo()
9609 * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
9610 * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
9611 * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
9612 * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
9613 * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
9614 * Revision::selectFields() → Revision::getQueryInfo()
9615 * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
9616 * User::selectFields() → User::getQueryInfo()
9617 * WikiPage::selectFields() → WikiPage::getQueryInfo()
9618 * Revision::setUserIdAndName() was deprecated.
9619 * Access to TitleValue class properties was deprecated, the relevant getters
9620 should be used instead.
9621 * DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should
9622 override DifferenceEngine::getDiffBodyCacheKeyParams() instead.
9623 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
9624 Maintenance::fatalError() instead.
9625 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
9626 * The RevisionInsertComplete hook is now deprecated; use instead the hook
9627 RevisionRecordInserted. RevisionInsertComplete is still called, but the second
9628 and third parameter will always be null. Hard deprecation is scheduled for
9630 * The following methods that get and set ParserOutput state are deprecated.
9631 Callers should use the new stateless $options parameter to
9632 ParserOutput::getText() instead.
9633 * ParserOptions::getEditSection()
9634 * ParserOptions::setEditSection()
9635 * ParserOutput::getEditSectionTokens()
9636 * ParserOutput::setEditSectionTokens()
9637 * ParserOutput::getTOCEnabled()
9638 * ParserOutput::setTOCEnabled()
9639 * OutputPage::enableSectionEditLinks()
9640 * OutputPage::sectionEditLinksEnabled()
9641 * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens
9642 are also deprecated.
9643 * License::getLicenses has been deprecated; use License::getLines instead.
9644 * QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set().
9645 Setting template variables by reference allowed violating the principle of
9646 data being immutable once added to the skin template. In practice, this method
9647 was not being used for that. Rather, setRef() existed as memory optimisation
9649 * QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in
9650 favour of Skin::msg() parameters.
9651 * MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or
9653 * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
9654 'unwrap' transform to ParserOutput::getText() instead.
9655 * \ObjectFactory (no namespace) is deprecated, the namespaced class
9656 \Wikimedia\ObjectFactory from the wikimedia/object-factory library should be
9658 * CommentStore::newKey is deprecated. Instead, get an instance from
9660 * The following CommentStore methods have had their signatures changed to
9661 introduce a $key parameter, usage of the methods on instances retrieved from
9662 CommentStore::newKey will remain unchanged but deprecated:
9663 * CommentStore::getFields
9664 * CommentStore::getJoin
9665 * CommentStore::getComment
9666 * CommentStore::getCommentLegacy
9667 * CommentStore::insert
9668 * CommentStore::insertWithTemplate
9669 * The following methods in Title have been renamed, and the old ones are
9671 * Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage
9672 * Title::isCssOrJsPage – use ::isSiteConfigPage
9673 * Title::isCssJsSubpage – use ::isUserConfigPage
9674 * Title::isCssSubpage – use ::isUserCssConfigPage
9675 * Title::isJsSubpage – use ::isUserJsConfigPage
9676 * The following methods related to caching of half-parsed HTML were deprecated:
9677 * Parser::serializeHalfParsedText()
9678 * Parser::unserializeHalfParsedText()
9679 * Parser::isValidHalfParsedText()
9680 * StripState::getSubState()
9681 * StripState::merge()
9682 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
9683 * The type string for the parameter $lang of DateFormatter::getInstance is
9685 * Wikimedia\Rdbms\SavepointPostgres is deprecated.
9686 * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be
9688 * The function wfShellWikiCmd() has been deprecated, use
9689 MediaWiki\Shell::makeScriptCommand().
9690 * In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend'
9691 will be allowed to provide any HTMLForm object rather than PreferencesForm.
9693 === Other changes in 1.31 ===
9694 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
9695 * Browser support for Opera 12 and older was dropped entirely. Opera 15+
9696 continues at Grade A.
9697 * Multi-content-revision capability was introduced into the storage layer. See
9698 <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
9699 * The "free" CSS class is now only applied to unbracketed URLs in wikitext.
9700 Links written using square brackets will get the class "text" not "free".
9701 * RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items,
9702 wikitext table captions, wikitext table headings, wikitext table cells. HTML
9703 headings, HTML list items, HTML table captions, HTML table headings, HTML
9704 table cells will not have this trimming behavior.
9707 MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
9708 supported, it is generally advised to use PHP 7.0.0 or later for long term
9711 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
9712 but support for them is somewhat less mature. There is experimental support for
9713 Oracle and Microsoft SQL Server.
9715 The supported versions are:
9717 * MySQL 5.5.8 or later
9718 * PostgreSQL 9.2 or later
9719 * SQLite 3.3.7 or later
9720 * Oracle 9.0.1 or later
9721 * Microsoft SQL Server 2005 (9.00.1399)
9724 1.31 has several database changes since 1.30, and will not work without schema
9725 updates. Note that due to changes to some very large tables like the revision
9726 table, the schema update may take quite long (minutes on a medium sized site,
9727 many hours on a large site).
9729 Don't forget to always back up your database before upgrading!
9731 See the file UPGRADE for more detailed upgrade instructions, including
9732 important information when upgrading from versions prior to 1.11.
9734 For notes on 1.30.x and older releases, see HISTORY.
9736 == Online documentation ==
9737 Documentation for both end-users and site administrators is available on
9738 MediaWiki.org, and is covered under the GNU Free Documentation License (except
9739 for pages that explicitly state that their contents are in the public domain):
9741 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
9744 A mailing list is available for MediaWiki user support and discussion:
9746 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
9748 A low-traffic announcements-only list is also available:
9750 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
9752 It's highly recommended that you sign up for one of these lists if you're
9753 going to run a public MediaWiki, so you can be notified of security fixes.
9756 There's usually someone online in #mediawiki on irc.freenode.net.
9761 == MediaWiki 1.30.2 ==
9763 This is a security and maintenance release of the MediaWiki 1.30 branch.
9765 === Changes since MediaWiki 1.30.1 ===
9766 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
9767 all titles when asked for none.
9768 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
9770 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
9771 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
9772 * (T207603) SECURITY: User JS may no longer be loaded with mime type
9773 text/javascript if there is no account associated with the username.
9774 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
9775 type if non-admins can edit the page.
9776 * (T207541) Pass email address to mail().
9777 * Fix addition of ug_expiry column to user_groups table on MSSQL.
9778 * (T204531) rdbms: reduce LoadBalancer replication log spam.
9779 * (T213489) Avoid session double-start in Setup.php.
9780 * (T195525) Fix db error outage page.
9781 * (T208871) The hard-coded Google search form on the database error page was
9783 * (T216968) Return pageid as int in both list=iwbacklinks and
9785 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
9786 $wgBlockDisablesLogin is true.
9787 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
9789 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
9790 saveFileDependencies().
9791 * (T224374) Fix message parameters so that the message that says SQLite is out
9792 of date makes sense.
9793 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
9795 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
9796 getLoginSecurityLevel() returns non-false.
9797 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
9798 * (T208881) SECURITY: blacklist CSS var().
9799 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
9800 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
9801 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
9802 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
9804 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
9806 == MediaWiki 1.30.1 ==
9808 This is a security and maintenance release of the MediaWiki 1.30 branch.
9810 === Changes since MediaWiki 1.30.0 ===
9811 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
9813 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
9815 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
9817 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
9818 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
9819 include extensions. Pass --with-extensions to enable that feature.
9820 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
9821 * (T167507) selenium: Run Chrome headlessly.
9822 * selenium: Pass -no-sandbox to Chrome under Docker.
9823 * (T179190) selenium: Move logic for running tests from package.json to
9825 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
9826 * Add default edit rate limit of 90 edits/minute for all users.
9827 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
9828 * oojs/oojs-ui updated to remove an unnecessary dependancy.
9829 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
9830 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
9832 * (T196672) The mtime of extension.json files is now able to be zero
9833 * (T180403) Validate $length in padleft/padright parser functions.
9834 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
9835 * (T193995) Fix undefined patchPath() method call in parser tests.
9836 * Special:BotPasswords now requires reauthentication.
9837 * (T191608, T187638) Add 'logid' parameter to Special:Log.
9838 * (T193829) Indicate when a Bot Password needs reset.
9839 * (T151415) Log email changes.
9840 * (T200861) Fix total breakage of SQLite web upgrade.
9841 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
9843 * (T190539) Explicitly require Postgres 9.1.
9844 * (T118420) Unbreak Oracle installer.
9846 == MediaWiki 1.30.0 ==
9848 === Changes since MediaWiki 1.30.0-rc.0 ===
9849 * Upgraded Moment.js from v2.15.0 to v2.19.3.
9850 * Add ip_changes to postgres/tables.sql.
9851 * Skip null shell parameters.
9852 * Add wfWaitForSlaves() to maintenance/migrateComments.php.
9853 * (T182245) Fix join conditions in ImageListPager.
9854 * (T178626) Revert #contentSub and #jump-to-nav margin changes.
9856 === MySQL version requirement in 1.30 ===
9857 As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility
9860 === Configuration changes in 1.30 ===
9861 * The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid
9862 unexpected behavior when code uses locale-sensitive string comparisons. For
9863 example, the Scribunto extension considers "bar" < "Foo" in most locales
9864 since it ignores case.
9865 * $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See
9866 documentation of $wgShellLocale for details.
9867 * $wgShellLocale is now applied for all requests. wfInitShellLocale() is
9868 deprecated and a no-op, as it is no longer needed.
9869 * $wgJobClasses may now specify callback functions as an alternative to plain
9870 class names. This is intended for extensions that want control over the
9871 instantiation of their jobs, to allow for proper dependency injection.
9872 * $wgResourceModules may now specify callback functions as an alternative
9873 to plain class names, using the 'factory' key in the module description
9874 array. This allows dependency injection to be used for ResourceLoader modules.
9875 * $wgExceptionHooks has been removed.
9876 * (T163562) $wgRangeContributionsCIDRLimit was introduced to control the size
9877 of IP ranges that can be queried at Special:Contributions.
9878 * (T45547) $wgUsePigLatinVariant added (off by default).
9879 * (T152540) MediaWiki now supports a section ID escaping style that allows to
9880 display non-Latin characters verbatim on many modern browsers. This is
9881 controlled by the new configuration setting, $wgFragmentMode.
9882 * $wgExperimentalHtmlIds is now deprecated and will be removed in a future
9883 version, use $wgFragmentMode to migrate off it to a modern alternative.
9884 * $wgExternalInterwikiFragmentMode was introduced to control how fragments in
9885 sinterwikis going outside of current wiki farm are encoded.
9886 * (T120333) Soft-deprecated the use of PHP extension 'mysql' in favor of
9887 'mysqli'. This PHP extension was deprecated in PHP 5.5 and removed in PHP 7.0.
9888 MediaWiki auto-selects the 'mysqli' driver since MediaWiki 1.22, except if
9889 explicitly requested through the configuration parameter $wgDBservers.
9890 * $wgOOUIEditPage was removed, as it is now the default. This was documented as
9891 a temporary variable during the migration period.
9893 === New features in 1.30 ===
9894 * (T37247) Output from Parser::parse() will now be wrapped in a div with
9895 class="mw-parser-output" by default. This may be changed or disabled using
9896 ParserOptions::setWrapOutputClass().
9897 * (T163562) Added ability to search for contributions within an IP ranges
9898 at Special:Contributions.
9899 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
9900 specific tags to be added by users.
9901 * Added a 'ParserOptionsRegister' hook to allow extensions to register
9902 additional parser options.
9903 * (T45547) Included Pig Latin, a language game in English, as a
9904 LanguageConverter variant. This allows English-speaking developers
9905 to develop and test LanguageConverter more easily. Pig Latin can be
9906 enabled by setting $wgUsePigLatinVariant to true.
9907 * Added RecentChangesPurgeRows hook to allow extensions to purge data that
9908 depends on the recentchanges table.
9909 * Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.
9910 * (T2424) Added direct unwatch links to entries in Special:Watchlist (if the
9911 'watchlistunwatchlinks' preference option is enabled). With JavaScript
9912 enabled, these links toggle so the user can also re-watch pages that have
9913 just been unwatched.
9914 * Added $wgParserTestMediaHandlers, where mock media handlers can be passed to
9915 MediaHandlerFactory for parser tests.
9916 * Edit summaries, block reasons, and other "comments" are now stored in a
9917 separate database table. Use the CommentFormatter class to access them.
9918 ** This is currently gated by $wgCommentTableSchemaMigrationStage. Most wikis
9919 can set this to MIGRATION_NEW and run maintenance/migrateComments.php as
9920 soon as any necessary extensions are updated.
9921 * (T138166) Added ability for users to prohibit other users from sending them
9922 emails with Special:Emailuser. Can be enabled by setting
9923 $wgEnableUserEmailBlacklist to true.
9924 * (T67297) $wgBrowserBlacklist is deprecated, and changing it will have no
9925 effect. Instead, users using browsers that do not support Unicode will be
9926 unable to edit and should upgrade to a modern browser instead.
9928 === External library changes in 1.30 ===
9930 ==== Upgraded external libraries ====
9931 * Updated justinrainbow/json-schema from v3.0 to v5.2.
9932 * Updated mediawiki/mediawiki-codesniffer from v0.7.2 to v0.12.0.
9933 * Updated wikimedia/composer-merge-plugin from v1.4.0 to v1.4.1.
9934 * Updated wikimedia/relpath from v1.0.3 to v2.0.0.
9935 * Updated OOjs from v2.0.0 to v2.1.0.
9936 * Updated OOUI from v0.21.1 to v0.23.0.
9937 * Updated QUnit from v1.23.1 to v2.4.0.
9938 * Updated phpunit/phpunit from v4.8.35 to v4.8.36.
9939 * Upgraded Moment.js from v2.15.0 to v2.19.3.
9941 ==== New external libraries ====
9942 * The class \TestingAccessWrapper has been moved to the external library
9943 wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
9944 * Purtle, a fast, lightweight RDF generator.
9946 === Bug fixes in 1.30 ===
9947 * (T151633) Ordered list items use now Devanagari digits in Nepalese
9950 === Action API changes in 1.30 ===
9951 * (T37247) action=parse output will be wrapped in a div with
9952 class="mw-parser-output" by default. This may be changed or disabled using
9953 the new 'wrapoutputclass' parameter.
9954 * When errorformat is not 'bc', abort reasons from action=login will be
9955 formatted as specified by the error formatter parameters.
9956 * action=compare can now handle arbitrary text, deleted revisions, and
9957 returning users and edit comments.
9958 * (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto',
9959 'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree'
9960 parameters to prop=revisions are deprecated, as are the similarly named
9961 parameters to prop=deletedrevisions, list=allrevisions, and
9962 list=alldeletedrevisions. Use action=compare, action=parse, or
9963 action=expandtemplates instead.
9965 === Action API internal changes in 1.30 ===
9966 * ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are
9967 deprecated. The existing message should be split between "apihelp-*-summary"
9968 and "apihelp-*-extended-description".
9969 * (T123931) Individual values of multi-valued parameters can now be marked as
9972 === Languages updated in 1.30 ===
9973 MediaWiki supports over 350 languages. Many localisations are updated
9974 regularly. Below only new and removed languages are listed, as well as
9975 changes to languages because of Phabricator reports.
9977 * Added: kbp (Kabɩyɛ / Kabiyè)
9978 * Added: skr (Saraiki, سرائیکی)
9979 * Added: tay (Tayal / Atayal)
9980 * Removed: tokipona (Toki Pona)
9982 ==== Pig Latin added ====
9983 * (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin),
9984 for easier variant development and testing. Disabled by default. It can be
9985 enabled by setting $wgUsePigLatinVariant to true.
9987 === Other changes in 1.30 ===
9988 * The use of an associative array for $wgProxyList, where the IP address is in
9989 the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
9990 Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
9991 * mw.user.bucket (deprecated in 1.23) was removed.
9992 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
9993 deprecated. There are no known callers.
9994 * File::getStreamHeaders() was deprecated.
9995 * MediaHandler::getStreamHeaders() was deprecated.
9996 * Title::canTalk() was deprecated. The new Title::canHaveTalkPage() should be
9998 * MWNamespace::canTalk() was deprecated. The new MWNamespace::hasTalkNamespace()
9999 should be used instead.
10000 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
10001 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
10002 deprecated in 1.24) were removed.
10003 * wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and
10004 BagOStuff::makeGlobalKey() should be used instead.
10005 * (T146304) Preprocessor handling of LanguageConverter markup has been improved.
10006 As a result of the new uniform handling, '-{' may need to be escaped
10007 (for example, as '-<nowiki/>{') where it occurs inside template arguments
10009 * (T163966) Page moves are now counted as edits for the purposes of
10010 autopromotion, i.e., they increment the user_editcount field in the database.
10011 * Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for
10012 manipulating Special:Log and Special:NewPages lines.
10013 * The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
10014 PageHistoryLineEnding, ContributionsLineEnding and
10015 DeletedContributionsLineEnding hooks have an additional parameter, for
10016 manipulating HTML data attributes of RC/history lines.
10017 EnhancedChangesListModifyBlockLineData can do that via the
10018 $data['attribs'] subarray.
10019 * (T130632) The OutputPage::enableTOC() method was removed.
10020 * WikiPage::getParserOutput() will now throw an exception if passed
10021 ParserOptions that would pollute the parser cache. Callers should use
10022 WikiPage::makeParserOptions() to create the ParserOptions object and only
10023 change options that affect the parser cache key.
10024 * Article::viewRedirect() is deprecated.
10025 * IP::isValidBlock() was deprecated. Use the equivalent IP::isValidRange().
10026 * DeprecatedGlobal no longer supports passing in a direct value, it requires a
10027 callable factory function or a class name.
10028 * The $parserMemc global, wfGetParserCacheStorage(), and
10029 ParserCache::singleton() are all deprecated. The main ParserCache instance
10030 should be obtained from MediaWikiServices instead. Access to the underlying
10031 BagOStuff is possible through the new ParserCache::getCacheStorage() method.
10032 * .mw-ui-constructive CSS class (deprecated in 1.27) was removed.
10033 * Sanitizer::escapeId() was deprecated, use escapeIdForAttribute(),
10034 escapeIdForLink() or escapeIdForExternalInterwiki() instead.
10035 * Title::escapeFragmentForURL() was deprecated, use one of the aforementioned
10036 Sanitizer functions or, if possible, Title::getFragmentForURL().
10037 * Second parameter to Sanitizer::escapeIdReferenceList() ($options) now does
10038 nothing and is deprecated.
10039 * mw.util.escapeId() was deprecated, use escapeIdForAttribute() or
10041 * MagicWord::replaceMultiple() (deprecated in 1.25) was removed.
10042 * WikiImporter now requires the second parameter to be an instance of the
10043 Config, class. Prior to that, the Config parameter was optional (a behavior
10044 deprecated in 1.25).
10045 * Removed 'jquery.mwExtension' module. (deprecated since 1.26)
10046 * mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette
10048 * CdbReader, CdbWriter, CdbException classes (deprecated in 1.25) were removed.
10049 The namespaced classes in the Cdb namespace should be used instead.
10050 * IPSet class (deprecated in 1.26) was removed. The namespaced IPSet\IPSet
10051 should be used instead.
10052 * RunningStat class (deprecated in 1.27) was removed. The namespaced
10053 RunningStat\RunningStat should be used instead.
10054 * MWMemcached and MemCachedClientforWiki classes (deprecated in 1.27) were
10056 The MemcachedClient class should be used instead.
10057 * EditPage underwent some refactoring and deprecations:
10058 * EditPage::isOouiEnabled() is deprecated and will always return true.
10059 * EditPage::getSummaryInput() and ::getSummaryInputOOUI() are deprecated.
10060 Please use ::getSummaryInputWidget() instead.
10061 * EditPage::getCheckboxes() and ::getCheckboxesOOUI() are deprecated. Please
10062 use ::getCheckboxesWidget() instead.
10063 * Creating an EditPage instance without calling EditPage::setContextTitle()
10064 should be avoided and will be deprecated in a future release.
10065 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput() are deprecated and
10067 * EditPage::$isCssJsSubpage, ::$isCssSubpage, and ::$isJsSubpage are
10068 deprecated. The corresponding methods from Title should be used instead.
10069 * EditPage::$isWrongCaseCssJsPage is deprecated. There is no replacement.
10070 * EditPage::$mArticle and ::$mTitle are deprecated for public usage. The
10071 getters ::getArticle() and ::getTitle() should be used instead.
10072 * Trying to control or fake EditPage context by overriding $wgUser,
10073 $wgRequest, $wgOut, and $wgLang is no longer supported and won't work. The
10074 IContextSource returned from EditPage::getContext() must be modified
10076 * Parser::getRandomString() (deprecated in 1.26) was removed.
10077 * Parser::uniqPrefix() (deprecated in 1.26) was removed.
10078 * Parser::extractTagsAndParams() now only accepts three arguments. The fourth,
10079 $uniq_prefix was deprecated in 1.26 and has now been removed.
10080 * (T172514) The following tables have had their UNIQUE indexes turned into
10081 proper PRIMARY KEYs for increased maintainability: categorylinks, imagelinks,
10082 iwlinks, langlinks, log_search, module_deps, objectcache, pagelinks,
10083 query_cache, site_stats, templatelinks, text, transcache, user_former_groups,
10085 * IDatabase::nextSequenceValue() is no longer needed by any database backends
10086 (formerly it was needed by PostgreSQL and Oracle), and is now deprecated.
10087 * (T146591) The lc_lang_key index on the l10n_cache table has been changed into
10089 * (T157227) bot_password.bp_user, change_tag.ct_log_id, change_tag.ct_rev_id,
10090 page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and
10091 user_properties.up_user have all been made unsigned on MySQL.
10092 * DB_SLAVE is deprecated. DB_REPLICA should be used instead.
10093 * wfUsePHP() is deprecated.
10094 * wfFixSessionID() was removed.
10095 * wfShellExec() and related functions are deprecated, use Shell::command(). This
10096 also slightly changes the behavior of how execution time limits are calculated
10097 when only some of defaults are overridden per-call. When in doubt, always
10098 override both wall clock and CPU time.
10099 * (T138166) SpecialEmailUser::getTarget() now requires a second argument, the
10100 sending user object. Using the method without the second argument is
10102 * (T67297) Browsers that don't support Unicode will have their edits rejected.
10103 * (T178450) The module 'jquery.badge' is deprecated and will be removed in a
10104 future release. For notifying the user of an event, the Notifications ("Echo")
10105 system should be used instead.
10106 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
10107 browser sends non-standard url escaping.
10108 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
10112 == MediaWiki 1.29.3 ==
10114 This is a security and maintenance release of the MediaWiki 1.29 branch.
10116 === Changes since 1.29.2 ===
10117 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
10119 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
10121 * (T180551) Fix LanguageSrTest for language converter
10122 * (T180552) Fix language converter parser test with self-close tags
10123 * (T180537) Remove $wgAuth usage from wrapOldPasswords.php
10124 * (T180485) InputBox: Have inputbox langconvert certain attributes
10125 * (T161732, T181547) Upgraded Moment.js from v2.15.0 to v2.19.3.
10126 * (T172927) Drop vendor from MW release branch
10127 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array
10128 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
10129 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
10130 include extensions. Pass --with-extensions to enable that feature.
10131 * (T182381) Mask deprecated call in WatchedItemUnitTest
10132 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
10133 * The karma qunit tests would fail on some configuration due to headers already
10134 sent. Check headers_sent() before sending cpPosTime headers
10135 * (T167507) selenium: Run Chrome headlessly.
10136 * selenium: Pass -no-sandbox to Chrome under Docker
10137 * (T191247) Use MediaWiki\SuppressWarnings around trigger_error('') instead @
10138 * (T75174, T161041) Unit test ChangesListSpecialPageTest::testFilterUserExpLevel
10139 fails under SQLite.
10140 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
10141 * (T179190) selenium: Move test running logic from package.json to selenium.sh.
10142 * (T117839, T193200) PDFHandler: Fix for pdfinfo changes in poppler-utils 0.48.
10143 * Add default edit rate limit of 90 edits/minute for all users.
10144 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
10145 * (T196672) The mtime of extension.json files is now able to be zero
10146 * (T180403) Validate $length in padleft/padright parser functions.
10147 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
10148 * (T194237) Special:BotPasswords now requires reauthentication.
10149 * (T191608, T187638) Add 'logid' parameter to Special:Log.
10150 * (T176097) resourceloader: Disable a flaky MessageBlobStoreTest case
10151 * (T193829) Indicate when a Bot Password needs reset.
10152 * (T151415) Log email changes.
10153 * (T118420) Unbreak Oracle installer.
10155 == MediaWiki 1.29.2 ==
10157 This is a security and maintenance release of the MediaWiki 1.29 branch.
10159 === Changes since 1.29.1 ===
10160 * (T166757) Avoid scoped lock errors in Category::refreshCounts() due to
10162 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
10163 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
10164 * Fixed login button label to accept RawMessage.
10165 * Fixed case of SpecialRecentChanges class usage.
10166 * (T174255) Declare uploadCount property in importDump.php.
10167 * (T163646) Pass a string not an int to mysql_real_escape_string().
10168 * (T180143) Bump justinrainbow/json-schema development dependency to ~5.2.
10169 * Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36.
10170 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
10171 browser sends non-standard url escaping.
10172 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
10173 * (T128209) SECURITY: Reflected File Download from api.php.
10174 * (T134100) SECURITY: Do not reveal if user exists during login failure.
10175 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
10176 * (T125163) SECURITY: Make anchor for headlines escape > and <.
10177 * (T180237) SECURITY: Protect vendor folder with .htaccess.
10178 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
10180 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
10181 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
10182 * (T180488) (T125177) "api.log contains passwords in plaintext" wasn't correctly
10183 fixed in all branches in the previous security release.
10185 == MediaWiki 1.29.1 ==
10187 This is a maintenance release of the MediaWiki 1.29 branch.
10189 The SpamBlacklist and PdfHandler extensions were missing from the generated
10192 === Changes since 1.29.1 ===
10193 * (T164999) Define mw.Upload.Dialog.static.name in mediawiki.Upload.Dialog.js.
10194 * (T172061) Fix fatal when passing a category to refreshLinks.php.
10196 == MediaWiki 1.29.0 ==
10198 === Configuration changes in 1.29 ===
10199 * Default cookie expiration time has been reduced to 30 days. Login cookie
10200 expiration time is kept at 180 days.
10201 * A new configuration variable has been added: $wgCookieSetOnAutoblock. This
10202 determines whether to set a cookie when a user is autoblocked. Doing so means
10203 that a blocked user, even after logging out and moving to a new IP address,
10204 will still be blocked.
10205 * The resetpassword right and associated password reset capture feature has
10207 * The $error parameter to the EmailUser hook should be set to a Status object
10208 or boolean false. This should be compatible with at least MediaWiki 1.23 if
10209 not earlier. Returning a raw HTML string is now deprecated.
10210 * The $message parameter to the ApiCheckCanExecute hook should be set to an
10211 ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
10212 code for ApiBase::parseMsg() will no longer work.
10213 * ApiBase::$messageMap is no longer public. Code attempting to access it will
10214 result in a PHP fatal error.
10215 * $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC
10217 * Subpages are now enabled by default in the Template namespace. Set
10218 $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior.
10219 * $wgRunJobsAsync is now false by default (T142751). This change only affects
10220 wikis with $wgJobRunRate > 0.
10221 * (T158474) "Unknown user" has been added to $wgReservedUsernames.
10222 * (T156983) $wgRateLimitsExcludedIPs now accepts CIDR ranges as well as single
10224 * $wgDummyLanguageCodes is deprecated. Additional language code mappings may be
10225 added to $wgExtraLanguageCodes instead.
10226 * (T161453) LocalisationCache will no longer use the temporary directory in it's
10227 fallback chain when trying to work out where to write the cache.
10228 * The user right 'editusercssjs' (deprecated in 1.16) was removed. Use
10229 'editusercss' and 'edituserjs' in $wgGroupPermissions and elsewhere instead.
10231 === New features in 1.29 ===
10232 * (T5233) A cookie can now be set when a user is autoblocked, to track that user
10233 if they move to a new IP address. This is disabled by default.
10234 * Added ILocalizedException interface to standardize the use of localized
10235 exceptions, largely so the API can handle them more sensibly.
10236 * Blocks created automatically by MediaWiki, such as for configured proxies or
10237 dnsbls, are now indicated as such and use a new i18n message when displayed.
10238 * Added new $wgHTTPImportTimeout setting. Sets timeout for
10239 downloading the XML dump during a transwiki import in seconds.
10240 * Parser limit report is now available in machine-readable format to JavaScript
10241 via mw.config.get('wgPageParseReport').
10242 * Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits
10243 from certain IP ranges (e.g. private IPs).
10244 * (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code
10245 of the page being parsed.
10246 * HTML5 form validation attributes will no longer be suppressed. Originally
10247 browsers had poor support for them, but modern browsers handle them fine.
10248 This might affect some forms that used them and only worked because the
10249 attributes were not actually being set.
10250 * Expiry times can now be specified when users are added to user groups.
10251 * Completely new user interface for the RecentChanges page, which
10252 structures filters into user-friendly groups. This has corresponding
10253 changes to how filters are registered by core and extensions.
10254 * The edit form now uses pretty OOjs UI buttons, checkboxes and summary input.
10255 Because this change can cause problems for extensions and on-wiki
10256 scripts depending on the exact HTML, the old version is still available
10257 and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php.
10258 This will be removed later and OOjs UI will become the only option.
10259 To make testing easier, users can also force either mode by adding
10260 &ooui=true or &ooui=false to the action=edit URL.
10262 === External library changes in 1.29 ===
10264 ==== Upgraded external libraries ====
10265 * Updated QUnit from v1.22.0 to v1.23.1.
10266 * Updated cssjanus from v1.1.2 to v1.2.0.
10267 * Updated psr/log from v1.0.0 to v1.0.2.
10268 * Update Moment.js from v2.8.4 to v2.15.0.
10269 * Updated oyejorge/less.php from v1.7.0.10 to v1.7.0.14.
10270 * Updated monolog from v1.18.2 to 1.22.1.
10271 * Updated wikimedia/composer-merge-plugin from v1.3.1 to v1.4.0.
10272 * Updated OOjs from v1.1.10 to v2.0.0.
10273 * Updated jQuery from v1.11.3 to v3.2.1 (including jQuery Migrate v3.0.0).
10275 ==== New external libraries ====
10276 * Added wikimedia/timestamp v1.0.0.
10277 * Added wikimedia/remex-html v1.0.1.
10279 ==== Removed and replaced external libraries ====
10281 === Bug fixes in 1.29 ===
10282 * (T62604) Core parser functions returning a number now format the number
10283 according to the page content language, not wiki content language.
10284 * (T27187) Search suggestions based on jquery.suggestions will now correctly
10285 only highlight prefix matches in the results.
10286 * (T157035) "new mw.Uri()" was ignoring options when using default URI.
10287 * Special:Allpages can no longer be filtered by redirect in miser mode.
10288 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
10290 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
10291 redirect to interwiki links.
10292 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
10293 $wgAdvancedSearchHighlighting is true.
10294 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
10295 their values out of the logs.
10296 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
10298 * (T156184) SECURITY: Escape content model/format url parameter in message.
10299 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
10301 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
10302 directory in it's fallback chain when trying to work out where to write the
10304 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
10305 inclusion syntax's link parameter.
10306 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
10309 === Action API changes in 1.29 ===
10310 * Submitting sensitive authentication request parameters to action=login,
10311 action=clientlogin, action=createaccount, action=linkaccount, and
10312 action=changeauthenticationdata in the query string is now an error. They
10313 should be submitted in the POST body instead.
10314 * The capture option for action=resetpassword has been removed
10315 * action=clearhasmsg now requires a POST.
10316 * (T47843) API errors and warnings may be requested in non-English languages
10317 using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters.
10318 * API error codes may have changed. Most notably, errors from modules using
10319 parameter prefixes (e.g. all query submodules) will no longer be prefixed.
10320 * ApiPageSet-using modules will report the 'invalidreason' using the specified
10322 * action=emailuser may return a "Warnings" status, and now returns 'warnings'
10323 and 'errors' subelements (as applicable) instead of 'message'.
10324 * action=imagerotate returns an 'errors' subelement rather than 'errormessage'.
10325 * action=move now reports errors when moving the talk page as an array under
10326 key 'talkmove-errors', rather than using 'talkmove-error-code' and
10327 'talkmove-error-info'. The format for subpage move errors has also changed.
10328 * action=revisiondelete no longer includes a "rendered" property on warnings
10329 and errors for each item. Use errorformat=wikitext if you're wanting parsed
10331 * action=rollback no longer returns a "messageHtml" property. Use
10332 errorformat=html if you're wanting HTML formatting of error messages.
10333 * action=upload now reports optional stash failures as an array under key
10334 'stasherrors' rather than a 'stashfailed' text string.
10335 * action=watch reports 'errors' and 'warnings' instead of a single 'error', and
10336 no longer returns a 'message' on success.
10337 * Added action=validatepassword to validate passwords for the account creation
10338 and password change forms.
10339 * action=purge now requires a POST.
10340 * There is a new `languagevariants` siprop for action=query&meta=siteinfo,
10341 which returns a list of languages with active LanguageConverter instances.
10342 * action=query&query=allpages will no longer filter redirects using a database
10343 query in miser mode. This may result in less results being returned than were
10346 === Action API internal changes in 1.29 ===
10347 * New methods were added to ApiBase to handle errors and warnings using i18n
10348 keys. Methods for using hard-coded English messages were deprecated:
10349 * ApiBase::dieUsage() was deprecated
10350 * ApiBase::dieUsageMsg() was deprecated
10351 * ApiBase::dieUsageMsgOrDebug() was deprecated
10352 * ApiBase::getErrorFromStatus() was deprecated
10353 * ApiBase::parseMsg() was deprecated
10354 * ApiBase::setWarning() was deprecated
10355 * ApiBase::$messageMap is no longer public. Code attempting to access it will
10356 result in a PHP fatal error.
10357 * The $message parameter to the ApiCheckCanExecute hook should be set to an
10358 ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
10359 code for ApiBase::parseMsg() will no longer work.
10360 * UsageException is deprecated in favor of ApiUsageException. For the time
10361 being ApiUsageException is a subclass of UsageException to allow things that
10362 catch only UsageException to still function properly.
10363 * If, for some strange reason, code was using an ApiErrorFormatter instead of
10364 ApiErrorFormatter_BackCompat, note that the result format has changed and
10365 various methods now take a module path rather than a module name.
10366 * ApiMessageTrait::getApiCode() now strips 'apierror-' and 'apiwarn-' prefixes
10367 from the message key, and maps some message keys for backwards compatibility.
10368 * API parameters may now be marked as "sensitive" to keep their values out of
10371 === Languages updated in 1.29 ===
10373 MediaWiki supports over 350 languages. Many localisations are updated
10374 regularly. Below only new and removed languages are listed, as well as
10375 changes to languages because of Phabricator reports.
10377 * Based as always on linguistic studies on intelligibility and language
10378 knowledge by geography, language fallbacks have been expanded. When a
10379 translation is missing in the user's preferred interface language, the
10380 corresponding translation for the fallback language will be used instead.
10381 English will only be used as last resort when there are no translations.
10382 Some configurations (such as date formats and gender namespaces) have also
10383 been updated when using the fallback language's configuration was inadequate.
10384 The new or reinstated language fallbacks are (after cs ↔ sk in 1.28):
10385 ca ↔ oc; hsb ↔ dsb; io → eo; mdf → ru; pnt → el; roa-tara → it; rup → ro;
10386 sh → bs, sr-el, hr.
10387 * (T137376) New language support: Atikamekw (atj).
10388 * (T163600) New language support: Dinka (din).
10389 * (T155957) Talk Namespaces for Javanese language (jv) have been updated.
10391 ==== No fallback for Ukrainian ====
10392 * (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian
10393 language will now use the default fallback language: English. When a
10394 translation to Ukrainian is not available, an English string will be shown.
10396 === Other changes in 1.29 ===
10397 * Database::getSearchEngine() (deprecated in 1.28) was removed. Use
10398 SearchEngineFactory::getSearchEngineClass() instead.
10399 * $wgSessionsInMemcached (deprecated in 1.20) was removed. No replacement is
10400 required as all sessions are stored in Object Cache now.
10401 * MWHttpRequest::execute() should be considered to return a StatusValue; the
10402 Status return type is deprecated.
10403 * User::edits() (deprecated in 1.21) was removed.
10404 * Xml::escapeJsString() (deprecated in 1.21) was removed.
10405 * Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21)
10407 * Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21)
10409 * Hook ArticleViewCustom (deprecated in 1.21) was removed. Use
10410 ArticleContentViewCustom instead.
10411 * Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed.
10412 * Class RevisiondeleteAction (deprecated in 1.25) was removed.
10413 * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed.
10414 * WikiPage::getText() (deprecated in 1.21) was removed.
10415 * Article::fetchContent() (deprecated in 1.21) was removed.
10416 * User::getPassword() (deprecated in 1.27) was removed.
10417 * User::getTemporaryPassword() (deprecated in 1.27) was removed.
10418 * User::isPasswordReminderThrottled() (deprecated in 1.27) was removed.
10419 * Class FSRepo (deprecated in 1.19) was removed.
10420 * WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use
10421 \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId()
10423 * Class ImageGallery (deprecated in 1.22) was removed.
10424 Use ImageGalleryBase::factory instead.
10425 * Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class
10427 * Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now
10428 emit warnings). Create a subclass of Action and add it to $wgActions instead.
10429 * WikiRevision::getText() (deprecated since 1.21) is no longer marked
10431 * Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed.
10432 * Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed.
10433 * Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed.
10434 * Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed.
10435 * RedisConnectionPool::handleException (deprecated since 1.23) was removed.
10436 * The static properties mw.Api.errors and mw.Api.warnings, containing incomplete
10437 and outdated lists of errors/warnings returned by the API, are now deprecated.
10438 * wiki.phtml entry point was removed. Refer to index.php instead. If you want
10439 "wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can
10440 be done by enabling mod_rewrite and adding the following rules to your
10445 RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
10446 * Hook ArticleAfterFetchContent (deprecated in 1.21) was removed.
10447 Use ArticleAfterFetchContentObject instead.
10448 * Hook ArticleInsertComplete (deprecated in 1.21) was removed.
10449 Use PageContentInsertComplete instead.
10450 * Hook ArticleSave (deprecated in 1.21) was removed.
10451 Use PageContentSave instead.
10452 * Hook ArticleSaveComplete (deprecated in 1.21) was removed.
10453 Use PageContentSaveComplete instead.
10454 * Hook EditFilterMerged (deprecated in 1.21) was removed.
10455 Use EditFilterMergedContent instead.
10456 * Hook EditPageGetPreviewText (deprecated in 1.21) was removed.
10457 Use EditPageGetPreviewContent instead.
10458 * Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed.
10459 Use ContentHandlerDefaultModelFor instead.
10460 * Hook TitleIsWikitextPage (deprecated in 1.21) was removed.
10461 Use ContentHandlerDefaultModelFor instead.
10462 * Article::getContent() (deprecated in 1.21) was removed.
10463 * Revision::getText() (deprecated in 1.21) was removed.
10464 * Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed.
10465 * Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed.
10466 * Article::doEditContent() was marked as deprecated, to be removed in 1.30
10468 * ContentHandler::runLegacyHooks() was removed.
10469 * refreshLinks.php now can be limited to a particular category with
10470 --category=... or a tracking category with --tracking-category=...
10471 * User-like objects that are passed to SpecialUserRights and its subclasses are
10472 now required to have a getGroupMemberships() method. See UserRightsProxy for
10474 * User::$mGroups (instance variable) was marked private. Use User::getGroups()
10476 * User::getGroupName(), User::getGroupMember(), User:getGroupPage(),
10477 User::makeGroupLinkHTML(), and User::makeGroupLinkWiki() were deprecated.
10478 Use equivalent methods on the UserGroupMembership class.
10479 * Maintenance scripts and tests that call User::addGroup() must now ensure that
10480 User objects have been added to the database prior to calling addGroup().
10481 * Protected function UsersPager::getGroups() was removed, and protected function
10482 UsersPager::buildGroupLink() was changed from a static to an instance method.
10483 * The third parameter ($cache) to the UsersPagerDoBatchLookups hook was changed;
10484 see docs/hooks.txt.
10485 * User::crypt() (deprecated in 1.24) was removed.
10486 * User::comparePasswords() (deprecated in 1.24) was removed.
10487 * ArchivedFile::getUserText() (deprecated in 1.23) was removed.
10488 * HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed.
10489 * BREAKING CHANGE: Internal signature changes to ChangesListSpecialPage
10490 and subclasses. It should only break if you call buildMainQueryConds
10491 (changed to buildQuery with new signature) or doMainQuery (new
10492 signature). Subclasses are likely to call at least doMainQuery
10493 (possibly both), but other classes might too, because they were
10495 Also, some related hooks were deprecated, but this is not yet a
10497 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
10498 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
10499 * WikiRevision::$fileIsTemp was deprecated.
10500 * WikiRevision::$importer was deprecated.
10501 * WikiRevision::$user was deprecated.
10502 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
10503 WikiPage::PURGE_* constants are deprecated, and the functions will always
10504 return false. They were a hack for an issue that has since been fixed.
10505 * Hook 'EditPageBeforeEditChecks' is now deprecated. Instead use the new hook
10506 'EditPageGetCheckboxesDefinition', or 'EditPage::showStandardInputs:options'
10507 if you don't actually care about checkboxes and just want to add some HTML
10509 * Selflinks are now rendered as href-less <a> tags with the class mw-selflink
10510 rather than <strong> tags. The old class name, "selflink", was deprecated
10511 and will be removed in a future release. (T160480)
10512 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
10513 * Browser support for non-ES5 JavaScript browsers, including Android 2,
10514 Opera <12.10, and Internet Explorer 9, was lowered from Grade A to Grade C.
10515 * Removed wikibits global methods deprecated since MediaWiki 1.17 (T122755):
10516 is_gecko, is_chrome_mac, is_chrome, webkit_version, is_safari_win, is_safari,
10517 webkit_match, is_ff2, ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs,
10518 opera7_bugs, opera6_bugs, is_opera_95, is_opera_preseven, is_opera,
10519 ie6_bugs, clientPC, changeText, killEvt, addHandler, hookEvent,
10520 addClickHandler, removeHandler, getElementsByClassName, getInnerText,
10521 setupCheckboxShiftClick, addCheckboxClickHandlers, mwEditButtons,
10522 mwCustomEditButtons, injectSpinner, removeSpinner, escapeQuotes,
10523 escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix,
10524 tooltipAccessKeyRegexp, updateTooltipAccessKeys.
10525 * The ID of the <li> element containing the login link has changed from
10526 'pt-login' to 'pt-login-private' in private wikis.
10527 * The old, neglected "bulletin board style toolbar" in the edit form is now
10528 deprecated (T30856). This old code dates from 2006, and was replaced in the
10529 MediaWiki release tarball and in Wikimedia production by the WikiEditor
10530 extension in 2010. It is only shown to users if no other editor was
10531 installed, and leads to confusion.
10532 * (T92459) Loading ResourceLoader modules containing JavaScript through
10533 addModuleStyles() is deprecated and will log a warning server-side.
10537 == MediaWiki 1.28.3 ==
10539 This is a security and maintenance release of the MediaWiki 1.28 branch.
10541 === Changes since 1.28.2 ==
10542 * (T168856) Allow SVGs created by Dia to be uploaded.
10543 * (T157545) Add missing doUpdates() call to refreshLinks.php.
10544 * (T165714) (T100085) Better handling of jobs execution in post-connection
10546 * (T154425) (T154438) (T157679) Use AutoCommitUpdate instead of
10547 Database->onTransactionIdle.
10548 * (T154425) Make DeferredUpdates detect LBFactory transaction rounds.
10549 * (T149454) Restore erroneously removed realTableName call from
10551 * (T167798) Fix phrase search and highlighting for phrase queries.
10552 * (T151136) Provide credits information to callbacks in extension registration.
10553 * (T160462) Allow namespaces defined in extension.json to be overwritten
10555 * (T168337) Fix ErrorPageError to work from non-UI contexts.
10556 * (T143788) Backports for PHP 7.0 and 7.1 support.
10557 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
10558 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
10559 * (T174255) Declare uploadCount property in importDump.php.
10560 * (T180231) SECURITY: Updated dev dependancy phpunit/phpunit from v4.8.24 to
10562 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
10563 browser sends non-standard url escaping.
10564 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
10565 * (T128209) SECURITY: Reflected File Download from api.php.
10566 * (T134100) SECURITY: Do not reveal if user exists during login failure.
10567 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
10568 * (T125163) SECURITY: Make anchor for headlines escape > and <.
10569 * (T180237) SECURITY: Protect vendor folder with .htaccess.
10570 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
10572 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
10573 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
10575 == MediaWiki 1.28.2 ==
10577 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
10578 included in the tarball version of MediaWiki 1.28.1. The version included had a
10579 serious security issue in it (T158689). There was also some minor code fixes in
10580 MediaWiki itself since 1.28.1, but none of them were security relevant.
10582 == MediaWiki 1.28.1 ==
10584 This is a security and maintenance release of the MediaWiki 1.28 branch.
10586 === Changes since 1.28.0 ===
10588 * $wgRunJobsAsync is now false by default (T142751). This change only affects
10589 wikis with $wgJobRunRate > 0.
10590 * Fix fatal from "WaitConditionLoop" not being found, experienced when a wiki
10591 has more than one database server setup.
10592 * (T152717) Better escaping for PHP mail() command,
10593 * (T154670) A missing method causing the MySQL installer to fatal in rare
10594 circumstances was restored.
10595 * (T154672) Un-deprecate ArticleAfterFetchContentObject hook.
10596 * (T158766) Avoid SQL error on MSSQL when using selectRowCount().
10597 * (T145635) Fix too long index error when installing with MSSQL.
10598 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
10599 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
10601 * (T154872) Fix incorrect ar_usertext_timestamp index names in new 1.28
10603 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
10604 redirect to interwiki links.
10605 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
10606 $wgAdvancedSearchHighlighting is true.
10607 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
10608 their values out of the logs.
10609 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
10611 * (T156184) SECURITY: Escape content model/format url parameter in message.
10612 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
10614 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
10615 directory in it's fallback chain when trying to work out where to write the
10617 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
10618 inclusion syntax's link parameter.
10619 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
10622 == MediaWiki 1.28 ==
10624 === Changes since 1.28.0-rc1 ===
10625 * (T148957) Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db
10627 * (T148956) Only apply wgDBschema to postgres/mssql.
10628 * (T145991) Introduce separate log action for deleting pages on move.
10629 * (T141474) (T110464) Bypass login page if no user input is required.
10631 === Changes since 1.28.0-rc0 ===
10632 * (T142210) The changes to move the parser "NewPP limit report" from a HTML
10633 comment to a machine-readable JavaScript config option 'wgPageParseReport'
10634 have been undone. They caused the human-readable limit report to be shown
10635 incompletely or not at all. ParserOutput::setLimitReportData() and
10636 getLimitReportData() behave as they did in MediaWiki 1.27 again.
10637 * (T149510) Value of {{DISPLAYTITLE:}} parser function will not be used for
10638 the text of subheadings on a category page when creating it. This wasn't
10640 * (T106793) MediaWiki will no longer try to perform a HTTP redirect to the
10641 canonical pretty URL when a non-pretty URL is used. It resulted in redirect
10642 loops in some clients and in some server configurations. This undoes a change
10643 made in MediaWiki 1.26.
10644 * (T149759) manifest_version: 2 was removed.
10646 === Configuration changes in 1.28 ===
10647 * $wgSend404Code now affects status code of action=history if the page is not
10649 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
10650 made by MediaWiki via a proxy. Relying on the http_proxy environment
10651 variable is no longer supported.
10652 * The load.php entry point now enforces the existing policy of not allowing
10653 access to session data, which includes the session user and the session
10654 user's language. If such access is attempted, an exception will be thrown.
10655 * The number of internal PBKDF2 iterations used to derive the session secret
10656 is configurable via $wgSessionPbkdf2Iterations.
10657 * Upload dialog's file upload log comment can now be configured separately for
10658 local and foreign uploads.
10659 * $wgForeignUploadTargets now defaults to `[ 'local' ]`, where `'local'`
10660 signifies local uploads. A value of `[]` (empty array) now means that
10661 no upload targets are allowed, effectively disabling the upload dialog.
10662 * The deprecated $wgEditEncoding variable has been removed; it was only used
10663 for Esperanto language character conversion. You are now recommended to use
10664 input methods provided by the UniversalLanguageSelector extension.
10665 * When $wgPingback is true, MediaWiki will periodically ping
10666 https://www.mediawiki.org/beacon with basic information about the local
10667 MediaWiki installation. This data includes, for example, the type of system,
10668 PHP version, and chosen database backend. This behavior is off by default.
10669 * When $wgEditSubmitButtonLabelPublish is true, MediaWiki will label the button
10670 to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
10671 if false, the default, they will be "Save page"/"Save changes".
10672 * The 'editcontentmodel' permission is now granted to all logged-in users
10674 instead of just administrators ('sysop'). Documentation for this feature is
10675 available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>.
10676 * $wgRevisionCacheExpiry is now set to one week by default instead of being
10678 * Magic links are now disabled by default, and can be re-enabled by modifying
10679 the value of $wgEnableMagicLinks. Their usage is discouraged, but if they are
10680 manually enabled, a tracking category will be added to help identify usage and
10681 make it easier to migrate away from. If you depend upon magic link
10682 functionality, it is requested that you comment on
10683 <https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links>
10684 and explain your use case(s).
10685 * New config variable $wgCSPFalsePositiveUrls to control what URLs to ignore
10686 in upcoming Content-Security-Policy feature's reporting.
10688 === New features in 1.28 ===
10689 * User::isBot() method for checking if an account is a bot role account.
10690 * Added a new 'slideshow' mode for galleries.
10691 * Added a new hook, 'UserIsBot', to aid in determining if a user is a bot.
10692 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
10693 interact with API parsing.
10694 * Added a new hook, 'UploadVerifyUpload', which can be used to reject a file
10695 upload. Unlike 'UploadVerifyFile' it provides information about upload comment
10696 and the file description page, but does not run for uploads to stash.
10697 * (T141604) Extensions can now provide a better error message when their
10698 maintenance scripts are run without the extension being installed.
10699 * (T8948) Numeric sorting in categories is now supported by setting
10700 $wgCategoryCollation to 'uca-default-u-kn' or 'uca-<langcode>-u-kn'. If you
10701 can't use UCA collations, a 'numeric' collation is also available. If
10702 migrating from another collation, you will need to run the updateCollation.php
10703 maintenance script.
10704 * Two new codes have been added to #time parser function: "xit" for days in
10705 current month, and "xiz" for days passed in the year, both in Iranian
10707 * mw.Api has a new option, useUS, to use U+001F (Unit Separator) when
10708 appropriate for sending multi-valued parameters. This defaults to true when
10709 the mw.Api instance seems to be for the local wiki.
10710 * After a client performs an action which alters a database that has replica
10711 databases, MediaWiki will wait for the replica databases to synchronize with
10712 the master database while it renders the HTML output. However, if the output
10713 is a redirect to another wiki on the wiki farm with a different domain,
10714 MediaWiki will instead alter the redirect URL to include a ?cpPosTime
10715 parameter that triggers the database synchronization when the URL is followed
10716 by the client. The same-domain case uses a new cpPosTime cookie.
10717 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
10718 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
10719 'show' parameters to existing API query modules.
10721 === External library changes in 1.28 ===
10723 ==== Upgraded external libraries ====
10724 * Updated es5-shim from v4.1.5 to v4.5.8
10725 * Updated composer/semver from v1.4.1 to v1.4.2
10726 * Updated wikimedia/php-session-serializer from v1.0.3 to v1.0.4
10728 ==== New external libraries ====
10729 * Added wikimedia/scoped-callback v1.0.0
10730 * Added wikimedia/wait-condition-loop v1.0.1
10732 === Bug fixes in 1.28 ===
10733 * (T146496) action=history pages should return 404 HTTP error code if the page
10735 * (T137264) SECURITY: XSS in unclosed internal links
10736 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
10737 * (T133147) SECURITY: Require login to preview user CSS pages
10738 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
10740 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
10742 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
10743 * (T139670) Move 'UserGetRights' call before application of
10744 Session::getAllowedUserRights()
10746 === Action API changes in 1.28 ===
10747 * Added 'maxarticlesize' property to action=query&meta=siteinfo which contains
10748 the value of $wgMaxArticleSize.
10749 * Property 'modulemessages' from action=parse&prop=modules was removed
10750 (deprecated since 1.26).
10751 * The following response properties from action=login, deprecated in 1.27, are
10752 now removed: lgtoken, cookieprefix, sessionid. Clients should handle cookies
10753 to properly manage session state.
10754 * Submitting the lgtoken and lgpassword parameters in the query string to
10755 action=login is now deprecated and outputs a warning. They should be submitted
10756 in the POST body instead.
10757 * Submitting sensitive authentication request parameters to action=clientlogin,
10758 action=createaccount, action=linkaccount, and action=changeauthenticationdata
10759 in the query string is now deprecated and outputs a warning. They should be
10760 submitted in the POST body instead.
10761 * (T141960) Multi-valued parameters may now be separated using U+001F
10762 (Unit Separator) instead of the pipe character. This will be useful if some of
10763 the multiple values need to contain pipes, e.g. for action=options.
10764 * The API will now warn if input is not NFC-normalized Unicode or if it
10765 contains invalid characters.
10766 * The 'normalized' list output by action=query and other modules that use
10767 ApiPageSet may contain entries where the 'from' value is percent-encoded as
10768 the raw value cannot be represented in a valid API response. These are
10769 indicated by a 'fromencoded' boolean alongside the existing 'from' parameter.
10770 * (T28680) action=paraminfo can now return info about all submodules of a
10771 module without listing them all explicitly.
10772 * (T146770) It is now possible to assert that the current user is a specific
10773 named user, using the 'assertuser' parameter.
10774 * (T141963) Added a 'known' property when missing-but-known titles (e.g. from
10775 the 'TitleIsAlwaysKnown' hook) are output in various modules.
10777 === Action API internal changes in 1.28 ===
10778 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
10779 interact with ApiParse and ApiExpandTemplates.
10780 * (T139565) SECURITY: API: Generate head items in the context of the given title
10781 * (T115333) SECURITY: Check read permission when loading page content in
10783 * ApiBase::getResultData() was removed (deprecated since 1.25)
10784 * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25)
10785 * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25)
10786 * ApiBase::makeHelpMsg() was removed (deprecated since 1.25)
10787 * ApiFormatBase::formatHTML() was removed (deprecated since 1.25)
10788 * ApiFormatBase::getNeedsRawData() was removed (deprecated since 1.25)
10789 * ApiFormatBase::getWantsHelp() was removed (deprecated since 1.25)
10790 * ApiFormatBase::setBufferResult() was removed (deprecated since 1.25)
10791 * ApiFormatBase::setHelp() was removed (deprecated since 1.25)
10792 * ApiFormatBase::setUnescapeAmps() was removed (deprecated since 1.25)
10793 * ApiMain::makeHelpMsgHeader() was removed (deprecated since 1.25)
10794 * ApiMain::reallyMakeHelpMsg() was removed (deprecated since 1.25)
10795 * ApiMain::setHelp() was removed (deprecated since 1.25)
10796 * ApiResult::beginContinuation() was removed (deprecated since 1.25)
10797 * ApiResult::cleanUpUTF8() was removed (deprecated since 1.25)
10798 * ApiResult::convertStatusToArray() was removed (deprecated since 1.25)
10799 * ApiResult::disableSizeCheck() was removed (deprecated since 1.24)
10800 * ApiResult::enableSizeCheck() was removed (deprecated since 1.24)
10801 * ApiResult::endContinuation() was removed (deprecated since 1.25)
10802 * ApiResult::getData() was removed (deprecated since 1.25)
10803 * ApiResult::getIsRawMode() was removed (deprecated since 1.25)
10804 * ApiResult::setContent() was removed (deprecated since 1.25)
10805 * ApiResult::setContinueParam() was removed (deprecated since 1.25)
10806 * ApiResult::setElement() was removed (deprecated since 1.25)
10807 * ApiResult::setGeneratorContinueParam() was removed (deprecated since 1.25)
10808 * ApiResult::setIndexedTagName_internal() was removed (deprecated since 1.25)
10809 * ApiResult::setIndexedTagName_recursive() was removed (deprecated since 1.25)
10810 * ApiResult::setMainForContinuation() was removed (deprecated since 1.25)
10811 * ApiResult::setParsedLimit() was removed (deprecated since 1.25)
10812 * ApiResult::setRawMode() was removed (deprecated since 1.25)
10813 * ApiResult::size() was removed (deprecated since 1.25)
10814 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
10815 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
10816 'show' parameters to existing API query modules. A query module can enable
10817 these hooks by passing an array for $hookData to ApiQueryBase::select() and
10818 by calling ApiQueryBase->processRow() before adding a row's data to the
10821 === Languages updated in 1.28 ===
10823 MediaWiki supports over 375 languages. Many localisations are updated
10824 regularly. Below only new and removed languages are listed, as well as
10825 changes to languages because of Phabricator reports.
10827 * (T137411) ban (Balinese), thanks to translators Adi Mayndra, Andru,
10828 BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라.
10829 * (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha,
10830 Saiddzone Saimawnkham, Saosukham, and Sengwan.
10831 * Czech (cs) and Slovak (sk) set as reciprocal fallbacks.
10832 * (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator
10835 === Other changes in 1.28 ===
10836 * (T128697) Improved handling of large diffs.
10837 * [BREAKING CHANGE] $wgExtendedLoginCookies has been removed. You can
10838 use or update a custom session provider if needed.
10839 * Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent.
10840 * The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead.
10841 * SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
10842 * The 'UserLoginComplete' hook has a new parameter to differentiate between
10843 actual login and visiting the login page while already logged in.
10844 * ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24).
10845 * $.fn.liveAndTestAtStart was removed (deprecated since 1.24).
10846 * mw.util.tooltipAccessKeyPrefix was removed (deprecated since 1.24).
10847 * mw.util.tooltipAccessKeyRegexp was removed (deprecated since 1.24).
10848 * Linker::link() and Linker::linkKnown() were deprecated; please instead use
10849 MediaWiki\Linker\LinkRenderer. In addition, the LinkBegin and LinkEnd hooks
10850 were replaced by HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
10851 respectively. See docs/hooks.txt for the specific changes needed for those
10853 * Linker::formatSize() was deprecated. Use Language::formatSize() directly.
10854 * Aliases for Linker methods, deprecated since 1.21, were removed from Skin:
10855 * Skin::commentBlock() (use Linker::commentBlock() instead)
10856 * Skin::generateRollback() (use Linker::generateRollback() instead)
10857 * Skin::link() (use MediaWiki\Linker\LinkRenderer instead)
10858 * Skin::linkKnown() (use MediaWiki\Linker\LinkRenderer instead)
10859 * Skin::userLink() (use Linker::userLink() instead)
10860 * Skin::userToolLinks() (use Linker::userToolLinks() instead)
10861 * Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is
10863 * DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21).
10864 * UploadBase::stashFileGetKey() and UploadBase::stashSession() were deprecated.
10865 Use ...->stashFile()->getFileKey() instead.
10866 * "Public domain" was removed as a wiki license option from the installer, in
10868 * AuthenticationRequest::$required is now changed from REQUIRED to
10869 PRIMARY_REQUIRED on requests needed by primary providers even if all primaries
10871 Primary providers are discouraged from returning multiple REQUIRED requests.
10872 * OOjs UI PHP widgets constructed with the `'infusable' => true` config option
10873 will no longer be automatically infused. You should call `OO.ui.infuse()`
10874 on them yourself from your JavaScript code.
10875 * parserTests.php has moved to tests/parser/parserTests.php
10876 * The command line options specific to parser tests have been removed from
10877 phpunit.php: --regex and --keep-uploads. Instead of --regex, use --filter.
10878 Instead of --keep-uploads, use the same option to parserTests.php, but you
10879 must specify a directory with --upload-dir.
10880 * The 'jquery.arrowSteps' ResourceLoader module is now deprecated.
10881 * IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should
10882 migrate to using the same functions on a ProxyLookup instance, obtainable from
10884 * The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave,
10885 ArticleSaveComplete, ArticleViewCustom, EditFilterMerged, EditPageGetDiffText,
10886 EditPageGetPreviewText and ShowRawCssJs hooks will now emit deprecation
10888 * (T68404) CSS3 attr() function with url type is no longer allowed
10890 * Database::getSearchEngine() is deprecated, use
10891 SearchEngineFactory::getSearchEngineClass instead.
10893 == Compatibility ==
10895 MediaWiki 1.28 requires PHP 5.5.9 or later. There is experimental support for
10896 HHVM 3.6.5 or later.
10898 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
10899 support for them is somewhat less mature. There is experimental support for
10900 Oracle and Microsoft SQL Server.
10902 The supported versions are:
10904 * MySQL 5.0.3 or later
10905 * PostgreSQL 8.3 or later
10906 * SQLite 3.3.7 or later
10907 * Oracle 9.0.1 or later
10908 * Microsoft SQL Server 2005 (9.00.1399)
10912 1.28 has several database changes since 1.27, and will not work without schema
10913 updates. Note that due to changes to some very large tables like the revision
10914 table, the schema update may take quite long (minutes on a medium sized site,
10915 many hours on a large site).
10917 If upgrading from before 1.11, and you are using a wiki as a commons
10918 repository, make sure that it is updated as well. Otherwise, errors may arise
10919 due to database schema changes.
10921 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
10922 new database fields are filled with data.
10924 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
10925 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
10926 with MediaWiki 1.21.
10928 Don't forget to always back up your database before upgrading!
10930 See the file UPGRADE for more detailed upgrade instructions.
10932 For notes on 1.27.x and older releases, see HISTORY.
10934 == Online documentation ==
10936 Documentation for both end-users and site administrators is available on
10937 MediaWiki.org, and is covered under the GNU Free Documentation License (except
10938 for pages that explicitly state that their contents are in the public domain):
10940 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
10944 A mailing list is available for MediaWiki user support and discussion:
10946 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
10948 A low-traffic announcements-only list is also available:
10950 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
10952 It's highly recommended that you sign up for one of these lists if you're
10953 going to run a public MediaWiki, so you can be notified of security fixes.
10957 There's usually someone online in #mediawiki on irc.freenode.net.
10961 == MediaWiki 1.27.7 ==
10963 This is a maintenance release of the MediaWiki 1.27 branch.
10965 === Changes since MediaWiki 1.27.6 ===
10966 * Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php.
10967 * Remove broken tests from ApiBlockTest.php.
10969 == MediaWiki 1.27.6 ==
10971 This is a security and maintenance release of the MediaWiki 1.27 branch.
10973 === Changes since MediaWiki 1.27.5 ===
10974 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
10975 all titles when asked for none.
10976 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
10978 * (T207241) Augment precision of updatelist time.
10979 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
10980 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
10981 * (T207603) SECURITY: User JS may no longer be loaded with mime type
10982 text/javascript if there is no account associated with the username.
10983 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
10984 type if non-admins can edit the page.
10985 * (T207541) Pass email address to mail().
10986 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
10987 * (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1.
10988 * (T208871) The hard-coded Google search form on the database error page was
10990 * (T216968) Return pageid as int in both list=iwbacklinks and
10991 list=langbacklinks.
10992 * (T218608) Fix an issue that prevents Extension:OAuth working when
10993 $wgBlockDisablesLogin is true.
10994 * (T219728) Added support for new Japanese era name "Reiwa".
10995 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
10997 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
10999 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
11000 getLoginSecurityLevel() returns non-false.
11001 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
11002 * (T208881) SECURITY: blacklist CSS var().
11003 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
11004 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
11005 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
11006 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
11008 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
11010 == MediaWiki 1.27.5 ==
11012 This is a security and maintenance release of the MediaWiki 1.27 branch.
11014 === Changes since 1.27.4 ===
11015 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
11017 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
11019 * Upgraded Moment.js from v2.8.4 to v2.19.3.
11020 * (T160298) Fixed Special:ActiveUsers due to bad backport.
11021 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
11023 * Updated list of SPDX licenses for extensions.
11024 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
11025 include extensions. Pass --with-extensions to enable that feature.
11026 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
11027 * Add default edit rate limit of 90 edits/minute for all users.
11028 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
11029 * (T196672) The mtime of extension.json files is now able to be zero.
11030 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
11032 * (T180403) Validate $length in padleft/padright parser functions.
11033 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
11034 * Special:BotPasswords now requires reauthentication.
11035 * (T191608, T187638) Add 'logid' parameter to Special:Log.
11036 * (T193829) Indicate when a Bot Password needs reset.
11037 * (T151415) Log email changes.
11038 * (T118420) Unbreak Oracle installer.
11040 == MediaWiki 1.27.4 ==
11041 This is a security and maintenance release of the MediaWiki 1.27 branch.
11043 === Changes since 1.27.3 ===
11044 * (T100085) Better handling of jobs execution in post-connection shutdown.
11045 * (T141604) Support conditionally registered namespaces.
11046 * (T167798) Fix highlighting for phrase queries and phrase search.
11047 * (T151136) Provide credits information to callbacks.
11048 * (T160462) Allow namespaces defined in extension.json to be overwritten
11050 * (T168856) Allow SVGs created by Dia to be uploaded.
11051 * (T144705) (T148662) Password reset link is no longer shown when no reset
11052 options are available.
11053 * (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support.
11054 * (T66795) $wgUserEmailUseReplyTo is now true by default to work around
11055 restrictive DMARC policies.
11056 * DB_REPLICA constant added from REL1_28+ to ease backports to extensions and
11058 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
11059 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
11060 * (T142304) Allow putting the app ID in the password for bot passwords.
11061 * Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36.
11062 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
11063 browser sends non-standard url escaping.
11064 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
11065 * (T128209) SECURITY: Reflected File Download from api.php.
11066 * (T134100) SECURITY: Do not reveal if user exists during login failure.
11067 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
11068 * (T125163) SECURITY: Make anchor for headlines escape > and <.
11069 * (T180237) SECURITY: Protect vendor folder with .htaccess.
11070 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
11072 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
11073 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
11075 == MediaWiki 1.27.3 ==
11076 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
11077 included in the tarball version of MediaWiki 1.27.2. The version included had a
11078 serious security issue in it (T158689). There was also some minor code fixes in
11079 MediaWiki itself since 1.27.2, but none of them were security relevant.
11081 === Changes since 1.27.2 ===
11082 * (T145664) Fix broken wincache merge() implementation
11083 * (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility
11084 * (T153505) Fix php warnings on php 7.1 due to use of &$this
11086 == MediaWiki 1.27.2 ==
11087 This is a security and maintenance release of the MediaWiki 1.27 branch.
11089 ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as
11090 deprecated (rather than already removed) in the RELEASE-NOTES at the point
11091 1.27.0 was released.
11093 === Changes since 1.27.1 ===
11095 * (T68404) CSS3 attr() function with url type argument is no longer allowed
11097 * $wgRunJobsAsync is now false by default (T142751). This change only affects
11098 wikis with $wgJobRunRate > 0.
11099 * (T152717) Better escaping for PHP mail() command
11100 * Submitting the lgtoken and lgpassword parameters in the query string to
11101 action=login is now deprecated and outputs a warning. They should be submitted
11102 in the POST body instead.
11103 * Submitting sensitive authentication request parameters to action=clientlogin,
11104 action=createaccount, action=linkaccount, and action=changeauthenticationdata
11105 in the query string is now deprecated and outputs a warning. They should be
11106 submitted in the POST body instead.
11107 * (T158766) Avoid SQL error on MSSQL when using selectRowCount()
11108 * (T145635) Fix too long index error when installing with MSSQL.
11109 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
11110 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
11112 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
11113 redirect to interwiki links.
11114 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
11115 $wgAdvancedSearchHighlighting is true.
11116 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
11117 their values out of the logs.
11118 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
11120 * (T156184) SECURITY: Escape content model/format url parameter in message.
11121 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
11123 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
11124 directory in it's fallback chain when trying to work out where to write the
11126 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
11127 inclusion syntax's link parameter.
11128 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
11131 == MediaWiki 1.27.1 ==
11133 This is a maintenance release of the MediaWiki 1.27 branch.
11135 === Changes since 1.27.0 ===
11136 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
11137 made by MediaWiki via a proxy. Relying on the http_proxy environment
11138 variable is no longer supported.
11139 * (T139565) SECURITY: API: Generate head items in the context of the given title
11140 * (T137264) SECURITY: XSS in unclosed internal links
11141 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
11142 * (T133147) SECURITY: Require login to preview user CSS pages
11143 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
11145 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
11147 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
11148 * (T115333) SECURITY: Check read permission when loading page content in
11150 * (T57548) Remove support for $wgWellFormedXml = false, all output is now well
11152 * (T139670) Move 'UserGetRights' call before application of
11153 Session::getAllowedUserRights()
11155 == MediaWiki 1.27.0 ==
11157 === PHP version requirement in 1.27 ===
11158 As of 1.27, MediaWiki now requires PHP 5.5.9 or higher (see Compatibility
11159 section). Additionally, the following PHP extensions are required:
11163 * mbstring (new requirement in 1.27)
11165 The following PHP extensions are strongly recommended:
11168 === Configuration changes in 1.27 ===
11169 * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
11170 now always enabled. If you use RDFa on your wiki, you now have to explicitly
11171 set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
11172 * $wgUseLinkNamespaceDBFields was removed.
11173 * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
11174 $wgResourceLoaderMinifierMaxLineLength, because there was little value in
11175 making the behavior configurable. The default values (`false` for the former,
11176 1000 for the latter) are now hard-coded.
11177 * $wgDebugDumpSqlLength was removed (deprecated in 1.24).
11178 * $wgDebugDBTransactions was removed (deprecated in 1.20).
11179 * $wgUseXVO has been removed, as it provides functionality only used by
11180 custom Wikimedia patches against Squid 2.x that probably noone uses in
11181 production anymore. There is now $wgUseKeyHeader that provides similar
11182 functionality but instead of the MediaWiki-specific X-Vary-Options header,
11183 uses the draft Key header standard.
11184 * $wgScriptExtension (and support for '.php5' entry points) was removed. See the
11185 deprecation notice in the release notes for version 1.25 for advice on how to
11186 preserve support for '.php5' entry points via URL rewriting.
11187 * Password handling via the User object has been deprecated and partially
11188 removed, pending the future introduction of AuthManager. In particular:
11189 ** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
11190 getPasswordExpired() have been removed. They were unused outside of core.
11191 ** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
11192 now private and will be removed in the future.
11193 ** The getPassword() and getTemporaryPassword() methods now throw
11194 BadMethodCallException and will be removed in the future.
11195 ** The ability to pass 'password' and 'newpassword' to createNew() has been
11196 removed. The only users of it seem to have been using it to set invalid
11197 passwords, and so shouldn't be greatly affected.
11198 ** setPassword(), setInternalPassword(), and setNewpassword() have been
11199 deprecated, pending the introduction of AuthManager.
11200 ** User::randomPassword() is deprecated in favor of a new method
11201 PasswordFactory::generateRandomPasswordString()
11202 ** User::getPasswordFactory() is deprecated, callers should just create a
11203 PasswordFactory themselves.
11204 ** A new constructor, User::newSystemUser(), has been added to simplify the
11205 creation of passwordless "system" users for logged actions.
11206 * $wgMaxSquidPurgeTitles was removed.
11207 * $wgAjaxWatch was removed. This is now enabled by default.
11208 * $wgUseInstantCommons now hotlinks Commons images by default instead of
11209 downloading originals and thumbnailing them locally. This allows wikis to save
11210 on CPU and bandwidth while reducing time to first byte for pages, even without
11211 a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
11212 * (T27397) WebP is enabled by default as an uploadable filetype.
11213 * (T48998) $wgArticlePath must now be either a full url, or start with a "/".
11214 * $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
11215 * Deprecated API formats dbg, txt, and yaml have been removed.
11216 * CLDRPluralRule* classes have been replaced with
11217 wikimedia/cldr-plural-rule-parser.
11218 * Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
11219 $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
11220 $wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
11221 * For proper operation of LocalIdLookup with shared user tables, ensure that
11222 $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
11223 that all others are sharing from and that $wgLocalDatabases is set to the
11224 full list of sharing wikis on all those wikis.
11225 * Massive overhaul to session handling:
11226 ** $wgSessionsInObjectCache is no longer supported and must be true, due to
11227 MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
11229 ** ObjectCacheSessionHandler is removed, replaced with
11230 MediaWiki\Session\PhpSessionHandler.
11231 ** PHP session handling in general ($_SESSION, session_id(), and so on) is
11232 deprecated. Use MediaWiki\Session\SessionManager instead. A new config
11233 variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
11234 issue a deprecation warning or to cause most PHP session handling to throw
11236 ** Deprecated UserSetCookies hook. Session-handling extensions should generally
11237 be creating a custom subclass of CookieSessionProvider. Other extensions
11238 messing with cookies can no longer count on user data being saved in cookies
11239 versus other methods.
11240 ** Deprecated UserLoadFromSession hook, extensions should create a
11241 MediaWiki\Session\SessionProvider.
11242 ** The User cannot be loaded from session until after Setup.php completes.
11243 Attempts to do so will be ignored and the User will remain unloaded.
11244 ** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
11245 the MediaWiki\Session\Token class.
11246 * MediaWiki will now auto-create users as necessary, removing the need for
11247 extensions to do so. An 'autocreateaccount' right is added to allow
11248 auto-creation when 'createaccount' is not granted to all users.
11249 * Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
11250 * Most cookie-handling methods in User are deprecated.
11251 * $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
11252 experimental feature that has never worked.
11253 * Login and createaccount tokens now vary by timestamp.
11254 * LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
11255 return a MediaWiki\Session\Token, and tokens must be checked using that
11257 * $wgEnotifUseJobQ was removed and the job queue is always used.
11258 * The functionality of the ApiSandbox extension has been merged into core. The
11259 extension should no longer be used.
11260 * $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
11261 Extensions, skins, gadgets and scripts that use the mediawiki.util module must
11262 express a dependency on it.
11263 * $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false.
11264 Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits
11265 module should express a dependency on it.
11266 * Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use
11267 $wgFooterIcons['copyright']['copyright'] instead.
11268 * If the openssl and mcrypt PHP extensions are both unavailable, secure
11269 session storage (used for login) will raise an exception. This exception may
11270 be bypassed by setting $wgSessionInsecureSecrets = true.
11271 * Massive overhaul to authentication:
11272 ** AuthPlugin and AuthPluginUser are deprecated.
11273 ** LoginForm and associated templates are deprecated. Extensions which called
11274 static LoginForm methods should be converted into authentication providers.
11275 ** The following hooks are deprecated:
11276 *** AbortAutoAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
11277 *** AbortLogin (create a MediaWiki\Auth\PreAuthenticationProvider instead)
11278 *** AbortNewAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
11279 *** AddNewAccount (use LocalUserCreated instead)
11280 *** AuthPluginSetup (create a MediaWiki\Auth\PrimaryAuthenticationProvider
11282 *** ChangePasswordForm (use AuthChangeFormFields instead, or security levels)
11283 *** LoginUserMigrated (create a MediaWiki\Auth\PreAuthenticationProvider
11285 *** UserCreateForm (create a MediaWiki\Auth\AuthenticationProvider of some type
11287 *** UserLoginForm (create a MediaWiki\Auth\AuthenticationProvider of some type
11289 ** The following hooks are removed:
11290 *** AbortChangePassword
11291 *** LoginPasswordResetMessage
11292 *** PrefsPasswordAudit
11293 ** The UserLoginComplete hook will no longer be called for all logins, only for
11294 those via the web UI. Use UserLoggedIn if you need to do something on all
11296 ** $wgRequirePasswordforEmailChange is removed.
11298 === New features in 1.27 ===
11299 * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
11300 sticks to the primary DC (via cookies) after they make changes to the site.
11301 * Added a new hook, 'UserMailerTransformContent', to transform the contents
11302 of an email. This is similar to the EmailUser hook but applies to all mail
11303 sent via UserMailer.
11304 * Added a new hook, 'UserMailerTransformMessage', to transform the contents
11305 of an emai after MIME encoding.
11306 * Added a new hook, 'UserMailerSplitTo', to control which users have to be
11307 emailed separately (ie. there is a single address in the To: field) so
11308 user-specific changes to the email can be applied safely.
11309 * $wgCdnMaxageLagged was added, which limits the CDN cache TTL
11310 when any load balancer uses a DB that is lagged beyond the 'max lag'
11311 setting in the relevant section of $wgLBFactoryConf.
11312 * User::newSystemUser() may be used to simplify the creation of passwordless
11313 "system" users for logged actions from scripts and extensions.
11314 * Extensions can now return detailed error information via the API when
11315 preventing user actions using 'getUserPermissionsErrors' and similar hooks
11316 by using ApiMessage instances instead of strings for the $result value.
11317 * $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
11319 * Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
11320 and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
11321 cross-browser-compatible FlexBox rules. Users will still need to add fallback
11322 float rules or the like for compatibility with IE9- separately.
11323 * Added MWTimestamp::getTimezoneString() which returns the localized timezone
11324 string, if available. To localize this string, see the comments of
11325 $wgLocaltimezone in includes/DefaultSettings.php.
11326 * Added CentralIdLookup, a service that allows extensions needing a concept of
11327 "central" users to get that without having to know about specific central
11328 authentication extensions.
11329 * $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
11330 Regular web request transactions that takes longer than this are aborted.
11331 * Added a new hook, 'TitleMoveCompleting', which runs before a page move is
11333 * $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
11334 from CDN to mitigate DB replication lag and WAN cache purge lag.
11335 * (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
11336 if it is available.
11337 * It is now possible to patrol file uploads (both for new files and new versions
11338 of existing files). Special:NewFiles has gained an option to filter by patrol
11339 status. This functionality can be disabled using $wgUseFilePatrol.
11340 * MediaWiki\Session infrastructure allows for easier use of session mechanisms
11341 other than the usual cookies.
11342 ** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
11343 custom session metadata.
11344 * Added MWGrants and associated configuration settings $wgGrantPermissions and
11345 $wgGrantPermissionGroups to hold configuration for authentication features
11346 such as OAuth that want to allow restricting the user rights a user may make
11348 ** If you're already using the OAuth extension, these new variables are
11349 identical to (and will replace) $wgMWOAuthGrantPermissions and
11350 $wgMWOAuthGrantPermissionGroups.
11351 * Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
11352 to assert that the request comes from a particular IP range.
11353 * Added bot passwords, a rights-restricted login mechanism for API-using bots.
11354 * Whitelisted the following HTML attributes for all elements in wikitext:
11355 aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
11356 * Removed "presentation" restriction on the HTML role attribute in wikitext.
11357 All values are now allowed for the role attribute.
11358 * $wgContentHandlers now also supports callbacks to create an instance of the
11359 appropriate ContentHandler subclass.
11360 * Added $wgAuthenticationTokenVersion, which if non-null prevents the
11361 user_token database field from being exposed in cookies. Setting this would
11362 be a good idea, but will log out all current sessions.
11363 * $wgEventRelayerConfig was added, for managing PubSub event relay
11364 configuration, specifically for reliable CDN url purges.
11365 * Requests have unique IDs, equal to the UNIQUE_ID environment variable (when
11366 MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly-
11367 generated 24-character string. This request ID is used to annotate log records
11368 and error messages. It is available client-side via
11369 mw.config.get( 'wgRequestId' ).
11370 The request ID supplants exception IDs. Accordingly,
11371 MWExceptionHandler::getLogId() is deprecated.
11372 * (T33313) Add a preference for watching uploads by default, also applies
11373 to API-based upload tools.
11374 * $wgJpegPixelFormat was added to override chroma subsampling for JPEG image
11375 thumbnails created via ImageMagick. Defaults to 'yuv420', providing bandwidth
11376 savings versus the previous behavior on many files.
11377 * MediaWiki\Auth infrastructure (called "AuthManager") allows for more flexible
11378 configuration of multiple authentication pieces that was possible with
11379 AuthPlugin. For example, it's now easy to plug in second-factor
11380 authentication, or add additional checks to the login process, or to support
11381 multiple login methods at once, or to support non-password-based login
11383 ** Providers are configured via the global setting $wgAuthManagerConfig.
11384 ** A global, $wgDisableAuthManager, is temporarily available to disable
11385 AuthManager until extensions are ready to support it.
11386 ** New hook, AuthChangeFormFields, to adjust the form fields on
11387 AuthManager-related special pages.
11388 ** New hook, AuthManagerLoginAuthenticateAudit, for additional logging of
11389 AuthManager-related authentication requests.
11390 ** New hook, ChangeAuthenticationDataAudit, for additional logging of
11391 AuthManager-related authentication data changes.
11392 ** New hook, SecuritySensitiveOperationStatus, to work with the new mechanism
11393 for requiring a recent login before taking security-sensitive operations
11394 like changing a password.
11395 ** Two new globals, $wgChangeCredentialsBlacklist and
11396 $wgRemoveCredentialsBlacklist can be used to prevent the web UI and the API
11397 changing certain authentication data.
11398 * The file upload dialog (available if you install WikiEditor or VisualEditor)
11399 can now be configured using $wgUploadDialog.
11401 === External library changes in 1.27 ===
11403 ==== Upgraded external libraries ====
11404 * Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
11405 * Updated composer/semver from v1.0.0 to v1.2.0.
11406 * Updated liuggio/statsd-php-client to 1.0.18.
11407 * Updated QUnit from v1.18.0 to v1.22.0.
11409 ==== New external libraries ====
11410 * Added wikimedia/base-convert v1.0.1.
11411 * Added wikimedia/cldr-plural-rule-parser v1.0.0.
11412 * Added wikimedia/relpath v1.0.3.
11413 * Added wikimedia/running-stat v1.1.0.
11414 * Added wikimedia/php-session-serializer v1.0.3.
11416 ==== Removed and replaced external libraries ====
11418 === Bug fixes in 1.27 ===
11419 * Special:Upload will now display correct maximum allowed file size when running
11420 under HHVM (T116347).
11421 * (T54077) The APIEditBeforeSave hook will once again give only the content of
11422 the section being edited, rather than the whole revision. This reverts the
11423 change made in MediaWiki 1.22.
11425 === Action API changes in 1.27 ===
11426 * Added list=allrevisions.
11427 * generator=recentchanges now has the option to generate revids.
11428 * ApiPageSet::setRedirectMergePolicy() was added. This allows generator
11429 modules to define how generator data for a redirect source gets merged
11430 into the redirect destination.
11431 * prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
11432 "was-deleted" warning.
11433 * Added difftotextpst to query=revisions which preforms a pre-save transform on
11434 the text before diffing it.
11435 * Deprecated formats dbg, txt, and yaml have been removed.
11436 * (T47988) The protect log event details now use new-style formatting.
11437 * The following response properties from action=login are deprecated, and may
11438 be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
11439 handle cookies to properly manage session state.
11440 * action=login transparently allows login using bot passwords. Clients should
11441 merely need to change the username and password used after setting up a bot
11443 * action=upload no longer understands statuskey, asyncdownload or leavemessage.
11444 * Several changes when $wgDisableAuthManager is false:
11445 ** action=login is deprecated for uses other than bot passwords.
11446 ** list=users can now indicate if a missing username is creatable.
11447 ** action=createaccount is changed in a non-backwards-compatible manner.
11448 ** Added action=query&meta=authmanagerinfo.
11449 ** Added action=clientlogin to be used to log into the main account instead of
11451 ** Added action=linkaccount.
11452 ** Added action=unlinkaccount.
11453 ** Added action=changeauthenticationdata.
11454 ** Added action=removeauthenticationdata.
11455 ** Added action=resetpassword.
11457 === Action API internal changes in 1.27 ===
11458 * ApiQueryORM removed.
11459 * The following classes have been removed:
11463 * ApiBase::addTokenProperties() was removed (deprecated since 1.24).
11464 * ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24).
11465 * ApiBase::getFinalResultProperties() was removed (deprecated since 1.24).
11466 * ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated
11468 * ApiBase::getPossibleErrors() was removed (deprecated since 1.24).
11469 * ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated
11471 * ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated
11473 * ApiBase::getResultProperties() was removed (deprecated since 1.24).
11474 * ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24).
11475 * ApiBase::parseErrors() was removed (deprecated since 1.24).
11476 * ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
11477 ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
11478 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
11479 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
11480 * ApiQuery::getGenerators() was removed (deprecated since 1.21).
11481 * ApiQuery::getModules() was removed (deprecated since 1.21).
11482 * ApiQuery::getModuleType() was removed (deprecated since 1.21).
11483 * ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).
11484 * ApiMain::getModules() was removed (deprecated since 1.21).
11485 * ApiBase::getVersion() was removed (deprecated since 1.21).
11486 * ApiMain::getShowVersions() was removed (deprecated in 1.21).
11487 * ApiMain::addModule() was removed (deprecated in 1.21).
11488 * ApiMain::addFormat() was removed (deprecated in 1.21).
11489 * ApiMain::getFormats() was removed (deprecated in 1.21).
11490 * ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21).
11491 * ApiCreateAccount was removed.
11493 === Languages updated in 1.27 ===
11495 MediaWiki supports over 350 languages. Many localisations are updated
11496 regularly. Below only new and removed languages are listed, as well as
11497 changes to languages because of Phabricator reports.
11499 * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
11500 * (T116020) Aliases of magic words in MessagesXx.php are sorted by usage.
11502 === Other changes in 1.27 ===
11503 * Added dependency injection (DI) infrastructure, see docs/injection.txt for
11505 It is planned to incrementally move MediaWiki code towards using DI, using the
11506 service locator (SL) pattern as a stepping stone.
11507 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
11508 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
11509 ignore the 2nd and 3rd arguments (formerly $id and $commit).
11510 * Removed "loaderScripts" option from ResourceLoaderFileModule class.
11511 * Removed ORM-like wrapper added in 1.20.
11512 * LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
11513 (deprecated in 1.26).
11514 * WikiPage::doQuickEdit() was removed (deprecated since 1.21).
11515 * Removed SiteObject and SiteArray classes (deprecated in 1.21).
11516 * MessageBlobStore::getInstance() was removed (deprecated since 1.25).
11517 * (T84937) Free external links ("autolinked" urls) will now be terminated
11518 by and HTML entity encodings of  , <, and >.
11519 * (T36948) The default file revert message's timestamp is now in
11520 $wgLocaltimezone, instead of UTC.
11521 * The default name of the 'suppress' group page has been changed from
11522 'Project:Oversight' to 'Project:Suppress'.
11523 * DatabaseBase::resultObject() is now protected (use outside Database classes
11524 not necessary since 1.11).
11525 * Calling ResourceLoaderFileModule::readStyleFiles() without a
11526 ResourceLoaderContext instance is deprecated.
11527 * ResourceLoader::getLessCompiler() now takes an optional parameter of
11528 additional LESS variables to set for the compiler.
11529 * wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
11531 * Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
11532 were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
11533 * Removed msg_resource_links database table and associated code.
11534 * Removed msg_resource database table and associated code.
11535 * Skin::getNamespaceNotice() was removed.
11536 * wfIsConfiguredProxy() was removed (deprecated since 1.24).
11537 * wfDebugTimer() was removed (deprecated since 1.25).
11538 * wfIsTrustedProxy() was removed (deprecated since 1.24).
11539 * wfGetIP() was removed (deprecated since 1.19).
11540 * MWHookException was removed.
11541 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
11542 * OutputPage::loginToUse() was removed (deprecated since 1.19).
11543 * Article::loadContent() was removed (deprecated since 1.19).
11544 * User::editToken() was removed (deprecated since 1.19).
11545 * Removed --force-normal option of dumpBackup.php, as it no longer served
11546 any useful purpose since 1.22.
11547 * The functions processOption() and processArgs() on the BackupDumper and
11548 TextPassDumper classes have been removed.
11549 * The maintenance/backupTextPass.inc file was deleted. You should include
11550 maintenance/dumpTextPass.php instead.
11551 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
11552 * wfEmptyMsg() was removed (deprecated since 1.18).
11553 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
11554 * OutputPage::blockedPage() was removed (deprecated since 1.18).
11555 * User::getSkin() was removed (deprecated since 1.18).
11556 * OutputPage::includeJQuery() was removed (deprecated since 1.17).
11557 * WikiPage::updateRestrictions() was removed (deprecated since 1.19).
11558 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
11559 * LogPage::logName() was removed (deprecated since 1.19).
11560 * LogPage::logHeader() was removed (deprecated since 1.19).
11561 * wfCheckLimits() was removed (deprecated since 1.24).
11562 * Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
11563 * Linker::makeLinkObj() was removed (deprecated since 1.16).
11564 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
11565 * ChangesList::usePatrol was removed (deprecated since 1.22).
11566 * wfMsgNoTrans() was removed (deprecated since 1.18).
11567 * Linker::makeImageLink2 was removed (deprecated since 1.20).
11568 * Title::userIsWatching() was removed (deprecated since 1.20).
11569 * Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
11570 database function directly instead.
11571 * wfMsg() was removed (deprecated since 1.18).
11572 * wfMsgForContent() was removed (deprecated since 1.18).
11573 * wfMsgReal() was removed (deprecated since 1.18).
11574 * wfMsgGetKey() was removed (deprecated since 1.18).
11575 * wfMsgHtml() was removed (deprecated since 1.18).
11576 * wfMsgWikiHtml() was removed (deprecated since 1.18).
11577 * wfMsgExt() was removed (deprecated since 1.18).
11578 * Language::armourMath() was removed (deprecated since 1.22).
11579 * LanguageConverter::armourMath() was removed (deprecated since 1.22).
11580 * FakeConverter::armourMath() was removed (deprecated since 1.22).
11581 * The unused jquery.validate ResourceLoader module was removed.
11582 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
11583 * User::generateToken() was removed (deprecated since 1.20).
11584 * WikiPage::getRawText() was removed (deprecated since 1.21).
11585 * ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
11586 * ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
11587 * ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
11588 * Gallery images with multiple caption pipes no longer concatenate them all
11589 together but instead pick the final one, similar to image syntax.
11590 * XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
11591 rather than consume everything until the end of the page.
11592 * New maintenance script resetUserEmail.php allows sysadmins to reset user
11593 emails in case a user forgot password/account was stolen.
11594 * wfCheckEntropy() was removed (deprecated in 1.27).
11595 * Browser support for Internet Explorer 8 lowered from Grade A to Grade C.
11596 * ContentHandler::supportsCategories method added. Default is true.
11597 CategoryMembershipChangeJob updates are skipped for content that
11598 does not support categories.
11599 * wikidiff difference engine is no longer supported, anyone still using it are
11600 encouraged to upgrade to wikidiff2 which is actively maintained and has better
11601 package availability.
11602 * Database logic was removed from WatchedItem and a WatchedItemStore was
11604 ** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were
11605 deprecated. User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were
11607 ** WatchedItem::fromUserTitle was deprecated in favour of the constructor.
11608 ** WatchedItem::resetNotificationTimestamp was deprecated.
11609 ** WatchedItem::batchAddWatch was deprecated.
11610 ** WatchedItem::addWatch was deprecated.
11611 ** WatchedItem::removeWatch was deprecated.
11612 ** WatchedItem::isWatched was deprecated.
11613 ** WatchedItem::duplicateEntries was deprecated.
11614 ** EmailNotification::updateWatchlistTimestamp was deprecated.
11615 ** User::getWatchedItem was removed.
11616 * Unit tests don't work with external PHPUnit anymore, Composer is now the only
11617 supported way. Run `composer install` to install it and other dev dependencies
11619 * wl_id field added to the watchlist table.
11620 * Revision::getRawText() was removed (deprecated since 1.21).
11621 * WikiPage::replaceSection() was removed (deprecated since 1.21).
11622 * Article::replaceSection() was removed (deprecated since 1.21).
11623 * Language::getLangObj() was removed (deprecated since 1.24).
11624 * Language::getLanguageName() was removed (deprecated since 1.20).
11625 * Language::getLanguageNames() was removed (deprecated since 1.20).
11626 * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20).
11627 * Language::specialPage() was removed (deprecated since 1.24).
11628 * MediaWikiTestCase::assertException() was removed (deprecated since 1.22).
11629 * OutputPage::getHeadItems() was removed (deprecated since 1.24).
11630 * OutputPage::getScript() was removed (deprecated since 1.24).
11631 * OutputPage::out() was removed (deprecated since 1.22).
11632 * OutputPage::setAllowedModules() was removed (deprecated since 1.24).
11633 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
11634 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
11635 * Title::newFromRedirect() was removed (deprecated since 1.21).
11636 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
11637 * Skin::getCommonStylePath() was removed (deprecated since 1.24).
11638 * Skin::newFromKey() was removed (deprecated since 1.24).
11639 * Skin::getUsableSkins() was removed (deprecated since 1.23).
11640 * LoadBalancer::pickRandom() was removed (deprecated in 1.21).
11641 * Article::getUndoText() and WikiPage::getUndoText were removed (deprecated
11643 * DifferenceEngine::setText() was removed (deprecated in 1.21).
11644 * Title::newFromRedirectArray() was removed (deprecated in 1.21).
11645 * UserMailer::send() no longer accepts $replyto as the 5th argument and
11646 $contentType as the 6th. These must be passed in the options array now.
11647 * Title::newFromRedirectRecurse() was removed (deprecated in 1.21).
11648 * Skin::accesskey was removed (deprecated since 1.21).
11649 * Skin::blockLink was removed (deprecated since 1.21).
11650 * Skin::buildRollbackLink was removed (deprecated since 1.21).
11651 * Skin::emailLink was removed (deprecated since 1.21).
11652 * Skin::formatComment was removed (deprecated since 1.21).
11653 * Skin::formatHiddenCategories was removed (deprecated since 1.21).
11654 * Skin::formatLinksInComment was removed (deprecated since 1.21).
11655 * Skin::formatRevisionSize was removed (deprecated since 1.21).
11656 * Skin::formatSize was removed (deprecated since 1.21).
11657 * Skin::formatTemplates was removed (deprecated since 1.21).
11658 * Skin::generateTOC was removed (deprecated since 1.21).
11659 * Skin::getInternalLinkAttributes was removed (deprecated since 1.21).
11660 * Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21).
11661 * Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21).
11662 * Skin::getInvalidTitleDescription was removed (deprecated since 1.21).
11663 * Skin::getLinkColour was removed (deprecated since 1.21).
11664 * Skin::getRevDeleteLink was removed (deprecated since 1.21).
11665 * Skin::getRollbackEditCount was removed (deprecated since 1.21).
11666 * Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21).
11667 * Skin::makeCommentLink was removed (deprecated since 1.21).
11668 * Skin::makeExternalImage was removed (deprecated since 1.21).
11669 * Skin::makeExternalLink was removed (deprecated since 1.21).
11670 * Skin::makeHeadline was removed (deprecated since 1.21).
11671 * Skin::makeImageLink was removed (deprecated since 1.21).
11672 * Skin::makeMediaLinkFile was removed (deprecated since 1.21).
11673 * Skin::makeMediaLinkObj was removed (deprecated since 1.21).
11674 * Skin::makeSelfLinkObj was removed (deprecated since 1.21).
11675 * Skin::makeThumbLink2 was removed (deprecated since 1.21).
11676 * Skin::makeThumbLinkObj was removed (deprecated since 1.21).
11677 * Skin::normaliseSpecialPage was removed (deprecated since 1.21).
11678 * Skin::normalizeSubpageLink was removed (deprecated since 1.21).
11679 * Skin::processResponsiveImages was removed (deprecated since 1.21).
11680 * Skin::revComment was removed (deprecated since 1.21).
11681 * Skin::revDeleteLink was removed (deprecated since 1.21).
11682 * Skin::revDeleteLinkDisabled was removed (deprecated since 1.21).
11683 * Skin::revUserLink was removed (deprecated since 1.21).
11684 * Skin::revUserTools was removed (deprecated since 1.21).
11685 * Skin::specialLink was removed (deprecated since 1.21).
11686 * Skin::splitTrail was removed (deprecated since 1.21).
11687 * Skin::titleAttrib was removed (deprecated since 1.21).
11688 * Skin::tocIndent was removed (deprecated since 1.21).
11689 * Skin::tocLine was removed (deprecated since 1.21).
11690 * Skin::tocLineEnd was removed (deprecated since 1.21).
11691 * Skin::tocList was removed (deprecated since 1.21).
11692 * Skin::tocUnindent was removed (deprecated since 1.21).
11693 * Skin::tooltip was removed (deprecated since 1.21).
11694 * Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21).
11695 * Skin::userTalkLink was removed (deprecated since 1.21).
11696 * Skin::userToolLinksRedContribs was removed (deprecated since 1.21).
11697 * wikidiff3 is now the default and only PHP diff engine. It provides improved
11698 diff performance on complex changes. $wgExternalDiffEngine = 'wikidiff3'
11699 therefore makes no difference now. Users are still recommended to use
11700 wikidiff2 if possible, though.
11701 * User::addNewUserLogEntry() was deprecated.
11702 * User::addNewUserLogEntryAutoCreate() was deprecated.
11703 * User::isPasswordReminderThrottled() was deprecated.
11704 * Bot-oriented parameters to Special:UserLogin (wpCookieCheck,
11705 wpSkipCookieCheck) were removed.
11706 * Installer can now be customized without patching MediaWiki code, see
11707 mw-config/overrides/README for details.
11709 === Compatibility ===
11711 MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for
11712 HHVM 3.6.5 or later.
11714 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
11715 support for them is somewhat less mature. There is experimental support for
11716 Oracle and Microsoft SQL Server.
11718 The supported versions are:
11720 * MySQL 5.0.3 or later
11721 * PostgreSQL 8.3 or later
11722 * SQLite 3.3.7 or later
11723 * Oracle 9.0.1 or later
11724 * Microsoft SQL Server 2005 (9.00.1399)
11728 1.27 has several database changes since 1.26, and will not work without schema
11729 updates. Note that due to changes to some very large tables like the revision
11730 table, the schema update may take quite long (minutes on a medium sized site,
11731 many hours on a large site).
11733 If upgrading from before 1.11, and you are using a wiki as a commons
11734 repository, make sure that it is updated as well. Otherwise, errors may arise
11735 due to database schema changes.
11737 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
11738 new database fields are filled with data.
11740 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
11741 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
11742 with MediaWiki 1.21.
11744 Don't forget to always back up your database before upgrading!
11746 See the file UPGRADE for more detailed upgrade instructions.
11748 For notes on 1.26.x and older releases, see HISTORY.
11753 == MediaWiki 1.26.4 ==
11755 This is a maintenance release of the MediaWiki 1.26 branch.
11757 === Changes since 1.26.3 ===
11758 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
11759 made by MediaWiki via a proxy. Relying on the http_proxy environment
11760 variable is no longer supported.
11761 * (T124163) Fixed fatal error in DifferenceEngine under HHVM.
11762 * (T139565) SECURITY: API: Generate head items in the context of the given title
11763 * (T137264) SECURITY: XSS in unclosed internal links
11764 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
11765 * (T133147) SECURITY: Require login to preview user CSS pages
11766 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
11768 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
11770 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
11771 * (T115333) SECURITY: Check read permission when loading page content in
11773 * Remove support for $wgWellFormedXml = false, all output is now well formed
11775 == MediaWiki 1.26.3 ==
11777 This is a maintenance release of the MediaWiki 1.26 branch.
11779 === Changes since 1.26.2 ===
11780 * (T116266) Fixed undefined property notices in DairikiDiff under HHVM.
11781 * (T123166) Fix fatal error when importing pages to titles which cannot be
11782 created, such as invalid titles or titles the user is not allowed to edit.
11783 * (T122056) Old tokens are remaining valid within a new session
11784 * (T127114) Login throttle can be tricked using non-canonicalized usernames
11785 * (T123653) Cross-domain policy regexp is too narrow
11786 * (T123071) Incorrectly identifying http link in a's href attributes, due to
11787 m modifier in regex
11788 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
11789 * (T125283) Users occasionally logged in as different users after
11790 SessionManager deployment
11791 * (T103239) Patrol allows click catching and patrolling of any page
11792 * (T122807) [tracking] Check php crypto primatives
11793 * (T98313) Graphs can leak tokens, leading to CSRF
11794 * (T130947) Diff generation should use PoolCounter
11795 * (T133507) Careless use of $wgExternalLinkTarget is insecure
11796 * (T132874) API action=move is not rate limited
11797 * (T110143) strip markers can be used to get around html attribute escaping in
11798 (many?) parser tags
11799 * (T116030) Increase pbkdf2 parameter strengths
11800 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
11801 * (T126685) Globally throttle password attempts
11803 == MediaWiki 1.26.2 ==
11805 This is a maintenance release of the MediaWiki 1.26 branch.
11807 === Changes since 1.26.1 ===
11808 * (T121892) Fix fatal error on some Special pages, introduced in 1.26.1.
11810 == MediaWiki 1.26.1 ==
11812 This is a maintenance release of the MediaWiki 1.26 branch.
11814 === Changes since 1.26.0 ===
11815 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
11816 that do not begin with a slash. This enabled trivial XSS attacks.
11817 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
11818 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
11820 * (T119309) SECURITY: Use hash_compare() for edit token comparison
11821 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
11822 with '@' as file uploads
11823 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
11824 longer be shorter than $wgMinimalPasswordLength
11825 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
11826 result in improper blocks being issued
11827 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
11828 and related pages no longer use HTTP redirects and are now redirected by
11830 * Fixed ConfigException in ExpandTemplates due to AlwaysUseTidy.
11831 * Fixed stray literal \n in Special:Search.
11832 * Fix issue that breaks HHVM Repo Authorative mode.
11833 * (T120267) Work around APCu memory corruption bug
11835 == MediaWiki 1.26.0 ==
11837 === Configuration changes in 1.26 ===
11838 * $wgPasswordResetRoutes['email'] = true by default.
11839 * $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE
11840 instead if you want to disable the parser cache.
11841 * New-style continuation is now the default for API action=continue. Clients may
11842 use the 'rawcontinue' parameter to receive raw query-continue data, but the
11843 new style is encouraged as it's harder to implement incorrectly.
11844 * Deprecated API formats dump and wddx have been completely removed.
11845 * (T7645) The "Signature" button on the edit toolbar is now hidden by default
11846 in non-talk namespaces. A new configuration variable,
11847 $wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces
11848 the "Signature" button on the edit toolbar will be displayed.
11849 * $wgResourceLoaderUseESI was deprecated and removed. This was an experimental
11850 feature that was never enabled by default.
11851 * $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed.
11852 This experimental feature was never enabled by default and is obsolete as of
11853 MediaWiki 1.26, in where ResourceLoader became fully asynchronous.
11854 * $wgMasterWaitTimeout was removed (deprecated in 1.24).
11855 * Fields in ParserOptions are now private. Use the accessors instead.
11856 * Custom LESS functions (defined via $wgResourceLoaderLESSFunctions or
11857 in extension.json) have been removed, after being deprecated in 1.24.
11858 * $wgAlwaysUseTidy has been removed.
11859 * ResetSessionID hook has been removed. Nothing seems to use it.
11860 * Certain AuthPlugin methods are deprecated in favor of new hooks:
11861 ** AuthPlugin::initUser() is replaced by LocalUserCreated.
11862 ** AuthPlugin::updateUser() is replaced by UserLoggedIn.
11863 ** AuthPlugin::updateExternalDB() is replaced by the existing UserSaveSettings.
11864 ** AuthPlugin::updateExternalDBGroups() is replaced by UserGroupsChanged.
11865 ** AuthPluginUser::isHidden() is replaced by UserIsHidden.
11866 ** AuthPluginUser::isLocked() is replaced by UserIsLocked.
11867 * The UserRights hook is deprecated in favor of the new UserGroupsChanged hook.
11868 * AuthPlugin::initUser() and AuthPlugin::updateUser() should no longer replace
11869 the passed User object.
11870 * $wgBlockAllowsUTEdit is now set to true by default. This allows
11871 blocked users to edit their talk pages unless explicitly disabled
11872 when they are being blocked.
11874 === New features in 1.26 ===
11875 * (T51506) Now action=info gives estimates of actual watchers for a page.
11876 See $wgRCMaxAge, $wgWatchersMaxAge and $wgUnwatchedPageSecret
11877 to learn how to configure if needed.
11878 * Change tags can now be hidden in the interface by disabling the associated
11879 "tag-<id>" interface message.
11880 * ':' (colon) is now invalid in usernames for new accounts. Existing accounts
11882 * Added a new hook, 'LogException', to log exceptions in nonstandard ways.
11883 * Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of
11884 search results are rendered. The initial use case is to append a "give us
11885 feedback" link beneath the search results.
11886 * Added a new hook, 'RejectParserCacheValue', which allows extensions to
11887 reject an otherwise-successful parser cache lookup. The intent is to allow
11888 extensions to manage the eviction of archaic HTML output from the cache.
11889 * (T68699) The expiration of the UserID and Token login cookies
11890 ($wgExtendedLoginCookieExpiration) can be configured independently of the
11891 expiration of all other cookies ($wgCookieExpiration).
11892 * (T50519) Support for generating JPEG/PNG thumbnails from WebP images added
11893 if ImageMagick is used as image scaler ($wgUseImageMagick = true). Uploading
11894 of WebP images still disabled by default. Add $wgFileExtensions[] =
11895 'webp'; to LocalSettings.php to enable uploading of WebP images.
11896 * Added new hooks 'EnhancedChangesListModifyLineData' &
11897 'EnhancedChangesListModifyBlockLineData', to modify the data used to build
11898 lines in enhanced recentchanges and watchlist.
11899 * Caches that need purging ability now use the WANObjectCache interface.
11900 This corresponds to a new $wgMainWANCache setting, which defaults to using
11901 the $wgMainCacheType settings.
11902 * Callers needing fast light-weight data stores use $wgMainStash to select
11903 the store type from $wgObjectCaches. The default is the local database.
11904 * Interface message overrides in the MediaWiki namespace will now be cached in
11905 memcached and APC (if available), rather than memcached and local files.
11906 * Added a new hook, 'RandomPageQuery', to allow modification of the query used
11907 by Special:Random to select random pages.
11908 * $wgTransactionalTimeLimit was added, which controls the request time limit
11909 for potentially slow POST requests that need to be as atomic as possible.
11910 * ResourceLoader now loads all scripts asynchronously. The top-queue and
11911 startup modules are no longer synchronously loaded.
11912 * 'mediawiki.ui.button' styles are no longer unconditionally loaded on every
11913 page. During the deprecation period, the styles will only be loaded on pages
11914 which contain 'mw-ui-button' in their HTML. Starting in 1.28, the styles will
11915 only be loaded if explicitly required.
11916 * If search returns zero results and current search engine has a "did you mean"
11917 suggestion, results for suggestion will be shown. Can be disabled by setting
11918 $wgSearchRunSuggestedQuery to false.
11919 * Added several JavaScript libraries for uploading files to MediaWiki
11920 from the client-side. See documentation for mw.Upload and its
11921 subclasses for more information.
11922 * Added OOUI dialogs and layout for file upload interfaces. See
11923 documentation for mw.Upload.Dialog, mw.Upload.BookletLayout and its
11924 subclasses for more information.
11926 === extension.json changes in 1.26 ===
11927 * (T99344) The extension.json schema is now versioned. All extensions
11928 and skins should set a "manifest_version" property corresponding to
11929 the schema version they were written for. The only supported version
11931 * (T102523) The error message if a non-array attribute is set was improved.
11932 * (T107646) Configuration settings can now specify how they should be merged,
11933 which is necessary for arrays using integer keys.
11934 * (T110389) Adding namespaces through extension.json now actually works
11935 * $wgNamespaceProtection can now be set in extension.json.
11936 * $wgCapitalLinkOverrides can now be set in extension.json.
11937 * (T97186) Extensions using a custom prefix for their configuration settings
11938 can now set a "_prefix" key to override the default of "wg".
11939 * (T99084) Extensions can now specify what MediaWiki core versions they
11941 * (T105236) The extension.json schema now validates custom classes in
11942 the "ResourceModules" property properly.
11944 === External library changes in 1.26 ===
11945 ==== Upgraded external libraries ====
11946 * Updated es5-shim from v4.0.0 to v4.1.5.
11947 * Updated json2 from revision 2014-02-04 to 2015-05-03.
11948 * Updated Sinon.JS from 1.10.3 to 1.15.4.
11949 * Updated jQuery Client from v1.0.0 to v2.0.0.
11950 * Updated QUnit from v1.17.1 to v1.18.0.
11951 * Updated liuggio/statsd-php-client from v1.0.12 to v1.0.16.
11952 * Updated oojs/oojs-ui from v0.11.3 to v0.12.12.
11953 * Updated wikimedia/cdb from v1.0.1 to v1.3.0.
11954 * Updated wikimedia/utfnormal from v1.0.2 to v1.0.3.
11955 * Updated wikimedia/composer-merge-plugin from v1.0.0 to v1.3.0.
11956 * Updated zordius/lightncandy from v0.18 to v0.21.
11958 ==== New external libraries ====
11959 * Added composer/semver v1.0.0.
11960 * Added mediawiki/at-ease v1.1.0.
11961 * Added wikimedia/assert v0.2.2.
11962 * Added wikimedia/ip-set v1.0.1.
11963 * Added wikimedia/wrappedstring v2.0.0.
11965 ==== Removed and replaced external libraries ====
11966 * Replaced leafo/lessphp v0.5.0 with oyejorge/less.php v1.7.0.9.
11968 === Bug fixes in 1.26 ===
11969 * (T53283) load.php sometimes sends 304 response without full headers
11970 * (T65198) Talk page tabs now have a "rel=discussion" attribute
11971 * (T98841) {{msgnw:}} now preserves comments even when subst: is not used.
11972 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
11973 value if set to an empty string.
11975 === Action API changes in 1.26 ===
11976 * New-style continuation is now the default for action=continue. Clients may
11977 use the 'rawcontinue' parameter to receive raw query-continue data, but the
11978 new style is encouraged as it's harder to implement incorrectly.
11979 * Deprecated API formats dump and wddx have been completely removed.
11980 * API action=query&list=tags: The displayname can now be boolean false if the
11981 tag is meant to be hidden from user interfaces.
11982 * action=import no longer allows both the namespace= and rootpage= parameters
11983 to be set. If they are both set, the value of rootpage= will be ignored.
11984 * prop=revision output in enum mode is now sorted by timestamp rather than
11985 revision ID. This usually won't make any difference.
11986 * (T102645) Namespace list from meta=siteinfo&siprop=namespaces is now an array
11987 with formatversion=2.
11988 * Various other output from meta=siteinfo will now always be arrays instead of
11989 sometimes being numerically-indexed objects with formatversion=2.
11990 * When errors about users being blocked are returned, they now include
11991 information about the relevant block.
11992 * (T99926) list=random has higher limits, in line with other API modules.
11993 * list=random's rnredirect parameter is deprecated in favor of a new
11994 rnfilterredir parameter that also allows for listing both redirects and
11996 * list=random now supports continuation.
11997 * API responses to GET requests may now include ETag and Last-Modified headers,
11998 and will honor corresponding If-None-Match and If-Modified-Since on such
12001 === Action API internal changes in 1.26 ===
12002 * New metadata item ApiResult::META_KVP_MERGE to allow for merging the KVP key
12003 into the value when the value is an assoc.
12004 * API action modules may now provide values for the RFC 7232 ETag and
12005 Last-Modified headers. The API will check these against If-None-Match and
12006 If-Modified-Since request headers on GET requests and avoid executing the
12007 module when appropriate.
12009 === Languages updated in 1.26 ===
12011 MediaWiki supports over 350 languages. Many localisations are updated
12012 regularly. Below only new and removed languages are listed, as well as
12013 changes to languages because of Phabricator reports.
12016 ** ase (American sign language), thanks to translator Icemandeaf
12017 ** dty (डोटेली/Doteli), thanks to translators जनक राज भट्ट, बिप्लब आनन्द,
12018 मेश सिंह बोहरा, and राम प्रसाद जोशी
12019 ** luz (لئری دوٙمینی / Southern Luri)
12020 ** olo (Livvinкarjala / Livvi-Karelian), thanks to translators Denö, Hiloin
12021 Natoi, Ilja.mos, and Mashoi7
12023 === Other changes in 1.26 ===
12024 * ChangeTags::tagDescription() will return false if the interface message
12025 for the tag is disabled.
12026 * Added PageHistoryPager::doBatchLookups hook.
12027 * Added $wikiId parameter to FormatAutocomments hook.
12028 * Added ParserCacheSaveComplete to ParserCache
12029 * supportsDirectEditing and supportsDirectApiEditing methods added to
12030 ContentHandler, to provide a way for ApiEditPage and EditPage to check
12031 if direct editing of content is allowed. These methods return false,
12032 by default for the ContentHandler base class and true for TextContentHandler
12033 and it's derivative classes (everything in core). For Content types that
12034 do not support direct editing, an alternative mechanism should be provided
12035 for editing, such as action overrides or specific api modules.
12036 * mediaWiki.confirmCloseWindow now returns an object of functions, instead of
12037 one function. The callback can't be called directly any more. The callback
12038 function is replaced with confirmCloseWindow.release().
12039 * BREAKING CHANGE: Added an optional ResouceLoaderContext parameter to
12040 ResourceLoaderModule::getDependencies(). Extension classes that override that
12041 method should be updated. If they aren't updated, PHP Strict standards
12042 warnings will appear when E_STRICT error reporting is enabled. Note: in the
12043 near future, this parameter will probably become non-optional.
12044 * Removed maintenance script deleteImageMemcached.php.
12045 * MWFunction::newObj() was removed (deprecated in 1.25).
12046 ObjectFactory::getObjectFromSpec() should be used instead.
12047 * The parser will no longer randomize the string it uses to mark the place of
12048 items that were stripped during parsing. It will use a fixed string instead.
12049 This causes the parser to re-use the regular expressions it uses to search
12050 and replace markers rather than generate novel expressions on each parse.
12051 Re-using regular expressions will improve performance on HHVM and the
12052 forthcoming PHP 7. The interfaces changes accompanying this change are:
12053 - Parser::getRandomString() and Parser::uniqPrefix() have been deprecated.
12054 - The $uniq_prefix argument for Parser::extractTagsAndParams() and the
12055 $prefix argument for StripState::_construct() are deprecated and their
12057 * wfSuppressWarnings() and wfRestoreWarnings() were split into a separate
12058 library, mediawiki/at-ease, and are now deprecated. Callers should use
12059 MediaWiki\suppressWarnings() and MediaWiki\restoreWarnings() directly.
12060 * The Block class constructor now takes an associative array of parameters
12061 instead of many optional positional arguments. Calling the constructor the old
12062 way will issue a deprecation warning.
12063 * The jquery.mwExtension module was deprecated.
12064 * $wgSpecialPageGroups was removed (deprecated in 1.21).
12065 * SpecialPageFactory::setGroup was removed (deprecated in 1.21).
12066 * SpecialPageFactory::getGroup was removed (deprecated in 1.21).
12067 * DatabaseBase::ignoreErrors() is now protected.
12068 * BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following
12069 a lengthy deprecation period.
12070 * The ScopedPHPTimeout class was removed.
12071 * Removed maintenance script fixSlaveDesync.php.
12072 * Watchlist tokens, SpecialResetTokens, and User::getTokenFromOption()
12073 are deprecated. Applications using those can work via the OAuth
12074 extension instead. New tokens types should not be added.
12075 * DatabaseBase::errorCount() was removed (unused).
12076 * $wgDeferredUpdateList was removed.
12077 * DeferredUpdates::addHTMLCacheUpdate() was removed.
12081 == MediaWiki 1.25.6 ==
12083 This is a maintenance release of the MediaWiki 1.25 branch.
12085 === Changes since 1.25.5 ===
12086 * (T123166) Fix fatal error when importing pages to titles which cannot be
12087 created, such as invalid titles or titles the user is not allowed to edit.
12088 * (T122056) Old tokens are remaining valid within a new session
12089 * (T127114) Login throttle can be tricked using non-canonicalized usernames
12090 * (T123653) Cross-domain policy regexp is too narrow
12091 * (T123071) Incorrectly identifying http link in a's href attributes, due to
12092 m modifier in regex
12093 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
12094 * (T125283) Users occasionally logged in as different users after
12095 SessionManager deployment
12096 * (T103239) Patrol allows click catching and patrolling of any page
12097 * (T122807) [tracking] Check php crypto primatives
12098 * (T98313) Graphs can leak tokens, leading to CSRF
12099 * (T130947) Diff generation should use PoolCounter
12100 * (T133507) Careless use of $wgExternalLinkTarget is insecure
12101 * (T132874) API action=move is not rate limited
12102 * (T110143) strip markers can be used to get around html attribute escaping in
12103 (many?) parser tags
12104 * (T116030) Increase pbkdf2 parameter strengths
12105 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
12106 * (T126685) Globally throttle password attempts
12108 == MediaWiki 1.25.5 ==
12110 This is a maintenance release of the MediaWiki 1.25 branch.
12112 === Changes since 1.25.4 ===
12113 * (T121892) Fix fatal error on some Special pages, introduced in 1.25.4.
12115 == MediaWiki 1.25.4 ==
12117 This is a security and maintenance release of the MediaWiki 1.25 branch.
12119 === Changes since 1.25.3 ===
12120 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
12121 that do not begin with a slash. This enabled trivial XSS attacks.
12122 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
12123 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
12125 * (T119309) SECURITY: Use hash_compare() for edit token comparison
12126 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
12127 with '@' as file uploads
12128 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
12129 longer be shorter than $wgMinimalPasswordLength
12130 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
12131 result in improper blocks being issued
12132 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
12133 and related pages no longer use HTTP redirects and are now redirected by
12135 * (T103237) $wgUseGzip had no effect when using file cache.
12136 * (T114606) mw.notify was not correctly fixed to the page if
12137 initialized while not at the top of the page.
12138 * Fix issue that breaks HHVM Repo Authorative mode.
12140 == MediaWiki 1.25.3 ==
12142 This is a security and maintenance release of the MediaWiki 1.25 branch.
12144 === Changes since 1.25.2 ===
12146 * (T98975) Fix having multiple callbacks for a single hook.
12147 * (T107632) maintenance/refreshLinks.php did not always remove all links
12148 pointing to nonexistent pages.
12149 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
12150 value if set to an empty string.
12151 * (T62174) Provide fallbacks for use of mb_convert_encoding() in
12152 HtmlFormatter. It was causing an error when accessing the api help page
12153 if the mbstring PHP extension was not installed.
12154 * (T105896) Confirmation emails would sometimes contain invalid codes.
12155 * (T105597) Fixed edit stash inclusion queries.
12156 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
12157 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
12158 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
12160 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
12162 == MediaWiki 1.25.2 ==
12164 This is a security and maintenance release of the MediaWiki 1.25 branch.
12166 === Changes since 1.25.1 ===
12168 * (T94116) SECURITY: Compare API watchlist token in constant time
12169 * (T97391) SECURITY: Escape error message strings in thumb.php
12170 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
12171 Special:DeletedContributions
12172 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
12173 policy of Wikimedia Commons.
12174 * (T100767) Setting a configuration setting for skin or extension to
12175 false in LocalSettings.php was not working.
12176 * (T100635) API action=opensearch json output no longer breaks when
12177 $wgDebugToolbar is enabled.
12178 * (T102522) Using an extension.json or skin.json file which has
12179 a "manifest_version" property for 1.26 compatability will no longer
12181 * (T86156) Running updateSearchIndex.php will not throw an error as
12182 page_restrictions has been added to the locked table list.
12183 * Special:Version would throw notices if using SVN due to an incorrectly
12184 named variable. Add an additional check that an index is defined.
12186 == MediaWiki 1.25.1 ==
12188 This is a bug fix release of the MediaWiki 1.25 branch.
12190 === Changes since 1.25 ===
12191 * (T100351) Fix syntax errors in extension.json of ConfirmEdit extension
12193 == MediaWiki 1.25.0 ==
12195 === Configuration changes in 1.25 ===
12196 * $wgPageShowWatchingUsers was removed.
12197 * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts.
12198 * $wgAntiLockFlags was removed.
12199 * $wgJavaScriptTestConfig was removed.
12200 * Edit tokens returned from User::getEditToken may change on every call. Token
12201 validity must be checked by passing the user-supplied token to
12202 User::matchEditToken rather than by testing for equality with a
12203 newly-generated token.
12204 * (T74951) The UserGetLanguageObject hook may be passed any IContextSource
12205 for its $context parameter. Formerly it was documented as receiving a
12206 RequestContext specifically.
12207 * Profiling was restructured and $wgProfiler now requires an 'output' parameter.
12208 See StartProfiler.sample for details.
12209 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
12210 might be a flash policy directive configurable.
12211 * ApiOpenSearch now supports XML output. The OpenSearchXml extension should no
12212 longer be used. If extracts and page images are desired, the TextExtracts and
12213 PageImages extensions are required.
12214 * $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates.
12215 * Edits are now prepared via AJAX as users type edit summaries. This behavior
12216 can be disabled via $wgAjaxEditStash.
12217 * (T46740) The temporary option $wgIncludejQueryMigrate was removed, along
12218 with the jQuery Migrate library, as indicated when this option was provided in
12220 * ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any
12221 StartProfiler.php config is updated to reflect this. Xhprof is available
12222 for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler.
12223 * Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary
12224 rather than 'rsvg'.
12225 * Default value of $wgSVGConverters['ImageMagick'] now uses transparent
12226 background with white fallback color, rather than just white background.
12227 * MediaWikiBagOStuff class removed, make sure any object cache config
12228 uses SqlBagOStuff instead.
12229 * The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis
12230 job queues. This means that mediawiki/services/jobrunner service has to
12231 be installed and running for any such queues to work.
12232 * $wgAutopromoteOnce no longer supports the 'view' event. For keeping some
12233 compatibility, any 'view' event triggers will still trigger on 'edit'.
12234 * $wgExtensionDirectory was added for when your extensions directory is
12235 somewhere other than $IP/extensions (as $wgStyleDirectory does with the skins
12238 === New features in 1.25 ===
12239 * (T64861) Updated plural rules to CLDR 26. Includes incompatible changes
12240 for plural forms in Russian, Prussian, Tagalog, Manx and several languages
12241 that fall back to Russian.
12242 * (T60139) ResourceLoaderFileModule now supports language fallback
12243 for 'languageScripts'.
12244 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify
12245 the parser output for a content object before links update.
12246 * (T37785) Enhanced recent changes and extended watchlist are now default.
12247 Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
12248 and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
12249 * (T69341) SVG images will no longer be base64-encoded when being embedded
12250 in CSS. This results in slight size increase before gzip compression (due to
12251 percent-encoding), but up to 20% decrease after it.
12252 * Update jStorage to v0.4.12.
12253 * MediaWiki now natively supports page status indicators: icons (or short text
12254 snippets) usually displayed in the top-right corner of the page. They have
12255 been in use on Wikipedia for a long time, implemented using templates and CSS
12256 absolute positioning.
12257 - Basic wikitext syntax:
12258 <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
12259 - Usage instructions:
12260 https://www.mediawiki.org/wiki/Help:Page_status_indicators
12261 - Adjusting custom skins to support indicators:
12262 https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators
12263 * Edit tokens may now be time-limited: passing a maximum age to
12264 User::matchEditToken will reject any older tokens.
12265 * The debug logging internals have been overhauled, and are now using the
12267 * Update CSSJanus to v1.1.1.
12268 * Update lessphp to v0.5.0.
12269 * Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts
12270 and images for ApiOpenSearch output. The semantics are identical to the
12271 "OpenSearchXml" hook provided by the OpenSearchXml extension.
12272 * PrefixSearchBackend hook now has an $offset parameter. Combined with $limit,
12273 this allows for pagination of prefix results. Extensions using this hook
12274 should implement supporting behavior. Not doing so can result in undefined
12275 behavior from API clients trying to continue through prefix results.
12276 * Update jQuery from v1.11.1 to v1.11.3.
12277 * External libraries installed via composer will now be displayed
12278 on Special:Version in their own section. Extensions or skins that are
12279 installed via composer will not be shown in this section as it is assumed
12280 they will add the proper credits to the skins or extensions section. They
12281 can also be accessed through the API via the new siprop=libraries to
12283 * Update QUnit from v1.14.0 to v1.16.0.
12284 * Update Moment.js from v2.8.3 to v2.8.4.
12285 * Special:Tags now allows for manipulating the list of user-modifiable change
12287 * Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete',
12288 and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change
12290 * Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and
12291 "active" formerly conflated by the 'ListDefinedTags' hook.
12292 * Added TemplateParser class that provides a server-side interface to cachable
12293 dynamically-compiled Mustache templates (currently uses lightncandy library).
12294 * Clickable anchors for each section heading in the content are now generated
12295 and appear in the gutter on hovering over the heading.
12296 * Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink'
12297 hooks to allow extensions to override how links to pages are rendered within
12299 * (T19665) Special:WantedPages only lists page which having at least one red
12300 link pointing to it.
12301 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
12302 used for conditional registration of API modules.
12303 * New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the
12304 links of a group of changes in EnhancedChangesList.
12305 * A full interface for StatsD metric reporting has been added to the context
12306 interface, reachable via IContextSource::getStats().
12307 * Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a
12308 proper, published library, which is now tagged as v1.0.0.
12309 * A new message (defaulting to blank), 'editnotice-notext', can be shown to
12310 users when they are editing if no edit notices apply to the page being edited.
12311 * (T94536) You can now make the sitenotice appear to logged-in users only by
12312 editing MediaWiki:Anonnotice and replacing its content with "". Setting it to
12313 "-" (default) will continue disable it and fallback to MediaWiki:Sitenotice.
12314 * Modifying the tagging of a revision or log entry is now available via
12315 Special:EditTags, generally accessed via the revision-deletion-like interface
12316 on history pages and Special:Log is likely to be more useful.
12317 * Added 'applychangetags' and 'changetags' user rights.
12318 * (T35235) LogFormatter subclasses are now responsible for formatting the
12319 parameters for API log event output. Extensions should implement the new
12320 getParametersForApi() method in their log formatters.
12322 ==== External libraries ====
12323 * MediaWiki now requires certain external libraries to be installed. In the past
12324 these were bundled inside the Git repository of MediaWiki core, but now they
12325 need to be installed separately. For users using the tarball, this will be
12326 taken care of and no action will be required. Users using Git will either need
12327 to use composer to fetch dependencies or use the mediawiki/vendor repository
12328 which includes all dependencies for MediaWiki core and ones used in Wikimedia
12329 deployment. Detailed instructions can be found at:
12330 https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
12331 * The following libraries are now required:
12333 This library provides the interfaces set by the PSR-3 standard
12334 (http://www.php-fig.org/psr/psr-3/) which are used by MediaWiki internally
12335 via the MediaWiki\Logger\LoggerFactory class.
12336 See the structured logging RfC
12337 <https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging>
12338 for more background information.
12339 ** cssjanus/cssjanus
12340 This library was formerly bundled with MediaWiki core and has been removed.
12341 It automatically flips CSS for RTL support.
12343 This library was formerly bundled with MediaWiki core and has been removed.
12344 It compiles LESS files into CSS.
12346 This library was formerly a part of MediaWiki core, and has been moved into a
12347 separate library. It provides CDB functions which are used in the Interwiki
12348 and Localization caches. More information about the library can be found at
12349 https://www.mediawiki.org/wiki/CDB.
12350 ** liuggio/statsd-php-client
12351 This library provides a StatsD client API for logging application metrics to
12354 === Bug fixes in 1.25 ===
12355 * (T73003) No additional code will be generated to try to load CSS-embedded
12356 SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
12357 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
12358 10- and 13-digit forms) containing "X".
12359 * Page moving was refactored into a MovePage class. As part of that:
12360 ** The AbortMove hook was removed.
12361 ** MovePageIsValidMove is for extensions to specify whether a page
12362 cannot be moved for technical reasons, and should not be overridden.
12363 ** MovePageCheckPermissions is for checking whether the given user is
12364 allowed to make the move.
12365 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
12366 ** Title::moveTo() was deprecated. Use the MovePage class instead.
12367 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
12368 and MovePage::checkPermissions().
12369 * (T18530) Multiple autocomments are now formatted in an edit summary.
12370 * (T70361) Autocomments containing "/*" are parsed correctly.
12371 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
12372 on action=info about a file page does not list file links anymore.
12373 * (T78637) Search bar is not autofocused unless it is empty so that proper
12374 scrolling using arrow keys is possible.
12375 * (T50853) Database::makeList() modified to handle 'NULL' separately when
12377 * (T85192) Captcha position modified in Usercreate template. As a result:
12378 ** extrafields parameter added to Usercreate.php to insert additional data
12379 ** 'extend' method added to QuickTemplate to append additional values to any
12380 field of data array
12381 * (T86974) Several Title methods now load from the database when necessary
12382 (instead of returning incorrect results) even when the page ID is known.
12383 * (T74070) Duplicate search for archived files on file upload now omits the
12385 This requires the fa_sha1 field being populated.
12386 * Removed rel="archives" from the "View history" link, as it did not pass
12388 * $wgUseTidy is now set when parserTests are run with the tidy option to match
12390 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed
12392 * (T72109) mediawiki.language should respect $wgTranslateNumerals in
12395 === Action API changes in 1.25 ===
12396 * (T67403) XML tag highlighting is now only performed for formats
12397 "xmlfm" and "wddxfm".
12398 * action=paraminfo supports generalized submodules (modules=query+value),
12399 querymodules and formatmodules are deprecated
12400 * action=paraminfo no longer outputs descriptions and other help text by
12401 default. If needed, it may be requested using the new 'helpformat' parameter.
12402 * action=help has been completely rewritten, and outputs help in HTML
12403 rather than plain text.
12404 * Hitting api.php without specifying an action now displays only the help for
12405 the main module, with links to submodule help.
12406 * API help is no longer displayed on errors.
12407 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
12408 explicitly select the language from the current user's preferences, and
12409 "uselang=content" may be used to select the wiki's content language.
12410 * Default output format for the API is now jsonfm.
12411 * Simplified continuation will return a "batchcomplete" property in the result
12412 when a batch of pages is complete.
12413 * Pretty-printed HTML output now has nicer formatting and (if available)
12414 better syntax highlighting.
12415 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
12416 list=alldeletedrevisions.
12417 * prop=revisions will gracefully continue when given too many revids or titles,
12418 rather than just ignoring the extras.
12419 * prop=revisions will no longer die if rvcontentformat doesn't match a
12420 revision's content model; it will instead warn and omit the content.
12421 * If the user has the 'deletedhistory' right, action=query's revids parameter
12422 will now recognize deleted revids.
12423 * prop=revisions may be used as a generator, generating revids.
12424 * (T68776) format=json results will no longer be corrupted when
12425 $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
12426 error instead of returning invalid serialized data.
12427 * Generators may now return data for the generated pages when used with
12429 * Query page data for generator=search and generator=prefixsearch will now
12430 include an "index" field, which may be used by the client for sorting the
12432 * ApiOpenSearch now supports XML output.
12433 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
12435 * (T76051) list=tags will now continue correctly.
12436 * (T76052) list=tags can now indicate whether a tag is defined.
12437 * (T75522) list=prefixsearch now supports continuation
12438 * (T78737) action=expandtemplates can now return page properties.
12439 * (T78690) list=allimages now accepts multiple pipe-separated values
12440 for the 'aimime' parameter.
12441 * prop=info with inprop=protections will now return applicable protection types
12442 with the 'restrictiontypes' key.
12443 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
12444 interwiki redirects to the list of interwiki titles.
12445 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
12446 property (like the existing 'tofragment' property) will be set.
12447 * Added action=managetags to allow for managing the list of
12448 user-modifiable change tags. Actually modifying the tagging of a revision or
12449 log entry is not implemented yet.
12450 * list=tags has additional properties to indicate 'active' status and tag
12452 * siprop=libraries was added to ApiQuerySiteinfo to list installed external
12454 * (T88010) Added action=checktoken, to test a CSRF token's validity.
12455 * (T88010) Added intestactions to prop=info, to allow querying of
12456 Title::userCan() via the API.
12457 * Default type param for query list=watchlist and list=recentchanges has
12458 been changed from all types (e.g. including 'external') to 'edit|new|log'.
12459 * Added formatversion to format=json. Still "experimental" as further changes
12460 to the output formatting might still be made.
12461 * (T73020) Log event details are now always under a 'params' subkey for
12462 list=logevents, and a 'logparams' subkey for list=watchlist and
12463 list=recentchanges.
12464 * Log event details are changing formatting:
12465 * block events now report flags as an array rather than as a comma-separated
12467 * patrol events now report the 'auto' flag as a boolean (absent/empty string
12468 for BC formats) rather than as an integer.
12469 * rights events now report the old and new group lists as arrays rather than
12470 as comma-separated lists.
12471 * merge events use new-style formatting.
12472 * delete/event and delete/revision events use new-style formatting.
12473 * The root node and various other nodes will now always be an object in formats
12474 such as json that distinguish between arrays and objects.
12475 * Except for action=opensearch where the spec requires an array.
12477 === Action API internal changes in 1.25 ===
12478 * ApiHelp has been rewritten to support i18n and paginated HTML output.
12479 Most existing modules should continue working without changes, but should do
12481 * Add an i18n message "apihelp-{$moduleName}-description" to replace
12483 * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
12484 to replace getParamDescription(). If necessary, the settings array returned
12485 by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
12487 * Implement getExamplesMessages() to replace getExamples().
12488 * Modules with submodules (like action=query) must have their submodules
12489 override ApiBase::getParent() to return the correct parent object.
12490 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
12491 and will have no effect for modules using i18n messages. Use
12492 'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
12493 * Api formatters will no longer be asked to display the help screen on errors.
12494 * ApiMain::getCredits() was removed. The credits are available in the
12495 'api-credits' i18n message.
12496 * ApiFormatBase has been changed to support i18n and syntax highlighting via
12497 extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
12499 * ApiFormatBase now always buffers. Output is done when
12500 ApiFormatBase::closePrinter is called.
12501 * Much of the logic in ApiQueryRevisions has been split into
12502 ApiQueryRevisionsBase.
12503 * The 'revids' parameter supplied by ApiPageSet will now count deleted
12504 revisions as "good" if the user has the 'deletedhistory' right. New methods
12505 ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
12506 provided to access just the live or just the deleted revids.
12507 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
12508 to allow generators to include data in the action=query result.
12509 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
12510 used for conditional registration of API modules.
12511 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
12512 the current request was sent with the 'callback' parameter (or any future
12513 method that breaks the same-origin policy).
12514 * Profiling methods in ApiBase are deprecated and no longer need to be called.
12515 * ApiResult was greatly overhauled. See inline documentation for details.
12516 * ApiResult will automatically convert objects to strings or arrays (depending
12517 on whether a __toString() method exists on the object), and will refuse to
12518 add unsupported value types.
12519 * An informal interface, ApiSerializable, exists to override the default
12521 * ApiResult/ApiFormatBase "raw mode" is deprecated.
12522 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
12523 metadata isn't set.
12524 * (T35235) LogFormatter subclasses are now responsible for formatting log event
12525 parameters for the API.
12526 * Many modules have changed result data formats. While this shouldn't affect
12527 clients not using the experimental formatversion=2, code using
12528 ApiResult::getResultData() without the transformations for backwards
12529 compatibility may need updating, as will code that wasn't following the old
12530 conventions for API boolean output.
12531 * The following methods have been deprecated and may be removed in a future
12533 * ApiBase::getDescription
12534 * ApiBase::getParamDescription
12535 * ApiBase::getExamples
12536 * ApiBase::makeHelpMsg
12537 * ApiBase::makeHelpArrayToString
12538 * ApiBase::makeHelpMsgParameters
12539 * ApiBase::getModuleProfileName
12540 * ApiBase::profileIn
12541 * ApiBase::profileOut
12542 * ApiBase::safeProfileOut
12543 * ApiBase::getProfileTime
12544 * ApiBase::profileDBIn
12545 * ApiBase::profileDBOut
12546 * ApiBase::getProfileDBTime
12547 * ApiBase::getResultData
12548 * ApiFormatBase::setUnescapeAmps
12549 * ApiFormatBase::getWantsHelp
12550 * ApiFormatBase::setHelp
12551 * ApiFormatBase::formatHTML
12552 * ApiFormatBase::setBufferResult
12553 * ApiFormatBase::getDescription
12554 * ApiFormatBase::getNeedsRawData
12556 * ApiMain::reallyMakeHelpMsg
12557 * ApiMain::makeHelpMsgHeader
12558 * ApiResult::setRawMode
12559 * ApiResult::getIsRawMode
12560 * ApiResult::getData
12561 * ApiResult::setElement
12562 * ApiResult::setContent
12563 * ApiResult::setIndexedTagName_recursive
12564 * ApiResult::setIndexedTagName_internal
12565 * ApiResult::setParsedLimit
12566 * ApiResult::beginContinuation
12567 * ApiResult::setContinueParam
12568 * ApiResult::setGeneratorContinueParam
12569 * ApiResult::endContinuation
12571 * ApiResult::convertStatusToArray
12572 * ApiQueryImageInfo::getPropertyDescriptions
12573 * ApiQueryLogEvents::addLogParams
12574 * The following classes have been deprecated and may be removed in a future
12576 * ApiQueryDeletedrevs
12578 === Languages updated in 1.25 ===
12580 MediaWiki supports over 350 languages. Many localisations are updated
12581 regularly. Below only new and removed languages are listed, as well as
12582 changes to languages because of Bugzilla reports.
12585 ** awa (अवधी / Awadhi), thanks to translator 1AnuraagPandey;
12586 ** bgn (بلوچی رخشانی / Western Balochi), thanks to translators
12587 Baloch Afghanistan, Ibrahim khashrowdi and Rachitrali;
12588 ** ses (Koyraboro Senni), thanks to translator Songhay.
12589 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
12590 interface language to kk where unexpected.
12591 * The Chinese conversion table was substantially updated to fix a lot of
12592 bugs and ensure better reading experience for different variants.
12594 === Other changes in 1.25 ===
12595 * (T45591) Links to MediaWiki.org translatable help were added to indicators,
12596 mostly in special pages. Local custom target titles can be placed in the
12597 relevant '(namespace-X|action name|special page name)-helppage' system
12598 message. Extensions can use the addHelpLink() function to do the same.
12599 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
12600 removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
12601 migration guide for creators and users of custom skins that relied on it.
12602 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
12603 available on Special:Upload.
12604 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
12605 inline styles in the HTML.
12606 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
12607 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
12608 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
12609 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
12610 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since
12612 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
12614 * Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated
12616 * Removed 'jquery.json' module. (deprecated since 1.24)
12617 Use the 'json' module and global JSON object instead.
12618 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
12619 Also, the former will now throw an MWException if called with one or more
12621 * Removed hitcounters and associated code.
12622 * The "temp" zone of the upload respository is now considered private. If it
12623 already exists (such as under the images/ directory), please make sure that
12624 the directory is not web readable (e.g. via a .htaccess file).
12625 * BREAKING CHANGE: In the XML dump format used by Special:Export and
12626 dumpBackup.php, the <model> and <format> tags now apprear before the <text>
12627 tag, instead of after the <text> and <sha1> tags.
12628 The new schema version is 0.10, the new schema URI is:
12629 https://www.mediawiki.org/xml/export-0.10.xsd
12630 * MWFunction::call() and MWFunction::callArray() were removed, having being
12631 deprecated in 1.22.
12632 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
12633 and getInternalLinkAttributes methods in Linker, and removed
12634 getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
12635 * Removed Sites class, which was deprecated in 1.21 and replaced by
12637 * Added wgRelevantArticleId to the client-side config, for use on special pages.
12638 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
12639 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
12640 * Deprecated the TitleIsWikitextPage hook. Superseded by the
12641 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
12642 * Changed parsing of variables in schema (.sql) files:
12643 ** The substituted values are no longer parsed. (Formerly, several passes
12644 were made for each variable, so depending on the order in which variables
12645 were defined, variables might have been found inside encoded values. This
12646 is no longer the case.)
12647 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
12648 If string encoding is necessary, use the '{$var}' syntax instead.
12649 ** Variable names must only consist of one or more of the characters
12651 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
12652 does not exist yet variable B does, the latter may not be replaced.
12653 However, this difference is unlikely to arise in practice.
12654 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
12655 characters on both sides.
12656 * The FormatAutocomments hook will now receive $pre and $post as booleans,
12657 rather than as strings that must be prepended or appended to $comment.
12658 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
12659 newlines; but they can contain and other non-newline whitespace.
12660 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
12661 toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
12662 relied on this behavior, update your scripts' dependencies.
12663 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
12664 * HTMLForm::isVForm() is now deprecated.
12665 * You can no longer do this:
12666 $form = new HTMLForm( … );
12667 $form->setDisplayFormat( 'vform' ); // throws exception
12669 $form = HTMLForm::factory( 'vform', … );
12670 * Deprecated Revision methods getRawUser(), getRawUserText() and
12672 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
12673 The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
12674 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
12675 renders them incorrectly when combined with border-radius or background-size.
12676 * Removed maintenance script dumpSisterSites.php.
12677 * DatabaseBase class constructors must be called using the array argument style.
12678 Ideally, DatabaseBase:factory() should be used instead in most cases.
12679 * Deprecated ParserOutput::addSecondaryDataUpdate and
12680 ParserOutput::getSecondaryDataUpdates.
12681 This is a hard deprecation, with getSecondaryDataUpdates returning an empty
12682 array and addSecondaryDataUpdate throwing an exception. These functions will
12683 be removed in 1.26, since they interfere with caching of ParserOutput objects.
12684 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject
12686 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to
12687 perform updates when a page is re-rendered.
12688 * EditPage::attemptSave has been modified not to call handleStatus itself and
12689 instead just returns the Status object. Extension calling it should be aware
12691 * Removed class DBObject. (unused since 1.10)
12692 * wfDiff() is deprecated.
12693 * The -m (maximum replication lag) option of refreshLinks.php was removed.
12694 It had no effect since MediaWiki 1.18 and should be removed from any cron
12695 jobs or similar scripts you may have set up.
12696 * (T85864) The following messages no longer support raw html: redirectto,
12697 thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
12698 retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
12699 protect-summary-cascade
12700 * All BloomCache related code has been removed. This was largely experimental.
12701 * $wgResourceModuleSkinStyles no longer supports per-module local or remote
12702 paths. They can only be set for the entire skin.
12703 * Removed global function swap(). (deprecated since 1.24)
12704 * Deprecated the ".php5" file extension entry points and the $wgScriptExtension
12705 configuration variable. Refer to the ".php" files instead. If you want
12706 ".php5" URLs to continue to work, set up redirects. In Apache, this can be
12707 done by enabling mod_rewrite and adding the following rules to your
12712 RewriteRule ^(.*)\.php5 $1.php [R=301,L]
12714 * The global importScriptURI and importStylesheetURI functions, as well as the
12715 loadedScripts object, from wikibits.js (deprecated since 1.17) now emit
12716 warnings through mw.log.warn when accessed.
12720 == MediaWiki 1.24.6 ==
12722 This is a maintenance release of the MediaWiki 1.24 branch.
12724 === Changes since 1.24.5 ===
12725 * (T121892) Fix fatal error on some Special pages, introduced in 1.24.5.
12727 == MediaWiki 1.24.5 ==
12729 This is a security and maintenance release of the MediaWiki 1.23 branch.
12731 === Changes since 1.24.4 ===
12732 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
12733 that do not begin with a slash. This enabled trivial XSS attacks.
12734 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
12735 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
12737 * (T119309) SECURITY: Use hash_compare() for edit token comparison
12738 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
12739 with '@' as file uploads
12740 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
12741 longer be shorter than $wgMinimalPasswordLength
12742 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
12743 result in improper blocks being issued
12744 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
12745 and related pages no longer use HTTP redirects and are now redirected by
12747 * (T103237) $wgUseGzip had no effect when using file cache.
12749 == MediaWiki 1.24.4 ==
12751 This is a security and maintenance release of the MediaWiki 1.24 branch.
12753 === Changes since 1.24.3 ===
12755 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
12756 * (T68650) Fix indexing of moved pages with PostgreSQL. Requires running
12758 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
12759 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
12760 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
12762 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
12764 == MediaWiki 1.24.3 ==
12766 This is a security and maintenance release of the MediaWiki 1.24 branch.
12768 === Changes since 1.24.2 ===
12770 * (T94116) SECURITY: Compare API watchlist token in constant time
12771 * (T97391) SECURITY: Escape error message strings in thumb.php
12772 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
12773 Special:DeletedContributions
12774 * Update jQuery from v1.11.2 to v1.11.3.
12775 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
12776 policy of Wikimedia Commons.
12778 == MediaWiki 1.24.2 ==
12780 This is a security and maintenance release of the MediaWiki 1.24 branch.
12782 === Changes since 1.24.1 ===
12784 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
12785 to prevent various DoS attacks.
12786 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
12788 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
12789 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
12790 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
12791 * (T64685) SECURITY: Allow setting maximal password length to prevent DoS when
12793 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
12794 prevent XSS and protect viewer's privacy.
12795 * Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory to fix
12796 loading these special pages when $wgAutoloadAttemptLowercase is false.
12797 * (bug T70087) Fix Special:ActiveUsers page for installations using
12799 * (bug T76254) Fix deleting of pages with PostgreSQL. Requires a schema change
12800 and running update.php to fix.
12802 == MediaWiki 1.24.1 ==
12804 This is a security and maintenance release of the MediaWiki 1.24 branch.
12806 === Changes since 1.24.0 ===
12808 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
12809 could lead to xss. Permission to edit MediaWiki namespace is required to
12811 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
12812 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
12814 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
12815 * Fixed a couple of entries in RELEASE-NOTES-1.24.
12816 * (bug T76168) OutputPage: Add accessors for some protected properties.
12817 * (bug T74834) Make 1.24 branch directly installable under PostgreSQL.
12819 == MediaWiki 1.24.0 ==
12821 === Configuration changes in 1.24 ===
12822 * MediaWiki will no longer run if register_globals is enabled. It has been
12823 deprecated for 5 years now, and was removed in PHP 5.4. For more information
12824 about why, see <https://www.mediawiki.org/wiki/register_globals>.
12825 * MediaWiki now requires PHP's iconv extension. openSUSE users may need to
12826 install the php5-iconv package. Users of other systems may need to add
12827 extension=iconv.so to php.ini or recompile PHP without --without-iconv.
12828 * MediaWiki will no longer function if magic quotes are enabled. It has
12829 been deprecated for 5 years now, and was removed in PHP 5.4.
12830 * The server's canonical hostname is available as $wgServerName, which is
12831 exposed in both mw.config and ApiQuerySiteinfo.
12832 * Introduced $wgPagePropsHaveSortkey as a backwards-compatibility switch,
12833 for using the old schema of the page_props table, in case the respective
12834 schema update was not applied.
12835 * $wgSearchEverythingOnlyLoggedIn was removed as the 'searcheverything'
12836 user option was removed. Use $wgNamespacesToBeSearchedDefault instead or
12837 if you used to have $wgDefaultUserOptions['searcheverything'] = 1.
12838 * $wgMasterWaitTimeout has been deprecated.
12839 * $wgDBClusterTimeout has been removed.
12840 * $wgProxyKey has been removed. It is no longer used by MediaWiki core.
12841 Ensure $wgSecretKey is set in LocalSettings.php.
12842 * $wgExtraInterlanguageLinkPrefixes is a new configuration variable that
12843 contains an array of interwiki prefixes that should be treated as language
12844 prefixes (i.e. turned into interlanguage links when $wgInterwikiMagic is set
12846 * $wgParserTestRemote has been removed.
12847 * $wgCountTotalSearchHits has been removed. If you're concerned about efficiency
12848 of search, you should use something like CirrusSearch instead of built in
12850 * Users in the 'sysop' group have access to Special:MergeHistory by default.
12851 * $wgFileStore was removed after having been deprecated in 1.17. Alternative
12852 configurations are $wgDeletedDirectory and $wgHashedUploadDirectory.
12853 * The deprecated $wgUseCommaCount variable has been removed.
12854 * $wgEnableSorbs and $wgSorbsUrl have been removed.
12855 * The UserCryptPassword and UserComparePassword hooks are no longer called.
12856 Any extensions using them must be updated to use the Password Hashing API.
12857 * $wgCompiledFiles has been removed.
12858 * $wgSortSpecialPages was removed, the listing on Special:SpecialPages is
12860 * $wgSpecialPages may now use callback functions as an alternative to plain
12861 class names. This allows more control over constructor parameters.
12862 * $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort were removed.
12863 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort
12864 and $wgRC2UDPPrefix have been removed.
12865 * The default password type for MediaWiki has been changed from MD5 to PBKDF2.
12866 Password hashes will automatically be updated as users log in. If necessary,
12867 the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'.
12868 In addition, there is a maintenance script wrapOldPassword.php that can wrap
12869 all passwords in PBKDF2 (or the hashing algorithm of your choice) if you don't
12870 want to wait for your users to log in.
12871 * $wgImportSources can now either be a regular array, or an associative map
12872 specifying subprojects on the interwiki map of the target wiki, or a mix of
12873 the two. Existing configurations will still work.
12874 * Users must be able to edit through a page's protection to be able to delete
12876 * The default thumb size ($wgDefaultUserOptions['thumbsize']) is now 300px, up
12877 from 180px. If you have altered the number of entries in $wgThumbLimits for
12878 your wiki, you may need to adjust your default user settings to compensate for
12880 * $wgDeferredUpdateList is now deprecated, you should use
12881 DeferredUpdates::addUpdate() instead.
12882 * $wgCanonicalLanguageLinks has been removed. Per Google recommendations, we
12883 will not send a rel=canonical pointing to a variant-neutral page, however
12884 we will send rel=alternate.
12885 * $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the
12887 * $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar
12890 === New features in 1.24 ===
12891 * Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
12892 manipulate the list of pages and/or preload lots of data at once.
12893 * Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the
12894 link to the title to be changed.
12895 * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
12896 WhatLinksHere entries.
12897 * Added a new hook, "ContentGetParserOutput", to customize parser output for
12898 a given content object.
12899 * Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead.
12900 * HTMLForm's HTMLTextField now supports the 'url' type.
12901 * HTMLForm fields may now be dynamically hidden based on the values of other
12902 fields in the form.
12903 * HTMLForm now supports multiple copies of an input field or set of input
12904 fields, e.g. the form may request "one or more usernames" without having to
12905 have the user enter delimited list of names into a text field.
12906 * Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of
12907 the sidebar just before its display.
12908 * (bug 49156) Added the mediawiki.cookie ResourceLoader module, which wraps
12909 jquery.cookie so that getting/setting a cookie is syntactically and
12910 functionally similar to using the WebRequest::getCookie() and
12911 WebResponse::setcookie() methods.
12912 * (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1. A new configuration option,
12913 $wgIncludejQueryMigrate, also loads the jQuery Migrate hack to let extensions
12914 and gadgets use the long-deprecated functions that were removed in jQuery 1.9.
12915 This option is turned off by default, and will be removed in MediaWiki 1.25.
12916 * (bug 47076) jQuery UI upgraded from 1.8.24 to 1.9.2.
12917 * Changes to content typography (fonts, etc.). See
12918 https://www.mediawiki.org/wiki/Typography_refresh for further information.
12919 * WikitextContent will now render redirects with the expected "redirect"
12920 header, rather than as an ordered list. Code calling Article::viewRedirect
12921 can probably be changed to no longer special-case redirects.
12922 * Header font set to a serif font stack. See
12923 https://www.mediawiki.org/wiki/Typography_refresh for further information.
12924 * (bug 65567) Added a new hook, "BeforeHttpsRedirect", to allow cancellation of
12925 the HTTP to HTTPS redirect due to forceHTTPS cookie, userRequires, etc. This
12926 is only for page views, since this hook doesn't affect UserLogin, OAuth,
12927 CentralAuth, etc. ATTENTION: This hook is likely to be removed soon due to
12928 overall design of the system.
12929 * (bug 17367) It is now possible to add pages to your watchlist from
12930 Special:UnwatchedPages without reloading the special page.
12931 * New methods setVolatile and isVolatile are added to PPFrame, so that
12932 extensions such as Cite.php can mark that their output is volatile and
12933 shouldn't be cached.
12934 * (bug 52817) Advanced search options are now saved on the search page itself,
12935 rather than in a dedicated pane in the preferences panel.
12936 * (bug 44591) The dropdown actions menu (little triangle next to page tabs) in
12937 the Vector skin has gained a label that should make it more discoverable.
12938 * MWCryptHKDF added for fast, cryptographically secure random number generation
12939 that won't deplete openssl's entropy pool.
12940 * ResourceLoader: File modules can now provide a skip function that uses an
12941 inline feature test to bypass loading of the module.
12942 * (bug 20210) Special pages may now provide autocompletion of their subpage
12943 names in search suggestions. Right now the only useful implementation is in
12944 Special:Log, but more are to come.
12945 * Special:MostLinkedTemplates is no longer limited to transclusions from the
12946 Template namespace.
12947 * Skins can now use 'remoteSkinPath' when defining ResourceLoader modules.
12948 This works the same as 'remoteExtPath' but is relative to the skins/ folder
12949 instead of the extensions/ folder.
12950 * Added the json2.js polyfill for the ES5 JSON.stringify and JSON.parse methods.
12951 Exposed as module "json" with a skip function to optimise loading.
12952 * Extensions and skins may now use 'namemsg' in $wgExtensionCredits in addition
12953 to 'name', to allow for the name to be localizable. 'name' should still be
12954 specified for backwards-compatibility and to define the path Special:Version
12955 uses to find extension license information.
12956 * Browser tests are now included to verify basic wiki functionality in developer
12957 environments. For details on running tests, see
12958 tests/browser/README.mediawiki.
12959 * Upgrade jStorage to v0.4.10.
12960 * {{!}} is now a magic word that produces the | character. This removes the need
12961 for Template:! for purposes such as passing pipes inside of parameters.
12962 * (bug 20790) The block log snippet on Special:Contributions and while
12963 editing user and user talk pages now works for IP range blocks.
12964 * (bug 9360) Added ability to change the page language for MediaWiki pages using
12965 Special:PageLanguage. All pages are set to wiki language by default.
12966 The feature needs to be enabled with $wgPageLanguageUseDB=true and
12967 permission needs to be set for 'pagelang'.
12968 * Upgrade Moment.js to v2.8.3.
12969 * (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
12970 * Upgrade Sinon.JS to 1.10.3.
12971 * Added the es5-shim polyfill for older or non-compliant javascript engines.
12972 * Upgrade jQuery Cookie to v1.3.1.
12973 * (bug 20476) Add a "viewsuppressed" user right to be able to view
12974 suppressed content but not suppress it ("suppressrevision" right).
12975 * (bug 66440) The MediaWiki web installer will now allow you to choose the skins
12976 to enable (from the ones included in download tarball) and decide which one
12977 should be the default.
12978 * (bug 68085, 68802) Links like [[localInterwikiPrefix:languageCode:pageTitle]],
12979 where localInterwikiPrefix is a member of the $wgLocalInterwikis array, will
12980 no longer be displayed in the sidebar when $wgInterwikiMagic is true. In a
12981 similar way, links like [[localInterwikiPrefix:File:Image.png]] and
12982 [[localInterwikiPrefix:Category:Hello]] will now render as regular links, and
12983 will not include the file or add the page to the category.
12984 * New special page, MyLanguage, to redirect users to subpages with localised
12985 versions of a page. (Integrated from Extension:Translate)
12986 * MediaWiki now supports multiple password types, including bcrypt and PBKDF2.
12987 The default type can be changed with $wgPasswordDefault and the type
12988 configurations can be changed with $wgPasswordConfig.
12989 * Skins can now define custom styles for default ResourceLoader modules using
12990 the $wgResourceModuleSkinStyles global. See the Vector skin for examples.
12991 * (bug 4488) There is now a preference to watch pages where the user has
12992 rollbacked an edit by default.
12993 * (bug 15484) Users will now be redirected to the login page when they need to
12994 log in, rather than being shown a page asking them to log in and having to
12995 click another link to actually get to the login page.
12996 * A JsonContent and JsonContentHandler were added for extensions to extend.
12997 * (bug 35045) Redirects to sections will now update the URL in browser's address
12998 bar using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]],
12999 the user will now see "Animals#Dog" in their browser instead of "Dog#Dog".
13000 * API token handling has been rewritten. Any API module using tokens will need
13001 to be updated. See the entry below under "Action API internal changes".
13002 * Added HTMLAutoCompleteSelectField.
13003 * Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to
13004 link existence cache before the page is rendered.
13005 * Config::set() was moved to its own interface, MutableConfig.
13006 GlobalVarConfig::set() is now deprecated, does not implement MutableConfig.
13007 * A MutableConfig named HashConfig was added, that stores an array of
13008 configuration settings.
13009 * (bug 69418) A MultiConfig implementation was added that supports fallback
13010 to multiple Config instances.
13011 * Update CSSJanus to v1.1.0.
13012 * Added FormatJson::parse() returning status with result or localized error
13014 * Added DeletedContribsPager::reallyDoQuery hook allowing extensions to data to
13015 Special:DeletedContributions
13016 * Added DeletedContributionsLineEnding hook allowing extensions to format
13017 Special:DeletedContributions lines
13018 * (T69525) You can now make MediaWiki speed up its thumbnail rendering by using
13019 intermediary thumbnails. $wgThumbnailBuckets must be set to a list of target
13020 thumbnail widths; when a new thumbnail needs to be rendered, MediaWiki will
13021 find the smallest bucket smaller than the original but larger than the target
13022 width + $wgThumbnailMinimumBucketDistance, and it will scale that thumbnail,
13023 rather than the original, down to the target size at greater speed in return
13024 for minor loss of fidelity.
13026 === Bug fixes in 1.24 ===
13027 * (bug 50572) MediaWiki:Blockip should support gender
13028 * (bug 49116) Footer copyright notice is now always displayed in user language
13029 rather than content language (same as copyright notice for editing interface).
13030 * (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
13031 restriction was present in the parameters. Images with both the "frame"
13032 option and a size specification set will now always ignore the provided
13033 size and display an unscaled image, as the documentation has always
13035 * (bug 39035) Improved Vector skin performance by removing collapsibleNav,
13036 which used to collapse some sidebar elements by default.
13037 This removes -list id suffixes like p-lang-list: instead of using things like
13038 #p-lang-list, you can do #p-lang .body ul.
13039 * (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
13040 follow redirects to their target pages.
13041 * Parser now dies early if called recursively, instead of producing subtle bugs.
13042 * (bug 14323) Redirect pages, when viewed with redirect=no, no longer hide the
13043 remaining page content.
13044 * (bug 52587) Maintenance script deleteBatch.php no longer follows redirects
13045 in the file namespace and delete the file on the target page. It will still
13046 however delete the redirect page.
13047 * (bug 22683) {{msgnw:}} and other uses of PPFrame::RECOVER_ORIG will correctly
13048 recover the original code of extension tags.
13049 * (bug 65757) MSSQL: Update script drops unnamed constraints to be prepared
13050 for future updates. Because it's doing so heuristically, it may fail or drop
13052 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
13053 * $wgRunJobsAsync now works with private wikis (e.g. read requires login).
13054 * (bugs 57238, 65206) Blank pages can now be directly created.
13055 * (bug 69789) Title::getContentModel() now loads from the database when
13056 necessary instead of incorrectly returning the default content model.
13057 * (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP.
13058 * (bug 57909) URLs in the externallinks table will no longer have certain
13059 characters decoded in the query string.
13060 * (bug 67368) LESS mixins like .background-image() correctly flip image
13061 references for RTL stylesheets now.
13063 === Action API changes in 1.24 ===
13064 * action=parse API now supports prop=modules, which provides the list of
13065 ResourceLoader modules that should be used to enhance the parsed content.
13066 * action=query&meta=siteinfo&siprop=interwikimap returns a new "protorel"
13067 field which is true if protocol-relative urls can be used to access
13068 a particular interwiki map entry.
13069 * list=logevents now provides logpage, which is the page ID from the
13070 logging table, if ids are requested and the user has the permissions.
13071 * action=edit now requires that appendtext, prependtext, or section=new be used
13072 when using the 'redirect' parameter, to prevent clients accidentally
13073 overwriting the target page with the content of the redirect.
13074 * list=logevents will now return an error if both letitle and leprefix are
13076 * list=logevents has a new parameter, lenamespace, to allow filtering by
13078 * action=expandtemplates has a new parameter, prop, and a new output format.
13079 The old format is still used if prop isn't provided, but this is deprecated.
13080 * meta=userinfo can now return the count of unread pages on the watchlist.
13081 * list=watchlist can now filter by unread status.
13082 * The deprecated action=parse&prop=languageshtml has been removed.
13083 * (bug 48071) action=setnotificationtimestamp no longer throws PHP or database
13084 errors when no pages are given.
13085 * (bug 60734) Actions that use ApiPageSet (e.g. purge, watch,
13086 setnotificationtimestamp) will now include continuation information when
13088 * Removed 'props' and 'errors' from action=paraminfo, as they have extremely
13089 limited use and are generally inaccurate, unmaintained, and impossible to
13091 * Formats dbg, dump, txt, wddx, and yaml are now deprecated.
13092 * action=paraminfo now indicates when a parameter is specifying a submodule.
13093 * The iwurl parameter to prop=iwlinks is deprecated in favor of iwprop=url, for
13094 parallelism with prop=langlinks.
13095 * All tokens should be fetched from action=query&meta=tokens; all other methods
13096 of fetching tokens are deprecated. The value needed for meta=tokens's 'type'
13097 parameter for each module is documented in the action=help output and is
13098 returned from action=paraminfo.
13099 * New action ClearHasMsg that can be used to clear HasMsg flag.
13100 * The cmstartsortkey and cmendsortkey parameters to list=categorymembers are
13101 deprecated in favor of cmstarthexsortkey and cmendhexsortkey.
13102 * (bug 63326) Add blockedtimestamp field to output of blockinfo property for
13103 the list=allusers and list=users modules.
13104 * prop=imageinfo no longer requires iiurlwidth to be set when using iiurlparam.
13105 * Added prop=linkshere, prop=fileusage, and prop=transcludedin, which are
13106 roughly equivalent to list=backlinks, list=imageusage, and list=embeddedin
13107 but can work on a list of titles (including titles from a generator).
13108 * prop=redirects can now filter returned redirects by namespace.
13110 === Action API internal changes in 1.24 ===
13111 * Methods for handling continuation are added to ApiResult, so actions other
13112 than query that use generators can easily support continuation.
13113 * $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules,
13114 $wgAPIPropModules, and $wgAPIListModules settings) now allow API modules
13115 to be specified using a "module spec" array instead of a plain class name.
13116 A "module spec" is an associative array containing at least the 'class' key
13117 for the module's class, and optionally a 'factory' key for the factory
13118 function to use for the module. This is intended for extensions that want
13119 control over the instantiation of their API modules, to allow for proper
13120 dependency injection.
13121 * A new param type 'submodule' is available. Parameters of this type will take
13122 the list of valid values from the module's ApiModuleManager for the group
13123 corresponding to the parameter name.
13124 * The 'APIGetPossibleErrors' and 'APIGetResultProperties' hooks are no longer
13126 * API token handling has been rewritten. Any API module using tokens will need
13128 * ApiBase::needsToken now returns a token type instead of boolean true when a
13129 token is needed. Returning true will throw an exception. See documentation
13130 of that method for details.
13131 * Information for the 'token' parameter is automatically set by ApiBase
13132 getFinalParams and getFinalParamDescription.
13133 * ApiBase::getTokenSalt has been removed.
13134 * The hooks APIQueryInfoTokens, APIQueryRevisionsTokens,
13135 APIQueryRecentChangesTokens, APIQueryUsersTokens, and
13136 ApiTokensGetTokenTypes are deprecated, but are still called to support
13137 backwards-compatible token access.
13138 * ApiBase::validateLimit and ApiBase::validateTimestamp are now protected.
13139 * ApiQueryRedirects was removed; prop=redirects is now implemented by
13140 ApiQueryBacklinksProp along with the newly-added prop modules.
13141 * The following methods have been deprecated and may be removed in a future
13143 * ApiBase::getResultProperties
13144 * ApiBase::getFinalResultProperties
13145 * ApiBase::addTokenProperties
13146 * ApiBase::getRequireOnlyOneParameterErrorMessages
13147 * ApiBase::getRequireMaxOneParameterErrorMessages
13148 * ApiBase::getRequireAtLeastOneParameterErrorMessages
13149 * ApiBase::getTitleOrPageIdErrorMessage
13150 * ApiBase::getPossibleErrors
13151 * ApiBase::getFinalPossibleErrors
13152 * ApiBase::parseErrors
13153 * ApiQuery::setGeneratorContinue
13154 * ApiQueryBase::checkRowCount
13155 * ApiQueryBase::titleToKey
13156 * ApiQueryBase::keyToTitle
13157 * ApiQueryBase::keyPartToTitle
13158 * ApiQueryInfo::getTokenFunctions
13159 * ApiQueryInfo::resetTokenCache
13160 * ApiQueryInfo::getEditToken
13161 * ApiQueryInfo::getDeleteToken
13162 * ApiQueryInfo::getProtectToken
13163 * ApiQueryInfo::getMoveToken
13164 * ApiQueryInfo::getBlockToken
13165 * ApiQueryInfo::getUnblockToken
13166 * ApiQueryInfo::getEmailToken
13167 * ApiQueryInfo::getImportToken
13168 * ApiQueryInfo::getWatchToken
13169 * ApiQueryInfo::getOptionsToken
13170 * ApiQueryRecentChanges::getTokenFunctions
13171 * ApiQueryRecentChanges::getPatrolToken
13172 * ApiQueryRevisions::getTokenFunctions
13173 * ApiQueryRevisions::getRollbackToken
13174 * ApiQueryUsers::getTokenFunctions
13175 * ApiQueryUsers::getUserrightsToken
13176 * The following classes have been deprecated and may be removed in a future
13184 * The following class constants have been deprecated and may be removed in a
13186 * ApiBase::PROP_ROOT
13187 * ApiBase::PROP_LIST
13188 * ApiBase::PROP_TYPE
13189 * ApiBase::PROP_NULLABLE
13191 === Languages updated in 1.24 ===
13193 MediaWiki supports over 350 languages. Many localisations are updated
13194 regularly. Below only new and removed languages are listed, as well as
13195 changes to languages because of Bugzilla reports.
13197 === Other changes in 1.24 ===
13198 * The deprecated jquery.delayedBind ResourceLoader module was removed.
13199 * The deprecated function mw.util.toggleToc was removed.
13200 * The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend
13201 were removed as they were unused.
13202 * (bug 65477) User::pingLimiter() now has an additional profile point varying
13203 by action being used.
13204 * mediawiki.util.$content no longer supports old versions of the Vector,
13205 Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body"
13206 and/or "mw-body-primary" class name in their html.
13207 * Added pp_sortkey column to page_props table, so pages can be efficiently
13208 queried and sorted by property value (bug 58032).
13209 See $wgPagePropsHaveSortkey if you want to postpone the schema change.
13210 * BREAKING CHANGE: All four built-in MediaWiki skins (Vector, MonoBook, Modern
13211 and Cologne Blue) were moved out of MediaWiki core to their own respective
13212 repositories. They will be installed with the release tarball, but you must
13213 install them separately if installing MediaWiki from source code. A warning
13214 message displayed until you do it should guide you through the process. See
13215 also <https://www.mediawiki.org/wiki/Manual:Skin_configuration>.
13216 * BREAKING CHANGE: Skins built for MediaWiki 1.15 and earlier that do not use
13217 the "headelement" template key are no longer supported. Setting
13218 $useHeadElement = false; is no longer supported and will not cause old keys
13219 like "headlinks", "skinnameclass", etc. to be defined.
13220 * BREAKING CHANGE: The files commonElements.css, commonContent.css and
13221 commonInterface.css (in skins/common/) have been removed. Skins may no longer
13222 rely on their presence and include them in their style modules. ResourceLoader
13223 modules introduced in MediaWiki 1.23 should be loaded instead:
13224 - skins/common/commonElements.css → 'mediawiki.skinning.elements' module
13225 - skins/common/commonContent.css → 'mediawiki.skinning.content' module
13226 - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module
13227 * The deprecated 'SpecialVersionExtensionTypes' hook was removed.
13228 * (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages.
13229 * SpecialPage no longer supports the syntax for invoking wfSpecial*() functions.
13230 Special pages should subclass SpecialPage and implement the execute() method.
13231 * (bug 63755) The deprecated constants RC_MOVE and RC_MOVE_OVER_REDIRECT were
13233 * Special:MostLinkedTemplates has been renamed to Special:MostTranscludedPages.
13234 * The skin autodiscovery mechanism has been deprecated and will be removed in
13235 MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
13236 for migration guide for creators and users of custom skins that relied on it.
13237 * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all
13238 skin style files used by the module.
13239 * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19)
13240 * Removed setLang() from subclasses of IContextSource. (deprecated since 1.19)
13241 * Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20)
13242 * Removed info(), purge(), revert() and rollback() from the Article class; they
13243 have since become subclasses of the Action class. (deprecated since 1.19)
13244 * SearchEngineReplacePrefixesComplete hook was removed.
13245 * The "jquery.json" module has been deprecated. Use the "json" module instead.
13246 * Removed HTMLForm::addJS(). (deprecated since 1.18)
13247 * Removed LogEventsList::showHeader(). (deprecated since 1.19)
13248 * Removed ImageGalleryBase::useSkin(). (deprecated since 1.18)
13249 * Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19)
13250 * Removed LoadBalancer::closeConnecton(). (deprecated since 1.18)
13251 * Removed ApiBase::createContext(). (deprecated since 1.19)
13252 * BREAKING CHANGE: The undocumented Special{$this->getName()}BeforeFormDisplay
13253 set of hooks has been removed and replaced by a single new hook
13254 SpecialPageBeforeFormDisplay.
13255 * (bug 65781) Removed block warning on included {{Special:Contributions}}
13256 * Removed Skin::makeGlobalVariablesScript(). (deprecated since 1.19)
13257 * Removed MWNamespace::isMain(). (deprecated since 1.19)
13258 * Removed Preferences::loadOldSearchNs(). (deprecated since 1.19)
13259 * Removed OutputPage::getStatusMessage(). (deprecated since 1.18)
13260 * Removed OutputPage::isUserJsAllowed(). (deprecated since 1.18)
13261 * Removed Title::updateTitleProtection(). (deprecated since 1.19)
13262 * Removed ParserOptions::setSkin(). (deprecated since 1.19)
13263 * Removed Title::escapeCanonicalURL(). (deprecated since 1.19)
13264 * Removed Title::escapeLocalURL(). (deprecated since 1.19)
13265 * Removed Title::escapeFullURL(). (deprecated since 1.19)
13266 * Removed User::isValidEmailAddr(). (deprecated since 1.18)
13267 * Removed Title::getEscapedText(). (deprecated since 1.19)
13268 * Removed Language::getFallbackLanguageCode(). (deprecated since 1.19)
13269 * Removed WikiPage::isBigDeletion(). (deprecated since 1.19)
13270 * Removed MWInit class which contained functions related to a now discontinued
13271 PHP compiler called hphpc. (deprecated since 1.22)
13272 * ApiResult::enableSizeCheck() and disableSizeCheck() are now obsolete.
13273 * Removed ResourceLoaderGetStartupModules hook. (deprecated since 1.23)
13274 * Removed getFormFields(), onSubmit() and onSuccess() from FormlessAction, as
13275 these were meant specifically for FormAction instead.
13276 * Removed Action::execute().
13277 * Removed AjaxAddScript which has been obsolete since ResourceLoader and
13278 is unused by any modern extension.
13279 * Removed maintenance/nextJobDB.php; no longer in use.
13280 * Removed global function wfViewPrevNext(). (deprecated since 1.19)
13281 * Removed global function xmlsafe() from Export.php. (moved to OAIRepo
13283 * Removed Title::userCanRead(). (deprecated since 1.19)
13284 * Removed maintenance script importTextFile.php. Use edit.php script instead.
13285 * A _from_namespace field has been added to the templatelinks, pagelinks,
13286 and filelinks tables. Run update.php to apply this change to the schema.
13287 * Removed File::sha1Base36(). (deprecated since 1.19)
13288 * Removed File::getPropsFromPath(). (deprecated since 1.19)
13289 * Removed functions blockedPage(), noCreatePermission(), readOnlyPage() and
13290 userNotLoggedInPage() from EditPage.php. (deprecated since 1.19)
13291 * Removed functions getContent(), getPreloadedText(), mergeChangesInto() and
13292 setPreloadedText() from EditPage.php. (deprecated since 1.21)
13293 * Removed global functions wfArrayLookup(), wfArrayMerge(),
13294 wfDebugDieBacktrace() and wfTime(). (deprecated since 1.22)
13295 * Browser support for Internet Explorer 6 and 7 lowered from Grade A to Grade C,
13296 meaning that JavaScript is no longer executed in these browser versions.
13297 * Browser support for Opera 11 lowered from Grade A to Grade C.
13298 * Removed IEFixes module which existed purely to provide support for MSIE
13299 versions below 7 (conditionally loaded only for those browsers).
13300 * Deprecated SpecialPageFactory::getList() in favor of
13301 SpecialPageFactory::getNames()
13302 * Action::checkCanExecute() no longer has a return value.
13303 * Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP()
13304 and sendToUDP() from RecentChange.php. (deprecated since 1.22)
13305 * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow().
13306 * Removed Xml::namespaceSelector(). (deprecated since 1.19)
13307 * Removed WikiPage::estimateRevisionCount(). (deprecated since 1.19)
13308 * MYSQL: Enum item added to "major MIME type" columns.
13309 Running update.php on MySQL < v5.1 may result in heavy processing.
13310 * RSS and Atom feeds generated by MediaWiki no longer include a fallback
13311 stylesheet. It was ignored by most browsers these days anyway.
13312 * SpecialSearchNoResults hook has been removed. SpecialSearchResults is now
13313 called unconditionally.
13314 * TablePager::getBody() is now 'final' and can't be overridden in subclasses.
13315 * TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
13316 * Added $outputPage parameter to the SkinTemplateGetLanguageLink hook.
13317 * log_page for move log entries store the original page ID, rather than that
13318 of the new redirect page. This is not retroactive.
13319 * LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to
13320 use this store class.
13321 * Html::infoBox() no longer accepts paths relative to skins/common/images/.
13322 * Deprecated defunct Skin::getCommonStylePath().
13323 * Some extensions had their ResourceLoader modules depend on the "mediawiki"
13324 and "jquery" modules. In the past, this behavior was undefined, now it will
13326 * Removed BagOStuff::replace(). (deprecated since 1.23)
13327 * In Linker.php, link(), linkText() and makeBrokenImageLinkObj() now display
13328 warnings if their first parameter is not a Title object. Also makeImageLink()
13329 now requires a Parser as its first parameter.
13330 * (bug 67368) LESS functions embed() and embeddable(), added in MediaWiki 1.23
13331 and broken by design, have been removed. Use appropriate LESS mixins instead.
13332 * Removed cssjanus.py from maintenance directory as it was unused.
13333 * Removed maintenance/purgeOldText.inc and the PurgeRedundantText() function
13334 it contained (superseded by Maintenance::purgeRedundantText() in 1.16).
13335 The purgeOldText.php maintenance script has been retained.
13336 * PHPUnit tests can be found by directory discovery, by adding the directory
13337 path from your UnitTestsList callback. Older versions of MediaWiki core will
13338 barf at this usage.
13340 ==== Renamed classes ====
13341 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
13342 * CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment
13343 * CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator
13344 * CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange
13345 * CSSJanus_Tokenizer to CSSJanusTokenizer
13346 * MediaWiki_I18N to MediaWikiI18N
13347 * Parser_DiffTest to ParserDiffTest
13348 * RevDel_ArchiveItem to RevDelArchiveItem
13349 * RevDel_ArchiveList to RevDelArchiveList
13350 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
13351 * RevDel_ArchivedFileList to RevDelArchivedFileList
13352 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
13353 * RevDel_FileItem to RevDelFileItem
13354 * RevDel_FileList to RevDelFileList
13355 * RevDel_Item to RevDelItem
13356 * RevDel_List to RevDelList
13357 * RevDel_LogItem to RevDelLogItem
13358 * RevDel_LogList to RevDelLogList
13359 * RevDel_RevisionItem to RevDelRevisionItem
13360 * RevDel_RevisionList to RevDelRevisionList
13361 * WebInstaller_Complete to WebInstallerComplete
13362 * WebInstaller_Copying to WebInstallerCopying
13363 * WebInstaller_DBConnect to WebInstallerDBConnect
13364 * WebInstaller_DBSettings to WebInstallerDBSettings
13365 * WebInstaller_Document to WebInstallerDocument
13366 * WebInstaller_ExistingWiki to WebInstallerExistingWiki
13367 * WebInstaller_Install to WebInstallerInstall
13368 * WebInstaller_Language to WebInstallerLanguage
13369 * WebInstaller_Name to WebInstallerName
13370 * WebInstaller_Options to WebInstallerOptions
13371 * WebInstaller_Readme to WebInstallerReadme
13372 * WebInstaller_ReleaseNotes to WebInstallerReleaseNotes
13373 * WebInstaller_Restart to WebInstallerRestart
13374 * WebInstaller_Upgrade to WebInstallerUpgrade
13375 * WebInstaller_UpgradeDoc to WebInstallerUpgradeDoc
13376 * WebInstaller_Welcome to WebInstallerWelcome
13378 ==== Removed classes ====
13379 * IPBlockForm - Use SpecialBlock directly
13380 * WatchlistEditor - Use SpecialEditWatchlist directly
13381 * FormatExif - Use FormatMetadata directly
13382 * RevertFileAction - Use RevertAction directly
13383 * HistoryPage - Use HistoryAction directly
13384 * RawPage - Use RawAction directly
13385 * StubContLang - Use Language::factory() instead
13386 * XMLReader2 - Use XMLReader directly
13387 * ResourceLoaderLESSFunctions - No longer in use, not intended for public usage
13389 ==== Removed files ====
13390 The skins/common/ directory, previously containing some assets intended to be
13391 used by skins and a number of legacy styles and scripts, has been removed. Its
13392 contents have been deleted or relocated into the resources/ directory. Full list
13393 of files that are no longer available follows.
13395 * skins/common/ajax.js
13396 * skins/common/commonContent.css
13397 * skins/common/commonElements.css
13398 * skins/common/commonInterface.css
13399 * skins/common/commonPrint.css
13400 * skins/common/config-cc.css
13401 * skins/common/config.css
13402 * skins/common/config.js
13403 * skins/common/feed.css
13404 * skins/common/IEFixes.js
13405 * skins/common/oldshared.css
13406 * skins/common/protect.js
13407 * skins/common/shared.css
13408 * skins/common/upload.js
13409 * skins/common/wikibits.js
13410 * skins/common/images/add.png
13411 * skins/common/images/ajax-loader.gif
13412 * skins/common/images/arrow_disabled_first_25.png
13413 * skins/common/images/arrow_disabled_last_25.png
13414 * skins/common/images/arrow_disabled_left_25.png
13415 * skins/common/images/arrow_disabled_right_25.png
13416 * skins/common/images/arrow_first_25.png
13417 * skins/common/images/arrow_last_25.png
13418 * skins/common/images/arrow_left_25.png
13419 * skins/common/images/arrow_right_25.png
13420 * skins/common/images/Arr_.png
13421 * skins/common/images/Arr_d.png
13422 * skins/common/images/Arr_l.png
13423 * skins/common/images/Arr_r.png
13424 * skins/common/images/Arr_u.png
13425 * skins/common/images/bullet.gif
13426 * skins/common/images/button_bold.png
13427 * skins/common/images/button_extlink.png
13428 * skins/common/images/button_headline.png
13429 * skins/common/images/button_hr.png
13430 * skins/common/images/button_image.png
13431 * skins/common/images/button_italic.png
13432 * skins/common/images/button_link.png
13433 * skins/common/images/button_media.png
13434 * skins/common/images/button_nowiki.png
13435 * skins/common/images/button_sig.png
13436 * skins/common/images/button_template.png
13437 * skins/common/images/cc-0.png
13438 * skins/common/images/cc-by-nc-sa.png
13439 * skins/common/images/cc-by-sa.png
13440 * skins/common/images/cc-by.png
13441 * skins/common/images/Checker-16x16.png
13442 * skins/common/images/closewindow.png
13443 * skins/common/images/closewindow19x19.png
13444 * skins/common/images/critical-32.png
13445 * skins/common/images/diffunderline.gif
13446 * skins/common/images/download-32.png
13447 * skins/common/images/feed-icon.png
13448 * skins/common/images/feed-icon.svg
13449 * skins/common/images/gnu-fdl.png
13450 * skins/common/images/help-question-hover.gif
13451 * skins/common/images/help-question.gif
13452 * skins/common/images/info-32.png
13453 * skins/common/images/link_icon.gif
13454 * skins/common/images/magnify-clip-rtl.png
13455 * skins/common/images/magnify-clip.png
13456 * skins/common/images/mediawiki.png
13457 * skins/common/images/nextredirectltr.png
13458 * skins/common/images/nextredirectrtl.png
13459 * skins/common/images/poweredby_mediawiki_88x31.png
13460 * skins/common/images/public-domain.png
13461 * skins/common/images/question-small.png
13462 * skins/common/images/question.svg
13463 * skins/common/images/redirectltr.png
13464 * skins/common/images/redirectrtl.png
13465 * skins/common/images/remove.png
13466 * skins/common/images/spinner.gif
13467 * skins/common/images/tick-32.png
13468 * skins/common/images/tipsy-arrow.gif
13469 * skins/common/images/tooltip_icon.png
13470 * skins/common/images/warning-32.png
13471 * skins/common/images/wiki.png
13472 * skins/common/images/Zoom_sans.gif
13473 * skins/common/images/ar/button_bold.png
13474 * skins/common/images/ar/button_headline.png
13475 * skins/common/images/ar/button_italic.png
13476 * skins/common/images/ar/button_link.png
13477 * skins/common/images/ar/button_nowiki.png
13478 * skins/common/images/be-tarask/button_bold.png
13479 * skins/common/images/be-tarask/button_italic.png
13480 * skins/common/images/be-tarask/button_link.png
13481 * skins/common/images/cyrl/button_bold.png
13482 * skins/common/images/cyrl/button_italic.png
13483 * skins/common/images/cyrl/button_link.png
13484 * skins/common/images/de/button_bold.png
13485 * skins/common/images/de/button_italic.png
13486 * skins/common/images/fa/button_bold.png
13487 * skins/common/images/fa/button_headline.png
13488 * skins/common/images/fa/button_italic.png
13489 * skins/common/images/fa/button_link.png
13490 * skins/common/images/fa/button_nowiki.png
13491 * skins/common/images/icons/fileicon-c.png
13492 * skins/common/images/icons/fileicon-cpp.png
13493 * skins/common/images/icons/fileicon-deb.png
13494 * skins/common/images/icons/fileicon-djvu.png
13495 * skins/common/images/icons/fileicon-djvu.xcf
13496 * skins/common/images/icons/fileicon-dvi.png
13497 * skins/common/images/icons/fileicon-exe.png
13498 * skins/common/images/icons/fileicon-h.png
13499 * skins/common/images/icons/fileicon-html.png
13500 * skins/common/images/icons/fileicon-iso.png
13501 * skins/common/images/icons/fileicon-java.png
13502 * skins/common/images/icons/fileicon-mid.png
13503 * skins/common/images/icons/fileicon-mov.png
13504 * skins/common/images/icons/fileicon-o.png
13505 * skins/common/images/icons/fileicon-ogg.png
13506 * skins/common/images/icons/fileicon-ogg.xcf
13507 * skins/common/images/icons/fileicon-pdf.png
13508 * skins/common/images/icons/fileicon-ps.png
13509 * skins/common/images/icons/fileicon-psd.png
13510 * skins/common/images/icons/fileicon-rm.png
13511 * skins/common/images/icons/fileicon-rpm.png
13512 * skins/common/images/icons/fileicon-svg.png
13513 * skins/common/images/icons/fileicon-tar.png
13514 * skins/common/images/icons/fileicon-tex.png
13515 * skins/common/images/icons/fileicon-ttf.png
13516 * skins/common/images/icons/fileicon-txt.png
13517 * skins/common/images/icons/fileicon.png
13518 * skins/common/images/ksh/button_S_italic.png
13522 == MediaWiki 1.23.17 ==
13524 === Changes since 1.23.16 === <!--T:69-->
13525 * Fix syntax errors introduced in 1.23.16 when running PHP 5.3.
13527 == MediaWiki 1.23.16 ==
13528 This is a security and maintenance release of the MediaWiki 1.23 branch.
13530 === Changes since 1.23.15 ===
13531 * (T68404) CSS3 attr() function with url type is no longer allowed
13533 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
13534 * Submitting the lgtoken and lgpassword parameters in the query string to
13535 action=login is now deprecated and outputs a warning. They should be submitted
13536 in the POST body instead.
13537 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
13538 redirect to interwiki links.
13539 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
13540 $wgAdvancedSearchHighlighting is true.
13541 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
13542 their values out of the logs.
13543 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
13545 * (T156184) SECURITY: Escape content model/format url parameter in message.
13546 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
13548 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
13549 inclusion syntax's link parameter.
13550 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
13553 == MediaWiki 1.23.15 ==
13555 This is a maintenance release of the MediaWiki 1.23 branch.
13557 === Changes since 1.23.14 ===
13558 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
13559 made by MediaWiki via a proxy. Relying on the http_proxy environment
13560 variable is no longer supported.
13561 * (T139565) SECURITY: API: Generate head items in the context of the given title
13562 * (T137264) SECURITY: XSS in unclosed internal links
13563 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
13564 * (T133147) SECURITY: Require login to preview user CSS pages
13565 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
13567 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
13569 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
13570 * (T115333) SECURITY: Check read permission when loading page content in
13572 * Remove support for $wgWellFormedXml = false, all output is now well formed
13574 == MediaWiki 1.23.13 ==
13576 This is a maintenance release of the MediaWiki 1.23 branch.
13578 === Changes since 1.23.12 ===
13579 * (T121892) Fix fatal errors on some Special pages, introduced in 1.23.12.
13581 == MediaWiki 1.23.12 ==
13583 This is a security and maintenance release of the MediaWiki 1.23 branch.
13585 === Changes since 1.23.11 ===
13586 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
13587 that do not begin with a slash. This enabled trivial XSS attacks.
13588 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
13589 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
13591 * (T119309) SECURITY: Use hash_compare() for edit token comparison
13592 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
13593 with '@' as file uploads
13594 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
13595 longer be shorter than $wgMinimalPasswordLength
13596 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
13597 result in improper blocks being issued
13598 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
13599 and related pages no longer use HTTP redirects and are now redirected by
13602 == MediaWiki 1.23.11 ==
13604 This is a security and maintenance release of the MediaWiki 1.23 branch.
13606 === Changes since 1.23.10 ===
13608 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
13609 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
13610 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
13612 == MediaWiki 1.23.10 ==
13614 This is a security and maintenance release of the MediaWiki 1.23 branch.
13616 === Changes since 1.23.9 ===
13618 * (T94116) SECURITY: Compare API watchlist token in constant time
13619 * (T97391) SECURITY: Escape error message strings in thumb.php
13620 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
13621 Special:DeletedContributions
13622 * (bug 67644) Make AutoLoaderTest handle namespaces
13623 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
13624 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
13625 policy of Wikimedia Commons.
13627 == MediaWiki 1.23.9 ==
13629 This is a security and maintenance release of the MediaWiki 1.23 branch.
13631 === Changes since 1.23.8 ===
13633 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
13634 to prevent various DoS attacks.
13635 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
13637 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
13638 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
13639 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
13640 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
13641 prevent XSS and protect viewer's privacy.
13642 * (bug T68650) Fix indexing of moved pages with PostgreSQL. Requires running
13644 * (bug T70087) Fix Special:ActiveUsers page for installations using
13647 == MediaWiki 1.23.8 ==
13649 This is a security and maintenance release of the MediaWiki 1.23 branch.
13651 === Changes since 1.23.7 ===
13653 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
13654 could lead to xss. Permission to edit MediaWiki namespace is required to
13656 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
13657 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
13659 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
13661 == MediaWiki 1.23.7 ==
13663 This is a security and maintenance release of the MediaWiki 1.23 branch.
13665 === Changes since 1.23.6 ===
13667 * (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code
13668 into API clients that used format=php to process pages that underwent flash
13669 policy mangling. This was fixed along with improving how the mangling was done
13670 for format=json, and allowing sites to disable the mangling using
13671 $wgMangleFlashPolicy.
13672 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
13673 the content model for a page could allow an unprivileged attacker to edit
13674 another user's common.js under certain circumstances. The user right
13675 "editcontentmodel" was added, and is needed to change a revision's content
13677 * (bug 71111) SECURITY: User PleaseStand reported that on wikis that allow raw
13678 HTML, it is not safe to preview wikitext coming from an untrusted source such
13679 as a cross-site request. Thus add an edit token to the form, and when raw HTML
13680 is allowed, ensure the token is provided before showing the preview. This
13681 check is not performed on wikis that both allow raw HTML and anonymous
13682 editing, since there are easier ways to exploit that scenario.
13683 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
13684 DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
13685 public RFC about the desired functionality. This issue was reported by user
13687 * (bug 71621) Make allowing site-wide styles on restricted special pages a
13689 * (bug 42723) Added updated version history from 1.19.2 to 1.22.13
13690 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
13691 might be a flash policy directive configurable.
13693 == MediaWiki 1.23.6 ==
13695 This is a maintenance release of the MediaWiki 1.23 branch.
13697 === Changes since 1.23.5 ===
13698 * (Bug 72274) Job queue not running (HTTP 411) due to missing
13699 Content-Length: header
13700 * (Bug 67440) Allow classes to be registered properly from installer
13702 == MediaWiki 1.23.5 ==
13704 This is a security release of the MediaWiki 1.23 branch.
13706 === Changes since 1.23.4 ===
13707 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
13710 == MediaWiki 1.23.4 ==
13712 This is a security and maintenance release of the MediaWiki 1.23 branch.
13714 === Changes since 1.23.3 ===
13716 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
13717 elements; normalize style elements and attributes before filtering; add
13718 checks for attributes that contain css; add unit tests for html5sec and
13720 * (bug 65998) Make MySQLi work with non-standard socket.
13721 * (bug 66986) GlobalVarConfig shouldn't throw exceptions for null-valued config
13724 == MediaWiki 1.23.3 ==
13726 This is a maintenance release of the MediaWiki 1.23 branch.
13728 === Changes since 1.23.2 ===
13730 * (bug 68501) Correctly handle incorrect namespace in cleanupTitles.php.
13731 * (bug 64970) Fix support for blobs on DatabaseOracle::update.
13732 * (bug 66574) Display MediaWiki:Loginprompt on the login page.
13733 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
13734 * (bug 60629) Handle invalid language code gracefully in
13735 Language::fetchLanguageNames.
13736 * (bug 62017) Restore the number of rows shown on Special:Watchlist.
13737 * Check for boolean false result from database query in SqlBagOStuff.
13739 == MediaWiki 1.23.2 ==
13741 This is a security and maintenance release of the MediaWiki 1.23 branch.
13743 === Changes since 1.23.1 ===
13745 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
13746 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
13747 for loading a new page in Javascript,instead of relying on the URL in the link
13748 that has been clicked.
13749 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
13751 * (bug 68313) Preferences: Turn stubthreshold back into a combo box.
13752 * (bug 65214) Fix initSiteStats.php maintenance script.
13753 * (bug 67594) Special:ActiveUsers: Fix to work with PostgreSQL.
13755 == MediaWiki 1.23.1 ==
13757 This is a security and maintenance release of the MediaWiki 1.23 branch.
13759 === Changes since 1.23.0 ===
13761 * (bug 65839) SECURITY: Prevent external resources in SVG files.
13762 * (bug 67025) Special:Watchlist: Don't try to render empty row.
13763 * (bug 66922) Don't allow some E_NOTICE messages to end up in the
13765 * (bug 66467) FileBackend: Avoid using popen() when "parallelize" is disabled.
13766 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects
13767 like only extracting the tail of the file partially or not at all.
13768 * (bug 66182) Removed -x flag on some php files.
13770 == MediaWiki 1.23.0 ==
13772 === Configuration changes in 1.23 ===
13773 * (bug 13250) Restored method for clearing a watchlist in web UI
13774 so that users with large watchlists don't have to perform
13775 contortions to clear them.
13776 * When $wgJobRunRate is higher than zero, jobs are now executed via an
13777 asynchronous HTTP request to a MediaWiki entry point. This may require
13778 increasing the number of server worker threads. $wgRunJobsAsync has been
13779 added to disable this feature if needed, falling back to executing the job
13780 on the same process but making the execution synchronously.
13781 * $wgDebugLogGroups values may be set to an associative array with a
13782 'destination' key specifying the log destination. The array may also contain
13783 a 'sample' key with a positive integer value N indicating that the log group
13784 should be sampled by dispatching one in every N messages on average. The
13785 sampling is random.
13786 * In addition to the current exception log format, MediaWiki now serializes
13787 exception metadata to JSON and logs it to the 'exception-json' log group.
13788 This makes MediaWiki easier to integrate with log aggregation and analysis
13790 * $wgSquidServersNoPurge now supports the use of Classless Inter-Domain
13791 Routing (CIDR) notation to specify contiguous blocks of IPv4 and/or IPv6
13792 addresses that should be trusted to provide X-Forwarded-For headers.
13793 * Preferences 'watchcreations', 'watchdefault', 'enotifwatchlistpages' ("Add
13794 pages I create and files I upload to my watchlist", "Add pages and files I
13795 edit to my watchlist", "Email me when a page or file on my watchlist is
13796 changed") are now enabled by default. In addition new user accounts' personal
13797 and talk pages are now watched by them by default.
13798 * $wgLBFactoryConf: Class names have had underscores removed. The configuration
13799 should be updated if LBFactory_Simple or LBFactory_Multi is configured.
13800 * $wgPasswordSenderName has been removed and is no longer functional. To set a
13801 custom mailer name, the system message 'emailsender' should be modified
13802 (default: "{{SITENAME}}").
13803 * (bug 63269) Email notifications were not correctly handling the
13804 [[MediaWiki:Helppage]] message being set to a full URL (the default).
13805 If you customized [[MediaWiki:Enotif body]] (the text of email notifications),
13806 you'll need to edit it locally to include the URL via the new variable
13807 $HELPPAGE instead of the parser functions fullurl and canonicalurl; otherwise
13808 you don't have to do anything.
13809 * $wgDBAhandler was removed as the only class using it was also removed
13810 * The 'max threads' setting was removed from $wgDBservers.
13811 * Support for AdminSettings.php has been completely removed. All configuration
13812 belongs in LocalSettings.php.
13813 * $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
13814 now formally deprecated.
13815 * Removed deprecated $wgDisabledActions as it is hardly used anywhere.
13816 * $wgRateLimitLog has been deprecated and replaced by
13817 $wgDebugLogGroup['ratelimit'].
13818 * $wgLocalInterwikis is an array containing multiple local interwiki prefixes
13819 (interwiki prefixes that point back to the current wiki). This effectively
13820 allows more than one value of $wgLocalInterwiki to be specified and
13821 understood by the parser. The value of $wgLocalInterwiki is automatically
13822 prepended to the start of this array.
13823 * $wgQueryPages has been removed. Query Pages should be added to by using the
13825 * $wgHttpOnlyBlacklist has been removed.
13826 * $wgLicenseTerms has been removed as it was unused.
13827 * $wgProfileOnly is now deprecated; set the log file in
13828 $wgDebugLogGroups['profileoutput'] to replace it.
13829 * $wgMaxBacklinksInvalidate was removed; use $wgJobBackoffThrottling instead
13830 * Deprecated ResourceLoaderGetStartupModules hook.
13832 === New features in 1.23 ===
13833 * ResourceLoader can utilize the Web Storage API to cache modules client-side.
13834 Compared to the browser cache, caching in Web Storage allows ResourceLoader
13835 to be more granular about evicting stale modules from the cache while
13836 retaining the ability to retrieve multiple modules in a single HTTP request.
13837 This capability can be enabled by setting $wgResourceLoaderStorageEnabled to
13838 true. This feature is currently considered experimental and should only be
13840 * (bug 6092) Add expensive parser functions {{REVISIONID:}}, {{REVISIONUSER:}}
13841 and {{REVISIONTIMESTAMP:}} (with friends).
13842 * Add "wgRelevantUserName" to mw.config containing the current
13843 Skin::getRelevantUser value.
13844 * (bug 56033) Add content model to the page information.
13845 * Added Article::MissingArticleConditions hook to give extensions a chance to
13846 hide their (unrelated) log entries.
13847 * Added LonelyPagesQuery hook to let extensions modify the query used to
13848 generate Special:LonelyPages.
13849 * Added $wgOpenSearchDefaultLimit defining the default number of entries to show
13850 on action=opensearch API call.
13851 * For namespaces with $wgNamespaceProtection (including the MediaWiki
13852 namespace), the "protect" tab will be shown only if there are restriction
13853 levels available that would restrict editing beyond what
13854 $wgNamespaceProtection already applies. The protection form will offer only
13855 those protection levels.
13856 * Added $wgAPIFormatModules, allowing extensions to add additional output
13857 formatting modules for the API.
13858 * (bug 47812) The MediaWiki:Group-user.{css,js} pages can now be used to add
13859 custom CSS or JavaScript enabled only for registered users.
13860 * (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist
13861 now include a legend describing the symbols used in lists of changes.
13862 * Improved the accessibility of the tabs in Special:Preferences.
13863 * Added ApiBeforeMain hook, roughly equivalent to the BeforeInitialize hook:
13864 it's called after everything is set up but before any major processing
13866 * The jquery.client module now performs a component-wise version comparison in
13867 its #test method when strings are used in the browser map: version '1.10' is
13868 now correctly considered larger than '1.2'. Using numbers in the version map
13870 * All API modules now support an assert parameter, which can either be
13871 'user' or 'bot'. The API will throw an error if the user is not logged
13872 in (user) or does not have the 'bot' userright (bot). Based off of the
13873 AssertEdit extension by Steve Sanbeg.
13874 * [[Special:Diff]] was added, allowing users to create internal links to
13875 revision comparison pages using syntax such as [[Special:Diff/12345]],
13876 [[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]].
13877 * New user accounts' personal and talk pages are now watched by them by default.
13878 * Added SkinTemplateGetLanguageLink hook to allow changing the html of language
13880 * Added MessageCache::get hook as a new way to customize messages across
13882 * Added jquery.throttle-debounce ResourceLoader module to limit the number of
13883 callbacks for frequently occurring events.
13884 * Special:ProtectedPages shows now a table. The timestamp, the reason and
13885 the protecting user are also shown.
13886 * Added experimental support for using Microsoft SQL Server as the database
13888 ** Added new Microsoft SQL Server-specific configuration variable
13889 $wgDBWindowsAuthentication, which makes the web server authenticate against
13890 the database server using Integrated Windows Authentication instead of
13891 $wgDBuser/$wgDBpassword.
13892 * HTMLForm 'select', 'selectandother', 'selectorother', 'multiselect', and
13893 'radio' fields can now use message keys as labels via the 'options-messages'
13894 parameter, which overrides the 'options' parameter.
13895 * Admins can expire users passwords manually, or on a schedule using the
13896 $wgPasswordExpirationDays configuration setting.
13897 * Add new hook SendWatchlistEmailNotification, this will be used to determine
13898 whether to send a watchlist email notification.
13899 * (bug 42026) Special:Contributions now includes an option to filter page
13900 creations, similar to the topOnly option.
13901 * Add mediawiki.ui.button styling to all pages so wiki content can use styled
13903 * Special:UserLogin/signup now does AJAX checks for invalid and taken usernames,
13904 displaying the error live.
13905 * Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in
13907 * Support has been added for a JSON based localisation file format. The
13908 installer has been updated to use it.
13909 * Changes to content typography (colors, line-height etc.). See
13910 https://www.mediawiki.org/wiki/Typography_refresh for further information.
13911 * The Vector skin's visual treatment of external links has been simplified to a
13912 single icon (from nine). This should not affect local rules unless they were
13913 re-using these icons, which have now been deleted.
13914 * ResourceLoader: mw.loader.using() now implements a Promise interface.
13915 * Add new hook ChangesListInitRows accessed via
13916 ChangesList::initChangesListRows.
13917 If called by the ChangesList consumer this gives extensions a chance to batch
13918 process the result set prior to rendering.
13919 * A PoolCounterRedis class was added which can be make use of in
13920 $wgPoolCounterConf. This requires at least one Redis 2.6+ server.
13921 * $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB
13922 in StartProfiler.php instead of using this.
13923 * (bug 63444) Made it possible to change the indent string (default: 4 spaces)
13924 used by FormatJson::encode().
13926 === Bug fixes in 1.23 ===
13927 * (bug 41759) The "updated since last visit" markers (on history pages, recent
13928 changes and watchlist) and the talk page message indicator are now correctly
13929 updated when the user is viewing old revisions of pages, instead of always
13930 acting as if the latest revision was being viewed.
13931 * (bug 56443) Special:ConfirmEmail no longer shows a "Mail a confirmation code"
13932 when the email address is already confirmed. Also, consistently use
13933 "confirmed", rather than "authenticated", when messaging whether or not the
13934 user has confirmed an email address.
13935 * (bug 19415) action=render no longer shows section edit links. This affects
13936 behavior of several other features where (bogus) section edit links will
13937 disappear, such as file description pages loaded via $wgUseInstantCommons or
13938 pages transcluded cross-wiki via $wgEnableScaryTranscluding.
13939 * (bug 56912) Show correct link color on cached result of Special:DeadendPages.
13940 * Classes TitleListDependency and TitleDependency have been removed, as they
13941 have been found unused in core and extensions for a long time.
13942 * (bug 57098) SpecialPasswordReset now obeys returnto parameter
13943 * (bug 37812) ResourceLoader will notice when a module's definition changes and
13944 recompile it accordingly.
13945 * (bug 57201) SpecialRecentChangesFilters hook is now executed for feeds.
13946 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages
13947 to appear blank or with missing text.
13948 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format
13949 which is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as
13950 the JavaScript evaluator were updated to support the new format. Plural rules
13951 for some languages have changed, most notably Russian. Affected software
13952 messages have been updated and marked for review at translatewiki.net.
13953 * (bug 23542) imagelinks now stores both the redirect and target (as
13954 templatelinks does).
13955 * (bug 58167) The web installer no longer throws an exception when PHP is
13956 compiled without support for MySQL yet with support for another DBMS.
13957 * (bug 56199) Raw option of parser functions must now match complete word,
13959 * (bug 60543) Special:PrefixIndex forgot stripprefix=1 for "Next page" link
13960 * (bug 29762) Undoing an already-undone edit will now display an appropriate
13961 message instead of leading the user to make a null edit.
13962 * (bug 52659) mediawiki.notification: Notification area remained visible when
13963 empty and thus was stealing pointer events from links on the page.
13964 * (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now
13965 hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace
13966 no longer applies in such cases.
13967 * (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause
13968 warnings to be printed on Windows due to large path length.
13969 * (bug 48084) Fixed a bug in the installer that could cause $wgLogo to hold
13970 the wrong path to the placeholder logo (skins/common/images/wiki.png).
13971 * (bug 64289) jquery.textSelection: Don't throw errors on empty collections.
13973 === Web API changes in 1.23 ===
13974 * (bug 54884) action=parse&prop=categories now indicates hidden and missing
13976 * action=query&meta=filerepoinfo now returns additional information for each
13978 * action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in
13980 * action=parse now has disabletoc flag to disable table of contents in output.
13981 * (bug 25702) list=allcategories, list=allimages, list=alllinks, list=allpages,
13982 list=deletedrevs and list=filearchive did not handle case-sensitivity
13983 properly for all parameters.
13984 * ApiQueryBase::titlePartToKey allows an extra parameter that indicates the
13985 namespace in order to properly capitalize the title part.
13986 * (bug 57874) action=feedcontributions no longer has one item more than limit.
13987 * All API modules now support an assert parameter. See the new features section
13989 * Added prop=contributors to fetch the list of contributors to the page.
13990 * The following API modules will now return entries where fields have been
13991 revision-deleted: list=deletedrevs, list=filearchive, list=recentchanges,
13992 list=watchlist. "hidden" indicators will be included, in the same style as is
13993 already done for prop=revisions.
13994 * The following API modules will now return the content of revision-deleted
13995 fields, in addition to the "hidden" indicators, if the querying user has the
13996 necessary rights: list=logevents, list=usercontribs, prop=imageinfo,
13998 * The above modules, where applicable, will now return entries filtered by
13999 revision-deleted fields if the querying user has the necessary rights. For
14000 example, prop=revisions with rvuser or rvexcludeuser will no longer skip
14001 revisions where the user was revision-deleted if the current user has the
14002 deletedhistory right.
14003 * The 'hideuser' right, used when blocking, is no longer necessary or
14004 sufficient for seeing contributions with revision-deleted in
14006 * list=watchlist now uses the querying user's rights rather than the wlowner's
14007 rights when checking whether wlprop=patrol is allowed.
14008 * (bug 32151) ApiWatch now has pageset capabilities (titles/pageids/generators).
14009 Title parameter is now deprecated.
14010 * (bug 23005) Added action=revisiondelete.
14011 * Added siprop=restrictions to API action=query&meta=siteinfo for querying
14012 possible page restriction (protection) levels and types.
14013 * Added prop 'limitreportdata' and 'limitreporthtml' to action=parse.
14014 * (bug 58627) Provide language names on action=parse&prop=langlinks.
14015 * Deprecated llurl= in favour of llprop=url for action=query&prop=langlinks.
14016 * Added llprop=langname and llprop=autonym for action=query&prop=langlinks.
14017 * prop=redirects is added, to return redirects to the pages in the query.
14018 * list=allredirects is added, to list all redirects pointing to a namespace.
14019 * (bug 42026) Added ucshow={new,!new,top,!top} to list=usercontribs.
14020 Also added newonly to action=feedcontributions.
14021 * (bug 42026) Deprecated uctoponly in favor of ucshow=top.
14022 * list=search no longer has a "srredirects" parameter. Redirects are now
14023 included in all searches.
14024 * Added list=prefixsearch that works like action=opensearch but can be used as
14026 * (bug 24782) Various modules will now use unique continuation parameters.
14027 * (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds.
14029 === Languages updated in 1.23 ===
14031 MediaWiki supports over 350 languages. Many localisations are updated
14032 regularly. Below only new and removed languages are listed, as well as
14033 changes to languages because of Bugzilla reports.
14035 * Support was added for Algerian Spoken Arabic (arq).
14036 * Support was added for Riograndenser Hunsrückisch (hrx).
14037 * Support was added for Northern Luri (lrc).
14039 === Other changes in 1.23 ===
14040 * The rc_type field in the recentchanges table has been superseded by a new
14041 rc_source field. The rc_source field is a string representation of the
14042 change type where rc_type was a numeric constant. This field is not yet
14043 queried but will be in a future release.
14044 ** Utilize update.php to create and populate this new field. On larger wikis
14045 which do not wish to update recentchanges table in one large update please
14046 review the SQL and comments in maintenance/archives/patch-rc_source.sql.
14047 ** The rc_type field of recentchanges will be deprecated in a future release.
14048 * The global variable $wgArticle has been removed after a lengthy deprecation.
14049 * The global functions addButton and insertTags (for mw.toolbar.addButton and
14050 mw.toolbar.insertTags) now emits mw.log.warn when accessed.
14051 * The ExpandTemplates extension has been moved into MediaWiki core.
14052 * (bug 52812) Removed "Disable search suggestions" from Preference.
14053 * (bug 52809) Removed "Disable browser page caching" from Preference.
14054 * Three new modules intended for use by custom skins were added:
14055 'mediawiki.skinning.elements', 'mediawiki.skinning.content', and
14056 'mediawiki.skinning.interface', representing three levels of standard
14057 MediaWiki styling. Previously skin creators wishing to use them had to refer
14058 to the file names of appropriate files directly, which is now discouraged.
14059 * The modules 'skins.vector' and 'skins.monobook' have been renamed to
14060 'skins.vector.styles' and 'skins.monobook.styles', respectively,
14061 and their definition was changed not to include the common*.css files;
14062 the two skins now load the 'mediawiki.skinning.interface' module instead.
14063 * A page_links_updated field has been added to the page table.
14064 * SpecialPage::getTitle has been deprecated in favor of
14065 SpecialPage::getPageTitle.
14066 * BREAKING CHANGE: Two potentially backwards-incompatible changes have been made
14067 to the 'SpecialWatchlistQuery' hook's last parameter (array $values) to make
14068 the hook more consistent with the 'SpecialRecentChangesQuery' one:
14069 ** Several array keys have been renamed: hideMinor → hideminor,
14070 hideBots → hidebots, hideAnons → hideanons, hideLiu → hideliu,
14071 hidePatrolled → hidepatrolled, hideOwn → hidemyself.
14072 ** The parameter value is now a FormOptions object, not a plain array (array
14073 access operators should continue to work, as it implements the ArrayAccess
14075 * Option to mark hooks as deprecated has been added.
14076 * (bug 52811) Preference "Enable section editing via [edit] links" was removed.
14077 * (bug 52813) Preference "Show table of contents (for pages with more than
14078 3 headings)" was removed.
14079 * (bug 52810) Preference "Justify paragraphs" was removed.
14080 * OutputPage::showErrorPage raises a notice if arguments are incoherent.
14081 * Thumbnails that keep failing to render in thumb.php will be rate-limited
14082 against further render attempts for 1 hour. $wgAttemptFailureEpoch can be
14083 altered to reset all rate-limited thumbnails at once.
14084 * (bug 56572) Builds of the OOjs and OOjs UI libraries are now available.
14085 * mw.loader.go and mw.loader.version have been removed.
14086 * (bug 52815) Preference "Enable simplified search bar (Vector skin only)"
14088 * A user_password_expires column has been added to the user table. The User
14089 object expects this column to exist. Use update.php to create this new field.
14090 * The jquery.delayedBind ResourceLoader module was deprecated in favor of the
14091 jquery.throttle-debounce module. It will be removed in MediaWiki 1.24.
14092 * mw.user.bucket has been deprecated.
14093 * On Special:PrefixIndex, a table#mw-prefixindex-list-table was changed to
14094 table.mw-prefixindex-list-table to avoid duplicate ids when the special page
14096 * (bug 62198) window.$j has been deprecated.
14097 * Preference "Disable link title conversion" was removed.
14098 * SpecialRecentChanges no longer includes any functionality for generating feeds
14099 - it has been factored out to ApiFeedRecentChanges. Old URLs redirect to new
14101 * RecentChange::mExtra['lang'] is no longer set and should no longer be used.
14102 Extensions should read from other configuration variables, including
14103 $wgLocalInterwikis, to identify the current wiki.
14104 * Sections in the parser test framework have been renamed and the old
14105 section names are deprecated. Please use "!!wikitext" and "!!html"
14106 (or "!!html/php") instead of "!!input" and "!!result". This allows
14107 us to extend parser tests to accommodate additional input/output
14108 pairs, such as "!!html/parsoid" (for the output of the Parsoid
14109 parser, where it differs from the PHP parser).
14110 * Special:Search no longer has an "include redirects" option on the advanced
14111 tab. Redirects are now included in all searches.
14112 * mediawiki.api.category's getCategories() 'async' parameter was deprecated.
14113 * The locations of resources have been split between upstream libraries, now in
14114 resources/lib/, local libaries in resources/src/, and local forks of upstream
14115 libraries, also in resources/src/.
14116 * BREAKING CHANGE: The automatically-generated function closure with which
14117 ResourceLoader wraps all modules' JavaScript code now binds the identifier
14118 names 'jQuery' and '$' to the jQuery object of the version of jQuery that is
14119 bundled with MediaWiki. If you bind these names to other objects in global
14120 scope (like Zepto.js or document.querySelectorAll, for example) you will need
14121 to use different names to or re-bind them at the top of each
14122 ResourceLoader-loaded module.
14123 * (bug 52342) Preference "Remember my login" was removed.
14124 * The skin autodiscovery mechanism has been deprecated and will be removed in
14125 MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
14126 for migration guide for creators and users of custom skins that relied on it.
14128 ==== Removed classes ====
14129 * FakeMemCachedClient (deprecated in 1.18)
14130 * RdfMetaData (unused)
14131 * TitleDependency (unused)
14132 * TitleListDependency (unused)
14133 * WikiError (deprecated in 1.17)
14134 * WikiXmlError (deprecated in 1.17)
14135 * WikiErrorMsg (deprecated in 1.17)
14137 ==== Renamed classes ====
14138 * CdbReader_DBA to CdbReaderDBA
14139 * CdbReader_PHP to CdbReaderPHP
14140 * CdbWriter_DBA to CdbWriterDBA
14141 * CdbWriter_PHP to CdbWriterPHP
14142 * DiffOp_Add to DiffOpAdd
14143 * DiffOp_Change to DiffOpChange
14144 * DiffOp_Copy to DiffOpCopy
14145 * DiffOp_Delete to DiffOpDelete
14146 * HWLDF_WordAccumulator to HWLDFWordAccumulator
14147 * LBFactory_Fake to LBFactoryFake
14148 * LBFactory_Multi to LBFactoryMulti
14149 * LBFactory_Simple to LBFactorySimple
14150 * LBFactory_Single to LBFactorySingle
14151 * LCStore_Accel to LCStoreAccel
14152 * LCStore_CDB to LCStoreCDB
14153 * LCStore_DB to LCStoreDB
14154 * LCStore_Null to LCStoreNull
14155 * LoadBalancer_Single to LoadBalancerSingle
14156 * LoadMonitor_MySQL to LoadMonitorMySQL
14157 * LoadMonitor_Null to LoadMonitorNull
14158 * LocalisationCache_BulkLoad to LocalisationCacheBulkLoad
14159 * csvStatsOutput to CsvStatsOutput
14160 * extensionLanguages to ExtensionLanguages
14161 * languages to Languages
14162 * statsOutput to StatsOutput
14163 * textStatsOutput to TextStatsOutput
14164 * wikiStatsOutput to WikiStatsOutput
14166 ==== Removed methods ====
14167 * ApiBase::getValidNamespaces() (deprecated in 1.17)
14168 * ApiMain::setCachePrivate() (deprecated in 1.17)
14169 * ApiMain::setVaryCookie (deprecated in 1.17)
14170 * Article::doRedirect() (deprecated in 1.18)
14171 * Article::doUnwatch() (deprecated in 1.18)
14172 * Article::doWatch() (deprecated in 1.18)
14173 * Article::forUpdate() (deprecated in 1.18)
14174 * Article::markpatrolled() (deprecated in 1.18)
14175 * Article::unwatch() (deprecated in 1.18)
14176 * Article::watch() (deprecated in 1.18)
14177 * Block::clear() (deprecated in 1.18)
14178 * Block::decodeExpiry() (deprecated in 1.18)
14179 * Block::encodeExpiry() (deprecated in 1.18)
14180 * Block::forUpdate() (deprecated in 1.18)
14181 * Block::infinity() (deprecated in 1.18)
14182 * Block::load() (deprecated in 1.18)
14183 * Block::newFromDB() (deprecated in 1.18)
14184 * Block::normaliseRange() (deprecated in 1.18)
14185 * Block::parseExpiryInput() (deprecated in 1.18)
14186 * CategoryViewer::addSubcategory() (deprecated in 1.17)
14187 * EditPage::spamPage() (deprecated since 1.17)
14188 * Exif::getFormattedData() (deprecated in 1.18)
14189 * Exif::makeFormattedData() (deprecated in 1.18)
14190 * in_string (deprecated in 1.21)
14191 * Language::convertLinkToAllVariants() (deprecated in 1.17)
14192 * LanguageConverter::convertLinkToAllVariants() (deprecated in 1.17)
14193 * Linker::makeBrokenLink() (deprecated in 1.16)
14194 * Linker::makeBrokenLinkObj() (deprecated in 1.16)
14195 * Linker::makeColouredLinkObj() (deprecated in 1.16)
14196 * Linker::makeSizeLinkObj() (deprecated in 1.17)
14197 * MediaWiki::articleFromTitle() (deprecated in 1.18)
14198 * ParserOptions::getkin() (deprecated 1.18)
14199 * ProfilerSimple::getCpuTime (deprecated in 1.20)
14200 * Revision::revText() (deprecated in 1.17)
14201 * SkinTemplate::jstext() (deprecated in 1.21)
14202 * SpecialPage::__call() (deprecated in 1.17)
14203 * SpecialPage::executePath() (deprecated in 1.18)
14204 * SpecialPage::exists() (deprecated in 1.18)
14205 * SpecialPage::file() (deprecated in 1.18)
14206 * SpecialPage::func() (deprecated in 1.18)
14207 * SpecialPage::getGroup() (deprecated in 1.18)
14208 * SpecialPage::getPage() (deprecated in 1.18)
14209 * SpecialPage::getPageByAlias() (deprecated in 1.18)
14210 * SpecialPage::getLocalNameFor() (deprecated in 1.18)
14211 * SpecialPage::getRegularPages() (deprecated in 1.18)
14212 * SpecialPage::getRestrictedPages() (deprecated in 1.18)
14213 * SpecialPage::getTitleForAlias() (deprecated in 1.18)
14214 * SpecialPage::getUsablePages() (deprecated in 1.18)
14215 * SpecialPage::includable() (deprecated in 1.18)
14216 * SpecialPage::init()
14217 * SpecialPage::initAliasList() (deprecated in 1.18)
14218 * SpecialPage::initList() (deprecated in 1.18)
14219 * SpecialPage::name() (deprecated in 1.18)
14220 * SpecialPage::removePage() (deprecated in 1.18)
14221 * SpecialPage::resolveAlias() (deprecated in 1.18)
14222 * SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18)
14223 * SpecialPage::restriction() (deprecated in 1.18)
14224 * SpecialPage::setGroup() (deprecated in 1.18)
14225 * SpecialRecentChanges::feedSetup()
14226 * SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
14227 * User::getPageRenderingHash() (deprecated in 1.17)
14228 * WebRequest::getFileSize() (deprecated in 1.17)
14229 * WebRequest::isPathInfoBad() (deprecated in 1.17)
14230 * wfGenerateToken (deprecated in 1.20)
14231 * wfStreamFile (deprecated in 1.19)
14232 * wfUILang (deprecated in 1.18)
14233 * WikiPage::createUpdates() (deprecated in 1.18)
14234 * WikiPage::quickEdit() (deprecated in 1.18)
14235 * WikiPage::useParserCache() (deprecated in 1.18)
14236 * WikiPage::viewUpdates() (deprecated in 1.18)
14238 ==== Removed globals ====
14239 * $wgBetterDirectionality (deprecated in 1.18)
14243 == MediaWiki 1.22.15 ==
14245 This is a security and maintenance release of the MediaWiki 1.22 branch.
14247 === Changes since 1.22.14 ===
14249 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
14250 could lead to xss. Permission to edit MediaWiki namespace is required to
14252 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
14253 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
14255 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
14257 == MediaWiki 1.22.14 ==
14259 This is a security and maintenance release of the MediaWiki 1.22 branch.
14261 === Changes since 1.22.13 ===
14263 * (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code
14264 into API clients that used format=php to process pages that underwent flash
14265 policy mangling. This was fixed along with improving how the mangling was done
14266 for format=json, and allowing sites to disable the mangling using
14267 $wgMangleFlashPolicy.
14268 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
14269 the content model for a page could allow an unprivileged attacker to edit
14270 another user's common.js under certain circumstances. The user right
14271 "editcontentmodel" was added, and is needed to change a revision's content
14273 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
14274 DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
14275 public RFC about the desired functionality. This issue was reported by user
14277 * (bug 71621) Make allowing site-wide styles on restricted special pages a
14279 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
14280 might be a flash policy directive configurable.
14282 == MediaWiki 1.22.13 ==
14283 This is a maintenance release of the MediaWiki 1.22 branch.
14285 === Changes since 1.22.12 ===
14286 * (bug 67440) Allow classes to be registered properly from installer
14288 == MediaWiki 1.22.12 ==
14289 This is a security release of the MediaWiki 1.22 branch.
14291 === Changes since 1.22.11 ===
14292 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
14295 == MediaWiki 1.22.11 ==
14296 This is a security release of the MediaWiki 1.22 branch.
14298 === Changes since 1.22.10 ===
14299 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
14300 elements; normalize style elements and attributes before filtering; add checks
14301 for attributes that contain css; add unit tests for html5sec and reported
14304 == MediaWiki 1.22.10 ==
14305 This is a maintenance release of the MediaWiki 1.22 branch.
14307 === Changes since 1.22.9 ===
14308 * (bug 64970) Fix support for blobs on DatabaseOracle::update
14309 * (bug 60719) In MediaWiki 1.22, the job queue execution on each page request
14310 was changed (Gerrit change 59797) so, instead of executing the job inside the
14311 same PHP process that's rendering the page, a new PHP cli command is spawned
14312 to execute runJobs.php in the background. It will only work if $wgPhpCli is
14313 set to an actual path or safe mode is off, otherwise, the old method will be
14315 https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_in_MediaWiki_1.22
14316 for more information. This change was in earlier releases of 1.22 but was not
14317 noted here until now.
14319 == MediaWiki 1.22.9 ==
14320 This is a security and maintenance release of the MediaWiki 1.22 branch.
14322 === Changes since 1.22.8 ===
14323 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
14324 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
14325 for loading a new page in Javascript,instead of relying on the URL in the
14326 link that has been clicked.
14327 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
14329 * (bug 59147) The img_metadata field was not being decoded from bytea into text.
14331 == MediaWiki 1.22.8 ==
14332 This is a security and maintenance release of the MediaWiki 1.22 branch.
14334 === Changes since 1.22.7 ===
14335 * (bug 65839) SECURITY: Prevent external resources in SVG files.
14336 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
14337 only extracting the tail of the file partially or not at all.
14339 == MediaWiki 1.22.7 ==
14340 This is a security and maintenance release of the MediaWiki 1.22 branch.
14342 === Changes since 1.22.6 ===
14343 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
14344 Special:PasswordReset.
14345 * (bug 36356) Add space between two feed links.
14346 * (bug 63269) Email notifications were not correctly handling the
14347 MediaWiki:Helppage message being set to a full URL. This is a regression from
14348 the 1.22.5 point release, which made the default value for it a URL. If you
14349 customized MediaWiki:Enotif body (the text of email notifications), you'll
14350 need to edit it locally to include the URL via the new variable $HELPPAGE
14351 instead of the parser functions fullurl and canonicalurl; otherwise you don't
14352 have to do anything.
14353 * Add missing uploadstash.us_props for PostgreSQL.
14354 * (bug 56047) Fixed stream wrapper in PhpHttpRequest.
14356 == MediaWiki 1.22.6 ==
14357 This is a security release of the MediaWiki 1.22 branch.
14359 === Changes since 1.22.5 ===
14360 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
14362 == MediaWiki 1.22.5 ==
14363 This is a security and maintenance release of the MediaWiki 1.22 branch.
14365 === Changes since 1.22.4 ===
14366 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
14367 * (bug 62467) Set a title for the context during import on the cli.
14368 * Fix custom local MediaWiki:Helppage values.
14369 * mediawiki.js: Fix documentation breakage.
14370 * (bug 58153) Make MySQLi work with non standard port.
14371 * (bug 53887) Reintroduced a link to help pages in the default sidebar, that any
14372 sysop can customize by editing MediaWiki:Sidebar locally. The link now points
14373 to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done
14374 on your end, but remember to adjust MediaWiki:Sidebar for the needs of your
14375 wikis. Everyone can help with the shared documentation by translating:
14376 https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages .
14377 * (bug 53888) Corrected a regression in 1.22 which introduced red links on the
14378 login page. If you previously installed 1.22.x and have created a local page
14379 to make the red link blue, write its title as in MediaWiki:helplogin-url if
14380 you didn't already. Otherwise, you don't need to do anything, but you can
14381 translate the help page at <https://www.mediawiki.org/wiki/Help:Logging_in>.
14383 == MediaWiki 1.22.4 ==
14384 This is a maintenance release of the MediaWiki 1.22 branch.
14386 === Changes since 1.22.3 ===
14387 * Use the correct branch of the extensions' git repositories.
14389 == MediaWiki 1.22.3 ==
14390 This is a security and bugfix release of the MediaWiki 1.22 branch.
14392 === Changes since 1.22.2 ===
14393 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
14394 namespaces. Also disallow iframe elements. * User will get an error including
14395 the namespace name if they use a non- whitelisted namespace.
14396 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
14397 our token comparison would be vulnerable to timing attacks. This will take
14399 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
14400 * (bug 53710) Add sequence support for upsert in DatabaseOracle in the same way
14402 * (bug 60231, bug 58719) Various fixes to job running code in Wiki.php: Make it
14403 async on Windows. Fixed possible "invalid filename" errors on Windows.
14404 Redirect output to dev/null to avoid hanging PHP.
14405 * (bug 60083) Correct sequence name for fresh Postgres installation. Spotted by
14407 * (bug 60531) Avoid variable naming conflicts in
14408 DatabasePostgres::selectSQLText. Spotted by gebhkla
14409 * (bug 60094) Fix rebuildall.php fatal error with PostgreSQL.
14410 * (bug 43817) Add error handling if descriptionmsg isn't defined for extension.
14411 * (bug 60543) Special:PrefixIndex omits stripprefix=1 for "Next page" link.
14413 == MediaWiki 1.22.2 ==
14414 This is a security and bugfix release of the MediaWiki 1.22 branch.
14416 === Changes since 1.22.1 ===
14417 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
14419 * (bug 58253) Check for very old PCRE versions in installer and updater
14420 * (bug 60054) Make WikiPage::$mPreparedEdit public
14422 == MediaWiki 1.22.1 ==
14423 This is a security and maintenance release of the MediaWiki 1.22 branch.
14425 === Changes since 1.22.0 ===
14426 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
14427 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
14428 * (bug 58472) SECURITY: Disallow -o-link in styles
14429 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
14430 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
14431 * (bug 58178) Restore compatibility with curl < 7.16.2.
14432 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format which
14433 is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as the
14434 JavaScript evaluator were updated to support the new format. Plural rules for
14435 some languages have changed, most notably Russian. Affected software messages
14436 have been updated and marked for review at translatewiki.net. This change is
14437 backported from the development branch of MediaWiki 1.23.
14438 * (bug 58434) The broken installer for database backend Oracle was fixed.
14439 * (bug 58167) The web installer no longer throws an exception when PHP is
14440 compiled without support for MySQL yet with support for another DBMS.
14441 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
14442 appear blank or with missing text.
14443 * (bug 47055) Changed FOR UPDATE handling in Postgresql
14444 * (bug 57026) Avoid extra parsing in prepareContentForEdit()
14446 == MediaWiki 1.22.0 ==
14448 === Configuration changes in 1.22 ===
14449 * $wgRedirectScript was removed. It was unused.
14450 * Removed $wgLocalMessageCacheSerialized, it is now always true.
14451 * $wgVectorUseIconWatch is now enabled by default.
14452 * $wgCascadingRestrictionLevels was added.
14453 * ftps, ssh, sftp, xmpp, sip, sips, tel, sms, bitcoin, magnet, urn, and geo
14454 have been whitelisted inside of $wgUrlProtocols.
14455 * $wgDocType and $wgDTD have been removed and are no longer used for the
14457 * $wgHtml5 is no longer used by core. Setting it to false will no longer disable
14458 HTML5. It is still set to true for extension compatibility but doing so in
14459 extensions is deprecated.
14460 * $wgXhtmlDefaultNamespace is no longer used by core. Setting it will no longer
14461 change the xmlns used by MediaWiki. Reliance on this variable by extensions
14463 * $wgHandheldStyle was removed.
14464 * $wgHandheldForIPhone was removed.
14465 * $wgJsMimeType is no longer used by core. Most usage has been removed since
14466 HTML output is now exclusively HTML5.
14467 * $wgDBOracleDRCP added. True enables persistent connection with DRCP on Oracle.
14468 * $wgLogAutopatrol added to allow disabling logging of autopatrol edits in the
14470 Default for $wgLogAutopatrol is true.
14471 * The 'edit' right no longer allows for editing a user's own CSS and JS.
14472 * New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist',
14473 'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and
14474 'editmyoptions' restrict actions that were formerly allowed by default. They
14475 have been added to the default for $wgGroupPermissions['*'].
14476 * The 'editprotected' right no longer allows bypassing of all page protection
14477 restrictions. Any group using it for this purpose will now need to have all
14478 the individual rights listed in $wgRestrictionTypes for the same effect.
14479 * The 'protect' and 'autoconfirmed' rights are no longer used for the default
14480 page protection levels. The rights 'editprotected' and 'editsemiprotected'
14481 are now used for this purpose instead.
14482 * (bug 40866) wgOldChangeTagsIndex removed.
14483 * $wgNoFollowDomainExceptions now only matches entire domains. For example,
14484 an entry for 'bar.com' will still match 'foo.bar.com' but not 'foobar.com'.
14485 * $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout added to change the timeout
14486 times for fetching the file during upload by url.
14487 * New key added to $wgGalleryOptions - $wgGalleryOptions['mode'] to set
14488 default gallery mode.
14489 * New hook 'GalleryGetModes' to allow extensions to make new gallery modes.
14490 * The checkbox for staying in HTTPS displayed on the login form when
14491 $wgSecureLogin is enabled has been removed. Instead, whether the user stays in
14492 HTTPS will be determined
14493 based on the user's preferences, and whether they came from HTTPS or not.
14494 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort,
14495 and $wgRC2UDPPrefix configuration options have been deprecated in favor of a
14496 $wgRCFeeds configuration array. $wgRCFeeds makes both the format and
14497 destination of recent change notifications customizable, and allows for
14498 multiple destinations to be specified.
14499 * (bug 53862) portal-url, currentevents-url and helppage have been removed from
14500 the default Sidebar.
14501 * The 'vector-simplesearch' preference is now enabled by default. Previously
14502 it was only enabled if the Vector extension was installed.
14503 * The precise format of metric datagrams produced by the UDP profiler and stats
14504 counter may now be specified as $wgUDPProfilerFormatString and
14505 $wgStatsFormatString, respectively.
14506 * (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
14507 $wgProxyMemcExpiry have been removed, along with the open proxy scanner
14508 script they were added for.
14509 * Default value of $wgMaxShellMemory has been tripled (it's now 300 MB).
14511 === New features in 1.22 ===
14512 * You can now install extensions using Composer.
14513 See https://www.mediawiki.org/wiki/Composer
14514 * (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and
14516 * (bug 33454) Language::sprintfDate now has a timezone parameter, and supports
14517 the "eIOPTZ" formatting characters.
14518 * EditWarning: A warning is shown when an editor leaves the edit form without
14519 saving (enabled by default, users can opt-out via the 'useeditwarning'
14520 preference). This feature was moved from the Vector extension, and is now part
14521 of core for all skins. Take care when upgrading that you don't use an older
14522 version of the Vector extension as this feature may conflict.
14523 * New 'mediawiki.ui' CSS module providing mw-ui-* styles for buttons and a
14524 compact vertical form layout.
14525 * HTMLForm supports a new display format 'vform' which applies this compact
14527 layout and button styling. Special:PasswordReset uses this format.
14528 * New versions of login (Special:UserLogin) and create account
14529 (Special:UserLogin/signup) forms using the "vform" compact vertical form
14530 layout. These forms use new messages that assume a "Help logging in" link, see
14531 https://www.mediawiki.org/wiki/Manual:Page_customizations;
14532 https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists
14533 the message key changes.
14534 * (bug 23343) Implemented ability to apply IP blocks to the contents of
14535 X-Forwarded-For headers by adding a new configuration variable
14536 $wgApplyIpBlocksToXff (disabled by default).
14537 * The new hook 'APIGetPossibleErrors' to modify the list of possible errors was
14539 * (bug 25592) LogEventsList::showLogExtract() will now ignore various
14540 Pager-related WebRequest parameters by default, as this is overwhelmingly
14541 likely to be what was intended by users of the method. If any caller wishes
14542 to use these parameters, the new param 'useRequestParams' may be set to true.
14543 * mw.util.addPortletLink: Tooltip is no longer required to be plain (without
14544 an accesskey in it already). As such it now rountrips. Creating a link with a
14545 message as tooltip, grabbing the title attribute and using it to create
14546 another portlet will work as expected.
14547 * (bug 6747) {{ROOTPAGENAME}} introduced, contains the name of the topmost
14548 page without namespace.
14549 * BREAKING CHANGE: (bug 41729) Display editsection links next to headings. Also
14550 change their class name from .editsection to .mw-editsection and place them at
14551 the end of the heading element instead of the beginning. Client-side code and
14552 screen-scrapers will have to be adjusted to handle both cases (old HTML will
14553 still be visible on cached page renders until they are purged); extensions
14554 using the DoEditSectionLink or EditSectionLink hooks might need adjustments as
14556 * (bug 45535) introduced the new 'LanguageLinks' hook for manipulating the
14557 language links associated with a page before display.
14558 * Chosen (http://harvesthq.github.io/chosen/) was added as module
14560 * HTMLForm will turn multiselect checkboxes into a Chosen interface when setting
14561 cssclass 'mw-chosen'
14562 * rebuildLocalisationCache learned --lang option. Let you rebuild l10n caches
14563 of the specified languages instead of all of them.
14564 * New GetNewMessagesAlert hook allowing extensions to disable or modify the new
14566 * New wgUserNewMsgRevisionId JS global for logged in users. This will be null
14567 if the user has no new talk page messages. Otherwise it will be set to the
14568 revision ID of the oldest new talk page message. This will allow gadgets and
14569 extensions to create their own new message alerts on the client side.
14570 * mediawiki.log: Added log.warn wrapper (uses console.warn and console.trace).
14571 * mediawiki.log: Implemented log.deprecate. This method defines a property and
14572 uses ES5 getter/setter to emit a warning when they are used.
14573 * $wgCascadingRestrictionLevels was added, allowing one to specify restriction
14574 levels which can be cascading (previously 'sysop' was hard-coded as the only
14576 * XHTML5 support has been improved. If you set
14577 $wgMimeType = 'application/xhtml+xml' MediaWiki will try outputting markup
14578 according to XHTML5 rules.
14579 * Altered hook 'ProtectionForm::save', adding the reason page protection is
14580 changed as third parameter.
14581 * New hook 'TitleSquidURLs' for manipulating the list of URLs to be purged from
14582 HTTP caches when a page is changed.
14583 * Changed the patrolling system to always show the link for patrolling in case
14584 the current revision is patrollable. This also removed the usage of the rcid
14586 * Oracle DB backend now supports Database Resident Connection Pooling (DRCP).
14587 Can be enabled by setting $wgDBOracleDRCP=true.
14588 Requires Oracle DB 11gR1 or above, enabled DRCP inside the DB itself and a
14589 propper connect string.
14590 More about DRCP can be found at:
14591 https://oracle-base.com/articles/11g/database-resident-connection-pool-11gr1
14592 * Add a new parameter $patrolFooterShown to hook ArticleViewFooter so the hook
14593 handlers can take further action based on the status of the patrol footer
14594 * A new hook TitleQuickPermissions was added to allow overriding of quick
14595 permissions in the Title class.
14596 * LinkCache singleton can now be altered or cleared, letting one to specify
14597 another instance that does not rely on a database backend.
14598 * MediaWiki's PHPUnit tests can now use PHPUnit installed using composer --dev.
14599 * (bug 43689) The lists of templates used on the page and hidden categories it
14600 is a member of, shown below the edit form, are now collapsible (and collapsed
14602 * Parser profiling data, formerly only available in the "NewPP limit report"
14603 HTML comment, is now also displayed at the bottom of page previews.
14604 * Added ParserLimitReportPrepare and ParserLimitReportFormat hooks, deprecated
14605 ParserLimitReport hook.
14606 * New user rights have been added to increase granularity in rights management
14607 for extensions such as OAuth:
14608 ** editmyusercss controls whether a user may edit their own CSS subpages.
14609 ** editmyuserjs controls whether a user may edit their own JS subpages.
14610 ** viewmywatchlist controls whether a user may view their watchlist.
14611 ** editmywatchlist controls whether a user may edit their watchlist.
14612 ** viewmyprivateinfo controls whether a user may access their private
14613 information (e.g. registered email address, real name).
14614 ** editmyprivateinfo controls whether a user may change their private
14616 ** editmyoptions controls whether a user may change their preferences.
14617 * Add new hook AbortTalkPageEmailNotification, this will be used to determine
14618 whether to send the regular talk page email notification
14619 * Action classes registered in $wgActions are now also supported in the form of
14620 a callback (which returns an instance of Action) instead of providing the name
14621 of a subclass of Action.
14622 * (bug 46513) Vector: Add the collapsibleTabs script from the Vector extension.
14623 * Added $wgRecentChangesFlags for defining new flags for RecentChanges and
14625 * (bug 40518) mw.toolbar: Implemented mw.toolbar.addButtons for adding multiple
14626 button objects in one call.
14627 * Rights used for the default protection levels ('sysop' and 'autoconfirmed')
14628 are now used just for that purpose, instead of overloading other rights. This
14629 allows easy granting of the ability to edit sysop-protected pages without
14630 also granting the ability to protect and unprotect.
14631 * (bug 48256) Make brackets in section edit links accessible to CSS.
14632 They are now wrapped in <span class="mw-editsection-bracket" />.
14633 * (bug 8480) Allow handler specific parameters in galleries (like page number)
14634 * jquery.client: Add detection for Opera 15 and Internet Explorer 11.
14635 * Change tags (used by the AbuseFilter extension) are now shown on diff pages.
14636 * Change tag lists (shown on recent changes, watchlist, user contributions,
14637 history pages, diff pages) now include a link to Special:Tags to distinguish
14638 them from edit summaries.
14639 * Added a new method and hook, User::isEveryoneAllowed() and
14640 UserIsEveryoneAllowed, for use in situations where a "does everyone have this
14641 right?" check is used to avoid more expensive checks.
14642 * (bug 14431) Display "(No difference)" instead of an empty diff (when comparing
14643 revisions in the history or when previewing changes while editing).
14644 * New hook 'IsUploadAllowedFromUrl' is added which can be used to intercept
14645 uploads by URL, useful for blacklisting specific URLs
14646 * (bug 21912) Watchlist token implementation has been refactored and
14647 Special:ResetTokens was added to allow users to reset their tokens
14648 instead of presenting them in Preferences.
14649 * Special:PrefixIndex now lets you strip the searched prefix from the displayed
14650 titles. Given a list of articles named Bug1, Bug2, you can now transclude the
14651 list of bug numbers using: {{Special:PrefixIndex/Bug|stripprefix=1}}.
14652 The special page form received a new checkbox matching that option.
14653 * (bug 23580) Implement javascript callback interface "mw.hook".
14654 * (bug 30713) New mw.hook "wikipage.content".
14655 * (bug 40430) jquery.placeholder gets a new parameter to set the attribute value
14657 * $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast.
14658 * $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge
14659 too. Can be used whenever several multicast group could be interested by a
14661 * (bug 25931) Add Special:RandomInCategory.
14662 * mediawiki.util: addPortletLink now supports passing a jQuery object as
14664 * <wbr> can now be used inside WikiText.
14665 * WebResponse::setcookie is much more featureful. Callers using PHP's
14666 setcookie() or setrawcookie() should begin using this instead.
14667 * New hook WebResponseSetCookie, called from WebResponse::setcookie().
14668 * New hook ResetSessionID, called when the session id is reset.
14669 * Add a mode parameter to <gallery> tag with potential options of "traditional",
14670 "nolines", "packed", "packed-overlay", or "packed-hover".
14671 * (bug 47399) A success message is now displayed after changing the password.
14672 * Make thumb.php give HTTP redirects for file redirects
14673 * (bug 30607) Special:ListFiles can now show old versions of files. Additionally
14674 Special:AllMyUploads was introduced so the user can get a list of all things
14675 they have ever uploaded, even if it was subsequently overridden.
14676 * Introduced Special:MyFiles and Special:AllMyFiles as an alias for
14677 Special:MyUploads and Special:AllMyUploads respectively.
14678 * IPv6 addresses in X-Forwarded-For headers are now normalised before checking
14679 against allowed proxy lists.
14680 * Add deferrable update support for callback/closure.
14681 * Add TitleMove hook before page renames.
14682 * Revision deletion backend code is moved out of SpecialRevisiondelete
14683 * Added {{REVISIONSIZE}} variable to get the current size of a revision.
14684 * Add support for the LESS stylesheet language to ResourceLoader. LESS is a
14685 stylesheet language that compiles into CSS. ResourceLoader file modules may
14686 include LESS style files; ResourceLoader will compile these files into CSS
14687 before sending them to the client.
14688 ** The $wgResourceLoaderLESSVars configuration variable is an associative array
14689 mapping variable names to string CSS values. These variables are considered
14690 declared for all LESS files. Additional variables may be registered by
14691 adding keys to the array.
14692 ** $wgResourceLoaderLESSFunctions is an associative array of custom LESS
14693 function names to PHP callables. See
14694 <http://leafo.net/lessphp/docs/#custom_functions>
14695 for more details regarding custom functions.
14696 ** $wgResourceLoaderLESSImportPaths is an array of file system paths. Files
14697 referenced in LESS '@import' statements are looked up here first.
14698 * ResourceLoader supports hashes as module cache invalidation trigger (instead
14699 of or in addition to timestamps).
14700 * Added $wgExtensionEntryPointListFiles for use in mergeMessageFileList.php.
14701 * Added a hook, APIQuerySiteInfoStatisticsInfo, to allow extensions to modify
14702 the output of the API query meta=siteinfo&siprop=statistics
14703 * Primary keys have been added to both the archive table and the externallinks
14705 * Added $wgEnableParserLimitReporting to control whether the NewPP limit report
14706 is output in a HTML comment.
14707 * The 'UnwatchArticle' and 'WatchArticle' hooks now support a Status object
14708 instead of just a boolean return value to abort the hook.
14709 * Added a hook, SpecialWatchlistGetNonRevisionTypes, to allow extensions
14710 with custom recentchanges entries to hook into the Watchlist without
14711 clobbering each other.
14712 * A hidden, empty input field was added to the edit form, and any edit that
14713 fills it in will be rejected. This prevents against the simplest form of
14714 spambots. Previously in the "SimpleAntiSpam" extension by Ryan Schmidt.
14715 * populateRevisionLength.php maintenance script updated to also populate
14716 archive.ar_len field.
14717 * (bug 43571) DatabaseMySQLBase learned to list views, optionally filtered by a
14718 prefix. Also fixed PHPUnit test suite when using a MySQL backend containing
14721 === Bug fixes in 1.22 ===
14722 * (bug 47271) $wgContentHandlerUseDB should be set to false during the upgrade
14723 * Disable Special:PasswordReset when $wgEnableEmail is false. Previously one
14724 could still navigate to the page by entering the URL directly.
14725 * (bug 47138) Fixed a fatal error when a blocked user tries to automatically
14726 create an account on login due external authentication in some circumstances.
14727 * (bug 23393) HTML <hN> headings containing line breaks are now handled
14729 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
14730 is now non-significant and not preserved in the HTML output.
14731 * (bug 47218) Special:BlockList now handles correctly user names with spaces
14732 when passed as subpage.
14733 * Pager's properly validate which fields are allowed to be sorted on.
14734 * mw.util.tooltipAccessKeyRegexp: The regex now matches "option-" as well.
14735 Support for Mac "option" was added in 1.16, but the regex was never updated.
14736 * (bug 46768) Usernames of blocking users now display correctly, even if
14738 * (bug 39590) Self-transclusions now show the most up to date result always
14739 after save instead of being a revision behind.
14740 * A bias in wfRandomString() toward digits 1-7 has been corrected. Generated
14741 strings will now start with digits 0 and 8-f as often as they should.
14742 * (bug 45371) Removed Parser_LinkHooks and CoreLinkFunctions classes.
14743 * (bug 41545) Allow <kbd>, <samp>, and <var> to be nested like allowed in html.
14744 * PLURAL magic word no longer causes a PHP notice when no matching form exists.
14745 * (bug 36641) Patrol page links no longer show on non-existent revisions.
14746 * (bug 35810) Pages not linked from Special:RecentChanges or Special:NewPages
14747 are patrollable now.
14748 * (bug 30213) JavaScript for search suggestions is now disabled when the API
14749 is disabled, and AJAX patrolling and watching are now disabled when use of
14750 the write API is not allowed.
14751 * (bug 48294) API: Fix chunk upload async mode.
14752 * (bug 46749) Broken files tracking category removed from pages if an image
14753 with that name is uploaded.
14754 * (bug 14176) System messages that are empty were previously incorrectly treated
14755 as non-existent, causing a fallback to the default. This stopped users from
14756 overriding system messages to make them blank.
14757 * (bug 48319) action=parse no longer returns an error if passed none of 'oldid',
14758 'pageid', 'page', 'title', and 'text' (e.g. if only passed 'summary'). A
14759 warning will instead be issued if 'title' is non-default, unless no props are
14761 * Special:Recentchangeslinked will now include upload log entries
14762 * (bug 41281) Fixed ugly output if file size could not be extracted for
14764 * (bug 50315) list=logevents API module will now output log entries by anonymous
14766 * (bug 38911) Handle headers with rowspan in jquery.tablesorter
14767 * (bug 658) Converted the table of contents on wiki pages from <table> to <div>
14768 and adjusted skin CSS accordingly. The CSS was carefully crafted to be
14769 backwards-compatible in all reasonable cases (uses of the __TOC__ magic word,
14770 the #toc CSS id and the .toc CSS class). However, particularly bad abuse of
14771 the id or the class can possibly break.
14772 * CSSJanus now supports rgb, hsl, rgba, and hsla color syntaxes.
14773 * Special:Listfiles can no longer be sorted by image name when filtering
14774 by user in miser mode.
14775 * (bug 49074) CSSJanus: Handle values of border-radius correctly.
14776 * Handle relative inclusions ({{../name}}) in main namespace with subpages
14777 enabled correctly (previously MediaWiki tried to include Template:Parent/name
14778 instead of just Parent/name).
14779 * Added $wgAPIUselessQueryPages to allow extensions to flag their query pages
14780 for non-inclusion in ApiQueryQueryPages.
14781 * (bug 50870) mediawiki.notification: Notification area should remain visible
14782 when scrolled down.
14783 * (bug 13438) Special:MIMESearch no longer an expensive special page.
14784 * (bug 48342) Fixed a fatal error when $wgValidateAllHtml is set to true and
14785 the function apache_request_headers() function is not available.
14786 * (bug 33399) LivePreview: Re-run wikipage content handlers
14787 (jquery.makeCollapsible, jquery.tablesorter) after preview content is loaded.
14788 * (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties
14790 * (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry.
14791 * (bug 52077) The APIEditBeforeSave hook is giving the content of the whole
14792 revision as second argument now, rather than just the current section.
14793 * (bug 49694) $wgSpamRegex is now also applied on the new section headline text
14794 adding a new topic on a page
14795 * (bug 41756) Improve treatment of multiple comments on a blank line.
14796 * (bug 51064) Purge upstream caches when deleting file assets.
14797 * (bug 39012) File types with a mime that we do not know the extension for
14798 can no longer be uploaded as an extension that we do know the mime type
14800 * (bug 51742) Add data-sort-value for better sorting of hitcounts Special:Tags
14801 * (bug 26811) On DB error pages, server hostnames are now hidden when both
14802 $wgShowHostnames and $wgShowSQLErrors are false.
14803 * (bug 6200) line breaks in <blockquote> are handled like they are in <div>
14804 * (bug 14931) Default character set now set to 'utf8' when a new MySQL
14805 database is created.
14806 * (bug 47191) Fixed "Column 'si_title' cannot be part of FULLTEXT index"
14807 MySQL error when installing using the binary character set option.
14808 * (bug 45288) Support mysqli PHP extension
14809 * (bug 55818) BREAKING CHANGE: Removed undocumented 'Debug' hook in wfDebug.
14810 This resolves an infinite loop when using $wgDebugFunctionEntry = true.
14811 * (bug 56707) Correct tooltip of "Next n results" on query special pages.
14812 * (bug 56770) mw.util.addPortletLink: Check length before access array index.
14814 === API changes in 1.22 ===
14815 * (bug 25553) The JSON output formatter now leaves forward slashes unescaped
14816 to improve human readability of URLs and similar strings. Also, a "utf8"
14817 option is now provided to use UTF-8 encoding instead of hex escape codes
14818 for most non-ASCII characters.
14819 * (bug 46626) xmldoublequote parameter was removed. Because of a bug, the
14820 parameter has had no effect since MediaWiki 1.16, and so its removal is
14821 unlikely to impact existing clients.
14822 * (bug 47216) action=query&meta=siteinfo&siprop=skins will now indicate which
14823 skin is the default and which are unusable (e.g. listed in $wgSkipSkins).
14824 * (bug 25325) Added support for wlshow filtering (bots/anon/minor/patrolled)
14825 to action=feedwatchlist.
14826 * WDDX formatted output will actually be formatted (and normal output will no
14827 longer be), and will no longer choke on booleans.
14828 * action=opensearch no longer silently ignores the format parameter.
14829 * action=opensearch now supports format=jsonfm.
14830 * list=usercontribs&ucprop=ids will now include the parent revision id.
14831 * BREAKING CHANGE: action=parse no longer returns all langlinks for the page
14832 with prop=langlinks by default. The new effectivelanglinks parameter will
14833 request that the LanguageLinks hook be called to determine the effective
14835 * BREAKING CHANGE: list=allpages, list=langbacklinks, and prop=langlinks do not
14836 apply the new LanguageLinks hook, and thus only consider language links
14837 stored in the database.
14838 * (bug 47219) Allow specifying change type of Wikipedia feed items
14839 * prop=imageinfo now allows setting iiurlheight without setting iiurlwidth
14840 * prop=info now adds the content model and page language of the title.
14841 * New upload log entries will now contain information on the relevant
14842 image (sha1 and timestamp).
14843 * (bug 49239) action=parse now can parse in preview and section preview modes.
14844 * (bug 49259) action=patrol now accepts revision ids.
14845 * (bug 48129) list=blocks&bkip= now correctly handles IPv6 CIDR ranges and
14846 honors $wgBlockCIDRLimit. Note any clients passing invalid values to bkip
14847 will now receive an error, rather than the previous behavior listing all
14849 * (bug 48201) action=parse&text=foo now assumes wikitext if no title is given,
14850 rather than using the content model of the page "API".
14851 * action=watch no longer silently ignores hook abort.
14852 * (bug 50785) action=purge with forcelinkupdate=1 no longer queues refreshLinks
14853 jobs in the job queue for link table updates of pages that use the given page
14854 as a template. Instead, forcerecursivelinkupdate=1 is introduced and should
14855 be used if that behaviour is desirable.
14856 * The 'debugLog' property (enabled by $wgDebugToolbar) no longer sets the log
14857 entry values through ApiResult::content but directly. This changes the JSON
14858 output from an array of objects with content in '*' to an array of strings
14860 * (bug 51342) prop=imageinfo iicontinue now contains the dbkey, not the text
14861 version of the title.
14862 * (bug 52538) action=edit will now use empty text instead of the contents
14863 of section 0 when passed prependtext or appendtext with section=new.
14864 * Support for the 'gettoken' parameter to action=block and action=unblock,
14865 deprecated since 1.20, has been removed.
14866 * (bug 49090) Token-getting functions will fail when using jsonp callbacks.
14867 * (bug 52699) action=upload returns normalized file name on warning
14868 "exists-normalized" instead of filename to be uploaded to.
14869 * (bug 53884) action=edit will now return an error when the specified section
14870 does not exist in the page.
14871 * Added meta=filerepoinfo API module for getting information about foreign
14872 file repositories, and related ForeignAPIRepo methods getInfo and getApiUrl.
14873 * The new query module list=allfileusages to enumerate file usages was added.
14875 === Languages updated in 1.22 ===
14877 MediaWiki supports over 350 languages. Many localisations are updated
14878 regularly. Below only new and removed languages are listed, as well as
14879 changes to languages because of Bugzilla reports.
14881 * Batak Toba (bbc-latn) added.
14882 * (bug 46751) Made Buryat (Russia) (буряад) (bxr) fallback to Russian.
14884 === Other changes in 1.22 ===
14885 * BREAKING CHANGE: Implementation of MediaWiki's JS and JSON value encoding
14887 ** MediaWiki no longer supports PHP installations in which the native JSON
14888 extension is missing or disabled.
14889 ** XmlJsCode objects can no longer be nested inside objects or arrays.
14890 (For Xml::encodeJsCall(), this individually applies to each argument.)
14891 ** The sets of characters escaped by default, along with the precise escape
14892 sequences used, have changed (except for the Xml::escapeJsString()
14893 function, which is now deprecated).
14894 * BREAKING CHANGE: The Services_JSON class has been removed. If necessary,
14895 be sure to upgrade affected extensions at the same time (e.g. Collection).
14896 * redirect.php was removed. It was unused.
14897 * ClickTracking integration was dropped from the mediaWiki.user.bucket
14898 JavaScript function. The 'tracked' option is now ignored.
14899 * BREAKING CHANGE: Legacy skins Simple, MySkin, Chick, Standard and Nostalgia
14900 were all removed. (Nostalgia was moved to an extension.) The SkinLegacy and
14901 LegacyTemplate classes that supported them were removed as well and are now a
14902 part of the Nostalgia extension.
14903 * Event namespace used by jquery.makeCollapsible has been changed from
14904 'mw-collapse' to 'mw-collapsible' for consistency with the module name.
14905 * BREAKING CHANGE: The "ExternalAuth" authentication subsystem was removed,
14906 along with its associated globals of $wgExternalAuthType, $wgExternalAuthConf,
14907 $wgAutocreatePolicy and $wgAllowPrefChange. Affected users are encouraged to
14908 use AuthPlugin for external authentication/authorization needs.
14909 * The Quickbar feature of the legacy skin model and the last remnants of it
14910 throughout the code base have been removed.
14911 * Externaledit/externaldiff preference was removed. Very few users used this
14912 feature, and improper configuration can actually prevent a user from editing
14913 * Calling Linker methods using a skin will now output deprecation warnings.
14914 * (bug 46680) "Return to" links are no longer tagged with rel="next".
14915 * BREAKING CHANGE: mw.util.tooltipAccessKeyRegexp: The match group for the
14916 accesskey character is now $6 instead of $5.
14917 * HipHop compiler (hphpc) support was removed. HipHop VM support (hhvm) was
14919 * A new Special:Redirect page was added, providing lookup by revision ID,
14920 user ID, or file name. The old Special:Filepath page was reimplemented
14921 to redirect through Special:Redirect.
14922 * Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9.
14923 * Support for XHTML 1.0 has been removed. MediaWiki now only outputs (X)HTML5.
14924 * wikibits: User-agent related globals have been deprecated. The following
14925 properties now default to false and emit mw.log.warn: is_gecko, is_chrome_mac,
14926 is_chrome, webkit_version, is_safari_win, is_safari, webkit_match, is_ff2,
14927 ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, opera7_bugs, opera6_bugs,
14928 is_opera_95, is_opera_preseven, is_opera, and ie6_bugs.
14929 * (bug 48276) MediaWiki will now flash a confirmation message upon successfully
14931 * (bug 40785) mediawiki.legacy.ajax has been marked as deprecated. The following
14932 properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object,
14933 sajax_do_call and wfSupportsAjax.
14934 * BREAKING CHANGE: meta keywords are no longer supported. A
14935 <meta name="keywords" will no longer be output and OutputPage::addKeyword no
14937 * Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage,
14938 deprecated since 1.19, have been removed.
14939 * (bug 50134) Hook functions are no longer required to return a value. When a
14940 hook function does not return a value (or when it returns an explicit null),
14941 processing continues. To abort the hook, a hook function must return an
14942 explicit, boolean false or a string error message. Other falsey values are
14943 tantamount to a 'return true' in earlier versions of MediaWiki.
14944 * BREAKING CHANGE: The EditSectionLink hook was removed after being
14945 deprecated since MediaWiki 1.14. Use DoEditSectionLink instead.
14946 * (bug 48256) The 'editsection-brackets' optional message was removed.
14947 Section edit links' brackets can now be customized using CSS by
14948 styling span.mw-editsection-bracket.
14949 * The usePatrol function in ChangesList has been marked as deprecated.
14950 * (bug 50785) A "null edit", that is, a save action in which no changes to the
14951 page text are made and no revision recorded, will no longer send refreshLinks
14952 jobs to the job table to update pages which use the edited page as a template.
14953 * The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )"
14954 have been deprecated in favour of using mw.hook.
14955 * The 'showjumplinks' user preference has been removed, jump links are now
14957 * Methods RecentChange::notifyRC2UDP, RecentChange::sendToUDP, and
14958 RecentChange::cleanupForIRC have been deprecated, as it is now the
14959 responsibility of classes implementing the RCFeedFormatter and RCFeedEngine
14960 interfaces to implement the formatting and delivery for recent change
14962 * SpecialPrefixindex methods namespacePrefixForm() and showPrefixChunk() have
14963 been made protected. They were accepting form variance arguments, this is now
14964 using properties in the SpecialPrefixindex class.
14965 * (bug 50310) BREAKING CHANGE: wikibits: Drop support for mwCustomEditButtons.
14966 It defaults to an empty array and emits mw.log.warn when accessed.
14967 * BREAKING CHANGE: Special:Disambiguations has been removed from MediaWiki core.
14968 Functions related to disambiguation pages are now handled by the Disambiguator
14969 extension (https://www.mediawiki.org/wiki/Extension:Disambiguator) (bug
14971 * BREAKING CHANGE: The 'mediawiki.legacy.wikiprintable' module has been removed.
14972 The skins/common/wikiprintable.css file no longer exists. Return value of
14973 Skin#commonPrintStylesheet is ignored. Please use the
14974 'mediawiki.legacy.commonPrint' module instead or base your skin on
14976 * (bug 49629) The hook ExtractThumbParameters has been deprecated in favour
14977 of media handler overriding MediaHandler::parseParamString.
14978 * (bug 46512) The collapsibleNav feature from the Vector extension has been
14979 moved to the Vector skin in core.
14980 * SpecialRecentChanges::addRecentChangesJS() function has been renamed
14981 to addModules() and made protected.
14982 * Methods WatchAction::doWatch and WatchAction::doUnwatch now return a Status
14983 object instead of a boolean.
14984 * Information boxes (CSS classes errorbox, warningbox, successbox) have been
14986 * BREAKING CHANGE: The module 'mediawiki.legacy.IEFixes' has been removed as it
14987 was unused. The file skins/common/IEFixes.js remains but is only used by
14988 wikibits. The file never contained any re-usable components. To use it in a
14989 skin, load 'mediawiki.legacy.wikibits' (which IEFixes depends on) and that
14990 will import IEFixes automatically if user agent conditions are met.
14991 * Code specific to the Math extension was marked as deprecated.
14992 * mediawiki.util: mw.util.wikiGetlink has been renamed to getUrl. (The old name
14993 still works, but is deprecated.)
14997 == MediaWiki 1.21.11 ==
14998 This is a security and maintenance release of the MediaWiki 1.21 branch.
15000 === Changes since 1.21.10 ===
15001 * (bug 65839) SECURITY: Prevent external resources in SVG files.
15002 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
15003 only extracting the tail of the file partially or not at all.
15005 == MediaWiki 1.21.10 ==
15006 This is a security and maintenance release of the MediaWiki 1.21 branch.
15008 === Changes since 1.21.9 ===
15009 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
15010 Special:PasswordReset.
15011 * (bug 36356) Add space between two feed links.
15013 == MediaWiki 1.21.9 ==
15014 This is a security and maintenance release of the MediaWiki 1.21 branch.
15016 === Changes since 1.21.8 ===
15017 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
15018 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
15019 appear blank or with missing text.
15021 == MediaWiki 1.21.8 ==
15022 This is a security and maintenance release of the MediaWiki 1.21 branch.
15024 === Changes since 1.21.7 ===
15025 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
15026 * (bug 62467) Set a title for the context during import on the cli.
15028 == MediaWiki 1.21.7 ==
15029 This is a maintenance release of the MediaWiki 1.21 branch.
15031 === Changes since 1.21.6 ===
15032 * Use the correct branch of the extensions' git repositories.
15034 == MediaWiki 1.21.6 ==
15035 This is a security release of the MediaWiki 1.21 branch.
15037 === Changes since 1.21.5 ===
15038 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
15039 namespaces. Also disallow iframe elements.
15040 * User will get an error including the namespace name if they use a
15041 non-whitelisted namespace.
15042 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
15043 our token comparison would be vulnerable to timing attacks. This will take
15045 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
15047 == MediaWiki 1.21.5 ==
15048 This is a security release of the MediaWiki 1.21 branch.
15050 === Changes since 1.21.4 ===
15051 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
15054 == MediaWiki 1.21.4 ==
15055 This is a security release of the MediaWiki 1.21 branch.
15057 === Changes since 1.21.3 ===
15058 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
15059 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
15060 * (bug 58472) SECURITY: Disallow -o-link in styles
15061 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
15062 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
15064 == MediaWiki 1.21.3 ==
15065 This is a security and maintenance release of the MediaWiki 1.21 branch.
15067 === Changes since 1.21.2 ===
15068 * (bug 53032) SECURITY: Don't cache when a call could autocreate
15069 * (bug 55332) SECURITY: Improve css javascript detection
15070 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
15071 * Fix comma errors in various js files
15074 == MediaWiki 1.21.2 ==
15075 This is a security and maintenance release of the MediaWiki 1.21 branch.
15077 === Changes since 1.21.1 ===
15078 * SECURITY: Fix extension detection with 2 .'s
15079 * SECURITY: Support for the 'gettoken' parameter to action=block and
15080 action=unblock, deprecated since 1.20, has been removed.
15081 * SECURITY: Sanitize ResourceLoader exception messages
15082 * Purge upstream caches when deleting file assets.
15083 * Unit test suite now runs the AutoLoader tests. Also fixed the autoloading
15084 entry for the PageORMTableForTesting class though it had no impact.
15086 == MediaWiki 1.21.1 ==
15087 This is a maintenance release of the MediaWiki 1.21 branch.
15089 === Changes since 1.21.0 ===
15090 * An incorrect version number was used for 1.21.0. 1.21.1 has the correct
15092 * A problem with the Oracle SQL table creation was fixed.
15093 * (PdfHandler extension) Fix warning if pdfinfo fails but pdftext succeeds.
15095 == MediaWiki 1.21.0 ==
15097 === Configuration changes in 1.21 ===
15098 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
15099 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
15101 * (bug 39957) Added $wgUnwatchedPageThreshold, specifying minimum count
15102 of page watchers required for the number to be accessible to users
15103 without the unwatchedpages permission.
15104 * $wgBug34832TransitionalRollback has been removed.
15105 * (bug 29472) $wgUseDynamicDates has been removed and its functionality
15108 === New features in 1.21 ===
15109 * (bug 38110) Schema changes (adding or dropping tables, indices and
15110 fields) can be now be done separately from other changes that
15111 update.php makes. This is useful in environments that use database
15112 permissions to restrict schema changes but allow the DB user that
15113 MediaWiki normally runs as to perform other changes that update.php
15114 makes. Schema changes can be run separately. See the file UPGRADE
15115 for more information.
15116 * (bug 34876) jquery.makeCollapsible has been improved in performance.
15117 * Added ContentHandler facility to allow extensions to support other content
15118 than wikitext. See docs/contenthandler.txt for details.
15119 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
15120 and desktop displays (configurable with $wgResponsiveImages).
15121 * Added new backend to represent and store information about sites and site
15122 specific configuration.
15123 * jQuery upgraded from 1.8.2 to 1.8.3.
15124 * jQuery UI upgraded from 1.8.23 to 1.8.24.
15125 * Added separate fa_sha1 field to filearchive table. This allows sha1
15126 searches with the api in miser mode for deleted files.
15127 * Add initial and programmatic sorting for tablesorter.
15128 * Add the event "sortEnd.tablesorter", triggered after sorting has completed.
15129 * The Job system was refactored to allow for different backing stores for
15130 queues as well as cross-wiki access to queues, among other things. The schema
15131 for the DB queue was changed to support better concurrency and reduce
15133 * Added ApiQueryORM class to facilitate creation of query API modules based on
15134 tables that have a corresponding ORMTable class.
15135 * (bug 40876) Icon for PSD (Adobe Photoshop) file types.
15136 * (bug 40641) Implemented Special:Version/Credits with a list of contributors.
15137 * (bug 7851) Implemented one-click AJAX patrolling.
15138 * The <data>, <time>, <meta>, and <link> elements are allowed within WikiText
15139 for use with Microdata.
15140 * The HTML5 <mark> tag has been whitelisted.
15141 * Added ParserCloned hook for when the Parser object is cloned.
15142 * Added AlternateEditPreview hook to allow extensions to replace the page
15143 preview from the edit page.
15144 * Added EditPage::showStandardInputs:options hook to allow extensions to add
15145 new fields to the "editOptions" area of the edit form.
15146 * Upload stash DB schema altered to improve upload performance.
15147 * The following global functions are now reporting deprecated warnings in
15148 debug mode: wfMsg, wfMsgNoTrans, wfMsgForContent, wfMsgForContentNoTrans,
15149 wfMsgReal, wfMsgGetKey, wfMsgHtml, wfMsgWikiHtml, wfMsgExt, wfEmptyMsg. Use
15150 the Message class, or the global method wfMessage.
15151 * Added $wgEnableCanonicalServerLink, off by default. If enabled, a
15152 <link rel=canonical> tag is added to every page indicating the correct server
15154 * Debug message emitted by wfDebugLog() will now be prefixed with the group
15155 name when its logged to the default log file. That is the case whenever the
15156 group has no key in wgDebugLogGroups, that will help triage the default log.
15157 * (bug 24620) Add types to LogFormatter.
15158 * jQuery JSON upgraded from 2.3 to 2.4.0.
15159 * Added GetDoubleUnderscoreIDs hook, for modifying the list of magic words.
15160 * DatabaseUpdater class has two new methods to ease extensions schema changes:
15161 dropExtensionIndex and renameExtensionIndex.
15162 * New preference type - 'api'. Preferences of this type are not shown on
15163 Special:Preferences, but are still available via the action=options API.
15164 * (bug 39397) Hide rollback link if a user is the only contributor of the page.
15165 * $wgPageInfoTransclusionLimit limits the list size of transcluded articles
15166 on the info action. Default is 50.
15167 * Added action=createaccount to allow user account creation.
15168 * (bug 40124) action=options API also allows for setting of arbitrary
15169 preferences, provided that their names are prefixed with 'userjs-'. This
15170 officially reenables the feature that was undocumented and defective
15171 in MW 1.20 (saving preferences using Special:Preferences cleared any
15172 additional fields) and which has been disabled in 1.20.1 as a part of
15173 a security fix (bug 42202).
15174 * Added option to specify "others" as author in extension credits using
15175 "..." as author name.
15176 * Added the ability to limit the wall clock time used by shell processes,
15177 as well as the CPU time. Configurable with $wgMaxShellWallClockTime.
15178 * Allow memory of shell subprocesses to be limited using Linux cgroups
15179 instead of ulimit -v, which tends to cause deadlocks in recent versions
15180 of ImageMagick. Configurable with $wgShellCgroup.
15181 * Added $wgWhitelistReadRegexp for regex whitelisting.
15182 * (bug 5346) Categories that are redirects will be displayed italic in
15183 the category links section at the bottom of a page.
15184 * (bug 43915) New maintenance script deleteEqualMessages.php.
15185 * You can now create checkbox option matrices through the HTMLCheckMatrix
15186 subclass in HTMLForm.
15187 * WikiText now permits the use of WAI-ARIA's role="presentation" inside of
15188 html elements and tables. This allows presentational markup, especially
15189 tables. To be marked up as such.
15190 * maintenance/sql.php learned the --cluster option. Let you run the script
15191 on some external cluster instead of the primary cluster for a given wiki.
15192 * (bug 20281) test the parsing of inline URLs.
15193 * Added Special:PagesWithProp, which lists pages using a particular page
15195 * Implemented language-specific collations for category sorting for 67 languages
15196 based in latin, greek and cyrillic alphabets. This allows one to *finally* get
15197 articles to be correctly sorted on category pages. They are named
15198 'uca-<langcode>', where <langcode> is one of: af, ast, az, be, bg, br, bs, ca,
15199 co, cs, cy, da, de, dsb, el, en, eo, es, et, eu, fi, fo, fr, fur, fy, ga, gd,
15200 gl, hr, hsb, hu, is, it, kk, kl, ku, ky, la, lb, lt, lv, mk, mo, mt, nl, no,
15201 oc, pl, pt, rm, ro, ru, rup, sco, sk, sl, smn, sq, sr, sv, tk, tl, tr, tt, uk,
15203 * Added 'CategoryAfterPageAdded' and 'CategoryAfterPageRemoved' hooks.
15204 * Added 'HistoryRevisionTools' and 'DiffRevisionTools' hooks.
15205 * Added 'SpecialSearchResultsPrepend' and 'SpecialSearchResultsAppend' hooks.
15206 * (bug 33186) Add image rotation api "imagerotate"
15207 * (bug 34040) Add "User rights management" link on user page toolbox.
15208 * (bug 45526) Add QUnit assertion helper "QUnit.assert.htmlEqual" for asserting
15209 structual equality of HTML (ignoring insignificant differences like
15210 quotmarks, order and whitespace in the attribute list).
15211 * (bug 23393) HTML <hN> headings containing line breaks are now handled
15213 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
15214 is now non-significant and not preserved in the HTML output.
15216 === Bug fixes in 1.21 ===
15217 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
15218 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
15219 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
15220 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
15221 recentchanges table.
15222 * (bug 32951) Do not register internal externals with absolute protocol,
15223 when server has relative protocol.
15224 * (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE
15225 method requests, we now send a Host header by default, for Varnish
15226 compatibility. This also works with Squid in reverse-proxy mode. If you wish
15227 to support Squid configured in forward-proxy mode, set
15228 $wgSquidPurgeUseHostHeader to false.
15229 * (bug 37020) sql.php with readline eats semicolon.
15230 * (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
15231 disabled, and don't wrap HTML-syntax definition lists in paragraphs.
15232 * (bug 41409) Diffs while editing an old revision should again diff against the
15234 * (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions
15235 caught during API execution.
15236 * (bug 37963) Fixed loading process for user options.
15237 * (bug 26995) Update filename field on Upload page after having sanitized it.
15238 * (bug 41793) Contribution links to users with 0 edits on Special:ListUsers
15239 didn't show up red.
15240 * (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API
15242 * (bug 42036) Account creation emails now contain canonical (not
15243 protocol-relative) URLs.
15244 * (bug 41990) Fix regression: API edit with redirect=true and lacking
15245 starttimestamp and basetimestamp should not cause an edit conflict.
15246 * (bug 41706) EditPage: Preloaded page should be converted if possible and
15248 * (bug 41886) Rowspans are no longer exploded by tablesorter until the table is
15250 * (bug 2865) User interface HTML elements don't use lang attribute.
15251 (completed the fix by adding the lang attribute to firstHeading).
15252 * (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories.
15253 * (bug 36053) Log in "returnto" feature forgets query parameters if no
15254 title parameter was specified.
15255 * (bug 42410) API action=edit now returns correct timestamp for the new edit.
15256 * (bug 14901) Email notification mistakes log action for new page creation.
15257 Enotif no longer sends "page has been created" notifications for some log
15258 actions. The following events now have a correct message: page creation,
15259 deletion, move, restore (undeletion), change (edit). Parameter
15260 $CHANGEDORCREATED is deprecated in 'enotif_body' and scheduled for removal in
15262 * (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based
15263 skins, the heading levels have been changed from (variously per skin)
15264 <h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them.
15265 If you are styling or scripting the headings in a custom way, this change
15266 will require updates to your site's CSS or JS.
15267 * (bug 41342) jquery.suggestions should cancel any active (async) fetches
15268 before it triggers another fetch.
15269 * (bug 42184) $wgUploadSizeWarning missing second variable.
15270 * (bug 34581) removeUnusedAccounts.php maintenance script now ignores newuser
15271 log when determining whether an account is used.
15272 * (bug 43379) Gracefully fail if rev_len is unavailable for a revision on the
15274 * (bug 42949) API no longer assumes all exceptions are MWException.
15275 * (bug 41733) Hide "New user message" (.usermessage) element from printable
15277 * (bug 39062) Special:Contributions will display changes that don't have
15278 a parent id instead of just an empty bullet item.
15279 * (bug 37209) "LinkCache doesn't currently know about this title" error fixed.
15280 * wfMerge() now works if $wgDiff3 contains spaces
15281 * (bug 43052) mediawiki.action.view.dblClickEdit.dblClickEdit should trigger
15282 ca-edit click instead opening URL directly.
15283 * (bug 43964) Invalid value of "link" parameter in <gallery> no longer produces
15285 * (bug 44775) The username field is not pre-filled when creating an account.
15286 * (bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:"
15287 URL without address
15288 * (bug 45012) Creating an account by e-mail can no longer show a
15289 "password mismatch" error.
15290 * (bug 44599) On Special:Version, HEADs for submodule checkouts (e.g. for
15291 extensions) performed using Git 1.7.8+ should now appear.
15292 * (bug 42184) $wgUploadSizeWarning missing second variable
15293 * (bug 40326) Check if files exist with a different extension during uploading
15294 * (bug 34798) Updated CSS for Atom/RSS recent changes feeds to match on-wiki
15296 * (bug 42430) Calling numRows on MySQL no longer propagates unrelated errors.
15297 * (bug 44719) Removed mention of non-existing maintenance/migrateCurStubs.php
15298 script in includes/DefaultSettings.php
15299 * (bug 45143) jquery.badge: Treat non-Latin variants of zero as zero as well.
15300 * (bug 46151) mwdocgen.php should not ignore exit code of doxygen command.
15301 * (bug 41889) Fix $.tablesorter rowspan exploding for complex cases.
15303 === API changes in 1.21 ===
15304 * prop=revisions can now report the contentmodel and contentformat.
15305 See docs/contenthandler.txt.
15306 * action=edit and action=parse now support contentmodel and contentformat
15307 parameters to control the interpretation of page content.
15308 See docs/contenthandler.txt for details.
15309 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing
15311 * (bug 40111) Disable minor edit for page/section creation by API.
15312 * (bug 41042) Revert change to action=parse&page=... behavior when the page
15314 * (bug 27202) Add timestamp sort to list=allimages.
15315 * (bug 43137) Don't return the sha1 of revisions through the API if the content
15316 is revision-deleted.
15317 * ApiQueryImageInfo now also returns imageinfo for redirects.
15318 * list=alltransclusions added to enumerate every instance of page embedding
15319 * list=alllinks & alltransclusions now allow both 'from' and 'continue' in
15320 the same query. When both are present, 'from' is simply ignored.
15321 * list=alllinks & alltransclusions now allow 'unique' in generators, to yield
15322 a list of all link/template target pages instead of source pages.
15323 * BREAKING CHANGE: list=logevents output format changed for details of some log
15324 types. Specifically, details that were formerly reported under a key like
15325 "4::foo" will now be reported under a key of simply "foo".
15326 * BREAKING CHANGE: '??_badcontinue' error code was changed to '??badcontinue'
15327 for all query modules.
15328 * ApiQueryBase adds 'badcontinue' error code if module has 'continue' parameter.
15329 * (bug 35885) Removed version parameter and all getVersion() methods.
15330 * action=options now takes a "resetkinds" option, which allows only resetting
15331 certain types of preferences when the "reset" option is set.
15332 * (bug 36751) ApiQueryImageInfo now returns imageinfo for the redirect target
15333 when queried with &redirects=.
15334 * (bug 31849) ApiQueryImageInfo no longer gets confused when asked for info on
15335 a redirect and its target.
15336 * (bug 43849) ApiQueryImageInfo no longer throws exceptions with ForeignDBRepo
15338 * On error, any warnings generated before that error will be shown in the
15340 * action=help supports generalized submodules (modules=query+value),
15341 querymodules obsolete
15342 * ApiQueryImageInfo continuation is more reliable. The only major change is
15343 that the imagerepository property will no longer be set on page objects not
15344 processed in the current query (i.e. non-images or those skipped due to
15346 * Add supports for all pageset capabilities - generators, redirects,
15347 converttitles to action=purge and action=setnotificationtimestamp.
15348 * (bug 43251) prop=pageprops&ppprop= now accepts multiple props to query.
15349 * ApiQueryImageInfo will now limit the number of calls to File::transform made
15350 in any one query. If there are too many, iicontinue will be returned.
15351 * action=query&meta=siteinfo&siprop=general will now return the regexes used for
15352 link trails and link prefixes. Added for Parsoid support.
15353 * Added an API query module list=pageswithprop, which lists pages using a
15354 particular page property.
15355 * Added an API query module list=pagepropnames, which lists all page prop names
15356 currently in use on the wiki.
15357 * (bug 44921) ApiMain::execute() will now return after the CORS check for an
15358 HTTP OPTIONS request.
15359 * (bug 44923) action=upload works correctly if the entire file is uploaded in
15361 * Added 'continue=' parameter to streamline client iteration over complex query
15363 * (bug 44909) API parameters may now be marked as type "upload", which is now
15364 used for action=upload's 'file' and 'chunk' parameters. This type will raise
15365 an error during parameter validation if the parameter is given but not
15366 recognized as an uploaded file.
15367 * (bug 44244) prop=info may now return the number of people watching each page.
15368 * (bug 33304) list=allpages will no longer return duplicate entries when
15369 querying protection.
15370 * (bug 33304) list=allpages will now find really old indefinite protections.
15371 * (bug 45937) meta=allmessages will report a syntactically invalid lang as a
15372 proper error instead of as an uncaught exception.
15373 * (bug 25325) added support for wlshow filtering (bots/anon/minor/patrolled)
15374 to action=feedwatchlist
15375 * WDDX formatted output will actually be formatted (and normal output will no
15376 longer be), and will no longer choke on booleans.
15378 === API internal changes in 1.21 ===
15379 * For debugging only, a new global $wgDebugAPI removes many API restrictions
15381 Never use on the production servers, as this flag introduces security holes.
15382 Whenever enabled, a warning will also be added to all output.
15383 * ApiModuleManager now handles all submodules (actions,props,lists) and
15385 * Query stores prop/list/meta as submodules
15386 * ApiPageSet can now be used in any action to process titles/pageids/revids or
15388 * BREAKING CHANGE: ApiPageSet constructor now has two params instead of three,
15389 with only the first one keeping its meaning. ApiPageSet is now derived from
15391 * BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were
15393 * ApiQueryGeneratorBase::setGeneratorMode() now requires a pageset param.
15394 * $wgAPIGeneratorModules is now obsolete and will be ignored.
15395 * Added flags ApiResult::OVERRIDE and ADD_ON_TOP to setElement() and addValue()
15396 * Internal API calls will now include <warnings> in case of unused parameters
15398 === Languages updated in 1.21 ===
15400 MediaWiki supports over 350 languages. Many localisations are updated
15401 regularly. Below only new and removed languages are listed, as well as
15402 changes to languages because of Bugzilla reports.
15404 * South Azerbaijani (azb) added.
15405 * (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch').
15406 * (bug 45436) Autonym for pi (Pali) is now 'पालि' (was ''पाळि').
15407 * (bug 34977) Now formatted numbers in Spanish use space as separator
15408 for thousands, as mandated by the Real Academia Española.
15409 * (bug 35031) Kurdish formatted numbers now use period and comma
15410 as separators for thousands and decimals respectively.
15412 === Other changes in 1.21 ===
15413 * BREAKING CHANGE: (bug 44385) Removed the jquery.collapsibleTabs module and
15414 moved it to the Vector extension. It was entirely Vector-extension-specific,
15415 deeply interconnected with the extension, and this functionality really
15416 belongs to the extension instead of the skin anyway. In the unlikely case you
15417 were using it, you have to either copy it to your extension, or install the
15418 Vector extension (and possibly disable its features using config settings if
15419 you don't want them).
15420 * Experimental IBM DB2 support was removed due to lack of interest and
15422 * BREAKING CHANGE: Filenames of maintenance scripts were standardized into
15423 lowerCamelCase format, and made more explicit:
15424 - clear_stats.php -> clearCacheStats.php
15425 - clear_interwiki_cache.php -> clearInterwikiCache.php
15426 - initStats.php -> initSiteStats.php
15427 - proxy_check.php -> proxyCheck.php
15428 - stats.php -> showCacheStats.php
15429 - showStats.php -> showSiteStats.php.
15430 Class names were renamed accordingly:
15431 - clear_stats -> ClearCacheStats
15432 - InitStats -> InitSiteStats
15433 - CacheStats -> ShowCacheStats
15434 - ShowStats -> ShowSiteStats.
15435 * BREAKING CHANGE: (bug 38244) Removed the mediawiki.api.titleblacklist module
15436 and moved it to the TitleBlacklist extension.
15440 == MediaWiki 1.20.8 ==
15441 This is a security release of the MediaWiki 1.20 branch.
15443 === Changes since 1.20.7 ===
15444 * (bug 53032) SECURITY: Don't cache when a call could autocreate
15445 * (bug 55332) SECURITY: Improve css javascript detection
15446 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
15447 * Fix comma errors in various js files
15450 == MediaWiki 1.20.7 ==
15451 This is a security release of the MediaWiki 1.20 branch.
15453 === Changes since 1.20.6 ===
15454 * SECURITY: Fix extension detection with 2 .'s
15455 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
15456 * SECURITY: Sanitize ResourceLoader exception messages
15457 * Purge upstream caches when deleting file assets.
15459 == MediaWiki 1.20.6 ==
15460 This is a security and maintenance release of the MediaWiki 1.20 branch.
15462 === Changes since 1.20.5 ===
15463 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
15464 chunks of upload, during the upload process.
15465 * (bug 44327) mediawiki.user: Use session ID instead of 1-year cross-session
15467 * (bug 47202) wikibits: FF2Fixes.css should not be loaded in Firefox 20.
15468 * (bug 31044) Make ResourceLoader behave in read-only mode
15470 == MediaWiki 1.20.5 ==
15471 This is a security and maintenance release of the MediaWiki 1.20 branch.
15473 === Changes since 1.20.4 ===
15474 * (bug 46590) Add hook AbortChangePassword to Special:ChangePassword
15475 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
15476 * Localisation updates from http://translatewiki.net.
15477 * mwdocgen.php: Implement --version option.
15478 * Remove svnstat stuff used in Doxygen generation
15479 * (bug 43594) Correctly suppress warnings that were missed after the upstream
15480 * PHP change to E_STRICT being included in E_ALL.
15482 == MediaWiki 1.20.4 ==
15483 This is a security release of the MediaWiki 1.20 branch.
15485 === Changes since 1.20.3 ===
15486 * (bug 47251) SECURITY: Disable external entities in Import
15487 * (bug 46859) SECURITY: Disable external entities in XMLReader
15488 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
15490 == MediaWiki 1.20.3 ==
15491 This is a security and maintenance release of the MediaWiki 1.20 branch.
15493 === Changes since MediaWiki 1.20.2 ===
15494 * New preference type - 'api'. Preferences of this type are not shown on
15495 Special:Preferences, but are still available via the action=options API.
15497 * (bug 44010) Context is passed to UserGetLanguageObject.
15498 * The recursion guard on RequestContext::getLanguage() was weakened.
15499 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
15500 * (bug 44024) Fixed problems in ObjectCache when using XCache.
15501 * (bug 44010) FauxRequest leaked cookie data from primary request.
15502 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
15503 * (bug 43518) API action=unblock should return the user name, not the full user
15505 * (bug 45355) Prevent read of arbitrary files through mwdoc-filter.php
15507 == MediaWiki 1.20.2 ==
15508 This is a maintenance release of the MediaWiki 1.20 branch
15510 === Changes since MediaWiki 1.20.1 ===
15511 * (bug 42638) Fix API action=options&reset=1 & unit tests.
15512 * (bug 42370) Fixed backport of 60cc060 to use mDoneWrites — caused
15513 * (bug 42592) User rights, preferences and other things are not saving in
15516 == MediaWiki 1.20.1 ==
15517 This is a security release of the MediaWiki 1.20 branch
15519 === Changes since 1.20.0 ===
15520 * (bug 42202) Validate options to prevent html injection
15521 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
15522 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
15523 * Javscript Lint fixes
15524 * (bug 40632) Remove CleanupPresentationalAttributes feature
15525 * [Database] Fixed case where trx idle callbacks might be lost.
15527 == MediaWiki 1.20.0 ==
15529 === PHP 5.3 now required ===
15530 Since 1.20, the lowest supported version of PHP is now 5.3.2. Please
15531 upgrade PHP if you have not done so prior to upgrading MediaWiki.
15533 === Configuration changes in 1.20 ===
15534 * $wgGitRepositoryViewers defines a mapping from Git remote repository to the
15535 Gitweb instance URL used in Special:Version.
15536 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on
15537 servers using like nginx, lighttpd, and apache over fastcgi. MediaWiki now
15538 always extracts path info from REQUEST_URI if it's available.
15539 * The user right 'upload_by_url' is no longer given to sysops by default.
15540 This only affects installations which have $wgAllowCopyUploads set to true.
15541 * Removed f-prot support from $wgAntivirusSetup.
15542 * New variable $wgDBerrorLogTZ to provide dates in the error log in a
15543 different timezone than the wiki timezone set by $wgLocaltimezone.
15544 * New variables $wgDBssl and $wgDBcompress to enable SSL and compression for
15545 database connections, if either are available for the selected DB type.
15546 * $wgUseCombinedLoginLink now defaults to false, making MediaWiki output
15547 separate login and create account links by default.
15549 === New features in 1.20 ===
15550 * Added TitleIsAlwaysKnown hook which gets called when determining if a page
15552 * Added NamespaceIsMovable hook which gets called when determining if pages in a
15553 certain namespace can be moved.
15554 * Added SpecialPageBeforeExecute hook which gets called before
15555 SpecialPage::execute.
15556 * Added SpecialPageAfterExecute hook which gets called after
15557 SpecialPage::execute.
15558 * Added ORMTable, ORMRow and ORMResult classes for additional abstraction of
15559 database interaction.
15560 * Added CacheHelper and associated SpecialCachedPage and CachedAction helper
15562 * (bug 32341) Add upload by URL domain limitation.
15563 * &useskin=default will now always display the default skin. Useful for users
15564 with a preference for the non-default skin to look at something using the
15566 * (bug 27619) Remove preference option to display broken links as link?
15567 * (bug 34896) jQuery JSON plugin upgraded to v2.3 (2011-09-17).
15568 * (bug 34302) Add CSS classes to email fields in user preferences.
15569 * Introduced $wgDebugDBTransactions to trace transaction status (currently
15571 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
15572 * Introduce a cryptographic random number generator source api for use when
15573 generating various tokens.
15574 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show
15576 * (bug 18062) New message when edit or create the local page of a shared file.
15577 * (bug 22870) Separate interface message when creating a page.
15578 * (bug 17615) nosummary option should be reassigned on preview/captcha.
15579 * (bug 34355) Add a variable and parser function for the namespace number.
15580 * (bug 35649) Special:Version now shows hashes of extensions checked out from
15582 * (bug 35728) Git revisions are now linked on Special:Version.
15583 * "Show Changes" on default messages shows now diff against default message text
15584 * (bug 23006) create #speciale parser function.
15585 * generateSitemap can now optionally skip redirect pages.
15586 * (bug 27757) New API command just for retrieving tokens (not page-based).
15587 * Added GitViewers hook for extensions using external git repositories to have a
15588 web-based repository viewer linked to from Special:Version.
15589 * Memcached debug logs can now be sent to their own file logs by setting
15590 $wgDebugLogFile['memcached'] to some filepath.
15591 * (bug 35685) api.php URL and other entry point URLs are now listed on
15593 * Edit notices can now be translated.
15594 * jQuery upgraded to 1.8.2.
15595 * jQuery UI upgraded to 1.8.23.
15596 * QUnit upgraded from v1.2.0 to v1.10.0.
15597 * (bug 37604) jquery.cookie upgraded to 2011 version.
15598 * (bug 22887) Add warning and tracking category for preprocessor errors
15599 * (bug 31704) Allow selection of associated namespace on the watchlist
15600 * (bug 5445) Now remove autoblocks when a user is unblocked.
15601 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
15603 * Added device detection for determining device capabilities.
15604 * QUnit.newMwEnvironment now supports passing a custom setup and/or teardown
15605 function. Arguments signature has changed. First arguments is now an options
15606 object of which 'config' can be a property. Previously 'config' itself was the
15607 first and only argument.
15608 * New getCreator and getOldestRevision methods added to WikiPage class
15609 * (bug 4220) the XML dump format schema now have unique identity constraints
15610 for page and revision identifiers. Patch by Elvis Stansvik.
15611 * cleanupSpam.php now can delete spam pages if --delete was specified instead of
15613 * Added new hook ChangePasswordForm to allow adding of additional fields in
15614 Special:ChangePassword
15615 * Added new function getDomain to AuthPlugin for getting a user's domain
15616 * (bug 23427) New magic word {{PAGEID}} which gives the current page ID.
15617 Will be null on previewing a page being created.
15618 * (bug 37627) UserNotLoggedIn() exception to show a generic error page whenever
15619 a user is not logged in.
15620 * Watched status in changes lists are no longer indicated by <strong></strong>
15621 tags with class "mw-watched". Instead, each line now has a class
15622 "mw-changeslist-line-watched" or "mw-changeslist-line-not-watched", and the
15623 title itself is surrounded by <span></span> tags with class "mw-title".
15624 * Added ContribsPager::reallyDoQuery hook allowing extensions to data to
15626 * Added new hook ParserAfterParse to allow extensions to affect parsed output
15627 after the parse is complete but before block level processing, link holder
15628 replacement, and so on.
15629 * (bug 34678) Added InternalParseBeforeSanitize hook which gets called during
15630 Parser's internalParse method just before the parser removes
15631 unwanted/dangerous HTML tags.
15632 * Added new hook AfterFinalPageOutput to allow modifications to buffered page
15633 output before sent to the client.
15634 * (bug 36783) Implement jQuery Promise interface in mediawiki.api module.
15635 * Make dates in sortable tables sort according to the page content language
15636 instead of the site content language
15637 * (bug 37926) Deleterevision will no longer allow users to delete log entries,
15638 the new deletelogentry permission is required for this.
15639 * (bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
15640 'files' and 'subcats'
15641 * (bug 38362) Make Special:Listuser includeable on wiki pages.
15642 * Added support in jquery.localize for placeholder attributes.
15643 * (bug 38151) Implemented mw.user.getRights for getting and caching the current
15644 user's user rights.
15645 * Session storage can now configured independently of general object cache
15646 storage, by using $wgSessionCacheType. $wgSessionsInMemcached has been
15647 renamed to $wgSessionsInObjectCache, with the old name retained for backwards
15648 compatibility. When this feature is enabled, the expiry time can now be
15649 configured with $wgObjectCacheSessionExpiry.
15650 * Added a Redis client for object caching.
15651 * Implemented mw.user.getGroups for getting and caching user groups.
15652 * (bug 37830) Added $wgRequirePasswordforEmailChange to control whether password
15653 confirmation is required for changing an email address or not.
15654 * HTMLForm mutators can now be chained (they return $this)
15655 * A new message, "api-error-filetype-banned-type", is available for formatting
15656 API upload errors due to the file extension blacklist.
15657 * New hook 'ParserTestGlobals' allows to set globals before running parser
15659 * Allow importing pages as subpage.
15660 * Add lang and hreflang attributes to language links on Login page.
15661 * (bug 22749) Create Special:MostInterwikis.
15662 * Show change tags when transclude Special:Recentchanges(linked) or
15664 * (bug 23226) Add |class= parameter to image links in order to add class(es) to
15666 * (bug 39431) SVG animated status is now shown in long description.
15667 * (bug 39376) jquery.form upgraded to 3.14.
15668 * SVG files will now show the actual width in the SVG's specified units
15669 in the metadata box.
15670 * Added ResourceLoader module "jquery.jStorage" (v0.3.0, http://jStorage.info/).
15671 * (bug 39273) Added AJAX support for "Show changes" (diff) in LivePreview.
15672 * Added ResourceLoader module "jquery.badge".
15673 * mw.util.$content now points to the overall content area in the skin rather
15674 than just page text content area. If you need the old behavior please use
15675 $( '#mw-content-text').
15676 * jsMessage has been replaced with a floating bubble notification system
15677 complete with auto-hide, multi-message support, and message replacement tags.
15678 * jquery.messageBox which appears to be unused by both core and extensions has
15680 * (bug 34939) Made link parsing insensitive ([HttP://]).
15681 * (bug 40072) Add CSS classes to items in output of ChangesList pages.
15682 * Added $wgCopyUploadProxy global to define which proxy to use for copy
15684 * (bug 40448) mediawiki.legacy.mwsuggest has been replaced with a new module,
15685 mediawiki.searchSuggest, based on SimpleSearch from Extension:Vector.
15687 === Known issues in 1.20.0 ===
15688 These are issues that we're targeting to be fixed in a later release
15689 in the 1.20 series. Issues may be added or removed from this list as
15690 we see fit. For now, it is comprised of those bugs on the 1.20.0
15691 milestone in Bugzilla.
15693 * (bug 35894): Reports of secret key generation "hanging" on windows
15694 This is probably a bug that has been fixed in PHP. If you run
15695 into this, try upgrading your PHP.
15696 * (bug 38334): PHP Notice: Undefined index: href in /www/w/skins/Vector.php on
15698 We think this is a problem in some extension. If you see this,
15699 try disabling your extensions and check out the logging patch on
15700 this bug. Or try this patch:
15701 <https://gerrit.wikimedia.org/r/#/c/27937/1/skins/Vector.php>
15702 * (bug 39268): [Regression] Toolbar inserts in main textarea only (instead of
15703 the focussed textarea)
15704 This should only be an issue if you are using the ProofreadPage
15706 * (bug 40641): Clicking "others" in Special:Version asks to download a file
15707 If you encounter this, you can tell your webserver to serve the
15708 CREDITS file with text/plain MIME type to fix it.
15710 === Bug fixes in 1.20 ===
15711 * (bug 40939): [Regression] InfoAction: Call to a member function getUserText()
15713 * (bug 40780): searchsuggest-containing line ("containing...") doesn't include
15715 * (bug 37714): [Regression] Incomplete log entries
15716 * (bug 27202): API: Add timestamp sort to list=allimages
15717 * (bug 30245) Use the correct way to construct a log page title.
15718 * (bug 34237) Regenerate an empty user_token and save to the database
15719 when we try to set the user's cookies for login.
15720 * (bug 32210) New edit emails for watched pages always provide a link to the
15721 edit which triggered the mail.
15722 * (bug 12021) Added user talk link on Special:Listusers.
15723 * (bug 34445) section edit and TOC hide/show links are excluded from selection
15724 and copy/paste on supporting browsers.
15725 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
15726 history compression method.
15727 * (bug 34702) Localised parentheses are now used in more special pages.
15728 * (bug 34723) When editing a script page on a RTL wiki the textbox should be
15730 * (bug 34762) Calling close() on a DatabaseBase object now clears the
15732 * (bug 34863) Show deletion log extract on non-existent file pages if
15734 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
15735 Special:MyPage and Special:MyTalk.
15736 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
15738 * (bug 15816) Add a switch for SETting the search_path (Postgres).
15739 * (bug 34521) Returning to the previous page after logging in loses any array-
15740 valued parameters in the query string.
15741 * (bug 34735) Updated compressOld.php documentation to mention the different
15742 usages of -s and -n parameters depending on compression type.
15743 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
15744 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when
15745 trying to defer foreign key for externallinks.
15746 * (bug 32748) Printer friendly version of article decode Unicode chars as a
15747 pretty IRI in footer.
15748 * Removed white border around thumbnails in galleries.
15749 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
15750 an RTL environment.
15751 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
15752 Subversion when invoked with the --modified option.
15753 * (bug 35069) On history pages, the " . . " separator after the number of
15754 characters changed in a revision is now suppressed if no text would follow.
15755 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at
15757 * (bug 33564) transwiki import sometimes result in invalid title.
15758 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB
15760 * (bug 31757) Add a word-separator between help-messages in HTMLForm
15761 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
15762 * (bug 32604) Some messages needs escaping of wikitext inside username.
15763 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with
15765 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
15766 in user language instead of content language.
15767 * (bug 35264) Wrong type used for <ns> in export.xsd
15768 * (bug 24985) Use $wgTmpDirectory as the default temp directory so that people
15769 who don't have access to /tmp can specify an alternative.
15770 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
15771 * (bug 35727) mw.Api ajax() should put token parameter last.
15772 * (bug 37708) mw.Uri.clone() should make a deep copy.
15773 * (bug 38024) ResourceLoader should not create empty stylesheets for modules
15774 that don't have stylesheets.
15775 * (bug 36812) Special:ActiveUsers "Hide bots" should hide users from any group
15776 having the "bot" user right, instead of just the default "bot" user group.
15777 * (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple <ul> tags.
15778 * (bug 36991) jquery.tablesorter should extract date sort format from date
15779 string instead of global config. Dates like "April 1 2012" and "1 April 2012"
15780 now sort correctly regardless of the content language's DefaultDateFormat.
15781 * (bug 31895) mw.loader mode now correct when triggered from a $.fn.ready
15782 handler that is bound before mediawiki.js's handler (e.g. browser-userscripts
15783 like greasemonkey).
15784 * (bug 38152) jquery.tablesorter: Use .data() instead of .attr(), so that live
15785 values are used instead of just the fixed values from when the tablesorter
15787 * (bug 38093) Gender of changed user groups missing in Special:Log/rights
15788 * (bug 35893) Special:Block needs to load mediawiki.special.block.js.
15789 * (bug 37331) ResourceLoader modules sometimes execute twice in Firefox
15790 * (bug 31644) GlobalUsage, CentralAuth and AbuseLog extensions should not use
15791 insecure links to foreign wikis in the WikiMap.
15792 * (bug 36073) Avoid duplicate element IDs on File pages.
15793 * (bug 25095) Special:Categories should also include the first relevant item
15794 when "from" is filled.
15795 * (bug 35526) jquery.tablesorter now uses a stable sort.
15796 * (bug 38953) --memory-limit switch not working for runJobs.php.
15797 * (bug 33037) Make subpage of Special:newfiles control how many files
15798 are returned, like in previous versions.
15799 * (bug 36524) "Show" options on Special:RecentChanges and
15800 Special:RecentChangesLinked are now remembered between successive clicks.
15801 * (bug 26069) Page title is no longer "Error" for all error pages.
15802 * (bug 39297) Show warning if thumbnail of animated image will not be animated.
15803 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
15804 PCRE is compiled without support for unicode properties.
15805 * (bug 30390) Suggested file name on Special:Upload should not contain
15806 illegal characters.
15807 * EXIF below sea level GPS altitude data is now shown correctly.
15808 * (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a
15810 * (bug 39273) "Show changes" should not be incorrectly displayed in the Live
15812 * Made body-content lang attribute honor the variant language when it is set.
15813 * (bug 36761) "Mark pages as visited" now submits previously established filter
15815 * (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error.
15816 * (bug 36329) Accesskey tooltips for Firefox 14 on Mac should use "ctrl-option-"
15818 * (bug 32552) Drop unused database field cat_hidden from table category.
15819 * (bug 24502) Do not allow multiple language links to the same language.
15820 * (bug 40214) Category pages no longer use deprecated "width" HTML attribute.
15821 * (bug 39941) Add missing stylesheets to the installer pages
15822 * In HTML5 mode, allow new input element types values (such as color, range..)
15823 * (bug 36151) mw.Title: Don't limit extension in title parsing.
15824 * (bug 38158) jquery.byteLimit sometimes causes an unexpected 0 maxLength being
15826 * (bug 38163) jquery.byteLimit incorrectly limits input when using methods other
15827 than basic per-char typing.
15828 * (bug 34495) patrol log now credit the user patrolling (instead of patrolled
15830 * (bug 31676) ResourceLoader should work around IE stylesheet limit.
15831 * (bug 40498) ResourceLoader should not output an empty "@media print { }"
15833 * (bug 40500) ResourceLoader should not ignore media-type for urls in debug
15835 * (bug 40660) ResourceLoaderWikiModule should not convert " " to a space
15836 for pages from the MediaWiki-namespace.
15837 * (bug 40329) (bug 40632) Removed CleanupPresentationalAttributes feature.
15839 === API changes in 1.20 ===
15840 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
15841 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
15842 the format parameter.
15843 * (bug 32384) Allow descending order for list=watchlistraw.
15844 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is
15845 not documented in API help.
15846 * (bug 32492) API now allows editing using pageid.
15847 * (bug 32497) API now allows changing of protection level using pageid.
15848 * (bug 32498) API now allows comparing pages using pageids.
15849 * (bug 30975) API import of pages with invalid characters in this wiki leads to
15851 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per
15853 * (bug 34927) Output media_type for list=filearchive.
15854 * (bug 28814) add properties to output of action=parse.
15855 * (bug 33224) add variants of content language to meta=siteinfo.
15856 * (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit
15858 * The paraminfo module now also contains result properties for most modules.
15859 * (bug 32348) Allow descending order for list=alllinks.
15860 * (bug 31777) Upload unknown error ``fileexists-forbidden''.
15861 * (bug 32382) Allow descending order for list=iwbacklinks.
15862 * (bug 32381) Allow descending order for list=backlinks, list=embeddedin and
15864 * (bug 32383) Allow descending order for list=langbacklinks.
15865 * API meta=siteinfo can now return the list of known variable IDs.
15866 * (bug 35980) list=deletedrevs now honors drdir correctly in "all" mode
15868 * (bug 29290) API avoids mangling fields in continuation parameters
15869 * (bug 36987) API avoids mangling fields in continuation parameters
15870 * (bug 30836) siteinfo prop=specialpagealiases will no longer return nonexistent
15872 * (bug 38190) Add "required" flag to some token params for hint in api docs.
15873 * (bug 27567) Add file repo support to prop=duplicatefiles.
15874 * (bug 27610) Add archivename for non-latest image version to list=filearchive
15875 * (bug 38231) Add xml parse tree to action=parse.
15876 * Watchlist notification timestamp may be queried by page and may be updated via
15878 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
15879 * (bug 39032) ApiQuery generates help in constructor.
15880 * (bug 11142) Improve file extension blacklist error reporting in API upload.
15881 * (bug 39665) List of query generators is now not built using reflection,
15882 instead it is defined in code.
15883 * (bug 35993) Deprecated gettoken parameter - support will be removed in 1.22.
15885 === Languages updated in 1.20 ===
15887 MediaWiki supports over 350 languages. Many localisations are updated
15888 regularly. Below only new and removed languages are listed, as well as
15889 changes to languages because of Bugzilla reports.
15891 * Emilian (egl) added.
15892 * Tornedalen Finnish (fit) added.
15893 * Mizo (lus) added.
15894 * Santali (sat) added.
15895 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
15896 * (bug 35541) Namespace gender aliases for Croatian (hr).
15897 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
15898 Portuguese, Esperanto and Udmurt.
15899 * Turoyo (tru) added.
15900 * Cyrillic-Latin language converter added for Uzbek (uz).
15902 === Other changes in 1.20 ===
15903 * The user_token field is now left empty until a user attempts to login and
15904 cookies need to be set. It is also now possible to reset every user's
15905 user_token simply by clearing the values in the user_token column.
15906 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
15907 has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
15908 which actually uses ResourceLoader, LocalSettings and the Skin.
15909 * Removed $wgDBtransactions global. This was only checked in one class
15910 and only applies to MyISAM or similar DBs. Those should only be used
15911 for archived sites anyway. We can't get edit conflicts on such sites,
15912 so the WikiPage code wasn't useful there either.
15913 * Deprecated mw.user.name in favour of mw.user.getName.
15914 * Deprecated mw.user.anonymous in favour of mw.user.isAnon.
15915 * Deprecated DatabaseBase functions newFromParams(), newFromType(), set(),
15916 quote_ident(), and escapeLike() were removed.
15917 * Use of __DIR__ instead of dirname( __FILE__ ).
15918 * OutputPage::wrapWikiMsg() no longer supports the 'options' parameter. It was
15919 not used and complicated migration to Message class.
15920 * Live preview functionality has been improved and moved into the
15921 'mediawiki.action.edit.preview' module. The old 'mediawiki.legacy.preview'
15922 module has been removed.
15923 * (bug 40448) Removed mediawiki.legacy.mwsuggest module, and removed the
15924 following that has become obsolete:
15925 - globals $wgEnableMWSuggest and $wgMWSuggestTemplate.
15926 - mw.config.values wgMWSuggestTemplate and wgSearchNamespaces.
15927 - method SearchEngine::getMWSuggestTemplate().
15929 == MediaWiki 1.19 ==
15931 == MediaWiki 1.19.24 ==
15933 This is a security and maintenance release of the MediaWiki 1.19 branch.
15935 === Changes since 1.19.23 ===
15937 * ({{bug|T85848}}, {{bug|T71210}}) SECURITY: Don't parse XMP blocks that
15938 contain XML entities, to prevent various DoS attacks.
15939 * ({{bug|T88310}}) SECURITY: Always expand xml entities when checking SVG's.
15940 * ({{bug|T73394}}) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
15941 * ({{bug|T85855}}) SECURITY: Don't execute another user's CSS or JS on preview.
15942 * ({{bug|T85349}}, {{bug|T85850}}, {{bug|T86711}}) SECURITY: Multiple issues
15943 fixed in SVG filtering to prevent XSS and protect viewer's privacy.
15945 == MediaWiki 1.19.23 ==
15947 This is a security and maintenance release of the MediaWiki 1.19 branch.
15949 === Changes since 1.19.22 ===
15951 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
15952 could lead to xss. Permission to edit MediaWiki namespace is required to
15954 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
15955 * Add missing $ in front of variable in OutputPage.php
15957 == MediaWiki 1.19.22 ==
15959 This is a security and maintenance release of the MediaWiki 1.19 branch.
15961 === Changes since 1.19.21 ===
15963 * ({{bug|66776}}, {{bug|71478}}) SECURITY: User PleaseStand reported a way to
15964 inject code into API clients that used format=php to process pages that
15965 underwent flash policy mangling. This was fixed along with improving how the
15966 mangling was done for format=json, and allowing sites to disable the mangling
15967 using $wgMangleFlashPolicy.
15968 * ({{bug|72222}}) SECURITY: Do not show log action when the entry is revdeleted
15969 with DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
15970 public RFC about the desired functionality. This issue was reported by user
15972 * ({{bug|71621}}) Make allowing site-wide styles on restricted special pages a
15974 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
15975 might be a flash policy directive configurable.
15977 == MediaWiki 1.19.21 ==
15978 This is a maintenance release of the MediaWiki 1.19 branch.
15980 === Changes since 1.19.20 ===
15981 * (bug 67440) Allow classes to be registered properly from installer.
15982 * (bug 47281) Fixed a dumpBackup.php error with --uploads
15983 --include-filesoptions: Unable to find the wrapper "mwstore".
15984 * System administrators are encouraged to upgrade to this release or 1.22+ and
15985 produce a full data dump.
15986 https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
15987 * (bug 63049) Removed anonymous functions from ApiFormatBase, added in1.19.13 as
15988 part of the fix for bug 61362, for PHP 5.2 compatibility.
15990 == MediaWiki 1.19.20 ==
15991 This is a security release of the MediaWiki 1.19 branch.
15993 === Changes since 1.19.19 ===
15994 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
15997 == MediaWiki 1.19.19 ==
15998 This is a security release of the MediaWiki 1.19 branch.
16000 === Changes since 1.19.18 ===
16001 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
16002 elements; normalize style elements and attributes before filtering; add checks
16003 for attributes that contain css; add unit tests for html5sec and reported
16006 == MediaWiki 1.19.18 ==
16007 This is a security release of the MediaWiki 1.19 branch.
16009 === Changes since 1.19.17 ===
16010 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
16011 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
16014 == MediaWiki 1.19.17 ==
16015 This is a security and maintenance release of the MediaWiki 1.19 branch.
16017 === Changes since 1.19.16 ===
16018 * (bug 65839) SECURITY: Prevent external resources in SVG files.
16019 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
16020 only extracting the tail of the file partially or not at all.
16022 == MediaWiki 1.19.16 ==
16023 This is a security release of the MediaWiki 1.19 branch.
16025 === Changes since 1.19.15 ===
16026 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
16027 Special:PasswordReset.
16029 == MediaWiki 1.19.15 ==
16030 This is a security and maintenance release of the MediaWiki 1.19 branch.
16032 === Changes since 1.19.14 ===
16033 Fixed resetting passwords.
16034 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
16035 appear blank or with missing text.
16037 == MediaWiki 1.19.14 ==
16038 This is a security and maintenance release of the MediaWiki 1.19 branch.
16040 === Changes since 1.19.13 ===
16041 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
16042 * (bug 62467) Set a title for the context during import on the cli.
16044 == MediaWiki 1.19.13 ==
16045 This is a security and maintenance release of the MediaWiki 1.19 branch.
16047 === Changes since 1.19.12 ===
16048 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
16049 * Use the correct branch of the extensions' git repositories.
16051 == MediaWiki 1.19.12 ==
16052 This is a security release of the MediaWiki 1.19 branch.
16054 === Changes since 1.19.11 ===
16055 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
16056 namespaces. Also disallow iframe elements. * User will get an error including
16057 the namespace name if they use a non- whitelisted namespace.
16058 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
16059 our token comparison would be vulnerable to timing attacks. This will take
16062 == MediaWiki 1.19.11 ==
16063 This is a security release of the MediaWiki 1.19 branch.
16065 === Changes since 1.19.10 ===
16066 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
16069 == MediaWiki 1.19.10 ==
16070 This is a security release of the MediaWiki 1.19 branch.
16072 === Changes since 1.19.9 ===
16073 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
16074 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
16075 * (bug 58472) SECURITY: Disallow -o-link in styles
16076 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
16077 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
16079 == MediaWiki 1.19.9 ==
16080 This is a security and maintenance release of the MediaWiki 1.19 branch.
16082 === Changes since 1.19.8 ===
16083 * (bug 53032) SECURITY: Don't cache when a call could autocreate
16084 * (bug 55332) SECURITY: Improve css javascript detection
16085 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
16088 == MediaWiki 1.19.8 ==
16091 This is a security and maintenance release of the MediaWiki 1.19 branch.
16093 === Changes since 1.19.7 ===
16094 * SECURITY: Sanitize ResourceLoader exception messages
16095 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
16096 * SECURITY: Fix extension detection with 2 .'s
16097 * Allow a string other than '*' as condition for DatabaseBase::delete()
16098 * Purge upstream caches when deleting file assets.
16099 * jquery.tablesorter: Add missing dependency on jquery.mwExtension
16101 == MediaWiki 1.19.7 ==
16104 This is a security release of the MediaWiki 1.19 branch
16106 === Changes since 1.19.6 ===
16107 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
16108 chunks of upload, during the upload process.
16110 == MediaWiki 1.19.6 ==
16113 This is a security and maintenance release of the MediaWiki 1.19 branch
16115 === Changes since 1.19.5 ===
16116 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
16117 * (bug 46590) Added AbortChangePassword hook to allow extensions to abort
16118 password changes from Special:ChangePassword
16119 * Localisation updates from http://translatewiki.net.
16120 * mwdocgen.php: Implement --version option.
16121 * Remove svnstat stuff used in Doxygen generation
16122 * E_USER_DEPRECATED undefined prior to php 5.3
16124 == MediaWiki 1.19.5 ==
16127 This is a security and maintenance release of the MediaWiki 1.19 branch
16129 === Changes since 1.19.4 ===
16130 * (bug 47251) SECURITY: Disable external entities in Import
16131 * (bug 46859) SECURITY: Disable external entities in XMLReader
16132 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
16133 * (bug 43594) Fix notices displayed on PHP 5.4
16134 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
16136 == MediaWiki 1.19.4 ==
16139 This is a security release of the MediaWiki 1.19 branch
16141 === Changes since 1.19.3 ===
16142 * New preference type - 'api'. Preferences of this type are not shown on
16143 Special:Preferences, but are still available via the action=options API.
16144 * (bug 44010) Context is passed to UserGetLanguageObject.
16145 * The recursion guard on RequestContext::getLanguage() was weakened.
16146 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
16147 * (bug 43518) API action=unblock should return the user name, not the full user
16150 == MediaWiki 1.19.3 ==
16153 This is a security release of the MediaWiki 1.19 branch
16155 === Changes since 1.19.2 ===
16156 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
16157 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
16158 * Increase permitted runtime for testParserTest (only used for continuous
16160 * Updated messages translations from http://translatewiki.net/
16162 == MediaWiki 1.19.2 ==
16164 This is a security release of the MediaWiki 1.19 branch
16166 === Changes since 1.19.1 ===
16167 * (bug 39700) File: link to non-existing file can inject html
16168 * (bug 39823) Hidden block text leaking to admins
16169 * (bug 39184) LDAP password leakage
16170 * (bug 39180) Disallow framing of api results
16171 * (bug 37587) Enforce language codes to be html safe
16172 * (bug 39824) Check global blocks on account creation
16174 == MediaWiki 1.19 ==
16176 MediaWiki 1.19 is a large release that contains many new features and bug
16177 fixes. This is a summary of the major changes of interest to users.
16178 You can consult the RELEASE-NOTES-1.19 file for the full list of changes in
16181 Our thanks go to everyone who helped to improve MediaWiki by testing the beta
16182 release and submitting bug reports.
16184 === Changes since 1.19.1 ===
16185 * (bug 38406) Properly quote table names in DatabaseBase::tableName()
16186 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
16187 PCRE is compiled without support for unicode properties.
16189 === Changes since 1.19.0 ===
16190 * (bug 36568) Fixed "Illegal string offset 'LIMIT'" warnings in updater
16191 * (bug 36938) Correctly escape uselang attribute to prevent xss
16192 * Expanded Blacklist for SVG Files
16194 === Changes since 1.19 beta 2 ===
16195 * Special:Watchlist no longer sets links to feed when the user is anonymous.
16196 * (bug 35961) Hash comparison should always be strict.
16197 * Fix broken email confirmation expiration caused by MWCryptRand changes.
16198 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
16200 * (bug 36042) 'show' causes a fatal in blocks API.
16202 === Changes since 1.19 beta 1 ===
16203 * (bug 35014) Including a special page no longer sets the page's title to the
16205 * (bug 35019) Edit summaries are no longer transformed in notification e-mails
16206 * (bug 35152) Help message for e-mail is shown again in user preferences
16207 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
16209 * (bug 34841) Edit links are no longer displayed when display old page versions
16210 * (bug 34889) User name should be normalized on Special:Contributions
16211 * (bug 35051) If heading has a trailing space after == then its name is not
16212 preloaded into edit summary on section edit
16213 * (bug 31417) New ID mw-content-text around the actual page text, without
16214 categories, contentSub, ... The same div often also contains the class
16215 mw-content-ltr/rtl.
16216 * (bug 35303) Proxy and DNS blacklist blocking works again
16217 * (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in
16218 core parser functions which operate on strings, such as padleft.
16219 * (bug 18295) Don't expose strip markers when a tag appears inside a link
16221 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
16223 * (bug 34907) Fixed exposure of tokens through load.php that could have
16224 facilitated CSRF attacks.
16225 * (bug 35317) CSRF in Special:Upload.
16227 === Configuration changes in 1.19 ===
16228 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
16229 * (bug 27132) movefile right granted by default to registered users.
16230 * Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
16231 * (bug 31204) Removed old user.user_options.
16232 * $wgMaxImageArea now applies to jpeg files if they are not scaled with
16234 * Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of
16235 items to show by default on query pages (special pages such as Whatlinkshere).
16236 * (bug 32470) Increase the length of ug_group.
16237 * (bug 32239) Removed $wgEnableTooltipsAndAccesskeys.
16238 * Removed $wgVectorShowVariantName.
16239 * Removed $wgExtensionAliasesFiles. Use $wgExtensionMessagesFiles.
16240 * Removed $wgResourceLoaderInlinePrivateModules , now always enabled.
16242 === New features in 1.19 ===
16243 * (bug 19838) Add ability to get all interwiki prefixes also if the interwiki
16245 * $wgDnsBlacklistUrls now accepts an array with url and key as the
16246 elements to work with DNSBLs that require keys, such as
16248 * (bug 30022) Add support for custom loadScript sources to ResourceLoader.
16249 * (bug 19052) Unicode space separator characters (Zs) now terminates external
16250 links and images links.
16251 * (bug 30160) Add public method to mw.loader to get module names from registry.
16252 * (bug 15558) Parameters to special pages included in wikitext can now be passed
16254 * Installer now issues a warning if mod_security is present.
16255 * (bug 29455) Add support for a filter callback function in jQuery byteLimit
16257 * Added two new GetLocalURL hooks to better serve extensions working on a
16258 limited type of titles.
16259 * Added a --no-updates flag to importDump.php that skips updating the links
16261 * Most presentational html attributes like valign are now converted to inline
16262 css style rules. These attributes were removed from html5 and so we clean
16263 them up when $wgHtml5 is enabled. This can be disabled using
16264 $wgCleanupPresentationalAttributes.
16265 * Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not
16266 NAMESPACE) now depend on the page content language instead of the site
16267 language. In theory this sets the right magic words in system messages,
16268 although they are not used there.
16269 * (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent.
16270 * (bug 30450) Clear page_props table on page deletion.
16271 * Hook added to check for exempt from account creation throttle.
16272 * (bug 30344) Add configuration variable for setting custom priorities when
16273 generating sitemaps.
16274 * (bug 96170) Add array support for space-separated list attributes (like
16275 'class') in the Html helper class.
16276 * (bug 26470) Add checkered background image on hover on files pages.
16277 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
16278 attribute values and element contents.
16279 * Conversion script between Tifinagh and Latin for the Tachelhit language.
16280 * (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}}
16281 to stop it from replace an already existing default sort, and suppress error.
16282 * (bug 18578) Rewrote revision delete related messages to allow better
16284 * (bug 30364) LanguageConverter now depends on the page content language
16285 instead of the wiki content language.
16286 * Jump links will now be usable in CSS-capable browsers instead of only
16287 in outdated text browsers.
16288 * New common*.css files usable by skins instead of having to copy piles
16289 of generic styles from MonoBook or Vector's css.
16290 * Some deprecated presentational html attributes will now be automatically
16292 * (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter
16294 * The default user signature now contains a talk link in addition to the user
16296 * (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason.
16297 * Added hook BitmapHandlerCheckImageArea.
16298 * (bug 30062) Add $wgDBprefix option to cli installer.
16299 * getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now
16300 also called when checking for 'read' permission.
16301 * Introduce $wgEnableSearchContributorsByIP which controls whether searching
16302 for an IP address redirects to the contributions list for that IP.
16303 * (bug 8859) Database::update should take array of tables too.
16304 * (bug 19698) Add "Inverse namespaces" option to Special:Contributions.
16305 * (bug 24037) Add byte length of revision to Special:Contributions.
16306 * (bug 1672) Added $wgDisableUploadScriptChecks to allow uploading of files
16307 containing HTML or JS. DISABLING THESE CHECKS IS VERY DANGEROUS.
16308 * New path mappings can be added using the WebRequestPathInfoRouter hook
16309 and adding paths to the PathRouter.
16310 * (bug 32666) Special:ActiveUsers now allows a subpage to be used as value for
16311 the "target" query parameter (eg. Special:ActiveUsers/Username).
16312 * New JavaScript variable wgPageContentLanguage.
16313 * Added new debugging toolbar, enabled with $wgDebugToolbar.
16314 * Differences in the history page now uses slightly better colors for people
16315 perceiving colors differently.
16316 * (bug 32879) Upgrade jQuery to 1.7.1.
16317 * jQuery UI upgraded to 1.8.17.
16318 * Extensions can use the 'Language::getMessagesFileName' hook to define new
16319 languages using messages files outside of core.
16320 * (bug 32512) Add 'Associated namespace' checkbox to Special:Contributions.
16321 * Added $wgSend404Code, true by default, which can be set to false to send a
16322 200 status code instead of 404 for nonexistent articles.
16323 * (bug 33447) Link to the broken image tracking category from
16324 Special:Wantedfiles.
16325 * (bug 27724) Add timestamp to job queue.
16326 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by
16327 default, due to tests potentially being harmful, not to be run on a production
16328 wiki. Enable by setting $wgEnableJavaScriptTest to true.
16329 * Extensions can use the RequestContextCreateSkin hook to override what skin is
16330 loaded in some contexts.
16331 * (bug 33456) Show $wgQueryCacheLimit on cached query pages.
16332 * (bug 10574) Add an option to allow all pages to be exported by Special:Export.
16333 * mediawiki.js Message object constructor is now publicly available as
16335 * (bug 29309) Allow CSS class per tooltip (tipsy).
16336 * (bug 33565) Add accesskey/tooltip to submit buttons on Special:EditWatchlist.
16337 * (bug 17959) Inline rendering/thumbnailing for Gimp XCF images.
16338 * (bug 27775) Namespace has it's own XML tag in the XML dump file.
16339 * (bug 30513) Redirect tag is now resolved in XML dump file.
16340 * sha1 xml tag added to XML dump file.
16341 * (bug 33646) Badtitle error page now emits a 400 HTTP status.
16342 * Special:MovePage now has a dropdown menu for namespaces.
16343 * (bug 34420) Special:Version now shows git HEAD sha1 when available.
16344 * (bug 33952) Refactor mw.toolbar to allow dynamic additions at any time.
16346 === Bug fixes in 1.19 ===
16347 * $wgUploadNavigationUrl should be used for file redlinks if.
16348 $wgUploadMissingFileUrl is not set. The first was used for this
16349 until the second was introduced in 1.17.
16350 * BREAKING CHANGE: Style rules for wikitable are now more specific and prevent
16351 inheritance to nested tables which caused various issues (bug 30485 and bug
16352 33434). If your wiki has overridden rules for ".wikitable", please revise them
16353 and adjust where necessary. For comparison, use the "table.wikitable" section
16354 in skins/common/shared.css as base.
16355 * $wgUploadNavigationUrl is now used for file redlinks if
16356 $wgUploadMissingFileUrl is not set. The former was used for this until the
16357 second was introduced in 1.17.
16358 * (bug 27894) Move 'editondblclick' event listener down from body to
16360 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
16361 when the function exists but is disabled. Introduced
16362 Maintenance::posix_isatty().
16363 * (bug 30264) Changed installer-generated LocalSettings.php to use
16364 require_once() instead require() for included extensions.
16365 * Do not convert text in the user interface language to another script.
16366 * (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages.
16367 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
16368 warnings/notices to be thrown.
16369 * (bug 30335) Fix for HTMLForms using GET that were breaking when non-friendly
16371 * (bug 28649) Preventing half truncated multi-byte unicode characters when
16372 truncating log comments.
16373 * Show --batch-size option in help of maintenance scripts that support it.
16374 * (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
16376 * (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page
16377 by importing a new revision into it.
16378 * Allow moving the associated talk pages of subpages even if the base page
16380 * Per page edit-notices now work in namespaces without subpages enabled.
16381 * (bug 31081) $wgEnotifUseJobQ is no longer unconditionally enqueueing jobs.
16382 * (bug 30202) File names are now restricted on upload to 240 bytes, because of
16383 restrictions on some of the database fields.
16384 * Timezones are now recognised in user preferences when offset is different
16386 * (bug 31692) "summary" parameter now also works when undoing revisions.
16387 * (bug 18823) "move succeeded" text displayed bluelinks even when redirect was
16389 * (bug 19186) Special:UserLogin's title on Special:SpecialPages now says
16390 "create account" when the user cannot create an account.
16391 * (bug 31818) 'usercreated' message now supports GENDER.
16392 * (bug 32022) Our phpunit.php script can now be executed from another directory.
16393 * (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs
16394 from recent changes feeds.
16395 * (bug 30232) add current time to message wlnote on Special:Watchlist.
16396 * (bug 29110) $wgFeedDiffCutoff did not affect new pages.
16397 * (bug 32168) Add wfRemoveDotSegments for use in wfExpandUrl.
16398 * (bug 32358) Do not display "No higher resolution available" for dimensionless
16399 files (like audio files).
16400 * (bug 32168) Add wfAssembleUrl for use in wfExpandUrl.
16401 * (bug 32168) fixed - wfExpandUrl expands dot segments now.
16402 * (bug 31535) Upload comments now truncated properly, and don't have brackets.
16403 * (bug 32086) Special:PermanentLink now shows an error message when no subpage
16405 * (bug 30368) Special:Newpages now shows the new page name for moved pages.
16406 * (bug 1697) The way to search blocked usernames in block log should be clearer.
16407 * (bug 29747) eAccelerator shared memory caching has been removed since it is
16408 now disabled by default and is buggy. APC, XCache and WinCache are not
16410 * Installer now refuses to install if php was not compiled with Ctype support.
16411 * (bug 29475) Remove "trackback" feature entirely from core.
16412 * (bug 32665) Special:BlockList prefills the username in the input field if
16413 using the Special:BlockList/username URL.
16414 * (bug 27721) Make JavaScript variables wgSeparatorTransformTable and
16415 wgDigitTransformTable depend on page content language so the sort script
16416 sorts correctly more often.
16417 * (bug 32230) Expose wgRedirectedFrom in JavaScript.
16418 * (bug 31212) History tab not collapsed when the screen is narrow.
16419 * (bug 15521) Use new section summary when the action of adding a new section
16420 also happens to create the page.
16421 * (bug 32960) Remove EmailAuthenticationTimestamp from database when a
16422 email address is removed.
16423 * (bug 32414) Empty page get a empty bytes attribute in Export/Dump.
16424 * (bug 33101) Viewing a User or User talk of username resembling IP ending
16425 with .xxx causes Internal error.
16426 * Warning about undefined index in certain situations when $wgLogRestrictions
16427 causes the first log type requested to be removed but not the others.
16428 * Use separate message ('prefixindex-namespace') for title of
16429 Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace.
16430 * (bug 33156) Special:Block now allows you to confirm you want to block yourself
16431 when using non-normalized username.
16432 * (bug 33246) News icon shown for news:// URLs but not for news: URLs.
16433 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
16434 cssText after DOM insertion.
16435 * (bug 30711) When adding a new section to a page with section=new, the text is
16436 now always added to the current version of the page.
16437 * (bug 31719) Fix uploads of SVGs exported by Adobe Illustrator by expanding
16438 XML entities correctly.
16439 * (bug 30914) Embeddable ResourceLoader modules (user.options, user.tokens)
16440 should be loaded in <head> for proper dependency resolution.
16441 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
16442 for backward compatibility.
16443 * (bug 31469) Make sure tracking category messages expand variables like
16444 {{NAMESPACE}} relative to correct title.
16445 * (bug 33454) ISO-8601 week-based year number (format character 'o') is now
16446 calculated correctly with respect to timezone.
16447 * (bug 32219) InstantCommons now fetches content from Wikimedia Commons using
16448 HTTPS when the local wiki is served over HTTPS.
16449 * (bug 33525) clearTagHooks doesn't clear function hooks.
16450 * (bug 33523) Function tag hooks don't appear on Special:Version.
16451 * Files with IPTC blocks we can't read no longer prevent extraction of exif
16453 * (bug 33587) Remove action "historysubmit" from history pages.
16454 * (bug 25800) mw.config wgAction should contain the actually performed action
16455 instead of whatever the query value contains.
16456 * (bug 4438) Add CSS hook for current WikiPage action.
16457 * (bug 33703) Common border-bottom color for <abbr> should inherit default
16459 * (bug 33819) Display file sizes in appropriate units.
16460 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
16462 * (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who
16464 * (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of +.
16465 * (bug 33762) QueryPage-based special pages no longer misses *-summary message.
16466 * Other sizes links are no longer generated for wikis without a 404 thumbnail
16468 * (bug 29454) Enforce byteLimit for page title input on Special:MovePage.
16469 * (bug 34114) CSSMin::remap() doesn't respect its $embed parameter.
16470 * Special:Contributions/newbies now shows the contributions for the user
16471 "newbies". New user contributions are obtained using the form or using
16472 ?contribs=newbie in URL.
16473 * It is now possible to delete images that have no corresponding description
16475 * (bug 33165) GlobalFunctions.php line 1312: Call to a member function
16476 getText() on a non-object.
16477 * (bug 31676) Group dynamically inserted CSS into a single <style> tag, to work
16478 around a bug where not all styles were applied in Internet Explorer.
16479 * (bug 28936, bug 5280) Broken or invalid titles can't be removed from
16481 * (bug 34600) Older skins using useHeadElement=false were broken in 1.18.
16482 * (bug 34604) [mw.config] wgActionPaths should be an object instead of a numeral
16484 * (bug 12262) Indents and lists are now aligned
16485 * (bug 29753) mw.util.tooltipAccessKeyPrefix should be alt-shift for Chrome
16487 * (bug 25095) Special:Categories should also include the first relevant item
16488 when "from" is filled.
16489 * (bug 34972) An error occurred while changing your watchlist settings for
16490 [[Special:WhatLinksHere/Example]]
16492 === API changes in 1.19 ===
16493 * Made action=edit less likely to return "unknownerror", by returning the actual
16494 error message (which may have come from a hook call or similar).
16495 * (bug 19838) siprop=interwikimap can now use the interwiki cache.
16496 * (bug 29748) Add API search prefix support.
16497 * (bug 29684) Set forgotten parameter types in ApiQueryIWLinks.
16498 * (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid.
16499 * siprop=interwikimap and siprop=languages can use silanguagecode to have
16500 a best effort language name translation. Use CLDR extension for best result.
16501 * (bug 30230) action=expandtemplates should not silently override invalid title
16503 * (bug 18634) Create API to fetch MediaWiki's language fallback tree structure.
16504 * (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP
16505 address blocks for list=blocks.
16506 * (bug 30591) Add support to only return keys in ApiAllMessages.
16507 * The API now respects $wgShowHostnames and won't share the hostname in
16508 servedby if it's set to false.
16509 * wlexcludeuser parameter added to ApiFeedWatchlist.
16510 * (bug 7304) Links on redirect pages no longer cause the redirect page to show
16511 up as a redirect to the linked page on Special:Whatlinkshere.
16512 * (bug 32609) API: Move captchaid/captchaword of action=edit from core
16513 to Captcha extension(s).
16514 * Added 'APIGetDescription' hook.
16515 * (bug 32688) Paraminfo for parameter "generator" of the query module shows too
16517 * (bug 32415) Empty page get no size attribute in API output.
16518 * (bug 31759) Undefined property notice in querypages API.
16519 * (bug 32495) API should allow purge by pageids.
16520 * (bug 33147) API examples should explain what they do.
16521 * (bug 33482) Api incorrectly calls ApiBase::parseMultiValue if allowed
16522 values is given as an array.
16523 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
16524 calling action=purge&forcelinkupdate.
16525 * (bug 34377) action=watch now parses messages using the correct title instead
16527 * (bug 35036) WikiLove messages were not automatically updated in JavaScript
16528 after having been changed on-wiki due to a bug in core
16530 === Languages updated in 1.19 ===
16532 MediaWiki supports over 350 languages. Many localisations are updated
16533 regularly. Below only new and removed languages are listed, as well as
16534 changes to languages because of Bugzilla reports.
16536 * Canadian English (en-ca) (new).
16537 * Norwegian (bokmål) (nb) (renamed from no).
16538 * Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language.
16539 * (bug 30217) Make pt-br a fallback of pt.
16540 * (bug 31193) Set fallback language of Assamese from Bengali to English.
16541 * Update date format for dsb and hsb: month names need the genitive.
16542 * (bug 28643) Serbian variant conversion improvements (Nikola Smolenski).
16543 * (bug 29405, bug 30809) Lower diacritics are invisible in titles in Indic
16544 languages Assamese, Bengali, Hindi, Malyalam and Odiya.
16545 * (bug 32826) Titles in indic languages are partially cut.
16546 * (bug 33367) Gendered namespaces for Czech.
16547 * (bug 33014) Language::formatSize()/formatBitrate() should be able to deal
16548 with larger numbers (tera-yotta).
16550 === Other changes in 1.19 ===
16551 * BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have
16552 been removed from wikibits.js.
16553 * jquery.mwPrototypes module was renamed to jquery.mwExtension.
16554 * The maintenance script populateSha1.php was renamed to the more concise
16555 populateImageSha1.php.
16556 * The Client-IP header is no longer checked for when trying to resolve a
16557 client's real IP address.
16558 * (bug 22096) Although IE5.x and below was already unsupported officially,
16559 stylesheets existing exclusively for IE5.0 and IE5.5 have now been removed
16560 (which were in skins 'chick' and 'monobook').
16561 * The constructor for CategoryView has changed, the second parameter is now a
16562 Context source and is required.
16563 * The Title::escape{Local,Full,Canonical}URL methods are deprecated, please use
16564 proper html building methods to escape the normal get{...}URL methods instead.
16565 * The $variant arguments in the Title::get{Local,Full,Link,Canonical}URL methods
16566 have been replaced with a secondary query argument.
16567 * The $variant argument in the hooks for the
16568 Title::get{Local,Full,Link,Canonical}URL methods have been removed, the
16569 variant is now part of the $query argument.
16570 * Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of
16571 using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage().
16572 * Support for the deprecated hook MagicWordMagicWords was removed.
16573 * The Xml::namespaceSelector method has been deprecated, please use
16574 Html::namespaceSelector instead (note that the parameters have changed also).
16575 * (bug 33746) Preload popular ResourceLoader modules (mediawiki.util) as
16576 stop-gap for scripts missing dependencies.
16577 New configuration variable $wgPreloadJavaScriptMwUtil has been introduced for
16578 this (set to false by default for new installations). Set to true if your wiki
16579 has a large amount of user/site scripts that are lacking dependency
16580 information. In the short to medium term these user/site scripts should be
16581 fixed by adding the used modules to the dependencies in the module registry
16582 and/or wrapping them in a callback to mw.loader.using.
16584 == MediaWiki 1.18 ==
16586 == MediaWiki 1.18.6 ==
16589 This is a maintenance and security release of the MediaWiki 1.18 branch
16591 === Changes since 1.18.5 ===
16592 * ([[bugzilla:40995|bug 40995]]) Prevent session fixation in Special:UserLogin
16594 * ([[bugzilla:41400|bug 41400]]) Prevent linker regex from exceeding PCRE
16596 * Localisation updates
16597 * Increase permitted runtime for testParserTest
16598 * ([[bugzilla:36179|bug 36179]]) Unquote 'null' for PostgreSQL.
16600 == MediaWiki 1.18.5 ==
16603 This is a security release of the MediaWiki 1.18 branch
16605 === Changes since 1.18.4 ===
16606 * (bug 39700) File: link to non-existing file can inject html
16607 * (bug 39823) Hidden block text leaking to admins
16608 * (bug 39184) LDAP password leakage
16609 * (bug 39180) Disallow framing of api results
16610 * (bug 37587) Enforce language codes to be html safe
16611 * (bug 39824) Check global blocks on account creation
16613 == MediaWiki 1.18.4 ==
16616 This is a security release of the MediaWiki 1.18 branch.
16618 === Changes since 1.18.3 ===
16619 * (bug 36938) Correctly escape uselang attribute to prevent xss
16620 * Expanded Blacklist for SVG Files
16622 == MediaWiki 1.18.3 ==
16625 This is a maintenance release of the MediaWiki 1.18 branch.
16627 === Changes since 1.18.2 ===
16628 * (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws
16630 * (bug 35567) The whole password reminder e-mail is now sent in the same
16632 * (bug 35961) Hash comparison should always be strict.
16633 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
16635 * Fix broken email confirmation expiration caused by MWCryptRand changes.
16637 == MediaWiki 1.18.2 ==
16640 This is a maintenance and security release of the MediaWiki 1.18 branch.
16642 === Changes since 1.18.1 ===
16643 * (bug 33686) could not get a list of contributors for an article when using
16645 * (Bug 33865) Exception thrown in action=parse when attempting to use the title
16646 parameter without setting the text parameter.
16647 * UserMailer could potentially throw a fatal error when a MailAddress object had
16648 an empty email address.
16649 * (Bug 33087) Exchange server rejected mail sent by MediaWiki
16650 * (bug 34528) Edit section tooltips show correction section name again
16651 * (bug 34246) MediaWiki:Whatlinkshere-summary message is displayed again in
16652 Special:Whatlinkshere
16653 * (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in
16654 core parser functions which operate on strings, such as formatnum.
16655 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
16657 * (bug 34907) Fixed exposure of tokens through load.php that could have
16658 facilitated CSRF attacks.
16659 * (bug 35317) CSRF in Special:Upload.
16661 == MediaWiki 1.18.1 ==
16664 This a maintenance and security release of the MediaWiki 1.18 branch.
16666 === Changes since 1.18.0 ===
16667 * (bug 32712) Fix for search indexing of pages with certain unicode chars
16669 * (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for
16671 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
16672 attribute values and element contents.
16673 * (bug 32473) [[Special:PasswordReset]] can not be used on private wiki.
16674 * (bug 32853) Fixed CACHE_DBA object cache type.
16675 * (bug 32786) Backward compatibility for extension using 1.17's
16676 Database::newFromType().
16677 * Fixed exception when using Special:WhatLinksHere on a Media: file.
16678 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
16679 * (bug 33240) Sort images are missing but referenced in css.
16680 * (bug 31921) Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR were
16681 not showing their values on preview.
16682 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
16683 for backward compatibility.
16684 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
16685 when the function exists but is disabled. Introduced
16686 Maintenance::posix_isatty().
16687 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
16688 cssText after DOM insertion.
16689 * (bug 29102) Upgrades no longer fail with the error "Unknown character set:
16691 * (bug 25355) Parser generates edit section links for special pages.
16692 * (bug 33321) Adding a line to MediaWiki:Sidebar that contains a pipe, but
16693 doesn't have any pipes after being transformed by MessageCache, causes
16694 exception on all pages.
16695 * Fixed recentchanges FK violation on page delete and cache purge error in
16696 updater for Oracle DB.
16697 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
16700 == MediaWiki 1.18.0 ==
16703 This is the first stable release of the MediaWiki 1.18 branch.
16705 === Summary of selected changes in 1.18 ===
16707 Selected changes since MediaWiki 1.17 that may be of interest:
16709 * Some of the more commonly used MediaWiki extensions are now included in the
16710 release tarball. These extensions are ConfirmEdit, Gadgets, Nuke,
16711 ParserFunctions, Renameuser, Vector and WikiEditor.
16713 * Gender support has been improved, meaning user pages can display the correct
16714 gender variant of "User" can now be used.
16716 * MediaWiki can now detect the camera orientation of an image from the Exif
16717 metadata, and can rotate the image thumbnail appropriately. Metadata support
16718 has been generally improved, and can now extract IPTC and XMP metadata.
16720 * Improved directionality support in 1.18 means that MediaWiki is better to use
16723 * MediaWiki now supports protocol - relative URLs in links, interwiki targets
16726 * Math support has been removed from core
16728 === Changes since 1.18.0rc1 ===
16729 * (bug 32228) regression in Special:Search which did not conserve profile on
16731 * (bug 32460) Categories were improperly aligned in Simple and CologneBlue
16732 * (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
16733 * (bug 32582) Fix TOC show/hide link regression on IE 8
16735 === Changes since 1.18 beta 1 ===
16736 * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18
16738 * (bug 32051) Fix description for wlprop=sizes.
16739 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
16740 under Microsoft SQL.
16741 * (bug 32100) installer complains about suhosin GET limit.
16742 * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between
16743 portlets on IE 7 and IE 8/9 in compatibility view.
16744 * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
16746 * (bug 32183) remove the client-* classes added from user-agent-sniffing onto
16747 the <html> element.
16748 * (bug 29912) Unit tests break if parsertest tables are still present.
16749 * (bug 31694) During installation, tabbing order (cursor focus) goes to logo
16750 instead of 'continue'.
16751 * (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
16752 * (bug 31990) justify paragraphs pref adds extra space to category listing.
16753 * (bug 20148) Better title for [[Special:Disambiguations]] page.
16754 * (bug 31502) TOC is missing on Special:EditWatchlist.
16755 * (bug 32256) API list=search stops at first invalid result.
16756 * (bug 32047) jquery.tablesorter.js: thead is before caption.
16757 * (bug 29854) Store protocol-relative links twice in the externallinks table,
16758 one with http: in el_index and once with https.
16759 * (bug 31822) Error during upgrade due to output buffer reset in stdout.
16761 === Configuration changes in 1.18 ===
16762 * The WantedPages::getSQL hook has been removed and replaced with
16763 WantedPages::getQueryInfo. This may break older extensions.
16764 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
16765 SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
16766 favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage.
16767 * $wgUseCombinedLoginLink controls whether to output a combined
16768 login / create account link in the personal bar, or to output separate login
16769 and create account links.
16770 * Skin names are no longer created based on a ucfirst version of the key in
16771 $wgValidSkinNames but now the value. This means for
16772 $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
16773 loading SkinMonobook and will instead load SkinMonoBook.
16774 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
16776 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
16777 $wgAPICacheHelpTimeout = 0;
16778 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
16779 by the page, but $wgAllowUserJs is set to false.
16780 * Pure "Skin" class based custom skins are no longer supported, all custom skins
16781 should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
16782 * The transliteration for passwords in case they were migrated from an old
16783 Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
16784 $wgLegacyEncoding set.
16785 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
16786 look at when finding metadata to prevent excessive resource usage.
16787 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
16788 Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
16789 same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
16790 replicate $wgSysopUserBans functionality.
16791 * The options on the block form have been standardised such that checking a box
16792 makes the block 'more serious'; so while "check to prevent account creation"
16793 and "check to enable autoblock" remain the same, "check to allow user-talk
16794 edit" is reversed to "check to *disable* user-talk edit", and "check to block
16795 anon-only" becomes "check to block logged-in users too". The default settings
16797 * Most of the field names on the Special:Block form have been changed, which
16798 will probably break screen-scraping bots.
16799 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
16800 $wgUseTrackbacks is already false by default.
16801 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
16802 *appearing* to hide article elements, has been removed. Use the
16803 ParserFunctions extension to actually remove unwanted elements from the
16805 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
16806 math conversion after upgrading, obtain the Math extension from SVN or from
16807 https://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
16808 require_once "$IP/extensions/Math/Math.php";
16809 * $wgProfiler is now a configuration array, see StartProfiler.sample for
16811 * $wgProfiling has been removed.
16812 * The spyc library is now no longer included in phase3.
16813 * (bug 28343) Unused preferences contextlines/contextchars have been removed
16814 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
16815 * $wgProto has been removed. You now only need to set $wgServer to change the
16817 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed.
16818 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been
16820 * $wgAllowUserSkin (deprecated in 1.16) has now been removed.
16821 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed.
16822 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed.
16823 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
16824 whether a page is an article or not. $wgUseCommaCount is now deprecated.
16825 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
16826 and the functionality has been moved to the relevant extensions. See
16827 https://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
16828 https://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate.
16829 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS
16831 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant
16832 feature was removed in about 1.5.
16833 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
16834 hooks have been removed.
16835 * New hook "Collation::factory" to allow extensions to create custom
16836 category collations.
16837 * $wgGroupPermissions now supports per namespace permissions.
16838 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
16839 null will cause MediaWiki to determine if auto-rotation is available.
16841 === New features in 1.18 ===
16842 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
16843 * BREAKING CHANGE: Article class hierarchy split into WikiPage (backend)
16844 and Article (frontend) hierarchies. Several hooks now pass a WikiPage object
16845 instead of an Article object. These hooks all use an $article parameter as
16846 documented in hooks.txt. Extensions should be updated to account for this,
16847 though most won't require any changes.
16848 * (bug 27860) Minor edit after clicking 'new section' tab
16849 Now the "This is a minor edit" checkbox is not available when you
16850 create a page or new section.
16851 * (bug 8130) Query pages should limit to content namespaces, not just main
16853 * Special:Contribs now redirects to Special:Contributions.
16854 * (bug 6672) Images are now autorotated according to their EXIF orientation.
16855 This only affects thumbnails; the source remains unrotated.
16856 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0.
16857 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
16859 * New parser option PreSaveTransform added, allows the pre-save transformation
16860 to be selectively disabled.
16861 * Alternative to $wgHooks implemented, using the new Hooks class.
16862 * Add width parameter to Special:Filepath to allow getting the file path of a
16864 * (bug 26870) Add size to {{filepath:}}.
16865 * Upload warnings now show a thumbnail of the uploaded file.
16866 * Introduced the edittools-upload message, which will be inserted under the
16867 upload form instead of edittools if available.
16868 * (bug 26285) Extensions will be automatically generated on upload if the user
16869 specified a filename without extension.
16870 * (bug 26851) Special:UserRights now allows to prefill the reason field
16871 * New maintenance script to fix double redirects
16872 (maintenance/fixDoubleRedirects.php).
16873 * (bug 23315) New body classes to allow easier styling of special pages.
16874 * (bug 27159) Make email confirmation code expiration time configurable.
16875 * (bug 29047) CSS/JS for each user group is imported from
16876 MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc.
16877 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
16878 safely enabled. A ZIP file reader was added which can scan a ZIP file for
16879 potentially dangerous Java applets. This allows applets to be blocked
16880 specifically, rather than all ZIP files being blocked.
16881 * (bug 2429) Allow selection of associated namespace in recent changes.
16882 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
16883 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
16884 disabled (enclosed in the head in a <noscript> tag).
16885 * Added UserGetLanguageObject hook to change the language used in $wgLang.
16886 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
16887 differently (italicized by default) on Special:SpecialPages.
16888 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
16890 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
16891 the three that were defined in the original specification.
16892 * (bug 14706) Added support for the Imagick PHP extension.
16893 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
16895 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
16896 file description page. The sizes are set by $wgImageLimits.
16897 * (bug 28031) Add pageCount support to ArchivedFile.
16898 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
16899 * Added hook BitmapHandlerTransform to allow extension to transform a file
16900 without overriding the entire handler.
16901 * The parser now attempts to output markers for editsection tokens and defer the
16902 rendering of them post-cache to reduce parser cache fragmentation and ensure
16903 skin customizability of edit section links.
16904 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
16905 other extensions by handling the 'AbortAutoAccount' hook, similar to the
16906 'AbortNewAccount' triggered by explicit account creations. (They are separate
16907 to avoid loops and confusion; auth plugins like CentralAuth need to handle
16908 AbortNewAccount separately.
16909 * Special:ListFiles is now transcludable.
16910 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
16911 * (bug 16956) IPTC and XMP metadata now extracted from images.
16912 * (bug 23816) A tracking category is now added for any pages with broken images.
16913 * (bug 23495) Allow createAndPromote.php to create non-sysop users.
16914 * (bug 28916) A way to to toggle mw.config legacy globals settings from
16915 LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
16916 * (bug 28503) Support for ircs:// URL protocols.
16917 * (bug 26033) It is now possible to count all non-redirect pages in content
16918 namespaces as articles.
16919 * Images can now be embedded in an XML dump stream using backupDump.php
16920 --include-files and can be imported using importDump.php --uploads;
16921 furthermore, it can import files from the filesystem using --image-base-path.
16922 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
16923 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
16924 may override the usage of PageArchive class and replace it with their own
16925 class that extends PageArchive.
16926 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
16927 Also built-in support for distribution through a TestSwarm instance.
16928 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
16929 added to the textarea on the edit form.
16930 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
16931 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
16932 * New 'Debug' hook used by wfDebug() and wfDebugLog().
16933 * (bug 27655) Require token for watching/unwatching pages)
16934 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest
16936 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
16937 handle titles on case-sensitive wikis.
16938 * (bug 29397) Implement mw.Title module in core.
16939 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
16940 STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
16941 correctly in the case where there are no write events occurring. Note that
16942 the DB user now needs to have the REPLICATION CLIENT privilege if you are
16944 * Language codes in $wgDummyLanguageCodes are now excluded on localization
16945 statistics (maintenance/language/transstat.php).
16946 * (bug 29586) Make the (next 200) links on categories link directly to
16947 the relevant section of the category.
16948 * (bug 29109) Allow the automatic edit summary for redirect creation
16949 show the first bit of the new redirect page.
16950 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
16951 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
16952 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
16953 which the language name is wanted. Coverage depends on the cldr extension.
16954 * (bug 15802) An easy way to look up messages: language qqx which returns
16956 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
16957 * (bug 29558) $wgMiserMode now disables update.php by default.
16958 * AjaxCategories: Easily add, edit or delete categories on article pages.
16959 Suggests possible categories when typing, all saves are done via AJAX.
16960 Supports editing of multiple categories and then saving them in one batch.
16961 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted
16962 to explicit usergroups. If a group is removed from a user via
16963 Special:UserRights, it will not automatically be re-added. Configuration is
16964 similar to $wgAutopromote (see DefaultSettings.php).
16965 * The PerformRetroactiveAutoblock hook was added to allow overriding or
16966 complementing retroactive autoblock handling. This runs when blocking a user
16967 with the 'autoblock' option.
16968 * MediaWiki now supports using protocol-relative URLs in links, interwiki
16969 targets and $wgServer.
16970 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
16971 Vary: X-Forwarded-Proto headers.
16972 * New maintenance script to refresh image metadata
16973 (maintenance/refreshImageMetadata.php).
16974 * (bug 16428) Include permalink in printable version.
16975 * (bug 30722) Add an identity collation that sorts things based on what the
16976 unicode code point is (aka pre-1.17 behavior).
16977 * (bug 30940) Add a hook in User:getDefaultOptions.
16978 To give extensions a better and more flexible way of providing default
16979 values for preferences a hook has been introduced in User:getDefaultOptions().
16980 Setting preferences in $wgDefaultUserOptions still work fine, but when reading
16981 them (i.e. with array_keys) to get a list of all preferences, then
16982 $wgDefaultUserOptions should no longer be used as it will contain those set
16983 via User:getDefaultOptions().
16984 * (bug 30497) Add client-nojs and client-js classes on document element
16985 to let styles easily hide or show things based on general JS availability.
16986 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
16987 MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
16988 Same for signupend on the account creation page.
16989 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page
16990 specific mw.config map extendable.
16991 * mw.util.wikiScript has been implemented (like wfScript in
16992 GlobalFunctions.php).
16994 === Bug fixes in 1.18 ===
16995 * (bug 27860) Minor edit after clicking 'new section' tab.
16996 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
16997 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
16998 treated as wikitext on preview.
16999 * (bug 22753) Output from update.php is more clear when things changed, entries
17000 indicating nothing changed are now all prefixed by "...".
17001 * Page existence is now not revealed (in the colour of the tabs) to users who
17002 cannot read the page in question.
17003 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
17005 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
17006 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
17007 as "Permitted file types" on the upload form.
17008 * (bug 26379) importImages.php gives more descriptive error message on failure.
17009 * (bug 26410) + signs are no longer treated as spaces in internal links if
17010 link has a % sign in it.
17011 * (bug 26412) Search results headers no longer show a bogus edit link.
17012 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
17013 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
17014 pages to be queried via the API and Special:ProtectedPages, and allowing
17015 disabling upload protection by removing it from $wgRestrictionTypes.
17016 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
17017 * (bug 26638) Database error pages display correctly in RTL languages.
17018 * (bug 26187) Confirmrecreate no longer parses the edit summary.
17019 * (bug 26208) Mark directionality of some interlanguage links.
17020 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
17021 selected when the action is "purge".
17022 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
17023 namespace tab on the mainpage of a wiki.
17024 * (bug 10158) Do not mention allowing others to contact you when the feature
17025 is disabled ($wgEnableUserEmail=false).
17026 * (bug 26733) Wrap initial table creation in transaction.
17027 * (bug 26729) Category pages should return 404 if they do not exist and have no
17029 * (bug 2585) Image pages should send 404 if no image, no shared image and no
17031 * Custom editintro's using the editintro url parameter will no longer show
17032 <noinclude> sections on pages they are included on.
17033 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
17034 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
17035 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
17036 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
17037 to table.wikitable instead.
17038 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
17040 * (bug 26716) Provide link to instructions for external editor related
17041 preferences and add a comment to the ini control file explaining what is
17043 * Trying to upload a file with no extension or with a disallowed MIME type now
17044 gives the right message instead of complaining about a MIME/extension
17046 * (bug 26809) Uploading files with multiple extensions where one of the
17047 extensions is blacklisted now gives the proper extension in the error message.
17048 * (bug 26961) Hide anon edits in watchlist preference now actually works.
17049 * (bug 19751) Filesystem is now checked during image undeletion.
17050 * Send last modified headers for Special:Recentchanges when RC patrol is
17051 enabled, but user cannot see rc patrol links.
17052 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
17053 and other multi-paged file formats.
17054 * Files with a mime type that does not match the extension are now properly
17056 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
17057 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
17058 link at the top of the page.
17059 * (bug 27560) Search queries no longer fail in Walloon language.
17060 * (bug 27679) Broken embedded files with special characters are no longer
17061 double HTML escaped.
17062 * (bug 27700) The upload protection can now also be set for files that do not
17064 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
17065 incorrect revision ID is passed.
17066 * Trim the form field for uploading by url to remove extra spaces which could
17067 cause confusing error messages.
17068 * (bug 27854) Http::isValidURI is way too lax.
17069 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
17070 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
17071 for "ABORTED" reason to be returned and displayed to user.
17072 * (bug 28034) uploading file to local wiki when file exists on shared repository
17073 (commons) gives spurious info in the warning message.
17074 * Usernames get lost when selecting different sorts on Special:listfiles.
17075 * (bug 14005) editing section 0 of an existing but empty page gives no such
17077 * (bug 26939) Installer does not set $wgMetaNamespace.
17078 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
17080 * Make truncate function automatically consider length of '...' string,
17081 since length can vary by localization.
17082 * (bug 28242) Make redirects generated by urls containing a local interwiki
17083 prefix be a 301 instead of a 302.
17084 * (bug 15641) blocked administrators are now prevented from deleting or
17085 protecting their own talk page; and all blocked users are more
17086 comprehensively prevented from performing other actions.
17087 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
17088 no longer triggers unexpectedly on delete, history etc.
17089 * (bug 28417) Fix PHP notice when importing revision without a listed id.
17090 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
17091 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
17092 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
17093 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
17095 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
17096 * ' character entity is now allowed in wikitext.
17097 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
17099 * (bug 28561) The css class small will no longer make nested elements even
17101 * (bug 13172) Array type exif data (like GPS) was not being extracted from
17103 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
17104 * (bug 16129) Transcluded special pages expose strip markers when they output
17106 * (bug 27249) "Installed software" table in Special:Version should always be
17108 * (bug 28719) Do not call mLinkHolders __destruct explicitly.
17109 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
17110 * (bug 28752) XCache doesn't work in CLI mode.
17111 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
17112 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
17113 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
17114 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
17115 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
17116 such as SQL queries shown in dberrortext and similar messages in RTL
17118 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
17119 as the server name.
17120 * The View X deleted revisions is now shown again on Special:Upload.
17121 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
17122 * (bug 28868) Show total pages in the subtitle of an image on the
17123 file description page for multi-paged documents.
17124 * (bug 28883) Message names for different compression types commonly
17125 used in Tiff files.
17126 * When transcluding a special page, do not let it interpret url parameters.
17127 * (bug 28887) Special page classes are no longer re-used during 1 request.
17128 * (bug 28888) Searching for something starting with a # sign no longer tells
17129 the user a page named [[:]] already exists.
17130 * (bug 23002) Imagelinks table not updated after imagemove.
17131 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
17133 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
17134 * (bug 11868) If using links to count articles, the checking will now be based
17135 on the real presence of an internal link instead of the "[[" string.
17136 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
17137 * (bug 28940) When making a thumb of an SVG, and only specifying the height
17138 make the width be the max SVG size, not the natrual width of the SVG.
17139 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
17141 * (bug 23464) File: prefixes are now chopped off during uploading.
17142 * (bug 28174) Message config-logo-help amended to not explicitly assume any
17143 LTR/RTL screen layout.
17144 * (bug 28992) Revision numbers in the patrol log are transformed in the user
17146 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended
17147 to the document head if it doesn't exist.
17148 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
17149 before module is parsed).
17150 * (bug 4330) External URLs without a custom title should be treated as LTR,
17152 * (bug 29055) Make "don't send email on minor edits" preference apply to
17153 changes to talk page in addition to watchlist edits.
17154 * (bug 28272) Special:AllMessages should have only one "Go" button.
17155 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
17156 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
17158 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
17159 enter an e-mail address.
17160 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
17161 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
17162 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
17163 instead of reloading the page.
17164 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect
17166 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
17167 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
17168 consecutive edits by same user in included diff, but then linked to
17169 a single ungrouped diff.
17170 * Do not try to group together a page creation and edit in the RSS feed of RC.
17171 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
17172 patrol permissions.
17173 * (bug 29471) Exception no longer thrown for files with invalid date in
17175 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
17176 no longer cause timeouts.
17177 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
17178 * If the db is really screwed up, and doesn't have a recentchanges table,
17179 make the updater throw an exception instead of a fatal.
17180 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
17182 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
17183 "vectorTabs" portlets.
17184 * (bug 8556) Incorrect session failure warning on preview-on-open
17185 namespaces (categories) when combined with $wgRawHtml.
17186 * Use content language in formatting of dates in revertpage message
17187 (rollback revert edit summary) and do not adjust for user timezone.
17188 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
17189 * Make sure Backlink cache does not retrieve interwiki redirects when looking
17190 for redirects to a local page.
17191 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
17192 and wiki content, along with many other RTL and directionality improvements
17193 (such as bugs 28030, 12406, 28349).
17194 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
17195 unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
17196 left/right according to the directionality of your interface language.
17197 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
17198 * (bug 27410) The tag filter on a history page is now within a <label> element.
17199 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
17200 styling (strike/underline).
17201 * (bug 28630) Add iwlinks, langlinks, redirect to
17202 RefreshLinks::deleteLinksFromNonexistent.
17203 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
17204 are disabled for user pages.
17205 * (bug 12205) Bidirectional names in action=credits are split and displayed
17206 incorrectly when wrapped to the next line.
17207 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
17208 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
17210 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
17211 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
17212 to the FCKEditor extension.
17213 * (bug 28762) Resizing to specified height broken for very thin images.
17214 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
17215 tries to subscribe to mediawiki-announce.
17216 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
17217 param is only present in hash.
17218 * Installer checked for magic_quotes_runtime instead of register_globals.
17219 * (bug 30131) XCache with variable caching disabled no longer used for variable
17220 caching (CACHE_ACCEL)
17221 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
17222 wide pano/timeline/diagram SVGs renderable at saner sizes.
17223 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
17225 * (bug 30074) Moving user JS subpages resulted in JS errors because
17226 #REDIRECT [[Foo]] is invalid JS.
17227 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
17229 * (bug 30264) Changed installer-generated LocalSettings.php to use
17230 require_once() instead of require() for included extensions.
17231 * Tracking categories are no longer shown in footer for special pages.
17232 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e.
17234 * $wgOverrideSiteFeed no longer double escapes urls.
17235 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
17236 processing complex pages using newer versions of libxml2.
17237 * (bug 30907) Special:Unusedcategories should sort ascendingly.
17238 * (bug 28545) When using the uca-default collation, sortkey's starting with a
17239 space (U+20) will sort under an invisible header like in 1.16 rather than a
17241 * (bug 30192) Thumbnails of archived files are now deleted.
17242 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
17243 last full stop) to lower case).
17244 * (bug 31213) Exception thrown when trying to move file cross-namespace.
17245 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
17246 really small, and somewhat inconsistent with each other.
17247 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
17249 * (bug 31674) Can't edit watchlist if it contains special pages.
17250 * (bug 32100) Installer complains about Suhosin GET limit even if it is
17251 already set above 1024 bytes.
17253 === API changes in 1.18 ===
17254 * BREAKING CHANGE: action=watch now requires POST and token.
17255 * (bug 26339) Throw warning when truncating an overlarge API result.
17256 * (bug 14869) Add API module for accessing QueryPage-based special pages.
17257 * (bug 14020) API for Special:Unwatchedpages.
17258 * (bug 24287) Wrap API Help output at 100 characters.
17259 * Add a realname uiprop option to query=userinfo so a user's realname can be
17261 * Add a &watchuser option to ApiBlock.
17262 * (bug 26541) Generator-ise ApiQueryRecentChanges.
17263 * action=parse now correctly returns an error for nonexistent pages.
17264 * (bug 25767) Add userrights properties to allusers and users query lists.
17265 * (bug 26558) list=allusers auprop=groups does not list groups a user is
17266 automatically a member of.
17267 * (bug 26559) list=allusers auprop=rights does not match
17268 list=users usprop=rights.
17269 * (bug 26560) On allusers if limit < total number of users, last user gets
17271 * (bug 25135) add "normalized" to action=parse.
17272 * (bug 26460) Add support for listing category members by category pageid.
17273 * (bug 26482) add a imimages param to prop=images.
17274 * (bug 26498) allow LinksUpdate with API.
17275 * (bug 26485) add a elextlinks param to prop=extlinks.
17276 * (bug 26483) add a iwtitles param to prop=iwlinks.
17277 * (bug 26484) add a lltitles param to prop=langlinks.
17278 * (bug 26480) add a pppageprops param to prop=pageprops.
17279 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
17280 * (bug 24650) Fix API to work with categorylinks changes.
17281 * Expose list of skins in meta=siteinfo.
17282 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
17283 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
17284 * Add a amtitle param to meta=allmessages.
17285 * (bug 25832) query=allimages now outputs ns/title as well.
17286 * (bug 27199) Thumbnail urls can be fetched for old files as well.
17287 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
17288 max value, API doesn't validate the input is actually an integer.
17289 * (bug 27479) API error when using both prop=pageprops and
17290 prop=info&inprop=displaytitle.
17291 * (bug 27554) Update API information text to reflect change in bug 26125.
17292 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
17293 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
17294 * (bug 27688) Simplify queries to list user block information.
17295 * (bug 27708) list=users does not have a property to return user id.
17296 * (bug 27715) imageinfo didn't respect revdelete.
17297 * (bug 27862) Useremail module didn't properly return success on success.
17298 * (bug 27590) prop=imageinfo now allows querying the media type.
17299 * (bug 27587) list=filearchive now outputs full title info.
17300 * (bug 27018) Added action=filerevert to revert files to an old version.
17301 * (bug 27897) list=allusers and list=users list hidden users.
17302 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
17303 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
17304 * (bug 28010) Passing a non existent user to list=users gives internal error.
17305 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
17306 groups if a user doesn't have explicit groups.
17307 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
17308 in auto generated document, as it is on mediawiki.org.
17309 * (bug 27182) API: Add filter by prefix for meta=allmessages.
17310 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
17311 * (bug 27340) API: Allow listing of "small" categories.
17312 * (bug 27342) Add audir param to list=allusers.
17313 * (bug 27203) add fato param to list=filearchive.
17314 * (bug 27341) Add drto param to list=deletedrevs.
17315 * (bug 26630) Add API for Special:ActiveUsers.
17316 * (bug 27020) API: Allow title prefix search of logevents (only when not in
17318 * (bug 26629) add Special:MIMESearch to API.
17319 * (bug 27585) add pagecount to list=filearchive.
17320 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
17322 * (bug 27343) Add parseddescription to list=filearchive.
17323 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
17324 list=users&usprop=groups.
17325 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
17326 the general site info results.
17327 * (bug 16288) API: consider making closure status of wikis more clear
17328 with meta=siteinfo.
17329 * (bug 27589) list=allimages&aiprop=archivename is useless.
17330 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
17331 by using ApiQueryImageInfo.
17332 * (bug 28226) prop=extlinks&eloffset should be an integer.
17333 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
17334 real timestamp field.
17335 * API upload errors may now return the parameter that needs to be changed and
17336 a sessionkey to fix the error.
17337 * (bug 28249) allow dupes in meta=allmessages&amargs.
17338 * (bug 28263) cannot import xml with the API, when have not "import" user
17339 right, but "importupload".
17340 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
17341 * (bug 28394) Set forgotten parameters types in ApiUnblock.
17342 * (bug 28395) Set forgotten parameters types in ApiParse.
17343 * (bug 28368) add hint for multipart/form-data to API information of
17344 action=import&xml=.
17345 * (bug 28391) action=feedwatchlist&allrev should be a bool.
17346 * (bug 28364) add registration date to meta=userinfo.
17347 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
17348 PARAM_TYPE is not set.
17349 * (bug 27712) add parent_id to list=deletedrevs.
17350 * (bug 28455) Add 'toponly' to recentchanges API module.
17351 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
17352 * (bug 28586) YAML: strings that are the same as boolean literals.
17353 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
17354 * YAML API output is now 1.2 compliant, using JSON as the formatter.
17355 * (bug 28672) give information about misermode on API.
17356 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
17357 * (bug 26882) Allow listing of indefinite protections with the API.
17358 * (bug 27344) add drprefix param to list=deletedrevs.
17359 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
17360 * (bug 28238) paraminfo: output both limits for multi param.
17361 * (bug 27179) API: List of extension tags through meta=siteinfo.
17362 * Get a list of function hooks through meta=siteinfo.
17363 * Get a list of all subscribed hooks, and those subscribers.
17364 * (bug 28225) Allow hiding of user groups in list=allusers.
17365 * (bug 27185) API: Add Special:ComparePages.
17366 * (bug 28265) allow outputting of comments for action=expandtemplates.
17367 * (bug 27790) Add query type for querymodules to output of ApiParamInfo.
17368 * (bug 28963) Add langbacklinks query module to the api.
17369 * (bug 27593) API should return error message when sha1/sha1base36 is invalid.
17370 * (bug 28578) API's parse module should not silently override invalid
17372 * (bug 20699) Watchlist API should list log-events.
17373 * (bug 29070) Require a token in API action=watch.
17374 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
17375 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
17376 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
17377 * (bug 25734) API: Possible issue with revids validation.
17378 * (bug 28002) Internal error in ApiFormatRaw::getMimeType.
17379 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
17380 * (bug 28392) Mark action=undelete×tamps as type "timestamp".
17381 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
17382 * (bug 27595) sha1 search of list=filearchive does not work.
17383 * (bug 26763) Make RSS/Atom of user contributions more visible.
17384 * (bug 25133) Allow redirects also for action=parse&pageid.
17385 * (bug 29745) Fatal error in API search.
17386 * (bug 29476) API returns page title instead of sectiontitle for
17387 srprop=sectiontitle.
17388 * Correct the documentation of srprop properties.
17389 * (bug 28817) Add reference help page link to API Modules.
17390 * (bug 29935) Improve formatting of examples in ApiParamInfo.
17391 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
17392 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
17394 * (bug 29392) Setting the start or end parameter now works with lists blocks,
17395 categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
17396 and watchlist in Postgres.
17398 === Languages updated in 1.18 ===
17400 MediaWiki supports over 330 languages. Many localisations are updated
17401 regularly. Below only new and removed languages are listed, as well as
17402 changes to languages because of Bugzilla reports.
17404 * Angika (anp) (new).
17405 * Brahui (brh) (new).
17406 * Central Dusun (dtp) (new).
17407 * Jamaican Creole English (jam) (new).
17408 * Khowar (khw) (new).
17410 * Kichwa (qug) (new).
17411 * Tokipona (tp) (removed) 'tokipona' is still valid.
17412 * (bug 17160) Gender specific display text for User namespace.
17413 * Link trail added for sl and sh.
17414 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
17415 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
17416 * (bug 27385) Set Polish $namespaceGenderAliases.
17417 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
17418 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
17419 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
17420 * (bug 28040) Turkish: properly lower case 'I' to 'i' (dotless i) and
17421 uppercase 'i' to 'I' (dotted i).
17422 * Conversion script between Syllabics and Latin for the Inuktitut language.
17423 * Date formats for Indonesian (id) updated.
17424 * Bhojpuri (bho) (renamed from "bh").
17425 * (bug 29031) When translating block log entries, indefinite, infinite, and
17426 infinity are now considered the same.
17427 * Aromanian (rup) (renamed from "rua-rup").
17428 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
17429 (Devanagari) (ks-deva). Defaults to ks-arab.
17430 * (bug 30864) Use bengali numerals for <ol> for Assamese.
17431 * (bug 30817) Restored linktrail for kk (Kazakh).
17432 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
17433 * (bug 30846) New LanguageOs class.
17435 === Other changes in 1.18 ===
17436 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
17437 * (bug 28556) Upload support for MacBinary files has been removed (Used by
17438 Internet Explorer 5 for Mac OS 9).
17439 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
17440 set for all wikis. This was already the case for 'wgServer'.
17442 == MediaWiki 1.17 ==
17444 == MediaWiki 1.17.5 ==
17447 This is a security release of the MediaWiki 1.17 branch.
17449 === Summary of selected changes in 1.17 ===
17451 Selected changes since MediaWiki 1.16 that may be of interest:
17453 * A new installer has been introduced. It has a wizard-style interface which is
17454 translated into many languages. Many shortcomings in the old installer were
17455 addressed with this rewrite. Note that it is no longer required for the config
17456 directory to be made writable by the webserver. Instead the generated
17457 LocalSettings.php file is offered as a download, which you must then upload
17458 to the wiki's base directory.
17460 * ResourceLoader, a new framework for delivering client-side resources such as
17461 JavaScript and CSS, has been introduced. These resources are now delivered
17462 through the new entry point script "load.php", instead of as static files
17463 served directly by the web server. This allows minification, compression and
17464 client-side caching to be used more effectively, which should provide a net
17465 performance improvement for most users.
17467 * Category sorting has been improved.
17468 ** Sorting is now case insensitive.
17469 ** Sub-categories, pages and files can now be paged separately.
17470 ** When several pages are given the same sort key, they sort by their
17471 names instead of randomly.
17473 * The lowest supported version of PHP is now 5.2.3. If necessary, please
17474 upgrade PHP prior to upgrading MediaWiki.
17476 === Changes since 1.17.4 ===
17478 * (bug 36938) Correctly escape uselang attribute to prevent xss
17479 * Expanded Blacklist for SVG Files
17481 === Changes since 1.17.3 ===
17483 * (bug 35961) Hash comparison should always be strict.
17484 * Fix broken email confirmation expiration caused by MWCryptRand changes.
17485 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
17488 === Changes since 1.17.2 ===
17490 * (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in
17491 core parser functions which operate on strings, such as padleft.
17492 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
17494 * (bug 34907) Fixed exposure of tokens through load.php that could have
17495 facilitated CSRF attacks.
17496 * (bug 35317) CSRF in Special:Upload.
17498 === Changes since 1.17.1 ===
17499 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
17501 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
17503 === Changes since 1.17.0 ===
17505 * (bug 29535) Added missing Creative Commons CC0 icon.
17506 * (bug 29726) Fixed failure to load internationalization messages in
17507 client-side scripts on WebKit-based browsers.
17508 * Fixed a bug in message transformation where the previous language could leak
17509 into later transformations in the UI language.
17510 * (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
17511 * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
17512 work at all since 1.17 beta 1.
17513 * (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
17514 multiple dots, was broken by the fix for bug 28840.
17515 * In the maintenance script purgeList.php, fixed a fatal error when a page
17516 title is given, instead of a URL.
17517 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
17518 * Installer checked for magic_quotes_runtime instead of register_globals.
17519 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
17520 wide pano/timeline/diagram SVGs renderable at saner sizes.
17521 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
17522 tries to subscribe to mediawiki-announce.
17523 * Installer checked for magic_quotes_runtime instead of register_globals
17524 * (bug 30131) XCache with variable caching disabled no longer used for variable
17525 caching (CACHE_ACCEL)
17526 * (bug 30264) Changed installer-generated LocalSettings.php to use
17527 require_once() instead require() for included extensions.
17528 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
17529 warnings/notices to be thrown
17530 * (bug 30907) Special:Unusedcategories should sort ascendingly.
17531 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
17533 * Hardcoded NLS_NUMERIC_CHARACTERS for Oracle DB to prevent type conversion
17535 * Fixed recentchanges FK violation on page delete and cache purge error in
17536 updater for Oracle DB.
17537 * (bug 32276) Skins were generating output using the internal page title which
17538 would allow anonymous users to determine whether a page exists, potentially
17539 leaking private data. In fact, the curid and oldid request parameters would
17540 allow page titles to be enumerated even when they are not guessable.
17541 * (bug 32616) action=ajax requests were dispatched to the relevant internal
17542 functions without any read permission checks being done. This could lead to
17543 data leakage on private wikis.
17545 === Changes since 1.17.0rc1 ===
17547 * Fixed syntax error in generated LocalSettings.php when a non-default user
17548 rights profile is chosen.
17549 * (bug 29399) Fixed PostgreSQL installation when the DB user for installation
17550 is the same as the one for web access.
17551 * (bug 29233) Fixed failover for DB slave servers. When a DB slave went down,
17552 an error was immediately shown to the user, instead of trying another slave.
17553 Was broken since 1.17 beta 1.
17554 * (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a
17556 * (bug 29408) Fixed uploads of files with MIME types that aren't detected by
17558 * Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because
17559 using the DEFAULT value ('') in DML broke Oracle backend as it treats an
17560 empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL
17563 === Changes since 1.17 beta 1 ===
17565 * Fixed warning about missing file "password.js".
17566 * When installing on MySQL, don't attempt to create a new database user if the
17567 same user is used for installation and web access.
17568 * Fixed SQL query errors in queries with table aliases.
17569 * (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which
17570 ensures that when database replication is used, the new version is seen by
17571 the user immediately after they create or edit an article.
17572 * (bug 28845) Allow PostgreSQL installation using a non-root user account which
17573 has role creation abilities.
17574 * When installing on PostgreSQL and the install account is the same as the web
17575 account, check to make sure that the account has suitable privileges in the
17577 * (bug 28172) Fixed error in PostgreSQL installation when creating the wiki
17579 * Fixed an issue with the Oracle installer in cases where the user is different
17580 to the database name.
17581 * Added "unblockself" to the list of available rights.
17582 * In the installer, fixed the "user rights profile" option, it never worked.
17583 * (bug 29117) Fixed Hebrew localisation of the installer.
17584 * (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS
17585 on Internet Explorer 6 due to a file extension in the query string) by
17586 reducing the number of URLs that are blocked, and by redirecting the request
17587 to a safer URL where possible instead of blocking it.
17588 * (bug 28812) Fixed documentation of API action=parse.
17589 * (bug 28979) Fixed styling of <abbr> and <acronym>.
17590 * Fixed the error message displayed when you try to create an account by email,
17591 but an email address is not given.
17592 * Fixed JS error due to missing dependency for jquery.suggestions.
17593 * Exposed $wgExtensionAssetsPath in JavaScript.
17594 * (bug 28738) Made ResourceLoader support environments with small URL length
17595 limits. The length limit can be configured via
17596 $wgResourceLoaderMaxQueryLength, and this is set automatically in the
17597 generated LocalSettings.php when the php.ini variable
17598 "suhosin.get.max_value_length" is set. When a URL exceeds this limit, the
17599 request is split up. Also, reduced the average length of load.php URLs by
17600 using a more compact parameter format.
17601 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
17602 * (bug 25124) Respect $wgStyleDirectory in ResourceLoader.
17603 * Allow installation when no HTTP client is available, don't throw an exception.
17604 * (bug 27465) Fix metadata extraction for SVG files using unusual namespace
17606 * (bug 29174) Fix regression in upload-by-URL: uploading files larger than the
17607 PHP memory limit should work again.
17608 * Fixed the display of comments in the new user log.
17609 * (bug 28237) When installing extensions using the web-based installer, create
17610 any necessary database tables.
17611 * (bug 28983) Fixed automated installation of extensions that overwrite $path.
17612 * Fixed error caused by missing magic words.
17613 * Fixed breakage of article editing in PostgreSQL due to text search
17614 configuration errors.
17615 * Fixed the HTTPS client used when Curl is not available. This avoids an error
17616 during install about failure of the mediawiki-announce subscription.
17617 * (bug 28162) When installing to PostgreSQL, respect the "database port" input,
17620 === Configuration changes in 1.17 ===
17622 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
17624 * (bug 22858) $wgLocalStylePath is by default set to the same value as
17625 $wgStylePath but should never point to a different domain than the site is
17626 on, allowing skins to use .htc files which are not cross-domain friendly.
17627 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
17628 been turned into $wgDeletedDirectory.
17629 * $wgDeletedDirectory has been added to specify what directory to place deleted
17631 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
17633 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
17634 provides more sensible sorting behavior for categories.
17635 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
17636 $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon,
17637 $wgZhdaemonHost and $wgZhdaemonPort.
17638 * (bug 24408) The include_path is not modified in the default LocalSettings.php
17639 * $wgVectorExtraStyles was removed, and is no longer in use.
17640 * Removed $wgUpdates for database updates; extensions should use
17641 DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook.
17642 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
17643 available as input for other configuration items, either.
17644 * It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
17645 * It's no longer necessary to set $wgCacheEpoch to the file modification time
17646 of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
17647 automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
17649 * $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright']
17650 should be used instead.
17651 * $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
17652 If you need this functionality, you should use the BlockIp hook to filter and
17653 reject such blocks.
17654 * $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum
17655 (32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1
17658 === New features in 1.17 ===
17660 * (bug 10183) Users can now add personal styles and scripts to all skins via
17661 User:<name>/common.css and /common.js (if user css/js is enabled).
17662 * (bug 22748) Add anchors on Special:ListGroupRights.
17663 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
17664 apply the names of the individual files within the gallery.
17665 * Future-proof redirection to fragments in Gecko, so things work a little nicer
17666 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
17667 * Support git:// and mms:// protocols by default for external links.
17668 * (bug 15810) Blocked admins can no longer unblock themselves without the
17669 'unblockself' permission (which they have by default).
17670 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
17672 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
17673 viewing contributions of a blocked IP address.
17674 * (bug 22474) {{urlencode:}} now takes an optional second parameter for type of
17676 * Special:Listfiles now supports a username parameter.
17677 * Special:Random carries over query string parameters.
17678 * (bug 23206) Add Special::Search hook for detecting successful "Go".
17679 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
17680 is provided on the Upload form.
17681 * (bug 22647) Add category details in search results.
17682 * (bug 23276) Add hook to Special:NewPages to modify query.
17683 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
17684 * Add accesskey 'b' and tooltip to the summary field of edit mode.
17685 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
17686 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
17687 watch links, not just to watch the page the link is on.
17688 * (bug 20976) "searchmenu-new-nocreate" message now displayed when there
17689 is no title match in search and the user has no rights to create pages.
17690 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
17691 * (bug 22844) Added support for WinCache object caching (for IIS).
17692 * (bug 23580) Add two new events to LivePreview so that scripts can be notified
17693 about the beginning and finishing of LivePreview actions.
17694 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
17695 * (bug 23733) Add IDs to messages used on CSS/JS pages.
17696 * Show validity period of the login cookie in Special:UserLogin and
17697 Special:Preferences.
17698 * Interlanguage links display the page title in their tooltip.
17699 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
17700 * (bug 4597) Provide support in Special:Contributions to show only "current"
17702 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
17703 * (bug 21477) \& can now be used in <math>
17704 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
17705 * (bug 21475) \mathtt and \textsf can now be used in <math>
17706 * texvc is now run via ulimit4.sh, to limit execution time.
17707 * SQLite now supports $wgSharedDB.
17708 * (bug 8507) Group file links by namespace:title on image pages.
17709 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
17711 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
17712 * Added scriptExtension setting to $wgForeignFileRepos.
17713 * ForeignApiRepo uses scriptDirUrl if apiBase not set.
17714 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
17716 * (bug 14685) Double underscore magic word usage is now tracked in the
17717 page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
17719 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
17720 "mw-ipb-needreblock"
17721 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
17722 * (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
17724 * (bug 21503) There's now a "reason" field when creating account for other
17726 * (bug 24418) action=markpatrolled now requires a token.
17727 * A variety of category sort-related fixes, including:
17728 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
17729 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
17730 ** When several pages are given the same sort key, they sort by their names
17731 instead of randomly.
17732 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
17733 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements.
17734 * (bug 11005) Add CSS class to empty pages in Special:Newpages.
17735 * The parser cache is now shared amongst users whose different settings aren't
17737 * Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
17738 * (bug 24007) Diff pages now mention the number of users having edited
17739 intermediate revisions.
17740 * Added new hook GetIP.
17741 * Special:Version now displays whether a SQLite database supports full-text
17743 * TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
17745 * Maintenance scripts get a --memory-limit option to override defaults (which
17746 is usually to set it to -1 to disable the limit).
17747 * (bug 25397) Allow uploading (not displaying) of WebP images, disabled
17749 * (bug 23194) Special:ListFiles now has thumbnails.
17750 * Use hreflang to specify canonical and alternate links, search engine friendly
17751 when a wiki has multiple variant languages.
17752 * (bug 19593) Specifying --server in now works for all maintenance scripts.
17753 * Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
17754 * (bug 10541) Front/backend separation of installation/upgrade code.
17755 * (bug 10596) Allow installer to enable extensions already in extensions folder.
17756 * (bug 20627) Installer should be in languages other than English.
17757 * Support for metadata in SVG files (title, description).
17758 * Special:Search: Add CSS classes to 'none found' and 'create link' messages.
17759 * Add CSS classes (including namespace and pagename) to the enhanced recent
17760 changes/watchlist entries.
17761 * (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
17763 * Added CSS print pagination to the print stylesheets.
17764 * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
17766 * When viewing a redirect, the redirect arrow and redirection target are both
17767 wrapped in a div that has the class "redirectMsg" so that the redirection
17768 arrow can be customized with CSS.
17769 * (bug 21911) Hard coded limit for long page warning removed. New message
17770 [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
17771 Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
17772 number of the textsize in Byte.
17773 * (bug 3276) Give image <gallery>s fluid width.
17774 * Added uploads link to page subtitle in Special:Contributions.
17775 * Added Special:Myuploads special page that redirects to Special:Listfiles.
17776 * The footerlinks used in Monobook/Vector/Modern are now part of common skin
17777 code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
17778 * Special wrapping setups can now define MW_CONFIG_FILE to load a config file
17779 other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
17780 some cases where MW_CONFIG_CALLBACK will not work.
17781 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
17782 pages to be queried via the API and Special:ProtectedPages, and allowing
17783 disabling upload protection by removing it from $wgRestrictionTypes.
17784 * The name attribute of HTMLForm fields can now be overridden by passing a
17785 'name' key in the descriptor array. Hidden field names are now treated
17786 consistently with other fields and, by default, prefixed with 'wp'.
17787 * (bug 27402) Add support for disabling MWSuggest.
17788 * (bug 26563) Add bytes changed per revision for stub and full article dumps.
17789 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
17790 look at when finding metadata to prevent excessive resource usage.
17791 * (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
17792 without having to move LocalSettings.php
17793 * Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
17795 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
17797 * Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
17798 preferences; which can improve page loading speed.
17799 * Added $wgSQLMode for setting database SQL modes - either performance (null)
17800 or other reasons (such as enabling stricter checks).
17801 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
17802 which causes Vector to render the variants drop-down menu with a label
17803 showing the current variant name. This is off by default, pending further
17804 research into its user experience implications.
17805 * The upload link for missing files can now be set separately from the
17806 navigation link with $wgUploadMissingFileUrl.
17807 * $wgAdditionalMailParams added to allow setting extra options to mail() calls.
17808 * Added $wgSecureLogin to optionally login using HTTPS.
17809 * (bug 25728) Added $wgPasswordSenderName to make the name associated
17810 with $wgPasswordSender configurable.
17811 * (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
17812 the footers of skins.
17813 * $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
17814 used for the file cache. Default value is 2, which matches former behavior.
17816 === Bug fixes in 1.17 ===
17818 * (bug 17560) Half-broken deletion moved image files to deletion archive
17819 without updating database.
17820 * (bug 22666) Submitting user block form with an invalid user name no longer
17822 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
17824 * (bug 22606) The body of e-mail address confirmation message is now different
17825 when the address changed.
17826 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
17827 * (bug 5210) Preload parser now parses <noinclude>, <includeonly> and
17829 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
17830 the URL contains a colon.
17831 * (bug 22353) Categorised recent changes now works again.
17832 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
17833 now only displayed when relevant.
17834 * (bug 22772) {{#special:}} parser function now works with subpages.
17835 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
17836 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
17837 * (bug 22903) Revdelete log entries now show in the user preferred language.
17838 * (bug 22905) Correctly handle <abbr> followed by ISBN.
17839 * (bug 22940) Namespace aliases pointing to main namespace don't work.
17840 * (bug 15810) Blocked admins can no longer block/unblock other users.
17841 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
17843 * (bug 14952) Page titles are renormalized after html entities are removed so
17844 that links with non-NFC character references work correctly.
17845 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
17846 anonymous users instead of null.
17847 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
17848 * (bug 21520) Anonymous previews now also gives a warning about not being
17849 logged in (anonpreviewwarning).
17850 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
17851 * (bug 23024) Special:ListFiles now escapes file names correctly.
17852 * (bug 22867) "View source" tab is now only displayed if there's source text.
17853 * (bug 19393) Feeds now format dates in user language rather than content
17855 * (bug 22852) "Served in" comment is now the time used to cache a single page
17856 when using rebuildFileCache.php
17857 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
17858 parameter no longer makes the page displayed as being the redirect target.
17859 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
17860 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
17861 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
17862 * (bug 23017) Special:Disambiguations now list pages in content namespaces
17863 rather than only main namespace.
17864 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
17865 frames, and $wgMaxImageArea against the size of the first frame, rather than
17866 the other way around. Both now default to 12.5 megapixels. Also, images
17867 exceeding $wgMaxImageArea can still be embedded at original size.
17868 * (bug 23078) "All public logs" option on Special:Log is now always the first
17870 * (bug 16817) Group names in user rights log are now singular and in lowercase.
17871 * Special:Preferences no longer crashes if the wiki default date formatting
17872 style is not valid for the user's interface language.
17873 * (bug 23167) Check the watch checkbox by default if the watchcreations
17875 * Maintenance script cleanupTitles is now able to fix titles stored
17876 in a negative namespace (which is invalid).
17877 * (bug 19858) Removed obsolete <big> in interface messages.
17878 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
17879 displays incorrect tabs.
17880 * (bug 23190) Improved math representation for text browsers.
17881 * (bug 22015) Improved upload-by-url error handling and error display.
17882 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
17883 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
17885 * (bug 23075) Correct MediaTransformError default width in gallery.
17886 * (bug 16487) The Anonymous user account used on Postgres is no longer
17887 displayed on Special:Listusers.
17888 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
17889 to enhance preference grouping.
17890 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
17892 * (bug 23284) Times are now rounded correctly.
17893 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
17894 * (bug 18408) All required permissions for uploading (upload, edit, create)
17895 are now checked when loading Special:Upload. Toolbar link for Special:Upload
17896 is no longer shown if the user does not have the required permissions.
17897 * (bug 23397) texvc in html mode renders \sim as ˜ not ∼
17898 * (bug 23241) License selector should be disabled during upload of a new
17900 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
17901 * The pipe | character in urls is now escaped.
17902 * (bug 23422) mp3 files can now be moved.
17903 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
17904 MediaWiki:Subject-preview when previewing summary.
17905 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
17906 new variable {{REVISIONMONTH1}} when unpadded version is needed.
17907 * Special:Userrights didn't recognize user as changing his/her own rights if
17908 user did not capitalize first letter of username.
17909 * (bug 23507) Add styles for printing wikitables.
17910 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
17912 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
17913 account upload rights.
17914 * (bug 1347) Render \phi in math using images, in order to create consistent
17915 and correct render results.
17916 * (bug 16573) Render \epsilon in math using images, in order to create
17917 consistent and correct render results.
17918 * (bug 22541) Support image redirects when using ForeignAPIRepo.
17919 * (bug 22967) Make edit summary length cut-off behave correctly for multibyte
17921 * (bug 8689) Long numeric lines no longer kill the parser.
17922 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
17923 the $noRedir parameter is set to true.
17924 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
17925 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php.
17926 * (bug 23797) Xml::input() now allows '0' for the value parameter.
17927 * (bug 23747) Make sure that on History pages, the RevDel button is not
17928 accidentally activated when hitting enter.
17929 * (bug 23845) Special:ListFiles now uses correct file names without underscores.
17930 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration >
17932 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
17933 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
17935 * (bug 23465) Don't ignore the predefined destination filename on
17936 Special:Upload after following a red link.
17937 * (bug 23642) Recognize mime types of MS OpenXML documents.
17938 * (bug 22784) Normalise underscores and spaces in autocomments.
17939 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings.
17940 * (bug 24022) Only check file extensions on the uploadpage when needed.
17941 * (bug 24076) Recognize Office 2003 files with OpenXML trailers.
17942 * (bug 24244) Updated comments in DefaultSettings.php to reflect
17943 Image: --> File: namespace rename.
17944 * Make wfTimestamp recognize negative unix timestamp values.
17945 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
17947 * (bug 23293) Do not show change tags when Special:RecentChanges(linked) or
17948 Special:Newpages is transcluded into another page as it messes up the page.
17949 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
17950 throw fatal errors.
17951 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
17952 useful error message.
17953 * Uploading to a protected title will allow the user to choose a new name
17954 instead of showing an error page.
17955 * (bug 24425) Use Database::replace instead of delete/insert in
17956 SqlBagOStuff::set to avoid query errors about duplicate keynames.
17957 * (bug 15470) First letters of filenames are always capitalized by upload JS.
17958 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules.
17959 * (bug 21052) Fix link color for stubs in NewPages.
17960 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
17961 longer pollutes the parser cache.
17962 * (bug 17031) Correct which characters the parser allows in tag attributes (a
17963 letter, colon or underscore followed by 0 or more letters, numbers, colons,
17964 underscores, hyphens, and/or periods).
17965 * Save 200 useless queries on each category page view.
17966 * Shell commands will now work on Linux in filesystems mounted noexec.
17967 * (bug 24804) Corrected commafying in Polish and Ukrainian.
17968 * "Difference between pages" is now displayed instead of "Difference between
17969 revisions" on diffs when appropriate.
17970 * (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
17971 a repository due to missing 'name' attribute from the API list=allimages.
17972 * (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
17973 make wfTempDir() return a sane value for Windows on worst-case.
17974 * (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
17975 memory usage when such an ImageMagick is used for scaling.
17976 * Disable multithreaded behavior in recent ImageMagick, to avoid a deadlock
17977 when a resource limit such as $wgMaxShellMemory is hit.
17978 * (bug 24981) Allow extensions to access SpecialUpload variables again.
17979 * (bug 20744) Wiki forgets about an uploaded file.
17980 * (bug 17913) Don't show "older edit" when no older edit available.
17981 * (bug 6204) TOC not properly rendered when using $wgMaxTocLevel.
17982 * (bug 24977) The accesskey in history page now lead directly to the diff
17983 instead of alternating focus between the two buttons.
17984 * (bug 24987) Special:ListUsers does not take external groups into account.
17985 * (bug 20633) update.php has mixed language output.
17986 * SQLite system table names are now never prefixed.
17987 * (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
17989 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16).
17990 * (bug 25367) wfShellExec() is more explicit when failing due to disabled
17992 * (bug 25462) Fix double-escaping for section edit link tooltips.
17993 * action=raw was removed for Special:Statistics. This information is still
17994 available via the API.
17995 * (bug 23934) Groups defined in $wgRevokePermissions but not in
17996 $wgGroupPermissions now appear on Special:ListGroupRights.
17997 * (bug 23923) Special:Prefixindex no longer shows results if nothing was
17999 * (bug 22308) Search now finds text in default main page immediately after
18001 * (bug 25697) Make sure empty lines render in diff view.
18002 * Use an actual minus sign in diff views, instead of a hyphen.
18003 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles.
18004 * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates.
18005 * (bug 25642) A exception is now thrown instead of a fatal error when using
18006 $wgSMTP without PEAR mail package.
18007 * (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
18008 * (bug 11013) Database driver detection needs rewriting for robustness.
18009 * (bug 13409) Installer prompts could use clarification--now has help boxes.
18010 * (bug 16902) Installer spews warnings when exec() and dl() are not available.
18011 * (bug 19129) Only show MyISAM/InnoDB when supported.
18012 * (bug 17762) Only show other e-mail options when e-mail is globally enabled.
18013 * Cache multiple sizes of InstantCommons thumbnails.
18014 * (bug 25488) Disallowing anonymous users to read pages no longer throws error
18015 on discussion pages with vector as default skin.
18016 * (bug 24833) Files name in includes/diff/ are now less confusing.
18017 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores.
18018 * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
18020 * (bug 25175) HTML file cache now honor $wgCacheDirectory if
18021 $wgFileCacheDirectory is not set.
18022 * (bug 13353) Diff3 version checks were too strict, did not detect working
18024 * (bug 25843) Links to special pages using link= attribute on images are now
18025 normalised like normal links to special pages.
18026 * (bug 21364) External links using link= attribute on images now respect
18027 $wgExternalLinkTarget.
18028 * (bug 17789) Added a note to the total views on Special:Statistics saying that
18029 is doesn't count non-existing pages and special pages.
18030 * (bug 17996) HTTP redirects are now combined when requesting a special page.
18031 * (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
18033 * (bug 25670) wfFindFile() now checks the namespace of the given title, only
18034 "File" and "Media" are allowed now.
18035 * (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
18036 with php extension that defines same class.
18037 * (bug 20591) There's now a different message on Special:MovePage when
18038 $wgFixDoubleRedirects is set to false.
18039 * Fixed PHP warnings when updating a broken MySQL database.
18040 * (bug 26023) Corrected deleteBacth.php's documentation.
18041 * (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
18042 * Show "skin does not exist error" only when the skin is inputted in the wrong
18044 * (bug 26164) Potential html injection when the database server isn't available.
18045 * (bug 26160) Upload description set by extensions are not propagated.
18046 * (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
18047 absolute URLs in the sitemap index (as required e.g. by Google).
18048 * Partial workaround for bug 6220: at least make files on shared repositories
18049 show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.
18050 * rebuildFileCache.php no longer creates inappropriate cache files for
18052 * (bug 25512) Subcategory list should not include category prefix for members.
18053 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
18054 treated as wikitext on preview.
18055 * Page existence is now not revealed (in the colour of the tabs) to users who
18056 cannot read the page in question.
18057 * (bug 22753) Output from update.php is more clear when things changed, entries
18058 indicating nothing changed are now all prefixed by "..."
18059 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
18060 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
18061 as "Permitted file types" on the upload form.
18062 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
18063 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
18064 selected when the action is "purge".
18065 * (bug 26733) Wrap initial table creation in transaction.
18066 * (bug 26208) Mark directionality of some interlanguage links.
18067 * (bug 26716) Provide link to instructions for external editor related
18069 * (bug 26961) Hide anon edits in watchlist preference now actually works.
18070 * (bug 1379) Installer directory conflicts with some hosts' configuration panel.
18071 * (bug 27781) Installer does not warn about 5.1.x. Added a compatibility
18072 function for array_key_exists().
18073 * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default).
18074 * (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
18076 * (bug 26223) Concurrently moving an article to different titles leaks a
18077 redirect revision with no page.
18078 * (bug 15641) Fixed permissions checks in Special:Import which allowed users
18079 without the 'import' permission to import pages from configured import
18081 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
18082 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
18083 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
18084 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
18086 * (bug 26716) Provide link to instructions for external editor related
18087 preferences and add a comment to the ini control file explaining what is going
18089 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
18090 to table.wikitable instead.
18091 * (bug 27560) Search queries no longer fail in walloon language.
18092 * (bug 27700) The upload protection can now also be set for files that do not
18094 * (bug 28034) uploading file to local wiki when file exists on shared repository
18095 (commons) gives spurious info in the warning message.
18096 * Usernames get lost when selecting different sorts on Special:listfiles.
18097 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
18099 * (bug 28242) Make redirects generated by urls containing a local interwiki
18100 prefix be a 301 instead of a 302.
18101 * (bug 28568) Entries in the iwlinks table are now removed on page deletion.
18102 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
18103 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
18104 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
18106 * (bug 26729) Category pages should return 404 if they do not exist and have no
18108 * (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1
18109 in header of response.
18110 * (bug 27634) TOC title appears in wrong language.
18111 * (bug 27761) Fix regression: pages with Esperanto titles containing convertible
18112 character sequences became unreachable.
18113 * (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs.
18114 * (bug 27465) SVG thumbnail generation.
18115 * (bug 27467) preload can leave UNIQ.
18116 * (bug 27539) Allow attributes beginning with a digit in wikitext tag
18118 * (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken
18120 * (bug 27333) Fix repetitive last-seen time queries on page history.
18121 * (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes
18122 processing of JSON return values for ForeignAPIRepo when native json module
18124 * (bug 25675) Fix search suggestions for Special: pages with spaces.
18125 * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting
18127 * (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler.
18128 * (bug 27302) Don't append the current timestamp for user/site modules when no
18129 user/site JS/CSS is present.
18130 * (bug 27016) dumpTextPass.php now consider the "output" parameter.
18131 * (bug 22606) don't send the "someone registred an account" message when setting
18132 email address (i.e. old one empty) in user preferences.
18133 * (bug 26458) Section edit links appear on pages that user does not have right
18135 * (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition.
18136 * (bug 16886) Sister projects box moves down the extract of the first result
18138 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
18141 === API changes in 1.17 ===
18143 * BREAKING CHANGE: action=patrol now requires POST.
18144 * BREAKING CHANGE: patrol token is no longer the same as edit token.
18145 * BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead
18147 * BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually
18148 enforce validation on the input values in addition to giving a warning.
18149 Also add flag to enforce (die) if integer out of range.
18150 * (bug 24650) Fix API to work with categorylinks changes.
18151 * action=parse now correctly returns an error for nonexistent pages.
18152 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
18153 * (bug 26560) On allusers if limit < total number of users, last user gets
18155 * (bug 27715) imageinfo didn't respect revdelete.
18156 * (bug 27479) API error when using both prop=pageprops and
18157 prop=info&inprop=displaytitle.
18158 * (bug 27862) Useremail module didn't properly return success on success.
18159 * (bug 27590) prop=imageinfo now allows querying the media type.
18160 * (bug 27587) list=filearchive now outputs full title info.
18161 * (bug 27897) list=allusers and list=users list hidden users.
18162 * (bug 22738) Allow filtering by action type on query=logevent.
18163 * (bug 22764) uselang parameter for action=parse.
18164 * (bug 22944) API: watchlist options are inconsistent.
18165 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
18166 * (bug 22290) prop=revisions now outputs "comment" field even when comment
18167 is empty, for consistency with list=recentchanges.
18168 * (bug 19721) API action=help should have a way to just list for a specific
18170 * (bug 23458) Add support for pageid parameter to action=parse requests.
18171 * (bug 23460) Parse action should have a section option.
18172 * (bug 21346) Make deleted images searchable by hash.
18173 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
18174 * (bug 23548) Allow access of another users watchlist through watchlistraw
18175 using token and username.
18176 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
18177 track inline interwiki link usage).
18178 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
18179 similar to prop=categories's clcategories.
18180 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
18181 thumbnailing larger than original image.
18182 * (bug 23835) Need "thumbmime" result in "imageinfo" query.
18183 * (bug 23851) Repair diff for file redirect pages.
18184 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups.
18185 * (bug 24016) API: Handle parameters specified in simple string syntax
18186 ( 'paramname' => 'defaultval' ) correctly when outputting help.
18187 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied.
18188 * (bug 23473) Give description of properties on all modules.
18189 * (bug 24136) unknownerror when adding new section without summary, but
18191 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result.
18192 * (bug 24303) Added new &servedby parameter to all actions which adds the
18193 hostname that served the request to the result. It is also added
18194 unconditionally on error.
18195 * (bug 24185) Titles in the Media and Special namespace are now supported for
18196 title normalization in action=query. Special pages have their name resolved
18197 to the local alias.
18198 * (bug 24296) Added converttitles parameter to convert titles to their
18199 canonical language variant.
18200 * (bug 23936) Add "displaytitle" to query/info API.
18201 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
18203 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
18204 one of the backlinks generators with limit=max.
18205 * (bug 24656) API's parse module needs option to disable PP report.
18206 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
18207 does not set the parameter, the API will automatically throw an error.
18208 * (bug 24665) When starttimestamp is not specified, fake it by setting it to
18209 NOW, not to the timestamp of the last edit.
18210 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
18211 allmessages, allpages, and allusers.
18212 * (bug 24236) Add add, remove, add-self, remove-self tags to
18213 meta=siteinfo&siprop=usergroups.
18214 * (bug 24484) Add prop=pageprops module.
18215 * (bug 24330) Add &redirect parameter to ?action=edit.
18216 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
18217 blockreason if the user is actually blocked.
18218 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
18219 * For required string parameters, if '' is provided, this is now classed as
18221 * (bug 24724) list=allusers is out by 1 (shows total users - 1).
18222 * (bug 24166) API error when using rvprop=tags.
18223 * Introduced "asynchronous download" mode for upload-by-url. Requires
18224 $wgAllowAsyncCopyUploads to be true.
18225 * sinumberingroup correctly gives size of 'user' group, and omits size of
18226 implicit groups rather than showing 0.
18227 * (bug 25248) API: paraminfo errors with certain modules.
18228 * (bug 24792) API help for action=purge sometimes wrongly stated whether a
18229 POST request was needed due to cache pollution.
18230 * Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions.
18231 * Added rvparse to parse revisions. For performance reasons if this option is
18232 used, rvlimit is enforced to 1.
18233 * (bug 25748) If a action=parse request provides an oldid that is actually the
18234 current revision id, try the parser cache, and save it to it if necessary.
18235 * (bug 25463) Export header should not be shown if no pages were requested, to
18237 * (bug 25648) API discovery information has been added as RSD link in page
18238 <head> and by providing an API module action=rsd. Added hook
18239 ApiRsdServiceApis for extensions to add their own service to the services
18241 * The HTML of diff output markers has changed. Hyphens are now minus signs,
18242 empty markers are now filled with non-breaking-space characters.
18243 * (bug 25741) Add more data to list=search's srprop.
18244 * (bug 25760) counter property still reported by the API when
18245 $wgDisableCounters enabled.
18246 * (bug 25987) prop=info&inprop=watched now also works for missing pages.
18247 * (bug 26006) prop=langlinks now allows obtaining full URL.
18248 * (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook.
18249 * (bug 26089) add block expiration to blockinfo.
18250 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
18251 file is a multi-page file.
18252 * (bug 10268) Added linktodiffs parameter on action=feedwatchlist.
18253 * (bug 26219) Show API limits for multi values in description.
18254 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
18255 real timestamp field.
18256 * (bug 27722) list=filearchive now supports revdel.
18258 === Language support changes in 1.17 ===
18260 MediaWiki supports over 330 languages. Many localizations are updated regularly.
18262 The following languages were added:
18264 * Moroccan Spoken Arabic (ary)
18267 * Kabardian (Cyrillic) (kbd-cyrl)
18269 * Minangkabau (min)
18270 * Dutch (informal) (nl-informal)
18273 Other significant changes to MediaWiki's language support:
18275 * Fiji Hindi (Devangari script) was removed.
18276 * Removed deprecated language code "dk" (Danish), use "da" instead.
18277 * Link trail added for sl and sh.
18278 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
18279 * (bug 23156) Commafy and search normalization updated for Belarusian
18281 * (bug 23283) Native name for Old English -> Ænglisc.
18282 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
18283 * (bug 24593) Native name for Sorani now uses only Arabic script.
18284 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
18285 * (bug 24917) Polish as fallback for Kashubia.
18286 * (bug 24794) Tatar link trail updated.
18287 * Esperanto date format corrected.
18288 * (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ /
18290 * (bug 28184) Namespaces for the Latgalian Wikipedia.
18291 * (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт
18293 * (bug 26395) Change name of Cornish language to Kernowek.
18295 === Other changes in 1.17 ===
18297 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
18298 extensions has been removed.
18299 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
18300 * The FailFunction "error handling" method has now been removed
18301 * Sysops now have the "suppressredirect" right by default
18302 * Removed $wgRemoteUploads. It was not well supported and superseded by
18303 $wgUploadNavigationUrl.
18304 * (bug 26253) $wgPostCommitUpdateList has been removed
18305 * The PHPUnit test suite has been removed from this release due to serious
18306 issues which should be resolved by the 1.18 release.
18307 * Oracle DB now uses the __destruct function to commit/close connection as it
18308 doesn't commit on close if transation is triggered in OCI.
18310 == MediaWiki 1.16 ==
18312 == MediaWiki 1.16.5 ==
18313 === Changes since 1.16.4 ===
18315 * (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
18316 attempt at fixing bug 28235.
18317 * (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin
18320 == MediaWiki 1.16.4 ==
18321 === Changes since 1.16.3 ===
18323 * (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6
18324 clients) was not actually sufficient to fix that bug. This release contains
18325 a second attempt, hopefully we have fixed it this time.
18327 == MediaWiki 1.16.3 ==
18328 === Changes since 1.16.2 ===
18330 * (bug 28449) Fixed permissions checks in Special:Import which allowed users
18331 without the 'import' permission to import pages from the configured import
18333 * (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those
18334 browsers looking for a file extension in the query string of the URL, and
18335 ignoring the Content-Type header if one is found.
18336 * (bug 28450) Fixed a CSS validation issue involving escaped comments, which
18337 led to XSS for Internet Explorer clients and privacy loss for other clients.
18339 == MediaWiki 1.16.2 ==
18340 === Changes since 1.16.1 ===
18342 * (bug 26642) Fixed incorrect translated namespace due to a regression in the
18343 language converter.
18344 * The interface translations were updated.
18345 * (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability.
18346 * (bug 27094) Fixed server-side arbitrary script inclusion vulnerability.
18347 Affects Windows servers only. A malicious file with extension ".php" must
18348 exist on the server for the exploit to be effective.
18350 == MediaWiki 1.16.1 ==
18351 === Changes since 1.16.0 ===
18353 * (bug 24981) Allow extensions to access SpecialUpload variables again
18354 * (bug 24724) list=allusers was out by 1 (shows total users - 1)
18355 * (bug 24166) Fixed API error when using rvprop=tags
18356 * For wikis using French as a content language, Special:Téléchargement works
18357 again as an alias for Special:Upload.
18358 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0)
18359 * (bug 25248) Fixed paraminfo errors in certain API modules.
18360 * The installer now has improved handling for situations where safe_mode is
18361 active or exec() and similar functions are disabled.
18362 * (bug 19593) Specifying --server in now works for all maintenance scripts.
18363 * Fixed $wgLicenseTerms register globals.
18364 * (bug 26561) Fixed clickjacking vulnerabilities by introducing support for
18365 X-Frame-Options. The header value can be configured using $wgBreakFrames and
18366 $wgEditPageFrameOptions.
18368 == MediaWiki 1.16.0 ==
18369 === Changes since 1.16 beta 3 ===
18371 * (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in
18372 1.16 beta 1, but is currently poorly supported by browsers.
18373 * (bug 23175) Re-added window.ta variable for backwards compatibility.
18374 * (bug 23264) Fixed breakage of various command line scripts due to extra line
18375 endings being inserted by Maintenance::output().
18376 * Fixed HTTP client functionality with safe_mode=On.
18377 * Fixed parser tests broken in 1.16 beta 3.
18378 * For Oracle DB backend: fixed parser tests and table prefix feature.
18379 * (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue).
18380 * Fixed plural function for Northern Sami (se)
18381 * (bug 23597) Fixed conflicts between ID attributes in the Vector skin and
18382 parser-generated heading IDs. Renamed head, panel, head-base and page-base.
18383 * Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet.
18384 * (bug 23465) Don't ignore the predefined destination filename on
18385 Special:Upload after following a red link to a file.
18386 * In SQLite full-text search feature: fixed "move page" feature, was non-
18388 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
18389 user privacy in the case where an attacker can access the wiki through the
18390 same HTTP proxy as a logged-in user.
18391 * Fixed an XSS vulnerability in profileinfo.php for installations with
18392 $wgEnableProfileInfo = true (false by default)
18393 * Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being
18394 false. Fixed a minor header parsing issue when $wgUseXVO = true.
18395 * Fixed a register_globals arbitrary inclusion vulnerability in
18396 MediaWikiParserTest.php, introduced in 1.16 beta 1.
18398 === Changes since 1.16 beta 2 ===
18400 * Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
18402 * Fixed sorting in [[Special:Allmessages]]
18403 * (bug 23113) Fixed title in the show/hide links on diff pages
18404 * (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
18405 * (bug 23127) Re-added missing $1 parameter to the uploadtext message
18406 * Fixed a bug in the Vector skin where personal tools display behind the logo
18407 * (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes
18408 showed the same text.
18409 * (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements
18410 in page views and previews when the language converter is enabled.
18411 * (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
18412 scaling, which was introduced in 1.16 beta 1.
18413 * Improved error checking on installer.
18414 * (bug 22970) Fixed a JavaScript error in the upload destination conflict
18416 * (bug 23167) Check the watch checkbox by default if the watchcreations
18418 * (bug 23171) Improve IE6 version check to avoid false positives.
18419 * (bug 23176) Fixed upload warning override feature "upload new version",
18420 broken in 1.16 beta 1.
18421 * Fixed regression in unwatch links sent out in notification emails. When the
18422 mailing job was deferred via the job queue, the title was incorrect.
18423 * (bug 23534) Fixed SQL query error in API list=allusers.
18424 * Fixed a bug in uploads for non-JavaScript clients. An empty string was used
18425 as the default destination filename, instead of the source filename as
18427 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
18428 account" and "create by e-mail" features of [[Special:Userlogin]]
18429 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
18431 * Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick
18432 expanded wildcard characters "?" and "*" in image filenames, potentially
18433 causing large numbers of images to be scaled in response to a single request.
18434 The fix for this involves breaking the scaling of such image filenames until
18435 ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details.
18436 * (bug 23608) Fixed invalid HTML in diff pages.
18438 === Changes since 1.16 beta 1 ===
18440 * Fixed errors in maintenance/patchSql.php
18441 * (bug 19627) Fix regression from r57867 where HTMLForm would output
18442 <element classes="foo bar"> rather than <element class="foo bar">
18443 * Fixed broken "-r" option to maintenance/lag.php
18444 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
18445 be submitted along with the user name and password.
18447 === Configuration changes in 1.16 ===
18449 * (bug 18222) $wgMinimalPasswordLength default is now 1
18450 * $wgSessionHandler can be used to configure session.save_handler
18451 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
18452 be used when uploading/moving files
18453 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
18454 to be shown to users
18455 * $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
18456 $wgHiddenPrefs[] = 'realname', but the former are still retained
18457 for backwards-compatibility
18458 * (bug 9257) $wgRCMaxAge now defaults to three months
18459 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
18460 functions and other potential errors when developing.
18461 * Subpages are now enabled in the MediaWiki namespace by default. This is
18462 mainly a cosmetic change, and does not in any way affect the MessageCache,
18463 which was already effectively treating the namespace as if it had subpages.
18464 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
18465 appropriate privileges. Creating this user with web-install page requires
18466 oci8.privileged_connect set to On in php.ini.
18467 * Removed UserrightsChangeableGroups hook introduced in 1.14
18468 * Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
18469 $wgLocalMessageCache, and any other local caches which need a place to put
18471 * $wgFileCacheDirectory is no longer set to anything by default, and so either
18472 needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
18473 * $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
18475 * Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
18476 functionality is now available via $wgLocalisationCacheConf.
18477 * $wgMessageCache->addMessages() is deprecated. Messages added via this
18478 interface will not appear in Special:AllMessages.
18479 * $wgRegisterInternalExternals can be used to record external links pointing
18481 * (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
18482 to control which external domains may access the API via cross-site AJAX.
18483 * $wgMaintenanceScripts for extensions to add their scripts to the default list
18484 * $wgMemoryLimit has been added, default value '50M'
18485 * $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
18486 should be used instead
18487 * (bug 20489) $wgIllegalFileChars added to override the default list of illegal
18488 characters in file names.
18489 * (bug 19646) $wgImgAuthDetails added to display reason access to uploaded file
18490 was denied to users(img_auth only)
18491 * (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
18492 correctly (img_auth only)
18493 * $wgUploadMaintenance added to disable file deletions and restorations during
18495 * $wgCapitalLinkOverrides added to configure per-namespace capitalization
18496 * (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL and renamed
18497 to $wgDnsBlacklistUrls (backward compatibility kept)
18498 * $wgEnableHtmlDiff has been removed
18499 * (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of
18500 CIDR ranges for blocking
18501 * $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
18503 * $wgDBAhandler added to choose a DBA handler when using CACHE_DBA
18504 * $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave
18505 similarly to the category namespace.
18506 * $wgEnableSorbs renamed to $wgDnsBlacklistUrls ($wgEnableSorbs kept for
18507 backward compatibility)
18508 * $wgUploadNavigationUrl now also affects inline images that do not
18509 exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to
18511 * If $wgLocaltimezone is null, use the server's timezone as the default for
18512 signatures. This was always the behavior documented in DefaultSettings.php
18513 but has not been the actual behavior for some time: instead, UTC was used
18515 * Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath.
18516 If not specified it will default to $wgScriptPath/extensions
18517 * Added $wgCountTotalSearchHits to make search UI display total number of hits
18518 with some search engines.
18519 * Added $wgAdvertisedFeedTypes to decide what feed types (RSS, Atom, both, or
18520 neither) MediaWiki advertises. Default is array( 'atom' ), so RSS is no
18521 longer advertised by default (but it still works).
18522 * Added $wgMemCachedTimeout, controls how long to wait for data from the
18524 * New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders
18525 for controlling debug output.
18526 * New $wgBlockDisablesLogin when set to true disallows blocked users from
18528 * (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate
18529 extension "MetadataEdit".
18531 === New features in 1.16 ===
18533 * Add CSS defintion of the 'wikitable' class to shared.css
18534 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
18536 * Superfluous border="0" removed from images
18537 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
18538 to allow extensions to update caches in similar way as MediaWiki invalidates
18539 a cached MonoBook sidebar
18540 * Special:AllPages: Move hardcoded styles from code to CSS
18541 * (bug 18529) New hook: SoftwareInfo for adding information about the software
18543 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
18544 type of columns when using the Postgres backend.
18545 * (bug 16950) Show move log when viewing/creating a deleted page
18546 * (bug 18242) Show the Subversion revision number per extensions in
18548 * (bug 18420) Missing file revisions are handled gracefully now
18549 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
18550 * (bug 18466) Add note or warning when overruling a move (semi-)protection
18551 * (bug 18342) insertTags works in edit summary box
18552 * (bug 18411) The upload form also checks post_max_size
18553 * Watchlist now has a specialized <div> tag that contains a unique class for
18555 * Added Minguo calendar support for the Taiwan Chinese language
18556 * Database: unionQueries function to be used for UNION sql construction, so
18557 it can be overloaded on DB abstraction level for DB specific functionality
18558 * (bug 18849) Implement Japanese and North Korean calendars
18559 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
18560 month number without the leading zero
18561 * (bug 13456) categoriespagetext supports PLURAL
18562 * (bug 18860) Blocks of IPs affecting registered users can now block email
18563 * (bug 17093) Date and time are separate parameters in Special:BlockList
18564 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
18565 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
18566 'recentchangeslinked-toolbox' were added to allow more fine grained
18567 customisation of the user interface
18568 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
18570 * Special:Search now could search terms in all variant-forms. ONLY apply on
18571 wikis enabled LanguageConverter.
18572 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to
18573 various user groups.
18574 * Add $wgRevokePermissions as a means of restricting a group's rights. The
18575 syntax is identical to $wgGroupPermissions, but users in these groups will
18576 have these rights stripped from them.
18577 * Added a PHP port of CDB (constant database), for improved local caching when
18578 the DBA extension is not available.
18579 * Introduced a new system for localisation caching. The system is based around
18580 fast fetches of individual messages, minimising memory overhead and startup
18581 time in the typical case. The database backend will be used by default, but
18582 set $wgCacheDirectory to get a faster CDB-based implementation.
18583 * Expanded the number of variables which can be set in the extension messages
18585 * Added a feature to allow per-article process pool size control for the parsing
18586 task, to limit resource usage when the cache for a heavily-viewed article is
18587 invalidated. Requires an external daemon.
18588 * (bug 19576) Moved the id attributes from the anchors accompanying section
18589 headers to the <span class="mw-headline"> elements within the section headers,
18590 removing the redundant anchor elements.
18591 * Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
18593 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
18594 display for old versions of images.
18595 * In watchlists and Special:RecentChanges, the difference in page size now
18596 appears in dark green if bytes were added and dark red if bytes were removed.
18597 * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
18598 thumbnails to be stored in a separate location to the source images.
18599 * If config/ directory is not executable, the command to make it executable
18600 now asks the user to cd to the correct directory
18601 * Add experimental new external authentication framework, ExternalAuth
18602 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
18603 will still load it if it exists, but it's not required for anything
18604 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
18605 class "mw-listgrouprights-key"
18606 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
18607 * (bug 10812) Interwiki links can have names and descriptions, fetched from
18608 message 'interwiki-desc-PREFIX', not really used anywhere yet though
18609 * (bug 9691) Add type (signup or login) parameter to
18610 AuthPlugin::ModifyUITemplate()
18611 * (bug 14454) "Member of group(s)" in Special:Preferences causes language
18613 * (bug 16697) Unicode combining characters are difficult to edit in some
18615 * Parser test supports uploading results to remote CodeReview instance
18616 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
18617 extension version in Special:Version
18618 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
18619 right name in Special:ListGroupRights
18620 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
18622 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
18624 * (bug 18566) Maintenance script to un/protect pages
18625 * (bug 671) The HTML <abbr> tag is now permitted.
18626 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
18627 flags have tooltips.
18628 * (bug 15209) New hook BeforeInitialize called after everything has been setup
18629 but before Mediawiki::performRequestForTitle()
18630 * wgMainPageTitle variable now available to JavaScript code to identify the main
18631 page link, so it doesn't have to be extracted from the link URLs.
18632 * (bug 16836) Display preview of signature in user preferences and describe its
18634 * The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
18635 This can be disabled by setting $wgHtml5 = false;. Specific features enabled
18637 ** Some extra inputs will be autofocused, in supporting browsers.
18638 ** The summary attribute has been removed from tables of contents. summary is
18639 obsolete in HTML 5 and wasn't useful here anyway.
18640 ** Unnecessary type="" attribute removed for CSS and JS.
18641 ** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
18642 output by omitting some things like quotation marks where HTML 5 allows.
18643 ** (bug 16921) maxlength enabled for page move comments
18644 * The description message in $wgExtensionCredits can be an array with parameters
18645 * New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
18646 criteria used by Special:Random and subclasses, or substitute a custom result,
18647 deprecating the $wgExtraRandompageSQL config variable
18648 * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
18649 * (bug 20404) Custom fields in the user creation form template can now have
18650 detail labels in prefsectiontip divs.
18651 * MakeSysop and MakeBot are now aliases for Special:UserRights
18652 * IndexPager->mLimitsShown can now be an associative array of limit => text-to-
18653 display-in-limit-form.
18654 * (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
18655 and add its HTML to it, rather than having to go straight to $wgOut.
18656 * Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
18657 database connection and query errors.
18658 * Show change block / unblock link on Special:Contributions if user is blocked
18659 * Display note on Special:Contributions if the user is blocked, and provide an
18660 excerpt from the block log.
18661 * (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
18662 file is streamed to user, but only when using img_auth
18663 * Note on non-existing user and user talk pages if user does not exist
18664 * New hook ShowMissingArticle so extensions can modify the output for
18665 non-existent pages.
18666 * Admins could disable some variants using $wgDisabledVariants now. ONLY apply
18667 on wikis enabled LanguageConverter.
18668 * (bug 16310) Credits page now lists IP addresses rather than saying the number
18669 of anonymous users that edited the page
18670 * New permission 'sendemail' added. Default right for all registered users. Can
18671 for example be used to prevent new accounts from sending spam.
18672 * (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__
18673 * Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are
18674 called after a user's email has been successfully confirmed or invalidated.
18675 * (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for
18676 a smaller subversion checkout.
18677 * (bug 13750) First letter capitalization can now be a per-namespace setting
18678 * (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages
18680 * (bug 21095) Tracking categories produced by the parser (expensive parser
18681 function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by
18682 setting the system message ([[MediaWiki:expensive-parserfunction-category]]
18684 * Added maintenance script sqlite.php for SQLite-specific maintenance tasks.
18685 * Rewrote Special:Upload to allow easier extension.
18686 * Upload errors that can be solved by changing the filename now do not require
18688 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
18690 * (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
18691 the parser so extensions are free to implement their own <math> tag
18692 * (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
18693 an own 'mw-error-cannotdelete' class
18694 * New hook AbortNewAccountAuto, called before account creation from AuthPlugin-
18695 or ExtUser-driven requests.
18696 * (bug 3480) The warning saying that the page has a history when deleting it now
18697 contains the number of revisions in the history
18698 * $wgStylePath and $wgLogo are now set in the default LocalSettings.php file.
18699 * (bug 20186) Allow filtering history for revision deletion.
18700 * New hook OtherBlockLogLink, called in Special:IPBlockList and Special:Block
18701 to show links to block logs of other blocking extensions, i.e. GlobalBlocking
18702 * Added search capabilities to SQLite backend
18703 * rebuildtextindex.php maintenance script now supports databases other than
18705 * upgrade1_5.php now requires to be run --update option to prevent confusion
18706 * (bug 17662) Customizable default preload/editintro for new sections in the
18707 respective addsection-preload and addsection-editintro messages
18708 * Added maintenance script checkSyntax.php that checks for PHP syntax errors
18709 and common coding mistakes
18710 * Updated Unicode normalization tables
18711 * (bug 21604) Spellcheck attribute for editsummary
18712 * New wgCategories JavaScript global variable for userscripts.
18713 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
18714 membership in SpecialActiveusers
18715 * Allow \pagecolor and \definecolor in texvc
18716 * $wgTexvcBackgroundColor contains background color for texvc call
18717 * (bug 21574) Redirects can now have "303 See Other" HTTP status
18718 * EditPage refactored to allow extensions to derive new edit modes much easier.
18719 * (bug 21826) Subsections of Special:Version now also have anchors
18720 * (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick)
18721 * (bug 21946) Sorted wikitables do not properly handle minus signs
18722 * (bug 18885) Red links for media files do not support shared repositories
18723 * Added $wgFixArabicUnicode, to convert deprecated presentation forms in
18724 Arabic text to their modern equivalents, and $wgFixMalayalamUnicode, to
18725 convert ZWJ-based chillu sequences in Malayalam text to their Unicode 5.1
18727 * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now
18728 stops normal output
18729 * Send new password e-mail in users preference language
18730 * LanguageConverter now support nested using of manual convert syntax like
18732 * Upload license preview now uses the API instead of action=ajax
18733 * (bug 7346) Add <guid> to RSS to avoid duplicates
18734 * (bug 19996) Added new hooks for Special:Search, which allow to further
18735 restrict/expand it.
18736 * (bug 21936) When a revision has been patrolled, there's now a link back to the
18738 * (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks
18740 * Separate unit test suites under t/ and tests/ were merged and moved to
18741 maintenance/tests/.
18742 * importImages.php maintenance script can now use the original uploader and
18743 comment from another wiki.
18744 * Support for Turck MMCache was removed
18745 * (bug 14592) Warn users when they try to move their user page that their
18746 account will not be renamed
18747 * Show block log on non-existing user (talk) pages of currently blocked users
18749 === Bug fixes in 1.16 ===
18751 * (bug 18031) Make namespace selector on Special:Export remember the previous
18753 * The svn-version version numbers on Special:Version have been removed
18754 * (bug 17374) Special:Export no longer exports two copies of the same page
18755 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
18756 * (bug 17617) HTML cleanup for ImagePage
18757 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
18758 * Improved error handling for image moving
18759 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
18760 with <strong> tags, helps with text-based browsers
18761 * (bug 18259) Special:DeletedContributions now also uses
18762 MediaWiki:Sp-contributions-logs for the link to Special:Log
18763 * Don't add empty title="" attributes to links to anchors on the current page
18764 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
18765 * (bug 18304) rebuildrecentchanges.php got size changes wrong
18766 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
18767 * (bug 18289) Database connection error page now returns correct HTML
18768 * "successbox", "errorbox" and related CSS classes are now available in all
18770 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
18771 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
18772 * The "noautoblock" flag is no longer displayed in the block log when blocking
18774 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
18775 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
18776 * (bug 18377) Time in Enhanced ChangesList lacking localisation
18777 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
18778 * (bug 1553) Lowercase navigation headings in German
18779 * (bug 7830) Pending transactions failed to commit on loginToUse() error
18780 * (bug 11613) session.save_handler being over-ridden
18781 * (bug 11381) session.save_handler being set twice (causes error)
18782 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
18783 * (bug 18115) ForeignAPIRepo cache isn't working
18784 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
18785 after some parsed math syntax.
18786 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
18787 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
18788 <strong> instead of hardcoded styles
18789 * (bug 18449) Fixed items number per column on category pages when the total is
18791 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
18792 revisions when --delete is not passed
18793 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
18794 * Overhaul of preferences system, includes the following bug fixes:
18795 ** (bug 5363) Changes to default preferences now impact registered users.
18796 ** (bug 14806) Hook to enable putting preferences in existing tabs.
18797 ** (bug 17191) Registration date now listed on preferences page.
18798 ** The user_properties table (now used for storing preferences) has been added
18799 to $wgSharedTables.
18800 ** Note that this change will break some extensions which have not been adapted
18802 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
18803 languages while the text is typed as URLs.
18804 * (bug 17614) Prev / Next links are not shown if all results are shown
18805 * (bug 18207) Strange spacing before [[irc:...]] links
18806 * Removed float from the user login form in RTL interface - caused display
18808 * (bug 15008) Redirect images are now subject to Bad image list rules
18809 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
18810 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
18811 'wikidiff' or 'wikidiff2' but extension is not installed
18812 * (bug 18326) Chmod errors in file repos have been hidden
18813 * (bug 18718) Comma after a } create a error in IE
18814 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
18816 * (bug 18656) Use proper directory separators in wfMkdirParents()
18817 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
18819 * (bug 16912) Tooltips on images with link= disappear
18820 * (bug 18389) Localise numbers in EXIF data
18821 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
18822 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
18823 * (bug 18432) Updated documentation for dumpBackup.php
18824 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
18825 tags that were redundantly defined.
18826 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
18827 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
18829 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
18830 Title::userCanEdit() and Title::userCanMove() have been removed
18831 * Only show upload links on file description if $wgEnableUploads = true
18832 and user can upload
18833 * Don't say "You need to log in to upload/move", because it's possible that
18834 uploading/moving is disabled for registered users as well (e.g. only sysops)
18835 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
18836 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
18837 * (bug 10837) Introducing the StubUserVariant class to determine the variant
18838 variable instead of using this to overrule the user language preference.
18839 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
18840 show "view" instead of "view/restore" on logs.
18841 * (bug 19017) TOC level calculation error in an odd case
18842 * (bug 18999) CSS update for RTL interwiki links
18843 * (bug 18925) history.js removes class names of list elements on initialization
18844 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
18845 link from the edit comment
18846 * (bug 19112) Preferences now respects $wgUseExternalEditor
18847 * (bug 18173) MediaWiki now fails when unable to determine a client IP
18848 * (bug 19170) Special:Version should follow the content language direction
18849 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
18850 * Fixed performance regression in "bad image list" feature
18851 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
18852 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
18853 can add/remove *all* groups (have 'userrights' permission).
18854 * (bug 19294) Always show Sp-contributions-footer(-anon)
18855 * Attempts to restrict reading of pages while anonymous viewing is allowed
18856 via extensions not using the userCan hook and via $wgRevokePermissions now
18858 * (bug 8445) Multiple-character search terms are now handled properly for
18860 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
18861 * (bug 11242) Check for MySQL storage engines during installation now checks
18862 whether the engines are actually available
18863 * (bug 19390) Omit the "printable version" link on the printable version
18864 * (bug 18394) img_auth.php now respects userCan
18865 * (bug 19509) Uploading to a file named '0' previously treated it as null input
18866 and attempted to upload with the source name. Now warns about not having an
18867 extension (since 0.ext is perfectly valid)
18868 * (bug 19468) Enotif preferences are now only displayed when they are turned on
18869 * (bug 19442) Show/hide options on watchlist only work once
18870 * (bug 19602) PubMed Magic links now use updated NIH url
18871 * (bug 19637) externallinks have links to self
18872 * Don't load Opera 9.5 RTL fixes for Opera 9.6
18873 * Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
18874 and was causing problems.
18875 * Removed repetition of URIs in the title attributes of external links.
18876 * (bug 19693) User name is now escaped in "Contributions for ..." link on
18878 * (bug 19571) Override buildConcat for SQLite.
18879 * Log in and log out links no longer return to page view when clicked from
18880 history view, edit page, or something similar
18881 * (bug 19513) RTL fixes for new Search UI
18882 * (bug 16497) Special:Allmessages is paginated
18883 * (bug 18708) CSS plainlinks class now available to all skins
18884 * (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
18886 * (bug 19759) successbox on Special:Preferences now correctly aligned on
18887 standard, nostalgia and cologneblue skin
18888 * (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
18889 are no longer recorded in the pagelinks table
18890 * (bug 19784) date option "ISO 8601" produced illegal id
18891 * (bug 19761) Removed autogenerated <meta keywords> tag with link data.
18892 Keyword set was not useful, and is ignored by modern search engines anyway.
18893 * (bug 19827) Special:SpecialPages title is "Upload file
18894 * (bug 19355) Added .xhtml, .xht to upload file extension blacklist
18895 * (bug 19287) Workaround for lag on history page in Firefox 3.5
18896 * (bug 19564) Updated docs/hooks.txt
18897 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
18898 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
18899 * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
18901 * (bug 14080) Short notation links to subpages didn't work in edit summaries
18902 * (bug 17374) Special:Export no longer exports multiple copies of pages
18903 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
18904 users who can't edit them
18905 * (bug 19839) Comments in log items are no more double escaped
18906 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
18907 "enhanced recent changes"
18908 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
18909 the recentchanges table
18910 * (bug 16009) Limit selection forms based on Pager now links to the correct page
18911 when using long urls
18912 * The display of the language list on the preferences is more comply with the
18914 * (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
18915 * (bug 19301) Duplicate entries in $wgAddGroups, $wgRemoveGroups,
18916 $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
18917 Special:ListGroupRights
18918 * (bug 18799) Special:Userlogin now handles correctly the returnto parameter
18919 to not link back to Special:Userlogout when user's language isn't the same as
18921 * (bug 19479) Show proper error message when unable to connect to PostgreSQL
18922 database with username/password in MediaWiki's setup
18923 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
18924 if uploads are enabled and the user can access it
18925 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
18926 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
18927 option to parser test suite to run disabled tests if desired.
18928 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
18929 * (bug 15680) Split the edit tip message of user CSS/JS subpage into
18930 "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
18931 * (bug 12110) Split the rights for editing users' CSS/JS subpage from
18932 "editusercssjs" into "editusercss" and "edituserjs" respectively.
18933 * (bug 19394) RecentChanges feed URLs for log items with no revisions
18934 (eg Newuser, Userrights) are no longer broken
18935 * (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
18936 language ($wgContLang)
18937 * (bug 11867) Lock error on redirect table when running orphans.php
18938 * (bug 18930) initStats.php now refreshes active users count
18939 * (bug 18699) Using the nosummary URL option no longer triggers the "You have
18940 not provided a summary" warning for those who activated it in their
18942 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
18943 using the full path
18944 * (bug 18497) Fixed broken style sheets in Opera fullscreen mode
18945 * (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
18946 * (bug 17864/19519) Added proper input normalization in Special:UserRights
18947 * (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
18948 * (bug 19289) importDump.php can now handle bzip2 and 7zip
18949 * (bug 20131) Fixed a PHP notice for users having the "rollback" right on
18950 Special:RecentChangesLinked
18951 * Do not transform EXIF fields with pure text to avoid results like
18952 foo,bar@example,com
18953 * (bug 20176) Fix login/logout links in skin CologneBlue
18954 * (bug 20203) "Powered by Mediawiki" now has height/width on image tag
18955 * (bug 20273) Fix broken output when no pages are found in the content
18957 * (bug 20265) Make AncientPages and UnusedFiles work on SQLite
18958 * Fixed XSS vulnerability for Internet Explorer clients (only pre-release
18959 versions of MediaWiki were affected).
18960 * (bug 14817) Moving a page to a subpage of itself moves it twice
18961 * (bug 20289) $wgMaximumMovedPages should only count pages actually moved
18962 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
18963 are now normalized to ordinary spaces in titles; if your wiki has existing
18964 titles with such characters, run cleanupTitles.php and/or cleanupImages.php
18965 * (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
18966 cleanly disabled instead of breaking parsing entirely on PHP 5.2.
18967 * (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
18968 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
18969 * (bug 20317) Cleaned up default main page link accesskey settings
18970 * (bug 20362) Special:Statistics now produces valid HTML when view counters are
18972 * (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
18974 * (bug 20365) Page name with c/g/h/j/s/u + x are now correctly handled in
18975 Special:MovePage with Esperanto as content language
18976 * (bug 20364) Fixed regression in GIF metadata loading
18977 * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
18979 * (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
18980 DatabaseBase::getFlag() now have documentation
18981 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
18982 the file description page instead of MediaWiki:License
18983 * (bug 20380) Links to history/deleted edits at the top of
18984 Special:RevisionDelete are no more displayed when doing log suppression
18985 * (bug 8143) Localised parser function names are now correctly case insensitive
18986 if they contain non-ASCII characters
18987 * (bug 19055) maintenance/rebuildrecentchanges.php now purges
18988 Special:Recentchanges's RSS and Atom feed cache
18989 * The installer will now try to bypass PHP's max_execution_time
18990 * (bug 20260) SQLite no longer tries to automatically create the database at
18991 execution time, this now happens only at install time; if it is not available
18992 at script execution, it now throws an exception
18993 * Fixed EditFilterMerged hook so the hookError parameter serves a purpose
18994 (analogous to EditFilter hook)
18995 * (bug 2257) Tag extensions can expand template parameters provided to the tag,
18996 by using a new parameter added to the recursiveTagParse function
18997 * (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
18998 $wgArticleRobotPolicies.
18999 * (bug 20466) Hidden categories are no more displayed when printing
19000 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
19001 the local wiki, the user is now treated as the local user
19002 * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
19004 * (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
19005 any change, in addition to onkeyup.
19006 * Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
19007 allowed to create page. Done via new message
19008 MediaWiki:Noarticletext-nopermission
19009 * Improved compatibility between the Vector skin and addPortletLink() from
19010 wikibits.js: empty portlets are now present but hidden, adding an element to a
19012 * (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
19013 be compatible with the CSS for the Vector skin
19014 * (bug 20578) Wrong localized image metadata - duplicated string?
19015 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
19016 correct type="text" parameter
19017 * (bug 482) Don't include TOC in the printable version if it has been hidden
19018 * Adjust the time according to the user configuration on Special:Revisiondelete
19019 * (bug 20624) Installation no longer allows "qqq" as the chosen language
19020 * (bug 20634) The installer-created database user will now have all rights on
19021 the database so that upgrades will go more smoothly.
19022 * (bug 18180) Special:Export ignores limit, dir, offset parameters
19023 * User::getBlockedStatus() works for all kinds of user objects and doesn't
19024 assume the user object is equal to the current-user object ($wgUser)
19025 * (bug 20517) Cancel link from edit page now returns to the old version when
19026 editing an old version
19027 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
19028 by disable_functions
19029 * (bug 20726) Title::getLatestRevID's documentation now says that the function
19030 returns false if the page doesn't exist
19031 * (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache
19032 * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
19033 * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing
19034 command line scripts to fail
19035 * (bug 20702) Parser functions can now be used correctly in
19036 MediaWiki:Missing-article
19037 * (bug 14117) "redirected from" is now also shown on foreign file redirects
19038 * (bug 17747) Only display thumbnail column in file history if the image can
19040 * (bug 3421) Live preview no longer breaks user CSS/JS previews
19041 * (bug 11264) The file logo on a file description page for documents (PDF, ...)
19042 now links to the file rather than the file description page
19043 * Password fields built with HTMLForm now still have the type="password"
19044 attribute if $wgHtml5=false.
19045 * (bug 20836) Preload now works for MediaWiki namespace
19046 * (bug 20885) Search box no longer suggests unavailable special pages
19047 * (bug 20948) "Create this page" on Special:Search is no longer displayed when
19048 searching for special pages
19049 * (bug 20524) Hideuser: Show nice error when trying to block hidden user without
19051 * (bug 21026) Fixed file redirects on shared repos on non-English client wikis
19052 * (bug 21030) Fixed schema choices from being overwritten by defining unique
19053 field names per driver.
19054 * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always
19055 false on non-special pages
19056 * (bug 21113) "Other statistics" header on Special:Statistics is no more
19057 displayed when there isn't any entry in it
19058 * (bug 21114) Special:Contributions no longer shows diff links for new
19060 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
19061 MediaWiki:Templatesusedsection now support plural
19062 * (bug 21079) There is no more line wrapping between label and field in
19064 * (bug 20256) Fixed SQL errors on Special:Recentchanges and
19065 Special:Recentchangeslinked on SQLite backend
19066 * (bug 20880) Fixed updater failure on SQLite backend
19067 * (bug 21182) Fixed invalid HTML in Special:Listgrouprights
19068 * (bug 20242) Installer no longer promts for user credentials for SQLite
19070 * (bug 20911) Installer failed to create a SQLite database
19071 * (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving
19073 * (bug 21161) Changing $wgCacheEpoch now always invalidates file cache
19074 * (bug 20268) Fixed row count estimation on SQLite backend
19075 * (bug 20275) Fixed LIKE queries on SQLite backend
19076 * (bug 21234) Moving subpages of titles containing \\ now works properly
19077 * (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL
19078 * (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page
19079 * (bug 21255) Fixed hostname construction for DNSBL checking
19080 * (bug 18019) Users are now warned when moving a file to a name in use on a
19081 shared repository and only users with the 'reupload-shared' permission can
19083 * (bug 18909) Add missing Postgres INSERT SELECT wrapper
19084 * User::isValidPassword now only returns boolean results,
19085 User::getPasswordValidity can be used to get an error message string
19086 * The error message shown in Special:ChangePassword now parses wiki markup
19087 * (bug 19859) Removed experimental HTMLDiff feature
19088 * Removed section edit links in edit conflict form
19089 * Allow SpecialActiveusers to work on non-MySQL databases
19090 * (bug 6579) Fixed protecting images from uploading only
19091 * (bug 18609) Search index was empty for some pages
19092 * (bug 13453) rebuildrecentchanges maintenance script works on PG again
19093 * (bug 16583) Reduce false positives when checking for PHP (on upload, etc.)
19094 * (bug 20112) Bitrotted tests in the t/ directory were failing.
19095 * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with
19096 id "mw-sp-contributions-explain"
19097 * (bug 19159) Fixed \overleftrightarrow in texvc
19098 * (bug 19391) Fix caching for Recent ChangesFeed.
19099 * (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages
19100 even to non-logged in users
19101 * (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and
19102 general implementation of HTTP, allowing it to purge non-Squid caches such as
19104 * Fixed corruption of long UDP debug log messages by using socket_sendto()
19105 instead of fsockopen() with fwrite().
19106 * (bug 16884) Fixed feed links in sidebar not complying with URL parameters
19107 of the displayed page
19108 * (bug 21403) memcached class renamed to MWMemecached to avoid conflict with
19109 PHP's memcached extension
19110 * (bug 21650) Both calls to SkinTemplateTabs hook are now compatible
19111 * (bug 21672) Add missing Accept-Language to both Vary and XVO headers
19112 * (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now
19113 only displayed to the users that have "editinterface" right
19114 * (bug 21740) Attempting to protect a page that doesn't exist (salting) returns
19116 * (bug 18762) both redirects and links get fixed one after another if
19117 redirects-only switch is not present
19118 * (bug 20159) thumbnails rerendered if older than $wgThumbnailEpoch
19119 * Fixed a bug which in some situations causes the job queue to grow forever,
19120 due to an infinite loop of job requeues.
19121 * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have
19122 the page selector when they have only one page
19123 * (bug 21559) "logempty" message is now wrapped in a div with class
19124 "mw-warning-logempty" when used in log extract
19125 * (bug 20549) Parser tests were broken on SQLite backend
19126 * (bug 21776) Interwiki urls like http://en.wikibooks.org/wiki/cs: should give
19127 a redirect instead of a baderror.
19128 * (bug 21803) Special:MyContributions now keeps the query string parameters
19129 * Redirecting special pages now keep query string parameters set to "0" (e.g.
19131 * (bug 20765) Special:ListGroupRights no longer misses addables and removables
19132 groups if there are duplicate entries
19133 * (bug 21814) Message shown when rolling back an edit with a deleted username
19134 now shows '(username deleted)' instead of broken user tool links
19135 * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID
19136 * (bug 21535) RecentChanges RSS feed now always recognises the namespace filter,
19137 previously it sometimes didn't due to caching.
19138 * (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw
19139 * refreshLinks.php now purges orphaned redirect table rows
19140 * (bug 2971) Swap links of hist & diff location on Special:Contributions for
19141 consistency with RC/WL
19142 * (bug 21986) Special page names are now capitalized by content language
19143 * If two log types have the same description, they're now both displayed in the
19144 type selector on Special:Log
19145 * (bug 20115) Special:Userlogin title says "Log in / create account" even if the
19146 user can't create an account
19147 * (bug 2658) Don't attempt to set the TZ environment variable.
19148 * (bug 9794) User rights log entries for foreign user now links to the foreign
19149 user's page if possible
19150 * (bug 14717) Don't load nonexistent CSS fix files for non-Monobook skins
19151 * (bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler instead of
19153 * (bug 19226) First line renders differently on many UI messages.
19154 * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and
19155 skin-specific JS pages
19156 * (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes
19158 * (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the
19159 Monobook and Chick skins
19160 * Fixed bug involving unclosed "-{" markup in the language converter
19161 * (bug 21870) No longer include Google logo from an external server on wiki
19163 * (bug 22181) Do not truncate if the ellipsis actually make the string longer
19164 * (bug 16039) Text disappearing after a bad image
19165 * (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption',
19166 not 'File:Foo' when Foo is not an image
19167 * (bug 21518) Special:UserRights no longer displays the user name box for users
19168 that can only change their rights
19169 * (bug 21593) Special:UserRights now lists automatic groups membership
19170 * (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload
19171 link from file pages
19172 * Fix bug introduced in MediaWiki 1.12: The author field in
19173 $wgExtensionCredits is no longer sorted with sort() but rather used
19174 as it appears in extensions as was the case before r30117 where it
19175 was unintentionally sorted along with other fields.
19176 * (bug 19334) Textarea no longer jumps when editing longer articles in IE8
19177 * Truncate summary of page moves in revision comment field to avoid broken
19178 multibyte characters
19179 * (bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist
19180 * (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to
19181 the page set in the &returnto parameter.
19182 * (bug 19194) Search box in Modern skin doesn't focus with Safari/Chrome
19183 * (bug 17790) Users instantly logged off on HughesNet
19184 * (bug 21549) Make foreign key constraints DEFERRABLE INITIALLY DEFERRED
19185 when using Postgres as the database backend.
19187 == API changes in 1.16 ==
19189 * Added uiprop=changeablegroups to meta=userinfo
19190 * Added usprop=gender to list=users
19191 * (bug 18311) action=purge now works for images too
19192 * Add parentid to prop=revisions output
19193 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
19194 when the user is blocked
19195 * (bug 18546) Added timestamp of new revision to action=edit output
19196 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
19198 * (bug 13049) "API must be accessed from the primary script entry point" error
19199 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
19200 * Added PHP and database version to meta=siteinfo output
19201 * (bug 18533) Add readonly message to meta=siteinfo output
19202 * (bug 18518) Add clprop=hidden to prop=categories
19203 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
19204 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
19206 * (bug 18731) Show correct SVN links for extension modules in api.php?version
19207 * (bug 18730) Add version information to action=paraminfo output
19208 * (bug 18743) Add ucprop=size to list=usercontribs
19209 * (bug 18749) Add generator flag to action=paraminfo output
19210 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
19211 * Made deleting file description pages without files possible
19212 * (bug 18773) Add content flag to siprop=namespaces output
19213 * (bug 18785) Add siprop=languages to meta=siteinfo
19214 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
19216 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
19218 * (bug 19313) action=rollback returns wrong revid on master/slave setups
19219 * (bug 19323) action=parse doesn't return section tree on pages with Cite
19221 * (bug 18720) Add anchor field to action=parse&prop=sections output
19222 * (bug 19423) The initial file description page used caption in user lang
19223 rather than UI lang
19224 * (bug 17809) Add number of users in user groups to meta=siteinfo
19225 * (bug 18533) Add readonly reason to readonly exception
19226 * (bug 19528) Added XSLT parameter to API queries in format=xml
19227 * (bug 19040) Fix prependtext and appendtext in combination with section
19228 parameter in action=edit
19229 * (bug 19090) Added watchlist parameter, deprecated watch and unwatch
19230 parameter in action=edit
19231 * Added fields to list=search output: size, wordcount, timestamp, snippet
19232 * Where supported by backend, list=search adds a 'searchinfo' element with
19233 optional info: 'totalhits' count and 'suggestion' alternate query term
19234 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
19235 external domains to access api.php via AJAX, if the browser supports the
19236 Access-Control-Allow-Origin HTTP header
19237 * (bug 19999) Made metadata and properties of search results optional. Added
19239 * (bug 20700) Add amprop=default to meta=allmessages to list default value for
19240 customized messages
19241 * Don't parse magic words in meta=allmessages, output messages unparsed
19242 * (bug 21105) list=usercontribs can now list contribs for User:0
19243 * (bug 21085) list=deletedrevs no longer returns only one revision when
19244 drcontinue param is passed
19245 * (bug 21106) Deprecated parameters now tagged in action=paraminfo
19246 * (bug 19004) Added support for tags
19247 * (bug 21083) list=allusers no longer returns current timestamp for users
19248 without registration date
19249 * (bug 20967) action=edit allows creation of invalid titles
19250 * (bug 19523) Add inprop=watched to prop=info
19251 * (bug 21589) API: Separate summary and initial page text for uploads
19252 * (bug 21817) list=usercontribs returns empty result for empty ucuser
19253 * (bug 21441) meta=userinfo&uiprop=options no longer returns default options
19254 for logged-in users under certain circumstances
19255 * (bug 21945) Add chomp control in YAML
19256 * Expand the thumburl to an absolute url to make it consistent with url and
19258 * (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS
19259 * (bug 22061) API: add prop=headitems to action=parse
19260 * (bug 22240) API: include time in siteinfo
19261 * (bug 22241) Quick edit is still using the deprecated watch parameter (API:
19262 Setting default for watch/unwatch wrongly set)
19263 * (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering
19264 * (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions
19265 * Support key-params arrays in 'descriptionmsg' in
19266 meta=siteinfo&siprop=extensions
19267 * (bug 21922) YAML output should quote asterisk when used as key
19268 * (bug 22297) safesubst: to allow substitution without breaking transclusion
19269 * (bug 18758) API read of watchlist's wl_notificationtimestamp
19270 * (bug 20809) Expose EditFormPreloadText via the API
19271 * (bug 18427) Comment (edit summary) parser option for API
19272 * (bug 18608) API should provide list of CSS styles to apply to rendered output
19273 * (bug 18771) List possible errors in action=paraminfo
19275 === Languages updated in 1.16 ===
19277 MediaWiki supports over 300 languages. Many localisations are updated
19278 regularly. Below only new and removed languages are listed, as well as
19279 changes to languages because of Bugzilla reports.
19281 * Capiznon (cps) (new)
19282 * North Frisian (frr) (new)
19283 * Kirmanjki (kiu) (new)
19284 * Komi-Permyak (koi) (new)
19285 * Karachay-Balkar (krc) (new)
19286 * Hill Mari (mrj) (new)
19287 * Prussian (prg) (new)
19288 * Romagnol (rgn) (new)
19289 * Lower Silesian (sli) (new)
19290 * Picard (pcd) (new)
19291 * Uyghur (Arabic script) (ug-arab) (new)
19292 * Upper Franconian (vmf) (new)
19293 * Votic (vot) (new)
19294 * Eastern Yiddish (ydd) (removed)
19295 * Iriga Bicolano (bto) (removed)
19296 * Ladin (lld) (removed)
19297 * Laz (lzz) (removed)
19298 * Palembang (plm) (removed)
19299 * Megleno-Romanian (Greek script) (ruq-grek) (removed)
19300 * Tamazight (tzm) (removed)
19303 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
19304 * Add PLURAL function for Scots Gaelic (gd)
19305 * Add Estonian letters äöõšüž to linktrail (et)
19306 * (bug 18776) Native name of Burmese language (my)
19307 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
19309 * (bug 18864) Updated autonym for Zhuang language
19310 * (bug 18308) Updated date formatting in Occitan (oc)
19311 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
19312 * (bug 19286) Correct commafying function in Polish (pl)
19313 * (bug 19441) Updated date formatting for Lithuanian
19314 * (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
19315 * (bug 19949) New linktrail for Greek (el)
19316 * (bug 19809) Korean (North Korea) (ko-kp) (new)
19317 * (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
19318 * (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail
19319 * (bug 21596) Change interwiki link for Kurdish (ku)
19320 * (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue).
19322 == MediaWiki 1.15 ==
19324 == MediaWiki 1.15.5 ==
19325 === Changes since 1.15.4 ===
19327 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
19328 user privacy in the case where an attacker can access the wiki through the
19329 same HTTP proxy as a logged-in user.
19330 * Fixed a minor cookie header parsing issue causing incorrect Cache-Control
19331 headers to be sent.
19332 * Fixed an XSS vulnerability in profileinfo.php for installations with
19333 $wgEnableProfileInfo = true (false by default)
19334 * For backwards compatibility with extensions from 1.14.x or before, restored
19335 the original function ApiMain::requestWriteMode().
19336 * In API login "need token" responses, added the cookieprefix and sessionid
19337 fields, as in MediaWiki 1.16.x. This is an improvement to the CSRF fix
19338 introduced in 1.15.3.
19340 == MediaWiki 1.15.4 ==
19341 === Changes since 1.15.3 ===
19343 * (bug 23534) Fixed SQL query error in API list=allusers.
19344 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
19345 account" and "create by e-mail" features of [[Special:Userlogin]]
19346 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
19349 == MediaWiki 1.15.3 ==
19350 === Changes since 1.15.2 ===
19352 * (bug 22828) Fixed deletion on SQLite.
19353 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
19354 be submitted along with the user name and password.
19356 == MediaWiki 1.15.2 ==
19357 === Changes since 1.15.1 ===
19359 * The installer now includes a check for a data corruption issue with certain
19360 versions of libxml2 2.7 and PHP earlier than 5.2.9, and also for a PHP bug
19361 present in the official release of PHP 5.3.1.
19362 * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which
19363 was displayed to the user
19364 * (bug 21150) SQLite no longer raise an error when deleting files
19365 * (bug 20880) Fixed updater failure on SQLite backend
19366 * upgrade1_5.php now requires to be run --update option to prevent confusion
19367 * Fixed a CSS validation issue which allowed external images to be included
19368 into wikis where that is disallowed by configuration.
19369 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
19370 similar image access authentication schemes. Check user permissions before
19371 streaming out scaled images from thumb.php.
19373 == MediaWiki 1.15.1 ==
19374 === Changes since 1.15.0 ===
19375 * Fixed fatal errors for unusual file repository configurations, such as
19377 * Fixed the "change password" link on Special:Preferences to have the correct
19378 returnto parameter.
19379 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
19381 == MediaWiki 1.15.0 ==
19382 === Changes since 1.15.0rc1 ===
19384 * Removed category redirect feature, implementation was incomplete.
19385 * (bug 18846) Remove update_password_format(), unnecessary, destroys all
19386 passwords if a wiki with $wgPasswordSalt=false is upgraded with the web
19388 * (bug 19127) Documentation warning for PostgreSQL users who run update.php:
19389 use the same user in AdminSettings.php as in LocalSettings.php.
19390 * Fixed possible web invocation of some maintenance scripts, due to the use of
19391 include() instead of require(). A full exploit would require a very strange
19392 web server configuration.
19393 * Localisation updates.
19395 === Configuration changes in 1.15 ===
19397 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
19398 temporary passwords
19399 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
19400 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
19401 from rel="nofollow" on external links
19402 * (bug 12970) Brought back $wgUseImageResize.
19403 * Added $wgRedirectOnLogin to allow specifying a specific page to redirect users
19404 to upon logging in (ex: "Main Page")
19405 * Add $wgExportFromNamespaces for enabling/disabling the "export all from
19406 namespace" option (disabled by default)
19408 === New features in 1.15 ===
19410 * (bug 2242) Add an expiry time to temporary passwords
19411 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
19412 for the current page for a given action
19413 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
19414 to automatically add a summary or a minor edit.
19415 * (bug 16852) padleft and padright now accept multiletter pad characters
19416 * When using 'UserCreateForm' hook to add new checkboxes into
19417 Special:UserLogin/signup, the messages can now contain HTML to allow
19418 hyperlinking to the site's Terms of Service page, for example
19419 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
19421 * (bug 17045) Options on the block form are prefilled with the options of the
19422 existing block when modifying an existing block.
19423 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
19424 rather than hardcoded HTML tags
19425 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
19426 extensions to alter the SQL query which is used to get the list of wanted
19428 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
19430 * (bug 11443) Auto-noindex user/user talk pages for blocked user
19431 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
19432 recursed through until the "destination" page is reached.
19433 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
19435 * Use HTML5 rel attributes for some links, where appropriate
19436 * Added optional alternative Search form look - Go button & Advanced search
19437 link instead of Go button & Search button
19438 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
19439 * More helpful error message on raw page access if PHP_SELF isn't set
19440 * (bug 13040) Gender switch in user preferences
19441 * (bug 13040) {{GENDER:}} magic word for interface messages
19442 * (bug 3301) Optionally sort user list according to account creation time
19443 * Remote description pages for foreign file repos are now fetched in the
19445 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
19447 * (bug 16604) Mark non-patrolled edits in feeds with "!"
19448 * (bug 16604) Show title/rev in IRC for patrol log
19449 * (bug 16854) Whether a page is being parsed as a preview or section preview
19450 can now be determined and set with ParserOptions.
19451 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
19452 "mw-confirmemail-pending"
19453 * (bug 8249) The magic words for namespaces and pagenames can now be used as
19454 parser functions to return the desired namespace or normalized title/title
19455 part for a given title.
19456 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
19458 * (bug 7556) Time zone names in signatures lack i18n
19459 * (bug 3311) Automatic category redirects
19460 * (bug 17236) Suppress 'watch user page link' for IP range blocks
19461 * Wrap message 'searchresulttext' (Special:Search) into a div with
19462 class "mw-searchresult"
19463 * (bug 15283) Interwiki imports can now fetch included templates
19464 * Treat svn:// URLs as external links by default
19465 * New function to convert namespace text for display (only applies on wiki with
19466 LanguageConverter class)
19467 * (bug 17379) Contributions-title is now parsed for magic words.
19468 * Preprocessor output now cached in memcached.
19469 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
19470 "mw-line-odd" and "mw-line-even" to make styling using css possible.
19471 * (bug 17311) Add a note beside the gender selection menu to tell users that
19472 this information will be public
19473 * Localize time zone regions in Special:Preferences
19474 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
19475 the active users data from site_stats.
19476 * Add a <link rel="canonical"> tag on redirected page views
19477 * Replace hardcoded '...' as indication of a truncation with the
19479 * Wrap warning message 'editinginterface' into a div with class
19480 'mw-editinginterface'
19481 * (bug 17497) Oasis opendocument added to mime.types
19482 * Remove the link to Special:FileDuplicateSearch from the "file history" section
19483 of image description pages as the list of duplicated files is shown in the
19484 next section anyway.
19485 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
19487 * (bug 14981) Shared repositories can now have display names, located at
19488 Mediawiki:Shared-repo-name-REPONAME, where REPONAME is the name in
19489 $wgForeignFileRepos
19490 * Special:ListUsers: Sort list of usergroups by alphabet
19491 * (bug 16762) Special:Movepage now shows a list of subpages when possible
19492 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
19493 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
19494 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
19496 * Wrap special page summary message '$specialPageName-summary' into a div
19497 with class 'mw-specialpage-summary'
19498 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
19499 of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
19500 * New function to convert content text to specified language (only applies on
19501 wiki with LanguageConverter class)
19502 * (bug 17844) Redirect users to a specific page when they log in, see
19504 * Added a link to Special:UserRights on Special:Contributions for privileged
19506 * (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the editor
19507 of the displayed revision
19508 * LinkerMakeExternalLink now has an $attribs parameter for link attributes and
19509 a $linkType parameter for the type of external link being made
19510 * (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables
19511 with dynamic dates.
19512 * (bug 4582) Provide preference-based autoformatting of unlinked dates with the
19513 dateformat parser function.
19514 * (bug 17886) Special:Export now allows you to export a whole namespace (limited
19516 * (bug 17714) Limited TIFF upload support now built in if 'tif' extension is
19517 enabled. Image width and height are now recognized, and when using
19518 ImageMagick, optional flattening to PNG or JPEG for inline display can be
19519 enabled by setting $wgTiffThumbnailType
19520 * Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page'
19521 and 'mw-log-user', respectively
19522 * Added $wgInvalidUsernameCharacters to disallow certain characters in
19523 usernames during registration (such as "@")
19524 * Added $wgUserrightsInterwikiDelimiter to allow changing the delimiter
19525 used in Special:UserRights to denote the user should be searched for
19526 on a different database
19527 * Add a class if 'missingsummary' is triggered to allow styling of the summary
19529 * Title attributes are now always blank on framed and thumbnailed images, and
19530 default to blank on inline images instead of defaulting to the image's
19531 filename. Additionally, the alt attribute now defaults to the filename on
19532 framed and thumbnailed images if no caption or alt attribute is specified.
19534 === Bug fixes in 1.15 ===
19535 * (bug 16968) Special:Upload no longer throws useless warnings.
19536 * (bug 17000) Special:RevisionDelete now checks if the database is locked
19537 before trying to delete the edit.
19538 * (bug 16852) padleft and padright now handle multibyte characters correctly
19539 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
19540 the destination page exists
19541 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
19543 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
19544 LanguageConverter class)
19545 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
19546 LanguageConverter class)
19547 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
19548 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
19549 * (bug 8065) Fix summary forcing for new pages
19550 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
19551 allowed by default. Change $wgInvalidRedirectTargets to re-enable.
19552 * (bug 3043) Feed links of given page are now preceded by standard feed icon
19553 * (bug 17150) escapeLike now escapes literal \ properly
19554 * Inconsistent use of sysop, admin, administrator in system messages changed
19556 * (bug 14423) Check block flag validity for block logging
19557 * DB transaction and slave-lag avoidance tweaks for Email Notifications
19558 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
19559 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
19560 "user contributions"
19561 * Rollback links on new pages removed from "user contributions"
19562 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
19563 comment label uses better message
19564 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
19565 * Parser tests no longer fail when $wgExternalLinkTarget is set in
19567 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
19568 error messages on save were the edit in fact is saved.
19569 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
19570 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
19571 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
19572 for identical files at different titles are still given.
19573 * Add 'change tagging' facility, where changes can be tagged internally with
19574 certain designations, which are displayed on various summaries of changes,
19575 and the entries can be styled with CSS.
19576 * (bug 17207) Fix regression breaking category page display on PHP 5.1
19577 * Categoryfinder utility class no longer fails on invalid input or gives wrong
19578 results for category names that include pseudo-namespaces
19579 * (bug 17252) Galician numbering format
19580 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
19582 * (bug 7480) Internationalize database error message
19583 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
19584 * (bug 14938) Removing a section no longer leaves excess whitespace
19585 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
19587 * (bug 17283) Remove double URL escaping in show/hide links for log entries
19588 and RevisionDeleteForm::__construct
19589 * (bug 17105) Numeric table sorting broken
19590 * (bug 17231) Transcluding special pages on wikis using language conversion no
19591 longer affects the page title
19592 * (bug 6702) Default system messages updated/improved
19593 * (bug 17190) User ID on preference page no longer has delimeters
19594 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
19595 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
19596 * (bug 7509) Separation strings should be configurable
19597 * (bug 17420) Send the correct content type from action=raw when the HTML file
19599 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
19600 * (bug 17478) Fixed a PHP Strict standards error in
19601 maintenance/cleanupWatchlist.php
19602 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
19603 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
19604 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
19605 use correct message 'allpagesprefix' for input form label, replace _ with ' '
19607 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
19608 * Fixed excessive job queue utilisation
19609 * File dupe messages for remote repos are now shown only once.
19610 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
19611 used as a parameter in 'sharedupload' for easier styling and customization.
19612 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
19613 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
19614 now point to the actual contributors' feed.
19615 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
19616 * Special:Import: Do not show input field for import depth if
19617 $wgExportMaxLinkDepth == 0
19618 * (bug 17570) $wgMaxRedirects is now correctly respected when following
19619 redirects (was previously one more than $wgMaxRedirects)
19620 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
19621 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
19622 changed to rc_timestamp_bot
19623 * (bug 17437) Fixed incorrect link to web-based installer
19624 * (bug 17538) Use shorter URLs in <link> elements
19625 * (bug 13778) Hidden input added to the search form so that using the Enter key
19626 on IE will do a fulltext search like clicking the button does
19627 * (bug 1061) CSS-added icons next to links display through the text and makes
19628 it unreadable in RTL
19629 * Special:Wantedtemplates now works on PostgreSQL
19630 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
19632 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
19633 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
19634 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
19635 * (bug 17648) Prevent floats from intruding into edit area in previews if no
19637 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
19638 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
19639 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
19641 * (bug 17761) "show/hide" link in page history in now works for the first
19642 displayed revision if it's not the current one
19643 * (bug 17722) Fix regression where users are unable to change temporary
19645 * (bug 17799) Special:Random no longer throws a database error when a non-
19646 namespace is given, silently falls back to NS_MAIN
19647 * (bug 17751) The message for bad titles in WantedPages is now localized
19648 * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
19649 no longer corrupts the message cache
19650 * (bug 17900) Fixed User Groups interface log display after saving groups.
19651 * (bug 17897) Fixed string offset error in <pre> tags
19652 * (bug 17778) MediaWiki:Catseparator can now have HTML entities
19653 * (bug 17676) Error on Special:ListFiles when using Postgres
19654 * Special:Export doesn't use raw SQL queries anymore
19655 * (bug 14771) Thumbnail links to individual DjVu pages no longer have
19656 two "page" parameters
19657 * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that
19658 don't use PathInfo or short urls
19659 * (bug 17990) trackback.php now has a trackback.php5 alias and works with
19661 * (bug 14990) Parser tests works again with PostgreSQL
19662 * (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry
19664 * (bug 18018) Deleting a file redirect leaves behind a malfunctioning redirect
19665 * (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses
19666 * (bug 11213) [edit] section links in printable version no longer appear when
19667 you cut-and-paste article text
19668 * (bug 17405) "Did you mean" to mirror Go/Search behavior of original request
19669 * (bug 18116) 'edittools' is now output identically on edit and upload pages
19670 * (bug 17241) The diffonly URI parameter should cascade to "Next edit" and
19671 "Previous edit" diff links
19672 * (bug 16823) Sidebar search form should not use Special:Search view URL as
19674 * (bug 16343) Non-existing, but in use, category pages can be "go" match hits
19675 * Fixed a CSS validation issue which allowed external images to be included
19676 into wikis where that is disallowed by configuration.
19677 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
19678 similar image access authentication schemes. Check user permissions before
19679 streaming out scaled images from thumb.php.
19681 == API changes in 1.15 ==
19682 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
19683 and listing all deleted pages possible
19684 * (bug 16844) Added clcategories parameter to prop=categories
19685 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
19686 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
19687 created the page, even if it's not the top revision
19688 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
19689 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
19690 * (bug 15949) Add undo functionality to action=edit
19691 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
19692 Building query properly now using makeList()
19693 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
19694 autolinked correctly
19695 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
19696 * (bug 17239) Added prop=displaytitle to action=parse
19697 * (bug 17317) Added watch parameter to action=protect
19698 * (bug 17007) Added export and exportnowrap parameters to action=query
19699 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
19700 * (bug 17355) Added auwitheditsonly parameter to list=allusers
19701 * (bug 17007) Added action=import
19702 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
19703 of performance concerns
19704 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
19706 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
19707 limit and still set a query-continue in some cases
19708 * (bug 17357) Added movesubpages parameter to action=move
19709 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
19710 * (bug 16740) Added list=protectedtitles
19711 * Added mainmodule and pagesetmodule parameters to action=paraminfo
19712 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
19713 aliases already listed in siprop=namespaces
19714 * (bug 17529) rvend ignored when rvstartid is specified
19715 * (bug 17626) Added uiprop=email to list=userinfo
19716 * (bug 13209) Added rvdiffto parameter to prop=revisions
19717 * Manual language conversion improve: Now we can include both ";" and ":" in
19719 * (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters
19721 * (bug 17774) Don't hide read-restricted modules like action=query from users
19722 without read rights, but throw an error when they try to use them.
19723 * Don't hide write modules when $wgEnableWriteAPI is false, but throw an error
19724 when someone tries to use them
19725 * BREAKING CHANGE: action=purge requires write rights and, for anonymous users,
19727 * (bug 18099) Using appendtext to edit a non-existent page causes an interface
19728 message to be included in the page text
19729 * Fixed the circular template inclusion check, was broken when the loop
19730 involved redirects. Without this, infinite recursion within the parser is
19732 * (bug 18601) generator=backlinks returns invalid continue parameter
19733 * (bug 18597) Internal error with empty generator= parameter
19734 * (bug 18617) Add xml:space="preserve" attribute to relevant tags in XML output
19735 * (bug 17611) Provide a sensible error message on install when the SQLite data
19736 directory is wrong.
19738 === Languages updated in 1.15 ===
19740 MediaWiki supports over 300 languages. Many localisations are updated
19741 regularly. Below only new and removed languages are listed, as well as
19742 changes to languages because of Bugzilla reports.
19744 * Austrian German (de-at) (new)
19745 * Swiss Standard German (de-ch) (new)
19746 * Simplified Gan Chinese (gan-hans) (new)
19747 * Traditional Gan Chinese (gan-hant) (new)
19748 * Literary Chinese (lzh) (new)
19749 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
19751 * Võro (vro) (renamed from fiu-vro)
19752 * (bug 17151) Add magic word alias for #redirect for Vietnamese
19753 * (bug 17288) Messages improved for default language (English)
19754 * (bug 12937) Update native name for Afar
19755 * (bug 16909) 'histlegend' now reuses messages instead of copying them
19756 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
19757 when the user is blocked
19758 * Traditional/Simplified Gan Chinese conversion support
19760 == MediaWiki 1.14 ==
19762 == MediaWiki 1.14.1 ==
19763 === Changes since 1.14.0 ===
19765 * (bug 17737) Fixed russian URLs for Special:BookSources
19766 * (bug 17713) Using links with only an anchor no longer add an dummy entry in
19767 the pagelinks table
19768 * (bug 17897) Fixed string offset error in <pre> tags
19769 * (bug 17832) Fixed action=delete returning 'unknownerror' instead of
19770 'permissiondenied' when the user is blocked
19771 * Fixed performance regression when accessing deleted (archived) files
19772 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
19774 == MediaWiki 1.14.0 ==
19775 === Changes since 1.14.0rc1 ===
19777 * Fixed the performance of the backlinks API module
19778 * (bug 17420) Send the correct content type from action=raw when the HTML file
19780 * (bug 17437) Fixed incorrect link to web-based installer
19781 * (bug 17527) Fixed missing MySQL-specific options in installer
19783 === Configuration changes in 1.14 ===
19785 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
19786 the effect of the new __INDEX__/__NOINDEX__ magic words. (Default: null, ex-
19787 empt all content namespaces.)
19788 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
19789 has been $wgSearchForwardUrl.
19790 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
19791 $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent
19792 Changes feed that appears on all pages.
19793 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
19794 SQLite data directories on creation. Note that this setting is separate from
19795 $wgDirectoryMode, which applies to all normal dirs created by MediaWiki.
19796 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
19797 $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
19798 group in order to add or remove those groups from themselves.
19799 Backwards compatibility is maintained.
19800 * $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic
19801 word is restricted to titles equivalent to the actual page title. This
19802 is true per default, but can be set to false to allow any title.
19803 * $wgSpamRegex may now be an array of multiple regular expressions.
19804 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
19805 * Editing the MediaWiki namespace is now unconditionally restricted to people
19806 with the editinterface right, configuring this in $wgNamespaceProtection
19808 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
19809 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
19810 whitelist on or off.
19811 * Added $wgRenderHashAppend to append some string to the parser cache and the
19812 sitenotice cache keys.
19813 * $wgRCChangedSizeThreshold is now a positive integer by default,
19814 * (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform
19815 write actions using the API.
19816 * Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix
19817 ($wgLocalInterwiki) onto the page names in the UDP feed.
19818 * Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins
19819 on the wiki. If it's set to false, then the skin used will *always* be
19821 * Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based
19822 on the user's real name if one is set. Defaults to false (use the username)
19823 * Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in
19825 * (bug 44) Image namespace and accompanying talk namespace renamed to File.
19826 For backward compatibility purposes, Image still works. External tools may
19827 need to be updated.
19828 * The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and
19829 NS_IMAGE_TALK. The old constants are retained as aliases for compatibility,
19830 and should still be used in code meant to be compatible with v1.13 or older.
19831 * MediaWiki can be forced to use private IPs forwarded by a proxy server by
19832 using $wgUsePrivateIPs.
19833 * The 'BeforeWatchlist' hook has been removed due to internal changes in
19834 Special:Watchlist. 'SpecialWatchlistQuery' should now be used by extensions
19835 to customize the watchlist database query.
19837 === Migrated extensions ===
19838 The following extensions are migrated into MediaWiki 1.14:
19840 * Special:DeletedContributions to show deleted user contributions (was
19841 extension DeletedContributions)
19842 * Special:Log/newusers recording new users (was extension Newuserlog)
19843 * Special:LinkSearch to search for external links (was extension LinkSearch)
19846 * UniversalEditButton
19848 === New features in 1.14 ===
19850 * New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and
19851 'Special:ListUsers/GROUP/USER', in addition to the older syntax
19852 'Special:ListUsers/GROUP' where GROUP is a valid group name.
19853 * Configurable per-namespace and per-page notices for the edit form,
19854 respectively MediaWiki:Editnotice-# where # is the namespace number, and
19855 MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and
19856 PAGENAME is the page name minus the namespace prefix.
19857 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
19858 search engine indexing on a per-article basis.
19859 * Handheld stylesheet options
19860 * Added 'DoEditSectionLink' hook as a cleaner unified version of the old
19861 'EditSectionLink' and 'EditSectionLinkForOther' hooks. Note that the
19862 'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is
19863 run in all cases instead, so extensions using the old hooks should still work
19864 if they ran roughly the same code for both hooks (as is almost certain).
19865 * Signature (~~~~) "cleaning", i.e. template removal, can be disabled with
19866 $wgCleanSignatures=false
19867 * Extensions can use the SkinBuildSidebar hook to modify the content of the
19868 sidebar and add custom portlets to it
19869 * Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari-
19870 ables into the output of Skin::makeVariablesScript
19871 * (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on
19872 Special:ListGroupRights
19873 * (bug 14377) Add a date selector to history pages
19874 * (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
19875 the main page to be customized
19876 * Added $wgDisableTitleConversion to disabling the conversion for all pages on
19878 * Added 'noconvertlink' toggle that can be set per user preferences, also
19879 added 'convertlink=no|yes' on GET requests whether have the link titles
19880 being converted or not
19881 * (bug 14921) Special:Contributions/: add user name to <title>
19882 Patch by Emufarmers
19883 * Unescape more "safe" characters when producing URLs, for added prettiness
19884 * Introduced a new hook 'SkinAfterContent' that allows extensions to add text
19885 after the page content and article metadata. Updated all skins and skin
19886 templates to work with that hook.
19887 * (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and
19888 'ignore-groups'. Patch by Louperivois
19889 * (bug 15127) Work around minor display glitch in Opera.
19890 * By default, reject file uploads that look like ZIP files, to avoid the
19891 so-called GIFAR vulnerability.
19892 * (bug 15141) Give ability to only list protected pages with the cascading
19893 option enabled on Special:ProtectedPages
19894 * (bug 15157) Special:Watchlist has the same options as Special:Watchlist:
19895 Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
19896 * Added hook 'UserrightsChangeableGroups' to allow modification of what
19897 groups may be added or removed via the Special:UserRights interface.
19898 * HTML entities like now work (are not escaped) in edit summaries.
19899 * (bug 13815) In the comment for page moves, use the colon-separator message
19900 instead of a hardcoded colon.
19901 * Allow <gallery> to accept image names without an Image: prefix
19902 * Add tooltips to rollback and undo links
19903 * BMP images are now displayed as PNG
19904 * (bug 13471) Added NUMBERINGROUP magic word
19905 * (bug 11884) Now support Flash EXIF attribute
19906 * Show thumbnails in the file history list, patch by User:Agbad
19907 * Added support of piped wikilinks using double-width brackets
19908 * Added an on-wiki external image whitelist. Items in this whitelist are
19909 treated as regular expression fragments to match for when possibly
19910 displaying an external image inline.
19911 * (bugs 15405, 15436) Sort more currency types correctly in sortable tables
19912 * (bug 15422) Sort more different types of numbers in sortable tables
19913 * (bug 2889) MediaWiki:Print.css applies to the printable version
19914 * Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for
19916 * After logging in, automatically redirect to wherever you logged in from
19917 * (bug 5619) Break messages used in Special:Statistics down further
19918 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
19920 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
19921 plaintext copyright notice. Patch by Juliano F. Ravasi.
19922 * (bug 15551) Deletion log excerpt is now shown whenever a user vists a
19923 deleted page, even if they are unable to edit it.
19924 * Added Wantedfiles special pages, allowing users to find image links with no
19926 * (bug 12650) It is now possible to set different expiration times for
19927 different restriction types on the protection form.
19928 * (bug 8440) Allow preventing blocked users from editing their talk pages
19929 * Improved upload file type detection for OpenDocument formats
19930 * Added the ability to set the target attribute on external links with
19931 $wgExternalLinkTarget
19932 * api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the
19933 maxlag check fails, just like index.php does
19934 * Added "link" parameter to image links, to allow images to link to an
19935 arbitrary title or URL. This should replace inaccessible and incomplete
19936 solutions such as CSS-based overlays and ImageMap.
19937 * (bug 368) Don't use caption for alt attribute; allow manual specification
19938 using new "alt=" parameter for images
19939 * (bug 44) The {{ns:}} core parser function now also accepts localized
19940 namespace names and aliases; also, its output now uses spaces instead of
19941 underscores to match the behavior of the {{NAMESPACE}} magic word
19942 * Added the ability to display user edit counts in Special:ListUsers. Off by
19943 default, enabled with $wgEdititis = true (named after the medical condition
19944 marked by unhealthy obsession with edit counts).
19945 * Added a file cache to the parser to improve page rendering time on pages with
19946 several uses of the same image.
19947 * (bug 1250) Users can still use "show preview" and "show changes" even if the
19948 wiki is set to read-only mode.
19949 * Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.
19950 This should make it so that ALL user-accessible methods of removing a page
19951 from a watchlist lead to this hook being called (it was previously only
19952 called from within Article.php
19953 * Maximum execution time for shell processes on linux is now configured with
19954 $wgMaxShellTime (180 seconds by default)
19955 * (bug 1306) 'Email user' link no longer shown on user page when emailing
19956 is not available due to lack of confirmed address or disabled preference
19957 * Special:Wanted templates special page added to display missing templates
19958 linked from articles
19959 * Make search matches bold only, not red as well
19960 * (bug 10080) Blocks can be modified without unblocking first
19961 * (bug 15820) Special:BlockIP shows a notice if the user being blocked is
19962 already directly blocked
19963 * (bug 13710) Allow to force "watch this" checkbox via URL using parameter
19965 * (bug 15125) Add Public Domain to default options when installing. Patch by
19967 * Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
19968 * (bug 16113) Show/hide for redirects in Special:NewPages
19969 * (bug 15903) Upload link was added to Nostalgia skin
19970 * (bug 15761) Add user toggle to omit diff after rollback
19971 * Added the BitmapHandler_ClientOnly media handler, which allows server-side
19972 image scaling to be completely disabled for specific media types, via the
19973 $wgMediaHandlers configuration variable.
19974 * New 'AbortDiffCache' hook can be used to cancel the caching of a diff
19975 * (bug 15835) Added Content-Style-Type meta tag
19976 * (bug 11027) Add parameter to MW:Randompage-nopages so that user can see the
19978 * Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
19979 admins with a single domain can hide the domain section using CSS
19980 * Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
19981 * Moved password reset form from Special:Preferences to Special:ResetPass
19982 * Added Special:ChangePassword as a special page alias for Special:ResetPass
19983 * Added complementary function for addHandler() called removeHandler() for
19985 * Improved security of file uploads for IE clients, using a reverse-engineered
19986 algorithm very similar to IE's content detection algorithm.
19987 * Cascading protection no longer requires that both edit and move are restricted
19988 to sysop, just edit=sysop is enough
19989 * (bug 2391) A warning is now shown for invalid ISBN numbers on
19990 Special:Booksources.
19991 * Installer has been updated to reflect the release of the GFDL 1.3. The URL for
19992 1.2 has been updated, and the 1.3 URL has been given. 1.2 is still
19993 Wikipedia-compatible. RightsCode was changed from 'gfdl' to 'gfdl1_2', so we
19994 can now support 1.2 as well as 1.3 (gfdl1_3).
19995 * (bug 16293) PD URL was changed to the CreativeCommons site on PD (which
19996 auto-detects your language) instead of Wikipedia.
19997 * (bug 16635) The "view and edit watchlist" page (Special:Watchlist/edit) now
19998 includes a table of contents
19999 * File objects returned by wfFindFile() are now cached by default
20000 * (bug 7492) Rights can now be assigned to specific IP addresses and ranges by
20001 using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE)
20002 * Add a 'change block' link to Special:IPBlockList and Special:Log
20003 * (bug 16459) Use native getElementsByClassName where possible, for better
20004 performance in modern browsers
20005 * Enable \cancel and \cancelto in texvc (recompile required)
20006 * Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions
20007 to implement their own password hashing methods.
20008 * (bug 16760) Add CSS-class to action links of Special:Log
20009 * (bug 505) Time zones can now be specified by location in user preferences,
20010 avoiding the need to manually update for DST. Patch by Brad Jorsch.
20011 * (bug 2585) HTTP 404 return code is now given for a page view if the page
20012 does not exist, allowing spiders and link checkers to detect broken links.
20013 * Special:Log: Add 'change protection' link for unprotected pages too
20014 * Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to
20016 * (bug 16754) Making arbitrary rows of sortable tables sticky:
20017 |- class="unsortable"
20018 * Show subversion too even if a "normal" version number is available
20019 * (bug 16121) Add a note that a page move was without creating a redirect in the
20021 * Image moving is now enabled for sysops by default
20022 * Make "Did you mean" search feature more noticeable
20023 * (bug 16720) Transcluded Special:NewPages processes "/username="
20025 === Bug fixes in 1.14 ===
20027 * (bug 14907) DatabasePostgres::fieldType now defined.
20028 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
20029 falls back to the user option
20030 * (bug 14954) Fix regression in Modern and Simple skins
20031 * Recursion loop check added to Categoryfinder class
20032 * Fixed few performance troubles of large job queue processing
20033 * Not setting various parameters in Foreign Repos now fails more gracefully
20034 * (bug 2333) Redirects are properly rendered when previewing an edit.
20035 * (bug 14972) Use localized alias of Special:Search on all search forms
20036 * (bug 11035) Special:Search should have descriptive <title>
20037 * Special pages are now not subject to special handling for "self-links"
20038 * (bug 15053) Syntactically incorrect redirects with another link in them
20039 no longer redirect to the second link
20040 * (bug 15049) Fix for CheckUser extension's log search: usernames containing
20041 a "-" were incorrectly turned into bogus IP range searches.
20042 Patch by Max Semenik.
20043 * (bug 15055) Talk page notifications no longer attempt to send mail when
20044 user's e-mail address is invalid or unconfirmed
20045 * (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in
20047 * (bug 15016) 'Templates used on this page' list in view source should be
20048 wrapped in a div with class "templatesUsed"
20049 * (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the
20050 diff entirely, not just the display of it.
20051 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
20052 allows having the unprefixed page title as the default category sortkey
20053 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
20054 ns-special to special pages.
20055 * (bug 15052) Skins should add their name as a class in <body>
20056 * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar()
20057 for several languages was removed. The settings have been put in extension
20058 WikimediaMessages. Patch for Czech by Danny B.
20059 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
20061 * (bug 13770) Fixed incorrect detection of PHP's DOM module
20062 * (bug 14790) Export of category pages when using Category: prefix now actually
20064 * Avoid recursive crazy expansions in section edit comments for pages which
20065 contain '/*' in the title
20066 * Fix excessive memory usage when parsing pages with lots of links
20067 * $wgSpamRegex now matches the edit summary and page move descriptions in
20068 addition to body text.
20069 * Navigation links to images available from a shared repository (like Commons)
20070 from their local talk pages no longer appear as redlinks
20071 * Action=purge on ForeignApiFiles now works (purges their thumbnails and
20072 description pages).
20073 * (bug 15303) Title conversion for templates wasn't working in some cases.
20074 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
20075 literally; now converting them to spaces per expectation.
20076 * (bug 15342) "Invert" checkbox now works correctly when selecting main
20077 namespace in Special:Watchlist
20078 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
20079 last input element (like Special:Watchlist too)
20080 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
20081 * Fixed intermittent deadlock errors involving objectcache table queries.
20082 Use a separate database connection for the objectcache table to avoid
20083 long-lasting locks on that table.
20084 * Respect file restrictions in the file history list
20085 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
20086 tables, and have been disabled by default.
20087 * (bug 15482) Special:Recentchangeslinked has no longer two submit buttons
20088 * (bug 15292) New message notification for unregistred users now works again
20089 * (bug 14398) mwsuggest.js: Let width of container be configurable
20090 * (bug 15543) Only include user touched timestamp to generated CSS
20091 * (bug 15497) Removed encoding attribute from <?xml ?> tag
20092 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
20093 Special:UserLogin. Patch by Marooned.
20094 * Fixed the HTTP accept language string detection length in
20095 LanguageConverter.php, instead of the fixed length language codes.
20096 * Special:RecentChangesLinked no longer shows outgoing links for nonexistent
20097 pages even if there are broken link records with source article id 0 in the
20099 * (bug 15598) Special:Newpages default limit uses user preference for
20100 recentchanges limit instead of hardcoded 50.
20101 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses,
20102 instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
20103 * (bug 14638) Special:Blockip now provides a link to the block log if the user
20104 has been blocked more than 10 times. Patch by Matt Johnston.
20105 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
20106 * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST.
20107 * (bug 15642) Blocked sysops can no longer block other users
20108 * Http::request() now respects $wgHTTPtimeout when not using cURL
20109 * (bug 15158) Userinvalidcssjstitle not shown on preview
20110 * (bug 15196) Free external links should be numbered in a localised manner
20111 * (bug 15388) Title of Special:PrefixIndex
20112 * Links with no title but a curid parameter now use the curid to pick a page
20113 * (bug 10323) Special:Undelete should have "inverse selection" button
20114 * (bug 15831) Modern skin RTL support is bugous
20115 * (bug 15869) Nostalgia skin does not show page title in printable mode
20116 * (bug 15795) Special:Userrights is now listed on Special:SpecialPages when the
20117 user can only change his rights
20118 * (bug 15846) Categories "leak" from older revisions in certain circumstances
20119 * (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
20120 * (bug 14178) Some uses of UserLoadFromSession hook cause segfault
20121 * (bug 15925) Postitive bytes added on recentchanges and watchlists are now
20122 bolded if above the threshold, previously it only worked for negatives
20123 * Specify apple-touch-icon before favicon in HTML head section to make the
20124 Konqueror browser correctly use the latter
20125 * (bug 15717) Set $separatorTransformTable for language 'eu'
20126 * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
20128 * (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
20129 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
20131 * (bug 14609) User's namespaces to be searched default not updated after adding
20133 * Purge form uses valid XHTML
20134 * (bug 12764) Special:LonelyPages shows transcluded pages
20135 * (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback
20136 if JavaScript is disabled
20137 * (bug 4253) Recentchanges IRC messages no longer include title in diff URLs
20138 * Allow '0' to be an accesskey.
20139 * (bug 8063) Use language-dependent sorting in client-side sortable tables
20140 * (bug 16160) Suggestions box should be resized from left for RTL wikis
20141 * (bug 11533) Fixed insane slowdown when in read-only mode for long periods
20142 of time with CACHE_NONE (default objectcache table configuration).
20143 * Trying to set two different default category sort keys for one page now
20145 * (bug 16143) Fix redirect loop on special pages starting with lower case
20147 * (bug 15737) Fix notices while expanding using PPCustomFrame
20148 * (bug 15544) Non-index entry points cause the "Wiki not set up" message to
20150 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
20152 * (bug 4362) [[MediaWiki:History copyright]] no more used with most recent
20153 revision when passing oldid parameter in the url
20154 * (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same
20155 filename as the remote site.
20156 * (bug 8345) Don't autosummarize where a redirect was left unchanged
20157 * Made thumb caching in ForeignApiFile objects integrated with normal thumb
20158 path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result.
20159 * (bug 5530) Consistency between character encoding in {{PAGENAMEE}},
20160 {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
20161 * Safer handling of non-MediaWiki exceptions -- now obeys our settings for
20162 formatting and path exposure.
20163 * Less verbose errors from profileinfo.php when not configured
20164 * Blacklist redirects via Special:Filepath, hard to use.
20165 * Improved input validation on Special:Import form
20166 * Add a .htaccess to deleted images directory for additional protection
20167 against exposure of deleted files with known SHA-1 hashes on default
20169 * Improved scripting safety heuristics for IE 5/6 content-type detection.
20170 * Improved scripting safety heuristics on SVG uploads.
20171 * (bug 11728) Unify layout of enhanced watchlist/recent changes
20172 * (bug 8702) Properly update stats when running nukePage maintenance script
20173 * (bug 7726) Searches for words less than 4 characters now work without
20174 requiring customization of MySQL server settings
20175 * Honour unchecked "Leave a redirect behind" for moved subpages
20176 * (bug 16440) Broken 0-byte math renderings are now deleted and re-rendered
20177 when page is re-parsed.
20178 * (bug 6100) Unicode BiDi embedding/override characters (U+202A - U+202E) are
20179 now automatically removed from titles; these characters can accidentally end
20180 up in copy-and-pasted titles, and, by overriding normal bidirectional text
20181 handling, can lead to annoying behavior such as text rendering backwards
20182 * Fixed minor bug where the memcached value for how many accounts an IP had
20183 created that day would be increased even if $wgAccountCreationThrottle was
20184 hit. This meant if an IP hit the throttle and then the throttle was raised
20185 later that day, the IP still couldn't create another account, because it
20186 had marked them as having created another account, when their last account
20187 creation had actually failed.
20188 * (bug 12647) Allow autogenerated edit summary messages to be blanked with '-'
20189 * (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki
20191 * (bug 16529) Fix for search suggestions with some third-party JS libraries
20192 * (bug 13342) importScript() generates more consistent URI encoding
20193 * (bug 16577) When a blocked user tries to rollback a page, the block message
20194 is now only displayed once
20195 * (bug 14268) SVG image sizes now extracted with proper XML parser
20196 * (bug 14365) RepoGroup::findFiles() no longer crashes if passed an invalid
20198 * (bug 4253, bug 16586) Revision ID is now given instead of title in URLs for
20199 new pages in the recent changes IRC feed
20200 * Ugly tooltips in Special:Statistics were phased out in favor of more direct
20201 information. Went ahead and rewrote SpecialStatistics to subclass SpecialPage
20202 * (bug 5506) Links to files on foreign repositories are now shown consistently
20203 as bluelinks e.g. in logs and edit summaries
20204 * (bug 16623) Add missing </p> tag in Special:LockDB
20205 * (bug 15849) Special:Movepage now throws a more specific error when trying to
20206 move a title to an interwiki target
20207 * (bug 16638) 8-bit URL fallback encoding now set on additional languages using
20208 Arabic script (Persian, Urdu, Sindhi, Punjabi)
20209 * (bug 16656) cleanupTitles and friends should now work in load-balanced
20210 DB environments when $wgDBserver isn't set.
20211 * (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG
20212 images which do not specify width and height attributes.
20213 * (bug 15027) Internet domain names and IP addresses can now be indexed and
20214 searched sensibly with the default MySQL search backend.
20215 * (bug 11733) Fixed parameter validation in importTextFile.php
20216 * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages
20217 for clarity over "previous/next"
20218 * (bug 16612) Fixed "noprint" class for Modern skin print style
20219 * Section anchors now have an "id" attribute as well as a "name" attribute,
20220 even when Tidy is not used
20221 * (bug 16026) revision-info, revision-info-current, cannotdelete,
20222 redirectedfrom, historywarning and difference messages now use Wiki text
20223 rather than raw HTML markup
20224 * (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
20225 * (bug 16772) Special:Upload now correctly rejects files with spaces in the
20226 file extension (e.g. Foo. jpg).
20227 * Image moving over an existing file no longer throws a database error
20228 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
20229 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
20231 * (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
20232 that STDIN can be used for page list
20233 * (bug 16560) Special:Random returns a page from ContentNamespaces, and no
20234 longer from NS_MAIN
20236 === API changes in 1.14 ===
20238 * Registration time of users registered before the DB field was created is now
20239 shown as empty instead of the current time.
20240 * API search now falls back to fulltext search by default when using Lucene
20241 or other engine which doesn't support a separate title search function.
20242 This means you can use API search on Wikipedia without explicitly adding
20243 &srwhat=text to the query.
20244 * Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
20245 * (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits'
20246 are now listed on action=help
20247 * (bug 15044) Added requestid parameter to api.php to facilitate distinguishing
20249 * (bug 15048) Added limit field for multivalue parameters to action=paraminfo
20251 * When the limit on multivalue parameters is exceeded, a warning is issued
20252 * list=search doesn't list missing pages any more
20253 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
20254 non-hidden categories
20255 * (bug 15228) Combining revids= and redirects now throws a warning instead of
20256 an error, and still resolves redirects generated by the generator.
20257 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
20258 etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
20259 for consistency with other list modules.
20260 * Added action=watch
20261 * (bug 15275) apprefix and related parameters ignore spaces at the end
20262 * action=edit no longer throws unknown error 228 when trying to create an
20263 empty section with section=new
20264 * Database replication lag doesn't cause all action=edit requests to return the
20265 nochange flag any more
20266 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
20267 * (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should
20268 return just "Unknown error"
20269 * (bug 15448) YAML output returns empty values instead of 0
20270 * (bug 15445) Added action=patrol
20271 * (bug 15466) Added action=purge
20272 * (bug 15486) action=block ignores autoblock parameter
20273 * (bug 15492) added rcprop=loginfo to list=recentchanges
20274 * (bug 15527) action=rollback can now revert anonymous editors
20275 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
20276 if the page is also protected otherwise (1.10+ style or cascading)
20277 * list=random now has rnredirect parameter, to get random redirects.
20278 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
20279 hooks which allow for extending core modules in a cleaner way
20280 * action=protect checks for invalid protection types and levels
20281 * (bug 15673) Added indentation to format=wddxfm output and improved built-in
20282 WDDX formatter to resemble PHP's more
20283 * (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
20284 rather than causing an exception
20285 * Added uiprop=preferencestoken to meta=userinfo
20286 * (bug 15609) Add inprop=url and inprop=readable to prop=info
20287 * Add ApiDisabled and ApiQueryDisabled classes so individual modules can
20288 be disabled in LocalSettings.php
20289 * (bug 15653) Add prop=duplicatefiles
20290 * (bug 15768) Add list=watchlistraw
20291 * (bug 15647) action=edit with basetimestamp fails if the page has been deleted
20292 and undeleted since the last edit
20293 * (bug 15785) Allow for different expiry times for different protections in
20295 * Added allowsduplicates attribute to action=paraminfo output
20296 * (bug 15767) apfilterlanglinks returns duplicate results
20297 * (bug 15845) Added pageid/fromid parameter to action=delete/move, making
20298 manipulation of legacy pages with invalid titles possible
20299 * (bug 15881) Empty or invalid parameters cause database errors
20300 * The maxage and smaxage parameters are now properly validated
20301 * (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol
20302 and patrolmarks right
20303 * (bug 15985) acfrom and aifrom parameters didn't work when sorting in
20305 * (bug 15995) Add cmstartsortkey and cmendsortkey parameters to
20306 list=categorymembers
20307 * (bug 16017) list=categorymembers sets invalid continue parameters for
20308 sortkeys containing pipes
20309 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
20310 works properly when multiple users are queried or a userprefix is used
20311 * (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
20313 * Added redirect resolution to action=parse
20314 * (bug 16074) rvprop=content combined with a generator with a high limit causes
20316 * (bug 16105) Image metadata attributes containing spaces result in invalid XML
20317 * (bug 16126) Added siprop=magicwords to meta=siteinfo
20318 * (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
20319 * (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
20320 * meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
20321 sifilter parameter.
20322 * (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
20324 * (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases
20325 * (bug 16408) Added rvgeneratexml to prop=revisions
20326 * (bug 16421) Made list=logevents's leuser accept user names with underscores
20328 * (bug 16516) Made rvsection=T-2 work
20329 * (bug 16526) Added usprop=emailable to list=users
20330 * (bug 16548) list=search threw errors with an invalid error code
20331 * (bug 16515) Added pst and onlypst parameters to action=parse
20332 * (bug 16541) Added block expiry timestamp to list=logevents output
20333 * (bug 16613) action=protect doesn't tell when &cascade was set but cascading
20334 protection wasn't allowed
20335 * (bug 16626) action=delete now correctly handles empty "reason" param
20336 * (bug 15579) clshow considers all categories !hidden
20337 * (bug 16647) list=allcategories, prop=categories don't return "hidden"
20338 property for hidden categories
20339 * New siprop parameter of 'extensions' to list all installed extensions
20340 * (bug 16672) Include canonical namespace name in
20341 meta=siteinfo&siprop=namespaces.
20342 * (bug 16726) siprop=namespacealiases should also list localized aliases
20343 * (bug 16730) Added apprfiltercascade parameter to list=allpages to filter
20344 cascade-protected pages
20346 === Languages updated in 1.14 ===
20348 MediaWiki supports over 300 languages. Many localisations are updated
20349 regularly. Below only new and removed languages are listed.
20351 * Bakhtiari (bqi) (new)
20352 * Fiji Hindi (Devanagari script) (hif-deva) (new)
20354 * Lezghian (lez) (new)
20356 * Eastern Mari (mhr) (new)
20357 * Niuean (niu) (new)
20359 * Plautdietsch (pdt) (new)
20360 * Western Punjabi (pnb) (new)
20361 * Tarantino (roa-tara) (new)
20362 * Serbo-Croatian (sh) (new)
20366 == MediaWiki 1.13 ==
20368 == MediaWiki 1.13.5 ==
20372 This is a maintenance update to the Summer 2008 snapshot release of MediaWiki.
20374 MediaWiki is now using a "continuous integration" development model with
20375 quarterly snapshot releases. The latest development code is always kept
20376 "ready to run", and in fact runs our own sites on Wikipedia.
20378 Release branches will continue to receive security updates for about a year
20379 from first release, but nonessential bugfixes and feature developments
20380 will be made on the development trunk and appear in the next quarterly release.
20382 Those wishing to use the latest code instead of a branch release can obtain
20383 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
20385 == Changes since 1.13.4 ==
20387 * (bug 17449) Fixed PostgreSQL installation
20388 * (bug 17527) Fixed missing MySQL-specific options in installer
20390 == Changes since 1.13.3 ==
20392 A number of cross-site scripting (XSS) security vulnerabilities were discovered
20393 in the web-based installer (config/index.php). These vulnerabilities all
20394 require a live installer -- once the installer has been used to install a wiki,
20397 Note that cross-site scripting vulnerabilities can be used to attack any website
20398 in the same cookie domain. So if you have an uninstalled copy of MediaWiki on
20399 the same site as an active web service, MediaWiki could be used to attack the
20402 If you are hosting an old copy of MediaWiki that you have never installed, you
20403 are advised to remove it from the web.
20405 == Changes since 1.13.2 ==
20407 David Remahl of Apple's Product Security team has identified a number of
20408 security issues in previous releases of MediaWiki. Subsequent analysis by the
20409 MediaWiki development team expanded the scope of these vulnerabilities. The
20410 issues with a significant impact are as follows:
20412 * An XSS vulnerability affecting all MediaWiki installations between 1.13.0 and
20413 1.13.2. [CVE-2008-5249]
20414 * A local script injection vulnerability affecting Internet Explorer clients for
20415 all MediaWiki installations with uploads enabled. [CVE-2008-5250]
20416 * A local script injection vulnerability affecting clients with SVG scripting
20417 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
20418 uploads enabled. [CVE-2008-5250]
20419 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
20420 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
20422 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
20423 authorised user's login session, and to act as that user on the wiki. The
20424 authorised user must visit a web page controlled by the attacker in order to
20425 activate the attack. Intranet wikis are vulnerable if the attacker can
20426 determine the intranet URL.
20428 Local script injection vulnerabilities are like XSS vulnerabilities, except
20429 that the attacker must have an account on the local wiki, and there is no
20430 external site involved. The attacker uploads a script to the wiki, which another
20431 user is tricked into executing, with the effect that the attacker is able to act
20432 as the privileged user.
20434 CSRF vulnerabilities allow an attacker to act as an authorised user on the wiki,
20435 but unlike an XSS vulnerability, the attacker can only act as the user in a
20436 specific and restricted way. The present CSRF vulnerability allows pages to be
20437 edited, with forged revision histories. Like an XSS vulnerability, the
20438 authorised user must visit the malicious web page to activate the attack.
20440 These four vulnerabilities are all fixed in this release.
20442 David Remahl also reminded us of some security-related configuration issues:
20444 * By default, MediaWiki stores a backup of deleted images in the images/deleted
20445 directory. If you do not want these images to be publically accessible, make
20446 sure this directory is not accessible from the web. MediaWiki takes some steps
20447 to avoid leaking these images, but these measures are not perfect.
20448 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
20449 errors. This is the default on most shared web hosts.
20450 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
20451 lead to path disclosure.
20453 Other changes in this release:
20455 * Avoid fatal error in profileinfo.php when not configured.
20456 * Add a .htaccess to deleted images directory for additional protection against
20457 exposure of deleted files with known SHA-1 hashes on default installations.
20458 * Avoid streaming uploaded files to the user via index.php. This allows
20459 security-conscious users to serve uploaded files via a different domain, and
20460 thus client-side scripts executed from that domain cannot access the login
20461 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
20462 * When streaming files via index.php, use the MIME type detected from the
20463 file extension, not from the data. This reduces the XSS attack surface.
20464 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any
20465 XSS vulnerabilities involving uploads of files containing scripts.
20466 * Internationalisation updates.
20468 == Changes since 1.13.1 ==
20470 * Security: Work around misconfiguration by requiring strict comparisons for
20471 in_array in User::isAllowed().
20472 * (bug 14944) Added $wgShellLocale for configuration of an appropriate locale
20473 to use for LC_CTYPE during shell invocation. For servers that don't have
20474 en_US.utf8. Also added locale detection during install.
20475 * Localisation updates
20476 * Security: Fixed XSS vulnerability in useskin parameter.
20478 == Changes since 1.13.0 ==
20480 * (bug 15460) Fixed intermittent deadlock errors and poor concurrent
20481 performance for installations without memcached.
20482 * (bug 13770) Fixed DOM module detection for installations with both dom
20484 * (bug 15148) Fixed Special:BlockIP for PostgreSQL
20485 * Fixed SQLite support for non-memcached installations
20486 * Localisation updates, Achinese (ace) added.
20488 == Changes since 1.13.0rc2 ==
20490 * (bug 13770) Fixed incorrect detection of PHP's DOM module
20491 * Fix regression from r37834: accesskey tooltip hint should be given for the
20492 minor edit and watch labels on the edit page.
20493 * Updated Chinese simplified/traditional conversion tables
20495 == Changes since 1.13.0rc1 ==
20497 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
20498 has been $wgSearchForwardUrl.
20499 * (bug 14907) DatabasePostgres::fieldType now defined.
20500 * (bug 14966) Fix SearchEngineDummy class for silently non-functional search
20501 on Sqlite instead of horribly fatal error breaky one.
20502 * (bug 14987) Only fix double redirects on page move when the checkbox is
20504 * (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
20505 address for page update notification mails.
20506 * API: Registration time of users registered before the DB field was created is
20507 now shown as empty instead of the current time.
20508 * (bug 14904): fragments were lost when redirects were fixed.
20509 * Added magic word __STATICREDIRECT__ to suppress the redirect fixer
20510 * (bug 15035) Revert English linkTrail to /^([a-z]+)(.*)$/sD, as it was before
20511 r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries,
20512 both bundled with PHP and packaged with distros such as RHEL.
20513 * (bug 14944) Shell invocation of external programs such as ImageMagick convert
20514 was broken in PHP 5.2.6, if the server had a non-UTF-8 locale.
20517 === Configuration changes in 1.13 ===
20519 * New option $wgFeed can be set false to turn off syndication feeds
20520 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
20521 links through each redirect instead of hardcoded 500
20522 * Set $wgUploadSizeWarning to false by default
20523 * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms
20524 * Removed $wgAlternateMaster, use $wgLBFactoryConf
20525 * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to
20526 $wgUserNotifiedOnAllChanges
20527 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
20528 for only some namespaces
20529 * Removed the emailconfirmed implicit group by default. To re-add it, use:
20530 $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
20531 in your LocalSettings.php.
20532 * (bug 2396) New shared database configuration variables. $wgSharedPrefix allows
20533 you to use a shared database with a different prefix. Or you can now use a
20534 local database and use prefixes to separate wiki and the shared tables. And
20535 the new $wgSharedTables variable allows you to specify a list of tables to
20537 * Automatic edit summaries can be disabled with $wgUseAutomaticEditSummaries
20538 * Duplicates of images are now shown on the image page
20539 * $wgRCFilterByAge allows for the list of dates in recent changes special pages
20540 to be filtered to only those within the range of $wgRCMaxAge
20541 * $wgRCLinkLimits and $wgRCLinkDays allow for customization of the list and
20542 limits displayed on the recent changes special pages
20543 * The "createpage" permission is no longer required when uploading if the target
20544 image page already exists
20545 * $wgMaximumMovedPages restricts the number of pages that can be moved at once
20546 (default 100) with the new subpage-move functionality of Special:Movepage
20547 * Hooks display in Special:Version is now disabled by default, use
20548 $wgSpecialVersionShowHooks = true; to enable it.
20549 * $wgActiveUserEditCount sets the number of edits that must be performed over
20550 a certain number of days to be considered active
20551 * $wgActiveUserDays is that number of days
20552 * $wgRateLimitsExcludedGroups has been deprecated in favor of
20553 $wgGroupPermissions[]['noratelimit']. The former still works, however.
20554 * New $wgGroupPermissions option 'move-subpages' added to control bulk-moving
20555 subpages along with pages. Assigned to 'user' and 'sysop' by default.
20556 * New $wgRC2UDPOmitBots allows user to omit bot edits from UDP output.
20558 * Removed $wgEnableCascadingProtection option. Disabling cascading protection
20559 is no longer possible.
20560 * $wgMessageCacheType defines now the type of cache used by the MessageCache
20561 class, previously it was choosen based on $wgParserCacheType
20562 * $wgExtensionAliasesFiles option to simplify adding aliases to special pages
20563 provided by extensions, in a similar way to $wgExtensionMessagesFiles
20564 * Added $wgXMLMimeTypes, an array of XML mimetypes we can check for
20566 * Added $wgDirectoryMode, which allows for setting the default CHMOD value when
20567 creating new directories.
20568 * (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults
20571 === New features in 1.13 ===
20573 * __HIDDENCAT__ on a category page causes the category to be hidden on the
20575 * Do not show edit permissions errors on a red link click, just redirect to the
20576 article. This is so that readers who don't know what a red link is are not
20577 confused when they are told they are range-blocked.
20578 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
20579 image syntax output
20580 * (bug 13100) Added 'preloadtitle' parameter to action=edit§ion=new that
20581 pre-fills the section title field
20582 * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked
20583 * (bug 13130) Moved edit token and autosummary fields above edit tools to
20584 reduce broken form submissions
20585 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
20586 redirects to the redirect table
20587 * Add links to page and file deletion forms to edit predefined delete reasons
20588 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
20589 * (bug 2815) Search results for media now use thumbnail instead of text extract
20590 * When a page doesn't exist, the tab should say "create", not "edit"
20591 * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled"
20593 * Magic word formatnum can now take raw suffix to undo formatting
20594 * Add updatelog table to reliably permit updates that don't change the schema
20595 * Add category table to allow better tracking of category membership counts
20596 ** (bug 1212) Give correct membership counts on the pages of large categories
20597 ** Use category table for more efficient display of Special:Categories
20598 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
20599 * (bug 9447) Added hooks for search result headings
20600 * Image redirects are now enabled by default
20601 * (bug 13450) Email confirmation can now be canceled before the expiration
20602 * (bug 13490) Show upload/file size limit on upload form
20603 * Redesign of Special:UserRights
20604 * Make rev_deleted log entries more intelligible
20605 * (bug 6943) Added PAGESINCATEGORY: magic word
20606 * (bug 13604) Added Special:ListGroupRights
20607 * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of
20608 'mainpage' and added it to message 'sidebar'
20609 * Automatically add old redirects to the redirect table when needed
20610 * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or
20611 off on Special:WhatLinksHere
20612 * Cache image redirects
20613 * (bug 10457) Organize Special:SpecialPages into sections
20614 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
20615 to modify the output for edit conflicts
20616 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
20617 a slightly less huge margin and padding
20618 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
20619 * Allow \C and \Q as TeX commands to match \R, \N, \Z
20620 * On Special:UserRights, when you can add a group you can't remove or remove
20621 one you can't add, a notice is printed to warn you
20622 * (bug 12698) Create PAGESIZE parser function, to return the size of a page
20623 * Allow the "log in / create account" link in the toolbar to have different
20624 text from Special:UserLogin title (new message 'nav-login-createaccount')
20625 * Say "log in / create account" if an anonymous user can create an account,
20626 otherwise just "log in", consistently across skins
20627 * Special:Shortpages and Special:Longpages now returns pages in all content
20628 namespaces, not just NS_MAIN.
20629 * (bug 889) Improve conflict-handling between shared upload repository
20631 * Update documentation links in auto-generated LocalSettings.php
20632 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
20633 * (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
20634 * Custom rollback summaries now accept the same arguments as the default message
20635 * (bug 12542) Added hooks for expansion of Special:Listusers
20636 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)
20637 * More relevant search snippets (turn on $wgAdvancedSearchHighlighting)
20638 * (bug 13950) Allow users to watch the user/talk pages of users they block.
20639 * (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet
20640 * Show image links on Special:Whatlinkshere
20641 * Use rel="start", "prev", "next" appropriately on Pager-based pages
20642 * Add support for SQLite
20643 * AutoAuthenticate hook renamed to UserLoadFromSession
20644 * (bug 13232) importScript(), importStylesheet() funcs available to custom JS
20645 * (bug 13095) Search by first letters or digits in [[Special:Categories]]
20646 * Users moving a page can now move all subpages automatically as well
20647 * (bug 14259) Localisation message for upload button on Special:Import is now
20648 'import-upload' instead of 'upload'
20649 * Add information about user group membership to Special:Preferences
20650 * (bug 14146) Wrap usage section on imagepages into <div>s.
20651 * New layout for Special:Specialpages. Restricted pages are marked but not
20652 separated from other pages in their group.
20653 * (bug 14263) Show a diff of the revert on rollback notification page.
20654 * (bug 13434) Show a warning when hash identical files exist
20655 * Sidebar is now cached for all languages
20656 * The User class now contains a public function called isActiveEditor. Figures
20657 out if a user is active based on at least $wgActiveUserEditCount number of
20658 edits in the last $wgActiveUserDays days.
20659 * SpecialSearchResults hook now passes results by reference, so they can be
20660 changed by extensions.
20661 * Add a new hook LinkerMakeExternalLink to allow extensions to modify the output
20663 * (bug 14132) Allow user to disable bot edits from being output to UDP.
20664 * (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a
20666 * (bug 14558) New system message (emailuserfooter) is now added to the footer of
20667 e-mails sent with Special:Emailuser
20668 * Add support for Hijri (Islamic) calendar
20669 * Add a new hook LinkerMakeExternalImage to allow extensions to modify the
20670 output of external (hotlinked) images.
20671 * (bug 14604) Introduced the following features for the LanguageConverter:
20672 Multi-tag support, single conversion flag, remove conversion flag on a single
20673 page, description flag, variant name, multi-variant fallbacks.
20674 * Add zh-mo and zh-my variants for the zh language
20675 * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that
20676 are in Special:Recentchanges
20677 * Allow an $error message to be passed to ArticleDelete hook
20678 * Allow extensions to modify the user creation form by calling addInputItem();
20679 * Add meta generator tag to HTML output
20680 * MediawikiPerformAction hook is now passed the Mediawiki object
20681 * Added blank special page Special:BlankPage for benchmarking, etc.
20682 * Foreign repo file descriptions and thumbnails are now cached.
20683 * (bug 11732) Allow localisation of edit button images
20684 * Allow the search box, toolbox and languages box in the Monobook sidebar to be
20685 moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]:
20686 SEARCH, TOOLBOX and LANGUAGES
20687 * Add a new hook NormalizeMessageKey to allow extensions to replace messages
20688 before the database is potentially queried
20689 * (bug 9736) Redirects on Special:Fewestrevisions are now marked as such.
20690 * New date/time formats in Cs localization according to ČSN and PČP.
20691 * Special:Recentchangeslinked now includes changes to transcluded pages and
20692 displayed images; also, the "Show changes to pages linked" checkbox now works
20693 on category pages too, showing all links that are not categorizations
20694 * (bug 4578) Automatically fix redirects broken by a page move
20696 === Bug fixes in 1.13 ===
20698 * (bug 10677) Add link to the file description page on the shared repository
20699 * (bug 13084) Increase size of source/destination filename fields in upload form
20700 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
20701 * (bug 13140) Show parent categories in category namespace
20702 * (bug 13149) Correctly format 'fileexists' message on Upload page
20703 * Make the default filepageexists message accurate
20704 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
20705 * (bug 13022) Fix upload from URL on PHP 5.0.x
20706 * (bug 13132) Unable to unprotect pages protected with earlier versions of
20708 * (bug 12723) OpenSearch description name now uses more compact language code
20709 to avoid passing the length limit as often, is customizable per site via
20710 'opensearch-desc' message.
20711 * (bug 13135) Special:Userrights now passes IDs through form submission
20712 to allow functionality on not-quite-right usernames
20713 * (bug 12575) Prevent duplicate patrol log entries from being created
20714 * (bug 13174) __HIDDENCAT__ now applies only to category pages
20715 * (bug 13031) Add links to user pages in e-mail form
20716 * (bug 13147) Description for categoriespagetext (used in Special:Categories)
20718 * (bug 11561) Fix fatal error when calling action=revert to non-image page
20719 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
20720 maintenance/cleanupSpam.php
20721 * All skins should have the "mediawiki" class on the body element
20722 * (bug 13019) Message cache for some extensions not loaded at time of editing
20723 * (bug 13247) Prettified ISBN links
20724 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
20725 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
20726 back when using rollback
20727 * (bug 13012) Use content messages for block options when generating the
20728 recentchanges entry
20729 * (bug 13274) Change links for messages to ucfirst
20730 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
20731 autocomment-prefix)
20732 * Parse MediaWiki message translations with a correct language setting on
20734 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
20735 case-insensitive names.
20736 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
20737 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
20738 * (bug 10721) Duplicate section anchors with differing case now disambiguated
20739 for Internet Explorer's sake and standards compliance
20740 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
20741 * Email subject in content language instead of sending user's UI language
20742 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
20743 * (bug 2084) Fixed incorrect regex to match redirects
20744 * (bug 3131) Manually-specified upload destination filename is no longer
20745 overwritten by browsing for a file after you wrote it.
20746 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
20747 'generated-sidebar'.
20748 * (bug 13265) Media handler is missing 'image/x-bmp'
20749 * (bug 13407) MediaWiki:Powersearch is used in two places
20750 * (bug 13403) Fix cache invalidation of history pages when old revisions change
20751 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
20752 * (bug 12801) Fix link in subtitle message in AJAX search
20753 * (bug 13428) Fix regression in protection form layout HTML validity
20754 * (bug 9403) Sanitize newlines from search term input
20755 * (bug 13429) Separate date and time in message sp-newimages-showfrom
20756 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
20757 so groups may optionally edit protected pages without having 'protect' perms
20758 * Disallow deletion of big pages by means of moving a page to its title and
20759 using the "delete and move" option.
20760 * (bug 13466, 13632) White space differences not shown in diffs
20761 * (bug 1953) Search form now honors namespace selections more reliably
20762 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
20763 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
20764 * (bug 6447) Trackbacks now work with transactional tables, if enabled
20765 * (bug 6892, 7147) Trackback error handling, optional fields more robust
20766 * (bug 6813) Don't break HTML validator when using trackbacks
20767 * Fix for size checks on SVG images with global 'stroke-width' attribute
20768 * (bug 11874) Inline CSS with !important no longer borken
20769 * (bug 1600) Strip extra == section markup == in new-comment field
20770 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
20771 * (bug 12077) Fix HTML nesting for TOC
20772 * (bug 344) Purge cache for talk/article pages when deleting the other tab
20773 * (bug 13436) Treat image captions correctly when they include option keywords
20774 (like ending with "px" or starting with "upright")
20775 * Trackback display formatting fixed
20776 * Don't die when single-element arrays are passed to SQL query constructors
20777 that have an array index other than 0
20778 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
20779 * (bug 13532) Use proper timestamp call when reverting images
20780 * (bug 13543) Updated FAQ link in the installer sidebar
20781 * (bug 13540) Date format in confirmation e-mail now matches message language
20782 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
20783 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
20784 * (bug 13576) maintenance/rebuildrecentchanges.php fails
20785 * (bug 13441) Allow Special:Recentchanges to show bots only
20786 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
20787 * (bug 13463) Login successful page doesn't use user's preferred interface
20789 * (bug 13630) Fixed warnings for pass by reference at call time in
20790 Special:Revisiondelete when generating the log entry.
20791 * (bug 12064) BeforePageDisplay hook is now called for all skins
20792 * (bug 13624) Fix regression with manual thumb= parameter on images
20793 * (bug 11039) Add missing labels on protection form
20794 * (bug 13458) Preview/edit toolbar spacing now works consistently
20795 * (bug 13433) Fix action=render on Image: pages
20796 * (bug 13678) Fix CSS validation for Monobook
20797 * (bug 13684) Links in Special:ListGroupRights should be in content language
20798 * (bug 13690) Fix PHP notice on accessing some URLs
20799 * Hide (undo) link if user isn't able to edit page
20800 * Invalidate cache of pages that includes images via redirects on upload
20801 * (bug 13705) Don't show rollback link in page history on incorrect revisions
20802 * (bug 13708) Don't set "Search results" title when loading Special:Search
20804 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existent IP addresses
20805 * (bug 13728) Don't trim initial whitespace during section edits
20806 * (bug 13727) Don't delete log entries from recentchanges on page deletion
20807 * (bug 13752) Redirects to sections now work again
20808 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
20809 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
20810 the page is included
20811 * When hiding things on WhatLinksHere, generated URLs should hide them too
20812 * Properly escape search terms with regex chars so they appear highlighted in
20814 * (bug 13768) pt_title field encoding fixed
20815 * Do not display empty columns on Special:UserRights if all groups are
20816 changeable or all unchangeable
20817 * Fix fatal error on calling PAGESINCATEGORY with invalid category name
20818 * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of
20820 * (bug 13796) Show links to parent pages even if some of them are missing
20821 * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere
20822 * (bug 13822) Fatal error on some pages when calculating subpage subtitle
20823 * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
20824 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
20825 * (bug 13866) skins/common/shared.css - invalid attribute fixing
20826 * Hide edit section links on Special:Undelete
20827 * (bug 13860) Fix "Justify paragraphs" option for Modern skin
20828 * (bug 13168) accessibility links in Modern skin link to wrong anchor id
20829 * (bug 13185) No line break after 'subpages' class in Modern skin
20830 * (bug 13583) No "poweredby" in Modern skin
20831 * (bug 13880) "Printable" link in Modern skin now formats as print mode
20832 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
20833 * (bug 13891) Show categories box even if all categories are hidden and user has
20834 "show hidden categories" option on
20835 * (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
20836 * (bug 13913) Special:Whatlinkshere now has correct HTML markup
20837 * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
20838 * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
20839 * (bug 13924) Fix bad HTML on power search form
20840 * (bug 13820) Fix updater for rev_parent_id population
20841 * (bug 13925) Fix bad HTML on search results list
20842 * (bug 13934) Fixing the link to GNU General Public License Version 2
20843 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
20844 * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
20845 * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module
20847 * (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
20848 * (bug 13615) Update case mappings and normalization to Unicode 5.1.0
20849 Note that case mappings will only be used if mbstring extension is not
20851 * (bug 14044) Don't increment page view counters on views from bot users
20852 * (bug 14042) Calling Database::limitResult() misplaced the comment in the log
20854 * (bug 14047) Fix regression in installer which hid DB-specific options
20855 Also makes SQLite path configurable in the installer.
20856 * (bug 13546) Follow image redirects on image page
20857 * (bug 12644) Template list on edit page now sorted on preview
20858 * (bug 14058) Support pipe trick for namespaces and interwikis with "-"
20859 * Message name filter on Special:Allmessages now case-insensitive
20860 * (bug 13943) Fix image redirect behavior on image pages
20861 * (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
20862 * (bug 14063) Power search form missing <label> for redirects check
20863 * (bug 14111) Similar filename warning links now lead to correct page
20864 * (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers
20865 * (bug 13693) Categories sometimes claim to have a negative number of members
20866 * (bug 1701) Korean Hangul syllables now broken down properly in Category lists
20867 even if the wiki's overall content language is not Korean
20868 * (bug 12773) addOnloadHook() now calls functions immediately when scripts are
20869 loaded after the primary page completion, instead of dropping them
20870 * (bug 14199) Fix deletion form for image redirect pages
20871 * (bug 14220) Disabling $wgCheckFileExtensions now works without also
20872 disabling $wgStrictFileExtensions
20873 * (bug 14241) Pages can no longer be protected to levels you are not in
20874 * (bug 14296) Fix local name of ang: (Anglo-Saxon)
20875 * (bug 4871) Hardcoded superscript in time zone preferences moved to message
20876 * (bug 6957) E-mail confirmation links now using English special page name
20877 for better compatibility and keeping the links shorter. Avoids problem
20878 with corrupt links in Gmail on IE 6.
20879 * (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror
20880 * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
20882 * (bug 13826) MediaWiki:Defaultns accepts Wikicode
20883 * (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit
20885 * (bug 13034) Interwiki pages can now be reached using Go search button
20886 * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias
20887 * (bug 14370) When a grouppage-x message does not exist the entry on the
20888 ListGroupRights special page now links to the project namespace page for it,
20889 not the main namespace page.
20890 * (bug 11659) Urldecode image names in galleries
20891 * (bug 14258, 14368) Fix for subpage renames in replication environments
20892 * (bug 14367) Failed block no longer adds phantom watchlist entry
20893 * (bug 14385) "Move subpages" option no longer tries to move to invalid titles
20894 * (bug 14386) Fix subpage namespace oddity when moving a talk page
20895 * (bug 11771) Signup form now not shown if in read-only mode.
20896 * (bug 12859) $wgRateLimitsExcludedGroups has been deprecated in favor of
20897 $wgGroupPermissions[]['noratelimit'].
20898 * (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title)
20899 and $2 (=revision numbers)
20900 * (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions
20901 * (bug 14432) Fix notice regression in Special:Newpages feed mode
20902 * (bug 11951) EditPage::getEditToolbar() is now static.
20903 * (bug 14392) Fix regression breaking table prefix in installer
20904 * (bug 11084) $wgDBprefix replacement for updater SQL will now work for
20905 extension tables using uppercase letters or digits in their names.
20906 * (bug 12311) Fix regression with lists at start of undeletion preview
20907 * (bug 14496) Fix regression with parseinline on Special:Upload.
20908 * We no longer just give up on a missing upload base directory; it's now
20909 created automatically if we have sufficient permissions!
20910 * (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper
20911 * (bug 14497) Throw visible errors in installer scripts when SQL files
20912 fail due to database permission or other error
20913 * (bug 14500) Site feed (Recentchanges) no longer shows up on the actual
20914 recent changes page.
20915 * (bug 14511) MediaWiki:Delete-legend is no longer double escaped
20916 * Generate correct section anchors for numeric headers
20917 * (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins
20918 * (bug 14551) Cancel upload no longer automatically suppresses warnings
20919 * (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls
20920 * (bug 4977) Fix for possible squid purging errors when using HTTP purges
20921 and multiple servers
20922 * (bug 14572) Redirects listed on file links on image pages no longer redirect.
20923 * (bug 14537) Change interwiki name for Old Church Slavonic (cu)
20924 * (bug 14583) Fix regression in recent changes "limit to certain categories."
20925 * (bug 14515) HTML nesting cleanup on edit form
20926 * (bug 14647) Removed unused 'townBox' CSS classes
20927 * (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
20928 * OpenSearch cleanup; Firefox now sends you to the search page for empty
20929 searches instead of the domain root (which may not even be a wiki).
20930 * (bug 3481) Pages moved shortly after creation are shown at their new title
20931 on Special:Newpages.
20932 * (bug 12716) Trying to unprotect a title that isn't protected no longer
20933 generates a log entry.
20934 * (bug 14088) Excessively long block expiry times are rejected as invalid,
20935 keeps the log page from being distorted.
20936 * (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
20937 * (bug 14646) Fix some double-escaping of HTML in feed output
20938 * (bug 14709) Fix login success message formatting when using cookie check
20939 * (bug 14710) Remove "donate" link from default sidebar
20940 * (bug 14745) Image moving works on sites that transform thumbnails via 404
20941 * (bug 2186) Document.write() in wikibits caused failures when using
20942 application/xhtml+xml. The calls to this have been removed.
20943 * (bug 14764) Fix regression in from Article::lastModified(), failed to work
20944 on non-mySQL schemas.
20945 * (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
20946 had strict standards issues with setFakeSlaveLag() and setFakeMaster().
20947 * (bug 451) Improve the phrase mappings of the Chinese converter arrays.
20948 * (bug 12487) Rights log is not fully internationalized
20949 * (bug 10837) Language variants no longer override other languages than base
20950 * (bug 14778) 'limit' parameter now applies to history feeds as well as
20952 * (bug 14845) Bug in prefs javascript: Calling an array item without checking
20954 * Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3
20955 * (bug 12384) Comments in maintenance/*php
20956 * (bug 12441) ./maintenance/generateSitemap.php fix -fspath requiring
20958 * (bug 12568) configuration script now produce valid XHTML.
20959 * The accesskey to edit a page is now disabled when editing the page, to pre-
20960 vent conflicts with Safari shortcuts.
20962 === API changes in 1.13 ===
20964 * Fixing main page display in meta=siteinfo
20965 * (bug 13128) Added patrolled flag to list=recentchanges
20966 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
20967 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
20968 * (bug 13157) Added ucuserprefix parameter to list=usercontribs
20969 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
20971 * (bug 13218) Fix inclusion of " character in hyperlinks
20972 * Added watch and unwatch parameters to action=delete and action=move
20973 * Added action=edit
20974 * (bug 11401) Added xmldoublequote to xml formatter
20975 * Added rvsection parameter to prop=revisions to allow fetching the content of
20976 a certain section only
20977 * Introduced list=allimages
20978 * (bug 13371) Build page set from image hashes
20979 * Mark non-existent messages in meta=allmessages as missing
20980 * (bug 13390) One invalid title no longer kills an entire API query
20981 * (bug 13419) Fix gblredirect so it actually works
20982 * (bug 13418) Disable eiredirect because it's useless
20983 * (bug 13395) list=allcategories should use category table
20984 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
20986 * (bug 13444) Add description to list=watchlist
20987 * (bug 13482) Disabled search types handled properly
20988 * Added inprop=talkid,subjectid to prop=info
20989 * Added help text message that specifies whether a module is POST-only
20990 * Added createonly parameter to action=edit
20991 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
20992 * (bug 11719) Remove trailing blanks in YAML output.
20993 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
20994 * Added fallback8bitEncoding and readonly fields to
20995 meta=siteinfo&siprop=general output
20996 * (bug 13544) Added prop=revid to action=parse
20997 * (bug 13603) Added siprop=usergroups to meta=siteinfo
20998 * Cleaned up redirect resolution
20999 * Added possibility to obtain all external links through list=exturlusage
21000 * (bug 13606) Added archivename to iiprop
21001 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
21002 very weak typing on array keys.
21003 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
21004 * (bug 11673) Return error 'unknown_action' in specified format
21005 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
21006 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old
21008 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
21009 * action=login now returns the correct waiting time in the details property
21010 * (bug 13792) Broken titles are now silently skipped in search results.
21011 * (bug 13819) exturlusage paging skipped an item
21012 * Fixed handling of usernames containing spaces in list=block
21013 * (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with
21015 * (bug 13735) Added prop=categoryinfo module
21016 * (bug 13945) Retrieve cascading protection sources via inprop=protection
21017 * (bug 13965) Hardcoded 51 limit on titles is too limiting
21018 * (bug 13993) apfrom doesn't work with apdir=descending
21019 * (bug 14018) Introduced alcontinue to list=alllinks to improve paging
21020 * (bug 14013) Added rcshow=patrolled to list=recentchanges
21021 * (bug 14028) Added language attribute to interwiki map in meta=siteinfo
21022 * (bug 14022) Added usprop=registration and auprop=blockinfo
21023 * (bug 14021) Removed titles= support from list=backlinks (has been obsolete
21025 * (bug 13829) Expose parse tree via action=expandtemplates
21026 * (bug 13606) Allow deletion of images
21027 * Added iiprop=mime and aiprop=metadata
21028 * Handled unrecognized values for parameters more gracefully
21029 * Handled requesting disallowed tokens more gracefully
21030 * (bug 14140) URL-encoded page titles are now decoded in edit summaries
21031 * (bug 14243) Only accept post requests in action=edit; patch by HardDisk
21032 * action=block now returns an ISO8601 timestamp, like all other modules do
21033 * Added md5 parameter to action=edit
21034 * (bug 14335) Logging in to unified account using API not possible
21035 * Added action=emailuser to send an email to a user
21036 * (bug 14471) Use HTMLTidy and generate limit report in action=parse
21037 * (bug 14459) Added prependtext and appendtext parameters to action=edit
21038 * (bug 14526) Unescaped SQL in list=backlinks
21039 * Added 'hidden' flag to list=allcategories and prop=categoryinfo output
21040 * Added nocreate parameter to action=edit
21041 * (bug 14402) Added maxage and smaxage parameters to api.php
21042 * Added bkip parameter to list=blocks
21043 * (bug 14651) apprefix and similar parameters are now canonicalized
21044 * Added clprop=timestamp to prop=categories
21045 * (bug 14678) API errors now respects $wgShowExceptionDetails and
21047 * (bug 14723) Added time zone and writing direction to meta=siteinfo
21048 * Added APIQueryInfoTokens and APIQueryRevisionsTokens hooks so extensions
21049 can add their own tokens
21050 * Added block and unblock tokens to prop=info as well
21051 * Added paging (limit and continue parameters) to
21052 prop={links,templatelinks,langlinks,extlinks,categories,images}
21053 * Added flag "top" to list=usercontribs if the user is the last contributor to
21055 * list=exturlusage in "list all links" mode can now filter by protocol
21057 == MediaWiki 1.12 ==
21059 == MediaWiki 1.12.4 ==
21063 A number of cross-site scripting (XSS) security vulnerabilities were discovered
21064 in the web-based installer (config/index.php). These vulnerabilities all
21065 require a live installer -- once the installer has been used to install a wiki,
21068 Note that cross-site scripting vulnerabilities can be used to attack any
21069 website in the same cookie domain. So if you have an uninstalled copy of
21070 MediaWiki on the same site as an active web service, MediaWiki could be used to
21071 attack the active service.
21073 If you are hosting an old copy of MediaWiki that you have never installed, you
21074 are advised to remove it from the web.
21076 == MediaWiki 1.12.3 ==
21078 * Fixed packaging/distribution error. Many files were missing from the
21079 distributed tarball.
21081 == MediaWiki 1.12.2 ==
21083 David Remahl of Apple's Product Security team has identified a number of
21084 security issues in previous releases of MediaWiki. Subsequent analysis by the
21085 MediaWiki development team expanded the scope of these vulnerabilities. The
21086 issues with a significant impact are as follows:
21088 * A local script injection vulnerability affecting Internet Explorer clients
21089 for all MediaWiki installations with uploads enabled. [CVE-2008-5250]
21090 * A local script injection vulnerability affecting clients with SVG scripting
21091 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
21092 uploads enabled. [CVE-2008-5250]
21093 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
21094 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
21096 A local script injection vulnerability allows an attacker with a wiki account
21097 to steal another user's login session, and to act as that user on the wiki. The
21098 attacker uploads a malicious script file, and tricks the victim into executing
21101 CSRF vulnerabilities allow an attacker to act as an authorised user on the
21102 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
21103 a specific and restricted way. The present CSRF vulnerability allows pages to
21104 be edited, with forged revision histories. Like an XSS vulnerability, the
21105 authorised user must visit the malicious web page to activate the attack.
21107 These three vulnerabilities are all fixed in this release.
21109 David Remahl also reminded us of some security-related configuration issues:
21111 * By default, MediaWiki stores a backup of deleted images in the images/deleted
21112 directory. If you do not want these images to be publically accessible, make
21113 sure this directory is not accessible from the web. MediaWiki takes some steps
21114 to avoid leaking these images, but these measures are not perfect.
21115 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
21116 errors. This is the default on most shared web hosts.
21117 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
21118 lead to path disclosure.
21120 Other changes in this release:
21122 * Avoid fatal error in profileinfo.php when not configured.
21123 * Add a .htaccess to deleted images directory for additional protection against
21124 exposure of deleted files with known SHA-1 hashes on default installations.
21125 * Avoid streaming uploaded files to the user via index.php. This allows
21126 security-conscious users to serve uploaded files via a different domain, and
21127 thus client-side scripts executed from that domain cannot access the login
21128 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
21129 * When streaming files via index.php, use the MIME type detected from the file
21130 extension, not from the data. This reduces the XSS attack surface.
21131 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any XSS
21132 vulnerabilities involving uploads of files containing scripts.
21133 * Internationalisation updates.
21135 == MediaWiki 1.12.1 ==
21137 Changes since 1.12.0:
21138 * (bug [[bugzilla:13522|13522]]) Fix fatal error in Parser::extractTagsAndParams
21139 * (bug [[bugzilla:12077|12077]]) Fix HTML nesting for TOC
21140 * (bug [[bugzilla:13532|13532]]) Use proper timestamp call when reverting images
21141 * (bug [[bugzilla:13649|13649]], [[bugzilla:14084|14084]]) Bad call to
21143 * (bug [[bugzilla:13770|13770]]) Use Preprocessor_Hash by default to avoid
21144 missing DOM module errors
21145 * (bug [[bugzilla:13442|13442]]) API: Missing pages in prop=langlinks and
21146 prop=extlinks are now handled properly.
21147 * (bug [[bugzilla:13482|13482]]) API: Disabled search types handled properly
21148 * (bug [[bugzilla:13836|13836]]) API: Fixed fatal errors resulting from
21149 combining iiprop=metadata with format=xml
21150 * (bug [[bugzilla:11633|11633]]) API: Explicitly convert redirect titles to
21151 strings due to PHP's very weak typing on array keys.
21152 * API: Fixing main page display in meta=siteinfo
21153 * (bug [[bugzilla:11719|11719]]) API: Remove trailing blanks in YAML output.
21154 * (bug [[bugzilla:13718|13718]]) API: Return the proper continue parameter for
21156 * Security: Work around misconfiguration by requiring strict comparisons for
21157 in_array in User::isAllowed().
21158 * Security: Fixed XSS vulnerability in useskin parameter.
21160 == MediaWiki 1.12.0 ==
21162 This is the quarterly branch release of [[MediaWiki]] for Winter 2008.
21164 MediaWiki is now using a "continuous integration" development model with
21165 quarterly snapshot releases. The latest development code is always kept "ready
21166 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
21168 Release branches will continue to receive security updates for about a year
21169 from first release, but nonessential bugfixes and feature developments will be
21170 made on the development trunk and appear in the next quarterly release.
21172 Those wishing to use the latest code instead of a branch release can obtain it
21173 from source control: [[Download from SVN]].
21175 Changes since 1.12.0rc1:
21176 *(bug [[bugzilla:13359|13359]]) Double-escaping in [[Special:Allpages]].
21177 *Localization updates.
21179 == MediaWiki 1.12.0rc1 ==
21181 This is a release candidate of the Winter 2008 quarterly snapshot release of
21184 MediaWiki is now using a "continuous integration" development model with
21185 quarterly snapshot releases. The latest development code is always kept "ready
21186 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
21188 Release branches will continue to receive security updates for about a year
21189 from first release, but nonessential bugfixes and feature developments will be
21190 made on the development trunk and appear in the next quarterly release.
21192 Those wishing to use the latest code instead of a branch release can obtain it
21193 from source control: [[Download from SVN]].
21195 This is the Winter 2007 quarterly release.
21197 MediaWiki is now using a "continuous integration" development model with
21198 quarterly snapshot releases. The latest development code is always kept
21199 "ready to run", and in fact runs our own sites on Wikipedia.
21201 Release branches will continue to receive security updates for about a year
21202 from first release, but nonessential bugfixes and feature developments
21203 will be made on the development trunk and appear in the next quarterly release.
21205 Those wishing to use the latest code instead of a branch release can obtain
21206 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
21208 === Configuration changes in 1.12 ===
21209 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
21210 markbotedit permission, rather than the rollback permission previously used.
21211 This permission is assigned by default to the sysop group.
21212 * MediaWiki now checks if serialized files are out of date. New configuration
21213 variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
21214 to not check and assume they are always up to date)
21215 * The rollback permission can now be rate-limited using the normal mechanism.
21216 * New configuration variable $wgExtraLanguageNames
21217 * Behavior of $wgAddGroups and $wgRemoveGroups changed. New behavior:
21218 * * Granting the userrights privilege allows arbitrary changing of rights.
21219 * * Without the userrights privilege, a user will be able to add and/or
21220 remove the groups specified in $wgAddGroups and $wgRemoveGroups for
21221 any groups they are in.
21222 * New permission userrights-interwiki for changing user rights on foreign wikis.
21223 * $wgImplicitGroups for groups that are hidden from Special:Listusers, etc.
21224 * $wgAutopromote: automatically promote users who match specified criteria
21225 * $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
21226 themselves from specified groups via Special:Userrights.
21227 * When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is
21228 present, in preference to an external Tidy executable which may or may not
21229 be present. To force use of external Tidy even when the PHP module is
21230 available, set $wgTidyInternal to false.
21233 === New features in 1.12 ===
21234 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
21235 * Add {{filepath:}} parser function to get full path to an uploaded file,
21236 complementing {{fullurl:}} for pages.
21237 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
21238 is not set to 'mediawiki', allowing multiple mediawiki instances per user.
21239 * (bug 11151) Add descriptive <title> to revision history page
21240 * (bug 5412) Add feed links for the site to all pages
21241 * (bug 11353) Add ability to retrieve raw section content via action=raw
21242 * (bug 6909) Show relevant deletion log lines when uploading a previously
21244 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
21245 source" tab entirely if the page doesn't exist and the user isn't allowed to
21247 * Clarify instructions given when an exception is thrown
21248 * AuthPlugin added strictUserAuth() method to allow per-user override
21249 of the strict() authentication behavior.
21250 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
21251 against the previous revision, whether currently deleted or live.
21252 * Added tooltips for the "Go" and "Search" buttons
21253 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
21254 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
21255 stricting e-mail addresses to a specific domain
21256 * Removed "Clear" link in watchlist editor tools, as people were afraid to
21257 click it. Existing clear links will fall back to the raw editor, which is
21258 very easy to clear your watchlist with.
21259 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
21260 on Special:Newpages
21261 * LogLine hook added to allow formatting custom entries in Special:Log.
21262 * Support for Iranian calendar
21263 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
21265 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
21266 * MediaWikiPerformAction hook added for diverting control after the main
21267 globals have been set up but before any actions have been taken.
21268 * BeforeWatchlist hook added for filtering or replacing watchlist.
21269 * SkinTemplateTabAction hook added for altering the properties of tab links.
21270 * OutputPage::getRedirect public method added.
21271 * (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
21272 in Special:Mypage and Special:Mytalk
21273 * Add ot=raw to Special:Allmessages
21274 * Support for Hebrew calendar
21275 * Support for Hebrew numerals in dates and times
21276 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
21277 [[MediaWiki:Signature-anon]]
21278 * Signatures for anonymous users link to Special:Contributions page rather than
21280 * Added --override switch for disabled pages in updateSpecialPages.php
21281 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
21283 because it is part of a blocked range.
21284 * (bug 3973) Use a separate message for the email content when an account is
21285 created by another user
21286 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
21287 cleanly if database connections fail unpleasantly.
21288 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
21289 * (bug 9633) Add a predefined list of delete reasons to the deletion form
21290 * Show a warning message when creating/editing a user (talk) page but the user
21292 * (bug 8396) Ignore out-of-date serialised message caches
21293 * (bug 12195) Undeleting pages now requires 'undelete' permission
21294 * (bug 11810) Localize displayed semicolons
21295 * (bug 11657) Support for Thai solar calendar
21296 * (bug 943) RSS feed for Recentchangeslinked
21297 * Introduced AbortMove hook
21298 * (bug 2919) Protection of nonexistent pages with regular protection interface.
21299 * Special:Upload now lists permitted/prohibited file extensions.
21300 * Split ambiguous filetype-badtype message into two new messages,
21301 filetype-unwanted-type and filetype-banned-type.
21302 * Added link to the old title in Special:Movepage
21303 * On Special:Movepage, errors are now more noticeable.
21304 * It is now possible to change rights on other local wikis without the MakeSysop
21306 * Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
21307 editing to allow CSS styling.
21308 * Parser now returns list of sections
21309 * When a user is prohibited from creating a page, a title of "View source"
21310 makes no sense, and there should be no "Return to [[Page]]" link.
21311 * (bug 12486) Protected titles now give a warning for privileged editors.
21312 * (bug 9939) Special:Search now sets focus to search input box when no existing
21314 * For Special:Userrights, use GET instead of POST to search for users.
21315 * Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name.
21316 * When submitting changes on Special:Userrights, show the full form again, not
21317 just the search box.
21318 * Added exception hooks
21319 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
21320 edit, via the parameter 'bot'. (Default: '1')
21321 * (bug 12536) User should be able to get MediaWiki version from any page
21322 * (bug 12622) A JavaScript constant to declare whether api.php is available
21323 * Add caching to the AJAX search
21324 * Add APCOND_INGROUPS
21325 * Add DBA caching to installer
21326 * (bug 12585) Added a bunch of parameters to the revertpage message
21327 * Support redirects in image namespace
21328 * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
21329 * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
21330 * Add option to include templates in Special:Export.
21331 * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
21332 address in Reply-To instead of From for user-to-user emails.
21333 This protects against SPF problems and privacy-leaking bounce messages
21334 when using mailers that set the envelope sender to the From header value.
21335 * (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]]
21336 for Special:Userlogin?type=signup
21337 * (bug 12214) Add a predefined list of delete reasons to the file deletion form
21338 * Merged backends for OpenSearch suggestions and AJAX search.
21339 Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages,
21340 and reject interwiki prefixes. PrefixSearch class centralizes this code,
21341 and the backend part can be overridden by the PrefixSearchBackend hook.
21342 * (bug 10365) Localization of Special:Version
21343 * When installing using Postgres, the Pl/Pgsql language is now checked for
21344 and installed when at the superuser level.
21345 * The default robot policy for the entire wiki is now configurable via the
21346 $wgDefaultRobotPolicy setting.
21347 * (bug 12239) Use different separators for autocomments
21348 * (bug 12857) Patrol link on new pages should clear floats
21349 * (bug 12968) Render redirect wikilinks in a redirect class for customization
21351 * EditPageBeforeEditButtons hook added for altering the edit buttons below the
21354 === Bug fixes in 1.12 ===
21356 * Subpages are now indexed for searching properly when using PostgreSQL
21357 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
21358 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
21359 * (bug 7027) Shift handling of deletion permissions-checking to
21360 getUserPermissionsErrors.
21361 * Login and signup forms are now more correct for right-to-left languages.
21362 * (bug 5387) Block log items on RecentChanges don't make use of possible
21364 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
21365 message, the level of protection.
21366 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
21368 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
21369 where rollback is given to non-sysops.
21370 * (bug 8834) Split off permission for editing user JavaScript and CSS from
21371 editinterface to a new permission key editusercssjs.
21372 * (bug 11266) Set fallback language for Fulfulde (ff) to French
21373 * (bug 11179) Include image version deletion comment in public log
21374 * Fixed notice when accessing special page without read permission and whitelist
21376 * (bug 9252) Fix for tidy funkiness when using editintro mode
21377 * (bug 4021) Fix for MySQL wildcard search
21378 * (bug 10699) Fix for MySQL phrase search
21379 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
21380 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
21382 * Fix initial statistics when installing: add correct values
21383 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
21384 linked to the main page instead of targetted page
21385 * Strike the link to the redirect rather than using an asterisk in
21386 Special:Listredirects
21387 * (bug 11355) Fix false positives in Safe Mode and other config detection
21388 when boolean settings are disabled with 'Off' via php_admin_value/php_value
21389 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
21391 * (bug 11363) Make all metadata fields bytea when using Postgres.
21392 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
21393 oldimage cascade delete via image table for Postgres, change fa_storage_key
21395 * (bug 11438) Live Preview chops returned text
21396 * Show the right message on account creation when the user is blocked
21397 * (bug 11450) Fix creation of objectcache table on upgrade
21398 * Fix namespace selection after submit of Special:Newpages
21399 * Make input form of Special:Newpages nicer for RTL wikis
21400 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
21401 * (bug 11474) Fix unintentional fall-through in math error handling
21402 * (bug 11478) Fix undefined method call in file deletion interface
21403 * (bug 278) Search results no longer highlight incorrect partial word matches
21404 * Compatibility with incorrectly detected old-style DJVU mime types
21405 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
21406 Nested links (as in image caption text) still don't work _right_ but they're
21408 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
21410 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
21411 appears just before the login form. Patch by MinuteElectron.
21412 * Do not cache category pages if using 'from' or 'until'
21413 * Created new hook getUserPermissionsErrors, to go with userCan changes.
21414 * Diff pages did not properly display css/js pages.
21415 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
21416 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
21417 email address when registering.
21418 * (bug 11612) Days to show in recent changes cannot be larger than 7
21419 * (bug 11131) Change filearchive width/height columns to int for Postgres
21420 * Support plural in undeleted{revisions,revisions-files,files}
21421 * (bug 11343) If the database is read-only, ensure that undelete fails.
21422 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
21424 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
21425 * Fix regression in LinkBatch.php breaking PHP 5.0
21426 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
21427 words when called with options ''parsemag'' or ''content''.
21428 * (bug 11727) Support plural in 'historysize' message
21429 * (bug 11744) Incorrect return value from Title::getParentCategories()
21430 * (bug 11762) Fix native language name of Akan (ak)
21431 * (bug 11722) Fix inconsistent case in unprotect tabs
21432 * (bug 11795) Be more paranoid about confirming accept-encoding header is
21434 * (bug 11809) Use formatNum() for more numbers
21435 * (bug 11818) Fix native language name of Inuktitut (iu)
21436 * Remove all commas when parsing float numbers in sorted tables
21437 * Limit text field of deletion, protection and user rights changes reasons to
21438 255 characters (already restricted in the database)
21439 * In the deletion default reasons, calculate how much text to get from the
21440 article text, rather than getting 150 characters (which may be too much)
21441 * Add two messages for Special:Blockme which were used but undefined
21442 * (bug 11921) Support plural in message number_of_watching_users_pageview
21443 * If an IP address is blocked as part of a rangeblock, attempting to unblock
21444 the single IP should not unblock the entire range.
21445 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
21446 * Make action=render follow redirects by default
21447 * If restricted read access was enabled, whitelist didn't work with special
21448 pages which had spaces in theirs names
21449 * If restricted read access was enabled, requests for non-existing special pages
21451 * Feeds for recent changes now provide correct URLs for the change, not just
21453 * Check for if IP is blocked as part of a range when unblocking (see above bug-
21454 fix) was faulty. Now fixed.
21455 * Fixed wpReason URL parameter to action=delete.
21456 * Do not force a password for account creation by email
21457 * Ensure that rate-limiting is applied to rollbacks.
21458 * Make a better rate-limiting error message (i.e. a normal MW error,
21459 rather than an "Internal Server Error").
21460 * Do not present an image bigger than the source when 'frameless' option is used
21461 (to be consistent with the 'thumb' option now)
21462 * Support {{PLURAL}} for import log
21463 * Make sure that the correct log entries are shown on Special:Userrights even
21464 for users with special characters in their names
21465 * The number of watching users in watchlists was always reported as 1
21466 * namespaceDupes.php no longer dies when coming across an illegal title
21467 * (bug 12143) Do not show a link to patrol new pages for non existent pages
21468 * (bug 12166) Fix XHTML validity for Special:Emailuser
21469 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
21470 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
21471 instead of a Traditional conversion with Taiwan variant, and a Simplified
21472 conversion with China variant.
21473 * (bug 12178) Fix wpReason parameter to action=delete, again.
21474 * Graceful behavior for updateRestrictions.php if a page already has records
21475 in the page_restrictions matching its old page_restrictions field.
21476 May help with odd upgrade issues or race condition.
21477 * (bug 11993) Remove contentsub "revision history"
21478 * (bug 11952) Ensure we quote_ident() all schema names as needed
21479 inside of the DatabasePostgres.php file.
21480 * (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
21481 scripts, making for cleaner reporting during batch jobs. PHP errors will also
21482 be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
21483 to 'stderr' at runtime.
21484 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
21485 lines in diff output
21486 * (bug 10166) Fix a PHP warning in Language::getMagic
21487 * Only mark rollback edits as minor if the user can normally mark edits minor
21488 * Escape page names in the move successful page (e.g. for pages with two
21490 * (bug 12145) Add localized names of kk-variants
21491 * (bug 12259) Localize the numbers in deleted pages on the sysop view
21492 * Set proper page title for successful file deletion
21493 * (bug 11221) Do not show 'Compare selected versions' button for a history page
21494 with one revision only
21495 * (bug 12267) Set the default date format to Thai solar calender for the Thai
21497 * (bug 10184) Extensions' stylesheets and scripts should be loaded before
21498 user-customized ones (like Common.css, Common.js)
21499 * (bug 12283) Special:Newpages forgets parameters
21500 * (bug 12031) All namespaces doesn't work in Special:Newpages
21501 * (bug 585) Only create searchindex replica table for parser tests if db is
21503 * Allow --record option if parserTests.php to work when using Postgres
21504 * (bug 12296) Simplify cache epoch in default LocalSettings.php
21505 * (bug 12346) XML fix when body double-click and click handlers are present
21506 * Fix regression -- missing feed links in sidebar on Special:Recentchanges
21507 * (bug 12371) Handle more namespace case variants in namespaceDupes.php
21508 * (bug 12380) Bot-friendly EditPage::spamPage
21509 * (bug 8066) Spaces can't be entered in special page aliases
21510 * Hide undo link if user can't edit article
21511 * (bug 12416) Fix password setting for createAndPromote.php
21512 * (bug 3097) Inconsistently usable titles containing HTML character entities
21513 are now forbidden. A run of cleanupTitles.php will fix up existing pages.
21514 * (bug 12446) Permissions check fix for undelete link
21515 * (bug 12451) AJAX title normalization tweaks
21516 * When a user creating a page is not allowed to either create the page nor edit
21517 it, all applicable reasons are now shown.
21518 * (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
21519 Fixes 'root'-style rewrite configurations
21520 * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
21521 * (bug 12489) Special:Userrights listed in restricted section again
21522 * (bug 12553) Fixed invalid XHTML in edit conflict screen
21523 * (bug 12505) Fixed section=0 with action=raw
21524 * (bug 12614) Do not log user rights change that didn't change anything
21525 * (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
21526 * (bug 12588) Fix selection in namespace selector on Special:Newpages
21527 * Use only default options when generating RSS and Atom syndication links.
21528 This should help prevent infinite link loops that some software may follow,
21529 and will generally keep feed behavior cleaner.
21530 * (bug 12608) Unifying the spelling of getDBkey() in the code.
21531 * (bug 12611) Bot flag ignored in recent changes
21532 * (bug 12617) Decimal and thousands separators for Romanian
21533 * (bug 12567) Fix for misformatted read-only messages on edit, protect.
21534 Also added proper read-only checks to several special pages.
21535 Have removed read-only checks from the general user permission framework.
21536 * Creating a site with a name containing '#' is no longer permitted, since the
21537 name will not work (but $wgSiteName is not checked if manually set).
21538 * (bug 12695) Suppress dvips verbiage from web server error log
21539 * (bug 12716) Unprotecting a non-protected page leaves a log entry
21540 * Log username blocks with canonical form of name instead of input form
21541 * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php.
21542 Non-image handlers and full-size images may now decline it, fixing
21543 mystery failures when using $wgThumbnailScriptPath.
21544 * (bug 12327) Comma in username no longer disrupts mail headers
21545 * (bug 6436) Localization of Special:Import XML parser Error message(s).
21546 * Security fix for API on MSIE
21547 * (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc
21548 * (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors
21549 * (bug 12790) Page protection is not logged when edit-protection is used
21550 and move-protection is not
21551 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
21552 * Fix for Special:Export so it doesn't ignore the page named '0'
21553 * Don't display rollback link if the user doesn't have all required permissions
21554 * The comment of a time-limited protection now contains the date in the default
21556 * (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
21557 * (bug 12885) Correction for Russian convertPlural function
21558 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
21559 * (bug 12735) Truncate usernames in comments using mb_ functions.
21560 * (bug 12892) Poor tab indexing on "delete file" form
21561 * (bug 12660) When creating an account by e-mail, do not send the creator's IP
21563 * (bug 12931) Fix wrong global variable in SpecialVersion
21564 * (bug 12919) Use 'deletedrevision' message as content when deleting an old file
21566 * (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation
21568 * (bug 12869) Magnify icon alignment should be adjusted using linked CSS
21569 * Fixing message cache updates for MediaWiki messages moves
21570 * (bug 12815) Signature timestamps were always in UTC, even if the timezone code
21571 in parentheses after them claimed otherwise
21572 * (bug 12732) Fix installer and searching to handle built-in tsearch2 for
21574 * (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness.
21575 * (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple
21577 * (bug 7681, 11559) Cookie values no longer override GET and POST variables.
21578 * (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
21579 * (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
21580 * (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages
21581 * (bug 12938) Fix template expansion and 404 returns for action=raw with section
21582 * (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns
21583 true-or-WikiError, which seems to be the calling convention expected by half
21584 its callers already
21585 * (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting
21586 an LTR user language
21587 * (bug 13005) DISPLAYTITLE does not work on preview
21588 * (bug 13004) Fix error on Postgres searches that return too many results.
21590 == Parser changes in 1.12 ==
21592 For help with migration to the MediaWiki 1.12 parser, please visit:
21594 http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor
21596 The parser pass order has changed from
21598 * Extension tag strip and render
21599 * HTML normalisation and security
21600 * Template expansion
21605 * Template and extension tag parse to intermediate representation
21606 * Template expansion and extension rendering
21607 * HTML normalisation and security
21610 The main effect of this for the user is that the rules for uncovered syntax
21613 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
21614 previously in some cases they were escaped. For example, you could have "<ta" in
21615 one template, and "ble>" in another template, and put them together to make a
21616 valid <table> tag. Previously the result would have been "<table>".
21618 Uncovered preprocessor syntax is generally not recognised. For example, if you
21619 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
21620 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
21621 was the case previously in HTML output mode, and is now uniformly the case in
21622 the other modes as well. HTML-style comments uncovered by template expansion
21623 will not be recognised by the preprocessor and hence will not prevent template
21624 expansion within them, but they will be stripped by the following HTML security
21627 Bug 5678 has been fixed. This has a number of user-visible effects related to
21628 the removal of this double-parse. Please see the wiki page for examples.
21630 Message transformation mode has been removed, and replaced with "preprocess"
21631 mode. This means that some MediaWiki namespace messages may need to be updated,
21632 especially ones which took advantage of the terribly counterintuitive behavior
21633 of the former message mode.
21635 The header identification routines for section edit and for numbering section
21636 edit links have been merged. This removes a significant failure mode and fixes a
21637 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
21638 template expansion will still be rendered into a heading tag, and will get an
21639 entry in the TOC, but will not have a section edit link. HTML-style headings
21640 will also not have a section edit link. Valid wikitext headings present in the
21641 template source text will get a template section edit link. This is a major
21642 break from previous behavior, but I believe the effects are almost entirely
21645 The main motivation for making these changes was performance. The new two-pass
21646 preprocessor can skip "dead branches" in template expansion, such as unfollowed
21647 #switch cases and unused defaults for template arguments. This provides a
21648 significant performance improvement in template-heavy test cases taken from
21649 Wikipedia. Parser function hooks can participate in this performance improvement
21650 by using the new SFH_OBJECT_ARGS flag during registration.
21652 The pre-expand include size limit has been removed, since there's no efficient
21653 way to calculate such a figure, and it would now be meaningless for performance
21654 anyway. The "preprocessor node count" takes its place, with a generous default
21657 The context in which XML-style extension tags are called has changed, so
21658 extensions which make use of the parser state may need compatibility changes.
21660 The new preprocessor syntax has been documented in Backus-Naur Form at:
21662 https://www.mediawiki.org/wiki/Preprocessor_ABNF
21664 The ExpandTemplates extension now has the ability to generate an XML parse
21665 tree from wikitext source. This parse tree corresponds closely to the grammar
21666 documented on that page.
21668 === API changes in 1.12 ===
21670 Full API documentation is available at https://www.mediawiki.org/wiki/API
21672 * (bug 11275) Enable descending sort in categorymembers
21673 * (bug 11308) Allow the API to output the image metadata
21674 * (bug 11296) Temporary fix for escaping of ampersands inside links in
21677 * (bug 11405) Expand templates implementation in the API
21678 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
21680 * (bug 11404) Provide name of exception caught in error code field of internal
21681 api error messages.
21682 * (bug 11534) rvendid doesn't work
21683 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
21684 revision content is requested.
21685 * Include svn revision number (if install is checked-out from svn) in siteinfo
21687 * (bug 11173) Allow limited wikicode rendering via api.php
21688 * (bug 11572) API should provide interface for expanding templates
21689 * (bug 11569) Login should return the cookie prefix
21690 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
21691 list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
21692 * Compatibility fix for PHP 5.0.x.
21693 * Add rctype parameter to list=recentchanges that filters by type
21694 * Add apprtype and apprlevel parameters to filter list=allpages by protection
21696 * Add apdir parameter to enable listing all pages from Z to A
21697 * (bug 11721) Use a different title for results than for the help page.
21698 * (bug 11562) Added a user_registration parameter/field to the list=allusers
21700 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
21701 * Outputting list of all user preferences rather than having to request them by
21703 * (bug 11206) api.php should honor maxlag
21704 * Make prop=info check for restrictions in the old format too.
21705 * Add apihighlimits permission, default for sysops and bots
21706 * Add limit=max to use maximal limit
21707 * Add action=parse to render parser output. Use it instead of action=render
21708 which has been removed
21709 * Add rvtoken=rollback to prop=revisions
21710 * Add meta=allmessages to get messages from site's messages cache.
21711 * Use bold and italics highlighting only in API help
21712 * Added action={block,delete,move,protect,rollback,unblock,undelete} and
21713 list={blocks,deletedrevs}
21714 * Fixed sessionid attribute in action=login
21715 * Standardized limits. Revisions and Deletedrevisions formerly using
21716 200 / 10000, now 500 / 5000, in line with other modules.
21717 * Added list=allcategories module
21718 * (bug 12321) API list=blocks reveals private data
21719 * Fix output of wfSajaxSearch
21720 * (bug 12413) meta=userinfo missing <query> tag
21721 * Add list of sections to action=parse output
21722 * Added action=logout
21723 * Added cascade flag to prop=info&inprop=protections
21724 * Added wlshow parameter to list=watchlist, similar to rcshow
21725 (list=recentchanges)
21726 * Added support for image thumbnailing to prop=imageinfo
21727 * action={login,block,delete,move,protect,rollback,unblock,undelete} now must be
21729 * prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and
21731 * Added amlang parameter to meta=allmessages
21732 * Added apfilterlanglinks parameter to list=allpages, replacing
21733 query.php?what=nolanglinks
21734 * (bug 12718) Added action=paraminfo module that provides information about API
21735 modules and their parameters
21736 * Added iiurlwidth and iiurlheight parameters to prop=imageinfo
21737 * Added format=txt and format=dbg, imported from query.php
21738 * Added uiprop=editcount to meta=userinfo
21739 * Added list=users which fetches user information
21740 * Added list=random which fetches a list of random pages
21741 * Added page parameter to action=parse to facilitate parsing of existing pages
21742 * Added uiprop=ratelimits to meta=userinfo
21743 * Added siprop=namespacealiases to meta=siteinfo
21744 * Made multiple values for ucuser possible in list=usercontribs
21745 * (bug 12944) Added cmstart and cmend parameters to list=categorymembers
21746 * Allow queries to have a where range that does not match the range field
21748 == MediaWiki 1.11 ==
21750 == MediaWiki 1.11.2 ==
21754 This is a security release of the Fall 2007 snapshot release of MediaWiki.
21755 Possible cross-site information leaks using the callback parameter for
21756 JSON-formatted results in the API are prevented by dropping user credentials.
21758 MediaWiki release versions prior to 1.11 are not vulnerable, as they do not
21759 include the callback feature which allows client-side JavaScript on other sites
21762 Changes in this release:
21764 * User credentials are dropped for API JSON requests using a callback
21765 * Edit tokens are not reported for API JSON requests using a callback
21767 == MediaWiki 1.11.1 ==
21771 This is a security and bugfix release of the Fall 2007 snapshot release of
21772 MediaWiki. A potential XSS injection vector affecting api.php only for
21773 Microsoft Internet Explorer users has been closed.
21775 Changes in this release:
21776 * (bug [[bugzilla:11450|11450]]) Fix creation of objectcache table on upgrade
21777 * (bug [[bugzilla:11462|11462]]) Fix typo in LanguageGetSpecialPageAliases hook
21779 * Fix regression in LinkBatch.php breaking PHP 5.0
21780 * Security fix for API on MSIE
21782 To work around the vulnerability without upgrading, you may disable the API if
21784 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
21786 Not vulnerable versions:
21791 * 1.8 any version (if $wgEnableAPI has been left off)
21793 Vulnerable versions:
21794 * 1.11 <= 1.11.0rc1
21797 * 1.8 any version (if $wgEnableAPI has been switched on)
21799 MediaWiki 1.7 and below are not affected as they do not include the API
21800 functionality, however the BotQuery extension is similarly vulnerable unless
21801 updated to the latest SVN version.
21803 == MediaWiki 1.11.0 ==
21807 This is the Fall 2007 snapshot release of MediaWiki.
21809 MediaWiki is now using a "continuous integration" development model with
21810 quarterly snapshot releases. The latest development code is always kept "ready
21811 to run", and in fact runs our own sites on Wikipedia.
21813 Release branches will continue to receive security updates for about a year
21814 from first release, but nonessential bugfixes and feature developments will be
21815 made on the development trunk and appear in the next quarterly release.
21817 Those wishing to use the latest code instead of a branch release can obtain it
21818 from source control: [[Download from SVN]]
21820 This is the Summer 2007 branch release of MediaWiki.
21822 MediaWiki is now using a "continuous integration" development model with
21823 quarterly snapshot releases. The latest development code is always kept
21824 "ready to run", and in fact runs our own sites on Wikipedia.
21826 Release branches will continue to receive security updates for about a year
21827 from first release, but nonessential bugfixes and feature developments
21828 will be made on the development trunk and appear in the next quarterly release.
21830 Those wishing to use the latest code instead of a branch release can obtain
21831 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
21833 == Changes since 1.11.0rc1 ==
21835 A possible HTML/XSS injection vector in the API pretty-printing mode has been
21838 The vulnerability may be worked around in an unfixed version by simply
21839 disabling the API interface if it is not in use, by adding this to
21840 [[Manual:LocalSettings.php|LocalSettings.php]]:<br />
21841 <code>[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;</code> <br />
21842 (This is the default setting in 1.8.x.)
21844 Not vulnerable versions:
21850 Vulnerable versions:
21851 * 1.11 <= 1.11.0rc1
21854 * 1.8 <= 1.8.4 (if [[Manual:$wgEnableAPI|$wgEnableAPI]] has been switched on)
21856 MediaWiki 1.7 and below are not affected as they do not include the faulty
21857 function, however the [[Extension:BotQuery|BotQuery extension]] is similarly
21858 vulnerable unless updated to the latest SVN version.
21860 == Configuration changes since 1.10 ==
21862 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
21864 * $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which
21866 * $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites
21867 * $wgShowHostnames - Expose server host names through the API and HTML comments
21868 * $wgSaveDeletedFiles has been removed, the feature is now enabled
21871 == New features since 1.10 ==
21873 * (bug 8868) Separate "blocked" message for autoblocks
21874 * Adding expiry of block to block messages
21875 * Links to redirect pages in categories are wrapped in
21876 <span class="redirect-in-category"></span>
21877 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
21879 * (bug 9628) Show warnings about slave lag on Special:Contributions,
21881 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
21882 * Introducing new image keyword 'upright' and corresponding variable
21883 $wgThumbUpright. This allows better proportional view of upright images
21884 related to landscape images on a page without nailing the width of upright
21885 images to a fix value which makes views for anon unproportional and user
21886 preferences useless
21887 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
21888 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
21889 user preferences for image width like 'thumb' but without a frame.
21890 * (bug 7960) Link to "what links here" for each "what links here" entry
21891 * Added support for configuration of an arbitrary number of commons-style
21893 * Added a Content-Disposition header to thumb.php output
21894 * Improved thumb.php error handling
21895 * Display file history on local image description pages of shared images
21896 * Added $wgArticleRobotPolicies
21897 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
21898 containing, the ip, ip range, or username whose block is affecting the
21899 * (bug 7691) Show relevant lines from the deletion log when re-creating a
21900 previously deleted article
21901 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
21902 * (bug 9898) Allow viewing all namespaces in Special:Newpages
21903 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
21904 see docs/hooks.txt for details
21905 * (bug 9769) Provide "watch this page" toggle on protection form
21906 * (bug 9886) Provide clear example "stub link" in Special:Preferences
21907 * (bug 10055) Populate email address and real name properties of User objects
21908 passed to the 'AbortNewAccount' hook
21909 * Show result of Special:Booksources in wiki content language always, it's
21910 normally better maintained than the generic list from the standard message
21912 * (bug 7997) Allow users to be blocked from using Special:Emailuser
21913 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
21914 * (bug 8760) Allow wiki links in "protectexpiry" message
21915 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
21916 "DEFAULTSORT" magic word
21917 * (bug 10181) Support the XCache object caching mechanism
21918 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
21919 a path to the AdminSettings.php file
21920 * (bug 8781) Remind users to check file permissions for LocalSettings.php
21922 * Use shared.css for all skins and oldshared.css in place of common.css for
21923 pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
21924 Common.css and MediaWiki:Monobook.css.
21925 * (bug 8869) Introduce Special:Uncategorizedtemplates
21926 * (bug 8734) Different log message when article protection level is changed
21927 * (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode
21929 * (bug 10096) Added an ability to query interwiki map table
21930 * On reupload, add a null revision to the image description page
21931 * Group log output by date
21932 * Kurdish interface latin/arabic writing system with transliteration
21933 * Support wiki text in all query page headers
21934 * Add 'Orphanedpages' as an alias to Special:Lonelypages
21935 * (bug 9328) Use "revision-info-current" message in place of "revision-info"
21936 when viewing the current revision of a page, if available
21937 * (bug 8890) Enable wiki text for "license" message
21938 * Throw a showstopper exception when a hook function fails to return a value.
21939 Forgetting to give a 'true' return value is a very common error which tends
21940 to cause hard-to-track-down interactions between extensions.
21941 * Use $wgJobClasses to determine the correct Job to instantiate for a particular
21942 queued task; allows extensions to introduce custom jobs
21943 * (bug 10326) AJAX-based page watching and unwatching has been cleaned up and
21944 enabled by default.
21945 * Added option to install to MyISAM
21946 * (bug 9250) Remove hardcoded minimum image name length of three characters
21947 * Fixed DISPLAYTITLE behavior to reject titles which don't normalise to the
21948 same title as the current page, and enabled per default
21949 * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
21950 * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new
21951 classes: mw-code, mw-css, mw-js)
21952 * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over
21953 usergroup assignment.
21954 * Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
21955 * (bug 10387) Detect and handle '.php5' extension environments at install time
21956 * Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information
21957 * (bug 10404) Show rights log for the selected user in Special:Userrights
21958 * New javascript for upload page that will show a warning if a file with the
21959 "destination filename" already exists.
21960 * Add 'editsection-brackets' message to allow localization (or removal) of the
21961 brackets in the "[edit]" link for sections
21962 * (bug 10437) Move texvc styling to shared.css
21963 * Introduce "raw editing" mode for the watchlist, to allow bulk additions,
21964 removals, and convenient exporting of watchlist contents
21965 * Show "undo" links in page histories
21966 * Option to jump to specified time period in user contributions
21967 * Improved feedback on "rollback success" page
21968 * Show distinct 'namespaceprotected' message to users when namespace protection
21969 prevents page editing
21970 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
21971 * Allow showing a one-off preview on first edit with "preview=yes"
21972 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
21973 * Link to user logs in toolbox when viewing a user page
21974 * (bug 10508) Allow HTML attributes on <gallery>
21975 * (bug 1962) Allow HTML attributes on <math>
21976 * (bug 10530) Introduce optional "sp-contributions-explain" message for
21977 additional explanation in Special:Contributions
21978 * (bug 10520) Preview licences during upload via AJAX (toggle with
21979 $wgAjaxLicensePreview)
21980 * New Parser::setTransparentTagHook for parser extension and template
21982 * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
21984 * Add a message if category is empty
21985 * Add CSS compatibility for Opera 9.5
21986 * Remove largely untested handheld stylesheet, which was causing more trouble
21987 than good. Proper handheld support will be added at a future date. For now,
21988 display should be acceptable either with CSS turned off or when using a so-
21989 phisticated handheld browser.
21990 * (bug 3173) Option to offer exported pages as a download, rather than
21991 displaying inline, as in most browsers
21992 * Pass the user as an argument to 'isValidPassword' hook callbacks; see
21993 docs/hooks.txt for more information
21994 * Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
21995 * (bug 9595) Pass new Revision to the 'ArticleInsertComplete' and
21996 'ArticleSaveComplete' hooks; see docs/hooks.txt for more information
21997 * (bug 9575) Accept upload description from GET parameters
21998 * Skip the difference engine cache when 'action=purge' is used while requesting
21999 a difference page, to allow refreshing the cache in case of errors
22000 * (bug 10701) Link to Special:Listusers in default Special:Statistics messages
22001 * Improved file history presentation
22002 * (bug 10739) Users can now enter comments when reverting files
22003 * Improved handling of permissions errors
22004 * (bug 10793) "Mark patrolled" links will now be shown for users with
22005 patrol permissions on all eligible diff pages
22006 * (bug 10655) Show standard tool links for blocked users in block log messages
22007 * Show standard tool links for blocked users in Special:Ipblocklist
22008 * Miscellaneous aesthetic improvements to Special:Ipblocklist
22009 * (bug 10826) Added link trail with Cyrillic characters for Mongolian language
22010 * (bug 10859) Introduce 'UserGetImplicitGroups' hook; see docs/hooks.txt for
22012 * (bug 10832) Include user information when viewing a deleted revision
22013 * (bug 10872) Fall back to sane defaults when generating protection selector
22014 labels for custom restriction levels
22015 * Show edit count in user preferences
22016 * Improved support for audio/video extensions
22017 * (bug 10937) Distinguish overwritten files in upload log
22018 * Introduce 'ArticleUpdateBeforeRedirect' hook; see docs/hooks.txt for more
22020 * Confirmation is now required when deleting old versions of files
22021 * (bug 7535) Users can now enter comments when deleting old versions of files
22022 * (bug 11001) Submit Special:Newpages as a GET, rather than a POST request
22023 * The <strong></strong> around links to watched pages in change lists now
22024 has a class - "mw-watched"
22025 * (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload
22026 when a destination filename is provided that corresponds with previous
22028 * Make the "invalid special page" message clearer
22029 * Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
22030 * Introduced 'SkinAfterBottomScripts' hook; see docs/hooks.txt for
22032 * (bug 11095) Honour "preview on first edit" preference when preloading
22033 text for a non-existent page
22034 * (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
22035 Special:Recentchangeslinked
22036 * Add link to user contributions in normal watchlist edit mode
22037 * (bug 9426) Add 'newsectionheaderdefaultlevel' message to allow
22038 modification of the heading formatting for new sections when section=new
22039 argument is supplied
22040 * (bug 10836) Add 'newsectionsummary' message to allow modification of the
22041 text that prefixes a new section link in Recent Changes
22043 == Bugfixes since 1.10 ==
22045 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
22046 * (bug 9670) Follow redirects when render edit section links to transcluded
22048 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
22049 * (bug 3431) Suppress "next page" link in Special:Search at end of results
22050 * Don't show unblock form if the user doesn't have permission to use it
22051 (cosmetic change, no vulnerabilities existed)
22052 * Subtitle success message when unblocking a block ID instead of a pseudo link
22053 like [[User:#123|#123]]
22054 * Use the standard HTTP fetch functions when retrieving remote wiki pages
22055 through transwiki, so we can take advantage of cURL goodies if available
22056 * Disable user JavaScript on Special:Userlogin, Special:Resetpass and
22057 Special:Preferences, to avoid a compromised script sniffing passwords, etc.
22058 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
22059 instead of letting it flow outside the box or trigger ugly scroll bars.
22060 * Tooltips for print version and permalink
22061 * Links to the MediaWiki namespace for system messages having their default
22062 values are no longer shown as nonexistent (e.g., in red)
22063 * Special:Ipblocklist differentiates between empty list and no search results.
22064 * (bug 5375) profiling does not respect read-only mode.
22065 * (bug 7070) monobook/user.gif has antialias artifacts
22066 * (bug 9123) Safer way when applying $wgLocalTZoffset
22067 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
22068 * (bug 9417) Uploading new versions of images when using Postgres no longer
22070 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
22071 * (bug 1438) Fix for diff table layout on very wide lines.
22072 Diff style rules have been broken out to common/diff.css,
22073 and the dupes removed from the default skin files.
22074 Skins can still override the default rules.
22075 * (bug 1229) Balance columns in diff display evenly
22076 * Right-align diff line numbers in RTL language display
22077 * (bug 9332) Fix instructions in tests/README
22078 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
22079 of fragments during the normalisation process
22080 * (bug 7989) RSS feeds content now use black text when using white background.
22081 * (bug 9971) Typo in a french language message.
22082 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
22083 with $wgRCShowChangedSized = false.
22084 * Fix PHP strict standards warning in enhanced recent changes.
22085 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
22087 * (bug 7432) Change language name for Aromanian (roa-rup)
22088 * (bug 908) Unexistent special pages now generate a red link.
22089 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
22090 * (bug 7993) support mathematical symbol classes
22091 * (bug 10007) Allow Block IP to work with Postgrs again.
22092 * Add Google Wireless Transcoder to the Unicode editing blacklist
22093 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
22094 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
22095 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
22096 * (bug 10113) Fix double-click for view source on protected pages
22097 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
22098 set [now prints out a warning]
22099 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
22100 templates with a high number of inclusion links
22101 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
22102 * (bug 9820) session.save_path check no longer halts installation, but
22103 warns of possible bad values
22104 * (bug 9978) Fixed session.save_path validation when using extended
22105 configuration format, e.g. "5;/tmp"
22106 * Don't generate a diff link in the patrol log if the page doesn't exist
22107 * (bug 10067) Translations for former skins removed from message files
22108 * (bug 9993) Force $wgShowExceptionDetails on during installation
22109 * (bug 9980) Validate administrator username and password during
22111 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
22113 * (bug 10149) Don't show full template list on section-0 edit
22114 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
22116 * (bug 6743) Don't link broken image links to the upload form when uploads
22118 * (bug 9679) Improve documentation for $wgSiteNotice
22119 * (bug 10215) Show custom editing introduction when editing existing pages
22120 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
22121 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
22122 * (bug 9948) Workaround for diff regression with old Mozilla versions
22123 * (bug 10265) Fix regression in category image gallery paging
22124 * (bug 8577) Fix some weird misapplications of time zones.
22125 {{CURRENT*}} functions now consistently use UTC as intended, while
22126 {{LOCAL*}} functions return local time per server config or $wgLocaltimezone.
22127 Signature dates for Japanese and other languages including weekday now show
22128 the correct day to match the rest of the time in local time.
22129 * Escape the output of magic variables that return page name or part of it
22130 * (bug 10309) Initialise parser state properly in extractSections(), fixes
22131 some cases where section edits broke because tags were improperly stripped
22132 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
22133 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
22134 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
22135 * (bug 10325) Fix regression in form action on Special:Listusers
22136 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
22137 overlong key errors.
22138 * Fixed zero-padding issues with MySQL 5 binary schema
22139 * (bug 10344) Don't follow a redirect after changing its protection level
22140 * (bug 10333) Correct date format in Slovenian
22141 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
22142 Special:Prefixindex; making forms prettier for RTL wikis.
22143 * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
22145 * (bug 10372) namespaceDupes.php no longer ignores namespace aliases
22146 * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
22147 * namespaceDupes.php should work better for initial-lowercase wikis
22148 * (bug 10377) "Permanent links" to revisions still work if the page is moved
22149 and the redirect deleted
22150 * (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
22151 match the given title. Fixes inconsistencies with talk, history, edit links.
22152 * (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
22153 * (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
22154 using $wgScript now included in JS info
22155 * Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
22156 avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
22157 security settings are cranked this way and AJAX-y gets used.
22158 * Delay AJAX watch initialization until click so IE 6 with ugly security
22159 settings doesn't prompt you until you use the link.
22160 * (bug 10401) Provide non-redirecting link to original title in Special:Movepage
22161 * Fix broken handling of log views for page titles consisting of one
22162 or more zeros, e.g. "0", "00" etc.
22163 * Fix read permission check for special pages with subpage parameters, e.g.
22164 Special:Confirmemail
22165 * Fix read permission check for unreadable page titles which are numerically
22166 equivalent to a whitelisted title
22167 * '?>' closing tag removed from all files to help avoid problems with extraneous
22168 whitespace (broken XML feeds, etc.)
22169 * Don't use garbled parser cache output when viewing custom CSS or JavaScript
22171 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
22172 * Fix empty message checks for message names containing &
22173 This corrects some odd behavior with sidebar items and custom namespaces
22174 containing ampersands.
22175 * (bug 10375) Change thousands separator character to for Latin (la)
22176 * (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
22177 * (bug 10496) Fix broken DISTINCT option logic in database backend
22178 * Fix CSS media declaration for "screen, projection"; was causing some
22180 * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php
22181 * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting
22182 the intended skin directly in the URL.
22183 * (bug 9903) Don't mark redirects in categories as stubs
22184 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
22185 * Padding parser functions now work with strings like '0' that evaluate to false
22186 * (bug 10332) Title->userCan( 'edit' ) may return false positive
22187 * Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is
22189 * (bug 10552) Suppress rollback link in history for single-revision pages
22190 * (bug 10538) Gracefully handle invalid input on move success page
22191 * Fix for Esperanto double-x-encoding in move success page
22192 * (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+)
22193 Now matches the selection behavior on Mozilla / Safari.
22194 Patch by Alex Smotrov.
22195 * Don't show non-functional toolbar buttons on Opera 7 anymore
22196 * (bug 9151) Fix relative subpage links with section fragments
22197 * (bug 10560) Adding a space between category letter heading and "continues"
22198 * (bug 4650) Keep impossibly large/small counts off Special:Statistics
22199 * (bug 10608) PHP notice when installing with PostgreSQL
22200 * (bug 10615) Fix for transwiki import when CURL not available
22201 * (bug 8054) Return search page for empty search requests with ugly URLs
22202 * (bug 10572) Force refresh after clearing visitation timestamps on watchlist
22203 * (bug 10631) Warn when illegal characters are removed from filename at upload
22204 * Fix several JavaScript bugs under MSIE 5/Macintosh
22205 * (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language
22206 * (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0
22207 * Work around Safari bug with pages ending in ".gz" or ".tgz"
22208 * Removed obsolete maintenance/changeuser.sql script; use RenameUser extension
22209 * (bug 2735) "Preview" shown in title bar for action=submit on special pages
22210 * Removed "restore" links from the deletion log embedded in Special:Undelete
22211 * Improved error reporting and robustness for file delete/undelete.
22212 * Improved speed of file delete by storing the SHA-1 hash in image/oldimage
22213 * Fixed leading zero in base 36 SHA-1 hash
22214 * Protection form no longer produces JavaScript errors
22215 * (bug 10741) File histories show "delete" links for non-sysops
22216 * (bug 10744) Treat "noarticletext" and "noarticletextanon" as wiki text when
22217 used on a non-existent page with "action=info"
22218 * Fix escaping of raw message text when used on a non-existent page with
22220 * (bug 10683) Fix inconsistent handling of URL-encoded titles in links
22221 used in redirects (i.e. they now work)
22222 * (bug 8878) Changes to $dateFormats in German localization (removing unused,
22223 nonexistent formats, putting time after date)
22224 * (bug 10769) Database::update() should return boolean result
22225 * Fix preference checkbox display for right-to-left languages which caused
22226 them to be hidden in IE in some cases
22227 * Fix upload form display in right-to-left languages
22228 * Fixed regression in blocking of username '0'
22229 * (bug 9437) Don't overwrite edit form submission handler when setting up
22230 edit box scroll position preserve/restore behavior
22231 * (bug 10805) Fix "undo" link when viewing the diff of the most recent
22232 change to a page using "diff=0"
22233 * (bug 10765) img_auth.php will now refuse logged-out requests where
22234 $wgWhitelistRead is undefined, instead of (incorrectly) honouring them
22235 * Fixed img_auth.php file name extraction for whitelist checking
22236 * Tweak spacing of email preference display
22237 * Table sorting JavaScript prefers textContent over innerText to allow hidden
22238 sort keys to work on Safari
22239 * (bug 4530) Fix local name of Kurdish language
22240 * (bug 10830) Fix local name of Haitian Creole language
22241 * Fix invalid XHTML in Special:Protectedpages
22242 * Fix comments in contributions and log pages for right-to-left languages
22243 * Make installer include_path-independent, so it should work on hosts which
22244 disable user setting of PHP include_path setting
22245 * glob() is horribly unreliable and doesn't work on some systems, including
22246 free.fr shared hosting. No longer using it in Language::getLanguageNames()
22247 * (bug 10763) Fix multi-insert logic for PostgreSQL
22248 * Fix invalid XHTML when viewing a deleted revision
22249 * Fix syntax error in translations of magic words in Romanian language
22250 * (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping
22251 process error output under Windows
22252 * (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects
22253 * (bug 10783) Resizing PNG-24 images with GD no longer causes all alpha
22254 channel transparency to be lost and transparent pixels to be turned black
22255 * (bug 9339) General error pages were transforming messages and their parameters
22257 * (bug 9026) Incorrect heading numbering when viewing Special:Statistics with
22258 "auto-numbered headings" enabled
22259 * Fixed invalid XHTML in Special:Upload
22260 * (bug 11013) Make sure dl() is available before attempting to use it to check
22261 available databases in installer
22262 * Resizing transparent GIF images with GD now retains transparency by skipping
22264 * (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
22265 * Double encoding broke Special:Newpages for some languages
22266 * Adding a newline before the statistics footer, to prevent parsing problems
22267 * Preventing the TOC from appearing in Special:Statistics
22268 * (bug 11082) Fix check for fully-specced table names in Database::tableName
22269 * (bug 11067) Fix regression in upload conflict thumbnail display
22270 * (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
22271 suppressed, breaking paging - now strikes out "fixed" results
22272 * (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
22273 entries in the table of contents
22274 * (bug 11114) Fix regression in read-only mode error display during editing
22275 * Force non-MySQL databases to use an ORDER BY in SpecialAllpages to ensure
22276 that the first page_title is truly the first page title.
22277 * (bug 10836) Change the summary on creating of new section
22278 * Inclusion of Special:Wantedpages now works again
22280 == API changes since 1.10 ==
22282 Full API documentation is available at https://www.mediawiki.org/wiki/API
22284 * New properties: links, templates, images, langlinks, categories, external
22286 * Breaking Change: imagelinks renamed into imageusage (il->iu)
22287 * Bug fix: incorrect generator behavior in some cases
22288 * JSON format allows an optional callback function to wrap the result.
22289 * Login module disabled until a more secure solution can be implemented
22290 * (bug 9938) Querying by revision identifier returns the most recent revision
22291 for the corresponding page, rather than the requested revision
22292 * (bug 8772) Filter page revision queries by user
22293 * (bug 9927) User contributions queries do not accept IP addresses
22294 * Watchlist feed now reports a proper feed item when the user is not logged in
22295 * Watchlist feed date bug fixed - automatically shows one last day
22296 * Watchlist feed now allows to specify number of hours to monitor
22297 * list=allpages now returns a list instead of a map in JSON format
22298 * Breaking Change: in json, revisions are now returned as a list, not as a map.
22299 * Add: prop=info can show page is new flag, current page length, and visit
22301 * Change: Query watchlist now shows flags only when explicitly requested with
22303 * rc_this_oldid (textid) is no longer accessible from query watchlist
22304 * action=usercontribs: additional filtering by ucshow=; selection of needed
22305 fields with ucprop=; the textid (rev_text_id) is no longer being exposed
22306 * (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return
22307 lists in JSON instead of a map, and do not return anything when titles do
22309 * (bug 9121) Introduced indexpageids query parameter to list the page_id
22310 values of all returned page items
22311 * (bug 10147) Now interwiki titles are not processed but added to a separate
22312 "interwiki" section of the output.
22313 * Added categorymembers list to query for pages in a category.
22314 * (bug 10260) Show page protection status
22315 * (bug 10392) Include MediaWiki version details in version output
22316 * (bug 10411) Site language in meta=siteinfo
22317 * (bug 10391) action=help doesn't return help if format is fancy markup
22318 * backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title
22319 parameter instead of titles. Titles for these lists is obsolete and might stop
22321 * Added prop=imageinfo - gets image properties and upload history
22322 * (bug 10211) Added db server replication lag information in meta=siteinfo
22323 * Added external url search within wiki pages (list=exturlusage)
22324 * Added link enumeration (list=alllinks)
22325 * Added registered users enumeration (list=allusers)
22326 * Added full text search in titles and content (list=search)
22327 * (bug 10684) Expanded list=allusers functionality
22328 * Possible breaking change: prop=revisions no longer includes pageid for
22330 * Added rvprop=size to prop=revisions (The size will not be shown if it is NULL
22332 * list=allpages now allows to filter by article min/max size and protection
22334 * Added site statistics (siprop=statistics for meta=siteinfo)
22335 * (bug 10902) Unable to fetch user contributions from IP addresses
22336 * `list=usercontribs` no longer requires that the user exist
22337 * (bug 10971) `aufrom` parameter doesn't work with spaces
22338 * Fix username handling issue with `auprefix` parameter
22339 * Treat underscores as spaces for `aufrom` and `auprefix` parameters
22340 * Added edit/delete/... token retrieval to prop=info
22341 * Added meta=userinfo - logged-in user information, group membership, rights
22342 * (bug 11072) Fix regression in API image history query
22343 * (bug 11115) Adding SHA1 hash to imageinfo query
22344 * (bug 10898) API does not return an edit token for non-existent pages
22345 * (bug 10890) Timestamp support for categorymembers query
22346 * (bug 10980) Add exclude redirects on backlinks
22347 * IPv6 titles in User namespace are normalized (run cleanupTitles.php to fix any
22350 == Maintenance script changes since 1.10 ==
22352 * Add support for wgMaxTocLevel option in parserTests
22353 * (bug 6823) Disable article view counter in maintenance/dumpHTML.php
22354 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no
22355 suitable files are found, and make the list of extensions an option (defaults
22356 to $wgFileExtensions)
22357 * Add option to maintenance/createAndPromote.php to give the user bureaucrat
22358 permissions (--bureaucrat)
22359 * Allow overwriting existing files with a conflicting name using
22360 maintenance/importImages.php
22361 * (bug 10266) Use native newlines when rebuilding a messages file.
22363 == Languages updated since 1.10 ==
22376 * Extremaduran (ext)
22381 * Français Cadien (frc) (new)
22382 * Franco-Provençal/Arpetan (frp)
22386 * Upper Sorbian (hsb)
22396 * Kinaray-a (krj) (new)
22403 * Bahasa Melayu (ms)
22409 * Punjabi (Gurmukhi) (pa)
22411 * Piedmontese (pms)
22415 * Aromanian (roa-rup)
22433 * Winaray (war) (new)
22435 * Old Chinese / Late Middle Chinese (zh-classical)
22436 * Chinese (PRC) (zh-cn)
22437 * Chinese (Taiwan) (zh-tw)
22438 * Cantonese (zh-yue)
22440 == MediaWiki 1.10 ==
22442 == MediaWiki 1.10.4 ==
22446 * Correction for API path fix, broken in 1.10.3
22448 == MediaWiki 1.10.3 ==
22452 This is a security update to the Winter 2007 quarterly release. A potential
22453 XSS injection vector affecting api.php only for Microsoft Internet Explorer
22454 users has been closed.
22457 To work around the vulnerability without upgrading, you may disable the API if
22460 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
22462 Not vulnerable versions:
22467 * 1.8 any version (if $wgEnableAPI has been left off)
22469 Vulnerable versions:
22470 * 1.11 <= 1.11.0rc1
22473 * 1.8 any version (if $wgEnableAPI has been switched on)
22475 MediaWiki 1.7 and below are not affected as they do not include the API
22476 functionality, however the BotQuery extension is similarly vulnerable unless
22477 updated to the latest SVN version.
22479 == MediaWiki 1.10.2 ==
22482 This is a security fix update to the Spring 2007 quarterly release snapshot. A
22483 possible HTML/XSS injection vector in the API pretty-printing mode has been
22486 The vulnerability may be worked around in an unfixed version by simply
22487 disabling the API interface if it is not in use, by adding this to
22489 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
22491 Not vulnerable versions:
22497 Vulnerable versions:
22498 * 1.11 <= 1.11.0rc1
22501 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
22503 MediaWiki 1.7 and below are not affected as they do not include the faulty
22504 function, however the BotQuery extension is similarly vulnerable unless updated
22505 to the latest SVN version.
22507 == MediaWiki 1.10.1 ==
22510 This is a bugfix update to the Spring 2007 quarterly release snapshot. A number
22511 of fixes to improve compatibility with PostgreSQL, some versions of MySQL, and
22512 some PHP configurations are included.
22514 Changes since 1.10.0:
22516 * (bug [[bugzilla:9417|9417]]) Uploading new versions of images when using
22517 Postgres no longer throws warnings.
22518 * (bug [[bugzilla:9908|9908]]) Using tsearch2 with Postgres 8.1 no longer gives
22520 * (bug [[bugzilla:9973|9973]]) Changed size was shown in advanced recentchanges
22521 collapsible items with $wgRCShowChangedSized = false.
22522 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
22523 overlong key errors.
22524 * Fixed zero-padding issues with MySQL 5 binary schema
22525 * (bug [[bugzilla:9820|9820]]) session.save_path check no longer halts
22526 installation, but warns of possible bad values
22527 * (bug [[bugzilla:9978|9978]]) Fixed session.save_path validation when using
22528 extended configuration format, e.g. "5;/tmp"
22530 == MediaWiki 1.10.0 ==
22533 This is the quarterly release snapshot for Spring 2007. See below for a full
22534 list of changes since the 1.9.x series.
22536 Changes since 1.10.0rc2:
22538 * (bug [[bugzilla:9808|9808]]) Fix regression that ignored user 'rclimit'
22539 option for Special:Contributions
22541 == MediaWiki 1.10.0rc2 ==
22544 THIS IS A RELEASE CANDIDATE MADE AVAILABLE FOR TESTING!
22545 A FINAL 1.10.0 RELEASE WILL APPEAR WITHIN A FEW DAYS.
22547 Changes since 1.10.0rc1:
22548 * Various l10n fixes and updates
22549 * Fix for upgrade of page_restrictions table
22550 * (bug [[bugzilla:9780|9780]]) Fix normalization of titles with initial colon
22551 followed by whitespace
22552 * Fix for regression in upload: wrong size info saved into image table
22553 * Avoid cyclic stub problems when authorization hooks do funny things with the
22554 user and the database at load time
22556 == MediaWiki 1.10.0rc1 ==
22557 This is the Spring 2007 branch release of MediaWiki.
22559 MediaWiki is now using a "continuous integration" development model with
22560 quarterly snapshot releases. The latest development code is always kept
22561 "ready to run", and in fact runs our own sites on Wikipedia.
22563 Release branches will continue to receive security updates for about a year
22564 from first release, but nonessential bugfixes and feature developments
22565 will be made on the development trunk and appear in the next quarterly release.
22567 Those wishing to use the latest code instead of a branch release can obtain
22568 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
22570 == Configuration changes ==
22572 * A new switch $wgCommandLineDarkBg used by maintenance scripts
22573 (parserTests.php). It lets you specify if your terminal use a dark background,
22574 the colorized output will be made lighter making things easier to read.
22575 * The minimum permissions needed to edit a page in each namespace can now be
22576 customized via the $wgNamespaceProtection array. By default, editing pages in
22577 the MediaWiki namespace requires "editinterface" permission, as before.
22578 * Allow restriction of autoconfirmed permission by edit count. New global
22579 setting $wgAutoConfirmCount (defaulting to zero, naturally).
22580 * Added rate limiter for Special:Emailuser
22581 * Private logs can now be created using $wgLogRestrictions
22582 * (Bug 8590) limited HTML is now always enabled ($wgUserHtml = true).
22583 * Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
22585 == New features since 1.9 ==
22587 * (bug 6937) Introduce "statistics-footer" message, appended to
22589 * (bug 6638) List block flags in block log entries
22590 * (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript
22591 * Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage()
22593 (http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html)
22594 * Introduce "cascading protection" -- implicit protection on pages transcluded
22595 into a page protected with this option enabled
22596 * (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown
22597 out in action=raw, so extensions might influence the output.
22598 * (bug 3446) Add user preference to hide page content below diffs, can be
22599 overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
22600 * Add 'purge' privilege to replace the hardcoded check for login state in
22601 determining whether action=purge can be done via GET. Switching the
22602 permission on for anons can be helpful for benchmarking.
22603 * (bug 7842) Link back to deleted revision list from deleted revision preview
22604 * (bug 8619) Add user-aware "unblock" link to Special:Blockip
22605 * (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with
22606 the appropriate permission
22607 * (bug 8628) Add user-aware block list link to Special:Blockip
22608 * (bug 8621) Log revisions marked as patrolled
22609 * Introduce "BookInformation" hook; see docs/hooks.txt for more details
22610 * Add title prefix search for Special:Undelete
22611 * Remove full-archive list from Special:Undelete
22612 * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
22613 * (bug 8712) Expose user groups as a JavaScript global
22614 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
22615 * New special page, Special:Protectedpages, which shows all protected pages
22616 and their protection status (full protection status is not pulled out due
22617 to performance considerations, so it just shows "full protected" or
22619 * (bug 4133) Allow page protections to be made with an expiry date, in the same
22620 format as block expiry dates. Existing protections are assumed to be infinite,
22621 as are protections made with the new field left blank.
22622 * (bug 8535) Allow certain vertical alignment attributes to be used as image
22624 * (bug 6987) Allow perrow, widths, and heights attributes for <gallery>
22625 * (bug 3678) Allow disabling MediaWiki:Aboutsite in the same way as
22626 MediaWiki:Disclaimers; Also means that if any of the footer links are
22627 disabled in the wiki's default language (by setting to "-"), they'll also
22628 be disabled in other languages too (e.g. if the user specifies uselang=fr).
22629 * Sort log types in Special:Log
22630 * Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit
22632 * Hide irrelevant block options in Special:Blockip based on whether an
22633 IP address/range or username is listed. (Dynamic using JS.)
22634 * (bug 9032) Make quickbarSettings localizable through Special:Allmessages
22635 * (bug 7782) Standardisation of file info at image description pages.
22636 * (bug 1035) View contributions / recentchanges for an IP range.
22637 * (bug 8747) When unwatching pages from Special:Watchlist/edit, put the
22638 confirmation messages in a proper list with a CSS class and id.
22639 * (bug 9118) Show relevant log fragments on deletion confirmatio page
22640 * (bug 9009) Add username entry field to Special:Contributions
22641 * (bug 1723) Article size in history
22642 * (bug 9223) Disallow magic tilde sequences in page titles and usernames
22643 * (bug 6997) Link from Special:log/block to unblock form
22644 * (bug 9117) Link from Special:log/delete to undelete form
22645 * Link from Special:log/protect to change protection form
22646 * (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6
22648 * (bug 3984) Searching in logs by title%
22649 * Show thumbnail of existing image if image exists already under this filename
22650 * (bug 5546) Watchlist reflects logged actions like move, protection, undelete
22651 * Support protocols other than HTTP in LinkFilter, use $wgUrlProtocols
22652 * (bug 3069) Warning on upload of scaled down images
22653 * Warning on upload of images with uppercase extension if image with lowercase
22655 * (bug 4624) Namespace selection for Special:Whatlinkshere
22656 * Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see
22657 docs/hooks.txt for more information
22658 * (bug 9397) Introduce "sp-contributions-footer" and
22659 "sp-contributions-footer-anon" messages, shown at the end of
22660 Special:Contributions as appropriate for the target
22661 * (bug 8421) Expose current action in JavaScript globals (as 'wgAction')
22662 * (bug 9069) Use galleries in query pages dedicated to images
22663 * (bug 9177) Installer now warns of various conditions affecting
22664 session.save_path which can lead to broken session storage
22665 * (bug 9046) Special page to list pages without language links
22666 * (bug 9508) Special page to list articles with the fewest revisions
22667 * Introduce 'FileUpload' hook; see docs/hooks.txt for more information
22668 * Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information
22669 * Introduce 'mywatchlist' message; used on personal menu to link to watchlist
22671 * Introduce magic word {{NUMBEROFEDITS}}
22672 * Introduced media handlers for file-type specific operations.
22673 * Improved error reporting for image thumbnailing
22674 * Added sharpening option for ImageMagick thumbnailing
22675 * (bug 9656) Autosummaries will be generated for deletion of pages longer than
22677 * Predefined block reasons added to Special:Blockip
22678 * (bug 9196) Installer now check that zend.ze1_compatibility_mode is off
22679 * (bug 9697) Introduce 'InternalParseBeforeLinks' hook; see docs/hooks.txt for
22681 * 'contribsub' message changed to 'contribsub2' with two parameters to permit
22682 better localization. Change is reverse-compatible and can be ignored for
22684 * Adding a 'reason' field to Special:Userrights
22686 == Bugfixes since 1.9 ==
22688 * (bug 7292) Fix site statistics when moving pages in/out of content namespaces
22689 * (bug 8531) Correct local name of Lingála
22690 * Made the PLURAL: parser function return singular on -1 per default
22691 * Fixed up the AjaxSearch
22692 * Fix SpecialVersion->formatCredits input. Version and Url parameters should be
22693 null to be treated properly with isset.
22694 * Page restrictions moved into a new, dedicated table
22695 * Correct tooltip accesskey hint for Opera on the Macintosh
22696 (uses Shift-Esc-, not Ctrl-).
22697 * (bug 8002) Math should render left-to-right even in right-to-left wikis
22698 * Pass e-mail and real name fields to AuthPlugin::addUser, as additional
22699 optional fields, which may be considered useful at registration time.
22700 * PostgreSQL upgrade scripts fixed and updated
22701 * (bug 8613) Fix error when viewing "Recent Changes" and using Postgres.
22702 * Initialise site_stats table at upgrade time if data was missing
22703 * (bug 7250) Updated Unicode normalization tables to Unicode 5.0
22704 * Unmaintained Oracle support files have been removed.
22705 * Use browser default for printing size, don't force to 11pt
22706 * (bug 8632) Fix regression in page protection null edit update
22707 * (bug 8407) Disallow indexing of "printable" versions
22708 * (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins
22709 * (bug 8629) Document $wgFilterCallback
22710 * (bug 1000) Clarify warning about memory_limit in installer
22711 * Suppress PHP warning about set_time_limit in installer when safe mode is on
22712 * (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is
22713 not available, as on IIS with PHP-CGI
22714 * Missing interwiki row for English Wikipedia restored (as "wikipedia:")
22715 * use configured cache servers for mctest.php
22716 * bucket details in mcc.php
22717 * fix input validation and remove debugging code in compressOld
22718 * full ID range for moveToExternal
22719 * fix resolveStubs.php for compatibility with older serialized data
22720 * maximum line length for bar graphs in getLagTimes.php
22721 * recognize specieswiki in rebuildInterwiki.inc
22722 * profile unicode cleanup in Xml
22723 * log slow parses in Article.php
22724 * profile wfMsgReal
22725 * log mkdir failures
22726 * profile AutoLoader
22727 * rebuild empty DjVu metadata containing ''
22728 * security fix for DjVu metadata retrieval
22729 * Undelete page list can use plural marker
22730 * (bug 8638) Fix update from 1.4 and earlier
22731 * (bug 8641) Fix order of updates to ipblocks table
22732 * (bug 8678) Fix detection of self-links for numeric titles in Parser
22733 * (bug 6171) Magically close tags in tables when not using Tidy.
22734 * Sanitizer now correctly escapes lonely '>' occurring before the first wikitag.
22735 * Ignore self closing on closing tags ( '</div />' now gives '</div>')
22736 * (bug 8673) Minor fix for web service API content-type header
22737 * Fix API revision list on PHP 5.2.1; bad reference assignment
22738 * (bug 8688) Handle underscores/spaces in Special:Blockip and
22739 Special:Ipblocklist in a consistent manner
22740 * (bug 8701) Check database lock status when blocking/unblocking users
22741 * ParserOptions and ParserOutput classes are now in their own files
22742 * (bug 8708) Namespace translations for Zealandic language
22743 * Renamed constructor methods to PHP 5 __construct reserved name
22744 * (bug 8715) Warn users when editing an interface message whether or not the
22745 message page exists
22746 * ar: fix the 'create a new page' on search page when no exact match found
22747 * (bug 8703) Corrected talk and image namespace name for Limburgish (li)
22748 * (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
22749 * (bug 8403) Respect bad image list exceptions in galleries on wiki pages
22750 * Allow sending per-user contribution requests to "contributions" query group
22751 * (bug 3717) Update user count for AuthPlugin account autocreation
22752 * (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
22753 accesskeys default settings appear to be same as Windows.
22754 * Added an option to make Linker::userToolLinks() show the contribs link
22755 red when the user has no edits. Linker::userToolLinksRedContribs() is an
22756 alias to that which should be used to make it more self documentating.
22757 * (bug 8749) Bring MySQL 5 table defs back into sync
22758 * (bug 8751) Set session cookies to HTTPS-only to match other cookies
22759 * (bug 8652) Catch exceptions generated by malformed XML in multipage media
22760 * (bug 8782) Help text in Makefile
22761 * (bug 8777) Suppress 'previous' link on Special:Allpages when at first page
22762 * (bug 8774) Fix path for GNU FDL rights icon on new installs
22763 * Fix multipage selector drop-down for DjVu images to work when title
22764 is passed as a query string parameter; we have to pass the title as
22765 a form parameter or it gets dropped from the form submission URL
22766 * (bug 8819) Fix full path disclosure in with skins dependencies
22767 * Fixed bug affecting HTML formatting in sortable table column titles
22768 * Merged table sorting code into wikibits.js
22769 * (bug 8711) Stop floats in previews from spilling into edit area
22770 * (bug 8858) Safer handling when $wgImageLimits is changed. Added a note
22771 in DefaultSettings to make it clear.
22772 * (bug 4268) Fixed data-loss bug in compressOld batch text compression
22773 affecting pages which had null edits (move, protect, etc) as second
22774 edit in a batch group. Isolated and patched by Travis Derouin.
22775 * Fix for paths in 1.4->1.5 special-case updater script
22776 * (bug 8789) AJAX search: IE users can now use the return key
22777 * (bug 6844) Use <ins> and <del> tags to emphase the differences
22778 * (bug 6684) Fix improper javascript array iteration
22779 * (bug 4347) use MailAddress object for reply-to
22780 * Add AlphabeticPager abstract class
22781 * Use faster AlphabeticPager for Special:Categories
22782 * (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
22783 pages; perhaps useful for categories and shared images
22784 * Clean up session checks to better handle the case where the session was
22785 opened during the current request. May help with some caching corner
22787 * (bug 8897) Fix whitespace removal for interlanguage links with link prefix
22788 * Add 'ParserTestTables' hook to expand the list of temporary tables copied
22789 by the parser test harness; use for extensions which require the presence
22790 of other tables while they work.
22791 * Message names changed for AlphabeticPager introduced with r19758
22792 for better localisations.
22793 * (bug 8944) The deprecated is_a() function is used in StubObjects.php
22794 * (bug 8992) Fix a remaining raw use of REQUEST_URI in history
22795 * (bug 8999) User.php gives "undefined user editcount" PHP notice.
22796 * (bug 8984) Fix a database error in Special:Recentchangeslinked
22797 when using the Postgres database.
22798 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
22799 The ob_start() section should preferably be removed from older
22800 LocalSettings.php files.
22801 * Give Content-Length header for HTTP/1.0 clients.
22802 * Partial support for Flash cross-domain-policy filtering.
22803 * Lazy-initialize site_stats row on load when empty. Somewhat kinder to
22804 dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES
22806 * Add 'charset' to Content-Type headers on various HTTP error responses
22807 to forestall additional UTF-7-autodetect XSS issues. PHP sends only
22808 'text/html' by default when the script didn't specify more details,
22809 which some inconsiderate browsers consider a license to autodetect
22810 the deadly, hard-to-escape UTF-7.
22811 This fixes an issue with the Ajax interface error message on MSIE when
22812 $wgUseAjax is enabled (not default configuration); this UTF-7 variant
22813 on a previously fixed attack vector was discovered by Moshe BA from BugSec:
22814 http://www.bugsec.com/articles.php?Security=24
22815 * Trackback responses now specify XML content type
22816 * (bug 9044) Send a comment with action=raw pages in CSS/JS output mode
22817 to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly,
22818 particularly with new keepalive-friendly HTTP on Wikipedia
22819 * (bug 8919) Suppress paging links and related messages where there are no
22820 rows to list for query pages
22821 * (bug 9057) Standardize MediaWiki: namespace for oc
22822 * (bug 8132) Suppress "Pages in this category" heading in categories when
22824 * (bug 8958) Handle search operators better when using tsearch2 (Postgres)
22825 * (bug 8799) Use redirect table for Special:BrokenRedirects and
22826 Special:DoubleRedirects
22827 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
22828 MediaWiki:showingresultsnum
22829 * (bug 9122) Fix minor display issue in RTL with section edit link margin
22830 * (bug 5805) Enable PLURAL option for some messages of watchlist and statistic
22831 * (bug 3953) Work around poor display of parenthesis in the in other
22832 languages section of MonoBook skin
22833 * (bug 8539) Enable PLURAL option for another message of recentchanges.
22834 * (bug 8728) MediaWiki:Badfiletype split into 3 messages
22835 * (bug 9131) Allow SpecialContributions to work with Postgres
22836 * (bug 9155) Allow footer info to wrap in Monobook
22837 * (bug 8847) Strip spurious #fragments from request URI to fix redirect
22838 loops on some server configurations
22839 * (bug 9097) column "pr_pagetype" does not exist
22840 * (bug 9217) Balance wfProfile calls in Skin::outputPage
22841 * (bug 9222) PostgreSQL updater should not be version-specific
22842 * Fix fallback implementation of mb_strlen so it works and isn't insanely
22843 slow for large strings, since it's used for page edit lengths
22844 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
22845 * (bug 9256) Add a quick note to index.php header comments
22846 * Make Special:Listusers caseinsensitive for first letter
22847 * Default tidy.conf has been moved from extensions module into includes.
22848 * Ignore lonely '''''
22849 * (bug 9244) When calling edit page for nonexistent section, generate error
22850 inside of just discarding edits, since edit links sometimes go to the wrong
22852 * (bug 9019) No warning during upload if image description page exists, but no
22854 * (bug 8582) Allow thumbnailing when imagesize has a space.
22855 * (bug 8716) Change math_inputhash and math_outputhash to bytea for Postgres
22856 * (bug 9343) Correct internal name for Wolof language
22857 * (bug 9363) Fix Postgres error on Recentchangeslinked
22858 * (bug 5142) Fixed call of hook ArticleViewHeader
22859 * (bug 4777) Separate prev/next messages for Special:Whatlinkshere
22860 * Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql
22861 based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive.
22862 * (bug 9411) Fix for shared image descriptions using query-string titles
22863 * (bug 4756) Add user tool links for self created accounts at special:log
22864 instead of sometimes broken block links from newuserlog extension
22865 * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent
22866 target page instead of silently redirecting
22867 * (bug 8914) Don't transform colons in {{anchorencode:}}
22868 * (bug 9241) Handle edit section links and include size links for cached
22869 templates the same as the first transclusion.
22870 * (bug 9466) "Rollback failed" page doesn't format edit comment
22871 * (bug 9472) Invalid XHTML on cached special pages
22872 * (bug 9472) Invalid XHTML on Special:Newpages
22873 * (bug 4764) "My contributions" not bold when viewing own contributions
22874 * (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere
22875 * (bug 9033) Use a more specific error message when users are not able/allowed
22876 to edit page protection levels due to a block, database lock or permissions
22877 * Fixed $wgFeedLimit
22878 * (bug 9270) Corrected help namespace name for Dutch Lower Saxon (nds-nl)
22879 * (bug 929, 4215) Expose "rcdays" user preference in Special:Preferences
22880 * (bug 9554) Extension-provided group name messages not used
22881 * (bug 9565) Translate template namespace name for Hindi (hi)
22882 * (bug 8599) Correct localized names of zh-variants
22883 * (bug 3366) Require skins based on SkinTemplate to override the skinname
22885 * (bug 9220) Removed obsoletes functions in install-utils.inc.
22886 * Removed obsoletes Title::getRelatedCache and Title:touchArray
22887 * (bug 7285) Check MySQL username length during install
22888 * (bug 6910) Correct date/time formats in Vietnamese (vi)
22889 * (bug 9608) Correctly use ORDER BY in dumpLinks.php
22890 * (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php
22891 * Special:Random and Special:Randomredirect now try harder to send the user to
22892 a random page, and will give an error message if none really can be found
22893 instead of sending the user to the main page like they used to
22894 * Fix object variable used for displaying "not-patrolled" CSS class on list
22895 * Fixed interaction of page parameter to ImagePage with the HTML file cache
22896 * Fixed MIME type for SVG files, will be silently changed from image/svg
22897 to image/svg+xml after loading from the database.
22898 * Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump
22900 * Fixed odd behavior in ImagePage on DjVu thumbnailing errors
22901 * (bug 5439) "Go" title search will now jump to shared/foreign Image: and
22902 MediaWiki: pages that have not been locally edited.
22903 * (bug 9630) Limits links in Whatlinkshere forgot about namespace filter
22904 * Fixed upgrade for the non-standard MySQL schemas
22905 * Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the
22906 various problems that occur when it is on.
22907 * (bug 9585) Fix regression in tidy usage in Special:Undelete previews
22908 * (bug 3826) Normalize some invalid cookie name characters when setting
22909 up $wgCookiePrefix. Completes application of patch by Anders Kaseorg.
22910 * (bug 9649) Fix RTL form alignment for Special:Movepage
22911 * (bug 9582) Members of bot group now mark edits patrolled by default
22912 * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
22913 converted from 1.4 to 1.5 schema
22914 * (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
22915 * (bug 5959) Anchors dropped from stub links
22916 * (bug 3348) Some additional weak password checks: password which is same
22917 as username will now be rejected.
22918 * (bug 8602) Converted Special:Contributions to use an IndexPager. The
22919 interpretation of the offset parameter has changed, and the go parameter
22921 * (bug 6204) Fixes for indentation with $wgMaxTocLevel:
22922 - don't emit too many list close tags after an invisible header
22923 - don't emit too many final list close tags if last header is invisible
22924 - don't emit TOC when there are no visible headers
22925 * (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
22926 when certain plugins are present which alter the user agent
22931 * New script maintenance/language/checkExtensioni18n.php used to check i18n
22932 progress in the extension repository.
22933 * Running maintenance/parserTests.php with '--record' option, will now
22934 automatically attempt to create the required tables
22935 * --purge option to do additional parser-cache purging for purgeList.php
22936 * Fix hardcoded background color in parserTests.php
22937 * parserTests.php : removed the 'light' option for --color argument, replacing
22938 it with a new global switch : $wgCommandLineDarkBg
22939 * (bug 8780) Clarify message for command-line scripts if LocalSettings.php
22940 exists but is not readable
22941 * dumpBackup / importDump now work with PostgreSQL
22942 * (bug 8975) Use "Maintenance script" as the default username for
22943 importImages.php and importTextFile.php scripts
22944 * (bug 8933) Fix maintenance/reassignEdits.php script
22945 * (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org
22946 * (bug 2979) Import now gracefully skips invalid titles with a warning
22947 * Restore '--norc' option for maintenance/importTextFile.php
22948 * Help information for maintenance/importTextFile.php now easier to read on
22950 * Doxygen documentation now show the revision number of each file, generate
22951 graphs using dot and include a search engine.
22954 == Languages updated ==
22959 * Belarusian normative (be)
22960 * Belarusian alternative (be-x-old)
22978 * Upper Sorbian (hsb)
22998 * Dutch Lower Saxon (nds-nl)
23000 * Nepal Bhasa (new)
23018 * Old Chinese / Late Middle Chinese (zh-classical)
23019 * Chinese (PRC) (zh-cn)
23020 * Chinese (Taiwan) (zh-tw)
23021 * Cantonese (zh-yue)
23023 == Compatibility ==
23025 MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
23027 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
23028 http://bugs.php.net/bug.php?id=34879
23029 Upgrade affected systems to PHP 5.1 or higher.
23031 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
23032 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
23037 1.10 has several database changes since 1.9, and will not work without schema
23040 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
23041 new database fields are filled with data.
23043 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
23044 changes are made, and there is a slightly higher chance that things could
23045 break. Don't forget to always back up your database before upgrading!
23047 See the file UPGRADE for more detailed upgrade instructions.
23049 = MediaWiki release notes =
23050 Security reminder: MediaWiki does not require PHP's register_globals
23051 setting since version 1.2.0. If you have it on, turn it *off* if you can.
23055 == MediaWiki 1.9.6 ==
23059 * Correction for API path fix, broken in 1.9.5
23061 == MediaWiki 1.9.5 ==
23065 This is a security update to the Winter 2007 quarterly release. A potential XSS
23066 injection vector affecting api.php only for Microsoft Internet Explorer users
23070 To work around the vulnerability without upgrading, you may disable the API if
23073 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23075 Not vulnerable versions:
23080 * 1.8 any version (if $wgEnableAPI has been left off)
23082 Vulnerable versions:
23083 * 1.11 <= 1.11.0rc1
23086 * 1.8 any version (if $wgEnableAPI has been switched on)
23088 MediaWiki 1.7 and below are not affected as they do not include the API
23089 functionality, however the BotQuery extension is similarly vulnerable unless
23090 updated to the latest SVN version.
23092 == MediaWiki 1.9.4 ==
23096 This is a security and bug fix update to the Winter 2007 quarterly release.
23097 Minor compatibility fixes for IIS 5 are included.
23099 * (bug [[bugzilla:8847|8847]]) Strip spurious #fragments from request URI to
23100 fix redirect loops on some server configurations
23101 * A possible HTML/XSS injection vector in the API pretty-printing mode has been
23104 The vulnerability may be worked around in an unfixed version by simply
23105 disabling the API interface if it is not in use, by adding this to
23108 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23110 Not vulnerable versions:
23116 Vulnerable versions:
23117 * 1.11 <= 1.11.0rc1
23120 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
23122 MediaWiki 1.7 and below are not affected as they do not include the faulty
23123 function, however the BotQuery extension is similarly vulnerable unless updated
23124 to the latest SVN version.
23126 == MediaWiki 1.9.3 ==
23130 This is a security and bug-fix update to the Winter 2007 quarterly release.
23131 Minor compatibility fixes for IIS and PostgreSQL are included.
23133 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
23134 charset autodetection was located in the AJAX support module, affecting MSIE
23135 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
23137 If you are using an extension based on the optional Ajax module, either disable
23138 it or upgrade to a version containing the fix:
23140 * 1.9: fixed in 1.9.3
23141 * 1.8: fixed in 1.8.4
23142 * 1.7: fixed in 1.7.3
23143 * 1.6: fixed in 1.6.10
23145 There is no known danger in the default configuration, with ''$wgUseAjax'' off.
23147 * ([[mediazilla:8992|8992]]) Fix a remaining raw use of REQUEST_URI in history
23148 * ([[mediazilla:8984|8984]]) Fix a database error in
23149 Special:Recentchangeslinked when using the PostgreSQL database.
23150 * Add ''charset'' to Content-Type headers on various HTTP error responses to
23151 forestall additional UTF-7-autodetect XSS issues. PHP sends only ''text/html''
23152 by default when the script didn't specify more details, which some
23153 inconsiderate browsers consider a license to autodetect the deadly,
23154 hard-to-escape UTF-7. This fixes an issue with the Ajax interface error message
23155 on MSIE when ''$wgUseAjax'' is enabled (not default configuration); this UTF-7
23156 variant on a previously fixed attack vector was discovered by Moshe BA from
23157 BugSec: [http://www.bugsec.com/articles.php?Security=24
23158 http://www.bugsec.com/articles.php?Security=24]
23159 * Trackback responses now specify XML content type
23161 == MediaWiki 1.9.2 ==
23165 This is a bug-fix update that fixes some installation and other minor issues
23166 with the 1.9.1 release as well as a security issue which was introduced in the
23169 JavaScript code which regenerated the "sortable tables" feature did not
23170 properly sanitize input, leading to an HTML injection vulnerability.
23172 * ([[mediazilla:8774|8774]]) Fix path for GNU FDL rights icon on new installs
23173 * ([[mediazilla:8819|8819]]) Fix full path disclosure with skins dependencies
23174 * ([[mediazilla:8819|8819]]) Fixed data-loss bug in compressOld batch text
23175 compression affecting pages which had null edits (move, protect, etc) as second
23176 edit in a batch group. Isolated and patched by Travis Derouin.
23177 * Security fix for sortable tables JavaScript
23179 == MediaWiki 1.9.1 ==
23183 This is a bug-fix update that fixes some installation and upgrade issues with
23184 the original 1.9.0 release.
23186 * ([[mediazilla:3000|3000]]) Fall back to SCRIPT_NAME plus QUERY_STRING when
23187 REQUEST_URI is not available, as on IIS with PHP-CGI
23188 * Security fix for DjVu images. (Only affects servers where .djvu file uploads
23189 are enabled and ''$wgDjvuToXML'' is set.)
23190 * ([[mediazilla:8638|8638]]) Fix update from 1.4 and earlier
23191 * ([[mediazilla:8641|8641]]) Fix order of updates to ipblocks table for updates
23193 * ([[mediazilla:8673|8673]]) Minor fix for web service API content-type header
23194 * Fix API revision list on PHP 5.2.1; bad reference assignment
23195 * Fixed up the AjaxSearch
23196 * Exclude settings files when generating documentation. That could expose the
23197 database user and password to remote users.
23198 * ar: fix the 'create a new page' on search page when no exact match found
23199 * Correct tooltip accesskey hint for Opera on the Macintosh (uses Shift-Esc-,
23201 * ([[mediazilla:8719|8719]]) Firefox release notes lie! Fix tooltips for
23202 Firefox 2 on x11; accesskeys default settings appear to be same as Windows.
23204 == Changes since 1.8 ==
23206 * (bug 8200) Make category lists sorted by name when using Postgres.
23207 * (bug 7841) Support 'IGNORE' inserts for Postgres, fixes watchlist
23209 * (bug 6835) Removing the includes/Parser.php::getTemplateArgs() function,
23210 because it seems to be unused.
23211 * (bug 7139) Increasing the visual width of the edit summary field on larger
23212 screen sizes, for the default monobook skin.
23213 * Fix PHP notice and estimates for dumpBackup.php and friends
23214 * Improved register_globals paranoia checks
23215 * (bug 7545) Fix PHP version check on install
23216 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails
23217 is set. Backtraces may contain sensitive information in function call
23219 * (bug 6164) Avoid smashing Cite state if message transformation triggers
23220 during bad image list check, by skipping message transformation.
23221 This isn't a good permanent fix.
23222 * (bug 6918) Stopped borders and backgrounds from showing through floated
23224 * (bug 6868) Un-hardcode section edit link style
23225 * (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
23226 * Added global $wgStyleVersion to centralize bumping CSS and JS file versions
23227 for cache-friendly style and script updating
23228 * (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
23229 * Friendlier check for PHP 5 in command-line scripts; it's common for parallel
23230 PHP 4 and 5 installations to interfere on the command-line.
23231 * Fix regression in autoconfirm permission check
23232 * (bug 3015) Add CSS ids to subcategory and page sections on category pages
23233 * (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup
23234 * (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge
23235 * (bug 7581) Update language name for cbk-zam
23236 * (bug 7444) Update namespace translations for Telugu (te), kept old values as
23237 alias for compatibility
23238 * (bug 4525) Move section links down visually to same level as headings
23239 (editsection links are now inside the heading elements)
23240 * Workaround for http://bugs.php.net/bug.php?id=31892 , PATH_INFO and hence
23241 URLs of the style /index.php/Main_Page were broken on some CGI installations.
23242 * (bug 7623) Validate custom HTML id's correctly in Monobook interface
23243 * (bug 2241) Fix collision of 'w' and 'd' accesskeys
23244 * (bug 5795) CSS class added to body based on page name for page-specific
23246 * (bug 6276) Stopped search field from getting too large in Cologne Blue
23247 * (bug 7644) User creations that are aborted by hooks shouldn't be counted
23248 against account creations per day limit
23249 * (bug 7636) Show Firefox 2 users correct accesskey prefix
23250 * (bug 6427) Block blocked IPs from using the mail password function
23251 to allow blocking of flooders
23252 * Include common.css from classic-style skins in main HTML with the bump URL
23253 * (bug 7607) Add Karakalpak (kaa) to Names.php and stub message file for
23255 * (bug 7582) Add 'tog-nolangconversion' to MessagesEn.php.
23256 This key is need for languages with variants (zh, sr, kk)
23257 * (bug 7606) MediaWiki messages for "rss" and "atom" missing
23258 * (bug 7609) Add some more '*-summary' messages to MessagesEn.php with empty
23259 strings to allow better localisation via Special:Allmessages. Mark this new
23260 messages as optional for localisation.
23261 * Fix user_newpass upgrade for prefixed tables (reported by Fyren)
23262 * (bug 7663) Include language variant switcher links on Nostalgia skin
23263 * (bug 6531) Fix PHP fatal error on installation page with bad username input.
23264 * (bug 6977) Remove 404 link for autogenerated database documentation.
23265 * (bug 7369) Allow "Show Changes" without requiring edit token.
23266 * (bug 7687) Fix movetalk box checks itself when confirming a delete and move.
23267 * (bug 7684) Obey watchcreated preference for Special:Upload watch checkbox
23268 * (bug 7686) Include id attribute on delete form confirmation button
23269 * Allow compound interwiki prefixes in $wgImportSources
23270 * (bug 7304) Added redirect table to store redirect targets.
23271 * Added querycachetwo table (similar to querycache but has two titles)
23272 * PageArchive can now return a Revision object for more convenient processing
23273 of deleted revision data
23274 * Added 'UndeleteShowRevision' hook in Special:Undelete
23275 * Error message on attempt to view invalid or missing deleted revisions
23276 * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
23277 * (bug 3224) Allow minor edits by bots to skip new message notification on
23278 user talk pages. This can be disabled by adjusting the 'nominornewtalk'
23279 permission. Patch by Werdna.
23280 * (bug 7741) MATH: fixed broken syntax of underbrace etc. Fixed arrays
23281 * Fix purging for updated SVG files
23282 * (bug 7745) Add id attribute to search button in Monobook
23283 * (bug 7749) MATH: added some more LaTeX symbols, e.g. parallel, diamond, ast...
23284 * (bug 7304) Added code in Article.php to keep redirect table up to date.
23285 * Made special page names case-insensitive and localisable. Care has been taken
23286 to maintain backwards compatibility.
23287 * Used special page subpages in a few more places, instead of query parameters.
23288 * (bug 7758) Added wrapper span to "templates used" explanation to allow CSS
23289 styling (class="mw-templatesUsedExplanation").
23290 * Added {{#special:}} parser function, to give the local default title for
23292 * (bug 7766) Remove redundant / from AJAX requests, can break some servers
23293 * Add tab links from extensions to classic-based skins (SkinTemplateTab hook)
23294 Provides better cross-skin compatibility for extensions using the modern
23295 skin hooks, such as Oversight
23296 * Moved variant language links on Cologne Blue and Nostalgia to before the
23298 * Fix for parser tests with MySQL 5 in strict mode
23299 * Added block option "enable autoblocks"
23300 * Amend Special:Ipblocklist to note when a block has autoblock DISABLED.
23301 * (bug 7780) Fix regression in editing redirects
23302 * Add whitespace above "templates included on this page" using CSS, not
23303 hardcoded line break.
23304 * Remove entries from redirect table on article deletion
23305 * (bug 7788) Force section headers in new section links for users who have
23306 'prompt for blank edit summaries' on.
23307 * (bug 1133) Special:Emailuser: add an option to send yourself a copy of your
23309 * (bug 461) Allow "Categories:" link at bottom of pages to be customized via
23310 pagecategorieslink message.
23311 * Sort the list of skins in "My Preferences" -> Skins by alphabetical order.
23312 * (bug 7785) Postgres compatibility for timestamps in RC feeds
23313 * (bug 7550) Normalize user parameter normally on Special:Log
23314 * (bug 7294) Fix PATH search for diff3 on install
23315 * Various fixes related to the blocking change re: autoblocks. On inserting
23316 an IP block, the ipb_enable_autoblock field is now automagically blanked,
23317 because it doesn't make any sense for an IP. Additionally, IP blocks
23318 without the ipb_enable_autoblock option no longer show up as "autoblock
23319 disabled" on Special:Ipblocklist.
23320 * (bug 7774) MATH: aded more amstex functions
23321 * (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in
23323 * Fix regression in streaming page dump generation
23324 * (bug 7801) Add support for parser function hooks in parser tests
23325 * checkUsernames.php now uses wfDebugLog instead of hardcoded path to log
23326 * (bug 7810) Update talk namespaces for Occitan
23327 * Allow case-sensitive URLs to be used for uploading from URLs.
23328 * (bug 1109) Correct fix for compressed 304 responses when additional output
23329 buffers have been installed within the compression handler
23330 * (bug 7819) Move automatic redirect edit summary after pre-save transform
23331 to work properly with subst: fun
23332 * (bug 7826) Fix typos in two English messages.
23333 * (bug 5365) Stop users being prompted to enter an edit summary for null edits,
23334 if they have selected that option in preferences.
23335 * (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor
23337 * (bug 7820) Improve error reporting for uploads via URL.
23338 * (bug 5149) When autoblocks are enabled, retroactively apply an autoblock to
23339 the most recently used IP of a user when they are blocked.
23340 * Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This
23341 will make CheckUser.php and the new retroactive autoblock functionality
23343 * Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
23344 with compression or legacy encoding
23345 * (bug 6737) Fixes for MySQL 5 schema in strict mode
23346 * Approximate height for client-side scaling fallback instead of passing -1
23347 into the HTML output.
23348 * Make the DNSBL to check for proxy blocking configurable via $wgSorbsUrl
23349 * Add experimental recording/reporting mode to parser tests runner, to
23350 compare changes against the previous run.
23351 Additional tables 'testrun' and 'testitem' are in maintenance/testRunner.sql,
23352 source this and pass --record option to parserTests.php
23353 * Make the set of default parser test input files extensible via
23354 $wgParserTestFiles. This can now be appended to by extensions or local
23355 configuration files so that extension or custom tests can be automatically
23356 run along with the main batch.
23357 * Run PHP install version checks on update.php so command-line updaters see
23358 new version requirements
23359 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
23360 as of MW 1.8 than it used to be. Install or upgrade now aborts with a
23361 warning and a request to upgrade.
23362 * (bug 6440) Updated indexes to improve backlinking queries (links, templates,
23364 * Switched 'anon-only' block mode to default for IP blocks
23365 * (bug 3687, 7892) Add distinct heading for media files in category display,
23367 * (bug 1578) Add different icons for external links to audio, video, or PDF in
23369 * Made autoblocks block account creation if the user block has that option
23371 * Add auto-summaries to blankings and large removals without summaries.
23372 * (bug 7811) Allow preview of edit summaries.
23373 * (bug 6839) Wikibits.js minor changes to make JS-lint happier.
23374 * (bug 7932) Make sure that edit toolbar clears floats so it appears correctly.
23375 * (bug 6873) When viewing old revisions, add link to diff to current version.
23376 * (bug 3315) Provide rollback link directly on history page.
23377 * Replace 'old-revision-navigation' message with 'revision-info' and
23378 'revision-nav' messages, wrapped in divs with appropriate id's.
23379 * (bug 4178) MediaWiki:Common.js will now be included for all users if
23380 $wgUseSiteJs is enabled, in addition to (if applicable) MediaWiki:Monobook.js
23381 and user JS subpages.
23382 * (bug 7918) "Templates used on this page" changes during preview to reflect
23383 any added or removed templates, and works as expected for section edits.
23384 * (bug 7919) "Templates used on this page" is now shown for read-only pages.
23385 * (bug 7688) When viewing diff, section anchors in autosummary jump to section
23386 on current page instead of loading the latest version.
23387 * (bug 7970) Use current connection explicitly on Database::getServerVersion
23388 * (bug 2001) Tables with class="sortable" can now be dynamically sorted via
23390 * Added autosummary for new pages with 500 or less characters, and refactor
23391 the autosummary code so it's all done in one function. doEdit is getting too
23393 * (bug 7554) The correct MIME type for SVG images is now displayed on the
23394 image page (image/svg+xml, not image/svg).
23395 * (bug 7883) Added autoblock whitelisting feature, using which specific ranges
23396 can be protected from autoblocking. These ranges are specified, in list
23397 format, in the autoblock_whitelist system message.
23398 * Added placeholders for text injection by hooks to EditPage.php
23399 * (bug 8009) Automatic edit summary for redirects is not filled for edits in
23401 * Installer support for experimental MySQL 4.1/5.0 binary-safe schema
23402 * Use INSERT IGNORE for db-based BagOStuff add/insert, for more memcache-like
23403 behavior when keys already exist on add (instead of dying with an error...)
23404 * Add a hook 'UploadForm:initial' before the upload form is generated, and two
23405 member variable for text injection into the form, which can be filled by the
23407 * (bug 6295) Add a "revision patching" functionality, where an edit can be
23409 (with a functionality similar to diff rev1 rev2 | patch -R rev3 -o rev3).
23410 This is triggered by including &undo=revid in an edit URL. A link to a URL
23411 that will undo a given edit is shown on NEW revision headers on diff pages.
23412 The link leads to a "Show Changes" page showing what will be done to undo the
23414 * Fix display of link in "already rolled back" message for image/category pages
23415 * (bug 6016) Left-aligned images should stack vertically, like right-aligned
23416 images, not horizontally.
23417 * Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php
23418 * Add AuthPluginSetup hook to override $wgAuth after configuration
23419 * Fix regression in authentication hook auto-creation on login
23420 * (bug 8110) Allow spaces in ISBNs
23421 * (bug 8024) Introduce "send me copies of emails I send to others" preference
23422 * Added 'EditPage::attemptSave' hook before an article is saved.
23423 * (bug 8083) Applied patch for sk localisation
23424 * Add a backslash character to the edit token, to prevent edits via certain
23425 broken proxies that mangle such characters in form submissions
23426 * (bug 7461) Allow overwriting pages using importTextFile.php
23427 * (bug 7946) importTextFile.php doesn't perform pre-save transform
23428 * (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set;
23429 now uses current time for previews and if timestamp can't be loaded from DB
23430 * {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone
23431 to ensure consistent behavior
23432 * {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends
23433 * (bug 7671) Observe canonical media namespace prefix in Linker::formatComment
23434 * Added js variable wgCurRevisionId to the output
23435 * (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht
23436 * (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit
23437 instead of hardcoding to 1000
23438 * Enable QueryPage classes to override list formatting
23439 * (bug 5485) Show number of intervening revisions in diff view
23440 * (bug 8100) Fix XHTML validity in Taiwanese localization
23441 * Added redirect to section feature. Use it wisely.
23442 * Added a configuration variable allowing the "break out of framesets" feature
23443 to be switched on and off ($wgBreakFrames). Off by default.
23444 * Allow Xml::check() $attribs parameter to override 'value' attribute
23445 * DB schema change: added two columns (rc_old_len and rc_new_len) to the
23446 recentchanges table to store the text lengths before and after the edit
23447 * (bug 1085) Made Special:Recentchanges show the character difference between
23448 the changed revisions
23449 * Removed a redundant <strong> tag from diff pages that was causing display
23450 issues for some users
23451 * (bug 8203) The keyboard shortcut for "log out" was removed, because users
23452 were pressing it when they intended to press the shortcut for "preview".
23453 * (bug 8148) Handle non-removable output buffers gracefully when cleaning
23454 buffers for HTTP 304 responses, StreamFile, and Special:Export.
23455 Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers()
23456 * Special:AllPages : 'next page' link now point to the first title of the next
23457 chunk instead of pointing to the last title of current chunk.
23458 * (bug 4673) Special:AllPages : add a 'previous' link (new message 'prevpage')
23459 * (bug 8121) wfRandom() was not between 0 and 1
23460 * Add static method Parser::createAssocArgs($args), so parser functions can
23461 use the same code to parse arguments as the templates do.
23462 * Change behavior of logins using the temporary e-mailed password (as stored
23463 in user_newpassword hash field). Instead of just logging in silently and
23464 leaving the previous user_password field in place indefinitely, the user
23465 is now prompted to set a new password.
23467 The password-changing form is at Special:Resetpass; currently it's only
23468 usable for changing from the temporary password during login, but it
23469 could perhaps be generalized, replacing the subform in preferences.
23471 Once the new password is set successfully, the temporary password is wiped
23472 so it cannot be used to login a second time, and the login process
23474 * Suppress 'mail new password' button on login form if $wgAuth forbids
23475 changing user passwords; it wouldn't work very well...
23476 * Consolidate password length checks and $wgAuth manipulation into
23477 User::setPassword() to avoid duplicate code in different places
23478 that set passwords.
23479 * User::setPassword() now throws PasswordError exceptions if the password
23480 is illegal or cannot be set via $wgAuth. These can be caught and a human-
23481 readable error message displayed by UI code.
23482 * Added Title::isSubpage()
23483 * (bug 8241) Don't consider user pages of User:Foo.css to be CSS subpages
23484 * Set an explicit class on framed thumbnail inner divs and images, changed some
23485 CSS to use these instead of using descendent selectors.
23486 * Accept null parameter to User::setPassword() as indicating the password
23487 field should be cleared to an unusable state. Login will only be possible
23488 after the password is reset, for instance by e-mail.
23489 * (bug 6394) Invalidate the password set for "by e-mail" account creations
23490 to avoid accidental empty password creations.
23491 * Made the show change size function work on page moves, page creations, and
23492 log entries. Also fixed it in the javascript recentchanges.
23493 * (bug 8239) correctly get 50 new contributions when clicking '(50 next)'
23494 * (bug 2259) Fix old regression where e-mail addresses were no longer
23495 confirmed on login with mailed password.
23496 * Add a notification about the confirmation mail sent during account
23497 creation, so people don't immediately go off to request a second one.
23498 * Add a warning on Special:Confirmemail if a code was already sent and has
23500 * Add user_editcount field to provide data for heuristics on account use.
23501 Incremented on edit, with lazy initialization from past revision data.
23502 Can batch-initialize with maintenance/initEditCount.php (not yet friendly
23503 to replication environments, this will do all accounts in one query).
23504 * Allow raw SQL subsections in Database::update() SET portion as well as
23505 for WHERE portion. Handy for increments and such.
23506 * User::getOption now accept a default value to override default user values
23507 this makes it consistent with WebRequest::get* methods. Corrected code in
23508 various places accordingly.
23509 * (bug 8264) Fix JavaScript global vars for XHTML mode
23510 * Make $wgSiteNotice value wikitext again, for consistency with editable
23511 MediaWiki:Sitenotice and MediaWiki:Anonnotice.
23512 * (bug 8044) When redirecting from the canonical name of the special page
23513 to the localised one, parameters/subpages are omitted
23514 * (bug 8164) Special:Booksources should use GET for form submission
23515 * Rewrite Special:Booksources to clean up interface and remove redundant code
23516 * (bug 7925) Change Special:Allmessages message name filter javascript to be
23517 a bit more responsive and easier on the CPU
23518 * (bug 4488) Support watching pages on deletion; introduces new user preference
23519 * Minor restructuring of Special:Preferences; "watch pages I edit" and "watch
23520 pages I create" options now accessible under "Watchlist" options
23521 * (bug 8153) <nowiki> doesn't work in site notice
23522 * (bug 6690) wfMsgNoTrans() transforms messages
23523 * (bug 8274) Wrap edit tools in a <div> with a specified class
23524 * Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
23525 mysteriously otherwise (detection code copied from install-utils.inc)
23526 * (bug 8295) Change handling of <center> tags in doBlockLevels() to match that
23528 * (bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
23529 (plus optional ISBN-13 prefix) with no immediately following alphanumeric
23530 character, disallow multiple consecutive internal redirects
23531 * (bug 2785) Accept optional colon prefix in links when formatting comments
23532 * Don't show "you can view and copy the source of this page" message for
23533 pages which don't exist
23534 * (bug 8310) Blank line added to top of 'post' when page is blank
23535 * (bug 8109) Template parameters ignored in "recentchangestext"
23536 * Gracefully skip redirect-to-fragment on WebKit versions less than 420;
23537 it messes up on current versions of Safari but is ok in the latest
23538 nightlies. Checking the version number will allow it to automatically
23539 work when new releases of Safari appear.
23540 * Fix regression in thumb styles; size and padding didn't match with
23542 * (bug 8333) Fix quick user data update on login password change on
23543 replication database setups. User data is now pulled from master
23544 instead of slave in User::loadFromDatabase, ensuring that it is
23545 fresh and accurate when read and then saved back into cache.
23546 This was breaking with the Special:Rename operation which
23547 automatically logs the user in with the new password after changing
23548 it; pulling from slave meant the record was often not the updated
23550 * (bug 8335) Set image width to the first valid parameter found.
23551 * (bug 8350) Fix watchlist viewing bug when using Postgres.
23552 * (bug 6603) When warning about invalid file extensions, output the bit
23553 of the extension we actually checked
23554 * (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility
23555 with MySQL's strict mode, often enabled by the Windows installer.
23556 The defaults are ignored anyway when strict mode is off...
23557 * (bug 7685) Use explicit values for ar_text and ar_flags when deleting,
23558 for better compatibility with MySQL's strict mode
23559 * Update default interwiki values to reflect changed location of ursine:
23560 * (bug 5411) Remove autopatrol preference
23561 * Users who have the "autopatrol" permission will have their edits marked as
23562 patrolled automatically
23563 * Users who do not have the "autopatrol" permission will no longer be able
23564 to mark their own edits as patrolled
23565 * Introduce 'PingLimiter' hook; see docs/hooks.txt for more information
23566 * (bug 532) Tweaked alt text for some interface messages
23567 * (bug 8231) Gave useful alt text to the main <img> on image pages
23568 * (bug 371) Remove alt text for "Enlarge" icon on thumbnails
23569 * Initialize user_editcount to 0 instead of NULL for newly created accounts
23570 * (bug 3696) Strip LRM and RLM characters from titles to work around the
23571 problem some people have where titles cut-and-pasted from lists include
23572 the bidi override characters appended to the lists.
23573 A more thorough blacklist for forbidden and translatable characters would
23574 be wise, though, as might a cleaner method for the lists in the first place.
23575 * Fix regression in email password resets on read-restricted sites
23576 * Set tabindex on fields in deletion form so you don't have to tab through
23577 the links in the sitenotice
23578 * (bug 8271) Show full time and date on viewer for individual deleted
23580 * (bug 8214) Output file size limit and actual file size in appropriate units
23582 * (bug 8016) Purge objectcache table during upgrade processes - use the
23583 --nopurge option to prevent this when running maintenance/update.php
23584 * (bug 7612) Remove superfluous link to Special:Categories from result items
23585 on Special:Mostcategories
23586 * {{PLURAL:}} now handles formatted numbers correctly
23587 * (bug 8331) Added the change size value to watchlists; therefore made
23588 watchlists use RecentChange::newFromRow() instead of newFromCurRow()
23589 * (bug 8351) Fix undo for simple reverts
23590 * (bug 6856) User::clearNotification() does not respect read-only mode
23591 * (bug 6853) Use a checkbox on the installer form to indicate that a superuser
23592 account should be used; this is clearer than the old check which relied on
23593 the password never being an obscure value
23594 * Remove old unused watchlist cache, which was a leftover from the old schema
23595 where watchlists were more expensive to generate
23596 * Minor cosmetic changes to Special:Userrights
23597 * Added wgCanonicalSpecialPageName to JavaScript variables
23598 * Fix image deleting when using Postgres.
23599 * Output both source and destination titles in maintenance/moveBatch.php
23600 * Added basic parser tests for language variants
23601 * Enable selflinks and categories to be written in some of the language variants
23602 * Prevent conversion of JavaScript code in language variants
23603 * Output software version number in maintenance/parserTests.php
23604 * (bug 7169) Use Ajax to watch/unwatch articles if enabled
23605 * Make variant table caching a little more robust, using main language code
23606 in cache key. Probably this is still a bit wonky, though. Was breaking
23607 parser tests when Chinese tables were getting loaded into Serbian code.
23608 * (bug 8380) Be nicer about blank lines in deleteBatch.php
23609 * (bug 8401) Fix regression in SORBS lookup for some DNS setups
23610 * Use raw file descriptor in posix_isatty() check to avoid warning on
23611 Linux systems with at least some versions of PHP
23612 * (bug 5908) Allow overriding the default category sort key for all items on
23613 a page using {{DEFAULTSORT}}
23614 * (bug 6449) Throw a more definitive error message when installation fails
23615 due to an invalid database name
23616 * (bug 5827) Use full text for option link labels on Special:Watchlist
23617 * (bug 8018) Allow hiding minor edits from the watchlist
23618 * (bug 8427) MonoBook RTL IE 7.0 tweaks failed when sidebar's navigation
23619 section is renamed; no longer relies on first section name
23620 * Stabilize client-side table sorting even if the underlying Javascript sort()
23621 implementation is unstable
23622 * Add hook for extensions to add user information to the panel in preferences,
23623 next to the user name and ID.
23624 * (bug 8392) Display protection status of transcluded pages in the edit page
23625 template list. Patch by Fyren, with i18n naming tweak.
23626 * Fix for interwiki transclusion where target wiki uses query string for title
23627 * Resolve namespaces on interwiki Title objects using canonical namespace names
23628 if possible (should not happen, though, outside interwiki transclusion... and
23629 maybe not even then, but it does)
23630 * (bug 8447) Fix SQL typo breaking non-default $wgHitcounterUpdateFreq
23631 * Do not allow previews of deleted images to be cached
23632 * Add global variable $wgDefaultLanguageVariant used to set the default language
23633 variant of a wiki to something different than the main language code
23634 * Add 'variant' option to parserTests - runs test with the given variant as
23635 preferred, utilize it for more parser tests of language variants code
23636 * (bug 6503) Fix bug that stopped certain irrelevant links from being hidden
23638 * Avoid PHP warning in Creative Commons metadata when a creative commons
23639 license is not actually set up
23640 * (bug 8463) Don't print external link icons for Monobook
23641 * (bug 8461) Support watching pages on move
23642 * (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is
23643 loaded by skipping the function. Use wfDebugBacktrace() wrapper function.
23644 * Reduce config file clutter by setting various script and upload paths
23645 based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
23646 overridden in LocalSettings.php if desired...
23647 * Attempt to detect redirect loops for the canonical title redirect, and
23648 give some hints to the poor confused administrator.
23649 * Introduce new flag 'R' - raw output for language variant escape tags
23650 * Advise users when updates for a query page have been disabled using
23651 $wgDisableQueryPageUpdate
23652 * (bug 8413) Improve comments for $wgNamespaceRobotPolicies
23653 * (bug 8330) Show "bytes" suffix on recent changes diff counter
23654 optionally... if set in rc-changes-size message (default empty for now)
23655 * (bug 8489) Support basic links in <gallery> caption attribute
23656 * (bug 8485) Correct Lingala number formatting
23657 * The MediaWiki namespace is no longer pre-filled with default messages on
23658 install. All default messages will be removed from the MediaWiki namespace
23660 * Recentchanges RSS/Atom feeds now use a separate message for the description
23661 to avoid cluttering it with useless wiki formatting
23662 * (bug 8417) Handle EXIF unknown dates
23663 * (bug 8372) Return nothing on empty <math> tags.
23664 * New maintenance script to show the cached statistics : showStats.php.
23665 * Count deleted edits when regenerating total edits in maintenance/initStats.php
23666 * (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt
23667 permission key has been added to enable this behavior, by default assigned to
23669 * (bug 7948) importDump.php now warn that Recentchanges need to be rebuild.
23670 * (bug 7667) allow XHTML namespaces customization
23671 * (bug 8531) Correct local name of Lingála (patch by Raymond)
23672 * Fix regression with default lock file and cache directories; threw visible
23673 warning with open_basedir
23676 == 1.8 Compatibility changes ==
23678 === Zend Optimizer ===
23680 A bug in some versions of PHP 5 and Zend Optimizer which was triggered under
23681 MediaWiki 1.8.x has been worked around by disabling some internal debugging
23682 features when Zend Optimizer is loaded. This should solve some common
23683 "blank page" problems.
23685 === PHP 5.0 64-bit ===
23687 MediaWiki now checks for a condition where PHP 5.0.x corrupts array data
23688 on 64-bit systems and warns you to upgrade PHP to solve the problem. This
23689 bug causes Special: pages to fail on affected systems under MediaWiki 1.8
23690 and higher, and subtler data corruption on earlier versions.
23692 The only known workaround is to upgrade PHP to 5.1 or later, which you
23693 probably should do anyway for security reasons!
23697 MediaWiki should now install and run correctly on MySQL 5.0 and higher when
23698 MySQL's "strict mode" is enabled. (This is now the default for many Windows
23699 installations, though it seems to remain off by default on Unix.)
23701 This fixes errors about "cannot default default value for BLOB/TEXT fields".
23703 === ImageMagick ===
23705 Note that ImageMagick older than 6.x may no longer work for image resizing
23706 due to use of the -thumbnail option.
23709 == 1.8 Behavior changes ==
23711 === Localized special pages ===
23713 The names of Special: pages can now be localized, so links and URLs to them
23714 are more legible in languages that aren't English.
23716 Not all languages have included localized names yet.
23718 === E-mail password ===
23720 Users are now required to set a new password for themselves when they first
23721 log in with a newly generated e-mailed password.
23723 Requesting passwords frequently is prevented to reduce abusive mailbombing.
23725 === Undo revision ===
23727 An "undo" link now appears in diff view for easier reverting of older edits.
23728 When GNU diff3 is available for edit conflict merging, this can make it much
23729 easier to "undo" the changes of an older edit when there are surrounding
23730 changes elsewhere in the page.
23732 The changes must be manually reviewed and approved, as with conventional
23733 full-revision reverts.
23737 User blocks can be set to disable the automatic blocking of IP addresses the
23738 account logs in with.
23741 == 1.8 Database changes ==
23743 * new 'redirect' table stores data on page redirects
23744 * new 'querycachetwo' table used for some cached special pages
23745 * 'ipblocks' table adds 'ipb_enable_autoblock'
23746 * 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking
23747 * 'user' table has added 'user_newpass_time' and 'user_editcount' fields
23748 * some indexes have been updated on 'recentchanges'
23750 == 1.8 Configuration changes ==
23752 Several configuration options have changed since 1.8:
23754 === $wgEnableAPI ===
23756 The experimental machine API interface is now enabled by default, read-only.
23757 You can disable it by setting $wgEnableAPI = false; in LocalSettings.php.
23759 === $wgPathInfo ===
23761 The use of PATH_INFO (the text after the script name in 'index.php/Blah')
23762 is controlled by the $wgUsePathInfo setting. This is now explicitly disabled
23763 for CGI, apache2filter, and ISAPI configurations of PHP, for more consistency
23764 with the autodetection from the installer.
23766 In some rarer configurations you may have to switch $wgUsePathInfo from false
23767 to true or, perhaps, from true to false to make things work properly if bad
23768 PATH_INFO data comes through the server.
23770 The wiki now tries to detect this condition and should show you an error
23771 message describing what to change instead of sending the browser into an
23772 infinite redirect loop.
23774 === $wgScript and other path settings ===
23776 The following configuration variables are now automatically set in Setup.php
23777 if they are not overridden in LocalSettings.php:
23779 from $wgScriptPath:
23781 | \- $wgArticlePath
23782 + $wgRedirectScript
23789 - $wgStyleDirectory
23790 + $wgUploadDirectory
23791 \- $wgMathDirectory
23794 Newly generated configuration files will by default include only $wgScriptPath
23795 (hardcoded from the installer) and $IP (detected at runtime).
23797 Old configuration files which specify all these values explicitly should
23798 continue to work just fine, but if you use the defaults you can remove them
23801 === $wgGroupPermissions ===
23803 The sysop group now holds the "autopatrol" and "ipblock-exempt" rights by
23806 "autopatrol" replaces the preference for marking ones own edits patrolled
23807 by default; users holding this permission will automatically have their
23808 edits patrolled, while others cannot mark their own edits as patrolled
23809 even if they have patrolling rights.
23811 "ipblock-exempt" excludes the user from IP blocks; accounts which are blocked
23812 explicitly by name will still be blocked, however. This is given to sysops
23813 to minimize annoyance from accidental "collateral damage"; remember that a
23814 sysop will be able to lift the block if they desire.
23816 The bot group now holds the "nominornewtalk" right. A user with this right
23817 will not trigger new message notifications when making minor edits to user
23818 talk pages. This is meant to minimize annoyance from maintenance bot
23821 === $wgUseWatchlistCache ===
23823 Watchlist caching has been removed. The feature was not maintained, and has
23824 been unnecessary since switching to the 'recentchanges' database table
23825 reduced server pressure for Wikipedia's watchlists.
23827 === $wgBreakFrames ===
23829 MediaWiki in the past attempted to detect when it was embedded in a frameset
23830 and "break out" of it, assuming it to be hostile.
23832 This behavior is now disabled by default, but can be reenabled by setting
23833 $wgBreakFrames to true in LocalSettings.php.
23836 == 1.8 New settings ==
23838 === $wgVariantArticlePath ===
23840 For languages with script variant support (Chinese, Serbian, and others),
23841 it's possible to use alternate URL paths to select the variant for article
23842 display, setting $wgVariantArticlePath.
23844 Documentation for this setting would be useful.
23846 === $wgMaxMsgCacheEntrySize ===
23848 The message cache can now skip items larger than a given size; this allows
23849 it to better handle the primary caching case when large CSS and JS blobs are
23852 === $wgStyleVersion ===
23854 When making significant changes to skin stylesheets and JavaScript files,
23855 you can append a string to this variable to tweak the generated URLs,
23856 forcing newly rendered pages to bring in a fresh version despite server-
23857 or browser-side caching.
23859 Normally this will be set in the course of MediaWiki development, but
23860 if doing development on a custom skin you may wish to poke it as well.
23862 === $wgRCShowChangedSize ===
23864 Special:Recentchanges and Special:Watchlist now show the number of bytes
23865 added or removed to an article to give an idea of the size of the edit.
23866 This information was previously available only in the IRC update feeds.
23868 To disable this site-wide, set $wgRCShowChangedSize to false.
23869 (Individual users can suppress the data in custom CSS.)
23871 Adjust $wgRCChangedSizeThreshold to trigger highlighting of particularly
23874 The formatting of the size figure can be adjusted through the
23875 [[MediaWiki:Rc-change-size]] message.
23877 === $wgQueryCacheLimit ===
23879 The number of rows stored for "expensive" special pages in miser mode
23880 can now be adjusted up or down from the default 1000.
23882 === $wgDisableQueryPageUpdate ===
23884 Individual "expensive" special pages can be skipped in processing by
23885 updateSpecialPages if added to this list.
23887 === $wgSorbsUrl ===
23889 The base hostname for the DNS-based proxy blacklist can now be overridden
23890 when $wgEnableSorbs is set, to use a different blacklist instead of SORBS.
23891 The blacklist would need to respond the same was as SORBS; any positive
23892 response will be taken as a proxy.
23894 === $wgAjaxWatch ===
23896 Experimental AJAX mode for the watch/unwatch tabs to execute inline.
23897 Does not include the UI messages describing how to reach the watchlist,
23898 so you may not want it on a general-audience site just yet.
23900 === $wgParserTestFiles ===
23902 MediaWiki's parser test suite can now be expanded with additional test
23903 files. Custom extensions can add their test files to this array, and
23904 they will be run along with the main tests by maintenance/parserTests.php
23908 == MediaWiki 1.8.5 ==
23912 This is a security fix update to the Fall 2006 quarterly release snapshot. A
23913 possible HTML/XSS injection vector in the API pretty-printing mode has been
23916 The vulnerability may be worked around in an unfixed version by simply
23917 disabling the API interface if it is not in use, by adding this to
23920 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
23922 (This is the default setting in 1.8.x.)
23924 Not vulnerable versions:
23930 Vulnerable versions:
23931 * 1.11 <= 1.11.0rc1
23934 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
23936 MediaWiki 1.7 and below are not affected as they do not include the faulty
23937 function, however the BotQuery extension is similarly vulnerable unless updated
23938 to the latest SVN version.
23940 == MediaWiki 1.8.4 ==
23944 This is a security and bug-fix update to the Fall 2006 quarterly release.
23946 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
23947 charset autodetection was located in the AJAX support module, affecting MSIE
23948 users on MediaWiki 1.6.x and up when the optional setting
23949 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
23951 If you are using an extension based on the optional Ajax module, either disable
23952 it or upgrade to a version containing the fix:
23953 * 1.9: fixed in 1.9.3
23954 * 1.8: fixed in 1.8.4
23955 * 1.7: fixed in 1.7.3
23956 * 1.6: fixed in 1.6.10
23958 There is no known danger in the default configuration, with $wgUseAjax off.
23960 * (bug [[bugzilla:8819|8819]]) Fix full path disclosure with skins dependencies
23961 * Add 'charset' to Content-Type headers on various HTTP error responses to
23962 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
23963 default when the script didn't specify more details, which some inconsiderate
23964 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
23965 This fixes an issue with the Ajax interface error message on MSIE when
23966 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
23967 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
23968 from BugSec: http://www.bugsec.com/articles.php?Security=24
23969 * Trackback responses now specify XML content type
23971 == MediaWiki 1.8.3 ==
23975 MediaWiki 1.8.3 fixes several issues in the Fall 2006 snapshot release:
23977 * ([[mediazilla:7831|7831]]) Regression in AutoAuthenticate hook
23978 * Run PHP install version checks on update.php so command-line updaters see new
23979 version requirements
23980 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
23981 as of MW 1.8 than it used to be. Install or upgrade now aborts with a warning
23982 and a request to upgrade.
23983 * XSS fix in AJAX module
23985 An XSS injection vulnerability was located in the AJAX support module,
23986 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
23989 There is no danger in the default configuration, with $wgUseAjax off.
23991 If you are using an extension based on the optional AJAX module, either disable
23992 it or upgrade to a version containing the fix:
23994 == MediaWiki 1.8.2 ==
23998 MediaWiki 1.8.2 fixes several issues in the Fall 2006 snapshot release:
24000 * ([[mediazilla:7565|7565]]) Fixed typos in German localisation
24001 * ([[mediazilla:7562|7562]]) Fix non-ASCII namespaces on Windows/XAMPP servers
24003 == MediaWiki 1.8.1 ==
24007 MediaWiki 1.8.1 fixes several issues in the Fall 2006 snapshot release:
24009 * Fix PHP notice and estimates for dumpBackup.php and friends
24010 * Improved register_globals paranoia checks
24011 * ([[mediazilla:7545|7545]]) Fix PHP version check on install
24012 * Experimental web API disabled by default
24013 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails is
24014 set. Backtraces may contain sensitive information in function call parameters.
24016 == MediaWiki 1.8.0 ==
24020 This is the quarterly release snapshot for Fall 2006. While the code has been
24021 running on Wikipedia for some time, installation and upgrade bits may be less
24022 well tested. Bug fix releases may follow in the coming days or weeks.
24024 MediaWiki is now using a "continuous integration" development model with
24025 quarterly snapshot releases. The latest development code is always kept "ready
24026 to run", and in fact runs our own sites on Wikipedia.
24028 Release branches will continue to receive security updates for about a year
24029 from first release, but nonessential bugfixes and feature development happen
24030 will be made on the development trunk and appear in the next quarterly release.
24032 Those wishing to use the latest code instead of a branch release can obtain it
24033 from source control: [[Download from SVN]]
24035 == Configuration changes ==
24036 * $wgUseETag, to enable/disable sending of HTTP ETag headers (default: disabled)
24037 * $wgLegalTitleChars now includes '+' by default for better compatibility with
24038 importing data dumps from Wikipedia
24039 * $wgDefaultUserOptions now includes all default option settings instead of
24042 == Major new features ==
24043 * ([[mediazilla:7098|7098]]) Add an option to disable/enable sending of HTTP
24044 ETag headers, as it seems to result in broken behaviour in combination with
24045 Squid 2.6 (disabled by default).
24046 * ([[mediazilla:550|550]]) Allow blocks on anonymous users only.
24047 * ([[mediazilla:6420|6420]]) Render thumbnails for DJVU images, support
24048 multipage DJVU display on image pages. Added new 'page=' thumbnail option to
24049 select a page from a multipage djvu for thumbnail generation.
24050 * Full Postgres support is now enabled. It requires version 8.1 or better, and
24051 needs to have both plpgsql and tsearch2 already installed.
24052 * ([[mediazilla:6386|6386]]) fix grammatical errors in danish naming of talk
24055 == Changes since 1.7 ==
24057 * Introduced AjaxResponse object, superceding AjaxCachePolicy
24058 * Changes to sajax_do_call: optionally accept an element to fill instead of a
24059 callback function; take the target function or element as a third parameter;
24060 pass the full XMLHttpRequest object to the handler function, instead of just
24061 the resultText value; use HTTP response codes to report errors.
24062 * (bug 6562) Removed unmaintained ParserXml.php for now
24063 * History paging overlap bug fixed
24064 * (bug 6586) Regression in "unblocked" subtitle
24065 * Don't put empty-page message into view-source when page text is blank
24066 * (bug 6587) Remove redundant "allnonarticles" message
24067 * Block improvements: Allow blocks on anonymous users only. Optionally allow
24068 or disallow account creation from blocked IP addresses. Prevent duplicate
24069 blocks. Fixed the problem of expiry and unblocking erroneously affecting
24070 multiple blocks. Fixed confusing lack of error message when a blocked user
24071 attempts to create an account. Fixed inefficiency of Special:Ipblocklist in
24072 the presence of large numbers of blocks; added indexes and implemented an
24074 * (bug 6448) Allow filtering of Special:Newpages according to username
24075 * (bug 6618) Improve permissions/error detection in Special:Lockdb
24076 * Quick hack for extension testing: parser test doesn't create new message
24078 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
24079 {{REVISIONID}} when Cite extension is used
24080 * (bug 6622) Removed deprecated function Image::newFromTitle
24081 * (bug 6627) Fix regression in Special:Ipblocklist with table prefix
24082 * Removed forced dereferencements (new() returns a reference in PHP5)
24083 * Note about $wgUploadSizeWarning using byte
24084 * (bug 6592) Add most viewed pages summary to Special:Statistics
24085 * Pre-strip characters ignored in IDNs from URLs so they can't be used
24086 to break the blacklists for regular URLs
24087 * Fix regression in blocking of user accounts
24088 * (bug 6635) Fix regression searching for range blocks on Ipblocklist
24089 * Fix regression searching Ipblocklist with ugly URLs
24090 * (bug 6639) Use a consistent default for upload directories
24091 * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
24092 * (bug 6642) Don't offer to unlock the database when it isn't locked
24093 * cleanupTitles.php changed from --dry-run option to --fix, so default
24094 behavior is now a non-invasive check as with namespaceDupes.php
24095 * (bug 6660) Fix behavior of EditPage::blockedPage() when the article does
24096 not exist; now doesn't show the source box if the user hasn't provided it
24097 (blocked mid-edit) and the page doesn't exist
24098 * Improve default value of "blockedtext"
24099 * (bug 6680) Added localisation for Dutch bookstore list (nl)
24100 * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer
24102 * Fix regression which allowed some blocked users to create additional accounts
24103 * (bug 6657) Fix Hungarian linktrail
24104 * (bug 6751) Fix preview of blanked section with edit on first preview option
24105 * (bug 5456) Separate MediaWiki:Search into messages for both noun and verb,
24106 introduced 'MediaWiki:Searchbutton'
24107 * Made lines from initialiseMessages() appear as list items during installation
24108 * Moved the bulk of the localisation data from the Language*.php files to the
24109 Messages*.php files. Deleted most of the Languages*.php files.
24110 * Introduced "stub global" framework to provide deferred initialisation of core
24112 * Removed placeholder values for $wgTitle and $wgArticle, these variables will
24113 now be null during the initialisation process, until they are set by index.php
24114 or another entry point.
24115 * Added DBA cache type, for BDB-style caches.
24116 * Removed custom date format functions, replacing them with a format string in
24117 the style of PHP's date(). Used string identifiers instead of integer
24118 identifiers, in both the language files and user preferences. Migration should
24119 be transparent in most cases.
24120 * Simplified the initialisation API for LoadBalancer objects.
24121 * Removed the broken altencoding feature.
24122 * Moved default user options and toggles from Language to User. Language objects
24123 are still able to define default preference overrides and extra user toggles,
24124 via a slightly different interface.
24125 * Don't include the date option in the parser cache rendering hash unless
24126 $wgUseDynamicDates is enabled.
24127 * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php.
24128 * Removed inclusion of language files from the bottom of Language.php. This is
24129 now consistently done from Language::factory().
24130 * Add the name of the executing maintenance script to the debug log. Start the
24131 profiler during maintenance scripts.
24132 * Added "serialized" directory, for storing precompiled data in serialized form.
24133 * Fix regression in auto-set NS_PROJECT_TALK namespace
24134 * Fix regression in ordering of namespaces
24135 * (bug 6806, 6030) Added several global JS variables for article path, user
24136 name, page title, etc.
24137 * hooks registered with addOnloadHook are now called at the one of the html body
24139 * Split ajax aided search from core ajax framework. Use wgUseAjax to enable the
24140 framework and wgAjaxSearch to enable the suggest feature for the search box.
24141 * Added experimental installer for extensions.
24142 See maintenance/installExtension.php
24143 * Added Tajic (tg) language file.
24144 * (bug 6903) Added Cantonese localisation (zh-yue)
24145 * Fix regression in Korean and Japanese date formatting (day of week)
24146 * (bug 6919) Add English alias magic words for Tatar (tt) language file.
24147 * (bug 6753) Fixed broken Kazakh linktrail (kk)
24148 * (bug 6700) Added Kazakh language variants to Names.php
24149 * (bug 6827) some i18n specific maintenance scripts fails after merge of
24150 localisation-work branch
24151 * Throwed an exception for the deprecated functions OutputPage::sysopRequired
24152 and OutputPage::developerRequired - use OutputPage::permissionRequired
24154 * Removed the deprecated functions User::isSysop, User::isBureaucrat and
24155 User::isDeveloper - use User::isAllowed instead.
24156 * (bug 769) OutputPage::permissionRequired() should suggest groups with the
24158 * (bug 6971) Fix regression in Special:Export history view
24159 * Revamped Special:Imagelist
24160 * (bug 7000) updated MessagesPl.php
24161 * (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
24162 * (bug 1866) Improve navigation on Special:Listusers; user now a starting
24163 point as with Special:Allpages, rather than a pure limit.
24164 * Clean up tab order on Special:Blockip
24165 * (bug 5969) Clean up tab order on Special:Userlogin forms
24166 * (bug 3512) namespaceDupes now handles spaces and initial caps properly
24167 * (bug 7037) Fix regression in login tab order
24168 * (bug 7031) Report missing email on 'email password' instead of false success
24169 * (bug 7010) Don't send email notifications for watched talk pages when user
24170 has selected to receive only updates for their own talk page
24171 * Added {{CURRENTHOUR}}
24172 * Added [[:Image:Foo.png]] style links to the pagelinks table
24173 * Avoid duplicate revision imports with Special:Import
24174 * (bug 7054) Validate email address before sending email confirmation message
24175 * (bug 7061) Format title on "from (page)" links on Special:Allpages
24176 * (bug 7044) Introduce "padleft" and "padright" colon functions
24177 * Pass page title as parameters to "linkshere" and "nolinkshere" and update
24178 default message text
24179 * Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true;
24180 in LocalSettings.php
24181 Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops
24182 by default, and displayed as a second line if appropriate
24183 * (bug 832) Return to user page after emailing a user
24184 * (bug 366) Add local-system-timezone equivalents for date/time variables
24185 * (bug 7109) Fix Atom feed version number in header links
24186 * (bug 7075) List registered parser function hooks on Special:Version
24187 * (bug 7059) Introduce "anchorencode" colon function
24188 * Include SVN revision number in {{CURRENTVERSION}} output, where applicable
24189 * Fix bug in wfRunHooks which caused corruption of objects in the hook list
24190 * (bug 4979) Use simplified email addresses when running on Windows
24191 * (bug 4434) Show block log fragment on Special:Blockip
24192 * [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any
24193 number of disambiguation templates.
24194 * [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages
24195 that embed any of the templates listed at [[MediaWiki:Disambiguationspage]].
24196 * Fix formatting of titles on Special:Undelete
24197 * (bug 7026) Fix action=raw&templates=expand
24198 * (bug 6976) Add namespace and direction classes to classic skins
24199 * (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the user
24200 can't read the main page in the first place
24201 * (bug 7188) Fix minor borkage in HTMLForm
24202 * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in
24204 * Add a quickie script dumpSisterSites.php for generating a page list in the
24205 format for WSR-1 SisterSites support
24206 * (bug 7223) Monobook.js is used for site content, should not be localized
24207 * Set default disabled values for DjVu render options
24208 * Added Xml::option() for generating <option>s easily
24209 * Localized page numbers in drop-down for DjVu page selection
24210 * Fixed linktrail for vi
24211 * (bug 6893) "Call to a member function exists() on a non-object" on
24212 trackback.php with bad input
24213 * (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete
24214 * (bug 6887) PHP error for call to getId() on bad input to
24215 Special:Revisiondelete
24216 * (bug 6888) PHP error for call to getTimestamp() on bad input to
24217 Special:Revisiondelete
24218 * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required
24219 if texvc is rebuilt.
24220 * (bug 7279) Use wfBaseName in place of basename() in more places
24221 * Clear newtalk marker on diff links with explicit current revision number
24222 * (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
24223 * (bug 6777) Remove some PHP 4 compat cruft
24224 * Add --user, --comment, and --license options to importImages.php
24225 * (bug 6216) The immobile namespace message does not mention the source page
24226 * (bug 7299) Normalize username filter on Special:Newpages
24227 * (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges
24228 * (bug 7312) Don't emit SET NAMES utf8 if connection failed
24229 * (bug 7305) Proper compare for bot check on RC notify, should fix overrides
24230 that force edits by non-bot users to bot mode
24231 * Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user
24232 preferences don't get stuck in proxy caches for other people
24233 * (bug 7324) Fix error message for failure of Database::sourceFile()
24234 * (bug 7309) Plurals: use singular form for zero in French and Brazilian
24236 * Add page_no_title_convert field to support language variant conversion
24237 for page titles which shouldn't be converted on display/linking
24238 * Lazy extraction of text chunks in Revision objects, may reduce hits to
24239 external storage when actual text content is not used
24240 * Added experimental $wgRevisionCacheExpiry to cache extracted revision text
24241 in $wgMemc, to further reduce hits to external storage.
24242 Set to 0 (disabled) by default.
24243 * Minor changes to the installer.
24244 * Remove ":" for 'youremail' and 'yourrealname' in
24245 includes/templates/Userlogin.php so that ":" could be used in i18n for
24246 Special:Preferences (like 'username' and 'uid').
24247 * Fix layout for Special:Preferences->Date and Time (position for
24249 * Updates to language variant code for Serbian et al
24250 * (bug 6756) Enabling RTL direction for kk-cn
24251 * (bug 6701) Kazakh language variants in MessagesEn.php
24252 * (bug 7335) SVN revision check in Special:Version fails on SVN 1.4 working copy
24253 * (bug 6518) Replaced 'lastmodified' with 'lastmodifiedat' and 'lastmodifiedby'
24254 with 'lastmodifiedatby' with separated parameters for date and time to allow
24255 better localisation. Updated all message files to display the old format for
24257 * (bug 7357) Make supposedly static methods of Skin actually static
24258 * Added info text to Special:Deadendpages and Special:Lonelypages
24259 * Fix regression in cachability of generated CSS and JS for MonoBook skin,
24260 while avoiding clobbering of different users' cached data
24261 * (bug 6849) Block @ from usernames; interferes with multi-database tools and
24262 was meant to be banned years ago... For now existing accounts will not be
24263 prevented fromm login.
24264 * (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2},
24265 {{REVISIONMONTH}}, {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}}
24266 * (bug 7425) Preceeding whitespace in [[...]] breaks subpages
24267 * Try to reconnect after transitory database errors in dumpTextPass.php
24268 * (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now
24269 notification mails are working after 'Mark all pages visited' button on
24270 Special:Watchlist is clicked
24271 * Made {{INT:}} a core parser function instead of a special case. The syntax
24272 and behavior is largely unchanged.
24273 * (bug 7448) Fixing the native name for Ewe (ee)
24274 * (bug 6864) Replace message 'editing' with new message 'editinguser' in
24275 Special:Userrights to allow better localisation
24276 * Add '*-summary' for special pages to MessagesEn.php to allow
24277 customizing/translation directly through Special:Allmessages
24278 * (bug 6130, bug 5818) Replaced message 'go' with the new message
24279 'searcharticle' in skins to allow better localisation
24280 * Add + to $wgLegalTitleChars by default. Some sites may have occasional
24281 problems with hard-to-reach pages, but it should be less trouble than
24282 "I can't import dumps from Wikipedia" complaints
24283 * (bug 7460) Revert broken patch for bug 7226 which slows down
24284 Special:Allmessages by a factor of 16
24285 * Committed a bunch of live hacks from Wikimedia servers
24286 * (bug 6889) PHP notices in thumb.php with missing params
24287 * Cleaner error behavior on thumb.php with invalid page selection
24288 * (bug 6617) Validate timestamps on Special:Undelete
24289 * Do fewer unnecessary full writes of user rows; only update user_touched
24290 for watch/unwatch, group membership change, and login operations
24291 * Restructured the languages directory, to avoid problems when people
24292 untar MW 1.8 over the top of a 1.7 installation.
24293 * (bug 6890) SQL query error on bad input to Pager lists
24294 due to negative LIMIT clause, caused by integer wraparound.
24295 * Fixed various bugs related to table prefixes, especially the interaction
24296 between table prefixes and memcached, which was formerly completely broken.
24297 * (bug 7004) PHP iconv() notice on bad password input to Special:Userlogin.
24298 * (bug 6826) Extend pre-save transform context link ("pipe trick")
24299 syntax to pages with commas in title
24300 * Use ImageMagick -thumbnail option instead of -resize to avoid including
24301 excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
24302 * (bug 7499) Corrections to Swedish talk namespace names
24303 * (bug 7508) Added option to compress HTML pages by dumpHTML.php
24304 * (bug 7519) Add plural in SpecialWatchlist
24305 * (bug 7459) Magic word variables are always case sensitive
24306 * Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files
24307 * Fix regression in Special:Watchlist text header
24308 * (bug 7510) Update article counts etc on undelete
24309 * (bug 7520) Update article counts on XML import
24310 * (bug 7526) Make $wgDefaultUserOptions work again
24311 * (bug 7472) Localize Help namespace for Basque
24312 * (bug 7529) Including a non-existent category in an article places that article
24314 * (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
24315 * (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner,
24316 twoheadrightarrow, twoheadleftarrow
24317 * (bug 7367) Hyphens sometimes erroneously appended to equations when not
24319 * Add "title" to the opensearch link to allow automatic adding of the search
24320 engine in Firefox 2
24321 * (bug 7537) Add php5 to $wgFileBlacklist
24322 * (bug 6929) Restore AutoAuthenticate hook
24324 == Languages updated ==
24327 * Bavarian (bar) stub file
24329 * Bishnupriya (bpy) stub file
24330 * Brazilian Portuguese (pt-br)
24331 * Cantonese (zh-yue)
24348 * Mazandarani (mzn)
24362 == Compatibility ==
24363 MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
24365 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At
24366 this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
24369 Some minor database changes have been made since 1.7:
24370 * new fields and indexes on ipblocks
24371 * index change on recentchanges
24373 Several changes from 1.5 and 1.6 do require updates to be run on upgrade. To
24374 ensure that these tables are filled with data, run refreshLinks.php after the
24377 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
24378 changes are made, and there is a slightly higher chance that things could
24379 break. Don't forget to always back up your database before upgrading!
24382 Some output, particularly involving user-supplied inline HTML, may not produce
24383 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
24384 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
24385 recommended on live sites. (This must be set for MathML to display properly in
24390 == MediaWiki 1.7.3 ==
24394 This is a security and bug-fix update to the Summer 2006 quarterly release.
24396 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
24397 charset autodetection was located in the AJAX support module, affecting MSIE
24398 users on MediaWiki 1.6.x and up when the optional setting
24399 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
24401 If you are using an extension based on the optional Ajax module, either disable
24402 it or upgrade to a version containing the fix:
24404 * 1.9: fixed in 1.9.3
24405 * 1.8: fixed in 1.8.4
24406 * 1.7: fixed in 1.7.3
24407 * 1.6: fixed in 1.6.10
24409 There is no known danger in the default configuration, with
24410 [[Manual:$wgUseAjax|$wgUseAjax]] off.
24412 * Add 'charset' to Content-Type headers on various HTTP error responses to
24413 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
24414 default when the script didn't specify more details, which some inconsiderate
24415 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
24416 This fixes an issue with the Ajax interface error message on MSIE when
24417 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
24418 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
24419 from BugSec: http://www.bugsec.com/articles.php?Security=24
24420 * Trackback responses now specify XML content type
24422 == MediaWiki 1.7.2 ==
24426 * Note about $wgUploadSizeWarning using byte
24427 * Update to German bookstore list (de)
24428 * (bug [[bugzilla:6680|6680]]) Added localisation for Dutch bookstore list (nl)
24429 * (bug [[bugzilla:6708|6708]]) Minor updates to Russian translation (ru)
24430 * (bug [[bugzilla:6730|6730]]) Clearer usage of message 'titlematch' in German
24432 * Added direction mark to Special:Listredirects
24433 * XSS fix in AJAX module
24435 An XSS injection vulnerability was located in the AJAX support module,
24436 affecting MediaWiki 1.6.x and up when the optional setting
24437 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
24439 There is no danger in the default configuration, with
24440 [[Manual:$wgUseAjax|$wgUseAjax]] off.
24442 If you are using an extension based on the optional AJAX module, either disable
24443 it or upgrade to a version containing the fix:
24445 * 1.9: fixed in 1.9.0rc2
24446 * 1.8: fixed in 1.8.3
24447 * 1.7: fixed in 1.7.2
24448 * 1.6: fixed in 1.6.9
24451 == MediaWiki 1.7.1 ==
24455 MediaWiki 1.7.1 is a security and bugfix maintenance release of the Summer 2006
24458 A potential HTML/JavaScript-injection vulnerability in a debugging script has
24459 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
24460 overwrite vulnerability are affected.
24462 As a workaround for existing installs, profileinfo.php may simply be deleted if
24463 it's not being used.
24465 * Fix for 'emailconfirmed' implicit user group
24466 * Fix for upgrades on some versions of MySQL 4.0.x
24467 * Fixed potential XSS in profileinfo.php
24468 * Installer now shows clear error message about old PHP versions rather than a
24469 confusing parse error
24471 == MediaWiki 1.7.0 ==
24474 This is the quarterly release snapshot for Summer 2006. While the code
24475 has been running on Wikipedia for some time, installation and upgrade
24476 bits may be less well tested. Bug fix releases may follow in the coming
24479 MediaWiki is now using a "[[w:en:Continuous_integration|continuous
24480 integration]]" development model with
24481 quarterly snapshot releases. The latest development code is always kept
24482 "ready to run", and in fact runs our own sites on Wikipedia.
24484 Release branches will continue to receive security updates for about a year
24485 from first release, but nonessential bugfixes and feature development happen
24486 will be made on the development trunk and appear in the next quarterly release.
24488 Those wishing to use the latest code instead of a branch release can obtain
24489 it from source control: [[Download from SVN]]
24491 == Changes since 1.6 ==
24493 * (bug 5458) Fix double-URL encoding in block log link in contribs and contribs
24495 * (bug 5462) Bogus missing patch warning in updater
24496 * (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked
24497 * PHP warning when allow_call_time_pass_reference is off
24498 * Update to Finnish localization
24499 * (bug 5467) Link to page histories in watchlist edit mode
24500 * Further additions to Hebrew localisation
24501 * (bug 5476) Invalid xhtml in German localization
24502 * (bug 5479) Id translation for preferences tabs caption
24503 * (bug 5493) Id translation for special pages
24504 * Added skinname and style path parameters to CBT version of MonoBook
24505 * Include subversion revision number in Special:Version if available
24506 * (bug 5344) Fix regression that broke slashes in extension tag parameters
24507 * Improve Special:Log performance on big log sets
24508 * (bug 5507) Changed mediawiki:logouttext from plain to wikitext
24509 * (bug 4760) Prevent creation of entries in protection log when protection
24510 levels haven't changed
24511 * (bug 861) Show page protection/unprotection events in histories
24512 * (bug 5499) Don't clear the tag strip state when asked not to clear state.
24513 Fixes regression with use of <ref> in a template breaking <nowiki> etc.
24514 * Minor improvements to English language files
24515 * Display the anon talk page info message on anon talk pages again
24516 (moved outside the parser cache)
24517 * Optional {{DISPLAYTITLE|title with markup}} magic word
24518 Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php
24520 * Cleaned SpecialContributions a bit
24521 * Added a table to track interlanguage links
24522 * (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left
24524 * Replace "doubleredirectsarrow" with a content language check that picks the
24526 * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits
24528 * Don't force edit summaries when a user is editing their own user/talk page
24529 * (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
24530 * (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
24531 * PersistentObject removed; it doesn't do anything and was broken besides.
24532 All extensions using it have been corrected.
24533 * Propagate ISBN number for Booksources in LanguageNo.php
24534 * (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
24535 * Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms
24536 for all) magic words
24537 * (bug 5403) Fix Special:Newpages RSS/Atom feeds
24538 * Reject malformed addresses in X-Forwarded-For entries
24539 * (bug 3359) Add hooks on completion of file upload
24540 * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
24541 * (bug 5475) New pages feeds ignore "limit" argument
24542 * (bug 5184) CSS misapplied to elements in Special:Allmessages due to
24543 conflicting anchor identifiers
24544 * (bug 5519) Allow sidebar cache to be disabled; disable it by default.
24545 * Maintenance script to import the contents of a text file into a wiki page
24546 * Add $wgReservedUsernames configuration directive to block account creation/use
24547 * (bug 5576) Remove debugging hack in session check
24548 * (bug 5426) Lowercase treatment of titles in rights log leads to broken links
24550 * Minor improvements to French localisation files
24551 * (bug 5181) Update "nogomatch" for Slovak
24552 * (bug 5594) Id translation up to # Login and logout pages section
24553 * (bug 5536) Use content language for editing help link
24554 * Improvements to German localisation files
24555 * (bug 5570) Problems using <special page>/parameter link form for long titles
24556 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
24557 registrations as well as self-registrations.
24558 * (bug 4327) Report age of cached data sets in query pages
24559 * (bug 4662) Fix Safari check in wikibits.js
24560 * (bug 4663) Edit toolbar enabled in compatible versions of Safari
24561 * (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
24562 * (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
24563 * Edit toolbar now works in pure XHTML mode (application/xhtml+xml)
24564 * Add watchlist clear function to allow quick purging of all items
24565 * (bug 5625) Additional namespace translations for Welsh
24566 * Add meta tag and JavaScript variables to cached special pages which provides
24567 the timestamp of the last update, in YYYYMMDDHHMMSS format.
24568 * (bug 5628) More translations for MessagesHr.php
24569 * (bug 5595) Localisation for Bosnian language (bs)
24570 * (bug 2910) Default view preferences for watchlists
24571 * Add "hide bot edits from the watchlist" user preference
24572 * (bug 5250) Introduce Special:Unusedtemplates
24573 * Add user preference setting for an extended watchlist, showing all recent
24574 edits up to a certain edit, and not just the latest edit.
24575 * Made MessageRo.php more general
24576 * (bug 5640) Indonesian localisation improvements
24577 * (bug 5592) Actions are logged with the default language for the
24578 wiki, not the language of the user performing the operation.
24579 * (bug 5644) Error in LanguageBs.php file
24580 * (bug 5646) Compare for identical types in wfElement()
24581 * (bug 5472) Language::userAdjust()->minDiff not initialized on else condition
24582 * (bug 5386) LanguageMk.php: updated namespaces translations
24583 * (bug 5422) Stub for Romani (rmy) language which extends ro
24584 * Fix linktrail for LanguageSr
24585 * (bug 5664) Fix Bosnian linktrail
24586 * (bug 3825) Namespace filtering on Special:Newpages
24587 * (bug 1922) When Special:Wantedpages is cached, mark links to pages
24588 which have since been created
24589 * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
24590 This sort of special casing should be removed and fixed properly.
24591 * Remove useless whitespace from Special:Brokenredirects header
24592 * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default
24594 * (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
24595 * (bug 5709) Allow customisation of separator for categories
24596 * (bug 5684) Introduce Special:Randomredirect
24597 * (bug 5611) Add a name attribute to the text box containing source text in
24599 * Indicate when a protected page is an interface message ("protectedinterface")
24600 * (bug 4259) Indicate when a protected page being edited is an interface message
24601 ("editinginterface")
24602 * (bug 4834) Fix XHTML output when using $wgMaxTocLevel
24603 * Pass login link to "whitelistedittext" containing 'returnto' parameter
24604 * (bug 5728): mVersion missing from User::__sleep() leading to constant cache
24606 * Updated maintenance/transstat.php so it can show duplicate messages
24607 * Improvements to update scripts; print out the version, check for superuser
24608 credentials before attempting a connection, and produce a friendlier error if
24609 the connection fails
24610 * (bug 5005) Fix XHTML <gallery> output.
24611 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
24612 * (bug 4825) note in DefaultSettings.php about 'profiling' table creation
24613 * Remove unneeded extra whitespace at top of Special:Categories
24614 * (bug 5679) time units are now using local numerals
24615 * (bug 5751) Updates to Portuguese localisation files
24616 * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
24617 * (bug 93) <nowiki> tags and tildes in templates
24618 * The returnto parameter is now actually used by SpecialUserlogin.php
24619 * Parser can now know that it is parsing an interface message
24620 * (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
24621 * Fix bug in wfMsgExt under PHP 5.1.2
24622 * (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
24623 * Rewrite reassignEdits script to be more efficient; support optional updates to
24624 recent changes table; add reporting and silent modes
24625 * Cleaned up formatNum usage in langfiles
24626 * (bug 5716) Warn when a user tries to upload a file which was previously
24628 * (bug 5565) Add a class attribute to the table on Special:Allpages
24629 * "lang=xx" option for parser test cases to set content language
24630 * (bug 5764) Friulian translation updated
24631 * (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
24632 * (bug 5516) Show appropriate "return to" link on blocked page
24633 * (bug 5377) Do not auto-login when creating an account as another user
24634 * (bug 5284) Special redirect pages should remember parameters
24635 * Suppress 7za output on dumpBackup
24636 * (bug 5338) Reject extra initial colons in title
24637 * (bug 5487) Escape self-closed HTML pair tags
24638 * Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}}
24639 will produce a count minus formatting
24640 * Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an
24641 appropriate output format given the scope of the clean
24642 * (bug 5593) Change "bureaucrat log" to "rights log"
24643 * Show a boilerplate "(none)" in place of a blank within the log action text for
24645 * (bug 137) Commented out translations for copyrightwarning which mention GNU
24647 * (bug 5723) Don't count pages linked to from the MediaWiki namespace as
24649 * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time
24650 formatted according to the current user's settings
24651 * (bug 5780) Thousands and decimal separators for Norwegian
24652 * Updated initStats maintenance script
24653 * (bug 5767) Fix date formats in Vietnamese locale
24654 * (bug 361) URL in URL, they were almost fixed. Now they are.
24655 * (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section"
24656 link/tab to show up on specific pages on demand
24657 * Bidi-aid on list pages
24658 * (bug 5782) Allow entries in the bad image list to use canonical namespace
24660 * (bug 5789) Treat "loginreqpagetext" as wikitext
24661 * Sanitizer: now handles nested <li> in <ul> or <ol>
24662 * (bug 5796) We require MySQL >=4.0.14
24663 * Add 'EmailConfirmed' hook
24664 * New findhooks.php script to find undocumented hooks.
24665 * Silently ignore errors on profiling table update.
24666 * (bug 5801) Correct handling of underscores in Special:Listusers
24667 * Clean up Special:Listusers; add an "(all)" label to the group selection box
24668 * (bug 5812) Use appropriate link colour in Special:Mostlinked
24669 * (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale
24670 * (bug 5817) Appropriate handling for Special:Recentchangeslinked where the
24671 target page doesn't exist
24672 * Special:Randompage now additionally accepts English namespace name as
24674 * (bug 2981) Really fixed linktrail for Tamil (ta)
24675 * Disallow substituting Special pages when included into a page
24676 * (bug 5587) Clean up the languages from references to the Groups special page
24677 * Added new group-X and group-X-member messages
24678 * Rewritten removeUnusedAccounts to be more efficient, print names of inactive
24680 * Redirect Special:Userlist to Special:Listusers
24681 * Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded
24682 files bearing the image/svg MIME type. Disabled by default due to the vast
24683 majority of web servers being hideously misconfigured. See DefaultSettings.php
24685 * Changed default LocalSettings.php to append the previous include path when
24687 * (bug 5837) Use "members" for the value descriptor in Special:Categories,
24688 Special:Wantedcategories and Special:Mostlinkedcategories.
24689 * (bug 3309) Allow comments when undeleting pages
24690 * Clean up Special:Undelete a bit
24691 * (bug 5805) messages nbytes, ncategories can now use {{plural:}}
24692 * Clean up Special:Imagelist a bit
24693 * (bug 5838) Namespace names for Nds-NL
24694 * (bug 5749) Added Tyvan language files
24695 * (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect
24697 * (bug 5839) Prevent access to Special:Confirmemail for logged-out users
24698 * (bug 5853) Update for Portuguese messages (pt)
24699 * (bug 5851) Use Cyrillic for Kirghiz language name
24700 * (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message
24701 * (bug 5846) Link to individual group description pages in Special:Listusers
24702 * (bug 5857) Update for German localisation (de)
24703 * (bug 5858) Update for Russian language (ru)
24704 * (bug 5860) Update for Indonesian language (id)
24705 * (bug 1120) Update for Czech language (Cs)
24706 * Added many missing formatNum calls
24707 * Added grammar function to Belarusian (be)
24708 * (bug 5819) Add 'PersonalUrls' hook
24709 * (bug 5862) Update of Belarusian language (be)
24710 * (bug 5886) Update for Portuguese messages (pt)
24711 * (bug 5586) <gallery> treated text as links
24712 * (bug 5878) Update for Indonesian language (id)
24713 * (bug 5697) Update for Malay language (ms)
24714 * (bug 5890) Update for German language (de)
24715 * (bug 5889) Name for Sindhi language should appear as سنڌي
24716 * --force-normal parameter on dump scripts to force check for ICU extension
24717 * (bug 5895) Update for Dutch language (nl)
24718 * (bug 5891) Linktrail for Polish language (pl)
24719 * User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in
24720 v1.6 now die with a backtrace. They will be removed in v1.8
24721 * dumpTextPass now skips goes to database for entries that were blank in the
24722 previous dump, as this may indicate a broken dump.
24723 * dumpTextPass progress includes percentage of items prefetched
24724 * dumpTextPass can now use 7zip files for prefetch
24725 * (bug 5915) Update to Indonesian localisation (id)
24726 * (bug 5913) Update for German localisation (de)
24727 * (bug 5905) Plural support for Bosnian localisation (bs)
24728 * Groups which won't hit the rate limiter now configurable with
24729 $wgRateLimitsExcludedGroups
24730 * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages
24731 * (bug 5931) Update for Polish language (pl)
24732 * Ignore the user and user talk namespaces on Special:Wantedpages
24733 * Introduce NUMBEROFPAGES magic word
24734 * (bug 5833) Introduce CURRENTVERSION magic word
24735 * (bug 5370) Allow throttling of password reminder requests with the rate
24737 * (bug 5683) Respect parser output marked as uncacheable when saving
24738 * (bug 5918) Links autonumbering now work for all defined protocols
24739 * (bug 5935) Improvement to German localisation (de)
24740 * (bug 5937) Register links from gallery captions with the parent parser output
24741 object so that link tables receive those updates too
24742 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
24743 * (bug 5941) Use content language when getting the administrator page title for
24745 * (bug 5949) Update to Indonesian localisation (id)
24746 * (bug 5862) Update of Belarusian translation (be)
24747 * (bug 5950) Improvements to French localisation
24748 * (bug 5805) {{plural:}} support for counters in some special pages
24749 * (bug 5952) Improvement to German localisation (de)
24750 * Rename conflicting metadata help message to "metadata_help" (was "metadata")
24751 and treat it as wiki text
24752 * Improve preferences input filtering
24753 * Maintenance script to import multiple files into the wiki
24754 * (bug 5957) Update for Hebrew language (he)
24755 * (bug 5962) Update for Italian language (it)
24756 * (bug 5961) Update for Portuguese localisation (pt)
24757 * (bug 5849) Remove some hard-coded references to "Wikipedia" in messages
24758 * (bug 5967) Improvement to German localisation (de)
24759 * (bug 5962) Update for Italian language (it)
24760 * Suppress images in galleries which appear on the bad image list (when
24761 rendering for a wiki page; galleries in special pages and categories are
24763 * Maintenance script to remove orphaned revisions from the database
24764 * (bug 5991) Update for Russian language (ru)
24765 * (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL
24767 * (bug 5958) Switch Uzbek language name to use latin script
24768 * (bug 839) Add URLENCODE magic word
24769 * (bug 6004) Update for Polish language (pl)
24770 * (bug 5971) Improvement to German localisation (de)
24771 * (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect
24772 page that isn't current
24773 * (bug 2203) Namespace updates for Thai
24774 * Fix breakage in parser test suite which caused incorrect reporting of the
24775 failure of {{NUMBEROFFILES}}. Now initialises the site_stats table with some
24776 dumb data. Updated the expected output for {{NUMBEROFARTICLES}} to reflect
24778 * (bug 6009) Use {{ns:project}} in messages where appropriate
24779 * (bug 6012) Update to Indonesian localisation (id)
24780 * (bug 6017) Update list of bookstores in German localisation files
24781 * (bug 5187) Allow programmatically bypassing username validation, for scripts
24782 * (bug 6025) SpecialImport: wrong message when no file selected
24783 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
24784 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
24785 * (bug 2015) Add "\sim" to ~ conversion for HTML rendering
24786 * (bug 6029) Improvement to German localisation (de)
24787 * (bug 5015) Update be: magic words
24788 * (bug 3974) Add parameter for site URL to "passwordremindertext"
24789 * (bug 6039) Update for Portuguese localisation (pt)
24790 * (bug 764) Add CREATE TEMPORARY TABLES to default database permissions
24791 * Big update to Swedish localisation (sv)
24792 * Use appropriate HTML functions to create the tool links on image pages, so
24793 they don't look garbled when tidy isn't on
24794 * (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist
24795 * (bug 6046) Update to Indonesian localisation (id) #15
24796 * (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in
24797 specially-selected namespaces.
24798 * (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick
24800 * Reordered wiki table handling and __TOC__ extraction in the parser to better
24801 handle some overlapping tag cases.
24802 * Only the first __TOC__ is now turned into a TOC
24803 * (bug 4610) Indicate patrolled status on watchlists and allow users to mark
24804 changes as patrolled using the diff links there
24805 * Add 'DiffViewHeader' hook called before diff page output
24806 * (bug 6051) Improvement to German localisation (de)
24807 * (bug 6054) Update to Indonesian localisation (id) #16
24808 * Add {{CURRENTTIMESTAMP}} magic word
24809 * (bug 6061) Improper escaping in some html forms
24810 * (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics.
24811 * (bug 6074) Correct squid purging of offsite upload URLs
24812 * To simplify the lives of extension developers, the logging type arrays
24813 can now be appended to directly by an extension setup function. It is
24814 no longer necessary to write four separate functions just to add a
24816 * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages)
24817 * Added $wgGrammarForms global
24818 * Fixed hardcoded 'done.' when removing watchlist entries.
24819 * (bug 5962) Update for Italian language (it)
24820 * (bug 6086) Remove vestigial attempt to call Article::validate()
24821 * wfHostname() function for consistent server hostname use in debug messages
24822 * Send thumbnailing error messages to 'thumbnail' log group
24823 * wfShellexec() now accepts an optional parameter to receive the exit code
24824 * Failed, but not zero-length, thumbnail renderings are now removed.
24825 Should help clean up when rsvg fails in weird ways.
24826 * (bug 6081) Change description for Turkmen language
24827 * Increase robustness of parser placeholders; fixes some glitches when
24828 adjacent to identifier-ish constructs such as URLs.
24829 * Shut up the parser test whining about files in a temp directory.
24830 * (bug 6098) Add Aragonese language support (an)
24831 * (bug 6101) Update for Russian language (ru)
24832 * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering
24833 problems. If errors are transitory, this should reduce annoying messages
24834 making it into cached display.
24835 * (bug 6103) Wrap self-links in a CSS class ("selflink")
24836 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
24837 character entities in URLs, not just ampersands. This allows use of eg
24838 = when making URLs for template parameters.
24839 * Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
24840 under HTML-compatible browsers.
24841 * (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage
24842 * Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
24843 * (bug 472) Syndication feeds for the last few edits of page history
24844 * Format edit comments in Recent Changes feed
24845 * Switch incorrectly ordered column headers on Recent Changes feed diffs
24846 * (bug 6117) Use message for history feed description, add German localization
24847 * (bug 1017) fixed thumbnails of animated gifs.
24848 * Add APC as object caching option
24849 * Update to Albanian localization (sq)
24850 * (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an
24852 * Use optimized php5-only microtime()
24853 * Add possibility to store local message cache as PHP executable script
24854 * Fix profiling table definition
24855 * (bug 6040) Run pre-save transform before calculating the diff. when doing a
24856 "show changes" operation in the editor
24857 * (bug 4033) Respect $wgStyleDirectory when checking available skins
24858 * Remove hideous backslashes from MessagesBr.php
24859 * Fix APC object cache issues, add functionality to installer
24860 * (bug 6133) Update strip state as we work. This mostly fixes extensions
24861 used in Cite.php <ref> tags when Tidy is on.
24862 * (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
24863 * (bug 6136) Update to Catalan language (ca)
24864 * Update to Japanese localization (ja)
24865 * Add /usr/local/bin to the diff3 search paths in the installer
24866 * (bug 6106) Update to Indonesian localisation (id) #17
24867 * (bug 6125) Add links to edit old versions to diff views
24868 * (bug 5127) Auto edit summary when creating/editing redirect page
24869 * (bug 3926) Introduce {{#language:}} magic word
24870 * Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles
24871 * (bug 6126) Allow fallback to customized primary language when user language
24872 message contains '-'; fixes licenses selector on Commons configuration after
24873 recent addition of the message to Messages.php
24874 * (bug 5527) Batch up job queue insertions for, hopefully, better survivability
24875 of lock contention etc. Duplicates are now removed at pop time instead of
24877 * When showing the "blah has been undeleted" page, make sure it's a blue link
24878 * parserTests.php accepts a --file parameter to run an alternate test sutie
24879 * parser tests can now test extensions using !!hooks sections
24880 * Fix oddity with open tag parameters getting stuck on </li>
24881 * (bug 5384) Fix <!-- comments --> in <ref> extension
24882 * Nesting of different tag extensions and comments should now work more
24883 consistently and more safely. A cleaner, one-pass tag strip lets the
24884 'outer' tag either take source (<nowiki>-style) or pass it down to
24885 further parsing (<ref>-style). There should no longer be surprise
24886 expansion of foreign extensions inside HTML output, or differences
24887 in behavior based on the order tags are loaded.
24888 * (bug 885) Pre-save transform no longer silently appends close tags
24889 * Pre-save transform no longer changes the case of close tags
24890 * (bug 6164) Fix regression with <gallery> resetting <ref> state
24891 * Hackaround for IE 7 wrapping bug in MonoBook footer
24892 * New message sp-newimages-showfrom replaces rclistfrom on special:newimages
24893 * Improve handling of ;: definition list construct with overlapping or
24895 * (bug 6171) Fix sanitizing of HTML-elements with an optional closing
24896 tag. The sanitizer still needs to learn how to make well-formed XML
24898 * Fix fatal error when specifying illegal name for manual thumbnail
24899 * (bug 6184) Use shinier Linker::userLink() to make user links in
24901 * (bug 6170) Update for Kashubian translation (csb)
24902 * (bug 6191) Update to Indonesian translation (id) #18
24903 * (bug 6114) Update to Walloon localization (wa)
24904 * Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a
24905 per-namespace basis.
24906 * Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being
24907 interspersed into your ordered lists.
24908 * (bug 5021) Transcluding the same special page twice now works
24909 * Add 'SiteNoticeBefore' and 'SiteNoticeAfter' hooks
24910 * (bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time
24912 * (bug 2587) Fix for section editing with comment prefix
24913 * (bug 2607) Fix for section editing with mix of wiki and HTML headings
24914 * (bug 3342) Fix for section editing with headings wrapped in <noinclude>
24915 * (bug 3476) Fix for section editing with faux headings in extensions
24916 * (bug 5272) Fix for section editing with HTML-heading subsections
24917 * Fix for bogus wiki headings improperly detected with following text
24918 * Fix for HTML headings improperly not detected with preceding/following text
24919 * Section extraction and replacement functions merged into one implementation
24920 on the Parser object, so they can't get out of sync with each other.
24921 * Edit security precautions in raw HTML mode, etc
24922 * (bug 6197) Update to Indonesian translation (id) #19
24923 * (bug 6175) Improvement to German translation (de)
24924 * Redirect Special:Logs to Special:Log
24925 * (bug 6206) Linktrail for Swedish localization (se)
24926 * (bug 3202) Attributes now allowed on <pre> tags
24927 * Sanitizer::validateTagAttributes now available to discard illegal/unsafe
24928 attribute values from an array.
24929 * (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
24930 to <div class="center">. <center> is perfectly valid in the target doctype
24931 (XHTML 1.0 Transitional), while the replacement didn't catch all cases and
24932 could even result in invalid output from valid input.
24933 * (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
24934 meta robots tag on diff view and special pages. Should reduce impact of
24935 robots on scrolling special pages, diffs etc on sites where robots.txt
24936 doesn't forbid access.
24937 * Regression fix: suppress warning about session failure when clicking to
24938 edit with 'preview on first edit' enabled.
24939 * (bug 6230) Regression fix: <nowiki> in [URL link text]
24940 * Added AutoLoader.php, which loads classes without need of require_once()
24941 * (bug 5981) Add plural function Slovenian (sl)
24942 * (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
24943 * {{PLURAL}} can now take up to five forms
24944 * (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
24945 * Remove a number of needless {{ns:project}}-type transforms from messages
24946 files. These usages already have separate label text. Such transforms are
24947 wasteful on each page view.
24948 * Update to Yiddish localization (yi)
24949 * (bug 6254) Update to Indonesian translation (id) #20
24950 * (bug 6255) Fix transclusions starting with "#" or "*" in HTML attributes
24951 * Whitespace now normalized more or less properly in HTML attributes
24952 * Fix regression(?) in behavior of initial-whitespace-pre in <center>
24953 * (bug 6260) Update to Interlingua localization (ia)
24954 * Update to Vlax Romany localization (rmy)
24955 * Update to Latin translation (la)
24956 * Update to Dutch translation (nl)
24957 * Avoid some notices in page history with bad input
24958 * Use double quoted consistently on attributes in linker output; preparing
24959 for new normalization code when tidy not in use
24960 * Replace "nogomatch" with "noexactmatch" and place the magic colon in the
24961 messages themselves. Some minor tweaks to the actual message content.
24962 * Introduce $wgContentNamespaces which allows for articles to exist in
24963 namespaces other than the main namespace, and still be counted as valid
24964 content in the site statistics.
24965 * (bug 5932) Introduce {{PAGESINNAMESPACE}} magic word
24966 * Disable $wgAllowExternalImages by default.
24967 * (bug 2700) Nice things like link completion and signatures now work in
24969 * Cancel output buffering in StreamFile; when used inside gzip buffering this
24970 could cause funny timeout behavior as the Content-Length was wrong.
24971 * Return correct content-type header with 304 responses for StreamFile;
24972 it confuses Safari if you let it return "text/html".
24973 * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
24974 * (bug 6162) Change date format for Dutch Low Saxon (nds-nl)
24975 * (bug 6296) Update to Indonesian localisation (id) #21
24976 * Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
24977 * (bug 4054) Add "boteditletter" to recent changes flags
24978 * Update to Catalan localization (ca)
24979 * (bug 2099) Deleted image files can now be archived and undeleted.
24980 Set $wgSaveDeletedFiles on and an appropriate directory path in
24981 $wgFileStore['deleted']['directory']
24982 * (bug 6324) Fix regression in enhanced RC alignment
24983 * Introduce {{NUMBEROFADMINS}} magic word
24984 * Update to Slovak translation (sk)
24985 * Update to Alemannic localization (gsw)
24986 * (bug 6300) Bug fixes for sr: variants
24987 * namespaceDupes.php can now accept an arbitrary prefix, for checking rogue
24988 interwikis and such. Not yet fully automated.
24989 * (bug 6344) Add Special:Uncategorizedimages page
24990 * (bug 6357) Update to Russian translation (ru)
24991 * Workaround possible bug in Firefox nightlies by properly removing the
24992 Content-Encoding header instead of sending explicit 'identity' value
24994 * (bug 6304) Show timestamp for current revision in diff pages
24995 * Vertically align current version with old version header in diff display
24996 * (bug 6174) Remove redundant "emailforlost" message
24997 * (bug 6189) Show an error to an unprivileged user trying to create account
24998 * (bug 6365) Show user information in the "old revision" navigation links
24999 * Introduce 'FetchChangesList' hook; see docs/hooks.txt for more information
25000 * (bug 6345) Update to Indonesian localisation (id) #22
25001 * (bug 6279) Add genitive month names to Slovenian localisation
25002 * (bug 6351) Update to German translation (de)
25003 * Respect language directionality when displaying arrow in
25004 Special:Brokenredirects
25005 * Remove unused "validation" table definitions from the schema files
25006 * (bug 6398) Work around apparent PCRE bug breaking section editing when
25007 massively-indented preformatted text immediately followed a header
25008 * (bug 6392) Fix misbehaving <br /> in preferences form
25009 * Add translated magic words to Hebrew localization
25010 * (bug 6396) Change name for Chuvash language
25011 * Introduce optional (off by default) language selector bar for user login
25012 and registration. Customisable via the "loginlanguagelinks" message, the
25013 links will preserve "returnto" values. If the user creates an account while
25014 using such a link, then the language in use will be saved as their language
25016 * Make sure '~~~' '~~~~' '~~~~~' are removed in Nickname preference.
25017 * Rename "ipusuccess" to "unblocked", change the format (now wiki text)
25018 * (bug 2316) Add "caption" attribute to <gallery> tag
25019 * Allow setting the skin object that ImageGallery will use; needed during parse
25020 operations (the skin must come from the ParserOptions, not $wgUser)
25021 * Fix notice in MacBinary detection debug data for files of certain lengths
25022 * (bug 6131) Add type detection for DjVu files, allowing them to be uploaded
25023 with validity checking and size detection. No inline thumbnailing yet,
25024 but could be added in the future.
25025 * (bug 6423) Don't update newtalk flag if page content didn't change (null edits
25026 were causing the newtalk flag to trigger inappropriately)
25027 * Parser functions are now set using magic words.
25028 * (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0
25030 * (bug 4990) Show page source to blocked users on edits, or their modified
25031 version if blocked during an edit
25032 * (bug 5903) When requesting the raw source of a non-existent message page,
25033 return blank content (as opposed to the message key)
25034 * Improve default blank content of MediaWiki:Common.css and
25035 MediaWiki:Monobook.css
25036 * (bug 6434) Allow customisation of submit button text on Special:Export
25037 * (bug 6314) Add user tool links on page histories
25038 * Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off
25039 * (bug 6438) Update to Indonesian translation (id) #23
25040 * Adding the language code parameter to the hook "LanguageGetMagic", to allow
25041 localizble extensions magic words.
25042 * Update to Romanian translation (ro)
25043 * Update to Esperanto translation (eo)
25044 * Check for preg_match() existence when installing and die out whining about
25045 PCRE if it's not there, instead of throwing a fatal error
25046 * (bug 672) Add MathAfterTexvc hook
25047 * Update to Piedmontese localization (pms)
25048 * dumpBackup can optionally compress via dbzip2
25049 * (bug 2483) Run link updates on change via XML import
25050 * (bug 2481) List imported pages during Special:Import
25051 * (bug 2482) Log and RC entries for Special:Import events
25052 * Allow fetching all revisions from transwiki Special:Import
25053 * Allow fetching all revisions from Special:Export GET request
25054 * Disable output buffering on Special:Export; should help with streaming
25055 large numbers of history items.
25056 * Allow setting a maximum number of revisions for history Special:Export;
25057 pages with more than $wgExportMaxHistory revisions are excluded from
25058 export when history is requested.
25059 * Fix transwiki import of pages with space in name
25060 * Save null edit when importing pages through Special:Import
25061 * Update to Korean translation (ko)
25062 * Show a more specific message when an anonymous user tries to access
25064 * (bug 3278) Paging links in Special:Prefixindex
25065 * Added Latvian localization (lv)
25066 * (bug 6472) Fix regression in Special:Export with multiple pages
25067 * Update to Macedonian translation (mk)
25068 * Allow page moves over historyless self-redirects. Such are usually created
25069 as part of namespace rearrangements, and it's easier to clean them up if
25070 we can move over them.
25071 * Show some error results in moveBatch.php
25072 * (bug 6479) Allow specification of the skin to use during HTML dumps
25073 * (bug 6461) Link to page histories in Special:Newpages
25074 * (bug 6484) Don't do message transformations when preloading messages for
25076 * (bug 6201) Treat spaces as underscores in parameters to {{ns:}}
25077 * (bug 6006) Allow hiding the password change fields using an authentication
25079 * (bug 6489) Use appropriate link colour on Special:Shortpages
25080 * Added formatnum magic word
25081 * Added Javanese localization (jv)
25082 * (bug 6491) Apply bad image list in category galleries
25083 * (bug 6488) Show relevant log fragment in Special:Movepage
25084 * Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true
25085 * Use mysql_real_escape_string instead of addslashes for string escaping in
25086 the MySQL Database class. This may fix some rare breakage with binary fields.
25087 Note that MediaWiki does not support the multibyte character sets where a
25088 "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
25089 in this regard due to the bit patterns which make head and tail bytes
25091 * (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set
25092 * (bug 6498) Use localized forms for image size in Special:Undelete
25093 * (bug 6485) Update to Indonesian translation (id) #24
25094 * Extension messages translation is now possible.
25095 * Add target namespace override selector for transwiki imports.
25096 $wgImportTargetNamespace specifies the default, to be used for
25097 Wiktionary's 'Transwiki:' namespace etc.
25098 * (bug 6506) Update to German localisation (de)
25099 * (bug 502) Avoid silly tabs on bad title by using virtual special page
25100 * (bug 6511) Add diff links to old revision navigation bar
25101 * (bug 6511) Replace 'oldrevisionnavigation' message with
25102 'old-revision-navigation'
25103 * Fix regression in Polish genitive month forms
25104 * (bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
25105 more consistent: Accept just a namespace prefix and a colon, reject input
25106 with interwiki prefixes, otherwise do what Title::makeTitleSafe() does.
25107 * (bug 6516) Update to Russian translation
25108 * New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'.
25109 * Rename "searchquery" to "searchsubtitle" and support wiki text in it
25110 * Introduce updateArticleCount maintenance script which uses a better check that
25111 reflects what Article::isCountable() tests for
25112 * Introduce 'BadImage' hook; see docs/hooks.txt for more information
25113 * Add "searchsubtitleinvalid" message for searches that are not valid titles.
25114 * (bug 5962) Update to Italian localisation
25115 * (bug 6530) Update to Indonesian localisation (id) #25
25116 * (bug 6523) Fix SVG issue in rebuildImages.php
25117 * (bug 6512) Link to page-specific logs on page histories
25118 * (bug 6504) Allow configuring session name with $wgSessionName
25119 * (bug 6185) Add standard user tool links to log page views
25120 * Update to Venetian translation (vec)
25121 * Update to Slovenian translation (sl)
25122 * Add standard user tool links to deleted revision list
25123 * Separate out EditPage's getContent bits from regular Article getContent.
25124 Cleans up read-only-mode warning on empty pages and neats up some code.
25125 * (bug 6565) Strict JavaScript writing
25126 * (bug 6570) Update to Indonesian localisation (id) #26
25127 * Added Telugu translation (te)
25128 * Update to Catalan translation (ca)
25129 * (bug 6560) Avoid PHP notice when trimming ISBN whitespace
25130 * Added namespace translation to Kannada (ka)
25131 * (bug 6566) Improve input validation on timestamp conversion
25132 * Implicit group "emailconfirmed" for all users whose email addresses are
25134 * (bug 6577) Avoid multiline parser breakage on <pre> with newline in attribute
25135 * (bug 6771) Make old revisions of MediaWiki pages available with action=raw
25138 == Compatibility ==
25139 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
25141 If you are unable to run PHP 5, you may have to stick with 1.6 for now.
25143 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
25144 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
25146 Experimental Oracle support has been dropped as it is unmaintained.
25149 Several changes to the database have been made from 1.6:
25151 * A new "langlinks" table tracks interlanguage links
25152 * A new "filearchive" table stores information on deleted files
25153 * A new "querycache_info" table stores information on query page updates
25155 To ensure that these tables are filled with data, run refreshLinks.php after
25158 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
25159 changes are made, and there is a slightly higher chance that things could
25160 break. Don't forget to always back up your database before upgrading!
25162 == Configuration changes ==
25164 Some configuration options have changed:
25165 * $wgAllowExternalImages now defaults to off for increased security.
25166 * $wgLocalTZoffset was in hours, it is now using minutes.
25167 * Extensions may register special pages via the $wgSpecialPages array without
25168 forcing an early load of the SpecialPage.php class file.
25170 == Major new features ==
25172 * Deleted files can now be archived and undeleted, if you set up an appropriate
25173 non-web-accessible directory. Set $wgSaveDeletedFiles on and an appropriate
25174 directory path in $wgFileStore['deleted']['directory']
25175 * Experimental PostgreSQL support has been updated. It may or may not be in
25176 usable shape; those interested in PostgreSQL are encouraged to follow 1.8
25180 Some output, particularly involving user-supplied inline HTML, may not
25181 produce 100% valid or well-formed XHTML output. Testers are welcome to
25182 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
25183 cases, but this is not recommended on live sites. (This must be set for
25184 MathML to display properly in Mozilla.)
25188 == MediaWiki 1.6.12 ==
25192 This is a security update to the Spring 2006 quarterly release.
25194 A number of cross-site scripting (XSS) security vulnerabilities were discovered
25195 in the web-based installer (config/index.php). These vulnerabilities all
25196 require a live installer -- once the installer has been used to install a
25197 wiki, it is deactivated.
25199 Note that cross-site scripting vulnerabilities can be used to attack any
25200 website in the same cookie domain. So if you have an uninstalled copy of
25201 MediaWiki on the same site as an active web service, MediaWiki could be used to
25202 attack the active service.
25204 If you are hosting an old copy of MediaWiki that you have never installed, you
25205 are advised to remove it from the web.
25207 == MediaWiki 1.6.11 ==
25211 This is a security update to the Spring 2006 quarterly release.
25213 David Remahl of Apple's Product Security team has identified a number of
25214 security issues in previous releases of MediaWiki. Subsequent analysis by the
25215 MediaWiki development team expanded the scope of these vulnerabilities. The
25216 issues with a significant impact are as follows:
25218 * An XSS vulnerability affecting Internet Explorer clients for all MediaWiki
25219 installations with uploads enabled. [CVE-2008-5250]
25220 * An XSS vulnerability affecting clients with SVG scripting capability (such as
25221 Firefox 1.5+), for all MediaWiki installations with SVG uploads enabled.
25223 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
25224 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
25226 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
25227 authorised user's login session, and to act as that user on the wiki. The
25228 authorised user must visit a web page controlled by the attacker in order to
25229 activate the attack. Intranet wikis are vulnerable if the attacker can
25230 determine the intranet URL, even if the attacker cannot access it.
25232 CSRF vulnerabilities allow an attacker to act as an authorised user on the
25233 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
25234 a specific and restricted way. The present CSRF vulnerability allows pages to
25235 be edited, with forged revision histories. Like an XSS vulnerability, the
25236 authorised user must visit the malicious web page to activate the attack.
25238 Rather than backport our SVG validation code to this ancient branch, we have
25239 instead disabled SVG uploads. To enable SVG uploads, please upgrade to
25240 MediaWiki 1.13.3 or later.
25242 The other two issues have been fixed.
25244 == MediaWiki 1.6.10 ==
25248 This is a security and bug-fix update to the Spring 2006 quarterly release.
25250 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
25251 charset autodetection was located in the AJAX support module, affecting MSIE
25252 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
25254 If you are using an extension based on the optional Ajax module, either disable
25255 it or upgrade to a version containing the fix:
25257 * 1.9: fixed in 1.9.3
25258 * 1.8: fixed in 1.8.4
25259 * 1.7: fixed in 1.7.3
25260 * 1.6: fixed in 1.6.10
25262 There is no known danger in the default configuration, with $wgUseAjax off.
25264 * ([[mediazilla:8819|bug 8819]]) Fix full path disclosure with skins
25266 * Add 'charset' to Content-Type headers on various HTTP error responses to
25267 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
25268 default when the script didn't specify more details, which some inconsiderate
25269 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
25270 This fixes an issue with the Ajax interface error message on MSIE when
25271 $wgUseAjax is enabled (not default configuration); this UTF-7 variant on a
25272 previously fixed attack vector was discovered by Moshe BA from BugSec:
25273 http://www.bugsec.com/articles.php?Security=24
25274 * Trackback responses now specify XML content type
25276 == MediaWiki 1.6.9 ==
25280 * ([[mediazilla:6621|bug 6621]]) Backported German translation for
25283 * ([[mediazilla:6680|bug 6680]]) Added localisation for Dutch bookstore list
25285 * ([[mediazilla:6730|bug 6730]]) Clearer usage of message 'titlematch' in
25286 German translation (de)
25287 * XSS fix in AJAX module
25289 An XSS injection vulnerability was located in the AJAX support module,
25290 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
25293 There is no danger in the default configuration, with $wgUseAjax off.
25295 If you are using an extension based on the optional AJAX module, either disable
25296 it or upgrade to a version containing the fix:
25298 * 1.9: fixed in 1.9.0rc2
25299 * 1.8: fixed in 1.8.3
25300 * 1.7: fixed in 1.7.2
25301 * 1.6: fixed in 1.6.9
25303 == MediaWiki 1.6.8 ==
25307 MediaWiki 1.6.8 is a security and bugfix maintenance release of the Spring 2006
25310 A potential HTML/JavaScript-injection vulnerability in a debugging script has
25311 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
25312 overwrite vulnerability are affected.
25314 As a workaround for existing installs, profileinfo.php may simply be deleted if
25315 it's not being used.
25317 * ([[mediazilla:5957|bug 5957]]) Updates to Hebrew translation (he)
25318 * Respect language directionality when displaying arrow in
25319 Special:Brokenredirects
25320 * ([[mediazilla:6415|bug 6415]]) Typo in Parser.php
25321 * Fixed potential XSS in profileinfo.php
25323 == MediaWiki 1.6.7 ==
25327 MediaWiki 1.6.7 is a security and bugfix maintenance release of the Spring 2006
25330 An HTML/JavaScript-injection vulnerability in the edit form has been closed.
25331 This vulnerability was new in 1.6.0; MediaWiki versions 1.5.x or earlier are
25334 Extensions, comments, and <nowiki><nowiki></nowiki> sections are now handled in
25335 a one-pass way which is more reliable and safer. Under earlier versions of
25336 MediaWiki, certain extensions could be abused to inject HTML/JavaScript into
25339 Additional precautions are made against offsite form submissions when the
25340 restricted raw HTML mode is enabled.
25342 Some small localization and user interface updates are also included.
25344 *([[MediaZilla:6051|bug 6051]]) Improvement to German localisation (de)
25345 *([[MediaZilla:6017|bug 6017]]) Update bookstore list for German language (de)
25346 *([[MediaZilla:6138|bug 6138]]) Minor grammar tweak in "loginreqlink"
25347 *([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
25348 *Increase robustness of parser placeholders; fixes some glitches when adjacent
25349 to identifier-ish constructs such as URLs.
25350 *([[MediaZilla:5384|bug 5384]]) Fix <nowiki><!-- comments --> in <ref></nowiki>
25352 *Nesting of different tag extensions and comments should now work more
25353 consistently and more safely. A cleaner, one-pass tag strip lets the 'outer'
25354 tag either take source (<nowiki><nowiki></nowiki>-style) or pass it down to
25355 further parsing (<nowiki><ref></nowiki>-style). There should no longer be
25356 surprise expansion of foreign extensions inside HTML output, or differences in
25357 behavior based on the order tags are loaded.
25358 *([[MediaZilla:885|bug 885]]) Pre-save transform no longer silently appends
25360 *Pre-save transform no longer changes the case of close tags
25361 *Edit security precautions in raw HTML mode, etc
25363 == MediaWiki 1.6.6 ==
25367 MediaWiki 1.6.6 is a security and bugfix maintenance release.
25369 An XSS injection vector in brace replacement has been fixed, as have some
25370 potential problems with table parsing. Upgrading is strongly recommended for
25371 all users of 1.6. MediaWiki versions 1.5 and earlier are not affected.
25373 Additionally some localization and user interface updates are included.
25375 * Correct "revertpage" message in English
25376 * ([[MediaZilla:5507|bug 5507]]) Logouttext now uses wiki markup
25377 * (bugs [[MediaZilla:5857|5857]], [[MediaZilla:5957|5957]]) Update for German
25379 * ([[MediaZilla:5586|bug 5586]]) <nowiki><gallery></nowiki> treated text as
25381 * ([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
25382 * ([[MediaZilla:6025|bug 6025]]) SpecialImport: wrong message when no file
25384 * ([[MediaZilla:6015|bug 6015]]) EditPage: add spacing in the boxes "edit is
25385 minor" and "watch this"
25386 * ([[MediaZilla:6018|bug 6018]]) Userrights: new message when no user specified
25387 ('nouserspecified')
25388 * ([[MediaZilla:6055|bug 6055]]) Fix for HTML/JS injection bug in variable
25389 handler (found by Nick Jenkins)
25390 * Reordered wiki table handling and <nowiki>__TOC__</nowiki> extraction in the
25391 parser to better handle some overlapping tag cases.
25392 * Only the first <nowiki>__TOC__</nowiki> is now turned into a TOC.
25393 * ([[MediaZilla:361|bug 361]]) URL in URL, they were almost fixed. Now they are.
25395 == MediaWiki 1.6.5 ==
25399 * Rolled back the buggy patch for [[MediaZilla:5497|bug 5497]].
25401 == MediaWiki 1.6.4 ==
25405 * Further improvements to Hebrew localisation
25406 * ([[MediaZilla:5544|bug 5544]]) Fix redirect arrow in Special:Listredirects
25407 for right-to-left languages
25408 * Replace "doubleredirectsarrow" with a content language check that picks the
25410 * Remove live debugging hack which caused errors with certain database names
25411 * ([[MediaZilla:5510|bug 5510]]) Warning produced when using
25412 <nowiki>{{SUBPAGENAME}}</nowiki> in some namespaces
25413 * ([[MediaZilla:5548|bug 5548]]) Improvements to Indonesian localisation
25414 [patch: Ivan Lanin]
25415 * ([[MediaZilla:5403|bug 5403]]) Fix Special:Newpages RSS/Atom feeds
25416 * ([[MediaZilla:3359|bug 3359]]) Add hooks on completion of file upload
25417 * ([[MediaZilla:5184|bug 5184]]) CSS misapplied to elements in
25418 Special:Allmessages due to conflicting anchor identifiers
25419 * ([[MediaZilla:5519|bug 5519]]) Allow sidebar cache to be disabled; disable it
25421 * Add $wgReservedUsernames configuration directive to block account creation/use
25422 * ([[MediaZilla:5576|bug 5576]]) Remove debugging hack in session check
25423 * ([[MediaZilla:5181|bug 5181]]) Update "nogomatch" for Slovak
25424 * ([[MediaZilla:5594|bug 5594]]) Id translation up to '# Login and logout
25426 * ([[MediaZilla:5536|bug 5536]]) Use content language for editing help link
25427 * Minor improvements to English language files
25428 * Improvements to German localisation files
25429 * ([[MediaZilla:5628|bug 5628]]) Translations for MessagesHr.php
25430 * (bugs [[MediaZilla:5595|5595]], [[MediaZilla:5644|5644]]) Localisation for
25431 Bosnian language (bs)
25432 * ([[MediaZilla:5592|bug 5592]]) Actions are logged with the default language
25433 for the wiki, not the language of the user performing the operation.
25434 * ([[MediaZilla:5646|bug 5646]]) Compare for identical types in wfElement()
25435 * Fix for concurrency problem in job queue (image description page invalidation)
25436 * ([[MediaZilla:5497|bug 5497]]) regeression in HTML normalization in 1.6
25437 (unclosed <nowiki><li>,<dd>,<dt></nowiki>)
25438 * ([[MediaZilla:5709|bug 5709]]) Allow customisation of separator for categories
25439 * ([[MediaZilla:4834|bug 4834]]) Fix XHTML output when using $wgMaxTocLevel
25440 * Improvements to update scripts; print out the version, check for superuser
25441 credentials before attempting a connection, and produce a friendlier error if
25442 the connection fails
25443 * ([[MediaZilla:5005|bug 5005]]): Fix XHTML <nowiki><gallery></nowiki> output.
25444 * ([[MediaZilla:5315|bug 5315]]) "Expires: -1" HTTP header made strictly valid
25446 * ([[MediaZilla:4825|bug 4825]]): note in DefaultSettings.php about 'profiling'
25448 * Remove unneeded extra whitespace at top of Special:Categories
25449 * Rewrite reassignEdits script to be more efficient; support optional updates
25450 to recent changes table; add reporting and silent modes
25451 * Updated initStats maintenance script
25452 * ([[MediaZilla:5723|bug 5723]]) Don't count pages linked to from the MediaWiki
25453 namespace as "wanted"
25454 * ([[MediaZilla:5789|bug 5789]]) Treat "loginreqpagetext" as wikitext
25455 * ([[MediaZilla:5796|bug 5796]]) We require MySQL >=4.0.14
25457 == MediaWiki 1.6.3 ==
25461 * Fix disappearing red-linked items in the watchlist editing view
25462 * ([[MediaZilla:5512|bug 5512]]) Spacing in "page has a history" deletion
25464 * ([[MediaZilla:5508|bug 5508]]) Switch ENGINE in table statements back to
25465 TYPE; fixes regression where some versions of MySQL 4.0.x wouldn't work
25466 * Added note about [[Manual:$wgUrlProtocols|$wgUrlProtocols]] format change
25468 == MediaWiki 1.6.2 ==
25472 * Further improvements to Hebrew localisation
25473 * Fix 'copyright' message for Romanian
25474 * ([[MediaZilla:5476|bug 5476]]) Invalid xhtml in German localization
25475 * ([[MediaZilla:5479|bug 5479]]) Id translation for preferences tabs caption
25476 * ([[MediaZilla:5493|bug 5493]]) Id translation for special pages
25477 * Additional path fixes in the updater
25478 * ([[MediaZilla:5344|bug 5344]]) Fix regression that broke slashes in extension
25481 == MediaWiki 1.6.1 ==
25485 Some minor issues in the 1.6.0 release have been corrected:
25486 * ([[MediaZilla:5458|bug 5458]]) Fix double-URL encoding in block log link in
25487 contribs and contribs link in block log
25488 * ([[MediaZilla:5462|bug 5462]]) Bogus missing patch warning in updater
25489 * ([[MediaZilla:5461|bug 5461]]) Use of deprecated "showhideminor" in
25490 Special:Recentchangeslinked
25491 * PHP warning when allow_call_time_pass_reference is off
25492 * Update to Finnish localization
25494 == MediaWiki 1.6.0 ==
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 will take
25504 place on the development trunk and will appear in the next quarterly release.
25506 Those wishing to use the latest code instead of a branch release can [[Download
25507 from SVN|obtain it from source control]].
25509 === What's new in 1.6 ===
25511 '''User interface:'''
25512 * The account creation form has been separated from the user login form.
25513 * Page protection/unprotection uses a new, expanded form
25516 * Categories and "what links here" now update as expected when adding or
25517 removing links in a template.
25518 * Template parameters can now have default values, as <nowiki>{{{name|default
25522 * Optional support for rasterizing SVG images to PNG for inline display
25525 * Feed generation upgraded to Atom 1.0
25526 * Diffs in RSS and Atom feeds are now colored for improved readability.
25529 * MySQL 3.23.x support dropped; 4.0 or later required
25530 * Experimental support for Unicode mode of MySQL 4.1/5.0 (moderately tested)
25531 * Experimental Oracle support (not well tested!)
25533 '''Anti-spam extension support:'''
25534 * [[meta:SpamBlacklist extension|SpamBlacklist extension]] now has support for
25536 * Support for a [[meta:ConfirmEdit extension|captcha extension]] to restrict
25537 automated spam edits.
25539 Numerous bug fixes and other behind-the-scenes changes have been made; see the
25540 file HISTORY for a complete change list.
25542 == Changes since 1.5 ==
25544 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
25547 * Use strval() to make sure we don't accidentally get null on bad revision
25548 text loads or other fields mucking up XML export output
25549 * Clean up duplicate code for selection of changeslist style
25550 * Correct blob caching to reduce redundant blob loads on backups
25551 * (bug 3182) Clear link cache during import to prevent memory leak
25552 * Fixed possible infinite loop in formatComment
25553 * Wrap message page insertions in a transaction to speed up installation
25554 * Avoid notice warning on edit with no User-Agent header
25555 * (bug 3649) Remove obsolete, broken moveCustomMessages script
25556 * Avoid numerous redundant latest-revision lookups in history
25557 * Require PHP 4.3.2 or higher strictly now.
25558 * Tweak infinite-template-handling loop for PHP 5.1.1 string handling change
25559 * Remove unused OutputPage::addCookie()
25560 * Fix for short_open_tag off again; please don't break this, guys
25561 * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form
25562 * (bug 5302) Merge the two #p-search .pBody statements in monobook css.
25565 * Finally dropped MySQL 3.23.x support
25567 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
25568 * Update all stats fields on recount.sql
25569 * (bug 3227) Fix SQL injection introduced in experimental code
25570 * Fix table prefix usage in Block::enumBlocks
25571 * (bug 3448) Set page_len on undelete
25572 * (bug 3506) Avoid MySQL error when Listusers returns no results
25573 * Skip update of disused 'rc_cur_time' field (todo: discard the field)
25574 * (bug 3735) Fix to run under MySQL 5's strict mode
25575 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
25576 NOTE: Enabling this may break existing wikis, and still doesn't
25577 work for all Unicode characters due to MySQL limitations.
25578 * MySQL 5.0 strict mode fix for moving unwatched pages
25579 * Ability to set the table name for external storage servers
25580 * Update ipblocks table in MySQL 5 table defs
25581 * Removed FulltextStoplist.php, no longer used (was for MySQL 3.x workaround)
25582 * Added templatelinks table, to track template inclusions. User-visible effects
25584 * (inclusion) tag for inclusions in Special:Whatlinkshere
25585 * More accurate list of used templates on the edit page
25586 * More reliable cache invalidation when templates outside the template
25587 namespace are changed
25588 * Respect database prefix in dumpHTML.inc
25589 * Removed read-only check from Database::query()
25590 * Added externallinks table, to track links to arbitrary URLs
25591 * Added job table, for deferred processing of jobs. The immediate application is
25592 to complete the link table refresh operation when templates are changed.
25593 * Don't change the password of the MySQL root user.
25596 * (bug 3306) Document $wgLocalTZoffset
25599 (list not complete)
25600 * Move ArticleSave hook execution into Article insert/update functions,
25601 so they get called on non-EditPage actions that use these functions
25602 to create or update pages.
25603 * Added EditFilter hook, and output callback on EditPage::showEditForm()
25604 for a place to add in captcha-type extensions in the edit flow
25605 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
25606 * Fix for hook callbacks on objects containing no fields
25607 * Add a hook for additional user creation throttle / limiter extensions
25608 * Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser
25609 instance. This allows use of extension hooks if required.
25610 * Added AutoAuthenticate hook for external User object suppliers
25611 * Added 'PageRenderingHash' hook for changing the parser cache hash key
25612 from an extension that changes rendering based on nonstandard options.
25613 * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones
25614 * (bug 4456) Add hook for marking article patrolled
25615 * Add UserRights hook, fires after a user's group memberships are changed
25618 * Support SVG rendering with rsvg
25619 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
25620 * (bug 3127) Render large SVGs at image page size correctly
25621 * Fix scaling of non-integer SVG unit sizes
25622 * (bug 2800) Don't scale up small images on |thumb| without explicit size
25623 * Use the real file link instead of the default-size rasterized version for
25624 large SVG images on image description page
25625 * Include the file name/type/size line for non-resized images
25626 * (bug 3489) PHP 5.1 compat problem with captioned images
25627 * (bug 3643) Fix image page display of large images with resizing disabled
25628 * Added a limit to the size of image files which can be thumbnailed
25629 * (bug 3806) Gracefully fall back to client-side scaling on |thumb| image
25630 that passes $wgMaxImageArea
25631 * (bug 153) Adjust thumbnail size calculations to match consistently;
25632 patch by David Benbennick
25633 * (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to
25634 be rerendered on demand, sitewide
25635 * (bug 1850) Additional fixes so existing local and remote images
25636 get a blue link even if there's no local description page
25637 * Avoid FATAL ERROR when creating thumbnail of non-existing image
25638 * (bug 4207) Wrong image size when using 100x200px syntax to scale image up
25639 patch by David Benbennick
25640 * Don't delete thumbnails when refreshing exif metadata. This caused thumbs
25641 to vanish mysteriously from time to time for files that didn't have metadata.
25642 * (bug 4426) Add link to user_talk page on image pages
25643 * Support a custom convert command for thumbnailing. See DefaultSettings.php
25644 and the comments for $wgCustomConvertCommand, for more information.
25645 * UserCan hook now allows advisory return values, rather than mandatory ones.
25648 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
25649 Why do people invent these crazy options that change language semantics?
25650 * Fixed installer bugs 921 and 3914 (issues with using root and so forth)
25651 * (bug 4258) Use ugly urls for ISAPI by default
25652 patch by Rob Church
25653 * Improve installer
25654 * Use a superuser account (such as root), if specifed, to create tables
25655 * Don't overwrite conservative permissions on the mySQL user with ALL
25656 permissions, if said user exists
25657 * Changes to some of the wording of explanations for fields
25658 * (bug 1734) granting db permissions failed with db usernames containg '-'
25659 * Add basic check for session support in PHP and die if not present
25662 * Fix problem reported on mailing list where re-initialising stats didn't work
25663 (can't insert duplicate rows with the same id field)
25664 * Added --conf option to command line scripts, allowing the user to specify a
25665 different LocalSettings.php.
25666 * Maintenance script to delete unused text records
25667 * Maintenance script to delete non-current revisions
25668 * Maintenance script to wipe a page and all revisions from the database
25669 * Maintenance script to reassign edits from one user to another
25670 * Maintenance script to find and remove links to a given domain
25672 * Fix --report interval option for dumpTextPass
25675 * Partial support for Basque language (from wikipedia and meta)
25676 * (bug 3141) Partial support for Breton language (thanks Fulup).
25677 * Support for venitian language
25678 * (bug 1334) LanguageGa.php update
25679 * Finnish date format was hardcoded, now implemented properly
25680 * (bug 3190) Added some date format choices for language sr
25681 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
25682 * (bug 3204) Fix typo breaking special pages in fy localization
25683 * (bug 3177) Estonian date formats not implemented in LanguageEt.php
25684 * (bug 1020) Changing user interface language does not work immediately
25685 * (bug 3271) Updated LanguageNn.php for HEAD
25686 * Experimental feature to allow translation of block expiry times
25687 Implementation only for Finnish currently
25688 * (bug 3304) Language file for Croatian (LanguageHr.php)
25689 * (bug 2143) Update Vietnamese interface
25690 * (bug 3063) Remove some hardcodings from Hebrew localisation
25691 * (bug 3408) Bulgarian formatNum corrected
25692 * (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
25693 harm than good under current system by breaking incoming URLs with "ux".
25694 (Editing is not affected, just URLs.)
25695 * (bug 1423) LanguageJa.php update
25696 * Fix language name for dv
25697 * (bug 3503) Update LanguageSq.php from sq.wikipedia.org messages
25698 * (bug 3629) Fix date & time format for Frisian
25699 * (bug 3334) Namespace changes for Polish
25700 * (bug 3580) Change default Dutch language file to more neutral
25701 * (bug 3656) LanguageHr.php - added convertPlural
25702 * (bug 3414) LanguageBe.php - added convertPlural
25703 * (bug 3163) Full translation of LanguageBr
25704 * (bug 3617) Update for portuguese language (pt)
25705 * Namespaces hacks on LanguagePl
25706 * (bug 3682) LanguageSr.php - added convertPlural
25707 * (bug 3694) LanguageTr.php update
25708 * (bug 3711) Removed invisible unicode characters from LanguageHu
25709 * (bug 2981) Linktrail for Tamil (ta)
25710 * (bug 3722) Update of Arabic language (ar) Namespace changes
25711 * Removed hardcoded Norwegian (no) project namespaces
25712 * (bug 2324) image for redirects should be without text and oriented according
25713 to content language
25714 * (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language
25715 * (bug 3817) Use localized date formats in preferences; 'no preference' option
25716 localizable as 'datedefault' message. Tweaked lots of languages files...
25717 * (bug 2721) Regression: Use European number separators for vi: wikis
25718 * (bug 3961) minor languageDe changes
25719 * (bug 1984) LanguageKo.php (Korean) update
25720 * (bug 3804) update of LanguageWa.php file
25721 * (bug 3886) Update for Portuguese language (pt)
25722 * (bug 4020) Update namespaces for ms
25723 * (bug 3922) bidi embedding overrides on category links
25724 * (bug 4061) Update of Slovene namespace names (LanguageSl.php)
25725 * (bug 4064) LanguageDe comma changes
25726 * (bug 3922) Further tweaks to bidi overrides in category list for old
25727 versions of Safari and Konqueror
25728 * Fix custom namespaces on wikis set for Portuguese
25729 * (bug 4153) Fix block length localizations in Greek
25730 * (bug 3844) ab: av: ba: ce: & kv: now inherit from LanguageRu.php
25731 ii: & za: now inherit from LanguageZn_cn.php
25732 * (bug 4165) Correct validation for user language selection (data taint)
25733 * (bug 4192) Remove silly 'The Free Encyclopedia' default sitesubtitle
25734 * Use content-lang for sitenotice
25735 * (bug 4233) Update LanguageJa.php
25736 * (bug 4279) Small correction to LanguageDa.php
25737 * (bug 4108, 4336) Remove trailing whitespace from various messages, which
25738 mucks up message updating to create dupe entries
25739 * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized)
25740 * (bug 4392) Update of LanguageSr.php
25741 * (bug 4382) Frisian numeric format
25742 * (bug 4424) Update for Spanish language (es) 100% messages translated
25743 * (bug 4425) Typos in Polish translation
25744 * (bug 4436) Update for Turkish language (tr)
25745 * (bug 4413) Update of Farsi language file (LanguageFa.php)
25746 * Update for LanguageSr (Serbian): magic words
25747 * (bug 137) MediaWiki:Copyrightwarning hardcoding
25748 * (bug 4457) Update for Portuguese language (pt)
25749 * convertPlural breakage fixed a little
25750 * (bug 4144) Support for Sudanese language (Basa Sunda)
25752 - Removed obsolote, badly or untranslated messages
25753 - Removed references to wikipedia/wikimedia etc in messages
25754 - Other cleanup, like removing html and javascript and extension calls
25755 - Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
25756 - Removed some useless backwards compatibility hacks
25757 - Fixed formatnum on many languages
25758 * wgAmericanDates check produced incorrect results in languages that don't have
25760 * (bug 4548) Update for Portuguese language (pt): time format
25761 * (bug 4530) Use consistent name for Kurdish
25762 * Tweak default "upload disabled" text
25763 * (bug 4504) Use site language for namespace name resolution
25764 * (bug 4510) Correct Barnes & Noble bookstore URLs
25765 * (bug 3991) Allow the operation of wikicode on Protect move only text
25766 * (bug 4267) Switch dv sd ug ks arc languages to RTL
25767 * Default main page content improved per bug 4690
25768 * (bug 4615) Update for Portuguese language (pt)
25769 * Separated MessagesSl.php as the other languages.
25770 * (bug 4960) Add additional namespaces variants to Yiddish for compatibility
25771 * (bug 4805) Removed more wikipedia-references from MessagesUk.php
25772 * (bug 5015) Update magic words translation in LanguageBe.php
25773 * (bug 4859) Update for Portuguese messages (pt)
25774 * (bug 4788) One string for MessagesPl
25775 * Restriction types now use restriction-* messages instead of ui messages
25776 * (bug 4685) Slovenian LanguageSl.php hardcodes project namespace
25777 * (bug 5097) Fix Hungarian language (hu): thousands separator
25778 * (bug 5098) Update for Portuguese messages (pt)
25779 * (bug 5113) Spelling error in French language file
25780 * (bug 5105) Magic words for LanguageAr.php
25781 * (bug 3993) Variants for Serbian language
25782 * Typo in English messages file
25783 * (bug 4114) Spacing in watchlist rows (in editing mode)
25784 * Update default "exporttext" to reflect that Special:Import exists
25785 * (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews
25787 * (bug 5357) Add the icon near the user name also in RTL interfaces
25788 * (bug 5156) Update for Hebrew language (he)
25789 * (bug 4497,4704,5010) Added some new language codes.
25790 * (bug 5362) Piedmontese added
25791 * (bug 5349) Update for Portuguese messages (pt)
25792 * (bug 3573) Finished full Greek translation: namespaces
25793 * (bug 5288) Initial localisation for Az
25794 * (bug 4361) Fix "allmessagesnotsupportedui" so it doesn't refer to nonexisting
25796 * Tweak wording of "allmessagesnotsupporteddb"
25799 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
25800 * (bug 3210) Fix Media: links with remote image URL path
25801 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
25802 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
25803 format as designed. Documentation comments updated.
25804 * Fix Parser::unstrip on PHP 5.1.0RC4
25805 * (bug 3797) Don't expand variables and sigs in comments
25806 * Allow parser cache on redirect targets
25807 * Run wikitext-escaping on plaintext sigs (no wiki markup, just name)
25808 * Check for unbalanced HTML tags on raw sigs (markup allowed, but show
25809 a warning in prefs and use default sig if not balanced)
25810 * Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as
25811 ordinary templates.
25812 * Support <includeonly> in templates loaded through preload= parameter
25813 * (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
25814 * Substitute {{REVISIONID}} correctly in diff display
25815 * (bug 1850) Allow red-links on image pages linked with [[:image:foo]]
25816 * Fix XML validity checks in parser tests on PHP 5.1
25817 * (bug 4377) "[" is not valid in URLs
25818 * (bug 4453) fix for __TOC__ dollar-number breakage
25819 * Convert unnecessary URL escape codes in external links to their equivalent
25820 character before doing anything with them. This prevents certain kinds of
25821 spam filter evasion.
25822 * (bug 4783) : Fix for "{{ns:0}} does not render"
25823 * Improved support for interwiki transclusion
25824 * (bug 1850) Image link to nonexistent file fixed.
25825 * (bug 5167) Add {{SUBPAGENAME}} and {{SUBPAGENAMEE}} variables
25826 * (bug 4949) Missing : in "addedwatchtext" for English and Spanish
25827 * Allow user-defined functions, which work in a similar way to {{GRAMMAR:}}
25828 etc. Registered via an interface similar to tag hooks.
25831 * (bug 2527) Always set destination filename when new file is selected
25832 * (bug 3076) Support MacBinary-encoded uploads from IE/Mac
25833 * (bug 2554) Tell users they are uploading too large file
25834 * Support for a license selection box on Special:Upload, configurable from
25836 * Add 'reupload' and 'reupload-shared' permission keys to restrict new uploads
25837 overwriting existing files; default is the old behavior (allowed).
25840 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
25841 * (bug 3280) Respect 'move' group permission on page moves
25842 * (bug 2613) Clear saved passwords from the form
25843 * IP privacy fix for blocklist search on autoblocks
25844 * Security fix for <math>
25845 * Security fix for tables
25846 * Security fix for Special:Upload license selection list
25847 * Add UploadVerification hook for custom file upload validation/security checks
25848 * Blacklist additional MSIE CSS safety tricks
25849 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
25850 versions for convenient harvesting by automated worms
25851 * Sanitizer CSS comment processing order fix
25852 * Forbid usernames that can be interpreted as titles with namespaces, as that
25853 leads to hard-to-manage names.
25854 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
25855 * Add createpage and createtalk permission keys, allowing a quick
25856 switch to disable page creation for anonymous users.
25857 * (bug 675) Add page protection level for unregistered/new accounts
25858 * User::isNewbie now uses the registration date and $wgAutoconfirmAge
25859 * Add 'deletedhistory' permission key for ability to view deleted history
25860 list via Special:Undelete. Default is off, replicating the 1.5 behavior,
25861 but it can be turned back on for random users to replicate the previous
25863 * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
25864 * (bug 4371) Disallow tilde character in signatures
25865 * Removed broken wgAllowAnonymousMinor and added new group right minoredit
25866 * Added detection for WMF files (application/x-msmetafile), added this
25867 MIME type to the default blacklist. Prevented inline display of images
25868 which are not of known image types. This is in response to
25869 https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
25870 * Blocked users can no longer roll back, change the protection of, or
25871 delete/undelete pages
25872 * Protect against spoofing of X-Forwarded-For header
25873 * XSS issue : now sanitize search query input (fixed in 1.5rc3)
25874 * Remove deprecated $wgOnlySysopsCanPatrol references; use
25875 User::isAllowed( 'patrol' )
25876 per bug 5282. Patch by Alan Harder.
25877 * Prevent registration/login with the username "MediaWiki default"
25880 * Rearranged Special:Movepage form to reduce confusion between destination
25881 title and reason input boxes
25882 * (bug 1956) Hide bot uploads from Special:Newimages
25883 * (bug 3220) Fix escaping of block URLs in Recentchanges
25884 * (bug 3284) Ipblocklist paging, substring search
25885 * Allow filtering of robot edits in Special:Watchlist by setting
25886 $wgFilterRobotsWL = true.
25887 * Fix interlanguage links on special pages when extra namespaces configured
25888 * (bug 3475) anon contrib links on Special:Newpages
25889 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
25890 * (bug 2369) Add separate message for input box on Special:Prefixindex
25891 * (bug 3798) DoubleRedirects no longer has hard coded arrows
25892 * (bug 3803) Fix links on Special:Wantedcategories with miser mode off
25893 * Fix Special:BrokenRedirects on MySQL 5.0
25894 * (bug 3807) Fix 'all' in namespaces drop-down on contribs, rc
25895 * Fail gracefully on invalid namespace in Special:Newpages
25896 * (bug 3762) Define missing Special:Import UI messages
25897 * (bug 3761) Avoid deprecation warnings in Special:Import
25898 * (bug 2894) Enhanced Recent Changes link fixes
25899 * (bug 4059) fix 'hide minor edits' on Recentchangeslinked
25900 * (bug 146) List number of category members in Special:Categories
25901 (patch by Joel Nothman)
25902 * (bug 4090) Fix diff links in Special:Recentchangeslinked
25903 * (bug 4093) '&bot=1' in Special:Contributions now propagate to other links
25904 * Fix display of old recentchanges records for page moves
25905 * (bug 360) Let Whatlinkshere track [[:image:foo]] links
25906 * (bug 3073) Keep search parameter on paging in Special:Newimages
25907 * Removed Special:Validate, it's been superseded by the Review extension
25908 * (bug 4359) red [[user:#id]] links generated in [[special:Log]]
25909 * (bug 1996) Special page to list redirects
25910 * (bug 4334) Add "watch" links to Special:Unwatchedpages
25911 * Generate target user page links in Special:Ipblocklist where appropriate
25912 (i.e. not an autoblock)
25913 * Generate link to talk page of the blocker in Special:Ipblocklist, move
25914 contribs. link of the target next to their name
25915 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
25916 * Move parentheses out of <a> link in Special:Contributions
25917 * (bug 3192): properly check 'limit' parameter on Special:Contributions
25918 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
25919 * Add block, block log and general log links to Special:Contributions
25920 * Add contributions link to block log items
25921 * Added optional "hide own edits" feature to Special:Recentchanges
25922 * (bug 5018) Anchors for each message in Special:Allmessages
25923 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
25924 list pages with less than this number of links. Defaults to 1.
25925 * (bug 4319) Don't show a "create account" link on the login form when
25926 account creation is disabled.
25927 * JavaScript filter for Special:Allmessages
25928 * (bug 3047) Don't mention talk pages on Special:Movepage when there isn't one
25929 * Show links to user page, talk page and contributions page on Special:Newpages
25930 * Special:Export can now export a list of all contributors to an article (off by
25932 * (bug 5372) Add number of files to Special:Statistics
25933 * (bug 2871) Links to talk pages in watchlist editing view
25934 * (bug 5385) Allow hiding anonymous edits on Special:Recentchanges
25935 * (bug 2544) Illogical error reporting order in Special:Userlogin
25936 * (bug 5409) Hide "show/hide patrolled edits" in Special:Recentchanges if
25937 patrolling is disabled
25938 * (bug 5447) Convert first letter of username to uppercase before searching in
25940 * (bug 759) Wrap redirects on the watchlist editing page in a span, class
25942 * (bug 1862) Namespace filtering in watchlists
25945 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
25946 if running prior to 4.2.0 as it causes the call to fail
25947 * (bug 3117) Fix display of upload size and type with tidy on
25948 * (bug 2323) Remove "last" tabindex from history page
25949 * (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]]
25950 * Fix display of read-only lockfile message
25951 * Include software-visible client IP address in Special:Version comment
25952 as a proxy debugging aid
25953 * (bug 3170) Page Title failed to obey MediaWiki:Pagetitle.
25954 wikititlesuffix was removed
25955 * Add ability to break off certain debug topics into additional log files;
25956 use $wgDebugLogGroups to configure and wfDebugLog() to log.
25957 * Edit conflict on recreation of deleted page
25958 * (bug 3216) Don't show empty warning page when no warnings.
25959 * (bug 3218) Use proper quoting on history Compare Revisions button
25960 * Fix upgrade from 1.4 due to version number check breakage [for rc future]
25961 * Fix upgrade from 1.4 with no old revisions
25962 * Remove "info" editing toolbar that was shown in browsers which do not
25963 fully support the editing toolbar, but was found to be too confusing.
25964 * Don't override edit conflict suppression on section edits; section merging
25965 should provide the expected transparency here and fits usage patterns better.
25966 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
25967 * (bug 2078) Don't hide watch tab on preview
25968 * Fix regressions in ChangesList traditional layout
25969 * Fix edit on double-click for move-protected pages in Classic skin
25970 * (bug 3485) Fix bogus warning about filename capitalization when off
25971 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
25972 by default when 'watchdefault' option is on
25973 * Add options to dumpBackup.php for making split/partial dumps by page id
25974 * Added filter options, compression piping, and multiple output streams for
25976 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
25977 * (bug 3598) Update message cache on message page deletion, patch by Tietew
25978 * Added separate noarticletext and newarticletext messages for logged in and
25980 * (bug 3332) Installation now uses Monobook, validates, plus usability
25982 * (bug 3660) Update diff3 detection to work with Windows/Cygwin
25983 * (bug 2330) Don't do funny thinks with "links" in MediaWiki:Undeletedtext
25984 * Two-pass data dump for friendliness to the DB (--stub, then dumpTextPass.php)
25985 * Data dump 'prefetch' mode to read normalized text from a prior dump
25986 (requires PHP 5, XMLReader extension)
25987 * (bug 2773) Print style sheet no longer overrides RTL text direction
25988 * (bug 2938) Update MediaWiki:Exporttext to be more general
25990 * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped
25991 * Added @import for [[MediaWiki:Common.css]] to all skins
25992 * Edit box now remembers scrollbar position on preview
25993 * (bug 3816) Throw edit conflict instead of fatal error when a page is
25994 moved or deleted during section edit
25995 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
25996 * (bug 3291) 'last' diff link for last history line when not at end
25997 * (bug 3667) Add missing global in page move code
25998 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
25999 talk notification on PHP 5.0.5
26000 * (bug 3852) "Redirected from" link no longer obscured on double-redirects
26001 * changed directory hierarchy in images/math/. System upgrades from old to
26002 new hierarchy on the fly.
26003 * (bug 3487) Fix category edit preview with preview-on-bottom
26004 * (bug 918) Search index incorrectly joined words at == headings ==
26005 * (bug 3877) Render math images into temp directory, then move to hashed
26006 subdir so you can render new math images and have them work
26007 * (bug 2392) Fix Atom items content type, upgrade to Atom 1.0
26008 * Allow $wgFeedCacheTimeout of 0 to disable feed caching
26009 * Fix WebRequest::getRequestURL() to strip off the host bits squid prepends
26010 * Require POST for action=purge, to stop bots from purging the cache
26011 * Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth
26012 requirements to the memcached server.
26013 * (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
26014 * (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on
26015 DIRECTORY_SEPARATOR (was wrong on NetWare)
26016 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
26017 * (bug 3939) Don't try to load text for interwiki redirect target
26018 * (bug 3948) Avoid notice warning in debug statement in bad search
26019 * Recognize Special:Search consistently so read whitelist works
26020 * (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due to
26021 unclear language in the spec. Now using the URL, same as the permalink,
26022 which someone else will probably whine about because it's not 'perma'
26023 enough or something.
26024 * (bug 4014) Fix include mode for Allpages on small page sets
26025 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
26026 * (bug 3065) Update both watched namespaces when renaming pages
26027 * Changed mail form to have a bigger message entry box (like for editing
26029 * Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
26030 * (bug 2111) Collapsable exif metadata table, clean up display
26031 * Reduce fractions in display of exif exposure time
26032 * (bug 4048) Optional footer link to site privacy policy
26033 * Don't die() when update.php reaches the end of the warning count
26034 * (bug 1915) Fix edit links when 'direction' used with 'oldid';
26035 using revision ID reported via OutputPage; Skin::editUrlOptions()
26036 * Remove obsolete 'redirect=no' on some edit links
26037 * Include oldid for the second revision on edit link on diff view
26038 * (bug 4035) Fix prev/next revision links on edit page
26039 * (bug 4100, 3049) Add 'edittools' message to hold edit tools, put it
26040 on Special:Upload as well as edit, rearrange edit page pieces a bit.
26041 Copyright warning now above the buttons to ensure it's visible,
26042 template list at the bottom so it can grow.
26043 * Optional summary parameter to action=rollback, for user javascript
26044 * (bug 4167) Fix regression caused by patch for bug 153
26045 * (bug 4169) Use $wgLegalTitleChars in pipe trick conversions
26046 * (bug 4170) Decode HTML character escapes in sort key
26047 * (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
26048 * (bug 4214) Skip redundant action text inserts into the HTML <title>
26049 * (bug 4212) Skip redundant meta-robots tag for default settings
26050 * Fix regression: old version missing from edit links in Nostalgia skin
26051 * (bug 1600) Trigger edit conflict on duplicate section=new submissions
26052 * (bug 4001) Use local variables properly in wikibits.js akeytt()
26053 * Fix regression: old version missing from edit links on CSS/JS pages
26054 * (bug 3211) Include Date, To mail headers when using PEAR::Mail
26055 * (bug 3407) Fix encoding of subject and from/to headers on notification
26056 mails; userMailer() now takes a MailAddress wrapper object instead of
26057 a raw string to abstract things a level.
26058 * Fixed --server override on dumpTextPass.php
26059 * Added plugin interface for dumpBackup, so additional filters and output
26060 sink types can be registered at runtime from an extension
26061 * (bug 349) Fix for some numeric differences not being highlighted
26062 patch by Andrius Ramanauskas
26063 * (bug 4298) Include rc_id on enhanced RC singleton diff links for patrolling
26064 * Did some refactoring on ChangesList.php merging dupe code
26065 * (bug 1586) Fix interwiki generator for wikimedia obscure domains
26066 * (bug 3493) Mark edits patrolled when they are reverted
26067 patch by Leon Planken
26068 * Removed experimental Amethyst skin from default set
26069 * Upgrade old skin preferences properly at Special:Preferences
26070 (used to spontaneously switch to Classic skin for old numeric pref records)
26071 * (bug 3424) Update page_touched for category members on category page creation
26072 * Log views show message when no matches
26073 * Fix raw sitenotice display on database error
26074 * Fix autoconfirm check for old accounts
26075 * (bug 4368) Don't show useless empty preview on new section creation
26076 * Don't show useless empty preview on new page creation
26077 * (bug 4411) Fix messages diff link for classic skin
26078 * (bug 4385) Separate parser cache entries for non-editing users, so section
26079 edit links don't vanish / appear unwanted on protected pages
26080 * (bug 2726, 3397) Fix [[Special:]] and [[:Image]] links in action=render
26081 * (bug 4419) Remove obsolete magnify.png.old
26082 * Removed $wgUseCategoryMagic option, categories are now enabled unconditionally
26083 * (bug 3318) UI workarounds for disabled items in license selector
26084 MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked
26085 Safari: JS will revert to 'non selected' if clicked (but not gray)
26086 MSIE/Mac: indented items now visible (JS hack)
26087 * (bug 714) "plainlinks" class issues in IE, Opera
26088 * (bug 4317) Inconsistent "broken redirects" messages
26089 * Default interface text for "selflinks" tweaked
26090 * (bug 3194) default implementation of translateBlockExpiry
26091 which uses ipboptions
26092 * (bug 4446) $wgExportAllowHistory option to explicitly disable history in
26093 Special:Export form, 'exportnohistory' message to translate live hack.
26094 * Maintenance script to delete unused user accounts
26095 * (bug 912) Search box easier to reach in text browsers (lynx, links)
26096 * $wgParserCacheExpireTime added
26097 * Skip loading of RecentChange.php except where needed
26098 * Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source
26099 size. This is necessary to limit server memory usage.
26100 * Cleanup and error checking on Special:Listredirects
26101 * Clear up some instances of old OutputPage::sysopRequired() function usage
26102 * Improve "upload disabled" notice
26103 * Move parts of index.php to include/Wiki.php in an attempt to both cleanup
26104 index.php and create a MediaWiki-class mediaWiki base object
26105 * (bug 4104) Added OutputPageBeforeHTML hook for tweaking primary wiki output
26106 HTML on final output (cached or not)
26107 * Avoid PHP notice on command-line scripts if empty argument is passed ('')
26108 * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
26109 * (bug 3502) Bowtie symbol for TeX
26110 * (bug 4000) Support for \textstyle et al. in <math>
26111 * (bug 1663) support color in TeX formulas
26112 * (bug 2026) missing glue around \not= (TeX)
26113 * (bug 4576) Missing '>' broke license selector's first option in IE, Opera
26114 * Override $wgLocaltimezone in parser tests for us outside Iceland and UK
26115 * Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT
26116 * Remove redundant 'echo' statements from MonoBook.php
26117 * (bug 1103) Fix up redirect handling for images, categories
26118 Redirects are now followed from the top-level, outside of the Article
26119 content loading and viewing, for clarity and consistency.
26120 * (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
26121 page view (comes after parser cache, if used). Patch by ThomasV.
26122 * Linker::formatComment corrupted the passed title object on PHP 5
26123 if the comment included a section link. Use clone() to make a safe copy.
26124 * Add wfClone() wrapper since we're still using PHP 4 on some servers.
26125 * Remove obsolete killthread.php
26126 * Added wfDie() wrapper, and some manual die(-1), to force the return code
26127 to the shell to return nonzero when we crap out with an error.
26128 * Allow input of the stub from a compressed file instead of stdin
26129 for dumpTextPass.php; easier to get errors back on the shell
26130 * Added an attractive space on the namespace selector on contribs
26131 * Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
26132 Fixes use of named entities in sigs on PHP 5
26133 * (bug 4482) Include move comment on the null edit as well as the redirect
26134 * (bug 3990) Use existing session name if session.auto_start is on
26135 Fixes checks for open sessions, such as the cookie warning on login.
26136 Patch by Zbigniew Braniecki.
26137 * Add cache-safe alternate sitenotice for anonymous users.
26138 (MediaWiki:Anonnotice) This is displayed instead of the regular sitenotice,
26139 if it exists. If not, the regular sitenotice shows. If that doesn't exist,
26140 the value of $wgSiteNotice is used, and if that's null, then nothing is shown.
26141 * Spit the generated LocalSettings code out during the installer as an aid
26142 to debugging issues. (Keep this?)
26143 * Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
26144 when the directory is relocated for typical usage.
26145 * Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
26146 For typical usage this will be a light burden and should reduce confusion
26147 when the configuration is edited.
26148 * Fix $wgCacheEpoch's effect on client-side caching.
26149 * (bug 1122) gray out 'older revision' when viewing first article revision.
26150 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
26151 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
26153 * (bug 3350) Missing label for move talk page checkbox.
26154 * (bug 2108) Sort entries when using category browser
26155 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
26156 * Add ".deps.php" include-file preloaders for some dynamically-loaded
26157 language and skin classes. Should help with the broken base-class
26158 problem under PHP 5 with APC as opcode cache. See details:
26159 https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/4NVSC4LAZX6ACO77QVLRQYAWULAJCKJ2/
26160 * Small changes to tabs in Monobook skin c/o Chris Ware
26161 * (bug 4679) Work around buggy basename() function in PHP5, which breaks
26162 uploads of files starting with multibyte characters on Linux.
26163 wfBaseName() doesn't suffer this bug, and understands backslash on
26164 both Unix and Windows.
26165 * (bug 3603) headscripts variable not hooked up to MonoBook skin
26166 * Allow local cdb-based interwiki cache
26167 * Use the "block", not the "protect" permission, when determining whether to
26168 show a "block user" link in the toolbox
26169 * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
26170 * Suppress useless percentage indicator on output from 7za during dumps
26171 * (bug 4633) Add (previous 200) (next 200) also above catlinks
26172 * (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
26173 pages with only one revision. Fixes message diff link on first edit.
26174 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
26175 * Do not check lag on external storage servers
26176 * Do not tidy interface messages (unless full tidy is set)
26177 * Do not trust equality propagation and give more hints to MySQL
26178 optimizer for revision fetches (avoids index scans)
26179 * Use revision rate for ETA in dump generation; it tends to be more stable
26180 than the per-page count for full-history dumps.
26181 * Include timestamp in wfDebugLog breakouts
26182 * (bug 4469) Namespace-specific notice to be displayed below site-notice
26183 Edit messages like "MediaWiki:Namespacenotice-" plus namespace name
26184 which is blank for main namespace, or like e.g. "User_talk"
26185 * Adjust user login/creation form hooks to work with a captcha plugin
26186 * (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
26187 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
26188 and seems to work ok with other bits. No longer including the IE
26189 workarounds JavaScript for IE 7 and above.
26190 * Fix extra namespace for Bulgarian
26191 * (bug 4303) Add $wgFavicon to change the shorticon icon link from
26192 the default /favicon.ico or disable it (if set to false)
26193 * (bug 3347) strip linebreaks in math error source
26194 * (bug 4841) Warning for non-logged-in edits
26195 * (bug 4867) Leave invalid EXIF date fields unformatted instead of
26196 showing a bogus current timestamp
26197 * Reset $wgActionPaths during parser test; corrects some false failures
26198 in the automated test report.
26199 * (bug 4875) Define a div containing the shared image description
26200 * (bug 4860) Expose Title->userCan() as Hooks
26201 * (bug 4828) Fix genitive month-name variable for cs, pl, uk
26202 * (bug 4842) Fix 'show number of watching users' with enhanced RC
26203 * (bug 4889) Fix image talk namespace for Tamil
26204 * (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries
26205 * (partial bug 3456) Disable auto redirect to Main Page after account creation
26206 * (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages
26207 * Added support for wikidiff2 and similar external diff engines.
26208 * Allow cookies to be shared between multiple wikis with a shared user database
26209 * Blocking some Unicode whitespace characters in usernames. Should check
26210 if some or all should be blocked from all page titles.
26211 * Unknown log types no longer throw notices everywhere in RecentChanges
26212 * (bug 4502, 5017) Don't render potentially hostile deleted page contents
26213 on Special:Undelete by default; show source, with an optional preview.
26214 The revisions list no longer shows the latest text by default, so it can
26215 still be operated if the text is hostile.
26216 * (bug 5013) Check for existence on "return to" links
26217 * Removed trailing whitespace on a bunch more messages.
26218 * Fix missing bad title check in Special:Booksources
26219 * Remove empty booksources string in fy
26220 * Avoid corrupting <gallery> inside <!-- comment -->
26221 * Remove legacy PHPTal code, hasn't been maintained in ages.
26222 * Tweak Userlogin include order for APC issue
26223 * Don't try to link to current page on protection tab
26224 * More exact checking in Title::equals() to fox moves of numerically similar
26225 page titles. (Odd hex title bug on 64-bit.)
26226 * Fix explicit s-maxage=0 on raw pages; should help with proxy issues in
26227 generated stylesheets... hopefully...
26228 * (bug 4685) More fixes for Slovenian project namespace
26229 * Fixed and enhanced a little the Live Preview, which had been broken for some
26231 * Added article size limit, $wgMaxArticleSize
26232 * (bug 4974) Don't follow redirected talk page on "new messages" link
26233 * (bug 4970) Make category paging limits configurable
26234 * (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't
26236 * Make Live Preview an user preference, still controllable by the global
26238 * Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow
26239 updated language code assignments
26240 * (bug 5081) Remove bogus fix for invalid characters in links which simply
26241 broke use of legitimate multiple whitespace characters in bracketed link.
26242 * (bug 4838) Add relative oldids (prev, next, cur) for raw pages
26244 * (bug 5086) Force image resize dimensions on ImageMagick, as for instance
26245 "-resize 100x35!"; some thumbs were off due to differences in rounding and
26246 would be generated smaller than expected.
26247 * (bug 5062) Width sometimes one pixel short when using maximum heights
26248 * Purge thumbnails and metadata cache for action=purge on an image page
26249 * (bug 4273) Bounce back with a message when attempting to submit a new comment
26250 with an empty main textbox (user probably hit Enter in subject field)
26251 * (bug 5141) Gracefully handle the new account link when createaccount off
26252 * (bug 5150 and related) Fix missing ID attribute in HTML namespace selector
26253 * (bug 5152) Proper HTML escaping on subpage breadcrumbs
26254 * (bug 4855) Section edit links now have the section name in the title
26256 * (bug 2115) Support shift-selecting multiple checkboxes with JavaScript.
26257 * (bug 5161) Don't try to load template list for nonexistent pages
26258 * (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
26259 unnecessary hidden UI work when watch/unwatch is performed on edit
26260 * Fixed bogus master fallback in external storage
26261 * (bug 5246) Add speak:none to "hiddenStructure" class in main.css
26262 * Further work on rev_deleted; changed to a bitfield with several data-hiding
26263 options. Not yet ready for production use; Special:Revisiondelete is
26264 incomplete, and the flags are not preserved across page deletion/undeletion.
26265 To try it; add the 'deleterevision' permission to a privileged group.
26266 * (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa
26267 * Add a clickable contribs link in user tool links (rc, watchlist, diff view)
26268 to see how people like it. (There was one in the old hacked-up diff view.)
26269 * (bug 5236) Load wikibits.js before site-customized javascript
26270 * (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
26271 from linktrail, as they're not used anywhere else.
26272 * (bug 4781) Output links with the percent-encoding they're supplied with;
26273 save the normalization for internal link storage. The normalization is a bit
26274 buggy and can make incorrect foldings in the query string and such, so isn't
26275 reliable beyond the hostname where it's used for the spam bulk checker.
26276 * Don't URL-decode in the title attribute for URL links; it can produce false
26277 results that don't code back to their original values.
26278 * (bug 4611) Add user preference (default on) to add new pages to creators's
26280 * (bug 5286) Fix regression in display of missing/bad revision IDs
26281 * (bug 4729) Add user preference that marks a user's edits as patrolled if user
26283 * (bug 4630) Add user preference to prompt users when entering blank edit
26285 * Added optional suggest feature for the search box. Set wgUseAjax to true to
26287 * (bug 5277) Use audio/midi rather that audio/mid
26288 * (bug 5410) Use namespace name when a custom namespace's nstab-NS message is
26290 * (bug 5432) Fix inconsistencies in cookie names when using table prefixes
26291 * Additional protections against HTML breakage in table parsing
26292 * (bug 5355) Include skin name and style JS settings in page source;
26293 fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
26294 when wikibits.js was moved up before user JS inclusion.
26295 * Added $wgColorErrors: if set, database error messages will be highlighted
26296 when running command-line scripts in a Unix terminal.
26297 * (bug 5195) rebuildrecentchanges.php works again; Database::insertSelect now
26298 has a parameter for select options.
26299 * Fix updateSearchIndex.php for new schema
26300 * Fix bogus "filename too short" error when uploading files with a period in the
26301 base name, e.g. "Mr. Zee.png"
26302 * (bug 2139) Show page title in subtitle when viewing "read only" page
26303 * (bug 5452) Update language name for Cree
26305 == Compatibility ==
26307 Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must
26308 upgrade to 4.3 or later.
26310 MediaWiki 1.6 is the last major version to support PHP 4; future versions will
26313 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
26314 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
26318 Several changes to the database have been made from 1.5; these are relatively
26319 minor but do require that the update process be run before the new code will
26322 * A new "templatelinks" table tracks template inclusions.
26323 * A new "externallinks" table tracks URL links; this can be used by a mass
26324 spam-cleanup tool in the SpamBlacklist extension.
26325 * A new "jobs" table stores a queue of pages to update in the background; this
26326 is used to update links in including pages when templates are edited.
26328 To ensure that these tables are filled with data, run refreshLinks.php after
26331 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
26332 changes are made, and there is a slightly higher chance that things could
26333 break. Don't forget to always back up your database before upgrading!
26337 Some output, particularly involving user-supplied inline HTML, may not produce
26338 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
26339 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
26340 recommended on live sites. (This must be set for MathML to display properly in
26346 == MediaWiki 1.5.9 ==
26347 * (bug 3359) Add hooks on completion of file upload
26349 == MediaWiki 1.5.8 ==
26353 MediaWiki 1.5.8 is a security and bugfix maintenance release.
26355 A bug in decoding of certain encoded links could allow injection of raw
26356 HTML into page output; this could potentially lead to XSS attacks.
26358 Some minor UI fixes were also made, see the change log at the bottom of
26362 == MediaWiki 1.5.7 ==
26366 MediaWiki 1.5.7 is a bugfix maintenance release.
26368 Most importantly, a security issue in the installer has been fixed. The bug
26369 affects new installations of 1.5.6 only. If the user specified the MySQL root
26370 password, to allow the installer to create an unprivileged account, the
26371 installer would not only create the new account but also change the root
26372 password to be equal to the password of the new account.
26374 Anyone affected by this bug will need to change the root password back
26375 manually. For information about how to change passwords in MySQL please see:
26376 http://dev.mysql.com/doc/refman/5.1/en/passwords.html
26378 This version includes fixes for compatibility with Internet Explorer 7
26379 beta 2, and various other bugs; see the full changelog at the end of
26383 == MediaWiki 1.5.6 ==
26387 MediaWiki 1.5.6 is a security and bugfix maintenance release.
26389 A bug in edit comment formatting could send PHP into an infinite loop
26390 if certain malformed links were included. In most installations, this
26391 would cause the script to fail after PHP's 30-second failsafe timeout.
26393 Some improvements have been made to the installer which should make
26394 installation possible on a system with a broken MySQL "root" account.
26396 For several other minor fixes, see the complete changelog at the end
26400 == MediaWiki 1.5.5 ==
26404 MediaWiki 1.5.5 is a security and bugfix maintenance release.
26406 Detection for uploads of Windows Metafile (.wmf) images has been added
26407 to help protect against a client-side vulnerability in unpatched Microsoft
26408 Windows operating systems.
26410 Sites which have enabled uploads and added non-standard file types
26411 (such as .ogg, .doc, or .pdf) should upgrade to this release to ensure
26412 that malicious .wmf files can't be uploaded with a fake extension;
26413 such files could put visitors to the site at risk.
26415 For more details on this, see:
26416 https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
26418 Additionally, a maintenance script removeUnusedAccounts.php has been added;
26419 this replaces an older Perl script which had not been updated for the new
26423 == MediaWiki 1.5.4 ==
26427 MediaWiki 1.5.4 is a security and bugfix maintenance release.
26429 A hardcoded internal placeholder string has been replaced with a random
26430 one. This closes a hole where security checks in inline style attributes
26431 could be bypassed, injecting JavaScript code that could execute in
26432 Microsoft Internet Explorer.
26434 Other browsers would not be vulnerable.
26436 Several minor fixes are included in this release, most notably a fix
26437 to clear the "you have new messages" flag properly for usernames
26438 containing spaces when e-mail notification is enabled.
26440 See the changelog at the end of the release notes for a full list of
26444 == MediaWiki 1.5.3 ==
26448 MediaWiki 1.5.3 is a security and bugfix maintenance release.
26450 Validation of the user language option was broken by a code change in
26451 May 2005, opening the possibility of remote code execution as this
26452 parameter is used in forming a class name dynamically created with
26455 The validation has been corrected in this version. All prior 1.5 release
26456 and prelease versions are affected; 1.4 and earlier and not affected.
26458 Additionally several bugs have been fixed; see the changelog later in
26459 this file for a complete list.
26462 == MediaWiki 1.5.2 ==
26466 MediaWiki 1.5.2 is a bugfix maintenance release.
26468 A change in PHP 4.4.1 and PHP 5.1.0RC broke handling of extension and
26469 <pre> sections, causing garbage data to be inserted in output and saved
26470 edits. This version works around the change.
26472 Several other glitches with MySQL 5.0 and PHP 5.0.5 were also fixed;
26473 see the change log below for a complete list.
26476 == MediaWiki 1.5.1 ==
26480 MediaWiki 1.5.1 is a bugfix and security maintenance release, and is a
26481 recommended upgrade for all installations.
26483 This release includes further corrections to the inline CSS style sanitation
26484 which works around a JavaScript "feature" on Microsoft Internet Explorer.
26485 Users of Microsoft Internet Explorer for Windows may be vulnerable to
26486 XSS injections on prior versions; users of standards-compliant browsers
26487 are not vulnerable.
26489 Major fixes include:
26490 * Image pages work again with resizing disabled
26491 * Works in MySQL 5.0 strict mode
26493 There is experimental support in this release for explicitly declaring
26494 the UTF-8 charset in the database; this has been tested with MySQL 5.0.15
26495 but should work on 4.1 as well.
26497 IMPORTANT: Changing this setting on an existing wiki may produce interesting
26498 data corruption, depending on server configuration. Page contents should,
26499 usually, be unaffected, but page titles and other items may be. Limitations
26500 in MySQL's Unicode support mean that characters outside the BMP cannot be used
26501 in page titles or various other fields when using this mode.
26503 Table definitions are in maintenance/mysql5/tables.sql, and the runtime
26504 option to send 'SET NAMES utf8' is set by $wgDBmysql5 = true.
26506 (MySQL 3.23.x and 4.0.x do not support character set declarations; on these
26507 versions MediaWiki simply works with UTF-8 data and MySQL is blissfully
26512 == MediaWiki 1.5.0 final ==
26516 MediaWiki 1.5.0 is the new stable release branch of MediaWiki, and is
26517 recommended for all new installations.
26519 Any wikis running a 1.5 beta or release candidate are strongly recommended
26520 to upgrade to the final release, which includes a number of bug fixes and
26521 a security fix for CSS bugs in Microsoft Internet Explorer.
26523 IMPORTANT: Running a 1.3 or 1.4 wiki and don't want to jump to 1.5 yet?
26524 Be sure to upgrade to 1.3.17 or 1.4.11, also released today. Versions
26525 prior to 1.3.16 and 1.4.10 have a serious data corruption bug which is
26526 triggered by a spambot known to operate in the wild.
26529 === What's new in 1.5? ===
26532 The core table schema has changed significantly. This should make better
26533 use of the database's cache and disk I/O, and make significantly speed up
26534 rename and delete operations on pages with very long edit histories.
26536 Unfortunately this does mean upgrading a wiki of size from 1.4 will require
26537 some downtime for the schema restructuring, but future storage backend
26538 changes should be able to integrate into the new system more easily.
26541 The current revision of a page now has a permanent 'oldid' number assigned
26542 immediately, and the id numbers are now preserved across deletion/undeletion.
26543 A permanent reference to the current revision of a page is now just a matter
26544 of going to the 'history' tab and copying the first link in the list.
26547 Renames of pages are now recorded in Special:Log and the page history.
26548 A handy revert link is available from the log for sysops.
26551 Ever lost track of what you'd done so far during an edit? A 'Show diff'
26552 button on the edit page now makes it easy to remember.
26555 It's now possible to specify the final filename of an upload distinct
26556 from the original filename on your disk.
26558 An image link for a missing file will now take you straight to the upload
26561 More metadata is pre-extracted from uploaded images, which will ease pressure
26562 on disk or NFS volumes used to store images. EXIF metadata is displayed on
26563 the image description page if PHP is configured with the necessary module.
26565 If .svg files are added to the upload whitelist, you can choose to render
26566 them to rasterized .png images for inline display using one of several
26567 external helper programs. See DefaultSettings.php for SVG options.
26570 There are some changes to the user permissions system, with assignable
26571 groups. Note that this does *not* allow you to make pages which are only
26572 accessible to certain groups.
26574 For details see: https://www.mediawiki.org/wiki/Manual:User_rights
26577 User-to-user e-mail can now be restricted to require a mail-back confirmation
26578 first to reduce potential for abuse with false addresses.
26580 Updates to user talk pages and watchlist entries can optionally send e-mail
26584 A somewhat experimental interface for hooking in an external editor
26585 application is included.
26588 A bunch of stuff we forgot to mention.
26591 === What's gone? ===
26594 Wikis must now be encoded in Unicode UTF-8; this has been the default for
26595 some time, but some languages could optionally be installed in Latin-1 mode.
26596 This is no longer supported.
26598 You can check if your current wiki is in Latin-1 mode by using your browser's
26599 "view source"; look for a line like this:
26601 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26603 If it says charset=utf-8, you're ready. If it says charset=iso8859-1,
26604 you may need to convert your data. (English-language wikis avoiding
26605 any accented characters may be able to get away without conversion.)
26608 Some optimization hacks for MySQL 3.x have been removed as part of the schema
26609 clean-up (specifically, the inverse_timestamp fields).
26611 MediaWiki 1.5 may still run on 3.x, but wikis of non-trivial size should
26612 very seriously consider upgrading to a more modern release. MySQL 3.x support
26613 will probably be entirely dropped in the next major release.
26615 Special:Maintenance
26616 These tools were, ironically enough, not really maintained. This special
26617 page has been removed; insofar as some of its pieces were useful and haven't
26618 already been supplanted by other special pages they should be rewritten in
26619 an efficient and safe manner in the future.
26625 Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8.
26626 A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of
26627 old page text entries, but other metadata fields (titles, comments etc) need
26628 to be pre-converted. The standard upgrade process does not yet fully automate
26629 this, but you can try the alternate partial-upgrader in upgrade1_5.php.
26631 The upgrade from 1.4 to 1.5 schema has not been tested for all cases, so
26632 it's possible you may experience problems in some combinations.
26635 The text entries of deleted pages are no longer removed from the main
26636 text table on deletion. If you provide public backup dumps of your databases,
26637 you will probably want to use the new XML-format dump generator, available
26638 as maintenance/dumpBackup.php.
26640 For more information on how we run our own public data dumps at Wikimedia,
26641 see http://meta.wikimedia.org/wiki/Data_dumps
26644 The table definitions for PostgreSQL install are out of date. PostgreSQL
26645 support may return in later releases, pending appropriate patches.
26648 Some users may encounter installation problems with MySQL 4.1 or higher
26649 due to strange charset encoding / collation configurations. Try setting
26650 to 'latin1' or 'utf8' if you encounter problems.
26654 == MediaWiki 1.5 release candidate 4 ==
26658 MediaWiki 1.5rc4 is a preview release of the new 1.5 release series.
26659 It fixes compatibility with PHP 5.1, and corrects two cross-site scripting
26662 * <math> tags were handled incorrectly when TeX rendering support is off,
26663 as in the default configuration.
26664 * Extension or <nowiki> sections in Wiki table syntax could bypass HTML
26665 style attribute restrictions for cross-site scripting attacks against
26666 Microsoft Internet Explorer
26668 Wikis where the optional math support has been *enabled* are not vulnerable
26669 to the first, but are vulnerable to the second.
26673 == MediaWiki 1.5 release candidate 3 ==
26677 MediaWiki 1.5rc3 is a preview release of the new 1.5 release series.
26678 It fixes several major problems in 1.5rc2:
26680 * Fixed a cross-site scripting injection in the search form
26681 (broken since 1.5beta1)
26683 * Fixed upgrades from 1.4 database schema
26684 (broken since 1.5rc2)
26686 1.3 and 1.4 releases are not vulnerable to the XSS bug, but anyone
26687 running an earlier 1.5 beta or release candidate should upgrade
26691 == MediaWiki 1.5 release candidate 2 ==
26695 MediaWiki 1.5rc2 is a preview release of the new 1.5 release series.
26696 Numerous bug fixes since last beta, plus a security fix; see change
26697 log below for full details.
26699 A flaw in the interaction between extensions and HTML attribute
26700 sanitization was discovered which could allow unauthorized use
26701 of offsite resources in style sheets, and possible exploitation
26702 of a JavaScript injection feature on Microsoft Internet Explorer.
26704 This version expands the returned text and properly checks it
26707 A 1.5rc1 release was mistakenly made from the incorrect source code
26708 branch; 1.5rc2 is identical to the actual 1.5rc1 in revision control
26709 except for version number.
26712 == MediaWiki 1.5 beta 4 ==
26716 MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series.
26717 A number of bugs have been fixed since beta 3; see the full changelist below.
26720 == MediaWiki 1.5 beta 3 ==
26724 MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release
26725 series, with a security update over beta 2.
26727 Incorrect escaping of a parameter in the page move template could
26728 be used to inject JavaScript code by getting a victim to visit a
26729 maliciously constructed URL. Users of vulnerable releases are
26730 recommended to upgrade to this release.
26732 Vulnerable versions:
26733 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
26734 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
26735 * 1.3 legacy series: not vulnerable
26737 This release also includes several bug fixes and localization updates.
26738 See the changelog at the end of this file for a detailed list.
26742 == MediaWiki 1.5 beta 2 ==
26746 MediaWiki 1.5 beta 2 is a preview release of the new 1.5 release series.
26747 While most exciting new bugs should have been ironed out at this point,
26748 third-party wiki operators should probably not run this beta release
26749 on a public site without closely following additional development.
26751 Anyone who _has_ been running beta 1 is very very strongly advised to
26752 upgrade to beta 2, as it fixes many bugs from the previous beta including
26753 a couple of HTML and SQL injections.
26755 This release should be followed by one or two release candidates and
26756 a 1.5.0 final within the next few weeks.
26758 Beta upgraders, note there are some minor database changes. For upgrades
26759 from 1.4, see the file UPGRADE for details on significant database and
26760 configuration file changes.
26762 Beta 2 includes a preliminary command-line XML wiki dump importer tool,
26763 maintenance/importDump.php, paired with maintenance/dumpBackup.php.
26764 These use the same format as Special:Export and Special:Import, able
26765 to package a wiki's entire page set independent of the backend database
26766 and compression format.
26769 == MediaWiki 1.5 beta 1 ==
26773 MediaWiki 1.5 beta 1 is a preview release, pretty much feature complete,
26774 of the new 1.5 release series. There are several known and likely a number
26775 of unknown bugs; it is not recommended to use this release in a production
26776 environment but would be recommended for testing in mind of an upcoming
26779 A number of significant changes have been made since the alpha releases,
26780 including database changes and a reworking of the user permissions settings.
26781 See the file UPGRADE for details of upgrading and changing your prior
26782 configuration settings for the new system.
26786 == MediaWiki 1.5 alpha 2 ==
26790 MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
26791 and a security update.
26793 Incorrect handling of page template inclusions made it possible to
26794 inject JavaScript code into HTML attributes, which could lead to
26795 cross-site scripting attacks on a publicly editable wiki.
26797 Vulnerable releases and fix:
26798 * 1.5 prerelease: fixed in 1.5alpha2
26799 * 1.4 stable series: fixed in 1.4.5
26800 * 1.3 legacy series: fixed in 1.3.13
26801 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
26804 == MediaWiki 1.5 alpha 1 ==
26808 This is a testing preview release, being put out mainly to aid testers in
26809 finding installation bugs and other major problems. It is strongly recommended
26810 NOT to run a live production web site on this alpha release.
26812 ** WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH **
26813 ** TERMITES, ROT YOUR TEETH, GROW HAIR ON YOUR PALMS, AND PASTE **
26814 ** INNUENDO INTO YOUR C.V. RIGHT BEFORE A JOB INTERVIEW! **
26815 ** DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE. **
26818 === Smaller changes since 1.4 ===
26820 Various bugfixes, small features, and a few experimental things:
26822 * 'live preview' reduces preview reload burden on supported browsers
26823 * support for external editors for files and wiki pages:
26824 https://www.mediawiki.org/wiki/Manual:External_editors
26825 * Schema reworking:
26826 https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004
26827 * (bug 15) Allow editors to view diff of their change before actually submitting
26829 * (bug 190) Hide your own edits on the watchlist
26830 * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN.
26831 * (bug 1015) support for the full wikisyntax in <gallery> captions.
26832 * (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload.
26833 * (bug 1352) Images on description pages now get thumbnailed regardless of
26834 whether the thumbnail is larger than the original.
26835 * (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of
26837 * (bug 1668) 'Date format' supported for other languages than English, see:
26838 https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/5SH5IDCNYZTRBQQZ33GS7WYDEJ3PSEZE/
26839 * (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff
26840 database revision id, useful for proper citation.
26841 * (bug 1998) Updated the Russian translation.
26842 * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType
26843 * (bug 2084) Fixed a regular expression in includes/Title.php that was accepting
26844 invalid syntax like #REDIRECT [[foo] in redirects
26845 * It's now possible to invert the namespace selection at Special:Allpages and
26846 Special:Contributions
26847 * No longer using sorbs.net to check for open proxies by default.
26848 * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true
26849 if one wishes to enable uploads.
26850 * Supplying a reason for a block is no longer mandatory
26851 * Language conversion support for category pages
26852 * $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory;
26853 * Special:Movepage can now take parameters like Special:Movepage/Page_to_move
26854 (used to just be able to take parameters via a GET request like
26855 index.php?title=Special:Movepage&target=Page_to_move)
26856 * (bug 2151) The delete summary now includes editor name, if only one has edited
26858 * (bug 2105) Fixed from argument to the PHP mail() function. A missing space
26859 could prevent sending mail with some versions of sendmail.
26860 * (bug 2228) Updated the Slovak translation
26864 === Changes since 1.5alpha1 ===
26866 * (bug 73) Category sort key is set to file name when adding category to
26867 file description from upload page (previously it would be set to
26868 "Special:Upload", causing problems with category paging)
26869 * (bug 419) The contents of the navigation toolbar are now editable through
26870 the MediaWiki namespace on the MediaWiki:navbar page.
26871 * (bug 498) The Views heading in MonoBook.php is now localizable
26872 * (bug 898) The wiki can now do advanced sanity check on uploaded files
26873 including virus checks using external programs.
26874 * (bug 1692) Fix margin on unwatch tab
26875 * (bug 1906) Generalize project namespace for Latin localization, update
26877 * (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs
26878 * (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order
26879 to preserve the correct flow of text on RTL wikis.
26880 * (bug 2067) Fixed crash on empty quoted HTML attribute
26881 * (bug 2075) Corrected namespace definitions in Tamil localization
26882 * (bug 2079) Removed links to Special:Maintenance from movepagetext message
26883 * (bug 2094) Multiple use of a template produced wrong results in some cases
26884 * (bug 2095) Triple-closing-bracket thing partly fixed
26885 * (bug 2110) "noarticletext" should not display on Image page for "sharedupload"
26887 * (bug 2150) Fix tab indexes on edit form
26888 * (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
26889 * (bug 2176) Section edit 'show changes' button works correctly now
26890 * (bug 2178) Use temp dir from environment in parser tests
26891 * (bug 2217) Negative ISO years were incorrectly converted to BC notation
26892 * (bug 2234) allow special chars in database passwords during install
26893 * Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is
26894 now the wikisyntax representation of wfMsgForContent()
26895 * Fix for reading incorrectly re-gzipped HistoryBlob entries
26896 * HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
26897 multiple-revision pulls
26898 * Add $wgLegacySchemaConversion update-time option to reduce amount of
26899 copying during the schema upgrade: creates HistoryBlobCurStub reference
26900 records in text instead of copying all the cur_text fields. Requires
26901 that the cur table be left in place until/unless such fields are migrated
26902 into the main text store.
26903 * Special:Export now includes page, revision, and user id numbers by
26904 default (previously this was disabled for no particular reason)
26905 * dumpBackup.php can dump the full database to Export XML, with current
26906 revisions only or complete histories.
26907 * The group table was renamed to groups because "group" is a reserved word in
26908 SQL which caused some inconveniances.
26909 * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o,
26910 ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE
26912 * Fixed a bug in Special:Newimages that made it impossible to search for '0'
26913 * Added language variant support for Icelandic, now supports "Íslenzka"
26914 * The #p-nav id in MonoBook is now #p-navigation
26915 * Putting $4 in msg:userstatstext will now give the percentage of
26916 admnistrators out of normal users.
26917 * links and brokenlinks tables merged to pagelinks; this will reduce pain
26918 dealing with moves and deletes of widely-linked pages.
26919 * Add validate table and val_ip column through the updater.
26920 * Simple rate limiter for edits and page moves; set $wgRateLimits
26921 (somewhat experimental; currently needs memcached)
26922 * (bug 2262) Hide math preferences when TeX is not enabled
26923 * (bug 2267) Don't generate thumbnail at the same size as the source image.
26924 * Fix rebuildtextindex.inc for new schema
26925 * Remove linkscc table code, no longer used.
26926 * (bug 2271) Use faster text-only link replacement in image alt text
26927 instead of rerunning expensive link lookup and HTML generation.
26928 * Only build the HTML attribute whitelist tree once.
26929 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
26930 that does both numeric and named chars: Sanitizer::decodeCharReferences
26931 * Removed some obsolete UTF-8 converter functions
26932 * Fix function comment in debug dump of SQL statements
26933 * (bug 2275) Update search index more or less right on page move
26934 * (bug 2053) Move comment whitespace trimming from edit page to save;
26935 leaves the whitespace from the section comment there on preview.
26936 * (bug 2274) Respect stub threshold in category page list
26937 * (bug 2173) Fatal error when removing an article with an empty title from the
26939 * Removed -f parameter from mail() usage, likely to cause failures and bounces.
26940 * (bug 2130) Fixed interwiki links with fragments
26941 * (bug 684) Accept an attribute parameter array on parser hook tags
26942 * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
26943 LDAP authentication plugin
26944 * (bug 2034) Armor HTML attributes against template inclusion and links munging
26946 === Changes since 1.5alpha2 ===
26948 * (bug 2319) Fix parse hook tag matching
26949 * (bug 2329) Fix title formatting in several special pages
26950 * (bug 2223) Add unique index on user_name field to prevent duplicate accounts
26951 * (bug 1976) fix shared user database with a table prefix set
26952 * (bug 2334) Accept null for attribs in wfElement without PHP warning
26953 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
26954 with proper validation checks. (regression from fix for 2304)
26955 * Disallow close tags and enforce empty tags for <hr> and <br>
26956 * Changed user_groups format quite a bit.
26957 * (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line
26958 * (bug 2367) Insert correct redirect link record on page move
26959 * (bug 2372) Fix rendering of empty-title inline interwiki links
26960 * (bug 2384) Fix typo in regex for IP address checking
26961 * (bug 650) Prominently link MySQL 4.1 help page in installer if a possible
26962 version conflict is detected
26963 * (bug 2394) Undo incompatible breakage to {{msg:}} compatibility includes
26964 * (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1
26965 when the default charset is set to utf8
26966 * (bug 2400) don't send confirmation mail on account creation if
26967 $wgEmailAuthentication is false.
26968 * (bug 2172) Fix problem with nowiki beeing replaced by marker strings
26969 when a template with a gallery was used.
26970 * Guard Special:Userrights against form submission forgery
26971 * (bug 2408) page_is_new was inverted (whoops!)
26972 * Added wfMsgHtml() function for escaping messages and leaving params intact
26973 * Fix ordering of Special:Listusers; fix groups list so it shows all groups
26974 when searching for a specific group and can't be split across pages
26975 * (bug 1702) Display a handy upload link instead of a useless blank link
26976 for [[media:]] links to nonexistent files.
26977 * (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
26978 * (bug 1805) Initialise $wgContLang before $wgUser
26979 * (bug 2277) Added Friulian language file
26980 * (bug 2457) The "Special page" href now links to the current special page
26982 * (bug 1120) Updated the Czech translation
26983 * A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath
26984 * A new magic word, {{SERVERNAME}}, returns $wgServerName
26985 * A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the image
26987 * Special:Imagelist displays titles with " " instead of "_"
26988 * Less gratuitous munging of content sample in delete summary
26989 * badaccess/badaccesstext to supercede sysop*, developer* messages
26990 * Changed $wgGroupPermissions to more cut-n-paste-friendly format
26991 * 'developer' group deprecated by default
26992 * Special:Upload now uses 'upload' permission instead of hardcoding login check
26993 * Add 'importupload' permission to disable direct uploads to Special:Import
26994 * (bug 2459) Correct escaping in Special:Log prev/next links
26995 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many
26996 things for the current parser to handle cleanly
26997 * (bug 2467) Added a Turkish language file
26998 * Fixed a bug in Special:Contributions that caused the namespace selection to
26999 be forgotten between submits
27000 * Special:Watchlist/edit now has namespace subheadings
27001 * (bug 1714) the "Save page" button now has right margin to separate it from
27002 "Show preview" and "Show changes"
27003 * Special:Statistics now supports action=raw, useful for bots designed to
27004 harwest e.g. article counts from multiple wikis.
27005 * The copyright confirmation box at Special:Upload is now turned off by default
27006 and can be turned back on by setting $wgCopyrightAffirmation to a true value.
27007 * Restored prior text for password reminder button and e-mail, replacing
27008 the factually inaccurate text that was there.
27009 * (bug 2178) Fix temp dir check again
27010 * (bug 2488) Format 'deletedtext' message as wikitext
27011 * (bug 750) Keep line endings consistent in LocalSettings.php
27012 * (bug 1577) Add 'printable version' tab in MonoBook for people who don't
27013 realize you can just hit print to get a nicely formatted printable page.
27014 * Trim whitespace from option values to weather line-ending corruption problems
27015 * Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA)
27016 * (bug 2504) Updated the Finnish translation
27017 * (bug 2506, 2512) Updated the Nynorsk translation
27018 * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE
27019 documentation about edit and read whitelists.
27020 * (bug 2515) Fix incremental link table update
27021 * Removed some wikipedia-specifica from LanguageXx.php's
27022 * (bug 2496) Allow MediaWiki:edithelppage to point to external page
27023 * Added a versionRequired() function to OutputPage, useful for extension
27024 writers that want to control what version of MediaWiki their extension
27026 * Serialized user objects now checked for versioning
27027 * Fix for interwiki link regression
27028 * Printable link shorter in monobook
27029 * Experimental Latin-1-and-replication-friendly upgrader script
27030 * (bug 2520) Don't show enotif options when disabled
27032 == Changes since 1.5beta1 ==
27034 * (bug 2531) Changed the interwiki name for sh (Serbocroatian) to
27035 Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski))
27036 * Nonzero return code for command-line scripts on wfDebugDieBacktrace()
27037 * Conversion fix for empty old table in upgrade1_5.php
27038 * Try reading revisions from master if no result on slave
27039 * (bug 2538) Suppress notice on user serialized checks
27040 * Fix paging on Special:Contributions
27041 * (bug 2541) Fix unprotect tab
27042 * (bug 1242) category list now show on edit page
27043 * Skip sidebar entries where link text is '-'
27044 * Convert non-UTF-8 URL parameters even if referer is local
27045 * (bug 2460) <img> width & height properly filled when resizing image
27046 * (bug 2273) deletion log comment used user interface language
27047 * Try reading revision _text_ from master if no result on slave
27048 * Use content-language message cache for raw view of message pages
27049 * (bug 2530) Not displaying talk pages on Special:Watchlist/edit
27050 * Fixed a bug that would occour if $wgCapitalLinks was set to false, a user
27051 agent could create a username that began with a lower case letter that was
27052 not in the ASCII character set ( now user $wgContLang->ucfirst() instead of
27054 * Moved the user name / password validity checking from
27055 LoginForm::addNewAccountInternal() to two new functions,
27056 User::isValidUserName() and User::isValidPassword(), extensions can now do
27057 these checks without rewriting code.
27058 * Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-'
27059 * Fixed a bug where the watchlist count without talk pages would be off by a
27061 * upgrade1_5.php uses insert ignore, allows to skip image info initialization
27062 * Fix namespaces in category list.
27063 * Add rebuildImages.php to update image metadata fields
27064 * Special:Ancientpages is expensive in new schema for now
27065 * (bug 2568) Fixed a logic error in the Special:Statistics code which caused
27066 the displayed percentage of admins to be totally off.
27067 * (bug 2560) Don't show blank width/height attributes for missing size
27068 * Don't show bogus messages about watchlist notifications when disabled
27069 * Don't show old debug messages in watchlist
27070 * (bug 2576) Fix recording of transclusion links
27071 * (bug 2577) Allow sysops to enter non-standard block times
27072 * Fixed a bug where Special:Contributions wouldn't remember the 'invert'
27073 status between next/previous buttons.
27074 * Move MonoBook printable link from tab to sidebar
27075 * (bug 2567) Fix HTML escaping on category titles in list
27076 * (bug 2562) Show rollback link for current revisions on diff pages
27077 * (bug 2583) Add --missinig option on rebuildImages.php to add db entries
27078 for uploaded files that don't have them
27079 * (bug 2572) Fix edit conflict handling
27080 * (bug 2595) Show "Earlier" and "Latest" links on history go to the first/last
27081 page in the article history pager.
27082 * Don't show empty-page text in 'Show changes' on new page
27083 * (bug 2591) Check for end, fix limits on Whatlinkshere
27084 * (bug 2584) Fix output of subcategory list
27085 * (bug 2597) Don't crash when undeleting an image description page
27086 * (bug 2564) Don't show "editingold" warning for recent revision
27087 * Various code cleanup and HTML escaping fixlets
27088 * Copy IRC-over-UDP update option from REL1_4
27089 * (bug 2548) Keep summary on 'show changes' of section edit
27090 * Move center on toc to title part to avoid breaking .toc style usage
27091 * HTML sanitizer: correct multiple attributes by keeping last, not first
27092 * (bug 2614) Fix section edit links on diff-to-current with oldid set
27093 Also fix navigation links on current-with-oldid view.
27094 * (bug 2620) Return to prior behavior for some more things (such as
27095 subpage parent links) on current-diff view.
27096 * (bug 2618) Fix regression from another fix; show initial preview for
27097 categories only if the page does not exist.
27098 * (bug 2625) Keep group & user settings when paging in Listusers
27099 * (bug 2627) Fix regression: diff radio button initial selection
27100 * Copy fix for old search URLs with Lucene search plugin from REL1_4
27101 * (bug 619) Don't use incompatible diff3 executable on non-Linux systems.
27102 * (bug 2631) Fix Hebrew namespaces.
27103 * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list
27104 * (bug 2644, 2645) "cur" diff links in page history, watchlist and
27105 recentchanges should specify current ID explicitly.
27106 * (bug 2609) Fix text justification preferenced with MonoBook skin.
27107 * (bug 2594) Display article tab as red for non-existent articles.
27108 * (bug 2656) Fix regression: prevent blocked users from reverting images
27109 * (bug 2629) Automatically capitalize usernames again instead of
27110 rejecting lowercase with a useless error message
27111 * (bug 2661) Fix link generation in contribs
27112 * Add support for &preload=Page_name (load text of an existing page into
27113 edit area) and &editintro=Page_name (load text of an existing page instead
27114 of MediaWiki:Newpagetext) to &action=edit, if page is new.
27115 * (bugs 2633, 2672, 2685, 2695) Fix Estonian, Portuguese, Italian, Finnish and
27116 Spanish numeric formatting
27117 * Fixed Swedish numeric formatting
27118 * (bug 2658) Fix signature time, localtime to match timezone offset again
27119 * Files from shared repositories (e.g. commons) now display with their
27120 image description pages when viewed on local wikis.
27121 * Restore compatibility namespace aliases for French Wikipedia
27122 * Fix diff order on Enhanced RC 'changes' link
27123 * (bug 2650) Fix national date type display on wikis that don't support
27124 dynamic date conversion.
27125 * FiveUpgrade: large table hacks, install iw_trans update before links
27126 * (bug 2648) Rename namespaces in Afrikaanse
27127 * Special:Booksources checks if custom list page exists before using it
27128 * (bug 1170) Fixed linktrail for da: and ru:
27129 * (bug 2683) Really fix apostrophe escaping for toolbox tips
27130 * (bug 923) Fix title and subtitle for rclinked special page
27131 * (bug 2642) watchdetails message in several languages used <a></a> instead of
27133 * (bug 2181) basic CSB language localisation by Tomasz G. Sienicki (thanks for
27135 * Fix correct use of escaping in edit toolbar bits
27136 * Removed language conversion support from Icelandic
27137 * (bug 2616) Fix proportional image scaling, giving correct height
27138 * (bug 2640) Include width and height attributes on unscaled images
27139 * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs
27140 * (bug 1109) Suppress compressed output on 304 responses
27141 * (bug 2674) Include some site configuration info in export data:
27142 namespaces definitions, case-sensitivity, site name, version.
27143 * Use xml:space="preserve" hint on export <text> elements
27144 * Make language variant selection work again for zh
27146 == Changes since 1.5beta2 ==
27148 * Escaped & correctly in Special:Contributions
27149 * (bug 2534) Hide edit sections with CSS to make right click to edit section
27151 * (bug 2708) Avoid undefined notice on cookieless login attempt
27152 * (bug 2188) Correct template namespace for Greek localization
27153 * Fixed number formatting for Dutch
27154 * (bug 1355) add class noprint to commonPrint.css
27155 * (bug 2350) Massive update for Limburgish (li) language using Wikipédia
27156 * Massive update for Arab (ar) language using Wikipédia
27157 * (bug 1560) Massive update for Kurdish (ku) language using Wikipédia
27158 * (bug 2709) Some messages were not read from database
27159 * (bug 2416) Don't allow search engine robots to index or follow nonexisting
27161 * Fix escaping in page move template.
27162 * (bug 153) Discrepancy between thumbnail size and <img> height attribute
27164 == Changes since 1.5beta3 ==
27166 * Fix talk page move handling
27167 * (bug 2721) New language file for Vietnamese with the Vietnamese number
27169 * (bug 2749) would appear as a literal in image galleries for Cs, Fr,
27171 * (bug 787) external links being rendered when they only have one slash
27172 * Fixed a missing typecast in Language::dateFormat() that would cause some
27173 interesting errors with signitures.
27174 * (bug 2764) Number format for Nds
27175 * (bug 1553) Stop forcing lowercase in Monobook skin for German language.
27176 * (bug 1064) Implements Special:Unusedcategories
27177 * (bug 2311) New language file for Macedonian
27178 * Fix nohistory message on empty page history
27179 * Fix fatal error in history when validation on
27180 * Cleaned up email notification message formatting
27181 * Finally fixed Special:Disambiguations that was broke since SCHEMA_WORK
27182 * (bug 2761) fix capitalization of "i" in Turkish
27183 * (bug 2789) memcached image metadata now cleared after deletion
27184 * Add serialized version number to image metadata cache records
27185 * (bug 2780) Fix thumbnail generation with GD for new image schema
27186 * (bug 2791) Slovene numeric format
27187 * (bug 655) Provide empty search form when searching for nothing
27188 * Nynorsk numeric format fix
27189 * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off
27190 * (bug 2833) Fix bug in previous fix
27191 * With $wgCapitalLinks off, accept off-by-first-letter-case in 'go' match
27192 * Optional parameters for [[Special:Listusers]]
27193 * (bug 2832) [[Special:Listadmins]] redirects to [[Special:Listusers/sysop]]
27194 * (bug 785) Parser did not get out of <pre> with list elements
27195 * Some shared upload fixes
27196 * (bug 2768) section=new on nonexistent talk page does not add heading
27197 * support preload= parameter for section=new
27198 * show comment subject in preview when using section=new
27199 * use comment form when creating a new talk page
27200 * (bug 460) Properly handle <center> tags as a block.
27201 * Undo inconsistent editing behavior change
27202 * (bug 2835) Back out fix for bug 2802, caused regressions in category sort
27203 * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
27204 * (bug 2901) Number format for Catalan
27205 * Special:Allpages performance hacks: index memcached caching, removed
27206 inverse checkbox, use friendlier relative offsets in index build
27207 * Bring back "Chick" skin for mobile devices. It needs testing.
27208 * Fix spelling of $wgForwardSearchUrl in DefaultSettings.php
27209 * Specify USE INDEX on Allpages chunk queries, sometimes gets lost
27210 due to bogus optimization
27211 * (bug 275) Section duplication fix
27212 * Remove unused use of undefined variable in UserMailer
27213 * Fix notice on search index update due to non-array
27214 * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
27215 * (bug 2931) Fix additional notices on reference use in PHP 4.4.0
27216 * (bug 2774) Add three new $wgHooks to LogPage which enable extensions to add
27217 their own logtypes, see extensions/Renameuser/SpecialRenameuser.php for an
27219 * (bug 740) Messages from extensions now appear in Special:Allmessages
27220 * (bug 2857) fixed parsing of lists in <pre> sections
27221 * (bug 796) Trackback support
27222 * Fix 1.5 regression: weird, backwards diff links on new pages in enhanced RC
27223 are now suppressed as before.
27225 * "uselang" and "useskin" URL parameters can now be used in the URL when
27226 viewing a page, to change the language and skin of a page respectively.
27227 * Skins can now be previewed in preferences
27228 * (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook,
27230 * Wrap revision insert & page update in a transaction, rollback on late
27232 * (bug 2953) 'other' didn't work in Special:Blockip when localized
27233 * (bug 2958) Rollback and delete auto-summary should be in the project's
27235 * Removed useless protectreason message
27236 * Spelling fix: $wgUrlProtcols -> $wgUrlProtocols
27237 * Switch Moldovan local name to cyrillic
27238 * Fix typo in undefined array index access prevention
27239 * (bug 2947) Update namespaces for sr localization
27240 * (bug 2952) Added Asturian language file with translated namespaces
27241 * (bug 2676) Apply a protective transformation on editing input/output
27242 for browsers that hit the Unicode blacklist. Patch by plugwash.
27243 * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php
27244 * compressOld.php disabled, as it's known to be broken.
27247 === Changes since 1.5beta4 ===
27249 * Fix Special:Allmessages under PHP 5
27250 * (bug 2911) Special:Watchlist allowed only one type of limit at a time
27251 * (bug 693) Special:Allmessages is excessively wide and redundant
27252 * (bug 3001) Updated and applied live hack for recentchanges-based watchlist
27253 * (bug 145) Finish 'exclude redirect' implementation in search form
27254 * Rearranged Special:Movepage form to reduce confusion between destination
27255 title and reason input boxes
27256 * (bug 2527) Always set destination filename when new file is selected
27257 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
27258 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
27259 if running prior to 4.2.0 as it causes the call to fail
27260 * (bug 3117) Fix display of upload size and type with tidy on
27261 * (bug 1487) invalid html on empty list in banlist
27262 * (bug 3017) Hotkey conflict for delete and show changes
27263 * made pixel unit translateable and blocklistline now eats infiniteblock
27265 * (bug 3092) Wrong numerical separator for big numbers in Serbian.
27266 * (bug 2855) Credit for a uniq author showed its realname even with
27267 $wgAllowRealName=false.
27268 * New special page: SpecialMostlinked
27269 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
27270 * Fix display of read-only lockfile message
27271 * Added a new hook, 'AddNewAccount', which is run after account creation
27272 * Update all stats fields on recount.sql
27273 * Include software-visible client IP address in Special:Version comment
27274 as a proxy debugging aid
27275 * (bug 3162) Fix 'undefined property page_is_new' error on watchlist
27276 * (bug 1734) granting db permissions failed with db usernames containg '-'
27277 * (bug 3170) wikititlesuffix was removed, use pagetitle instead
27278 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
27279 * (bug 3190) Added some date format choices for language sr
27280 * (bug 1334) LanguageGa.php update
27281 * (bug 1020) Changing user interface language does not work immediately
27282 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
27283 * (bug 3204) Fix typo breaking special pages in fy localization
27284 * (bug 3210) Fix Media: links with remote image URL path
27285 * (bug 3220) Fix escaping of block URLs in Recentchanges
27286 * (bug 3238): Updated LanguageNn.php for 1_5 branch
27287 * (bug 3192): properly check 'limit' parameter on Special:Contributions
27288 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
27289 * Fix URL sanitization in HTML attributes, which broke in this branch
27290 * (bug 3475) anon contrib links on Special:Newpages
27293 === Changes since 1.5rc2 ===
27295 * Fix upgrade from 1.4 due to version number check breakage
27296 * Fix upgrade from 1.4 with no old revisions
27297 * (bug 2108) Sort entries when using category browser
27298 * XSS issue : now sanitize search query input
27301 === Changes since 1.5rc3 ===
27303 * (bug 3280) Respect 'move' group permission on page moves
27304 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
27305 * Security fix for <math>
27306 * Security fix for tables
27309 === Changes since 1.5rc4 ===
27311 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
27312 * (bug 2078) Don't hide watch tab on preview
27313 * (bug 3306) Document $wgLocalTZoffset
27314 * Support SVG rendering with rsvg
27315 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
27316 * (bug 3127) Render large SVGs at image page size correctly
27317 * (bug 3448) Set page_len on undelete
27318 * (bug 2800) Don't scale up small iamges on |thumb| without explicit size
27319 * Use the real file link instead of the default-size rasterized version for
27320 large SVG images on image description page
27321 * Include the file name/type/size line for non-resized images
27322 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
27323 format as designed. Documentation comments updated.
27324 * (bug 1423) LanguageJa.php update
27325 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
27326 * (bug 3485) Fix bogus warning about filename capitalization when off
27327 * (bug 2792) Update rebuildrecentchanges.inc for new schema
27328 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
27329 * (bug 3489) PHP 5.1 compat problem with captioned images
27330 * (bug 3350) Missing label for move talk page checkbox.
27331 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
27332 by default when 'watchdefault' option is on
27333 * (bug 3182) Clear link cache during import to prevent memory leak
27334 * (bug 3573) Full Greek Translation
27335 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
27336 * (bug 3598) Update message cache on message page deletion, patch by Tietew
27337 * Blacklist additional MSIE CSS safety tricks
27340 === Changes since 1.5.0 ===
27342 * (bug 3629) Fix date & time format for Frisian
27343 * (bug 3641) Fix handling of unrecognized file uploads with known extensions
27344 * (bug 3643) Fix image page display of large images with resizing disabled
27345 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
27346 versions for convenient harvesting by automated worms
27347 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
27348 * Backport fix for reference usage notice in Special:Search on PHP 4.4.0
27349 * Backport database connect error display fix from HEAD
27350 * (bug 2773) Print style sheet no longer overrides RTL text direction
27351 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
27353 * Wrap message page insertions in a transaction to speed up installation
27354 * Fix Special:MovePage invalid HTML attribute for reason textarea
27355 * Avoid notice warning on edit with no User-Agent header
27356 * (bug 3734) Swapped out obsolete recount.sql with initStats.php
27357 * (bug 3735) Fix to run under MySQL 5's strict mode
27358 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
27359 NOTE: Enabling this may break existing wikis, and still doesn't
27360 work for all Unicode characters due to MySQL limitations.
27361 * Sanitizer CSS comment processing order fix
27364 === Changes since 1.5.1 ===
27366 * Fix Special:BrokenRedirects on MySQL 5.0
27367 * (bug 3809) Backport fix for detecting diff3 failure
27368 * MySQL 5.0 strict mode fix for moving unwatched pages
27369 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
27370 Why do people invent these crazy options that change language semantics?
27371 * (bug 3762) Define missing Special:Import UI messages
27372 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
27373 * (bug 3649) Remove obsolete, broken moveCustomMessages script
27374 * (bug 3667) Add missing global in page move code
27375 * (bug 3761) Avoid deprecation warnings in Special:Import
27376 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
27377 talk notification on PHP 5.0.5
27378 * (bug 3845) Update attribute.php for 1.5 schema
27379 * Fix Parser::unstrip on PHP 4.4.1 and PHP 5.1.0RC4
27382 === Changes since 1.5.2 ===
27384 * (bug 3612) Remove old broken version of maintenance/compressOld.php
27385 The working version is in maintenance/storage/compressOld.php
27386 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
27387 * (bug 3933) specify XML namespace for Atom 0.3 feeds
27388 * (bug 3939) Don't try to load text for interwiki redirect target
27389 * (bug 3948) Avoid notice warning in debug statement in bad search
27390 * Recognize Special:Search consistently so read whitelist works
27391 * (bug 4013) typo in fr
27392 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
27393 * (bug 2894) Enhanced Recent Changes link fixes
27394 * (bug 3065) Update both watched namespaces when renaming pages
27395 * Move parentheses out of <a> link in Special:Contributions
27396 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
27397 * (bug 4035) Fix prev/next revision links on edit page
27398 * (bug 4165) Correct validation for user language selection (data taint)
27399 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
27402 === Changes since 1.5.3 ===
27404 * (bug 3805) Clear 'new messages' flag properly in enotif mode
27405 for usernames containing spaces
27406 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
27407 * (bug 4249) Typo in entities2literals.pl
27408 * (bug 4233) Update for japanese language
27409 * (bug 4279) Small correction to LanguageDa.php
27410 * (bug 4267) Switch dv sd ug ks arc languages to RTL
27411 * (bug 3991) Allow the operation of wikicode on Protect move only text
27412 * Added AutoAuthenticate hook for external User object suppliers
27413 * Parser internal placeholder string now fully randomized for safety
27415 === Changes since 1.5.4 ===
27417 * Maintenance script to delete unused user accounts
27418 * Added detection for WMF files (application/x-msmetafile), added this
27419 MIME type to the default blacklist. Prevented inline display of images
27420 which are not of known image types. This is in response to
27421 https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
27423 === Changes since 1.5.5 ===
27425 * (bug 4258) When installing under IIS, $wgArticlePath = "$wgScript?title=$1"
27427 * (bug 4510) Correct Barnes & Noble bookstore URLs
27428 * (bug 4504) Use site language for namespace name resolution
27429 * Installer fixes from HEAD backported; now uses a more sensible method of
27430 establishing which mySQL user to use, which clears up bug 921 et al. Minor
27431 changes to installer.
27432 * Fix problem reported on mailing list where re-initialising stats didn't work
27433 (can't insert duplicate rows with the same id field)
27434 * (bug 1122) gray out 'older revision' when viewing first article revision.
27435 * Respect database prefix in dumpHTML.inc
27436 * Minor improvements to removeUnusedAccounts.php maintenance script
27437 * Fix for single-digit week numbers from {{CURRENTWEEK}}, broken by PHP 4.4.1
27438 * Removed read-only check from Database::query()
27439 * Added --conf option to command line scripts, allowing the user to specify a
27440 different LocalSettings.php.
27442 === Changes since 1.5.6 ===
27444 * Default main page content improved per bug 4690
27445 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
27446 * Fixed Special:Unlockdb
27447 * Maintenance script to delete unused text records
27448 * Maintenance script to delete non-current revisions
27449 * Maintenance script to wipe a page and all revisions from the database
27450 * (bug 4768) Wrong Russian translation (typo)
27451 * Performance bugfix: propagate equality manually for Revision fetches
27452 * (bug 4773) PHP fatal error when invalid title passed to Special:Export
27453 * Added missing table defs. for transcache to installer schemas
27454 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
27455 and seems to work ok with other bits. No longer including the IE
27456 workarounds JavaScript for IE 7 and above.
27457 * (bug 2532) Image directory structure migration bug
27458 * (bug 4881) Correction to the fix for 1487; Ipblocklist showed 'no blocks'
27459 message at the end of the list even if there were blocks.
27460 * (bug 4805) Removed more wikipedia-references from LanguageUk.php
27461 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
27462 list pages with less than this number of links. Defaults to 1.
27463 * Allow customisation of paging limits for items in categories using the
27464 $wgCategoryPagingLimit global, per bug 4970.
27465 * Improve "nogomatch" text to make it more obvious that a page can be created.
27466 * (bug 5113) Spelling error in French language file
27467 * Don't change the password of the MySQL root user.
27469 === Changes since 1.5.7 ===
27471 * (bug 5180) User login page shows inappropriate email blurb
27472 * Add the "AbortNewAccount" hook on account creation; see hooks.txt for more
27474 * Update default "exporttext" to reflect that Special:Import exists
27475 * Add links to useful material to the default main page content
27476 * Fix fragment HTML injection
27478 === Changes since 1.5.8 ===
27480 * Fixed obvious mistakes in Finnish (fi) translation
27481 * Fixed obvious mistakes in Kurdish (ku) translation
27482 * Merge two #p-search .pBody statements i monobook/main.css
27483 * (bug 5156) Update for Hebrew language (he) translation
27484 * Add the "UserRights" hook on user group changes; see hooks.txt for more info.
27485 * Translated "listingcontinuesabbrev" for German
27489 Some output, particularly involving user-supplied inline HTML, may not
27490 produce 100% valid or well-formed XHTML output. Testers are welcome to
27491 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
27492 cases, but this is not recommended on live sites. (This must be set for
27493 MathML to display properly in Mozilla.)
27497 == MediaWiki 1.4.15 ==
27499 (released March 26, 2006) MediaWiki 1.4.15 is a security maintenance release. A
27500 bug in decoding of certain encoded links could allow injection of raw HTML into
27501 page output; this could potentially lead to XSS attacks. Additionally, this
27502 release may display more correctly in IE7 betas.
27504 == MediaWiki 1.4.14 ==
27505 (released January 19, 2006) MediaWiki 1.4.14 is a security and bugfix
27506 maintenance release. A bug in edit comment formatting could send PHP into an
27507 infinite loop if certain malformed links were included. In most installations,
27508 this would cause the script to fail after PHP's 30-second failsafe timeout. For
27509 several other minor fixes, see the complete changelog at the end of this file.
27511 == MediaWiki 1.4.13 ==
27512 (released January 5, 2006) MediaWiki 1.4.13 is a security maintenance
27513 release.Detection for uploads of Windows Metafile (.wmf) images has been added
27514 to help protect against a client-side vulnerability in unpatched Microsoft
27515 Windows operating systems. Sites which have enabled uploads and added
27516 non-standard file types (such as .ogg, .doc, or .pdf) should upgrade to this
27517 release to ensure that malicious .wmf files can't be uploaded with a fake
27518 extension; such files could put visitors to the site at risk. For more details
27519 on this, see: https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
27521 == MediaWiki 1.4.12 ==
27522 (released 2005-11-02) MediaWiki 1.4.12 is a bugfix and security maintenance
27523 release. A change in PHP 4.4.1 broke handling of extension and
27524 <nowiki><pre></nowiki> sections, causing garbage data to be inserted in output
27525 and saved edits. This version works around the change. This release includes
27526 further corrections to the inline CSS style sanitation which works around a
27527 JavaScript "feature" on Microsoft Internet Explorer. Users of Microsoft
27528 Internet Explorer for Windows may be vulnerable to XSS injections on prior 1.4
27529 releases; users of standards-compliant browsers are not vulnerable.
27531 == MediaWiki 1.4.11 ==
27532 (released 2005-10-05) MediaWiki 1.4.11 is a security maintenance release.
27533 Unsafe handling of CSS by Microsoft Internet Explorer could be exploited to
27534 produce cross-site scripting attacks by JavaScript injection to clients running
27535 that browser. This release blacklists several additional variants from use in
27536 HTML inline style attributes. All publicly accessible wikis are recommended to
27537 upgrade to reduce the risk to visitors using Microsoft web browsers. Note: the
27538 MediaWiki 1.4.x series is not compatible with PHP 5.0.5 or higher. Upgrade to
27539 the 1.5.0 release if you require this version of PHP 5.
27541 == MediaWiki 1.4.10 ==
27542 (released 2005-09-21) MediaWiki 1.4.10 is a security maintenance release. A bug
27543 in edit submission handling could cause corruption of the previous revision in
27544 the database if an abnormal URL was used, such as those used by some spambots.
27546 * 1.4.x <= 1.4.9; fixed in 1.4.10
27547 * 1.3.x <= 1.3.15; fixed in 1.3.16
27548 1.5 release candidates are not affected by this problem. All publicly editable
27549 wikis are strongly recommended to upgrade immediately.
27550 1.4 releases can be manually patched by changing this bit in EditPage.php:
27552 <syntaxhighlight lang="php">
27553 function importFormData( &$request ) {
27554 if( $request->wasPosted() ) {
27557 <syntaxhighlight lang="php">
27558 function importFormData( &$request ) {
27559 if( $request->getVal( 'action' ) == 'submit' && $request->wasPosted() )
27562 == MediaWiki 1.4.9 ==
27563 (released 2005-08-29) MediaWiki 1.4.9 is a security maintenance release. It
27564 corrects two cross-site scripting security bugs:
27565 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
27566 support is off, as in the default configuration.
27567 * Extension or <nowiki><nowiki></nowiki> sections in Wiki table syntax could
27568 bypass HTML style attribute restrictions for cross-site scripting attacks
27569 against Microsoft Internet Explorer Wikis where the optional math support has
27570 been *enabled* are not vulnerable to the first, but are vulnerable to the
27573 == MediaWiki 1.4.8 ==
27574 (released 2005-08-23) MediaWiki 1.4.8 is a bug fix and security maintenance
27575 release. A flaw in the interaction between extensions and HTML attribute
27576 sanitization was discovered which could allow unauthorized use of offsite
27577 resources in style sheets, and possible exploitation of a JavaScript injection
27578 feature on Microsoft Internet Explorer. This version expands the returned text
27579 and properly checks it before output. Additionally, an update to
27580 skins/MonoBook.php ensures that sites using the default MonoBook skin will
27581 display correctly in the Internet Explorer 7 beta. (1.3 and 1.5 are not
27582 affected by this bug.)
27584 == MediaWiki 1.4.7 ==
27585 (released 2005-07-16)
27586 MediaWiki 1.4.7 is a bug fix release. Those affected by the following problems
27587 in 1.4.6 should upgrade:
27588 * Watchlist breakage on MySQL 3.23.x and with table prefix enabled
27589 * Possible breakage in watchlist, some image resizing modes on PHP 4.1.2 1.4.6
27590 included a fix for a cross-site scripting vulnerability, so anyone running
27591 older 1.4 releases is very strongly encouraged to upgrade as well. Note to
27592 upgraders: this version of MediaWiki is known to produce a large number of
27593 notice-level warnings under the newly released PHP 4.4.0. These appear however
27594 to be harmless; if you encounter them add this to your LocalSettings.php to
27595 suppress the notices: error_reporting( E_ALL & ~E_NOTICE ); PHP 5.1.0beta3 is
27596 known to be incompatible at this time.
27598 == MediaWiki 1.4.6 ==
27599 (released 2005-07-07) MediaWiki 1.4.6 is a bug fix and security update release.
27600 Incorrect escaping of a parameter in the page move template could
27601 be used to inject JavaScript code by getting a victim to visit a maliciously
27602 constructed URL. Users of vulnerable releases are recommended to upgrade to
27603 this release. Vulnerable versions:
27604 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
27605 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
27606 * 1.3 legacy series: not vulnerable This release also includes fixes for some
27607 rare bug annoying HTTP errors, a PHP 4.1.2 breakage bug, and works around some
27608 template limitations introduced in 1.4.5. See the changelog at the end of this
27609 file for a detailed list of bugs fixed.
27611 == MediaWiki 1.4.5 ==
27612 (released 2005-06-03) MediaWiki 1.4.5 is a security update and bugfix release.
27613 Incorrect handling of page template inclusions made it possible to inject
27614 JavaScript code into HTML attributes, which could lead to cross-site scripting
27615 attacks on a publicly editable wiki. Vulnerable releases and fix:
27616 * 1.5 prerelease: fixed in 1.5alpha2
27617 * 1.4 stable series: fixed in 1.4.5
27618 * 1.3 legacy series: fixed in 1.3.13
27619 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended This
27620 release also includes a number of bug fixes (see changelog below) and merges
27621 some large-server load balancing patches from Wikipedia. An experimental rate
27622 limiter for page edits and moves can be enabled with global, per-IP,
27623 per-subnet, or per-user bases. See configuration options in
27624 includes/DefaultSettings.php
27626 == MediaWiki 1.4.4 ==
27627 (released 2005-05-04) MediaWiki 1.4.4 is a bugfix release for the 1.4 stable
27628 release series. Some bugs in the installer/updater and refreshLinks maintenance
27629 script were introduced in the last release and have been corrected.
27631 == MediaWiki 1.4.3 ==
27633 (released 2005-04-28)
27635 MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series.
27637 Chiefly, this fixes a compatibility problem with PHP 5 and a minor link
27638 table corruption bug on initial page save.
27641 == MediaWiki 1.4.2 ==
27643 (released 2005-04-20)
27645 MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release
27648 A cross-site scripting injection vulnerability was discovered, which
27649 affects only MSIE clients and is only open if MediaWiki has been
27650 manually configured to run output through HTML Tidy ($wgUseTidy).
27652 Several other bugs are fixed in this release, see the changelog below.
27654 All new installations are highly recommended to use 1.4.2 instead of
27655 1.3.x; 1.3.x users should consider upgrading for bug fixes and new
27656 features. Ealier 1.4.x release and beta users should upgrade to this
27657 release for relevant bug fixes; see the changelog later in this file.
27660 If you have trouble, remember to read this whole file and the online FAQ page
27661 before asking for help:
27663 https://www.mediawiki.org/wiki/Manual:FAQ
27666 === READ THIS FIRST: Upgrading ===
27668 If upgrading from an older release, see the notes in the file UPGRADE.
27669 There are a couple of minor database changes from the beta releases,
27670 and somewhat larger changes from 1.3.x.
27672 Upgrading from a previous 1.4.x stable release installation should
27673 generally only require copying the new files over the old ones.
27676 ==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ====
27678 MySQL 5.0 is a beta release, not yet ready for production use. If you
27679 are using it, the notes below about 4.1 apply to you too.
27681 If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for
27682 some other application, you should consider sticking with 4.0 for the
27683 moment. 4.1 may require you to do extra fiddling to get things to work
27684 due to changes that aren't fully backwards-compatible.
27686 MySQL 4.1 has changed the authentication protocol in an incompatible
27687 way; many PHP installations still use the older client libraries and
27688 CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes.
27690 See: http://dev.mysql.com/doc/mysql/en/Old_client.html
27692 If MySQL is set with utf-8 as the default character set, installation
27693 may fail with "key too long" errors. Set the default charset to 'latin1'
27694 for installation and it should work.
27696 The mysqldump backup generator now applies an automatic conversion to
27697 UTF-8, which may irretrivably corrupt your data. Pass the -charset option
27698 with the original default charset (eg 'latin1') to skip the conversion.
27701 ==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ====
27703 MediaWiki is tested and deployed primarily under the Apache web server
27704 on Linux Unix systems. There are known to be problems running on
27705 Microsoft's IIS which are not fully resolved. If you have a choice,
27706 try running under Apache on Windows, or on a Unix/Linux box instead.
27708 If you're having trouble with blank pages on IIS and can't switch,
27709 try the workaround suggested in this bug report:
27710 http://bugzilla.wikimedia.org/show_bug.cgi?id=1763
27713 === New features ===
27715 * 'Recentchanges Patrol' to mark new edits that haven't yet been viewed.
27716 * New, searchable deletion/upload/protection logs
27717 * Image gallery generation (Special:Newimages and <gallery> tag)
27718 * SVG rasterization support (requires external support tools)
27719 * Users can select from the available localizations to override the
27720 default user interface language.
27721 * Traditional/Simplified Chinese conversion support
27722 * rel="nofollow" support to combat linkspam
27724 The current implementation adds this attribute to _all_ external URL
27725 links in wiki text (but not internal [[wiki links]] or interwiki links).
27726 To disable the attribute for _all_ external links, add this line to your
27729 $wgNoFollowLinks = false
27731 For background information on nofollow see:
27733 http://www.google.com/googleblog/2005/01/preventing-comment-spam.html
27736 === Installation and compatibility ===
27738 * The default MonoBook theme now works with PHP 5.0
27739 * Installation on systems with PHP's safe mode or other oddities
27740 should work more reliably, as MonoBook no longer needs to
27741 create a compiled template file for the wiki to run.
27742 * A table prefix may be specified, to avoid conflicts with other
27743 web applications forced to share a database.
27744 * More thorough UTF-8 input validation; fixes non-ASCII uploaded
27745 filenames from Safari.
27746 * Command-line database upgrade script.
27749 === Customizability ===
27751 * Default user options can now be overridden in LocalSettings.
27752 * Skins system more modular: templates and CSS are now in /skins/
27753 New skins can be dropped into this directory and used immediately.
27754 * More extension hooks have been added.
27755 * Authentication plugin hook.
27756 * More internal code documentation, generated with phpdoc:
27757 https://doc.wikimedia.org/mediawiki-core/master/php/html/
27760 === Optimization ===
27762 * For many operations, MediaWiki 1.4 should run faster and use
27763 less memory than MediaWiki 1.3. Page rendering is up to twice
27764 as fast. (Use a PHP accelerator such as Turck MMCache for best
27765 results with any PHP application, though!)
27766 * The parser cache no longer requires memcached, and is enabled
27767 by default. This avoids a lot of re-rendering of pages that
27768 have been shown recently, greatly speeding longer page views.
27769 * Support for compiled PHP modules to speed up page diff and
27770 Unicode validation/normalization. (Requires ability to compile
27771 and load PHP extensions).
27774 === What isn't ready yet ===
27776 * A new user/groups permissions scheme has been held back to 1.5.
27777 * An experimental SOAP interface will be made available as an extension
27778 * PostgreSQL support is largely working, minus search and the installer.
27779 You can perform a manual installation.
27780 * E-mail notification of watched page changes and verification of
27781 user-submitted e-mail addresses is not yet included.
27782 * Log pages are not automatically imported into the new log table
27783 at upgrade time. A script to import old text log entries is
27784 incomplete, but may be available in later point releases.
27785 * Some localizations are still incomplete.
27791 === Important security updates ===
27793 A security audit found and fixed a number of problems. Users of MediaWiki
27794 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases
27795 prior to 1.4rc1 should upgrade immediately.
27797 ==== Cross-site scripting vulnerability ====
27799 XSS injection points can be used to hijack session and authentication
27800 cookies as well as more serious attacks.
27802 * Media: links output raw text into an attribute value, potentially
27803 abusable for JavaScript injection. This has been corrected.
27804 * Additional checks added to file upload to protect against MSIE and
27805 Safari MIME-type autodetection bugs.
27807 As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled
27808 by default as a general precaution. Sites which want this ability may set
27809 $wgAllowUserCss and $wgAllowUserJs in LocalSettings.php.
27812 ==== Cross-site request forgery ====
27814 An attacker could use JavaScript-submitted forms to perform various
27815 restricted actions by tricking an authenticated user into visiting
27816 a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has
27817 been expanded in this release to other forms and functions.
27819 Authors of bot tools may need to update their code to include the
27823 ==== Directory traversal ====
27825 An unchecked parameter in image deletion could allow an authenticated
27826 administrator to delete arbitary files in directories writable by the
27827 web server, and confirm existence of files not deletable.
27830 ==== Older issues ====
27832 Note that 1.4 beta releases prior to beta 5 include an input validation
27833 error which could lead to execution of arbitrary PHP code on the server.
27834 Users of older betas should upgrade immediately to the current version.
27837 Beta 6 also introduces the use of rel="nofollow" attributes on external
27838 links in wiki pages to reduce the effectiveness of wiki spam. This will
27839 cause participating search engines to ignore external URL links from wiki
27840 pages for purposes of page relevancy ranking.
27843 === Misc bugs fixed in beta 1 ===
27845 * (bug 95) Templates no longer limited to 5 inclusions per page
27846 * New user preference for limiting the image size for images on image
27848 * (bug 530) Allow user to preview article on first edit
27849 * (bug 479) [[RFC 1234]] will now make an internal link
27850 * (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages
27851 * (bug 770) Adding filter and username exact search match for Special:Listusers
27852 * (bug 733) Installer die if it can not write LocalSettings.php
27853 * (bug 705) Various special pages no more show the rss/atom feed links
27854 * (bug 114) use category backlinks in Special:Recentchangeslinked
27856 === Beta 2 fixes ===
27858 * (bug 987) Reverted bogus fix for bug 502
27859 * (bug 992) Fix enhanced recent changes in PHP5
27860 * (bug 1009) Fix Special:Makesysop when using table prefixes
27861 * (bug 1010) fix broken Commons image link on Classic & Cologne Blue
27862 * (bug 985) Fix auto-summary for section edits
27863 * (bug 995) Close <a> tag
27864 * (bug 1004) renamed norsk language links (twice)
27865 * Login works again when using an old-style default skin
27866 * Fix for load balancing mode, notify if using old settings format
27867 * (bug 1014) Missing image size option on old accounts handled gracefully
27868 * (bug 1027) Fix page moves with table prefix
27869 * (bug 1018) Some pages fail with stub threshold enabled
27870 * (bug 1024) Fix link to high-res image version on Image: pages
27871 * (bug 1016) Fix handling of lines omitting Image: in a <gallery> tag
27872 * security fix for image galleries
27873 * (bug 1039) Avoid error message in certain message cache failure modes
27874 * Fix string escaping with PostgreSQL
27875 * (bug 1015) [partial] -- use comment formatter on image gallery text
27876 * Allow customization of all UI languages
27877 * use $wgForceUIMsgAsContentMsg to make regular UI messages act as content
27878 * new user option for zh users to disable language conversion
27879 * Defer message cache initialization, shaving a few ms off file cache hits
27880 * Fixed Special:Allmessages when using table prefixes
27881 * (bug 996) Fix $wgWhitelistRead to work again
27882 * (bug 1028) fix page move over redirect to not fail on the unique index
27884 === Beta 3 fixes ===
27886 * Hide RC patrol markers when patrol is disabled or not allowed to patrol.
27887 * Fix language selection for upgraded accounts
27888 * (bug 1076) navigation links in QueryPage should be translated by wgContLang.
27889 * (bug 922) bogus DOS line endings in LanguageEl.php
27890 * Fix index usage in contribs
27891 * Caching and load limiting options for Recentchanges RSS/Atom feed
27892 * (bug 1074) Add stock icons for non-image files in gallery/Newimages
27893 * Add width and height attributes on thumbs in gallery/Newimages
27894 * Enhance upload extension blacklist to protect against vulnerable
27895 Apache configurations
27897 === Beta 4 fixes ===
27899 * (bug 1090) Fix sitesupport links in CB/classic skins
27900 * Gracefully ignore non-legal titles in a <gallery>
27901 * Fix message page caching behavior when $wgCapitalLinks is turned off
27902 after installation and the wiki is subsequently upgraded
27903 * Database error messages include the database server name/address
27904 * Paging support for large categories
27905 * Fix image page scaling when thumbnail generation is disabled
27906 * Select the content language in prefs when bogus interface language is set
27907 * Fix interwiki links in edit comments
27908 * Fix crash on banned user visit
27909 * Avoid PHP warning messages when thumbnail not generated
27910 * (bug 1157) List unblocks correctly in Special:Log
27911 * Fix fatal errors in LanguageLi.php
27912 * Undo overly bright, difficult to read colors in Cologne Blue
27913 * (bug 1162) fix five-tilde date inserter
27914 * Add raw signatures option for those who simply must have cute sigs
27915 * (bug 1164) Let wikitext be used in Loginprompt and Loginend messages
27916 * Add the dreaded <span> to the HTML whitelist
27917 * (bug 1170) Fix Russian linktrail
27918 * (bug 1168) Missing text on the bureaucrat log
27919 * (bug 1180) Fix Makesysop on shared-user-table sites
27920 * (bug 1178) Fix previous diff link when using 'oldid=0'
27921 * (bug 1173) Stop blocked accounts from reverting/deleting images
27922 * Keep generated stylesheets cache-separated for each user
27923 * (bug 1175) Fix "preview on first edit" mode
27924 * Fix revert bug caused by bug 1175 fix
27925 * Fix CSS classes on minor, new, unpatrolled markers in enhanced RC
27926 * Set MySQL 4 boolean search back to 'and' mode by default
27927 * (bug 1193) Fix move-only page protection mode
27928 * Fix zhtable Makefile to include the traditional manual table
27929 * Add memcache timeout for the zh conversion tables
27930 * Allow user customization of the zh conversion tables through
27931 Mediawiki:zhconversiontable
27932 * Add zh-min-man (back) to language names list
27933 * Ported $wgCopyrightIcon setting from REL1_3A
27934 * (bug 1218) Show the original image on image pages if the thumbnail would be
27935 bigger than the original image
27936 * (bug 1213) i18n of Special:Log labels
27937 * (bug 1013) Fix jbo, minnan in language names list
27938 * Added magic word MAG_NOTITLECONVERT to indicate that the title of the page
27939 do not need to be converted. Useful in zh:
27940 * (bug 1224) Use proper date messages for date reformatter
27941 * (bug 1241) Don't show 'cont.' for first entry of the category list
27942 * (bug 1240) Special:Preferences was broken in Slovenian locale when
27943 $wgUseDynamicDates is enabled
27944 * Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the
27945 content of an article. Useful in zh:
27946 * write-lock for updating the zh conversion tables in memcache
27947 * recursively parse subpages of MediaWiki:Zhconversiontable
27948 * (bug 1144) Fix export for fy language
27949 * make removal of an entry from zhconversiontable work
27950 * (bug 752) Don't insert newline in link title for url with %0a
27951 * Fix missing search box contents in MonoBook skin
27952 * Add option to forward search directly to an external URL (eg google)
27953 * Correctly highlight the fallback language variant when the selected
27954 variant is disabled. Used in zh: only for now.
27956 === Beta 5 fixes ===
27958 * (bug 1124) Fix ImageGallery XHTML compliance
27959 * (bug 1186) news: in the middle of a word
27960 * (bug 1283) Use underlining and borders to highlight additions/deletions
27962 * Use user's local timezone in Special:Log display
27963 * Show filename for images in gallery by default (restore beta 3 behavior)
27964 * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks,
27966 * When using squid reverse proxy, cache the redirect to the Main_Page
27967 * (bug 1302) Fix Norwegian language file
27968 * (bug 1205) Fix broken article saving in PHP 5.1
27969 * (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give
27970 number of the week and number of the day).
27971 * (bug 1204) Blocks do not expire automatically
27972 * (bug 1184) expiry time of indefinite blocks shown as the current time
27973 * (bug 1317) Fix external links in image captions
27974 * (bug 1084) Fix logo not rendering centrally in IE
27975 * (bug 288) Fix tabs wrapping in IE6
27976 * (bug 119) Fix full-width tabs with RTL text in IE
27977 * (bug 1323) Fix logo rendering off-screen in IE with RTL language
27978 * Show "block" link in Special:Recentchanges for logged in users, too, if
27979 wgUserSysopBans is true.
27980 * (bug 1326) Use content language for '1movedto2' in edit history
27981 * zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set
27982 * zh: Fix double conversion for zh-sg and zh-hk
27983 * (bug 1132) Fix concatenation of link lists in refreshLinks
27984 * (bug 1101) Fix memory leak in refreshLinks
27985 * (bug 1339) Fix order of @imports in Cologne Blue CSS
27986 * Don't try to create links without namespaces ([[Category:]] link bug)
27987 * Memcached data compression fixes
27988 * Several valid XHTML fixes
27989 * (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook
27990 * (bug 211) Fix tabbed preferences with XHTML MIME type
27991 * Fix for script execution vulnerability.
27993 === Beta 6 fixes ===
27995 * (bug 1335) implement 'tooltip-watch' in Language.php
27996 * Fix linktrail for nn: language
27997 * (bug 1214) Fix prev/next links in Special:Log
27998 * (bug 1354) Fix linktrail for fo: language
27999 * (bug 512) Reload generated CSS on preference change
28000 * (bug 63) Fix displaying as if logged in after logout
28001 * Set default MediaWiki:Sitenotice to '-', avoiding extra database hits
28002 * Skip message cache initialization on raw page view (quick hack)
28003 * Fix notice errors in wfDebugDieBacktrace() in XML callbacks
28004 * Suppress notice error on bogus timestamp input (returns epoch as before)
28005 * Remove unnecessary initialization and double-caching of parser variables
28006 * Call-tree output mode for profiling
28007 * (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries
28008 * Add $wgNoFollowLinks option to add rel="nofollow" on external links
28010 * (bug 1130) Show actual title when moving page instead of encoded one.
28011 * (bug 925) Fix headings containing <math>
28012 * (bug 1131) Fix headings containing interwiki links
28013 * (bug 1380) Update Nynorsk language file
28014 * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode
28015 * (bug 1217) Image within an image caption broke rendering
28016 * (bug 1384) Make patrol signs have the same width for page moves as for edits
28017 * (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit
28018 * (bug 1389) i18n for proxyblocker message
28019 * Add fur/Furlan/Friulian to language names list
28020 * Add TitleMoveComplete hook on page renames
28021 * Allow simple comments for each translation rules in MW:Zhconversiontable
28022 * (bug 1402) Make link color of tab subject page link on talk page indicate
28023 whether article exists
28024 * (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x
28025 * Translated Hebrew namespace names
28026 * (bug 1429) Stop double-escaping of block comments; fix formatting
28027 * (bug 829) Fix URL-escaping on block success
28028 * (bug 1228) Fix double-escaping on & sequences in [enclosed] URLs
28029 * (bug 1435) Fixed many CSS errors
28030 * (bug 1457) Fix XHTML validation on category column list
28031 * (bug 1458) Don't save if edit form submission is incomplete
28032 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
28033 * Per-user CSS and JavaScript subpage customizations now disabled by default.
28034 They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss.
28035 * Removed .ogg from the default uploads whitelist as an extra precaution.
28036 If your web server is configured to serve Ogg files with the correct
28037 Content-Type header, you can re-add it in LocalSettings.php:
28038 $wgFileExtensions[] = 'ogg';
28042 * Fix notice error on nonexistent template in wikitext system message
28043 * (bug 1469) add missing <ul> tags on Special:Log
28044 * (bug 1470) remove extra <ul> tags from Danish log messages
28045 * Fix notice on purge w/ squid mode off
28046 * (bug 1477) hide details of SQL error messages by default
28047 Set $wgShowSQLErrors = true for debugging.
28048 * (bug 1430) Don't check for template data when editing page that doesn't exist
28049 * Recentchanges table purging fixed when using table prefix
28050 * (bug 1431) Avoid redundant objectcache garbage collection
28051 * (bug 1474) Switch to better-cached index for statistics page count
28052 * Run Unicode normalization on all input fields
28053 * Fix translation for allpagesformtext2 in LanguageZh_cn and LanguageZh_tw
28054 * Block image revert without valid login
28055 * (bug 1446) stub Bambara (bm) language file using French messages
28056 * (bug 1432) Update Estonian localization
28057 * (bug 1471) unclosed <p> tag in Danish messages
28058 * convertLinks script fixes
28059 * Corrections to template loop detection
28060 * XHTML encoding fix for usernames containing & in Special:Emailuser
28061 * (for zh) Search for variant links even when conversion is turned off,
28062 to help prevent duplicate articles.
28063 * Disallow ISO 8859-1 C1 characters and "no-break space" in user names
28065 * Correct the name of the main page it LanguageIt
28066 * Allow Special:Makesysop to work for usernames containing SQL special
28068 * Fix annoying blue line in Safari on scaled-down images on description page
28069 * Increase upload sanity checks
28070 * Fix XSS bug in Media: links
28071 * Add cross-site form submission protection to various actions
28072 * Fix fatal error on some dubious page titles
28073 * Stub threshold displays correctly again
28076 === 1.4.0 final fixes ===
28078 * (bug 65) Fix broken interwiki link encoding on Latin-1 wikis; force to UTF-8
28079 * (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis
28080 * (bug 1536) Fix page info
28081 * Support os (Ossetic) as language code, using Russian localization base
28082 * (bug 1610) Support non (Old Norse) as language code, using Icelandic
28084 * (bug 1618) Properly list custom namespaces in Special:Allpages
28085 * (bug 1622) Remove trailing' >' when using category browser
28086 * (bug 1570) Fix php 4.2.x error on conflict merging
28087 * (bug 1585) Fix page title on post-login redirection page
28088 * Run UTF-8 validation on old text in Recentchanges RSS diffs
28089 * (bug 1642) fix a mime type typo in img_auth.php
28090 * Automated interwiki redirects only for local interwikis
28091 * Respect read-only mode on block removals
28092 * Trim old illegal characters from syndication feeds
28093 * Reduce message cache outage recovery delay from 1 day to 5 minutes
28094 * (bug 1403) Update Finnish localization
28095 * (bug 1478) Punjabi localization
28096 * (bug 1667) Update script 5 second countdown.
28097 * (bug 1057) Fix logging table encoding (error on MySQL 4.1)
28098 * (bug 1680) Fix linktrail for fo
28099 * (bug 1653) Removing hardcoded messages in Special:Allmessages
28100 * (bug 1594) Render a hyphen in a formula as − in HTML
28101 * (bug 1495) Fall back to default language MediaWiki: for custom messages
28102 * (bug 1617) Show different error messages for "user does not
28103 exist" and "wrong password" when using AuthPlugin
28104 * (bug 1532), (bug 1544) Changed language names for
28105 'bn', 'bo', 'dv', 'dz', 'ht', 'ii', 'li', 'lo', 'ng', 'or', 'pa', 'si',
28107 * Fix editing on non-Esperanto wiki with user language pref set to Esperanto
28108 * Make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw
28109 * Fix PHP notice in MonoBook when counters disabled
28110 * (bug 1696) Update namespaces, dates in uk localization
28111 * (bug 551) Installer warns about magic_quotes_runtime and magic_quotes_sybase
28112 instead of trying to install with corrupt table files
28113 * Installer no longer tries to move non-default MediaWiki: pages into Template:
28114 * User-to-user email disabled by default ($wgEnableUserEmail)
28117 === 1.4.1 fixes ===
28119 * (bug 1720) fix genitive month names for uk
28120 * (bug 1704) fixed untranslateable string in Special:Log
28121 * (bug 1638) Added Belrusian language file
28122 * (bug 1736) typo in SpecialValidate.php
28123 * (bug 73) Upload doesn't run edit updates on description page (links,
28124 search index and categories)
28125 * (bug 646) <math> fails to recognize \ll and \gg
28126 * (bug 926) \div element from TeX not supported in <math> element
28127 * (bug 1147) add \checkmark to whitelist in texutil.ml
28128 * (bug 937) \limits function from LaTeX not supported in <math> element
28129 * Support for manually converting article title to different Chinese
28131 * (bug 1488, bug 1744) Fix encoding for preferences, dates in Latin-1 mode
28132 * (bug 1042) Fix UTF-8 case conversion for PHP <4.3 with mbstring extension
28133 * Fix code typo that broke article credits display
28134 * Installation fixes for running under IIS
28135 * (bug 1556) login page tab order. "remember" checkbox now come after password.
28136 * SQL debug log fixlets
28137 * (bug 1815) Fix namespace in old revision display with mismatched title
28138 * (bug 1788) Fix link duplication when edit/upload comment includes newlines
28139 * Change default on $wgSysopUserBans and $wgSysopRangeBans to true
28140 * Fix link conversion for URL request
28141 * (bug 1851) Updated download URL for the SCIM packages used by zhtable
28142 * (bug 1853) Try stripping quotes from term for 'go' title match
28143 * Fix missing function in Latin1 mode
28144 * (bug 1860) Anchors of interwiki links did not get normalized
28145 * (bug 1847) accept lowercase x in ISBN, do not accept invalid A-W,Y,Z
28146 * Fix link conversion for URL request, hopefully without breaking the wiki
28147 * (bug 1849) New option allows to consider categorized images as used on
28148 Special:Unusedimages
28149 * Localized category namespace for ka (Georgian)
28150 * (bug 1107) Work around includes problem in installer when parent dir is not
28151 readable by the web server
28152 * (bug 1927) Incorrect escaping on wikitext message in Blockip
28155 === 1.4.2 fixes ===
28157 * Fix math options in Finnish localization
28158 * Use in-process Tidy extension if available when $wgUseTidy is on
28159 * (bug 1933) Fix PATH_INFO usage under IIS with PHP ISAPI module
28160 * (bug 1188) <nowiki> in {{subst:}} includes fixed
28161 * (bug 1936) <!-- comments --> in {{subst:}} includes fixed
28162 * Fix a potential MSIE JavaScript injection vector in Tidy mode
28165 === 1.4.3 fixes ===
28167 * (bug 1636) Refs like ţ were misinterpreted as octal in some places
28168 * (bug 1163) Special:Undelete showed oldest revision instead of newest
28169 * (bug 1938) Fix escaping of illegal character references in link text
28170 * (bug 1997) Fix for error on display of renamed items in Recentchanges on PHP5
28171 * (bug 1949) Profiling typo in rare error case
28172 * (bug 1963) Fix deletion log link when $wgCapitalLinks is off
28173 * (bug 1970) Don't show move tab for immobile pages
28174 * (bug 1770) Page creation recorded links from the 'newarticletext' message
28175 * Optional change to the site_stats table. When applied, this removes the need
28176 for expensive queries in Special:Statistics.
28179 === 1.4.4 fixes ===
28181 * (bug 725) Let dir="ltr" attribute work again in MonoBook on RTL languages
28182 * (bug 2024) Skip JavaScript error for custom skins where .js message not set
28183 * (bug 2025) Updated Indonesian localization
28184 * (bug 2039) Updated Lithuanian localization
28189 Some output, particularly involving user-supplied inline HTML, may not
28190 produce 100% valid or well-formed XHTML output. Testers are welcome to
28191 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
28192 cases, but this is not recommended on live sites. (This must be set for
28193 MathML to display properly in Mozilla.)
28196 For notes on 1.3.x and older releases, see HISTORY.
28199 === Online documentation ===
28201 Documentation for both end-users and site administrators is currently being
28202 built up on MediaWiki.org, and is covered under the GNU Free Documentation
28205 https://www.mediawiki.org/
28208 === Mailing list ===
28210 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
28213 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
28215 A low-traffic announcements-only list is also available:
28216 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
28218 It's highly recommended that you sign up for one of these lists if you're
28219 going to run a public MediaWiki, so you can be notified of security fixes.
28224 There's usually someone online in #mediawiki on irc.freenode.net
28228 == MediaWiki 1.3.18 ==
28229 (released 2005-11-02)
28230 MediaWiki 1.3.18 is a bugfix and security maintenance release. A change in PHP
28231 4.4.1 broke handling of extension and <nowiki><pre></nowiki> sections, causing
28232 garbage data to be inserted in output and saved edits. This version works
28233 around the change. This release includes further corrections to the inline CSS
28234 style sanitation which works around a JavaScript "feature" on Microsoft
28235 Internet Explorer. Users of Microsoft Internet Explorer for Windows may be
28236 vulnerable to XSS injections on prior 1.3 releases; users of
28237 standards-compliant browsers are not vulnerable.
28239 == MediaWiki 1.3.17 ==
28240 (released 2005-10-05)
28241 MediaWiki 1.3.17 is a security maintenance release. Unsafe handling of CSS by
28242 Microsoft Internet Explorer could be exploited to produce cross-site scripting
28243 attacks by JavaScript injection to clients running that browser. This release
28244 blacklists several additional variants from use in HTML inline style
28245 attributes. All publicly accessible wikis are recommended to upgrade to reduce
28246 the risk to visitors using Microsoft web browsers.Note: the MediaWiki 1.3.x
28247 series is not compatible with PHP 5.0.5 or higher. Upgrade to the 1.5.0 release
28248 if you require this version of PHP 5.
28250 == MediaWiki 1.3.16 ==
28251 (released 2005-09-21)
28252 MediaWiki 1.3.16 is a security maintenance release. A bug in edit submission
28253 handling could cause corruption of the previous revision in the database if an
28254 abnormal URL was used, such as those used by some spambots. Affected releases:
28255 * 1.4.x <= 1.4.9; fixed in 1.4.10
28256 * 1.3.x <= 1.3.15; fixed in 1.3.16
28257 1.5 release candidates are not affected by this problem. All publicly editable
28258 wikis are strongly recommended to upgrade immediately.
28259 1.3 releases can be manually patched by changing this bit in
28260 {{manual|EditPage.php}}:
28261 <syntaxhighlight lang="php">
28262 if( $this->tokenOk( $request ) ) {
28263 $this->save = $request->wasPosted() && !$this->preview;
28267 <syntaxhighlight lang="php">
28268 if( $this->tokenOk( $request ) ) {
28269 $this->save = $request->getVal( 'action' ) == 'submit' &&
28270 $request->wasPosted() && !$this->preview;
28274 == MediaWiki 1.3.15, 2005-08-29 ==
28275 MediaWiki 1.3.15 is a security maintenance release. It corrects across-site
28276 scripting security bug:
28277 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
28278 support is off, as in the default configuration. Wikis where the optional math
28279 support has been *enabled* are not vulnerable. The 1.3.x series is no longer
28280 maintained except for security fixes; new users and those seeking bug fixes
28281 should upgrade to 1.4.9 or 1.5.0.
28283 == MediaWiki 1.3.14, 2005-08-23 ==
28284 MediaWiki 1.3.14 is a security maintenance release. A flaw in the interaction
28285 between extensions and HTML attribute sanitization was discovered which could
28286 allow unauthorized use of offsite resources in style sheets, and possible
28287 exploitation of a JavaScript injection feature on Microsoft Internet Explorer.
28288 The 1.3.x series is no longer maintained except for security fixes; new users
28289 and those seeking bug fixes should upgrade to 1.4.8 or 1.5.0. Existing 1.3.x
28290 installations not willing to upgrade to the current stable release should apply
28291 the change manually:
28292 In includes/Parser.php, function {{code|inline=y|lang=php|fixTagAttributes()}}
28294 <syntaxhighlight lang="php">
28295 # Any placeholder items should have been unstripped already before
28296 # we got to this point. Raw text inserted later could be dangerous.
28297 if( strpos( $t, UNIQ_PREFIX ) !== false ) {
28298 wfDebug( "Parser::fixTagAttributes found stripped data placeholder;
28299 dropping attributes\n" );
28303 If you are actively using extensions to generate HTML attribute values, upgrade
28304 to 1.4 or 1.5 for a more thorough fix.
28306 == MediaWiki 1.3.13, 2005-06-03 ==
28307 MediaWiki 1.3.13 is a security maintenance release. Incorrect handling of page
28308 template inclusions made it possible to inject JavaScript code into HTML
28309 attributes, which could lead to cross-site scripting attacks on a publicly
28310 editable wiki. Vulnerable releases and fix:
28311 * 1.5 prerelease: fixed in 1.5alpha2
28312 * 1.4 stable series: fixed in 1.4.5
28313 * 1.3 legacy series: fixed in 1.3.13
28314 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended The
28315 1.3.x series is no longer maintained except for security fixes; new users and
28316 those seeking general bug fixes should install 1.4.5. Existing 1.3.x
28317 installations not willing or able to upgrade to the current stable relase
28318 should update the installation to 1.3.13; only includes/Parser.php has changed
28321 == MediaWiki 1.3.12, 2005-02-20 ==
28322 MediaWiki 1.3.12 is a security maintenance release. A cross-site scripting
28323 injection vulnerability was discovered, which affects only MSIE clients and is
28324 only open if MediaWiki has been manually configured to run output through HTML
28325 Tidy ($wgUseTidy). The 1.3.x series is no longer maintained except for security
28326 fixes; new users and those seeking bug fixes should upgrade to 1.4.2. Existing
28327 1.3.x installations using Tidy not willing to upgrade to the current stable
28328 relase should either turn off Tidy or update the installation to 1.3.12.
28330 == MediaWiki 1.3.11, 2005-02-20 ==
28331 MediaWiki 1.3.11 is a security release.
28332 A security audit found and fixed a number of problems. Users of MediaWiki
28333 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases should
28336 === Cross-site scripting vulnerability ===
28337 XSS injection points can be used to hijack session and authentication cookies
28338 as well as more serious attacks.
28339 * Media: links output raw text into an attribute value, potentially abusable
28340 for JavaScript injection. This has been corrected.
28341 * Additional checks added to file upload to protect against MSIE and Safari
28342 MIME-type autodetection bugs.
28343 As of <code>1.3.10/1.4beta6</code>, per-user customized CSS and JavaScript is
28344 disabled by default as a general precaution. Sites which want this ability may
28345 set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in LocalSettings.php.
28347 === Cross-site request forgery ===
28348 An attacker could use JavaScript-submitted forms to perform various restricted
28349 actions by tricking an authenticated user into visiting a malicious web page. A
28350 fix for page editing in 1.3.10/1.4beta6 has been expanded in this release to
28351 other forms and functions. Authors of bot tools may need to update their code
28352 to include the additional fields.
28354 === Directory traversal ===
28355 An unchecked parameter in image deletion could allow an authenticated
28356 administrator to delete arbitary files in directories writable by the web
28357 server, and confirm existence of files not deletable.
28359 == MediaWiki 1.3.10, 2005-02-03 ==
28360 MediaWiki 1.3.10 is a security release.
28361 An attacker could craft a URL which, when visited by a particular logged-in
28362 user, would execute arbitrary JavaScript code on the user's browser in the
28363 wiki's site context. This attack has been blocked, and as an extra precaution
28364 the user CSS and JavaScript subpage support is now disabled by default. Sites
28365 which want this ability may set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in
28366 {{manual|LocalSettings.php}}. Additional protections have been added against
28367 off-site form submissions
28368 hijacking user credentials. Authors of bot tools may need to update their code
28369 to include additional fields. All wikis running 1.3.x are strongly urged to
28371 Changes from 1.3.9:
28372 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
28373 * Per-user CSS and JavaScript subpage customizations now disabled by default.
28374 They can be re-enabled via {{wg|AllowUserJs}} and {{wg|AllowUserCss}}.
28375 * Removed .ogg from the default uploads whitelist as an extra precaution. If
28376 your web server is configured to serve Ogg files with the correct Content-Type
28377 header, you can re-add it in LocalSettings.php: {{wg|FileExtensions}}<code>[] =
28380 == MediaWiki 1.3.9, 2004-12-12 ==
28381 MediaWiki 1.3.9 is a security and bug fix release.
28382 A flaw in upload handling has been found which may allow upload and execution
28383 of arbitrary scripts with the permissions of the web server. Only wikis that
28384 have enabled uploads and have a vulnerable Apache configuration will be
28385 affected, but to be safe all wikis should upgrade. Wikis with uploads available
28386 should either disable uploads or upgrade to 1.3.9 immediately; if other files
28387 are customized and require merging changes,
28388 includes/{{manual|SpecialUpload.php}} may be replaced individually to add the
28389 fix. (It is also recommended to configure your web server to disable script
28390 execution in the 'images' subdirectory where uploads are placed, which prevents
28391 most attacks even if the wiki fails.)
28392 Changes from 1.3.8:
28393 * Backported "Templates used in this page"-feature of EditPage
28394 * Allow "MySkin" as a default skin.
28395 * ({{bugzilla|938}}) Parse namespaces correctly on self-interwiki links
28396 * ({{bugzilla|1010}}) fix broken Commons image link on [[Skin:Classic|Classic]]
28397 & [[Skin:Cologne Blue|Cologne Blue]]
28398 * ({{bugzilla|1004}}) Norsk language names for interwiki links changed, Nauruan
28399 language name changed
28400 * Enhance upload extension blacklist to protect against vulnerable Apache
28403 == MediaWiki 1.3.8, 2004-11-15 ==
28404 MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads enabled
28405 are strongly recommended to upgrade as this fixes several problems with
28406 overwriting previously-uploaded files.
28407 Changes from 1.3.7:
28408 * ({{bugzilla|506}}) fix {{code|inline=y|lang=html|array_key_exists()}} warning
28409 for IIS servers using ISAPI mode
28410 * ({{bugzilla|718}}) fix bad charset in (file) cached pages
28411 * use local numerals in category page (for Hindi et al)
28412 * alias month abbreviations to month names in Hindi
28413 * add localized numerals for Gujarati and Kannada
28414 * fix Category and project namespaces for Hindi
28415 * Don't output bogus timestamp on [[Special:RecentChanges]] if no entries
28416 * Correct template include path which broke some but not all Windows installs
28417 * Fix edit form submission problem with some PHP versions
28418 * Disallow unreachable titles with %XX hex codes
28419 * Allow page [[0]] to be renamed
28420 * ({{bugzilla|774}}) when saving with <code>section=new</code>, return to the
28421 anchor as with existing numbered section edits
28422 * Experimental shared upload overlay area (disabled by default)
28423 * ({{bugzilla|806}}) Removed some "Wikipedia" hardcoding in German localization
28424 * User option localization fix for some extensions
28425 * ({{bugzilla|809}}) now try to load the mysql php extension if it isn't loaded
28426 * ({{bugzilla|848}}) fix error message in [[Special:Newpages]] RSS and Atom
28428 * ({{bugzilla|26}}) fix cache headers on anon talk page notification
28429 * ({{bugzilla|874}}) added 'cgi' to {{wg|FileBlacklist}}
28430 * ({{bugzilla|862}}) localize date and time format for Finnish
28431 * ({{bugzilla|548}}) Don't overwrite images until the user confirms it
28433 == MediaWiki 1.3.7, 2004-10-18 ==
28434 Changes from 1.3.6:
28435 * Fix protected-page related security issue.
28437 == MediaWiki 1.3.6, 2004-10-14 ==
28438 Changes from 1.3.5:
28439 * ({{bugzilla|296}}) Variables in user interface messages are no longer
28440 substituted at install time, so changes to the site name etc should be easier
28442 * ({{bugzilla|149}}) [[Special:RecentChanges]] "changes from" link preserves
28444 * ({{bugzilla|433}}) tooltip for "Undelete" tab now labeled correctly
28445 * ({{bugzilla|439}}) unclickable "Move" tab no longer displays on protected
28447 * ({{bugzilla|484}}) graceful deletion of images where the actual file is
28449 * ({{bugzilla|686}}) fixed [[plural]]s in Catalan localization
28450 * Fixed potential HTML/JavaScript injection attack in the
28451 [[Extension:UnicodeConverter|UnicodeConverter]] extension. (This extension is
28452 not enabled by default.)
28453 * Fixed potential HTML/JavaScript injection attack via raw page views to a
28454 maliciously crafted wiki page.
28455 * ({{bugzilla|187}}, {{bugzilla|669}}) Fixed centered thumbnails, using
28456 {{code|inline=y|lang=html|<div>}} instead of {{code|inline=y|lang=html|<span>}}.
28457 * catch MySQL error 2000 during installation.
28458 * ({{bugzilla|704}}) Removed misleading LocalSettings.sample
28459 * Fix cross site scripting bugs in [[Special:Ipblocklist]],
28460 [[Special:EmailUser]]
28461 * Fix SQL injection and cross site scripting bugs in Special:Maintenance
28462 * Fix cross site scripting bugs and possible filename validation vulnerability
28464 * and more of that sort
28466 == MediaWiki 1.3.5, 2004-09-30 ==
28467 Changes from 1.3.4:
28468 * Clean up input validation in 'raw' page output mode which was a potential
28469 cross-site scripting opportunity.
28471 == MediaWiki 1.3.4, 2004-09-28 ==
28472 === SECURITY NOTE ===
28473 As of 1.3.4, MediaWiki performs some screening of newly uploaded files for
28474 validity. (Some) corrupt image files, and HTML files mistakenly or maliciously
28475 masquerading as images, should now be rejected. These checks protect against
28476 Internet Explorer security holes relating to type autodetection which are a
28477 potential cross-site scripting attack vector, and also rejects at least one
28478 known version of the "JPEG virus" which might attack unpatched clients. If you
28479 already have invalid files uploaded this will not protect against them. If you
28480 have expanded the <code>filetype</code> whitelist or disabled the strict type
28481 checking, other dangerous file types may still get through. You should always
28482 be careful when allowing uploads!
28483 Changes from 1.3.3:
28484 * Fixed lots of template-related bugs, esp. for cases where template variables
28485 are used for links, images, etc.
28486 * Fixed transformation of page messages when viewing [[Special:Allmessages]]
28487 * Handle "ISBN ISBN 1234" correctly
28488 * Fixed warning on Category pages
28489 * Fixed some bad error messages on login page
28490 * Fixed history entry for initial main page on install
28491 * Removed problematic <code>{</code> and <code>}</code> from legal title
28493 * Strip leading blank from output in preformatted text.
28494 * Fixed problem when moving pages to titles with '#' in
28495 * Optional {{wg|RawHtml}} for raw {{code|inline=y|lang=html|<html>}} sections.
28496 Use only on limited- participation 'trusted' wikis, as it does not protect
28497 against cross-site scripting attacks. For security, this option can only be
28498 enabled if in {{wg|WhitelistEdit}} mode.
28499 * Fixed problem where pages which were created as a redirect following a move
28500 never showed on [[Special:Randompage]].
28501 * Fixed line spacing on printed table of contents
28502 * Allow links to pages with names of the form [[RFC 1234]]
28503 * Fixed broken edit links being shown for sections from included templates
28504 * Verify that uploaded image files are of the claimed type.
28506 == MediaWiki 1.3.3, 2004-09-09 ==
28507 Changes from 1.3.2:
28508 * Fix for long numeric page titles
28509 * Fix Go search for "0", numeric almost-self-links
28510 * Avoid caching of pages with "You have new messages" headers
28511 * Fix for upgrades as non-root users from 1.2 command-line installs.
28512 * Fix for {{wg|DebugDumpSql}} debug mode.
28513 * {{wg|ExtraNamespaces}} setting for configuring additional namespaces (see
28514 note in {{manual|DefaultSettings.php}})
28515 * 'recache' on query pages now disabled when miser mode is on; special case the
28516 global settings in your {{manual|LocalSettings.php}} to do automatic updates.
28517 * Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2)
28518 * Watch/unwatch tabs now shown on edit pages in MonoBook.
28519 * Fix default skin in Irish localization (ga)
28520 * Add Traditional Chinese localization (zh-tw)
28521 * Changed default sortkey of subcategories. Don't include "Category:"-prefix
28523 * More helpful info on spam catcher.
28524 * Allow larger offsets for queries such as [[Special:Listusers]]
28525 * Semicolon (;) added to French non-break space rules
28526 * Possible fix for some install errors with path names permission problems.
28527 * Removed [[Project:All system messages]], which has been superseded by the
28528 much faster [[Special:Allmessages]]. This speeds up installation considerably.
28530 == MediaWiki 1.3.2, 2004-08-30 ==
28531 Changes from 1.3.1:
28532 * Fix namespaced page creation links when no go match
28533 * When cookies are disabled, don't show login screen twice
28534 * Install should no longer die when PHP is pre-configured to compress output
28535 * Fixed bug that caused long Japanese pages to time out with Tidy active
28536 * When session.handler is set incorrectly, try automatic override to 'files'
28537 * Watch/Unwatch links back to the affected page instead of Main Page
28538 * Upload link no longer displayed on Monobook if uploading is disabled
28539 * Special:Allmessages faster, shows correct original text, works in safe mode
28541 == MediaWiki 1.3.1, 2004-08-14 ==
28542 Changes from 1.3.0:
28543 * Watchlist parameters now work with register_globals off
28544 * Fixed parsing of ''italics'' and '''bold''' mark-up (again)
28545 * Special:Allpages display is more sensible on smaller wikis
28546 * Fixed XHTML parsing error in classic skins
28547 * Moved pages update watchlist correctly
28548 * Fixed rebuildall.php on case-sensitive Unix filesystems
28549 * Disabled file cache compression by default due to incompatibility with output
28550 buffer compression (ob_gzhandler)
28551 * New magic word {{code|inline=y|PAGENAMEE}} (URL-escaped version of
28552 {{code|inline=y|PAGENAME}})
28553 * Installation avoids blank username; better message on missing XML module
28554 * {{wg|WhitelistAccount}} no longer breaks all logins.
28556 == MediaWiki 1.3.0, 2004-08-11 ==
28558 * New default layout '[[Skin:MonoBook|MonoBook]]' (available on PHP4 only
28560 * Print stylesheet now built-in to every page
28561 * More or less correct XHTML 1.0 (served as text/html by default)
28563 * Image captions can now include links and other basic formatting
28564 * Image bounding box can be specified instead of width, e.g. as 100x100px,
28565 making the image not wider than 100px and not higher than 100px, keeping aspect
28567 * Templates have been expanded with parameters, and separated from the
28568 MediaWiki: localization scheme.
28569 * Categories more or less work
28570 * added a special page for listing users with sysop rights.
28572 * Automatic merging of edit conflicts that don't directly interfere
28573 * Edit summaries can now include basic formatting and links
28574 Metadata and output:
28575 * Linked Creative Commons copyright metadata (optional)
28576 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
28578 * WikiHiero hieroglyphic module can be added (separate download)
28579 * Timeline module can be added (separate download). Requires ploticus.
28580 * TeX now has an experimental MathML output mode (incomplete!)
28581 Installation and upgrading:
28582 * The old install.php and update.php have been removed. In-place installation
28583 introduced in 1.2 is now the standard installation and upgrade method, see
28584 INSTALL and UPGRADE for directions.
28586 * The links table has been changed to use a cur_id for l_from. The link tables
28587 must be converted on upgrade, which may entail some downtime.
28588 Code and compatibility:
28589 * Should now run clean with error reporting set to E_ALL.
28590 * register_globals hack from 1.2 has been replaced with safer code
28591 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/ (with some patches)
28592 * Most image-related code moved to Image.php
28593 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
28594 * URL encoding fix for anchors
28595 * All languages now available in UTF-8 mode
28596 * Various other fixes
28599 Some output, particularly involving user-supplied inline HTML, may not produce
28600 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
28601 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
28602 recommended on live sites. (This must be set for MathML to display properly in
28603 Mozilla.) The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in
28604 the underlying PHPTAL library. It will be automatically disabled when running
28605 on PHP5; the older look and feel will be used instead.