Merge "Improve type hints in parser related classes"
[lhc/web/wiklou.git] / HISTORY
1 Change notes from older releases. For current info see RELEASE-NOTES-1.34.
2
3 = MediaWiki 1.33 =
4
5 === Upgrading notes for 1.33 ===
6 1.33 has several database changes since 1.32, and will not work without schema
7 updates. Note that due to changes to some very large tables like the revision
8 table, the schema update may take quite long (minutes on a medium sized site,
9 many hours on a large site).
10
11 Don't forget to always back up your database before upgrading!
12
13 See the file UPGRADE for more detailed upgrade instructions, including
14 important information when upgrading from versions prior to 1.11.
15
16 Some specific notes for MediaWiki 1.33 upgrades are below:
17
18 * Some external link searches will not work correctly until update.php (or
19 refreshExternallinksIndex.php) is run. These include searches for links using
20 IP addresses, internationalized domain names, and possibly mailto links.
21 * If you ran migrateActors.php using an older version of MediaWiki and want to
22 run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD,
23 note that log_search rows needed to find revision deletions by target user
24 were incorrectly deleted. See T215464 for details.
25 * If revision deletions were performed when the wiki was configured with
26 $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without
27 migrateActors.php having been run, the log_search table may contain rows with
28 empty values for "target_author_actor" which will prevent log searches for
29 revision deletions by target user from finding those log entries. These rows
30 may be corrected by (re-)running migrateActors.php.
31
32 For notes on 1.32.x and older releases, see HISTORY.
33
34 == MediaWiki 1.33.0 ==
35
36 === Changes since MediaWiki 1.33.0-rc.0 ===
37 * (T225558) Update installer link to PHP intl.
38 * (T225901) Only attempt to deduplicate if there is data in archive and revision
39 tables.
40 * (T225564) Fetch tag ID before calling undefineTag().
41 * (T225496) Detect APC for MainCacheType in CLI installer.
42 * Call unpack() with correct parameters in MimeAnalyzer.php for PHP 7.0 support.
43 * (T212613) Style change tags correctly on Special:Newpages.
44 * (T202211) Fix SQLite patch-(page|template)links-fix-pk.sql column order.
45
46 == MediaWiki 1.33.0-rc.0 ==
47
48 === Configuration changes for system administrators in 1.33 ===
49 ==== New configuration ====
50 * $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
51 accounts with block permissions the ability to block users, IPs, and IP ranges
52 from editing specific pages, while allowing them to edit the rest of the wiki.
53 It is a temporary setting for gradual enablement, current default to `false`,
54 and will be set to `true` and then removed once initial development completes.
55
56 ==== Changed configuration ====
57 * $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in
58 MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH.
59 * $wgPasswordPolicy – There is a new password policy to check that the account's
60 password is not in the large blacklist. This is enabled by default for the
61 built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure
62 this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`.
63 * $wgPasswordDefault – There is a new password type configuration using Argon2
64 password hashing (which requires PHP 7.2 and above). It's designed to resist
65 timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure
66 argon2 to be used, by default, it will automatically choose the best available
67 algorithm depending on which version of PHP you have available. To use this,
68 you can set `$wgPasswordDefault = 'argon2';`.
69 * $wgActorTableSchemaMigrationStage now defaults to reading the new schema.
70 update.php will back-populate the new database fields due to the changed
71 setting, which may take some time on large wikis. You can avoid downtime by
72 following a process like that described in T188327.
73
74 ==== Removed configuration ====
75 * $wgTagStatisticsNewTable (T199334) — This temporary setting, added in
76 MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki
77 will now always use the `change_tag_def` instead of the `change_tag` table.
78 * $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and
79 $wgDebugTidy – These options, all deprecated since 1.26, have now all been
80 removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting
81 remains only for experimental features and debugging, and should not be used.
82 * $wgEnableParserCache – This setting has been deprecated since 1.26, has now
83 been removed. If you still desire to disable the parser cache, instead you can
84 set `$wgParserCacheType = CACHE_NONE;`.
85 * $wgCommentTableSchemaMigrationStage – This temporary migration setting has now
86 been removed. Code finding it unset should treat it as being MIGRATION_NEW.
87 * $wgAuth – This old setting, deprecated in 1.27, has been removed as part of
88 the removal of AuthPlugin.
89 * $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent
90 to allow sites to configure a file in which to cache the SiteStore database
91 table, but it was never used. SiteStore already caches its information by
92 default using BagOStuff (e.g. Memcached or APC).
93 * $wgClockSkewFudge – This setting was used by User.php to let sites adjust by
94 how much MediaWiki would fudge when trying to minimize the chances of a
95 user.user_touched database update to the "current" timestamp being before the
96 value already there (e.g. due to clock skew between different servers). This
97 is no longer a problem, because the code now ensures the timestamp is always
98 higher than the previous one. The writes are guarded with CAS logic (check
99 and set), which prevents updates that would overlap.
100 * $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has
101 been removed.
102
103 === New user-facing features in 1.33 ===
104 * (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category
105 to be hidden on Special:UnusedCategories.
106 * (T210814) SVGs are now by default displayed in wiki language on image
107 pages.
108 * Special:CreateAccount now warns the user if their chosen username has to be
109 normalized.
110 * (T205040) Multilingual images are now be displayed in the current parse
111 language where available.
112 * Special:ActiveUsers will no longer filter out users who became inactive since
113 the last time the active users query cache was updated.
114 * (T215675) RecentChange and ManualLogEntry implement new Taggable interface.
115 * (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions
116 to modify (example: add tags) log entries.
117
118 === New developer features in 1.33 ===
119 * The AuthManagerLoginAuthenticateAudit hook has a new parameter for
120 additional information about the authentication event.
121 * TextContent::getText() was introduced as a replacement for
122 Content::getNativeData() for text-based content models.
123 * (T214706) LinksUpdate::getAddedExternalLinks() and
124 LinksUpdate::getRemovedExternalLinks() were introduced.
125 * (T213893) Added 'MaintenanceUpdateAddParams' hook
126 * (T219655) The MarkPatrolled hook has a new parameter for the tags
127 associated with this entry in the patrol log.
128 * (T212472) Extensions can now specify platform abilities they require to work,
129 limited to shell access for now.
130
131
132 === External library changes in 1.33 ===
133 ==== New external libraries ====
134 * Added wikimedia/password-blacklist 0.1.4.
135 * Added guzzlehttp/guzzle 6.3.3.
136
137 ==== Changed external libraries ====
138 * Updated OOUI from v0.29.2 to v0.31.3.
139 * Updated OOjs Router from pre-release to v0.2.0.
140 * Updated moment from v2.19.3 to v2.24.0.
141 * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2.
142 * Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
143 * Updated jquery-client from 2.0.1 to 2.0.2.
144 * Updated pear/net_smtp from 1.8.0 to 1.8.1.
145 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
146 * Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7.
147
148 ==== Removed external libraries ====
149 * (T219403) jquery.ui.spinner, deprecated since 1.31, was removed.
150
151
152 === Developer library changes in 1.33 ===
153 ==== New developer libraries ====
154 * Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only).
155 * Added mediawiki/mediawiki-phan-config 0.5.0 (dev-only).
156
157 ==== Changed developer libraries ====
158 * Updated wikimedia/ip-set from 1.3.0 to 2.0.1.
159 * The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be
160 used instead.
161 * Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only).
162 * Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only).
163 * Updated mediawiki/mediawiki-codesniffer from 22.0.0 to 25.0.0 (dev-only).
164 * Updated qunitjs from 2.6.2 to 2.9.1.
165
166 ==== Removed developer libraries ====
167 * The jetbrains/phpstorm-stubs repository was removed in favour of the minimal
168 stubs we need, which are kept in the new `.phan/internal_stubs` directory
169 (dev-only).
170
171
172 === Bug fixes in 1.33 ===
173 * (T164211) Special:UserRights could sometimes fail with a
174 "conflict detected" error when there weren't any conflicts.
175 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
176 a non-Latin name on a page with non-Latin characters in title.
177 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
178 saveFileDependencies().
179
180 === Action API changes in 1.33 ===
181 * (T198913) Added 'ApiOptions' hook.
182 * The JSON formatversion=2 is no longer experimental.
183 * Internal API errors (those with code beginning "internal_api_error") will
184 include the exception class name in a data field named "errorclass".
185 * Class names are not guaranteed to remain stable, and in particular database
186 exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name.
187 * The code including an exception class name is deprecated. In the future,
188 all internal errors will use code "internal_api_error".
189 * (T212356) When using action=delete on pages with many revisions, the module
190 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
191 deletion will be processed via the job queue.
192 * action=setnotificationtimestamp will now update the watchlist asynchronously
193 if entirewatchlist is set, so updates may not be visible immediately
194 * Block info will be added to "blocked" errors from more modules.
195 * (T216245) Autoblocks will now be spread by action=edit and action=move.
196 * action=query&meta=userinfo has a new uiprop, 'latestcontrib', that returns
197 the date of user's latest contribution.
198 * (T25227) action=logout now requires to be posted and have a csrf token.
199
200 === Action API internal changes in 1.33 ===
201 * A number of deprecated methods for API documentation, intended for overriding
202 by extensions, are no longer called by MediaWiki, and will emit deprecation
203 notices if your extension attempts to use them:
204 * ApiBase::getDescription() (deprecated in 1.25)
205 * ApiBase::getParamDescription() (deprecated in 1.25)
206 * ApiBase::getExamples() (deprecated in 1.25)
207 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
208 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
209 been removed, as their only use was to let extensions override values returned
210 by getDescription() and getParamDescription(), respectively.
211 * API error codes may only contain ASCII letters, numbers, underscore, and
212 hyphen. Methods such as ApiBase::dieWithError() and
213 ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
214 passed a bad code.
215 * ApiBase::checkTitleUserPermissions() now takes an options array as its third
216 parameter. Passing a User object or null is deprecated.
217 * The api-feature-usage log channel now has log context. The text message is
218 deprecated and will be removed in the future.
219
220 === Languages updated in 1.33 ===
221 MediaWiki supports over 350 languages. Many localisations are updated regularly.
222 Below only new and removed languages are listed, as well as changes to languages
223 because of Phabricator reports.
224
225 * (T203908) Added language support for Eastern Pwo (kjp).
226 * (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
227 for NS_TEMPLATE.
228 * (T212221) Added $digitTransformTable for Santali (sat).
229 * (T216479) Added language support for Saisiyat (xsy).
230 * (T219728) Added support for new Japanese era name "Reiwa"
231
232 === Breaking changes in 1.33 ===
233 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
234 Language. Other types are deprecated since 1.32.
235 * Skin::doEditSectionLink requires type Language for the parameter $lang.
236 The parameters $tooltip and $lang are mandatory. Omitting the parameters is
237 deprecated since 1.32.
238 * Language::truncate(), deprecated in 1.31, has been removed.
239 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
240 instead.
241 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
242 and 'notice-message', which were deprecated in 1.32, were removed. Instead,
243 use 'help', 'help-message', and 'help-messages'.
244 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
245 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
246 RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
247 Use the RESTBase v1 or Parsoid v3 API instead.
248 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
249 parser are being deprecated and ParserOptions::getCanonicalOverrides()
250 has always been true at any rate.
251 * Support for disabling tidy and external tidy implementations has been removed.
252 This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
253 used and no configuration is necessary.
254 * A number of deprecated methods for API documentation, intended for overriding
255 by extensions, are no longer called by MediaWiki, and will emit deprecation
256 notices if your extension attempts to use them:
257 * ApiBase::getDescription() (deprecated in 1.25)
258 * ApiBase::getParamDescription() (deprecated in 1.25)
259 * ApiBase::getExamples() (deprecated in 1.25)
260 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
261 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
262 been removed, as their only use was to let extensions override values returned
263 by getDescription() and getParamDescription(), respectively.
264 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
265 'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
266 the creation of AuthManager in 1.27, have been removed. This also means that
267 the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
268 is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
269 that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
270 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
271 use 'jquery.i18n'.
272 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
273 1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
274 respectively in a $wgExtensionMessagesFiles file.
275 * The following methods of the Preferences class, deprecated in 1.31, have been
276 removed:
277 * getSaveBlacklist()
278 * loadPreferenceValues()
279 * getOptionFromUser()
280 * profilePreferences()
281 * skinPreferences()
282 * filesPreferences()
283 * datetimePreferences()
284 * renderingPreferences()
285 * editingPreferences()
286 * rcPreferences()
287 * watchlistPreferences()
288 * searchPreferences()
289 * miscPreferences()
290 * generateSkinOptions()
291 * getDateOptions()
292 * getImageSizes()
293 * getThumbSizes()
294 * validateSignature()
295 * cleanSignature()
296 * getTimezoneOptions()
297 * filterIntval()
298 * filterTimezoneInput()
299 * getTimeZoneList()
300 * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
301 * (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
302 * The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
303 Specifically: mediawiki.api.category, mediawiki.api.edit,
304 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
305 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
306 mediawiki.api.messages, and mediawiki.api.rollback.
307 * The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
308 deprecated in 1.31, was removed.
309 * Revision::fetchRevision(), deprecated in 1.28, was removed.
310 * Class SquidUpdate, deprecated in 1.27, was removed.
311 * Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
312 Title->getCdnUrls().
313 * Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
314 Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
315 * Title->canTalk(), deprecated in 1.30, was removed. Instead, use
316 Title->canHaveTalkPage().
317 * Title's methods for site and user page related to CSS and JS, deprecated in
318 1.31, were removed:
319 * Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
320 * Title->isCssJsSubpage() – Use Title->isUserConfigPage()
321 * Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
322 * Title->isCssSubpage() – Use Title->isUserCssConfigPage()
323 * Title->isJsSubpage() – Use Title->isUserJsConfigPage()
324 * SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
325 would return the global SiteStore instance, has been removed. You can get to
326 this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
327 * Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
328 Instead, use Language->formatSize() with the relevant Language object.
329 * Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
330 version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
331 * EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
332 use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
333 * LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
334 be unused, and is distinct from OutputPage->addLink(), which remains.
335 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
336 JsonContent->getData().
337 * MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
338 exception ID is the same as the request ID, from WebRequest::getRequestId().
339 * SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
340 You can use SearchEngine::getNearMatcher() instead.
341 * EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
342 removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
343 * User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
344 been removed. Instead, please use UserGroupMembership::getGroupName() and
345 UserGroupMembership::getGroupMemberName().
346 * Backwards compatibility for setting wgSessionsInObjectCache to false or using
347 wgSessionHandler, both of which were deprecated in 1.27 with the introduction
348 of SessionManager, has been removed.
349 * SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
350 MediaWiki\Auth\AuthManager::autoCreateUser instead.
351 * The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
352 Use require( 'mediawiki.libs.jpegmeta' ) instead.
353 * The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
354 Use mw.user.getPageviewToken() instead.
355 * Removed deprecated class property WikiRevision::$importer.
356 * ResourceLoaderFileModule::readStyleFiles() now requires its $context
357 parameter.
358 * The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
359 been removed.
360 * MessageBlobStore::__construct() now requires its $rl parameter.
361 * Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
362 has been removed.
363 * The 'jquery.xmldom' module has been removed.
364 * The 'jquery.mockjax' module has been removed.
365 * The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
366 * AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
367 should instead use AuthManager. The following no longer exist:
368 * The AuthPlugin class itself and the related AuthPluginUser class and i18n
369 * The AuthPluginSetup and AuthPluginAutoCreate hooks
370 * The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
371 AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
372 * The $wgAuth configuration setting and its use in Setup.php and unit tests
373 * (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
374 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
375 LanguageConverter::markNoConversion instead.
376 * BagOStuff::modifySimpleRelayEvent() method has been removed.
377 * ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
378 Use ParserOutput::allCacheVaryingOptions instead.
379 * CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
380 Use CdnCacheUpdate::newFromTitles() instead.
381 * Handling of multiple arguments by the Block constructor, deprecated in 1.26,
382 has been removed.
383 * The translation of main page in Sardinian (sc) was changed from "Pàgina Base"
384 to "Pàgina printzipale". Existing wikis using this content language need to
385 move the main page or change the name through MediaWiki:Mainpage page.
386 * wfSplitWikiID(), deprecated in 1.32, has been removed.
387 * MessageBlobStore::getBlob(), deprecated in 1.27, has been removed.
388 Use ::getBlobs() instead.
389 * The .background-size() LESS mixin, deprecated in 1.27, has been removed.
390 * ReadOnlyMode::clearCache() and ConfiguredReadOnlyMode::clearCache() have been
391 removed. Use MediaWikiTestCase::overrideMwServices() instead.
392
393 === Deprecations in 1.33 ===
394 * The configuration option $wgUseESI has been deprecated, and is expected
395 to be removed in a future release.
396 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
397 and is expected to be removed in a future release.
398 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
399 introduced in MW 1.17, have been deprecated. These fixes will always be
400 applied for Arabic and Malayalam in the future. Please enable these on
401 your local wiki (if you have them explicitly set to false) and run
402 maintenance/cleanupTitles.php to fix any existing page titles.
403 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
404 in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
405 This will help identify the issue if you added it to $wgAuthManagerConfig.
406 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
407 domain ID as a key component and use makeGlobalKey().
408 * (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
409 Title::getDBKey(), which doesn't vary case.
410 * User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
411 returns the same information in a more useful format.
412 * For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
413 as the $lang parameter was deprecated. The same applies to DummyLinker.
414 * The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
415 follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
416 instead which blacklists 100,000 commonly used passwords.
417 * (T208862) Action::requiresUnblock() is now called from
418 Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
419 was only called in Action::checkCanExecute(). Actions should ensure that their
420 requiresUnblock() returns the proper result (the default is `true`).
421 * (T211608) The MediaWiki\Services namespace has been renamed to
422 Wikimedia\Services. The old name is still supported, but deprecated.
423 * (T155582) Content::getNativeData has been deprecated. Please use model-
424 specific getters, such as TextContent::getText().
425 * The class WebInstallerOutput is now marked as @private.
426 * (T209699) The jquery.async module has been deprecated. JavaScript code that
427 needs asynchronous behaviour should use Promises.
428 * Password::equals() is deprecated, use verify().
429 * BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
430 other means to fetch a properly escaped message string or Message object.
431 * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
432 testing code for your JavaScript modules, is deprecated. Instead, you can now
433 use the new extension registration key 'QUnitTestModule'.
434 * (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
435 code that needs this behaviour should use OO.ui.debounce/throttle.
436 * The mw.language.specialCharacters property from the
437 'mediawiki.language.specialCharacters' module has been deprecated.
438 Use require( 'mediawiki.language.specialCharacters' ) instead.
439 * ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
440 removed in a future release.
441 * Passing a User object or null as the third parameter to
442 ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
443 [ 'user' => $user ] instead.
444 * (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
445 Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
446 block properties; use Block::appliesToRight and Block::appliesToUsertalk to
447 check block behaviour.
448 * The api-feature-usage log channel now has log context. The text message is
449 deprecated and will be removed in the future.
450 * The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
451 implementation, use CachingSiteStore instead.
452 * Language::viewPrevNext function is deprecated, use
453 SpecialPage::buildPrevNextNavigation instead
454 * ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
455 instead. The setTags() method was overriding the tags, addTags() doesn't
456 override, only adds new tags.
457 * Block::isValid is deprecated, since it is no longer needed in core.
458 * Calling Maintenance::hasArg() as well as Maintenance::getArg() with no
459 parameter has been deprecated. Please pass the argument number 0.
460 * ResourceLoaderContext::expandModuleNames has been deprecated.
461 Use ResourceLoader::expandModuleNames instead.
462
463 === Other changes in 1.33 ===
464 * (T201747) Html::openElement() warns if given an element name with a space
465 in it.
466 * The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
467 changed to explicitly cast. Subclasses relying on the base-class
468 implementation should check whether they need to override it now.
469 * BagOStuff::add is now abstract and must explicitly be defined in subclasses.
470 * LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
471 the following hooks will now be triggered upon page deletion in addition
472 to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.
473 LinksUpdateAfterInsert is not triggered since deletions do not cause
474 insertions into links tables.
475 * Category::newFromID( $id )->getID() will now return $id without any
476 validation, to avoid a mostly unnecessary DB query.
477 * On Special:Version, the name for an extension can no longer be arbitrary
478 html when no link is specified.
479
480
481 = MediaWiki 1.32 =
482
483 == MediaWiki 1.32.3 ==
484
485 This is a maintenance release of the MediaWiki 1.32 branch.
486
487 === Changes since MediaWiki 1.32.2 ===
488 * (T225558) Update installer link to PHP intl.
489 * (T225496) Detect APC for MainCacheType in CLI installer.
490 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependancies.
491 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
492
493 == MediaWiki 1.32.2 ==
494
495 This is a security and maintenance release of the MediaWiki 1.32 branch.
496
497 === Changes since MediaWiki 1.32.1 ===
498 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
499 * (T216968) Return pageid as int in both list=iwbacklinks and
500 list=langbacklinks.
501 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
502 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
503 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
504 $wgBlockDisablesLogin is true.
505 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
506 a non-Latin name on a page with non-Latin characters in title.
507 * Unbreak language related maintenance scripts that use StaticArrayWriter.
508 * (T219728) Added support for new Japanese era name "Reiwa".
509 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
510 token.
511 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
512 * (T221045) Remove orphaned code from ConfigRepository.
513 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
514 saveFileDependencies().
515 * (T224374) Fix message parameters so that the message that says SQLite is
516 out of date makes sense.
517 * (T200471) Prevent LBFactorySimple breaking ExternalStorage, when trying to
518 connect to external server with local database name.
519 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
520 * (T208881) SECURITY: blacklist CSS var().
521 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
522 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
523 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
524 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
525 view the log type.
526 * (T221739) SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358.
527
528 == MediaWiki 1.32.1 ==
529
530 === Changes since MediaWiki 1.32.0 ===
531 * (T213577) rdbms: avoid transaction status errors from ping() in rollback().
532 * rdbms: Pass required parameter.
533 * rdbms: do not treat SAVEPOINT and RELEASE SAVEPOINT as write queries.
534 * (T204531) rdbms: reduce LoadBalancer replication log spam.
535 * (T213489) Avoid session double-start in Setup.php.
536 * (T213717) Correct namespace 'Template' for gom-deva
537 * (T198054) Fix login page crash caused by unknown language via ?uselang
538 * (T215324) (T210937) list=users mistakenly reports user as missing.
539 * (T209483) Add ILBFactory::redefineLocalDomain method. This is intended for
540 use with scripts like addWiki.php to avoid mismatched domain errors.
541 * (T208871) The hard-coded Google search form on the database error page was
542 removed.
543 * (T204800) Fix Title::getFragmentForURL for bad interwiki prefix
544 * (T215566) Fix installer being unable to determine if the database exists
545 during a fresh installation.
546
547 == MediaWiki 1.32.0 ==
548
549 === Changes since MediaWiki 1.32.0-rc.2 ===
550 * (T188327) Fix slow queries in migrateActors.php.
551 * (T102320) Fix $magicWords for the Sanskrit language.
552
553 === Changes since MediaWiki 1.32.0-rc.1 ===
554 * Fix addition of ug_expiry column to user_groups table on MSSQL.
555 * (T210307) Fix the cache timestamp for forced updates.
556 * (T210621) User: Bypass repeatable-read when creating an actor_id.
557 * (T197535) Extensions can now specify PHP versions and PHP extensions they
558 depend on.
559 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
560 * (T212356) When using action=delete on pages with many revisions, the module
561 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
562 deletion will be processed via the job queue.
563 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
564 recentchanges.rc_cur_time from the PostgreSQL schema.
565
566 === Changes since MediaWiki 1.32.0-rc.0 ===
567 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
568 has been started.
569 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
570 if --lang is used with the command-line installer (install.php).
571
572 === Configuration changes in 1.32 ===
573
574 ==== New configuration ====
575 * $wgJpegQuality – The quality of JPEG thumbnails is now configurable through
576 this setting. The default is 80, which matches the quality of JPEG thumbnails
577 previously generated by ImageMagick. The quality of JPEG thumbnails generated
578 by GD was previously 95, but now uses the $wgJpegQuality setting as well.
579 * $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP
580 user is blocked. Doing so means that a blocked user, even after moving to a
581 new IP address, will still be blocked.
582 * $wgRawHtmlMessages – This new configuration setting is added for listing
583 messages which are displayed as raw HTML.
584 * $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a
585 "Content Security Policy" for your wiki. This adds a defense-in-depth feature
586 to stop an attacker who has found a bug in the parser allowing them to insert
587 malicious attributes. Disabled by default. (T135963)
588 * $wgGroupPermissions – A new user group, 'interface-admin', is added for
589 controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No
590 other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs'
591 by default.
592 * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for
593 granting the above rights.
594 * $wgDBDefaultGroup – A default database group for use by maintenance scripts.
595 * $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you
596 enable client-side profiling of JavaScript modules; it is off by default.
597 * (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration
598 setting allows sysadmins to gradually migrate the database table schema for
599 how change tags are stored.
600 * (T199334) $wgTagStatisticsNewTable — This temporary configuration setting
601 allows sysadmins to enable the caching of Special:Tags via the new
602 change_tag_def table.
603
604 ==== Changed configuration ====
605 * $wgUseAjax – This setting, deprecated in 1.31, is now ignored.
606 * $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has
607 been increased from 3 to 7 days. (T194414)
608 * $wgGroupPermissions – The right to edit sitewide Javascript
609 (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface'
610 and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having
611 'editinterface' is still necessary to edit such pages.
612 * $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the
613 old and the new schema, but reading the new schema, so Multi-Content Revisions
614 (MCR) are now functional per default. The new default value of the setting is
615 SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW.
616 * $wgActorTableSchemaMigrationStage no longer accepts MIGRATION_WRITE_BOTH or
617 MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH |
618 SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW
619 for intermediate stages of migration.
620 * $wgDBTableOptions – The default table options now use the binary charset. The
621 default was already overridden in the installer-generated LocalSettings.php,
622 and so is always set to binary after the installer UI option was removed. The
623 default value is only used when the installer installs an extension.
624 * $wgPopularPasswordFile — The location of the default popular passwords file
625 has been moved to be in line with other non-PHP files used by libraries and
626 classes.
627 * $wgEnableImageWhitelist is now disabled by default, as it opens up a hole for
628 potential privacy leaks by administrators. You can check
629 "MediaWiki:External image whitelist" on your wiki to see whether the feature
630 was ever used, and whether it needs to be re-enabled.
631
632 ==== Removed configuration ====
633 * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31,
634 have been removed. (T115414)
635 * $wgSiteSupportPage – This setting, unused since 1.5, was removed.
636 * $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed.
637 * $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed.
638 The 'html5-legacy' value for $wgFragmentMode is no longer accepted.
639 * $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and
640 most extensions, is no longer set. Instead, you can modify the system
641 message `emailsender`.
642 * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers
643 were removed. RemexHtml, which is the default, should be used instead.
644 * (T181318) The $wgStyleVersion setting and its appendage to various script and
645 style URLs in OutputPage, deprecated in 1.31, was removed.
646 * (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed
647 from ResourceLoader. Instead, use `@import` statements in LESS to import
648 files directly from nearby directories within the same project.
649 * (T140804) The wgResourceLoaderLESSVars configuration option, deprecated
650 since 1.30, was removed. Instead, to expose variables from PHP to LESS, use
651 the ResourceLoaderModule::getLessVars() method.
652 * $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18,
653 was removed.
654 * Two temporary variables for deploying the feature of filters on change lists,
655 $wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and
656 $wgStructuredChangeFiltersOnWatchlist in 1.31, were removed.
657
658 === New features in 1.32 ===
659 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
660 using a particular page during edit previews.
661 * (T12331) You can now log page creation events by setting $wgPageCreationLog
662 to true.
663 * Added 'ApiParseMakeOutputPage' hook.
664 * (T174313) Added checkbox on Special:ListUsers to display only users in
665 temporary user groups.
666 * (T152462) A cookie can now be set when an IP user is blocked to track that
667 user if they move to a new IP address. This is disabled by default.
668 * (T194950) Added 'ApiMaxLagInfo' hook.
669 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
670 reauthenticating.
671 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
672 getLoginSecurityLevel() returns non-false.
673 * The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser,
674 &$query and &$widthOption, allowing extensions even finer control over the
675 resulting HTML code.
676 * Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine
677 if the [mark as patrolled] link should be shown at the footer of patrollable
678 pages.
679 * The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook
680 is now passed by reference, allowing extensions to modify or even unset it.
681 * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
682 modify the return value of OutputPage#getHeadLinksArray in order to add,
683 remove or otherwise alter the elements to be output in the page <head>.
684 * (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
685 additional links to the subtitle of a history page.
686 * The 'GetLinkColours' hook now receives an additional $title parameter,
687 the Title object of the page being parsed, on which the links will be shown.
688 * (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to
689 render diffs between two Content objects, and DifferenceEngine::setRevisions()
690 to render diffs between two custom (potentially multi-content) revisions.
691 Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots.
692 * Added a temporary action=mcrundo to the web UI, as the normal undo logic
693 can't yet handle MCR and deadlines are forcing is to put off fixing that.
694 This action should be considered deprecated and should not be used directly.
695 * Extensions overriding ContentHandler::getUndoContent() will need to be
696 updated for the changed method signature.
697 * Added a new hook, 'UserGetRightsRemove', which can be used to remove rights
698 from user. Unlike the 'UserGetRights' it will ensure that removed rights
699 will not be reinserted.
700 * (T197535) Extensions can now specify PHP versions and PHP extensions they
701 depend on.
702
703 === External library changes in 1.32 ===
704
705 ==== New external libraries ====
706 * Added pear/Net_SMTP v1.8.0.
707 * Added wikimedia/xmp-reader v0.6.0.
708
709 * Added cache/integration-tests v0.16.0 (dev-only).
710 * Added giorgiosironi/eris v0.10.0 (dev-only).
711 * Added seld/jsonlint v1.7.1 (dev-only).
712
713 * Added EasyDeflate (unversioned).
714
715 ==== Changed external libraries ====
716 * Updated OOUI from v0.26.3 to v0.29.2.
717 * Updated wikimedia/base-convert from v1.0.1 to v2.0.0.
718 * Updated wikimedia/remex-html from v1.0.3 to v2.0.1.
719 * Updated wikimedia/scoped-callback from v1.0.0 to v2.0.0.
720 ** ScopedCallback objects can no longer be serialized.
721 * Updated wikimedia/timestamp from v1.0.0 to v2.2.0.
722 * Updated wikimedia/wrappedstring from v2.3.0 to v3.0.1.
723 * oyejorge/less.php replaced with our fork wikimedia/less.php
724 * Updated wikimedia/ip-set from v1.2.0 to v1.3.0.
725
726 * Updated composer/spdx-licenses from v1.3.0 to v1.4.0 (dev-only).
727 * Updated mediawiki/mediawiki-codesniffer from v18.0.0 to v22.0.0 (dev-only).
728 * Updated psy/psysh from v0.8.11 to v0.9.6 (dev-only).
729
730 * Updated CLDRPluralRuleParser from v0.1.0 to v1.3.2-pre.
731 * Updated jquery from v3.2.1 to v3.3.1.
732 * Updated jquery.client from v2.0.0 to v2.0.1.
733 * Updated jquery.i18n from v1.0.4 to v1.0.5.
734 * Updated mustache.js from v0.8.2-d9aa703 to v1.0.0.
735 * Updated OOjs from v2.2.0 to v2.2.2.
736 * Updated qunitjs from v2.4.0 to v2.6.2.
737 * Updated sinonjs from v1.17.3 to v1.17.7.
738
739 ==== Removed external libraries ====
740 * pear/mail_mime-decode was removed.
741
742 === Bug fixes in 1.32 ===
743 * SpecialPage::execute() will now only call checkLoginSecurityLevel() if
744 getLoginSecurityLevel() returns non-false.
745 * (T43720, T46197) Improved page display title handling for category pages
746 * (T65080) Fixed resetting options of some types via API action=options.
747
748 === Action API changes in 1.32 ===
749 * Added templated parameters.
750 * A module can define a templated parameter like "{fruit}-quantity", where
751 the actual parameters recognized correspond to the values of a multi-valued
752 parameter. Then clients can make requests like
753 "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
754 * action=paraminfo will return templated parameter definitions separately
755 from normal parameters. All parameter definitions now include an "index"
756 key to allow clients to maintain parameter ordering when merging normal and
757 templated parameters.
758 * It is now an error to submit too many values for a multi-valued parameter.
759 This has generated a warning since MediaWiki 1.14.
760 * Assertion failures from the 'assert' and 'assertuser' parameters will no
761 longer use the action module's custom response format, for the few modules
762 that use custom formatters that handle errors.
763 * (T198935) User list preferences such as `email-blacklist` and similar
764 extension preferences are no longer represented as arrays when returned by
765 action=query&meta=userinfo&uiprop=options.
766 * 'missingparam' errors will now use the prefixed parameter name in the code
767 and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
768 than "nofoo" and "The 'foo' parameter must be set".
769 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
770 multi-content revision slots for which content should be returned. It also
771 has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
772 warning will be issued if rvprop=content or rvprop=contentmodel are used
773 without rvslots.
774 * The rvcontentformat parameter to action=query&prop=revisions has been
775 deprecated. Clients should be prepared to deal with the default format for
776 relevant models.
777 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
778 rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
779 rvprop=parsetree is forbidden with the new 'rvslots' parameter.
780 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
781 action=query&list=alldeletedrevisions are changed similarly to
782 &prop=revisions (see the three previous items).
783 * (T174032) action=compare now supports multi-content revisions.
784 * It has a 'slots' parameter to select diffing of individual slots. The
785 default behavior is to return one combined diff.
786 * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat',
787 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters
788 are deprecated. Specify the new 'fromslots' and 'toslots' to identify which
789 slots have text supplied and the corresponding templated parameters for
790 each slot.
791 * The behavior of 'fromsection' and 'tosection' of extracting one section's
792 content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}'
793 instead expand the given text as if for a section edit. This effectively
794 declines T183823 in favor of T185723.
795 * (T198214) The 'disabletidy' parameter to action=parse has been
796 deprecated; untidy output will not be supported by future wikitext
797 parsers.
798 * Added intestactionsdetail to action=query&prop=info to allow retrieving the
799 reasons an action is not allowed.
800 * Deprecated action=query&prop=info inprop=readable in favor of
801 intestactions=read.
802 * (T212356) When using action=delete on pages with many revisions, the module
803 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
804 deletion will be processed via the job queue.
805
806 === Action API internal changes in 1.32 ===
807 * Added 'ApiParseMakeOutputPage' hook.
808 * Parameter names may no longer contain '{' or '}', as these are now used for
809 templated parameters.
810 * (T194950) Added 'ApiMaxLagInfo' hook.
811 * The following methods now take a RevisionRecord rather than a Revision. No
812 external callers are known.
813 * ApiFeedContributions::feedItemAuthor()
814 * ApiFeedContributions::feedItemDesc()
815 * ApiQueryRevisionsBase::extractRevisionInfo()
816 * The following deprecated methods have been removed:
817 * ApiBase::profileIn() (deprecated in 1.25)
818 * ApiBase::profileOut() (deprecated in 1.25)
819 * ApiBase::safeProfileOut() (deprecated in 1.25)
820 * ApiBase::profileDBIn() (deprecated in 1.25)
821 * ApiBase::profileDBOut() (deprecated in 1.25)
822 * ApiBase::dieUsage() (deprecated in 1.29)
823 * ApiBase::dieUsageMsg() (deprecated in 1.29)
824 * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
825 * ApiBase::getErrorFromStatus() (deprecated in 1.29)
826 * ApiBase::parseMsg() (deprecated in 1.29)
827 * ApiBase::setWarning() (deprecated in 1.29)
828 * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
829 * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
830 * ApiUsageException::getCodeString() (deprecated in 1.29)
831 * ApiUsageException::getMessageArray() (deprecated in 1.29)
832 * Class UsageException, deprecated in 1.29, has been removed.
833 * ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you
834 can now easily test $formatter->getFormat() === 'bc', and then call
835 $formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter.
836
837 === Languages updated in 1.32 ===
838 MediaWiki supports over 350 languages. Many localisations are updated regularly.
839 Below only new and removed languages are listed, as well as changes to languages
840 because of Phabricator reports.
841
842 * (T193566) Added language support for Ambonese Malay (abs).
843 * (T194047) Added language support for Shawiya, Latin script (shy-latn).
844 * (T195940) Added language support for Batak Mandailing (btm).
845 * (T137491) Added language support for Standard Moroccan Amazigh (zgh).
846 * (T198132) Added language support for Manipuri (mni).
847 * (T201276) Added language support for Western Armenian (hyw).
848 * (T201583) Added language support for Mon (mnw).
849
850 === Breaking changes in 1.32 ===
851 * $wgRequestTime, deprecated in 1.25, was removed. Use
852 $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
853 * The MediaWikiI18N class, deprecated in 1.31, was removed.
854 * QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use
855 Skin::msg() instead.
856 * wfInitShellLocale(), deprecated in 1.30, was removed.
857 * wfShellExecDisabled(), deprecated in 1.30, was removed.
858 * The type string for the parameter $lang of DateFormatter::getInstance,
859 deprecated in 1.31, was removed.
860 * The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use
861 MediaWiki\Session\Token::SUFFIX instead.
862 * EditPage::isOouiEnabled() deprecated in 1.30, was removed.
863 * mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl()
864 instead.
865 * (T61113) The following methods and constants from the Revision class, which
866 were deprecated in 1.25, have now been removed:
867 * Revision::getRawUser()
868 * Revision::getRawUserText()
869 * Revision::getRawComment()
870 * window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use
871 mw.msg() or mw.message() instead.
872 * mw.util.escapeId(), deprecated in 1.30, was removed. Use
873 mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead.
874 * mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use
875 jquery.accessKeyLabel instead.
876 * The SqlDataUpdate class, deprecated in 1.28, has been removed.
877 * The Html5Internal and Html5Depurate tidy driver classes were removed, along
878 with the Balancer tidy implementation. Both implementations were experimental,
879 and were replaced by RemexHtml.
880 * (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both
881 removed. Use JobQueueGroup::singleton()->push() instead.
882 * The jquery.footHovzer module, for mediawiki.debug, was removed.
883 * The es5-shim module, empty and deprecated since 1.29, was removed.
884 * the dom-level2-shim module, empty and deprecated since 1.29, was removed.
885 * the json module, empty and deprecated since 1.29, was removed.
886 * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was
887 removed. Use mediawiki.widgets.visibleLengthLimit instead.
888 * The jquery.farbtastic module, unused since 1.18, was removed.
889 * The 'jquery.expandableField' module, unused since 1.22, was removed.
890 * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide
891 any HTMLForm object rather than PreferencesForm.
892 * The non namespaced TimestampException class, deprecated in 1.29, was removed.
893 Use Wikimedia\Timestamp\TimestampException instead.
894 * The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence,
895 utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed.
896 The UtfNormal\Utils class from the utfnormal library should be used instead.
897 * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants
898 from the UtfNormal\Constants class from the utfnormal library should be used
899 * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
900 only needed for PHP5 compatibility, have been removed. It now uses the boolean
901 values `true` and `false` respectively.
902 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
903 were removed. Use the ParserCache class instead.
904 * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
905 instead.
906 * Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(),
907 deprecated since 1.26, was removed. Use getDefinitionSummary() instead.
908 * (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump"
909 and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump"
910 is no longer loaded by default. The Vector and MonoBook skins have made a
911 minor change to implement the toggle feature with CSS instead. To restore
912 prior functionality, either explicitly load "jquery.mw-jump" in your skin
913 or refer to T195256 for details on how to make the same change.
914 * Hook 'EditPageBeforeEditChecks' was removed;
915 use 'EditPageGetCheckboxesDefinition' instead.
916 * Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since
917 1.28, were removed. LinkRenderer::getLinkClasses() should be used instead.
918 * Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has
919 been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode()
920 instead.
921 * mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of
922 CapsuleMultiselectWidget. The following methods may no longer be used:
923 * setItemsFromData: Use setValue instead
924 * getItemsData: Use getItems instead and get the data property
925 * Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
926 removed. Use addLink() instead.
927 * Another two OutputPage methods, setPageTitleActionText() and
928 getPageTitleActionText(), were removed. They did nothing since 1.15 (almost
929 ten years). Use setHTMLTitle() directly.
930 * The return value of OutputPage::adaptCdnTTL() has been removed. The
931 value returned was misleading and probably not what any caller would
932 have wanted.
933 * All MagicWord static member variables have been removed. Use appropriate
934 hooks or MagicWordFactory methods instead.
935 * MagicWord::clearCache() has been removed. Instead, create a new
936 MagicWordFactory, such as by calling
937 resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
938 * mw.util.init() has been removed. This function is not needed anymore and was
939 a no-op function since 1.30.
940 * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices()
941 instead.
942 * MediaWiki no longer supports a StartProfiler.php file. Instead, you can set
943 $wgProfiler and $wgEnableProfileInfo.
944 * The mw.loader.addSource() is now considered a private method, and no longer
945 supports the `id, url` signature. Use the `Object` parameter instead.
946 * The backwards-compatibility code in HTMLForm to add a drop-down control to an
947 option that is not set to be a drop-down if the "mw-chosen" class is present,
948 is now removed.
949 * Several collations were removed. They were workarounds for bugs in the ICU
950 library and they are no longer needed (as of ICU 57.1):
951 * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead
952 * 'xx-uca-et' (CollationEt) - use 'uca-et' instead
953 * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead
954 * LanguageCode::bcp47() now always returns a valid BCP 47 code. This means
955 that some MediaWiki-specific language codes, such as `simple`, are mapped
956 into valid BCP 47 codes (eg `en-simple`).
957 * The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated
958 in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'.
959 The ChangesListSpecialPage code for these legacy hooks, and their use in
960 SpecialRecentchanges.php and SpecialWatchlist, was also removed:
961 * ChangesListSpecialPage->getCustomFilters()
962 * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters()
963 * ChangesListSpecialPage::customFilters
964 * The global function wfUseMW, deprecated since 1.26, has now been removed. Use
965 the "requires" property of static extension registration instead.
966 * $wgSpecialPages no longer accepts array syntax, deprecated since 1.18.
967 * The MailAddress constructor can no longer be called with a User object,
968 behaviour which has been deprecated since 1.24.
969 * LBFactory, deprecated since 1.28, has been removed. Instead, use
970 Wikimedia\Rdbms\LBFactory.
971 * The MimeMagic class, deprecated since 1.28 has been removed. Get a
972 MimeAnalyzer instance from MediaWikiServices instead.
973 * The '--tidy' option to maintenance/parse.php has been removed. Tidying
974 the output is now the default. Use '--no-tidy' to bypass the tidy
975 phase.
976 * The global function wfErrorLog, deprecated since 1.25, has now been removed.
977 Use MWLoggerLegacyLogger::emit or UDPTransport.
978 * The hooks 'SpecialRecentChangesQuery' & 'SpecialWatchlistQuery', deprecated in
979 1.23, were removed. Instead, use ChangesListSpecialPageStructuredFilters or
980 ChangesListSpecialPageQuery.
981 * The global function wfUsePHP, deprecated since 1.30, has now been removed. To
982 assert a newer version of PHP than MediaWiki does, use extension registration.
983 * The hook 'ChangesListSpecialPageFilters', deprecated in 1.29, has now been
984 removed. Use the 'ChangesListSpecialPageStructuredFilters' hook instead.
985 * DeferredUpdates::setImmediateMode(), deprecated since 1.29, has been removed.
986 * File / MediaHandler::getStreamHeaders(), deprecated since 1.30, was removed.
987 * The hook 'DoEditSectionLink', deprecated since 1.25, has been removed. Use
988 the hook 'SkinEditSectionLinks' instead.
989 * The hook 'UserGetImplicitGroups', deprecated since 1.25, has been removed.
990 * The global function wfRunHooks, deprecated since 1.25, has now been removed.
991 Use Hooks::run().
992 * The hook 'UnknownAction', deprecated since 1.19, has now been removed.
993 * The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use
994 the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead.
995 * The following deprecated API methods have been removed:
996 * ApiBase::profileIn() (deprecated in 1.25)
997 * ApiBase::profileOut() (deprecated in 1.25)
998 * ApiBase::safeProfileOut() (deprecated in 1.25)
999 * ApiBase::profileDBIn() (deprecated in 1.25)
1000 * ApiBase::profileDBOut() (deprecated in 1.25)
1001 * ApiBase::dieUsage() (deprecated in 1.29)
1002 * ApiBase::dieUsageMsg() (deprecated in 1.29)
1003 * ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29)
1004 * ApiBase::getErrorFromStatus() (deprecated in 1.29)
1005 * ApiBase::parseMsg() (deprecated in 1.29)
1006 * ApiBase::setWarning() (deprecated in 1.29)
1007 * ApiPageSet::getInvalidTitles() (deprecated in 1.26)
1008 * ApiQueryLogEvents::addLogParams() (deprecated in 1.25)
1009 * ApiUsageException::getCodeString() (deprecated in 1.29)
1010 * ApiUsageException::getMessageArray() (deprecated in 1.29)
1011 * Class UsageException, deprecated in 1.29, has been removed.
1012 * MediaWiki no longer has a 'JavaScript-powered' wikitext toolbar built in. The
1013 old "bulletin board style toolbar", known as "the 2006 wikitext editor", has
1014 been removed, and instead sysadmins will be required to choose one (or more)
1015 of the several extensions available for this purpose if they need the
1016 functionality. The MediaWiki "tarball" releases have included the replacement
1017 extension for this, the WikiEditor extension aka "the 2010 wikitext editor",
1018 for many years now. As part of this, several parts of MediaWiki have been
1019 removed or simplified:
1020 * The user option 'showtoolbar' (shown as "Show edit toolbar") is no longer
1021 available; if an extension adds a toolbar via the EditPageBeforeEditToolbar
1022 hook, it will be shown; extensions should provide a specific user preference
1023 to disable themselves as needed.
1024 * The public methods Language::getImageFile() and ::getImageFiles(), and the
1025 related specification of $imageFiles within individual languages' code file,
1026 as well as the referenced static media assets, all of which were only used
1027 inside MediaWiki itself for providing the icons for the old toolbar, have
1028 been removed without explicit deprecation.
1029 * The internal ResourceLoader module "mediawiki.toolbar", which is unused
1030 except by MediaWiki itself and back-compatibility code, has been removed.
1031 * The internal ResourceLoaderEditToolbarModule class has been removed.
1032
1033 === Deprecations in 1.32 ===
1034 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
1035 button is already marked as progressive.
1036 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
1037 has been centralised to Skin::getDefaultModules(), which is now capable
1038 of queueing style modules as well.
1039 * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are
1040 deprecated. Use addModules() instead.
1041 * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle}
1042 in extending classes is deprecated. Extend related doSearch* methods
1043 instead.
1044 * The following 'mediawiki.api' plugin modules were merged into mediawiki.api
1045 and deprecated: mediawiki.api.category, mediawiki.api.edit,
1046 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
1047 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
1048 mediawiki.api.messages, and mediawiki.api.rollback.
1049 * ApiBase::truncateArray() is deprecated. No replacement, as nothing is known
1050 to use it.
1051 * WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken
1052 with the 'unwatch' action parameter instead.
1053 * IcuCollation::getICUVersion() is deprecated, as you can just use the PHP
1054 constant INTL_ICU_VERSION directly in all versions that MediaWiki supports.
1055 * Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead.
1056 * The ApiQueryContributions class has been renamed to ApiQueryUserContribs.
1057 * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor
1058 of the namespaced classes provided by the wikimedia/xmp-reader library.
1059 * SearchResultSet::{next,rewind} are deprecated. Calling code should
1060 use foreach on the SearchResultSet, or the extractResults method. Extending
1061 code should override extractResults.
1062 * Instantiating SearchResultSet directly is deprecated. SearchEngine
1063 implementations must subclass SearchResultSet for their purposes.
1064 * SearchResult::setExtensionData argument has been changed from accepting an
1065 array to accepting a Closure that returns the array when called.
1066 * Class CryptRand, everything in MWCryptRand except generateHex() and function
1067 MediaWikiServices::getInstance()->getCryptRand() are deprecated, use
1068 random_bytes() to generate cryptographically secure random byte sequences.
1069 * Parser::getConverterLanguage() is deprecated. Use ::getTargetLanguage()
1070 instead.
1071 * Language::markNoConversion() is deprecated. It confused readers because
1072 it had unexpected behavior (only marking text if it looked like a URL)
1073 and was only used in a single place in the code. Use
1074 LanguageConverter::markNoConversion() instead.
1075 * (T197492) Language::truncate() was soft deprecated in 1.31 and is
1076 hard deprecated in this release. It has been split into two similar
1077 methods, Language::truncateForVisual() and Language::truncateForDatabase(),
1078 which measure length in characters and bytes, respectively. Use
1079 Language::truncateForVisual() when possible to provide equity to users
1080 of multibyte scripts.
1081 * (T176526) EditPage::getContextTitle() falling back to $wgTitle when the
1082 context title is unset is now deprecated; anything creating an EditPage
1083 instance should set the context title via ::setContextTitle().
1084 * The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated.
1085 * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules()
1086 are deprecated. These concepts are obsolete and have no replacement.
1087 * String type for $lang of DifferenceEngine::setTextLanguage is deprecated.
1088 * The following methods of OutputPage are now deprecated in favour
1089 of using showFatalError directly: OutputPage::showFileDeleteError()
1090 OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError()
1091 OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError().
1092 * The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer
1093 classes are now deprecated. Use a Closure instead.
1094 * (T194263) ContentHandler::makeParserOptions() is deprecated. Use
1095 WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
1096 * (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in
1097 MediaWiki 1.26, is now hard-deprecated. All known clients were converted to
1098 the Parsoid v3 API in May 2015.
1099 * $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use
1100 $formDescriptor instead.
1101 * SearchEngine::transformSearchTerm( $term ) should no longer be called prior
1102 to running searchText. This method was mainly implemented to support the
1103 'prefix' URI param in SpecialSearch, but there are no reasons to expose this
1104 logic as it should be handled internally by SearchEngine implementations
1105 supporting this feature. SearchEngine implementations should no longer
1106 override this methods.
1107 * SearchEngine::replacePrefixes( $query ) should no longer be called prior
1108 to running searchText/searchTitle.
1109 * (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
1110 'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
1111 * Global functions wfArrayFilter() and wfArrayFilterByKey() are deprecated.
1112 use array_filter() directly.
1113 * The $wgShowSQLErrors global is deprecated and nonfunctional.
1114 Set $wgShowExceptionDetails and/or $wgShowHostnames instead.
1115 * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional.
1116 Set $wgShowExceptionDetails instead.
1117 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
1118 mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
1119 mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() /
1120 getOldRevision() / getNewRevision() for the first four (note that the
1121 revision ones return a RevisionRecord, not a Revision), do your own lookup
1122 for page/content.
1123 * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
1124 just enable the PHP extension, and it will be autodetected.
1125 * (T194731) DifferenceEngine properties mOldContent and mNewContent and methods
1126 setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff()
1127 are deprecated. To interact with a single slot, use a SlotDiffRenderer (and
1128 subclass it to customize diff rendering); to diff custom (e.g. unsaved)
1129 content, use setRevisions(). Subclassing DifferenceEngine should only be done
1130 to customize page-level diff properties (such as the navigation header).
1131 * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
1132 * All MagicWord static methods are now deprecated. Use the MagicWordFactory
1133 methods instead.
1134 * PasswordFactory::init is deprecated. To get a password factory with the
1135 standard configuration, use
1136 MediaWikiServices::getInstance()->getPasswordFactory.
1137 * $wgContLang is deprecated, use
1138 MediaWikiServices::getInstance()->getContentLanguage() instead.
1139 * $wgParser is deprecated, use MediaWikiServices::getInstance()->getParser()
1140 instead.
1141 * wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance()
1142 instead.
1143 * wfGetCache() is deprecated, use ObjectCache::getInstance() instead.
1144 * All SpecialPageFactory static methods are deprecated. Instead, call the
1145 methods on a SpecialPageFactory instance, which may be obtained from
1146 MediaWikiServices.
1147 * mw.user.stickyRandomId was renamed to the more explicit
1148 mw.user.getPageviewToken to better capture its function.
1149 * Passing Revision objects to ContentHandler::getUndoContent() is deprecated,
1150 Content object should be passed instead.
1151 * (T197179) Parameters 'notice', 'notice-messages', 'notice-message',
1152 previously used by OOUI HTMLForm fields, are now deprecated. Use
1153 'help', 'help-message', 'help-messages' instead.
1154 * (T197179) HTMLFormField::getNotices() is now deprecated.
1155 * The jquery.localize module is now deprecated. Use jquery.i18n instead.
1156 * The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates,
1157 or overriding ContentHandler::getSecondaryDataUpdates (T194038).
1158 * The WikiPageDeletionUpdates hook was deprecated in favor of
1159 PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates
1160 (T194038).
1161 * Content::getSecondaryDataUpdates has been deprecated in favor of
1162 ContentHandler::getSecondaryDataUpdates() for overriding by extensions
1163 (T194038).
1164 Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
1165 * Content::getDeletionUpdates has been deprecated in favor of
1166 ContentHandler::getDeletionUpdates() for overriding by extensions (T194038).
1167 Application logic should call WikiPage::doSecondaryDataUpdates() (T194037).
1168 * (T198214) Old Tidy-related configuration settings, which were soft-deprecated
1169 in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy,
1170 $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use
1171 $wgTidyConfig instead.
1172 * All Tidy configurations other than Remex have been hard deprecated;
1173 future parsers will not emit compatible output for these configurations.
1174 In particular, running MediaWiki with tidy disabled has been deprecated.
1175 * (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(),
1176 and OutputPage::addWikiTextTitle() have been deprecated, since they
1177 can result in untidy output. In addition OutputPage::addWikiTextTidy()
1178 and OutputPage::addWikiTextTitleTidy() was deprecated to make naming new
1179 methods consistent. Use OutputPage::addWikiTextAsInterface() or
1180 OutputPage::addWikiTextAsContent() instead, which ensures the output is
1181 tidy and clarifies whether content-language specific postprocessing should
1182 be done on the text.
1183 * OutputPage::parse() and OutputPage::parseInline() have been deprecated
1184 due to untidy output and inconsistent handling of wrapper divs and
1185 interface/content language defaults. Use OutputPage::parseAsContent(),
1186 OutputPage::parseAsInterface(), or OutputPage::parseInlineAsInterface()
1187 as appropriate.
1188 * QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated
1189 as they promote bad practises. I18n messages should always be properly
1190 escaped.
1191 * Skin::getDynamicStylesheetQuery() has been deprecated. It always
1192 returns action=raw&ctype=text/css which callers should use directly.
1193 * Class LegacyFormatter is deprecated.
1194 * Use of CommentStore::insertWithTempTable() with 'img_description' is
1195 deprecated. Use CommentStore::insert() instead.
1196 * Language::setCode is deprecated as public function. Use Language::factory
1197 to create a new Language object with a different language code.
1198 * Several classes have been moved from the MediaWiki\Storage\ namespace to the
1199 MediaWiki\Revision\ namespace. The old class names are aliased for
1200 compatibility, but are deprecated. Classes are IncompleteRevisionException,
1201 MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException,
1202 RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord,
1203 RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and
1204 SuppressedDataException.
1205 * When using OOUI HTMLForm containing an 'info' field which uses the 'rawrow'
1206 option, it is now deprecated to give its contents (the 'default' option)
1207 as a string. They should be given as a OOUI\FieldLayout object instead.
1208 Notably, this affects fields defined in the 'GetPreferences' hook, because
1209 Special:Preferences uses an OOUI form now. (If possible, don't use 'rawrow'.)
1210 * In Skin::doEditSectionLink omitting the parameters $tooltip and $lang is
1211 deprecated. For the $lang parameter, types other than Language are
1212 deprecated.
1213 * The $wgUseKeyHeader configuration option and the
1214 OutputPage::getKeyHeader() method have been deprecated; the relevant
1215 draft IETF spec expired without becoming a standard.
1216 * Deprecated API action=query&prop=info inprop=readable in favor of
1217 intestactions=read.
1218
1219 === Other changes in 1.32 ===
1220 * (T198811) The following tables have had their UNIQUE indexes turned into
1221 proper PRIMARY KEYs for increased maintainability: interwiki, page_props,
1222 protected_titles and site_identifiers.
1223 * OOUI HTMLForm will now display help text inline after the input field,
1224 rather than in a popup. Previous behavior can be restored by using
1225 `'help-inline' => false`.
1226 * The archive table's ar_rev_id field is now unique.
1227 * Special:BotPasswords now requires reauthentication.
1228 * (T174023) Multi-Content Revision (MCR) capabilities were introduced into the
1229 storage layer and have basic support for display. No user interface exists
1230 yet for creating or managing content in slots beides the main slot. See
1231 <https://www.mediawiki.org/wiki/Multi-Content_Revisions> for more
1232 information.
1233 * The image_comment_temp database table has been removed. Since all access
1234 should be mediated by the CommentStore class, this change shouldn't affect
1235 external code.
1236 * (T206147) Database::close() will no longer commit any open transactions.
1237 * (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and
1238 recentchanges.rc_cur_time from the PostgreSQL schema.
1239
1240 = MediaWiki 1.31 =
1241
1242 == MediaWiki 1.31.3 ==
1243
1244 This is a maintenance release of the MediaWiki 1.31 branch.
1245
1246 === Changes since MediaWiki 1.31.2 ===
1247 * (T225558) Update installer link to PHP intl.
1248 * (T225496) Detect APC for MainCacheType in CLI installer.
1249 * (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependancies.
1250 * (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
1251
1252 == MediaWiki 1.31.2 ==
1253
1254 This is a security and maintenance release of the MediaWiki 1.31 branch.
1255
1256 Required PHP version has been increased from 7.0.0 to 7.0.13.
1257
1258 === Changes since MediaWiki 1.31.1 ===
1259 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
1260 all titles when asked for none.
1261 * (T205967) Fix syntax error typo in postgres database upgrade file.
1262 * (T200254) Add pear/Net_SMTP 1.7.3 to composer dependencies.
1263 * (T206765) Load installer i18n when running update.php.
1264 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
1265 libraries.
1266 [Also in the bundled composer /vendor directory.]
1267 * Various PHP 7.2 and 7.3 compatibility fixes:
1268 * (T200595, T206974) Fix PHP 7.3 warnings of using "continue" in some
1269 scenarios instead of "break".
1270 * (T206976, T206977) Also in the bundled LocalisationUpdate and
1271 ParserFunctions extensions.
1272 * (T206979) Fix PHP 7.3 warnings of using "compact()" when some variables may
1273 not be set.
1274 * (T215632) FormatMetadata and UploadStash regexes fixed to be PHP
1275 7.3-compatible.
1276 * Fix PHP warnings "preg_replace(): [...] invalid range in character class.
1277 * Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable.
1278 * Suppress "Headers already sent" in PHP 7.2 too.
1279 * (T206476) Output only to stderr in unit tests.
1280 * (T207112) Add session_write_close() calls to SessionManager tests.
1281 * oyejorge/less.php replaced with our fork wikimedia/less.php
1282 * (T209756) Updated wikimedia/ip-set from 1.2.0 to 1.3.0.
1283 * (T213489) Avoid session double-start in Setup.php.
1284 * (T206975) Switch to our fork of less.php.
1285 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
1286 * (T201781) Database: Allow selectFieldValues() to accept SQL fragments.
1287 * (T205765) installer: Don't link to the obsolete "Extension Matrix" page.
1288 * (T206013) Update ImportableUploadRevisionImporter for interwiki usernames.
1289 * (T207541) Pass an email address, not a MailAddress, to mail().
1290 * (T207603) SECURITY: User JS may no longer be loaded with mime type
1291 text/javascript if there is no account associated with the username.
1292 * (T112937, T113042) SECURITY: Do not allow loading pages raw with a
1293 text/javascript MIME
1294 type if non-admins can edit the page.
1295 * (T17491) <ins>/<del> elements can be phrasing or flow.
1296 * (T200827) RemexCompatMunger: Don't call endTag() in case B/b
1297 * (T207088) Upgrade wikimedia/remex-html to 2.0.1.
1298 [Also in the bundled composer /vendor directory.]
1299 * (T194052) Updated wikimedia/base-convert from 1.0.1 to 2.0.0.
1300 [Also in the bundled composer /vendor directory.]
1301 * (T199494) Fix notices in maintenance/removeUnusuedAccounts.php.
1302 * Require ext-fileinfo in composer.json, per PHPVersionCheck.
1303 * (T176390) Bundled LocalisationUpdate extension: Handle exceptions from
1304 GitHubFetcher.
1305 * (T208255) Completion search should not change the search query.
1306 * (T209870) Fix SQL syntax error in MS-SQL initialisation file for new wikis.
1307 * (T185049) LogFormatter: Fail softer when trying to link an invalid titles.
1308 * (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
1309 if --lang is used with the command-line installer (install.php).
1310 * (T211061) ImageListPager: Actor migration for buildQueryConds().
1311 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
1312 * Fix addition of ug_expiry column to user_groups table on MSSQL.
1313 * (T204767) Add join conditions to ActiveUsersPager.
1314 * (T210621) User: Bypass repeatable-read when creating an actor_id.
1315 * (T204531) rdbms: reduce LoadBalancer replication log spam.
1316 * (T195525) Fix db error outage page.
1317 * (T208871) The hard-coded Google search form on the database error page was
1318 removed.
1319 * (T176097) Fix flaky MessageBlobStoreTest assertion failures.
1320 * (T209423) Update required PHP version to 7.0.13.
1321 * (T209885) Prevent populateSearchIndex.php from breaking once actor migration
1322 has been started.
1323 * (T216968) Return pageid as int in both list=iwbacklinks and
1324 list=langbacklinks.
1325 * (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
1326 * (T204423) Backport support for hyphenated DB names in JobQueueGroup.
1327 * (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
1328 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
1329 $wgBlockDisablesLogin is true.
1330 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
1331 a non-Latin name on a page with non-Latin characters in title.
1332 * (T219728) Added support for new Japanese era name "Reiwa".
1333 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
1334 token.
1335 * Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
1336 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
1337 saveFileDependencies().
1338 * (T224374) Fix message parameters so that the message that says SQLite is out
1339 of date makes sense.
1340 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
1341 reauthenticating.
1342 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
1343 getLoginSecurityLevel() returns non-false.
1344 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
1345 * (T208881) SECURITY: blacklist CSS var().
1346 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
1347 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
1348 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
1349 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
1350 view the log type.
1351 * (T221739) SECURITY: resources: Patch jQuery 3.2.1 for CVE-2019-11358.
1352
1353 == MediaWiki 1.31.1 ==
1354
1355 This is a security and maintenance release of the MediaWiki 1.31 branch.
1356
1357 === Changes since MediaWiki 1.31.0 ===
1358 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
1359 'newbie'.
1360 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
1361 account lock.
1362 * (T199029, CVE-2018-13258) SECURITY: Tarball was missing .htaccess files.
1363 * (T197229) Bundle Nuke extension, it was accidentally omitted.
1364 * (T193995) Fix undefined patchPath() method call in parser tests.
1365 * (T198687) Fix various selectFields methods to use the string 'NULL', not null.
1366 * Special:BotPasswords now requires reauthentication.
1367 * (T191608, T187638) Add 'logid' parameter to Special:Log.
1368 * (T193829) Indicate when a Bot Password needs reset.
1369 * (T198037) GitInfo: Don't try shelling out if it's disabled.
1370 * (T151415) Log email changes.
1371 * (T197206) Fix performance regression when multiple DB used without caching.
1372 * (T197030) PHPSessionHandler: Suppress headers warnings in initialize().
1373 * (T182377, T196793) Exif: Guard against uncountable tag values.
1374 * (T200861) Fix total breakage of SQLite web upgrade.
1375 * (T200864) Fix pingback over-reporting on non-MySQL databases
1376 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
1377 hooks.
1378
1379 == MediaWiki 1.31.0 ==
1380
1381 === Changes since MediaWiki 1.31.0-rc.2 ===
1382 * (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader.
1383 * (T196092) Hide MySQL binary/utf-8 charset option in the installer.
1384 * (T196185) Don't allow setting $wgDBmysql5 in the installer.
1385 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
1386 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
1387 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
1388 hook.
1389 * (T196672) The mtime of extension.json files is now able to be zero
1390 * (T180403) Validate $length in padleft/padright parser functions.
1391 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
1392
1393 === Changes since MediaWiki 1.31.0-rc.0 ===
1394 * (T33223) Drop archive.ar_text and ar_flags.
1395 * Add default edit rate limit of 90 edits/minute for all users.
1396 * (T187645) Use codepoint as tiebreaker when getting first-letters in
1397 IcuCollation.
1398 * (T191947) Don't shell during the installer if shelling out is disabled.
1399 * (T194319) Improve duplicate config setting exception as part of extension
1400 registration.
1401 * (T195211) Don't require trailing slash in PSR-4 autoloader directory.
1402 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
1403 * Do not incorrectly hide namespace input field in the installer.
1404 * (T186456) Refactor checks looking for PEAR maik libraries to be clearer.
1405
1406 === Important pre-upgrade notes for 1.31 ===
1407 * If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply
1408 schema changes, and cannot have downtime to run migrateArchiveText.php and
1409 apply patch-drop-ar_text.sql manually, you'll have to apply a default value
1410 to the ar_text and ar_flags columns of the archive table or make those
1411 columns nullable before upgrading to MediaWiki 1.31.
1412 maintenance/archives/patch-nullable-ar_text.sql shows how to do this for
1413 MySQL.
1414
1415 === Configuration changes in 1.31 ===
1416 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
1417 a future version. The API is now considered to be stable, secure and
1418 essential.
1419 * $wgUsejQueryThree was removed, as it is now the default. This was documented
1420 as a temporary variable during the migration period, deprecated since 1.29.
1421 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
1422 possible for fallback images such as png.
1423 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not
1424 have the right to mark things patrolled.
1425 * Wikis that contain imported revisions or CentralAuth global blocks should run
1426 maintenance/cleanupUsersWithNoId.php.
1427 * The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and
1428 $wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed.
1429 * (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that
1430 are not using the latest version of the Referrer Policy specification.
1431 * $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a
1432 first step of migration to human-readable section IDs that will later result
1433 in 'html5' being the default mode.
1434 * CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed
1435 as upstream is inactive and has no plans to move to PHP 7.
1436 * The old CategorizedRecentChanges feature, including its related configuration
1437 option $wgAllowCategorizedRecentChanges, has been removed.
1438 * (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported
1439 for performance reasons, and installations with this setting will now work as
1440 if it was configured with 'any'.
1441 * (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input,
1442 rather than being off by default. If you wish to disable HTML tidying
1443 entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated
1444 Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true.
1445 * $wgLogAutopatrol now defaults to false instead of true.
1446 * $wgValidateAllHtml was removed and will be ignored.
1447 * $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the
1448 1.25 release notes for more information.
1449 * $wgUseAjax is now marked as deprecated, just like the deprecated AJAX
1450 framework that it enables. Some extensions mistakenly used this to check
1451 whether any AJAX functionality at all should be enabled, further making this
1452 problematic to retain.
1453 * $wgDBmysql5 is now deprecated, and will be removed in a future version. It
1454 has been marked as experimental ever since it was introduced.
1455
1456 === New features in 1.31 ===
1457 * (T76554) User sub-pages named ….json are now protected in the same way that
1458 ….js and ….css pages are, so that configuration options can safely be placed
1459 there.
1460 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins
1461 with parentheses for grouping.
1462 * As a first pass in standardizing dialog boxes across the MediaWiki product,
1463 Html class now provides helper methods for messageBox, successBox, errorBox
1464 and warningBox generation.
1465 * (T9240) Imports will now record unknown (and, optionally, known) usernames in
1466 a format like "iw>Example".
1467 * (T20209) Linker (used on history pages, log pages, and so on) will display
1468 usernames formed like "iw>Example" as interwiki links, as if by wikitext like
1469 [[iw:User:Example|iw>Example]].
1470 * (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create
1471 users during an import.
1472 * Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect
1473 the ParserOutput::getText() post-cache transformations.
1474 * Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the
1475 initial page text for file uploads.
1476 * (T181651) The info page for File pages now displays the file's base-16 SHA1
1477 hash value in the table of basic information.
1478 * Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a
1479 ParserOutput::getText() post-cache transformation. This may be disabled by
1480 passing 'deduplicateStyles' => false to that method.
1481 * The identity of the logged-in or IP "actor" for logged actions is being moved
1482 into a new actor table, with the rows in tables such as revision and logging
1483 referring to the actor ID instead of storing the user ID and name/IP in
1484 every row.
1485 * This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis
1486 can set this to MIGRATION_NEW and run maintenance/migrateActors.php as
1487 soon as any necessary extensions are updated.
1488 * Most code accessing rows for logged actions from the database should use
1489 the relevant getQueryInfo() methods to get the information needed to build
1490 the SQL query. The ActorMigration class may also be used to get feature
1491 -flagged information needed to access actor-related fields during the
1492 migration period.
1493 * Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic
1494 section without having to roll back the whole transaction.
1495 * Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(),
1496 and non-MySQL ::replace() and ::upsert() no longer roll back the whole
1497 transaction on failure.
1498 * (T189785) Added a monthly heartbeat ping to the pingback feature.
1499 * The CLI installer (maintenance/install.php) learned to detect and include
1500 extensions. Pass --with-extensions to enable that feature.
1501 * (T184791) rc_patrolled now has three states: "0" for unpatrolled,
1502 "1" for manually patrolled and "2" for autopatrolled actions.
1503 * Extensions can now set their type to "editor" if they provide an editor or
1504 enhance the editing experience.
1505 * Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces"
1506 property in extension.json. See the documentation at
1507 <https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces>
1508 for more details and an example.
1509 * (T19099) Tabs which link to pages that don't exist (like those to uncreated
1510 discussion pages) now have a tooltip to indicate state, not just colour.
1511
1512 === External library changes in 1.31 ===
1513 * pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from
1514 suggested to required. These packages now must be installed via composer
1515 and not via PEAR itself.
1516
1517 ==== Upgraded external libraries ====
1518 * Updated jquery.chosen from v0.9.14 to v1.8.2.
1519 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
1520 * Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency).
1521 * Updated wikimedia/ip-set from 1.1.0 to 1.2.0.
1522 * Updated wikimedia/relpath from 2.0.0 to 2.1.1.
1523 * Updated wikimedia/running-stat from 1.1.0 to 1.2.0.
1524 * Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0.
1525 * Updated mediawiki/at-ease from 1.1.0 to 1.2.0.
1526 * Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6.
1527 * Updated wikimedia/remex-html from 1.0.2 to 1.0.3.
1528 * Updated wikimedia/html-formatter from 1.0.1 to 1.0.2.
1529
1530 ==== New external libraries ====
1531 * Added wikimedia/object-factory 1.0.0
1532
1533 ==== Removed and replaced external libraries ====
1534 * (T17845) The deprecated 'jquery.badge' module was removed.
1535 * The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS
1536 text-overflow property instead.
1537 * The deprecated 'jquery.placeholder' module was removed.
1538 * The deprecated 'jquery.appear' module was removed. Use the
1539 'mediawiki.viewport' module instead.
1540 * mediawiki/at-ease was replaced with wikimedia/at-ease.
1541
1542 === Bug fixes in 1.31 ===
1543 * (T90902) Non-breaking space in header ID breaks anchor.
1544 * (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a
1545 space.
1546 * (T2087, T10897, T87753, T174639) Whitespace created by category and language
1547 links is now stripped rather than leaving blank lines in odd places.
1548 * (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers.
1549 * (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+
1550
1551 === Action API changes in 1.31 ===
1552 * (T185058) The 'name' value to tgprop for action=query&list=tags has been
1553 removed. It has never made a difference in the output, the name was always
1554 returned regardless.
1555 * The 'watch' and 'unwatch' parameters for action=move have been removed. They
1556 were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use
1557 'watchlist' instead.
1558
1559 === Action API internal changes in 1.31 ===
1560 * ApiBase::getProfileDBTime, deprecated since 1.25, was removed.
1561 * ApiBase::getModuleProfileName, deprecated since 1.25, was removed.
1562 * ApiBase::getProfileTime, deprecated since 1.25, was removed.
1563
1564 === Languages updated in 1.31 ===
1565 MediaWiki supports over 350 languages. Many localisations are updated
1566 regularly. Below only new and removed languages are listed, as well as
1567 changes to languages because of Phabricator reports.
1568
1569 * (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK.
1570 * (T182305) New language support: Nyungar (nys).
1571 * (T186359) New language support: Siberian Tatar [cебертатар] (sty).
1572 * (T186635) New language support: Guianan Creole (gcr).
1573 * (T186647) New language support: Kumyk [къумукъ] (kum).
1574 * (T187750) New language support: Spanish formal address (es-formal).
1575 * (T187824) New language support: Hungarian formal address (hu-formal).
1576 * (T189127) New language support: Gorontalo (gor).
1577
1578 === Breaking changes in 1.31 ===
1579 * MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed.
1580 * The OutputPage class constructor now requires a context parameter.
1581 Instantiating without context was deprecated in 1.18.
1582 * The mw.page JavaScript singleton, deprecated in 1.30, was removed.
1583 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
1584 related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
1585 * The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and
1586 ::onArticleEdit() methods, deprecated in 1.24, were removed.
1587 * Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were
1588 removed. Use ExecutableFinder::findInDefaultPaths() instead.
1589 * The deprecated MW_DIFF_VERSION constant was removed.
1590 DifferenceEngine::MW_DIFF_VERSION should be used instead.
1591 * Due to significant refactoring, method ContribsPager::getUserCond() that had
1592 no access restriction has been removed.
1593 * The Block class will no longer accept usable-but-missing usernames for
1594 'byText' or ->setBlocker(). Callers should either ensure the blocker exists
1595 locally or use a new interwiki-format username like "iw>Example".
1596 * The following methods and constants from the WatchedItem class, which were
1597 deprecated in 1.27, have been removed:
1598 * WatchedItem::getTitle()
1599 * WatchedItem::fromUserTitle()
1600 * WatchedItem::addWatch()
1601 * WatchedItem::removeWatch()
1602 * WatchedItem::isWatched()
1603 * WatchedItem::duplicateEntries()
1604 * WatchedItem::IGNORE_USER_RIGHTS
1605 * WatchedItem::CHECK_USER_RIGHTS
1606 * WatchedItem::DEPRECATED_USAGE_TIMESTAMP
1607 * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed.
1608 $wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration
1609 variable, has been deprecated since 1.27 and was removed as well.
1610 * The $maxLineLength parameter of JavaScriptMinifier::minify was removed.
1611 $wgResourceLoaderMinifierMaxLineLength, the corresponding configuration
1612 variable, has been deprecated since 1.27 and was removed as well.
1613 * The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced
1614 HtmlFormatter\HtmlFormatter class should be used instead.
1615 * The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed.
1616 The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The
1617 default driver for MySQL has been 'mysqli' since MediaWiki 1.22.
1618 * The following properties of PreparedEdit were deprecated in 1.21 and have
1619 been removed:
1620 * PreparedEdit->newText
1621 * PreparedEdit->oldText
1622 * PreparedEdit->pst
1623 * ParserOutput objects which are generated using a non-default value for
1624 ParserOptions::setWrapOutputClass() can no longer be added to the parser
1625 cache.
1626 * The following deprecated methods from the OutputPage class have been removed:
1627 * OutputPage::addExtensionStyle(); deprecated in 1.27
1628 * OutputPage::getExtStyle(); deprecated in 1.27
1629 * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
1630 * OutputPage::setSquidMaxage(); deprecated in 1.27
1631 * OutputPage::readOnlyPage(); deprecated in 1.25
1632 * OutputPage::rateLimited(); deprecated in 1.25
1633 * Additionally, the protected OutputPage::$mExtStyles array, only accessed
1634 through the above and with no known uses, was removed.
1635 * The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
1636 * The following variables and methods in EditPage, deprecated in MediaWiki 1.30,
1637 were removed:
1638 * $isCssJsSubpage — use ::isUserConfigPage()
1639 * $isCssSubpage — use ::isUserCssConfigPage()
1640 * $isJsSubpage — use ::isUserJsConfigPage()
1641 * $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage()
1642 * ::getSummaryInput() – use ::getSummaryInputWidget()
1643 * ::getSummaryInputOOUI() – use ::getSummaryInputWidget()
1644 * ::getCheckboxes() – use ::getCheckboxesWidget() or
1645 ::getCheckboxesDefinition()
1646 * ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or
1647 ::getCheckboxesDefinition()
1648 * ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed.
1649 * In User, the cookie-related methods which were wrappers for the functions on
1650 the response object, and were deprecated in 1.27, have been removed:
1651 * ::setCookie()
1652 * ::clearCookie()
1653 * ::setExtendedLoginCookie()
1654 Note that User::setCookies() remains, and is not deprecated.
1655 * Also in User, some auth-related methods which were deprecated in 1.27 have
1656 been removed:
1657 * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
1658 * ::getPasswordFactory() – create a PasswordFactory directly
1659 * ::passwordChangeInputAttribs()
1660 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have
1661 been removed.
1662 * SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can
1663 use ::getNames() instead.
1664 * OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You
1665 can use ApiOpenSearch::getOpenSearchTemplate() instead.
1666 * The global function wfBaseConvert, deprecated in 1.27, has been removed. Use
1667 Wikimedia\base_convert() directly.
1668 * Calling Database::begin() explicitly during an implicit transaction or when
1669 DBO_TRX is set results in an exception. Calling Database::commit() explicitly
1670 for an implicit transaction also results in an exception. Previously these
1671 were logged as errors. The startAtomic() and endAtomic() methods, or
1672 AtomicSectionUpdate should be used instead.
1673 * The global function wfOutputHandler() was removed, use the its replacement
1674 MediaWiki\OutputHandler::handle() instead. The global function was only
1675 sometimes defined. Its replacement is always available via the autoloader.
1676 * ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags,
1677 deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and
1678 ::listSoftwareDefinedTags() instead.
1679 * Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can
1680 use MediaWikiTitleCodec::getTitleInvalidRegex() instead.
1681 * HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed.
1682 * The ProfileSection class, deprecated in 1.25 and unused, has been removed.
1683 * The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use
1684 ResourceLoaderModule::getLessVars() to expose local variables instead of
1685 global ones.
1686 * As part of work to modernise user-generated content clean-up, a config option
1687 and some methods related to HTML validity were removed without deprecation.
1688 The public methods MWTidy::checkErrors() and the path through which it was
1689 called, TidyDriverBase::validate(), are removed, as are the testing methods
1690 MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument().
1691 The $wgValidateAllHtml configuration option is removed and will be ignored.
1692 * Execution of external programs using MediaWiki\Shell\Command now applies
1693 the RESTRICT_DEFAULT Firejail restriction by default.
1694 * The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods,
1695 deprecated in 1.26, were removed.
1696 * The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed.
1697 Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly.
1698
1699 === Deprecations in 1.31 ===
1700 * The Revision class was deprecated in favor of RevisionStore, BlobStore, and
1701 RevisionRecord and its subclasses.
1702 * The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47.
1703 * The global function wfCountDown is now deprecated in favor of
1704 Maintenance::countDown.
1705 * Several methods for returning lists of fields to select from the database
1706 have been deprecated in favor of similar methods that also return the tables
1707 to select from and the join conditions for those tables.
1708 * Block::selectFields() → Block::getQueryInfo()
1709 * RecentChange::selectFields() → RecentChange::getQueryInfo()
1710 * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
1711 * LocalFile::selectFields() → LocalFile::getQueryInfo()
1712 * LocalFile::getCacheFields() with a prefix no longer works
1713 * LocalFile::getLazyCacheFields() with a prefix no longer works
1714 * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
1715 * RecentChange::selectFields() → RecentChange::getQueryInfo()
1716 * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
1717 * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
1718 * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
1719 * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
1720 * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
1721 * Revision::selectFields() → Revision::getQueryInfo()
1722 * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
1723 * User::selectFields() → User::getQueryInfo()
1724 * WikiPage::selectFields() → WikiPage::getQueryInfo()
1725 * Revision::setUserIdAndName() was deprecated.
1726 * Access to TitleValue class properties was deprecated, the relevant getters
1727 should be used instead.
1728 * DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should
1729 override DifferenceEngine::getDiffBodyCacheKeyParams() instead.
1730 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
1731 Maintenance::fatalError() instead.
1732 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
1733 * The RevisionInsertComplete hook is now deprecated; use instead the hook
1734 RevisionRecordInserted. RevisionInsertComplete is still called, but the second
1735 and third parameter will always be null. Hard deprecation is scheduled for
1736 1.32.
1737 * The following methods that get and set ParserOutput state are deprecated.
1738 Callers should use the new stateless $options parameter to
1739 ParserOutput::getText() instead.
1740 * ParserOptions::getEditSection()
1741 * ParserOptions::setEditSection()
1742 * ParserOutput::getEditSectionTokens()
1743 * ParserOutput::setEditSectionTokens()
1744 * ParserOutput::getTOCEnabled()
1745 * ParserOutput::setTOCEnabled()
1746 * OutputPage::enableSectionEditLinks()
1747 * OutputPage::sectionEditLinksEnabled()
1748 * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens
1749 are also deprecated.
1750 * License::getLicenses has been deprecated; use License::getLines instead.
1751 * QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set().
1752 Setting template variables by reference allowed violating the principle of
1753 data being immutable once added to the skin template. In practice, this method
1754 was not being used for that. Rather, setRef() existed as memory optimisation
1755 for PHP 4.
1756 * QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in
1757 favour of Skin::msg() parameters.
1758 * MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or
1759 wfMessage().
1760 * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
1761 'unwrap' transform to ParserOutput::getText() instead.
1762 * \ObjectFactory (no namespace) is deprecated, the namespaced class
1763 \Wikimedia\ObjectFactory from the wikimedia/object-factory library should be
1764 used instead.
1765 * CommentStore::newKey is deprecated. Instead, get an instance from
1766 MediaWikiServices.
1767 * The following CommentStore methods have had their signatures changed to
1768 introduce a $key parameter, usage of the methods on instances retrieved from
1769 CommentStore::newKey will remain unchanged but deprecated:
1770 * CommentStore::getFields
1771 * CommentStore::getJoin
1772 * CommentStore::getComment
1773 * CommentStore::getCommentLegacy
1774 * CommentStore::insert
1775 * CommentStore::insertWithTemplate
1776 * The following methods in Title have been renamed, and the old ones are
1777 deprecated:
1778 * Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage
1779 * Title::isCssOrJsPage – use ::isSiteConfigPage
1780 * Title::isCssJsSubpage – use ::isUserConfigPage
1781 * Title::isCssSubpage – use ::isUserCssConfigPage
1782 * Title::isJsSubpage – use ::isUserJsConfigPage
1783 * The following methods related to caching of half-parsed HTML were deprecated:
1784 * Parser::serializeHalfParsedText()
1785 * Parser::unserializeHalfParsedText()
1786 * Parser::isValidHalfParsedText()
1787 * StripState::getSubState()
1788 * StripState::merge()
1789 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
1790 * The type string for the parameter $lang of DateFormatter::getInstance is
1791 deprecated.
1792 * Wikimedia\Rdbms\SavepointPostgres is deprecated.
1793 * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be
1794 used instead.
1795 * The function wfShellWikiCmd() has been deprecated, use
1796 MediaWiki\Shell::makeScriptCommand().
1797 * In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend'
1798 will be allowed to provide any HTMLForm object rather than PreferencesForm.
1799
1800 === Other changes in 1.31 ===
1801 * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.
1802 * Browser support for Opera 12 and older was dropped entirely. Opera 15+
1803 continues at Grade A.
1804 * Multi-content-revision capability was introduced into the storage layer. See
1805 <https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>.
1806 * The "free" CSS class is now only applied to unbracketed URLs in wikitext.
1807 Links written using square brackets will get the class "text" not "free".
1808 * RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items,
1809 wikitext table captions, wikitext table headings, wikitext table cells. HTML
1810 headings, HTML list items, HTML table captions, HTML table headings, HTML
1811 table cells will not have this trimming behavior.
1812
1813 == Compatibility ==
1814 MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
1815 supported, it is generally advised to use PHP 7.0.0 or later for long term
1816 support.
1817
1818 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
1819 but support for them is somewhat less mature. There is experimental support for
1820 Oracle and Microsoft SQL Server.
1821
1822 The supported versions are:
1823
1824 * MySQL 5.5.8 or later
1825 * PostgreSQL 9.2 or later
1826 * SQLite 3.3.7 or later
1827 * Oracle 9.0.1 or later
1828 * Microsoft SQL Server 2005 (9.00.1399)
1829
1830 == Upgrading ==
1831 1.31 has several database changes since 1.30, and will not work without schema
1832 updates. Note that due to changes to some very large tables like the revision
1833 table, the schema update may take quite long (minutes on a medium sized site,
1834 many hours on a large site).
1835
1836 Don't forget to always back up your database before upgrading!
1837
1838 See the file UPGRADE for more detailed upgrade instructions, including
1839 important information when upgrading from versions prior to 1.11.
1840
1841 For notes on 1.30.x and older releases, see HISTORY.
1842
1843 == Online documentation ==
1844 Documentation for both end-users and site administrators is available on
1845 MediaWiki.org, and is covered under the GNU Free Documentation License (except
1846 for pages that explicitly state that their contents are in the public domain):
1847
1848 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
1849
1850 == Mailing list ==
1851 A mailing list is available for MediaWiki user support and discussion:
1852
1853 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
1854
1855 A low-traffic announcements-only list is also available:
1856
1857 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
1858
1859 It's highly recommended that you sign up for one of these lists if you're
1860 going to run a public MediaWiki, so you can be notified of security fixes.
1861
1862 == IRC help ==
1863 There's usually someone online in #mediawiki on irc.freenode.net.
1864
1865
1866 = MediaWiki 1.30 =
1867
1868 == MediaWiki 1.30.2 ==
1869
1870 This is a security and maintenance release of the MediaWiki 1.30 branch.
1871
1872 === Changes since MediaWiki 1.30.1 ===
1873 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
1874 all titles when asked for none.
1875 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
1876 libraries.
1877 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
1878 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
1879 * (T207603) SECURITY: User JS may no longer be loaded with mime type
1880 text/javascript if there is no account associated with the username.
1881 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
1882 type if non-admins can edit the page.
1883 * (T207541) Pass email address to mail().
1884 * Fix addition of ug_expiry column to user_groups table on MSSQL.
1885 * (T204531) rdbms: reduce LoadBalancer replication log spam.
1886 * (T213489) Avoid session double-start in Setup.php.
1887 * (T195525) Fix db error outage page.
1888 * (T208871) The hard-coded Google search form on the database error page was
1889 removed.
1890 * (T216968) Return pageid as int in both list=iwbacklinks and
1891 list=langbacklinks.
1892 * (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
1893 $wgBlockDisablesLogin is true.
1894 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
1895 token.
1896 * (T222385) resourceloader: Use AND instead of OR for upsert conds in
1897 saveFileDependencies().
1898 * (T224374) Fix message parameters so that the message that says SQLite is out
1899 of date makes sense.
1900 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
1901 reauthenticating.
1902 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
1903 getLoginSecurityLevel() returns non-false.
1904 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
1905 * (T208881) SECURITY: blacklist CSS var().
1906 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
1907 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
1908 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
1909 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
1910 view the log type.
1911 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
1912
1913 == MediaWiki 1.30.1 ==
1914
1915 This is a security and maintenance release of the MediaWiki 1.30 branch.
1916
1917 === Changes since MediaWiki 1.30.0 ===
1918 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
1919 'newbie'.
1920 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
1921 account lock.
1922 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
1923 array.
1924 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
1925 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
1926 include extensions. Pass --with-extensions to enable that feature.
1927 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
1928 * (T167507) selenium: Run Chrome headlessly.
1929 * selenium: Pass -no-sandbox to Chrome under Docker.
1930 * (T179190) selenium: Move logic for running tests from package.json to
1931 selenium.sh
1932 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
1933 * Add default edit rate limit of 90 edits/minute for all users.
1934 * (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`.
1935 * oojs/oojs-ui updated to remove an unnecessary dependancy.
1936 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
1937 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
1938 hook.
1939 * (T196672) The mtime of extension.json files is now able to be zero
1940 * (T180403) Validate $length in padleft/padright parser functions.
1941 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
1942 * (T193995) Fix undefined patchPath() method call in parser tests.
1943 * Special:BotPasswords now requires reauthentication.
1944 * (T191608, T187638) Add 'logid' parameter to Special:Log.
1945 * (T193829) Indicate when a Bot Password needs reset.
1946 * (T151415) Log email changes.
1947 * (T200861) Fix total breakage of SQLite web upgrade.
1948 * (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader
1949 hooks.
1950 * (T190539) Explicitly require Postgres 9.1.
1951 * (T118420) Unbreak Oracle installer.
1952
1953 == MediaWiki 1.30.0 ==
1954
1955 === Changes since MediaWiki 1.30.0-rc.0 ===
1956 * Upgraded Moment.js from v2.15.0 to v2.19.3.
1957 * Add ip_changes to postgres/tables.sql.
1958 * Skip null shell parameters.
1959 * Add wfWaitForSlaves() to maintenance/migrateComments.php.
1960 * (T182245) Fix join conditions in ImageListPager.
1961 * (T178626) Revert #contentSub and #jump-to-nav margin changes.
1962
1963 === MySQL version requirement in 1.30 ===
1964 As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility
1965 section).
1966
1967 === Configuration changes in 1.30 ===
1968 * The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid
1969 unexpected behavior when code uses locale-sensitive string comparisons. For
1970 example, the Scribunto extension considers "bar" < "Foo" in most locales
1971 since it ignores case.
1972 * $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See
1973 documentation of $wgShellLocale for details.
1974 * $wgShellLocale is now applied for all requests. wfInitShellLocale() is
1975 deprecated and a no-op, as it is no longer needed.
1976 * $wgJobClasses may now specify callback functions as an alternative to plain
1977 class names. This is intended for extensions that want control over the
1978 instantiation of their jobs, to allow for proper dependency injection.
1979 * $wgResourceModules may now specify callback functions as an alternative
1980 to plain class names, using the 'factory' key in the module description
1981 array. This allows dependency injection to be used for ResourceLoader modules.
1982 * $wgExceptionHooks has been removed.
1983 * (T163562) $wgRangeContributionsCIDRLimit was introduced to control the size
1984 of IP ranges that can be queried at Special:Contributions.
1985 * (T45547) $wgUsePigLatinVariant added (off by default).
1986 * (T152540) MediaWiki now supports a section ID escaping style that allows to
1987 display non-Latin characters verbatim on many modern browsers. This is
1988 controlled by the new configuration setting, $wgFragmentMode.
1989 * $wgExperimentalHtmlIds is now deprecated and will be removed in a future
1990 version, use $wgFragmentMode to migrate off it to a modern alternative.
1991 * $wgExternalInterwikiFragmentMode was introduced to control how fragments in
1992 sinterwikis going outside of current wiki farm are encoded.
1993 * (T120333) Soft-deprecated the use of PHP extension 'mysql' in favor of
1994 'mysqli'. This PHP extension was deprecated in PHP 5.5 and removed in PHP 7.0.
1995 MediaWiki auto-selects the 'mysqli' driver since MediaWiki 1.22, except if
1996 explicitly requested through the configuration parameter $wgDBservers.
1997 * $wgOOUIEditPage was removed, as it is now the default. This was documented as
1998 a temporary variable during the migration period.
1999
2000 === New features in 1.30 ===
2001 * (T37247) Output from Parser::parse() will now be wrapped in a div with
2002 class="mw-parser-output" by default. This may be changed or disabled using
2003 ParserOptions::setWrapOutputClass().
2004 * (T163562) Added ability to search for contributions within an IP ranges
2005 at Special:Contributions.
2006 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
2007 specific tags to be added by users.
2008 * Added a 'ParserOptionsRegister' hook to allow extensions to register
2009 additional parser options.
2010 * (T45547) Included Pig Latin, a language game in English, as a
2011 LanguageConverter variant. This allows English-speaking developers
2012 to develop and test LanguageConverter more easily. Pig Latin can be
2013 enabled by setting $wgUsePigLatinVariant to true.
2014 * Added RecentChangesPurgeRows hook to allow extensions to purge data that
2015 depends on the recentchanges table.
2016 * Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages.
2017 * (T2424) Added direct unwatch links to entries in Special:Watchlist (if the
2018 'watchlistunwatchlinks' preference option is enabled). With JavaScript
2019 enabled, these links toggle so the user can also re-watch pages that have
2020 just been unwatched.
2021 * Added $wgParserTestMediaHandlers, where mock media handlers can be passed to
2022 MediaHandlerFactory for parser tests.
2023 * Edit summaries, block reasons, and other "comments" are now stored in a
2024 separate database table. Use the CommentFormatter class to access them.
2025 ** This is currently gated by $wgCommentTableSchemaMigrationStage. Most wikis
2026 can set this to MIGRATION_NEW and run maintenance/migrateComments.php as
2027 soon as any necessary extensions are updated.
2028 * (T138166) Added ability for users to prohibit other users from sending them
2029 emails with Special:Emailuser. Can be enabled by setting
2030 $wgEnableUserEmailBlacklist to true.
2031 * (T67297) $wgBrowserBlacklist is deprecated, and changing it will have no
2032 effect. Instead, users using browsers that do not support Unicode will be
2033 unable to edit and should upgrade to a modern browser instead.
2034
2035 === External library changes in 1.30 ===
2036
2037 ==== Upgraded external libraries ====
2038 * Updated justinrainbow/json-schema from v3.0 to v5.2.
2039 * Updated mediawiki/mediawiki-codesniffer from v0.7.2 to v0.12.0.
2040 * Updated wikimedia/composer-merge-plugin from v1.4.0 to v1.4.1.
2041 * Updated wikimedia/relpath from v1.0.3 to v2.0.0.
2042 * Updated OOjs from v2.0.0 to v2.1.0.
2043 * Updated OOUI from v0.21.1 to v0.23.0.
2044 * Updated QUnit from v1.23.1 to v2.4.0.
2045 * Updated phpunit/phpunit from v4.8.35 to v4.8.36.
2046 * Upgraded Moment.js from v2.15.0 to v2.19.3.
2047
2048 ==== New external libraries ====
2049 * The class \TestingAccessWrapper has been moved to the external library
2050 wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
2051 * Purtle, a fast, lightweight RDF generator.
2052
2053 ==== Removed and replaced external libraries ====
2054 * …
2055
2056 === Bug fixes in 1.30 ===
2057 * (T151633) Ordered list items use now Devanagari digits in Nepalese
2058 (thanks to Sfic)
2059
2060 === Action API changes in 1.30 ===
2061 * (T37247) action=parse output will be wrapped in a div with
2062 class="mw-parser-output" by default. This may be changed or disabled using
2063 the new 'wrapoutputclass' parameter.
2064 * When errorformat is not 'bc', abort reasons from action=login will be
2065 formatted as specified by the error formatter parameters.
2066 * action=compare can now handle arbitrary text, deleted revisions, and
2067 returning users and edit comments.
2068 * (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto',
2069 'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree'
2070 parameters to prop=revisions are deprecated, as are the similarly named
2071 parameters to prop=deletedrevisions, list=allrevisions, and
2072 list=alldeletedrevisions. Use action=compare, action=parse, or
2073 action=expandtemplates instead.
2074
2075 === Action API internal changes in 1.30 ===
2076 * ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are
2077 deprecated. The existing message should be split between "apihelp-*-summary"
2078 and "apihelp-*-extended-description".
2079 * (T123931) Individual values of multi-valued parameters can now be marked as
2080 deprecated.
2081
2082 === Languages updated in 1.30 ===
2083 MediaWiki supports over 350 languages. Many localisations are updated
2084 regularly. Below only new and removed languages are listed, as well as
2085 changes to languages because of Phabricator reports.
2086
2087 * Added: kbp (Kabɩyɛ / Kabiyè)
2088 * Added: skr (Saraiki, سرائیکی)
2089 * Added: tay (Tayal / Atayal)
2090 * Removed: tokipona (Toki Pona)
2091
2092 ==== Pig Latin added ====
2093 * (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin),
2094 for easier variant development and testing. Disabled by default. It can be
2095 enabled by setting $wgUsePigLatinVariant to true.
2096
2097 === Other changes in 1.30 ===
2098 * The use of an associative array for $wgProxyList, where the IP address is in
2099 the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
2100 Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
2101 * mw.user.bucket (deprecated in 1.23) was removed.
2102 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
2103 deprecated. There are no known callers.
2104 * File::getStreamHeaders() was deprecated.
2105 * MediaHandler::getStreamHeaders() was deprecated.
2106 * Title::canTalk() was deprecated. The new Title::canHaveTalkPage() should be
2107 used instead.
2108 * MWNamespace::canTalk() was deprecated. The new MWNamespace::hasTalkNamespace()
2109 should be used instead.
2110 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
2111 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
2112 deprecated in 1.24) were removed.
2113 * wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and
2114 BagOStuff::makeGlobalKey() should be used instead.
2115 * (T146304) Preprocessor handling of LanguageConverter markup has been improved.
2116 As a result of the new uniform handling, '-{' may need to be escaped
2117 (for example, as '-<nowiki/>{') where it occurs inside template arguments
2118 or wikilinks.
2119 * (T163966) Page moves are now counted as edits for the purposes of
2120 autopromotion, i.e., they increment the user_editcount field in the database.
2121 * Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for
2122 manipulating Special:Log and Special:NewPages lines.
2123 * The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData,
2124 PageHistoryLineEnding, ContributionsLineEnding and
2125 DeletedContributionsLineEnding hooks have an additional parameter, for
2126 manipulating HTML data attributes of RC/history lines.
2127 EnhancedChangesListModifyBlockLineData can do that via the
2128 $data['attribs'] subarray.
2129 * (T130632) The OutputPage::enableTOC() method was removed.
2130 * WikiPage::getParserOutput() will now throw an exception if passed
2131 ParserOptions that would pollute the parser cache. Callers should use
2132 WikiPage::makeParserOptions() to create the ParserOptions object and only
2133 change options that affect the parser cache key.
2134 * Article::viewRedirect() is deprecated.
2135 * IP::isValidBlock() was deprecated. Use the equivalent IP::isValidRange().
2136 * DeprecatedGlobal no longer supports passing in a direct value, it requires a
2137 callable factory function or a class name.
2138 * The $parserMemc global, wfGetParserCacheStorage(), and
2139 ParserCache::singleton() are all deprecated. The main ParserCache instance
2140 should be obtained from MediaWikiServices instead. Access to the underlying
2141 BagOStuff is possible through the new ParserCache::getCacheStorage() method.
2142 * .mw-ui-constructive CSS class (deprecated in 1.27) was removed.
2143 * Sanitizer::escapeId() was deprecated, use escapeIdForAttribute(),
2144 escapeIdForLink() or escapeIdForExternalInterwiki() instead.
2145 * Title::escapeFragmentForURL() was deprecated, use one of the aforementioned
2146 Sanitizer functions or, if possible, Title::getFragmentForURL().
2147 * Second parameter to Sanitizer::escapeIdReferenceList() ($options) now does
2148 nothing and is deprecated.
2149 * mw.util.escapeId() was deprecated, use escapeIdForAttribute() or
2150 escapeIdForLink().
2151 * MagicWord::replaceMultiple() (deprecated in 1.25) was removed.
2152 * WikiImporter now requires the second parameter to be an instance of the
2153 Config, class. Prior to that, the Config parameter was optional (a behavior
2154 deprecated in 1.25).
2155 * Removed 'jquery.mwExtension' module. (deprecated since 1.26)
2156 * mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette
2157 any more.
2158 * CdbReader, CdbWriter, CdbException classes (deprecated in 1.25) were removed.
2159 The namespaced classes in the Cdb namespace should be used instead.
2160 * IPSet class (deprecated in 1.26) was removed. The namespaced IPSet\IPSet
2161 should be used instead.
2162 * RunningStat class (deprecated in 1.27) was removed. The namespaced
2163 RunningStat\RunningStat should be used instead.
2164 * MWMemcached and MemCachedClientforWiki classes (deprecated in 1.27) were
2165 removed.
2166 The MemcachedClient class should be used instead.
2167 * EditPage underwent some refactoring and deprecations:
2168 * EditPage::isOouiEnabled() is deprecated and will always return true.
2169 * EditPage::getSummaryInput() and ::getSummaryInputOOUI() are deprecated.
2170 Please use ::getSummaryInputWidget() instead.
2171 * EditPage::getCheckboxes() and ::getCheckboxesOOUI() are deprecated. Please
2172 use ::getCheckboxesWidget() instead.
2173 * Creating an EditPage instance without calling EditPage::setContextTitle()
2174 should be avoided and will be deprecated in a future release.
2175 * EditPage::safeUnicodeInput() and ::safeUnicodeOutput() are deprecated and
2176 no-ops.
2177 * EditPage::$isCssJsSubpage, ::$isCssSubpage, and ::$isJsSubpage are
2178 deprecated. The corresponding methods from Title should be used instead.
2179 * EditPage::$isWrongCaseCssJsPage is deprecated. There is no replacement.
2180 * EditPage::$mArticle and ::$mTitle are deprecated for public usage. The
2181 getters ::getArticle() and ::getTitle() should be used instead.
2182 * Trying to control or fake EditPage context by overriding $wgUser,
2183 $wgRequest, $wgOut, and $wgLang is no longer supported and won't work. The
2184 IContextSource returned from EditPage::getContext() must be modified
2185 instead.
2186 * Parser::getRandomString() (deprecated in 1.26) was removed.
2187 * Parser::uniqPrefix() (deprecated in 1.26) was removed.
2188 * Parser::extractTagsAndParams() now only accepts three arguments. The fourth,
2189 $uniq_prefix was deprecated in 1.26 and has now been removed.
2190 * (T172514) The following tables have had their UNIQUE indexes turned into
2191 proper PRIMARY KEYs for increased maintainability: categorylinks, imagelinks,
2192 iwlinks, langlinks, log_search, module_deps, objectcache, pagelinks,
2193 query_cache, site_stats, templatelinks, text, transcache, user_former_groups,
2194 user_properties.
2195 * IDatabase::nextSequenceValue() is no longer needed by any database backends
2196 (formerly it was needed by PostgreSQL and Oracle), and is now deprecated.
2197 * (T146591) The lc_lang_key index on the l10n_cache table has been changed into
2198 a PRIMARY KEY.
2199 * (T157227) bot_password.bp_user, change_tag.ct_log_id, change_tag.ct_rev_id,
2200 page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and
2201 user_properties.up_user have all been made unsigned on MySQL.
2202 * DB_SLAVE is deprecated. DB_REPLICA should be used instead.
2203 * wfUsePHP() is deprecated.
2204 * wfFixSessionID() was removed.
2205 * wfShellExec() and related functions are deprecated, use Shell::command(). This
2206 also slightly changes the behavior of how execution time limits are calculated
2207 when only some of defaults are overridden per-call. When in doubt, always
2208 override both wall clock and CPU time.
2209 * (T138166) SpecialEmailUser::getTarget() now requires a second argument, the
2210 sending user object. Using the method without the second argument is
2211 deprecated.
2212 * (T67297) Browsers that don't support Unicode will have their edits rejected.
2213 * (T178450) The module 'jquery.badge' is deprecated and will be removed in a
2214 future release. For notifying the user of an event, the Notifications ("Echo")
2215 system should be used instead.
2216 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
2217 browser sends non-standard url escaping.
2218 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
2219
2220 = MediaWiki 1.29 =
2221
2222 == MediaWiki 1.29.3 ==
2223
2224 This is a security and maintenance release of the MediaWiki 1.29 branch.
2225
2226 === Changes since 1.29.2 ===
2227 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
2228 'newbie'.
2229 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
2230 account lock.
2231 * (T180551) Fix LanguageSrTest for language converter
2232 * (T180552) Fix langauge converter parser test with self-close tags
2233 * (T180537) Remove $wgAuth usage from wrapOldPasswords.php
2234 * (T180485) InputBox: Have inputbox langconvert certain attributes
2235 * (T161732, T181547) Upgraded Moment.js from v2.15.0 to v2.19.3.
2236 * (T172927) Drop vendor from MW release branch
2237 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array
2238 * Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency).
2239 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
2240 include extensions. Pass --with-extensions to enable that feature.
2241 * (T182381) Mask deprecated call in WatchedItemUnitTest
2242 * (T190503) Let built-in web server (maintenance/dev) handle .php requests.
2243 * The karma qunit tests would fail on some configuration due to headers already
2244 sent. Check headers_sent() before sending cpPosTime headers
2245 * (T167507) selenium: Run Chrome headlessly.
2246 * selenium: Pass -no-sandbox to Chrome under Docker
2247 * (T191247) Use MediaWiki\SuppressWarnings around trigger_error('') instead @
2248 * (T75174, T161041) Unit test ChangesListSpecialPageTest::testFilterUserExpLevel
2249 fails under SQLite.
2250 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
2251 * (T179190) selenium: Move test running logic from package.json to selenium.sh.
2252 * (T117839, T193200) PDFHandler: Fix for pdfinfo changes in poppler-utils 0.48.
2253 * Add default edit rate limit of 90 edits/minute for all users.
2254 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
2255 * (T196672) The mtime of extension.json files is now able to be zero
2256 * (T180403) Validate $length in padleft/padright parser functions.
2257 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
2258 * (T194237) Special:BotPasswords now requires reauthentication.
2259 * (T191608, T187638) Add 'logid' parameter to Special:Log.
2260 * (T176097) resourceloader: Disable a flaky MessageBlobStoreTest case
2261 * (T193829) Indicate when a Bot Password needs reset.
2262 * (T151415) Log email changes.
2263 * (T118420) Unbreak Oracle installer.
2264
2265 == MediaWiki 1.29.2 ==
2266
2267 This is a security and maintenance release of the MediaWiki 1.29 branch.
2268
2269 === Changes since 1.29.1 ===
2270 * (T166757) Avoid scoped lock errors in Category::refreshCounts() due to
2271 nesting.
2272 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
2273 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
2274 * Fixed login button label to accept RawMessage.
2275 * Fixed case of SpecialRecentChanges class usage.
2276 * (T174255) Declare uploadCount property in importDump.php.
2277 * (T163646) Pass a string not an int to mysql_real_escape_string().
2278 * (T180143) Bump justinrainbow/json-schema development dependency to ~5.2.
2279 * Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36.
2280 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
2281 browser sends non-standard url escaping.
2282 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
2283 * (T128209) SECURITY: Reflected File Download from api.php.
2284 * (T134100) SECURITY: Do not reveal if user exists during login failure.
2285 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
2286 * (T125163) SECURITY: Make anchor for headlines escape > and <.
2287 * (T180237) SECURITY: Protect vendor folder with .htaccess.
2288 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
2289 update.php.
2290 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
2291 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
2292 * (T180488) (T125177) "api.log contains passwords in plaintext" wasn't correctly
2293 fixed in all branches in the previous security release.
2294
2295 == MediaWiki 1.29.1 ==
2296
2297 This is a maintenance release of the MediaWiki 1.29 branch.
2298
2299 The SpamBlacklist and PdfHandler extensions were missing from the generated
2300 packages.
2301
2302 === Changes since 1.29.1 ===
2303 * (T164999) Define mw.Upload.Dialog.static.name in mediawiki.Upload.Dialog.js.
2304 * (T172061) Fix fatal when passing a category to refreshLinks.php.
2305
2306 == MediaWiki 1.29.0 ==
2307
2308 === Configuration changes in 1.29 ===
2309 * Default cookie expiration time has been reduced to 30 days. Login cookie
2310 expiration time is kept at 180 days.
2311 * A new configuration variable has been added: $wgCookieSetOnAutoblock. This
2312 determines whether to set a cookie when a user is autoblocked. Doing so means
2313 that a blocked user, even after logging out and moving to a new IP address,
2314 will still be blocked.
2315 * The resetpassword right and associated password reset capture feature has
2316 been removed.
2317 * The $error parameter to the EmailUser hook should be set to a Status object
2318 or boolean false. This should be compatible with at least MediaWiki 1.23 if
2319 not earlier. Returning a raw HTML string is now deprecated.
2320 * The $message parameter to the ApiCheckCanExecute hook should be set to an
2321 ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
2322 code for ApiBase::parseMsg() will no longer work.
2323 * ApiBase::$messageMap is no longer public. Code attempting to access it will
2324 result in a PHP fatal error.
2325 * $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC
2326 policies.
2327 * Subpages are now enabled by default in the Template namespace. Set
2328 $wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior.
2329 * $wgRunJobsAsync is now false by default (T142751). This change only affects
2330 wikis with $wgJobRunRate > 0.
2331 * (T158474) "Unknown user" has been added to $wgReservedUsernames.
2332 * (T156983) $wgRateLimitsExcludedIPs now accepts CIDR ranges as well as single
2333 IPs.
2334 * $wgDummyLanguageCodes is deprecated. Additional language code mappings may be
2335 added to $wgExtraLanguageCodes instead.
2336 * (T161453) LocalisationCache will no longer use the temporary directory in it's
2337 fallback chain when trying to work out where to write the cache.
2338 * The user right 'editusercssjs' (deprecated in 1.16) was removed. Use
2339 'editusercss' and 'edituserjs' in $wgGroupPermissions and elsewhere instead.
2340
2341 === New features in 1.29 ===
2342 * (T5233) A cookie can now be set when a user is autoblocked, to track that user
2343 if they move to a new IP address. This is disabled by default.
2344 * Added ILocalizedException interface to standardize the use of localized
2345 exceptions, largely so the API can handle them more sensibly.
2346 * Blocks created automatically by MediaWiki, such as for configured proxies or
2347 dnsbls, are now indicated as such and use a new i18n message when displayed.
2348 * Added new $wgHTTPImportTimeout setting. Sets timeout for
2349 downloading the XML dump during a transwiki import in seconds.
2350 * Parser limit report is now available in machine-readable format to JavaScript
2351 via mw.config.get('wgPageParseReport').
2352 * Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits
2353 from certain IP ranges (e.g. private IPs).
2354 * (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code
2355 of the page being parsed.
2356 * HTML5 form validation attributes will no longer be suppressed. Originally
2357 browsers had poor support for them, but modern browsers handle them fine.
2358 This might affect some forms that used them and only worked because the
2359 attributes were not actually being set.
2360 * Expiry times can now be specified when users are added to user groups.
2361 * Completely new user interface for the RecentChanges page, which
2362 structures filters into user-friendly groups. This has corresponding
2363 changes to how filters are registered by core and extensions.
2364 * The edit form now uses pretty OOjs UI buttons, checkboxes and summary input.
2365 Because this change can cause problems for extensions and on-wiki
2366 scripts depending on the exact HTML, the old version is still available
2367 and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php.
2368 This will be removed later and OOjs UI will become the only option.
2369 To make testing easier, users can also force either mode by adding
2370 &ooui=true or &ooui=false to the action=edit URL.
2371
2372 === External library changes in 1.29 ===
2373
2374 ==== Upgraded external libraries ====
2375 * Updated QUnit from v1.22.0 to v1.23.1.
2376 * Updated cssjanus from v1.1.2 to v1.2.0.
2377 * Updated psr/log from v1.0.0 to v1.0.2.
2378 * Update Moment.js from v2.8.4 to v2.15.0.
2379 * Updated oyejorge/less.php from v1.7.0.10 to v1.7.0.14.
2380 * Updated monolog from v1.18.2 to 1.22.1.
2381 * Updated wikimedia/composer-merge-plugin from v1.3.1 to v1.4.0.
2382 * Updated OOjs from v1.1.10 to v2.0.0.
2383 * Updated jQuery from v1.11.3 to v3.2.1 (including jQuery Migrate v3.0.0).
2384
2385 ==== New external libraries ====
2386 * Added wikimedia/timestamp v1.0.0.
2387 * Added wikimedia/remex-html v1.0.1.
2388
2389 ==== Removed and replaced external libraries ====
2390
2391 === Bug fixes in 1.29 ===
2392 * (T62604) Core parser functions returning a number now format the number
2393 according to the page content language, not wiki content language.
2394 * (T27187) Search suggestions based on jquery.suggestions will now correctly
2395 only highlight prefix matches in the results.
2396 * (T157035) "new mw.Uri()" was ignoring options when using default URI.
2397 * Special:Allpages can no longer be filtered by redirect in miser mode.
2398 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
2399 installed.
2400 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
2401 redirect to interwiki links.
2402 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
2403 $wgAdvancedSearchHighlighting is true.
2404 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
2405 their values out of the logs.
2406 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
2407 CSRF token.
2408 * (T156184) SECURITY: Escape content model/format url parameter in message.
2409 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
2410 declaration.
2411 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
2412 directory in it's fallback chain when trying to work out where to write the
2413 cache.
2414 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
2415 inclusion syntax's link parameter.
2416 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
2417 against it.
2418
2419 === Action API changes in 1.29 ===
2420 * Submitting sensitive authentication request parameters to action=login,
2421 action=clientlogin, action=createaccount, action=linkaccount, and
2422 action=changeauthenticationdata in the query string is now an error. They
2423 should be submitted in the POST body instead.
2424 * The capture option for action=resetpassword has been removed
2425 * action=clearhasmsg now requires a POST.
2426 * (T47843) API errors and warnings may be requested in non-English languages
2427 using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters.
2428 * API error codes may have changed. Most notably, errors from modules using
2429 parameter prefixes (e.g. all query submodules) will no longer be prefixed.
2430 * ApiPageSet-using modules will report the 'invalidreason' using the specified
2431 'errorformat'.
2432 * action=emailuser may return a "Warnings" status, and now returns 'warnings'
2433 and 'errors' subelements (as applicable) instead of 'message'.
2434 * action=imagerotate returns an 'errors' subelement rather than 'errormessage'.
2435 * action=move now reports errors when moving the talk page as an array under
2436 key 'talkmove-errors', rather than using 'talkmove-error-code' and
2437 'talkmove-error-info'. The format for subpage move errors has also changed.
2438 * action=revisiondelete no longer includes a "rendered" property on warnings
2439 and errors for each item. Use errorformat=wikitext if you're wanting parsed
2440 output.
2441 * action=rollback no longer returns a "messageHtml" property. Use
2442 errorformat=html if you're wanting HTML formatting of error messages.
2443 * action=upload now reports optional stash failures as an array under key
2444 'stasherrors' rather than a 'stashfailed' text string.
2445 * action=watch reports 'errors' and 'warnings' instead of a single 'error', and
2446 no longer returns a 'message' on success.
2447 * Added action=validatepassword to validate passwords for the account creation
2448 and password change forms.
2449 * action=purge now requires a POST.
2450 * There is a new `languagevariants` siprop for action=query&meta=siteinfo,
2451 which returns a list of languages with active LanguageConverter instances.
2452 * action=query&query=allpages will no longer filter redirects using a database
2453 query in miser mode. This may result in less results being returned than were
2454 requested.
2455
2456 === Action API internal changes in 1.29 ===
2457 * New methods were added to ApiBase to handle errors and warnings using i18n
2458 keys. Methods for using hard-coded English messages were deprecated:
2459 * ApiBase::dieUsage() was deprecated
2460 * ApiBase::dieUsageMsg() was deprecated
2461 * ApiBase::dieUsageMsgOrDebug() was deprecated
2462 * ApiBase::getErrorFromStatus() was deprecated
2463 * ApiBase::parseMsg() was deprecated
2464 * ApiBase::setWarning() was deprecated
2465 * ApiBase::$messageMap is no longer public. Code attempting to access it will
2466 result in a PHP fatal error.
2467 * The $message parameter to the ApiCheckCanExecute hook should be set to an
2468 ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a
2469 code for ApiBase::parseMsg() will no longer work.
2470 * UsageException is deprecated in favor of ApiUsageException. For the time
2471 being ApiUsageException is a subclass of UsageException to allow things that
2472 catch only UsageException to still function properly.
2473 * If, for some strange reason, code was using an ApiErrorFormatter instead of
2474 ApiErrorFormatter_BackCompat, note that the result format has changed and
2475 various methods now take a module path rather than a module name.
2476 * ApiMessageTrait::getApiCode() now strips 'apierror-' and 'apiwarn-' prefixes
2477 from the message key, and maps some message keys for backwards compatibility.
2478 * API parameters may now be marked as "sensitive" to keep their values out of
2479 the logs.
2480
2481 === Languages updated in 1.29 ===
2482
2483 MediaWiki supports over 350 languages. Many localisations are updated
2484 regularly. Below only new and removed languages are listed, as well as
2485 changes to languages because of Phabricator reports.
2486
2487 * Based as always on linguistic studies on intelligibility and language
2488 knowledge by geography, language fallbacks have been expanded. When a
2489 translation is missing in the user's preferred interface language, the
2490 corresponding translation for the fallback language will be used instead.
2491 English will only be used as last resort when there are no translations.
2492 Some configurations (such as date formats and gender namespaces) have also
2493 been updated when using the fallback language's configuration was inadequate.
2494 The new or reinstated language fallbacks are (after cs ↔ sk in 1.28):
2495 ca ↔ oc; hsb ↔ dsb; io → eo; mdf → ru; pnt → el; roa-tara → it; rup → ro;
2496 sh → bs, sr-el, hr.
2497 * (T137376) New language support: Atikamekw (atj).
2498 * (T163600) New language support: Dinka (din).
2499 * (T155957) Talk Namespaces for Javanese language (jv) have been updated.
2500
2501 ==== No fallback for Ukrainian ====
2502 * (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian
2503 language will now use the default fallback language: English. When a
2504 translation to Ukrainian is not available, an English string will be shown.
2505
2506 === Other changes in 1.29 ===
2507 * Database::getSearchEngine() (deprecated in 1.28) was removed. Use
2508 SearchEngineFactory::getSearchEngineClass() instead.
2509 * $wgSessionsInMemcached (deprecated in 1.20) was removed. No replacement is
2510 required as all sessions are stored in Object Cache now.
2511 * MWHttpRequest::execute() should be considered to return a StatusValue; the
2512 Status return type is deprecated.
2513 * User::edits() (deprecated in 1.21) was removed.
2514 * Xml::escapeJsString() (deprecated in 1.21) was removed.
2515 * Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21)
2516 were removed.
2517 * Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21)
2518 were removed.
2519 * Hook ArticleViewCustom (deprecated in 1.21) was removed. Use
2520 ArticleContentViewCustom instead.
2521 * Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed.
2522 * Class RevisiondeleteAction (deprecated in 1.25) was removed.
2523 * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed.
2524 * WikiPage::getText() (deprecated in 1.21) was removed.
2525 * Article::fetchContent() (deprecated in 1.21) was removed.
2526 * User::getPassword() (deprecated in 1.27) was removed.
2527 * User::getTemporaryPassword() (deprecated in 1.27) was removed.
2528 * User::isPasswordReminderThrottled() (deprecated in 1.27) was removed.
2529 * Class FSRepo (deprecated in 1.19) was removed.
2530 * WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use
2531 \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId()
2532 instead.
2533 * Class ImageGallery (deprecated in 1.22) was removed.
2534 Use ImageGalleryBase::factory instead.
2535 * Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class
2536 instead.
2537 * Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now
2538 emit warnings). Create a subclass of Action and add it to $wgActions instead.
2539 * WikiRevision::getText() (deprecated since 1.21) is no longer marked
2540 deprecated.
2541 * Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed.
2542 * Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed.
2543 * Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed.
2544 * Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed.
2545 * RedisConnectionPool::handleException (deprecated since 1.23) was removed.
2546 * The static properties mw.Api.errors and mw.Api.warnings, containing incomplete
2547 and outdated lists of errors/warnings returned by the API, are now deprecated.
2548 * wiki.phtml entry point was removed. Refer to index.php instead. If you want
2549 "wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can
2550 be done by enabling mod_rewrite and adding the following rules to your
2551 configuration:
2552
2553 RewriteEngine On
2554 RewriteBase /
2555 RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
2556 * Hook ArticleAfterFetchContent (deprecated in 1.21) was removed.
2557 Use ArticleAfterFetchContentObject instead.
2558 * Hook ArticleInsertComplete (deprecated in 1.21) was removed.
2559 Use PageContentInsertComplete instead.
2560 * Hook ArticleSave (deprecated in 1.21) was removed.
2561 Use PageContentSave instead.
2562 * Hook ArticleSaveComplete (deprecated in 1.21) was removed.
2563 Use PageContentSaveComplete instead.
2564 * Hook EditFilterMerged (deprecated in 1.21) was removed.
2565 Use EditFilterMergedContent instead.
2566 * Hook EditPageGetPreviewText (deprecated in 1.21) was removed.
2567 Use EditPageGetPreviewContent instead.
2568 * Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed.
2569 Use ContentHandlerDefaultModelFor instead.
2570 * Hook TitleIsWikitextPage (deprecated in 1.21) was removed.
2571 Use ContentHandlerDefaultModelFor instead.
2572 * Article::getContent() (deprecated in 1.21) was removed.
2573 * Revision::getText() (deprecated in 1.21) was removed.
2574 * Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed.
2575 * Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed.
2576 * Article::doEditContent() was marked as deprecated, to be removed in 1.30
2577 or later.
2578 * ContentHandler::runLegacyHooks() was removed.
2579 * refreshLinks.php now can be limited to a particular category with
2580 --category=... or a tracking category with --tracking-category=...
2581 * User-like objects that are passed to SpecialUserRights and its subclasses are
2582 now required to have a getGroupMemberships() method. See UserRightsProxy for
2583 an example.
2584 * User::$mGroups (instance variable) was marked private. Use User::getGroups()
2585 instead.
2586 * User::getGroupName(), User::getGroupMember(), User:getGroupPage(),
2587 User::makeGroupLinkHTML(), and User::makeGroupLinkWiki() were deprecated.
2588 Use equivalent methods on the UserGroupMembership class.
2589 * Maintenance scripts and tests that call User::addGroup() must now ensure that
2590 User objects have been added to the database prior to calling addGroup().
2591 * Protected function UsersPager::getGroups() was removed, and protected function
2592 UsersPager::buildGroupLink() was changed from a static to an instance method.
2593 * The third parameter ($cache) to the UsersPagerDoBatchLookups hook was changed;
2594 see docs/hooks.txt.
2595 * User::crypt() (deprecated in 1.24) was removed.
2596 * User::comparePasswords() (deprecated in 1.24) was removed.
2597 * ArchivedFile::getUserText() (deprecated in 1.23) was removed.
2598 * HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed.
2599 * BREAKING CHANGE: Internal signature changes to ChangesListSpecialPage
2600 and subclasses. It should only break if you call buildMainQueryConds
2601 (changed to buildQuery with new signature) or doMainQuery (new
2602 signature). Subclasses are likely to call at least doMainQuery
2603 (possibly both), but other classes might too, because they were
2604 public.
2605 Also, some related hooks were deprecated, but this is not yet a
2606 breaking change.
2607 * Removed 'jquery.arrowSteps' module. (deprecated since 1.28)
2608 * The 'jquery.autoEllipsis' ResourceLoader module is now deprecated.
2609 * WikiRevision::$fileIsTemp was deprecated.
2610 * WikiRevision::$importer was deprecated.
2611 * WikiRevision::$user was deprecated.
2612 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
2613 WikiPage::PURGE_* constants are deprecated, and the functions will always
2614 return false. They were a hack for an issue that has since been fixed.
2615 * Hook 'EditPageBeforeEditChecks' is now deprecated. Instead use the new hook
2616 'EditPageGetCheckboxesDefinition', or 'EditPage::showStandardInputs:options'
2617 if you don't actually care about checkboxes and just want to add some HTML
2618 to the page.
2619 * Selflinks are now rendered as href-less <a> tags with the class mw-selflink
2620 rather than <strong> tags. The old class name, "selflink", was deprecated
2621 and will be removed in a future release. (T160480)
2622 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
2623 * Browser support for non-ES5 JavaScript browsers, including Android 2,
2624 Opera <12.10, and Internet Explorer 9, was lowered from Grade A to Grade C.
2625 * Removed wikibits global methods deprecated since MediaWiki 1.17 (T122755):
2626 is_gecko, is_chrome_mac, is_chrome, webkit_version, is_safari_win, is_safari,
2627 webkit_match, is_ff2, ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs,
2628 opera7_bugs, opera6_bugs, is_opera_95, is_opera_preseven, is_opera,
2629 ie6_bugs, clientPC, changeText, killEvt, addHandler, hookEvent,
2630 addClickHandler, removeHandler, getElementsByClassName, getInnerText,
2631 setupCheckboxShiftClick, addCheckboxClickHandlers, mwEditButtons,
2632 mwCustomEditButtons, injectSpinner, removeSpinner, escapeQuotes,
2633 escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix,
2634 tooltipAccessKeyRegexp, updateTooltipAccessKeys.
2635 * The ID of the <li> element containing the login link has changed from
2636 'pt-login' to 'pt-login-private' in private wikis.
2637 * The old, neglected "bulletin board style toolbar" in the edit form is now
2638 deprecated (T30856). This old code dates from 2006, and was replaced in the
2639 MediaWiki release tarball and in Wikimedia production by the WikiEditor
2640 extension in 2010. It is only shown to users if no other editor was
2641 installed, and leads to confusion.
2642 * (T92459) Loading ResourceLoader modules containing JavaScript through
2643 addModuleStyles() is deprecated and will log a warning server-side.
2644
2645 = MediaWiki 1.28 =
2646
2647 == MediaWiki 1.28.3 ==
2648
2649 This is a security and maintenance release of the MediaWiki 1.28 branch.
2650
2651 === Changes since 1.28.2 ==
2652 * (T168856) Allow SVGs created by Dia to be uploaded.
2653 * (T157545) Add missing doUpdates() call to refreshLinks.php.
2654 * (T165714) (T100085) Better handling of jobs execution in post-connection
2655 shutdown.
2656 * (T154425) (T154438) (T157679) Use AutoCommitUpdate instead of
2657 Database->onTransactionIdle.
2658 * (T154425) Make DeferredUpdates detect LBFactory transaction rounds.
2659 * (T149454) Restore erroneously removed realTableName call from
2660 DatabasePostgres.
2661 * (T167798) Fix phrase search and highlighting for phrase queries.
2662 * (T151136) Provide credits information to callbacks in extension registration.
2663 * (T160462) Allow namespaces defined in extension.json to be overwritten
2664 locally.
2665 * (T168337) Fix ErrorPageError to work from non-UI contexts.
2666 * (T143788) Backports for PHP 7.0 and 7.1 support.
2667 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
2668 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
2669 * (T174255) Declare uploadCount property in importDump.php.
2670 * (T180231) SECURITY: Updated dev dependancy phpunit/phpunit from v4.8.24 to
2671 v4.8.36.
2672 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
2673 browser sends non-standard url escaping.
2674 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
2675 * (T128209) SECURITY: Reflected File Download from api.php.
2676 * (T134100) SECURITY: Do not reveal if user exists during login failure.
2677 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
2678 * (T125163) SECURITY: Make anchor for headlines escape > and <.
2679 * (T180237) SECURITY: Protect vendor folder with .htaccess.
2680 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
2681 update.php.
2682 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
2683 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
2684
2685 == MediaWiki 1.28.2 ==
2686
2687 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
2688 included in the tarball version of MediaWiki 1.28.1. The version included had a
2689 serious security issue in it (T158689). There was also some minor code fixes in
2690 MediaWiki itself since 1.28.1, but none of them were security relevant.
2691
2692 == MediaWiki 1.28.1 ==
2693
2694 This is a security and maintenance release of the MediaWiki 1.28 branch.
2695
2696 === Changes since 1.28.0 ===
2697
2698 * $wgRunJobsAsync is now false by default (T142751). This change only affects
2699 wikis with $wgJobRunRate > 0.
2700 * Fix fatal from "WaitConditionLoop" not being found, experienced when a wiki
2701 has more than one database server setup.
2702 * (T152717) Better escaping for PHP mail() command,
2703 * (T154670) A missing method causing the MySQL installer to fatal in rare
2704 circumstances was restored.
2705 * (T154672) Un-deprecate ArticleAfterFetchContentObject hook.
2706 * (T158766) Avoid SQL error on MSSQL when using selectRowCount().
2707 * (T145635) Fix too long index error when installing with MSSQL.
2708 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
2709 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
2710 installed.
2711 * (T154872) Fix incorrect ar_usertext_timestamp index names in new 1.28
2712 installs.
2713 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
2714 redirect to interwiki links.
2715 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
2716 $wgAdvancedSearchHighlighting is true.
2717 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
2718 their values out of the logs.
2719 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
2720 CSRF token.
2721 * (T156184) SECURITY: Escape content model/format url parameter in message.
2722 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
2723 declaration.
2724 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
2725 directory in it's fallback chain when trying to work out where to write the
2726 cache.
2727 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
2728 inclusion syntax's link parameter.
2729 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
2730 against it.
2731
2732 == MediaWiki 1.28 ==
2733
2734 === Changes since 1.28.0-rc1 ===
2735 * (T148957) Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db
2736 errors.
2737 * (T148956) Only apply wgDBschema to postgres/mssql.
2738 * (T145991) Introduce separate log action for deleting pages on move.
2739 * (T141474) (T110464) Bypass login page if no user input is required.
2740
2741 === Changes since 1.28.0-rc0 ===
2742 * (T142210) The changes to move the parser "NewPP limit report" from a HTML
2743 comment to a machine-readable JavaScript config option 'wgPageParseReport'
2744 have been undone. They caused the human-readable limit report to be shown
2745 incompletely or not at all. ParserOutput::setLimitReportData() and
2746 getLimitReportData() behave as they did in MediaWiki 1.27 again.
2747 * (T149510) Value of {{DISPLAYTITLE:}} parser function will not be used for
2748 the text of subheadings on a category page when creating it. This wasn't
2749 working correctly.
2750 * (T106793) MediaWiki will no longer try to perform a HTTP redirect to the
2751 canonical pretty URL when a non-pretty URL is used. It resulted in redirect
2752 loops in some clients and in some server configurations. This undoes a change
2753 made in MediaWiki 1.26.
2754 * (T149759) manifest_version: 2 was removed.
2755
2756 === Configuration changes in 1.28 ===
2757 * $wgSend404Code now affects status code of action=history if the page is not
2758 there.
2759 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
2760 made by MediaWiki via a proxy. Relying on the http_proxy environment
2761 variable is no longer supported.
2762 * The load.php entry point now enforces the existing policy of not allowing
2763 access to session data, which includes the session user and the session
2764 user's language. If such access is attempted, an exception will be thrown.
2765 * The number of internal PBKDF2 iterations used to derive the session secret
2766 is configurable via $wgSessionPbkdf2Iterations.
2767 * Upload dialog's file upload log comment can now be configured separately for
2768 local and foreign uploads.
2769 * $wgForeignUploadTargets now defaults to `[ 'local' ]`, where `'local'`
2770 signifies local uploads. A value of `[]` (empty array) now means that
2771 no upload targets are allowed, effectively disabling the upload dialog.
2772 * The deprecated $wgEditEncoding variable has been removed; it was only used
2773 for Esperanto language character conversion. You are now recommended to use
2774 input methods provided by the UniversalLanguageSelector extension.
2775 * When $wgPingback is true, MediaWiki will periodically ping
2776 https://www.mediawiki.org/beacon with basic information about the local
2777 MediaWiki installation. This data includes, for example, the type of system,
2778 PHP version, and chosen database backend. This behavior is off by default.
2779 * When $wgEditSubmitButtonLabelPublish is true, MediaWiki will label the button
2780 to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
2781 if false, the default, they will be "Save page"/"Save changes".
2782 * The 'editcontentmodel' permission is now granted to all logged-in users
2783 ('user').
2784 instead of just administrators ('sysop'). Documentation for this feature is
2785 available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>.
2786 * $wgRevisionCacheExpiry is now set to one week by default instead of being
2787 disabled.
2788 * Magic links are now disabled by default, and can be re-enabled by modifying
2789 the value of $wgEnableMagicLinks. Their usage is discouraged, but if they are
2790 manually enabled, a tracking category will be added to help identify usage and
2791 make it easier to migrate away from. If you depend upon magic link
2792 functionality, it is requested that you comment on
2793 <https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links>
2794 and explain your use case(s).
2795 * New config variable $wgCSPFalsePositiveUrls to control what URLs to ignore
2796 in upcoming Content-Security-Policy feature's reporting.
2797
2798 === New features in 1.28 ===
2799 * User::isBot() method for checking if an account is a bot role account.
2800 * Added a new 'slideshow' mode for galleries.
2801 * Added a new hook, 'UserIsBot', to aid in determining if a user is a bot.
2802 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
2803 interact with API parsing.
2804 * Added a new hook, 'UploadVerifyUpload', which can be used to reject a file
2805 upload. Unlike 'UploadVerifyFile' it provides information about upload comment
2806 and the file description page, but does not run for uploads to stash.
2807 * (T141604) Extensions can now provide a better error message when their
2808 maintenance scripts are run without the extension being installed.
2809 * (T8948) Numeric sorting in categories is now supported by setting
2810 $wgCategoryCollation to 'uca-default-u-kn' or 'uca-<langcode>-u-kn'. If you
2811 can't use UCA collations, a 'numeric' collation is also available. If
2812 migrating from another collation, you will need to run the updateCollation.php
2813 maintenance script.
2814 * Two new codes have been added to #time parser function: "xit" for days in
2815 current month, and "xiz" for days passed in the year, both in Iranian
2816 calendar.
2817 * mw.Api has a new option, useUS, to use U+001F (Unit Separator) when
2818 appropriate for sending multi-valued parameters. This defaults to true when
2819 the mw.Api instance seems to be for the local wiki.
2820 * After a client performs an action which alters a database that has replica
2821 databases, MediaWiki will wait for the replica databases to synchronize with
2822 the master database while it renders the HTML output. However, if the output
2823 is a redirect to another wiki on the wiki farm with a different domain,
2824 MediaWiki will instead alter the redirect URL to include a ?cpPosTime
2825 parameter that triggers the database synchronization when the URL is followed
2826 by the client. The same-domain case uses a new cpPosTime cookie.
2827 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
2828 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
2829 'show' parameters to existing API query modules.
2830
2831 === External library changes in 1.28 ===
2832
2833 ==== Upgraded external libraries ====
2834 * Updated es5-shim from v4.1.5 to v4.5.8
2835 * Updated composer/semver from v1.4.1 to v1.4.2
2836 * Updated wikimedia/php-session-serializer from v1.0.3 to v1.0.4
2837
2838 ==== New external libraries ====
2839 * Added wikimedia/scoped-callback v1.0.0
2840 * Added wikimedia/wait-condition-loop v1.0.1
2841
2842 === Bug fixes in 1.28 ===
2843 * (T146496) action=history pages should return 404 HTTP error code if the page
2844 does not exist
2845 * (T137264) SECURITY: XSS in unclosed internal links
2846 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
2847 * (T133147) SECURITY: Require login to preview user CSS pages
2848 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
2849 the top file
2850 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
2851 permissions
2852 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
2853 * (T139670) Move 'UserGetRights' call before application of
2854 Session::getAllowedUserRights()
2855
2856 === Action API changes in 1.28 ===
2857 * Added 'maxarticlesize' property to action=query&meta=siteinfo which contains
2858 the value of $wgMaxArticleSize.
2859 * Property 'modulemessages' from action=parse&prop=modules was removed
2860 (deprecated since 1.26).
2861 * The following response properties from action=login, deprecated in 1.27, are
2862 now removed: lgtoken, cookieprefix, sessionid. Clients should handle cookies
2863 to properly manage session state.
2864 * Submitting the lgtoken and lgpassword parameters in the query string to
2865 action=login is now deprecated and outputs a warning. They should be submitted
2866 in the POST body instead.
2867 * Submitting sensitive authentication request parameters to action=clientlogin,
2868 action=createaccount, action=linkaccount, and action=changeauthenticationdata
2869 in the query string is now deprecated and outputs a warning. They should be
2870 submitted in the POST body instead.
2871 * (T141960) Multi-valued parameters may now be separated using U+001F
2872 (Unit Separator) instead of the pipe character. This will be useful if some of
2873 the multiple values need to contain pipes, e.g. for action=options.
2874 * The API will now warn if input is not NFC-normalized Unicode or if it
2875 contains invalid characters.
2876 * The 'normalized' list output by action=query and other modules that use
2877 ApiPageSet may contain entries where the 'from' value is percent-encoded as
2878 the raw value cannot be represented in a valid API response. These are
2879 indicated by a 'fromencoded' boolean alongside the existing 'from' parameter.
2880 * (T28680) action=paraminfo can now return info about all submodules of a
2881 module without listing them all explicitly.
2882 * (T146770) It is now possible to assert that the current user is a specific
2883 named user, using the 'assertuser' parameter.
2884 * (T141963) Added a 'known' property when missing-but-known titles (e.g. from
2885 the 'TitleIsAlwaysKnown' hook) are output in various modules.
2886
2887 === Action API internal changes in 1.28 ===
2888 * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better
2889 interact with ApiParse and ApiExpandTemplates.
2890 * (T139565) SECURITY: API: Generate head items in the context of the given title
2891 * (T115333) SECURITY: Check read permission when loading page content in
2892 ApiParse
2893 * ApiBase::getResultData() was removed (deprecated since 1.25)
2894 * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25)
2895 * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25)
2896 * ApiBase::makeHelpMsg() was removed (deprecated since 1.25)
2897 * ApiFormatBase::formatHTML() was removed (deprecated since 1.25)
2898 * ApiFormatBase::getNeedsRawData() was removed (deprecated since 1.25)
2899 * ApiFormatBase::getWantsHelp() was removed (deprecated since 1.25)
2900 * ApiFormatBase::setBufferResult() was removed (deprecated since 1.25)
2901 * ApiFormatBase::setHelp() was removed (deprecated since 1.25)
2902 * ApiFormatBase::setUnescapeAmps() was removed (deprecated since 1.25)
2903 * ApiMain::makeHelpMsgHeader() was removed (deprecated since 1.25)
2904 * ApiMain::reallyMakeHelpMsg() was removed (deprecated since 1.25)
2905 * ApiMain::setHelp() was removed (deprecated since 1.25)
2906 * ApiResult::beginContinuation() was removed (deprecated since 1.25)
2907 * ApiResult::cleanUpUTF8() was removed (deprecated since 1.25)
2908 * ApiResult::convertStatusToArray() was removed (deprecated since 1.25)
2909 * ApiResult::disableSizeCheck() was removed (deprecated since 1.24)
2910 * ApiResult::enableSizeCheck() was removed (deprecated since 1.24)
2911 * ApiResult::endContinuation() was removed (deprecated since 1.25)
2912 * ApiResult::getData() was removed (deprecated since 1.25)
2913 * ApiResult::getIsRawMode() was removed (deprecated since 1.25)
2914 * ApiResult::setContent() was removed (deprecated since 1.25)
2915 * ApiResult::setContinueParam() was removed (deprecated since 1.25)
2916 * ApiResult::setElement() was removed (deprecated since 1.25)
2917 * ApiResult::setGeneratorContinueParam() was removed (deprecated since 1.25)
2918 * ApiResult::setIndexedTagName_internal() was removed (deprecated since 1.25)
2919 * ApiResult::setIndexedTagName_recursive() was removed (deprecated since 1.25)
2920 * ApiResult::setMainForContinuation() was removed (deprecated since 1.25)
2921 * ApiResult::setParsedLimit() was removed (deprecated since 1.25)
2922 * ApiResult::setRawMode() was removed (deprecated since 1.25)
2923 * ApiResult::size() was removed (deprecated since 1.25)
2924 * Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and
2925 'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and
2926 'show' parameters to existing API query modules. A query module can enable
2927 these hooks by passing an array for $hookData to ApiQueryBase::select() and
2928 by calling ApiQueryBase->processRow() before adding a row's data to the
2929 result.
2930
2931 === Languages updated in 1.28 ===
2932
2933 MediaWiki supports over 375 languages. Many localisations are updated
2934 regularly. Below only new and removed languages are listed, as well as
2935 changes to languages because of Phabricator reports.
2936
2937 * (T137411) ban (Balinese), thanks to translators Adi Mayndra, Andru,
2938 BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라.
2939 * (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha,
2940 Saiddzone Saimawnkham, Saosukham, and Sengwan.
2941 * Czech (cs) and Slovak (sk) set as reciprocal fallbacks.
2942 * (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator
2943 Ilja.mos.
2944
2945 === Other changes in 1.28 ===
2946 * (T128697) Improved handling of large diffs.
2947 * [BREAKING CHANGE] $wgExtendedLoginCookies has been removed. You can
2948 use or update a custom session provider if needed.
2949 * Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent.
2950 * The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead.
2951 * SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
2952 * The 'UserLoginComplete' hook has a new parameter to differentiate between
2953 actual login and visiting the login page while already logged in.
2954 * ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24).
2955 * $.fn.liveAndTestAtStart was removed (deprecated since 1.24).
2956 * mw.util.tooltipAccessKeyPrefix was removed (deprecated since 1.24).
2957 * mw.util.tooltipAccessKeyRegexp was removed (deprecated since 1.24).
2958 * Linker::link() and Linker::linkKnown() were deprecated; please instead use
2959 MediaWiki\Linker\LinkRenderer. In addition, the LinkBegin and LinkEnd hooks
2960 were replaced by HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd
2961 respectively. See docs/hooks.txt for the specific changes needed for those
2962 hooks.
2963 * Linker::formatSize() was deprecated. Use Language::formatSize() directly.
2964 * Aliases for Linker methods, deprecated since 1.21, were removed from Skin:
2965 * Skin::commentBlock() (use Linker::commentBlock() instead)
2966 * Skin::generateRollback() (use Linker::generateRollback() instead)
2967 * Skin::link() (use MediaWiki\Linker\LinkRenderer instead)
2968 * Skin::linkKnown() (use MediaWiki\Linker\LinkRenderer instead)
2969 * Skin::userLink() (use Linker::userLink() instead)
2970 * Skin::userToolLinks() (use Linker::userToolLinks() instead)
2971 * Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is
2972 disabled.
2973 * DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21).
2974 * UploadBase::stashFileGetKey() and UploadBase::stashSession() were deprecated.
2975 Use ...->stashFile()->getFileKey() instead.
2976 * "Public domain" was removed as a wiki license option from the installer, in
2977 favour of CC-0.
2978 * AuthenticationRequest::$required is now changed from REQUIRED to
2979 PRIMARY_REQUIRED on requests needed by primary providers even if all primaries
2980 need them.
2981 Primary providers are discouraged from returning multiple REQUIRED requests.
2982 * OOjs UI PHP widgets constructed with the `'infusable' => true` config option
2983 will no longer be automatically infused. You should call `OO.ui.infuse()`
2984 on them yourself from your JavaScript code.
2985 * parserTests.php has moved to tests/parser/parserTests.php
2986 * The command line options specific to parser tests have been removed from
2987 phpunit.php: --regex and --keep-uploads. Instead of --regex, use --filter.
2988 Instead of --keep-uploads, use the same option to parserTests.php, but you
2989 must specify a directory with --upload-dir.
2990 * The 'jquery.arrowSteps' ResourceLoader module is now deprecated.
2991 * IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should
2992 migrate to using the same functions on a ProxyLookup instance, obtainable from
2993 MediaWikiServices.
2994 * The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave,
2995 ArticleSaveComplete, ArticleViewCustom, EditFilterMerged, EditPageGetDiffText,
2996 EditPageGetPreviewText and ShowRawCssJs hooks will now emit deprecation
2997 warnings if used.
2998 * (T68404) CSS3 attr() function with url type is no longer allowed
2999 in inline styles.
3000 * Database::getSearchEngine() is deprecated, use
3001 SearchEngineFactory::getSearchEngineClass instead.
3002
3003 == Compatibility ==
3004
3005 MediaWiki 1.28 requires PHP 5.5.9 or later. There is experimental support for
3006 HHVM 3.6.5 or later.
3007
3008 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
3009 support for them is somewhat less mature. There is experimental support for
3010 Oracle and Microsoft SQL Server.
3011
3012 The supported versions are:
3013
3014 * MySQL 5.0.3 or later
3015 * PostgreSQL 8.3 or later
3016 * SQLite 3.3.7 or later
3017 * Oracle 9.0.1 or later
3018 * Microsoft SQL Server 2005 (9.00.1399)
3019
3020 == Upgrading ==
3021
3022 1.28 has several database changes since 1.27, and will not work without schema
3023 updates. Note that due to changes to some very large tables like the revision
3024 table, the schema update may take quite long (minutes on a medium sized site,
3025 many hours on a large site).
3026
3027 If upgrading from before 1.11, and you are using a wiki as a commons
3028 repository, make sure that it is updated as well. Otherwise, errors may arise
3029 due to database schema changes.
3030
3031 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
3032 new database fields are filled with data.
3033
3034 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
3035 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
3036 with MediaWiki 1.21.
3037
3038 Don't forget to always back up your database before upgrading!
3039
3040 See the file UPGRADE for more detailed upgrade instructions.
3041
3042 For notes on 1.27.x and older releases, see HISTORY.
3043
3044 == Online documentation ==
3045
3046 Documentation for both end-users and site administrators is available on
3047 MediaWiki.org, and is covered under the GNU Free Documentation License (except
3048 for pages that explicitly state that their contents are in the public domain):
3049
3050 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
3051
3052 == Mailing list ==
3053
3054 A mailing list is available for MediaWiki user support and discussion:
3055
3056 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
3057
3058 A low-traffic announcements-only list is also available:
3059
3060 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
3061
3062 It's highly recommended that you sign up for one of these lists if you're
3063 going to run a public MediaWiki, so you can be notified of security fixes.
3064
3065 == IRC help ==
3066
3067 There's usually someone online in #mediawiki on irc.freenode.net.
3068
3069 = MediaWiki 1.27 =
3070
3071 == MediaWiki 1.27.7 ==
3072
3073 This is a maintenance release of the MediaWiki 1.27 branch.
3074
3075 === Changes since MediaWiki 1.27.6 ===
3076 * Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php.
3077 * Remove broken tests from ApiBlockTest.php.
3078
3079 == MediaWiki 1.27.6 ==
3080
3081 This is a security and maintenance release of the MediaWiki 1.27 branch.
3082
3083 === Changes since MediaWiki 1.27.5 ===
3084 * (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
3085 all titles when asked for none.
3086 * (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
3087 libraries.
3088 * (T207241) Augment precision of updatelist time.
3089 * (T207540) Include IP address in "Login for $1 succeeded" log entry.
3090 * (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
3091 * (T207603) SECURITY: User JS may no longer be loaded with mime type
3092 text/javascript if there is no account associated with the username.
3093 * (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
3094 type if non-admins can edit the page.
3095 * (T207541) Pass email address to mail().
3096 * (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
3097 * (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1.
3098 * (T208871) The hard-coded Google search form on the database error page was
3099 removed.
3100 * (T216968) Return pageid as int in both list=iwbacklinks and
3101 list=langbacklinks.
3102 * (T218608) Fix an issue that prevents Extension:OAuth working when
3103 $wgBlockDisablesLogin is true.
3104 * (T219728) Added support for new Japanese era name "Reiwa".
3105 * (T25227) SECURITY: action=logout now requires to be posted and have a csrf
3106 token.
3107 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
3108 reauthenticating.
3109 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
3110 getLoginSecurityLevel() returns non-false.
3111 * (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
3112 * (T208881) SECURITY: blacklist CSS var().
3113 * (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
3114 * (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
3115 * (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
3116 * (T222036, T222038) SECURITY: Add permission check for user is permitted to
3117 view the log type.
3118 * (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
3119
3120 == MediaWiki 1.27.5 ==
3121
3122 This is a security and maintenance release of the MediaWiki 1.27 branch.
3123
3124 === Changes since 1.27.4 ===
3125 * (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides
3126 'newbie'.
3127 * (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's
3128 account lock.
3129 * Upgraded Moment.js from v2.8.4 to v2.19.3.
3130 * (T160298) Fixed Special:ActiveUsers due to bad backport.
3131 * (T87572) Make FormatMetadata::flattenArrayReal() work for an associative
3132 array.
3133 * Updated list of SPDX licenses for extensions.
3134 * (T189567) the CLI installer (maintenance/install.php) learned to detect and
3135 include extensions. Pass --with-extensions to enable that feature.
3136 * (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds().
3137 * Add default edit rate limit of 90 edits/minute for all users.
3138 * (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported.
3139 * (T196672) The mtime of extension.json files is now able to be zero.
3140 * (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete
3141 hook.
3142 * (T180403) Validate $length in padleft/padright parser functions.
3143 * (T143790) Make $wgEmailConfirmToEdit only affect edit actions.
3144 * Special:BotPasswords now requires reauthentication.
3145 * (T191608, T187638) Add 'logid' parameter to Special:Log.
3146 * (T193829) Indicate when a Bot Password needs reset.
3147 * (T151415) Log email changes.
3148 * (T118420) Unbreak Oracle installer.
3149
3150 == MediaWiki 1.27.4 ==
3151 This is a security and maintenance release of the MediaWiki 1.27 branch.
3152
3153 === Changes since 1.27.3 ===
3154 * (T100085) Better handling of jobs execution in post-connection shutdown.
3155 * (T141604) Support conditionally registered namespaces.
3156 * (T167798) Fix highlighting for phrase queries and phrase search.
3157 * (T151136) Provide credits information to callbacks.
3158 * (T160462) Allow namespaces defined in extension.json to be overwritten
3159 locally.
3160 * (T168856) Allow SVGs created by Dia to be uploaded.
3161 * (T144705) (T148662) Password reset link is no longer shown when no reset
3162 options are available.
3163 * (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support.
3164 * (T66795) $wgUserEmailUseReplyTo is now true by default to work around
3165 restrictive DMARC policies.
3166 * DB_REPLICA constant added from REL1_28+ to ease backports to extensions and
3167 core.
3168 * (T175439) Unbreak Postgres Updater when setting defaults for a column.
3169 * (T160298) Remove use of implicitGroupBy() in ActiveUsersPager.
3170 * (T142304) Allow putting the app ID in the password for bot passwords.
3171 * Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36.
3172 * (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and
3173 browser sends non-standard url escaping.
3174 * (T165846) SECURITY: BotPassword login attempts weren't throttled.
3175 * (T128209) SECURITY: Reflected File Download from api.php.
3176 * (T134100) SECURITY: Do not reveal if user exists during login failure.
3177 * (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS.
3178 * (T125163) SECURITY: Make anchor for headlines escape > and <.
3179 * (T180237) SECURITY: Protect vendor folder with .htaccess.
3180 * (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in
3181 update.php.
3182 * (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit.
3183 * (T119158) SECURITY: Handle -{}- syntax in attributes safely.
3184
3185 == MediaWiki 1.27.3 ==
3186 Due to a packaging error, the wrong version of the SyntaxHighlight extension was
3187 included in the tarball version of MediaWiki 1.27.2. The version included had a
3188 serious security issue in it (T158689). There was also some minor code fixes in
3189 MediaWiki itself since 1.27.2, but none of them were security relevant.
3190
3191 === Changes since 1.27.2 ===
3192 * (T145664) Fix broken wincache merge() implementation
3193 * (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility
3194 * (T153505) Fix php warnings on php 7.1 due to use of &$this
3195
3196 == MediaWiki 1.27.2 ==
3197 This is a security and maintenance release of the MediaWiki 1.27 branch.
3198
3199 ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as
3200 deprecated (rather than already removed) in the RELEASE-NOTES at the point
3201 1.27.0 was released.
3202
3203 === Changes since 1.27.1 ===
3204
3205 * (T68404) CSS3 attr() function with url type argument is no longer allowed
3206 in inline styles.
3207 * $wgRunJobsAsync is now false by default (T142751). This change only affects
3208 wikis with $wgJobRunRate > 0.
3209 * (T152717) Better escaping for PHP mail() command
3210 * Submitting the lgtoken and lgpassword parameters in the query string to
3211 action=login is now deprecated and outputs a warning. They should be submitted
3212 in the POST body instead.
3213 * Submitting sensitive authentication request parameters to action=clientlogin,
3214 action=createaccount, action=linkaccount, and action=changeauthenticationdata
3215 in the query string is now deprecated and outputs a warning. They should be
3216 submitted in the POST body instead.
3217 * (T158766) Avoid SQL error on MSSQL when using selectRowCount()
3218 * (T145635) Fix too long index error when installing with MSSQL.
3219 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
3220 * (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is
3221 installed.
3222 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
3223 redirect to interwiki links.
3224 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
3225 $wgAdvancedSearchHighlighting is true.
3226 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
3227 their values out of the logs.
3228 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
3229 CSRF token.
3230 * (T156184) SECURITY: Escape content model/format url parameter in message.
3231 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
3232 declaration.
3233 * (T161453) SECURITY: LocalisationCache will no longer use the temporary
3234 directory in it's fallback chain when trying to work out where to write the
3235 cache.
3236 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
3237 inclusion syntax's link parameter.
3238 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
3239 against it.
3240
3241 == MediaWiki 1.27.1 ==
3242
3243 This is a maintenance release of the MediaWiki 1.27 branch.
3244
3245 === Changes since 1.27.0 ===
3246 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
3247 made by MediaWiki via a proxy. Relying on the http_proxy environment
3248 variable is no longer supported.
3249 * (T139565) SECURITY: API: Generate head items in the context of the given title
3250 * (T137264) SECURITY: XSS in unclosed internal links
3251 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
3252 * (T133147) SECURITY: Require login to preview user CSS pages
3253 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
3254 the top file
3255 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
3256 permissions
3257 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
3258 * (T115333) SECURITY: Check read permission when loading page content in
3259 ApiParse
3260 * (T57548) Remove support for $wgWellFormedXml = false, all output is now well
3261 formed
3262 * (T139670) Move 'UserGetRights' call before application of
3263 Session::getAllowedUserRights()
3264
3265 == MediaWiki 1.27.0 ==
3266
3267 === PHP version requirement in 1.27 ===
3268 As of 1.27, MediaWiki now requires PHP 5.5.9 or higher (see Compatibility
3269 section). Additionally, the following PHP extensions are required:
3270 * ctype
3271 * iconv
3272 * json
3273 * mbstring (new requirement in 1.27)
3274 * xml
3275 The following PHP extensions are strongly recommended:
3276 * openssl
3277
3278 === Configuration changes in 1.27 ===
3279 * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
3280 now always enabled. If you use RDFa on your wiki, you now have to explicitly
3281 set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
3282 * $wgUseLinkNamespaceDBFields was removed.
3283 * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
3284 $wgResourceLoaderMinifierMaxLineLength, because there was little value in
3285 making the behavior configurable. The default values (`false` for the former,
3286 1000 for the latter) are now hard-coded.
3287 * $wgDebugDumpSqlLength was removed (deprecated in 1.24).
3288 * $wgDebugDBTransactions was removed (deprecated in 1.20).
3289 * $wgUseXVO has been removed, as it provides functionality only used by
3290 custom Wikimedia patches against Squid 2.x that probably noone uses in
3291 production anymore. There is now $wgUseKeyHeader that provides similar
3292 functionality but instead of the MediaWiki-specific X-Vary-Options header,
3293 uses the draft Key header standard.
3294 * $wgScriptExtension (and support for '.php5' entry points) was removed. See the
3295 deprecation notice in the release notes for version 1.25 for advice on how to
3296 preserve support for '.php5' entry points via URL rewriting.
3297 * Password handling via the User object has been deprecated and partially
3298 removed, pending the future introduction of AuthManager. In particular:
3299 ** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
3300 getPasswordExpired() have been removed. They were unused outside of core.
3301 ** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
3302 now private and will be removed in the future.
3303 ** The getPassword() and getTemporaryPassword() methods now throw
3304 BadMethodCallException and will be removed in the future.
3305 ** The ability to pass 'password' and 'newpassword' to createNew() has been
3306 removed. The only users of it seem to have been using it to set invalid
3307 passwords, and so shouldn't be greatly affected.
3308 ** setPassword(), setInternalPassword(), and setNewpassword() have been
3309 deprecated, pending the introduction of AuthManager.
3310 ** User::randomPassword() is deprecated in favor of a new method
3311 PasswordFactory::generateRandomPasswordString()
3312 ** User::getPasswordFactory() is deprecated, callers should just create a
3313 PasswordFactory themselves.
3314 ** A new constructor, User::newSystemUser(), has been added to simplify the
3315 creation of passwordless "system" users for logged actions.
3316 * $wgMaxSquidPurgeTitles was removed.
3317 * $wgAjaxWatch was removed. This is now enabled by default.
3318 * $wgUseInstantCommons now hotlinks Commons images by default instead of
3319 downloading originals and thumbnailing them locally. This allows wikis to save
3320 on CPU and bandwidth while reducing time to first byte for pages, even without
3321 a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
3322 * (T27397) WebP is enabled by default as an uploadable filetype.
3323 * (T48998) $wgArticlePath must now be either a full url, or start with a "/".
3324 * $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
3325 * Deprecated API formats dbg, txt, and yaml have been removed.
3326 * CLDRPluralRule* classes have been replaced with
3327 wikimedia/cldr-plural-rule-parser.
3328 * Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
3329 $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
3330 $wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
3331 * For proper operation of LocalIdLookup with shared user tables, ensure that
3332 $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
3333 that all others are sharing from and that $wgLocalDatabases is set to the
3334 full list of sharing wikis on all those wikis.
3335 * Massive overhaul to session handling:
3336 ** $wgSessionsInObjectCache is no longer supported and must be true, due to
3337 MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
3338 used.
3339 ** ObjectCacheSessionHandler is removed, replaced with
3340 MediaWiki\Session\PhpSessionHandler.
3341 ** PHP session handling in general ($_SESSION, session_id(), and so on) is
3342 deprecated. Use MediaWiki\Session\SessionManager instead. A new config
3343 variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
3344 issue a deprecation warning or to cause most PHP session handling to throw
3345 exceptions.
3346 ** Deprecated UserSetCookies hook. Session-handling extensions should generally
3347 be creating a custom subclass of CookieSessionProvider. Other extensions
3348 messing with cookies can no longer count on user data being saved in cookies
3349 versus other methods.
3350 ** Deprecated UserLoadFromSession hook, extensions should create a
3351 MediaWiki\Session\SessionProvider.
3352 ** The User cannot be loaded from session until after Setup.php completes.
3353 Attempts to do so will be ignored and the User will remain unloaded.
3354 ** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
3355 the MediaWiki\Session\Token class.
3356 * MediaWiki will now auto-create users as necessary, removing the need for
3357 extensions to do so. An 'autocreateaccount' right is added to allow
3358 auto-creation when 'createaccount' is not granted to all users.
3359 * Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
3360 * Most cookie-handling methods in User are deprecated.
3361 * $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
3362 experimental feature that has never worked.
3363 * Login and createaccount tokens now vary by timestamp.
3364 * LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
3365 return a MediaWiki\Session\Token, and tokens must be checked using that
3366 class's methods.
3367 * $wgEnotifUseJobQ was removed and the job queue is always used.
3368 * The functionality of the ApiSandbox extension has been merged into core. The
3369 extension should no longer be used.
3370 * $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
3371 Extensions, skins, gadgets and scripts that use the mediawiki.util module must
3372 express a dependency on it.
3373 * $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false.
3374 Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits
3375 module should express a dependency on it.
3376 * Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use
3377 $wgFooterIcons['copyright']['copyright'] instead.
3378 * If the openssl and mcrypt PHP extensions are both unavailable, secure
3379 session storage (used for login) will raise an exception. This exception may
3380 be bypassed by setting $wgSessionInsecureSecrets = true.
3381 * Massive overhaul to authentication:
3382 ** AuthPlugin and AuthPluginUser are deprecated.
3383 ** LoginForm and associated templates are deprecated. Extensions which called
3384 static LoginForm methods should be converted into authentication providers.
3385 ** The following hooks are deprecated:
3386 *** AbortAutoAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
3387 *** AbortLogin (create a MediaWiki\Auth\PreAuthenticationProvider instead)
3388 *** AbortNewAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead)
3389 *** AddNewAccount (use LocalUserCreated instead)
3390 *** AuthPluginSetup (create a MediaWiki\Auth\PrimaryAuthenticationProvider
3391 instead)
3392 *** ChangePasswordForm (use AuthChangeFormFields instead, or security levels)
3393 *** LoginUserMigrated (create a MediaWiki\Auth\PreAuthenticationProvider
3394 instead)
3395 *** UserCreateForm (create a MediaWiki\Auth\AuthenticationProvider of some type
3396 instead)
3397 *** UserLoginForm (create a MediaWiki\Auth\AuthenticationProvider of some type
3398 instead)
3399 ** The following hooks are removed:
3400 *** AbortChangePassword
3401 *** LoginPasswordResetMessage
3402 *** PrefsPasswordAudit
3403 ** The UserLoginComplete hook will no longer be called for all logins, only for
3404 those via the web UI. Use UserLoggedIn if you need to do something on all
3405 logins.
3406 ** $wgRequirePasswordforEmailChange is removed.
3407
3408 === New features in 1.27 ===
3409 * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
3410 sticks to the primary DC (via cookies) after they make changes to the site.
3411 * Added a new hook, 'UserMailerTransformContent', to transform the contents
3412 of an email. This is similar to the EmailUser hook but applies to all mail
3413 sent via UserMailer.
3414 * Added a new hook, 'UserMailerTransformMessage', to transform the contents
3415 of an emai after MIME encoding.
3416 * Added a new hook, 'UserMailerSplitTo', to control which users have to be
3417 emailed separately (ie. there is a single address in the To: field) so
3418 user-specific changes to the email can be applied safely.
3419 * $wgCdnMaxageLagged was added, which limits the CDN cache TTL
3420 when any load balancer uses a DB that is lagged beyond the 'max lag'
3421 setting in the relevant section of $wgLBFactoryConf.
3422 * User::newSystemUser() may be used to simplify the creation of passwordless
3423 "system" users for logged actions from scripts and extensions.
3424 * Extensions can now return detailed error information via the API when
3425 preventing user actions using 'getUserPermissionsErrors' and similar hooks
3426 by using ApiMessage instances instead of strings for the $result value.
3427 * $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
3428 becomes too high.
3429 * Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
3430 and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
3431 cross-browser-compatible FlexBox rules. Users will still need to add fallback
3432 float rules or the like for compatibility with IE9- separately.
3433 * Added MWTimestamp::getTimezoneString() which returns the localized timezone
3434 string, if available. To localize this string, see the comments of
3435 $wgLocaltimezone in includes/DefaultSettings.php.
3436 * Added CentralIdLookup, a service that allows extensions needing a concept of
3437 "central" users to get that without having to know about specific central
3438 authentication extensions.
3439 * $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
3440 Regular web request transactions that takes longer than this are aborted.
3441 * Added a new hook, 'TitleMoveCompleting', which runs before a page move is
3442 committed.
3443 * $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
3444 from CDN to mitigate DB replication lag and WAN cache purge lag.
3445 * (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
3446 if it is available.
3447 * It is now possible to patrol file uploads (both for new files and new versions
3448 of existing files). Special:NewFiles has gained an option to filter by patrol
3449 status. This functionality can be disabled using $wgUseFilePatrol.
3450 * MediaWiki\Session infrastructure allows for easier use of session mechanisms
3451 other than the usual cookies.
3452 ** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
3453 custom session metadata.
3454 * Added MWGrants and associated configuration settings $wgGrantPermissions and
3455 $wgGrantPermissionGroups to hold configuration for authentication features
3456 such as OAuth that want to allow restricting the user rights a user may make
3457 use of.
3458 ** If you're already using the OAuth extension, these new variables are
3459 identical to (and will replace) $wgMWOAuthGrantPermissions and
3460 $wgMWOAuthGrantPermissionGroups.
3461 * Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
3462 to assert that the request comes from a particular IP range.
3463 * Added bot passwords, a rights-restricted login mechanism for API-using bots.
3464 * Whitelisted the following HTML attributes for all elements in wikitext:
3465 aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
3466 * Removed "presentation" restriction on the HTML role attribute in wikitext.
3467 All values are now allowed for the role attribute.
3468 * $wgContentHandlers now also supports callbacks to create an instance of the
3469 appropriate ContentHandler subclass.
3470 * Added $wgAuthenticationTokenVersion, which if non-null prevents the
3471 user_token database field from being exposed in cookies. Setting this would
3472 be a good idea, but will log out all current sessions.
3473 * $wgEventRelayerConfig was added, for managing PubSub event relay
3474 configuration, specifically for reliable CDN url purges.
3475 * Requests have unique IDs, equal to the UNIQUE_ID environment variable (when
3476 MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly-
3477 generated 24-character string. This request ID is used to annotate log records
3478 and error messages. It is available client-side via
3479 mw.config.get( 'wgRequestId' ).
3480 The request ID supplants exception IDs. Accordingly,
3481 MWExceptionHandler::getLogId() is deprecated.
3482 * (T33313) Add a preference for watching uploads by default, also applies
3483 to API-based upload tools.
3484 * $wgJpegPixelFormat was added to override chroma subsampling for JPEG image
3485 thumbnails created via ImageMagick. Defaults to 'yuv420', providing bandwidth
3486 savings versus the previous behavior on many files.
3487 * MediaWiki\Auth infrastructure (called "AuthManager") allows for more flexible
3488 configuration of multiple authentication pieces that was possible with
3489 AuthPlugin. For example, it's now easy to plug in second-factor
3490 authentication, or add additional checks to the login process, or to support
3491 multiple login methods at once, or to support non-password-based login
3492 methods.
3493 ** Providers are configured via the global setting $wgAuthManagerConfig.
3494 ** A global, $wgDisableAuthManager, is temporarily available to disable
3495 AuthManager until extensions are ready to support it.
3496 ** New hook, AuthChangeFormFields, to adjust the form fields on
3497 AuthManager-related special pages.
3498 ** New hook, AuthManagerLoginAuthenticateAudit, for additional logging of
3499 AuthManager-related authentication requests.
3500 ** New hook, ChangeAuthenticationDataAudit, for additional logging of
3501 AuthManager-related authentication data changes.
3502 ** New hook, SecuritySensitiveOperationStatus, to work with the new mechanism
3503 for requiring a recent login before taking security-sensitive operations
3504 like changing a password.
3505 ** Two new globals, $wgChangeCredentialsBlacklist and
3506 $wgRemoveCredentialsBlacklist can be used to prevent the web UI and the API
3507 changing certain authentication data.
3508 * The file upload dialog (available if you install WikiEditor or VisualEditor)
3509 can now be configured using $wgUploadDialog.
3510
3511 === External library changes in 1.27 ===
3512
3513 ==== Upgraded external libraries ====
3514 * Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
3515 * Updated composer/semver from v1.0.0 to v1.2.0.
3516 * Updated liuggio/statsd-php-client to 1.0.18.
3517 * Updated QUnit from v1.18.0 to v1.22.0.
3518
3519 ==== New external libraries ====
3520 * Added wikimedia/base-convert v1.0.1.
3521 * Added wikimedia/cldr-plural-rule-parser v1.0.0.
3522 * Added wikimedia/relpath v1.0.3.
3523 * Added wikimedia/running-stat v1.1.0.
3524 * Added wikimedia/php-session-serializer v1.0.3.
3525
3526 ==== Removed and replaced external libraries ====
3527
3528 === Bug fixes in 1.27 ===
3529 * Special:Upload will now display correct maximum allowed file size when running
3530 under HHVM (T116347).
3531 * (T54077) The APIEditBeforeSave hook will once again give only the content of
3532 the section being edited, rather than the whole revision. This reverts the
3533 change made in MediaWiki 1.22.
3534
3535 === Action API changes in 1.27 ===
3536 * Added list=allrevisions.
3537 * generator=recentchanges now has the option to generate revids.
3538 * ApiPageSet::setRedirectMergePolicy() was added. This allows generator
3539 modules to define how generator data for a redirect source gets merged
3540 into the redirect destination.
3541 * prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
3542 "was-deleted" warning.
3543 * Added difftotextpst to query=revisions which preforms a pre-save transform on
3544 the text before diffing it.
3545 * Deprecated formats dbg, txt, and yaml have been removed.
3546 * (T47988) The protect log event details now use new-style formatting.
3547 * The following response properties from action=login are deprecated, and may
3548 be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
3549 handle cookies to properly manage session state.
3550 * action=login transparently allows login using bot passwords. Clients should
3551 merely need to change the username and password used after setting up a bot
3552 password.
3553 * action=upload no longer understands statuskey, asyncdownload or leavemessage.
3554 * Several changes when $wgDisableAuthManager is false:
3555 ** action=login is deprecated for uses other than bot passwords.
3556 ** list=users can now indicate if a missing username is creatable.
3557 ** action=createaccount is changed in a non-backwards-compatible manner.
3558 ** Added action=query&meta=authmanagerinfo.
3559 ** Added action=clientlogin to be used to log into the main account instead of
3560 action=login.
3561 ** Added action=linkaccount.
3562 ** Added action=unlinkaccount.
3563 ** Added action=changeauthenticationdata.
3564 ** Added action=removeauthenticationdata.
3565 ** Added action=resetpassword.
3566
3567 === Action API internal changes in 1.27 ===
3568 * ApiQueryORM removed.
3569 * The following classes have been removed:
3570 ** ApiFormatDbg
3571 ** ApiFormatTxt
3572 ** ApiFormatYaml
3573 * ApiBase::addTokenProperties() was removed (deprecated since 1.24).
3574 * ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24).
3575 * ApiBase::getFinalResultProperties() was removed (deprecated since 1.24).
3576 * ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated
3577 since 1.24).
3578 * ApiBase::getPossibleErrors() was removed (deprecated since 1.24).
3579 * ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated
3580 since 1.24).
3581 * ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated
3582 since 1.24).
3583 * ApiBase::getResultProperties() was removed (deprecated since 1.24).
3584 * ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24).
3585 * ApiBase::parseErrors() was removed (deprecated since 1.24).
3586 * ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
3587 ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
3588 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
3589 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
3590 * ApiQuery::getGenerators() was removed (deprecated since 1.21).
3591 * ApiQuery::getModules() was removed (deprecated since 1.21).
3592 * ApiQuery::getModuleType() was removed (deprecated since 1.21).
3593 * ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).
3594 * ApiMain::getModules() was removed (deprecated since 1.21).
3595 * ApiBase::getVersion() was removed (deprecated since 1.21).
3596 * ApiMain::getShowVersions() was removed (deprecated in 1.21).
3597 * ApiMain::addModule() was removed (deprecated in 1.21).
3598 * ApiMain::addFormat() was removed (deprecated in 1.21).
3599 * ApiMain::getFormats() was removed (deprecated in 1.21).
3600 * ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21).
3601 * ApiCreateAccount was removed.
3602
3603 === Languages updated in 1.27 ===
3604
3605 MediaWiki supports over 350 languages. Many localisations are updated
3606 regularly. Below only new and removed languages are listed, as well as
3607 changes to languages because of Phabricator reports.
3608
3609 * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
3610 * (T116020) Aliases of magic words in MessagesXx.php are sorted by usage.
3611
3612 === Other changes in 1.27 ===
3613 * Added dependency injection (DI) infrastructure, see docs/injection.txt for
3614 details.
3615 It is planned to incrementally move MediaWiki code towards using DI, using the
3616 service locator (SL) pattern as a stepping stone.
3617 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
3618 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
3619 ignore the 2nd and 3rd arguments (formerly $id and $commit).
3620 * Removed "loaderScripts" option from ResourceLoaderFileModule class.
3621 * Removed ORM-like wrapper added in 1.20.
3622 * LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
3623 (deprecated in 1.26).
3624 * WikiPage::doQuickEdit() was removed (deprecated since 1.21).
3625 * Removed SiteObject and SiteArray classes (deprecated in 1.21).
3626 * MessageBlobStore::getInstance() was removed (deprecated since 1.25).
3627 * (T84937) Free external links ("autolinked" urls) will now be terminated
3628 by &nbsp; and HTML entity encodings of &nbsp, <, and >.
3629 * (T36948) The default file revert message's timestamp is now in
3630 $wgLocaltimezone, instead of UTC.
3631 * The default name of the 'suppress' group page has been changed from
3632 'Project:Oversight' to 'Project:Suppress'.
3633 * DatabaseBase::resultObject() is now protected (use outside Database classes
3634 not necessary since 1.11).
3635 * Calling ResourceLoaderFileModule::readStyleFiles() without a
3636 ResourceLoaderContext instance is deprecated.
3637 * ResourceLoader::getLessCompiler() now takes an optional parameter of
3638 additional LESS variables to set for the compiler.
3639 * wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
3640 instead.
3641 * Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
3642 were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
3643 * Removed msg_resource_links database table and associated code.
3644 * Removed msg_resource database table and associated code.
3645 * Skin::getNamespaceNotice() was removed.
3646 * wfIsConfiguredProxy() was removed (deprecated since 1.24).
3647 * wfDebugTimer() was removed (deprecated since 1.25).
3648 * wfIsTrustedProxy() was removed (deprecated since 1.24).
3649 * wfGetIP() was removed (deprecated since 1.19).
3650 * MWHookException was removed.
3651 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
3652 * OutputPage::loginToUse() was removed (deprecated since 1.19).
3653 * Article::loadContent() was removed (deprecated since 1.19).
3654 * User::editToken() was removed (deprecated since 1.19).
3655 * Removed --force-normal option of dumpBackup.php, as it no longer served
3656 any useful purpose since 1.22.
3657 * The functions processOption() and processArgs() on the BackupDumper and
3658 TextPassDumper classes have been removed.
3659 * The maintenance/backupTextPass.inc file was deleted. You should include
3660 maintenance/dumpTextPass.php instead.
3661 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
3662 * wfEmptyMsg() was removed (deprecated since 1.18).
3663 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
3664 * OutputPage::blockedPage() was removed (deprecated since 1.18).
3665 * User::getSkin() was removed (deprecated since 1.18).
3666 * OutputPage::includeJQuery() was removed (deprecated since 1.17).
3667 * WikiPage::updateRestrictions() was removed (deprecated since 1.19).
3668 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
3669 * LogPage::logName() was removed (deprecated since 1.19).
3670 * LogPage::logHeader() was removed (deprecated since 1.19).
3671 * wfCheckLimits() was removed (deprecated since 1.24).
3672 * Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
3673 * Linker::makeLinkObj() was removed (deprecated since 1.16).
3674 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
3675 * ChangesList::usePatrol was removed (deprecated since 1.22).
3676 * wfMsgNoTrans() was removed (deprecated since 1.18).
3677 * Linker::makeImageLink2 was removed (deprecated since 1.20).
3678 * Title::userIsWatching() was removed (deprecated since 1.20).
3679 * Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
3680 database function directly instead.
3681 * wfMsg() was removed (deprecated since 1.18).
3682 * wfMsgForContent() was removed (deprecated since 1.18).
3683 * wfMsgReal() was removed (deprecated since 1.18).
3684 * wfMsgGetKey() was removed (deprecated since 1.18).
3685 * wfMsgHtml() was removed (deprecated since 1.18).
3686 * wfMsgWikiHtml() was removed (deprecated since 1.18).
3687 * wfMsgExt() was removed (deprecated since 1.18).
3688 * Language::armourMath() was removed (deprecated since 1.22).
3689 * LanguageConverter::armourMath() was removed (deprecated since 1.22).
3690 * FakeConverter::armourMath() was removed (deprecated since 1.22).
3691 * The unused jquery.validate ResourceLoader module was removed.
3692 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
3693 * User::generateToken() was removed (deprecated since 1.20).
3694 * WikiPage::getRawText() was removed (deprecated since 1.21).
3695 * ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
3696 * ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
3697 * ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
3698 * Gallery images with multiple caption pipes no longer concatenate them all
3699 together but instead pick the final one, similar to image syntax.
3700 * XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
3701 rather than consume everything until the end of the page.
3702 * New maintenance script resetUserEmail.php allows sysadmins to reset user
3703 emails in case a user forgot password/account was stolen.
3704 * wfCheckEntropy() was removed (deprecated in 1.27).
3705 * Browser support for Internet Explorer 8 lowered from Grade A to Grade C.
3706 * ContentHandler::supportsCategories method added. Default is true.
3707 CategoryMembershipChangeJob updates are skipped for content that
3708 does not support categories.
3709 * wikidiff difference engine is no longer supported, anyone still using it are
3710 encouraged to upgrade to wikidiff2 which is actively maintained and has better
3711 package availability.
3712 * Database logic was removed from WatchedItem and a WatchedItemStore was
3713 created:
3714 ** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were
3715 deprecated. User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were
3716 introduced.
3717 ** WatchedItem::fromUserTitle was deprecated in favour of the constructor.
3718 ** WatchedItem::resetNotificationTimestamp was deprecated.
3719 ** WatchedItem::batchAddWatch was deprecated.
3720 ** WatchedItem::addWatch was deprecated.
3721 ** WatchedItem::removeWatch was deprecated.
3722 ** WatchedItem::isWatched was deprecated.
3723 ** WatchedItem::duplicateEntries was deprecated.
3724 ** EmailNotification::updateWatchlistTimestamp was deprecated.
3725 ** User::getWatchedItem was removed.
3726 * Unit tests don't work with external PHPUnit anymore, Composer is now the only
3727 supported way. Run `composer install` to install it and other dev dependencies
3728 to run unit tests.
3729 * wl_id field added to the watchlist table.
3730 * Revision::getRawText() was removed (deprecated since 1.21).
3731 * WikiPage::replaceSection() was removed (deprecated since 1.21).
3732 * Article::replaceSection() was removed (deprecated since 1.21).
3733 * Language::getLangObj() was removed (deprecated since 1.24).
3734 * Language::getLanguageName() was removed (deprecated since 1.20).
3735 * Language::getLanguageNames() was removed (deprecated since 1.20).
3736 * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20).
3737 * Language::specialPage() was removed (deprecated since 1.24).
3738 * MediaWikiTestCase::assertException() was removed (deprecated since 1.22).
3739 * OutputPage::getHeadItems() was removed (deprecated since 1.24).
3740 * OutputPage::getScript() was removed (deprecated since 1.24).
3741 * OutputPage::out() was removed (deprecated since 1.22).
3742 * OutputPage::setAllowedModules() was removed (deprecated since 1.24).
3743 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
3744 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
3745 * Title::newFromRedirect() was removed (deprecated since 1.21).
3746 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
3747 * Skin::getCommonStylePath() was removed (deprecated since 1.24).
3748 * Skin::newFromKey() was removed (deprecated since 1.24).
3749 * Skin::getUsableSkins() was removed (deprecated since 1.23).
3750 * LoadBalancer::pickRandom() was removed (deprecated in 1.21).
3751 * Article::getUndoText() and WikiPage::getUndoText were removed (deprecated
3752 since 1.21).
3753 * DifferenceEngine::setText() was removed (deprecated in 1.21).
3754 * Title::newFromRedirectArray() was removed (deprecated in 1.21).
3755 * UserMailer::send() no longer accepts $replyto as the 5th argument and
3756 $contentType as the 6th. These must be passed in the options array now.
3757 * Title::newFromRedirectRecurse() was removed (deprecated in 1.21).
3758 * Skin::accesskey was removed (deprecated since 1.21).
3759 * Skin::blockLink was removed (deprecated since 1.21).
3760 * Skin::buildRollbackLink was removed (deprecated since 1.21).
3761 * Skin::emailLink was removed (deprecated since 1.21).
3762 * Skin::formatComment was removed (deprecated since 1.21).
3763 * Skin::formatHiddenCategories was removed (deprecated since 1.21).
3764 * Skin::formatLinksInComment was removed (deprecated since 1.21).
3765 * Skin::formatRevisionSize was removed (deprecated since 1.21).
3766 * Skin::formatSize was removed (deprecated since 1.21).
3767 * Skin::formatTemplates was removed (deprecated since 1.21).
3768 * Skin::generateTOC was removed (deprecated since 1.21).
3769 * Skin::getInternalLinkAttributes was removed (deprecated since 1.21).
3770 * Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21).
3771 * Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21).
3772 * Skin::getInvalidTitleDescription was removed (deprecated since 1.21).
3773 * Skin::getLinkColour was removed (deprecated since 1.21).
3774 * Skin::getRevDeleteLink was removed (deprecated since 1.21).
3775 * Skin::getRollbackEditCount was removed (deprecated since 1.21).
3776 * Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21).
3777 * Skin::makeCommentLink was removed (deprecated since 1.21).
3778 * Skin::makeExternalImage was removed (deprecated since 1.21).
3779 * Skin::makeExternalLink was removed (deprecated since 1.21).
3780 * Skin::makeHeadline was removed (deprecated since 1.21).
3781 * Skin::makeImageLink was removed (deprecated since 1.21).
3782 * Skin::makeMediaLinkFile was removed (deprecated since 1.21).
3783 * Skin::makeMediaLinkObj was removed (deprecated since 1.21).
3784 * Skin::makeSelfLinkObj was removed (deprecated since 1.21).
3785 * Skin::makeThumbLink2 was removed (deprecated since 1.21).
3786 * Skin::makeThumbLinkObj was removed (deprecated since 1.21).
3787 * Skin::normaliseSpecialPage was removed (deprecated since 1.21).
3788 * Skin::normalizeSubpageLink was removed (deprecated since 1.21).
3789 * Skin::processResponsiveImages was removed (deprecated since 1.21).
3790 * Skin::revComment was removed (deprecated since 1.21).
3791 * Skin::revDeleteLink was removed (deprecated since 1.21).
3792 * Skin::revDeleteLinkDisabled was removed (deprecated since 1.21).
3793 * Skin::revUserLink was removed (deprecated since 1.21).
3794 * Skin::revUserTools was removed (deprecated since 1.21).
3795 * Skin::specialLink was removed (deprecated since 1.21).
3796 * Skin::splitTrail was removed (deprecated since 1.21).
3797 * Skin::titleAttrib was removed (deprecated since 1.21).
3798 * Skin::tocIndent was removed (deprecated since 1.21).
3799 * Skin::tocLine was removed (deprecated since 1.21).
3800 * Skin::tocLineEnd was removed (deprecated since 1.21).
3801 * Skin::tocList was removed (deprecated since 1.21).
3802 * Skin::tocUnindent was removed (deprecated since 1.21).
3803 * Skin::tooltip was removed (deprecated since 1.21).
3804 * Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21).
3805 * Skin::userTalkLink was removed (deprecated since 1.21).
3806 * Skin::userToolLinksRedContribs was removed (deprecated since 1.21).
3807 * wikidiff3 is now the default and only PHP diff engine. It provides improved
3808 diff performance on complex changes. $wgExternalDiffEngine = 'wikidiff3'
3809 therefore makes no difference now. Users are still recommended to use
3810 wikidiff2 if possible, though.
3811 * User::addNewUserLogEntry() was deprecated.
3812 * User::addNewUserLogEntryAutoCreate() was deprecated.
3813 * User::isPasswordReminderThrottled() was deprecated.
3814 * Bot-oriented parameters to Special:UserLogin (wpCookieCheck,
3815 wpSkipCookieCheck) were removed.
3816 * Installer can now be customized without patching MediaWiki code, see
3817 mw-config/overrides/README for details.
3818
3819 === Compatibility ===
3820
3821 MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for
3822 HHVM 3.6.5 or later.
3823
3824 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
3825 support for them is somewhat less mature. There is experimental support for
3826 Oracle and Microsoft SQL Server.
3827
3828 The supported versions are:
3829
3830 * MySQL 5.0.3 or later
3831 * PostgreSQL 8.3 or later
3832 * SQLite 3.3.7 or later
3833 * Oracle 9.0.1 or later
3834 * Microsoft SQL Server 2005 (9.00.1399)
3835
3836 === Upgrading ===
3837
3838 1.27 has several database changes since 1.26, and will not work without schema
3839 updates. Note that due to changes to some very large tables like the revision
3840 table, the schema update may take quite long (minutes on a medium sized site,
3841 many hours on a large site).
3842
3843 If upgrading from before 1.11, and you are using a wiki as a commons
3844 repository, make sure that it is updated as well. Otherwise, errors may arise
3845 due to database schema changes.
3846
3847 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
3848 new database fields are filled with data.
3849
3850 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
3851 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
3852 with MediaWiki 1.21.
3853
3854 Don't forget to always back up your database before upgrading!
3855
3856 See the file UPGRADE for more detailed upgrade instructions.
3857
3858 For notes on 1.26.x and older releases, see HISTORY.
3859
3860
3861 = MediaWiki 1.26 =
3862
3863 == MediaWiki 1.26.4 ==
3864
3865 This is a maintenance release of the MediaWiki 1.26 branch.
3866
3867 === Changes since 1.26.3 ===
3868 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
3869 made by MediaWiki via a proxy. Relying on the http_proxy environment
3870 variable is no longer supported.
3871 * (T124163) Fixed fatal error in DifferenceEngine under HHVM.
3872 * (T139565) SECURITY: API: Generate head items in the context of the given title
3873 * (T137264) SECURITY: XSS in unclosed internal links
3874 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
3875 * (T133147) SECURITY: Require login to preview user CSS pages
3876 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
3877 the top file
3878 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
3879 permissions
3880 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
3881 * (T115333) SECURITY: Check read permission when loading page content in
3882 ApiParse
3883 * Remove support for $wgWellFormedXml = false, all output is now well formed
3884
3885 == MediaWiki 1.26.3 ==
3886
3887 This is a maintenance release of the MediaWiki 1.26 branch.
3888
3889 === Changes since 1.26.2 ===
3890 * (T116266) Fixed undefined property notices in DairikiDiff under HHVM.
3891 * (T123166) Fix fatal error when importing pages to titles which cannot be
3892 created, such as invalid titles or titles the user is not allowed to edit.
3893 * (T122056) Old tokens are remaining valid within a new session
3894 * (T127114) Login throttle can be tricked using non-canonicalized usernames
3895 * (T123653) Cross-domain policy regexp is too narrow
3896 * (T123071) Incorrectly identifying http link in a's href attributes, due to
3897 m modifier in regex
3898 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
3899 * (T125283) Users occasionally logged in as different users after
3900 SessionManager deployment
3901 * (T103239) Patrol allows click catching and patrolling of any page
3902 * (T122807) [tracking] Check php crypto primatives
3903 * (T98313) Graphs can leak tokens, leading to CSRF
3904 * (T130947) Diff generation should use PoolCounter
3905 * (T133507) Careless use of $wgExternalLinkTarget is insecure
3906 * (T132874) API action=move is not rate limited
3907 * (T110143) strip markers can be used to get around html attribute escaping in
3908 (many?) parser tags
3909 * (T116030) Increase pbkdf2 parameter strengths
3910 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
3911 * (T126685) Globally throttle password attempts
3912
3913 == MediaWiki 1.26.2 ==
3914
3915 This is a maintenance release of the MediaWiki 1.26 branch.
3916
3917 === Changes since 1.26.1 ===
3918 * (T121892) Fix fatal error on some Special pages, introduced in 1.26.1.
3919
3920 == MediaWiki 1.26.1 ==
3921
3922 This is a maintenance release of the MediaWiki 1.26 branch.
3923
3924 === Changes since 1.26.0 ===
3925 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
3926 that do not begin with a slash. This enabled trivial XSS attacks.
3927 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
3928 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
3929 error.
3930 * (T119309) SECURITY: Use hash_compare() for edit token comparison
3931 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
3932 with '@' as file uploads
3933 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
3934 longer be shorter than $wgMinimalPasswordLength
3935 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
3936 result in improper blocks being issued
3937 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
3938 and related pages no longer use HTTP redirects and are now redirected by
3939 MediaWiki
3940 * Fixed ConfigException in ExpandTemplates due to AlwaysUseTidy.
3941 * Fixed stray literal \n in Special:Search.
3942 * Fix issue that breaks HHVM Repo Authorative mode.
3943 * (T120267) Work around APCu memory corruption bug
3944
3945 == MediaWiki 1.26.0 ==
3946
3947 === Configuration changes in 1.26 ===
3948 * $wgPasswordResetRoutes['email'] = true by default.
3949 * $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE
3950 instead if you want to disable the parser cache.
3951 * New-style continuation is now the default for API action=continue. Clients may
3952 use the 'rawcontinue' parameter to receive raw query-continue data, but the
3953 new style is encouraged as it's harder to implement incorrectly.
3954 * Deprecated API formats dump and wddx have been completely removed.
3955 * (T7645) The "Signature" button on the edit toolbar is now hidden by default
3956 in non-talk namespaces. A new configuration variable,
3957 $wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces
3958 the "Signature" button on the edit toolbar will be displayed.
3959 * $wgResourceLoaderUseESI was deprecated and removed. This was an experimental
3960 feature that was never enabled by default.
3961 * $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed.
3962 This experimental feature was never enabled by default and is obsolete as of
3963 MediaWiki 1.26, in where ResourceLoader became fully asynchronous.
3964 * $wgMasterWaitTimeout was removed (deprecated in 1.24).
3965 * Fields in ParserOptions are now private. Use the accessors instead.
3966 * Custom LESS functions (defined via $wgResourceLoaderLESSFunctions or
3967 in extension.json) have been removed, after being deprecated in 1.24.
3968 * $wgAlwaysUseTidy has been removed.
3969 * ResetSessionID hook has been removed. Nothing seems to use it.
3970 * Certain AuthPlugin methods are deprecated in favor of new hooks:
3971 ** AuthPlugin::initUser() is replaced by LocalUserCreated.
3972 ** AuthPlugin::updateUser() is replaced by UserLoggedIn.
3973 ** AuthPlugin::updateExternalDB() is replaced by the existing UserSaveSettings.
3974 ** AuthPlugin::updateExternalDBGroups() is replaced by UserGroupsChanged.
3975 ** AuthPluginUser::isHidden() is replaced by UserIsHidden.
3976 ** AuthPluginUser::isLocked() is replaced by UserIsLocked.
3977 * The UserRights hook is deprecated in favor of the new UserGroupsChanged hook.
3978 * AuthPlugin::initUser() and AuthPlugin::updateUser() should no longer replace
3979 the passed User object.
3980 * $wgBlockAllowsUTEdit is now set to true by default. This allows
3981 blocked users to edit their talk pages unless explicitly disabled
3982 when they are being blocked.
3983
3984 === New features in 1.26 ===
3985 * (T51506) Now action=info gives estimates of actual watchers for a page.
3986 See $wgRCMaxAge, $wgWatchersMaxAge and $wgUnwatchedPageSecret
3987 to learn how to configure if needed.
3988 * Change tags can now be hidden in the interface by disabling the associated
3989 "tag-<id>" interface message.
3990 * ':' (colon) is now invalid in usernames for new accounts. Existing accounts
3991 are not affected.
3992 * Added a new hook, 'LogException', to log exceptions in nonstandard ways.
3993 * Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of
3994 search results are rendered. The initial use case is to append a "give us
3995 feedback" link beneath the search results.
3996 * Added a new hook, 'RejectParserCacheValue', which allows extensions to
3997 reject an otherwise-successful parser cache lookup. The intent is to allow
3998 extensions to manage the eviction of archaic HTML output from the cache.
3999 * (T68699) The expiration of the UserID and Token login cookies
4000 ($wgExtendedLoginCookieExpiration) can be configured independently of the
4001 expiration of all other cookies ($wgCookieExpiration).
4002 * (T50519) Support for generating JPEG/PNG thumbnails from WebP images added
4003 if ImageMagick is used as image scaler ($wgUseImageMagick = true). Uploading
4004 of WebP images still disabled by default. Add $wgFileExtensions[] =
4005 'webp'; to LocalSettings.php to enable uploading of WebP images.
4006 * Added new hooks 'EnhancedChangesListModifyLineData' &
4007 'EnhancedChangesListModifyBlockLineData', to modify the data used to build
4008 lines in enhanced recentchanges and watchlist.
4009 * Caches that need purging ability now use the WANObjectCache interface.
4010 This corresponds to a new $wgMainWANCache setting, which defaults to using
4011 the $wgMainCacheType settings.
4012 * Callers needing fast light-weight data stores use $wgMainStash to select
4013 the store type from $wgObjectCaches. The default is the local database.
4014 * Interface message overrides in the MediaWiki namespace will now be cached in
4015 memcached and APC (if available), rather than memcached and local files.
4016 * Added a new hook, 'RandomPageQuery', to allow modification of the query used
4017 by Special:Random to select random pages.
4018 * $wgTransactionalTimeLimit was added, which controls the request time limit
4019 for potentially slow POST requests that need to be as atomic as possible.
4020 * ResourceLoader now loads all scripts asynchronously. The top-queue and
4021 startup modules are no longer synchronously loaded.
4022 * 'mediawiki.ui.button' styles are no longer unconditionally loaded on every
4023 page. During the deprecation period, the styles will only be loaded on pages
4024 which contain 'mw-ui-button' in their HTML. Starting in 1.28, the styles will
4025 only be loaded if explicitly required.
4026 * If search returns zero results and current search engine has a "did you mean"
4027 suggestion, results for suggestion will be shown. Can be disabled by setting
4028 $wgSearchRunSuggestedQuery to false.
4029 * Added several JavaScript libraries for uploading files to MediaWiki
4030 from the client-side. See documentation for mw.Upload and its
4031 subclasses for more information.
4032 * Added OOUI dialogs and layout for file upload interfaces. See
4033 documentation for mw.Upload.Dialog, mw.Upload.BookletLayout and its
4034 subclasses for more information.
4035
4036 === extension.json changes in 1.26 ===
4037 * (T99344) The extension.json schema is now versioned. All extensions
4038 and skins should set a "manifest_version" property corresponding to
4039 the schema version they were written for. The only supported version
4040 currently is "1".
4041 * (T102523) The error message if a non-array attribute is set was improved.
4042 * (T107646) Configuration settings can now specify how they should be merged,
4043 which is necessary for arrays using integer keys.
4044 * (T110389) Adding namespaces through extension.json now actually works
4045 * $wgNamespaceProtection can now be set in extension.json.
4046 * $wgCapitalLinkOverrides can now be set in extension.json.
4047 * (T97186) Extensions using a custom prefix for their configuration settings
4048 can now set a "_prefix" key to override the default of "wg".
4049 * (T99084) Extensions can now specify what MediaWiki core versions they
4050 depend upon.
4051 * (T105236) The extension.json schema now validates custom classes in
4052 the "ResourceModules" property properly.
4053
4054 === External library changes in 1.26 ===
4055 ==== Upgraded external libraries ====
4056 * Updated es5-shim from v4.0.0 to v4.1.5.
4057 * Updated json2 from revision 2014-02-04 to 2015-05-03.
4058 * Updated Sinon.JS from 1.10.3 to 1.15.4.
4059 * Updated jQuery Client from v1.0.0 to v2.0.0.
4060 * Updated QUnit from v1.17.1 to v1.18.0.
4061 * Updated liuggio/statsd-php-client from v1.0.12 to v1.0.16.
4062 * Updated oojs/oojs-ui from v0.11.3 to v0.12.12.
4063 * Updated wikimedia/cdb from v1.0.1 to v1.3.0.
4064 * Updated wikimedia/utfnormal from v1.0.2 to v1.0.3.
4065 * Updated wikimedia/composer-merge-plugin from v1.0.0 to v1.3.0.
4066 * Updated zordius/lightncandy from v0.18 to v0.21.
4067
4068 ==== New external libraries ====
4069 * Added composer/semver v1.0.0.
4070 * Added mediawiki/at-ease v1.1.0.
4071 * Added wikimedia/assert v0.2.2.
4072 * Added wikimedia/ip-set v1.0.1.
4073 * Added wikimedia/wrappedstring v2.0.0.
4074
4075 ==== Removed and replaced external libraries ====
4076 * Replaced leafo/lessphp v0.5.0 with oyejorge/less.php v1.7.0.9.
4077
4078 === Bug fixes in 1.26 ===
4079 * (T53283) load.php sometimes sends 304 response without full headers
4080 * (T65198) Talk page tabs now have a "rel=discussion" attribute
4081 * (T98841) {{msgnw:}} now preserves comments even when subst: is not used.
4082 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
4083 value if set to an empty string.
4084
4085 === Action API changes in 1.26 ===
4086 * New-style continuation is now the default for action=continue. Clients may
4087 use the 'rawcontinue' parameter to receive raw query-continue data, but the
4088 new style is encouraged as it's harder to implement incorrectly.
4089 * Deprecated API formats dump and wddx have been completely removed.
4090 * API action=query&list=tags: The displayname can now be boolean false if the
4091 tag is meant to be hidden from user interfaces.
4092 * action=import no longer allows both the namespace= and rootpage= parameters
4093 to be set. If they are both set, the value of rootpage= will be ignored.
4094 * prop=revision output in enum mode is now sorted by timestamp rather than
4095 revision ID. This usually won't make any difference.
4096 * (T102645) Namespace list from meta=siteinfo&siprop=namespaces is now an array
4097 with formatversion=2.
4098 * Various other output from meta=siteinfo will now always be arrays instead of
4099 sometimes being numerically-indexed objects with formatversion=2.
4100 * When errors about users being blocked are returned, they now include
4101 information about the relevant block.
4102 * (T99926) list=random has higher limits, in line with other API modules.
4103 * list=random's rnredirect parameter is deprecated in favor of a new
4104 rnfilterredir parameter that also allows for listing both redirects and
4105 non-redirects.
4106 * list=random now supports continuation.
4107 * API responses to GET requests may now include ETag and Last-Modified headers,
4108 and will honor corresponding If-None-Match and If-Modified-Since on such
4109 requests.
4110
4111 === Action API internal changes in 1.26 ===
4112 * New metadata item ApiResult::META_KVP_MERGE to allow for merging the KVP key
4113 into the value when the value is an assoc.
4114 * API action modules may now provide values for the RFC 7232 ETag and
4115 Last-Modified headers. The API will check these against If-None-Match and
4116 If-Modified-Since request headers on GET requests and avoid executing the
4117 module when appropriate.
4118
4119 === Languages updated in 1.26 ===
4120
4121 MediaWiki supports over 350 languages. Many localisations are updated
4122 regularly. Below only new and removed languages are listed, as well as
4123 changes to languages because of Phabricator reports.
4124
4125 * Languages added:
4126 ** ase (American sign language), thanks to translator Icemandeaf
4127 ** dty (डोटेली/Doteli), thanks to translators जनक राज भट्ट, बिप्लब आनन्द,
4128 मेश सिंह बोहरा, and राम प्रसाद जोशी
4129 ** luz (لئری دوٙمینی / Southern Luri)
4130 ** olo (Livvinкarjala / Livvi-Karelian), thanks to translators Denö, Hiloin
4131 Natoi, Ilja.mos, and Mashoi7
4132
4133 === Other changes in 1.26 ===
4134 * ChangeTags::tagDescription() will return false if the interface message
4135 for the tag is disabled.
4136 * Added PageHistoryPager::doBatchLookups hook.
4137 * Added $wikiId parameter to FormatAutocomments hook.
4138 * Added ParserCacheSaveComplete to ParserCache
4139 * supportsDirectEditing and supportsDirectApiEditing methods added to
4140 ContentHandler, to provide a way for ApiEditPage and EditPage to check
4141 if direct editing of content is allowed. These methods return false,
4142 by default for the ContentHandler base class and true for TextContentHandler
4143 and it's derivative classes (everything in core). For Content types that
4144 do not support direct editing, an alternative mechanism should be provided
4145 for editing, such as action overrides or specific api modules.
4146 * mediaWiki.confirmCloseWindow now returns an object of functions, instead of
4147 one function. The callback can't be called directly any more. The callback
4148 function is replaced with confirmCloseWindow.release().
4149 * BREAKING CHANGE: Added an optional ResouceLoaderContext parameter to
4150 ResourceLoaderModule::getDependencies(). Extension classes that override that
4151 method should be updated. If they aren't updated, PHP Strict standards
4152 warnings will appear when E_STRICT error reporting is enabled. Note: in the
4153 near future, this parameter will probably become non-optional.
4154 * Removed maintenance script deleteImageMemcached.php.
4155 * MWFunction::newObj() was removed (deprecated in 1.25).
4156 ObjectFactory::getObjectFromSpec() should be used instead.
4157 * The parser will no longer randomize the string it uses to mark the place of
4158 items that were stripped during parsing. It will use a fixed string instead.
4159 This causes the parser to re-use the regular expressions it uses to search
4160 and replace markers rather than generate novel expressions on each parse.
4161 Re-using regular expressions will improve performance on HHVM and the
4162 forthcoming PHP 7. The interfaces changes accompanying this change are:
4163 - Parser::getRandomString() and Parser::uniqPrefix() have been deprecated.
4164 - The $uniq_prefix argument for Parser::extractTagsAndParams() and the
4165 $prefix argument for StripState::_construct() are deprecated and their
4166 value is ignored.
4167 * wfSuppressWarnings() and wfRestoreWarnings() were split into a separate
4168 library, mediawiki/at-ease, and are now deprecated. Callers should use
4169 MediaWiki\suppressWarnings() and MediaWiki\restoreWarnings() directly.
4170 * The Block class constructor now takes an associative array of parameters
4171 instead of many optional positional arguments. Calling the constructor the old
4172 way will issue a deprecation warning.
4173 * The jquery.mwExtension module was deprecated.
4174 * $wgSpecialPageGroups was removed (deprecated in 1.21).
4175 * SpecialPageFactory::setGroup was removed (deprecated in 1.21).
4176 * SpecialPageFactory::getGroup was removed (deprecated in 1.21).
4177 * DatabaseBase::ignoreErrors() is now protected.
4178 * BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following
4179 a lengthy deprecation period.
4180 * The ScopedPHPTimeout class was removed.
4181 * Removed maintenance script fixSlaveDesync.php.
4182 * Watchlist tokens, SpecialResetTokens, and User::getTokenFromOption()
4183 are deprecated. Applications using those can work via the OAuth
4184 extension instead. New tokens types should not be added.
4185 * DatabaseBase::errorCount() was removed (unused).
4186 * $wgDeferredUpdateList was removed.
4187 * DeferredUpdates::addHTMLCacheUpdate() was removed.
4188
4189 = MediaWiki 1.25 =
4190
4191 == MediaWiki 1.25.6 ==
4192
4193 This is a maintenance release of the MediaWiki 1.25 branch.
4194
4195 === Changes since 1.25.5 ===
4196 * (T123166) Fix fatal error when importing pages to titles which cannot be
4197 created, such as invalid titles or titles the user is not allowed to edit.
4198 * (T122056) Old tokens are remaining valid within a new session
4199 * (T127114) Login throttle can be tricked using non-canonicalized usernames
4200 * (T123653) Cross-domain policy regexp is too narrow
4201 * (T123071) Incorrectly identifying http link in a's href attributes, due to
4202 m modifier in regex
4203 * (T129506) MediaWiki:Gadget-popups.js isn't renderable
4204 * (T125283) Users occasionally logged in as different users after
4205 SessionManager deployment
4206 * (T103239) Patrol allows click catching and patrolling of any page
4207 * (T122807) [tracking] Check php crypto primatives
4208 * (T98313) Graphs can leak tokens, leading to CSRF
4209 * (T130947) Diff generation should use PoolCounter
4210 * (T133507) Careless use of $wgExternalLinkTarget is insecure
4211 * (T132874) API action=move is not rate limited
4212 * (T110143) strip markers can be used to get around html attribute escaping in
4213 (many?) parser tags
4214 * (T116030) Increase pbkdf2 parameter strengths
4215 * (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded
4216 * (T126685) Globally throttle password attempts
4217
4218 == MediaWiki 1.25.5 ==
4219
4220 This is a maintenance release of the MediaWiki 1.25 branch.
4221
4222 === Changes since 1.25.4 ===
4223 * (T121892) Fix fatal error on some Special pages, introduced in 1.25.4.
4224
4225 == MediaWiki 1.25.4 ==
4226
4227 This is a security and maintenance release of the MediaWiki 1.25 branch.
4228
4229 === Changes since 1.25.3 ===
4230 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
4231 that do not begin with a slash. This enabled trivial XSS attacks.
4232 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
4233 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
4234 error.
4235 * (T119309) SECURITY: Use hash_compare() for edit token comparison
4236 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
4237 with '@' as file uploads
4238 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
4239 longer be shorter than $wgMinimalPasswordLength
4240 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
4241 result in improper blocks being issued
4242 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
4243 and related pages no longer use HTTP redirects and are now redirected by
4244 MediaWiki
4245 * (T103237) $wgUseGzip had no effect when using file cache.
4246 * (T114606) mw.notify was not correctly fixed to the page if
4247 initialized while not at the top of the page.
4248 * Fix issue that breaks HHVM Repo Authorative mode.
4249
4250 == MediaWiki 1.25.3 ==
4251
4252 This is a security and maintenance release of the MediaWiki 1.25 branch.
4253
4254 === Changes since 1.25.2 ===
4255
4256 * (T98975) Fix having multiple callbacks for a single hook.
4257 * (T107632) maintenance/refreshLinks.php did not always remove all links
4258 pointing to nonexistent pages.
4259 * (T104142) $wgEmergencyContact and $wgPasswordSender now use their default
4260 value if set to an empty string.
4261 * (T62174) Provide fallbacks for use of mb_convert_encoding() in
4262 HtmlFormatter. It was causing an error when accessing the api help page
4263 if the mbstring PHP extension was not installed.
4264 * (T105896) Confirmation emails would sometimes contain invalid codes.
4265 * (T105597) Fixed edit stash inclusion queries.
4266 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
4267 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
4268 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
4269 first
4270 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
4271
4272 == MediaWiki 1.25.2 ==
4273
4274 This is a security and maintenance release of the MediaWiki 1.25 branch.
4275
4276 === Changes since 1.25.1 ===
4277
4278 * (T94116) SECURITY: Compare API watchlist token in constant time
4279 * (T97391) SECURITY: Escape error message strings in thumb.php
4280 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
4281 Special:DeletedContributions
4282 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
4283 policy of Wikimedia Commons.
4284 * (T100767) Setting a configuration setting for skin or extension to
4285 false in LocalSettings.php was not working.
4286 * (T100635) API action=opensearch json output no longer breaks when
4287 $wgDebugToolbar is enabled.
4288 * (T102522) Using an extension.json or skin.json file which has
4289 a "manifest_version" property for 1.26 compatability will no longer
4290 trigger warnings.
4291 * (T86156) Running updateSearchIndex.php will not throw an error as
4292 page_restrictions has been added to the locked table list.
4293 * Special:Version would throw notices if using SVN due to an incorrectly
4294 named variable. Add an additional check that an index is defined.
4295
4296 == MediaWiki 1.25.1 ==
4297
4298 This is a bug fix release of the MediaWiki 1.25 branch.
4299
4300 === Changes since 1.25 ===
4301 * (T100351) Fix syntax errors in extension.json of ConfirmEdit extension
4302
4303 == MediaWiki 1.25.0 ==
4304
4305 === Configuration changes in 1.25 ===
4306 * $wgPageShowWatchingUsers was removed.
4307 * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts.
4308 * $wgAntiLockFlags was removed.
4309 * $wgJavaScriptTestConfig was removed.
4310 * Edit tokens returned from User::getEditToken may change on every call. Token
4311 validity must be checked by passing the user-supplied token to
4312 User::matchEditToken rather than by testing for equality with a
4313 newly-generated token.
4314 * (T74951) The UserGetLanguageObject hook may be passed any IContextSource
4315 for its $context parameter. Formerly it was documented as receiving a
4316 RequestContext specifically.
4317 * Profiling was restructured and $wgProfiler now requires an 'output' parameter.
4318 See StartProfiler.sample for details.
4319 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
4320 might be a flash policy directive configurable.
4321 * ApiOpenSearch now supports XML output. The OpenSearchXml extension should no
4322 longer be used. If extracts and page images are desired, the TextExtracts and
4323 PageImages extensions are required.
4324 * $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates.
4325 * Edits are now prepared via AJAX as users type edit summaries. This behavior
4326 can be disabled via $wgAjaxEditStash.
4327 * (T46740) The temporary option $wgIncludejQueryMigrate was removed, along
4328 with the jQuery Migrate library, as indicated when this option was provided in
4329 MediaWiki 1.24.
4330 * ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any
4331 StartProfiler.php config is updated to reflect this. Xhprof is available
4332 for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler.
4333 * Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary
4334 rather than 'rsvg'.
4335 * Default value of $wgSVGConverters['ImageMagick'] now uses transparent
4336 background with white fallback color, rather than just white background.
4337 * MediaWikiBagOStuff class removed, make sure any object cache config
4338 uses SqlBagOStuff instead.
4339 * The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis
4340 job queues. This means that mediawiki/services/jobrunner service has to
4341 be installed and running for any such queues to work.
4342 * $wgAutopromoteOnce no longer supports the 'view' event. For keeping some
4343 compatibility, any 'view' event triggers will still trigger on 'edit'.
4344 * $wgExtensionDirectory was added for when your extensions directory is
4345 somewhere other than $IP/extensions (as $wgStyleDirectory does with the skins
4346 directory).
4347
4348 === New features in 1.25 ===
4349 * (T64861) Updated plural rules to CLDR 26. Includes incompatible changes
4350 for plural forms in Russian, Prussian, Tagalog, Manx and several languages
4351 that fall back to Russian.
4352 * (T60139) ResourceLoaderFileModule now supports language fallback
4353 for 'languageScripts'.
4354 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify
4355 the parser output for a content object before links update.
4356 * (T37785) Enhanced recent changes and extended watchlist are now default.
4357 Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
4358 and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions
4359 * (T69341) SVG images will no longer be base64-encoded when being embedded
4360 in CSS. This results in slight size increase before gzip compression (due to
4361 percent-encoding), but up to 20% decrease after it.
4362 * Update jStorage to v0.4.12.
4363 * MediaWiki now natively supports page status indicators: icons (or short text
4364 snippets) usually displayed in the top-right corner of the page. They have
4365 been in use on Wikipedia for a long time, implemented using templates and CSS
4366 absolute positioning.
4367 - Basic wikitext syntax:
4368 <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
4369 - Usage instructions:
4370 https://www.mediawiki.org/wiki/Help:Page_status_indicators
4371 - Adjusting custom skins to support indicators:
4372 https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators
4373 * Edit tokens may now be time-limited: passing a maximum age to
4374 User::matchEditToken will reject any older tokens.
4375 * The debug logging internals have been overhauled, and are now using the
4376 PSR-3 interfaces.
4377 * Update CSSJanus to v1.1.1.
4378 * Update lessphp to v0.5.0.
4379 * Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts
4380 and images for ApiOpenSearch output. The semantics are identical to the
4381 "OpenSearchXml" hook provided by the OpenSearchXml extension.
4382 * PrefixSearchBackend hook now has an $offset parameter. Combined with $limit,
4383 this allows for pagination of prefix results. Extensions using this hook
4384 should implement supporting behavior. Not doing so can result in undefined
4385 behavior from API clients trying to continue through prefix results.
4386 * Update jQuery from v1.11.1 to v1.11.3.
4387 * External libraries installed via composer will now be displayed
4388 on Special:Version in their own section. Extensions or skins that are
4389 installed via composer will not be shown in this section as it is assumed
4390 they will add the proper credits to the skins or extensions section. They
4391 can also be accessed through the API via the new siprop=libraries to
4392 ApiQuerySiteInfo.
4393 * Update QUnit from v1.14.0 to v1.16.0.
4394 * Update Moment.js from v2.8.3 to v2.8.4.
4395 * Special:Tags now allows for manipulating the list of user-modifiable change
4396 tags.
4397 * Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete',
4398 and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change
4399 tags.
4400 * Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and
4401 "active" formerly conflated by the 'ListDefinedTags' hook.
4402 * Added TemplateParser class that provides a server-side interface to cachable
4403 dynamically-compiled Mustache templates (currently uses lightncandy library).
4404 * Clickable anchors for each section heading in the content are now generated
4405 and appear in the gutter on hovering over the heading.
4406 * Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink'
4407 hooks to allow extensions to override how links to pages are rendered within
4408 NS_CATEGORY
4409 * (T19665) Special:WantedPages only lists page which having at least one red
4410 link pointing to it.
4411 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
4412 used for conditional registration of API modules.
4413 * New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the
4414 links of a group of changes in EnhancedChangesList.
4415 * A full interface for StatsD metric reporting has been added to the context
4416 interface, reachable via IContextSource::getStats().
4417 * Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a
4418 proper, published library, which is now tagged as v1.0.0.
4419 * A new message (defaulting to blank), 'editnotice-notext', can be shown to
4420 users when they are editing if no edit notices apply to the page being edited.
4421 * (T94536) You can now make the sitenotice appear to logged-in users only by
4422 editing MediaWiki:Anonnotice and replacing its content with "". Setting it to
4423 "-" (default) will continue disable it and fallback to MediaWiki:Sitenotice.
4424 * Modifying the tagging of a revision or log entry is now available via
4425 Special:EditTags, generally accessed via the revision-deletion-like interface
4426 on history pages and Special:Log is likely to be more useful.
4427 * Added 'applychangetags' and 'changetags' user rights.
4428 * (T35235) LogFormatter subclasses are now responsible for formatting the
4429 parameters for API log event output. Extensions should implement the new
4430 getParametersForApi() method in their log formatters.
4431
4432 ==== External libraries ====
4433 * MediaWiki now requires certain external libraries to be installed. In the past
4434 these were bundled inside the Git repository of MediaWiki core, but now they
4435 need to be installed separately. For users using the tarball, this will be
4436 taken care of and no action will be required. Users using Git will either need
4437 to use composer to fetch dependencies or use the mediawiki/vendor repository
4438 which includes all dependencies for MediaWiki core and ones used in Wikimedia
4439 deployment. Detailed instructions can be found at:
4440 https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
4441 * The following libraries are now required:
4442 ** psr/log
4443 This library provides the interfaces set by the PSR-3 standard
4444 (http://www.php-fig.org/psr/psr-3/) which are used by MediaWiki internally
4445 via the MediaWiki\Logger\LoggerFactory class.
4446 See the structured logging RfC
4447 <https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging>
4448 for more background information.
4449 ** cssjanus/cssjanus
4450 This library was formerly bundled with MediaWiki core and has been removed.
4451 It automatically flips CSS for RTL support.
4452 ** leafo/lessphp
4453 This library was formerly bundled with MediaWiki core and has been removed.
4454 It compiles LESS files into CSS.
4455 ** wikimedia/cdb
4456 This library was formerly a part of MediaWiki core, and has been moved into a
4457 separate library. It provides CDB functions which are used in the Interwiki
4458 and Localization caches. More information about the library can be found at
4459 https://www.mediawiki.org/wiki/CDB.
4460 ** liuggio/statsd-php-client
4461 This library provides a StatsD client API for logging application metrics to
4462 a remote server.
4463
4464 === Bug fixes in 1.25 ===
4465 * (T73003) No additional code will be generated to try to load CSS-embedded
4466 SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
4467 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
4468 10- and 13-digit forms) containing "X".
4469 * Page moving was refactored into a MovePage class. As part of that:
4470 ** The AbortMove hook was removed.
4471 ** MovePageIsValidMove is for extensions to specify whether a page
4472 cannot be moved for technical reasons, and should not be overridden.
4473 ** MovePageCheckPermissions is for checking whether the given user is
4474 allowed to make the move.
4475 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
4476 ** Title::moveTo() was deprecated. Use the MovePage class instead.
4477 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
4478 and MovePage::checkPermissions().
4479 * (T18530) Multiple autocomments are now formatted in an edit summary.
4480 * (T70361) Autocomments containing "/*" are parsed correctly.
4481 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
4482 on action=info about a file page does not list file links anymore.
4483 * (T78637) Search bar is not autofocused unless it is empty so that proper
4484 scrolling using arrow keys is possible.
4485 * (T50853) Database::makeList() modified to handle 'NULL' separately when
4486 building IN clause
4487 * (T85192) Captcha position modified in Usercreate template. As a result:
4488 ** extrafields parameter added to Usercreate.php to insert additional data
4489 ** 'extend' method added to QuickTemplate to append additional values to any
4490 field of data array
4491 * (T86974) Several Title methods now load from the database when necessary
4492 (instead of returning incorrect results) even when the page ID is known.
4493 * (T74070) Duplicate search for archived files on file upload now omits the
4494 extension.
4495 This requires the fa_sha1 field being populated.
4496 * Removed rel="archives" from the "View history" link, as it did not pass
4497 HTML validation.
4498 * $wgUseTidy is now set when parserTests are run with the tidy option to match
4499 output on wiki.
4500 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed
4501 to it.
4502 * (T72109) mediawiki.language should respect $wgTranslateNumerals in
4503 convertNumber().
4504
4505 === Action API changes in 1.25 ===
4506 * (T67403) XML tag highlighting is now only performed for formats
4507 "xmlfm" and "wddxfm".
4508 * action=paraminfo supports generalized submodules (modules=query+value),
4509 querymodules and formatmodules are deprecated
4510 * action=paraminfo no longer outputs descriptions and other help text by
4511 default. If needed, it may be requested using the new 'helpformat' parameter.
4512 * action=help has been completely rewritten, and outputs help in HTML
4513 rather than plain text.
4514 * Hitting api.php without specifying an action now displays only the help for
4515 the main module, with links to submodule help.
4516 * API help is no longer displayed on errors.
4517 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
4518 explicitly select the language from the current user's preferences, and
4519 "uselang=content" may be used to select the wiki's content language.
4520 * Default output format for the API is now jsonfm.
4521 * Simplified continuation will return a "batchcomplete" property in the result
4522 when a batch of pages is complete.
4523 * Pretty-printed HTML output now has nicer formatting and (if available)
4524 better syntax highlighting.
4525 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
4526 list=alldeletedrevisions.
4527 * prop=revisions will gracefully continue when given too many revids or titles,
4528 rather than just ignoring the extras.
4529 * prop=revisions will no longer die if rvcontentformat doesn't match a
4530 revision's content model; it will instead warn and omit the content.
4531 * If the user has the 'deletedhistory' right, action=query's revids parameter
4532 will now recognize deleted revids.
4533 * prop=revisions may be used as a generator, generating revids.
4534 * (T68776) format=json results will no longer be corrupted when
4535 $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
4536 error instead of returning invalid serialized data.
4537 * Generators may now return data for the generated pages when used with
4538 action=query.
4539 * Query page data for generator=search and generator=prefixsearch will now
4540 include an "index" field, which may be used by the client for sorting the
4541 search results.
4542 * ApiOpenSearch now supports XML output.
4543 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
4544 in JSON format.
4545 * (T76051) list=tags will now continue correctly.
4546 * (T76052) list=tags can now indicate whether a tag is defined.
4547 * (T75522) list=prefixsearch now supports continuation
4548 * (T78737) action=expandtemplates can now return page properties.
4549 * (T78690) list=allimages now accepts multiple pipe-separated values
4550 for the 'aimime' parameter.
4551 * prop=info with inprop=protections will now return applicable protection types
4552 with the 'restrictiontypes' key.
4553 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
4554 interwiki redirects to the list of interwiki titles.
4555 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
4556 property (like the existing 'tofragment' property) will be set.
4557 * Added action=managetags to allow for managing the list of
4558 user-modifiable change tags. Actually modifying the tagging of a revision or
4559 log entry is not implemented yet.
4560 * list=tags has additional properties to indicate 'active' status and tag
4561 sources.
4562 * siprop=libraries was added to ApiQuerySiteInfo to list installed external
4563 libraries.
4564 * (T88010) Added action=checktoken, to test a CSRF token's validity.
4565 * (T88010) Added intestactions to prop=info, to allow querying of
4566 Title::userCan() via the API.
4567 * Default type param for query list=watchlist and list=recentchanges has
4568 been changed from all types (e.g. including 'external') to 'edit|new|log'.
4569 * Added formatversion to format=json. Still "experimental" as further changes
4570 to the output formatting might still be made.
4571 * (T73020) Log event details are now always under a 'params' subkey for
4572 list=logevents, and a 'logparams' subkey for list=watchlist and
4573 list=recentchanges.
4574 * Log event details are changing formatting:
4575 * block events now report flags as an array rather than as a comma-separated
4576 list.
4577 * patrol events now report the 'auto' flag as a boolean (absent/empty string
4578 for BC formats) rather than as an integer.
4579 * rights events now report the old and new group lists as arrays rather than
4580 as comma-separated lists.
4581 * merge events use new-style formatting.
4582 * delete/event and delete/revision events use new-style formatting.
4583 * The root node and various other nodes will now always be an object in formats
4584 such as json that distinguish between arrays and objects.
4585 * Except for action=opensearch where the spec requires an array.
4586
4587 === Action API internal changes in 1.25 ===
4588 * ApiHelp has been rewritten to support i18n and paginated HTML output.
4589 Most existing modules should continue working without changes, but should do
4590 the following:
4591 * Add an i18n message "apihelp-{$moduleName}-description" to replace
4592 getDescription().
4593 * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
4594 to replace getParamDescription(). If necessary, the settings array returned
4595 by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
4596 message.
4597 * Implement getExamplesMessages() to replace getExamples().
4598 * Modules with submodules (like action=query) must have their submodules
4599 override ApiBase::getParent() to return the correct parent object.
4600 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
4601 and will have no effect for modules using i18n messages. Use
4602 'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
4603 * Api formatters will no longer be asked to display the help screen on errors.
4604 * ApiMain::getCredits() was removed. The credits are available in the
4605 'api-credits' i18n message.
4606 * ApiFormatBase has been changed to support i18n and syntax highlighting via
4607 extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
4608 has been removed.
4609 * ApiFormatBase now always buffers. Output is done when
4610 ApiFormatBase::closePrinter is called.
4611 * Much of the logic in ApiQueryRevisions has been split into
4612 ApiQueryRevisionsBase.
4613 * The 'revids' parameter supplied by ApiPageSet will now count deleted
4614 revisions as "good" if the user has the 'deletedhistory' right. New methods
4615 ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
4616 provided to access just the live or just the deleted revids.
4617 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
4618 to allow generators to include data in the action=query result.
4619 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
4620 used for conditional registration of API modules.
4621 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
4622 the current request was sent with the 'callback' parameter (or any future
4623 method that breaks the same-origin policy).
4624 * Profiling methods in ApiBase are deprecated and no longer need to be called.
4625 * ApiResult was greatly overhauled. See inline documentation for details.
4626 * ApiResult will automatically convert objects to strings or arrays (depending
4627 on whether a __toString() method exists on the object), and will refuse to
4628 add unsupported value types.
4629 * An informal interface, ApiSerializable, exists to override the default
4630 object conversion.
4631 * ApiResult/ApiFormatBase "raw mode" is deprecated.
4632 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
4633 metadata isn't set.
4634 * (T35235) LogFormatter subclasses are now responsible for formatting log event
4635 parameters for the API.
4636 * Many modules have changed result data formats. While this shouldn't affect
4637 clients not using the experimental formatversion=2, code using
4638 ApiResult::getResultData() without the transformations for backwards
4639 compatibility may need updating, as will code that wasn't following the old
4640 conventions for API boolean output.
4641 * The following methods have been deprecated and may be removed in a future
4642 release:
4643 * ApiBase::getDescription
4644 * ApiBase::getParamDescription
4645 * ApiBase::getExamples
4646 * ApiBase::makeHelpMsg
4647 * ApiBase::makeHelpArrayToString
4648 * ApiBase::makeHelpMsgParameters
4649 * ApiBase::getModuleProfileName
4650 * ApiBase::profileIn
4651 * ApiBase::profileOut
4652 * ApiBase::safeProfileOut
4653 * ApiBase::getProfileTime
4654 * ApiBase::profileDBIn
4655 * ApiBase::profileDBOut
4656 * ApiBase::getProfileDBTime
4657 * ApiBase::getResultData
4658 * ApiFormatBase::setUnescapeAmps
4659 * ApiFormatBase::getWantsHelp
4660 * ApiFormatBase::setHelp
4661 * ApiFormatBase::formatHTML
4662 * ApiFormatBase::setBufferResult
4663 * ApiFormatBase::getDescription
4664 * ApiFormatBase::getNeedsRawData
4665 * ApiMain::setHelp
4666 * ApiMain::reallyMakeHelpMsg
4667 * ApiMain::makeHelpMsgHeader
4668 * ApiResult::setRawMode
4669 * ApiResult::getIsRawMode
4670 * ApiResult::getData
4671 * ApiResult::setElement
4672 * ApiResult::setContent
4673 * ApiResult::setIndexedTagName_recursive
4674 * ApiResult::setIndexedTagName_internal
4675 * ApiResult::setParsedLimit
4676 * ApiResult::beginContinuation
4677 * ApiResult::setContinueParam
4678 * ApiResult::setGeneratorContinueParam
4679 * ApiResult::endContinuation
4680 * ApiResult::size
4681 * ApiResult::convertStatusToArray
4682 * ApiQueryImageInfo::getPropertyDescriptions
4683 * ApiQueryLogEvents::addLogParams
4684 * The following classes have been deprecated and may be removed in a future
4685 release:
4686 * ApiQueryDeletedrevs
4687
4688 === Languages updated in 1.25 ===
4689
4690 MediaWiki supports over 350 languages. Many localisations are updated
4691 regularly. Below only new and removed languages are listed, as well as
4692 changes to languages because of Bugzilla reports.
4693
4694 * Languages added:
4695 ** awa (अवधी / Awadhi), thanks to translator 1AnuraagPandey;
4696 ** bgn (بلوچی رخشانی / Western Balochi), thanks to translators
4697 Baloch Afghanistan, Ibrahim khashrowdi and Rachitrali;
4698 ** ses (Koyraboro Senni), thanks to translator Songhay.
4699 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
4700 interface language to kk where unexpected.
4701 * The Chinese conversion table was substantially updated to fix a lot of
4702 bugs and ensure better reading experience for different variants.
4703
4704 === Other changes in 1.25 ===
4705 * (T45591) Links to MediaWiki.org translatable help were added to indicators,
4706 mostly in special pages. Local custom target titles can be placed in the
4707 relevant '(namespace-X|action name|special page name)-helppage' system
4708 message. Extensions can use the addHelpLink() function to do the same.
4709 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
4710 removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
4711 migration guide for creators and users of custom skins that relied on it.
4712 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
4713 available on Special:Upload.
4714 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
4715 inline styles in the HTML.
4716 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
4717 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
4718 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
4719 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
4720 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since
4721 1.20)
4722 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
4723 since 1.20)
4724 * Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated
4725 since 1.20)
4726 * Removed 'jquery.json' module. (deprecated since 1.24)
4727 Use the 'json' module and global JSON object instead.
4728 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
4729 Also, the former will now throw an MWException if called with one or more
4730 arguments.
4731 * Removed hitcounters and associated code.
4732 * The "temp" zone of the upload respository is now considered private. If it
4733 already exists (such as under the images/ directory), please make sure that
4734 the directory is not web readable (e.g. via a .htaccess file).
4735 * BREAKING CHANGE: In the XML dump format used by Special:Export and
4736 dumpBackup.php, the <model> and <format> tags now apprear before the <text>
4737 tag, instead of after the <text> and <sha1> tags.
4738 The new schema version is 0.10, the new schema URI is:
4739 https://www.mediawiki.org/xml/export-0.10.xsd
4740 * MWFunction::call() and MWFunction::callArray() were removed, having being
4741 deprecated in 1.22.
4742 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
4743 and getInternalLinkAttributes methods in Linker, and removed
4744 getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
4745 * Removed Sites class, which was deprecated in 1.21 and replaced by
4746 SiteSQLStore.
4747 * Added wgRelevantArticleId to the client-side config, for use on special pages.
4748 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
4749 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
4750 * Deprecated the TitleIsWikitextPage hook. Superseded by the
4751 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
4752 * Changed parsing of variables in schema (.sql) files:
4753 ** The substituted values are no longer parsed. (Formerly, several passes
4754 were made for each variable, so depending on the order in which variables
4755 were defined, variables might have been found inside encoded values. This
4756 is no longer the case.)
4757 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
4758 If string encoding is necessary, use the '{$var}' syntax instead.
4759 ** Variable names must only consist of one or more of the characters
4760 "A-Za-z0-9_".
4761 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
4762 does not exist yet variable B does, the latter may not be replaced.
4763 However, this difference is unlikely to arise in practice.
4764 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
4765 characters on both sides.
4766 * The FormatAutocomments hook will now receive $pre and $post as booleans,
4767 rather than as strings that must be prepended or appended to $comment.
4768 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
4769 newlines; but they can contain &nbsp; and other non-newline whitespace.
4770 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
4771 toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
4772 relied on this behavior, update your scripts' dependencies.
4773 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
4774 * HTMLForm::isVForm() is now deprecated.
4775 * You can no longer do this:
4776 $form = new HTMLForm( … );
4777 $form->setDisplayFormat( 'vform' ); // throws exception
4778 Instead, do this:
4779 $form = HTMLForm::factory( 'vform', … );
4780 * Deprecated Revision methods getRawUser(), getRawUserText() and
4781 getRawComment().
4782 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
4783 The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
4784 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
4785 renders them incorrectly when combined with border-radius or background-size.
4786 * Removed maintenance script dumpSisterSites.php.
4787 * DatabaseBase class constructors must be called using the array argument style.
4788 Ideally, DatabaseBase:factory() should be used instead in most cases.
4789 * Deprecated ParserOutput::addSecondaryDataUpdate and
4790 ParserOutput::getSecondaryDataUpdates.
4791 This is a hard deprecation, with getSecondaryDataUpdates returning an empty
4792 array and addSecondaryDataUpdate throwing an exception. These functions will
4793 be removed in 1.26, since they interfere with caching of ParserOutput objects.
4794 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject
4795 custom updates.
4796 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to
4797 perform updates when a page is re-rendered.
4798 * EditPage::attemptSave has been modified not to call handleStatus itself and
4799 instead just returns the Status object. Extension calling it should be aware
4800 of this.
4801 * Removed class DBObject. (unused since 1.10)
4802 * wfDiff() is deprecated.
4803 * The -m (maximum replication lag) option of refreshLinks.php was removed.
4804 It had no effect since MediaWiki 1.18 and should be removed from any cron
4805 jobs or similar scripts you may have set up.
4806 * (T85864) The following messages no longer support raw html: redirectto,
4807 thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
4808 retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
4809 protect-summary-cascade
4810 * All BloomCache related code has been removed. This was largely experimental.
4811 * $wgResourceModuleSkinStyles no longer supports per-module local or remote
4812 paths. They can only be set for the entire skin.
4813 * Removed global function swap(). (deprecated since 1.24)
4814 * Deprecated the ".php5" file extension entry points and the $wgScriptExtension
4815 configuration variable. Refer to the ".php" files instead. If you want
4816 ".php5" URLs to continue to work, set up redirects. In Apache, this can be
4817 done by enabling mod_rewrite and adding the following rules to your
4818 configuration:
4819
4820 RewriteEngine On
4821 RewriteBase /
4822 RewriteRule ^(.*)\.php5 $1.php [R=301,L]
4823
4824 * The global importScriptURI and importStylesheetURI functions, as well as the
4825 loadedScripts object, from wikibits.js (deprecated since 1.17) now emit
4826 warnings through mw.log.warn when accessed.
4827
4828 = MediaWiki 1.24 =
4829
4830 == MediaWiki 1.24.6 ==
4831
4832 This is a maintenance release of the MediaWiki 1.24 branch.
4833
4834 === Changes since 1.24.5 ===
4835 * (T121892) Fix fatal error on some Special pages, introduced in 1.24.5.
4836
4837 == MediaWiki 1.24.5 ==
4838
4839 This is a security and maintenance release of the MediaWiki 1.23 branch.
4840
4841 === Changes since 1.24.4 ===
4842 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
4843 that do not begin with a slash. This enabled trivial XSS attacks.
4844 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
4845 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
4846 error.
4847 * (T119309) SECURITY: Use hash_compare() for edit token comparison
4848 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
4849 with '@' as file uploads
4850 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
4851 longer be shorter than $wgMinimalPasswordLength
4852 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
4853 result in improper blocks being issued
4854 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
4855 and related pages no longer use HTTP redirects and are now redirected by
4856 MediaWiki
4857 * (T103237) $wgUseGzip had no effect when using file cache.
4858
4859 == MediaWiki 1.24.4 ==
4860
4861 This is a security and maintenance release of the MediaWiki 1.24 branch.
4862
4863 === Changes since 1.24.3 ===
4864
4865 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
4866 * (T68650) Fix indexing of moved pages with PostgreSQL. Requires running
4867 update.php to fix.
4868 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
4869 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
4870 * (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the
4871 first
4872 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
4873
4874 == MediaWiki 1.24.3 ==
4875
4876 This is a security and maintenance release of the MediaWiki 1.24 branch.
4877
4878 === Changes since 1.24.2 ===
4879
4880 * (T94116) SECURITY: Compare API watchlist token in constant time
4881 * (T97391) SECURITY: Escape error message strings in thumb.php
4882 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
4883 Special:DeletedContributions
4884 * Update jQuery from v1.11.2 to v1.11.3.
4885 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
4886 policy of Wikimedia Commons.
4887
4888 == MediaWiki 1.24.2 ==
4889
4890 This is a security and maintenance release of the MediaWiki 1.24 branch.
4891
4892 === Changes since 1.24.1 ===
4893
4894 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
4895 to prevent various DoS attacks.
4896 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
4897 likelihood of DoS.
4898 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
4899 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
4900 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
4901 * (T64685) SECURITY: Allow setting maximal password length to prevent DoS when
4902 using PBKDF2.
4903 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
4904 prevent XSS and protect viewer's privacy.
4905 * Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory to fix
4906 loading these special pages when $wgAutoloadAttemptLowercase is false.
4907 * (bug T70087) Fix Special:ActiveUsers page for installations using
4908 PostgreSQL.
4909 * (bug T76254) Fix deleting of pages with PostgreSQL. Requires a schema change
4910 and running update.php to fix.
4911
4912 == MediaWiki 1.24.1 ==
4913
4914 This is a security and maintenance release of the MediaWiki 1.24 branch.
4915
4916 === Changes since 1.24.0 ===
4917
4918 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
4919 could lead to xss. Permission to edit MediaWiki namespace is required to
4920 exploit this.
4921 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
4922 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
4923 part of its name.
4924 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
4925 * Fixed a couple of entries in RELEASE-NOTES-1.24.
4926 * (bug T76168) OutputPage: Add accessors for some protected properties.
4927 * (bug T74834) Make 1.24 branch directly installable under PostgreSQL.
4928
4929 == MediaWiki 1.24.0 ==
4930
4931 === Configuration changes in 1.24 ===
4932 * MediaWiki will no longer run if register_globals is enabled. It has been
4933 deprecated for 5 years now, and was removed in PHP 5.4. For more information
4934 about why, see <https://www.mediawiki.org/wiki/register_globals>.
4935 * MediaWiki now requires PHP's iconv extension. openSUSE users may need to
4936 install the php5-iconv package. Users of other systems may need to add
4937 extension=iconv.so to php.ini or recompile PHP without --without-iconv.
4938 * MediaWiki will no longer function if magic quotes are enabled. It has
4939 been deprecated for 5 years now, and was removed in PHP 5.4.
4940 * The server's canonical hostname is available as $wgServerName, which is
4941 exposed in both mw.config and ApiQuerySiteInfo.
4942 * Introduced $wgPagePropsHaveSortkey as a backwards-compatibility switch,
4943 for using the old schema of the page_props table, in case the respective
4944 schema update was not applied.
4945 * $wgSearchEverythingOnlyLoggedIn was removed as the 'searcheverything'
4946 user option was removed. Use $wgNamespacesToBeSearchedDefault instead or
4947 if you used to have $wgDefaultUserOptions['searcheverything'] = 1.
4948 * $wgMasterWaitTimeout has been deprecated.
4949 * $wgDBClusterTimeout has been removed.
4950 * $wgProxyKey has been removed. It is no longer used by MediaWiki core.
4951 Ensure $wgSecretKey is set in LocalSettings.php.
4952 * $wgExtraInterlanguageLinkPrefixes is a new configuration variable that
4953 contains an array of interwiki prefixes that should be treated as language
4954 prefixes (i.e. turned into interlanguage links when $wgInterwikiMagic is set
4955 to true).
4956 * $wgParserTestRemote has been removed.
4957 * $wgCountTotalSearchHits has been removed. If you're concerned about efficiency
4958 of search, you should use something like CirrusSearch instead of built in
4959 search.
4960 * Users in the 'sysop' group have access to Special:MergeHistory by default.
4961 * $wgFileStore was removed after having been deprecated in 1.17. Alternative
4962 configurations are $wgDeletedDirectory and $wgHashedUploadDirectory.
4963 * The deprecated $wgUseCommaCount variable has been removed.
4964 * $wgEnableSorbs and $wgSorbsUrl have been removed.
4965 * The UserCryptPassword and UserComparePassword hooks are no longer called.
4966 Any extensions using them must be updated to use the Password Hashing API.
4967 * $wgCompiledFiles has been removed.
4968 * $wgSortSpecialPages was removed, the listing on Special:SpecialPages is
4969 now always sorted.
4970 * $wgSpecialPages may now use callback functions as an alternative to plain
4971 class names. This allows more control over constructor parameters.
4972 * $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort were removed.
4973 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort
4974 and $wgRC2UDPPrefix have been removed.
4975 * The default password type for MediaWiki has been changed from MD5 to PBKDF2.
4976 Password hashes will automatically be updated as users log in. If necessary,
4977 the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'.
4978 In addition, there is a maintenance script wrapOldPassword.php that can wrap
4979 all passwords in PBKDF2 (or the hashing algorithm of your choice) if you don't
4980 want to wait for your users to log in.
4981 * $wgImportSources can now either be a regular array, or an associative map
4982 specifying subprojects on the interwiki map of the target wiki, or a mix of
4983 the two. Existing configurations will still work.
4984 * Users must be able to edit through a page's protection to be able to delete
4985 it.
4986 * The default thumb size ($wgDefaultUserOptions['thumbsize']) is now 300px, up
4987 from 180px. If you have altered the number of entries in $wgThumbLimits for
4988 your wiki, you may need to adjust your default user settings to compensate for
4989 the index change.
4990 * $wgDeferredUpdateList is now deprecated, you should use
4991 DeferredUpdates::addUpdate() instead.
4992 * $wgCanonicalLanguageLinks has been removed. Per Google recommendations, we
4993 will not send a rel=canonical pointing to a variant-neutral page, however
4994 we will send rel=alternate.
4995 * $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the
4996 future.
4997 * $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar
4998 functionality.
4999
5000 === New features in 1.24 ===
5001 * Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
5002 manipulate the list of pages and/or preload lots of data at once.
5003 * Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the
5004 link to the title to be changed.
5005 * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
5006 WhatLinksHere entries.
5007 * Added a new hook, "ContentGetParserOutput", to customize parser output for
5008 a given content object.
5009 * Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead.
5010 * HTMLForm's HTMLTextField now supports the 'url' type.
5011 * HTMLForm fields may now be dynamically hidden based on the values of other
5012 fields in the form.
5013 * HTMLForm now supports multiple copies of an input field or set of input
5014 fields, e.g. the form may request "one or more usernames" without having to
5015 have the user enter delimited list of names into a text field.
5016 * Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of
5017 the sidebar just before its display.
5018 * (bug 49156) Added the mediawiki.cookie ResourceLoader module, which wraps
5019 jquery.cookie so that getting/setting a cookie is syntactically and
5020 functionally similar to using the WebRequest::getCookie() and
5021 WebResponse::setcookie() methods.
5022 * (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1. A new configuration option,
5023 $wgIncludejQueryMigrate, also loads the jQuery Migrate hack to let extensions
5024 and gadgets use the long-deprecated functions that were removed in jQuery 1.9.
5025 This option is turned off by default, and will be removed in MediaWiki 1.25.
5026 * (bug 47076) jQuery UI upgraded from 1.8.24 to 1.9.2.
5027 * Changes to content typography (fonts, etc.). See
5028 https://www.mediawiki.org/wiki/Typography_refresh for further information.
5029 * WikitextContent will now render redirects with the expected "redirect"
5030 header, rather than as an ordered list. Code calling Article::viewRedirect
5031 can probably be changed to no longer special-case redirects.
5032 * Header font set to a serif font stack. See
5033 https://www.mediawiki.org/wiki/Typography_refresh for further information.
5034 * (bug 65567) Added a new hook, "BeforeHttpsRedirect", to allow cancellation of
5035 the HTTP to HTTPS redirect due to forceHTTPS cookie, userRequires, etc. This
5036 is only for page views, since this hook doesn't affect UserLogin, OAuth,
5037 CentralAuth, etc. ATTENTION: This hook is likely to be removed soon due to
5038 overall design of the system.
5039 * (bug 17367) It is now possible to add pages to your watchlist from
5040 Special:UnwatchedPages without reloading the special page.
5041 * New methods setVolatile and isVolatile are added to PPFrame, so that
5042 extensions such as Cite.php can mark that their output is volatile and
5043 shouldn't be cached.
5044 * (bug 52817) Advanced search options are now saved on the search page itself,
5045 rather than in a dedicated pane in the preferences panel.
5046 * (bug 44591) The dropdown actions menu (little triangle next to page tabs) in
5047 the Vector skin has gained a label that should make it more discoverable.
5048 * MWCryptHKDF added for fast, cryptographically secure random number generation
5049 that won't deplete openssl's entropy pool.
5050 * ResourceLoader: File modules can now provide a skip function that uses an
5051 inline feature test to bypass loading of the module.
5052 * (bug 20210) Special pages may now provide autocompletion of their subpage
5053 names in search suggestions. Right now the only useful implementation is in
5054 Special:Log, but more are to come.
5055 * Special:MostLinkedTemplates is no longer limited to transclusions from the
5056 Template namespace.
5057 * Skins can now use 'remoteSkinPath' when defining ResourceLoader modules.
5058 This works the same as 'remoteExtPath' but is relative to the skins/ folder
5059 instead of the extensions/ folder.
5060 * Added the json2.js polyfill for the ES5 JSON.stringify and JSON.parse methods.
5061 Exposed as module "json" with a skip function to optimise loading.
5062 * Extensions and skins may now use 'namemsg' in $wgExtensionCredits in addition
5063 to 'name', to allow for the name to be localizable. 'name' should still be
5064 specified for backwards-compatibility and to define the path Special:Version
5065 uses to find extension license information.
5066 * Browser tests are now included to verify basic wiki functionality in developer
5067 environments. For details on running tests, see
5068 tests/browser/README.mediawiki.
5069 * Upgrade jStorage to v0.4.10.
5070 * {{!}} is now a magic word that produces the | character. This removes the need
5071 for Template:! for purposes such as passing pipes inside of parameters.
5072 * (bug 20790) The block log snippet on Special:Contributions and while
5073 editing user and user talk pages now works for IP range blocks.
5074 * (bug 9360) Added ability to change the page language for MediaWiki pages using
5075 Special:PageLanguage. All pages are set to wiki language by default.
5076 The feature needs to be enabled with $wgPageLanguageUseDB=true and
5077 permission needs to be set for 'pagelang'.
5078 * Upgrade Moment.js to v2.8.3.
5079 * (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
5080 * Upgrade Sinon.JS to 1.10.3.
5081 * Added the es5-shim polyfill for older or non-compliant javascript engines.
5082 * Upgrade jQuery Cookie to v1.3.1.
5083 * (bug 20476) Add a "viewsuppressed" user right to be able to view
5084 suppressed content but not suppress it ("suppressrevision" right).
5085 * (bug 66440) The MediaWiki web installer will now allow you to choose the skins
5086 to enable (from the ones included in download tarball) and decide which one
5087 should be the default.
5088 * (bug 68085, 68802) Links like [[localInterwikiPrefix:languageCode:pageTitle]],
5089 where localInterwikiPrefix is a member of the $wgLocalInterwikis array, will
5090 no longer be displayed in the sidebar when $wgInterwikiMagic is true. In a
5091 similar way, links like [[localInterwikiPrefix:File:Image.png]] and
5092 [[localInterwikiPrefix:Category:Hello]] will now render as regular links, and
5093 will not include the file or add the page to the category.
5094 * New special page, MyLanguage, to redirect users to subpages with localised
5095 versions of a page. (Integrated from Extension:Translate)
5096 * MediaWiki now supports multiple password types, including bcrypt and PBKDF2.
5097 The default type can be changed with $wgPasswordDefault and the type
5098 configurations can be changed with $wgPasswordConfig.
5099 * Skins can now define custom styles for default ResourceLoader modules using
5100 the $wgResourceModuleSkinStyles global. See the Vector skin for examples.
5101 * (bug 4488) There is now a preference to watch pages where the user has
5102 rollbacked an edit by default.
5103 * (bug 15484) Users will now be redirected to the login page when they need to
5104 log in, rather than being shown a page asking them to log in and having to
5105 click another link to actually get to the login page.
5106 * A JsonContent and JsonContentHandler were added for extensions to extend.
5107 * (bug 35045) Redirects to sections will now update the URL in browser's address
5108 bar using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]],
5109 the user will now see "Animals#Dog" in their browser instead of "Dog#Dog".
5110 * API token handling has been rewritten. Any API module using tokens will need
5111 to be updated. See the entry below under "Action API internal changes".
5112 * Added HTMLAutoCompleteSelectField.
5113 * Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to
5114 link existence cache before the page is rendered.
5115 * Config::set() was moved to its own interface, MutableConfig.
5116 GlobalVarConfig::set() is now deprecated, does not implement MutableConfig.
5117 * A MutableConfig named HashConfig was added, that stores an array of
5118 configuration settings.
5119 * (bug 69418) A MultiConfig implementation was added that supports fallback
5120 to multiple Config instances.
5121 * Update CSSJanus to v1.1.0.
5122 * Added FormatJson::parse() returning status with result or localized error
5123 message
5124 * Added DeletedContribsPager::reallyDoQuery hook allowing extensions to data to
5125 Special:DeletedContributions
5126 * Added DeletedContributionsLineEnding hook allowing extensions to format
5127 Special:DeletedContributions lines
5128 * (T69525) You can now make MediaWiki speed up its thumbnail rendering by using
5129 intermediary thumbnails. $wgThumbnailBuckets must be set to a list of target
5130 thumbnail widths; when a new thumbnail needs to be rendered, MediaWiki will
5131 find the smallest bucket smaller than the original but larger than the target
5132 width + $wgThumbnailMinimumBucketDistance, and it will scale that thumbnail,
5133 rather than the original, down to the target size at greater speed in return
5134 for minor loss of fidelity.
5135
5136 === Bug fixes in 1.24 ===
5137 * (bug 50572) MediaWiki:Blockip should support gender
5138 * (bug 49116) Footer copyright notice is now always displayed in user language
5139 rather than content language (same as copyright notice for editing interface).
5140 * (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
5141 restriction was present in the parameters. Images with both the "frame"
5142 option and a size specification set will now always ignore the provided
5143 size and display an unscaled image, as the documentation has always
5144 claimed it would.
5145 * (bug 39035) Improved Vector skin performance by removing collapsibleNav,
5146 which used to collapse some sidebar elements by default.
5147 This removes -list id suffixes like p-lang-list: instead of using things like
5148 #p-lang-list, you can do #p-lang .body ul.
5149 * (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
5150 follow redirects to their target pages.
5151 * Parser now dies early if called recursively, instead of producing subtle bugs.
5152 * (bug 14323) Redirect pages, when viewed with redirect=no, no longer hide the
5153 remaining page content.
5154 * (bug 52587) Maintenance script deleteBatch.php no longer follows redirects
5155 in the file namespace and delete the file on the target page. It will still
5156 however delete the redirect page.
5157 * (bug 22683) {{msgnw:}} and other uses of PPFrame::RECOVER_ORIG will correctly
5158 recover the original code of extension tags.
5159 * (bug 65757) MSSQL: Update script drops unnamed constraints to be prepared
5160 for future updates. Because it's doing so heuristically, it may fail or drop
5161 wrong constraints.
5162 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
5163 * $wgRunJobsAsync now works with private wikis (e.g. read requires login).
5164 * (bugs 57238, 65206) Blank pages can now be directly created.
5165 * (bug 69789) Title::getContentModel() now loads from the database when
5166 necessary instead of incorrectly returning the default content model.
5167 * (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP.
5168 * (bug 57909) URLs in the externallinks table will no longer have certain
5169 characters decoded in the query string.
5170 * (bug 67368) LESS mixins like .background-image() correctly flip image
5171 references for RTL stylesheets now.
5172
5173 === Action API changes in 1.24 ===
5174 * action=parse API now supports prop=modules, which provides the list of
5175 ResourceLoader modules that should be used to enhance the parsed content.
5176 * action=query&meta=siteinfo&siprop=interwikimap returns a new "protorel"
5177 field which is true if protocol-relative urls can be used to access
5178 a particular interwiki map entry.
5179 * list=logevents now provides logpage, which is the page ID from the
5180 logging table, if ids are requested and the user has the permissions.
5181 * action=edit now requires that appendtext, prependtext, or section=new be used
5182 when using the 'redirect' parameter, to prevent clients accidentally
5183 overwriting the target page with the content of the redirect.
5184 * list=logevents will now return an error if both letitle and leprefix are
5185 specified.
5186 * list=logevents has a new parameter, lenamespace, to allow filtering by
5187 namespace.
5188 * action=expandtemplates has a new parameter, prop, and a new output format.
5189 The old format is still used if prop isn't provided, but this is deprecated.
5190 * meta=userinfo can now return the count of unread pages on the watchlist.
5191 * list=watchlist can now filter by unread status.
5192 * The deprecated action=parse&prop=languageshtml has been removed.
5193 * (bug 48071) action=setnotificationtimestamp no longer throws PHP or database
5194 errors when no pages are given.
5195 * (bug 60734) Actions that use ApiPageSet (e.g. purge, watch,
5196 setnotificationtimestamp) will now include continuation information when
5197 using a generator.
5198 * Removed 'props' and 'errors' from action=paraminfo, as they have extremely
5199 limited use and are generally inaccurate, unmaintained, and impossible to
5200 properly maintain.
5201 * Formats dbg, dump, txt, wddx, and yaml are now deprecated.
5202 * action=paraminfo now indicates when a parameter is specifying a submodule.
5203 * The iwurl parameter to prop=iwlinks is deprecated in favor of iwprop=url, for
5204 parallelism with prop=langlinks.
5205 * All tokens should be fetched from action=query&meta=tokens; all other methods
5206 of fetching tokens are deprecated. The value needed for meta=tokens's 'type'
5207 parameter for each module is documented in the action=help output and is
5208 returned from action=paraminfo.
5209 * New action ClearHasMsg that can be used to clear HasMsg flag.
5210 * The cmstartsortkey and cmendsortkey parameters to list=categorymembers are
5211 deprecated in favor of cmstarthexsortkey and cmendhexsortkey.
5212 * (bug 63326) Add blockedtimestamp field to output of blockinfo property for
5213 the list=allusers and list=users modules.
5214 * prop=imageinfo no longer requires iiurlwidth to be set when using iiurlparam.
5215 * Added prop=linkshere, prop=fileusage, and prop=transcludedin, which are
5216 roughly equivalent to list=backlinks, list=imageusage, and list=embeddedin
5217 but can work on a list of titles (including titles from a generator).
5218 * prop=redirects can now filter returned redirects by namespace.
5219
5220 === Action API internal changes in 1.24 ===
5221 * Methods for handling continuation are added to ApiResult, so actions other
5222 than query that use generators can easily support continuation.
5223 * $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules,
5224 $wgAPIPropModules, and $wgAPIListModules settings) now allow API modules
5225 to be specified using a "module spec" array instead of a plain class name.
5226 A "module spec" is an associative array containing at least the 'class' key
5227 for the module's class, and optionally a 'factory' key for the factory
5228 function to use for the module. This is intended for extensions that want
5229 control over the instantiation of their API modules, to allow for proper
5230 dependency injection.
5231 * A new param type 'submodule' is available. Parameters of this type will take
5232 the list of valid values from the module's ApiModuleManager for the group
5233 corresponding to the parameter name.
5234 * The 'APIGetPossibleErrors' and 'APIGetResultProperties' hooks are no longer
5235 used.
5236 * API token handling has been rewritten. Any API module using tokens will need
5237 to be updated:
5238 * ApiBase::needsToken now returns a token type instead of boolean true when a
5239 token is needed. Returning true will throw an exception. See documentation
5240 of that method for details.
5241 * Information for the 'token' parameter is automatically set by ApiBase
5242 getFinalParams and getFinalParamDescription.
5243 * ApiBase::getTokenSalt has been removed.
5244 * The hooks APIQueryInfoTokens, APIQueryRevisionsTokens,
5245 APIQueryRecentChangesTokens, APIQueryUsersTokens, and
5246 ApiTokensGetTokenTypes are deprecated, but are still called to support
5247 backwards-compatible token access.
5248 * ApiBase::validateLimit and ApiBase::validateTimestamp are now protected.
5249 * ApiQueryRedirects was removed; prop=redirects is now implemented by
5250 ApiQueryBacklinksProp along with the newly-added prop modules.
5251 * The following methods have been deprecated and may be removed in a future
5252 release:
5253 * ApiBase::getResultProperties
5254 * ApiBase::getFinalResultProperties
5255 * ApiBase::addTokenProperties
5256 * ApiBase::getRequireOnlyOneParameterErrorMessages
5257 * ApiBase::getRequireMaxOneParameterErrorMessages
5258 * ApiBase::getRequireAtLeastOneParameterErrorMessages
5259 * ApiBase::getTitleOrPageIdErrorMessage
5260 * ApiBase::getPossibleErrors
5261 * ApiBase::getFinalPossibleErrors
5262 * ApiBase::parseErrors
5263 * ApiQuery::setGeneratorContinue
5264 * ApiQueryBase::checkRowCount
5265 * ApiQueryBase::titleToKey
5266 * ApiQueryBase::keyToTitle
5267 * ApiQueryBase::keyPartToTitle
5268 * ApiQueryInfo::getTokenFunctions
5269 * ApiQueryInfo::resetTokenCache
5270 * ApiQueryInfo::getEditToken
5271 * ApiQueryInfo::getDeleteToken
5272 * ApiQueryInfo::getProtectToken
5273 * ApiQueryInfo::getMoveToken
5274 * ApiQueryInfo::getBlockToken
5275 * ApiQueryInfo::getUnblockToken
5276 * ApiQueryInfo::getEmailToken
5277 * ApiQueryInfo::getImportToken
5278 * ApiQueryInfo::getWatchToken
5279 * ApiQueryInfo::getOptionsToken
5280 * ApiQueryRecentChanges::getTokenFunctions
5281 * ApiQueryRecentChanges::getPatrolToken
5282 * ApiQueryRevisions::getTokenFunctions
5283 * ApiQueryRevisions::getRollbackToken
5284 * ApiQueryUsers::getTokenFunctions
5285 * ApiQueryUsers::getUserrightsToken
5286 * The following classes have been deprecated and may be removed in a future
5287 release:
5288 * ApiFormatDbg
5289 * ApiFormatDump
5290 * ApiFormatTxt
5291 * ApiFormatWddx
5292 * ApiFormatYaml
5293 * ApiTokens
5294 * The following class constants have been deprecated and may be removed in a
5295 future release:
5296 * ApiBase::PROP_ROOT
5297 * ApiBase::PROP_LIST
5298 * ApiBase::PROP_TYPE
5299 * ApiBase::PROP_NULLABLE
5300
5301 === Languages updated in 1.24 ===
5302
5303 MediaWiki supports over 350 languages. Many localisations are updated
5304 regularly. Below only new and removed languages are listed, as well as
5305 changes to languages because of Bugzilla reports.
5306
5307 === Other changes in 1.24 ===
5308 * The deprecated jquery.delayedBind ResourceLoader module was removed.
5309 * The deprecated function mw.util.toggleToc was removed.
5310 * The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend
5311 were removed as they were unused.
5312 * (bug 65477) User::pingLimiter() now has an additional profile point varying
5313 by action being used.
5314 * mediawiki.util.$content no longer supports old versions of the Vector,
5315 Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body"
5316 and/or "mw-body-primary" class name in their html.
5317 * Added pp_sortkey column to page_props table, so pages can be efficiently
5318 queried and sorted by property value (bug 58032).
5319 See $wgPagePropsHaveSortkey if you want to postpone the schema change.
5320 * BREAKING CHANGE: All four built-in MediaWiki skins (Vector, MonoBook, Modern
5321 and Cologne Blue) were moved out of MediaWiki core to their own respective
5322 repositories. They will be installed with the release tarball, but you must
5323 install them separately if installing MediaWiki from source code. A warning
5324 message displayed until you do it should guide you through the process. See
5325 also <https://www.mediawiki.org/wiki/Manual:Skin_configuration>.
5326 * BREAKING CHANGE: Skins built for MediaWiki 1.15 and earlier that do not use
5327 the "headelement" template key are no longer supported. Setting
5328 $useHeadElement = false; is no longer supported and will not cause old keys
5329 like "headlinks", "skinnameclass", etc. to be defined.
5330 * BREAKING CHANGE: The files commonElements.css, commonContent.css and
5331 commonInterface.css (in skins/common/) have been removed. Skins may no longer
5332 rely on their presence and include them in their style modules. ResourceLoader
5333 modules introduced in MediaWiki 1.23 should be loaded instead:
5334 - skins/common/commonElements.css → 'mediawiki.skinning.elements' module
5335 - skins/common/commonContent.css → 'mediawiki.skinning.content' module
5336 - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module
5337 * The deprecated 'SpecialVersionExtensionTypes' hook was removed.
5338 * (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages.
5339 * SpecialPage no longer supports the syntax for invoking wfSpecial*() functions.
5340 Special pages should subclass SpecialPage and implement the execute() method.
5341 * (bug 63755) The deprecated constants RC_MOVE and RC_MOVE_OVER_REDIRECT were
5342 removed.
5343 * Special:MostLinkedTemplates has been renamed to Special:MostTranscludedPages.
5344 * The skin autodiscovery mechanism has been deprecated and will be removed in
5345 MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
5346 for migration guide for creators and users of custom skins that relied on it.
5347 * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all
5348 skin style files used by the module.
5349 * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19)
5350 * Removed setLang() from subclasses of IContextSource. (deprecated since 1.19)
5351 * Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20)
5352 * Removed info(), purge(), revert() and rollback() from the Article class; they
5353 have since become subclasses of the Action class. (deprecated since 1.19)
5354 * SearchEngineReplacePrefixesComplete hook was removed.
5355 * The "jquery.json" module has been deprecated. Use the "json" module instead.
5356 * Removed HTMLForm::addJS(). (deprecated since 1.18)
5357 * Removed LogEventsList::showHeader(). (deprecated since 1.19)
5358 * Removed ImageGalleryBase::useSkin(). (deprecated since 1.18)
5359 * Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19)
5360 * Removed LoadBalancer::closeConnecton(). (deprecated since 1.18)
5361 * Removed ApiBase::createContext(). (deprecated since 1.19)
5362 * BREAKING CHANGE: The undocumented Special{$this->getName()}BeforeFormDisplay
5363 set of hooks has been removed and replaced by a single new hook
5364 SpecialPageBeforeFormDisplay.
5365 * (bug 65781) Removed block warning on included {{Special:Contributions}}
5366 * Removed Skin::makeGlobalVariablesScript(). (deprecated since 1.19)
5367 * Removed MWNamespace::isMain(). (deprecated since 1.19)
5368 * Removed Preferences::loadOldSearchNs(). (deprecated since 1.19)
5369 * Removed OutputPage::getStatusMessage(). (deprecated since 1.18)
5370 * Removed OutputPage::isUserJsAllowed(). (deprecated since 1.18)
5371 * Removed Title::updateTitleProtection(). (deprecated since 1.19)
5372 * Removed ParserOptions::setSkin(). (deprecated since 1.19)
5373 * Removed Title::escapeCanonicalURL(). (deprecated since 1.19)
5374 * Removed Title::escapeLocalURL(). (deprecated since 1.19)
5375 * Removed Title::escapeFullURL(). (deprecated since 1.19)
5376 * Removed User::isValidEmailAddr(). (deprecated since 1.18)
5377 * Removed Title::getEscapedText(). (deprecated since 1.19)
5378 * Removed Language::getFallbackLanguageCode(). (deprecated since 1.19)
5379 * Removed WikiPage::isBigDeletion(). (deprecated since 1.19)
5380 * Removed MWInit class which contained functions related to a now discontinued
5381 PHP compiler called hphpc. (deprecated since 1.22)
5382 * ApiResult::enableSizeCheck() and disableSizeCheck() are now obsolete.
5383 * Removed ResourceLoaderGetStartupModules hook. (deprecated since 1.23)
5384 * Removed getFormFields(), onSubmit() and onSuccess() from FormlessAction, as
5385 these were meant specifically for FormAction instead.
5386 * Removed Action::execute().
5387 * Removed AjaxAddScript which has been obsolete since ResourceLoader and
5388 is unused by any modern extension.
5389 * Removed maintenance/nextJobDB.php; no longer in use.
5390 * Removed global function wfViewPrevNext(). (deprecated since 1.19)
5391 * Removed global function xmlsafe() from Export.php. (moved to OAIRepo
5392 extension)
5393 * Removed Title::userCanRead(). (deprecated since 1.19)
5394 * Removed maintenance script importTextFile.php. Use edit.php script instead.
5395 * A _from_namespace field has been added to the templatelinks, pagelinks,
5396 and filelinks tables. Run update.php to apply this change to the schema.
5397 * Removed File::sha1Base36(). (deprecated since 1.19)
5398 * Removed File::getPropsFromPath(). (deprecated since 1.19)
5399 * Removed functions blockedPage(), noCreatePermission(), readOnlyPage() and
5400 userNotLoggedInPage() from EditPage.php. (deprecated since 1.19)
5401 * Removed functions getContent(), getPreloadedText(), mergeChangesInto() and
5402 setPreloadedText() from EditPage.php. (deprecated since 1.21)
5403 * Removed global functions wfArrayLookup(), wfArrayMerge(),
5404 wfDebugDieBacktrace() and wfTime(). (deprecated since 1.22)
5405 * Browser support for Internet Explorer 6 and 7 lowered from Grade A to Grade C,
5406 meaning that JavaScript is no longer executed in these browser versions.
5407 * Browser support for Opera 11 lowered from Grade A to Grade C.
5408 * Removed IEFixes module which existed purely to provide support for MSIE
5409 versions below 7 (conditionally loaded only for those browsers).
5410 * Deprecated SpecialPageFactory::getList() in favor of
5411 SpecialPageFactory::getNames()
5412 * Action::checkCanExecute() no longer has a return value.
5413 * Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP()
5414 and sendToUDP() from RecentChange.php. (deprecated since 1.22)
5415 * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow().
5416 * Removed Xml::namespaceSelector(). (deprecated since 1.19)
5417 * Removed WikiPage::estimateRevisionCount(). (deprecated since 1.19)
5418 * MYSQL: Enum item added to "major MIME type" columns.
5419 Running update.php on MySQL < v5.1 may result in heavy processing.
5420 * RSS and Atom feeds generated by MediaWiki no longer include a fallback
5421 stylesheet. It was ignored by most browsers these days anyway.
5422 * SpecialSearchNoResults hook has been removed. SpecialSearchResults is now
5423 called unconditionally.
5424 * TablePager::getBody() is now 'final' and can't be overridden in subclasses.
5425 * TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
5426 * Added $outputPage parameter to the SkinTemplateGetLanguageLink hook.
5427 * log_page for move log entries store the original page ID, rather than that
5428 of the new redirect page. This is not retroactive.
5429 * LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to
5430 use this store class.
5431 * Html::infoBox() no longer accepts paths relative to skins/common/images/.
5432 * Deprecated defunct Skin::getCommonStylePath().
5433 * Some extensions had their ResourceLoader modules depend on the "mediawiki"
5434 and "jquery" modules. In the past, this behavior was undefined, now it will
5435 throw an error.
5436 * Removed BagOStuff::replace(). (deprecated since 1.23)
5437 * In Linker.php, link(), linkText() and makeBrokenImageLinkObj() now display
5438 warnings if their first parameter is not a Title object. Also makeImageLink()
5439 now requires a Parser as its first parameter.
5440 * (bug 67368) LESS functions embed() and embeddable(), added in MediaWiki 1.23
5441 and broken by design, have been removed. Use appropriate LESS mixins instead.
5442 * Removed cssjanus.py from maintenance directory as it was unused.
5443 * Removed maintenance/purgeOldText.inc and the PurgeRedundantText() function
5444 it contained (superseded by Maintenance::purgeRedundantText() in 1.16).
5445 The purgeOldText.php maintenance script has been retained.
5446 * PHPUnit tests can be found by directory discovery, by adding the directory
5447 path from your UnitTestsList callback. Older versions of MediaWiki core will
5448 barf at this usage.
5449
5450 ==== Renamed classes ====
5451 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
5452 * CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment
5453 * CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator
5454 * CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange
5455 * CSSJanus_Tokenizer to CSSJanusTokenizer
5456 * MediaWiki_I18N to MediaWikiI18N
5457 * Parser_DiffTest to ParserDiffTest
5458 * RevDel_ArchiveItem to RevDelArchiveItem
5459 * RevDel_ArchiveList to RevDelArchiveList
5460 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
5461 * RevDel_ArchivedFileList to RevDelArchivedFileList
5462 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
5463 * RevDel_FileItem to RevDelFileItem
5464 * RevDel_FileList to RevDelFileList
5465 * RevDel_Item to RevDelItem
5466 * RevDel_List to RevDelList
5467 * RevDel_LogItem to RevDelLogItem
5468 * RevDel_LogList to RevDelLogList
5469 * RevDel_RevisionItem to RevDelRevisionItem
5470 * RevDel_RevisionList to RevDelRevisionList
5471 * WebInstaller_Complete to WebInstallerComplete
5472 * WebInstaller_Copying to WebInstallerCopying
5473 * WebInstaller_DBConnect to WebInstallerDBConnect
5474 * WebInstaller_DBSettings to WebInstallerDBSettings
5475 * WebInstaller_Document to WebInstallerDocument
5476 * WebInstaller_ExistingWiki to WebInstallerExistingWiki
5477 * WebInstaller_Install to WebInstallerInstall
5478 * WebInstaller_Language to WebInstallerLanguage
5479 * WebInstaller_Name to WebInstallerName
5480 * WebInstaller_Options to WebInstallerOptions
5481 * WebInstaller_Readme to WebInstallerReadme
5482 * WebInstaller_ReleaseNotes to WebInstallerReleaseNotes
5483 * WebInstaller_Restart to WebInstallerRestart
5484 * WebInstaller_Upgrade to WebInstallerUpgrade
5485 * WebInstaller_UpgradeDoc to WebInstallerUpgradeDoc
5486 * WebInstaller_Welcome to WebInstallerWelcome
5487
5488 ==== Removed classes ====
5489 * IPBlockForm - Use SpecialBlock directly
5490 * WatchlistEditor - Use SpecialEditWatchlist directly
5491 * FormatExif - Use FormatMetadata directly
5492 * RevertFileAction - Use RevertAction directly
5493 * HistoryPage - Use HistoryAction directly
5494 * RawPage - Use RawAction directly
5495 * StubContLang - Use Language::factory() instead
5496 * XMLReader2 - Use XMLReader directly
5497 * ResourceLoaderLESSFunctions - No longer in use, not intended for public usage
5498
5499 ==== Removed files ====
5500 The skins/common/ directory, previously containing some assets intended to be
5501 used by skins and a number of legacy styles and scripts, has been removed. Its
5502 contents have been deleted or relocated into the resources/ directory. Full list
5503 of files that are no longer available follows.
5504
5505 * skins/common/ajax.js
5506 * skins/common/commonContent.css
5507 * skins/common/commonElements.css
5508 * skins/common/commonInterface.css
5509 * skins/common/commonPrint.css
5510 * skins/common/config-cc.css
5511 * skins/common/config.css
5512 * skins/common/config.js
5513 * skins/common/feed.css
5514 * skins/common/IEFixes.js
5515 * skins/common/oldshared.css
5516 * skins/common/protect.js
5517 * skins/common/shared.css
5518 * skins/common/upload.js
5519 * skins/common/wikibits.js
5520 * skins/common/images/add.png
5521 * skins/common/images/ajax-loader.gif
5522 * skins/common/images/arrow_disabled_first_25.png
5523 * skins/common/images/arrow_disabled_last_25.png
5524 * skins/common/images/arrow_disabled_left_25.png
5525 * skins/common/images/arrow_disabled_right_25.png
5526 * skins/common/images/arrow_first_25.png
5527 * skins/common/images/arrow_last_25.png
5528 * skins/common/images/arrow_left_25.png
5529 * skins/common/images/arrow_right_25.png
5530 * skins/common/images/Arr_.png
5531 * skins/common/images/Arr_d.png
5532 * skins/common/images/Arr_l.png
5533 * skins/common/images/Arr_r.png
5534 * skins/common/images/Arr_u.png
5535 * skins/common/images/bullet.gif
5536 * skins/common/images/button_bold.png
5537 * skins/common/images/button_extlink.png
5538 * skins/common/images/button_headline.png
5539 * skins/common/images/button_hr.png
5540 * skins/common/images/button_image.png
5541 * skins/common/images/button_italic.png
5542 * skins/common/images/button_link.png
5543 * skins/common/images/button_media.png
5544 * skins/common/images/button_nowiki.png
5545 * skins/common/images/button_sig.png
5546 * skins/common/images/button_template.png
5547 * skins/common/images/cc-0.png
5548 * skins/common/images/cc-by-nc-sa.png
5549 * skins/common/images/cc-by-sa.png
5550 * skins/common/images/cc-by.png
5551 * skins/common/images/Checker-16x16.png
5552 * skins/common/images/closewindow.png
5553 * skins/common/images/closewindow19x19.png
5554 * skins/common/images/critical-32.png
5555 * skins/common/images/diffunderline.gif
5556 * skins/common/images/download-32.png
5557 * skins/common/images/feed-icon.png
5558 * skins/common/images/feed-icon.svg
5559 * skins/common/images/gnu-fdl.png
5560 * skins/common/images/help-question-hover.gif
5561 * skins/common/images/help-question.gif
5562 * skins/common/images/info-32.png
5563 * skins/common/images/link_icon.gif
5564 * skins/common/images/magnify-clip-rtl.png
5565 * skins/common/images/magnify-clip.png
5566 * skins/common/images/mediawiki.png
5567 * skins/common/images/nextredirectltr.png
5568 * skins/common/images/nextredirectrtl.png
5569 * skins/common/images/poweredby_mediawiki_88x31.png
5570 * skins/common/images/public-domain.png
5571 * skins/common/images/question-small.png
5572 * skins/common/images/question.svg
5573 * skins/common/images/redirectltr.png
5574 * skins/common/images/redirectrtl.png
5575 * skins/common/images/remove.png
5576 * skins/common/images/spinner.gif
5577 * skins/common/images/tick-32.png
5578 * skins/common/images/tipsy-arrow.gif
5579 * skins/common/images/tooltip_icon.png
5580 * skins/common/images/warning-32.png
5581 * skins/common/images/wiki.png
5582 * skins/common/images/Zoom_sans.gif
5583 * skins/common/images/ar/button_bold.png
5584 * skins/common/images/ar/button_headline.png
5585 * skins/common/images/ar/button_italic.png
5586 * skins/common/images/ar/button_link.png
5587 * skins/common/images/ar/button_nowiki.png
5588 * skins/common/images/be-tarask/button_bold.png
5589 * skins/common/images/be-tarask/button_italic.png
5590 * skins/common/images/be-tarask/button_link.png
5591 * skins/common/images/cyrl/button_bold.png
5592 * skins/common/images/cyrl/button_italic.png
5593 * skins/common/images/cyrl/button_link.png
5594 * skins/common/images/de/button_bold.png
5595 * skins/common/images/de/button_italic.png
5596 * skins/common/images/fa/button_bold.png
5597 * skins/common/images/fa/button_headline.png
5598 * skins/common/images/fa/button_italic.png
5599 * skins/common/images/fa/button_link.png
5600 * skins/common/images/fa/button_nowiki.png
5601 * skins/common/images/icons/fileicon-c.png
5602 * skins/common/images/icons/fileicon-cpp.png
5603 * skins/common/images/icons/fileicon-deb.png
5604 * skins/common/images/icons/fileicon-djvu.png
5605 * skins/common/images/icons/fileicon-djvu.xcf
5606 * skins/common/images/icons/fileicon-dvi.png
5607 * skins/common/images/icons/fileicon-exe.png
5608 * skins/common/images/icons/fileicon-h.png
5609 * skins/common/images/icons/fileicon-html.png
5610 * skins/common/images/icons/fileicon-iso.png
5611 * skins/common/images/icons/fileicon-java.png
5612 * skins/common/images/icons/fileicon-mid.png
5613 * skins/common/images/icons/fileicon-mov.png
5614 * skins/common/images/icons/fileicon-o.png
5615 * skins/common/images/icons/fileicon-ogg.png
5616 * skins/common/images/icons/fileicon-ogg.xcf
5617 * skins/common/images/icons/fileicon-pdf.png
5618 * skins/common/images/icons/fileicon-ps.png
5619 * skins/common/images/icons/fileicon-psd.png
5620 * skins/common/images/icons/fileicon-rm.png
5621 * skins/common/images/icons/fileicon-rpm.png
5622 * skins/common/images/icons/fileicon-svg.png
5623 * skins/common/images/icons/fileicon-tar.png
5624 * skins/common/images/icons/fileicon-tex.png
5625 * skins/common/images/icons/fileicon-ttf.png
5626 * skins/common/images/icons/fileicon-txt.png
5627 * skins/common/images/icons/fileicon.png
5628 * skins/common/images/ksh/button_S_italic.png
5629
5630 = MediaWiki 1.23 =
5631
5632 == MediaWiki 1.23.17 ==
5633
5634 === Changes since 1.23.16 === <!--T:69-->
5635 * Fix syntax errors introduced in 1.23.16 when running PHP 5.3.
5636
5637 == MediaWiki 1.23.16 ==
5638 This is a security and maintenance release of the MediaWiki 1.23 branch.
5639
5640 === Changes since 1.23.15 ===
5641 * (T68404) CSS3 attr() function with url type is no longer allowed
5642 in inline styles.
5643 * (T156184) $wgRawHtml will no longer apply to internationalization messages.
5644 * Submitting the lgtoken and lgpassword parameters in the query string to
5645 action=login is now deprecated and outputs a warning. They should be submitted
5646 in the POST body instead.
5647 * (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow
5648 redirect to interwiki links.
5649 * (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when
5650 $wgAdvancedSearchHighlighting is true.
5651 * (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep
5652 their values out of the logs.
5653 * (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a
5654 CSRF token.
5655 * (T156184) SECURITY: Escape content model/format url parameter in message.
5656 * (T151735) SECURITY: SVG filter evasion using default attribute values in DTD
5657 declaration.
5658 * (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file
5659 inclusion syntax's link parameter.
5660 * (T108138) SECURITY: Sysops can undelete pages, although the page is protected
5661 against it.
5662
5663 == MediaWiki 1.23.15 ==
5664
5665 This is a maintenance release of the MediaWiki 1.23 branch.
5666
5667 === Changes since 1.23.14 ===
5668 * BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests
5669 made by MediaWiki via a proxy. Relying on the http_proxy environment
5670 variable is no longer supported.
5671 * (T139565) SECURITY: API: Generate head items in the context of the given title
5672 * (T137264) SECURITY: XSS in unclosed internal links
5673 * (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks
5674 * (T133147) SECURITY: Require login to preview user CSS pages
5675 * (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is
5676 the top file
5677 * (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in
5678 permissions
5679 * (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true
5680 * (T115333) SECURITY: Check read permission when loading page content in
5681 ApiParse
5682 * Remove support for $wgWellFormedXml = false, all output is now well formed
5683
5684 == MediaWiki 1.23.13 ==
5685
5686 This is a maintenance release of the MediaWiki 1.23 branch.
5687
5688 === Changes since 1.23.12 ===
5689 * (T121892) Fix fatal errors on some Special pages, introduced in 1.23.12.
5690
5691 == MediaWiki 1.23.12 ==
5692
5693 This is a security and maintenance release of the MediaWiki 1.23 branch.
5694
5695 === Changes since 1.23.11 ===
5696 * (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths
5697 that do not begin with a slash. This enabled trivial XSS attacks.
5698 Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are
5699 "/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an
5700 error.
5701 * (T119309) SECURITY: Use hash_compare() for edit token comparison
5702 * (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting
5703 with '@' as file uploads
5704 * (T115522) SECURITY: Passwords generated by User::randomPassword() can no
5705 longer be shorter than $wgMinimalPasswordLength
5706 * (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could
5707 result in improper blocks being issued
5708 * (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions
5709 and related pages no longer use HTTP redirects and are now redirected by
5710 MediaWiki
5711
5712 == MediaWiki 1.23.11 ==
5713
5714 This is a security and maintenance release of the MediaWiki 1.23 branch.
5715
5716 === Changes since 1.23.10 ===
5717
5718 * (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload
5719 * (T91203, T91205) SECURITY: API: Improve validation in chunked uploading
5720 * (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails
5721
5722 == MediaWiki 1.23.10 ==
5723
5724 This is a security and maintenance release of the MediaWiki 1.23 branch.
5725
5726 === Changes since 1.23.9 ===
5727
5728 * (T94116) SECURITY: Compare API watchlist token in constant time
5729 * (T97391) SECURITY: Escape error message strings in thumb.php
5730 * (T106893) SECURITY: Don't leak autoblocked IP addresses on
5731 Special:DeletedContributions
5732 * (bug 67644) Make AutoLoaderTest handle namespaces
5733 * (T91653) Minimal PSR-3 debug logger to support backports from 1.25+.
5734 * (T102562) Fix InstantCommons parameters to handle the new HTTPS-only
5735 policy of Wikimedia Commons.
5736
5737 == MediaWiki 1.23.9 ==
5738
5739 This is a security and maintenance release of the MediaWiki 1.23 branch.
5740
5741 === Changes since 1.23.8 ===
5742
5743 * (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities,
5744 to prevent various DoS attacks.
5745 * (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce
5746 likelihood of DoS.
5747 * (T88310) SECURITY: Always expand xml entities when checking SVG's.
5748 * (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
5749 * (T85855) SECURITY: Don't execute another user's CSS or JS on preview.
5750 * (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to
5751 prevent XSS and protect viewer's privacy.
5752 * (bug T68650) Fix indexing of moved pages with PostgreSQL. Requires running
5753 update.php to fix.
5754 * (bug T70087) Fix Special:ActiveUsers page for installations using
5755 PostgreSQL.
5756
5757 == MediaWiki 1.23.8 ==
5758
5759 This is a security and maintenance release of the MediaWiki 1.23 branch.
5760
5761 === Changes since 1.23.7 ===
5762
5763 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
5764 could lead to xss. Permission to edit MediaWiki namespace is required to
5765 exploit this.
5766 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
5767 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
5768 part of its name.
5769 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
5770
5771 == MediaWiki 1.23.7 ==
5772
5773 This is a security and maintenance release of the MediaWiki 1.23 branch.
5774
5775 === Changes since 1.23.6 ===
5776
5777 * (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code
5778 into API clients that used format=php to process pages that underwent flash
5779 policy mangling. This was fixed along with improving how the mangling was done
5780 for format=json, and allowing sites to disable the mangling using
5781 $wgMangleFlashPolicy.
5782 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
5783 the content model for a page could allow an unprivileged attacker to edit
5784 another user's common.js under certain circumstances. The user right
5785 "editcontentmodel" was added, and is needed to change a revision's content
5786 model.
5787 * (bug 71111) SECURITY: User PleaseStand reported that on wikis that allow raw
5788 HTML, it is not safe to preview wikitext coming from an untrusted source such
5789 as a cross-site request. Thus add an edit token to the form, and when raw HTML
5790 is allowed, ensure the token is provided before showing the preview. This
5791 check is not performed on wikis that both allow raw HTML and anonymous
5792 editing, since there are easier ways to exploit that scenario.
5793 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
5794 DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
5795 public RFC about the desired functionality. This issue was reported by user
5796 Bawolff.
5797 * (bug 71621) Make allowing site-wide styles on restricted special pages a
5798 config option.
5799 * (bug 42723) Added updated version history from 1.19.2 to 1.22.13
5800 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
5801 might be a flash policy directive configurable.
5802
5803 == MediaWiki 1.23.6 ==
5804
5805 This is a maintenance release of the MediaWiki 1.23 branch.
5806
5807 === Changes since 1.23.5 ===
5808 * (Bug 72274) Job queue not running (HTTP 411) due to missing
5809 Content-Length: header
5810 * (Bug 67440) Allow classes to be registered properly from installer
5811
5812 == MediaWiki 1.23.5 ==
5813
5814 This is a security release of the MediaWiki 1.23 branch.
5815
5816 === Changes since 1.23.4 ===
5817 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
5818 allowance.
5819
5820 == MediaWiki 1.23.4 ==
5821
5822 This is a security and maintenance release of the MediaWiki 1.23 branch.
5823
5824 === Changes since 1.23.3 ===
5825
5826 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
5827 elements; normalize style elements and attributes before filtering; add
5828 checks for attributes that contain css; add unit tests for html5sec and
5829 reported bugs.
5830 * (bug 65998) Make MySQLi work with non-standard socket.
5831 * (bug 66986) GlobalVarConfig shouldn't throw exceptions for null-valued config
5832 settings.
5833
5834 == MediaWiki 1.23.3 ==
5835
5836 This is a maintenance release of the MediaWiki 1.23 branch.
5837
5838 === Changes since 1.23.2 ===
5839
5840 * (bug 68501) Correctly handle incorrect namespace in cleanupTitles.php.
5841 * (bug 64970) Fix support for blobs on DatabaseOracle::update.
5842 * (bug 66574) Display MediaWiki:Loginprompt on the login page.
5843 * (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes.
5844 * (bug 60629) Handle invalid language code gracefully in
5845 Language::fetchLanguageNames.
5846 * (bug 62017) Restore the number of rows shown on Special:Watchlist.
5847 * Check for boolean false result from database query in SqlBagOStuff.
5848
5849 == MediaWiki 1.23.2 ==
5850
5851 This is a security and maintenance release of the MediaWiki 1.23 branch.
5852
5853 === Changes since 1.23.1 ===
5854
5855 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
5856 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
5857 for loading a new page in Javascript,instead of relying on the URL in the link
5858 that has been clicked.
5859 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
5860 ParserOutput.
5861 * (bug 68313) Preferences: Turn stubthreshold back into a combo box.
5862 * (bug 65214) Fix initSiteStats.php maintenance script.
5863 * (bug 67594) Special:ActiveUsers: Fix to work with PostgreSQL.
5864
5865 == MediaWiki 1.23.1 ==
5866
5867 This is a security and maintenance release of the MediaWiki 1.23 branch.
5868
5869 === Changes since 1.23.0 ===
5870
5871 * (bug 65839) SECURITY: Prevent external resources in SVG files.
5872 * (bug 67025) Special:Watchlist: Don't try to render empty row.
5873 * (bug 66922) Don't allow some E_NOTICE messages to end up in the
5874 LocalSettings.php.
5875 * (bug 66467) FileBackend: Avoid using popen() when "parallelize" is disabled.
5876 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects
5877 like only extracting the tail of the file partially or not at all.
5878 * (bug 66182) Removed -x flag on some php files.
5879
5880 == MediaWiki 1.23.0 ==
5881
5882 === Configuration changes in 1.23 ===
5883 * (bug 13250) Restored method for clearing a watchlist in web UI
5884 so that users with large watchlists don't have to perform
5885 contortions to clear them.
5886 * When $wgJobRunRate is higher than zero, jobs are now executed via an
5887 asynchronous HTTP request to a MediaWiki entry point. This may require
5888 increasing the number of server worker threads. $wgRunJobsAsync has been
5889 added to disable this feature if needed, falling back to executing the job
5890 on the same process but making the execution synchronously.
5891 * $wgDebugLogGroups values may be set to an associative array with a
5892 'destination' key specifying the log destination. The array may also contain
5893 a 'sample' key with a positive integer value N indicating that the log group
5894 should be sampled by dispatching one in every N messages on average. The
5895 sampling is random.
5896 * In addition to the current exception log format, MediaWiki now serializes
5897 exception metadata to JSON and logs it to the 'exception-json' log group.
5898 This makes MediaWiki easier to integrate with log aggregation and analysis
5899 tools.
5900 * $wgSquidServersNoPurge now supports the use of Classless Inter-Domain
5901 Routing (CIDR) notation to specify contiguous blocks of IPv4 and/or IPv6
5902 addresses that should be trusted to provide X-Forwarded-For headers.
5903 * Preferences 'watchcreations', 'watchdefault', 'enotifwatchlistpages' ("Add
5904 pages I create and files I upload to my watchlist", "Add pages and files I
5905 edit to my watchlist", "Email me when a page or file on my watchlist is
5906 changed") are now enabled by default. In addition new user accounts' personal
5907 and talk pages are now watched by them by default.
5908 * $wgLBFactoryConf: Class names have had underscores removed. The configuration
5909 should be updated if LBFactory_Simple or LBFactory_Multi is configured.
5910 * $wgPasswordSenderName has been removed and is no longer functional. To set a
5911 custom mailer name, the system message 'emailsender' should be modified
5912 (default: "{{SITENAME}}").
5913 * (bug 63269) Email notifications were not correctly handling the
5914 [[MediaWiki:Helppage]] message being set to a full URL (the default).
5915 If you customized [[MediaWiki:Enotif body]] (the text of email notifications),
5916 you'll need to edit it locally to include the URL via the new variable
5917 $HELPPAGE instead of the parser functions fullurl and canonicalurl; otherwise
5918 you don't have to do anything.
5919 * $wgDBAhandler was removed as the only class using it was also removed
5920 * The 'max threads' setting was removed from $wgDBservers.
5921 * Support for AdminSettings.php has been completely removed. All configuration
5922 belongs in LocalSettings.php.
5923 * $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
5924 now formally deprecated.
5925 * Removed deprecated $wgDisabledActions as it is hardly used anywhere.
5926 * $wgRateLimitLog has been deprecated and replaced by
5927 $wgDebugLogGroup['ratelimit'].
5928 * $wgLocalInterwikis is an array containing multiple local interwiki prefixes
5929 (interwiki prefixes that point back to the current wiki). This effectively
5930 allows more than one value of $wgLocalInterwiki to be specified and
5931 understood by the parser. The value of $wgLocalInterwiki is automatically
5932 prepended to the start of this array.
5933 * $wgQueryPages has been removed. Query Pages should be added to by using the
5934 wgQueryPages hook.
5935 * $wgHttpOnlyBlacklist has been removed.
5936 * $wgLicenseTerms has been removed as it was unused.
5937 * $wgProfileOnly is now deprecated; set the log file in
5938 $wgDebugLogGroups['profileoutput'] to replace it.
5939 * $wgMaxBacklinksInvalidate was removed; use $wgJobBackoffThrottling instead
5940 * Deprecated ResourceLoaderGetStartupModules hook.
5941
5942 === New features in 1.23 ===
5943 * ResourceLoader can utilize the Web Storage API to cache modules client-side.
5944 Compared to the browser cache, caching in Web Storage allows ResourceLoader
5945 to be more granular about evicting stale modules from the cache while
5946 retaining the ability to retrieve multiple modules in a single HTTP request.
5947 This capability can be enabled by setting $wgResourceLoaderStorageEnabled to
5948 true. This feature is currently considered experimental and should only be
5949 enabled with care.
5950 * (bug 6092) Add expensive parser functions {{REVISIONID:}}, {{REVISIONUSER:}}
5951 and {{REVISIONTIMESTAMP:}} (with friends).
5952 * Add "wgRelevantUserName" to mw.config containing the current
5953 Skin::getRelevantUser value.
5954 * (bug 56033) Add content model to the page information.
5955 * Added Article::MissingArticleConditions hook to give extensions a chance to
5956 hide their (unrelated) log entries.
5957 * Added LonelyPagesQuery hook to let extensions modify the query used to
5958 generate Special:LonelyPages.
5959 * Added $wgOpenSearchDefaultLimit defining the default number of entries to show
5960 on action=opensearch API call.
5961 * For namespaces with $wgNamespaceProtection (including the MediaWiki
5962 namespace), the "protect" tab will be shown only if there are restriction
5963 levels available that would restrict editing beyond what
5964 $wgNamespaceProtection already applies. The protection form will offer only
5965 those protection levels.
5966 * Added $wgAPIFormatModules, allowing extensions to add additional output
5967 formatting modules for the API.
5968 * (bug 47812) The MediaWiki:Group-user.{css,js} pages can now be used to add
5969 custom CSS or JavaScript enabled only for registered users.
5970 * (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist
5971 now include a legend describing the symbols used in lists of changes.
5972 * Improved the accessibility of the tabs in Special:Preferences.
5973 * Added ApiBeforeMain hook, roughly equivalent to the BeforeInitialize hook:
5974 it's called after everything is set up but before any major processing
5975 happens.
5976 * The jquery.client module now performs a component-wise version comparison in
5977 its #test method when strings are used in the browser map: version '1.10' is
5978 now correctly considered larger than '1.2'. Using numbers in the version map
5979 is not affected.
5980 * All API modules now support an assert parameter, which can either be
5981 'user' or 'bot'. The API will throw an error if the user is not logged
5982 in (user) or does not have the 'bot' userright (bot). Based off of the
5983 AssertEdit extension by Steve Sanbeg.
5984 * [[Special:Diff]] was added, allowing users to create internal links to
5985 revision comparison pages using syntax such as [[Special:Diff/12345]],
5986 [[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]].
5987 * New user accounts' personal and talk pages are now watched by them by default.
5988 * Added SkinTemplateGetLanguageLink hook to allow changing the html of language
5989 links.
5990 * Added MessageCache::get hook as a new way to customize messages across
5991 multiple sites.
5992 * Added jquery.throttle-debounce ResourceLoader module to limit the number of
5993 callbacks for frequently occurring events.
5994 * Special:ProtectedPages shows now a table. The timestamp, the reason and
5995 the protecting user are also shown.
5996 * Added experimental support for using Microsoft SQL Server as the database
5997 backend.
5998 ** Added new Microsoft SQL Server-specific configuration variable
5999 $wgDBWindowsAuthentication, which makes the web server authenticate against
6000 the database server using Integrated Windows Authentication instead of
6001 $wgDBuser/$wgDBpassword.
6002 * HTMLForm 'select', 'selectandother', 'selectorother', 'multiselect', and
6003 'radio' fields can now use message keys as labels via the 'options-messages'
6004 parameter, which overrides the 'options' parameter.
6005 * Admins can expire users passwords manually, or on a schedule using the
6006 $wgPasswordExpirationDays configuration setting.
6007 * Add new hook SendWatchlistEmailNotification, this will be used to determine
6008 whether to send a watchlist email notification.
6009 * (bug 42026) Special:Contributions now includes an option to filter page
6010 creations, similar to the topOnly option.
6011 * Add mediawiki.ui.button styling to all pages so wiki content can use styled
6012 buttons.
6013 * Special:UserLogin/signup now does AJAX checks for invalid and taken usernames,
6014 displaying the error live.
6015 * Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in
6016 skins.
6017 * Support has been added for a JSON based localisation file format. The
6018 installer has been updated to use it.
6019 * Changes to content typography (colors, line-height etc.). See
6020 https://www.mediawiki.org/wiki/Typography_refresh for further information.
6021 * The Vector skin's visual treatment of external links has been simplified to a
6022 single icon (from nine). This should not affect local rules unless they were
6023 re-using these icons, which have now been deleted.
6024 * ResourceLoader: mw.loader.using() now implements a Promise interface.
6025 * Add new hook ChangesListInitRows accessed via
6026 ChangesList::initChangesListRows.
6027 If called by the ChangesList consumer this gives extensions a chance to batch
6028 process the result set prior to rendering.
6029 * A PoolCounterRedis class was added which can be make use of in
6030 $wgPoolCounterConf. This requires at least one Redis 2.6+ server.
6031 * $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB
6032 in StartProfiler.php instead of using this.
6033 * (bug 63444) Made it possible to change the indent string (default: 4 spaces)
6034 used by FormatJson::encode().
6035
6036 === Bug fixes in 1.23 ===
6037 * (bug 41759) The "updated since last visit" markers (on history pages, recent
6038 changes and watchlist) and the talk page message indicator are now correctly
6039 updated when the user is viewing old revisions of pages, instead of always
6040 acting as if the latest revision was being viewed.
6041 * (bug 56443) Special:ConfirmEmail no longer shows a "Mail a confirmation code"
6042 when the email address is already confirmed. Also, consistently use
6043 "confirmed", rather than "authenticated", when messaging whether or not the
6044 user has confirmed an email address.
6045 * (bug 19415) action=render no longer shows section edit links. This affects
6046 behavior of several other features where (bogus) section edit links will
6047 disappear, such as file description pages loaded via $wgUseInstantCommons or
6048 pages transcluded cross-wiki via $wgEnableScaryTranscluding.
6049 * (bug 56912) Show correct link color on cached result of Special:DeadendPages.
6050 * Classes TitleListDependency and TitleDependency have been removed, as they
6051 have been found unused in core and extensions for a long time.
6052 * (bug 57098) SpecialPasswordReset now obeys returnto parameter
6053 * (bug 37812) ResourceLoader will notice when a module's definition changes and
6054 recompile it accordingly.
6055 * (bug 57201) SpecialRecentChangesFilters hook is now executed for feeds.
6056 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages
6057 to appear blank or with missing text.
6058 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format
6059 which is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as
6060 the JavaScript evaluator were updated to support the new format. Plural rules
6061 for some languages have changed, most notably Russian. Affected software
6062 messages have been updated and marked for review at translatewiki.net.
6063 * (bug 23542) imagelinks now stores both the redirect and target (as
6064 templatelinks does).
6065 * (bug 58167) The web installer no longer throws an exception when PHP is
6066 compiled without support for MySQL yet with support for another DBMS.
6067 * (bug 56199) Raw option of parser functions must now match complete word,
6068 to take effect.
6069 * (bug 60543) Special:PrefixIndex forgot stripprefix=1 for "Next page" link
6070 * (bug 29762) Undoing an already-undone edit will now display an appropriate
6071 message instead of leading the user to make a null edit.
6072 * (bug 52659) mediawiki.notification: Notification area remained visible when
6073 empty and thus was stealing pointer events from links on the page.
6074 * (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now
6075 hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace
6076 no longer applies in such cases.
6077 * (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause
6078 warnings to be printed on Windows due to large path length.
6079 * (bug 48084) Fixed a bug in the installer that could cause $wgLogo to hold
6080 the wrong path to the placeholder logo (skins/common/images/wiki.png).
6081 * (bug 64289) jquery.textSelection: Don't throw errors on empty collections.
6082
6083 === Web API changes in 1.23 ===
6084 * (bug 54884) action=parse&prop=categories now indicates hidden and missing
6085 categories.
6086 * action=query&meta=filerepoinfo now returns additional information for each
6087 repo.
6088 * action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in
6089 MediaWiki 1.24.
6090 * action=parse now has disabletoc flag to disable table of contents in output.
6091 * (bug 25702) list=allcategories, list=allimages, list=alllinks, list=allpages,
6092 list=deletedrevs and list=filearchive did not handle case-sensitivity
6093 properly for all parameters.
6094 * ApiQueryBase::titlePartToKey allows an extra parameter that indicates the
6095 namespace in order to properly capitalize the title part.
6096 * (bug 57874) action=feedcontributions no longer has one item more than limit.
6097 * All API modules now support an assert parameter. See the new features section
6098 for more details.
6099 * Added prop=contributors to fetch the list of contributors to the page.
6100 * The following API modules will now return entries where fields have been
6101 revision-deleted: list=deletedrevs, list=filearchive, list=recentchanges,
6102 list=watchlist. "hidden" indicators will be included, in the same style as is
6103 already done for prop=revisions.
6104 * The following API modules will now return the content of revision-deleted
6105 fields, in addition to the "hidden" indicators, if the querying user has the
6106 necessary rights: list=logevents, list=usercontribs, prop=imageinfo,
6107 prop=revisions.
6108 * The above modules, where applicable, will now return entries filtered by
6109 revision-deleted fields if the querying user has the necessary rights. For
6110 example, prop=revisions with rvuser or rvexcludeuser will no longer skip
6111 revisions where the user was revision-deleted if the current user has the
6112 deletedhistory right.
6113 * The 'hideuser' right, used when blocking, is no longer necessary or
6114 sufficient for seeing contributions with revision-deleted in
6115 list=usercontribs.
6116 * list=watchlist now uses the querying user's rights rather than the wlowner's
6117 rights when checking whether wlprop=patrol is allowed.
6118 * (bug 32151) ApiWatch now has pageset capabilities (titles/pageids/generators).
6119 Title parameter is now deprecated.
6120 * (bug 23005) Added action=revisiondelete.
6121 * Added siprop=restrictions to API action=query&meta=siteinfo for querying
6122 possible page restriction (protection) levels and types.
6123 * Added prop 'limitreportdata' and 'limitreporthtml' to action=parse.
6124 * (bug 58627) Provide language names on action=parse&prop=langlinks.
6125 * Deprecated llurl= in favour of llprop=url for action=query&prop=langlinks.
6126 * Added llprop=langname and llprop=autonym for action=query&prop=langlinks.
6127 * prop=redirects is added, to return redirects to the pages in the query.
6128 * list=allredirects is added, to list all redirects pointing to a namespace.
6129 * (bug 42026) Added ucshow={new,!new,top,!top} to list=usercontribs.
6130 Also added newonly to action=feedcontributions.
6131 * (bug 42026) Deprecated uctoponly in favor of ucshow=top.
6132 * list=search no longer has a "srredirects" parameter. Redirects are now
6133 included in all searches.
6134 * Added list=prefixsearch that works like action=opensearch but can be used as
6135 a generator.
6136 * (bug 24782) Various modules will now use unique continuation parameters.
6137 * (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds.
6138
6139 === Languages updated in 1.23 ===
6140
6141 MediaWiki supports over 350 languages. Many localisations are updated
6142 regularly. Below only new and removed languages are listed, as well as
6143 changes to languages because of Bugzilla reports.
6144
6145 * Support was added for Algerian Spoken Arabic (arq).
6146 * Support was added for Riograndenser Hunsrückisch (hrx).
6147 * Support was added for Northern Luri (lrc).
6148
6149 === Other changes in 1.23 ===
6150 * The rc_type field in the recentchanges table has been superseded by a new
6151 rc_source field. The rc_source field is a string representation of the
6152 change type where rc_type was a numeric constant. This field is not yet
6153 queried but will be in a future release.
6154 ** Utilize update.php to create and populate this new field. On larger wikis
6155 which do not wish to update recentchanges table in one large update please
6156 review the SQL and comments in maintenance/archives/patch-rc_source.sql.
6157 ** The rc_type field of recentchanges will be deprecated in a future release.
6158 * The global variable $wgArticle has been removed after a lengthy deprecation.
6159 * The global functions addButton and insertTags (for mw.toolbar.addButton and
6160 mw.toolbar.insertTags) now emits mw.log.warn when accessed.
6161 * The ExpandTemplates extension has been moved into MediaWiki core.
6162 * (bug 52812) Removed "Disable search suggestions" from Preference.
6163 * (bug 52809) Removed "Disable browser page caching" from Preference.
6164 * Three new modules intended for use by custom skins were added:
6165 'mediawiki.skinning.elements', 'mediawiki.skinning.content', and
6166 'mediawiki.skinning.interface', representing three levels of standard
6167 MediaWiki styling. Previously skin creators wishing to use them had to refer
6168 to the file names of appropriate files directly, which is now discouraged.
6169 * The modules 'skins.vector' and 'skins.monobook' have been renamed to
6170 'skins.vector.styles' and 'skins.monobook.styles', respectively,
6171 and their definition was changed not to include the common*.css files;
6172 the two skins now load the 'mediawiki.skinning.interface' module instead.
6173 * A page_links_updated field has been added to the page table.
6174 * SpecialPage::getTitle has been deprecated in favor of
6175 SpecialPage::getPageTitle.
6176 * BREAKING CHANGE: Two potentially backwards-incompatible changes have been made
6177 to the 'SpecialWatchlistQuery' hook's last parameter (array $values) to make
6178 the hook more consistent with the 'SpecialRecentChangesQuery' one:
6179 ** Several array keys have been renamed: hideMinor → hideminor,
6180 hideBots → hidebots, hideAnons → hideanons, hideLiu → hideliu,
6181 hidePatrolled → hidepatrolled, hideOwn → hidemyself.
6182 ** The parameter value is now a FormOptions object, not a plain array (array
6183 access operators should continue to work, as it implements the ArrayAccess
6184 interface).
6185 * Option to mark hooks as deprecated has been added.
6186 * (bug 52811) Preference "Enable section editing via [edit] links" was removed.
6187 * (bug 52813) Preference "Show table of contents (for pages with more than
6188 3 headings)" was removed.
6189 * (bug 52810) Preference "Justify paragraphs" was removed.
6190 * OutputPage::showErrorPage raises a notice if arguments are incoherent.
6191 * Thumbnails that keep failing to render in thumb.php will be rate-limited
6192 against further render attempts for 1 hour. $wgAttemptFailureEpoch can be
6193 altered to reset all rate-limited thumbnails at once.
6194 * (bug 56572) Builds of the OOjs and OOjs UI libraries are now available.
6195 * mw.loader.go and mw.loader.version have been removed.
6196 * (bug 52815) Preference "Enable simplified search bar (Vector skin only)"
6197 was removed.
6198 * A user_password_expires column has been added to the user table. The User
6199 object expects this column to exist. Use update.php to create this new field.
6200 * The jquery.delayedBind ResourceLoader module was deprecated in favor of the
6201 jquery.throttle-debounce module. It will be removed in MediaWiki 1.24.
6202 * mw.user.bucket has been deprecated.
6203 * On Special:PrefixIndex, a table#mw-prefixindex-list-table was changed to
6204 table.mw-prefixindex-list-table to avoid duplicate ids when the special page
6205 is transcluded.
6206 * (bug 62198) window.$j has been deprecated.
6207 * Preference "Disable link title conversion" was removed.
6208 * SpecialRecentChanges no longer includes any functionality for generating feeds
6209 - it has been factored out to ApiFeedRecentChanges. Old URLs redirect to new
6210 ones.
6211 * RecentChange::mExtra['lang'] is no longer set and should no longer be used.
6212 Extensions should read from other configuration variables, including
6213 $wgLocalInterwikis, to identify the current wiki.
6214 * Sections in the parser test framework have been renamed and the old
6215 section names are deprecated. Please use "!!wikitext" and "!!html"
6216 (or "!!html/php") instead of "!!input" and "!!result". This allows
6217 us to extend parser tests to accommodate additional input/output
6218 pairs, such as "!!html/parsoid" (for the output of the Parsoid
6219 parser, where it differs from the PHP parser).
6220 * Special:Search no longer has an "include redirects" option on the advanced
6221 tab. Redirects are now included in all searches.
6222 * mediawiki.api.category's getCategories() 'async' parameter was deprecated.
6223 * The locations of resources have been split between upstream libraries, now in
6224 resources/lib/, local libaries in resources/src/, and local forks of upstream
6225 libraries, also in resources/src/.
6226 * BREAKING CHANGE: The automatically-generated function closure with which
6227 ResourceLoader wraps all modules' JavaScript code now binds the identifier
6228 names 'jQuery' and '$' to the jQuery object of the version of jQuery that is
6229 bundled with MediaWiki. If you bind these names to other objects in global
6230 scope (like Zepto.js or document.querySelectorAll, for example) you will need
6231 to use different names to or re-bind them at the top of each
6232 ResourceLoader-loaded module.
6233 * (bug 52342) Preference "Remember my login" was removed.
6234 * The skin autodiscovery mechanism has been deprecated and will be removed in
6235 MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery
6236 for migration guide for creators and users of custom skins that relied on it.
6237
6238 ==== Removed classes ====
6239 * FakeMemCachedClient (deprecated in 1.18)
6240 * RdfMetaData (unused)
6241 * TitleDependency (unused)
6242 * TitleListDependency (unused)
6243 * WikiError (deprecated in 1.17)
6244 * WikiXmlError (deprecated in 1.17)
6245 * WikiErrorMsg (deprecated in 1.17)
6246
6247 ==== Renamed classes ====
6248 * CdbReader_DBA to CdbReaderDBA
6249 * CdbReader_PHP to CdbReaderPHP
6250 * CdbWriter_DBA to CdbWriterDBA
6251 * CdbWriter_PHP to CdbWriterPHP
6252 * DiffOp_Add to DiffOpAdd
6253 * DiffOp_Change to DiffOpChange
6254 * DiffOp_Copy to DiffOpCopy
6255 * DiffOp_Delete to DiffOpDelete
6256 * HWLDF_WordAccumulator to HWLDFWordAccumulator
6257 * LBFactory_Fake to LBFactoryFake
6258 * LBFactory_Multi to LBFactoryMulti
6259 * LBFactory_Simple to LBFactorySimple
6260 * LBFactory_Single to LBFactorySingle
6261 * LCStore_Accel to LCStoreAccel
6262 * LCStore_CDB to LCStoreCDB
6263 * LCStore_DB to LCStoreDB
6264 * LCStore_Null to LCStoreNull
6265 * LoadBalancer_Single to LoadBalancerSingle
6266 * LoadMonitor_MySQL to LoadMonitorMySQL
6267 * LoadMonitor_Null to LoadMonitorNull
6268 * LocalisationCache_BulkLoad to LocalisationCacheBulkLoad
6269 * csvStatsOutput to CsvStatsOutput
6270 * extensionLanguages to ExtensionLanguages
6271 * languages to Languages
6272 * statsOutput to StatsOutput
6273 * textStatsOutput to TextStatsOutput
6274 * wikiStatsOutput to WikiStatsOutput
6275
6276 ==== Removed methods ====
6277 * ApiBase::getValidNamespaces() (deprecated in 1.17)
6278 * ApiMain::setCachePrivate() (deprecated in 1.17)
6279 * ApiMain::setVaryCookie (deprecated in 1.17)
6280 * Article::doRedirect() (deprecated in 1.18)
6281 * Article::doUnwatch() (deprecated in 1.18)
6282 * Article::doWatch() (deprecated in 1.18)
6283 * Article::forUpdate() (deprecated in 1.18)
6284 * Article::markpatrolled() (deprecated in 1.18)
6285 * Article::unwatch() (deprecated in 1.18)
6286 * Article::watch() (deprecated in 1.18)
6287 * Block::clear() (deprecated in 1.18)
6288 * Block::decodeExpiry() (deprecated in 1.18)
6289 * Block::encodeExpiry() (deprecated in 1.18)
6290 * Block::forUpdate() (deprecated in 1.18)
6291 * Block::infinity() (deprecated in 1.18)
6292 * Block::load() (deprecated in 1.18)
6293 * Block::newFromDB() (deprecated in 1.18)
6294 * Block::normaliseRange() (deprecated in 1.18)
6295 * Block::parseExpiryInput() (deprecated in 1.18)
6296 * CategoryViewer::addSubcategory() (deprecated in 1.17)
6297 * EditPage::spamPage() (deprecated since 1.17)
6298 * Exif::getFormattedData() (deprecated in 1.18)
6299 * Exif::makeFormattedData() (deprecated in 1.18)
6300 * in_string (deprecated in 1.21)
6301 * Language::convertLinkToAllVariants() (deprecated in 1.17)
6302 * LanguageConverter::convertLinkToAllVariants() (deprecated in 1.17)
6303 * Linker::makeBrokenLink() (deprecated in 1.16)
6304 * Linker::makeBrokenLinkObj() (deprecated in 1.16)
6305 * Linker::makeColouredLinkObj() (deprecated in 1.16)
6306 * Linker::makeSizeLinkObj() (deprecated in 1.17)
6307 * MediaWiki::articleFromTitle() (deprecated in 1.18)
6308 * ParserOptions::getkin() (deprecated 1.18)
6309 * ProfilerSimple::getCpuTime (deprecated in 1.20)
6310 * Revision::revText() (deprecated in 1.17)
6311 * SkinTemplate::jstext() (deprecated in 1.21)
6312 * SpecialPage::__call() (deprecated in 1.17)
6313 * SpecialPage::executePath() (deprecated in 1.18)
6314 * SpecialPage::exists() (deprecated in 1.18)
6315 * SpecialPage::file() (deprecated in 1.18)
6316 * SpecialPage::func() (deprecated in 1.18)
6317 * SpecialPage::getGroup() (deprecated in 1.18)
6318 * SpecialPage::getPage() (deprecated in 1.18)
6319 * SpecialPage::getPageByAlias() (deprecated in 1.18)
6320 * SpecialPage::getLocalNameFor() (deprecated in 1.18)
6321 * SpecialPage::getRegularPages() (deprecated in 1.18)
6322 * SpecialPage::getRestrictedPages() (deprecated in 1.18)
6323 * SpecialPage::getTitleForAlias() (deprecated in 1.18)
6324 * SpecialPage::getUsablePages() (deprecated in 1.18)
6325 * SpecialPage::includable() (deprecated in 1.18)
6326 * SpecialPage::init()
6327 * SpecialPage::initAliasList() (deprecated in 1.18)
6328 * SpecialPage::initList() (deprecated in 1.18)
6329 * SpecialPage::name() (deprecated in 1.18)
6330 * SpecialPage::removePage() (deprecated in 1.18)
6331 * SpecialPage::resolveAlias() (deprecated in 1.18)
6332 * SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18)
6333 * SpecialPage::restriction() (deprecated in 1.18)
6334 * SpecialPage::setGroup() (deprecated in 1.18)
6335 * SpecialRecentChanges::feedSetup()
6336 * SpecialRevisionDelete::extractBitField() (deprecated in 1.22)
6337 * User::getPageRenderingHash() (deprecated in 1.17)
6338 * WebRequest::getFileSize() (deprecated in 1.17)
6339 * WebRequest::isPathInfoBad() (deprecated in 1.17)
6340 * wfGenerateToken (deprecated in 1.20)
6341 * wfStreamFile (deprecated in 1.19)
6342 * wfUILang (deprecated in 1.18)
6343 * WikiPage::createUpdates() (deprecated in 1.18)
6344 * WikiPage::quickEdit() (deprecated in 1.18)
6345 * WikiPage::useParserCache() (deprecated in 1.18)
6346 * WikiPage::viewUpdates() (deprecated in 1.18)
6347
6348 ==== Removed globals ====
6349 * $wgBetterDirectionality (deprecated in 1.18)
6350
6351 = MediaWiki 1.22 =
6352
6353 == MediaWiki 1.22.15 ==
6354
6355 This is a security and maintenance release of the MediaWiki 1.22 branch.
6356
6357 === Changes since 1.22.14 ===
6358
6359 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
6360 could lead to xss. Permission to edit MediaWiki namespace is required to
6361 exploit this.
6362 * (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in
6363 $wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as
6364 part of its name.
6365 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
6366
6367 == MediaWiki 1.22.14 ==
6368
6369 This is a security and maintenance release of the MediaWiki 1.22 branch.
6370
6371 === Changes since 1.22.13 ===
6372
6373 * (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code
6374 into API clients that used format=php to process pages that underwent flash
6375 policy mangling. This was fixed along with improving how the mangling was done
6376 for format=json, and allowing sites to disable the mangling using
6377 $wgMangleFlashPolicy.
6378 * (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update
6379 the content model for a page could allow an unprivileged attacker to edit
6380 another user's common.js under certain circumstances. The user right
6381 "editcontentmodel" was added, and is needed to change a revision's content
6382 model.
6383 * (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with
6384 DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
6385 public RFC about the desired functionality. This issue was reported by user
6386 Bawolff.
6387 * (bug 71621) Make allowing site-wide styles on restricted special pages a
6388 config option.
6389 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
6390 might be a flash policy directive configurable.
6391
6392 == MediaWiki 1.22.13 ==
6393 This is a maintenance release of the MediaWiki 1.22 branch.
6394
6395 === Changes since 1.22.12 ===
6396 * (bug 67440) Allow classes to be registered properly from installer
6397
6398 == MediaWiki 1.22.12 ==
6399 This is a security release of the MediaWiki 1.22 branch.
6400
6401 === Changes since 1.22.11 ===
6402 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
6403 allowance.
6404
6405 == MediaWiki 1.22.11 ==
6406 This is a security release of the MediaWiki 1.22 branch.
6407
6408 === Changes since 1.22.10 ===
6409 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
6410 elements; normalize style elements and attributes before filtering; add checks
6411 for attributes that contain css; add unit tests for html5sec and reported
6412 bugs.
6413
6414 == MediaWiki 1.22.10 ==
6415 This is a maintenance release of the MediaWiki 1.22 branch.
6416
6417 === Changes since 1.22.9 ===
6418 * (bug 64970) Fix support for blobs on DatabaseOracle::update
6419 * (bug 60719) In MediaWiki 1.22, the job queue execution on each page request
6420 was changed (Gerrit change 59797) so, instead of executing the job inside the
6421 same PHP process that's rendering the page, a new PHP cli command is spawned
6422 to execute runJobs.php in the background. It will only work if $wgPhpCli is
6423 set to an actual path or safe mode is off, otherwise, the old method will be
6424 used. See
6425 https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_in_MediaWiki_1.22
6426 for more information. This change was in earlier releases of 1.22 but was not
6427 noted here until now.
6428
6429 == MediaWiki 1.22.9 ==
6430 This is a security and maintenance release of the MediaWiki 1.22 branch.
6431
6432 === Changes since 1.22.8 ===
6433 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
6434 * (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used
6435 for loading a new page in Javascript,instead of relying on the URL in the
6436 link that has been clicked.
6437 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
6438 ParserOutput.
6439 * (bug 59147) The img_metadata field was not being decoded from bytea into text.
6440
6441 == MediaWiki 1.22.8 ==
6442 This is a security and maintenance release of the MediaWiki 1.22 branch.
6443
6444 === Changes since 1.22.7 ===
6445 * (bug 65839) SECURITY: Prevent external resources in SVG files.
6446 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
6447 only extracting the tail of the file partially or not at all.
6448
6449 == MediaWiki 1.22.7 ==
6450 This is a security and maintenance release of the MediaWiki 1.22 branch.
6451
6452 === Changes since 1.22.6 ===
6453 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
6454 Special:PasswordReset.
6455 * (bug 36356) Add space between two feed links.
6456 * (bug 63269) Email notifications were not correctly handling the
6457 MediaWiki:Helppage message being set to a full URL. This is a regression from
6458 the 1.22.5 point release, which made the default value for it a URL. If you
6459 customized MediaWiki:Enotif body (the text of email notifications), you'll
6460 need to edit it locally to include the URL via the new variable $HELPPAGE
6461 instead of the parser functions fullurl and canonicalurl; otherwise you don't
6462 have to do anything.
6463 * Add missing uploadstash.us_props for PostgreSQL.
6464 * (bug 56047) Fixed stream wrapper in PhpHttpRequest.
6465
6466 == MediaWiki 1.22.6 ==
6467 This is a security release of the MediaWiki 1.22 branch.
6468
6469 === Changes since 1.22.5 ===
6470 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
6471
6472 == MediaWiki 1.22.5 ==
6473 This is a security and maintenance release of the MediaWiki 1.22 branch.
6474
6475 === Changes since 1.22.4 ===
6476 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
6477 * (bug 62467) Set a title for the context during import on the cli.
6478 * Fix custom local MediaWiki:Helppage values.
6479 * mediawiki.js: Fix documentation breakage.
6480 * (bug 58153) Make MySQLi work with non standard port.
6481 * (bug 53887) Reintroduced a link to help pages in the default sidebar, that any
6482 sysop can customize by editing MediaWiki:Sidebar locally. The link now points
6483 to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done
6484 on your end, but remember to adjust MediaWiki:Sidebar for the needs of your
6485 wikis. Everyone can help with the shared documentation by translating:
6486 https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages .
6487 * (bug 53888) Corrected a regression in 1.22 which introduced red links on the
6488 login page. If you previously installed 1.22.x and have created a local page
6489 to make the red link blue, write its title as in MediaWiki:helplogin-url if
6490 you didn't already. Otherwise, you don't need to do anything, but you can
6491 translate the help page at <https://www.mediawiki.org/wiki/Help:Logging_in>.
6492
6493 == MediaWiki 1.22.4 ==
6494 This is a maintenance release of the MediaWiki 1.22 branch.
6495
6496 === Changes since 1.22.3 ===
6497 * Use the correct branch of the extensions' git repositories.
6498
6499 == MediaWiki 1.22.3 ==
6500 This is a security and bugfix release of the MediaWiki 1.22 branch.
6501
6502 === Changes since 1.22.2 ===
6503 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
6504 namespaces. Also disallow iframe elements. * User will get an error including
6505 the namespace name if they use a non- whitelisted namespace.
6506 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
6507 our token comparison would be vulnerable to timing attacks. This will take
6508 constant time.
6509 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
6510 * (bug 53710) Add sequence support for upsert in DatabaseOracle in the same way
6511 as in selectInsert
6512 * (bug 60231, bug 58719) Various fixes to job running code in Wiki.php: Make it
6513 async on Windows. Fixed possible "invalid filename" errors on Windows.
6514 Redirect output to dev/null to avoid hanging PHP.
6515 * (bug 60083) Correct sequence name for fresh Postgres installation. Spotted by
6516 gebhkla
6517 * (bug 60531) Avoid variable naming conflicts in
6518 DatabasePostgres::selectSQLText. Spotted by gebhkla
6519 * (bug 60094) Fix rebuildall.php fatal error with PostgreSQL.
6520 * (bug 43817) Add error handling if descriptionmsg isn't defined for extension.
6521 * (bug 60543) Special:PrefixIndex omits stripprefix=1 for "Next page" link.
6522
6523 == MediaWiki 1.22.2 ==
6524 This is a security and bugfix release of the MediaWiki 1.22 branch.
6525
6526 === Changes since 1.22.1 ===
6527 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
6528 formats
6529 * (bug 58253) Check for very old PCRE versions in installer and updater
6530 * (bug 60054) Make WikiPage::$mPreparedEdit public
6531
6532 == MediaWiki 1.22.1 ==
6533 This is a security and maintenance release of the MediaWiki 1.22 branch.
6534
6535 === Changes since 1.22.0 ===
6536 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
6537 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
6538 * (bug 58472) SECURITY: Disallow -o-link in styles
6539 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
6540 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
6541 * (bug 58178) Restore compatibility with curl < 7.16.2.
6542 * (bug 56931) Updated the plural rules to CLDR 24. They are in new format which
6543 is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as the
6544 JavaScript evaluator were updated to support the new format. Plural rules for
6545 some languages have changed, most notably Russian. Affected software messages
6546 have been updated and marked for review at translatewiki.net. This change is
6547 backported from the development branch of MediaWiki 1.23.
6548 * (bug 58434) The broken installer for database backend Oracle was fixed.
6549 * (bug 58167) The web installer no longer throws an exception when PHP is
6550 compiled without support for MySQL yet with support for another DBMS.
6551 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
6552 appear blank or with missing text.
6553 * (bug 47055) Changed FOR UPDATE handling in Postgresql
6554 * (bug 57026) Avoid extra parsing in prepareContentForEdit()
6555
6556 == MediaWiki 1.22.0 ==
6557
6558 === Configuration changes in 1.22 ===
6559 * $wgRedirectScript was removed. It was unused.
6560 * Removed $wgLocalMessageCacheSerialized, it is now always true.
6561 * $wgVectorUseIconWatch is now enabled by default.
6562 * $wgCascadingRestrictionLevels was added.
6563 * ftps, ssh, sftp, xmpp, sip, sips, tel, sms, bitcoin, magnet, urn, and geo
6564 have been whitelisted inside of $wgUrlProtocols.
6565 * $wgDocType and $wgDTD have been removed and are no longer used for the
6566 DOCTYPE.
6567 * $wgHtml5 is no longer used by core. Setting it to false will no longer disable
6568 HTML5. It is still set to true for extension compatibility but doing so in
6569 extensions is deprecated.
6570 * $wgXhtmlDefaultNamespace is no longer used by core. Setting it will no longer
6571 change the xmlns used by MediaWiki. Reliance on this variable by extensions
6572 is deprecated.
6573 * $wgHandheldStyle was removed.
6574 * $wgHandheldForIPhone was removed.
6575 * $wgJsMimeType is no longer used by core. Most usage has been removed since
6576 HTML output is now exclusively HTML5.
6577 * $wgDBOracleDRCP added. True enables persistent connection with DRCP on Oracle.
6578 * $wgLogAutopatrol added to allow disabling logging of autopatrol edits in the
6579 logging table.
6580 Default for $wgLogAutopatrol is true.
6581 * The 'edit' right no longer allows for editing a user's own CSS and JS.
6582 * New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist',
6583 'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and
6584 'editmyoptions' restrict actions that were formerly allowed by default. They
6585 have been added to the default for $wgGroupPermissions['*'].
6586 * The 'editprotected' right no longer allows bypassing of all page protection
6587 restrictions. Any group using it for this purpose will now need to have all
6588 the individual rights listed in $wgRestrictionTypes for the same effect.
6589 * The 'protect' and 'autoconfirmed' rights are no longer used for the default
6590 page protection levels. The rights 'editprotected' and 'editsemiprotected'
6591 are now used for this purpose instead.
6592 * (bug 40866) wgOldChangeTagsIndex removed.
6593 * $wgNoFollowDomainExceptions now only matches entire domains. For example,
6594 an entry for 'bar.com' will still match 'foo.bar.com' but not 'foobar.com'.
6595 * $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout added to change the timeout
6596 times for fetching the file during upload by url.
6597 * New key added to $wgGalleryOptions - $wgGalleryOptions['mode'] to set
6598 default gallery mode.
6599 * New hook 'GalleryGetModes' to allow extensions to make new gallery modes.
6600 * The checkbox for staying in HTTPS displayed on the login form when
6601 $wgSecureLogin is enabled has been removed. Instead, whether the user stays in
6602 HTTPS will be determined
6603 based on the user's preferences, and whether they came from HTTPS or not.
6604 * $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort,
6605 and $wgRC2UDPPrefix configuration options have been deprecated in favor of a
6606 $wgRCFeeds configuration array. $wgRCFeeds makes both the format and
6607 destination of recent change notifications customizable, and allows for
6608 multiple destinations to be specified.
6609 * (bug 53862) portal-url, currentevents-url and helppage have been removed from
6610 the default Sidebar.
6611 * The 'vector-simplesearch' preference is now enabled by default. Previously
6612 it was only enabled if the Vector extension was installed.
6613 * The precise format of metric datagrams produced by the UDP profiler and stats
6614 counter may now be specified as $wgUDPProfilerFormatString and
6615 $wgStatsFormatString, respectively.
6616 * (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and
6617 $wgProxyMemcExpiry have been removed, along with the open proxy scanner
6618 script they were added for.
6619 * Default value of $wgMaxShellMemory has been tripled (it's now 300 MB).
6620
6621 === New features in 1.22 ===
6622 * You can now install extensions using Composer.
6623 See https://www.mediawiki.org/wiki/Composer
6624 * (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and
6625 attributes.
6626 * (bug 33454) Language::sprintfDate now has a timezone parameter, and supports
6627 the "eIOPTZ" formatting characters.
6628 * EditWarning: A warning is shown when an editor leaves the edit form without
6629 saving (enabled by default, users can opt-out via the 'useeditwarning'
6630 preference). This feature was moved from the Vector extension, and is now part
6631 of core for all skins. Take care when upgrading that you don't use an older
6632 version of the Vector extension as this feature may conflict.
6633 * New 'mediawiki.ui' CSS module providing mw-ui-* styles for buttons and a
6634 compact vertical form layout.
6635 * HTMLForm supports a new display format 'vform' which applies this compact
6636 vertical
6637 layout and button styling. Special:PasswordReset uses this format.
6638 * New versions of login (Special:UserLogin) and create account
6639 (Special:UserLogin/signup) forms using the "vform" compact vertical form
6640 layout. These forms use new messages that assume a "Help logging in" link, see
6641 https://www.mediawiki.org/wiki/Manual:Page_customizations;
6642 https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists
6643 the message key changes.
6644 * (bug 23343) Implemented ability to apply IP blocks to the contents of
6645 X-Forwarded-For headers by adding a new configuration variable
6646 $wgApplyIpBlocksToXff (disabled by default).
6647 * The new hook 'APIGetPossibleErrors' to modify the list of possible errors was
6648 added.
6649 * (bug 25592) LogEventsList::showLogExtract() will now ignore various
6650 Pager-related WebRequest parameters by default, as this is overwhelmingly
6651 likely to be what was intended by users of the method. If any caller wishes
6652 to use these parameters, the new param 'useRequestParams' may be set to true.
6653 * mw.util.addPortletLink: Tooltip is no longer required to be plain (without
6654 an accesskey in it already). As such it now rountrips. Creating a link with a
6655 message as tooltip, grabbing the title attribute and using it to create
6656 another portlet will work as expected.
6657 * (bug 6747) {{ROOTPAGENAME}} introduced, contains the name of the topmost
6658 page without namespace.
6659 * BREAKING CHANGE: (bug 41729) Display editsection links next to headings. Also
6660 change their class name from .editsection to .mw-editsection and place them at
6661 the end of the heading element instead of the beginning. Client-side code and
6662 screen-scrapers will have to be adjusted to handle both cases (old HTML will
6663 still be visible on cached page renders until they are purged); extensions
6664 using the DoEditSectionLink or EditSectionLink hooks might need adjustments as
6665 well.
6666 * (bug 45535) introduced the new 'LanguageLinks' hook for manipulating the
6667 language links associated with a page before display.
6668 * Chosen (http://harvesthq.github.io/chosen/) was added as module
6669 'jquery.chosen'
6670 * HTMLForm will turn multiselect checkboxes into a Chosen interface when setting
6671 cssclass 'mw-chosen'
6672 * rebuildLocalisationCache learned --lang option. Let you rebuild l10n caches
6673 of the specified languages instead of all of them.
6674 * New GetNewMessagesAlert hook allowing extensions to disable or modify the new
6675 messages alert
6676 * New wgUserNewMsgRevisionId JS global for logged in users. This will be null
6677 if the user has no new talk page messages. Otherwise it will be set to the
6678 revision ID of the oldest new talk page message. This will allow gadgets and
6679 extensions to create their own new message alerts on the client side.
6680 * mediawiki.log: Added log.warn wrapper (uses console.warn and console.trace).
6681 * mediawiki.log: Implemented log.deprecate. This method defines a property and
6682 uses ES5 getter/setter to emit a warning when they are used.
6683 * $wgCascadingRestrictionLevels was added, allowing one to specify restriction
6684 levels which can be cascading (previously 'sysop' was hard-coded as the only
6685 one).
6686 * XHTML5 support has been improved. If you set
6687 $wgMimeType = 'application/xhtml+xml' MediaWiki will try outputting markup
6688 according to XHTML5 rules.
6689 * Altered hook 'ProtectionForm::save', adding the reason page protection is
6690 changed as third parameter.
6691 * New hook 'TitleSquidURLs' for manipulating the list of URLs to be purged from
6692 HTTP caches when a page is changed.
6693 * Changed the patrolling system to always show the link for patrolling in case
6694 the current revision is patrollable. This also removed the usage of the rcid
6695 URI parameters.
6696 * Oracle DB backend now supports Database Resident Connection Pooling (DRCP).
6697 Can be enabled by setting $wgDBOracleDRCP=true.
6698 Requires Oracle DB 11gR1 or above, enabled DRCP inside the DB itself and a
6699 propper connect string.
6700 More about DRCP can be found at:
6701 https://oracle-base.com/articles/11g/database-resident-connection-pool-11gr1
6702 * Add a new parameter $patrolFooterShown to hook ArticleViewFooter so the hook
6703 handlers can take further action based on the status of the patrol footer
6704 * A new hook TitleQuickPermissions was added to allow overriding of quick
6705 permissions in the Title class.
6706 * LinkCache singleton can now be altered or cleared, letting one to specify
6707 another instance that does not rely on a database backend.
6708 * MediaWiki's PHPUnit tests can now use PHPUnit installed using composer --dev.
6709 * (bug 43689) The lists of templates used on the page and hidden categories it
6710 is a member of, shown below the edit form, are now collapsible (and collapsed
6711 by default).
6712 * Parser profiling data, formerly only available in the "NewPP limit report"
6713 HTML comment, is now also displayed at the bottom of page previews.
6714 * Added ParserLimitReportPrepare and ParserLimitReportFormat hooks, deprecated
6715 ParserLimitReport hook.
6716 * New user rights have been added to increase granularity in rights management
6717 for extensions such as OAuth:
6718 ** editmyusercss controls whether a user may edit their own CSS subpages.
6719 ** editmyuserjs controls whether a user may edit their own JS subpages.
6720 ** viewmywatchlist controls whether a user may view their watchlist.
6721 ** editmywatchlist controls whether a user may edit their watchlist.
6722 ** viewmyprivateinfo controls whether a user may access their private
6723 information (e.g. registered email address, real name).
6724 ** editmyprivateinfo controls whether a user may change their private
6725 information.
6726 ** editmyoptions controls whether a user may change their preferences.
6727 * Add new hook AbortTalkPageEmailNotification, this will be used to determine
6728 whether to send the regular talk page email notification
6729 * Action classes registered in $wgActions are now also supported in the form of
6730 a callback (which returns an instance of Action) instead of providing the name
6731 of a subclass of Action.
6732 * (bug 46513) Vector: Add the collapsibleTabs script from the Vector extension.
6733 * Added $wgRecentChangesFlags for defining new flags for RecentChanges and
6734 watchlists.
6735 * (bug 40518) mw.toolbar: Implemented mw.toolbar.addButtons for adding multiple
6736 button objects in one call.
6737 * Rights used for the default protection levels ('sysop' and 'autoconfirmed')
6738 are now used just for that purpose, instead of overloading other rights. This
6739 allows easy granting of the ability to edit sysop-protected pages without
6740 also granting the ability to protect and unprotect.
6741 * (bug 48256) Make brackets in section edit links accessible to CSS.
6742 They are now wrapped in <span class="mw-editsection-bracket" />.
6743 * (bug 8480) Allow handler specific parameters in galleries (like page number)
6744 * jquery.client: Add detection for Opera 15 and Internet Explorer 11.
6745 * Change tags (used by the AbuseFilter extension) are now shown on diff pages.
6746 * Change tag lists (shown on recent changes, watchlist, user contributions,
6747 history pages, diff pages) now include a link to Special:Tags to distinguish
6748 them from edit summaries.
6749 * Added a new method and hook, User::isEveryoneAllowed() and
6750 UserIsEveryoneAllowed, for use in situations where a "does everyone have this
6751 right?" check is used to avoid more expensive checks.
6752 * (bug 14431) Display "(No difference)" instead of an empty diff (when comparing
6753 revisions in the history or when previewing changes while editing).
6754 * New hook 'IsUploadAllowedFromUrl' is added which can be used to intercept
6755 uploads by URL, useful for blacklisting specific URLs
6756 * (bug 21912) Watchlist token implementation has been refactored and
6757 Special:ResetTokens was added to allow users to reset their tokens
6758 instead of presenting them in Preferences.
6759 * Special:PrefixIndex now lets you strip the searched prefix from the displayed
6760 titles. Given a list of articles named Bug1, Bug2, you can now transclude the
6761 list of bug numbers using: {{Special:PrefixIndex/Bug|stripprefix=1}}.
6762 The special page form received a new checkbox matching that option.
6763 * (bug 23580) Implement javascript callback interface "mw.hook".
6764 * (bug 30713) New mw.hook "wikipage.content".
6765 * (bug 40430) jquery.placeholder gets a new parameter to set the attribute value
6766 to be used.
6767 * $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast.
6768 * $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge
6769 too. Can be used whenever several multicast group could be interested by a
6770 specific purge.
6771 * (bug 25931) Add Special:RandomInCategory.
6772 * mediawiki.util: addPortletLink now supports passing a jQuery object as
6773 nextnode.
6774 * <wbr> can now be used inside WikiText.
6775 * WebResponse::setcookie is much more featureful. Callers using PHP's
6776 setcookie() or setrawcookie() should begin using this instead.
6777 * New hook WebResponseSetCookie, called from WebResponse::setcookie().
6778 * New hook ResetSessionID, called when the session id is reset.
6779 * Add a mode parameter to <gallery> tag with potential options of "traditional",
6780 "nolines", "packed", "packed-overlay", or "packed-hover".
6781 * (bug 47399) A success message is now displayed after changing the password.
6782 * Make thumb.php give HTTP redirects for file redirects
6783 * (bug 30607) Special:ListFiles can now show old versions of files. Additionally
6784 Special:AllMyUploads was introduced so the user can get a list of all things
6785 they have ever uploaded, even if it was subsequently overridden.
6786 * Introduced Special:MyFiles and Special:AllMyFiles as an alias for
6787 Special:MyUploads and Special:AllMyUploads respectively.
6788 * IPv6 addresses in X-Forwarded-For headers are now normalised before checking
6789 against allowed proxy lists.
6790 * Add deferrable update support for callback/closure.
6791 * Add TitleMove hook before page renames.
6792 * Revision deletion backend code is moved out of SpecialRevisiondelete
6793 * Added {{REVISIONSIZE}} variable to get the current size of a revision.
6794 * Add support for the LESS stylesheet language to ResourceLoader. LESS is a
6795 stylesheet language that compiles into CSS. ResourceLoader file modules may
6796 include LESS style files; ResourceLoader will compile these files into CSS
6797 before sending them to the client.
6798 ** The $wgResourceLoaderLESSVars configuration variable is an associative array
6799 mapping variable names to string CSS values. These variables are considered
6800 declared for all LESS files. Additional variables may be registered by
6801 adding keys to the array.
6802 ** $wgResourceLoaderLESSFunctions is an associative array of custom LESS
6803 function names to PHP callables. See
6804 <http://leafo.net/lessphp/docs/#custom_functions>
6805 for more details regarding custom functions.
6806 ** $wgResourceLoaderLESSImportPaths is an array of file system paths. Files
6807 referenced in LESS '@import' statements are looked up here first.
6808 * ResourceLoader supports hashes as module cache invalidation trigger (instead
6809 of or in addition to timestamps).
6810 * Added $wgExtensionEntryPointListFiles for use in mergeMessageFileList.php.
6811 * Added a hook, APIQuerySiteInfoStatisticsInfo, to allow extensions to modify
6812 the output of the API query meta=siteinfo&siprop=statistics
6813 * Primary keys have been added to both the archive table and the externallinks
6814 tables.
6815 * Added $wgEnableParserLimitReporting to control whether the NewPP limit report
6816 is output in a HTML comment.
6817 * The 'UnwatchArticle' and 'WatchArticle' hooks now support a Status object
6818 instead of just a boolean return value to abort the hook.
6819 * Added a hook, SpecialWatchlistGetNonRevisionTypes, to allow extensions
6820 with custom recentchanges entries to hook into the Watchlist without
6821 clobbering each other.
6822 * A hidden, empty input field was added to the edit form, and any edit that
6823 fills it in will be rejected. This prevents against the simplest form of
6824 spambots. Previously in the "SimpleAntiSpam" extension by Ryan Schmidt.
6825 * populateRevisionLength.php maintenance script updated to also populate
6826 archive.ar_len field.
6827 * (bug 43571) DatabaseMySQLBase learned to list views, optionally filtered by a
6828 prefix. Also fixed PHPUnit test suite when using a MySQL backend containing
6829 views.
6830
6831 === Bug fixes in 1.22 ===
6832 * (bug 47271) $wgContentHandlerUseDB should be set to false during the upgrade
6833 * Disable Special:PasswordReset when $wgEnableEmail is false. Previously one
6834 could still navigate to the page by entering the URL directly.
6835 * (bug 47138) Fixed a fatal error when a blocked user tries to automatically
6836 create an account on login due external authentication in some circumstances.
6837 * (bug 23393) HTML <hN> headings containing line breaks are now handled
6838 correctly.
6839 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
6840 is now non-significant and not preserved in the HTML output.
6841 * (bug 47218) Special:BlockList now handles correctly user names with spaces
6842 when passed as subpage.
6843 * Pager's properly validate which fields are allowed to be sorted on.
6844 * mw.util.tooltipAccessKeyRegexp: The regex now matches "option-" as well.
6845 Support for Mac "option" was added in 1.16, but the regex was never updated.
6846 * (bug 46768) Usernames of blocking users now display correctly, even if
6847 numeric.
6848 * (bug 39590) Self-transclusions now show the most up to date result always
6849 after save instead of being a revision behind.
6850 * A bias in wfRandomString() toward digits 1-7 has been corrected. Generated
6851 strings will now start with digits 0 and 8-f as often as they should.
6852 * (bug 45371) Removed Parser_LinkHooks and CoreLinkFunctions classes.
6853 * (bug 41545) Allow <kbd>, <samp>, and <var> to be nested like allowed in html.
6854 * PLURAL magic word no longer causes a PHP notice when no matching form exists.
6855 * (bug 36641) Patrol page links no longer show on non-existent revisions.
6856 * (bug 35810) Pages not linked from Special:RecentChanges or Special:NewPages
6857 are patrollable now.
6858 * (bug 30213) JavaScript for search suggestions is now disabled when the API
6859 is disabled, and AJAX patrolling and watching are now disabled when use of
6860 the write API is not allowed.
6861 * (bug 48294) API: Fix chunk upload async mode.
6862 * (bug 46749) Broken files tracking category removed from pages if an image
6863 with that name is uploaded.
6864 * (bug 14176) System messages that are empty were previously incorrectly treated
6865 as non-existent, causing a fallback to the default. This stopped users from
6866 overriding system messages to make them blank.
6867 * (bug 48319) action=parse no longer returns an error if passed none of 'oldid',
6868 'pageid', 'page', 'title', and 'text' (e.g. if only passed 'summary'). A
6869 warning will instead be issued if 'title' is non-default, unless no props are
6870 requested.
6871 * Special:Recentchangeslinked will now include upload log entries
6872 * (bug 41281) Fixed ugly output if file size could not be extracted for
6873 multi-page media.
6874 * (bug 50315) list=logevents API module will now output log entries by anonymous
6875 users.
6876 * (bug 38911) Handle headers with rowspan in jquery.tablesorter
6877 * (bug 658) Converted the table of contents on wiki pages from <table> to <div>
6878 and adjusted skin CSS accordingly. The CSS was carefully crafted to be
6879 backwards-compatible in all reasonable cases (uses of the __TOC__ magic word,
6880 the #toc CSS id and the .toc CSS class). However, particularly bad abuse of
6881 the id or the class can possibly break.
6882 * CSSJanus now supports rgb, hsl, rgba, and hsla color syntaxes.
6883 * Special:Listfiles can no longer be sorted by image name when filtering
6884 by user in miser mode.
6885 * (bug 49074) CSSJanus: Handle values of border-radius correctly.
6886 * Handle relative inclusions ({{../name}}) in main namespace with subpages
6887 enabled correctly (previously MediaWiki tried to include Template:Parent/name
6888 instead of just Parent/name).
6889 * Added $wgAPIUselessQueryPages to allow extensions to flag their query pages
6890 for non-inclusion in ApiQueryQueryPages.
6891 * (bug 50870) mediawiki.notification: Notification area should remain visible
6892 when scrolled down.
6893 * (bug 13438) Special:MIMESearch no longer an expensive special page.
6894 * (bug 48342) Fixed a fatal error when $wgValidateAllHtml is set to true and
6895 the function apache_request_headers() function is not available.
6896 * (bug 33399) LivePreview: Re-run wikipage content handlers
6897 (jquery.makeCollapsible, jquery.tablesorter) after preview content is loaded.
6898 * (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties
6899 are defined.
6900 * (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry.
6901 * (bug 52077) The APIEditBeforeSave hook is giving the content of the whole
6902 revision as second argument now, rather than just the current section.
6903 * (bug 49694) $wgSpamRegex is now also applied on the new section headline text
6904 adding a new topic on a page
6905 * (bug 41756) Improve treatment of multiple comments on a blank line.
6906 * (bug 51064) Purge upstream caches when deleting file assets.
6907 * (bug 39012) File types with a mime that we do not know the extension for
6908 can no longer be uploaded as an extension that we do know the mime type
6909 for.
6910 * (bug 51742) Add data-sort-value for better sorting of hitcounts Special:Tags
6911 * (bug 26811) On DB error pages, server hostnames are now hidden when both
6912 $wgShowHostnames and $wgShowSQLErrors are false.
6913 * (bug 6200) line breaks in <blockquote> are handled like they are in <div>
6914 * (bug 14931) Default character set now set to 'utf8' when a new MySQL
6915 database is created.
6916 * (bug 47191) Fixed "Column 'si_title' cannot be part of FULLTEXT index"
6917 MySQL error when installing using the binary character set option.
6918 * (bug 45288) Support mysqli PHP extension
6919 * (bug 55818) BREAKING CHANGE: Removed undocumented 'Debug' hook in wfDebug.
6920 This resolves an infinite loop when using $wgDebugFunctionEntry = true.
6921 * (bug 56707) Correct tooltip of "Next n results" on query special pages.
6922 * (bug 56770) mw.util.addPortletLink: Check length before access array index.
6923
6924 === API changes in 1.22 ===
6925 * (bug 25553) The JSON output formatter now leaves forward slashes unescaped
6926 to improve human readability of URLs and similar strings. Also, a "utf8"
6927 option is now provided to use UTF-8 encoding instead of hex escape codes
6928 for most non-ASCII characters.
6929 * (bug 46626) xmldoublequote parameter was removed. Because of a bug, the
6930 parameter has had no effect since MediaWiki 1.16, and so its removal is
6931 unlikely to impact existing clients.
6932 * (bug 47216) action=query&meta=siteinfo&siprop=skins will now indicate which
6933 skin is the default and which are unusable (e.g. listed in $wgSkipSkins).
6934 * (bug 25325) Added support for wlshow filtering (bots/anon/minor/patrolled)
6935 to action=feedwatchlist.
6936 * WDDX formatted output will actually be formatted (and normal output will no
6937 longer be), and will no longer choke on booleans.
6938 * action=opensearch no longer silently ignores the format parameter.
6939 * action=opensearch now supports format=jsonfm.
6940 * list=usercontribs&ucprop=ids will now include the parent revision id.
6941 * BREAKING CHANGE: action=parse no longer returns all langlinks for the page
6942 with prop=langlinks by default. The new effectivelanglinks parameter will
6943 request that the LanguageLinks hook be called to determine the effective
6944 language links.
6945 * BREAKING CHANGE: list=allpages, list=langbacklinks, and prop=langlinks do not
6946 apply the new LanguageLinks hook, and thus only consider language links
6947 stored in the database.
6948 * (bug 47219) Allow specifying change type of Wikipedia feed items
6949 * prop=imageinfo now allows setting iiurlheight without setting iiurlwidth
6950 * prop=info now adds the content model and page language of the title.
6951 * New upload log entries will now contain information on the relevant
6952 image (sha1 and timestamp).
6953 * (bug 49239) action=parse now can parse in preview and section preview modes.
6954 * (bug 49259) action=patrol now accepts revision ids.
6955 * (bug 48129) list=blocks&bkip= now correctly handles IPv6 CIDR ranges and
6956 honors $wgBlockCIDRLimit. Note any clients passing invalid values to bkip
6957 will now receive an error, rather than the previous behavior listing all
6958 user blocks.
6959 * (bug 48201) action=parse&text=foo now assumes wikitext if no title is given,
6960 rather than using the content model of the page "API".
6961 * action=watch no longer silently ignores hook abort.
6962 * (bug 50785) action=purge with forcelinkupdate=1 no longer queues refreshLinks
6963 jobs in the job queue for link table updates of pages that use the given page
6964 as a template. Instead, forcerecursivelinkupdate=1 is introduced and should
6965 be used if that behaviour is desirable.
6966 * The 'debugLog' property (enabled by $wgDebugToolbar) no longer sets the log
6967 entry values through ApiResult::content but directly. This changes the JSON
6968 output from an array of objects with content in '*' to an array of strings
6969 with the content.
6970 * (bug 51342) prop=imageinfo iicontinue now contains the dbkey, not the text
6971 version of the title.
6972 * (bug 52538) action=edit will now use empty text instead of the contents
6973 of section 0 when passed prependtext or appendtext with section=new.
6974 * Support for the 'gettoken' parameter to action=block and action=unblock,
6975 deprecated since 1.20, has been removed.
6976 * (bug 49090) Token-getting functions will fail when using jsonp callbacks.
6977 * (bug 52699) action=upload returns normalized file name on warning
6978 "exists-normalized" instead of filename to be uploaded to.
6979 * (bug 53884) action=edit will now return an error when the specified section
6980 does not exist in the page.
6981 * Added meta=filerepoinfo API module for getting information about foreign
6982 file repositories, and related ForeignAPIRepo methods getInfo and getApiUrl.
6983 * The new query module list=allfileusages to enumerate file usages was added.
6984
6985 === Languages updated in 1.22 ===
6986
6987 MediaWiki supports over 350 languages. Many localisations are updated
6988 regularly. Below only new and removed languages are listed, as well as
6989 changes to languages because of Bugzilla reports.
6990
6991 * Batak Toba (bbc-latn) added.
6992 * (bug 46751) Made Buryat (Russia) (буряад) (bxr) fallback to Russian.
6993
6994 === Other changes in 1.22 ===
6995 * BREAKING CHANGE: Implementation of MediaWiki's JS and JSON value encoding
6996 has changed:
6997 ** MediaWiki no longer supports PHP installations in which the native JSON
6998 extension is missing or disabled.
6999 ** XmlJsCode objects can no longer be nested inside objects or arrays.
7000 (For Xml::encodeJsCall(), this individually applies to each argument.)
7001 ** The sets of characters escaped by default, along with the precise escape
7002 sequences used, have changed (except for the Xml::escapeJsString()
7003 function, which is now deprecated).
7004 * BREAKING CHANGE: The Services_JSON class has been removed. If necessary,
7005 be sure to upgrade affected extensions at the same time (e.g. Collection).
7006 * redirect.php was removed. It was unused.
7007 * ClickTracking integration was dropped from the mediaWiki.user.bucket
7008 JavaScript function. The 'tracked' option is now ignored.
7009 * BREAKING CHANGE: Legacy skins Simple, MySkin, Chick, Standard and Nostalgia
7010 were all removed. (Nostalgia was moved to an extension.) The SkinLegacy and
7011 LegacyTemplate classes that supported them were removed as well and are now a
7012 part of the Nostalgia extension.
7013 * Event namespace used by jquery.makeCollapsible has been changed from
7014 'mw-collapse' to 'mw-collapsible' for consistency with the module name.
7015 * BREAKING CHANGE: The "ExternalAuth" authentication subsystem was removed,
7016 along with its associated globals of $wgExternalAuthType, $wgExternalAuthConf,
7017 $wgAutocreatePolicy and $wgAllowPrefChange. Affected users are encouraged to
7018 use AuthPlugin for external authentication/authorization needs.
7019 * The Quickbar feature of the legacy skin model and the last remnants of it
7020 throughout the code base have been removed.
7021 * Externaledit/externaldiff preference was removed. Very few users used this
7022 feature, and improper configuration can actually prevent a user from editing
7023 * Calling Linker methods using a skin will now output deprecation warnings.
7024 * (bug 46680) "Return to" links are no longer tagged with rel="next".
7025 * BREAKING CHANGE: mw.util.tooltipAccessKeyRegexp: The match group for the
7026 accesskey character is now $6 instead of $5.
7027 * HipHop compiler (hphpc) support was removed. HipHop VM support (hhvm) was
7028 added.
7029 * A new Special:Redirect page was added, providing lookup by revision ID,
7030 user ID, or file name. The old Special:Filepath page was reimplemented
7031 to redirect through Special:Redirect.
7032 * Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9.
7033 * Support for XHTML 1.0 has been removed. MediaWiki now only outputs (X)HTML5.
7034 * wikibits: User-agent related globals have been deprecated. The following
7035 properties now default to false and emit mw.log.warn: is_gecko, is_chrome_mac,
7036 is_chrome, webkit_version, is_safari_win, is_safari, webkit_match, is_ff2,
7037 ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, opera7_bugs, opera6_bugs,
7038 is_opera_95, is_opera_preseven, is_opera, and ie6_bugs.
7039 * (bug 48276) MediaWiki will now flash a confirmation message upon successfully
7040 editing a page.
7041 * (bug 40785) mediawiki.legacy.ajax has been marked as deprecated. The following
7042 properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object,
7043 sajax_do_call and wfSupportsAjax.
7044 * BREAKING CHANGE: meta keywords are no longer supported. A
7045 <meta name="keywords" will no longer be output and OutputPage::addKeyword no
7046 longer exists.
7047 * Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage,
7048 deprecated since 1.19, have been removed.
7049 * (bug 50134) Hook functions are no longer required to return a value. When a
7050 hook function does not return a value (or when it returns an explicit null),
7051 processing continues. To abort the hook, a hook function must return an
7052 explicit, boolean false or a string error message. Other falsey values are
7053 tantamount to a 'return true' in earlier versions of MediaWiki.
7054 * BREAKING CHANGE: The EditSectionLink hook was removed after being
7055 deprecated since MediaWiki 1.14. Use DoEditSectionLink instead.
7056 * (bug 48256) The 'editsection-brackets' optional message was removed.
7057 Section edit links' brackets can now be customized using CSS by
7058 styling span.mw-editsection-bracket.
7059 * The usePatrol function in ChangesList has been marked as deprecated.
7060 * (bug 50785) A "null edit", that is, a save action in which no changes to the
7061 page text are made and no revision recorded, will no longer send refreshLinks
7062 jobs to the job table to update pages which use the edited page as a template.
7063 * The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )"
7064 have been deprecated in favour of using mw.hook.
7065 * The 'showjumplinks' user preference has been removed, jump links are now
7066 always included.
7067 * Methods RecentChange::notifyRC2UDP, RecentChange::sendToUDP, and
7068 RecentChange::cleanupForIRC have been deprecated, as it is now the
7069 responsibility of classes implementing the RCFeedFormatter and RCFeedEngine
7070 interfaces to implement the formatting and delivery for recent change
7071 notifications.
7072 * SpecialPrefixindex methods namespacePrefixForm() and showPrefixChunk() have
7073 been made protected. They were accepting form variance arguments, this is now
7074 using properties in the SpecialPrefixindex class.
7075 * (bug 50310) BREAKING CHANGE: wikibits: Drop support for mwCustomEditButtons.
7076 It defaults to an empty array and emits mw.log.warn when accessed.
7077 * BREAKING CHANGE: Special:Disambiguations has been removed from MediaWiki core.
7078 Functions related to disambiguation pages are now handled by the Disambiguator
7079 extension (https://www.mediawiki.org/wiki/Extension:Disambiguator) (bug
7080 35981).
7081 * BREAKING CHANGE: The 'mediawiki.legacy.wikiprintable' module has been removed.
7082 The skins/common/wikiprintable.css file no longer exists. Return value of
7083 Skin#commonPrintStylesheet is ignored. Please use the
7084 'mediawiki.legacy.commonPrint' module instead or base your skin on
7085 SkinTemplate.
7086 * (bug 49629) The hook ExtractThumbParameters has been deprecated in favour
7087 of media handler overriding MediaHandler::parseParamString.
7088 * (bug 46512) The collapsibleNav feature from the Vector extension has been
7089 moved to the Vector skin in core.
7090 * SpecialRecentChanges::addRecentChangesJS() function has been renamed
7091 to addModules() and made protected.
7092 * Methods WatchAction::doWatch and WatchAction::doUnwatch now return a Status
7093 object instead of a boolean.
7094 * Information boxes (CSS classes errorbox, warningbox, successbox) have been
7095 made more subtle.
7096 * BREAKING CHANGE: The module 'mediawiki.legacy.IEFixes' has been removed as it
7097 was unused. The file skins/common/IEFixes.js remains but is only used by
7098 wikibits. The file never contained any re-usable components. To use it in a
7099 skin, load 'mediawiki.legacy.wikibits' (which IEFixes depends on) and that
7100 will import IEFixes automatically if user agent conditions are met.
7101 * Code specific to the Math extension was marked as deprecated.
7102 * mediawiki.util: mw.util.wikiGetlink has been renamed to getUrl. (The old name
7103 still works, but is deprecated.)
7104
7105 = MediaWiki 1.21 =
7106
7107 == MediaWiki 1.21.11 ==
7108 This is a security and maintenance release of the MediaWiki 1.21 branch.
7109
7110 === Changes since 1.21.10 ===
7111 * (bug 65839) SECURITY: Prevent external resources in SVG files.
7112 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
7113 only extracting the tail of the file partially or not at all.
7114
7115 == MediaWiki 1.21.10 ==
7116 This is a security and maintenance release of the MediaWiki 1.21 branch.
7117
7118 === Changes since 1.21.9 ===
7119 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
7120 Special:PasswordReset.
7121 * (bug 36356) Add space between two feed links.
7122
7123 == MediaWiki 1.21.9 ==
7124 This is a security and maintenance release of the MediaWiki 1.21 branch.
7125
7126 === Changes since 1.21.8 ===
7127 * (bug 63251) SECURITY: Escape sortKey in pageInfo.
7128 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
7129 appear blank or with missing text.
7130
7131 == MediaWiki 1.21.8 ==
7132 This is a security and maintenance release of the MediaWiki 1.21 branch.
7133
7134 === Changes since 1.21.7 ===
7135 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
7136 * (bug 62467) Set a title for the context during import on the cli.
7137
7138 == MediaWiki 1.21.7 ==
7139 This is a maintenance release of the MediaWiki 1.21 branch.
7140
7141 === Changes since 1.21.6 ===
7142 * Use the correct branch of the extensions' git repositories.
7143
7144 == MediaWiki 1.21.6 ==
7145 This is a security release of the MediaWiki 1.21 branch.
7146
7147 === Changes since 1.21.5 ===
7148 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
7149 namespaces. Also disallow iframe elements.
7150 * User will get an error including the namespace name if they use a
7151 non-whitelisted namespace.
7152 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
7153 our token comparison would be vulnerable to timing attacks. This will take
7154 constant time.
7155 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
7156
7157 == MediaWiki 1.21.5 ==
7158 This is a security release of the MediaWiki 1.21 branch.
7159
7160 === Changes since 1.21.4 ===
7161 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
7162 formats
7163
7164 == MediaWiki 1.21.4 ==
7165 This is a security release of the MediaWiki 1.21 branch.
7166
7167 === Changes since 1.21.3 ===
7168 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
7169 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
7170 * (bug 58472) SECURITY: Disallow -o-link in styles
7171 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
7172 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
7173
7174 == MediaWiki 1.21.3 ==
7175 This is a security and maintenance release of the MediaWiki 1.21 branch.
7176
7177 === Changes since 1.21.2 ===
7178 * (bug 53032) SECURITY: Don't cache when a call could autocreate
7179 * (bug 55332) SECURITY: Improve css javascript detection
7180 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
7181 * Fix comma errors in various js files
7182 * Translations
7183
7184 == MediaWiki 1.21.2 ==
7185 This is a security and maintenance release of the MediaWiki 1.21 branch.
7186
7187 === Changes since 1.21.1 ===
7188 * SECURITY: Fix extension detection with 2 .'s
7189 * SECURITY: Support for the 'gettoken' parameter to action=block and
7190 action=unblock, deprecated since 1.20, has been removed.
7191 * SECURITY: Sanitize ResourceLoader exception messages
7192 * Purge upstream caches when deleting file assets.
7193 * Unit test suite now runs the AutoLoader tests. Also fixed the autoloading
7194 entry for the PageORMTableForTesting class though it had no impact.
7195
7196 == MediaWiki 1.21.1 ==
7197 This is a maintenance release of the MediaWiki 1.21 branch.
7198
7199 === Changes since 1.21.0 ===
7200 * An incorrect version number was used for 1.21.0. 1.21.1 has the correct
7201 number.
7202 * A problem with the Oracle SQL table creation was fixed.
7203 * (PdfHandler extension) Fix warning if pdfinfo fails but pdftext succeeds.
7204
7205 == MediaWiki 1.21.0 ==
7206
7207 === Configuration changes in 1.21 ===
7208 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
7209 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
7210 instead.
7211 * (bug 39957) Added $wgUnwatchedPageThreshold, specifying minimum count
7212 of page watchers required for the number to be accessible to users
7213 without the unwatchedpages permission.
7214 * $wgBug34832TransitionalRollback has been removed.
7215 * (bug 29472) $wgUseDynamicDates has been removed and its functionality
7216 disabled.
7217
7218 === New features in 1.21 ===
7219 * (bug 38110) Schema changes (adding or dropping tables, indices and
7220 fields) can be now be done separately from other changes that
7221 update.php makes. This is useful in environments that use database
7222 permissions to restrict schema changes but allow the DB user that
7223 MediaWiki normally runs as to perform other changes that update.php
7224 makes. Schema changes can be run separately. See the file UPGRADE
7225 for more information.
7226 * (bug 34876) jquery.makeCollapsible has been improved in performance.
7227 * Added ContentHandler facility to allow extensions to support other content
7228 than wikitext. See docs/contenthandler.txt for details.
7229 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
7230 and desktop displays (configurable with $wgResponsiveImages).
7231 * Added new backend to represent and store information about sites and site
7232 specific configuration.
7233 * jQuery upgraded from 1.8.2 to 1.8.3.
7234 * jQuery UI upgraded from 1.8.23 to 1.8.24.
7235 * Added separate fa_sha1 field to filearchive table. This allows sha1
7236 searches with the api in miser mode for deleted files.
7237 * Add initial and programmatic sorting for tablesorter.
7238 * Add the event "sortEnd.tablesorter", triggered after sorting has completed.
7239 * The Job system was refactored to allow for different backing stores for
7240 queues as well as cross-wiki access to queues, among other things. The schema
7241 for the DB queue was changed to support better concurrency and reduce
7242 deadlock errors.
7243 * Added ApiQueryORM class to facilitate creation of query API modules based on
7244 tables that have a corresponding ORMTable class.
7245 * (bug 40876) Icon for PSD (Adobe Photoshop) file types.
7246 * (bug 40641) Implemented Special:Version/Credits with a list of contributors.
7247 * (bug 7851) Implemented one-click AJAX patrolling.
7248 * The <data>, <time>, <meta>, and <link> elements are allowed within WikiText
7249 for use with Microdata.
7250 * The HTML5 <mark> tag has been whitelisted.
7251 * Added ParserCloned hook for when the Parser object is cloned.
7252 * Added AlternateEditPreview hook to allow extensions to replace the page
7253 preview from the edit page.
7254 * Added EditPage::showStandardInputs:options hook to allow extensions to add
7255 new fields to the "editOptions" area of the edit form.
7256 * Upload stash DB schema altered to improve upload performance.
7257 * The following global functions are now reporting deprecated warnings in
7258 debug mode: wfMsg, wfMsgNoTrans, wfMsgForContent, wfMsgForContentNoTrans,
7259 wfMsgReal, wfMsgGetKey, wfMsgHtml, wfMsgWikiHtml, wfMsgExt, wfEmptyMsg. Use
7260 the Message class, or the global method wfMessage.
7261 * Added $wgEnableCanonicalServerLink, off by default. If enabled, a
7262 <link rel=canonical> tag is added to every page indicating the correct server
7263 to use.
7264 * Debug message emitted by wfDebugLog() will now be prefixed with the group
7265 name when its logged to the default log file. That is the case whenever the
7266 group has no key in wgDebugLogGroups, that will help triage the default log.
7267 * (bug 24620) Add types to LogFormatter.
7268 * jQuery JSON upgraded from 2.3 to 2.4.0.
7269 * Added GetDoubleUnderscoreIDs hook, for modifying the list of magic words.
7270 * DatabaseUpdater class has two new methods to ease extensions schema changes:
7271 dropExtensionIndex and renameExtensionIndex.
7272 * New preference type - 'api'. Preferences of this type are not shown on
7273 Special:Preferences, but are still available via the action=options API.
7274 * (bug 39397) Hide rollback link if a user is the only contributor of the page.
7275 * $wgPageInfoTransclusionLimit limits the list size of transcluded articles
7276 on the info action. Default is 50.
7277 * Added action=createaccount to allow user account creation.
7278 * (bug 40124) action=options API also allows for setting of arbitrary
7279 preferences, provided that their names are prefixed with 'userjs-'. This
7280 officially reenables the feature that was undocumented and defective
7281 in MW 1.20 (saving preferences using Special:Preferences cleared any
7282 additional fields) and which has been disabled in 1.20.1 as a part of
7283 a security fix (bug 42202).
7284 * Added option to specify "others" as author in extension credits using
7285 "..." as author name.
7286 * Added the ability to limit the wall clock time used by shell processes,
7287 as well as the CPU time. Configurable with $wgMaxShellWallClockTime.
7288 * Allow memory of shell subprocesses to be limited using Linux cgroups
7289 instead of ulimit -v, which tends to cause deadlocks in recent versions
7290 of ImageMagick. Configurable with $wgShellCgroup.
7291 * Added $wgWhitelistReadRegexp for regex whitelisting.
7292 * (bug 5346) Categories that are redirects will be displayed italic in
7293 the category links section at the bottom of a page.
7294 * (bug 43915) New maintenance script deleteEqualMessages.php.
7295 * You can now create checkbox option matrices through the HTMLCheckMatrix
7296 subclass in HTMLForm.
7297 * WikiText now permits the use of WAI-ARIA's role="presentation" inside of
7298 html elements and tables. This allows presentational markup, especially
7299 tables. To be marked up as such.
7300 * maintenance/sql.php learned the --cluster option. Let you run the script
7301 on some external cluster instead of the primary cluster for a given wiki.
7302 * (bug 20281) test the parsing of inline URLs.
7303 * Added Special:PagesWithProp, which lists pages using a particular page
7304 property.
7305 * Implemented language-specific collations for category sorting for 67 languages
7306 based in latin, greek and cyrillic alphabets. This allows one to *finally* get
7307 articles to be correctly sorted on category pages. They are named
7308 'uca-<langcode>', where <langcode> is one of: af, ast, az, be, bg, br, bs, ca,
7309 co, cs, cy, da, de, dsb, el, en, eo, es, et, eu, fi, fo, fr, fur, fy, ga, gd,
7310 gl, hr, hsb, hu, is, it, kk, kl, ku, ky, la, lb, lt, lv, mk, mo, mt, nl, no,
7311 oc, pl, pt, rm, ro, ru, rup, sco, sk, sl, smn, sq, sr, sv, tk, tl, tr, tt, uk,
7312 uz, vi.
7313 * Added 'CategoryAfterPageAdded' and 'CategoryAfterPageRemoved' hooks.
7314 * Added 'HistoryRevisionTools' and 'DiffRevisionTools' hooks.
7315 * Added 'SpecialSearchResultsPrepend' and 'SpecialSearchResultsAppend' hooks.
7316 * (bug 33186) Add image rotation api "imagerotate"
7317 * (bug 34040) Add "User rights management" link on user page toolbox.
7318 * (bug 45526) Add QUnit assertion helper "QUnit.assert.htmlEqual" for asserting
7319 structual equality of HTML (ignoring insignificant differences like
7320 quotmarks, order and whitespace in the attribute list).
7321 * (bug 23393) HTML <hN> headings containing line breaks are now handled
7322 correctly.
7323 * (bug 45803) Whitespace within == Headline == syntax and within <hN> headings
7324 is now non-significant and not preserved in the HTML output.
7325
7326 === Bug fixes in 1.21 ===
7327 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
7328 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
7329 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
7330 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
7331 recentchanges table.
7332 * (bug 32951) Do not register internal externals with absolute protocol,
7333 when server has relative protocol.
7334 * (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE
7335 method requests, we now send a Host header by default, for Varnish
7336 compatibility. This also works with Squid in reverse-proxy mode. If you wish
7337 to support Squid configured in forward-proxy mode, set
7338 $wgSquidPurgeUseHostHeader to false.
7339 * (bug 37020) sql.php with readline eats semicolon.
7340 * (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
7341 disabled, and don't wrap HTML-syntax definition lists in paragraphs.
7342 * (bug 41409) Diffs while editing an old revision should again diff against the
7343 current revision.
7344 * (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions
7345 caught during API execution.
7346 * (bug 37963) Fixed loading process for user options.
7347 * (bug 26995) Update filename field on Upload page after having sanitized it.
7348 * (bug 41793) Contribution links to users with 0 edits on Special:ListUsers
7349 didn't show up red.
7350 * (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API
7351 parameter.
7352 * (bug 42036) Account creation emails now contain canonical (not
7353 protocol-relative) URLs.
7354 * (bug 41990) Fix regression: API edit with redirect=true and lacking
7355 starttimestamp and basetimestamp should not cause an edit conflict.
7356 * (bug 41706) EditPage: Preloaded page should be converted if possible and
7357 needed.
7358 * (bug 41886) Rowspans are no longer exploded by tablesorter until the table is
7359 actually sorted.
7360 * (bug 2865) User interface HTML elements don't use lang attribute.
7361 (completed the fix by adding the lang attribute to firstHeading).
7362 * (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories.
7363 * (bug 36053) Log in "returnto" feature forgets query parameters if no
7364 title parameter was specified.
7365 * (bug 42410) API action=edit now returns correct timestamp for the new edit.
7366 * (bug 14901) Email notification mistakes log action for new page creation.
7367 Enotif no longer sends "page has been created" notifications for some log
7368 actions. The following events now have a correct message: page creation,
7369 deletion, move, restore (undeletion), change (edit). Parameter
7370 $CHANGEDORCREATED is deprecated in 'enotif_body' and scheduled for removal in
7371 MediaWiki 1.23.
7372 * (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based
7373 skins, the heading levels have been changed from (variously per skin)
7374 <h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them.
7375 If you are styling or scripting the headings in a custom way, this change
7376 will require updates to your site's CSS or JS.
7377 * (bug 41342) jquery.suggestions should cancel any active (async) fetches
7378 before it triggers another fetch.
7379 * (bug 42184) $wgUploadSizeWarning missing second variable.
7380 * (bug 34581) removeUnusedAccounts.php maintenance script now ignores newuser
7381 log when determining whether an account is used.
7382 * (bug 43379) Gracefully fail if rev_len is unavailable for a revision on the
7383 History page.
7384 * (bug 42949) API no longer assumes all exceptions are MWException.
7385 * (bug 41733) Hide "New user message" (.usermessage) element from printable
7386 view.
7387 * (bug 39062) Special:Contributions will display changes that don't have
7388 a parent id instead of just an empty bullet item.
7389 * (bug 37209) "LinkCache doesn't currently know about this title" error fixed.
7390 * wfMerge() now works if $wgDiff3 contains spaces
7391 * (bug 43052) mediawiki.action.view.dblClickEdit.dblClickEdit should trigger
7392 ca-edit click instead opening URL directly.
7393 * (bug 43964) Invalid value of "link" parameter in <gallery> no longer produces
7394 a fatal error.
7395 * (bug 44775) The username field is not pre-filled when creating an account.
7396 * (bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:"
7397 URL without address
7398 * (bug 45012) Creating an account by e-mail can no longer show a
7399 "password mismatch" error.
7400 * (bug 44599) On Special:Version, HEADs for submodule checkouts (e.g. for
7401 extensions) performed using Git 1.7.8+ should now appear.
7402 * (bug 42184) $wgUploadSizeWarning missing second variable
7403 * (bug 40326) Check if files exist with a different extension during uploading
7404 * (bug 34798) Updated CSS for Atom/RSS recent changes feeds to match on-wiki
7405 diffs.
7406 * (bug 42430) Calling numRows on MySQL no longer propagates unrelated errors.
7407 * (bug 44719) Removed mention of non-existing maintenance/migrateCurStubs.php
7408 script in includes/DefaultSettings.php
7409 * (bug 45143) jquery.badge: Treat non-Latin variants of zero as zero as well.
7410 * (bug 46151) mwdocgen.php should not ignore exit code of doxygen command.
7411 * (bug 41889) Fix $.tablesorter rowspan exploding for complex cases.
7412
7413 === API changes in 1.21 ===
7414 * prop=revisions can now report the contentmodel and contentformat.
7415 See docs/contenthandler.txt.
7416 * action=edit and action=parse now support contentmodel and contentformat
7417 parameters to control the interpretation of page content.
7418 See docs/contenthandler.txt for details.
7419 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing
7420 metadata.
7421 * (bug 40111) Disable minor edit for page/section creation by API.
7422 * (bug 41042) Revert change to action=parse&page=... behavior when the page
7423 does not exist.
7424 * (bug 27202) Add timestamp sort to list=allimages.
7425 * (bug 43137) Don't return the sha1 of revisions through the API if the content
7426 is revision-deleted.
7427 * ApiQueryImageInfo now also returns imageinfo for redirects.
7428 * list=alltransclusions added to enumerate every instance of page embedding
7429 * list=alllinks & alltransclusions now allow both 'from' and 'continue' in
7430 the same query. When both are present, 'from' is simply ignored.
7431 * list=alllinks & alltransclusions now allow 'unique' in generators, to yield
7432 a list of all link/template target pages instead of source pages.
7433 * BREAKING CHANGE: list=logevents output format changed for details of some log
7434 types. Specifically, details that were formerly reported under a key like
7435 "4::foo" will now be reported under a key of simply "foo".
7436 * BREAKING CHANGE: '??_badcontinue' error code was changed to '??badcontinue'
7437 for all query modules.
7438 * ApiQueryBase adds 'badcontinue' error code if module has 'continue' parameter.
7439 * (bug 35885) Removed version parameter and all getVersion() methods.
7440 * action=options now takes a "resetkinds" option, which allows only resetting
7441 certain types of preferences when the "reset" option is set.
7442 * (bug 36751) ApiQueryImageInfo now returns imageinfo for the redirect target
7443 when queried with &redirects=.
7444 * (bug 31849) ApiQueryImageInfo no longer gets confused when asked for info on
7445 a redirect and its target.
7446 * (bug 43849) ApiQueryImageInfo no longer throws exceptions with ForeignDBRepo
7447 redirects.
7448 * On error, any warnings generated before that error will be shown in the
7449 result.
7450 * action=help supports generalized submodules (modules=query+value),
7451 querymodules obsolete
7452 * ApiQueryImageInfo continuation is more reliable. The only major change is
7453 that the imagerepository property will no longer be set on page objects not
7454 processed in the current query (i.e. non-images or those skipped due to
7455 iicontinue).
7456 * Add supports for all pageset capabilities - generators, redirects,
7457 converttitles to action=purge and action=setnotificationtimestamp.
7458 * (bug 43251) prop=pageprops&ppprop= now accepts multiple props to query.
7459 * ApiQueryImageInfo will now limit the number of calls to File::transform made
7460 in any one query. If there are too many, iicontinue will be returned.
7461 * action=query&meta=siteinfo&siprop=general will now return the regexes used for
7462 link trails and link prefixes. Added for Parsoid support.
7463 * Added an API query module list=pageswithprop, which lists pages using a
7464 particular page property.
7465 * Added an API query module list=pagepropnames, which lists all page prop names
7466 currently in use on the wiki.
7467 * (bug 44921) ApiMain::execute() will now return after the CORS check for an
7468 HTTP OPTIONS request.
7469 * (bug 44923) action=upload works correctly if the entire file is uploaded in
7470 the first chunk.
7471 * Added 'continue=' parameter to streamline client iteration over complex query
7472 results
7473 * (bug 44909) API parameters may now be marked as type "upload", which is now
7474 used for action=upload's 'file' and 'chunk' parameters. This type will raise
7475 an error during parameter validation if the parameter is given but not
7476 recognized as an uploaded file.
7477 * (bug 44244) prop=info may now return the number of people watching each page.
7478 * (bug 33304) list=allpages will no longer return duplicate entries when
7479 querying protection.
7480 * (bug 33304) list=allpages will now find really old indefinite protections.
7481 * (bug 45937) meta=allmessages will report a syntactically invalid lang as a
7482 proper error instead of as an uncaught exception.
7483 * (bug 25325) added support for wlshow filtering (bots/anon/minor/patrolled)
7484 to action=feedwatchlist
7485 * WDDX formatted output will actually be formatted (and normal output will no
7486 longer be), and will no longer choke on booleans.
7487
7488 === API internal changes in 1.21 ===
7489 * For debugging only, a new global $wgDebugAPI removes many API restrictions
7490 when true.
7491 Never use on the production servers, as this flag introduces security holes.
7492 Whenever enabled, a warning will also be added to all output.
7493 * ApiModuleManager now handles all submodules (actions,props,lists) and
7494 instantiation
7495 * Query stores prop/list/meta as submodules
7496 * ApiPageSet can now be used in any action to process titles/pageids/revids or
7497 any generator.
7498 * BREAKING CHANGE: ApiPageSet constructor now has two params instead of three,
7499 with only the first one keeping its meaning. ApiPageSet is now derived from
7500 ApiBase.
7501 * BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were
7502 deleted.
7503 * ApiQueryGeneratorBase::setGeneratorMode() now requires a pageset param.
7504 * $wgAPIGeneratorModules is now obsolete and will be ignored.
7505 * Added flags ApiResult::OVERRIDE and ADD_ON_TOP to setElement() and addValue()
7506 * Internal API calls will now include <warnings> in case of unused parameters
7507
7508 === Languages updated in 1.21 ===
7509
7510 MediaWiki supports over 350 languages. Many localisations are updated
7511 regularly. Below only new and removed languages are listed, as well as
7512 changes to languages because of Bugzilla reports.
7513
7514 * South Azerbaijani (azb) added.
7515 * (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch').
7516 * (bug 45436) Autonym for pi (Pali) is now 'पालि' (was ''पाळि').
7517 * (bug 34977) Now formatted numbers in Spanish use space as separator
7518 for thousands, as mandated by the Real Academia Española.
7519 * (bug 35031) Kurdish formatted numbers now use period and comma
7520 as separators for thousands and decimals respectively.
7521
7522 === Other changes in 1.21 ===
7523 * BREAKING CHANGE: (bug 44385) Removed the jquery.collapsibleTabs module and
7524 moved it to the Vector extension. It was entirely Vector-extension-specific,
7525 deeply interconnected with the extension, and this functionality really
7526 belongs to the extension instead of the skin anyway. In the unlikely case you
7527 were using it, you have to either copy it to your extension, or install the
7528 Vector extension (and possibly disable its features using config settings if
7529 you don't want them).
7530 * Experimental IBM DB2 support was removed due to lack of interest and
7531 maintainership
7532 * BREAKING CHANGE: Filenames of maintenance scripts were standardized into
7533 lowerCamelCase format, and made more explicit:
7534 - clear_stats.php -> clearCacheStats.php
7535 - clear_interwiki_cache.php -> clearInterwikiCache.php
7536 - initStats.php -> initSiteStats.php
7537 - proxy_check.php -> proxyCheck.php
7538 - stats.php -> showCacheStats.php
7539 - showStats.php -> showSiteStats.php.
7540 Class names were renamed accordingly:
7541 - clear_stats -> ClearCacheStats
7542 - InitStats -> InitSiteStats
7543 - CacheStats -> ShowCacheStats
7544 - ShowStats -> ShowSiteStats.
7545 * BREAKING CHANGE: (bug 38244) Removed the mediawiki.api.titleblacklist module
7546 and moved it to the TitleBlacklist extension.
7547
7548 = MediaWiki 1.20 =
7549
7550 == MediaWiki 1.20.8 ==
7551 This is a security release of the MediaWiki 1.20 branch.
7552
7553 === Changes since 1.20.7 ===
7554 * (bug 53032) SECURITY: Don't cache when a call could autocreate
7555 * (bug 55332) SECURITY: Improve css javascript detection
7556 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
7557 * Fix comma errors in various js files
7558 * Translations
7559
7560 == MediaWiki 1.20.7 ==
7561 This is a security release of the MediaWiki 1.20 branch.
7562
7563 === Changes since 1.20.6 ===
7564 * SECURITY: Fix extension detection with 2 .'s
7565 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
7566 * SECURITY: Sanitize ResourceLoader exception messages
7567 * Purge upstream caches when deleting file assets.
7568
7569 == MediaWiki 1.20.6 ==
7570 This is a security and maintenance release of the MediaWiki 1.20 branch.
7571
7572 === Changes since 1.20.5 ===
7573 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
7574 chunks of upload, during the upload process.
7575 * (bug 44327) mediawiki.user: Use session ID instead of 1-year cross-session
7576 cookies
7577 * (bug 47202) wikibits: FF2Fixes.css should not be loaded in Firefox 20.
7578 * (bug 31044) Make ResourceLoader behave in read-only mode
7579
7580 == MediaWiki 1.20.5 ==
7581 This is a security and maintenance release of the MediaWiki 1.20 branch.
7582
7583 === Changes since 1.20.4 ===
7584 * (bug 46590) Add hook AbortChangePassword to Special:ChangePassword
7585 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
7586 * Localisation updates from http://translatewiki.net.
7587 * mwdocgen.php: Implement --version option.
7588 * Remove svnstat stuff used in Doxygen generation
7589 * (bug 43594) Correctly suppress warnings that were missed after the upstream
7590 * PHP change to E_STRICT being included in E_ALL.
7591
7592 == MediaWiki 1.20.4 ==
7593 This is a security release of the MediaWiki 1.20 branch.
7594
7595 === Changes since 1.20.3 ===
7596 * (bug 47251) SECURITY: Disable external entities in Import
7597 * (bug 46859) SECURITY: Disable external entities in XMLReader
7598 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
7599
7600 == MediaWiki 1.20.3 ==
7601 This is a security and maintenance release of the MediaWiki 1.20 branch.
7602
7603 === Changes since MediaWiki 1.20.2 ===
7604 * New preference type - 'api'. Preferences of this type are not shown on
7605 Special:Preferences, but are still available via the action=options API.
7606 (Unbreaks MLEB.)
7607 * (bug 44010) Context is passed to UserGetLanguageObject.
7608 * The recursion guard on RequestContext::getLanguage() was weakened.
7609 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
7610 * (bug 44024) Fixed problems in ObjectCache when using XCache.
7611 * (bug 44010) FauxRequest leaked cookie data from primary request.
7612 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
7613 * (bug 43518) API action=unblock should return the user name, not the full user
7614 object
7615 * (bug 45355) Prevent read of arbitrary files through mwdoc-filter.php
7616
7617 == MediaWiki 1.20.2 ==
7618 This is a maintenance release of the MediaWiki 1.20 branch
7619
7620 === Changes since MediaWiki 1.20.1 ===
7621 * (bug 42638) Fix API action=options&reset=1 & unit tests.
7622 * (bug 42370) Fixed backport of 60cc060 to use mDoneWrites — caused
7623 * (bug 42592) User rights, preferences and other things are not saving in
7624 1.20.1.
7625
7626 == MediaWiki 1.20.1 ==
7627 This is a security release of the MediaWiki 1.20 branch
7628
7629 === Changes since 1.20.0 ===
7630 * (bug 42202) Validate options to prevent html injection
7631 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
7632 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
7633 * Javscript Lint fixes
7634 * (bug 40632) Remove CleanupPresentationalAttributes feature
7635 * [Database] Fixed case where trx idle callbacks might be lost.
7636
7637 == MediaWiki 1.20.0 ==
7638
7639 === PHP 5.3 now required ===
7640 Since 1.20, the lowest supported version of PHP is now 5.3.2. Please
7641 upgrade PHP if you have not done so prior to upgrading MediaWiki.
7642
7643 === Configuration changes in 1.20 ===
7644 * $wgGitRepositoryViewers defines a mapping from Git remote repository to the
7645 Gitweb instance URL used in Special:Version.
7646 * `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on
7647 servers using like nginx, lighttpd, and apache over fastcgi. MediaWiki now
7648 always extracts path info from REQUEST_URI if it's available.
7649 * The user right 'upload_by_url' is no longer given to sysops by default.
7650 This only affects installations which have $wgAllowCopyUploads set to true.
7651 * Removed f-prot support from $wgAntivirusSetup.
7652 * New variable $wgDBerrorLogTZ to provide dates in the error log in a
7653 different timezone than the wiki timezone set by $wgLocaltimezone.
7654 * New variables $wgDBssl and $wgDBcompress to enable SSL and compression for
7655 database connections, if either are available for the selected DB type.
7656 * $wgUseCombinedLoginLink now defaults to false, making MediaWiki output
7657 separate login and create account links by default.
7658
7659 === New features in 1.20 ===
7660 * Added TitleIsAlwaysKnown hook which gets called when determining if a page
7661 exists.
7662 * Added NamespaceIsMovable hook which gets called when determining if pages in a
7663 certain namespace can be moved.
7664 * Added SpecialPageBeforeExecute hook which gets called before
7665 SpecialPage::execute.
7666 * Added SpecialPageAfterExecute hook which gets called after
7667 SpecialPage::execute.
7668 * Added ORMTable, ORMRow and ORMResult classes for additional abstraction of
7669 database interaction.
7670 * Added CacheHelper and associated SpecialCachedPage and CachedAction helper
7671 classes.
7672 * (bug 32341) Add upload by URL domain limitation.
7673 * &useskin=default will now always display the default skin. Useful for users
7674 with a preference for the non-default skin to look at something using the
7675 default skin.
7676 * (bug 27619) Remove preference option to display broken links as link?
7677 * (bug 34896) jQuery JSON plugin upgraded to v2.3 (2011-09-17).
7678 * (bug 34302) Add CSS classes to email fields in user preferences.
7679 * Introduced $wgDebugDBTransactions to trace transaction status (currently
7680 PostgreSQL only).
7681 * (bug 23795) Add parser itself to ParserMakeImageParams hook.
7682 * Introduce a cryptographic random number generator source api for use when
7683 generating various tokens.
7684 * (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show
7685 redirects.
7686 * (bug 18062) New message when edit or create the local page of a shared file.
7687 * (bug 22870) Separate interface message when creating a page.
7688 * (bug 17615) nosummary option should be reassigned on preview/captcha.
7689 * (bug 34355) Add a variable and parser function for the namespace number.
7690 * (bug 35649) Special:Version now shows hashes of extensions checked out from
7691 git.
7692 * (bug 35728) Git revisions are now linked on Special:Version.
7693 * "Show Changes" on default messages shows now diff against default message text
7694 * (bug 23006) create #speciale parser function.
7695 * generateSitemap can now optionally skip redirect pages.
7696 * (bug 27757) New API command just for retrieving tokens (not page-based).
7697 * Added GitViewers hook for extensions using external git repositories to have a
7698 web-based repository viewer linked to from Special:Version.
7699 * Memcached debug logs can now be sent to their own file logs by setting
7700 $wgDebugLogFile['memcached'] to some filepath.
7701 * (bug 35685) api.php URL and other entry point URLs are now listed on
7702 Special:Version
7703 * Edit notices can now be translated.
7704 * jQuery upgraded to 1.8.2.
7705 * jQuery UI upgraded to 1.8.23.
7706 * QUnit upgraded from v1.2.0 to v1.10.0.
7707 * (bug 37604) jquery.cookie upgraded to 2011 version.
7708 * (bug 22887) Add warning and tracking category for preprocessor errors
7709 * (bug 31704) Allow selection of associated namespace on the watchlist
7710 * (bug 5445) Now remove autoblocks when a user is unblocked.
7711 * Added $wgLogExceptionBacktrace, on by default, to allow logging of exception
7712 backtraces.
7713 * Added device detection for determining device capabilities.
7714 * QUnit.newMwEnvironment now supports passing a custom setup and/or teardown
7715 function. Arguments signature has changed. First arguments is now an options
7716 object of which 'config' can be a property. Previously 'config' itself was the
7717 first and only argument.
7718 * New getCreator and getOldestRevision methods added to WikiPage class
7719 * (bug 4220) the XML dump format schema now have unique identity constraints
7720 for page and revision identifiers. Patch by Elvis Stansvik.
7721 * cleanupSpam.php now can delete spam pages if --delete was specified instead of
7722 blanking them.
7723 * Added new hook ChangePasswordForm to allow adding of additional fields in
7724 Special:ChangePassword
7725 * Added new function getDomain to AuthPlugin for getting a user's domain
7726 * (bug 23427) New magic word {{PAGEID}} which gives the current page ID.
7727 Will be null on previewing a page being created.
7728 * (bug 37627) UserNotLoggedIn() exception to show a generic error page whenever
7729 a user is not logged in.
7730 * Watched status in changes lists are no longer indicated by <strong></strong>
7731 tags with class "mw-watched". Instead, each line now has a class
7732 "mw-changeslist-line-watched" or "mw-changeslist-line-not-watched", and the
7733 title itself is surrounded by <span></span> tags with class "mw-title".
7734 * Added ContribsPager::reallyDoQuery hook allowing extensions to data to
7735 MyContribs
7736 * Added new hook ParserAfterParse to allow extensions to affect parsed output
7737 after the parse is complete but before block level processing, link holder
7738 replacement, and so on.
7739 * (bug 34678) Added InternalParseBeforeSanitize hook which gets called during
7740 Parser's internalParse method just before the parser removes
7741 unwanted/dangerous HTML tags.
7742 * Added new hook AfterFinalPageOutput to allow modifications to buffered page
7743 output before sent to the client.
7744 * (bug 36783) Implement jQuery Promise interface in mediawiki.api module.
7745 * Make dates in sortable tables sort according to the page content language
7746 instead of the site content language
7747 * (bug 37926) Deleterevision will no longer allow users to delete log entries,
7748 the new deletelogentry permission is required for this.
7749 * (bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
7750 'files' and 'subcats'
7751 * (bug 38362) Make Special:Listuser includeable on wiki pages.
7752 * Added support in jquery.localize for placeholder attributes.
7753 * (bug 38151) Implemented mw.user.getRights for getting and caching the current
7754 user's user rights.
7755 * Session storage can now configured independently of general object cache
7756 storage, by using $wgSessionCacheType. $wgSessionsInMemcached has been
7757 renamed to $wgSessionsInObjectCache, with the old name retained for backwards
7758 compatibility. When this feature is enabled, the expiry time can now be
7759 configured with $wgObjectCacheSessionExpiry.
7760 * Added a Redis client for object caching.
7761 * Implemented mw.user.getGroups for getting and caching user groups.
7762 * (bug 37830) Added $wgRequirePasswordforEmailChange to control whether password
7763 confirmation is required for changing an email address or not.
7764 * HTMLForm mutators can now be chained (they return $this)
7765 * A new message, "api-error-filetype-banned-type", is available for formatting
7766 API upload errors due to the file extension blacklist.
7767 * New hook 'ParserTestGlobals' allows to set globals before running parser
7768 tests.
7769 * Allow importing pages as subpage.
7770 * Add lang and hreflang attributes to language links on Login page.
7771 * (bug 22749) Create Special:MostInterwikis.
7772 * Show change tags when transclude Special:Recentchanges(linked) or
7773 Special:Newpages.
7774 * (bug 23226) Add |class= parameter to image links in order to add class(es) to
7775 HTML img tag.
7776 * (bug 39431) SVG animated status is now shown in long description.
7777 * (bug 39376) jquery.form upgraded to 3.14.
7778 * SVG files will now show the actual width in the SVG's specified units
7779 in the metadata box.
7780 * Added ResourceLoader module "jquery.jStorage" (v0.3.0, http://jStorage.info/).
7781 * (bug 39273) Added AJAX support for "Show changes" (diff) in LivePreview.
7782 * Added ResourceLoader module "jquery.badge".
7783 * mw.util.$content now points to the overall content area in the skin rather
7784 than just page text content area. If you need the old behavior please use
7785 $( '#mw-content-text').
7786 * jsMessage has been replaced with a floating bubble notification system
7787 complete with auto-hide, multi-message support, and message replacement tags.
7788 * jquery.messageBox which appears to be unused by both core and extensions has
7789 been removed.
7790 * (bug 34939) Made link parsing insensitive ([HttP://]).
7791 * (bug 40072) Add CSS classes to items in output of ChangesList pages.
7792 * Added $wgCopyUploadProxy global to define which proxy to use for copy
7793 uploads.
7794 * (bug 40448) mediawiki.legacy.mwsuggest has been replaced with a new module,
7795 mediawiki.searchSuggest, based on SimpleSearch from Extension:Vector.
7796
7797 === Known issues in 1.20.0 ===
7798 These are issues that we're targeting to be fixed in a later release
7799 in the 1.20 series. Issues may be added or removed from this list as
7800 we see fit. For now, it is comprised of those bugs on the 1.20.0
7801 milestone in Bugzilla.
7802
7803 * (bug 35894): Reports of secret key generation "hanging" on windows
7804 This is probably a bug that has been fixed in PHP. If you run
7805 into this, try upgrading your PHP.
7806 * (bug 38334): PHP Notice: Undefined index: href in /www/w/skins/Vector.php on
7807 line 416
7808 We think this is a problem in some extension. If you see this,
7809 try disabling your extensions and check out the logging patch on
7810 this bug. Or try this patch:
7811 <https://gerrit.wikimedia.org/r/#/c/27937/1/skins/Vector.php>
7812 * (bug 39268): [Regression] Toolbar inserts in main textarea only (instead of
7813 the focussed textarea)
7814 This should only be an issue if you are using the ProofreadPage
7815 extension.
7816 * (bug 40641): Clicking "others" in Special:Version asks to download a file
7817 If you encounter this, you can tell your webserver to serve the
7818 CREDITS file with text/plain MIME type to fix it.
7819
7820 === Bug fixes in 1.20 ===
7821 * (bug 40939): [Regression] InfoAction: Call to a member function getUserText()
7822 on a non-object
7823 * (bug 40780): searchsuggest-containing line ("containing...") doesn't include
7824 the entered text
7825 * (bug 37714): [Regression] Incomplete log entries
7826 * (bug 27202): API: Add timestamp sort to list=allimages
7827 * (bug 30245) Use the correct way to construct a log page title.
7828 * (bug 34237) Regenerate an empty user_token and save to the database
7829 when we try to set the user's cookies for login.
7830 * (bug 32210) New edit emails for watched pages always provide a link to the
7831 edit which triggered the mail.
7832 * (bug 12021) Added user talk link on Special:Listusers.
7833 * (bug 34445) section edit and TOC hide/show links are excluded from selection
7834 and copy/paste on supporting browsers.
7835 * (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob
7836 history compression method.
7837 * (bug 34702) Localised parentheses are now used in more special pages.
7838 * (bug 34723) When editing a script page on a RTL wiki the textbox should be
7839 LTR.
7840 * (bug 34762) Calling close() on a DatabaseBase object now clears the
7841 connection.
7842 * (bug 34863) Show deletion log extract on non-existent file pages if
7843 applicable.
7844 * (bug 28019) Let ?preloadtitle=foo be passed on to target of
7845 Special:MyPage and Special:MyTalk.
7846 * (bug 34929) Show the correct diff when a section edit is rejected by the spam
7847 filter.
7848 * (bug 15816) Add a switch for SETting the search_path (Postgres).
7849 * (bug 34521) Returning to the previous page after logging in loses any array-
7850 valued parameters in the query string.
7851 * (bug 34735) Updated compressOld.php documentation to mention the different
7852 usages of -s and -n parameters depending on compression type.
7853 * (bug 13896) Rendering of devanagari numbers in automatic '#' number lists.
7854 * (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when
7855 trying to defer foreign key for externallinks.
7856 * (bug 32748) Printer friendly version of article decode Unicode chars as a
7857 pretty IRI in footer.
7858 * Removed white border around thumbnails in galleries.
7859 * (bug 31236) "Next" and "Previous" buttons are shown incorrectly in
7860 an RTL environment.
7861 * (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of
7862 Subversion when invoked with the --modified option.
7863 * (bug 35069) On history pages, the " . . " separator after the number of
7864 characters changed in a revision is now suppressed if no text would follow.
7865 * (bug 18704) Add a unique CSS class or ID to the tagfilter table row at
7866 RecentChanges
7867 * (bug 33564) transwiki import sometimes result in invalid title.
7868 * (bug 35572) Blocks appear to succeed even if query fails due to wrong DB
7869 structure
7870 * (bug 31757) Add a word-separator between help-messages in HTMLForm
7871 * (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error.
7872 * (bug 32604) Some messages needs escaping of wikitext inside username.
7873 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with
7874 wfCgiToArray.
7875 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
7876 in user language instead of content language.
7877 * (bug 35264) Wrong type used for <ns> in export.xsd
7878 * (bug 24985) Use $wgTmpDirectory as the default temp directory so that people
7879 who don't have access to /tmp can specify an alternative.
7880 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
7881 * (bug 35727) mw.Api ajax() should put token parameter last.
7882 * (bug 37708) mw.Uri.clone() should make a deep copy.
7883 * (bug 38024) ResourceLoader should not create empty stylesheets for modules
7884 that don't have stylesheets.
7885 * (bug 36812) Special:ActiveUsers "Hide bots" should hide users from any group
7886 having the "bot" user right, instead of just the default "bot" user group.
7887 * (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple <ul> tags.
7888 * (bug 36991) jquery.tablesorter should extract date sort format from date
7889 string instead of global config. Dates like "April 1 2012" and "1 April 2012"
7890 now sort correctly regardless of the content language's DefaultDateFormat.
7891 * (bug 31895) mw.loader mode now correct when triggered from a $.fn.ready
7892 handler that is bound before mediawiki.js's handler (e.g. browser-userscripts
7893 like greasemonkey).
7894 * (bug 38152) jquery.tablesorter: Use .data() instead of .attr(), so that live
7895 values are used instead of just the fixed values from when the tablesorter
7896 was initialized.
7897 * (bug 38093) Gender of changed user groups missing in Special:Log/rights
7898 * (bug 35893) Special:Block needs to load mediawiki.special.block.js.
7899 * (bug 37331) ResourceLoader modules sometimes execute twice in Firefox
7900 * (bug 31644) GlobalUsage, CentralAuth and AbuseLog extensions should not use
7901 insecure links to foreign wikis in the WikiMap.
7902 * (bug 36073) Avoid duplicate element IDs on File pages.
7903 * (bug 25095) Special:Categories should also include the first relevant item
7904 when "from" is filled.
7905 * (bug 35526) jquery.tablesorter now uses a stable sort.
7906 * (bug 38953) --memory-limit switch not working for runJobs.php.
7907 * (bug 33037) Make subpage of Special:newfiles control how many files
7908 are returned, like in previous versions.
7909 * (bug 36524) "Show" options on Special:RecentChanges and
7910 Special:RecentChangesLinked are now remembered between successive clicks.
7911 * (bug 26069) Page title is no longer "Error" for all error pages.
7912 * (bug 39297) Show warning if thumbnail of animated image will not be animated.
7913 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
7914 PCRE is compiled without support for unicode properties.
7915 * (bug 30390) Suggested file name on Special:Upload should not contain
7916 illegal characters.
7917 * EXIF below sea level GPS altitude data is now shown correctly.
7918 * (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a
7919 currency.
7920 * (bug 39273) "Show changes" should not be incorrectly displayed in the Live
7921 Preview state.
7922 * Made body-content lang attribute honor the variant language when it is set.
7923 * (bug 36761) "Mark pages as visited" now submits previously established filter
7924 options.
7925 * (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error.
7926 * (bug 36329) Accesskey tooltips for Firefox 14 on Mac should use "ctrl-option-"
7927 prefix.
7928 * (bug 32552) Drop unused database field cat_hidden from table category.
7929 * (bug 24502) Do not allow multiple language links to the same language.
7930 * (bug 40214) Category pages no longer use deprecated "width" HTML attribute.
7931 * (bug 39941) Add missing stylesheets to the installer pages
7932 * In HTML5 mode, allow new input element types values (such as color, range..)
7933 * (bug 36151) mw.Title: Don't limit extension in title parsing.
7934 * (bug 38158) jquery.byteLimit sometimes causes an unexpected 0 maxLength being
7935 enforced.
7936 * (bug 38163) jquery.byteLimit incorrectly limits input when using methods other
7937 than basic per-char typing.
7938 * (bug 34495) patrol log now credit the user patrolling (instead of patrolled
7939 user).
7940 * (bug 31676) ResourceLoader should work around IE stylesheet limit.
7941 * (bug 40498) ResourceLoader should not output an empty "@media print { }"
7942 block.
7943 * (bug 40500) ResourceLoader should not ignore media-type for urls in debug
7944 mode.
7945 * (bug 40660) ResourceLoaderWikiModule should not convert "&nbsp;" to a space
7946 for pages from the MediaWiki-namespace.
7947 * (bug 40329) (bug 40632) Removed CleanupPresentationalAttributes feature.
7948
7949 === API changes in 1.20 ===
7950 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
7951 * (bug 34313) MediaWiki API intro message about "HTML format" should mention
7952 the format parameter.
7953 * (bug 32384) Allow descending order for list=watchlistraw.
7954 * (bug 31883) Limit of bkusers of list=blocks and titles of action=query is
7955 not documented in API help.
7956 * (bug 32492) API now allows editing using pageid.
7957 * (bug 32497) API now allows changing of protection level using pageid.
7958 * (bug 32498) API now allows comparing pages using pageids.
7959 * (bug 30975) API import of pages with invalid characters in this wiki leads to
7960 Fatal Error.
7961 * (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per
7962 pageid.
7963 * (bug 34927) Output media_type for list=filearchive.
7964 * (bug 28814) add properties to output of action=parse.
7965 * (bug 33224) add variants of content language to meta=siteinfo.
7966 * (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit
7967 is reached.
7968 * The paraminfo module now also contains result properties for most modules.
7969 * (bug 32348) Allow descending order for list=alllinks.
7970 * (bug 31777) Upload unknown error ``fileexists-forbidden''.
7971 * (bug 32382) Allow descending order for list=iwbacklinks.
7972 * (bug 32381) Allow descending order for list=backlinks, list=embeddedin and
7973 list=imageusage.
7974 * (bug 32383) Allow descending order for list=langbacklinks.
7975 * API meta=siteinfo can now return the list of known variable IDs.
7976 * (bug 35980) list=deletedrevs now honors drdir correctly in "all" mode
7977 (mode #3).
7978 * (bug 29290) API avoids mangling fields in continuation parameters
7979 * (bug 36987) API avoids mangling fields in continuation parameters
7980 * (bug 30836) siteinfo prop=specialpagealiases will no longer return nonexistent
7981 special pages
7982 * (bug 38190) Add "required" flag to some token params for hint in api docs.
7983 * (bug 27567) Add file repo support to prop=duplicatefiles.
7984 * (bug 27610) Add archivename for non-latest image version to list=filearchive
7985 * (bug 38231) Add xml parse tree to action=parse.
7986 * Watchlist notification timestamp may be queried by page and may be updated via
7987 the API.
7988 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
7989 * (bug 39032) ApiQuery generates help in constructor.
7990 * (bug 11142) Improve file extension blacklist error reporting in API upload.
7991 * (bug 39665) List of query generators is now not built using reflection,
7992 instead it is defined in code.
7993 * (bug 35993) Deprecated gettoken parameter - support will be removed in 1.22.
7994
7995 === Languages updated in 1.20 ===
7996
7997 MediaWiki supports over 350 languages. Many localisations are updated
7998 regularly. Below only new and removed languages are listed, as well as
7999 changes to languages because of Bugzilla reports.
8000
8001 * Emilian (egl) added.
8002 * Tornedalen Finnish (fit) added.
8003 * Mizo (lus) added.
8004 * Santali (sat) added.
8005 * (bug 34192) Namespace gender aliases for Albanian languages (sq & aln).
8006 * (bug 35541) Namespace gender aliases for Croatian (hr).
8007 * (bug 36012) Space in $separatorTransformTable should be non-breaking in
8008 Portuguese, Esperanto and Udmurt.
8009 * Turoyo (tru) added.
8010 * Cyrillic-Latin language converter added for Uzbek (uz).
8011
8012 === Other changes in 1.20 ===
8013 * The user_token field is now left empty until a user attempts to login and
8014 cookies need to be set. It is also now possible to reset every user's
8015 user_token simply by clearing the values in the user_token column.
8016 * Removed ./tests/qunit/index.html from core. It wasn't actively maintained and
8017 has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced,
8018 which actually uses ResourceLoader, LocalSettings and the Skin.
8019 * Removed $wgDBtransactions global. This was only checked in one class
8020 and only applies to MyISAM or similar DBs. Those should only be used
8021 for archived sites anyway. We can't get edit conflicts on such sites,
8022 so the WikiPage code wasn't useful there either.
8023 * Deprecated mw.user.name in favour of mw.user.getName.
8024 * Deprecated mw.user.anonymous in favour of mw.user.isAnon.
8025 * Deprecated DatabaseBase functions newFromParams(), newFromType(), set(),
8026 quote_ident(), and escapeLike() were removed.
8027 * Use of __DIR__ instead of dirname( __FILE__ ).
8028 * OutputPage::wrapWikiMsg() no longer supports the 'options' parameter. It was
8029 not used and complicated migration to Message class.
8030 * Live preview functionality has been improved and moved into the
8031 'mediawiki.action.edit.preview' module. The old 'mediawiki.legacy.preview'
8032 module has been removed.
8033 * (bug 40448) Removed mediawiki.legacy.mwsuggest module, and removed the
8034 following that has become obsolete:
8035 - globals $wgEnableMWSuggest and $wgMWSuggestTemplate.
8036 - mw.config.values wgMWSuggestTemplate and wgSearchNamespaces.
8037 - method SearchEngine::getMWSuggestTemplate().
8038
8039 == MediaWiki 1.19 ==
8040
8041 == MediaWiki 1.19.24 ==
8042
8043 This is a security and maintenance release of the MediaWiki 1.19 branch.
8044
8045 === Changes since 1.19.23 ===
8046
8047 * ({{bug|T85848}}, {{bug|T71210}}) SECURITY: Don't parse XMP blocks that
8048 contain XML entities, to prevent various DoS attacks.
8049 * ({{bug|T88310}}) SECURITY: Always expand xml entities when checking SVG's.
8050 * ({{bug|T73394}}) SECURITY: Escape > in Html::expandAttributes to prevent XSS.
8051 * ({{bug|T85855}}) SECURITY: Don't execute another user's CSS or JS on preview.
8052 * ({{bug|T85349}}, {{bug|T85850}}, {{bug|T86711}}) SECURITY: Multiple issues
8053 fixed in SVG filtering to prevent XSS and protect viewer's privacy.
8054
8055 == MediaWiki 1.19.23 ==
8056
8057 This is a security and maintenance release of the MediaWiki 1.19 branch.
8058
8059 === Changes since 1.19.22 ===
8060
8061 * (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which
8062 could lead to xss. Permission to edit MediaWiki namespace is required to
8063 exploit this.
8064 * (bug T74222) The original patch for T74222 was reverted as unnecessary.
8065 * Add missing $ in front of variable in OutputPage.php
8066
8067 == MediaWiki 1.19.22 ==
8068
8069 This is a security and maintenance release of the MediaWiki 1.19 branch.
8070
8071 === Changes since 1.19.21 ===
8072
8073 * ({{bug|66776}}, {{bug|71478}}) SECURITY: User PleaseStand reported a way to
8074 inject code into API clients that used format=php to process pages that
8075 underwent flash policy mangling. This was fixed along with improving how the
8076 mangling was done for format=json, and allowing sites to disable the mangling
8077 using $wgMangleFlashPolicy.
8078 * ({{bug|72222}}) SECURITY: Do not show log action when the entry is revdeleted
8079 with DELETED_ACTION. NOTICE: this may be reverted in a future release pending a
8080 public RFC about the desired functionality. This issue was reported by user
8081 Bawolff.
8082 * ({{bug|71621}}) Make allowing site-wide styles on restricted special pages a
8083 config option.
8084 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
8085 might be a flash policy directive configurable.
8086
8087 == MediaWiki 1.19.21 ==
8088 This is a maintenance release of the MediaWiki 1.19 branch.
8089
8090 === Changes since 1.19.20 ===
8091 * (bug 67440) Allow classes to be registered properly from installer.
8092 * (bug 47281) Fixed a dumpBackup.php error with --uploads
8093 --include-filesoptions: Unable to find the wrapper "mwstore".
8094 * System administrators are encouraged to upgrade to this release or 1.22+ and
8095 produce a full data dump.
8096 https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki
8097 * (bug 63049) Removed anonymous functions from ApiFormatBase, added in1.19.13 as
8098 part of the fix for bug 61362, for PHP 5.2 compatibility.
8099
8100 == MediaWiki 1.19.20 ==
8101 This is a security release of the MediaWiki 1.19 branch.
8102
8103 === Changes since 1.19.19 ===
8104 * (bug 70672) SECURITY: OutputPage: Remove separation of css and js module
8105 allowance.
8106
8107 == MediaWiki 1.19.19 ==
8108 This is a security release of the MediaWiki 1.19 branch.
8109
8110 === Changes since 1.19.18 ===
8111 * (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style>
8112 elements; normalize style elements and attributes before filtering; add checks
8113 for attributes that contain css; add unit tests for html5sec and reported
8114 bugs.
8115
8116 == MediaWiki 1.19.18 ==
8117 This is a security release of the MediaWiki 1.19 branch.
8118
8119 === Changes since 1.19.17 ===
8120 * (bug 68187) SECURITY: Prepend jsonp callback with comment.
8121 * (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and
8122 ParserOutput.
8123
8124 == MediaWiki 1.19.17 ==
8125 This is a security and maintenance release of the MediaWiki 1.19 branch.
8126
8127 === Changes since 1.19.16 ===
8128 * (bug 65839) SECURITY: Prevent external resources in SVG files.
8129 * (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like
8130 only extracting the tail of the file partially or not at all.
8131
8132 == MediaWiki 1.19.16 ==
8133 This is a security release of the MediaWiki 1.19 branch.
8134
8135 === Changes since 1.19.15 ===
8136 * (bug 65501) SECURITY: Don't parse usernames as wikitext on
8137 Special:PasswordReset.
8138
8139 == MediaWiki 1.19.15 ==
8140 This is a security and maintenance release of the MediaWiki 1.19 branch.
8141
8142 === Changes since 1.19.14 ===
8143 Fixed resetting passwords.
8144 * (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to
8145 appear blank or with missing text.
8146
8147 == MediaWiki 1.19.14 ==
8148 This is a security and maintenance release of the MediaWiki 1.19 branch.
8149
8150 === Changes since 1.19.13 ===
8151 * (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword.
8152 * (bug 62467) Set a title for the context during import on the cli.
8153
8154 == MediaWiki 1.19.13 ==
8155 This is a security and maintenance release of the MediaWiki 1.19 branch.
8156
8157 === Changes since 1.19.12 ===
8158 * (bug 61362) SECURITY: API: Don't find links in the middle of api.php links.
8159 * Use the correct branch of the extensions' git repositories.
8160
8161 == MediaWiki 1.19.12 ==
8162 This is a security release of the MediaWiki 1.19 branch.
8163
8164 === Changes since 1.19.11 ===
8165 * (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted
8166 namespaces. Also disallow iframe elements. * User will get an error including
8167 the namespace name if they use a non- whitelisted namespace.
8168 * (bug 61346) SECURITY: Make token comparison use constant time. It seems like
8169 our token comparison would be vulnerable to timing attacks. This will take
8170 constant time.
8171
8172 == MediaWiki 1.19.11 ==
8173 This is a security release of the MediaWiki 1.19 branch.
8174
8175 === Changes since 1.19.10 ===
8176 * (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media
8177 formats
8178
8179 == MediaWiki 1.19.10 ==
8180 This is a security release of the MediaWiki 1.19 branch.
8181
8182 === Changes since 1.19.9 ===
8183 * (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads
8184 * (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks
8185 * (bug 58472) SECURITY: Disallow -o-link in styles
8186 * (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads
8187 * (bug 58699) SECURITY: Fix RevDel log entry information leaks
8188
8189 == MediaWiki 1.19.9 ==
8190 This is a security and maintenance release of the MediaWiki 1.19 branch.
8191
8192 === Changes since 1.19.8 ===
8193 * (bug 53032) SECURITY: Don't cache when a call could autocreate
8194 * (bug 55332) SECURITY: Improve css javascript detection
8195 * (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload
8196 * Translations
8197
8198 == MediaWiki 1.19.8 ==
8199 2013-09-03
8200
8201 This is a security and maintenance release of the MediaWiki 1.19 branch.
8202
8203 === Changes since 1.19.7 ===
8204 * SECURITY: Sanitize ResourceLoader exception messages
8205 * SECURITY: Token-getting functions will fail when using jsonp callbacks.
8206 * SECURITY: Fix extension detection with 2 .'s
8207 * Allow a string other than '*' as condition for DatabaseBase::delete()
8208 * Purge upstream caches when deleting file assets.
8209 * jquery.tablesorter: Add missing dependency on jquery.mwExtension
8210
8211 == MediaWiki 1.19.7 ==
8212 2013-05-21
8213
8214 This is a security release of the MediaWiki 1.19 branch
8215
8216 === Changes since 1.19.6 ===
8217 * (bug 48306) SECURITY: Run file validation checks on chunked uploads, and
8218 chunks of upload, during the upload process.
8219
8220 == MediaWiki 1.19.6 ==
8221 2013-04-30
8222
8223 This is a security and maintenance release of the MediaWiki 1.19 branch
8224
8225 === Changes since 1.19.5 ===
8226 * (bug 47304) SECURITY: Check SVG xml encoding against whitelist
8227 * (bug 46590) Added AbortChangePassword hook to allow extensions to abort
8228 password changes from Special:ChangePassword
8229 * Localisation updates from http://translatewiki.net.
8230 * mwdocgen.php: Implement --version option.
8231 * Remove svnstat stuff used in Doxygen generation
8232 * E_USER_DEPRECATED undefined prior to php 5.3
8233
8234 == MediaWiki 1.19.5 ==
8235 2013-04-15
8236
8237 This is a security and maintenance release of the MediaWiki 1.19 branch
8238
8239 === Changes since 1.19.4 ===
8240 * (bug 47251) SECURITY: Disable external entities in Import
8241 * (bug 46859) SECURITY: Disable external entities in XMLReader
8242 * (bug 46084) SECURITY: Sanitize $limitReport before outputting
8243 * (bug 43594) Fix notices displayed on PHP 5.4
8244 * (bug 40585) Don't drop 'step="any"' in HTML input fields.
8245
8246 == MediaWiki 1.19.4 ==
8247 2013-03-04
8248
8249 This is a security release of the MediaWiki 1.19 branch
8250
8251 === Changes since 1.19.3 ===
8252 * New preference type - 'api'. Preferences of this type are not shown on
8253 Special:Preferences, but are still available via the action=options API.
8254 * (bug 44010) Context is passed to UserGetLanguageObject.
8255 * The recursion guard on RequestContext::getLanguage() was weakened.
8256 * (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST
8257 * (bug 43518) API action=unblock should return the user name, not the full user
8258 object
8259
8260 == MediaWiki 1.19.3 ==
8261 2012-11-30
8262
8263 This is a security release of the MediaWiki 1.19 branch
8264
8265 === Changes since 1.19.2 ===
8266 * (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391)
8267 * (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit
8268 * Increase permitted runtime for testParserTest (only used for continuous
8269 integration).
8270 * Updated messages translations from http://translatewiki.net/
8271
8272 == MediaWiki 1.19.2 ==
8273
8274 This is a security release of the MediaWiki 1.19 branch
8275
8276 === Changes since 1.19.1 ===
8277 * (bug 39700) File: link to non-existing file can inject html
8278 * (bug 39823) Hidden block text leaking to admins
8279 * (bug 39184) LDAP password leakage
8280 * (bug 39180) Disallow framing of api results
8281 * (bug 37587) Enforce language codes to be html safe
8282 * (bug 39824) Check global blocks on account creation
8283
8284 == MediaWiki 1.19 ==
8285
8286 MediaWiki 1.19 is a large release that contains many new features and bug
8287 fixes. This is a summary of the major changes of interest to users.
8288 You can consult the RELEASE-NOTES-1.19 file for the full list of changes in
8289 this version.
8290
8291 Our thanks go to everyone who helped to improve MediaWiki by testing the beta
8292 release and submitting bug reports.
8293
8294 === Changes since 1.19.1 ===
8295 * (bug 38406) Properly quote table names in DatabaseBase::tableName()
8296 * (bug 38249) Parser will throw an exception instead of outputting gibberish if
8297 PCRE is compiled without support for unicode properties.
8298
8299 === Changes since 1.19.0 ===
8300 * (bug 36568) Fixed "Illegal string offset 'LIMIT'" warnings in updater
8301 * (bug 36938) Correctly escape uselang attribute to prevent xss
8302 * Expanded Blacklist for SVG Files
8303
8304 === Changes since 1.19 beta 2 ===
8305 * Special:Watchlist no longer sets links to feed when the user is anonymous.
8306 * (bug 35961) Hash comparison should always be strict.
8307 * Fix broken email confirmation expiration caused by MWCryptRand changes.
8308 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
8309 on line 598.
8310 * (bug 36042) 'show' causes a fatal in blocks API.
8311
8312 === Changes since 1.19 beta 1 ===
8313 * (bug 35014) Including a special page no longer sets the page's title to the
8314 included page
8315 * (bug 35019) Edit summaries are no longer transformed in notification e-mails
8316 * (bug 35152) Help message for e-mail is shown again in user preferences
8317 * (bug 34887) $3 and $4 parameters are now substituted correctly in message
8318 "movepage-moved"
8319 * (bug 34841) Edit links are no longer displayed when display old page versions
8320 * (bug 34889) User name should be normalized on Special:Contributions
8321 * (bug 35051) If heading has a trailing space after == then its name is not
8322 preloaded into edit summary on section edit
8323 * (bug 31417) New ID mw-content-text around the actual page text, without
8324 categories, contentSub, ... The same div often also contains the class
8325 mw-content-ltr/rtl.
8326 * (bug 35303) Proxy and DNS blacklist blocking works again
8327 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
8328 core parser functions which operate on strings, such as padleft.
8329 * (bug 18295) Don't expose strip markers when a tag appears inside a link
8330 inside a heading.
8331 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
8332 parameter present.
8333 * (bug 34907) Fixed exposure of tokens through load.php that could have
8334 facilitated CSRF attacks.
8335 * (bug 35317) CSRF in Special:Upload.
8336
8337 === Configuration changes in 1.19 ===
8338 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
8339 * (bug 27132) movefile right granted by default to registered users.
8340 * Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
8341 * (bug 31204) Removed old user.user_options.
8342 * $wgMaxImageArea now applies to jpeg files if they are not scaled with
8343 ImageMagick.
8344 * Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of
8345 items to show by default on query pages (special pages such as Whatlinkshere).
8346 * (bug 32470) Increase the length of ug_group.
8347 * (bug 32239) Removed $wgEnableTooltipsAndAccesskeys.
8348 * Removed $wgVectorShowVariantName.
8349 * Removed $wgExtensionAliasesFiles. Use $wgExtensionMessagesFiles.
8350 * Removed $wgResourceLoaderInlinePrivateModules , now always enabled.
8351
8352 === New features in 1.19 ===
8353 * (bug 19838) Add ability to get all interwiki prefixes also if the interwiki
8354 cache is used.
8355 * $wgDnsBlacklistUrls now accepts an array with url and key as the
8356 elements to work with DNSBLs that require keys, such as
8357 Project Honeypot.
8358 * (bug 30022) Add support for custom loadScript sources to ResourceLoader.
8359 * (bug 19052) Unicode space separator characters (Zs) now terminates external
8360 links and images links.
8361 * (bug 30160) Add public method to mw.loader to get module names from registry.
8362 * (bug 15558) Parameters to special pages included in wikitext can now be passed
8363 as with templates.
8364 * Installer now issues a warning if mod_security is present.
8365 * (bug 29455) Add support for a filter callback function in jQuery byteLimit
8366 plugin.
8367 * Added two new GetLocalURL hooks to better serve extensions working on a
8368 limited type of titles.
8369 * Added a --no-updates flag to importDump.php that skips updating the links
8370 tables.
8371 * Most presentational html attributes like valign are now converted to inline
8372 css style rules. These attributes were removed from html5 and so we clean
8373 them up when $wgHtml5 is enabled. This can be disabled using
8374 $wgCleanupPresentationalAttributes.
8375 * Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not
8376 NAMESPACE) now depend on the page content language instead of the site
8377 language. In theory this sets the right magic words in system messages,
8378 although they are not used there.
8379 * (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent.
8380 * (bug 30450) Clear page_props table on page deletion.
8381 * Hook added to check for exempt from account creation throttle.
8382 * (bug 30344) Add configuration variable for setting custom priorities when
8383 generating sitemaps.
8384 * (bug 96170) Add array support for space-separated list attributes (like
8385 'class') in the Html helper class.
8386 * (bug 26470) Add checkered background image on hover on files pages.
8387 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
8388 attribute values and element contents.
8389 * Conversion script between Tifinagh and Latin for the Tachelhit language.
8390 * (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}}
8391 to stop it from replace an already existing default sort, and suppress error.
8392 * (bug 18578) Rewrote revision delete related messages to allow better
8393 localisation.
8394 * (bug 30364) LanguageConverter now depends on the page content language
8395 instead of the wiki content language.
8396 * Jump links will now be usable in CSS-capable browsers instead of only
8397 in outdated text browsers.
8398 * New common*.css files usable by skins instead of having to copy piles
8399 of generic styles from MonoBook or Vector's css.
8400 * Some deprecated presentational html attributes will now be automatically
8401 converted to css.
8402 * (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter
8403 syntax.
8404 * The default user signature now contains a talk link in addition to the user
8405 link.
8406 * (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason.
8407 * Added hook BitmapHandlerCheckImageArea.
8408 * (bug 30062) Add $wgDBprefix option to cli installer.
8409 * getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now
8410 also called when checking for 'read' permission.
8411 * Introduce $wgEnableSearchContributorsByIP which controls whether searching
8412 for an IP address redirects to the contributions list for that IP.
8413 * (bug 8859) Database::update should take array of tables too.
8414 * (bug 19698) Add "Inverse namespaces" option to Special:Contributions.
8415 * (bug 24037) Add byte length of revision to Special:Contributions.
8416 * (bug 1672) Added $wgDisableUploadScriptChecks to allow uploading of files
8417 containing HTML or JS. DISABLING THESE CHECKS IS VERY DANGEROUS.
8418 * New path mappings can be added using the WebRequestPathInfoRouter hook
8419 and adding paths to the PathRouter.
8420 * (bug 32666) Special:ActiveUsers now allows a subpage to be used as value for
8421 the "target" query parameter (eg. Special:ActiveUsers/Username).
8422 * New JavaScript variable wgPageContentLanguage.
8423 * Added new debugging toolbar, enabled with $wgDebugToolbar.
8424 * Differences in the history page now uses slightly better colors for people
8425 perceiving colors differently.
8426 * (bug 32879) Upgrade jQuery to 1.7.1.
8427 * jQuery UI upgraded to 1.8.17.
8428 * Extensions can use the 'Language::getMessagesFileName' hook to define new
8429 languages using messages files outside of core.
8430 * (bug 32512) Add 'Associated namespace' checkbox to Special:Contributions.
8431 * Added $wgSend404Code, true by default, which can be set to false to send a
8432 200 status code instead of 404 for nonexistent articles.
8433 * (bug 33447) Link to the broken image tracking category from
8434 Special:Wantedfiles.
8435 * (bug 27724) Add timestamp to job queue.
8436 * (bug 30339) Implement SpecialPage for running javascript tests. Disabled by
8437 default, due to tests potentially being harmful, not to be run on a production
8438 wiki. Enable by setting $wgEnableJavaScriptTest to true.
8439 * Extensions can use the RequestContextCreateSkin hook to override what skin is
8440 loaded in some contexts.
8441 * (bug 33456) Show $wgQueryCacheLimit on cached query pages.
8442 * (bug 10574) Add an option to allow all pages to be exported by Special:Export.
8443 * mediawiki.js Message object constructor is now publicly available as
8444 mw.Message.
8445 * (bug 29309) Allow CSS class per tooltip (tipsy).
8446 * (bug 33565) Add accesskey/tooltip to submit buttons on Special:EditWatchlist.
8447 * (bug 17959) Inline rendering/thumbnailing for Gimp XCF images.
8448 * (bug 27775) Namespace has it's own XML tag in the XML dump file.
8449 * (bug 30513) Redirect tag is now resolved in XML dump file.
8450 * sha1 xml tag added to XML dump file.
8451 * (bug 33646) Badtitle error page now emits a 400 HTTP status.
8452 * Special:MovePage now has a dropdown menu for namespaces.
8453 * (bug 34420) Special:Version now shows git HEAD sha1 when available.
8454 * (bug 33952) Refactor mw.toolbar to allow dynamic additions at any time.
8455
8456 === Bug fixes in 1.19 ===
8457 * $wgUploadNavigationUrl should be used for file redlinks if.
8458 $wgUploadMissingFileUrl is not set. The first was used for this
8459 until the second was introduced in 1.17.
8460 * BREAKING CHANGE: Style rules for wikitable are now more specific and prevent
8461 inheritance to nested tables which caused various issues (bug 30485 and bug
8462 33434). If your wiki has overridden rules for ".wikitable", please revise them
8463 and adjust where necessary. For comparison, use the "table.wikitable" section
8464 in skins/common/shared.css as base.
8465 * $wgUploadNavigationUrl is now used for file redlinks if
8466 $wgUploadMissingFileUrl is not set. The former was used for this until the
8467 second was introduced in 1.17.
8468 * (bug 27894) Move 'editondblclick' event listener down from body to
8469 div#bodyContent.
8470 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
8471 when the function exists but is disabled. Introduced
8472 Maintenance::posix_isatty().
8473 * (bug 30264) Changed installer-generated LocalSettings.php to use
8474 require_once() instead require() for included extensions.
8475 * Do not convert text in the user interface language to another script.
8476 * (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages.
8477 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
8478 warnings/notices to be thrown.
8479 * (bug 30335) Fix for HTMLForms using GET that were breaking when non-friendly
8480 URLs are used.
8481 * (bug 28649) Preventing half truncated multi-byte unicode characters when
8482 truncating log comments.
8483 * Show --batch-size option in help of maintenance scripts that support it.
8484 * (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not
8485 unescaped.
8486 * (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page
8487 by importing a new revision into it.
8488 * Allow moving the associated talk pages of subpages even if the base page
8489 has no subpage.
8490 * Per page edit-notices now work in namespaces without subpages enabled.
8491 * (bug 31081) $wgEnotifUseJobQ is no longer unconditionally enqueueing jobs.
8492 * (bug 30202) File names are now restricted on upload to 240 bytes, because of
8493 restrictions on some of the database fields.
8494 * Timezones are now recognised in user preferences when offset is different
8495 due to DST.
8496 * (bug 31692) "summary" parameter now also works when undoing revisions.
8497 * (bug 18823) "move succeeded" text displayed bluelinks even when redirect was
8498 suppressed.
8499 * (bug 19186) Special:UserLogin's title on Special:SpecialPages now says
8500 "create account" when the user cannot create an account.
8501 * (bug 31818) 'usercreated' message now supports GENDER.
8502 * (bug 32022) Our phpunit.php script can now be executed from another directory.
8503 * (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs
8504 from recent changes feeds.
8505 * (bug 30232) add current time to message wlnote on Special:Watchlist.
8506 * (bug 29110) $wgFeedDiffCutoff did not affect new pages.
8507 * (bug 32168) Add wfRemoveDotSegments for use in wfExpandUrl.
8508 * (bug 32358) Do not display "No higher resolution available" for dimensionless
8509 files (like audio files).
8510 * (bug 32168) Add wfAssembleUrl for use in wfExpandUrl.
8511 * (bug 32168) fixed - wfExpandUrl expands dot segments now.
8512 * (bug 31535) Upload comments now truncated properly, and don't have brackets.
8513 * (bug 32086) Special:PermanentLink now shows an error message when no subpage
8514 was specified.
8515 * (bug 30368) Special:Newpages now shows the new page name for moved pages.
8516 * (bug 1697) The way to search blocked usernames in block log should be clearer.
8517 * (bug 29747) eAccelerator shared memory caching has been removed since it is
8518 now disabled by default and is buggy. APC, XCache and WinCache are not
8519 affected.
8520 * Installer now refuses to install if php was not compiled with Ctype support.
8521 * (bug 29475) Remove "trackback" feature entirely from core.
8522 * (bug 32665) Special:BlockList prefills the username in the input field if
8523 using the Special:BlockList/username URL.
8524 * (bug 27721) Make JavaScript variables wgSeparatorTransformTable and
8525 wgDigitTransformTable depend on page content language so the sort script
8526 sorts correctly more often.
8527 * (bug 32230) Expose wgRedirectedFrom in JavaScript.
8528 * (bug 31212) History tab not collapsed when the screen is narrow.
8529 * (bug 15521) Use new section summary when the action of adding a new section
8530 also happens to create the page.
8531 * (bug 32960) Remove EmailAuthenticationTimestamp from database when a
8532 email address is removed.
8533 * (bug 32414) Empty page get a empty bytes attribute in Export/Dump.
8534 * (bug 33101) Viewing a User or User talk of username resembling IP ending
8535 with .xxx causes Internal error.
8536 * Warning about undefined index in certain situations when $wgLogRestrictions
8537 causes the first log type requested to be removed but not the others.
8538 * Use separate message ('prefixindex-namespace') for title of
8539 Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace.
8540 * (bug 33156) Special:Block now allows you to confirm you want to block yourself
8541 when using non-normalized username.
8542 * (bug 33246) News icon shown for news:// URLs but not for news: URLs.
8543 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
8544 cssText after DOM insertion.
8545 * (bug 30711) When adding a new section to a page with section=new, the text is
8546 now always added to the current version of the page.
8547 * (bug 31719) Fix uploads of SVGs exported by Adobe Illustrator by expanding
8548 XML entities correctly.
8549 * (bug 30914) Embeddable ResourceLoader modules (user.options, user.tokens)
8550 should be loaded in <head> for proper dependency resolution.
8551 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
8552 for backward compatibility.
8553 * (bug 31469) Make sure tracking category messages expand variables like
8554 {{NAMESPACE}} relative to correct title.
8555 * (bug 33454) ISO-8601 week-based year number (format character 'o') is now
8556 calculated correctly with respect to timezone.
8557 * (bug 32219) InstantCommons now fetches content from Wikimedia Commons using
8558 HTTPS when the local wiki is served over HTTPS.
8559 * (bug 33525) clearTagHooks doesn't clear function hooks.
8560 * (bug 33523) Function tag hooks don't appear on Special:Version.
8561 * Files with IPTC blocks we can't read no longer prevent extraction of exif
8562 or other metadata.
8563 * (bug 33587) Remove action "historysubmit" from history pages.
8564 * (bug 25800) mw.config wgAction should contain the actually performed action
8565 instead of whatever the query value contains.
8566 * (bug 4438) Add CSS hook for current WikiPage action.
8567 * (bug 33703) Common border-bottom color for <abbr> should inherit default
8568 (text) color.
8569 * (bug 33819) Display file sizes in appropriate units.
8570 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
8571 doing a null edit.
8572 * (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who
8573 made the edit.
8574 * (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of +.
8575 * (bug 33762) QueryPage-based special pages no longer misses *-summary message.
8576 * Other sizes links are no longer generated for wikis without a 404 thumbnail
8577 handler.
8578 * (bug 29454) Enforce byteLimit for page title input on Special:MovePage.
8579 * (bug 34114) CSSMin::remap() doesn't respect its $embed parameter.
8580 * Special:Contributions/newbies now shows the contributions for the user
8581 "newbies". New user contributions are obtained using the form or using
8582 ?contribs=newbie in URL.
8583 * It is now possible to delete images that have no corresponding description
8584 pages.
8585 * (bug 33165) GlobalFunctions.php line 1312: Call to a member function
8586 getText() on a non-object.
8587 * (bug 31676) Group dynamically inserted CSS into a single <style> tag, to work
8588 around a bug where not all styles were applied in Internet Explorer.
8589 * (bug 28936, bug 5280) Broken or invalid titles can't be removed from
8590 watchlist.
8591 * (bug 34600) Older skins using useHeadElement=false were broken in 1.18.
8592 * (bug 34604) [mw.config] wgActionPaths should be an object instead of a numeral
8593 array.
8594 * (bug 12262) Indents and lists are now aligned
8595 * (bug 29753) mw.util.tooltipAccessKeyPrefix should be alt-shift for Chrome
8596 on Windows
8597 * (bug 25095) Special:Categories should also include the first relevant item
8598 when "from" is filled.
8599 * (bug 34972) An error occurred while changing your watchlist settings for
8600 [[Special:WhatLinksHere/Example]]
8601
8602 === API changes in 1.19 ===
8603 * Made action=edit less likely to return "unknownerror", by returning the actual
8604 error message (which may have come from a hook call or similar).
8605 * (bug 19838) siprop=interwikimap can now use the interwiki cache.
8606 * (bug 29748) Add API search prefix support.
8607 * (bug 29684) Set forgotten parameter types in ApiQueryIWLinks.
8608 * (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid.
8609 * siprop=interwikimap and siprop=languages can use silanguagecode to have
8610 a best effort language name translation. Use CLDR extension for best result.
8611 * (bug 30230) action=expandtemplates should not silently override invalid title
8612 inputs.
8613 * (bug 18634) Create API to fetch MediaWiki's language fallback tree structure.
8614 * (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP
8615 address blocks for list=blocks.
8616 * (bug 30591) Add support to only return keys in ApiAllMessages.
8617 * The API now respects $wgShowHostnames and won't share the hostname in
8618 servedby if it's set to false.
8619 * wlexcludeuser parameter added to ApiFeedWatchlist.
8620 * (bug 7304) Links on redirect pages no longer cause the redirect page to show
8621 up as a redirect to the linked page on Special:Whatlinkshere.
8622 * (bug 32609) API: Move captchaid/captchaword of action=edit from core
8623 to Captcha extension(s).
8624 * Added 'APIGetDescription' hook.
8625 * (bug 32688) Paraminfo for parameter "generator" of the query module shows too
8626 many types.
8627 * (bug 32415) Empty page get no size attribute in API output.
8628 * (bug 31759) Undefined property notice in querypages API.
8629 * (bug 32495) API should allow purge by pageids.
8630 * (bug 33147) API examples should explain what they do.
8631 * (bug 33482) Api incorrectly calls ApiBase::parseMultiValue if allowed
8632 values is given as an array.
8633 * (bug 32948) {{REVISIONID}} and related variables are no longer blank after
8634 calling action=purge&forcelinkupdate.
8635 * (bug 34377) action=watch now parses messages using the correct title instead
8636 of "API".
8637 * (bug 35036) WikiLove messages were not automatically updated in JavaScript
8638 after having been changed on-wiki due to a bug in core
8639
8640 === Languages updated in 1.19 ===
8641
8642 MediaWiki supports over 350 languages. Many localisations are updated
8643 regularly. Below only new and removed languages are listed, as well as
8644 changes to languages because of Bugzilla reports.
8645
8646 * Canadian English (en-ca) (new).
8647 * Norwegian (bokmål) (nb) (renamed from no).
8648 * Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language.
8649 * (bug 30217) Make pt-br a fallback of pt.
8650 * (bug 31193) Set fallback language of Assamese from Bengali to English.
8651 * Update date format for dsb and hsb: month names need the genitive.
8652 * (bug 28643) Serbian variant conversion improvements (Nikola Smolenski).
8653 * (bug 29405, bug 30809) Lower diacritics are invisible in titles in Indic
8654 languages Assamese, Bengali, Hindi, Malyalam and Odiya.
8655 * (bug 32826) Titles in indic languages are partially cut.
8656 * (bug 33367) Gendered namespaces for Czech.
8657 * (bug 33014) Language::formatSize()/formatBitrate() should be able to deal
8658 with larger numbers (tera-yotta).
8659
8660 === Other changes in 1.19 ===
8661 * BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have
8662 been removed from wikibits.js.
8663 * jquery.mwPrototypes module was renamed to jquery.mwExtension.
8664 * The maintenance script populateSha1.php was renamed to the more concise
8665 populateImageSha1.php.
8666 * The Client-IP header is no longer checked for when trying to resolve a
8667 client's real IP address.
8668 * (bug 22096) Although IE5.x and below was already unsupported officially,
8669 stylesheets existing exclusively for IE5.0 and IE5.5 have now been removed
8670 (which were in skins 'chick' and 'monobook').
8671 * The constructor for CategoryView has changed, the second parameter is now a
8672 Context source and is required.
8673 * The Title::escape{Local,Full,Canonical}URL methods are deprecated, please use
8674 proper html building methods to escape the normal get{...}URL methods instead.
8675 * The $variant arguments in the Title::get{Local,Full,Link,Canonical}URL methods
8676 have been replaced with a secondary query argument.
8677 * The $variant argument in the hooks for the
8678 Title::get{Local,Full,Link,Canonical}URL methods have been removed, the
8679 variant is now part of the $query argument.
8680 * Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of
8681 using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage().
8682 * Support for the deprecated hook MagicWordMagicWords was removed.
8683 * The Xml::namespaceSelector method has been deprecated, please use
8684 Html::namespaceSelector instead (note that the parameters have changed also).
8685 * (bug 33746) Preload popular ResourceLoader modules (mediawiki.util) as
8686 stop-gap for scripts missing dependencies.
8687 New configuration variable $wgPreloadJavaScriptMwUtil has been introduced for
8688 this (set to false by default for new installations). Set to true if your wiki
8689 has a large amount of user/site scripts that are lacking dependency
8690 information. In the short to medium term these user/site scripts should be
8691 fixed by adding the used modules to the dependencies in the module registry
8692 and/or wrapping them in a callback to mw.loader.using.
8693
8694 == MediaWiki 1.18 ==
8695
8696 == MediaWiki 1.18.6 ==
8697 2012-11-29
8698
8699 This is a maintenance and security release of the MediaWiki 1.18 branch
8700
8701 === Changes since 1.18.5 ===
8702 * ([[bugzilla:40995|bug 40995]]) Prevent session fixation in Special:UserLogin
8703 (CVE-2012-5391)
8704 * ([[bugzilla:41400|bug 41400]]) Prevent linker regex from exceeding PCRE
8705 backtrack limit
8706 * Localisation updates
8707 * Increase permitted runtime for testParserTest
8708 * ([[bugzilla:36179|bug 36179]]) Unquote 'null' for PostgreSQL.
8709
8710 == MediaWiki 1.18.5 ==
8711 2012-08-30
8712
8713 This is a security release of the MediaWiki 1.18 branch
8714
8715 === Changes since 1.18.4 ===
8716 * (bug 39700) File: link to non-existing file can inject html
8717 * (bug 39823) Hidden block text leaking to admins
8718 * (bug 39184) LDAP password leakage
8719 * (bug 39180) Disallow framing of api results
8720 * (bug 37587) Enforce language codes to be html safe
8721 * (bug 39824) Check global blocks on account creation
8722
8723 == MediaWiki 1.18.4 ==
8724 2012-06-12
8725
8726 This is a security release of the MediaWiki 1.18 branch.
8727
8728 === Changes since 1.18.3 ===
8729 * (bug 36938) Correctly escape uselang attribute to prevent xss
8730 * Expanded Blacklist for SVG Files
8731
8732 == MediaWiki 1.18.3 ==
8733 2012-04-25
8734
8735 This is a maintenance release of the MediaWiki 1.18 branch.
8736
8737 === Changes since 1.18.2 ===
8738 * (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws
8739 a PHP warning.
8740 * (bug 35567) The whole password reminder e-mail is now sent in the same
8741 language.
8742 * (bug 35961) Hash comparison should always be strict.
8743 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
8744 on line 598.
8745 * Fix broken email confirmation expiration caused by MWCryptRand changes.
8746
8747 == MediaWiki 1.18.2 ==
8748 2012-03-21
8749
8750 This is a maintenance and security release of the MediaWiki 1.18 branch.
8751
8752 === Changes since 1.18.1 ===
8753 * (bug 33686) could not get a list of contributors for an article when using
8754 a SQLite database.
8755 * (Bug 33865) Exception thrown in action=parse when attempting to use the title
8756 parameter without setting the text parameter.
8757 * UserMailer could potentially throw a fatal error when a MailAddress object had
8758 an empty email address.
8759 * (Bug 33087) Exchange server rejected mail sent by MediaWiki
8760 * (bug 34528) Edit section tooltips show correction section name again
8761 * (bug 34246) MediaWiki:Whatlinkshere-summary message is displayed again in
8762 Special:Whatlinkshere
8763 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
8764 core parser functions which operate on strings, such as formatnum.
8765 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
8766 parameter present.
8767 * (bug 34907) Fixed exposure of tokens through load.php that could have
8768 facilitated CSRF attacks.
8769 * (bug 35317) CSRF in Special:Upload.
8770
8771 == MediaWiki 1.18.1 ==
8772 2012-01-11
8773
8774 This a maintenance and security release of the MediaWiki 1.18 branch.
8775
8776 === Changes since 1.18.0 ===
8777 * (bug 32712) Fix for search indexing of pages with certain unicode chars
8778 following URL.
8779 * (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for
8780 screen readers.
8781 * (bug 30774) mediawiki.html: Add support for numbers and booleans in the
8782 attribute values and element contents.
8783 * (bug 32473) [[Special:PasswordReset]] can not be used on private wiki.
8784 * (bug 32853) Fixed CACHE_DBA object cache type.
8785 * (bug 32786) Backward compatibility for extension using 1.17's
8786 Database::newFromType().
8787 * Fixed exception when using Special:WhatLinksHere on a Media: file.
8788 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
8789 * (bug 33240) Sort images are missing but referenced in css.
8790 * (bug 31921) Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR were
8791 not showing their values on preview.
8792 * (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded
8793 for backward compatibility.
8794 * (bug 30172) The check for posix_isatty() in maintenance scripts did not detect
8795 when the function exists but is disabled. Introduced
8796 Maintenance::posix_isatty().
8797 * (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting
8798 cssText after DOM insertion.
8799 * (bug 29102) Upgrades no longer fail with the error "Unknown character set:
8800 'mysql4'.
8801 * (bug 25355) Parser generates edit section links for special pages.
8802 * (bug 33321) Adding a line to MediaWiki:Sidebar that contains a pipe, but
8803 doesn't have any pipes after being transformed by MessageCache, causes
8804 exception on all pages.
8805 * Fixed recentchanges FK violation on page delete and cache purge error in
8806 updater for Oracle DB.
8807 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
8808 pollution.
8809
8810 == MediaWiki 1.18.0 ==
8811 2011-11-24
8812
8813 This is the first stable release of the MediaWiki 1.18 branch.
8814
8815 === Summary of selected changes in 1.18 ===
8816
8817 Selected changes since MediaWiki 1.17 that may be of interest:
8818
8819 * Some of the more commonly used MediaWiki extensions are now included in the
8820 release tarball. These extensions are ConfirmEdit, Gadgets, Nuke,
8821 ParserFunctions, Renameuser, Vector and WikiEditor.
8822
8823 * Gender support has been improved, meaning user pages can display the correct
8824 gender variant of "User" can now be used.
8825
8826 * MediaWiki can now detect the camera orientation of an image from the Exif
8827 metadata, and can rotate the image thumbnail appropriately. Metadata support
8828 has been generally improved, and can now extract IPTC and XMP metadata.
8829
8830 * Improved directionality support in 1.18 means that MediaWiki is better to use
8831 for RTL users.
8832
8833 * MediaWiki now supports protocol - relative URLs in links, interwiki targets
8834 and $wgServer
8835
8836 * Math support has been removed from core
8837
8838 === Changes since 1.18.0rc1 ===
8839 * (bug 32228) regression in Special:Search which did not conserve profile on
8840 new search
8841 * (bug 32460) Categories were improperly aligned in Simple and CologneBlue
8842 * (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
8843 * (bug 32582) Fix TOC show/hide link regression on IE 8
8844
8845 === Changes since 1.18 beta 1 ===
8846 * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18
8847 deployment.
8848 * (bug 32051) Fix description for wlprop=sizes.
8849 * (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
8850 under Microsoft SQL.
8851 * (bug 32100) installer complains about suhosin GET limit.
8852 * (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between
8853 portlets on IE 7 and IE 8/9 in compatibility view.
8854 * (bug 32126) Fix 1.18 regression in watchlist editor when items already removed
8855 from watchlist.
8856 * (bug 32183) remove the client-* classes added from user-agent-sniffing onto
8857 the <html> element.
8858 * (bug 29912) Unit tests break if parsertest tables are still present.
8859 * (bug 31694) During installation, tabbing order (cursor focus) goes to logo
8860 instead of 'continue'.
8861 * (bug 29102) Upgrade fails "Unknown character set: 'mysql4".
8862 * (bug 31990) justify paragraphs pref adds extra space to category listing.
8863 * (bug 20148) Better title for [[Special:Disambiguations]] page.
8864 * (bug 31502) TOC is missing on Special:EditWatchlist.
8865 * (bug 32256) API list=search stops at first invalid result.
8866 * (bug 32047) jquery.tablesorter.js: thead is before caption.
8867 * (bug 29854) Store protocol-relative links twice in the externallinks table,
8868 one with http: in el_index and once with https.
8869 * (bug 31822) Error during upgrade due to output buffer reset in stdout.
8870
8871 === Configuration changes in 1.18 ===
8872 * The WantedPages::getSQL hook has been removed and replaced with
8873 WantedPages::getQueryInfo. This may break older extensions.
8874 * The SkinTemplateBuildContentActionUrlsAfterSpecialPage,
8875 SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in
8876 favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage.
8877 * $wgUseCombinedLoginLink controls whether to output a combined
8878 login / create account link in the personal bar, or to output separate login
8879 and create account links.
8880 * Skin names are no longer created based on a ucfirst version of the key in
8881 $wgValidSkinNames but now the value. This means for
8882 $wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try
8883 loading SkinMonobook and will instead load SkinMonoBook.
8884 * $wgMaxUploadSize may now be set to an array to specify the upload size limit
8885 per upload type.
8886 * $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set
8887 $wgAPICacheHelpTimeout = 0;
8888 * OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed
8889 by the page, but $wgAllowUserJs is set to false.
8890 * Pure "Skin" class based custom skins are no longer supported, all custom skins
8891 should be put together using SkinTemplate and BaseTemplate or QuickTemplate.
8892 * The transliteration for passwords in case they were migrated from an old
8893 Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with
8894 $wgLegacyEncoding set.
8895 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we
8896 look at when finding metadata to prevent excessive resource usage.
8897 * $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed.
8898 Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the
8899 same functionality as $wgSysopRangeBans; you can use the BlockIp hook to
8900 replicate $wgSysopUserBans functionality.
8901 * The options on the block form have been standardised such that checking a box
8902 makes the block 'more serious'; so while "check to prevent account creation"
8903 and "check to enable autoblock" remain the same, "check to allow user-talk
8904 edit" is reversed to "check to *disable* user-talk edit", and "check to block
8905 anon-only" becomes "check to block logged-in users too". The default settings
8906 remain the same.
8907 * Most of the field names on the Special:Block form have been changed, which
8908 will probably break screen-scraping bots.
8909 * (bug 26866) The 'trackback' right is no longer granted to sysops by default.
8910 $wgUseTrackbacks is already false by default.
8911 * (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least
8912 *appearing* to hide article elements, has been removed. Use the
8913 ParserFunctions extension to actually remove unwanted elements from the
8914 output.
8915 * (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
8916 math conversion after upgrading, obtain the Math extension from SVN or from
8917 https://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
8918 require_once "$IP/extensions/Math/Math.php";
8919 * $wgProfiler is now a configuration array, see StartProfiler.sample for
8920 details.
8921 * $wgProfiling has been removed.
8922 * The spyc library is now no longer included in phase3.
8923 * (bug 28343) Unused preferences contextlines/contextchars have been removed
8924 * $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead.
8925 * $wgProto has been removed. You now only need to set $wgServer to change the
8926 URL protocol.
8927 * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed.
8928 * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been
8929 removed.
8930 * $wgAllowUserSkin (deprecated in 1.16) has now been removed.
8931 * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed.
8932 * LogReader and LogViewer classes (deprecated in 1.14) have now been removed.
8933 * (bug 26033) Added $wgArticleCountMethod to select the method to use to say
8934 whether a page is an article or not. $wgUseCommaCount is now deprecated.
8935 * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core,
8936 and the functionality has been moved to the relevant extensions. See
8937 https://www.mediawiki.org/wiki/Extension:DublinCoreRdf and
8938 https://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate.
8939 * (bug 21107) Split error "customcssjsprotected" into separate messages for JS
8940 and CSS
8941 * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant
8942 feature was removed in about 1.5.
8943 * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText
8944 hooks have been removed.
8945 * New hook "Collation::factory" to allow extensions to create custom
8946 category collations.
8947 * $wgGroupPermissions now supports per namespace permissions.
8948 * $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to
8949 null will cause MediaWiki to determine if auto-rotation is available.
8950
8951 === New features in 1.18 ===
8952 * BREAKING CHANGE: action=watch / action=unwatch now requires a token.
8953 * BREAKING CHANGE: Article class hierarchy split into WikiPage (backend)
8954 and Article (frontend) hierarchies. Several hooks now pass a WikiPage object
8955 instead of an Article object. These hooks all use an $article parameter as
8956 documented in hooks.txt. Extensions should be updated to account for this,
8957 though most won't require any changes.
8958 * (bug 27860) Minor edit after clicking 'new section' tab
8959 Now the "This is a minor edit" checkbox is not available when you
8960 create a page or new section.
8961 * (bug 8130) Query pages should limit to content namespaces, not just main
8962 namespace.
8963 * Special:Contribs now redirects to Special:Contributions.
8964 * (bug 6672) Images are now autorotated according to their EXIF orientation.
8965 This only affects thumbnails; the source remains unrotated.
8966 * (bug 25708) Update case mappings and normalization to Unicode 6.0.0.
8967 * New hook ArticlePrepareTextForEdit added, called when preparing text to be
8968 saved.
8969 * New parser option PreSaveTransform added, allows the pre-save transformation
8970 to be selectively disabled.
8971 * Alternative to $wgHooks implemented, using the new Hooks class.
8972 * Add width parameter to Special:Filepath to allow getting the file path of a
8973 thumbnail.
8974 * (bug 26870) Add size to {{filepath:}}.
8975 * Upload warnings now show a thumbnail of the uploaded file.
8976 * Introduced the edittools-upload message, which will be inserted under the
8977 upload form instead of edittools if available.
8978 * (bug 26285) Extensions will be automatically generated on upload if the user
8979 specified a filename without extension.
8980 * (bug 26851) Special:UserRights now allows to prefill the reason field
8981 * New maintenance script to fix double redirects
8982 (maintenance/fixDoubleRedirects.php).
8983 * (bug 23315) New body classes to allow easier styling of special pages.
8984 * (bug 27159) Make email confirmation code expiration time configurable.
8985 * (bug 29047) CSS/JS for each user group is imported from
8986 MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc.
8987 * (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be
8988 safely enabled. A ZIP file reader was added which can scan a ZIP file for
8989 potentially dangerous Java applets. This allows applets to be blocked
8990 specifically, rather than all ZIP files being blocked.
8991 * (bug 2429) Allow selection of associated namespace in recent changes.
8992 * (bug 26217) File size is now checked before uploading in HTML5 browsers.
8993 * CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript
8994 disabled (enclosed in the head in a <noscript> tag).
8995 * Added UserGetLanguageObject hook to change the language used in $wgLang.
8996 * (bug 14645) When $wgMiserMode is on, expensive special pages are styled
8997 differently (italicized by default) on Special:SpecialPages.
8998 * Added $wgAggregateStatsID, which allows UDP stats to be aggregated over
8999 several wikis.
9000 * When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just
9001 the three that were defined in the original specification.
9002 * (bug 14706) Added support for the Imagick PHP extension.
9003 * (bug 18691) Added support for SVG rasterization using the Imagick PHP
9004 extension.
9005 * (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the
9006 file description page. The sizes are set by $wgImageLimits.
9007 * (bug 28031) Add pageCount support to ArchivedFile.
9008 * (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200.
9009 * Added hook BitmapHandlerTransform to allow extension to transform a file
9010 without overriding the entire handler.
9011 * The parser now attempts to output markers for editsection tokens and defer the
9012 rendering of them post-cache to reduce parser cache fragmentation and ensure
9013 skin customizability of edit section links.
9014 * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
9015 other extensions by handling the 'AbortAutoAccount' hook, similar to the
9016 'AbortNewAccount' triggered by explicit account creations. (They are separate
9017 to avoid loops and confusion; auth plugins like CentralAuth need to handle
9018 AbortNewAccount separately.
9019 * Special:ListFiles is now transcludable.
9020 * (bug 13879) Special:Emailuser asks for suitable target user if called without.
9021 * (bug 16956) IPTC and XMP metadata now extracted from images.
9022 * (bug 23816) A tracking category is now added for any pages with broken images.
9023 * (bug 23495) Allow createAndPromote.php to create non-sysop users.
9024 * (bug 28916) A way to to toggle mw.config legacy globals settings from
9025 LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals.
9026 * (bug 28503) Support for ircs:// URL protocols.
9027 * (bug 26033) It is now possible to count all non-redirect pages in content
9028 namespaces as articles.
9029 * Images can now be embedded in an XML dump stream using backupDump.php
9030 --include-files and can be imported using importDump.php --uploads;
9031 furthermore, it can import files from the filesystem using --image-base-path.
9032 * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory',
9033 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions
9034 may override the usage of PageArchive class and replace it with their own
9035 class that extends PageArchive.
9036 * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript.
9037 Also built-in support for distribution through a TestSwarm instance.
9038 * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is
9039 added to the textarea on the edit form.
9040 * mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php)
9041 * (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader.
9042 * New 'Debug' hook used by wfDebug() and wfDebugLog().
9043 * (bug 27655) Require token for watching/unwatching pages)
9044 * (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest
9045 version)
9046 * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly
9047 handle titles on case-sensitive wikis.
9048 * (bug 29397) Implement mw.Title module in core.
9049 * In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE
9050 STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported
9051 correctly in the case where there are no write events occurring. Note that
9052 the DB user now needs to have the REPLICATION CLIENT privilege if you are
9053 using replication.
9054 * Language codes in $wgDummyLanguageCodes are now excluded on localization
9055 statistics (maintenance/language/transstat.php).
9056 * (bug 29586) Make the (next 200) links on categories link directly to
9057 the relevant section of the category.
9058 * (bug 29109) Allow the automatic edit summary for redirect creation
9059 show the first bit of the new redirect page.
9060 * (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName.
9061 * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey.
9062 * (bug 16699) {{#language:}} accepts second parameter to specify the language in
9063 which the language name is wanted. Coverage depends on the cldr extension.
9064 * (bug 15802) An easy way to look up messages: language qqx which returns
9065 the message keys.
9066 * (bug 29868) Add support for passing parameters to mw.msg in jquery.localize.
9067 * (bug 29558) $wgMiserMode now disables update.php by default.
9068 * AjaxCategories: Easily add, edit or delete categories on article pages.
9069 Suggests possible categories when typing, all saves are done via AJAX.
9070 Supports editing of multiple categories and then saving them in one batch.
9071 * $wgAutopromoteOnce was added, allowing for users to be automatically promoted
9072 to explicit usergroups. If a group is removed from a user via
9073 Special:UserRights, it will not automatically be re-added. Configuration is
9074 similar to $wgAutopromote (see DefaultSettings.php).
9075 * The PerformRetroactiveAutoblock hook was added to allow overriding or
9076 complementing retroactive autoblock handling. This runs when blocking a user
9077 with the 'autoblock' option.
9078 * MediaWiki now supports using protocol-relative URLs in links, interwiki
9079 targets and $wgServer.
9080 * Introduced $wgVaryOnXFPForAPI which will cause the API to send
9081 Vary: X-Forwarded-Proto headers.
9082 * New maintenance script to refresh image metadata
9083 (maintenance/refreshImageMetadata.php).
9084 * (bug 16428) Include permalink in printable version.
9085 * (bug 30722) Add an identity collation that sorts things based on what the
9086 unicode code point is (aka pre-1.17 behavior).
9087 * (bug 30940) Add a hook in User:getDefaultOptions.
9088 To give extensions a better and more flexible way of providing default
9089 values for preferences a hook has been introduced in User:getDefaultOptions().
9090 Setting preferences in $wgDefaultUserOptions still work fine, but when reading
9091 them (i.e. with array_keys) to get a list of all preferences, then
9092 $wgDefaultUserOptions should no longer be used as it will contain those set
9093 via User:getDefaultOptions().
9094 * (bug 30497) Add client-nojs and client-js classes on document element
9095 to let styles easily hide or show things based on general JS availability.
9096 * (bug 31293) If Special:Userlogin is loaded over HTTPS, display
9097 MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty.
9098 Same for signupend on the account creation page.
9099 * (bug 31233) New OutputPage::addJsConfigVars() method to make the output page
9100 specific mw.config map extendable.
9101 * mw.util.wikiScript has been implemented (like wfScript in
9102 GlobalFunctions.php).
9103
9104 === Bug fixes in 1.18 ===
9105 * (bug 27860) Minor edit after clicking 'new section' tab.
9106 * (bug 23119) WikiError class and subclasses are now marked as deprecated.
9107 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
9108 treated as wikitext on preview.
9109 * (bug 22753) Output from update.php is more clear when things changed, entries
9110 indicating nothing changed are now all prefixed by "...".
9111 * Page existence is now not revealed (in the colour of the tabs) to users who
9112 cannot read the page in question.
9113 * (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some
9114 cases.
9115 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
9116 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
9117 as "Permitted file types" on the upload form.
9118 * (bug 26379) importImages.php gives more descriptive error message on failure.
9119 * (bug 26410) + signs are no longer treated as spaces in internal links if
9120 link has a % sign in it.
9121 * (bug 26412) Search results headers no longer show a bogus edit link.
9122 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
9123 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
9124 pages to be queried via the API and Special:ProtectedPages, and allowing
9125 disabling upload protection by removing it from $wgRestrictionTypes.
9126 * If an edit summary exceeds 250 bytes and is truncated, add an ellipse.
9127 * (bug 26638) Database error pages display correctly in RTL languages.
9128 * (bug 26187) Confirmrecreate no longer parses the edit summary.
9129 * (bug 26208) Mark directionality of some interlanguage links.
9130 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
9131 selected when the action is "purge".
9132 * (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject
9133 namespace tab on the mainpage of a wiki.
9134 * (bug 10158) Do not mention allowing others to contact you when the feature
9135 is disabled ($wgEnableUserEmail=false).
9136 * (bug 26733) Wrap initial table creation in transaction.
9137 * (bug 26729) Category pages should return 404 if they do not exist and have no
9138 members.
9139 * (bug 2585) Image pages should send 404 if no image, no shared image and no
9140 description page.
9141 * Custom editintro's using the editintro url parameter will no longer show
9142 <noinclude> sections on pages they are included on.
9143 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
9144 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
9145 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
9146 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
9147 to table.wikitable instead.
9148 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
9149 better.
9150 * (bug 26716) Provide link to instructions for external editor related
9151 preferences and add a comment to the ini control file explaining what is
9152 going on.
9153 * Trying to upload a file with no extension or with a disallowed MIME type now
9154 gives the right message instead of complaining about a MIME/extension
9155 mismatch.
9156 * (bug 26809) Uploading files with multiple extensions where one of the
9157 extensions is blacklisted now gives the proper extension in the error message.
9158 * (bug 26961) Hide anon edits in watchlist preference now actually works.
9159 * (bug 19751) Filesystem is now checked during image undeletion.
9160 * Send last modified headers for Special:Recentchanges when RC patrol is
9161 enabled, but user cannot see rc patrol links.
9162 * (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files
9163 and other multi-paged file formats.
9164 * Files with a mime type that does not match the extension are now properly
9165 thumbnailed.
9166 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
9167 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
9168 link at the top of the page.
9169 * (bug 27560) Search queries no longer fail in Walloon language.
9170 * (bug 27679) Broken embedded files with special characters are no longer
9171 double HTML escaped.
9172 * (bug 27700) The upload protection can now also be set for files that do not
9173 exist.
9174 * (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
9175 incorrect revision ID is passed.
9176 * Trim the form field for uploading by url to remove extra spaces which could
9177 cause confusing error messages.
9178 * (bug 27854) Http::isValidURI is way too lax.
9179 * Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits.
9180 * AbortLogin returning "ABORTED" now handled. Also allows message identifier
9181 for "ABORTED" reason to be returned and displayed to user.
9182 * (bug 28034) uploading file to local wiki when file exists on shared repository
9183 (commons) gives spurious info in the warning message.
9184 * Usernames get lost when selecting different sorts on Special:listfiles.
9185 * (bug 14005) editing section 0 of an existing but empty page gives no such
9186 section error.
9187 * (bug 26939) Installer does not set $wgMetaNamespace.
9188 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
9189 page restrictions.
9190 * Make truncate function automatically consider length of '...' string,
9191 since length can vary by localization.
9192 * (bug 28242) Make redirects generated by urls containing a local interwiki
9193 prefix be a 301 instead of a 302.
9194 * (bug 15641) blocked administrators are now prevented from deleting or
9195 protecting their own talk page; and all blocked users are more
9196 comprehensively prevented from performing other actions.
9197 * (bug 27893) Edit-on-doubleclick now applies only on view and purge actions;
9198 no longer triggers unexpectedly on delete, history etc.
9199 * (bug 28417) Fix PHP notice when importing revision without a listed id.
9200 * (bug 28430) Make html and TeX output of <math> always be left-to-right.
9201 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
9202 * (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo.
9203 * (bug 27473) Fix regression: bold, italic no longer interfere with linktrail
9204 for ca, kaa.
9205 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
9206 * &apos; character entity is now allowed in wikitext.
9207 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
9208 intl installed.
9209 * (bug 28561) The css class small will no longer make nested elements even
9210 smaller.
9211 * (bug 13172) Array type exif data (like GPS) was not being extracted from
9212 images.
9213 * (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse().
9214 * (bug 16129) Transcluded special pages expose strip markers when they output
9215 parsed messages.
9216 * (bug 27249) "Installed software" table in Special:Version should always be
9217 left-to-right.
9218 * (bug 28719) Do not call mLinkHolders __destruct explicitly.
9219 * (bug 21196) Article::getContributors() no longer fails on PostgreSQL.
9220 * (bug 28752) XCache doesn't work in CLI mode.
9221 * (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles.
9222 * (bug 22227) Special:Listfiles no longer throws an error on bogus file entries.
9223 * (bug 19408) user_properties.up_property: 32 bytes is not enough.
9224 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
9225 * (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text
9226 such as SQL queries shown in dberrortext and similar messages in RTL
9227 environments.
9228 * (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used
9229 as the server name.
9230 * The View X deleted revisions is now shown again on Special:Upload.
9231 * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API.
9232 * (bug 28868) Show total pages in the subtitle of an image on the
9233 file description page for multi-paged documents.
9234 * (bug 28883) Message names for different compression types commonly
9235 used in Tiff files.
9236 * When transcluding a special page, do not let it interpret url parameters.
9237 * (bug 28887) Special page classes are no longer re-used during 1 request.
9238 * (bug 28888) Searching for something starting with a # sign no longer tells
9239 the user a page named [[:]] already exists.
9240 * (bug 23002) Imagelinks table not updated after imagemove.
9241 * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all
9242 pages.
9243 * (bug 18803) JPEG2000 images should not be uploadable as .jpg files.
9244 * (bug 11868) If using links to count articles, the checking will now be based
9245 on the real presence of an internal link instead of the "[[" string.
9246 * (bug 28287) The "your changes" box for edit conflicts is now read-only.
9247 * (bug 28940) When making a thumb of an SVG, and only specifying the height
9248 make the width be the max SVG size, not the natrual width of the SVG.
9249 * (bug 1780) Uploading files with non-ascii characters are now forbidden on
9250 Windows.
9251 * (bug 23464) File: prefixes are now chopped off during uploading.
9252 * (bug 28174) Message config-logo-help amended to not explicitly assume any
9253 LTR/RTL screen layout.
9254 * (bug 28992) Revision numbers in the patrol log are transformed in the user
9255 language.
9256 * (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended
9257 to the document head if it doesn't exist.
9258 * (bug 27023) After the document is ready, mw.loader is broken (calls callback
9259 before module is parsed).
9260 * (bug 4330) External URLs without a custom title should be treated as LTR,
9261 even in RTL text.
9262 * (bug 29055) Make "don't send email on minor edits" preference apply to
9263 changes to talk page in addition to watchlist edits.
9264 * (bug 28272) Special:AllMessages should have only one "Go" button.
9265 * (bug 29101) Special:FileDuplicateSearch no longer shows silly message.
9266 * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same
9267 as lastTabIndex().
9268 * (bug 29332) Warn if user requests mediawiki-announce subscription but does not
9269 enter an e-mail address.
9270 * (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config.
9271 * The class JpegOrTiffHandler was renamed ExifBitmapHandler.
9272 * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes
9273 instead of reloading the page.
9274 * (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect
9275 warning.
9276 * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering.
9277 * (bug 29485) RSS feed of Special:RecentChange grouped together multiple
9278 consecutive edits by same user in included diff, but then linked to
9279 a single ungrouped diff.
9280 * Do not try to group together a page creation and edit in the RSS feed of RC.
9281 * (bug 29342) Patrol preferences shouldn't be visible to users who don't have
9282 patrol permissions.
9283 * (bug 29471) Exception no longer thrown for files with invalid date in
9284 metadata.
9285 * (bug 29492) Long-running steps in the installer (such as Upgrade and Install)
9286 no longer cause timeouts.
9287 * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere.
9288 * If the db is really screwed up, and doesn't have a recentchanges table,
9289 make the updater throw an exception instead of a fatal.
9290 * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays
9291 correctly.
9292 * (bug 29567) mw.util.addPortletLink should only wrap link in <span> for
9293 "vectorTabs" portlets.
9294 * (bug 8556) Incorrect session failure warning on preview-on-open
9295 namespaces (categories) when combined with $wgRawHtml.
9296 * Use content language in formatting of dates in revertpage message
9297 (rollback revert edit summary) and do not adjust for user timezone.
9298 * (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki
9299 * Make sure Backlink cache does not retrieve interwiki redirects when looking
9300 for redirects to a local page.
9301 * (bug 6100) Allow different directionality (LTR/RTL) for user interface
9302 and wiki content, along with many other RTL and directionality improvements
9303 (such as bugs 28030, 12406, 28349).
9304 * (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and
9305 unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets
9306 left/right according to the directionality of your interface language.
9307 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
9308 * (bug 27410) The tag filter on a history page is now within a <label> element.
9309 * (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default
9310 styling (strike/underline).
9311 * (bug 28630) Add iwlinks, langlinks, redirect to
9312 RefreshLinks::deleteLinksFromNonexistent.
9313 * (bug 29797) Error: "Tried to load block with invalid type" when subpages
9314 are disabled for user pages.
9315 * (bug 12205) Bidirectional names in action=credits are split and displayed
9316 incorrectly when wrapped to the next line.
9317 * (bug 20781) Move 'mainpagetext' messages to installer's .i18n file.
9318 * (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script,
9319 not language.
9320 * (bug 26360) $wgSessionHandler was overriding system settings unconditionally.
9321 * Removed AjaxFunctions.php. The last remaining function js_unescape() was moved
9322 to the FCKEditor extension.
9323 * (bug 28762) Resizing to specified height broken for very thin images.
9324 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
9325 tries to subscribe to mediawiki-announce.
9326 * (bug 27427) mw.util.getParamValue shouldn't return value from hash even if
9327 param is only present in hash.
9328 * Installer checked for magic_quotes_runtime instead of register_globals.
9329 * (bug 30131) XCache with variable caching disabled no longer used for variable
9330 caching (CACHE_ACCEL)
9331 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
9332 wide pano/timeline/diagram SVGs renderable at saner sizes.
9333 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
9334 Windows servers.
9335 * (bug 30074) Moving user JS subpages resulted in JS errors because
9336 #REDIRECT [[Foo]] is invalid JS.
9337 * (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs
9338 are used.
9339 * (bug 30264) Changed installer-generated LocalSettings.php to use
9340 require_once() instead of require() for included extensions.
9341 * Tracking categories are no longer shown in footer for special pages.
9342 * (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e.
9343 <key>).
9344 * $wgOverrideSiteFeed no longer double escapes urls.
9345 * The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when
9346 processing complex pages using newer versions of libxml2.
9347 * (bug 30907) Special:Unusedcategories should sort ascendingly.
9348 * (bug 28545) When using the uca-default collation, sortkey's starting with a
9349 space (U+20) will sort under an invisible header like in 1.16 rather than a
9350 U+6DE.
9351 * (bug 30192) Thumbnails of archived files are now deleted.
9352 * (bug 30843) mediawiki.Title should not convert extensions (anything after the
9353 last full stop) to lower case).
9354 * (bug 31213) Exception thrown when trying to move file cross-namespace.
9355 * (bug 18424) Special:Prefixindex and Special:Allpages paging links are
9356 really small, and somewhat inconsistent with each other.
9357 * (bug 30466) Entries in iwlinks table are now cleared when moving a page over
9358 redirect.
9359 * (bug 31674) Can't edit watchlist if it contains special pages.
9360 * (bug 32100) Installer complains about Suhosin GET limit even if it is
9361 already set above 1024 bytes.
9362
9363 === API changes in 1.18 ===
9364 * BREAKING CHANGE: action=watch now requires POST and token.
9365 * (bug 26339) Throw warning when truncating an overlarge API result.
9366 * (bug 14869) Add API module for accessing QueryPage-based special pages.
9367 * (bug 14020) API for Special:Unwatchedpages.
9368 * (bug 24287) Wrap API Help output at 100 characters.
9369 * Add a realname uiprop option to query=userinfo so a user's realname can be
9370 extracted.
9371 * Add a &watchuser option to ApiBlock.
9372 * (bug 26541) Generator-ise ApiQueryRecentChanges.
9373 * action=parse now correctly returns an error for nonexistent pages.
9374 * (bug 25767) Add userrights properties to allusers and users query lists.
9375 * (bug 26558) list=allusers auprop=groups does not list groups a user is
9376 automatically a member of.
9377 * (bug 26559) list=allusers auprop=rights does not match
9378 list=users usprop=rights.
9379 * (bug 26560) On allusers if limit < total number of users, last user gets
9380 duplicate.
9381 * (bug 25135) add "normalized" to action=parse.
9382 * (bug 26460) Add support for listing category members by category pageid.
9383 * (bug 26482) add a imimages param to prop=images.
9384 * (bug 26498) allow LinksUpdate with API.
9385 * (bug 26485) add a elextlinks param to prop=extlinks.
9386 * (bug 26483) add a iwtitles param to prop=iwlinks.
9387 * (bug 26484) add a lltitles param to prop=langlinks.
9388 * (bug 26480) add a pppageprops param to prop=pageprops.
9389 * (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout.
9390 * (bug 24650) Fix API to work with categorylinks changes.
9391 * Expose list of skins in meta=siteinfo.
9392 * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo.
9393 * (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text.
9394 * Add a amtitle param to meta=allmessages.
9395 * (bug 25832) query=allimages now outputs ns/title as well.
9396 * (bug 27199) Thumbnail urls can be fetched for old files as well.
9397 * (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or
9398 max value, API doesn't validate the input is actually an integer.
9399 * (bug 27479) API error when using both prop=pageprops and
9400 prop=info&inprop=displaytitle.
9401 * (bug 27554) Update API information text to reflect change in bug 26125.
9402 * (bug 27611) list=blocks: Use ipb_by_text instead of join with user table.
9403 * (bug 27616) Add userid of blocked user and blocker to list=blocks.
9404 * (bug 27688) Simplify queries to list user block information.
9405 * (bug 27708) list=users does not have a property to return user id.
9406 * (bug 27715) imageinfo didn't respect revdelete.
9407 * (bug 27862) Useremail module didn't properly return success on success.
9408 * (bug 27590) prop=imageinfo now allows querying the media type.
9409 * (bug 27587) list=filearchive now outputs full title info.
9410 * (bug 27018) Added action=filerevert to revert files to an old version.
9411 * (bug 27897) list=allusers and list=users list hidden users.
9412 * (bug 27717) API's exturlusage module does not respect $wgMiserMode.
9413 * (bug 27588) list=filearchive&faprop=sha1 returns empty attribute.
9414 * (bug 28010) Passing a non existent user to list=users gives internal error.
9415 * (bug 27549) action=query&list=users&usprop=groups doesn't show implicit
9416 groups if a user doesn't have explicit groups.
9417 * (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear
9418 in auto generated document, as it is on mediawiki.org.
9419 * (bug 27182) API: Add filter by prefix for meta=allmessages.
9420 * (bug 27183) API: Add filter by customisation state for meta=allmessages.
9421 * (bug 27340) API: Allow listing of "small" categories.
9422 * (bug 27342) Add audir param to list=allusers.
9423 * (bug 27203) add fato param to list=filearchive.
9424 * (bug 27341) Add drto param to list=deletedrevs.
9425 * (bug 26630) Add API for Special:ActiveUsers.
9426 * (bug 27020) API: Allow title prefix search of logevents (only when not in
9427 miser mode).
9428 * (bug 26629) add Special:MIMESearch to API.
9429 * (bug 27585) add pagecount to list=filearchive.
9430 * (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
9431 is missing.
9432 * (bug 27343) Add parseddescription to list=filearchive.
9433 * (bug 27469) label implicit groups in list=allusers&auprop=groups/
9434 list=users&usprop=groups.
9435 * Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to
9436 the general site info results.
9437 * (bug 16288) API: consider making closure status of wikis more clear
9438 with meta=siteinfo.
9439 * (bug 27589) list=allimages&aiprop=archivename is useless.
9440 * (bug 27586) Remove duplication of props in ApiQueryStashImageInfo
9441 by using ApiQueryImageInfo.
9442 * (bug 28226) prop=extlinks&eloffset should be an integer.
9443 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
9444 real timestamp field.
9445 * API upload errors may now return the parameter that needs to be changed and
9446 a sessionkey to fix the error.
9447 * (bug 28249) allow dupes in meta=allmessages&amargs.
9448 * (bug 28263) cannot import xml with the API, when have not "import" user
9449 right, but "importupload".
9450 * (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo.
9451 * (bug 28394) Set forgotten parameters types in ApiUnblock.
9452 * (bug 28395) Set forgotten parameters types in ApiParse.
9453 * (bug 28368) add hint for multipart/form-data to API information of
9454 action=import&xml=.
9455 * (bug 28391) action=feedwatchlist&allrev should be a bool.
9456 * (bug 28364) add registration date to meta=userinfo.
9457 * (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if
9458 PARAM_TYPE is not set.
9459 * (bug 27712) add parent_id to list=deletedrevs.
9460 * (bug 28455) Add 'toponly' to recentchanges API module.
9461 * (bug 26873) API: Add 'toponly' filter in usercontribs module.
9462 * (bug 28586) YAML: strings that are the same as boolean literals.
9463 * (bug 28591) Update/replace/supplement spyc (YAML parsing library).
9464 * YAML API output is now 1.2 compliant, using JSON as the formatter.
9465 * (bug 28672) give information about misermode on API.
9466 * (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
9467 * (bug 26882) Allow listing of indefinite protections with the API.
9468 * (bug 27344) add drprefix param to list=deletedrevs.
9469 * (bug 28560) list=deletedrevs should die, if combination of param is invalid.
9470 * (bug 28238) paraminfo: output both limits for multi param.
9471 * (bug 27179) API: List of extension tags through meta=siteinfo.
9472 * Get a list of function hooks through meta=siteinfo.
9473 * Get a list of all subscribed hooks, and those subscribers.
9474 * (bug 28225) Allow hiding of user groups in list=allusers.
9475 * (bug 27185) API: Add Special:ComparePages.
9476 * (bug 28265) allow outputting of comments for action=expandtemplates.
9477 * (bug 27790) Add query type for querymodules to output of ApiParamInfo.
9478 * (bug 28963) Add langbacklinks query module to the api.
9479 * (bug 27593) API should return error message when sha1/sha1base36 is invalid.
9480 * (bug 28578) API's parse module should not silently override invalid
9481 title inputs.
9482 * (bug 20699) Watchlist API should list log-events.
9483 * (bug 29070) Require a token in API action=watch.
9484 * (bug 29221) Expose oldrevid in ApiQueryWatchlist output.
9485 * (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag.
9486 * (bug 28897) rvparse now respects rvsection for action=query&prop=revisions.
9487 * (bug 25734) API: Possible issue with revids validation.
9488 * (bug 28002) Internal error in ApiFormatRaw::getMimeType.
9489 * (bug 29237) ApiQuery now has an option to output the "iwurl" attribute.
9490 * (bug 28392) Mark action=undelete&timestamps as type "timestamp".
9491 * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode).
9492 * (bug 27595) sha1 search of list=filearchive does not work.
9493 * (bug 26763) Make RSS/Atom of user contributions more visible.
9494 * (bug 25133) Allow redirects also for action=parse&pageid.
9495 * (bug 29745) Fatal error in API search.
9496 * (bug 29476) API returns page title instead of sectiontitle for
9497 srprop=sectiontitle.
9498 * Correct the documentation of srprop properties.
9499 * (bug 28817) Add reference help page link to API Modules.
9500 * (bug 29935) Improve formatting of examples in ApiParamInfo.
9501 * (bug 29938) list=users&usprop=rights shows rights the user doesn't have.
9502 * (bug 24781) The API will include an XML namespace if the includexmlnamespace
9503 parameter is set.
9504 * (bug 29392) Setting the start or end parameter now works with lists blocks,
9505 categorymembers, deletedrevs, logevents, protectedtitles, usercontributions
9506 and watchlist in Postgres.
9507
9508 === Languages updated in 1.18 ===
9509
9510 MediaWiki supports over 330 languages. Many localisations are updated
9511 regularly. Below only new and removed languages are listed, as well as
9512 changes to languages because of Bugzilla reports.
9513
9514 * Angika (anp) (new).
9515 * Brahui (brh) (new).
9516 * Central Dusun (dtp) (new).
9517 * Jamaican Creole English (jam) (new).
9518 * Khowar (khw) (new).
9519 * Liv (liv) (new).
9520 * Kichwa (qug) (new).
9521 * Tokipona (tp) (removed) 'tokipona' is still valid.
9522 * (bug 17160) Gender specific display text for User namespace.
9523 * Link trail added for sl and sh.
9524 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
9525 * (bug 27426) Set $namespaceGenderAliases for Arabic (ar).
9526 * (bug 27385) Set Polish $namespaceGenderAliases.
9527 * (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br).
9528 * (bug 27785) Fallback language for Kabardian (kbd) is English now.
9529 * (bug 27825) Raw watchlist edit message now uses formatted numbers.
9530 * (bug 28040) Turkish: properly lower case 'I' to 'i' (dotless i) and
9531 uppercase 'i' to 'I' (dotted i).
9532 * Conversion script between Syllabics and Latin for the Inuktitut language.
9533 * Date formats for Indonesian (id) updated.
9534 * Bhojpuri (bho) (renamed from "bh").
9535 * (bug 29031) When translating block log entries, indefinite, infinite, and
9536 infinity are now considered the same.
9537 * Aromanian (rup) (renamed from "rua-rup").
9538 * Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
9539 (Devanagari) (ks-deva). Defaults to ks-arab.
9540 * (bug 30864) Use bengali numerals for <ol> for Assamese.
9541 * (bug 30817) Restored linktrail for kk (Kazakh).
9542 * (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces.
9543 * (bug 30846) New LanguageOs class.
9544
9545 === Other changes in 1.18 ===
9546 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
9547 * (bug 28556) Upload support for MacBinary files has been removed (Used by
9548 Internet Explorer 5 for Mac OS 9).
9549 * On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be
9550 set for all wikis. This was already the case for 'wgServer'.
9551
9552 == MediaWiki 1.17 ==
9553
9554 == MediaWiki 1.17.5 ==
9555 2012-06-12
9556
9557 This is a security release of the MediaWiki 1.17 branch.
9558
9559 === Summary of selected changes in 1.17 ===
9560
9561 Selected changes since MediaWiki 1.16 that may be of interest:
9562
9563 * A new installer has been introduced. It has a wizard-style interface which is
9564 translated into many languages. Many shortcomings in the old installer were
9565 addressed with this rewrite. Note that it is no longer required for the config
9566 directory to be made writable by the webserver. Instead the generated
9567 LocalSettings.php file is offered as a download, which you must then upload
9568 to the wiki's base directory.
9569
9570 * ResourceLoader, a new framework for delivering client-side resources such as
9571 JavaScript and CSS, has been introduced. These resources are now delivered
9572 through the new entry point script "load.php", instead of as static files
9573 served directly by the web server. This allows minification, compression and
9574 client-side caching to be used more effectively, which should provide a net
9575 performance improvement for most users.
9576
9577 * Category sorting has been improved.
9578 ** Sorting is now case insensitive.
9579 ** Sub-categories, pages and files can now be paged separately.
9580 ** When several pages are given the same sort key, they sort by their
9581 names instead of randomly.
9582
9583 * The lowest supported version of PHP is now 5.2.3. If necessary, please
9584 upgrade PHP prior to upgrading MediaWiki.
9585
9586 === Changes since 1.17.4 ===
9587
9588 * (bug 36938) Correctly escape uselang attribute to prevent xss
9589 * Expanded Blacklist for SVG Files
9590
9591 === Changes since 1.17.3 ===
9592
9593 * (bug 35961) Hash comparison should always be strict.
9594 * Fix broken email confirmation expiration caused by MWCryptRand changes.
9595 * (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php
9596 on line 598.
9597
9598 === Changes since 1.17.2 ===
9599
9600 * (bug 22555) Remove or skip strip markers from tag hooks like &lt;nowiki&gt; in
9601 core parser functions which operate on strings, such as padleft.
9602 * (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token
9603 parameter present.
9604 * (bug 34907) Fixed exposure of tokens through load.php that could have
9605 facilitated CSRF attacks.
9606 * (bug 35317) CSRF in Special:Upload.
9607
9608 === Changes since 1.17.1 ===
9609 * (bug 33117) prop=revisions allows deleted text to be exposed through cache
9610 pollution.
9611 * (bug 32709) Private Wiki users were always taken to Special:Badtitle on login.
9612
9613 === Changes since 1.17.0 ===
9614
9615 * (bug 29535) Added missing Creative Commons CC0 icon.
9616 * (bug 29726) Fixed failure to load internationalization messages in
9617 client-side scripts on WebKit-based browsers.
9618 * Fixed a bug in message transformation where the previous language could leak
9619 into later transformations in the UI language.
9620 * (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон)
9621 * Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not
9622 work at all since 1.17 beta 1.
9623 * (bug 29531) Fixed img_auth.php for thumbnails and other filenames with
9624 multiple dots, was broken by the fix for bug 28840.
9625 * In the maintenance script purgeList.php, fixed a fatal error when a page
9626 title is given, instead of a URL.
9627 * (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit).
9628 * Installer checked for magic_quotes_runtime instead of register_globals.
9629 * $wgSVGMaxSize is now applied to the smaller of width or height, making very
9630 wide pano/timeline/diagram SVGs renderable at saner sizes.
9631 * (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user
9632 tries to subscribe to mediawiki-announce.
9633 * Installer checked for magic_quotes_runtime instead of register_globals
9634 * (bug 30131) XCache with variable caching disabled no longer used for variable
9635 caching (CACHE_ACCEL)
9636 * (bug 30264) Changed installer-generated LocalSettings.php to use
9637 require_once() instead require() for included extensions.
9638 * (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP
9639 warnings/notices to be thrown
9640 * (bug 30907) Special:Unusedcategories should sort ascendingly.
9641 * (bug 30219) The page shown when LocalSettings.php does not exist was broken on
9642 Windows servers.
9643 * Hardcoded NLS_NUMERIC_CHARACTERS for Oracle DB to prevent type conversion
9644 errors.
9645 * Fixed recentchanges FK violation on page delete and cache purge error in
9646 updater for Oracle DB.
9647 * (bug 32276) Skins were generating output using the internal page title which
9648 would allow anonymous users to determine whether a page exists, potentially
9649 leaking private data. In fact, the curid and oldid request parameters would
9650 allow page titles to be enumerated even when they are not guessable.
9651 * (bug 32616) action=ajax requests were dispatched to the relevant internal
9652 functions without any read permission checks being done. This could lead to
9653 data leakage on private wikis.
9654
9655 === Changes since 1.17.0rc1 ===
9656
9657 * Fixed syntax error in generated LocalSettings.php when a non-default user
9658 rights profile is chosen.
9659 * (bug 29399) Fixed PostgreSQL installation when the DB user for installation
9660 is the same as the one for web access.
9661 * (bug 29233) Fixed failover for DB slave servers. When a DB slave went down,
9662 an error was immediately shown to the user, instead of trying another slave.
9663 Was broken since 1.17 beta 1.
9664 * (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a
9665 redirect.
9666 * (bug 29408) Fixed uploads of files with MIME types that aren't detected by
9667 MediaWiki.
9668 * Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because
9669 using the DEFAULT value ('') in DML broke Oracle backend as it treats an
9670 empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL
9671 fields.
9672
9673 === Changes since 1.17 beta 1 ===
9674
9675 * Fixed warning about missing file "password.js".
9676 * When installing on MySQL, don't attempt to create a new database user if the
9677 same user is used for installation and web access.
9678 * Fixed SQL query errors in queries with table aliases.
9679 * (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which
9680 ensures that when database replication is used, the new version is seen by
9681 the user immediately after they create or edit an article.
9682 * (bug 28845) Allow PostgreSQL installation using a non-root user account which
9683 has role creation abilities.
9684 * When installing on PostgreSQL and the install account is the same as the web
9685 account, check to make sure that the account has suitable privileges in the
9686 mediawiki schema.
9687 * (bug 28172) Fixed error in PostgreSQL installation when creating the wiki
9688 sysop account.
9689 * Fixed an issue with the Oracle installer in cases where the user is different
9690 to the database name.
9691 * Added "unblockself" to the list of available rights.
9692 * In the installer, fixed the "user rights profile" option, it never worked.
9693 * (bug 29117) Fixed Hebrew localisation of the installer.
9694 * (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS
9695 on Internet Explorer 6 due to a file extension in the query string) by
9696 reducing the number of URLs that are blocked, and by redirecting the request
9697 to a safer URL where possible instead of blocking it.
9698 * (bug 28812) Fixed documentation of API action=parse.
9699 * (bug 28979) Fixed styling of <abbr> and <acronym>.
9700 * Fixed the error message displayed when you try to create an account by email,
9701 but an email address is not given.
9702 * Fixed JS error due to missing dependency for jquery.suggestions.
9703 * Exposed $wgExtensionAssetsPath in JavaScript.
9704 * (bug 28738) Made ResourceLoader support environments with small URL length
9705 limits. The length limit can be configured via
9706 $wgResourceLoaderMaxQueryLength, and this is set automatically in the
9707 generated LocalSettings.php when the php.ini variable
9708 "suhosin.get.max_value_length" is set. When a URL exceeds this limit, the
9709 request is split up. Also, reduced the average length of load.php URLs by
9710 using a more compact parameter format.
9711 * (bug 25262) Fix for minification of hardcoded data: URIs in CSS.
9712 * (bug 25124) Respect $wgStyleDirectory in ResourceLoader.
9713 * Allow installation when no HTTP client is available, don't throw an exception.
9714 * (bug 27465) Fix metadata extraction for SVG files using unusual namespace
9715 names.
9716 * (bug 29174) Fix regression in upload-by-URL: uploading files larger than the
9717 PHP memory limit should work again.
9718 * Fixed the display of comments in the new user log.
9719 * (bug 28237) When installing extensions using the web-based installer, create
9720 any necessary database tables.
9721 * (bug 28983) Fixed automated installation of extensions that overwrite $path.
9722 * Fixed error caused by missing magic words.
9723 * Fixed breakage of article editing in PostgreSQL due to text search
9724 configuration errors.
9725 * Fixed the HTTPS client used when Curl is not available. This avoids an error
9726 during install about failure of the mediawiki-announce subscription.
9727 * (bug 28162) When installing to PostgreSQL, respect the "database port" input,
9728 it was ignored.
9729
9730 === Configuration changes in 1.17 ===
9731
9732 * $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged
9733 to new users log.
9734 * (bug 22858) $wgLocalStylePath is by default set to the same value as
9735 $wgStylePath but should never point to a different domain than the site is
9736 on, allowing skins to use .htc files which are not cross-domain friendly.
9737 * $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has
9738 been turned into $wgDeletedDirectory.
9739 * $wgDeletedDirectory has been added to specify what directory to place deleted
9740 uploads in.
9741 * IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the
9742 normal $wgDBport.
9743 * $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This
9744 provides more sensible sorting behavior for categories.
9745 * Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized,
9746 $wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon,
9747 $wgZhdaemonHost and $wgZhdaemonPort.
9748 * (bug 24408) The include_path is not modified in the default LocalSettings.php
9749 * $wgVectorExtraStyles was removed, and is no longer in use.
9750 * Removed $wgUpdates for database updates; extensions should use
9751 DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook.
9752 * Removed $wgServerName. It doesn't need to be set anymore and is no longer
9753 available as input for other configuration items, either.
9754 * It's no longer necessary for LocalSettings.php to include DefaultSettings.php.
9755 * It's no longer necessary to set $wgCacheEpoch to the file modification time
9756 of LocalSettings.php, in LocalSettings.php itself. Instead, this is done
9757 automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is
9758 the default).
9759 * $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright']
9760 should be used instead.
9761 * $wgSysopUserBans is deprecated, and will be made permanently true in 1.18.
9762 If you need this functionality, you should use the BlockIp hook to filter and
9763 reject such blocks.
9764 * $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum
9765 (32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1
9766 address at a time.
9767
9768 === New features in 1.17 ===
9769
9770 * (bug 10183) Users can now add personal styles and scripts to all skins via
9771 User:<name>/common.css and /common.js (if user css/js is enabled).
9772 * (bug 22748) Add anchors on Special:ListGroupRights.
9773 * (bug 21981) Add parameter 'showfilename' to <gallery> to automatically
9774 apply the names of the individual files within the gallery.
9775 * Future-proof redirection to fragments in Gecko, so things work a little nicer
9776 if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>.
9777 * Support git:// and mms:// protocols by default for external links.
9778 * (bug 15810) Blocked admins can no longer unblock themselves without the
9779 'unblockself' permission (which they have by default).
9780 * (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced
9781 changes list.
9782 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when
9783 viewing contributions of a blocked IP address.
9784 * (bug 22474) {{urlencode:}} now takes an optional second parameter for type of
9785 escaping.
9786 * Special:Listfiles now supports a username parameter.
9787 * Special:Random carries over query string parameters.
9788 * (bug 23206) Add Special::Search hook for detecting successful "Go".
9789 * When visiting a "red link" of a deleted file, a deletion and move log excerpt
9790 is provided on the Upload form.
9791 * (bug 22647) Add category details in search results.
9792 * (bug 23276) Add hook to Special:NewPages to modify query.
9793 * Add accesskey 's' and tooltip to 'Save' button at Special:Preferences.
9794 * Add accesskey 'b' and tooltip to the summary field of edit mode.
9795 * (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits.
9796 * ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary
9797 watch links, not just to watch the page the link is on.
9798 * (bug 20976) "searchmenu-new-nocreate" message now displayed when there
9799 is no title match in search and the user has no rights to create pages.
9800 * (bug 23429) Added new hook WatchlistEditorBuildRemoveLine.
9801 * (bug 22844) Added support for WinCache object caching (for IIS).
9802 * (bug 23580) Add two new events to LivePreview so that scripts can be notified
9803 about the beginning and finishing of LivePreview actions.
9804 * (bug 21278) Now the sidebar allows inclusion of wiki markup.
9805 * (bug 23733) Add IDs to messages used on CSS/JS pages.
9806 * Show validity period of the login cookie in Special:UserLogin and
9807 Special:Preferences.
9808 * Interlanguage links display the page title in their tooltip.
9809 * (bug 23621) New Special:ComparePages to compare (diff) two articles.
9810 * (bug 4597) Provide support in Special:Contributions to show only "current"
9811 contributions
9812 * (bug 17857) {{anchorencode}} acts more like how the parser creates section ids
9813 * (bug 21477) \& can now be used in <math>
9814 * (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math>
9815 * (bug 21475) \mathtt and \textsf can now be used in <math>
9816 * texvc is now run via ulimit4.sh, to limit execution time.
9817 * SQLite now supports $wgSharedDB.
9818 * (bug 8507) Group file links by namespace:title on image pages.
9819 * Stop emitting named entities, so we can use <!DOCTYPE html> while still being
9820 well-formed XML.
9821 * texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto
9822 * Added scriptExtension setting to $wgForeignFileRepos.
9823 * ForeignApiRepo uses scriptDirUrl if apiBase not set.
9824 * (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign
9825 client wikis.
9826 * (bug 14685) Double underscore magic word usage is now tracked in the
9827 page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and
9828 {{DISPLAYTITLE}}
9829 * (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
9830 "mw-ipb-needreblock"
9831 * Non-file pages can no longer be moved to the file namespace, nor vice versa.
9832 * (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user
9833 input.
9834 * (bug 21503) There's now a "reason" field when creating account for other
9835 users.
9836 * (bug 24418) action=markpatrolled now requires a token.
9837 * A variety of category sort-related fixes, including:
9838 ** (bug 164) In English, lowercase and uppercase letters now sort the same.
9839 ** (bug 1211) Subcategories, ordinary pages, and files now page separately.
9840 ** When several pages are given the same sort key, they sort by their names
9841 instead of randomly.
9842 * (bug 23848) Add {{ARTICLEPATH}} Magic Word.
9843 * (bug 8140) Add dedicated CSS classes to Special:Newpages elements.
9844 * (bug 11005) Add CSS class to empty pages in Special:Newpages.
9845 * The parser cache is now shared amongst users whose different settings aren't
9846 used in the page.
9847 * Any attribute beginning with "data-" can now be used in wikitext, per HTML5.
9848 * (bug 24007) Diff pages now mention the number of users having edited
9849 intermediate revisions.
9850 * Added new hook GetIP.
9851 * Special:Version now displays whether a SQLite database supports full-text
9852 search.
9853 * TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader
9854 for versioning.
9855 * Maintenance scripts get a --memory-limit option to override defaults (which
9856 is usually to set it to -1 to disable the limit).
9857 * (bug 25397) Allow uploading (not displaying) of WebP images, disabled
9858 by default.
9859 * (bug 23194) Special:ListFiles now has thumbnails.
9860 * Use hreflang to specify canonical and alternate links, search engine friendly
9861 when a wiki has multiple variant languages.
9862 * (bug 19593) Specifying --server in now works for all maintenance scripts.
9863 * Now rebuildtextindex.php warns if SQLite doesn't support full-text search.
9864 * (bug 10541) Front/backend separation of installation/upgrade code.
9865 * (bug 10596) Allow installer to enable extensions already in extensions folder.
9866 * (bug 20627) Installer should be in languages other than English.
9867 * Support for metadata in SVG files (title, description).
9868 * Special:Search: Add CSS classes to 'none found' and 'create link' messages.
9869 * Add CSS classes (including namespace and pagename) to the enhanced recent
9870 changes/watchlist entries.
9871 * (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text
9872 customizable.
9873 * Added CSS print pagination to the print stylesheets.
9874 * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign
9875 file repositories.
9876 * When viewing a redirect, the redirect arrow and redirection target are both
9877 wrapped in a div that has the class "redirectMsg" so that the redirection
9878 arrow can be customized with CSS.
9879 * (bug 21911) Hard coded limit for long page warning removed. New message
9880 [[MediaWiki:Longpage-hint]] (empty per default) can be used instead.
9881 Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw
9882 number of the textsize in Byte.
9883 * (bug 3276) Give image <gallery>s fluid width.
9884 * Added uploads link to page subtitle in Special:Contributions.
9885 * Added Special:Myuploads special page that redirects to Special:Listfiles.
9886 * The footerlinks used in Monobook/Vector/Modern are now part of common skin
9887 code, SkinTemplateOutputPageBeforeExec can be used to customize the list.
9888 * Special wrapping setups can now define MW_CONFIG_FILE to load a config file
9889 other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in
9890 some cases where MW_CONFIG_CALLBACK will not work.
9891 * (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected
9892 pages to be queried via the API and Special:ProtectedPages, and allowing
9893 disabling upload protection by removing it from $wgRestrictionTypes.
9894 * The name attribute of HTMLForm fields can now be overridden by passing a
9895 'name' key in the descriptor array. Hidden field names are now treated
9896 consistently with other fields and, by default, prefixed with 'wp'.
9897 * (bug 27402) Add support for disabling MWSuggest.
9898 * (bug 26563) Add bytes changed per revision for stub and full article dumps.
9899 * (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we
9900 look at when finding metadata to prevent excessive resource usage.
9901 * (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades
9902 without having to move LocalSettings.php
9903 * Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag
9904 in wikitext.
9905 * (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display
9906 options.
9907 * Added the $wgAllowUserCssPrefs option which allows disabling CSS-based
9908 preferences; which can improve page loading speed.
9909 * Added $wgSQLMode for setting database SQL modes - either performance (null)
9910 or other reasons (such as enabling stricter checks).
9911 * (bug 20193) Added $wgVectorShowVariantName global configuration variable
9912 which causes Vector to render the variants drop-down menu with a label
9913 showing the current variant name. This is off by default, pending further
9914 research into its user experience implications.
9915 * The upload link for missing files can now be set separately from the
9916 navigation link with $wgUploadMissingFileUrl.
9917 * $wgAdditionalMailParams added to allow setting extra options to mail() calls.
9918 * Added $wgSecureLogin to optionally login using HTTPS.
9919 * (bug 25728) Added $wgPasswordSenderName to make the name associated
9920 with $wgPasswordSender configurable.
9921 * (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in
9922 the footers of skins.
9923 * $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy
9924 used for the file cache. Default value is 2, which matches former behavior.
9925
9926 === Bug fixes in 1.17 ===
9927
9928 * (bug 17560) Half-broken deletion moved image files to deletion archive
9929 without updating database.
9930 * (bug 22666) Submitting user block form with an invalid user name no longer
9931 throws an error.
9932 * (bug 22665, bug 22667) User '0' can now be unblocked and have its block
9933 settings changed.
9934 * (bug 22606) The body of e-mail address confirmation message is now different
9935 when the address changed.
9936 * (bug 22664) Special:Userrights now accepts '0' as a valid user name.
9937 * (bug 5210) Preload parser now parses <noinclude>, <includeonly> and
9938 redirects.
9939 * (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when
9940 the URL contains a colon.
9941 * (bug 22353) Categorised recent changes now works again.
9942 * (bug 22747) "Reveal my e-mail address in notification e-mails" preference is
9943 now only displayed when relevant.
9944 * (bug 22772) {{#special:}} parser function now works with subpages.
9945 * (bug 18664) Relative URIs in interwiki links cause failed redirects.
9946 * (bug 19270) Relative URIs in interwiki links break interwiki transclusion.
9947 * (bug 22903) Revdelete log entries now show in the user preferred language.
9948 * (bug 22905) Correctly handle <abbr> followed by ISBN.
9949 * (bug 22940) Namespace aliases pointing to main namespace don't work.
9950 * (bug 15810) Blocked admins can no longer block/unblock other users.
9951 * (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not
9952 correctly set.
9953 * (bug 14952) Page titles are renormalized after html entities are removed so
9954 that links with non-NFC character references work correctly.
9955 * (bug 22991) wgUserGroups JavaScript variable now reports * group for
9956 anonymous users instead of null.
9957 * (bug 22627) Remove PHP notice when deleting a page only hidden users edited.
9958 * (bug 21520) Anonymous previews now also gives a warning about not being
9959 logged in (anonpreviewwarning).
9960 * (bug 22935) image/x-ms-bmp mime type added for BMP files.
9961 * (bug 23024) Special:ListFiles now escapes file names correctly.
9962 * (bug 22867) "View source" tab is now only displayed if there's source text.
9963 * (bug 19393) Feeds now format dates in user language rather than content
9964 language.
9965 * (bug 22852) "Served in" comment is now the time used to cache a single page
9966 when using rebuildFileCache.php
9967 * (bug 22496) Viewing diff of a redirect page without specifying "oldid"
9968 parameter no longer makes the page displayed as being the redirect target.
9969 * (bug 22918) Feed cache keys now use $wgRenderHashAppend.
9970 * (bug 21916) Last-Modified header is now correct when outputting cached feed.
9971 * (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases.
9972 * (bug 23017) Special:Disambiguations now list pages in content namespaces
9973 rather than only main namespace.
9974 * (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all
9975 frames, and $wgMaxImageArea against the size of the first frame, rather than
9976 the other way around. Both now default to 12.5 megapixels. Also, images
9977 exceeding $wgMaxImageArea can still be embedded at original size.
9978 * (bug 23078) "All public logs" option on Special:Log is now always the first
9979 item.
9980 * (bug 16817) Group names in user rights log are now singular and in lowercase.
9981 * Special:Preferences no longer crashes if the wiki default date formatting
9982 style is not valid for the user's interface language.
9983 * (bug 23167) Check the watch checkbox by default if the watchcreations
9984 preference is set.
9985 * Maintenance script cleanupTitles is now able to fix titles stored
9986 in a negative namespace (which is invalid).
9987 * (bug 19858) Removed obsolete <big> in interface messages.
9988 * (bug 21456) "Bad title" error when showing non-local interwiki pages no longer
9989 displays incorrect tabs.
9990 * (bug 23190) Improved math representation for text browsers.
9991 * (bug 22015) Improved upload-by-url error handling and error display.
9992 * (bug 17941) $wgMaxUploadSize is now honored by all upload sources.
9993 * (bug 23080) New usernames now limited to 235 bytes so that custom skin files
9994 work.
9995 * (bug 23075) Correct MediaTransformError default width in gallery.
9996 * (bug 16487) The Anonymous user account used on Postgres is no longer
9997 displayed on Special:Listusers.
9998 * (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences
9999 to enhance preference grouping.
10000 * (bug 23298) Interwiki links with prefix only in log summaries now link to the
10001 correct link.
10002 * (bug 23284) Times are now rounded correctly.
10003 * (bug 23375) Added ogv, oga, spx as extensions for ogg files.
10004 * (bug 18408) All required permissions for uploading (upload, edit, create)
10005 are now checked when loading Special:Upload. Toolbar link for Special:Upload
10006 is no longer shown if the user does not have the required permissions.
10007 * (bug 23397) texvc in html mode renders \sim as &tilde; not &sim;
10008 * (bug 23241) License selector should be disabled during upload of a new
10009 version.
10010 * (bug 23240) Add ID to namespace selector form on Special:Watchlist.
10011 * The pipe | character in urls is now escaped.
10012 * (bug 23422) mp3 files can now be moved.
10013 * (bug 23448) MediaWiki:Summary-preview is now displayed instead of
10014 MediaWiki:Subject-preview when previewing summary.
10015 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added
10016 new variable {{REVISIONMONTH1}} when unpadded version is needed.
10017 * Special:Userrights didn't recognize user as changing his/her own rights if
10018 user did not capitalize first letter of username.
10019 * (bug 23507) Add styles for printing wikitables.
10020 * (bug 19586) Avoid JS errors in mwsuggest when using old browsers such
10021 as Opera 8.
10022 * (bug 23563) Old skins now support $wgUploadNavigationUrl and take into
10023 account upload rights.
10024 * (bug 1347) Render \phi in math using images, in order to create consistent
10025 and correct render results.
10026 * (bug 16573) Render \epsilon in math using images, in order to create
10027 consistent and correct render results.
10028 * (bug 22541) Support image redirects when using ForeignAPIRepo.
10029 * (bug 22967) Make edit summary length cut-off behave correctly for multibyte
10030 characters.
10031 * (bug 8689) Long numeric lines no longer kill the parser.
10032 * (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if
10033 the $noRedir parameter is set to true.
10034 * (bug 23688) Correct mime types for Office 2007 OpenXML documents.
10035 * (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php.
10036 * (bug 23797) Xml::input() now allows '0' for the value parameter.
10037 * (bug 23747) Make sure that on History pages, the RevDel button is not
10038 accidentally activated when hitting enter.
10039 * (bug 23845) Special:ListFiles now uses correct file names without underscores.
10040 * Ask for permanent login in Special:Preferences only if $wgCookieExpiration >
10041 0.
10042 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
10043 * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws
10044 a fatal error.
10045 * (bug 23465) Don't ignore the predefined destination filename on
10046 Special:Upload after following a red link.
10047 * (bug 23642) Recognize mime types of MS OpenXML documents.
10048 * (bug 22784) Normalise underscores and spaces in autocomments.
10049 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings.
10050 * (bug 24022) Only check file extensions on the uploadpage when needed.
10051 * (bug 24076) Recognize Office 2003 files with OpenXML trailers.
10052 * (bug 24244) Updated comments in DefaultSettings.php to reflect
10053 Image: --> File: namespace rename.
10054 * Make wfTimestamp recognize negative unix timestamp values.
10055 * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is
10056 disabled.
10057 * (bug 23293) Do not show change tags when Special:RecentChanges(linked) or
10058 Special:Newpages is transcluded into another page as it messes up the page.
10059 * (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer
10060 throw fatal errors.
10061 * (bug 23380) Uploaded files that are larger than allowed by PHP now show a
10062 useful error message.
10063 * Uploading to a protected title will allow the user to choose a new name
10064 instead of showing an error page.
10065 * (bug 24425) Use Database::replace instead of delete/insert in
10066 SqlBagOStuff::set to avoid query errors about duplicate keynames.
10067 * (bug 15470) First letters of filenames are always capitalized by upload JS.
10068 * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules.
10069 * (bug 21052) Fix link color for stubs in NewPages.
10070 * (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no
10071 longer pollutes the parser cache.
10072 * (bug 17031) Correct which characters the parser allows in tag attributes (a
10073 letter, colon or underscore followed by 0 or more letters, numbers, colons,
10074 underscores, hyphens, and/or periods).
10075 * Save 200 useless queries on each category page view.
10076 * Shell commands will now work on Linux in filesystems mounted noexec.
10077 * (bug 24804) Corrected commafying in Polish and Ukrainian.
10078 * "Difference between pages" is now displayed instead of "Difference between
10079 revisions" on diffs when appropriate.
10080 * (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as
10081 a repository due to missing 'name' attribute from the API list=allimages.
10082 * (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also
10083 make wfTempDir() return a sane value for Windows on worst-case.
10084 * (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce
10085 memory usage when such an ImageMagick is used for scaling.
10086 * Disable multithreaded behavior in recent ImageMagick, to avoid a deadlock
10087 when a resource limit such as $wgMaxShellMemory is hit.
10088 * (bug 24981) Allow extensions to access SpecialUpload variables again.
10089 * (bug 20744) Wiki forgets about an uploaded file.
10090 * (bug 17913) Don't show "older edit" when no older edit available.
10091 * (bug 6204) TOC not properly rendered when using $wgMaxTocLevel.
10092 * (bug 24977) The accesskey in history page now lead directly to the diff
10093 instead of alternating focus between the two buttons.
10094 * (bug 24987) Special:ListUsers does not take external groups into account.
10095 * (bug 20633) update.php has mixed language output.
10096 * SQLite system table names are now never prefixed.
10097 * (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second
10098 parameter.
10099 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16).
10100 * (bug 25367) wfShellExec() is more explicit when failing due to disabled
10101 passthru().
10102 * (bug 25462) Fix double-escaping for section edit link tooltips.
10103 * action=raw was removed for Special:Statistics. This information is still
10104 available via the API.
10105 * (bug 23934) Groups defined in $wgRevokePermissions but not in
10106 $wgGroupPermissions now appear on Special:ListGroupRights.
10107 * (bug 23923) Special:Prefixindex no longer shows results if nothing was
10108 requested.
10109 * (bug 22308) Search now finds text in default main page immediately after
10110 setup.
10111 * (bug 25697) Make sure empty lines render in diff view.
10112 * Use an actual minus sign in diff views, instead of a hyphen.
10113 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles.
10114 * (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates.
10115 * (bug 25642) A exception is now thrown instead of a fatal error when using
10116 $wgSMTP without PEAR mail package.
10117 * (bug 19633) When possible, Upscale small SVGs when creating thumbnails.
10118 * (bug 11013) Database driver detection needs rewriting for robustness.
10119 * (bug 13409) Installer prompts could use clarification--now has help boxes.
10120 * (bug 16902) Installer spews warnings when exec() and dl() are not available.
10121 * (bug 19129) Only show MyISAM/InnoDB when supported.
10122 * (bug 17762) Only show other e-mail options when e-mail is globally enabled.
10123 * Cache multiple sizes of InstantCommons thumbnails.
10124 * (bug 25488) Disallowing anonymous users to read pages no longer throws error
10125 on discussion pages with vector as default skin.
10126 * (bug 24833) Files name in includes/diff/ are now less confusing.
10127 * (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores.
10128 * (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir
10129 parameters.
10130 * (bug 25175) HTML file cache now honor $wgCacheDirectory if
10131 $wgFileCacheDirectory is not set.
10132 * (bug 13353) Diff3 version checks were too strict, did not detect working
10133 diff3.
10134 * (bug 25843) Links to special pages using link= attribute on images are now
10135 normalised like normal links to special pages.
10136 * (bug 21364) External links using link= attribute on images now respect
10137 $wgExternalLinkTarget.
10138 * (bug 17789) Added a note to the total views on Special:Statistics saying that
10139 is doesn't count non-existing pages and special pages.
10140 * (bug 17996) HTTP redirects are now combined when requesting a special page.
10141 * (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in
10142 some cases.
10143 * (bug 25670) wfFindFile() now checks the namespace of the given title, only
10144 "File" and "Media" are allowed now.
10145 * (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict
10146 with php extension that defines same class.
10147 * (bug 20591) There's now a different message on Special:MovePage when
10148 $wgFixDoubleRedirects is set to false.
10149 * Fixed PHP warnings when updating a broken MySQL database.
10150 * (bug 26023) Corrected deleteBacth.php's documentation.
10151 * (bug 25451) Improved datetime representation in 32 bit php >= 5.2.
10152 * Show "skin does not exist error" only when the skin is inputted in the wrong
10153 case.
10154 * (bug 26164) Potential html injection when the database server isn't available.
10155 * (bug 26160) Upload description set by extensions are not propagated.
10156 * (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow
10157 absolute URLs in the sitemap index (as required e.g. by Google).
10158 * Partial workaround for bug 6220: at least make files on shared repositories
10159 show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.
10160 * rebuildFileCache.php no longer creates inappropriate cache files for
10161 redirects.
10162 * (bug 25512) Subcategory list should not include category prefix for members.
10163 * (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer
10164 treated as wikitext on preview.
10165 * Page existence is now not revealed (in the colour of the tabs) to users who
10166 cannot read the page in question.
10167 * (bug 22753) Output from update.php is more clear when things changed, entries
10168 indicating nothing changed are now all prefixed by "..."
10169 * (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions.
10170 * (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown
10171 as "Permitted file types" on the upload form.
10172 * (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater.
10173 * (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain
10174 selected when the action is "purge".
10175 * (bug 26733) Wrap initial table creation in transaction.
10176 * (bug 26208) Mark directionality of some interlanguage links.
10177 * (bug 26716) Provide link to instructions for external editor related
10178 preferences.
10179 * (bug 26961) Hide anon edits in watchlist preference now actually works.
10180 * (bug 1379) Installer directory conflicts with some hosts' configuration panel.
10181 * (bug 27781) Installer does not warn about 5.1.x. Added a compatibility
10182 function for array_key_exists().
10183 * Fix XML well-formedness on a few pages when $wgHtml5 is true (the default).
10184 * (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler
10185 are also set.
10186 * (bug 26223) Concurrently moving an article to different titles leaks a
10187 redirect revision with no page.
10188 * (bug 15641) Fixed permissions checks in Special:Import which allowed users
10189 without the 'import' permission to import pages from configured import
10190 sources.
10191 * (bug 26449) Keep underlines from headings outside of tables and thumbs by
10192 adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching).
10193 * (bug 26708) Remove background-color:white from tables in Monobook and Vector.
10194 * (bug 26781) {{PAGENAME}} and related parser functions escape their output
10195 better.
10196 * (bug 26716) Provide link to instructions for external editor related
10197 preferences and add a comment to the ini control file explaining what is going
10198 on.
10199 * (bug 28422) Remove color:black from tables in Monobook and Vector. And add it
10200 to table.wikitable instead.
10201 * (bug 27560) Search queries no longer fail in walloon language.
10202 * (bug 27700) The upload protection can now also be set for files that do not
10203 exist.
10204 * (bug 28034) uploading file to local wiki when file exists on shared repository
10205 (commons) gives spurious info in the warning message.
10206 * Usernames get lost when selecting different sorts on Special:listfiles.
10207 * (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per
10208 page restrictions.
10209 * (bug 28242) Make redirects generated by urls containing a local interwiki
10210 prefix be a 301 instead of a 302.
10211 * (bug 28568) Entries in the iwlinks table are now removed on page deletion.
10212 * (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo.
10213 * (bug 28444) Fix regression: edit-on-doubleclick retains revision id again.
10214 * UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if
10215 intl installed.
10216 * (bug 26729) Category pages should return 404 if they do not exist and have no
10217 members.
10218 * (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1
10219 in header of response.
10220 * (bug 27634) TOC title appears in wrong language.
10221 * (bug 27761) Fix regression: pages with Esperanto titles containing convertible
10222 character sequences became unreachable.
10223 * (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs.
10224 * (bug 27465) SVG thumbnail generation.
10225 * (bug 27467) preload can leave UNIQ.
10226 * (bug 27539) Allow attributes beginning with a digit in wikitext tag
10227 parameters.
10228 * (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken
10229 in 1.17.
10230 * (bug 27333) Fix repetitive last-seen time queries on page history.
10231 * (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes
10232 processing of JSON return values for ForeignAPIRepo when native json module
10233 not present.
10234 * (bug 25675) Fix search suggestions for Special: pages with spaces.
10235 * (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting
10236 to strings.
10237 * (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler.
10238 * (bug 27302) Don't append the current timestamp for user/site modules when no
10239 user/site JS/CSS is present.
10240 * (bug 27016) dumpTextPass.php now consider the "output" parameter.
10241 * (bug 22606) don't send the "someone registred an account" message when setting
10242 email address (i.e. old one empty) in user preferences.
10243 * (bug 26458) Section edit links appear on pages that user does not have right
10244 to edit.
10245 * (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition.
10246 * (bug 16886) Sister projects box moves down the extract of the first result
10247 in IE 7.
10248 * (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame"
10249 parameter.
10250
10251 === API changes in 1.17 ===
10252
10253 * BREAKING CHANGE: action=patrol now requires POST.
10254 * BREAKING CHANGE: patrol token is no longer the same as edit token.
10255 * BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead
10256 of integers.
10257 * BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually
10258 enforce validation on the input values in addition to giving a warning.
10259 Also add flag to enforce (die) if integer out of range.
10260 * (bug 24650) Fix API to work with categorylinks changes.
10261 * action=parse now correctly returns an error for nonexistent pages.
10262 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs.
10263 * (bug 26560) On allusers if limit < total number of users, last user gets
10264 duplicated.
10265 * (bug 27715) imageinfo didn't respect revdelete.
10266 * (bug 27479) API error when using both prop=pageprops and
10267 prop=info&inprop=displaytitle.
10268 * (bug 27862) Useremail module didn't properly return success on success.
10269 * (bug 27590) prop=imageinfo now allows querying the media type.
10270 * (bug 27587) list=filearchive now outputs full title info.
10271 * (bug 27897) list=allusers and list=users list hidden users.
10272 * (bug 22738) Allow filtering by action type on query=logevent.
10273 * (bug 22764) uselang parameter for action=parse.
10274 * (bug 22944) API: watchlist options are inconsistent.
10275 * (bug 22868) don't list infinite block expiry date as "now" in API logevents.
10276 * (bug 22290) prop=revisions now outputs "comment" field even when comment
10277 is empty, for consistency with list=recentchanges.
10278 * (bug 19721) API action=help should have a way to just list for a specific
10279 module.
10280 * (bug 23458) Add support for pageid parameter to action=parse requests.
10281 * (bug 23460) Parse action should have a section option.
10282 * (bug 21346) Make deleted images searchable by hash.
10283 * (bug 23461) Normalise usage of parameter names in parameter descriptions.
10284 * (bug 23548) Allow access of another users watchlist through watchlistraw
10285 using token and username.
10286 * (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to
10287 track inline interwiki link usage).
10288 * Add pltitles and tltemplates to prop=links and prop=templates respectively,
10289 similar to prop=categories's clcategories.
10290 * (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when
10291 thumbnailing larger than original image.
10292 * (bug 23835) Need "thumbmime" result in "imageinfo" query.
10293 * (bug 23851) Repair diff for file redirect pages.
10294 * (bug 24009) Include implicit groups in action=query&list=users&usprop=groups.
10295 * (bug 24016) API: Handle parameters specified in simple string syntax
10296 ( 'paramname' => 'defaultval' ) correctly when outputting help.
10297 * (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied.
10298 * (bug 23473) Give description of properties on all modules.
10299 * (bug 24136) unknownerror when adding new section without summary, but
10300 forceditsummary.
10301 * (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result.
10302 * (bug 24303) Added new &servedby parameter to all actions which adds the
10303 hostname that served the request to the result. It is also added
10304 unconditionally on error.
10305 * (bug 24185) Titles in the Media and Special namespace are now supported for
10306 title normalization in action=query. Special pages have their name resolved
10307 to the local alias.
10308 * (bug 24296) Added converttitles parameter to convert titles to their
10309 canonical language variant.
10310 * (bug 23936) Add "displaytitle" to query/info API.
10311 * (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and
10312 iwtitle.
10313 * (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or
10314 one of the backlinks generators with limit=max.
10315 * (bug 24656) API's parse module needs option to disable PP report.
10316 * PARAM_REQUIRED parameter flag added. If this flag is set, and the end user
10317 does not set the parameter, the API will automatically throw an error.
10318 * (bug 24665) When starttimestamp is not specified, fake it by setting it to
10319 NOW, not to the timestamp of the last edit.
10320 * (bug 24677) axto= parameters added to allcategories, allimages, alllinks,
10321 allmessages, allpages, and allusers.
10322 * (bug 24236) Add add, remove, add-self, remove-self tags to
10323 meta=siteinfo&siprop=usergroups.
10324 * (bug 24484) Add prop=pageprops module.
10325 * (bug 24330) Add &redirect parameter to ?action=edit.
10326 * (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and
10327 blockreason if the user is actually blocked.
10328 * Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format.
10329 * For required string parameters, if '' is provided, this is now classed as
10330 missing.
10331 * (bug 24724) list=allusers is out by 1 (shows total users - 1).
10332 * (bug 24166) API error when using rvprop=tags.
10333 * Introduced "asynchronous download" mode for upload-by-url. Requires
10334 $wgAllowAsyncCopyUploads to be true.
10335 * sinumberingroup correctly gives size of 'user' group, and omits size of
10336 implicit groups rather than showing 0.
10337 * (bug 25248) API: paraminfo errors with certain modules.
10338 * (bug 24792) API help for action=purge sometimes wrongly stated whether a
10339 POST request was needed due to cache pollution.
10340 * Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions.
10341 * Added rvparse to parse revisions. For performance reasons if this option is
10342 used, rvlimit is enforced to 1.
10343 * (bug 25748) If a action=parse request provides an oldid that is actually the
10344 current revision id, try the parser cache, and save it to it if necessary.
10345 * (bug 25463) Export header should not be shown if no pages were requested, to
10346 reduce confusion.
10347 * (bug 25648) API discovery information has been added as RSD link in page
10348 <head> and by providing an API module action=rsd. Added hook
10349 ApiRsdServiceApis for extensions to add their own service to the services
10350 list.
10351 * The HTML of diff output markers has changed. Hyphens are now minus signs,
10352 empty markers are now filled with non-breaking-space characters.
10353 * (bug 25741) Add more data to list=search's srprop.
10354 * (bug 25760) counter property still reported by the API when
10355 $wgDisableCounters enabled.
10356 * (bug 25987) prop=info&inprop=watched now also works for missing pages.
10357 * (bug 26006) prop=langlinks now allows obtaining full URL.
10358 * (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook.
10359 * (bug 26089) add block expiration to blockinfo.
10360 * (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the
10361 file is a multi-page file.
10362 * (bug 10268) Added linktodiffs parameter on action=feedwatchlist.
10363 * (bug 26219) Show API limits for multi values in description.
10364 * (bug 28070) Fix watchlist RSS for databases that store timestamps in a
10365 real timestamp field.
10366 * (bug 27722) list=filearchive now supports revdel.
10367
10368 === Language support changes in 1.17 ===
10369
10370 MediaWiki supports over 330 languages. Many localizations are updated regularly.
10371
10372 The following languages were added:
10373
10374 * Moroccan Spoken Arabic (ary)
10375 * Banjar (bjn)
10376 * Kabardian (kbd)
10377 * Kabardian (Cyrillic) (kbd-cyrl)
10378 * Latgalian (ltg)
10379 * Minangkabau (min)
10380 * Dutch (informal) (nl-informal)
10381 * Rusyn (rue)
10382
10383 Other significant changes to MediaWiki's language support:
10384
10385 * Fiji Hindi (Devangari script) was removed.
10386 * Removed deprecated language code "dk" (Danish), use "da" instead.
10387 * Link trail added for sl and sh.
10388 * (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br).
10389 * (bug 23156) Commafy and search normalization updated for Belarusian
10390 (Taraškievica).
10391 * (bug 23283) Native name for Old English -> Ænglisc.
10392 * (bug 23364) Native name for Azerbaijani -> Azərbaycanca.
10393 * (bug 24593) Native name for Sorani now uses only Arabic script.
10394 * (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto.
10395 * (bug 24917) Polish as fallback for Kashubia.
10396 * (bug 24794) Tatar link trail updated.
10397 * Esperanto date format corrected.
10398 * (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ /
10399 Qabardjajəbza.
10400 * (bug 28184) Namespaces for the Latgalian Wikipedia.
10401 * (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт
10402 to Башҡортса.
10403 * (bug 26395) Change name of Cornish language to Kernowek.
10404
10405 === Other changes in 1.17 ===
10406
10407 * DatabaseFunctions.php that was needed for compatibility with pre-1.3
10408 extensions has been removed.
10409 * XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate.
10410 * The FailFunction "error handling" method has now been removed
10411 * Sysops now have the "suppressredirect" right by default
10412 * Removed $wgRemoteUploads. It was not well supported and superseded by
10413 $wgUploadNavigationUrl.
10414 * (bug 26253) $wgPostCommitUpdateList has been removed
10415 * The PHPUnit test suite has been removed from this release due to serious
10416 issues which should be resolved by the 1.18 release.
10417 * Oracle DB now uses the __destruct function to commit/close connection as it
10418 doesn't commit on close if transation is triggered in OCI.
10419
10420 == MediaWiki 1.16 ==
10421
10422 == MediaWiki 1.16.5 ==
10423 === Changes since 1.16.4 ===
10424
10425 * (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third
10426 attempt at fixing bug 28235.
10427 * (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin
10428 is enabled.
10429
10430 == MediaWiki 1.16.4 ==
10431 === Changes since 1.16.3 ===
10432
10433 * (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6
10434 clients) was not actually sufficient to fix that bug. This release contains
10435 a second attempt, hopefully we have fixed it this time.
10436
10437 == MediaWiki 1.16.3 ==
10438 === Changes since 1.16.2 ===
10439
10440 * (bug 28449) Fixed permissions checks in Special:Import which allowed users
10441 without the 'import' permission to import pages from the configured import
10442 sources.
10443 * (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those
10444 browsers looking for a file extension in the query string of the URL, and
10445 ignoring the Content-Type header if one is found.
10446 * (bug 28450) Fixed a CSS validation issue involving escaped comments, which
10447 led to XSS for Internet Explorer clients and privacy loss for other clients.
10448
10449 == MediaWiki 1.16.2 ==
10450 === Changes since 1.16.1 ===
10451
10452 * (bug 26642) Fixed incorrect translated namespace due to a regression in the
10453 language converter.
10454 * The interface translations were updated.
10455 * (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability.
10456 * (bug 27094) Fixed server-side arbitrary script inclusion vulnerability.
10457 Affects Windows servers only. A malicious file with extension ".php" must
10458 exist on the server for the exploit to be effective.
10459
10460 == MediaWiki 1.16.1 ==
10461 === Changes since 1.16.0 ===
10462
10463 * (bug 24981) Allow extensions to access SpecialUpload variables again
10464 * (bug 24724) list=allusers was out by 1 (shows total users - 1)
10465 * (bug 24166) Fixed API error when using rvprop=tags
10466 * For wikis using French as a content language, Special:Téléchargement works
10467 again as an alias for Special:Upload.
10468 * (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0)
10469 * (bug 25248) Fixed paraminfo errors in certain API modules.
10470 * The installer now has improved handling for situations where safe_mode is
10471 active or exec() and similar functions are disabled.
10472 * (bug 19593) Specifying --server in now works for all maintenance scripts.
10473 * Fixed $wgLicenseTerms register globals.
10474 * (bug 26561) Fixed clickjacking vulnerabilities by introducing support for
10475 X-Frame-Options. The header value can be configured using $wgBreakFrames and
10476 $wgEditPageFrameOptions.
10477
10478 == MediaWiki 1.16.0 ==
10479 === Changes since 1.16 beta 3 ===
10480
10481 * (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in
10482 1.16 beta 1, but is currently poorly supported by browsers.
10483 * (bug 23175) Re-added window.ta variable for backwards compatibility.
10484 * (bug 23264) Fixed breakage of various command line scripts due to extra line
10485 endings being inserted by Maintenance::output().
10486 * Fixed HTTP client functionality with safe_mode=On.
10487 * Fixed parser tests broken in 1.16 beta 3.
10488 * For Oracle DB backend: fixed parser tests and table prefix feature.
10489 * (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue).
10490 * Fixed plural function for Northern Sami (se)
10491 * (bug 23597) Fixed conflicts between ID attributes in the Vector skin and
10492 parser-generated heading IDs. Renamed head, panel, head-base and page-base.
10493 * Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet.
10494 * (bug 23465) Don't ignore the predefined destination filename on
10495 Special:Upload after following a red link to a file.
10496 * In SQLite full-text search feature: fixed "move page" feature, was non-
10497 functional.
10498 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
10499 user privacy in the case where an attacker can access the wiki through the
10500 same HTTP proxy as a logged-in user.
10501 * Fixed an XSS vulnerability in profileinfo.php for installations with
10502 $wgEnableProfileInfo = true (false by default)
10503 * Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being
10504 false. Fixed a minor header parsing issue when $wgUseXVO = true.
10505 * Fixed a register_globals arbitrary inclusion vulnerability in
10506 MediaWikiParserTest.php, introduced in 1.16 beta 1.
10507
10508 === Changes since 1.16 beta 2 ===
10509
10510 * Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
10511 invalid usernames.
10512 * Fixed sorting in [[Special:Allmessages]]
10513 * (bug 23113) Fixed title in the show/hide links on diff pages
10514 * (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests
10515 * (bug 23127) Re-added missing $1 parameter to the uploadtext message
10516 * Fixed a bug in the Vector skin where personal tools display behind the logo
10517 * (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes
10518 showed the same text.
10519 * (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements
10520 in page views and previews when the language converter is enabled.
10521 * (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
10522 scaling, which was introduced in 1.16 beta 1.
10523 * Improved error checking on installer.
10524 * (bug 22970) Fixed a JavaScript error in the upload destination conflict
10525 check.
10526 * (bug 23167) Check the watch checkbox by default if the watchcreations
10527 preference is set.
10528 * (bug 23171) Improve IE6 version check to avoid false positives.
10529 * (bug 23176) Fixed upload warning override feature "upload new version",
10530 broken in 1.16 beta 1.
10531 * Fixed regression in unwatch links sent out in notification emails. When the
10532 mailing job was deferred via the job queue, the title was incorrect.
10533 * (bug 23534) Fixed SQL query error in API list=allusers.
10534 * Fixed a bug in uploads for non-JavaScript clients. An empty string was used
10535 as the default destination filename, instead of the source filename as
10536 expected.
10537 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
10538 account" and "create by e-mail" features of [[Special:Userlogin]]
10539 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
10540 validation issue.
10541 * Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick
10542 expanded wildcard characters "?" and "*" in image filenames, potentially
10543 causing large numbers of images to be scaled in response to a single request.
10544 The fix for this involves breaking the scaling of such image filenames until
10545 ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details.
10546 * (bug 23608) Fixed invalid HTML in diff pages.
10547
10548 === Changes since 1.16 beta 1 ===
10549
10550 * Fixed errors in maintenance/patchSql.php
10551 * (bug 19627) Fix regression from r57867 where HTMLForm would output
10552 <element classes="foo bar"> rather than <element class="foo bar">
10553 * Fixed broken "-r" option to maintenance/lag.php
10554 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
10555 be submitted along with the user name and password.
10556
10557 === Configuration changes in 1.16 ===
10558
10559 * (bug 18222) $wgMinimalPasswordLength default is now 1
10560 * $wgSessionHandler can be used to configure session.save_handler
10561 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
10562 be used when uploading/moving files
10563 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
10564 to be shown to users
10565 * $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
10566 $wgHiddenPrefs[] = 'realname', but the former are still retained
10567 for backwards-compatibility
10568 * (bug 9257) $wgRCMaxAge now defaults to three months
10569 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
10570 functions and other potential errors when developing.
10571 * Subpages are now enabled in the MediaWiki namespace by default. This is
10572 mainly a cosmetic change, and does not in any way affect the MessageCache,
10573 which was already effectively treating the namespace as if it had subpages.
10574 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
10575 appropriate privileges. Creating this user with web-install page requires
10576 oci8.privileged_connect set to On in php.ini.
10577 * Removed UserrightsChangeableGroups hook introduced in 1.14
10578 * Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
10579 $wgLocalMessageCache, and any other local caches which need a place to put
10580 files.
10581 * $wgFileCacheDirectory is no longer set to anything by default, and so either
10582 needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
10583 * $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
10584 to true
10585 * Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
10586 functionality is now available via $wgLocalisationCacheConf.
10587 * $wgMessageCache->addMessages() is deprecated. Messages added via this
10588 interface will not appear in Special:AllMessages.
10589 * $wgRegisterInternalExternals can be used to record external links pointing
10590 to same server
10591 * (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
10592 to control which external domains may access the API via cross-site AJAX.
10593 * $wgMaintenanceScripts for extensions to add their scripts to the default list
10594 * $wgMemoryLimit has been added, default value '50M'
10595 * $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
10596 should be used instead
10597 * (bug 20489) $wgIllegalFileChars added to override the default list of illegal
10598 characters in file names.
10599 * (bug 19646) $wgImgAuthDetails added to display reason access to uploaded file
10600 was denied to users(img_auth only)
10601 * (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
10602 correctly (img_auth only)
10603 * $wgUploadMaintenance added to disable file deletions and restorations during
10604 maintenance
10605 * $wgCapitalLinkOverrides added to configure per-namespace capitalization
10606 * (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL and renamed
10607 to $wgDnsBlacklistUrls (backward compatibility kept)
10608 * $wgEnableHtmlDiff has been removed
10609 * (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of
10610 CIDR ranges for blocking
10611 * $wgUseInstantCommons added for quick and easy enabling of Commons as a remote
10612 file repository
10613 * $wgDBAhandler added to choose a DBA handler when using CACHE_DBA
10614 * $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave
10615 similarly to the category namespace.
10616 * $wgEnableSorbs renamed to $wgDnsBlacklistUrls ($wgEnableSorbs kept for
10617 backward compatibility)
10618 * $wgUploadNavigationUrl now also affects inline images that do not
10619 exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to
10620 it as appropriate.
10621 * If $wgLocaltimezone is null, use the server's timezone as the default for
10622 signatures. This was always the behavior documented in DefaultSettings.php
10623 but has not been the actual behavior for some time: instead, UTC was used
10624 by default.
10625 * Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath.
10626 If not specified it will default to $wgScriptPath/extensions
10627 * Added $wgCountTotalSearchHits to make search UI display total number of hits
10628 with some search engines.
10629 * Added $wgAdvertisedFeedTypes to decide what feed types (RSS, Atom, both, or
10630 neither) MediaWiki advertises. Default is array( 'atom' ), so RSS is no
10631 longer advertised by default (but it still works).
10632 * Added $wgMemCachedTimeout, controls how long to wait for data from the
10633 memcached servers.
10634 * New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders
10635 for controlling debug output.
10636 * New $wgBlockDisablesLogin when set to true disallows blocked users from
10637 logging in.
10638 * (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate
10639 extension "MetadataEdit".
10640
10641 === New features in 1.16 ===
10642
10643 * Add CSS defintion of the 'wikitable' class to shared.css
10644 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
10645 viewing talk pages
10646 * Superfluous border="0" removed from images
10647 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
10648 to allow extensions to update caches in similar way as MediaWiki invalidates
10649 a cached MonoBook sidebar
10650 * Special:AllPages: Move hardcoded styles from code to CSS
10651 * (bug 18529) New hook: SoftwareInfo for adding information about the software
10652 to Special:Version
10653 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
10654 type of columns when using the Postgres backend.
10655 * (bug 16950) Show move log when viewing/creating a deleted page
10656 * (bug 18242) Show the Subversion revision number per extensions in
10657 Special:Version
10658 * (bug 18420) Missing file revisions are handled gracefully now
10659 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
10660 * (bug 18466) Add note or warning when overruling a move (semi-)protection
10661 * (bug 18342) insertTags works in edit summary box
10662 * (bug 18411) The upload form also checks post_max_size
10663 * Watchlist now has a specialized <div> tag that contains a unique class for
10664 each page
10665 * Added Minguo calendar support for the Taiwan Chinese language
10666 * Database: unionQueries function to be used for UNION sql construction, so
10667 it can be overloaded on DB abstraction level for DB specific functionality
10668 * (bug 18849) Implement Japanese and North Korean calendars
10669 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
10670 month number without the leading zero
10671 * (bug 13456) categoriespagetext supports PLURAL
10672 * (bug 18860) Blocks of IPs affecting registered users can now block email
10673 * (bug 17093) Date and time are separate parameters in Special:BlockList
10674 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
10675 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
10676 'recentchangeslinked-toolbox' were added to allow more fine grained
10677 customisation of the user interface
10678 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
10679 items)
10680 * Special:Search now could search terms in all variant-forms. ONLY apply on
10681 wikis enabled LanguageConverter.
10682 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to
10683 various user groups.
10684 * Add $wgRevokePermissions as a means of restricting a group's rights. The
10685 syntax is identical to $wgGroupPermissions, but users in these groups will
10686 have these rights stripped from them.
10687 * Added a PHP port of CDB (constant database), for improved local caching when
10688 the DBA extension is not available.
10689 * Introduced a new system for localisation caching. The system is based around
10690 fast fetches of individual messages, minimising memory overhead and startup
10691 time in the typical case. The database backend will be used by default, but
10692 set $wgCacheDirectory to get a faster CDB-based implementation.
10693 * Expanded the number of variables which can be set in the extension messages
10694 files.
10695 * Added a feature to allow per-article process pool size control for the parsing
10696 task, to limit resource usage when the cache for a heavily-viewed article is
10697 invalidated. Requires an external daemon.
10698 * (bug 19576) Moved the id attributes from the anchors accompanying section
10699 headers to the <span class="mw-headline"> elements within the section headers,
10700 removing the redundant anchor elements.
10701 * Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
10702 preprocesor level.
10703 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
10704 display for old versions of images.
10705 * In watchlists and Special:RecentChanges, the difference in page size now
10706 appears in dark green if bytes were added and dark red if bytes were removed.
10707 * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
10708 thumbnails to be stored in a separate location to the source images.
10709 * If config/ directory is not executable, the command to make it executable
10710 now asks the user to cd to the correct directory
10711 * Add experimental new external authentication framework, ExternalAuth
10712 * (bug 18768) Remove AdminSettings requirements. Maintenance environment
10713 will still load it if it exists, but it's not required for anything
10714 * (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
10715 class "mw-listgrouprights-key"
10716 * (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
10717 * (bug 10812) Interwiki links can have names and descriptions, fetched from
10718 message 'interwiki-desc-PREFIX', not really used anywhere yet though
10719 * (bug 9691) Add type (signup or login) parameter to
10720 AuthPlugin::ModifyUITemplate()
10721 * (bug 14454) "Member of group(s)" in Special:Preferences causes language
10722 difficulties
10723 * (bug 16697) Unicode combining characters are difficult to edit in some
10724 browsers
10725 * Parser test supports uploading results to remote CodeReview instance
10726 * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
10727 extension version in Special:Version
10728 * (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
10729 right name in Special:ListGroupRights
10730 * (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
10731 to {{ns:...}}
10732 * (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
10733 params
10734 * (bug 18566) Maintenance script to un/protect pages
10735 * (bug 671) The HTML <abbr> tag is now permitted.
10736 * RecentChanges now has a legend to explain what the Nmb! flags mean, and the
10737 flags have tooltips.
10738 * (bug 15209) New hook BeforeInitialize called after everything has been setup
10739 but before Mediawiki::performRequestForTitle()
10740 * wgMainPageTitle variable now available to JavaScript code to identify the main
10741 page link, so it doesn't have to be extracted from the link URLs.
10742 * (bug 16836) Display preview of signature in user preferences and describe its
10743 use
10744 * The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
10745 This can be disabled by setting $wgHtml5 = false;. Specific features enabled
10746 if HTML 5 is used:
10747 ** Some extra inputs will be autofocused, in supporting browsers.
10748 ** The summary attribute has been removed from tables of contents. summary is
10749 obsolete in HTML 5 and wasn't useful here anyway.
10750 ** Unnecessary type="" attribute removed for CSS and JS.
10751 ** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
10752 output by omitting some things like quotation marks where HTML 5 allows.
10753 ** (bug 16921) maxlength enabled for page move comments
10754 * The description message in $wgExtensionCredits can be an array with parameters
10755 * New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
10756 criteria used by Special:Random and subclasses, or substitute a custom result,
10757 deprecating the $wgExtraRandompageSQL config variable
10758 * (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
10759 * (bug 20404) Custom fields in the user creation form template can now have
10760 detail labels in prefsectiontip divs.
10761 * MakeSysop and MakeBot are now aliases for Special:UserRights
10762 * IndexPager->mLimitsShown can now be an associative array of limit => text-to-
10763 display-in-limit-form.
10764 * (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
10765 and add its HTML to it, rather than having to go straight to $wgOut.
10766 * Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
10767 database connection and query errors.
10768 * Show change block / unblock link on Special:Contributions if user is blocked
10769 * Display note on Special:Contributions if the user is blocked, and provide an
10770 excerpt from the block log.
10771 * (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
10772 file is streamed to user, but only when using img_auth
10773 * Note on non-existing user and user talk pages if user does not exist
10774 * New hook ShowMissingArticle so extensions can modify the output for
10775 non-existent pages.
10776 * Admins could disable some variants using $wgDisabledVariants now. ONLY apply
10777 on wikis enabled LanguageConverter.
10778 * (bug 16310) Credits page now lists IP addresses rather than saying the number
10779 of anonymous users that edited the page
10780 * New permission 'sendemail' added. Default right for all registered users. Can
10781 for example be used to prevent new accounts from sending spam.
10782 * (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__
10783 * Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are
10784 called after a user's email has been successfully confirmed or invalidated.
10785 * (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for
10786 a smaller subversion checkout.
10787 * (bug 13750) First letter capitalization can now be a per-namespace setting
10788 * (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages
10789 of existing users
10790 * (bug 21095) Tracking categories produced by the parser (expensive parser
10791 function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by
10792 setting the system message ([[MediaWiki:expensive-parserfunction-category]]
10793 etc) to "-".
10794 * Added maintenance script sqlite.php for SQLite-specific maintenance tasks.
10795 * Rewrote Special:Upload to allow easier extension.
10796 * Upload errors that can be solved by changing the filename now do not require
10797 reuploading.
10798 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
10799 rate limits.
10800 * (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with
10801 the parser so extensions are free to implement their own <math> tag
10802 * (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and
10803 an own 'mw-error-cannotdelete' class
10804 * New hook AbortNewAccountAuto, called before account creation from AuthPlugin-
10805 or ExtUser-driven requests.
10806 * (bug 3480) The warning saying that the page has a history when deleting it now
10807 contains the number of revisions in the history
10808 * $wgStylePath and $wgLogo are now set in the default LocalSettings.php file.
10809 * (bug 20186) Allow filtering history for revision deletion.
10810 * New hook OtherBlockLogLink, called in Special:IPBlockList and Special:Block
10811 to show links to block logs of other blocking extensions, i.e. GlobalBlocking
10812 * Added search capabilities to SQLite backend
10813 * rebuildtextindex.php maintenance script now supports databases other than
10814 MySQL
10815 * upgrade1_5.php now requires to be run --update option to prevent confusion
10816 * (bug 17662) Customizable default preload/editintro for new sections in the
10817 respective addsection-preload and addsection-editintro messages
10818 * Added maintenance script checkSyntax.php that checks for PHP syntax errors
10819 and common coding mistakes
10820 * Updated Unicode normalization tables
10821 * (bug 21604) Spellcheck attribute for editsummary
10822 * New wgCategories JavaScript global variable for userscripts.
10823 * (bug 20717) Added checkboxes to hide users with bot and/or sysop group
10824 membership in SpecialActiveusers
10825 * Allow \pagecolor and \definecolor in texvc
10826 * $wgTexvcBackgroundColor contains background color for texvc call
10827 * (bug 21574) Redirects can now have "303 See Other" HTTP status
10828 * EditPage refactored to allow extensions to derive new edit modes much easier.
10829 * (bug 21826) Subsections of Special:Version now also have anchors
10830 * (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick)
10831 * (bug 21946) Sorted wikitables do not properly handle minus signs
10832 * (bug 18885) Red links for media files do not support shared repositories
10833 * Added $wgFixArabicUnicode, to convert deprecated presentation forms in
10834 Arabic text to their modern equivalents, and $wgFixMalayalamUnicode, to
10835 convert ZWJ-based chillu sequences in Malayalam text to their Unicode 5.1
10836 equivalents.
10837 * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now
10838 stops normal output
10839 * Send new password e-mail in users preference language
10840 * LanguageConverter now support nested using of manual convert syntax like
10841 "-{-{}-}-"
10842 * Upload license preview now uses the API instead of action=ajax
10843 * (bug 7346) Add <guid> to RSS to avoid duplicates
10844 * (bug 19996) Added new hooks for Special:Search, which allow to further
10845 restrict/expand it.
10846 * (bug 21936) When a revision has been patrolled, there's now a link back to the
10847 article
10848 * (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks
10849 the return value
10850 * Separate unit test suites under t/ and tests/ were merged and moved to
10851 maintenance/tests/.
10852 * importImages.php maintenance script can now use the original uploader and
10853 comment from another wiki.
10854 * Support for Turck MMCache was removed
10855 * (bug 14592) Warn users when they try to move their user page that their
10856 account will not be renamed
10857 * Show block log on non-existing user (talk) pages of currently blocked users
10858
10859 === Bug fixes in 1.16 ===
10860
10861 * (bug 18031) Make namespace selector on Special:Export remember the previous
10862 selection
10863 * The svn-version version numbers on Special:Version have been removed
10864 * (bug 17374) Special:Export no longer exports two copies of the same page
10865 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
10866 * (bug 17617) HTML cleanup for ImagePage
10867 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
10868 * Improved error handling for image moving
10869 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
10870 with <strong> tags, helps with text-based browsers
10871 * (bug 18259) Special:DeletedContributions now also uses
10872 MediaWiki:Sp-contributions-logs for the link to Special:Log
10873 * Don't add empty title="" attributes to links to anchors on the current page
10874 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
10875 * (bug 18304) rebuildrecentchanges.php got size changes wrong
10876 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
10877 * (bug 18289) Database connection error page now returns correct HTML
10878 * "successbox", "errorbox" and related CSS classes are now available in all
10879 skins
10880 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
10881 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
10882 * The "noautoblock" flag is no longer displayed in the block log when blocking
10883 an IP address
10884 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
10885 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
10886 * (bug 18377) Time in Enhanced ChangesList lacking localisation
10887 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
10888 * (bug 1553) Lowercase navigation headings in German
10889 * (bug 7830) Pending transactions failed to commit on loginToUse() error
10890 * (bug 11613) session.save_handler being over-ridden
10891 * (bug 11381) session.save_handler being set twice (causes error)
10892 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
10893 * (bug 18115) ForeignAPIRepo cache isn't working
10894 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
10895 after some parsed math syntax.
10896 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
10897 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
10898 <strong> instead of hardcoded styles
10899 * (bug 18449) Fixed items number per column on category pages when the total is
10900 divisible by 3
10901 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
10902 revisions when --delete is not passed
10903 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
10904 * Overhaul of preferences system, includes the following bug fixes:
10905 ** (bug 5363) Changes to default preferences now impact registered users.
10906 ** (bug 14806) Hook to enable putting preferences in existing tabs.
10907 ** (bug 17191) Registration date now listed on preferences page.
10908 ** The user_properties table (now used for storing preferences) has been added
10909 to $wgSharedTables.
10910 ** Note that this change will break some extensions which have not been adapted
10911 for it.
10912 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
10913 languages while the text is typed as URLs.
10914 * (bug 17614) Prev / Next links are not shown if all results are shown
10915 * (bug 18207) Strange spacing before [[irc:...]] links
10916 * Removed float from the user login form in RTL interface - caused display
10917 problems in FF2
10918 * (bug 15008) Redirect images are now subject to Bad image list rules
10919 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
10920 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
10921 'wikidiff' or 'wikidiff2' but extension is not installed
10922 * (bug 18326) Chmod errors in file repos have been hidden
10923 * (bug 18718) Comma after a } create a error in IE
10924 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
10925 tweaked spacing.
10926 * (bug 18656) Use proper directory separators in wfMkdirParents()
10927 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
10928 $wgSysopEmailBans
10929 * (bug 16912) Tooltips on images with link= disappear
10930 * (bug 18389) Localise numbers in EXIF data
10931 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
10932 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
10933 * (bug 18432) Updated documentation for dumpBackup.php
10934 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
10935 tags that were redundantly defined.
10936 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
10937 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
10938 .inc
10939 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
10940 Title::userCanEdit() and Title::userCanMove() have been removed
10941 * Only show upload links on file description if $wgEnableUploads = true
10942 and user can upload
10943 * Don't say "You need to log in to upload/move", because it's possible that
10944 uploading/moving is disabled for registered users as well (e.g. only sysops)
10945 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
10946 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
10947 * (bug 10837) Introducing the StubUserVariant class to determine the variant
10948 variable instead of using this to overrule the user language preference.
10949 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
10950 show "view" instead of "view/restore" on logs.
10951 * (bug 19017) TOC level calculation error in an odd case
10952 * (bug 18999) CSS update for RTL interwiki links
10953 * (bug 18925) history.js removes class names of list elements on initialization
10954 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
10955 link from the edit comment
10956 * (bug 19112) Preferences now respects $wgUseExternalEditor
10957 * (bug 18173) MediaWiki now fails when unable to determine a client IP
10958 * (bug 19170) Special:Version should follow the content language direction
10959 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
10960 * Fixed performance regression in "bad image list" feature
10961 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
10962 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
10963 can add/remove *all* groups (have 'userrights' permission).
10964 * (bug 19294) Always show Sp-contributions-footer(-anon)
10965 * Attempts to restrict reading of pages while anonymous viewing is allowed
10966 via extensions not using the userCan hook and via $wgRevokePermissions now
10967 work.
10968 * (bug 8445) Multiple-character search terms are now handled properly for
10969 Chinese
10970 * (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
10971 * (bug 11242) Check for MySQL storage engines during installation now checks
10972 whether the engines are actually available
10973 * (bug 19390) Omit the "printable version" link on the printable version
10974 * (bug 18394) img_auth.php now respects userCan
10975 * (bug 19509) Uploading to a file named '0' previously treated it as null input
10976 and attempted to upload with the source name. Now warns about not having an
10977 extension (since 0.ext is perfectly valid)
10978 * (bug 19468) Enotif preferences are now only displayed when they are turned on
10979 * (bug 19442) Show/hide options on watchlist only work once
10980 * (bug 19602) PubMed Magic links now use updated NIH url
10981 * (bug 19637) externallinks have links to self
10982 * Don't load Opera 9.5 RTL fixes for Opera 9.6
10983 * Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
10984 and was causing problems.
10985 * Removed repetition of URIs in the title attributes of external links.
10986 * (bug 19693) User name is now escaped in "Contributions for ..." link on
10987 Special:BlockIP
10988 * (bug 19571) Override buildConcat for SQLite.
10989 * Log in and log out links no longer return to page view when clicked from
10990 history view, edit page, or something similar
10991 * (bug 19513) RTL fixes for new Search UI
10992 * (bug 16497) Special:Allmessages is paginated
10993 * (bug 18708) CSS plainlinks class now available to all skins
10994 * (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
10995 database type
10996 * (bug 19759) successbox on Special:Preferences now correctly aligned on
10997 standard, nostalgia and cologneblue skin
10998 * (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
10999 are no longer recorded in the pagelinks table
11000 * (bug 19784) date option "ISO 8601" produced illegal id
11001 * (bug 19761) Removed autogenerated <meta keywords> tag with link data.
11002 Keyword set was not useful, and is ignored by modern search engines anyway.
11003 * (bug 19827) Special:SpecialPages title is "Upload file
11004 * (bug 19355) Added .xhtml, .xht to upload file extension blacklist
11005 * (bug 19287) Workaround for lag on history page in Firefox 3.5
11006 * (bug 19564) Updated docs/hooks.txt
11007 * (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
11008 * (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
11009 * (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
11010 table.
11011 * (bug 14080) Short notation links to subpages didn't work in edit summaries
11012 * (bug 17374) Special:Export no longer exports multiple copies of pages
11013 * (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
11014 users who can't edit them
11015 * (bug 19839) Comments in log items are no more double escaped
11016 * (bug 18161) Fix inconsistent separators in watchlist link toolbars with
11017 "enhanced recent changes"
11018 * (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
11019 the recentchanges table
11020 * (bug 16009) Limit selection forms based on Pager now links to the correct page
11021 when using long urls
11022 * The display of the language list on the preferences is more comply with the
11023 BCP 47 standards.
11024 * (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
11025 * (bug 19301) Duplicate entries in $wgAddGroups, $wgRemoveGroups,
11026 $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
11027 Special:ListGroupRights
11028 * (bug 18799) Special:Userlogin now handles correctly the returnto parameter
11029 to not link back to Special:Userlogout when user's language isn't the same as
11030 content's language
11031 * (bug 19479) Show proper error message when unable to connect to PostgreSQL
11032 database with username/password in MediaWiki's setup
11033 * (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
11034 if uploads are enabled and the user can access it
11035 * (bug 17988) Spaces before [[Category:]] links are no longer ignored
11036 * (bug 19957) All known-failing tests now marked disabled; added --run-disabled
11037 option to parser test suite to run disabled tests if desired.
11038 * (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
11039 * (bug 15680) Split the edit tip message of user CSS/JS subpage into
11040 "usercssyoucanpreview" and "userjsyoucanpreview" respectively.
11041 * (bug 12110) Split the rights for editing users' CSS/JS subpage from
11042 "editusercssjs" into "editusercss" and "edituserjs" respectively.
11043 * (bug 19394) RecentChanges feed URLs for log items with no revisions
11044 (eg Newuser, Userrights) are no longer broken
11045 * (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
11046 language ($wgContLang)
11047 * (bug 11867) Lock error on redirect table when running orphans.php
11048 * (bug 18930) initStats.php now refreshes active users count
11049 * (bug 18699) Using the nosummary URL option no longer triggers the "You have
11050 not provided a summary" warning for those who activated it in their
11051 preferences
11052 * (bug 18855) commandLine.inc and Maintenance.php are now properly included
11053 using the full path
11054 * (bug 18497) Fixed broken style sheets in Opera fullscreen mode
11055 * (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
11056 * (bug 17864/19519) Added proper input normalization in Special:UserRights
11057 * (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
11058 * (bug 19289) importDump.php can now handle bzip2 and 7zip
11059 * (bug 20131) Fixed a PHP notice for users having the "rollback" right on
11060 Special:RecentChangesLinked
11061 * Do not transform EXIF fields with pure text to avoid results like
11062 foo,bar@example,com
11063 * (bug 20176) Fix login/logout links in skin CologneBlue
11064 * (bug 20203) "Powered by Mediawiki" now has height/width on image tag
11065 * (bug 20273) Fix broken output when no pages are found in the content
11066 namespaces
11067 * (bug 20265) Make AncientPages and UnusedFiles work on SQLite
11068 * Fixed XSS vulnerability for Internet Explorer clients (only pre-release
11069 versions of MediaWiki were affected).
11070 * (bug 14817) Moving a page to a subpage of itself moves it twice
11071 * (bug 20289) $wgMaximumMovedPages should only count pages actually moved
11072 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
11073 are now normalized to ordinary spaces in titles; if your wiki has existing
11074 titles with such characters, run cleanupTitles.php and/or cleanupImages.php
11075 * (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
11076 cleanly disabled instead of breaking parsing entirely on PHP 5.2.
11077 * (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
11078 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
11079 * (bug 20317) Cleaned up default main page link accesskey settings
11080 * (bug 20362) Special:Statistics now produces valid HTML when view counters are
11081 enabled
11082 * (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
11083 target page
11084 * (bug 20365) Page name with c/g/h/j/s/u + x are now correctly handled in
11085 Special:MovePage with Esperanto as content language
11086 * (bug 20364) Fixed regression in GIF metadata loading
11087 * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
11088 use wikitext
11089 * (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
11090 DatabaseBase::getFlag() now have documentation
11091 * (bug 19966) MediaWiki:License-header is now used for the licensing header in
11092 the file description page instead of MediaWiki:License
11093 * (bug 20380) Links to history/deleted edits at the top of
11094 Special:RevisionDelete are no more displayed when doing log suppression
11095 * (bug 8143) Localised parser function names are now correctly case insensitive
11096 if they contain non-ASCII characters
11097 * (bug 19055) maintenance/rebuildrecentchanges.php now purges
11098 Special:Recentchanges's RSS and Atom feed cache
11099 * The installer will now try to bypass PHP's max_execution_time
11100 * (bug 20260) SQLite no longer tries to automatically create the database at
11101 execution time, this now happens only at install time; if it is not available
11102 at script execution, it now throws an exception
11103 * Fixed EditFilterMerged hook so the hookError parameter serves a purpose
11104 (analogous to EditFilter hook)
11105 * (bug 2257) Tag extensions can expand template parameters provided to the tag,
11106 by using a new parameter added to the recursiveTagParse function
11107 * (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
11108 $wgArticleRobotPolicies.
11109 * (bug 20466) Hidden categories are no more displayed when printing
11110 * (bug 20446) When changing user rights with User@remotewiki and remotewiki is
11111 the local wiki, the user is now treated as the local user
11112 * (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
11113 argument
11114 * (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
11115 any change, in addition to onkeyup.
11116 * Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
11117 allowed to create page. Done via new message
11118 MediaWiki:Noarticletext-nopermission
11119 * Improved compatibility between the Vector skin and addPortletLink() from
11120 wikibits.js: empty portlets are now present but hidden, adding an element to a
11121 portlet unhides it
11122 * (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
11123 be compatible with the CSS for the Vector skin
11124 * (bug 20578) Wrong localized image metadata - duplicated string?
11125 * (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
11126 correct type="text" parameter
11127 * (bug 482) Don't include TOC in the printable version if it has been hidden
11128 * Adjust the time according to the user configuration on Special:Revisiondelete
11129 * (bug 20624) Installation no longer allows "qqq" as the chosen language
11130 * (bug 20634) The installer-created database user will now have all rights on
11131 the database so that upgrades will go more smoothly.
11132 * (bug 18180) Special:Export ignores limit, dir, offset parameters
11133 * User::getBlockedStatus() works for all kinds of user objects and doesn't
11134 assume the user object is equal to the current-user object ($wgUser)
11135 * (bug 20517) Cancel link from edit page now returns to the old version when
11136 editing an old version
11137 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
11138 by disable_functions
11139 * (bug 20726) Title::getLatestRevID's documentation now says that the function
11140 returns false if the page doesn't exist
11141 * (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache
11142 * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
11143 * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing
11144 command line scripts to fail
11145 * (bug 20702) Parser functions can now be used correctly in
11146 MediaWiki:Missing-article
11147 * (bug 14117) "redirected from" is now also shown on foreign file redirects
11148 * (bug 17747) Only display thumbnail column in file history if the image can
11149 be rendered.
11150 * (bug 3421) Live preview no longer breaks user CSS/JS previews
11151 * (bug 11264) The file logo on a file description page for documents (PDF, ...)
11152 now links to the file rather than the file description page
11153 * Password fields built with HTMLForm now still have the type="password"
11154 attribute if $wgHtml5=false.
11155 * (bug 20836) Preload now works for MediaWiki namespace
11156 * (bug 20885) Search box no longer suggests unavailable special pages
11157 * (bug 20948) "Create this page" on Special:Search is no longer displayed when
11158 searching for special pages
11159 * (bug 20524) Hideuser: Show nice error when trying to block hidden user without
11160 hideuser right
11161 * (bug 21026) Fixed file redirects on shared repos on non-English client wikis
11162 * (bug 21030) Fixed schema choices from being overwritten by defining unique
11163 field names per driver.
11164 * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always
11165 false on non-special pages
11166 * (bug 21113) "Other statistics" header on Special:Statistics is no more
11167 displayed when there isn't any entry in it
11168 * (bug 21114) Special:Contributions no longer shows diff links for new
11169 revisions
11170 * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and
11171 MediaWiki:Templatesusedsection now support plural
11172 * (bug 21079) There is no more line wrapping between label and field in
11173 Special:Log
11174 * (bug 20256) Fixed SQL errors on Special:Recentchanges and
11175 Special:Recentchangeslinked on SQLite backend
11176 * (bug 20880) Fixed updater failure on SQLite backend
11177 * (bug 21182) Fixed invalid HTML in Special:Listgrouprights
11178 * (bug 20242) Installer no longer promts for user credentials for SQLite
11179 databases
11180 * (bug 20911) Installer failed to create a SQLite database
11181 * (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving
11182 dummy
11183 * (bug 21161) Changing $wgCacheEpoch now always invalidates file cache
11184 * (bug 20268) Fixed row count estimation on SQLite backend
11185 * (bug 20275) Fixed LIKE queries on SQLite backend
11186 * (bug 21234) Moving subpages of titles containing \\ now works properly
11187 * (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL
11188 * (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page
11189 * (bug 21255) Fixed hostname construction for DNSBL checking
11190 * (bug 18019) Users are now warned when moving a file to a name in use on a
11191 shared repository and only users with the 'reupload-shared' permission can
11192 complete the move.
11193 * (bug 18909) Add missing Postgres INSERT SELECT wrapper
11194 * User::isValidPassword now only returns boolean results,
11195 User::getPasswordValidity can be used to get an error message string
11196 * The error message shown in Special:ChangePassword now parses wiki markup
11197 * (bug 19859) Removed experimental HTMLDiff feature
11198 * Removed section edit links in edit conflict form
11199 * Allow SpecialActiveusers to work on non-MySQL databases
11200 * (bug 6579) Fixed protecting images from uploading only
11201 * (bug 18609) Search index was empty for some pages
11202 * (bug 13453) rebuildrecentchanges maintenance script works on PG again
11203 * (bug 16583) Reduce false positives when checking for PHP (on upload, etc.)
11204 * (bug 20112) Bitrotted tests in the t/ directory were failing.
11205 * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with
11206 id "mw-sp-contributions-explain"
11207 * (bug 19159) Fixed \overleftrightarrow in texvc
11208 * (bug 19391) Fix caching for Recent ChangesFeed.
11209 * (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages
11210 even to non-logged in users
11211 * (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and
11212 general implementation of HTTP, allowing it to purge non-Squid caches such as
11213 Varnish.
11214 * Fixed corruption of long UDP debug log messages by using socket_sendto()
11215 instead of fsockopen() with fwrite().
11216 * (bug 16884) Fixed feed links in sidebar not complying with URL parameters
11217 of the displayed page
11218 * (bug 21403) memcached class renamed to MWMemecached to avoid conflict with
11219 PHP's memcached extension
11220 * (bug 21650) Both calls to SkinTemplateTabs hook are now compatible
11221 * (bug 21672) Add missing Accept-Language to both Vary and XVO headers
11222 * (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now
11223 only displayed to the users that have "editinterface" right
11224 * (bug 21740) Attempting to protect a page that doesn't exist (salting) returns
11225 "unknown error"
11226 * (bug 18762) both redirects and links get fixed one after another if
11227 redirects-only switch is not present
11228 * (bug 20159) thumbnails rerendered if older than $wgThumbnailEpoch
11229 * Fixed a bug which in some situations causes the job queue to grow forever,
11230 due to an infinite loop of job requeues.
11231 * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have
11232 the page selector when they have only one page
11233 * (bug 21559) "logempty" message is now wrapped in a div with class
11234 "mw-warning-logempty" when used in log extract
11235 * (bug 20549) Parser tests were broken on SQLite backend
11236 * (bug 21776) Interwiki urls like http://en.wikibooks.org/wiki/cs: should give
11237 a redirect instead of a baderror.
11238 * (bug 21803) Special:MyContributions now keeps the query string parameters
11239 * Redirecting special pages now keep query string parameters set to "0" (e.g.
11240 for namespace)
11241 * (bug 20765) Special:ListGroupRights no longer misses addables and removables
11242 groups if there are duplicate entries
11243 * (bug 21814) Message shown when rolling back an edit with a deleted username
11244 now shows '(username deleted)' instead of broken user tool links
11245 * (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID
11246 * (bug 21535) RecentChanges RSS feed now always recognises the namespace filter,
11247 previously it sometimes didn't due to caching.
11248 * (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw
11249 * refreshLinks.php now purges orphaned redirect table rows
11250 * (bug 2971) Swap links of hist & diff location on Special:Contributions for
11251 consistency with RC/WL
11252 * (bug 21986) Special page names are now capitalized by content language
11253 * If two log types have the same description, they're now both displayed in the
11254 type selector on Special:Log
11255 * (bug 20115) Special:Userlogin title says "Log in / create account" even if the
11256 user can't create an account
11257 * (bug 2658) Don't attempt to set the TZ environment variable.
11258 * (bug 9794) User rights log entries for foreign user now links to the foreign
11259 user's page if possible
11260 * (bug 14717) Don't load nonexistent CSS fix files for non-Monobook skins
11261 * (bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler instead of
11262 reimplementing it.
11263 * (bug 19226) First line renders differently on many UI messages.
11264 * (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and
11265 skin-specific JS pages
11266 * (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes
11267 for image divs.
11268 * (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the
11269 Monobook and Chick skins
11270 * Fixed bug involving unclosed "-{" markup in the language converter
11271 * (bug 21870) No longer include Google logo from an external server on wiki
11272 error.
11273 * (bug 22181) Do not truncate if the ellipsis actually make the string longer
11274 * (bug 16039) Text disappearing after a bad image
11275 * (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption',
11276 not 'File:Foo' when Foo is not an image
11277 * (bug 21518) Special:UserRights no longer displays the user name box for users
11278 that can only change their rights
11279 * (bug 21593) Special:UserRights now lists automatic groups membership
11280 * (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload
11281 link from file pages
11282 * Fix bug introduced in MediaWiki 1.12: The author field in
11283 $wgExtensionCredits is no longer sorted with sort() but rather used
11284 as it appears in extensions as was the case before r30117 where it
11285 was unintentionally sorted along with other fields.
11286 * (bug 19334) Textarea no longer jumps when editing longer articles in IE8
11287 * Truncate summary of page moves in revision comment field to avoid broken
11288 multibyte characters
11289 * (bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist
11290 * (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to
11291 the page set in the &returnto parameter.
11292 * (bug 19194) Search box in Modern skin doesn't focus with Safari/Chrome
11293 * (bug 17790) Users instantly logged off on HughesNet
11294 * (bug 21549) Make foreign key constraints DEFERRABLE INITIALLY DEFERRED
11295 when using Postgres as the database backend.
11296
11297 == API changes in 1.16 ==
11298
11299 * Added uiprop=changeablegroups to meta=userinfo
11300 * Added usprop=gender to list=users
11301 * (bug 18311) action=purge now works for images too
11302 * Add parentid to prop=revisions output
11303 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
11304 when the user is blocked
11305 * (bug 18546) Added timestamp of new revision to action=edit output
11306 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
11307 users
11308 * (bug 13049) "API must be accessed from the primary script entry point" error
11309 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
11310 * Added PHP and database version to meta=siteinfo output
11311 * (bug 18533) Add readonly message to meta=siteinfo output
11312 * (bug 18518) Add clprop=hidden to prop=categories
11313 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
11314 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
11315 output
11316 * (bug 18731) Show correct SVN links for extension modules in api.php?version
11317 * (bug 18730) Add version information to action=paraminfo output
11318 * (bug 18743) Add ucprop=size to list=usercontribs
11319 * (bug 18749) Add generator flag to action=paraminfo output
11320 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
11321 * Made deleting file description pages without files possible
11322 * (bug 18773) Add content flag to siprop=namespaces output
11323 * (bug 18785) Add siprop=languages to meta=siteinfo
11324 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
11325 list=recentchanges
11326 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
11327 output
11328 * (bug 19313) action=rollback returns wrong revid on master/slave setups
11329 * (bug 19323) action=parse doesn't return section tree on pages with Cite
11330 warnings
11331 * (bug 18720) Add anchor field to action=parse&prop=sections output
11332 * (bug 19423) The initial file description page used caption in user lang
11333 rather than UI lang
11334 * (bug 17809) Add number of users in user groups to meta=siteinfo
11335 * (bug 18533) Add readonly reason to readonly exception
11336 * (bug 19528) Added XSLT parameter to API queries in format=xml
11337 * (bug 19040) Fix prependtext and appendtext in combination with section
11338 parameter in action=edit
11339 * (bug 19090) Added watchlist parameter, deprecated watch and unwatch
11340 parameter in action=edit
11341 * Added fields to list=search output: size, wordcount, timestamp, snippet
11342 * Where supported by backend, list=search adds a 'searchinfo' element with
11343 optional info: 'totalhits' count and 'suggestion' alternate query term
11344 * (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
11345 external domains to access api.php via AJAX, if the browser supports the
11346 Access-Control-Allow-Origin HTTP header
11347 * (bug 19999) Made metadata and properties of search results optional. Added
11348 srprop and srinfo.
11349 * (bug 20700) Add amprop=default to meta=allmessages to list default value for
11350 customized messages
11351 * Don't parse magic words in meta=allmessages, output messages unparsed
11352 * (bug 21105) list=usercontribs can now list contribs for User:0
11353 * (bug 21085) list=deletedrevs no longer returns only one revision when
11354 drcontinue param is passed
11355 * (bug 21106) Deprecated parameters now tagged in action=paraminfo
11356 * (bug 19004) Added support for tags
11357 * (bug 21083) list=allusers no longer returns current timestamp for users
11358 without registration date
11359 * (bug 20967) action=edit allows creation of invalid titles
11360 * (bug 19523) Add inprop=watched to prop=info
11361 * (bug 21589) API: Separate summary and initial page text for uploads
11362 * (bug 21817) list=usercontribs returns empty result for empty ucuser
11363 * (bug 21441) meta=userinfo&uiprop=options no longer returns default options
11364 for logged-in users under certain circumstances
11365 * (bug 21945) Add chomp control in YAML
11366 * Expand the thumburl to an absolute url to make it consistent with url and
11367 descriptionurl
11368 * (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS
11369 * (bug 22061) API: add prop=headitems to action=parse
11370 * (bug 22240) API: include time in siteinfo
11371 * (bug 22241) Quick edit is still using the deprecated watch parameter (API:
11372 Setting default for watch/unwatch wrongly set)
11373 * (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering
11374 * (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions
11375 * Support key-params arrays in 'descriptionmsg' in
11376 meta=siteinfo&siprop=extensions
11377 * (bug 21922) YAML output should quote asterisk when used as key
11378 * (bug 22297) safesubst: to allow substitution without breaking transclusion
11379 * (bug 18758) API read of watchlist's wl_notificationtimestamp
11380 * (bug 20809) Expose EditFormPreloadText via the API
11381 * (bug 18427) Comment (edit summary) parser option for API
11382 * (bug 18608) API should provide list of CSS styles to apply to rendered output
11383 * (bug 18771) List possible errors in action=paraminfo
11384
11385 === Languages updated in 1.16 ===
11386
11387 MediaWiki supports over 300 languages. Many localisations are updated
11388 regularly. Below only new and removed languages are listed, as well as
11389 changes to languages because of Bugzilla reports.
11390
11391 * Capiznon (cps) (new)
11392 * North Frisian (frr) (new)
11393 * Kirmanjki (kiu) (new)
11394 * Komi-Permyak (koi) (new)
11395 * Karachay-Balkar (krc) (new)
11396 * Hill Mari (mrj) (new)
11397 * Prussian (prg) (new)
11398 * Romagnol (rgn) (new)
11399 * Lower Silesian (sli) (new)
11400 * Picard (pcd) (new)
11401 * Uyghur (Arabic script) (ug-arab) (new)
11402 * Upper Franconian (vmf) (new)
11403 * Votic (vot) (new)
11404 * Eastern Yiddish (ydd) (removed)
11405 * Iriga Bicolano (bto) (removed)
11406 * Ladin (lld) (removed)
11407 * Laz (lzz) (removed)
11408 * Palembang (plm) (removed)
11409 * Megleno-Romanian (Greek script) (ruq-grek) (removed)
11410 * Tamazight (tzm) (removed)
11411 * Laz (lzz) (new)
11412
11413 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
11414 * Add PLURAL function for Scots Gaelic (gd)
11415 * Add Estonian letters äöõšüž to linktrail (et)
11416 * (bug 18776) Native name of Burmese language (my)
11417 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
11418 (Чӑвашла)
11419 * (bug 18864) Updated autonym for Zhuang language
11420 * (bug 18308) Updated date formatting in Occitan (oc)
11421 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
11422 * (bug 19286) Correct commafying function in Polish (pl)
11423 * (bug 19441) Updated date formatting for Lithuanian
11424 * (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
11425 * (bug 19949) New linktrail for Greek (el)
11426 * (bug 19809) Korean (North Korea) (ko-kp) (new)
11427 * (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
11428 * (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail
11429 * (bug 21596) Change interwiki link for Kurdish (ku)
11430 * (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue).
11431
11432 == MediaWiki 1.15 ==
11433
11434 == MediaWiki 1.15.5 ==
11435 === Changes since 1.15.4 ===
11436
11437 * (bug 24565) Fixed Cache-Control headers sent from API modules, to protect
11438 user privacy in the case where an attacker can access the wiki through the
11439 same HTTP proxy as a logged-in user.
11440 * Fixed a minor cookie header parsing issue causing incorrect Cache-Control
11441 headers to be sent.
11442 * Fixed an XSS vulnerability in profileinfo.php for installations with
11443 $wgEnableProfileInfo = true (false by default)
11444 * For backwards compatibility with extensions from 1.14.x or before, restored
11445 the original function ApiMain::requestWriteMode().
11446 * In API login "need token" responses, added the cookieprefix and sessionid
11447 fields, as in MediaWiki 1.16.x. This is an improvement to the CSRF fix
11448 introduced in 1.15.3.
11449
11450 == MediaWiki 1.15.4 ==
11451 === Changes since 1.15.3 ===
11452
11453 * (bug 23534) Fixed SQL query error in API list=allusers.
11454 * (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create
11455 account" and "create by e-mail" features of [[Special:Userlogin]]
11456 * (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS
11457 validation issue.
11458
11459 == MediaWiki 1.15.3 ==
11460 === Changes since 1.15.2 ===
11461
11462 * (bug 22828) Fixed deletion on SQLite.
11463 * (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to
11464 be submitted along with the user name and password.
11465
11466 == MediaWiki 1.15.2 ==
11467 === Changes since 1.15.1 ===
11468
11469 * The installer now includes a check for a data corruption issue with certain
11470 versions of libxml2 2.7 and PHP earlier than 5.2.9, and also for a PHP bug
11471 present in the official release of PHP 5.3.1.
11472 * (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which
11473 was displayed to the user
11474 * (bug 21150) SQLite no longer raise an error when deleting files
11475 * (bug 20880) Fixed updater failure on SQLite backend
11476 * upgrade1_5.php now requires to be run --update option to prevent confusion
11477 * Fixed a CSS validation issue which allowed external images to be included
11478 into wikis where that is disallowed by configuration.
11479 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
11480 similar image access authentication schemes. Check user permissions before
11481 streaming out scaled images from thumb.php.
11482
11483 == MediaWiki 1.15.1 ==
11484 === Changes since 1.15.0 ===
11485 * Fixed fatal errors for unusual file repository configurations, such as
11486 ForeignAPIRepo.
11487 * Fixed the "change password" link on Special:Preferences to have the correct
11488 returnto parameter.
11489 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
11490
11491 == MediaWiki 1.15.0 ==
11492 === Changes since 1.15.0rc1 ===
11493
11494 * Removed category redirect feature, implementation was incomplete.
11495 * (bug 18846) Remove update_password_format(), unnecessary, destroys all
11496 passwords if a wiki with $wgPasswordSalt=false is upgraded with the web
11497 installer.
11498 * (bug 19127) Documentation warning for PostgreSQL users who run update.php:
11499 use the same user in AdminSettings.php as in LocalSettings.php.
11500 * Fixed possible web invocation of some maintenance scripts, due to the use of
11501 include() instead of require(). A full exploit would require a very strange
11502 web server configuration.
11503 * Localisation updates.
11504
11505 === Configuration changes in 1.15 ===
11506
11507 * Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to
11508 temporary passwords
11509 * Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look
11510 * Added $wgNoFollowDomainExceptions to allow exempting particular domain names
11511 from rel="nofollow" on external links
11512 * (bug 12970) Brought back $wgUseImageResize.
11513 * Added $wgRedirectOnLogin to allow specifying a specific page to redirect users
11514 to upon logging in (ex: "Main Page")
11515 * Add $wgExportFromNamespaces for enabling/disabling the "export all from
11516 namespace" option (disabled by default)
11517
11518 === New features in 1.15 ===
11519
11520 * (bug 2242) Add an expiry time to temporary passwords
11521 * (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level
11522 for the current page for a given action
11523 * (bug 17002) Add &minor= and &summary= as parameters in the url when editing,
11524 to automatically add a summary or a minor edit.
11525 * (bug 16852) padleft and padright now accept multiletter pad characters
11526 * When using 'UserCreateForm' hook to add new checkboxes into
11527 Special:UserLogin/signup, the messages can now contain HTML to allow
11528 hyperlinking to the site's Terms of Service page, for example
11529 * Add new hook 'UserLoadFromDatabase' that is called while loading a user
11530 from the database.
11531 * (bug 17045) Options on the block form are prefilled with the options of the
11532 existing block when modifying an existing block.
11533 * (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class
11534 rather than hardcoded HTML tags
11535 * Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow
11536 extensions to alter the SQL query which is used to get the list of wanted
11537 pages
11538 * (bugs 16957/16969) Add show/hide to preferences for RC patrol options on
11539 specialpages
11540 * (bug 11443) Auto-noindex user/user talk pages for blocked user
11541 * (bug 11644) Add $wgMaxRedirects variable to control how many redirects are
11542 recursed through until the "destination" page is reached.
11543 * Add $wgInvalidRedirectTargets variable to prevent redirects to certain
11544 special pages.
11545 * Use HTML5 rel attributes for some links, where appropriate
11546 * Added optional alternative Search form look - Go button & Advanced search
11547 link instead of Go button & Search button
11548 * (bug 2314) Add links to user custom CSS and JS to Special:Preferences
11549 * More helpful error message on raw page access if PHP_SELF isn't set
11550 * (bug 13040) Gender switch in user preferences
11551 * (bug 13040) {{GENDER:}} magic word for interface messages
11552 * (bug 3301) Optionally sort user list according to account creation time
11553 * Remote description pages for foreign file repos are now fetched in the
11554 content language.
11555 * (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically
11556 set to false.
11557 * (bug 16604) Mark non-patrolled edits in feeds with "!"
11558 * (bug 16604) Show title/rev in IRC for patrol log
11559 * (bug 16854) Whether a page is being parsed as a preview or section preview
11560 can now be determined and set with ParserOptions.
11561 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
11562 "mw-confirmemail-pending"
11563 * (bug 8249) The magic words for namespaces and pagenames can now be used as
11564 parser functions to return the desired namespace or normalized title/title
11565 part for a given title.
11566 * (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the
11567 rest of the font
11568 * (bug 7556) Time zone names in signatures lack i18n
11569 * (bug 3311) Automatic category redirects
11570 * (bug 17236) Suppress 'watch user page link' for IP range blocks
11571 * Wrap message 'searchresulttext' (Special:Search) into a div with
11572 class "mw-searchresult"
11573 * (bug 15283) Interwiki imports can now fetch included templates
11574 * Treat svn:// URLs as external links by default
11575 * New function to convert namespace text for display (only applies on wiki with
11576 LanguageConverter class)
11577 * (bug 17379) Contributions-title is now parsed for magic words.
11578 * Preprocessor output now cached in memcached.
11579 * (bug 14468) Lines in classic RecentChanges and Watchlist have classes
11580 "mw-line-odd" and "mw-line-even" to make styling using css possible.
11581 * (bug 17311) Add a note beside the gender selection menu to tell users that
11582 this information will be public
11583 * Localize time zone regions in Special:Preferences
11584 * Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses
11585 the active users data from site_stats.
11586 * Add a <link rel="canonical"> tag on redirected page views
11587 * Replace hardcoded '...' as indication of a truncation with the
11588 'ellipsis' message
11589 * Wrap warning message 'editinginterface' into a div with class
11590 'mw-editinginterface'
11591 * (bug 17497) Oasis opendocument added to mime.types
11592 * Remove the link to Special:FileDuplicateSearch from the "file history" section
11593 of image description pages as the list of duplicated files is shown in the
11594 next section anyway.
11595 * Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from
11596 rate limits.
11597 * (bug 14981) Shared repositories can now have display names, located at
11598 Mediawiki:Shared-repo-name-REPONAME, where REPONAME is the name in
11599 $wgForeignFileRepos
11600 * Special:ListUsers: Sort list of usergroups by alphabet
11601 * (bug 16762) Special:Movepage now shows a list of subpages when possible
11602 * (bug 17585) Hide legend on Special:Specialpages from non-privileged users
11603 * Added $wgUseTagFilter to control enabling of filter-by-change-tag
11604 * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the
11605 username
11606 * Wrap special page summary message '$specialPageName-summary' into a div
11607 with class 'mw-specialpage-summary'
11608 * $wgSummarySpamRegex added to handle edit summary spam. This is used *instead*
11609 of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex.
11610 * New function to convert content text to specified language (only applies on
11611 wiki with LanguageConverter class)
11612 * (bug 17844) Redirect users to a specific page when they log in, see
11613 $wgRedirectOnLogin
11614 * Added a link to Special:UserRights on Special:Contributions for privileged
11615 users
11616 * (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the editor
11617 of the displayed revision
11618 * LinkerMakeExternalLink now has an $attribs parameter for link attributes and
11619 a $linkType parameter for the type of external link being made
11620 * (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables
11621 with dynamic dates.
11622 * (bug 4582) Provide preference-based autoformatting of unlinked dates with the
11623 dateformat parser function.
11624 * (bug 17886) Special:Export now allows you to export a whole namespace (limited
11625 to 5000 pages)
11626 * (bug 17714) Limited TIFF upload support now built in if 'tif' extension is
11627 enabled. Image width and height are now recognized, and when using
11628 ImageMagick, optional flattening to PNG or JPEG for inline display can be
11629 enabled by setting $wgTiffThumbnailType
11630 * Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page'
11631 and 'mw-log-user', respectively
11632 * Added $wgInvalidUsernameCharacters to disallow certain characters in
11633 usernames during registration (such as "@")
11634 * Added $wgUserrightsInterwikiDelimiter to allow changing the delimiter
11635 used in Special:UserRights to denote the user should be searched for
11636 on a different database
11637 * Add a class if 'missingsummary' is triggered to allow styling of the summary
11638 line
11639 * Title attributes are now always blank on framed and thumbnailed images, and
11640 default to blank on inline images instead of defaulting to the image's
11641 filename. Additionally, the alt attribute now defaults to the filename on
11642 framed and thumbnailed images if no caption or alt attribute is specified.
11643
11644 === Bug fixes in 1.15 ===
11645 * (bug 16968) Special:Upload no longer throws useless warnings.
11646 * (bug 17000) Special:RevisionDelete now checks if the database is locked
11647 before trying to delete the edit.
11648 * (bug 16852) padleft and padright now handle multibyte characters correctly
11649 * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if
11650 the destination page exists
11651 * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has
11652 been disabled
11653 * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with
11654 LanguageConverter class)
11655 * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with
11656 LanguageConverter class)
11657 * (bug 17054) Added more descriptive errors in Special:RevisionDelete
11658 * (bug 11527) Diff on page with one revision shows "Next" link to same diff
11659 * (bug 8065) Fix summary forcing for new pages
11660 * (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer
11661 allowed by default. Change $wgInvalidRedirectTargets to re-enable.
11662 * (bug 3043) Feed links of given page are now preceded by standard feed icon
11663 * (bug 17150) escapeLike now escapes literal \ properly
11664 * Inconsistent use of sysop, admin, administrator in system messages changed
11665 to 'administrator'
11666 * (bug 14423) Check block flag validity for block logging
11667 * DB transaction and slave-lag avoidance tweaks for Email Notifications
11668 * (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions
11669 * (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at
11670 "user contributions"
11671 * Rollback links on new pages removed from "user contributions"
11672 * (bug 15811) Re-upload form tweaks: license fields removed, destination locked,
11673 comment label uses better message
11674 * Whole HTML validation ($wgValidateAllHtml) now works with external tidy
11675 * Parser tests no longer fail when $wgExternalLinkTarget is set in
11676 LocalSettings
11677 * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids
11678 error messages on save were the edit in fact is saved.
11679 * (bug 17184) Remove duplicate "z" accesskey in MonoBook
11680 * Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php
11681 * Removed redundant dupe warnings on reupload for the same title. Dupe warnings
11682 for identical files at different titles are still given.
11683 * Add 'change tagging' facility, where changes can be tagged internally with
11684 certain designations, which are displayed on various summaries of changes,
11685 and the entries can be styled with CSS.
11686 * (bug 17207) Fix regression breaking category page display on PHP 5.1
11687 * Categoryfinder utility class no longer fails on invalid input or gives wrong
11688 results for category names that include pseudo-namespaces
11689 * (bug 17252) Galician numbering format
11690 * (bug 17146) Fix for UTF-8 and short word search for some possible MySQL
11691 configs
11692 * (bug 7480) Internationalize database error message
11693 * (bug 16555) Number of links to mediawiki.org scaled back on post-installation
11694 * (bug 14938) Removing a section no longer leaves excess whitespace
11695 * (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file
11696 history
11697 * (bug 17283) Remove double URL escaping in show/hide links for log entries
11698 and RevisionDeleteForm::__construct
11699 * (bug 17105) Numeric table sorting broken
11700 * (bug 17231) Transcluding special pages on wikis using language conversion no
11701 longer affects the page title
11702 * (bug 6702) Default system messages updated/improved
11703 * (bug 17190) User ID on preference page no longer has delimeters
11704 * (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
11705 * (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
11706 * (bug 7509) Separation strings should be configurable
11707 * (bug 17420) Send the correct content type from action=raw when the HTML file
11708 cache is enabled.
11709 * (bug 12746) Do not allow new password e-mails when wiki is in read-only mode
11710 * (bug 17478) Fixed a PHP Strict standards error in
11711 maintenance/cleanupWatchlist.php
11712 * (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin
11713 * (bug 17472) use print <<<EOF in maintenance/importTextFile.php
11714 * Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables
11715 use correct message 'allpagesprefix' for input form label, replace _ with ' '
11716 in next page link
11717 * (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails
11718 * Fixed excessive job queue utilisation
11719 * File dupe messages for remote repos are now shown only once.
11720 * (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now
11721 used as a parameter in 'sharedupload' for easier styling and customization.
11722 * (bug 17482) Formatting error in Special:Preferences#Misc (Opera)
11723 * (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom)
11724 now point to the actual contributors' feed.
11725 * ForeignApiRepos now fetch MIME types, rather than trying to figure it locally
11726 * Special:Import: Do not show input field for import depth if
11727 $wgExportMaxLinkDepth == 0
11728 * (bug 17570) $wgMaxRedirects is now correctly respected when following
11729 redirects (was previously one more than $wgMaxRedirects)
11730 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
11731 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
11732 changed to rc_timestamp_bot
11733 * (bug 17437) Fixed incorrect link to web-based installer
11734 * (bug 17538) Use shorter URLs in <link> elements
11735 * (bug 13778) Hidden input added to the search form so that using the Enter key
11736 on IE will do a fulltext search like clicking the button does
11737 * (bug 1061) CSS-added icons next to links display through the text and makes
11738 it unreadable in RTL
11739 * Special:Wantedtemplates now works on PostgreSQL
11740 * (bug 14414) maintenance/updateSpecialPages.php no longer throws error with
11741 PostgreSQL
11742 * (bug 17546) Correct Tongan language native name is "lea faka-Tonga"
11743 * (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere
11744 * (bug 17460) Client ecoding is now correctly set for PostgreSQL
11745 * (bug 17648) Prevent floats from intruding into edit area in previews if no
11746 toolbar present
11747 * (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights
11748 * (bug 17707) Show file destination as plain text if &wpForReUpload=1
11749 * (bug 10172) Moved setting of "changed since last visit" flags out of the job
11750 queue
11751 * (bug 17761) "show/hide" link in page history in now works for the first
11752 displayed revision if it's not the current one
11753 * (bug 17722) Fix regression where users are unable to change temporary
11754 passwords
11755 * (bug 17799) Special:Random no longer throws a database error when a non-
11756 namespace is given, silently falls back to NS_MAIN
11757 * (bug 17751) The message for bad titles in WantedPages is now localized
11758 * (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect
11759 no longer corrupts the message cache
11760 * (bug 17900) Fixed User Groups interface log display after saving groups.
11761 * (bug 17897) Fixed string offset error in <pre> tags
11762 * (bug 17778) MediaWiki:Catseparator can now have HTML entities
11763 * (bug 17676) Error on Special:ListFiles when using Postgres
11764 * Special:Export doesn't use raw SQL queries anymore
11765 * (bug 14771) Thumbnail links to individual DjVu pages no longer have
11766 two "page" parameters
11767 * (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that
11768 don't use PathInfo or short urls
11769 * (bug 17990) trackback.php now has a trackback.php5 alias and works with
11770 $wgScriptExtension
11771 * (bug 14990) Parser tests works again with PostgreSQL
11772 * (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry
11773 IS NULL
11774 * (bug 18018) Deleting a file redirect leaves behind a malfunctioning redirect
11775 * (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses
11776 * (bug 11213) [edit] section links in printable version no longer appear when
11777 you cut-and-paste article text
11778 * (bug 17405) "Did you mean" to mirror Go/Search behavior of original request
11779 * (bug 18116) 'edittools' is now output identically on edit and upload pages
11780 * (bug 17241) The diffonly URI parameter should cascade to "Next edit" and
11781 "Previous edit" diff links
11782 * (bug 16823) Sidebar search form should not use Special:Search view URL as
11783 target
11784 * (bug 16343) Non-existing, but in use, category pages can be "go" match hits
11785 * Fixed a CSS validation issue which allowed external images to be included
11786 into wikis where that is disallowed by configuration.
11787 * Fixed a data leakage vulnerability for private wikis using img_auth.php or
11788 similar image access authentication schemes. Check user permissions before
11789 streaming out scaled images from thumb.php.
11790
11791 == API changes in 1.15 ==
11792 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
11793 and listing all deleted pages possible
11794 * (bug 16844) Added clcategories parameter to prop=categories
11795 * (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
11796 * (bug 17048) Show the 'new' flag in list=usercontribs for the revision that
11797 created the page, even if it's not the top revision
11798 * (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
11799 * action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
11800 * (bug 15949) Add undo functionality to action=edit
11801 * (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses.
11802 Building query properly now using makeList()
11803 * (bug 17182) Fix pretty printer so URLs with parentheses in them are
11804 autolinked correctly
11805 * (bug 17224) Added siprop=rightsinfo to meta=siteinfo
11806 * (bug 17239) Added prop=displaytitle to action=parse
11807 * (bug 17317) Added watch parameter to action=protect
11808 * (bug 17007) Added export and exportnowrap parameters to action=query
11809 * (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata
11810 * (bug 17355) Added auwitheditsonly parameter to list=allusers
11811 * (bug 17007) Added action=import
11812 * BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because
11813 of performance concerns
11814 * Listing (semi-)deleted revisions and log entries as well in prop=revisions
11815 and list=logevents
11816 * (bug 11430) BREAKING CHANGE: Modules may return fewer results than the
11817 limit and still set a query-continue in some cases
11818 * (bug 17357) Added movesubpages parameter to action=move
11819 * (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
11820 * (bug 16740) Added list=protectedtitles
11821 * Added mainmodule and pagesetmodule parameters to action=paraminfo
11822 * (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
11823 aliases already listed in siprop=namespaces
11824 * (bug 17529) rvend ignored when rvstartid is specified
11825 * (bug 17626) Added uiprop=email to list=userinfo
11826 * (bug 13209) Added rvdiffto parameter to prop=revisions
11827 * Manual language conversion improve: Now we can include both ";" and ":" in
11828 conversion rules
11829 * (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters
11830 is set
11831 * (bug 17774) Don't hide read-restricted modules like action=query from users
11832 without read rights, but throw an error when they try to use them.
11833 * Don't hide write modules when $wgEnableWriteAPI is false, but throw an error
11834 when someone tries to use them
11835 * BREAKING CHANGE: action=purge requires write rights and, for anonymous users,
11836 a POST request
11837 * (bug 18099) Using appendtext to edit a non-existent page causes an interface
11838 message to be included in the page text
11839 * Fixed the circular template inclusion check, was broken when the loop
11840 involved redirects. Without this, infinite recursion within the parser is
11841 possible.
11842 * (bug 18601) generator=backlinks returns invalid continue parameter
11843 * (bug 18597) Internal error with empty generator= parameter
11844 * (bug 18617) Add xml:space="preserve" attribute to relevant tags in XML output
11845 * (bug 17611) Provide a sensible error message on install when the SQLite data
11846 directory is wrong.
11847
11848 === Languages updated in 1.15 ===
11849
11850 MediaWiki supports over 300 languages. Many localisations are updated
11851 regularly. Below only new and removed languages are listed, as well as
11852 changes to languages because of Bugzilla reports.
11853
11854 * Austrian German (de-at) (new)
11855 * Swiss Standard German (de-ch) (new)
11856 * Simplified Gan Chinese (gan-hans) (new)
11857 * Traditional Gan Chinese (gan-hant) (new)
11858 * Literary Chinese (lzh) (new)
11859 * Uyghur (Latin script) (ug-latn) (renamed from 'ug')
11860 * Veps (vep) (new)
11861 * Võro (vro) (renamed from fiu-vro)
11862 * (bug 17151) Add magic word alias for #redirect for Vietnamese
11863 * (bug 17288) Messages improved for default language (English)
11864 * (bug 12937) Update native name for Afar
11865 * (bug 16909) 'histlegend' now reuses messages instead of copying them
11866 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
11867 when the user is blocked
11868 * Traditional/Simplified Gan Chinese conversion support
11869
11870 == MediaWiki 1.14 ==
11871
11872 == MediaWiki 1.14.1 ==
11873 === Changes since 1.14.0 ===
11874
11875 * (bug 17737) Fixed russian URLs for Special:BookSources
11876 * (bug 17713) Using links with only an anchor no longer add an dummy entry in
11877 the pagelinks table
11878 * (bug 17897) Fixed string offset error in <pre> tags
11879 * (bug 17832) Fixed action=delete returning 'unknownerror' instead of
11880 'permissiondenied' when the user is blocked
11881 * Fixed performance regression when accessing deleted (archived) files
11882 * (bug 19693) Fixed cross-site scripting vulnerability in Special:Block
11883
11884 == MediaWiki 1.14.0 ==
11885 === Changes since 1.14.0rc1 ===
11886
11887 * Fixed the performance of the backlinks API module
11888 * (bug 17420) Send the correct content type from action=raw when the HTML file
11889 cache is enabled.
11890 * (bug 17437) Fixed incorrect link to web-based installer
11891 * (bug 17527) Fixed missing MySQL-specific options in installer
11892
11893 === Configuration changes in 1.14 ===
11894
11895 * $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from
11896 the effect of the new __INDEX__/__NOINDEX__ magic words. (Default: null, ex-
11897 empt all content namespaces.)
11898 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
11899 has been $wgSearchForwardUrl.
11900 * (bug 15080) $wgOverrideSiteFeed has been added. Setting either
11901 $wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent
11902 Changes feed that appears on all pages.
11903 * $wgSQLiteDataDirMode has been introduced as the default directory mode for
11904 SQLite data directories on creation. Note that this setting is separate from
11905 $wgDirectoryMode, which applies to all normal dirs created by MediaWiki.
11906 * $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like
11907 $wgAddGroups and $wgRemoveGroups, where the user must belong to a specified
11908 group in order to add or remove those groups from themselves.
11909 Backwards compatibility is maintained.
11910 * $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic
11911 word is restricted to titles equivalent to the actual page title. This
11912 is true per default, but can be set to false to allow any title.
11913 * $wgSpamRegex may now be an array of multiple regular expressions.
11914 * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
11915 * Editing the MediaWiki namespace is now unconditionally restricted to people
11916 with the editinterface right, configuring this in $wgNamespaceProtection
11917 is not required.
11918 * $wgAllowExternalImagesFrom may now be an array of multiple strings.
11919 * Introduced $wgEnableImageWhitelist to toggle the on-wiki external image
11920 whitelist on or off.
11921 * Added $wgRenderHashAppend to append some string to the parser cache and the
11922 sitenotice cache keys.
11923 * $wgRCChangedSizeThreshold is now a positive integer by default,
11924 * (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform
11925 write actions using the API.
11926 * Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix
11927 ($wgLocalInterwiki) onto the page names in the UDP feed.
11928 * Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins
11929 on the wiki. If it's set to false, then the skin used will *always* be
11930 $wgDefaultSkin.
11931 * Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based
11932 on the user's real name if one is set. Defaults to false (use the username)
11933 * Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in
11934 ForeignAPIRepo)
11935 * (bug 44) Image namespace and accompanying talk namespace renamed to File.
11936 For backward compatibility purposes, Image still works. External tools may
11937 need to be updated.
11938 * The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and
11939 NS_IMAGE_TALK. The old constants are retained as aliases for compatibility,
11940 and should still be used in code meant to be compatible with v1.13 or older.
11941 * MediaWiki can be forced to use private IPs forwarded by a proxy server by
11942 using $wgUsePrivateIPs.
11943 * The 'BeforeWatchlist' hook has been removed due to internal changes in
11944 Special:Watchlist. 'SpecialWatchlistQuery' should now be used by extensions
11945 to customize the watchlist database query.
11946
11947 === Migrated extensions ===
11948 The following extensions are migrated into MediaWiki 1.14:
11949
11950 * Special:DeletedContributions to show deleted user contributions (was
11951 extension DeletedContributions)
11952 * Special:Log/newusers recording new users (was extension Newuserlog)
11953 * Special:LinkSearch to search for external links (was extension LinkSearch)
11954 * RenderHash
11955 * NoMoveUserPages
11956 * UniversalEditButton
11957
11958 === New features in 1.14 ===
11959
11960 * New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and
11961 'Special:ListUsers/GROUP/USER', in addition to the older syntax
11962 'Special:ListUsers/GROUP' where GROUP is a valid group name.
11963 * Configurable per-namespace and per-page notices for the edit form,
11964 respectively MediaWiki:Editnotice-# where # is the namespace number, and
11965 MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and
11966 PAGENAME is the page name minus the namespace prefix.
11967 * (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of
11968 search engine indexing on a per-article basis.
11969 * Handheld stylesheet options
11970 * Added 'DoEditSectionLink' hook as a cleaner unified version of the old
11971 'EditSectionLink' and 'EditSectionLinkForOther' hooks. Note that the
11972 'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is
11973 run in all cases instead, so extensions using the old hooks should still work
11974 if they ran roughly the same code for both hooks (as is almost certain).
11975 * Signature (~~~~) "cleaning", i.e. template removal, can be disabled with
11976 $wgCleanSignatures=false
11977 * Extensions can use the SkinBuildSidebar hook to modify the content of the
11978 sidebar and add custom portlets to it
11979 * Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari-
11980 ables into the output of Skin::makeVariablesScript
11981 * (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on
11982 Special:ListGroupRights
11983 * (bug 14377) Add a date selector to history pages
11984 * (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
11985 the main page to be customized
11986 * Added $wgDisableTitleConversion to disabling the conversion for all pages on
11987 the wiki
11988 * Added 'noconvertlink' toggle that can be set per user preferences, also
11989 added 'convertlink=no|yes' on GET requests whether have the link titles
11990 being converted or not
11991 * (bug 14921) Special:Contributions/: add user name to <title>
11992 Patch by Emufarmers
11993 * Unescape more "safe" characters when producing URLs, for added prettiness
11994 * Introduced a new hook 'SkinAfterContent' that allows extensions to add text
11995 after the page content and article metadata. Updated all skins and skin
11996 templates to work with that hook.
11997 * (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and
11998 'ignore-groups'. Patch by Louperivois
11999 * (bug 15127) Work around minor display glitch in Opera.
12000 * By default, reject file uploads that look like ZIP files, to avoid the
12001 so-called GIFAR vulnerability.
12002 * (bug 15141) Give ability to only list protected pages with the cascading
12003 option enabled on Special:ProtectedPages
12004 * (bug 15157) Special:Watchlist has the same options as Special:Watchlist:
12005 Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection
12006 * Added hook 'UserrightsChangeableGroups' to allow modification of what
12007 groups may be added or removed via the Special:UserRights interface.
12008 * HTML entities like &nbsp; now work (are not escaped) in edit summaries.
12009 * (bug 13815) In the comment for page moves, use the colon-separator message
12010 instead of a hardcoded colon.
12011 * Allow <gallery> to accept image names without an Image: prefix
12012 * Add tooltips to rollback and undo links
12013 * BMP images are now displayed as PNG
12014 * (bug 13471) Added NUMBERINGROUP magic word
12015 * (bug 11884) Now support Flash EXIF attribute
12016 * Show thumbnails in the file history list, patch by User:Agbad
12017 * Added support of piped wikilinks using double-width brackets
12018 * Added an on-wiki external image whitelist. Items in this whitelist are
12019 treated as regular expression fragments to match for when possibly
12020 displaying an external image inline.
12021 * (bugs 15405, 15436) Sort more currency types correctly in sortable tables
12022 * (bug 15422) Sort more different types of numbers in sortable tables
12023 * (bug 2889) MediaWiki:Print.css applies to the printable version
12024 * Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for
12025 small categories
12026 * After logging in, automatically redirect to wherever you logged in from
12027 * (bug 5619) Break messages used in Special:Statistics down further
12028 * (bug 11029) Add link to Special:Listusers?group=sysop etc at
12029 Special:Statistics
12030 * (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a
12031 plaintext copyright notice. Patch by Juliano F. Ravasi.
12032 * (bug 15551) Deletion log excerpt is now shown whenever a user vists a
12033 deleted page, even if they are unable to edit it.
12034 * Added Wantedfiles special pages, allowing users to find image links with no
12035 image.
12036 * (bug 12650) It is now possible to set different expiration times for
12037 different restriction types on the protection form.
12038 * (bug 8440) Allow preventing blocked users from editing their talk pages
12039 * Improved upload file type detection for OpenDocument formats
12040 * Added the ability to set the target attribute on external links with
12041 $wgExternalLinkTarget
12042 * api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the
12043 maxlag check fails, just like index.php does
12044 * Added "link" parameter to image links, to allow images to link to an
12045 arbitrary title or URL. This should replace inaccessible and incomplete
12046 solutions such as CSS-based overlays and ImageMap.
12047 * (bug 368) Don't use caption for alt attribute; allow manual specification
12048 using new "alt=" parameter for images
12049 * (bug 44) The {{ns:}} core parser function now also accepts localized
12050 namespace names and aliases; also, its output now uses spaces instead of
12051 underscores to match the behavior of the {{NAMESPACE}} magic word
12052 * Added the ability to display user edit counts in Special:ListUsers. Off by
12053 default, enabled with $wgEdititis = true (named after the medical condition
12054 marked by unhealthy obsession with edit counts).
12055 * Added a file cache to the parser to improve page rendering time on pages with
12056 several uses of the same image.
12057 * (bug 1250) Users can still use "show preview" and "show changes" even if the
12058 wiki is set to read-only mode.
12059 * Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor.
12060 This should make it so that ALL user-accessible methods of removing a page
12061 from a watchlist lead to this hook being called (it was previously only
12062 called from within Article.php
12063 * Maximum execution time for shell processes on linux is now configured with
12064 $wgMaxShellTime (180 seconds by default)
12065 * (bug 1306) 'Email user' link no longer shown on user page when emailing
12066 is not available due to lack of confirmed address or disabled preference
12067 * Special:Wanted templates special page added to display missing templates
12068 linked from articles
12069 * Make search matches bold only, not red as well
12070 * (bug 10080) Blocks can be modified without unblocking first
12071 * (bug 15820) Special:BlockIP shows a notice if the user being blocked is
12072 already directly blocked
12073 * (bug 13710) Allow to force "watch this" checkbox via URL using parameter
12074 "watchthis"
12075 * (bug 15125) Add Public Domain to default options when installing. Patch by
12076 Nathan Larson.
12077 * Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
12078 * (bug 16113) Show/hide for redirects in Special:NewPages
12079 * (bug 15903) Upload link was added to Nostalgia skin
12080 * (bug 15761) Add user toggle to omit diff after rollback
12081 * Added the BitmapHandler_ClientOnly media handler, which allows server-side
12082 image scaling to be completely disabled for specific media types, via the
12083 $wgMediaHandlers configuration variable.
12084 * New 'AbortDiffCache' hook can be used to cancel the caching of a diff
12085 * (bug 15835) Added Content-Style-Type meta tag
12086 * (bug 11027) Add parameter to MW:Randompage-nopages so that user can see the
12087 namespace.
12088 * Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that
12089 admins with a single domain can hide the domain section using CSS
12090 * Dropped old Paser_OldPP class. Only new parser with preprocessor is used.
12091 * Moved password reset form from Special:Preferences to Special:ResetPass
12092 * Added Special:ChangePassword as a special page alias for Special:ResetPass
12093 * Added complementary function for addHandler() called removeHandler() for
12094 removing events
12095 * Improved security of file uploads for IE clients, using a reverse-engineered
12096 algorithm very similar to IE's content detection algorithm.
12097 * Cascading protection no longer requires that both edit and move are restricted
12098 to sysop, just edit=sysop is enough
12099 * (bug 2391) A warning is now shown for invalid ISBN numbers on
12100 Special:Booksources.
12101 * Installer has been updated to reflect the release of the GFDL 1.3. The URL for
12102 1.2 has been updated, and the 1.3 URL has been given. 1.2 is still
12103 Wikipedia-compatible. RightsCode was changed from 'gfdl' to 'gfdl1_2', so we
12104 can now support 1.2 as well as 1.3 (gfdl1_3).
12105 * (bug 16293) PD URL was changed to the CreativeCommons site on PD (which
12106 auto-detects your language) instead of Wikipedia.
12107 * (bug 16635) The "view and edit watchlist" page (Special:Watchlist/edit) now
12108 includes a table of contents
12109 * File objects returned by wfFindFile() are now cached by default
12110 * (bug 7492) Rights can now be assigned to specific IP addresses and ranges by
12111 using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE)
12112 * Add a 'change block' link to Special:IPBlockList and Special:Log
12113 * (bug 16459) Use native getElementsByClassName where possible, for better
12114 performance in modern browsers
12115 * Enable \cancel and \cancelto in texvc (recompile required)
12116 * Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions
12117 to implement their own password hashing methods.
12118 * (bug 16760) Add CSS-class to action links of Special:Log
12119 * (bug 505) Time zones can now be specified by location in user preferences,
12120 avoiding the need to manually update for DST. Patch by Brad Jorsch.
12121 * (bug 2585) HTTP 404 return code is now given for a page view if the page
12122 does not exist, allowing spiders and link checkers to detect broken links.
12123 * Special:Log: Add 'change protection' link for unprotected pages too
12124 * Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to
12125 'li' elements
12126 * (bug 16754) Making arbitrary rows of sortable tables sticky:
12127 |- class="unsortable"
12128 * Show subversion too even if a "normal" version number is available
12129 * (bug 16121) Add a note that a page move was without creating a redirect in the
12130 move log
12131 * Image moving is now enabled for sysops by default
12132 * Make "Did you mean" search feature more noticeable
12133 * (bug 16720) Transcluded Special:NewPages processes "/username="
12134
12135 === Bug fixes in 1.14 ===
12136
12137 * (bug 14907) DatabasePostgres::fieldType now defined.
12138 * (bug 14659) Passing the default limit param to Special:Recentchanges no more
12139 falls back to the user option
12140 * (bug 14954) Fix regression in Modern and Simple skins
12141 * Recursion loop check added to Categoryfinder class
12142 * Fixed few performance troubles of large job queue processing
12143 * Not setting various parameters in Foreign Repos now fails more gracefully
12144 * (bug 2333) Redirects are properly rendered when previewing an edit.
12145 * (bug 14972) Use localized alias of Special:Search on all search forms
12146 * (bug 11035) Special:Search should have descriptive <title>
12147 * Special pages are now not subject to special handling for "self-links"
12148 * (bug 15053) Syntactically incorrect redirects with another link in them
12149 no longer redirect to the second link
12150 * (bug 15049) Fix for CheckUser extension's log search: usernames containing
12151 a "-" were incorrectly turned into bogus IP range searches.
12152 Patch by Max Semenik.
12153 * (bug 15055) Talk page notifications no longer attempt to send mail when
12154 user's e-mail address is invalid or unconfirmed
12155 * (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in
12156 5 minutes.
12157 * (bug 15016) 'Templates used on this page' list in view source should be
12158 wrapped in a div with class "templatesUsed"
12159 * (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the
12160 diff entirely, not just the display of it.
12161 * (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which
12162 allows having the unprefixed page title as the default category sortkey
12163 * (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added
12164 ns-special to special pages.
12165 * (bug 15052) Skins should add their name as a class in <body>
12166 * (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar()
12167 for several languages was removed. The settings have been put in extension
12168 WikimediaMessages. Patch for Czech by Danny B.
12169 * (bug 15101) Displaying only bots edits in Special:Recentchanges now works
12170 again
12171 * (bug 13770) Fixed incorrect detection of PHP's DOM module
12172 * (bug 14790) Export of category pages when using Category: prefix now actually
12173 gives results
12174 * Avoid recursive crazy expansions in section edit comments for pages which
12175 contain '/*' in the title
12176 * Fix excessive memory usage when parsing pages with lots of links
12177 * $wgSpamRegex now matches the edit summary and page move descriptions in
12178 addition to body text.
12179 * Navigation links to images available from a shared repository (like Commons)
12180 from their local talk pages no longer appear as redlinks
12181 * Action=purge on ForeignApiFiles now works (purges their thumbnails and
12182 description pages).
12183 * (bug 15303) Title conversion for templates wasn't working in some cases.
12184 * (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken
12185 literally; now converting them to spaces per expectation.
12186 * (bug 15342) "Invert" checkbox now works correctly when selecting main
12187 namespace in Special:Watchlist
12188 * (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the
12189 last input element (like Special:Watchlist too)
12190 * (bug 15351) Fix fatal error for invalid section fragments in autocomments
12191 * Fixed intermittent deadlock errors involving objectcache table queries.
12192 Use a separate database connection for the objectcache table to avoid
12193 long-lasting locks on that table.
12194 * Respect file restrictions in the file history list
12195 * (bug 15399) Odd/even classes on sortable tables' rows could be slow for large
12196 tables, and have been disabled by default.
12197 * (bug 15482) Special:Recentchangeslinked has no longer two submit buttons
12198 * (bug 15292) New message notification for unregistred users now works again
12199 * (bug 14398) mwsuggest.js: Let width of container be configurable
12200 * (bug 15543) Only include user touched timestamp to generated CSS
12201 * (bug 15497) Removed encoding attribute from <?xml ?> tag
12202 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
12203 Special:UserLogin. Patch by Marooned.
12204 * Fixed the HTTP accept language string detection length in
12205 LanguageConverter.php, instead of the fixed length language codes.
12206 * Special:RecentChangesLinked no longer shows outgoing links for nonexistent
12207 pages even if there are broken link records with source article id 0 in the
12208 database
12209 * (bug 15598) Special:Newpages default limit uses user preference for
12210 recentchanges limit instead of hardcoded 50.
12211 * (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses,
12212 instead of hardcoding rss and atom. Patch by Juliano F. Ravasi.
12213 * (bug 14638) Special:Blockip now provides a link to the block log if the user
12214 has been blocked more than 10 times. Patch by Matt Johnston.
12215 * (bug 12678) Skins don't show Upload link if the user isn't allowed to upload.
12216 * Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST.
12217 * (bug 15642) Blocked sysops can no longer block other users
12218 * Http::request() now respects $wgHTTPtimeout when not using cURL
12219 * (bug 15158) Userinvalidcssjstitle not shown on preview
12220 * (bug 15196) Free external links should be numbered in a localised manner
12221 * (bug 15388) Title of Special:PrefixIndex
12222 * Links with no title but a curid parameter now use the curid to pick a page
12223 * (bug 10323) Special:Undelete should have "inverse selection" button
12224 * (bug 15831) Modern skin RTL support is bugous
12225 * (bug 15869) Nostalgia skin does not show page title in printable mode
12226 * (bug 15795) Special:Userrights is now listed on Special:SpecialPages when the
12227 user can only change his rights
12228 * (bug 15846) Categories "leak" from older revisions in certain circumstances
12229 * (bug 15928) Special pages dropdown should be inline in non-MonoBook skins
12230 * (bug 14178) Some uses of UserLoadFromSession hook cause segfault
12231 * (bug 15925) Postitive bytes added on recentchanges and watchlists are now
12232 bolded if above the threshold, previously it only worked for negatives
12233 * Specify apple-touch-icon before favicon in HTML head section to make the
12234 Konqueror browser correctly use the latter
12235 * (bug 15717) Set $separatorTransformTable for language 'eu'
12236 * (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date
12237 preferences.
12238 * (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views.
12239 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
12240 search box
12241 * (bug 14609) User's namespaces to be searched default not updated after adding
12242 new namespace
12243 * Purge form uses valid XHTML
12244 * (bug 12764) Special:LonelyPages shows transcluded pages
12245 * (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback
12246 if JavaScript is disabled
12247 * (bug 4253) Recentchanges IRC messages no longer include title in diff URLs
12248 * Allow '0' to be an accesskey.
12249 * (bug 8063) Use language-dependent sorting in client-side sortable tables
12250 * (bug 16160) Suggestions box should be resized from left for RTL wikis
12251 * (bug 11533) Fixed insane slowdown when in read-only mode for long periods
12252 of time with CACHE_NONE (default objectcache table configuration).
12253 * Trying to set two different default category sort keys for one page now
12254 produces a warning
12255 * (bug 16143) Fix redirect loop on special pages starting with lower case
12256 letters
12257 * (bug 15737) Fix notices while expanding using PPCustomFrame
12258 * (bug 15544) Non-index entry points cause the "Wiki not set up" message to
12259 have corrupt URLs
12260 * (bug 5101) Image from Commons doesn't show up when searched in Wikipedia
12261 search box
12262 * (bug 4362) [[MediaWiki:History copyright]] no more used with most recent
12263 revision when passing oldid parameter in the url
12264 * (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same
12265 filename as the remote site.
12266 * (bug 8345) Don't autosummarize where a redirect was left unchanged
12267 * Made thumb caching in ForeignApiFile objects integrated with normal thumb
12268 path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result.
12269 * (bug 5530) Consistency between character encoding in {{PAGENAMEE}},
12270 {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
12271 * Safer handling of non-MediaWiki exceptions -- now obeys our settings for
12272 formatting and path exposure.
12273 * Less verbose errors from profileinfo.php when not configured
12274 * Blacklist redirects via Special:Filepath, hard to use.
12275 * Improved input validation on Special:Import form
12276 * Add a .htaccess to deleted images directory for additional protection
12277 against exposure of deleted files with known SHA-1 hashes on default
12278 installations.
12279 * Improved scripting safety heuristics for IE 5/6 content-type detection.
12280 * Improved scripting safety heuristics on SVG uploads.
12281 * (bug 11728) Unify layout of enhanced watchlist/recent changes
12282 * (bug 8702) Properly update stats when running nukePage maintenance script
12283 * (bug 7726) Searches for words less than 4 characters now work without
12284 requiring customization of MySQL server settings
12285 * Honour unchecked "Leave a redirect behind" for moved subpages
12286 * (bug 16440) Broken 0-byte math renderings are now deleted and re-rendered
12287 when page is re-parsed.
12288 * (bug 6100) Unicode BiDi embedding/override characters (U+202A - U+202E) are
12289 now automatically removed from titles; these characters can accidentally end
12290 up in copy-and-pasted titles, and, by overriding normal bidirectional text
12291 handling, can lead to annoying behavior such as text rendering backwards
12292 * Fixed minor bug where the memcached value for how many accounts an IP had
12293 created that day would be increased even if $wgAccountCreationThrottle was
12294 hit. This meant if an IP hit the throttle and then the throttle was raised
12295 later that day, the IP still couldn't create another account, because it
12296 had marked them as having created another account, when their last account
12297 creation had actually failed.
12298 * (bug 12647) Allow autogenerated edit summary messages to be blanked with '-'
12299 * (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki
12300 markup now.
12301 * (bug 16529) Fix for search suggestions with some third-party JS libraries
12302 * (bug 13342) importScript() generates more consistent URI encoding
12303 * (bug 16577) When a blocked user tries to rollback a page, the block message
12304 is now only displayed once
12305 * (bug 14268) SVG image sizes now extracted with proper XML parser
12306 * (bug 14365) RepoGroup::findFiles() no longer crashes if passed an invalid
12307 title via the API
12308 * (bug 4253, bug 16586) Revision ID is now given instead of title in URLs for
12309 new pages in the recent changes IRC feed
12310 * Ugly tooltips in Special:Statistics were phased out in favor of more direct
12311 information. Went ahead and rewrote SpecialStatistics to subclass SpecialPage
12312 * (bug 5506) Links to files on foreign repositories are now shown consistently
12313 as bluelinks e.g. in logs and edit summaries
12314 * (bug 16623) Add missing </p> tag in Special:LockDB
12315 * (bug 15849) Special:Movepage now throws a more specific error when trying to
12316 move a title to an interwiki target
12317 * (bug 16638) 8-bit URL fallback encoding now set on additional languages using
12318 Arabic script (Persian, Urdu, Sindhi, Punjabi)
12319 * (bug 16656) cleanupTitles and friends should now work in load-balanced
12320 DB environments when $wgDBserver isn't set.
12321 * (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG
12322 images which do not specify width and height attributes.
12323 * (bug 15027) Internet domain names and IP addresses can now be indexed and
12324 searched sensibly with the default MySQL search backend.
12325 * (bug 11733) Fixed parameter validation in importTextFile.php
12326 * (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages
12327 for clarity over "previous/next"
12328 * (bug 16612) Fixed "noprint" class for Modern skin print style
12329 * Section anchors now have an "id" attribute as well as a "name" attribute,
12330 even when Tidy is not used
12331 * (bug 16026) revision-info, revision-info-current, cannotdelete,
12332 redirectedfrom, historywarning and difference messages now use Wiki text
12333 rather than raw HTML markup
12334 * (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
12335 * (bug 16772) Special:Upload now correctly rejects files with spaces in the
12336 file extension (e.g. Foo. jpg).
12337 * Image moving over an existing file no longer throws a database error
12338 * (bug 16786) Restored "redundant" links recently removed from Classic sidebar
12339 * (bug 16850) $wgActionPaths can have query strings now, previously, this broke
12340 local URLs
12341 * (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts
12342 that STDIN can be used for page list
12343 * (bug 16560) Special:Random returns a page from ContentNamespaces, and no
12344 longer from NS_MAIN
12345
12346 === API changes in 1.14 ===
12347
12348 * Registration time of users registered before the DB field was created is now
12349 shown as empty instead of the current time.
12350 * API search now falls back to fulltext search by default when using Lucene
12351 or other engine which doesn't support a separate title search function.
12352 This means you can use API search on Wikipedia without explicitly adding
12353 &srwhat=text to the query.
12354 * Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages
12355 * (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits'
12356 are now listed on action=help
12357 * (bug 15044) Added requestid parameter to api.php to facilitate distinguishing
12358 between requests
12359 * (bug 15048) Added limit field for multivalue parameters to action=paraminfo
12360 output.
12361 * When the limit on multivalue parameters is exceeded, a warning is issued
12362 * list=search doesn't list missing pages any more
12363 * (bug 15178) Added clshow to prop=categories to allow filtering for hidden/
12364 non-hidden categories
12365 * (bug 15228) Combining revids= and redirects now throws a warning instead of
12366 an error, and still resolves redirects generated by the generator.
12367 * list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2,
12368 etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables)
12369 for consistency with other list modules.
12370 * Added action=watch
12371 * (bug 15275) apprefix and related parameters ignore spaces at the end
12372 * action=edit no longer throws unknown error 228 when trying to create an
12373 empty section with section=new
12374 * Database replication lag doesn't cause all action=edit requests to return the
12375 nochange flag any more
12376 * (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols.
12377 * (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should
12378 return just "Unknown error"
12379 * (bug 15448) YAML output returns empty values instead of 0
12380 * (bug 15445) Added action=patrol
12381 * (bug 15466) Added action=purge
12382 * (bug 15486) action=block ignores autoblock parameter
12383 * (bug 15492) added rcprop=loginfo to list=recentchanges
12384 * (bug 15527) action=rollback can now revert anonymous editors
12385 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
12386 if the page is also protected otherwise (1.10+ style or cascading)
12387 * list=random now has rnredirect parameter, to get random redirects.
12388 * Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute
12389 hooks which allow for extending core modules in a cleaner way
12390 * action=protect checks for invalid protection types and levels
12391 * (bug 15673) Added indentation to format=wddxfm output and improved built-in
12392 WDDX formatter to resemble PHP's more
12393 * (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
12394 rather than causing an exception
12395 * Added uiprop=preferencestoken to meta=userinfo
12396 * (bug 15609) Add inprop=url and inprop=readable to prop=info
12397 * Add ApiDisabled and ApiQueryDisabled classes so individual modules can
12398 be disabled in LocalSettings.php
12399 * (bug 15653) Add prop=duplicatefiles
12400 * (bug 15768) Add list=watchlistraw
12401 * (bug 15647) action=edit with basetimestamp fails if the page has been deleted
12402 and undeleted since the last edit
12403 * (bug 15785) Allow for different expiry times for different protections in
12404 action=protect
12405 * Added allowsduplicates attribute to action=paraminfo output
12406 * (bug 15767) apfilterlanglinks returns duplicate results
12407 * (bug 15845) Added pageid/fromid parameter to action=delete/move, making
12408 manipulation of legacy pages with invalid titles possible
12409 * (bug 15881) Empty or invalid parameters cause database errors
12410 * The maxage and smaxage parameters are now properly validated
12411 * (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol
12412 and patrolmarks right
12413 * (bug 15985) acfrom and aifrom parameters didn't work when sorting in
12414 descending order.
12415 * (bug 15995) Add cmstartsortkey and cmendsortkey parameters to
12416 list=categorymembers
12417 * (bug 16017) list=categorymembers sets invalid continue parameters for
12418 sortkeys containing pipes
12419 * (bug 16018) Added uccontinue parameter to list=usercontribs so paging
12420 works properly when multiple users are queried or a userprefix is used
12421 * (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics
12422 output
12423 * Added redirect resolution to action=parse
12424 * (bug 16074) rvprop=content combined with a generator with a high limit causes
12425 an error
12426 * (bug 16105) Image metadata attributes containing spaces result in invalid XML
12427 * (bug 16126) Added siprop=magicwords to meta=siteinfo
12428 * (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
12429 * (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
12430 * meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
12431 sifilter parameter.
12432 * (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
12433 limits
12434 * (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases
12435 * (bug 16408) Added rvgeneratexml to prop=revisions
12436 * (bug 16421) Made list=logevents's leuser accept user names with underscores
12437 instead of spaces
12438 * (bug 16516) Made rvsection=T-2 work
12439 * (bug 16526) Added usprop=emailable to list=users
12440 * (bug 16548) list=search threw errors with an invalid error code
12441 * (bug 16515) Added pst and onlypst parameters to action=parse
12442 * (bug 16541) Added block expiry timestamp to list=logevents output
12443 * (bug 16613) action=protect doesn't tell when &cascade was set but cascading
12444 protection wasn't allowed
12445 * (bug 16626) action=delete now correctly handles empty "reason" param
12446 * (bug 15579) clshow considers all categories !hidden
12447 * (bug 16647) list=allcategories, prop=categories don't return "hidden"
12448 property for hidden categories
12449 * New siprop parameter of 'extensions' to list all installed extensions
12450 * (bug 16672) Include canonical namespace name in
12451 meta=siteinfo&siprop=namespaces.
12452 * (bug 16726) siprop=namespacealiases should also list localized aliases
12453 * (bug 16730) Added apprfiltercascade parameter to list=allpages to filter
12454 cascade-protected pages
12455
12456 === Languages updated in 1.14 ===
12457
12458 MediaWiki supports over 300 languages. Many localisations are updated
12459 regularly. Below only new and removed languages are listed.
12460
12461 * Bakhtiari (bqi) (new)
12462 * Fiji Hindi (Devanagari script) (hif-deva) (new)
12463 * Krio (kri) (new)
12464 * Lezghian (lez) (new)
12465 * Laz (lzz) (new)
12466 * Eastern Mari (mhr) (new)
12467 * Niuean (niu) (new)
12468 * Oromo (om) (new)
12469 * Plautdietsch (pdt) (new)
12470 * Western Punjabi (pnb) (new)
12471 * Tarantino (roa-tara) (new)
12472 * Serbo-Croatian (sh) (new)
12473 * Tulu (tcy) (new)
12474
12475
12476 == MediaWiki 1.13 ==
12477
12478 == MediaWiki 1.13.5 ==
12479
12480 February 22, 2009
12481
12482 This is a maintenance update to the Summer 2008 snapshot release of MediaWiki.
12483
12484 MediaWiki is now using a "continuous integration" development model with
12485 quarterly snapshot releases. The latest development code is always kept
12486 "ready to run", and in fact runs our own sites on Wikipedia.
12487
12488 Release branches will continue to receive security updates for about a year
12489 from first release, but nonessential bugfixes and feature developments
12490 will be made on the development trunk and appear in the next quarterly release.
12491
12492 Those wishing to use the latest code instead of a branch release can obtain
12493 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
12494
12495 == Changes since 1.13.4 ==
12496
12497 * (bug 17449) Fixed PostgreSQL installation
12498 * (bug 17527) Fixed missing MySQL-specific options in installer
12499
12500 == Changes since 1.13.3 ==
12501
12502 A number of cross-site scripting (XSS) security vulnerabilities were discovered
12503 in the web-based installer (config/index.php). These vulnerabilities all
12504 require a live installer -- once the installer has been used to install a wiki,
12505 it is deactivated.
12506
12507 Note that cross-site scripting vulnerabilities can be used to attack any website
12508 in the same cookie domain. So if you have an uninstalled copy of MediaWiki on
12509 the same site as an active web service, MediaWiki could be used to attack the
12510 active service.
12511
12512 If you are hosting an old copy of MediaWiki that you have never installed, you
12513 are advised to remove it from the web.
12514
12515 == Changes since 1.13.2 ==
12516
12517 David Remahl of Apple's Product Security team has identified a number of
12518 security issues in previous releases of MediaWiki. Subsequent analysis by the
12519 MediaWiki development team expanded the scope of these vulnerabilities. The
12520 issues with a significant impact are as follows:
12521
12522 * An XSS vulnerability affecting all MediaWiki installations between 1.13.0 and
12523 1.13.2. [CVE-2008-5249]
12524 * A local script injection vulnerability affecting Internet Explorer clients for
12525 all MediaWiki installations with uploads enabled. [CVE-2008-5250]
12526 * A local script injection vulnerability affecting clients with SVG scripting
12527 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
12528 uploads enabled. [CVE-2008-5250]
12529 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
12530 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
12531
12532 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
12533 authorised user's login session, and to act as that user on the wiki. The
12534 authorised user must visit a web page controlled by the attacker in order to
12535 activate the attack. Intranet wikis are vulnerable if the attacker can
12536 determine the intranet URL.
12537
12538 Local script injection vulnerabilities are like XSS vulnerabilities, except
12539 that the attacker must have an account on the local wiki, and there is no
12540 external site involved. The attacker uploads a script to the wiki, which another
12541 user is tricked into executing, with the effect that the attacker is able to act
12542 as the privileged user.
12543
12544 CSRF vulnerabilities allow an attacker to act as an authorised user on the wiki,
12545 but unlike an XSS vulnerability, the attacker can only act as the user in a
12546 specific and restricted way. The present CSRF vulnerability allows pages to be
12547 edited, with forged revision histories. Like an XSS vulnerability, the
12548 authorised user must visit the malicious web page to activate the attack.
12549
12550 These four vulnerabilities are all fixed in this release.
12551
12552 David Remahl also reminded us of some security-related configuration issues:
12553
12554 * By default, MediaWiki stores a backup of deleted images in the images/deleted
12555 directory. If you do not want these images to be publically accessible, make
12556 sure this directory is not accessible from the web. MediaWiki takes some steps
12557 to avoid leaking these images, but these measures are not perfect.
12558 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
12559 errors. This is the default on most shared web hosts.
12560 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
12561 lead to path disclosure.
12562
12563 Other changes in this release:
12564
12565 * Avoid fatal error in profileinfo.php when not configured.
12566 * Add a .htaccess to deleted images directory for additional protection against
12567 exposure of deleted files with known SHA-1 hashes on default installations.
12568 * Avoid streaming uploaded files to the user via index.php. This allows
12569 security-conscious users to serve uploaded files via a different domain, and
12570 thus client-side scripts executed from that domain cannot access the login
12571 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
12572 * When streaming files via index.php, use the MIME type detected from the
12573 file extension, not from the data. This reduces the XSS attack surface.
12574 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any
12575 XSS vulnerabilities involving uploads of files containing scripts.
12576 * Internationalisation updates.
12577
12578 == Changes since 1.13.1 ==
12579
12580 * Security: Work around misconfiguration by requiring strict comparisons for
12581 in_array in User::isAllowed().
12582 * (bug 14944) Added $wgShellLocale for configuration of an appropriate locale
12583 to use for LC_CTYPE during shell invocation. For servers that don't have
12584 en_US.utf8. Also added locale detection during install.
12585 * Localisation updates
12586 * Security: Fixed XSS vulnerability in useskin parameter.
12587
12588 == Changes since 1.13.0 ==
12589
12590 * (bug 15460) Fixed intermittent deadlock errors and poor concurrent
12591 performance for installations without memcached.
12592 * (bug 13770) Fixed DOM module detection for installations with both dom
12593 and domxml.
12594 * (bug 15148) Fixed Special:BlockIP for PostgreSQL
12595 * Fixed SQLite support for non-memcached installations
12596 * Localisation updates, Achinese (ace) added.
12597
12598 == Changes since 1.13.0rc2 ==
12599
12600 * (bug 13770) Fixed incorrect detection of PHP's DOM module
12601 * Fix regression from r37834: accesskey tooltip hint should be given for the
12602 minor edit and watch labels on the edit page.
12603 * Updated Chinese simplified/traditional conversion tables
12604
12605 == Changes since 1.13.0rc1 ==
12606
12607 * $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4
12608 has been $wgSearchForwardUrl.
12609 * (bug 14907) DatabasePostgres::fieldType now defined.
12610 * (bug 14966) Fix SearchEngineDummy class for silently non-functional search
12611 on Sqlite instead of horribly fatal error breaky one.
12612 * (bug 14987) Only fix double redirects on page move when the checkbox is
12613 checked
12614 * (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
12615 address for page update notification mails.
12616 * API: Registration time of users registered before the DB field was created is
12617 now shown as empty instead of the current time.
12618 * (bug 14904): fragments were lost when redirects were fixed.
12619 * Added magic word __STATICREDIRECT__ to suppress the redirect fixer
12620 * (bug 15035) Revert English linkTrail to /^([a-z]+)(.*)$/sD, as it was before
12621 r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries,
12622 both bundled with PHP and packaged with distros such as RHEL.
12623 * (bug 14944) Shell invocation of external programs such as ImageMagick convert
12624 was broken in PHP 5.2.6, if the server had a non-UTF-8 locale.
12625
12626
12627 === Configuration changes in 1.13 ===
12628
12629 * New option $wgFeed can be set false to turn off syndication feeds
12630 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
12631 links through each redirect instead of hardcoded 500
12632 * Set $wgUploadSizeWarning to false by default
12633 * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms
12634 * Removed $wgAlternateMaster, use $wgLBFactoryConf
12635 * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to
12636 $wgUserNotifiedOnAllChanges
12637 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
12638 for only some namespaces
12639 * Removed the emailconfirmed implicit group by default. To re-add it, use:
12640 $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
12641 in your LocalSettings.php.
12642 * (bug 2396) New shared database configuration variables. $wgSharedPrefix allows
12643 you to use a shared database with a different prefix. Or you can now use a
12644 local database and use prefixes to separate wiki and the shared tables. And
12645 the new $wgSharedTables variable allows you to specify a list of tables to
12646 share.
12647 * Automatic edit summaries can be disabled with $wgUseAutomaticEditSummaries
12648 * Duplicates of images are now shown on the image page
12649 * $wgRCFilterByAge allows for the list of dates in recent changes special pages
12650 to be filtered to only those within the range of $wgRCMaxAge
12651 * $wgRCLinkLimits and $wgRCLinkDays allow for customization of the list and
12652 limits displayed on the recent changes special pages
12653 * The "createpage" permission is no longer required when uploading if the target
12654 image page already exists
12655 * $wgMaximumMovedPages restricts the number of pages that can be moved at once
12656 (default 100) with the new subpage-move functionality of Special:Movepage
12657 * Hooks display in Special:Version is now disabled by default, use
12658 $wgSpecialVersionShowHooks = true; to enable it.
12659 * $wgActiveUserEditCount sets the number of edits that must be performed over
12660 a certain number of days to be considered active
12661 * $wgActiveUserDays is that number of days
12662 * $wgRateLimitsExcludedGroups has been deprecated in favor of
12663 $wgGroupPermissions[]['noratelimit']. The former still works, however.
12664 * New $wgGroupPermissions option 'move-subpages' added to control bulk-moving
12665 subpages along with pages. Assigned to 'user' and 'sysop' by default.
12666 * New $wgRC2UDPOmitBots allows user to omit bot edits from UDP output.
12667 Default: false
12668 * Removed $wgEnableCascadingProtection option. Disabling cascading protection
12669 is no longer possible.
12670 * $wgMessageCacheType defines now the type of cache used by the MessageCache
12671 class, previously it was choosen based on $wgParserCacheType
12672 * $wgExtensionAliasesFiles option to simplify adding aliases to special pages
12673 provided by extensions, in a similar way to $wgExtensionMessagesFiles
12674 * Added $wgXMLMimeTypes, an array of XML mimetypes we can check for
12675 with MimeMagic.
12676 * Added $wgDirectoryMode, which allows for setting the default CHMOD value when
12677 creating new directories.
12678 * (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults
12679 current behavior.
12680
12681 === New features in 1.13 ===
12682
12683 * __HIDDENCAT__ on a category page causes the category to be hidden on the
12684 article page
12685 * Do not show edit permissions errors on a red link click, just redirect to the
12686 article. This is so that readers who don't know what a red link is are not
12687 confused when they are told they are range-blocked.
12688 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
12689 image syntax output
12690 * (bug 13100) Added 'preloadtitle' parameter to action=edit&section=new that
12691 pre-fills the section title field
12692 * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked
12693 * (bug 13130) Moved edit token and autosummary fields above edit tools to
12694 reduce broken form submissions
12695 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
12696 redirects to the redirect table
12697 * Add links to page and file deletion forms to edit predefined delete reasons
12698 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
12699 * (bug 2815) Search results for media now use thumbnail instead of text extract
12700 * When a page doesn't exist, the tab should say "create", not "edit"
12701 * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled"
12702 link on diffs
12703 * Magic word formatnum can now take raw suffix to undo formatting
12704 * Add updatelog table to reliably permit updates that don't change the schema
12705 * Add category table to allow better tracking of category membership counts
12706 ** (bug 1212) Give correct membership counts on the pages of large categories
12707 ** Use category table for more efficient display of Special:Categories
12708 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
12709 * (bug 9447) Added hooks for search result headings
12710 * Image redirects are now enabled by default
12711 * (bug 13450) Email confirmation can now be canceled before the expiration
12712 * (bug 13490) Show upload/file size limit on upload form
12713 * Redesign of Special:UserRights
12714 * Make rev_deleted log entries more intelligible
12715 * (bug 6943) Added PAGESINCATEGORY: magic word
12716 * (bug 13604) Added Special:ListGroupRights
12717 * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of
12718 'mainpage' and added it to message 'sidebar'
12719 * Automatically add old redirects to the redirect table when needed
12720 * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or
12721 off on Special:WhatLinksHere
12722 * Cache image redirects
12723 * (bug 10457) Organize Special:SpecialPages into sections
12724 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
12725 to modify the output for edit conflicts
12726 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
12727 a slightly less huge margin and padding
12728 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
12729 * Allow \C and \Q as TeX commands to match \R, \N, \Z
12730 * On Special:UserRights, when you can add a group you can't remove or remove
12731 one you can't add, a notice is printed to warn you
12732 * (bug 12698) Create PAGESIZE parser function, to return the size of a page
12733 * Allow the "log in / create account" link in the toolbar to have different
12734 text from Special:UserLogin title (new message 'nav-login-createaccount')
12735 * Say "log in / create account" if an anonymous user can create an account,
12736 otherwise just "log in", consistently across skins
12737 * Special:Shortpages and Special:Longpages now returns pages in all content
12738 namespaces, not just NS_MAIN.
12739 * (bug 889) Improve conflict-handling between shared upload repository
12740 and local one
12741 * Update documentation links in auto-generated LocalSettings.php
12742 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
12743 * (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
12744 * Custom rollback summaries now accept the same arguments as the default message
12745 * (bug 12542) Added hooks for expansion of Special:Listusers
12746 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)
12747 * More relevant search snippets (turn on $wgAdvancedSearchHighlighting)
12748 * (bug 13950) Allow users to watch the user/talk pages of users they block.
12749 * (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet
12750 * Show image links on Special:Whatlinkshere
12751 * Use rel="start", "prev", "next" appropriately on Pager-based pages
12752 * Add support for SQLite
12753 * AutoAuthenticate hook renamed to UserLoadFromSession
12754 * (bug 13232) importScript(), importStylesheet() funcs available to custom JS
12755 * (bug 13095) Search by first letters or digits in [[Special:Categories]]
12756 * Users moving a page can now move all subpages automatically as well
12757 * (bug 14259) Localisation message for upload button on Special:Import is now
12758 'import-upload' instead of 'upload'
12759 * Add information about user group membership to Special:Preferences
12760 * (bug 14146) Wrap usage section on imagepages into <div>s.
12761 * New layout for Special:Specialpages. Restricted pages are marked but not
12762 separated from other pages in their group.
12763 * (bug 14263) Show a diff of the revert on rollback notification page.
12764 * (bug 13434) Show a warning when hash identical files exist
12765 * Sidebar is now cached for all languages
12766 * The User class now contains a public function called isActiveEditor. Figures
12767 out if a user is active based on at least $wgActiveUserEditCount number of
12768 edits in the last $wgActiveUserDays days.
12769 * SpecialSearchResults hook now passes results by reference, so they can be
12770 changed by extensions.
12771 * Add a new hook LinkerMakeExternalLink to allow extensions to modify the output
12772 of external links.
12773 * (bug 14132) Allow user to disable bot edits from being output to UDP.
12774 * (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a
12775 string
12776 * (bug 14558) New system message (emailuserfooter) is now added to the footer of
12777 e-mails sent with Special:Emailuser
12778 * Add support for Hijri (Islamic) calendar
12779 * Add a new hook LinkerMakeExternalImage to allow extensions to modify the
12780 output of external (hotlinked) images.
12781 * (bug 14604) Introduced the following features for the LanguageConverter:
12782 Multi-tag support, single conversion flag, remove conversion flag on a single
12783 page, description flag, variant name, multi-variant fallbacks.
12784 * Add zh-mo and zh-my variants for the zh language
12785 * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that
12786 are in Special:Recentchanges
12787 * Allow an $error message to be passed to ArticleDelete hook
12788 * Allow extensions to modify the user creation form by calling addInputItem();
12789 * Add meta generator tag to HTML output
12790 * MediawikiPerformAction hook is now passed the Mediawiki object
12791 * Added blank special page Special:BlankPage for benchmarking, etc.
12792 * Foreign repo file descriptions and thumbnails are now cached.
12793 * (bug 11732) Allow localisation of edit button images
12794 * Allow the search box, toolbox and languages box in the Monobook sidebar to be
12795 moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]:
12796 SEARCH, TOOLBOX and LANGUAGES
12797 * Add a new hook NormalizeMessageKey to allow extensions to replace messages
12798 before the database is potentially queried
12799 * (bug 9736) Redirects on Special:Fewestrevisions are now marked as such.
12800 * New date/time formats in Cs localization according to ČSN and PČP.
12801 * Special:Recentchangeslinked now includes changes to transcluded pages and
12802 displayed images; also, the "Show changes to pages linked" checkbox now works
12803 on category pages too, showing all links that are not categorizations
12804 * (bug 4578) Automatically fix redirects broken by a page move
12805
12806 === Bug fixes in 1.13 ===
12807
12808 * (bug 10677) Add link to the file description page on the shared repository
12809 * (bug 13084) Increase size of source/destination filename fields in upload form
12810 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
12811 * (bug 13140) Show parent categories in category namespace
12812 * (bug 13149) Correctly format 'fileexists' message on Upload page
12813 * Make the default filepageexists message accurate
12814 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
12815 * (bug 13022) Fix upload from URL on PHP 5.0.x
12816 * (bug 13132) Unable to unprotect pages protected with earlier versions of
12817 MediaWiki
12818 * (bug 12723) OpenSearch description name now uses more compact language code
12819 to avoid passing the length limit as often, is customizable per site via
12820 'opensearch-desc' message.
12821 * (bug 13135) Special:Userrights now passes IDs through form submission
12822 to allow functionality on not-quite-right usernames
12823 * (bug 12575) Prevent duplicate patrol log entries from being created
12824 * (bug 13174) __HIDDENCAT__ now applies only to category pages
12825 * (bug 13031) Add links to user pages in e-mail form
12826 * (bug 13147) Description for categoriespagetext (used in Special:Categories)
12827 reworded
12828 * (bug 11561) Fix fatal error when calling action=revert to non-image page
12829 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
12830 maintenance/cleanupSpam.php
12831 * All skins should have the "mediawiki" class on the body element
12832 * (bug 13019) Message cache for some extensions not loaded at time of editing
12833 * (bug 13247) Prettified ISBN links
12834 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
12835 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
12836 back when using rollback
12837 * (bug 13012) Use content messages for block options when generating the
12838 recentchanges entry
12839 * (bug 13274) Change links for messages to ucfirst
12840 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
12841 autocomment-prefix)
12842 * Parse MediaWiki message translations with a correct language setting on
12843 preview
12844 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
12845 case-insensitive names.
12846 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
12847 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
12848 * (bug 10721) Duplicate section anchors with differing case now disambiguated
12849 for Internet Explorer's sake and standards compliance
12850 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
12851 * Email subject in content language instead of sending user's UI language
12852 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
12853 * (bug 2084) Fixed incorrect regex to match redirects
12854 * (bug 3131) Manually-specified upload destination filename is no longer
12855 overwritten by browsing for a file after you wrote it.
12856 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
12857 'generated-sidebar'.
12858 * (bug 13265) Media handler is missing 'image/x-bmp'
12859 * (bug 13407) MediaWiki:Powersearch is used in two places
12860 * (bug 13403) Fix cache invalidation of history pages when old revisions change
12861 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
12862 * (bug 12801) Fix link in subtitle message in AJAX search
12863 * (bug 13428) Fix regression in protection form layout HTML validity
12864 * (bug 9403) Sanitize newlines from search term input
12865 * (bug 13429) Separate date and time in message sp-newimages-showfrom
12866 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
12867 so groups may optionally edit protected pages without having 'protect' perms
12868 * Disallow deletion of big pages by means of moving a page to its title and
12869 using the "delete and move" option.
12870 * (bug 13466, 13632) White space differences not shown in diffs
12871 * (bug 1953) Search form now honors namespace selections more reliably
12872 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
12873 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
12874 * (bug 6447) Trackbacks now work with transactional tables, if enabled
12875 * (bug 6892, 7147) Trackback error handling, optional fields more robust
12876 * (bug 6813) Don't break HTML validator when using trackbacks
12877 * Fix for size checks on SVG images with global 'stroke-width' attribute
12878 * (bug 11874) Inline CSS with !important no longer borken
12879 * (bug 1600) Strip extra == section markup == in new-comment field
12880 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
12881 * (bug 12077) Fix HTML nesting for TOC
12882 * (bug 344) Purge cache for talk/article pages when deleting the other tab
12883 * (bug 13436) Treat image captions correctly when they include option keywords
12884 (like ending with "px" or starting with "upright")
12885 * Trackback display formatting fixed
12886 * Don't die when single-element arrays are passed to SQL query constructors
12887 that have an array index other than 0
12888 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
12889 * (bug 13532) Use proper timestamp call when reverting images
12890 * (bug 13543) Updated FAQ link in the installer sidebar
12891 * (bug 13540) Date format in confirmation e-mail now matches message language
12892 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
12893 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
12894 * (bug 13576) maintenance/rebuildrecentchanges.php fails
12895 * (bug 13441) Allow Special:Recentchanges to show bots only
12896 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
12897 * (bug 13463) Login successful page doesn't use user's preferred interface
12898 language
12899 * (bug 13630) Fixed warnings for pass by reference at call time in
12900 Special:Revisiondelete when generating the log entry.
12901 * (bug 12064) BeforePageDisplay hook is now called for all skins
12902 * (bug 13624) Fix regression with manual thumb= parameter on images
12903 * (bug 11039) Add missing labels on protection form
12904 * (bug 13458) Preview/edit toolbar spacing now works consistently
12905 * (bug 13433) Fix action=render on Image: pages
12906 * (bug 13678) Fix CSS validation for Monobook
12907 * (bug 13684) Links in Special:ListGroupRights should be in content language
12908 * (bug 13690) Fix PHP notice on accessing some URLs
12909 * Hide (undo) link if user isn't able to edit page
12910 * Invalidate cache of pages that includes images via redirects on upload
12911 * (bug 13705) Don't show rollback link in page history on incorrect revisions
12912 * (bug 13708) Don't set "Search results" title when loading Special:Search
12913 without query
12914 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existent IP addresses
12915 * (bug 13728) Don't trim initial whitespace during section edits
12916 * (bug 13727) Don't delete log entries from recentchanges on page deletion
12917 * (bug 13752) Redirects to sections now work again
12918 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
12919 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
12920 the page is included
12921 * When hiding things on WhatLinksHere, generated URLs should hide them too
12922 * Properly escape search terms with regex chars so they appear highlighted in
12923 search results
12924 * (bug 13768) pt_title field encoding fixed
12925 * Do not display empty columns on Special:UserRights if all groups are
12926 changeable or all unchangeable
12927 * Fix fatal error on calling PAGESINCATEGORY with invalid category name
12928 * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of
12929 before
12930 * (bug 13796) Show links to parent pages even if some of them are missing
12931 * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere
12932 * (bug 13822) Fatal error on some pages when calculating subpage subtitle
12933 * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
12934 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
12935 * (bug 13866) skins/common/shared.css - invalid attribute fixing
12936 * Hide edit section links on Special:Undelete
12937 * (bug 13860) Fix "Justify paragraphs" option for Modern skin
12938 * (bug 13168) accessibility links in Modern skin link to wrong anchor id
12939 * (bug 13185) No line break after 'subpages' class in Modern skin
12940 * (bug 13583) No "poweredby" in Modern skin
12941 * (bug 13880) "Printable" link in Modern skin now formats as print mode
12942 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
12943 * (bug 13891) Show categories box even if all categories are hidden and user has
12944 "show hidden categories" option on
12945 * (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
12946 * (bug 13913) Special:Whatlinkshere now has correct HTML markup
12947 * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
12948 * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
12949 * (bug 13924) Fix bad HTML on power search form
12950 * (bug 13820) Fix updater for rev_parent_id population
12951 * (bug 13925) Fix bad HTML on search results list
12952 * (bug 13934) Fixing the link to GNU General Public License Version 2
12953 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
12954 * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
12955 * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module
12956 errors
12957 * (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
12958 * (bug 13615) Update case mappings and normalization to Unicode 5.1.0
12959 Note that case mappings will only be used if mbstring extension is not
12960 present.
12961 * (bug 14044) Don't increment page view counters on views from bot users
12962 * (bug 14042) Calling Database::limitResult() misplaced the comment in the log
12963 file
12964 * (bug 14047) Fix regression in installer which hid DB-specific options
12965 Also makes SQLite path configurable in the installer.
12966 * (bug 13546) Follow image redirects on image page
12967 * (bug 12644) Template list on edit page now sorted on preview
12968 * (bug 14058) Support pipe trick for namespaces and interwikis with "-"
12969 * Message name filter on Special:Allmessages now case-insensitive
12970 * (bug 13943) Fix image redirect behavior on image pages
12971 * (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
12972 * (bug 14063) Power search form missing <label> for redirects check
12973 * (bug 14111) Similar filename warning links now lead to correct page
12974 * (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers
12975 * (bug 13693) Categories sometimes claim to have a negative number of members
12976 * (bug 1701) Korean Hangul syllables now broken down properly in Category lists
12977 even if the wiki's overall content language is not Korean
12978 * (bug 12773) addOnloadHook() now calls functions immediately when scripts are
12979 loaded after the primary page completion, instead of dropping them
12980 * (bug 14199) Fix deletion form for image redirect pages
12981 * (bug 14220) Disabling $wgCheckFileExtensions now works without also
12982 disabling $wgStrictFileExtensions
12983 * (bug 14241) Pages can no longer be protected to levels you are not in
12984 * (bug 14296) Fix local name of ang: (Anglo-Saxon)
12985 * (bug 4871) Hardcoded superscript in time zone preferences moved to message
12986 * (bug 6957) E-mail confirmation links now using English special page name
12987 for better compatibility and keeping the links shorter. Avoids problem
12988 with corrupt links in Gmail on IE 6.
12989 * (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror
12990 * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ
12991 and I to ı
12992 * (bug 13826) MediaWiki:Defaultns accepts Wikicode
12993 * (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit
12994 set to true
12995 * (bug 13034) Interwiki pages can now be reached using Go search button
12996 * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias
12997 * (bug 14370) When a grouppage-x message does not exist the entry on the
12998 ListGroupRights special page now links to the project namespace page for it,
12999 not the main namespace page.
13000 * (bug 11659) Urldecode image names in galleries
13001 * (bug 14258, 14368) Fix for subpage renames in replication environments
13002 * (bug 14367) Failed block no longer adds phantom watchlist entry
13003 * (bug 14385) "Move subpages" option no longer tries to move to invalid titles
13004 * (bug 14386) Fix subpage namespace oddity when moving a talk page
13005 * (bug 11771) Signup form now not shown if in read-only mode.
13006 * (bug 12859) $wgRateLimitsExcludedGroups has been deprecated in favor of
13007 $wgGroupPermissions[]['noratelimit'].
13008 * (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title)
13009 and $2 (=revision numbers)
13010 * (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions
13011 * (bug 14432) Fix notice regression in Special:Newpages feed mode
13012 * (bug 11951) EditPage::getEditToolbar() is now static.
13013 * (bug 14392) Fix regression breaking table prefix in installer
13014 * (bug 11084) $wgDBprefix replacement for updater SQL will now work for
13015 extension tables using uppercase letters or digits in their names.
13016 * (bug 12311) Fix regression with lists at start of undeletion preview
13017 * (bug 14496) Fix regression with parseinline on Special:Upload.
13018 * We no longer just give up on a missing upload base directory; it's now
13019 created automatically if we have sufficient permissions!
13020 * (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper
13021 * (bug 14497) Throw visible errors in installer scripts when SQL files
13022 fail due to database permission or other error
13023 * (bug 14500) Site feed (Recentchanges) no longer shows up on the actual
13024 recent changes page.
13025 * (bug 14511) MediaWiki:Delete-legend is no longer double escaped
13026 * Generate correct section anchors for numeric headers
13027 * (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins
13028 * (bug 14551) Cancel upload no longer automatically suppresses warnings
13029 * (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls
13030 * (bug 4977) Fix for possible squid purging errors when using HTTP purges
13031 and multiple servers
13032 * (bug 14572) Redirects listed on file links on image pages no longer redirect.
13033 * (bug 14537) Change interwiki name for Old Church Slavonic (cu)
13034 * (bug 14583) Fix regression in recent changes "limit to certain categories."
13035 * (bug 14515) HTML nesting cleanup on edit form
13036 * (bug 14647) Removed unused 'townBox' CSS classes
13037 * (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should.
13038 * OpenSearch cleanup; Firefox now sends you to the search page for empty
13039 searches instead of the domain root (which may not even be a wiki).
13040 * (bug 3481) Pages moved shortly after creation are shown at their new title
13041 on Special:Newpages.
13042 * (bug 12716) Trying to unprotect a title that isn't protected no longer
13043 generates a log entry.
13044 * (bug 14088) Excessively long block expiry times are rejected as invalid,
13045 keeps the log page from being distorted.
13046 * (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend.
13047 * (bug 14646) Fix some double-escaping of HTML in feed output
13048 * (bug 14709) Fix login success message formatting when using cookie check
13049 * (bug 14710) Remove "donate" link from default sidebar
13050 * (bug 14745) Image moving works on sites that transform thumbnails via 404
13051 * (bug 2186) Document.write() in wikibits caused failures when using
13052 application/xhtml+xml. The calls to this have been removed.
13053 * (bug 14764) Fix regression in from Article::lastModified(), failed to work
13054 on non-mySQL schemas.
13055 * (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
13056 had strict standards issues with setFakeSlaveLag() and setFakeMaster().
13057 * (bug 451) Improve the phrase mappings of the Chinese converter arrays.
13058 * (bug 12487) Rights log is not fully internationalized
13059 * (bug 10837) Language variants no longer override other languages than base
13060 * (bug 14778) 'limit' parameter now applies to history feeds as well as
13061 history pages
13062 * (bug 14845) Bug in prefs javascript: Calling an array item without checking
13063 its existance.
13064 * Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3
13065 * (bug 12384) Comments in maintenance/*php
13066 * (bug 12441) ./maintenance/generateSitemap.php fix -fspath requiring
13067 a trailing slash.
13068 * (bug 12568) configuration script now produce valid XHTML.
13069 * The accesskey to edit a page is now disabled when editing the page, to pre-
13070 vent conflicts with Safari shortcuts.
13071
13072 === API changes in 1.13 ===
13073
13074 * Fixing main page display in meta=siteinfo
13075 * (bug 13128) Added patrolled flag to list=recentchanges
13076 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
13077 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
13078 * (bug 13157) Added ucuserprefix parameter to list=usercontribs
13079 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
13080 retrieval easier
13081 * (bug 13218) Fix inclusion of " character in hyperlinks
13082 * Added watch and unwatch parameters to action=delete and action=move
13083 * Added action=edit
13084 * (bug 11401) Added xmldoublequote to xml formatter
13085 * Added rvsection parameter to prop=revisions to allow fetching the content of
13086 a certain section only
13087 * Introduced list=allimages
13088 * (bug 13371) Build page set from image hashes
13089 * Mark non-existent messages in meta=allmessages as missing
13090 * (bug 13390) One invalid title no longer kills an entire API query
13091 * (bug 13419) Fix gblredirect so it actually works
13092 * (bug 13418) Disable eiredirect because it's useless
13093 * (bug 13395) list=allcategories should use category table
13094 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
13095 handled properly.
13096 * (bug 13444) Add description to list=watchlist
13097 * (bug 13482) Disabled search types handled properly
13098 * Added inprop=talkid,subjectid to prop=info
13099 * Added help text message that specifies whether a module is POST-only
13100 * Added createonly parameter to action=edit
13101 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
13102 * (bug 11719) Remove trailing blanks in YAML output.
13103 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
13104 * Added fallback8bitEncoding and readonly fields to
13105 meta=siteinfo&siprop=general output
13106 * (bug 13544) Added prop=revid to action=parse
13107 * (bug 13603) Added siprop=usergroups to meta=siteinfo
13108 * Cleaned up redirect resolution
13109 * Added possibility to obtain all external links through list=exturlusage
13110 * (bug 13606) Added archivename to iiprop
13111 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
13112 very weak typing on array keys.
13113 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
13114 * (bug 11673) Return error 'unknown_action' in specified format
13115 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
13116 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old
13117 revisions
13118 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
13119 * action=login now returns the correct waiting time in the details property
13120 * (bug 13792) Broken titles are now silently skipped in search results.
13121 * (bug 13819) exturlusage paging skipped an item
13122 * Fixed handling of usernames containing spaces in list=block
13123 * (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with
13124 format=xml
13125 * (bug 13735) Added prop=categoryinfo module
13126 * (bug 13945) Retrieve cascading protection sources via inprop=protection
13127 * (bug 13965) Hardcoded 51 limit on titles is too limiting
13128 * (bug 13993) apfrom doesn't work with apdir=descending
13129 * (bug 14018) Introduced alcontinue to list=alllinks to improve paging
13130 * (bug 14013) Added rcshow=patrolled to list=recentchanges
13131 * (bug 14028) Added language attribute to interwiki map in meta=siteinfo
13132 * (bug 14022) Added usprop=registration and auprop=blockinfo
13133 * (bug 14021) Removed titles= support from list=backlinks (has been obsolete
13134 for ages)
13135 * (bug 13829) Expose parse tree via action=expandtemplates
13136 * (bug 13606) Allow deletion of images
13137 * Added iiprop=mime and aiprop=metadata
13138 * Handled unrecognized values for parameters more gracefully
13139 * Handled requesting disallowed tokens more gracefully
13140 * (bug 14140) URL-encoded page titles are now decoded in edit summaries
13141 * (bug 14243) Only accept post requests in action=edit; patch by HardDisk
13142 * action=block now returns an ISO8601 timestamp, like all other modules do
13143 * Added md5 parameter to action=edit
13144 * (bug 14335) Logging in to unified account using API not possible
13145 * Added action=emailuser to send an email to a user
13146 * (bug 14471) Use HTMLTidy and generate limit report in action=parse
13147 * (bug 14459) Added prependtext and appendtext parameters to action=edit
13148 * (bug 14526) Unescaped SQL in list=backlinks
13149 * Added 'hidden' flag to list=allcategories and prop=categoryinfo output
13150 * Added nocreate parameter to action=edit
13151 * (bug 14402) Added maxage and smaxage parameters to api.php
13152 * Added bkip parameter to list=blocks
13153 * (bug 14651) apprefix and similar parameters are now canonicalized
13154 * Added clprop=timestamp to prop=categories
13155 * (bug 14678) API errors now respects $wgShowExceptionDetails and
13156 $wgShowSQLErrors
13157 * (bug 14723) Added time zone and writing direction to meta=siteinfo
13158 * Added APIQueryInfoTokens and APIQueryRevisionsTokens hooks so extensions
13159 can add their own tokens
13160 * Added block and unblock tokens to prop=info as well
13161 * Added paging (limit and continue parameters) to
13162 prop={links,templatelinks,langlinks,extlinks,categories,images}
13163 * Added flag "top" to list=usercontribs if the user is the last contributor to
13164 the page
13165 * list=exturlusage in "list all links" mode can now filter by protocol
13166
13167 == MediaWiki 1.12 ==
13168
13169 == MediaWiki 1.12.4 ==
13170
13171 February 7, 2009
13172
13173 A number of cross-site scripting (XSS) security vulnerabilities were discovered
13174 in the web-based installer (config/index.php). These vulnerabilities all
13175 require a live installer -- once the installer has been used to install a wiki,
13176 it is deactivated.
13177
13178 Note that cross-site scripting vulnerabilities can be used to attack any
13179 website in the same cookie domain. So if you have an uninstalled copy of
13180 MediaWiki on the same site as an active web service, MediaWiki could be used to
13181 attack the active service.
13182
13183 If you are hosting an old copy of MediaWiki that you have never installed, you
13184 are advised to remove it from the web.
13185
13186 == MediaWiki 1.12.3 ==
13187
13188 * Fixed packaging/distribution error. Many files were missing from the
13189 distributed tarball.
13190
13191 == MediaWiki 1.12.2 ==
13192
13193 David Remahl of Apple's Product Security team has identified a number of
13194 security issues in previous releases of MediaWiki. Subsequent analysis by the
13195 MediaWiki development team expanded the scope of these vulnerabilities. The
13196 issues with a significant impact are as follows:
13197
13198 * A local script injection vulnerability affecting Internet Explorer clients
13199 for all MediaWiki installations with uploads enabled. [CVE-2008-5250]
13200 * A local script injection vulnerability affecting clients with SVG scripting
13201 capability (such as Firefox 1.5+), for all MediaWiki installations with SVG
13202 uploads enabled. [CVE-2008-5250]
13203 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
13204 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
13205
13206 A local script injection vulnerability allows an attacker with a wiki account
13207 to steal another user's login session, and to act as that user on the wiki. The
13208 attacker uploads a malicious script file, and tricks the victim into executing
13209 it.
13210
13211 CSRF vulnerabilities allow an attacker to act as an authorised user on the
13212 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
13213 a specific and restricted way. The present CSRF vulnerability allows pages to
13214 be edited, with forged revision histories. Like an XSS vulnerability, the
13215 authorised user must visit the malicious web page to activate the attack.
13216
13217 These three vulnerabilities are all fixed in this release.
13218
13219 David Remahl also reminded us of some security-related configuration issues:
13220
13221 * By default, MediaWiki stores a backup of deleted images in the images/deleted
13222 directory. If you do not want these images to be publically accessible, make
13223 sure this directory is not accessible from the web. MediaWiki takes some steps
13224 to avoid leaking these images, but these measures are not perfect.
13225 * Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal
13226 errors. This is the default on most shared web hosts.
13227 * Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may
13228 lead to path disclosure.
13229
13230 Other changes in this release:
13231
13232 * Avoid fatal error in profileinfo.php when not configured.
13233 * Add a .htaccess to deleted images directory for additional protection against
13234 exposure of deleted files with known SHA-1 hashes on default installations.
13235 * Avoid streaming uploaded files to the user via index.php. This allows
13236 security-conscious users to serve uploaded files via a different domain, and
13237 thus client-side scripts executed from that domain cannot access the login
13238 cookies. Affects Special:Undelete, img_auth.php and thumb.php.
13239 * When streaming files via index.php, use the MIME type detected from the file
13240 extension, not from the data. This reduces the XSS attack surface.
13241 * Blacklist redirects via Special:Filepath. Such redirects exacerbate any XSS
13242 vulnerabilities involving uploads of files containing scripts.
13243 * Internationalisation updates.
13244
13245 == MediaWiki 1.12.1 ==
13246
13247 Changes since 1.12.0:
13248 * (bug [[bugzilla:13522|13522]]) Fix fatal error in Parser::extractTagsAndParams
13249 * (bug [[bugzilla:12077|12077]]) Fix HTML nesting for TOC
13250 * (bug [[bugzilla:13532|13532]]) Use proper timestamp call when reverting images
13251 * (bug [[bugzilla:13649|13649]], [[bugzilla:14084|14084]]) Bad call to
13252 wfTimestamp()
13253 * (bug [[bugzilla:13770|13770]]) Use Preprocessor_Hash by default to avoid
13254 missing DOM module errors
13255 * (bug [[bugzilla:13442|13442]]) API: Missing pages in prop=langlinks and
13256 prop=extlinks are now handled properly.
13257 * (bug [[bugzilla:13482|13482]]) API: Disabled search types handled properly
13258 * (bug [[bugzilla:13836|13836]]) API: Fixed fatal errors resulting from
13259 combining iiprop=metadata with format=xml
13260 * (bug [[bugzilla:11633|11633]]) API: Explicitly convert redirect titles to
13261 strings due to PHP's very weak typing on array keys.
13262 * API: Fixing main page display in meta=siteinfo
13263 * (bug [[bugzilla:11719|11719]]) API: Remove trailing blanks in YAML output.
13264 * (bug [[bugzilla:13718|13718]]) API: Return the proper continue parameter for
13265 cmsort=timestamp
13266 * Security: Work around misconfiguration by requiring strict comparisons for
13267 in_array in User::isAllowed().
13268 * Security: Fixed XSS vulnerability in useskin parameter.
13269
13270 == MediaWiki 1.12.0 ==
13271
13272 This is the quarterly branch release of [[MediaWiki]] for Winter 2008.
13273
13274 MediaWiki is now using a "continuous integration" development model with
13275 quarterly snapshot releases. The latest development code is always kept "ready
13276 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
13277
13278 Release branches will continue to receive security updates for about a year
13279 from first release, but nonessential bugfixes and feature developments will be
13280 made on the development trunk and appear in the next quarterly release.
13281
13282 Those wishing to use the latest code instead of a branch release can obtain it
13283 from source control: [[Download from SVN]].
13284
13285 Changes since 1.12.0rc1:
13286 *(bug [[bugzilla:13359|13359]]) Double-escaping in [[Special:Allpages]].
13287 *Localization updates.
13288
13289 == MediaWiki 1.12.0rc1 ==
13290
13291 This is a release candidate of the Winter 2008 quarterly snapshot release of
13292 [[MediaWiki]].
13293
13294 MediaWiki is now using a "continuous integration" development model with
13295 quarterly snapshot releases. The latest development code is always kept "ready
13296 to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]].
13297
13298 Release branches will continue to receive security updates for about a year
13299 from first release, but nonessential bugfixes and feature developments will be
13300 made on the development trunk and appear in the next quarterly release.
13301
13302 Those wishing to use the latest code instead of a branch release can obtain it
13303 from source control: [[Download from SVN]].
13304
13305 This is the Winter 2007 quarterly release.
13306
13307 MediaWiki is now using a "continuous integration" development model with
13308 quarterly snapshot releases. The latest development code is always kept
13309 "ready to run", and in fact runs our own sites on Wikipedia.
13310
13311 Release branches will continue to receive security updates for about a year
13312 from first release, but nonessential bugfixes and feature developments
13313 will be made on the development trunk and appear in the next quarterly release.
13314
13315 Those wishing to use the latest code instead of a branch release can obtain
13316 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
13317
13318 === Configuration changes in 1.12 ===
13319 * Marking edits as bot edits with Special:Contributions?bot=1 now requires the
13320 markbotedit permission, rather than the rollback permission previously used.
13321 This permission is assigned by default to the sysop group.
13322 * MediaWiki now checks if serialized files are out of date. New configuration
13323 variable $wgCheckSerialized can be set to false to enable old behavior (i.e.
13324 to not check and assume they are always up to date)
13325 * The rollback permission can now be rate-limited using the normal mechanism.
13326 * New configuration variable $wgExtraLanguageNames
13327 * Behavior of $wgAddGroups and $wgRemoveGroups changed. New behavior:
13328 * * Granting the userrights privilege allows arbitrary changing of rights.
13329 * * Without the userrights privilege, a user will be able to add and/or
13330 remove the groups specified in $wgAddGroups and $wgRemoveGroups for
13331 any groups they are in.
13332 * New permission userrights-interwiki for changing user rights on foreign wikis.
13333 * $wgImplicitGroups for groups that are hidden from Special:Listusers, etc.
13334 * $wgAutopromote: automatically promote users who match specified criteria
13335 * $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove
13336 themselves from specified groups via Special:Userrights.
13337 * When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is
13338 present, in preference to an external Tidy executable which may or may not
13339 be present. To force use of external Tidy even when the PHP module is
13340 available, set $wgTidyInternal to false.
13341
13342
13343 === New features in 1.12 ===
13344 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
13345 * Add {{filepath:}} parser function to get full path to an uploaded file,
13346 complementing {{fullurl:}} for pages.
13347 * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema
13348 is not set to 'mediawiki', allowing multiple mediawiki instances per user.
13349 * (bug 11151) Add descriptive <title> to revision history page
13350 * (bug 5412) Add feed links for the site to all pages
13351 * (bug 11353) Add ability to retrieve raw section content via action=raw
13352 * (bug 6909) Show relevant deletion log lines when uploading a previously
13353 deleted file
13354 * On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view
13355 source" tab entirely if the page doesn't exist and the user isn't allowed to
13356 create it
13357 * Clarify instructions given when an exception is thrown
13358 * AuthPlugin added strictUserAuth() method to allow per-user override
13359 of the strict() authentication behavior.
13360 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
13361 against the previous revision, whether currently deleted or live.
13362 * Added tooltips for the "Go" and "Search" buttons
13363 * (bug 11649) Show input form when Special:Whatlinkshere has no parameters
13364 * isValidEmailAddr hook added to User method of that name, to allow, e.g., re-
13365 stricting e-mail addresses to a specific domain
13366 * Removed "Clear" link in watchlist editor tools, as people were afraid to
13367 click it. Existing clear links will fall back to the raw editor, which is
13368 very easy to clear your watchlist with.
13369 * (bug 1405) Add wgUseNPPatrol option to control patroling for new articles
13370 on Special:Newpages
13371 * LogLine hook added to allow formatting custom entries in Special:Log.
13372 * Support for Iranian calendar
13373 * (bug 1401) Allow hiding logged-in users, bots and patrolled pages on
13374 Special:Newpages
13375 * ChangesListInsertArticleLink hook added for adding extra article info to RC.
13376 * MediaWikiPerformAction hook added for diverting control after the main
13377 globals have been set up but before any actions have been taken.
13378 * BeforeWatchlist hook added for filtering or replacing watchlist.
13379 * SkinTemplateTabAction hook added for altering the properties of tab links.
13380 * OutputPage::getRedirect public method added.
13381 * (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload'
13382 in Special:Mypage and Special:Mytalk
13383 * Add ot=raw to Special:Allmessages
13384 * Support for Hebrew calendar
13385 * Support for Hebrew numerals in dates and times
13386 * (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and
13387 [[MediaWiki:Signature-anon]]
13388 * Signatures for anonymous users link to Special:Contributions page rather than
13389 user page
13390 * Added --override switch for disabled pages in updateSpecialPages.php
13391 * Provide a unique message (ipb_blocked_as_range) if unblock of a single IP
13392 fails
13393 because it is part of a blocked range.
13394 * (bug 3973) Use a separate message for the email content when an account is
13395 created by another user
13396 * dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart
13397 cleanly if database connections fail unpleasantly.
13398 * (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
13399 * (bug 9633) Add a predefined list of delete reasons to the deletion form
13400 * Show a warning message when creating/editing a user (talk) page but the user
13401 does not exists
13402 * (bug 8396) Ignore out-of-date serialised message caches
13403 * (bug 12195) Undeleting pages now requires 'undelete' permission
13404 * (bug 11810) Localize displayed semicolons
13405 * (bug 11657) Support for Thai solar calendar
13406 * (bug 943) RSS feed for Recentchangeslinked
13407 * Introduced AbortMove hook
13408 * (bug 2919) Protection of nonexistent pages with regular protection interface.
13409 * Special:Upload now lists permitted/prohibited file extensions.
13410 * Split ambiguous filetype-badtype message into two new messages,
13411 filetype-unwanted-type and filetype-banned-type.
13412 * Added link to the old title in Special:Movepage
13413 * On Special:Movepage, errors are now more noticeable.
13414 * It is now possible to change rights on other local wikis without the MakeSysop
13415 extension
13416 * Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when
13417 editing to allow CSS styling.
13418 * Parser now returns list of sections
13419 * When a user is prohibited from creating a page, a title of "View source"
13420 makes no sense, and there should be no "Return to [[Page]]" link.
13421 * (bug 12486) Protected titles now give a warning for privileged editors.
13422 * (bug 9939) Special:Search now sets focus to search input box when no existing
13423 search is active
13424 * For Special:Userrights, use GET instead of POST to search for users.
13425 * Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name.
13426 * When submitting changes on Special:Userrights, show the full form again, not
13427 just the search box.
13428 * Added exception hooks
13429 * (bug 12574) Allow bots to specify whether an edit should be marked as a bot
13430 edit, via the parameter 'bot'. (Default: '1')
13431 * (bug 12536) User should be able to get MediaWiki version from any page
13432 * (bug 12622) A JavaScript constant to declare whether api.php is available
13433 * Add caching to the AJAX search
13434 * Add APCOND_INGROUPS
13435 * Add DBA caching to installer
13436 * (bug 12585) Added a bunch of parameters to the revertpage message
13437 * Support redirects in image namespace
13438 * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki
13439 * (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon
13440 * Add option to include templates in Special:Export.
13441 * (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender
13442 address in Reply-To instead of From for user-to-user emails.
13443 This protects against SPF problems and privacy-leaking bounce messages
13444 when using mailers that set the envelope sender to the From header value.
13445 * (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]]
13446 for Special:Userlogin?type=signup
13447 * (bug 12214) Add a predefined list of delete reasons to the file deletion form
13448 * Merged backends for OpenSearch suggestions and AJAX search.
13449 Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages,
13450 and reject interwiki prefixes. PrefixSearch class centralizes this code,
13451 and the backend part can be overridden by the PrefixSearchBackend hook.
13452 * (bug 10365) Localization of Special:Version
13453 * When installing using Postgres, the Pl/Pgsql language is now checked for
13454 and installed when at the superuser level.
13455 * The default robot policy for the entire wiki is now configurable via the
13456 $wgDefaultRobotPolicy setting.
13457 * (bug 12239) Use different separators for autocomments
13458 * (bug 12857) Patrol link on new pages should clear floats
13459 * (bug 12968) Render redirect wikilinks in a redirect class for customization
13460 via user/site CSS.
13461 * EditPageBeforeEditButtons hook added for altering the edit buttons below the
13462 edit box
13463
13464 === Bug fixes in 1.12 ===
13465
13466 * Subpages are now indexed for searching properly when using PostgreSQL
13467 * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for
13468 ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus]
13469 * (bug 7027) Shift handling of deletion permissions-checking to
13470 getUserPermissionsErrors.
13471 * Login and signup forms are now more correct for right-to-left languages.
13472 * (bug 5387) Block log items on RecentChanges don't make use of possible
13473 translations
13474 * (bug 11211) Pass, as a parameter to the protectedpagetext interface
13475 message, the level of protection.
13476 * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext
13477 message.
13478 * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis
13479 where rollback is given to non-sysops.
13480 * (bug 8834) Split off permission for editing user JavaScript and CSS from
13481 editinterface to a new permission key editusercssjs.
13482 * (bug 11266) Set fallback language for Fulfulde (ff) to French
13483 * (bug 11179) Include image version deletion comment in public log
13484 * Fixed notice when accessing special page without read permission and whitelist
13485 is not defined
13486 * (bug 9252) Fix for tidy funkiness when using editintro mode
13487 * (bug 4021) Fix for MySQL wildcard search
13488 * (bug 10699) Fix for MySQL phrase search
13489 * (bug 11321) Fix width of gallerybox when option "width=xxx" is used
13490 * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent
13491 page
13492 * Fix initial statistics when installing: add correct values
13493 * (bug 11342) Fix several 'returnto' links in permissions/error pages which
13494 linked to the main page instead of targetted page
13495 * Strike the link to the redirect rather than using an asterisk in
13496 Special:Listredirects
13497 * (bug 11355) Fix false positives in Safe Mode and other config detection
13498 when boolean settings are disabled with 'Off' via php_admin_value/php_value
13499 * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob
13500 object.
13501 * (bug 11363) Make all metadata fields bytea when using Postgres.
13502 * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make
13503 oldimage cascade delete via image table for Postgres, change fa_storage_key
13504 TEXT.
13505 * (bug 11438) Live Preview chops returned text
13506 * Show the right message on account creation when the user is blocked
13507 * (bug 11450) Fix creation of objectcache table on upgrade
13508 * Fix namespace selection after submit of Special:Newpages
13509 * Make input form of Special:Newpages nicer for RTL wikis
13510 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
13511 * (bug 11474) Fix unintentional fall-through in math error handling
13512 * (bug 11478) Fix undefined method call in file deletion interface
13513 * (bug 278) Search results no longer highlight incorrect partial word matches
13514 * Compatibility with incorrectly detected old-style DJVU mime types
13515 * (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
13516 Nested links (as in image caption text) still don't work _right_ but they're
13517 less wrong
13518 * (bug 9718) Remove unnecessary css from main.css causing spacing issues on
13519 some browsers.
13520 * (bug 11574) Add an interface message loginstart, which, similarly to loginend,
13521 appears just before the login form. Patch by MinuteElectron.
13522 * Do not cache category pages if using 'from' or 'until'
13523 * Created new hook getUserPermissionsErrors, to go with userCan changes.
13524 * Diff pages did not properly display css/js pages.
13525 * (bug 11620) Add call to User::isValidEmailAddr during accout creation.
13526 * (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an
13527 email address when registering.
13528 * (bug 11612) Days to show in recent changes cannot be larger than 7
13529 * (bug 11131) Change filearchive width/height columns to int for Postgres
13530 * Support plural in undeleted{revisions,revisions-files,files}
13531 * (bug 11343) If the database is read-only, ensure that undelete fails.
13532 * (bug 11690) Show revert link for page moves in Special:Log to allowed users
13533 only
13534 * Initial-lowercase prefix checks in namespaceDupes.php now actually work.
13535 * Fix regression in LinkBatch.php breaking PHP 5.0
13536 * (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic
13537 words when called with options ''parsemag'' or ''content''.
13538 * (bug 11727) Support plural in 'historysize' message
13539 * (bug 11744) Incorrect return value from Title::getParentCategories()
13540 * (bug 11762) Fix native language name of Akan (ak)
13541 * (bug 11722) Fix inconsistent case in unprotect tabs
13542 * (bug 11795) Be more paranoid about confirming accept-encoding header is
13543 present
13544 * (bug 11809) Use formatNum() for more numbers
13545 * (bug 11818) Fix native language name of Inuktitut (iu)
13546 * Remove all commas when parsing float numbers in sorted tables
13547 * Limit text field of deletion, protection and user rights changes reasons to
13548 255 characters (already restricted in the database)
13549 * In the deletion default reasons, calculate how much text to get from the
13550 article text, rather than getting 150 characters (which may be too much)
13551 * Add two messages for Special:Blockme which were used but undefined
13552 * (bug 11921) Support plural in message number_of_watching_users_pageview
13553 * If an IP address is blocked as part of a rangeblock, attempting to unblock
13554 the single IP should not unblock the entire range.
13555 * (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
13556 * Make action=render follow redirects by default
13557 * If restricted read access was enabled, whitelist didn't work with special
13558 pages which had spaces in theirs names
13559 * If restricted read access was enabled, requests for non-existing special pages
13560 threw an exception
13561 * Feeds for recent changes now provide correct URLs for the change, not just
13562 the page
13563 * Check for if IP is blocked as part of a range when unblocking (see above bug-
13564 fix) was faulty. Now fixed.
13565 * Fixed wpReason URL parameter to action=delete.
13566 * Do not force a password for account creation by email
13567 * Ensure that rate-limiting is applied to rollbacks.
13568 * Make a better rate-limiting error message (i.e. a normal MW error,
13569 rather than an "Internal Server Error").
13570 * Do not present an image bigger than the source when 'frameless' option is used
13571 (to be consistent with the 'thumb' option now)
13572 * Support {{PLURAL}} for import log
13573 * Make sure that the correct log entries are shown on Special:Userrights even
13574 for users with special characters in their names
13575 * The number of watching users in watchlists was always reported as 1
13576 * namespaceDupes.php no longer dies when coming across an illegal title
13577 * (bug 12143) Do not show a link to patrol new pages for non existent pages
13578 * (bug 12166) Fix XHTML validity for Special:Emailuser
13579 * (bug 11346) Users who cannot edit a page can now no longer unprotect it.
13580 * (bug 451) Add a generic Traditional / Simplified Chinese conversion table,
13581 instead of a Traditional conversion with Taiwan variant, and a Simplified
13582 conversion with China variant.
13583 * (bug 12178) Fix wpReason parameter to action=delete, again.
13584 * Graceful behavior for updateRestrictions.php if a page already has records
13585 in the page_restrictions matching its old page_restrictions field.
13586 May help with odd upgrade issues or race condition.
13587 * (bug 11993) Remove contentsub "revision history"
13588 * (bug 11952) Ensure we quote_ident() all schema names as needed
13589 inside of the DatabasePostgres.php file.
13590 * (bug 12184) Exceptions now sent to stderr instead of stdout for command-line
13591 scripts, making for cleaner reporting during batch jobs. PHP errors will also
13592 be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors'
13593 to 'stderr' at runtime.
13594 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
13595 lines in diff output
13596 * (bug 10166) Fix a PHP warning in Language::getMagic
13597 * Only mark rollback edits as minor if the user can normally mark edits minor
13598 * Escape page names in the move successful page (e.g. for pages with two
13599 apostrophes).
13600 * (bug 12145) Add localized names of kk-variants
13601 * (bug 12259) Localize the numbers in deleted pages on the sysop view
13602 * Set proper page title for successful file deletion
13603 * (bug 11221) Do not show 'Compare selected versions' button for a history page
13604 with one revision only
13605 * (bug 12267) Set the default date format to Thai solar calender for the Thai
13606 language
13607 * (bug 10184) Extensions' stylesheets and scripts should be loaded before
13608 user-customized ones (like Common.css, Common.js)
13609 * (bug 12283) Special:Newpages forgets parameters
13610 * (bug 12031) All namespaces doesn't work in Special:Newpages
13611 * (bug 585) Only create searchindex replica table for parser tests if db is
13612 MySQL
13613 * Allow --record option if parserTests.php to work when using Postgres
13614 * (bug 12296) Simplify cache epoch in default LocalSettings.php
13615 * (bug 12346) XML fix when body double-click and click handlers are present
13616 * Fix regression -- missing feed links in sidebar on Special:Recentchanges
13617 * (bug 12371) Handle more namespace case variants in namespaceDupes.php
13618 * (bug 12380) Bot-friendly EditPage::spamPage
13619 * (bug 8066) Spaces can't be entered in special page aliases
13620 * Hide undo link if user can't edit article
13621 * (bug 12416) Fix password setting for createAndPromote.php
13622 * (bug 3097) Inconsistently usable titles containing HTML character entities
13623 are now forbidden. A run of cleanupTitles.php will fix up existing pages.
13624 * (bug 12446) Permissions check fix for undelete link
13625 * (bug 12451) AJAX title normalization tweaks
13626 * When a user creating a page is not allowed to either create the page nor edit
13627 it, all applicable reasons are now shown.
13628 * (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
13629 Fixes 'root'-style rewrite configurations
13630 * (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
13631 * (bug 12489) Special:Userrights listed in restricted section again
13632 * (bug 12553) Fixed invalid XHTML in edit conflict screen
13633 * (bug 12505) Fixed section=0 with action=raw
13634 * (bug 12614) Do not log user rights change that didn't change anything
13635 * (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move
13636 * (bug 12588) Fix selection in namespace selector on Special:Newpages
13637 * Use only default options when generating RSS and Atom syndication links.
13638 This should help prevent infinite link loops that some software may follow,
13639 and will generally keep feed behavior cleaner.
13640 * (bug 12608) Unifying the spelling of getDBkey() in the code.
13641 * (bug 12611) Bot flag ignored in recent changes
13642 * (bug 12617) Decimal and thousands separators for Romanian
13643 * (bug 12567) Fix for misformatted read-only messages on edit, protect.
13644 Also added proper read-only checks to several special pages.
13645 Have removed read-only checks from the general user permission framework.
13646 * Creating a site with a name containing '#' is no longer permitted, since the
13647 name will not work (but $wgSiteName is not checked if manually set).
13648 * (bug 12695) Suppress dvips verbiage from web server error log
13649 * (bug 12716) Unprotecting a non-protected page leaves a log entry
13650 * Log username blocks with canonical form of name instead of input form
13651 * (bug 11593, 12719) Fixes for overzealous invocation of thumb.php.
13652 Non-image handlers and full-size images may now decline it, fixing
13653 mystery failures when using $wgThumbnailScriptPath.
13654 * (bug 12327) Comma in username no longer disrupts mail headers
13655 * (bug 6436) Localization of Special:Import XML parser Error message(s).
13656 * Security fix for API on MSIE
13657 * (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc
13658 * (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors
13659 * (bug 12790) Page protection is not logged when edit-protection is used
13660 and move-protection is not
13661 * (bug 12793) Fix for restricted namespaces/pages in Special:Export
13662 * Fix for Special:Export so it doesn't ignore the page named '0'
13663 * Don't display rollback link if the user doesn't have all required permissions
13664 * The comment of a time-limited protection now contains the date in the default
13665 format
13666 * (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php
13667 * (bug 12885) Correction for Russian convertPlural function
13668 * (bug 12768) Make DatabasePostgres->hasContraint() schema aware.
13669 * (bug 12735) Truncate usernames in comments using mb_ functions.
13670 * (bug 12892) Poor tab indexing on "delete file" form
13671 * (bug 12660) When creating an account by e-mail, do not send the creator's IP
13672 address
13673 * (bug 12931) Fix wrong global variable in SpecialVersion
13674 * (bug 12919) Use 'deletedrevision' message as content when deleting an old file
13675 version
13676 * (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation
13677 is disabled
13678 * (bug 12869) Magnify icon alignment should be adjusted using linked CSS
13679 * Fixing message cache updates for MediaWiki messages moves
13680 * (bug 12815) Signature timestamps were always in UTC, even if the timezone code
13681 in parentheses after them claimed otherwise
13682 * (bug 12732) Fix installer and searching to handle built-in tsearch2 for
13683 Postgres.
13684 * (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness.
13685 * (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple
13686 directories.
13687 * (bug 7681, 11559) Cookie values no longer override GET and POST variables.
13688 * (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
13689 * (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
13690 * (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages
13691 * (bug 12938) Fix template expansion and 404 returns for action=raw with section
13692 * (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns
13693 true-or-WikiError, which seems to be the calling convention expected by half
13694 its callers already
13695 * (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting
13696 an LTR user language
13697 * (bug 13005) DISPLAYTITLE does not work on preview
13698 * (bug 13004) Fix error on Postgres searches that return too many results.
13699
13700 == Parser changes in 1.12 ==
13701
13702 For help with migration to the MediaWiki 1.12 parser, please visit:
13703
13704 http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor
13705
13706 The parser pass order has changed from
13707
13708 * Extension tag strip and render
13709 * HTML normalisation and security
13710 * Template expansion
13711 * Main section...
13712
13713 to
13714
13715 * Template and extension tag parse to intermediate representation
13716 * Template expansion and extension rendering
13717 * HTML normalisation and security
13718 * Main section...
13719
13720 The main effect of this for the user is that the rules for uncovered syntax
13721 have changed.
13722
13723 Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas
13724 previously in some cases they were escaped. For example, you could have "<ta" in
13725 one template, and "ble>" in another template, and put them together to make a
13726 valid <table> tag. Previously the result would have been "&lt;table&gt;".
13727
13728 Uncovered preprocessor syntax is generally not recognised. For example, if you
13729 have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be
13730 converted to a literal "{{ab}}" rather than the contents of Template:Ab. This
13731 was the case previously in HTML output mode, and is now uniformly the case in
13732 the other modes as well. HTML-style comments uncovered by template expansion
13733 will not be recognised by the preprocessor and hence will not prevent template
13734 expansion within them, but they will be stripped by the following HTML security
13735 pass.
13736
13737 Bug 5678 has been fixed. This has a number of user-visible effects related to
13738 the removal of this double-parse. Please see the wiki page for examples.
13739
13740 Message transformation mode has been removed, and replaced with "preprocess"
13741 mode. This means that some MediaWiki namespace messages may need to be updated,
13742 especially ones which took advantage of the terribly counterintuitive behavior
13743 of the former message mode.
13744
13745 The header identification routines for section edit and for numbering section
13746 edit links have been merged. This removes a significant failure mode and fixes a
13747 whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by
13748 template expansion will still be rendered into a heading tag, and will get an
13749 entry in the TOC, but will not have a section edit link. HTML-style headings
13750 will also not have a section edit link. Valid wikitext headings present in the
13751 template source text will get a template section edit link. This is a major
13752 break from previous behavior, but I believe the effects are almost entirely
13753 beneficial.
13754
13755 The main motivation for making these changes was performance. The new two-pass
13756 preprocessor can skip "dead branches" in template expansion, such as unfollowed
13757 #switch cases and unused defaults for template arguments. This provides a
13758 significant performance improvement in template-heavy test cases taken from
13759 Wikipedia. Parser function hooks can participate in this performance improvement
13760 by using the new SFH_OBJECT_ARGS flag during registration.
13761
13762 The pre-expand include size limit has been removed, since there's no efficient
13763 way to calculate such a figure, and it would now be meaningless for performance
13764 anyway. The "preprocessor node count" takes its place, with a generous default
13765 limit.
13766
13767 The context in which XML-style extension tags are called has changed, so
13768 extensions which make use of the parser state may need compatibility changes.
13769
13770 The new preprocessor syntax has been documented in Backus-Naur Form at:
13771
13772 https://www.mediawiki.org/wiki/Preprocessor_ABNF
13773
13774 The ExpandTemplates extension now has the ability to generate an XML parse
13775 tree from wikitext source. This parse tree corresponds closely to the grammar
13776 documented on that page.
13777
13778 === API changes in 1.12 ===
13779
13780 Full API documentation is available at https://www.mediawiki.org/wiki/API
13781
13782 * (bug 11275) Enable descending sort in categorymembers
13783 * (bug 11308) Allow the API to output the image metadata
13784 * (bug 11296) Temporary fix for escaping of ampersands inside links in
13785 pretty-printed
13786 help document.
13787 * (bug 11405) Expand templates implementation in the API
13788 * (bug 11218) Add option to feedwatchlist to display multiple revisions for each
13789 page.
13790 * (bug 11404) Provide name of exception caught in error code field of internal
13791 api error messages.
13792 * (bug 11534) rvendid doesn't work
13793 * Fixed rvlimit of the revisions query to only enforce the lower query limit if
13794 revision content is requested.
13795 * Include svn revision number (if install is checked-out from svn) in siteinfo
13796 query.
13797 * (bug 11173) Allow limited wikicode rendering via api.php
13798 * (bug 11572) API should provide interface for expanding templates
13799 * (bug 11569) Login should return the cookie prefix
13800 * (bug 11632) Breaking change: Specify the type of a change in the recentchanges
13801 list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively.
13802 * Compatibility fix for PHP 5.0.x.
13803 * Add rctype parameter to list=recentchanges that filters by type
13804 * Add apprtype and apprlevel parameters to filter list=allpages by protection
13805 types and levels
13806 * Add apdir parameter to enable listing all pages from Z to A
13807 * (bug 11721) Use a different title for results than for the help page.
13808 * (bug 11562) Added a user_registration parameter/field to the list=allusers
13809 query.
13810 * (bug 11588) Preserve document structure for empty dataset in backlinks query.
13811 * Outputting list of all user preferences rather than having to request them by
13812 name
13813 * (bug 11206) api.php should honor maxlag
13814 * Make prop=info check for restrictions in the old format too.
13815 * Add apihighlimits permission, default for sysops and bots
13816 * Add limit=max to use maximal limit
13817 * Add action=parse to render parser output. Use it instead of action=render
13818 which has been removed
13819 * Add rvtoken=rollback to prop=revisions
13820 * Add meta=allmessages to get messages from site's messages cache.
13821 * Use bold and italics highlighting only in API help
13822 * Added action={block,delete,move,protect,rollback,unblock,undelete} and
13823 list={blocks,deletedrevs}
13824 * Fixed sessionid attribute in action=login
13825 * Standardized limits. Revisions and Deletedrevisions formerly using
13826 200 / 10000, now 500 / 5000, in line with other modules.
13827 * Added list=allcategories module
13828 * (bug 12321) API list=blocks reveals private data
13829 * Fix output of wfSajaxSearch
13830 * (bug 12413) meta=userinfo missing <query> tag
13831 * Add list of sections to action=parse output
13832 * Added action=logout
13833 * Added cascade flag to prop=info&inprop=protections
13834 * Added wlshow parameter to list=watchlist, similar to rcshow
13835 (list=recentchanges)
13836 * Added support for image thumbnailing to prop=imageinfo
13837 * action={login,block,delete,move,protect,rollback,unblock,undelete} now must be
13838 POSTed
13839 * prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and
13840 iiend parameters
13841 * Added amlang parameter to meta=allmessages
13842 * Added apfilterlanglinks parameter to list=allpages, replacing
13843 query.php?what=nolanglinks
13844 * (bug 12718) Added action=paraminfo module that provides information about API
13845 modules and their parameters
13846 * Added iiurlwidth and iiurlheight parameters to prop=imageinfo
13847 * Added format=txt and format=dbg, imported from query.php
13848 * Added uiprop=editcount to meta=userinfo
13849 * Added list=users which fetches user information
13850 * Added list=random which fetches a list of random pages
13851 * Added page parameter to action=parse to facilitate parsing of existing pages
13852 * Added uiprop=ratelimits to meta=userinfo
13853 * Added siprop=namespacealiases to meta=siteinfo
13854 * Made multiple values for ucuser possible in list=usercontribs
13855 * (bug 12944) Added cmstart and cmend parameters to list=categorymembers
13856 * Allow queries to have a where range that does not match the range field
13857
13858 == MediaWiki 1.11 ==
13859
13860 == MediaWiki 1.11.2 ==
13861
13862 March 2, 2008
13863
13864 This is a security release of the Fall 2007 snapshot release of MediaWiki.
13865 Possible cross-site information leaks using the callback parameter for
13866 JSON-formatted results in the API are prevented by dropping user credentials.
13867
13868 MediaWiki release versions prior to 1.11 are not vulnerable, as they do not
13869 include the callback feature which allows client-side JavaScript on other sites
13870 to reach API data.
13871
13872 Changes in this release:
13873
13874 * User credentials are dropped for API JSON requests using a callback
13875 * Edit tokens are not reported for API JSON requests using a callback
13876
13877 == MediaWiki 1.11.1 ==
13878
13879 January 23, 2008
13880
13881 This is a security and bugfix release of the Fall 2007 snapshot release of
13882 MediaWiki. A potential XSS injection vector affecting api.php only for
13883 Microsoft Internet Explorer users has been closed.
13884
13885 Changes in this release:
13886 * (bug [[bugzilla:11450|11450]]) Fix creation of objectcache table on upgrade
13887 * (bug [[bugzilla:11462|11462]]) Fix typo in LanguageGetSpecialPageAliases hook
13888 name
13889 * Fix regression in LinkBatch.php breaking PHP 5.0
13890 * Security fix for API on MSIE
13891
13892 To work around the vulnerability without upgrading, you may disable the API if
13893 you don't need it:
13894 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
13895
13896 Not vulnerable versions:
13897 * 1.12 or later
13898 * 1.11 >= 1.11.1
13899 * 1.10 >= 1.10.3
13900 * 1.9 >= 1.9.5
13901 * 1.8 any version (if $wgEnableAPI has been left off)
13902
13903 Vulnerable versions:
13904 * 1.11 <= 1.11.0rc1
13905 * 1.10 <= 1.10.2
13906 * 1.9 <= 1.9.4
13907 * 1.8 any version (if $wgEnableAPI has been switched on)
13908
13909 MediaWiki 1.7 and below are not affected as they do not include the API
13910 functionality, however the BotQuery extension is similarly vulnerable unless
13911 updated to the latest SVN version.
13912
13913 == MediaWiki 1.11.0 ==
13914
13915 September 10, 2007
13916
13917 This is the Fall 2007 snapshot release of MediaWiki.
13918
13919 MediaWiki is now using a "continuous integration" development model with
13920 quarterly snapshot releases. The latest development code is always kept "ready
13921 to run", and in fact runs our own sites on Wikipedia.
13922
13923 Release branches will continue to receive security updates for about a year
13924 from first release, but nonessential bugfixes and feature developments will be
13925 made on the development trunk and appear in the next quarterly release.
13926
13927 Those wishing to use the latest code instead of a branch release can obtain it
13928 from source control: [[Download from SVN]]
13929
13930 This is the Summer 2007 branch release of MediaWiki.
13931
13932 MediaWiki is now using a "continuous integration" development model with
13933 quarterly snapshot releases. The latest development code is always kept
13934 "ready to run", and in fact runs our own sites on Wikipedia.
13935
13936 Release branches will continue to receive security updates for about a year
13937 from first release, but nonessential bugfixes and feature developments
13938 will be made on the development trunk and appear in the next quarterly release.
13939
13940 Those wishing to use the latest code instead of a branch release can obtain
13941 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
13942
13943 == Changes since 1.11.0rc1 ==
13944
13945 A possible HTML/XSS injection vector in the API pretty-printing mode has been
13946 found and fixed.
13947
13948 The vulnerability may be worked around in an unfixed version by simply
13949 disabling the API interface if it is not in use, by adding this to
13950 [[Manual:LocalSettings.php|LocalSettings.php]]:<br />
13951 <code>[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;</code> <br />
13952 (This is the default setting in 1.8.x.)
13953
13954 Not vulnerable versions:
13955 * 1.11 >= 1.11.0
13956 * 1.10 >= 1.10.2
13957 * 1.9 >= 1.9.4
13958 * 1.8 >= 1.8.5
13959
13960 Vulnerable versions:
13961 * 1.11 <= 1.11.0rc1
13962 * 1.10 <= 1.10.1
13963 * 1.9 <= 1.9.3
13964 * 1.8 <= 1.8.4 (if [[Manual:$wgEnableAPI|$wgEnableAPI]] has been switched on)
13965
13966 MediaWiki 1.7 and below are not affected as they do not include the faulty
13967 function, however the [[Extension:BotQuery|BotQuery extension]] is similarly
13968 vulnerable unless updated to the latest SVN version.
13969
13970 == Configuration changes since 1.10 ==
13971
13972 * $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
13973 used
13974 * $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which
13975 usergroups
13976 * $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites
13977 * $wgShowHostnames - Expose server host names through the API and HTML comments
13978 * $wgSaveDeletedFiles has been removed, the feature is now enabled
13979 unconditionally
13980
13981 == New features since 1.10 ==
13982
13983 * (bug 8868) Separate "blocked" message for autoblocks
13984 * Adding expiry of block to block messages
13985 * Links to redirect pages in categories are wrapped in
13986 <span class="redirect-in-category"></span>
13987 * Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
13988 more information
13989 * (bug 9628) Show warnings about slave lag on Special:Contributions,
13990 Special:Watchlist
13991 * (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
13992 * Introducing new image keyword 'upright' and corresponding variable
13993 $wgThumbUpright. This allows better proportional view of upright images
13994 related to landscape images on a page without nailing the width of upright
13995 images to a fix value which makes views for anon unproportional and user
13996 preferences useless
13997 * (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax
13998 * Introducing 'frameless' keyword to [[Image:]] syntax which respects the
13999 user preferences for image width like 'thumb' but without a frame.
14000 * (bug 7960) Link to "what links here" for each "what links here" entry
14001 * Added support for configuration of an arbitrary number of commons-style
14002 file repositories.
14003 * Added a Content-Disposition header to thumb.php output
14004 * Improved thumb.php error handling
14005 * Display file history on local image description pages of shared images
14006 * Added $wgArticleRobotPolicies
14007 * (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext
14008 containing, the ip, ip range, or username whose block is affecting the
14009 * (bug 7691) Show relevant lines from the deletion log when re-creating a
14010 previously deleted article
14011 * Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header
14012 * (bug 9898) Allow viewing all namespaces in Special:Newpages
14013 * (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks;
14014 see docs/hooks.txt for details
14015 * (bug 9769) Provide "watch this page" toggle on protection form
14016 * (bug 9886) Provide clear example "stub link" in Special:Preferences
14017 * (bug 10055) Populate email address and real name properties of User objects
14018 passed to the 'AbortNewAccount' hook
14019 * Show result of Special:Booksources in wiki content language always, it's
14020 normally better maintained than the generic list from the standard message
14021 files
14022 * (bug 7997) Allow users to be blocked from using Special:Emailuser
14023 * (bug 8989) Blacklist 'mhtml' and 'mht' files from upload
14024 * (bug 8760) Allow wiki links in "protectexpiry" message
14025 * (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for
14026 "DEFAULTSORT" magic word
14027 * (bug 10181) Support the XCache object caching mechanism
14028 * (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide
14029 a path to the AdminSettings.php file
14030 * (bug 8781) Remind users to check file permissions for LocalSettings.php
14031 post-installation
14032 * Use shared.css for all skins and oldshared.css in place of common.css for
14033 pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki:
14034 Common.css and MediaWiki:Monobook.css.
14035 * (bug 8869) Introduce Special:Uncategorizedtemplates
14036 * (bug 8734) Different log message when article protection level is changed
14037 * (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode
14038 characters
14039 * (bug 10096) Added an ability to query interwiki map table
14040 * On reupload, add a null revision to the image description page
14041 * Group log output by date
14042 * Kurdish interface latin/arabic writing system with transliteration
14043 * Support wiki text in all query page headers
14044 * Add 'Orphanedpages' as an alias to Special:Lonelypages
14045 * (bug 9328) Use "revision-info-current" message in place of "revision-info"
14046 when viewing the current revision of a page, if available
14047 * (bug 8890) Enable wiki text for "license" message
14048 * Throw a showstopper exception when a hook function fails to return a value.
14049 Forgetting to give a 'true' return value is a very common error which tends
14050 to cause hard-to-track-down interactions between extensions.
14051 * Use $wgJobClasses to determine the correct Job to instantiate for a particular
14052 queued task; allows extensions to introduce custom jobs
14053 * (bug 10326) AJAX-based page watching and unwatching has been cleaned up and
14054 enabled by default.
14055 * Added option to install to MyISAM
14056 * (bug 9250) Remove hardcoded minimum image name length of three characters
14057 * Fixed DISPLAYTITLE behavior to reject titles which don't normalise to the
14058 same title as the current page, and enabled per default
14059 * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS
14060 * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new
14061 classes: mw-code, mw-css, mw-js)
14062 * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over
14063 usergroup assignment.
14064 * Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information
14065 * (bug 10387) Detect and handle '.php5' extension environments at install time
14066 * Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information
14067 * (bug 10404) Show rights log for the selected user in Special:Userrights
14068 * New javascript for upload page that will show a warning if a file with the
14069 "destination filename" already exists.
14070 * Add 'editsection-brackets' message to allow localization (or removal) of the
14071 brackets in the "[edit]" link for sections
14072 * (bug 10437) Move texvc styling to shared.css
14073 * Introduce "raw editing" mode for the watchlist, to allow bulk additions,
14074 removals, and convenient exporting of watchlist contents
14075 * Show "undo" links in page histories
14076 * Option to jump to specified time period in user contributions
14077 * Improved feedback on "rollback success" page
14078 * Show distinct 'namespaceprotected' message to users when namespace protection
14079 prevents page editing
14080 * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no"
14081 * Allow showing a one-off preview on first edit with "preview=yes"
14082 * (bug 9151) Remove timed redirects on "Return to X" pages for accessibility.
14083 * Link to user logs in toolbox when viewing a user page
14084 * (bug 10508) Allow HTML attributes on <gallery>
14085 * (bug 1962) Allow HTML attributes on <math>
14086 * (bug 10530) Introduce optional "sp-contributions-explain" message for
14087 additional explanation in Special:Contributions
14088 * (bug 10520) Preview licences during upload via AJAX (toggle with
14089 $wgAjaxLicensePreview)
14090 * New Parser::setTransparentTagHook for parser extension and template
14091 compatibility
14092 * Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more
14093 information
14094 * Add a message if category is empty
14095 * Add CSS compatibility for Opera 9.5
14096 * Remove largely untested handheld stylesheet, which was causing more trouble
14097 than good. Proper handheld support will be added at a future date. For now,
14098 display should be acceptable either with CSS turned off or when using a so-
14099 phisticated handheld browser.
14100 * (bug 3173) Option to offer exported pages as a download, rather than
14101 displaying inline, as in most browsers
14102 * Pass the user as an argument to 'isValidPassword' hook callbacks; see
14103 docs/hooks.txt for more information
14104 * Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
14105 * (bug 9595) Pass new Revision to the 'ArticleInsertComplete' and
14106 'ArticleSaveComplete' hooks; see docs/hooks.txt for more information
14107 * (bug 9575) Accept upload description from GET parameters
14108 * Skip the difference engine cache when 'action=purge' is used while requesting
14109 a difference page, to allow refreshing the cache in case of errors
14110 * (bug 10701) Link to Special:Listusers in default Special:Statistics messages
14111 * Improved file history presentation
14112 * (bug 10739) Users can now enter comments when reverting files
14113 * Improved handling of permissions errors
14114 * (bug 10793) "Mark patrolled" links will now be shown for users with
14115 patrol permissions on all eligible diff pages
14116 * (bug 10655) Show standard tool links for blocked users in block log messages
14117 * Show standard tool links for blocked users in Special:Ipblocklist
14118 * Miscellaneous aesthetic improvements to Special:Ipblocklist
14119 * (bug 10826) Added link trail with Cyrillic characters for Mongolian language
14120 * (bug 10859) Introduce 'UserGetImplicitGroups' hook; see docs/hooks.txt for
14121 more information
14122 * (bug 10832) Include user information when viewing a deleted revision
14123 * (bug 10872) Fall back to sane defaults when generating protection selector
14124 labels for custom restriction levels
14125 * Show edit count in user preferences
14126 * Improved support for audio/video extensions
14127 * (bug 10937) Distinguish overwritten files in upload log
14128 * Introduce 'ArticleUpdateBeforeRedirect' hook; see docs/hooks.txt for more
14129 information
14130 * Confirmation is now required when deleting old versions of files
14131 * (bug 7535) Users can now enter comments when deleting old versions of files
14132 * (bug 11001) Submit Special:Newpages as a GET, rather than a POST request
14133 * The <strong></strong> around links to watched pages in change lists now
14134 has a class - "mw-watched"
14135 * (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload
14136 when a destination filename is provided that corresponds with previous
14137 deleted files
14138 * Make the "invalid special page" message clearer
14139 * Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
14140 * Introduced 'SkinAfterBottomScripts' hook; see docs/hooks.txt for
14141 more information
14142 * (bug 11095) Honour "preview on first edit" preference when preloading
14143 text for a non-existent page
14144 * (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
14145 Special:Recentchangeslinked
14146 * Add link to user contributions in normal watchlist edit mode
14147 * (bug 9426) Add 'newsectionheaderdefaultlevel' message to allow
14148 modification of the heading formatting for new sections when section=new
14149 argument is supplied
14150 * (bug 10836) Add 'newsectionsummary' message to allow modification of the
14151 text that prefixes a new section link in Recent Changes
14152
14153 == Bugfixes since 1.10 ==
14154
14155 * (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
14156 * (bug 9670) Follow redirects when render edit section links to transcluded
14157 templates.
14158 * (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
14159 * (bug 3431) Suppress "next page" link in Special:Search at end of results
14160 * Don't show unblock form if the user doesn't have permission to use it
14161 (cosmetic change, no vulnerabilities existed)
14162 * Subtitle success message when unblocking a block ID instead of a pseudo link
14163 like [[User:#123|#123]]
14164 * Use the standard HTTP fetch functions when retrieving remote wiki pages
14165 through transwiki, so we can take advantage of cURL goodies if available
14166 * Disable user JavaScript on Special:Userlogin, Special:Resetpass and
14167 Special:Preferences, to avoid a compromised script sniffing passwords, etc.
14168 * (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
14169 instead of letting it flow outside the box or trigger ugly scroll bars.
14170 * Tooltips for print version and permalink
14171 * Links to the MediaWiki namespace for system messages having their default
14172 values are no longer shown as nonexistent (e.g., in red)
14173 * Special:Ipblocklist differentiates between empty list and no search results.
14174 * (bug 5375) profiling does not respect read-only mode.
14175 * (bug 7070) monobook/user.gif has antialias artifacts
14176 * (bug 9123) Safer way when applying $wgLocalTZoffset
14177 * (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
14178 * (bug 9417) Uploading new versions of images when using Postgres no longer
14179 throws warnings.
14180 * (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
14181 * (bug 1438) Fix for diff table layout on very wide lines.
14182 Diff style rules have been broken out to common/diff.css,
14183 and the dupes removed from the default skin files.
14184 Skins can still override the default rules.
14185 * (bug 1229) Balance columns in diff display evenly
14186 * Right-align diff line numbers in RTL language display
14187 * (bug 9332) Fix instructions in tests/README
14188 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
14189 of fragments during the normalisation process
14190 * (bug 7989) RSS feeds content now use black text when using white background.
14191 * (bug 9971) Typo in a french language message.
14192 * (bug 9973) Changed size was shown in advanced recentchanges collapsible items
14193 with $wgRCShowChangedSized = false.
14194 * Fix PHP strict standards warning in enhanced recent changes.
14195 * (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
14196 entries.
14197 * (bug 7432) Change language name for Aromanian (roa-rup)
14198 * (bug 908) Unexistent special pages now generate a red link.
14199 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
14200 * (bug 7993) support mathematical symbol classes
14201 * (bug 10007) Allow Block IP to work with Postgrs again.
14202 * Add Google Wireless Transcoder to the Unicode editing blacklist
14203 * (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks
14204 * (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
14205 * (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function
14206 * (bug 10113) Fix double-click for view source on protected pages
14207 * (bug 10117) Special:Wantedpages doesn't handle invalid titles in result
14208 set [now prints out a warning]
14209 * (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists
14210 templates with a high number of inclusion links
14211 * (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle
14212 * (bug 9820) session.save_path check no longer halts installation, but
14213 warns of possible bad values
14214 * (bug 9978) Fixed session.save_path validation when using extended
14215 configuration format, e.g. "5;/tmp"
14216 * Don't generate a diff link in the patrol log if the page doesn't exist
14217 * (bug 10067) Translations for former skins removed from message files
14218 * (bug 9993) Force $wgShowExceptionDetails on during installation
14219 * (bug 9980) Validate administrator username and password during
14220 installation
14221 * (bug 9383) Don't set a default value for BLOB column in rc-deleted
14222 database patch
14223 * (bug 10149) Don't show full template list on section-0 edit
14224 * (bug 9909) Ensure access to binary fields in the math table use encodeBlob()
14225 and decodeBlob()
14226 * (bug 6743) Don't link broken image links to the upload form when uploads
14227 are disabled
14228 * (bug 9679) Improve documentation for $wgSiteNotice
14229 * (bug 10215) Show custom editing introduction when editing existing pages
14230 * (bug 10223) Fix edit link in noarticletext localizations for fr, oc
14231 * (bug 10247) Fix IP address regex to avoid false positive IPv6 matches
14232 * (bug 9948) Workaround for diff regression with old Mozilla versions
14233 * (bug 10265) Fix regression in category image gallery paging
14234 * (bug 8577) Fix some weird misapplications of time zones.
14235 {{CURRENT*}} functions now consistently use UTC as intended, while
14236 {{LOCAL*}} functions return local time per server config or $wgLocaltimezone.
14237 Signature dates for Japanese and other languages including weekday now show
14238 the correct day to match the rest of the time in local time.
14239 * Escape the output of magic variables that return page name or part of it
14240 * (bug 10309) Initialise parser state properly in extractSections(), fixes
14241 some cases where section edits broke because tags were improperly stripped
14242 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
14243 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
14244 * (bug 9696) Fix handling of brace transformations in "pagemovedtext"
14245 * (bug 10325) Fix regression in form action on Special:Listusers
14246 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
14247 overlong key errors.
14248 * Fixed zero-padding issues with MySQL 5 binary schema
14249 * (bug 10344) Don't follow a redirect after changing its protection level
14250 * (bug 10333) Correct date format in Slovenian
14251 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
14252 Special:Prefixindex; making forms prettier for RTL wikis.
14253 * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
14254 spaces
14255 * (bug 10372) namespaceDupes.php no longer ignores namespace aliases
14256 * (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes
14257 * namespaceDupes.php should work better for initial-lowercase wikis
14258 * (bug 10377) "Permanent links" to revisions still work if the page is moved
14259 and the redirect deleted
14260 * (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't
14261 match the given title. Fixes inconsistencies with talk, history, edit links.
14262 * (bug 10397) Fix AJAX watch error fallback when we receive a bogus result
14263 * (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid;
14264 using $wgScript now included in JS info
14265 * Use native XMLHttpRequest class in preference to ActiveX on IE 7; this
14266 avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something
14267 security settings are cranked this way and AJAX-y gets used.
14268 * Delay AJAX watch initialization until click so IE 6 with ugly security
14269 settings doesn't prompt you until you use the link.
14270 * (bug 10401) Provide non-redirecting link to original title in Special:Movepage
14271 * Fix broken handling of log views for page titles consisting of one
14272 or more zeros, e.g. "0", "00" etc.
14273 * Fix read permission check for special pages with subpage parameters, e.g.
14274 Special:Confirmemail
14275 * Fix read permission check for unreadable page titles which are numerically
14276 equivalent to a whitelisted title
14277 * '?>' closing tag removed from all files to help avoid problems with extraneous
14278 whitespace (broken XML feeds, etc.)
14279 * Don't use garbled parser cache output when viewing custom CSS or JavaScript
14280 pages
14281 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
14282 * Fix empty message checks for message names containing &
14283 This corrects some odd behavior with sidebar items and custom namespaces
14284 containing ampersands.
14285 * (bug 10375) Change thousands separator character to &nbsp; for Latin (la)
14286 * (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak
14287 * (bug 10496) Fix broken DISTINCT option logic in database backend
14288 * Fix CSS media declaration for "screen, projection"; was causing some
14289 validation issues
14290 * (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php
14291 * (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting
14292 the intended skin directly in the URL.
14293 * (bug 9903) Don't mark redirects in categories as stubs
14294 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
14295 * Padding parser functions now work with strings like '0' that evaluate to false
14296 * (bug 10332) Title->userCan( 'edit' ) may return false positive
14297 * Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is
14298 true
14299 * (bug 10552) Suppress rollback link in history for single-revision pages
14300 * (bug 10538) Gracefully handle invalid input on move success page
14301 * Fix for Esperanto double-x-encoding in move success page
14302 * (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+)
14303 Now matches the selection behavior on Mozilla / Safari.
14304 Patch by Alex Smotrov.
14305 * Don't show non-functional toolbar buttons on Opera 7 anymore
14306 * (bug 9151) Fix relative subpage links with section fragments
14307 * (bug 10560) Adding a space between category letter heading and "continues"
14308 * (bug 4650) Keep impossibly large/small counts off Special:Statistics
14309 * (bug 10608) PHP notice when installing with PostgreSQL
14310 * (bug 10615) Fix for transwiki import when CURL not available
14311 * (bug 8054) Return search page for empty search requests with ugly URLs
14312 * (bug 10572) Force refresh after clearing visitation timestamps on watchlist
14313 * (bug 10631) Warn when illegal characters are removed from filename at upload
14314 * Fix several JavaScript bugs under MSIE 5/Macintosh
14315 * (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language
14316 * (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0
14317 * Work around Safari bug with pages ending in ".gz" or ".tgz"
14318 * Removed obsolete maintenance/changeuser.sql script; use RenameUser extension
14319 * (bug 2735) "Preview" shown in title bar for action=submit on special pages
14320 * Removed "restore" links from the deletion log embedded in Special:Undelete
14321 * Improved error reporting and robustness for file delete/undelete.
14322 * Improved speed of file delete by storing the SHA-1 hash in image/oldimage
14323 * Fixed leading zero in base 36 SHA-1 hash
14324 * Protection form no longer produces JavaScript errors
14325 * (bug 10741) File histories show "delete" links for non-sysops
14326 * (bug 10744) Treat "noarticletext" and "noarticletextanon" as wiki text when
14327 used on a non-existent page with "action=info"
14328 * Fix escaping of raw message text when used on a non-existent page with
14329 "action=info"
14330 * (bug 10683) Fix inconsistent handling of URL-encoded titles in links
14331 used in redirects (i.e. they now work)
14332 * (bug 8878) Changes to $dateFormats in German localization (removing unused,
14333 nonexistent formats, putting time after date)
14334 * (bug 10769) Database::update() should return boolean result
14335 * Fix preference checkbox display for right-to-left languages which caused
14336 them to be hidden in IE in some cases
14337 * Fix upload form display in right-to-left languages
14338 * Fixed regression in blocking of username '0'
14339 * (bug 9437) Don't overwrite edit form submission handler when setting up
14340 edit box scroll position preserve/restore behavior
14341 * (bug 10805) Fix "undo" link when viewing the diff of the most recent
14342 change to a page using "diff=0"
14343 * (bug 10765) img_auth.php will now refuse logged-out requests where
14344 $wgWhitelistRead is undefined, instead of (incorrectly) honouring them
14345 * Fixed img_auth.php file name extraction for whitelist checking
14346 * Tweak spacing of email preference display
14347 * Table sorting JavaScript prefers textContent over innerText to allow hidden
14348 sort keys to work on Safari
14349 * (bug 4530) Fix local name of Kurdish language
14350 * (bug 10830) Fix local name of Haitian Creole language
14351 * Fix invalid XHTML in Special:Protectedpages
14352 * Fix comments in contributions and log pages for right-to-left languages
14353 * Make installer include_path-independent, so it should work on hosts which
14354 disable user setting of PHP include_path setting
14355 * glob() is horribly unreliable and doesn't work on some systems, including
14356 free.fr shared hosting. No longer using it in Language::getLanguageNames()
14357 * (bug 10763) Fix multi-insert logic for PostgreSQL
14358 * Fix invalid XHTML when viewing a deleted revision
14359 * Fix syntax error in translations of magic words in Romanian language
14360 * (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping
14361 process error output under Windows
14362 * (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects
14363 * (bug 10783) Resizing PNG-24 images with GD no longer causes all alpha
14364 channel transparency to be lost and transparent pixels to be turned black
14365 * (bug 9339) General error pages were transforming messages and their parameters
14366 in the wrong order
14367 * (bug 9026) Incorrect heading numbering when viewing Special:Statistics with
14368 "auto-numbered headings" enabled
14369 * Fixed invalid XHTML in Special:Upload
14370 * (bug 11013) Make sure dl() is available before attempting to use it to check
14371 available databases in installer
14372 * Resizing transparent GIF images with GD now retains transparency by skipping
14373 resampling
14374 * (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
14375 * Double encoding broke Special:Newpages for some languages
14376 * Adding a newline before the statistics footer, to prevent parsing problems
14377 * Preventing the TOC from appearing in Special:Statistics
14378 * (bug 11082) Fix check for fully-specced table names in Database::tableName
14379 * (bug 11067) Fix regression in upload conflict thumbnail display
14380 * (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
14381 suppressed, breaking paging - now strikes out "fixed" results
14382 * (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
14383 entries in the table of contents
14384 * (bug 11114) Fix regression in read-only mode error display during editing
14385 * Force non-MySQL databases to use an ORDER BY in SpecialAllpages to ensure
14386 that the first page_title is truly the first page title.
14387 * (bug 10836) Change the summary on creating of new section
14388 * Inclusion of Special:Wantedpages now works again
14389
14390 == API changes since 1.10 ==
14391
14392 Full API documentation is available at https://www.mediawiki.org/wiki/API
14393
14394 * New properties: links, templates, images, langlinks, categories, external
14395 links
14396 * Breaking Change: imagelinks renamed into imageusage (il->iu)
14397 * Bug fix: incorrect generator behavior in some cases
14398 * JSON format allows an optional callback function to wrap the result.
14399 * Login module disabled until a more secure solution can be implemented
14400 * (bug 9938) Querying by revision identifier returns the most recent revision
14401 for the corresponding page, rather than the requested revision
14402 * (bug 8772) Filter page revision queries by user
14403 * (bug 9927) User contributions queries do not accept IP addresses
14404 * Watchlist feed now reports a proper feed item when the user is not logged in
14405 * Watchlist feed date bug fixed - automatically shows one last day
14406 * Watchlist feed now allows to specify number of hours to monitor
14407 * list=allpages now returns a list instead of a map in JSON format
14408 * Breaking Change: in json, revisions are now returned as a list, not as a map.
14409 * Add: prop=info can show page is new flag, current page length, and visit
14410 counter.
14411 * Change: Query watchlist now shows flags only when explicitly requested with
14412 wlparam=flags
14413 * rc_this_oldid (textid) is no longer accessible from query watchlist
14414 * action=usercontribs: additional filtering by ucshow=; selection of needed
14415 fields with ucprop=; the textid (rev_text_id) is no longer being exposed
14416 * (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return
14417 lists in JSON instead of a map, and do not return anything when titles do
14418 not exist
14419 * (bug 9121) Introduced indexpageids query parameter to list the page_id
14420 values of all returned page items
14421 * (bug 10147) Now interwiki titles are not processed but added to a separate
14422 "interwiki" section of the output.
14423 * Added categorymembers list to query for pages in a category.
14424 * (bug 10260) Show page protection status
14425 * (bug 10392) Include MediaWiki version details in version output
14426 * (bug 10411) Site language in meta=siteinfo
14427 * (bug 10391) action=help doesn't return help if format is fancy markup
14428 * backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title
14429 parameter instead of titles. Titles for these lists is obsolete and might stop
14430 working soon.
14431 * Added prop=imageinfo - gets image properties and upload history
14432 * (bug 10211) Added db server replication lag information in meta=siteinfo
14433 * Added external url search within wiki pages (list=exturlusage)
14434 * Added link enumeration (list=alllinks)
14435 * Added registered users enumeration (list=allusers)
14436 * Added full text search in titles and content (list=search)
14437 * (bug 10684) Expanded list=allusers functionality
14438 * Possible breaking change: prop=revisions no longer includes pageid for
14439 rvprop=ids
14440 * Added rvprop=size to prop=revisions (The size will not be shown if it is NULL
14441 in the database)
14442 * list=allpages now allows to filter by article min/max size and protection
14443 status
14444 * Added site statistics (siprop=statistics for meta=siteinfo)
14445 * (bug 10902) Unable to fetch user contributions from IP addresses
14446 * `list=usercontribs` no longer requires that the user exist
14447 * (bug 10971) `aufrom` parameter doesn't work with spaces
14448 * Fix username handling issue with `auprefix` parameter
14449 * Treat underscores as spaces for `aufrom` and `auprefix` parameters
14450 * Added edit/delete/... token retrieval to prop=info
14451 * Added meta=userinfo - logged-in user information, group membership, rights
14452 * (bug 11072) Fix regression in API image history query
14453 * (bug 11115) Adding SHA1 hash to imageinfo query
14454 * (bug 10898) API does not return an edit token for non-existent pages
14455 * (bug 10890) Timestamp support for categorymembers query
14456 * (bug 10980) Add exclude redirects on backlinks
14457 * IPv6 titles in User namespace are normalized (run cleanupTitles.php to fix any
14458 old stray pages)
14459
14460 == Maintenance script changes since 1.10 ==
14461
14462 * Add support for wgMaxTocLevel option in parserTests
14463 * (bug 6823) Disable article view counter in maintenance/dumpHTML.php
14464 * Fix maintenance/importImages.php so it doesn't barf PHP errors when no
14465 suitable files are found, and make the list of extensions an option (defaults
14466 to $wgFileExtensions)
14467 * Add option to maintenance/createAndPromote.php to give the user bureaucrat
14468 permissions (--bureaucrat)
14469 * Allow overwriting existing files with a conflicting name using
14470 maintenance/importImages.php
14471 * (bug 10266) Use native newlines when rebuilding a messages file.
14472
14473 == Languages updated since 1.10 ==
14474
14475 * Afrikaans (af)
14476 * Arabic (ar)
14477 * Bikol (bcl)
14478 * Bulgarian (bg)
14479 * Catalan (ca)
14480 * Danish (da)
14481 * German (de)
14482 * Greek (el)
14483 * Esperanto (eo)
14484 * Spanish (es)
14485 * Estonian (et)
14486 * Extremaduran (ext)
14487 * Farsi (fa)
14488 * Finnish (fi)
14489 * Vöro (fiu-vro)
14490 * French (fr)
14491 * Français Cadien (frc) (new)
14492 * Franco-Provençal/Arpetan (frp)
14493 * Galician (gl)
14494 * Hakka (hak)
14495 * Hebrew (he)
14496 * Upper Sorbian (hsb)
14497 * Haitian (ht)
14498 * Indonesian (id)
14499 * Icelandic (is)
14500 * Italian (it)
14501 * Japanese (ja)
14502 * Georgian (ka)
14503 * Kabyle (kab)
14504 * Kazakh (kk)
14505 * Korean (ko)
14506 * Kinaray-a (krj) (new)
14507 * Kurdish (ku)
14508 * Latin (la)
14509 * Lao (lo)
14510 * Lithuanian (lt)
14511 * Latviešu (lv)
14512 * Malayalam (ml)
14513 * Bahasa Melayu (ms)
14514 * Burmese (my)
14515 * Low German (nds)
14516 * Dutch (nl)
14517 * Norwegian (no)
14518 * Occitan (oc)
14519 * Punjabi (Gurmukhi) (pa)
14520 * Polish (pl)
14521 * Piedmontese (pms)
14522 * Portuguese (pt)
14523 * Romani (rmy)
14524 * Romanian (ro)
14525 * Aromanian (roa-rup)
14526 * Russian (ru)
14527 * Sakha (sah)
14528 * Sango (se) (new)
14529 * Slovak (sk)
14530 * Slovenian (sl)
14531 * Shona (sn)
14532 * Somali (so)
14533 * Albanian (sq)
14534 * Sundanese (su)
14535 * Swedish (sv)
14536 * Tamil (ta)
14537 * Thai (th)
14538 * Tigrinya (ti)
14539 * Setswana (tn)
14540 * Tok Pisin (tpi)
14541 * Uyghur (ug)
14542 * Volapük (vo)
14543 * Winaray (war) (new)
14544 * Yiddish (yi)
14545 * Old Chinese / Late Middle Chinese (zh-classical)
14546 * Chinese (PRC) (zh-cn)
14547 * Chinese (Taiwan) (zh-tw)
14548 * Cantonese (zh-yue)
14549
14550 == MediaWiki 1.10 ==
14551
14552 == MediaWiki 1.10.4 ==
14553
14554 March 2, 2008
14555
14556 * Correction for API path fix, broken in 1.10.3
14557
14558 == MediaWiki 1.10.3 ==
14559
14560 January 23, 2008
14561
14562 This is a security update to the Winter 2007 quarterly release. A potential
14563 XSS injection vector affecting api.php only for Microsoft Internet Explorer
14564 users has been closed.
14565
14566
14567 To work around the vulnerability without upgrading, you may disable the API if
14568 you don't need it:
14569
14570 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
14571
14572 Not vulnerable versions:
14573 * 1.12 or later
14574 * 1.11 >= 1.11.1
14575 * 1.10 >= 1.10.3
14576 * 1.9 >= 1.9.5
14577 * 1.8 any version (if $wgEnableAPI has been left off)
14578
14579 Vulnerable versions:
14580 * 1.11 <= 1.11.0rc1
14581 * 1.10 <= 1.10.2
14582 * 1.9 <= 1.9.4
14583 * 1.8 any version (if $wgEnableAPI has been switched on)
14584
14585 MediaWiki 1.7 and below are not affected as they do not include the API
14586 functionality, however the BotQuery extension is similarly vulnerable unless
14587 updated to the latest SVN version.
14588
14589 == MediaWiki 1.10.2 ==
14590 September 10, 2007
14591
14592 This is a security fix update to the Spring 2007 quarterly release snapshot. A
14593 possible HTML/XSS injection vector in the API pretty-printing mode has been
14594 found and fixed.
14595
14596 The vulnerability may be worked around in an unfixed version by simply
14597 disabling the API interface if it is not in use, by adding this to
14598 LocalSettings.php:
14599 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
14600
14601 Not vulnerable versions:
14602 * 1.11 >= 1.11.0
14603 * 1.10 >= 1.10.2
14604 * 1.9 >= 1.9.4
14605 * 1.8 >= 1.8.5
14606
14607 Vulnerable versions:
14608 * 1.11 <= 1.11.0rc1
14609 * 1.10 <= 1.10.1
14610 * 1.9 <= 1.9.3
14611 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
14612
14613 MediaWiki 1.7 and below are not affected as they do not include the faulty
14614 function, however the BotQuery extension is similarly vulnerable unless updated
14615 to the latest SVN version.
14616
14617 == MediaWiki 1.10.1 ==
14618 July 13, 2007
14619
14620 This is a bugfix update to the Spring 2007 quarterly release snapshot. A number
14621 of fixes to improve compatibility with PostgreSQL, some versions of MySQL, and
14622 some PHP configurations are included.
14623
14624 Changes since 1.10.0:
14625
14626 * (bug [[bugzilla:9417|9417]]) Uploading new versions of images when using
14627 Postgres no longer throws warnings.
14628 * (bug [[bugzilla:9908|9908]]) Using tsearch2 with Postgres 8.1 no longer gives
14629 an error.
14630 * (bug [[bugzilla:9973|9973]]) Changed size was shown in advanced recentchanges
14631 collapsible items with $wgRCShowChangedSized = false.
14632 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
14633 overlong key errors.
14634 * Fixed zero-padding issues with MySQL 5 binary schema
14635 * (bug [[bugzilla:9820|9820]]) session.save_path check no longer halts
14636 installation, but warns of possible bad values
14637 * (bug [[bugzilla:9978|9978]]) Fixed session.save_path validation when using
14638 extended configuration format, e.g. "5;/tmp"
14639
14640 == MediaWiki 1.10.0 ==
14641 May 9, 2007
14642
14643 This is the quarterly release snapshot for Spring 2007. See below for a full
14644 list of changes since the 1.9.x series.
14645
14646 Changes since 1.10.0rc2:
14647
14648 * (bug [[bugzilla:9808|9808]]) Fix regression that ignored user 'rclimit'
14649 option for Special:Contributions
14650
14651 == MediaWiki 1.10.0rc2 ==
14652 May 4, 2007
14653
14654 THIS IS A RELEASE CANDIDATE MADE AVAILABLE FOR TESTING!
14655 A FINAL 1.10.0 RELEASE WILL APPEAR WITHIN A FEW DAYS.
14656
14657 Changes since 1.10.0rc1:
14658 * Various l10n fixes and updates
14659 * Fix for upgrade of page_restrictions table
14660 * (bug [[bugzilla:9780|9780]]) Fix normalization of titles with initial colon
14661 followed by whitespace
14662 * Fix for regression in upload: wrong size info saved into image table
14663 * Avoid cyclic stub problems when authorization hooks do funny things with the
14664 user and the database at load time
14665
14666 == MediaWiki 1.10.0rc1 ==
14667 This is the Spring 2007 branch release of MediaWiki.
14668
14669 MediaWiki is now using a "continuous integration" development model with
14670 quarterly snapshot releases. The latest development code is always kept
14671 "ready to run", and in fact runs our own sites on Wikipedia.
14672
14673 Release branches will continue to receive security updates for about a year
14674 from first release, but nonessential bugfixes and feature developments
14675 will be made on the development trunk and appear in the next quarterly release.
14676
14677 Those wishing to use the latest code instead of a branch release can obtain
14678 it from source control: https://www.mediawiki.org/wiki/Download_from_SVN
14679
14680 == Configuration changes ==
14681
14682 * A new switch $wgCommandLineDarkBg used by maintenance scripts
14683 (parserTests.php). It lets you specify if your terminal use a dark background,
14684 the colorized output will be made lighter making things easier to read.
14685 * The minimum permissions needed to edit a page in each namespace can now be
14686 customized via the $wgNamespaceProtection array. By default, editing pages in
14687 the MediaWiki namespace requires "editinterface" permission, as before.
14688 * Allow restriction of autoconfirmed permission by edit count. New global
14689 setting $wgAutoConfirmCount (defaulting to zero, naturally).
14690 * Added rate limiter for Special:Emailuser
14691 * Private logs can now be created using $wgLogRestrictions
14692 * (Bug 8590) limited HTML is now always enabled ($wgUserHtml = true).
14693 * Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
14694
14695 == New features since 1.9 ==
14696
14697 * (bug 6937) Introduce "statistics-footer" message, appended to
14698 Special:Statistics
14699 * (bug 6638) List block flags in block log entries
14700 * (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript
14701 * Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage()
14702 starts page output
14703 (http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html)
14704 * Introduce "cascading protection" -- implicit protection on pages transcluded
14705 into a page protected with this option enabled
14706 * (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown
14707 out in action=raw, so extensions might influence the output.
14708 * (bug 3446) Add user preference to hide page content below diffs, can be
14709 overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
14710 * Add 'purge' privilege to replace the hardcoded check for login state in
14711 determining whether action=purge can be done via GET. Switching the
14712 permission on for anons can be helpful for benchmarking.
14713 * (bug 7842) Link back to deleted revision list from deleted revision preview
14714 * (bug 8619) Add user-aware "unblock" link to Special:Blockip
14715 * (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with
14716 the appropriate permission
14717 * (bug 8628) Add user-aware block list link to Special:Blockip
14718 * (bug 8621) Log revisions marked as patrolled
14719 * Introduce "BookInformation" hook; see docs/hooks.txt for more details
14720 * Add title prefix search for Special:Undelete
14721 * Remove full-archive list from Special:Undelete
14722 * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
14723 * (bug 8712) Expose user groups as a JavaScript global
14724 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
14725 * New special page, Special:Protectedpages, which shows all protected pages
14726 and their protection status (full protection status is not pulled out due
14727 to performance considerations, so it just shows "full protected" or
14728 "semi protected".
14729 * (bug 4133) Allow page protections to be made with an expiry date, in the same
14730 format as block expiry dates. Existing protections are assumed to be infinite,
14731 as are protections made with the new field left blank.
14732 * (bug 8535) Allow certain vertical alignment attributes to be used as image
14733 keywords
14734 * (bug 6987) Allow perrow, widths, and heights attributes for <gallery>
14735 * (bug 3678) Allow disabling MediaWiki:Aboutsite in the same way as
14736 MediaWiki:Disclaimers; Also means that if any of the footer links are
14737 disabled in the wiki's default language (by setting to "-"), they'll also
14738 be disabled in other languages too (e.g. if the user specifies uselang=fr).
14739 * Sort log types in Special:Log
14740 * Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit
14741 toolbar buttons
14742 * Hide irrelevant block options in Special:Blockip based on whether an
14743 IP address/range or username is listed. (Dynamic using JS.)
14744 * (bug 9032) Make quickbarSettings localizable through Special:Allmessages
14745 * (bug 7782) Standardisation of file info at image description pages.
14746 * (bug 1035) View contributions / recentchanges for an IP range.
14747 * (bug 8747) When unwatching pages from Special:Watchlist/edit, put the
14748 confirmation messages in a proper list with a CSS class and id.
14749 * (bug 9118) Show relevant log fragments on deletion confirmatio page
14750 * (bug 9009) Add username entry field to Special:Contributions
14751 * (bug 1723) Article size in history
14752 * (bug 9223) Disallow magic tilde sequences in page titles and usernames
14753 * (bug 6997) Link from Special:log/block to unblock form
14754 * (bug 9117) Link from Special:log/delete to undelete form
14755 * Link from Special:log/protect to change protection form
14756 * (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6
14757 contribs
14758 * (bug 3984) Searching in logs by title%
14759 * Show thumbnail of existing image if image exists already under this filename
14760 * (bug 5546) Watchlist reflects logged actions like move, protection, undelete
14761 * Support protocols other than HTTP in LinkFilter, use $wgUrlProtocols
14762 * (bug 3069) Warning on upload of scaled down images
14763 * Warning on upload of images with uppercase extension if image with lowercase
14764 extension exists
14765 * (bug 4624) Namespace selection for Special:Whatlinkshere
14766 * Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see
14767 docs/hooks.txt for more information
14768 * (bug 9397) Introduce "sp-contributions-footer" and
14769 "sp-contributions-footer-anon" messages, shown at the end of
14770 Special:Contributions as appropriate for the target
14771 * (bug 8421) Expose current action in JavaScript globals (as 'wgAction')
14772 * (bug 9069) Use galleries in query pages dedicated to images
14773 * (bug 9177) Installer now warns of various conditions affecting
14774 session.save_path which can lead to broken session storage
14775 * (bug 9046) Special page to list pages without language links
14776 * (bug 9508) Special page to list articles with the fewest revisions
14777 * Introduce 'FileUpload' hook; see docs/hooks.txt for more information
14778 * Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information
14779 * Introduce 'mywatchlist' message; used on personal menu to link to watchlist
14780 page
14781 * Introduce magic word {{NUMBEROFEDITS}}
14782 * Introduced media handlers for file-type specific operations.
14783 * Improved error reporting for image thumbnailing
14784 * Added sharpening option for ImageMagick thumbnailing
14785 * (bug 9656) Autosummaries will be generated for deletion of pages longer than
14786 500 characters
14787 * Predefined block reasons added to Special:Blockip
14788 * (bug 9196) Installer now check that zend.ze1_compatibility_mode is off
14789 * (bug 9697) Introduce 'InternalParseBeforeLinks' hook; see docs/hooks.txt for
14790 more information
14791 * 'contribsub' message changed to 'contribsub2' with two parameters to permit
14792 better localization. Change is reverse-compatible and can be ignored for
14793 most wikis.
14794 * Adding a 'reason' field to Special:Userrights
14795
14796 == Bugfixes since 1.9 ==
14797
14798 * (bug 7292) Fix site statistics when moving pages in/out of content namespaces
14799 * (bug 8531) Correct local name of Lingála
14800 * Made the PLURAL: parser function return singular on -1 per default
14801 * Fixed up the AjaxSearch
14802 * Fix SpecialVersion->formatCredits input. Version and Url parameters should be
14803 null to be treated properly with isset.
14804 * Page restrictions moved into a new, dedicated table
14805 * Correct tooltip accesskey hint for Opera on the Macintosh
14806 (uses Shift-Esc-, not Ctrl-).
14807 * (bug 8002) Math should render left-to-right even in right-to-left wikis
14808 * Pass e-mail and real name fields to AuthPlugin::addUser, as additional
14809 optional fields, which may be considered useful at registration time.
14810 * PostgreSQL upgrade scripts fixed and updated
14811 * (bug 8613) Fix error when viewing "Recent Changes" and using Postgres.
14812 * Initialise site_stats table at upgrade time if data was missing
14813 * (bug 7250) Updated Unicode normalization tables to Unicode 5.0
14814 * Unmaintained Oracle support files have been removed.
14815 * Use browser default for printing size, don't force to 11pt
14816 * (bug 8632) Fix regression in page protection null edit update
14817 * (bug 8407) Disallow indexing of "printable" versions
14818 * (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins
14819 * (bug 8629) Document $wgFilterCallback
14820 * (bug 1000) Clarify warning about memory_limit in installer
14821 * Suppress PHP warning about set_time_limit in installer when safe mode is on
14822 * (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is
14823 not available, as on IIS with PHP-CGI
14824 * Missing interwiki row for English Wikipedia restored (as "wikipedia:")
14825 * use configured cache servers for mctest.php
14826 * bucket details in mcc.php
14827 * fix input validation and remove debugging code in compressOld
14828 * full ID range for moveToExternal
14829 * fix resolveStubs.php for compatibility with older serialized data
14830 * maximum line length for bar graphs in getLagTimes.php
14831 * recognize specieswiki in rebuildInterwiki.inc
14832 * profile unicode cleanup in Xml
14833 * log slow parses in Article.php
14834 * profile wfMsgReal
14835 * log mkdir failures
14836 * profile AutoLoader
14837 * rebuild empty DjVu metadata containing ''
14838 * security fix for DjVu metadata retrieval
14839 * Undelete page list can use plural marker
14840 * (bug 8638) Fix update from 1.4 and earlier
14841 * (bug 8641) Fix order of updates to ipblocks table
14842 * (bug 8678) Fix detection of self-links for numeric titles in Parser
14843 * (bug 6171) Magically close tags in tables when not using Tidy.
14844 * Sanitizer now correctly escapes lonely '>' occurring before the first wikitag.
14845 * Ignore self closing on closing tags ( '</div />' now gives '</div>')
14846 * (bug 8673) Minor fix for web service API content-type header
14847 * Fix API revision list on PHP 5.2.1; bad reference assignment
14848 * (bug 8688) Handle underscores/spaces in Special:Blockip and
14849 Special:Ipblocklist in a consistent manner
14850 * (bug 8701) Check database lock status when blocking/unblocking users
14851 * ParserOptions and ParserOutput classes are now in their own files
14852 * (bug 8708) Namespace translations for Zealandic language
14853 * Renamed constructor methods to PHP 5 __construct reserved name
14854 * (bug 8715) Warn users when editing an interface message whether or not the
14855 message page exists
14856 * ar: fix the 'create a new page' on search page when no exact match found
14857 * (bug 8703) Corrected talk and image namespace name for Limburgish (li)
14858 * (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
14859 * (bug 8403) Respect bad image list exceptions in galleries on wiki pages
14860 * Allow sending per-user contribution requests to "contributions" query group
14861 * (bug 3717) Update user count for AuthPlugin account autocreation
14862 * (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11;
14863 accesskeys default settings appear to be same as Windows.
14864 * Added an option to make Linker::userToolLinks() show the contribs link
14865 red when the user has no edits. Linker::userToolLinksRedContribs() is an
14866 alias to that which should be used to make it more self documentating.
14867 * (bug 8749) Bring MySQL 5 table defs back into sync
14868 * (bug 8751) Set session cookies to HTTPS-only to match other cookies
14869 * (bug 8652) Catch exceptions generated by malformed XML in multipage media
14870 * (bug 8782) Help text in Makefile
14871 * (bug 8777) Suppress 'previous' link on Special:Allpages when at first page
14872 * (bug 8774) Fix path for GNU FDL rights icon on new installs
14873 * Fix multipage selector drop-down for DjVu images to work when title
14874 is passed as a query string parameter; we have to pass the title as
14875 a form parameter or it gets dropped from the form submission URL
14876 * (bug 8819) Fix full path disclosure in with skins dependencies
14877 * Fixed bug affecting HTML formatting in sortable table column titles
14878 * Merged table sorting code into wikibits.js
14879 * (bug 8711) Stop floats in previews from spilling into edit area
14880 * (bug 8858) Safer handling when $wgImageLimits is changed. Added a note
14881 in DefaultSettings to make it clear.
14882 * (bug 4268) Fixed data-loss bug in compressOld batch text compression
14883 affecting pages which had null edits (move, protect, etc) as second
14884 edit in a batch group. Isolated and patched by Travis Derouin.
14885 * Fix for paths in 1.4->1.5 special-case updater script
14886 * (bug 8789) AJAX search: IE users can now use the return key
14887 * (bug 6844) Use <ins> and <del> tags to emphase the differences
14888 * (bug 6684) Fix improper javascript array iteration
14889 * (bug 4347) use MailAddress object for reply-to
14890 * Add AlphabeticPager abstract class
14891 * Use faster AlphabeticPager for Special:Categories
14892 * (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
14893 pages; perhaps useful for categories and shared images
14894 * Clean up session checks to better handle the case where the session was
14895 opened during the current request. May help with some caching corner
14896 cases.
14897 * (bug 8897) Fix whitespace removal for interlanguage links with link prefix
14898 * Add 'ParserTestTables' hook to expand the list of temporary tables copied
14899 by the parser test harness; use for extensions which require the presence
14900 of other tables while they work.
14901 * Message names changed for AlphabeticPager introduced with r19758
14902 for better localisations.
14903 * (bug 8944) The deprecated is_a() function is used in StubObjects.php
14904 * (bug 8992) Fix a remaining raw use of REQUEST_URI in history
14905 * (bug 8999) User.php gives "undefined user editcount" PHP notice.
14906 * (bug 8984) Fix a database error in Special:Recentchangeslinked
14907 when using the Postgres database.
14908 * Moved the main ob_start() from the default LocalSettings.php to WebStart.php.
14909 The ob_start() section should preferably be removed from older
14910 LocalSettings.php files.
14911 * Give Content-Length header for HTTP/1.0 clients.
14912 * Partial support for Flash cross-domain-policy filtering.
14913 * Lazy-initialize site_stats row on load when empty. Somewhat kinder to
14914 dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES
14915 and such are used.
14916 * Add 'charset' to Content-Type headers on various HTTP error responses
14917 to forestall additional UTF-7-autodetect XSS issues. PHP sends only
14918 'text/html' by default when the script didn't specify more details,
14919 which some inconsiderate browsers consider a license to autodetect
14920 the deadly, hard-to-escape UTF-7.
14921 This fixes an issue with the Ajax interface error message on MSIE when
14922 $wgUseAjax is enabled (not default configuration); this UTF-7 variant
14923 on a previously fixed attack vector was discovered by Moshe BA from BugSec:
14924 http://www.bugsec.com/articles.php?Security=24
14925 * Trackback responses now specify XML content type
14926 * (bug 9044) Send a comment with action=raw pages in CSS/JS output mode
14927 to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly,
14928 particularly with new keepalive-friendly HTTP on Wikipedia
14929 * (bug 8919) Suppress paging links and related messages where there are no
14930 rows to list for query pages
14931 * (bug 9057) Standardize MediaWiki: namespace for oc
14932 * (bug 8132) Suppress "Pages in this category" heading in categories when
14933 there are none
14934 * (bug 8958) Handle search operators better when using tsearch2 (Postgres)
14935 * (bug 8799) Use redirect table for Special:BrokenRedirects and
14936 Special:DoubleRedirects
14937 * (bug 8918) Enable PLURAL option for MediaWiki:showingresults and
14938 MediaWiki:showingresultsnum
14939 * (bug 9122) Fix minor display issue in RTL with section edit link margin
14940 * (bug 5805) Enable PLURAL option for some messages of watchlist and statistic
14941 * (bug 3953) Work around poor display of parenthesis in the in other
14942 languages section of MonoBook skin
14943 * (bug 8539) Enable PLURAL option for another message of recentchanges.
14944 * (bug 8728) MediaWiki:Badfiletype split into 3 messages
14945 * (bug 9131) Allow SpecialContributions to work with Postgres
14946 * (bug 9155) Allow footer info to wrap in Monobook
14947 * (bug 8847) Strip spurious #fragments from request URI to fix redirect
14948 loops on some server configurations
14949 * (bug 9097) column "pr_pagetype" does not exist
14950 * (bug 9217) Balance wfProfile calls in Skin::outputPage
14951 * (bug 9222) PostgreSQL updater should not be version-specific
14952 * Fix fallback implementation of mb_strlen so it works and isn't insanely
14953 slow for large strings, since it's used for page edit lengths
14954 * (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin
14955 * (bug 9256) Add a quick note to index.php header comments
14956 * Make Special:Listusers caseinsensitive for first letter
14957 * Default tidy.conf has been moved from extensions module into includes.
14958 * Ignore lonely '''''
14959 * (bug 9244) When calling edit page for nonexistent section, generate error
14960 inside of just discarding edits, since edit links sometimes go to the wrong
14961 place.
14962 * (bug 9019) No warning during upload if image description page exists, but no
14963 image
14964 * (bug 8582) Allow thumbnailing when imagesize has a space.
14965 * (bug 8716) Change math_inputhash and math_outputhash to bytea for Postgres
14966 * (bug 9343) Correct internal name for Wolof language
14967 * (bug 9363) Fix Postgres error on Recentchangeslinked
14968 * (bug 5142) Fixed call of hook ArticleViewHeader
14969 * (bug 4777) Separate prev/next messages for Special:Whatlinkshere
14970 * Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql
14971 based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive.
14972 * (bug 9411) Fix for shared image descriptions using query-string titles
14973 * (bug 4756) Add user tool links for self created accounts at special:log
14974 instead of sometimes broken block links from newuserlog extension
14975 * (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent
14976 target page instead of silently redirecting
14977 * (bug 8914) Don't transform colons in {{anchorencode:}}
14978 * (bug 9241) Handle edit section links and include size links for cached
14979 templates the same as the first transclusion.
14980 * (bug 9466) "Rollback failed" page doesn't format edit comment
14981 * (bug 9472) Invalid XHTML on cached special pages
14982 * (bug 9472) Invalid XHTML on Special:Newpages
14983 * (bug 4764) "My contributions" not bold when viewing own contributions
14984 * (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere
14985 * (bug 9033) Use a more specific error message when users are not able/allowed
14986 to edit page protection levels due to a block, database lock or permissions
14987 * Fixed $wgFeedLimit
14988 * (bug 9270) Corrected help namespace name for Dutch Lower Saxon (nds-nl)
14989 * (bug 929, 4215) Expose "rcdays" user preference in Special:Preferences
14990 * (bug 9554) Extension-provided group name messages not used
14991 * (bug 9565) Translate template namespace name for Hindi (hi)
14992 * (bug 8599) Correct localized names of zh-variants
14993 * (bug 3366) Require skins based on SkinTemplate to override the skinname
14994 property.
14995 * (bug 9220) Removed obsoletes functions in install-utils.inc.
14996 * Removed obsoletes Title::getRelatedCache and Title:touchArray
14997 * (bug 7285) Check MySQL username length during install
14998 * (bug 6910) Correct date/time formats in Vietnamese (vi)
14999 * (bug 9608) Correctly use ORDER BY in dumpLinks.php
15000 * (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php
15001 * Special:Random and Special:Randomredirect now try harder to send the user to
15002 a random page, and will give an error message if none really can be found
15003 instead of sending the user to the main page like they used to
15004 * Fix object variable used for displaying "not-patrolled" CSS class on list
15005 * Fixed interaction of page parameter to ImagePage with the HTML file cache
15006 * Fixed MIME type for SVG files, will be silently changed from image/svg
15007 to image/svg+xml after loading from the database.
15008 * Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump
15009 instead.
15010 * Fixed odd behavior in ImagePage on DjVu thumbnailing errors
15011 * (bug 5439) "Go" title search will now jump to shared/foreign Image: and
15012 MediaWiki: pages that have not been locally edited.
15013 * (bug 9630) Limits links in Whatlinkshere forgot about namespace filter
15014 * Fixed upgrade for the non-standard MySQL schemas
15015 * Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the
15016 various problems that occur when it is on.
15017 * (bug 9585) Fix regression in tidy usage in Special:Undelete previews
15018 * (bug 3826) Normalize some invalid cookie name characters when setting
15019 up $wgCookiePrefix. Completes application of patch by Anders Kaseorg.
15020 * (bug 9649) Fix RTL form alignment for Special:Movepage
15021 * (bug 9582) Members of bot group now mark edits patrolled by default
15022 * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
15023 converted from 1.4 to 1.5 schema
15024 * (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info
15025 * (bug 5959) Anchors dropped from stub links
15026 * (bug 3348) Some additional weak password checks: password which is same
15027 as username will now be rejected.
15028 * (bug 8602) Converted Special:Contributions to use an IndexPager. The
15029 interpretation of the offset parameter has changed, and the go parameter
15030 has been removed.
15031 * (bug 6204) Fixes for indentation with $wgMaxTocLevel:
15032 - don't emit too many list close tags after an invisible header
15033 - don't emit too many final list close tags if last header is invisible
15034 - don't emit TOC when there are no visible headers
15035 * (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
15036 when certain plugins are present which alter the user agent
15037
15038
15039 == Maintenance ==
15040
15041 * New script maintenance/language/checkExtensioni18n.php used to check i18n
15042 progress in the extension repository.
15043 * Running maintenance/parserTests.php with '--record' option, will now
15044 automatically attempt to create the required tables
15045 * --purge option to do additional parser-cache purging for purgeList.php
15046 * Fix hardcoded background color in parserTests.php
15047 * parserTests.php : removed the 'light' option for --color argument, replacing
15048 it with a new global switch : $wgCommandLineDarkBg
15049 * (bug 8780) Clarify message for command-line scripts if LocalSettings.php
15050 exists but is not readable
15051 * dumpBackup / importDump now work with PostgreSQL
15052 * (bug 8975) Use "Maintenance script" as the default username for
15053 importImages.php and importTextFile.php scripts
15054 * (bug 8933) Fix maintenance/reassignEdits.php script
15055 * (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org
15056 * (bug 2979) Import now gracefully skips invalid titles with a warning
15057 * Restore '--norc' option for maintenance/importTextFile.php
15058 * Help information for maintenance/importTextFile.php now easier to read on
15059 consoles
15060 * Doxygen documentation now show the revision number of each file, generate
15061 graphs using dot and include a search engine.
15062
15063
15064 == Languages updated ==
15065
15066 * Arabic (ar)
15067 * Aramaic (arc)
15068 * Aymara (ay)
15069 * Belarusian normative (be)
15070 * Belarusian alternative (be-x-old)
15071 * Bulgarian (bg)
15072 * Bihara (bh)
15073 * Breton (br)
15074 * Catalan (ca)
15075 * Czech (cs)
15076 * Danish (da)
15077 * German (de)
15078 * Greek (el)
15079 * Esperanto (eo)
15080 * Spanish (es)
15081 * Estonian (et)
15082 * Basque (eu)
15083 * Finnish (fi)
15084 * Võro (fiu-vro)
15085 * French (fr)
15086 * Hebrew (he)
15087 * Hindi (hi)
15088 * Upper Sorbian (hsb)
15089 * Hungarian (hu)
15090 * Armenian (hy)
15091 * Indonesian (id)
15092 * Italian (it)
15093 * Japanese (ja)
15094 * Javanese (jv)
15095 * Georgian (ka)
15096 * Kabyle (kab)
15097 * Kazakh (kk)
15098 * Korean (ko)
15099 * Kashmiri (ks)
15100 * Ripuarian (ksh)
15101 * Latin (la)
15102 * Luganda (lg)
15103 * Limburgish (li)
15104 * Lithuanian (lt)
15105 * Latvian (lv)
15106 * Marathi (mr)
15107 * Low Saxon (nds)
15108 * Dutch Lower Saxon (nds-nl)
15109 * Nepali (ne)
15110 * Nepal Bhasa (new)
15111 * Dutch (nl)
15112 * Occitan (oc)
15113 * Pali (pi)
15114 * Polish (pl)
15115 * Romanian (ro)
15116 * Russian (ru)
15117 * Sanskrit (sa)
15118 * Sicilian (scn)
15119 * Slovak (sk)
15120 * Sundanese (su)
15121 * Swedish (sv)
15122 * Tahitian (ty)
15123 * Ukrainian (uk)
15124 * Urdu (ur)
15125 * Uzbek (uz)
15126 * Vietnamese (vi)
15127 * Zealandic (zea)
15128 * Old Chinese / Late Middle Chinese (zh-classical)
15129 * Chinese (PRC) (zh-cn)
15130 * Chinese (Taiwan) (zh-tw)
15131 * Cantonese (zh-yue)
15132
15133 == Compatibility ==
15134
15135 MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
15136
15137 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
15138 http://bugs.php.net/bug.php?id=34879
15139 Upgrade affected systems to PHP 5.1 or higher.
15140
15141 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
15142 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
15143
15144
15145 == Upgrading ==
15146
15147 1.10 has several database changes since 1.9, and will not work without schema
15148 updates.
15149
15150 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
15151 new database fields are filled with data.
15152
15153 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
15154 changes are made, and there is a slightly higher chance that things could
15155 break. Don't forget to always back up your database before upgrading!
15156
15157 See the file UPGRADE for more detailed upgrade instructions.
15158
15159 = MediaWiki release notes =
15160 Security reminder: MediaWiki does not require PHP's register_globals
15161 setting since version 1.2.0. If you have it on, turn it *off* if you can.
15162
15163 = MediaWiki 1.9 =
15164
15165 == MediaWiki 1.9.6 ==
15166
15167 March 2, 2008
15168
15169 * Correction for API path fix, broken in 1.9.5
15170
15171 == MediaWiki 1.9.5 ==
15172
15173 January 23, 2008
15174
15175 This is a security update to the Winter 2007 quarterly release. A potential XSS
15176 injection vector affecting api.php only for Microsoft Internet Explorer users
15177 has been closed.
15178
15179
15180 To work around the vulnerability without upgrading, you may disable the API if
15181 you don't need it:
15182
15183 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
15184
15185 Not vulnerable versions:
15186 * 1.12 or later
15187 * 1.11 >= 1.11.1
15188 * 1.10 >= 1.10.3
15189 * 1.9 >= 1.9.5
15190 * 1.8 any version (if $wgEnableAPI has been left off)
15191
15192 Vulnerable versions:
15193 * 1.11 <= 1.11.0rc1
15194 * 1.10 <= 1.10.2
15195 * 1.9 <= 1.9.4
15196 * 1.8 any version (if $wgEnableAPI has been switched on)
15197
15198 MediaWiki 1.7 and below are not affected as they do not include the API
15199 functionality, however the BotQuery extension is similarly vulnerable unless
15200 updated to the latest SVN version.
15201
15202 == MediaWiki 1.9.4 ==
15203
15204 September 10, 2007
15205
15206 This is a security and bug fix update to the Winter 2007 quarterly release.
15207 Minor compatibility fixes for IIS 5 are included.
15208
15209 * (bug [[bugzilla:8847|8847]]) Strip spurious #fragments from request URI to
15210 fix redirect loops on some server configurations
15211 * A possible HTML/XSS injection vector in the API pretty-printing mode has been
15212 found and fixed.
15213
15214 The vulnerability may be worked around in an unfixed version by simply
15215 disabling the API interface if it is not in use, by adding this to
15216 LocalSettings.php:
15217
15218 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
15219
15220 Not vulnerable versions:
15221 * 1.11 >= 1.11.0
15222 * 1.10 >= 1.10.2
15223 * 1.9 >= 1.9.4
15224 * 1.8 >= 1.8.5
15225
15226 Vulnerable versions:
15227 * 1.11 <= 1.11.0rc1
15228 * 1.10 <= 1.10.1
15229 * 1.9 <= 1.9.3
15230 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
15231
15232 MediaWiki 1.7 and below are not affected as they do not include the faulty
15233 function, however the BotQuery extension is similarly vulnerable unless updated
15234 to the latest SVN version.
15235
15236 == MediaWiki 1.9.3 ==
15237
15238 February 20, 2007
15239
15240 This is a security and bug-fix update to the Winter 2007 quarterly release.
15241 Minor compatibility fixes for IIS and PostgreSQL are included.
15242
15243 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
15244 charset autodetection was located in the AJAX support module, affecting MSIE
15245 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
15246
15247 If you are using an extension based on the optional Ajax module, either disable
15248 it or upgrade to a version containing the fix:
15249
15250 * 1.9: fixed in 1.9.3
15251 * 1.8: fixed in 1.8.4
15252 * 1.7: fixed in 1.7.3
15253 * 1.6: fixed in 1.6.10
15254
15255 There is no known danger in the default configuration, with ''$wgUseAjax'' off.
15256
15257 * ([[mediazilla:8992|8992]]) Fix a remaining raw use of REQUEST_URI in history
15258 * ([[mediazilla:8984|8984]]) Fix a database error in
15259 Special:Recentchangeslinked when using the PostgreSQL database.
15260 * Add ''charset'' to Content-Type headers on various HTTP error responses to
15261 forestall additional UTF-7-autodetect XSS issues. PHP sends only ''text/html''
15262 by default when the script didn't specify more details, which some
15263 inconsiderate browsers consider a license to autodetect the deadly,
15264 hard-to-escape UTF-7. This fixes an issue with the Ajax interface error message
15265 on MSIE when ''$wgUseAjax'' is enabled (not default configuration); this UTF-7
15266 variant on a previously fixed attack vector was discovered by Moshe BA from
15267 BugSec: [http://www.bugsec.com/articles.php?Security=24
15268 http://www.bugsec.com/articles.php?Security=24]
15269 * Trackback responses now specify XML content type
15270
15271 == MediaWiki 1.9.2 ==
15272
15273 February 4, 2007
15274
15275 This is a bug-fix update that fixes some installation and other minor issues
15276 with the 1.9.1 release as well as a security issue which was introduced in the
15277 1.9 branch.
15278
15279 JavaScript code which regenerated the "sortable tables" feature did not
15280 properly sanitize input, leading to an HTML injection vulnerability.
15281
15282 * ([[mediazilla:8774|8774]]) Fix path for GNU FDL rights icon on new installs
15283 * ([[mediazilla:8819|8819]]) Fix full path disclosure with skins dependencies
15284 * ([[mediazilla:8819|8819]]) Fixed data-loss bug in compressOld batch text
15285 compression affecting pages which had null edits (move, protect, etc) as second
15286 edit in a batch group. Isolated and patched by Travis Derouin.
15287 * Security fix for sortable tables JavaScript
15288
15289 == MediaWiki 1.9.1 ==
15290
15291 January 24, 2007
15292
15293 This is a bug-fix update that fixes some installation and upgrade issues with
15294 the original 1.9.0 release.
15295
15296 * ([[mediazilla:3000|3000]]) Fall back to SCRIPT_NAME plus QUERY_STRING when
15297 REQUEST_URI is not available, as on IIS with PHP-CGI
15298 * Security fix for DjVu images. (Only affects servers where .djvu file uploads
15299 are enabled and ''$wgDjvuToXML'' is set.)
15300 * ([[mediazilla:8638|8638]]) Fix update from 1.4 and earlier
15301 * ([[mediazilla:8641|8641]]) Fix order of updates to ipblocks table for updates
15302 from <=1.7
15303 * ([[mediazilla:8673|8673]]) Minor fix for web service API content-type header
15304 * Fix API revision list on PHP 5.2.1; bad reference assignment
15305 * Fixed up the AjaxSearch
15306 * Exclude settings files when generating documentation. That could expose the
15307 database user and password to remote users.
15308 * ar: fix the 'create a new page' on search page when no exact match found
15309 * Correct tooltip accesskey hint for Opera on the Macintosh (uses Shift-Esc-,
15310 not Ctrl-).
15311 * ([[mediazilla:8719|8719]]) Firefox release notes lie! Fix tooltips for
15312 Firefox 2 on x11; accesskeys default settings appear to be same as Windows.
15313
15314 == Changes since 1.8 ==
15315
15316 * (bug 8200) Make category lists sorted by name when using Postgres.
15317 * (bug 7841) Support 'IGNORE' inserts for Postgres, fixes watchlist
15318 adding problem.
15319 * (bug 6835) Removing the includes/Parser.php::getTemplateArgs() function,
15320 because it seems to be unused.
15321 * (bug 7139) Increasing the visual width of the edit summary field on larger
15322 screen sizes, for the default monobook skin.
15323 * Fix PHP notice and estimates for dumpBackup.php and friends
15324 * Improved register_globals paranoia checks
15325 * (bug 7545) Fix PHP version check on install
15326 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails
15327 is set. Backtraces may contain sensitive information in function call
15328 parameters.
15329 * (bug 6164) Avoid smashing Cite state if message transformation triggers
15330 during bad image list check, by skipping message transformation.
15331 This isn't a good permanent fix.
15332 * (bug 6918) Stopped borders and backgrounds from showing through floated
15333 tables in Monobook
15334 * (bug 6868) Un-hardcode section edit link style
15335 * (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
15336 * Added global $wgStyleVersion to centralize bumping CSS and JS file versions
15337 for cache-friendly style and script updating
15338 * (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers
15339 * Friendlier check for PHP 5 in command-line scripts; it's common for parallel
15340 PHP 4 and 5 installations to interfere on the command-line.
15341 * Fix regression in autoconfirm permission check
15342 * (bug 3015) Add CSS ids to subcategory and page sections on category pages
15343 * (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup
15344 * (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge
15345 * (bug 7581) Update language name for cbk-zam
15346 * (bug 7444) Update namespace translations for Telugu (te), kept old values as
15347 alias for compatibility
15348 * (bug 4525) Move section links down visually to same level as headings
15349 (editsection links are now inside the heading elements)
15350 * Workaround for http://bugs.php.net/bug.php?id=31892 , PATH_INFO and hence
15351 URLs of the style /index.php/Main_Page were broken on some CGI installations.
15352 * (bug 7623) Validate custom HTML id's correctly in Monobook interface
15353 * (bug 2241) Fix collision of 'w' and 'd' accesskeys
15354 * (bug 5795) CSS class added to body based on page name for page-specific
15355 styling
15356 * (bug 6276) Stopped search field from getting too large in Cologne Blue
15357 * (bug 7644) User creations that are aborted by hooks shouldn't be counted
15358 against account creations per day limit
15359 * (bug 7636) Show Firefox 2 users correct accesskey prefix
15360 * (bug 6427) Block blocked IPs from using the mail password function
15361 to allow blocking of flooders
15362 * Include common.css from classic-style skins in main HTML with the bump URL
15363 * (bug 7607) Add Karakalpak (kaa) to Names.php and stub message file for
15364 linktrail
15365 * (bug 7582) Add 'tog-nolangconversion' to MessagesEn.php.
15366 This key is need for languages with variants (zh, sr, kk)
15367 * (bug 7606) MediaWiki messages for "rss" and "atom" missing
15368 * (bug 7609) Add some more '*-summary' messages to MessagesEn.php with empty
15369 strings to allow better localisation via Special:Allmessages. Mark this new
15370 messages as optional for localisation.
15371 * Fix user_newpass upgrade for prefixed tables (reported by Fyren)
15372 * (bug 7663) Include language variant switcher links on Nostalgia skin
15373 * (bug 6531) Fix PHP fatal error on installation page with bad username input.
15374 * (bug 6977) Remove 404 link for autogenerated database documentation.
15375 * (bug 7369) Allow "Show Changes" without requiring edit token.
15376 * (bug 7687) Fix movetalk box checks itself when confirming a delete and move.
15377 * (bug 7684) Obey watchcreated preference for Special:Upload watch checkbox
15378 * (bug 7686) Include id attribute on delete form confirmation button
15379 * Allow compound interwiki prefixes in $wgImportSources
15380 * (bug 7304) Added redirect table to store redirect targets.
15381 * Added querycachetwo table (similar to querycache but has two titles)
15382 * PageArchive can now return a Revision object for more convenient processing
15383 of deleted revision data
15384 * Added 'UndeleteShowRevision' hook in Special:Undelete
15385 * Error message on attempt to view invalid or missing deleted revisions
15386 * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex
15387 * (bug 3224) Allow minor edits by bots to skip new message notification on
15388 user talk pages. This can be disabled by adjusting the 'nominornewtalk'
15389 permission. Patch by Werdna.
15390 * (bug 7741) MATH: fixed broken syntax of underbrace etc. Fixed arrays
15391 * Fix purging for updated SVG files
15392 * (bug 7745) Add id attribute to search button in Monobook
15393 * (bug 7749) MATH: added some more LaTeX symbols, e.g. parallel, diamond, ast...
15394 * (bug 7304) Added code in Article.php to keep redirect table up to date.
15395 * Made special page names case-insensitive and localisable. Care has been taken
15396 to maintain backwards compatibility.
15397 * Used special page subpages in a few more places, instead of query parameters.
15398 * (bug 7758) Added wrapper span to "templates used" explanation to allow CSS
15399 styling (class="mw-templatesUsedExplanation").
15400 * Added {{#special:}} parser function, to give the local default title for
15401 special pages
15402 * (bug 7766) Remove redundant / from AJAX requests, can break some servers
15403 * Add tab links from extensions to classic-based skins (SkinTemplateTab hook)
15404 Provides better cross-skin compatibility for extensions using the modern
15405 skin hooks, such as Oversight
15406 * Moved variant language links on Cologne Blue and Nostalgia to before the
15407 login/logout link
15408 * Fix for parser tests with MySQL 5 in strict mode
15409 * Added block option "enable autoblocks"
15410 * Amend Special:Ipblocklist to note when a block has autoblock DISABLED.
15411 * (bug 7780) Fix regression in editing redirects
15412 * Add whitespace above "templates included on this page" using CSS, not
15413 hardcoded line break.
15414 * Remove entries from redirect table on article deletion
15415 * (bug 7788) Force section headers in new section links for users who have
15416 'prompt for blank edit summaries' on.
15417 * (bug 1133) Special:Emailuser: add an option to send yourself a copy of your
15418 mail.
15419 * (bug 461) Allow "Categories:" link at bottom of pages to be customized via
15420 pagecategorieslink message.
15421 * Sort the list of skins in "My Preferences" -> Skins by alphabetical order.
15422 * (bug 7785) Postgres compatibility for timestamps in RC feeds
15423 * (bug 7550) Normalize user parameter normally on Special:Log
15424 * (bug 7294) Fix PATH search for diff3 on install
15425 * Various fixes related to the blocking change re: autoblocks. On inserting
15426 an IP block, the ipb_enable_autoblock field is now automagically blanked,
15427 because it doesn't make any sense for an IP. Additionally, IP blocks
15428 without the ipb_enable_autoblock option no longer show up as "autoblock
15429 disabled" on Special:Ipblocklist.
15430 * (bug 7774) MATH: aded more amstex functions
15431 * (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in
15432 TeX
15433 * Fix regression in streaming page dump generation
15434 * (bug 7801) Add support for parser function hooks in parser tests
15435 * checkUsernames.php now uses wfDebugLog instead of hardcoded path to log
15436 * (bug 7810) Update talk namespaces for Occitan
15437 * Allow case-sensitive URLs to be used for uploading from URLs.
15438 * (bug 1109) Correct fix for compressed 304 responses when additional output
15439 buffers have been installed within the compression handler
15440 * (bug 7819) Move automatic redirect edit summary after pre-save transform
15441 to work properly with subst: fun
15442 * (bug 7826) Fix typos in two English messages.
15443 * (bug 5365) Stop users being prompted to enter an edit summary for null edits,
15444 if they have selected that option in preferences.
15445 * (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor
15446 edits.
15447 * (bug 7820) Improve error reporting for uploads via URL.
15448 * (bug 5149) When autoblocks are enabled, retroactively apply an autoblock to
15449 the most recently used IP of a user when they are blocked.
15450 * Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This
15451 will make CheckUser.php and the new retroactive autoblock functionality
15452 faster.
15453 * Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4
15454 with compression or legacy encoding
15455 * (bug 6737) Fixes for MySQL 5 schema in strict mode
15456 * Approximate height for client-side scaling fallback instead of passing -1
15457 into the HTML output.
15458 * Make the DNSBL to check for proxy blocking configurable via $wgSorbsUrl
15459 * Add experimental recording/reporting mode to parser tests runner, to
15460 compare changes against the previous run.
15461 Additional tables 'testrun' and 'testitem' are in maintenance/testRunner.sql,
15462 source this and pass --record option to parserTests.php
15463 * Make the set of default parser test input files extensible via
15464 $wgParserTestFiles. This can now be appended to by extensions or local
15465 configuration files so that extension or custom tests can be automatically
15466 run along with the main batch.
15467 * Run PHP install version checks on update.php so command-line updaters see
15468 new version requirements
15469 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
15470 as of MW 1.8 than it used to be. Install or upgrade now aborts with a
15471 warning and a request to upgrade.
15472 * (bug 6440) Updated indexes to improve backlinking queries (links, templates,
15473 images)
15474 * Switched 'anon-only' block mode to default for IP blocks
15475 * (bug 3687, 7892) Add distinct heading for media files in category display,
15476 with count.
15477 * (bug 1578) Add different icons for external links to audio, video, or PDF in
15478 Monobook.
15479 * Made autoblocks block account creation if the user block has that option
15480 enabled.
15481 * Add auto-summaries to blankings and large removals without summaries.
15482 * (bug 7811) Allow preview of edit summaries.
15483 * (bug 6839) Wikibits.js minor changes to make JS-lint happier.
15484 * (bug 7932) Make sure that edit toolbar clears floats so it appears correctly.
15485 * (bug 6873) When viewing old revisions, add link to diff to current version.
15486 * (bug 3315) Provide rollback link directly on history page.
15487 * Replace 'old-revision-navigation' message with 'revision-info' and
15488 'revision-nav' messages, wrapped in divs with appropriate id's.
15489 * (bug 4178) MediaWiki:Common.js will now be included for all users if
15490 $wgUseSiteJs is enabled, in addition to (if applicable) MediaWiki:Monobook.js
15491 and user JS subpages.
15492 * (bug 7918) "Templates used on this page" changes during preview to reflect
15493 any added or removed templates, and works as expected for section edits.
15494 * (bug 7919) "Templates used on this page" is now shown for read-only pages.
15495 * (bug 7688) When viewing diff, section anchors in autosummary jump to section
15496 on current page instead of loading the latest version.
15497 * (bug 7970) Use current connection explicitly on Database::getServerVersion
15498 * (bug 2001) Tables with class="sortable" can now be dynamically sorted via
15499 JavaScript.
15500 * Added autosummary for new pages with 500 or less characters, and refactor
15501 the autosummary code so it's all done in one function. doEdit is getting too
15502 big!
15503 * (bug 7554) The correct MIME type for SVG images is now displayed on the
15504 image page (image/svg+xml, not image/svg).
15505 * (bug 7883) Added autoblock whitelisting feature, using which specific ranges
15506 can be protected from autoblocking. These ranges are specified, in list
15507 format, in the autoblock_whitelist system message.
15508 * Added placeholders for text injection by hooks to EditPage.php
15509 * (bug 8009) Automatic edit summary for redirects is not filled for edits in
15510 existing pages
15511 * Installer support for experimental MySQL 4.1/5.0 binary-safe schema
15512 * Use INSERT IGNORE for db-based BagOStuff add/insert, for more memcache-like
15513 behavior when keys already exist on add (instead of dying with an error...)
15514 * Add a hook 'UploadForm:initial' before the upload form is generated, and two
15515 member variable for text injection into the form, which can be filled by the
15516 hooks.
15517 * (bug 6295) Add a "revision patching" functionality, where an edit can be
15518 undone
15519 (with a functionality similar to diff rev1 rev2 | patch -R rev3 -o rev3).
15520 This is triggered by including &undo=revid in an edit URL. A link to a URL
15521 that will undo a given edit is shown on NEW revision headers on diff pages.
15522 The link leads to a "Show Changes" page showing what will be done to undo the
15523 edit.
15524 * Fix display of link in "already rolled back" message for image/category pages
15525 * (bug 6016) Left-aligned images should stack vertically, like right-aligned
15526 images, not horizontally.
15527 * Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php
15528 * Add AuthPluginSetup hook to override $wgAuth after configuration
15529 * Fix regression in authentication hook auto-creation on login
15530 * (bug 8110) Allow spaces in ISBNs
15531 * (bug 8024) Introduce "send me copies of emails I send to others" preference
15532 * Added 'EditPage::attemptSave' hook before an article is saved.
15533 * (bug 8083) Applied patch for sk localisation
15534 * Add a backslash character to the edit token, to prevent edits via certain
15535 broken proxies that mangle such characters in form submissions
15536 * (bug 7461) Allow overwriting pages using importTextFile.php
15537 * (bug 7946) importTextFile.php doesn't perform pre-save transform
15538 * (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set;
15539 now uses current time for previews and if timestamp can't be loaded from DB
15540 * {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone
15541 to ensure consistent behavior
15542 * {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends
15543 * (bug 7671) Observe canonical media namespace prefix in Linker::formatComment
15544 * Added js variable wgCurRevisionId to the output
15545 * (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht
15546 * (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit
15547 instead of hardcoding to 1000
15548 * Enable QueryPage classes to override list formatting
15549 * (bug 5485) Show number of intervening revisions in diff view
15550 * (bug 8100) Fix XHTML validity in Taiwanese localization
15551 * Added redirect to section feature. Use it wisely.
15552 * Added a configuration variable allowing the "break out of framesets" feature
15553 to be switched on and off ($wgBreakFrames). Off by default.
15554 * Allow Xml::check() $attribs parameter to override 'value' attribute
15555 * DB schema change: added two columns (rc_old_len and rc_new_len) to the
15556 recentchanges table to store the text lengths before and after the edit
15557 * (bug 1085) Made Special:Recentchanges show the character difference between
15558 the changed revisions
15559 * Removed a redundant <strong> tag from diff pages that was causing display
15560 issues for some users
15561 * (bug 8203) The keyboard shortcut for "log out" was removed, because users
15562 were pressing it when they intended to press the shortcut for "preview".
15563 * (bug 8148) Handle non-removable output buffers gracefully when cleaning
15564 buffers for HTTP 304 responses, StreamFile, and Special:Export.
15565 Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers()
15566 * Special:AllPages : 'next page' link now point to the first title of the next
15567 chunk instead of pointing to the last title of current chunk.
15568 * (bug 4673) Special:AllPages : add a 'previous' link (new message 'prevpage')
15569 * (bug 8121) wfRandom() was not between 0 and 1
15570 * Add static method Parser::createAssocArgs($args), so parser functions can
15571 use the same code to parse arguments as the templates do.
15572 * Change behavior of logins using the temporary e-mailed password (as stored
15573 in user_newpassword hash field). Instead of just logging in silently and
15574 leaving the previous user_password field in place indefinitely, the user
15575 is now prompted to set a new password.
15576
15577 The password-changing form is at Special:Resetpass; currently it's only
15578 usable for changing from the temporary password during login, but it
15579 could perhaps be generalized, replacing the subform in preferences.
15580
15581 Once the new password is set successfully, the temporary password is wiped
15582 so it cannot be used to login a second time, and the login process
15583 is completed.
15584 * Suppress 'mail new password' button on login form if $wgAuth forbids
15585 changing user passwords; it wouldn't work very well...
15586 * Consolidate password length checks and $wgAuth manipulation into
15587 User::setPassword() to avoid duplicate code in different places
15588 that set passwords.
15589 * User::setPassword() now throws PasswordError exceptions if the password
15590 is illegal or cannot be set via $wgAuth. These can be caught and a human-
15591 readable error message displayed by UI code.
15592 * Added Title::isSubpage()
15593 * (bug 8241) Don't consider user pages of User:Foo.css to be CSS subpages
15594 * Set an explicit class on framed thumbnail inner divs and images, changed some
15595 CSS to use these instead of using descendent selectors.
15596 * Accept null parameter to User::setPassword() as indicating the password
15597 field should be cleared to an unusable state. Login will only be possible
15598 after the password is reset, for instance by e-mail.
15599 * (bug 6394) Invalidate the password set for "by e-mail" account creations
15600 to avoid accidental empty password creations.
15601 * Made the show change size function work on page moves, page creations, and
15602 log entries. Also fixed it in the javascript recentchanges.
15603 * (bug 8239) correctly get 50 new contributions when clicking '(50 next)'
15604 * (bug 2259) Fix old regression where e-mail addresses were no longer
15605 confirmed on login with mailed password.
15606 * Add a notification about the confirmation mail sent during account
15607 creation, so people don't immediately go off to request a second one.
15608 * Add a warning on Special:Confirmemail if a code was already sent and has
15609 not yet expired.
15610 * Add user_editcount field to provide data for heuristics on account use.
15611 Incremented on edit, with lazy initialization from past revision data.
15612 Can batch-initialize with maintenance/initEditCount.php (not yet friendly
15613 to replication environments, this will do all accounts in one query).
15614 * Allow raw SQL subsections in Database::update() SET portion as well as
15615 for WHERE portion. Handy for increments and such.
15616 * User::getOption now accept a default value to override default user values
15617 this makes it consistent with WebRequest::get* methods. Corrected code in
15618 various places accordingly.
15619 * (bug 8264) Fix JavaScript global vars for XHTML mode
15620 * Make $wgSiteNotice value wikitext again, for consistency with editable
15621 MediaWiki:Sitenotice and MediaWiki:Anonnotice.
15622 * (bug 8044) When redirecting from the canonical name of the special page
15623 to the localised one, parameters/subpages are omitted
15624 * (bug 8164) Special:Booksources should use GET for form submission
15625 * Rewrite Special:Booksources to clean up interface and remove redundant code
15626 * (bug 7925) Change Special:Allmessages message name filter javascript to be
15627 a bit more responsive and easier on the CPU
15628 * (bug 4488) Support watching pages on deletion; introduces new user preference
15629 * Minor restructuring of Special:Preferences; "watch pages I edit" and "watch
15630 pages I create" options now accessible under "Watchlist" options
15631 * (bug 8153) <nowiki> doesn't work in site notice
15632 * (bug 6690) wfMsgNoTrans() transforms messages
15633 * (bug 8274) Wrap edit tools in a <div> with a specified class
15634 * Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break
15635 mysteriously otherwise (detection code copied from install-utils.inc)
15636 * (bug 8295) Change handling of <center> tags in doBlockLevels() to match that
15637 of <div>
15638 * (bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences
15639 (plus optional ISBN-13 prefix) with no immediately following alphanumeric
15640 character, disallow multiple consecutive internal redirects
15641 * (bug 2785) Accept optional colon prefix in links when formatting comments
15642 * Don't show "you can view and copy the source of this page" message for
15643 pages which don't exist
15644 * (bug 8310) Blank line added to top of 'post' when page is blank
15645 * (bug 8109) Template parameters ignored in "recentchangestext"
15646 * Gracefully skip redirect-to-fragment on WebKit versions less than 420;
15647 it messes up on current versions of Safari but is ok in the latest
15648 nightlies. Checking the version number will allow it to automatically
15649 work when new releases of Safari appear.
15650 * Fix regression in thumb styles; size and padding didn't match with
15651 new arrangement.
15652 * (bug 8333) Fix quick user data update on login password change on
15653 replication database setups. User data is now pulled from master
15654 instead of slave in User::loadFromDatabase, ensuring that it is
15655 fresh and accurate when read and then saved back into cache.
15656 This was breaking with the Special:Rename operation which
15657 automatically logs the user in with the new password after changing
15658 it; pulling from slave meant the record was often not the updated
15659 one.
15660 * (bug 8335) Set image width to the first valid parameter found.
15661 * (bug 8350) Fix watchlist viewing bug when using Postgres.
15662 * (bug 6603) When warning about invalid file extensions, output the bit
15663 of the extension we actually checked
15664 * (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility
15665 with MySQL's strict mode, often enabled by the Windows installer.
15666 The defaults are ignored anyway when strict mode is off...
15667 * (bug 7685) Use explicit values for ar_text and ar_flags when deleting,
15668 for better compatibility with MySQL's strict mode
15669 * Update default interwiki values to reflect changed location of ursine:
15670 * (bug 5411) Remove autopatrol preference
15671 * Users who have the "autopatrol" permission will have their edits marked as
15672 patrolled automatically
15673 * Users who do not have the "autopatrol" permission will no longer be able
15674 to mark their own edits as patrolled
15675 * Introduce 'PingLimiter' hook; see docs/hooks.txt for more information
15676 * (bug 532) Tweaked alt text for some interface messages
15677 * (bug 8231) Gave useful alt text to the main <img> on image pages
15678 * (bug 371) Remove alt text for "Enlarge" icon on thumbnails
15679 * Initialize user_editcount to 0 instead of NULL for newly created accounts
15680 * (bug 3696) Strip LRM and RLM characters from titles to work around the
15681 problem some people have where titles cut-and-pasted from lists include
15682 the bidi override characters appended to the lists.
15683 A more thorough blacklist for forbidden and translatable characters would
15684 be wise, though, as might a cleaner method for the lists in the first place.
15685 * Fix regression in email password resets on read-restricted sites
15686 * Set tabindex on fields in deletion form so you don't have to tab through
15687 the links in the sitenotice
15688 * (bug 8271) Show full time and date on viewer for individual deleted
15689 revisions
15690 * (bug 8214) Output file size limit and actual file size in appropriate units
15691 on Special:Upload
15692 * (bug 8016) Purge objectcache table during upgrade processes - use the
15693 --nopurge option to prevent this when running maintenance/update.php
15694 * (bug 7612) Remove superfluous link to Special:Categories from result items
15695 on Special:Mostcategories
15696 * {{PLURAL:}} now handles formatted numbers correctly
15697 * (bug 8331) Added the change size value to watchlists; therefore made
15698 watchlists use RecentChange::newFromRow() instead of newFromCurRow()
15699 * (bug 8351) Fix undo for simple reverts
15700 * (bug 6856) User::clearNotification() does not respect read-only mode
15701 * (bug 6853) Use a checkbox on the installer form to indicate that a superuser
15702 account should be used; this is clearer than the old check which relied on
15703 the password never being an obscure value
15704 * Remove old unused watchlist cache, which was a leftover from the old schema
15705 where watchlists were more expensive to generate
15706 * Minor cosmetic changes to Special:Userrights
15707 * Added wgCanonicalSpecialPageName to JavaScript variables
15708 * Fix image deleting when using Postgres.
15709 * Output both source and destination titles in maintenance/moveBatch.php
15710 * Added basic parser tests for language variants
15711 * Enable selflinks and categories to be written in some of the language variants
15712 * Prevent conversion of JavaScript code in language variants
15713 * Output software version number in maintenance/parserTests.php
15714 * (bug 7169) Use Ajax to watch/unwatch articles if enabled
15715 * Make variant table caching a little more robust, using main language code
15716 in cache key. Probably this is still a bit wonky, though. Was breaking
15717 parser tests when Chinese tables were getting loaded into Serbian code.
15718 * (bug 8380) Be nicer about blank lines in deleteBatch.php
15719 * (bug 8401) Fix regression in SORBS lookup for some DNS setups
15720 * Use raw file descriptor in posix_isatty() check to avoid warning on
15721 Linux systems with at least some versions of PHP
15722 * (bug 5908) Allow overriding the default category sort key for all items on
15723 a page using {{DEFAULTSORT}}
15724 * (bug 6449) Throw a more definitive error message when installation fails
15725 due to an invalid database name
15726 * (bug 5827) Use full text for option link labels on Special:Watchlist
15727 * (bug 8018) Allow hiding minor edits from the watchlist
15728 * (bug 8427) MonoBook RTL IE 7.0 tweaks failed when sidebar's navigation
15729 section is renamed; no longer relies on first section name
15730 * Stabilize client-side table sorting even if the underlying Javascript sort()
15731 implementation is unstable
15732 * Add hook for extensions to add user information to the panel in preferences,
15733 next to the user name and ID.
15734 * (bug 8392) Display protection status of transcluded pages in the edit page
15735 template list. Patch by Fyren, with i18n naming tweak.
15736 * Fix for interwiki transclusion where target wiki uses query string for title
15737 * Resolve namespaces on interwiki Title objects using canonical namespace names
15738 if possible (should not happen, though, outside interwiki transclusion... and
15739 maybe not even then, but it does)
15740 * (bug 8447) Fix SQL typo breaking non-default $wgHitcounterUpdateFreq
15741 * Do not allow previews of deleted images to be cached
15742 * Add global variable $wgDefaultLanguageVariant used to set the default language
15743 variant of a wiki to something different than the main language code
15744 * Add 'variant' option to parserTests - runs test with the given variant as
15745 preferred, utilize it for more parser tests of language variants code
15746 * (bug 6503) Fix bug that stopped certain irrelevant links from being hidden
15747 for printing
15748 * Avoid PHP warning in Creative Commons metadata when a creative commons
15749 license is not actually set up
15750 * (bug 8463) Don't print external link icons for Monobook
15751 * (bug 8461) Support watching pages on move
15752 * (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is
15753 loaded by skipping the function. Use wfDebugBacktrace() wrapper function.
15754 * Reduce config file clutter by setting various script and upload paths
15755 based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
15756 overridden in LocalSettings.php if desired...
15757 * Attempt to detect redirect loops for the canonical title redirect, and
15758 give some hints to the poor confused administrator.
15759 * Introduce new flag 'R' - raw output for language variant escape tags
15760 * Advise users when updates for a query page have been disabled using
15761 $wgDisableQueryPageUpdate
15762 * (bug 8413) Improve comments for $wgNamespaceRobotPolicies
15763 * (bug 8330) Show "bytes" suffix on recent changes diff counter
15764 optionally... if set in rc-changes-size message (default empty for now)
15765 * (bug 8489) Support basic links in <gallery> caption attribute
15766 * (bug 8485) Correct Lingala number formatting
15767 * The MediaWiki namespace is no longer pre-filled with default messages on
15768 install. All default messages will be removed from the MediaWiki namespace
15769 on upgrade.
15770 * Recentchanges RSS/Atom feeds now use a separate message for the description
15771 to avoid cluttering it with useless wiki formatting
15772 * (bug 8417) Handle EXIF unknown dates
15773 * (bug 8372) Return nothing on empty <math> tags.
15774 * New maintenance script to show the cached statistics : showStats.php.
15775 * Count deleted edits when regenerating total edits in maintenance/initStats.php
15776 * (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt
15777 permission key has been added to enable this behavior, by default assigned to
15778 sysops.
15779 * (bug 7948) importDump.php now warn that Recentchanges need to be rebuild.
15780 * (bug 7667) allow XHTML namespaces customization
15781 * (bug 8531) Correct local name of Lingála (patch by Raymond)
15782 * Fix regression with default lock file and cache directories; threw visible
15783 warning with open_basedir
15784
15785
15786 == 1.8 Compatibility changes ==
15787
15788 === Zend Optimizer ===
15789
15790 A bug in some versions of PHP 5 and Zend Optimizer which was triggered under
15791 MediaWiki 1.8.x has been worked around by disabling some internal debugging
15792 features when Zend Optimizer is loaded. This should solve some common
15793 "blank page" problems.
15794
15795 === PHP 5.0 64-bit ===
15796
15797 MediaWiki now checks for a condition where PHP 5.0.x corrupts array data
15798 on 64-bit systems and warns you to upgrade PHP to solve the problem. This
15799 bug causes Special: pages to fail on affected systems under MediaWiki 1.8
15800 and higher, and subtler data corruption on earlier versions.
15801
15802 The only known workaround is to upgrade PHP to 5.1 or later, which you
15803 probably should do anyway for security reasons!
15804
15805 === MySQL 5 ===
15806
15807 MediaWiki should now install and run correctly on MySQL 5.0 and higher when
15808 MySQL's "strict mode" is enabled. (This is now the default for many Windows
15809 installations, though it seems to remain off by default on Unix.)
15810
15811 This fixes errors about "cannot default default value for BLOB/TEXT fields".
15812
15813 === ImageMagick ===
15814
15815 Note that ImageMagick older than 6.x may no longer work for image resizing
15816 due to use of the -thumbnail option.
15817
15818
15819 == 1.8 Behavior changes ==
15820
15821 === Localized special pages ===
15822
15823 The names of Special: pages can now be localized, so links and URLs to them
15824 are more legible in languages that aren't English.
15825
15826 Not all languages have included localized names yet.
15827
15828 === E-mail password ===
15829
15830 Users are now required to set a new password for themselves when they first
15831 log in with a newly generated e-mailed password.
15832
15833 Requesting passwords frequently is prevented to reduce abusive mailbombing.
15834
15835 === Undo revision ===
15836
15837 An "undo" link now appears in diff view for easier reverting of older edits.
15838 When GNU diff3 is available for edit conflict merging, this can make it much
15839 easier to "undo" the changes of an older edit when there are surrounding
15840 changes elsewhere in the page.
15841
15842 The changes must be manually reviewed and approved, as with conventional
15843 full-revision reverts.
15844
15845 === Blocking ===
15846
15847 User blocks can be set to disable the automatic blocking of IP addresses the
15848 account logs in with.
15849
15850
15851 == 1.8 Database changes ==
15852
15853 * new 'redirect' table stores data on page redirects
15854 * new 'querycachetwo' table used for some cached special pages
15855 * 'ipblocks' table adds 'ipb_enable_autoblock'
15856 * 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking
15857 * 'user' table has added 'user_newpass_time' and 'user_editcount' fields
15858 * some indexes have been updated on 'recentchanges'
15859
15860 == 1.8 Configuration changes ==
15861
15862 Several configuration options have changed since 1.8:
15863
15864 === $wgEnableAPI ===
15865
15866 The experimental machine API interface is now enabled by default, read-only.
15867 You can disable it by setting $wgEnableAPI = false; in LocalSettings.php.
15868
15869 === $wgPathInfo ===
15870
15871 The use of PATH_INFO (the text after the script name in 'index.php/Blah')
15872 is controlled by the $wgUsePathInfo setting. This is now explicitly disabled
15873 for CGI, apache2filter, and ISAPI configurations of PHP, for more consistency
15874 with the autodetection from the installer.
15875
15876 In some rarer configurations you may have to switch $wgUsePathInfo from false
15877 to true or, perhaps, from true to false to make things work properly if bad
15878 PATH_INFO data comes through the server.
15879
15880 The wiki now tries to detect this condition and should show you an error
15881 message describing what to change instead of sending the browser into an
15882 infinite redirect loop.
15883
15884 === $wgScript and other path settings ===
15885
15886 The following configuration variables are now automatically set in Setup.php
15887 if they are not overridden in LocalSettings.php:
15888
15889 from $wgScriptPath:
15890 + $wgScript
15891 | \- $wgArticlePath
15892 + $wgRedirectScript
15893 + $wgStylePath
15894 + $wgUploadPath
15895 \- $wgLogo
15896 + $wgMathPath
15897
15898 from $IP:
15899 - $wgStyleDirectory
15900 + $wgUploadDirectory
15901 \- $wgMathDirectory
15902 + $wgTmpDirectory
15903
15904 Newly generated configuration files will by default include only $wgScriptPath
15905 (hardcoded from the installer) and $IP (detected at runtime).
15906
15907 Old configuration files which specify all these values explicitly should
15908 continue to work just fine, but if you use the defaults you can remove them
15909 to reduce clutter.
15910
15911 === $wgGroupPermissions ===
15912
15913 The sysop group now holds the "autopatrol" and "ipblock-exempt" rights by
15914 default.
15915
15916 "autopatrol" replaces the preference for marking ones own edits patrolled
15917 by default; users holding this permission will automatically have their
15918 edits patrolled, while others cannot mark their own edits as patrolled
15919 even if they have patrolling rights.
15920
15921 "ipblock-exempt" excludes the user from IP blocks; accounts which are blocked
15922 explicitly by name will still be blocked, however. This is given to sysops
15923 to minimize annoyance from accidental "collateral damage"; remember that a
15924 sysop will be able to lift the block if they desire.
15925
15926 The bot group now holds the "nominornewtalk" right. A user with this right
15927 will not trigger new message notifications when making minor edits to user
15928 talk pages. This is meant to minimize annoyance from maintenance bot
15929 processes.
15930
15931 === $wgUseWatchlistCache ===
15932
15933 Watchlist caching has been removed. The feature was not maintained, and has
15934 been unnecessary since switching to the 'recentchanges' database table
15935 reduced server pressure for Wikipedia's watchlists.
15936
15937 === $wgBreakFrames ===
15938
15939 MediaWiki in the past attempted to detect when it was embedded in a frameset
15940 and "break out" of it, assuming it to be hostile.
15941
15942 This behavior is now disabled by default, but can be reenabled by setting
15943 $wgBreakFrames to true in LocalSettings.php.
15944
15945
15946 == 1.8 New settings ==
15947
15948 === $wgVariantArticlePath ===
15949
15950 For languages with script variant support (Chinese, Serbian, and others),
15951 it's possible to use alternate URL paths to select the variant for article
15952 display, setting $wgVariantArticlePath.
15953
15954 Documentation for this setting would be useful.
15955
15956 === $wgMaxMsgCacheEntrySize ===
15957
15958 The message cache can now skip items larger than a given size; this allows
15959 it to better handle the primary caching case when large CSS and JS blobs are
15960 present.
15961
15962 === $wgStyleVersion ===
15963
15964 When making significant changes to skin stylesheets and JavaScript files,
15965 you can append a string to this variable to tweak the generated URLs,
15966 forcing newly rendered pages to bring in a fresh version despite server-
15967 or browser-side caching.
15968
15969 Normally this will be set in the course of MediaWiki development, but
15970 if doing development on a custom skin you may wish to poke it as well.
15971
15972 === $wgRCShowChangedSize ===
15973
15974 Special:Recentchanges and Special:Watchlist now show the number of bytes
15975 added or removed to an article to give an idea of the size of the edit.
15976 This information was previously available only in the IRC update feeds.
15977
15978 To disable this site-wide, set $wgRCShowChangedSize to false.
15979 (Individual users can suppress the data in custom CSS.)
15980
15981 Adjust $wgRCChangedSizeThreshold to trigger highlighting of particularly
15982 large changes.
15983
15984 The formatting of the size figure can be adjusted through the
15985 [[MediaWiki:Rc-change-size]] message.
15986
15987 === $wgQueryCacheLimit ===
15988
15989 The number of rows stored for "expensive" special pages in miser mode
15990 can now be adjusted up or down from the default 1000.
15991
15992 === $wgDisableQueryPageUpdate ===
15993
15994 Individual "expensive" special pages can be skipped in processing by
15995 updateSpecialPages if added to this list.
15996
15997 === $wgSorbsUrl ===
15998
15999 The base hostname for the DNS-based proxy blacklist can now be overridden
16000 when $wgEnableSorbs is set, to use a different blacklist instead of SORBS.
16001 The blacklist would need to respond the same was as SORBS; any positive
16002 response will be taken as a proxy.
16003
16004 === $wgAjaxWatch ===
16005
16006 Experimental AJAX mode for the watch/unwatch tabs to execute inline.
16007 Does not include the UI messages describing how to reach the watchlist,
16008 so you may not want it on a general-audience site just yet.
16009
16010 === $wgParserTestFiles ===
16011
16012 MediaWiki's parser test suite can now be expanded with additional test
16013 files. Custom extensions can add their test files to this array, and
16014 they will be run along with the main tests by maintenance/parserTests.php
16015
16016 = MediaWiki 1.8=
16017
16018 == MediaWiki 1.8.5 ==
16019
16020 September 10, 2007
16021
16022 This is a security fix update to the Fall 2006 quarterly release snapshot. A
16023 possible HTML/XSS injection vector in the API pretty-printing mode has been
16024 found and fixed.
16025
16026 The vulnerability may be worked around in an unfixed version by simply
16027 disabling the API interface if it is not in use, by adding this to
16028 LocalSettings.php:
16029
16030 :[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;
16031
16032 (This is the default setting in 1.8.x.)
16033
16034 Not vulnerable versions:
16035 * 1.11 >= 1.11.0
16036 * 1.10 >= 1.10.2
16037 * 1.9 >= 1.9.4
16038 * 1.8 >= 1.8.5
16039
16040 Vulnerable versions:
16041 * 1.11 <= 1.11.0rc1
16042 * 1.10 <= 1.10.1
16043 * 1.9 <= 1.9.3
16044 * 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)
16045
16046 MediaWiki 1.7 and below are not affected as they do not include the faulty
16047 function, however the BotQuery extension is similarly vulnerable unless updated
16048 to the latest SVN version.
16049
16050 == MediaWiki 1.8.4 ==
16051
16052 February 20, 2007
16053
16054 This is a security and bug-fix update to the Fall 2006 quarterly release.
16055
16056 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
16057 charset autodetection was located in the AJAX support module, affecting MSIE
16058 users on MediaWiki 1.6.x and up when the optional setting
16059 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
16060
16061 If you are using an extension based on the optional Ajax module, either disable
16062 it or upgrade to a version containing the fix:
16063 * 1.9: fixed in 1.9.3
16064 * 1.8: fixed in 1.8.4
16065 * 1.7: fixed in 1.7.3
16066 * 1.6: fixed in 1.6.10
16067
16068 There is no known danger in the default configuration, with $wgUseAjax off.
16069
16070 * (bug [[bugzilla:8819|8819]]) Fix full path disclosure with skins dependencies
16071 * Add 'charset' to Content-Type headers on various HTTP error responses to
16072 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
16073 default when the script didn't specify more details, which some inconsiderate
16074 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
16075 This fixes an issue with the Ajax interface error message on MSIE when
16076 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
16077 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
16078 from BugSec: http://www.bugsec.com/articles.php?Security=24
16079 * Trackback responses now specify XML content type
16080
16081 == MediaWiki 1.8.3 ==
16082
16083 January 9, 2007
16084
16085 MediaWiki 1.8.3 fixes several issues in the Fall 2006 snapshot release:
16086
16087 * ([[mediazilla:7831|7831]]) Regression in AutoAuthenticate hook
16088 * Run PHP install version checks on update.php so command-line updaters see new
16089 version requirements
16090 * Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive
16091 as of MW 1.8 than it used to be. Install or upgrade now aborts with a warning
16092 and a request to upgrade.
16093 * XSS fix in AJAX module
16094
16095 An XSS injection vulnerability was located in the AJAX support module,
16096 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
16097 enabled.
16098
16099 There is no danger in the default configuration, with $wgUseAjax off.
16100
16101 If you are using an extension based on the optional AJAX module, either disable
16102 it or upgrade to a version containing the fix:
16103
16104 == MediaWiki 1.8.2 ==
16105
16106 October 13, 2006
16107
16108 MediaWiki 1.8.2 fixes several issues in the Fall 2006 snapshot release:
16109
16110 * ([[mediazilla:7565|7565]]) Fixed typos in German localisation
16111 * ([[mediazilla:7562|7562]]) Fix non-ASCII namespaces on Windows/XAMPP servers
16112
16113 == MediaWiki 1.8.1 ==
16114
16115 October 11, 2006
16116
16117 MediaWiki 1.8.1 fixes several issues in the Fall 2006 snapshot release:
16118
16119 * Fix PHP notice and estimates for dumpBackup.php and friends
16120 * Improved register_globals paranoia checks
16121 * ([[mediazilla:7545|7545]]) Fix PHP version check on install
16122 * Experimental web API disabled by default
16123 * Disable PHP exception backtrace printing unless $wgShowExceptionDetails is
16124 set. Backtraces may contain sensitive information in function call parameters.
16125
16126 == MediaWiki 1.8.0 ==
16127
16128 October 10, 2006
16129
16130 This is the quarterly release snapshot for Fall 2006. While the code has been
16131 running on Wikipedia for some time, installation and upgrade bits may be less
16132 well tested. Bug fix releases may follow in the coming days or weeks.
16133
16134 MediaWiki is now using a "continuous integration" development model with
16135 quarterly snapshot releases. The latest development code is always kept "ready
16136 to run", and in fact runs our own sites on Wikipedia.
16137
16138 Release branches will continue to receive security updates for about a year
16139 from first release, but nonessential bugfixes and feature development happen
16140 will be made on the development trunk and appear in the next quarterly release.
16141
16142 Those wishing to use the latest code instead of a branch release can obtain it
16143 from source control: [[Download from SVN]]
16144
16145 == Configuration changes ==
16146 * $wgUseETag, to enable/disable sending of HTTP ETag headers (default: disabled)
16147 * $wgLegalTitleChars now includes '+' by default for better compatibility with
16148 importing data dumps from Wikipedia
16149 * $wgDefaultUserOptions now includes all default option settings instead of
16150 only overrides.
16151
16152 == Major new features ==
16153 * ([[mediazilla:7098|7098]]) Add an option to disable/enable sending of HTTP
16154 ETag headers, as it seems to result in broken behaviour in combination with
16155 Squid 2.6 (disabled by default).
16156 * ([[mediazilla:550|550]]) Allow blocks on anonymous users only.
16157 * ([[mediazilla:6420|6420]]) Render thumbnails for DJVU images, support
16158 multipage DJVU display on image pages. Added new 'page=' thumbnail option to
16159 select a page from a multipage djvu for thumbnail generation.
16160 * Full Postgres support is now enabled. It requires version 8.1 or better, and
16161 needs to have both plpgsql and tsearch2 already installed.
16162 * ([[mediazilla:6386|6386]]) fix grammatical errors in danish naming of talk
16163 namespaces.
16164
16165 == Changes since 1.7 ==
16166
16167 * Introduced AjaxResponse object, superceding AjaxCachePolicy
16168 * Changes to sajax_do_call: optionally accept an element to fill instead of a
16169 callback function; take the target function or element as a third parameter;
16170 pass the full XMLHttpRequest object to the handler function, instead of just
16171 the resultText value; use HTTP response codes to report errors.
16172 * (bug 6562) Removed unmaintained ParserXml.php for now
16173 * History paging overlap bug fixed
16174 * (bug 6586) Regression in "unblocked" subtitle
16175 * Don't put empty-page message into view-source when page text is blank
16176 * (bug 6587) Remove redundant "allnonarticles" message
16177 * Block improvements: Allow blocks on anonymous users only. Optionally allow
16178 or disallow account creation from blocked IP addresses. Prevent duplicate
16179 blocks. Fixed the problem of expiry and unblocking erroneously affecting
16180 multiple blocks. Fixed confusing lack of error message when a blocked user
16181 attempts to create an account. Fixed inefficiency of Special:Ipblocklist in
16182 the presence of large numbers of blocks; added indexes and implemented an
16183 indexed pager.
16184 * (bug 6448) Allow filtering of Special:Newpages according to username
16185 * (bug 6618) Improve permissions/error detection in Special:Lockdb
16186 * Quick hack for extension testing: parser test doesn't create new message
16187 cache object.
16188 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
16189 {{REVISIONID}} when Cite extension is used
16190 * (bug 6622) Removed deprecated function Image::newFromTitle
16191 * (bug 6627) Fix regression in Special:Ipblocklist with table prefix
16192 * Removed forced dereferencements (new() returns a reference in PHP5)
16193 * Note about $wgUploadSizeWarning using byte
16194 * (bug 6592) Add most viewed pages summary to Special:Statistics
16195 * Pre-strip characters ignored in IDNs from URLs so they can't be used
16196 to break the blacklists for regular URLs
16197 * Fix regression in blocking of user accounts
16198 * (bug 6635) Fix regression searching for range blocks on Ipblocklist
16199 * Fix regression searching Ipblocklist with ugly URLs
16200 * (bug 6639) Use a consistent default for upload directories
16201 * Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
16202 * (bug 6642) Don't offer to unlock the database when it isn't locked
16203 * cleanupTitles.php changed from --dry-run option to --fix, so default
16204 behavior is now a non-invasive check as with namespaceDupes.php
16205 * (bug 6660) Fix behavior of EditPage::blockedPage() when the article does
16206 not exist; now doesn't show the source box if the user hasn't provided it
16207 (blocked mid-edit) and the page doesn't exist
16208 * Improve default value of "blockedtext"
16209 * (bug 6680) Added localisation for Dutch bookstore list (nl)
16210 * Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer
16211 usage
16212 * Fix regression which allowed some blocked users to create additional accounts
16213 * (bug 6657) Fix Hungarian linktrail
16214 * (bug 6751) Fix preview of blanked section with edit on first preview option
16215 * (bug 5456) Separate MediaWiki:Search into messages for both noun and verb,
16216 introduced 'MediaWiki:Searchbutton'
16217 * Made lines from initialiseMessages() appear as list items during installation
16218 * Moved the bulk of the localisation data from the Language*.php files to the
16219 Messages*.php files. Deleted most of the Languages*.php files.
16220 * Introduced "stub global" framework to provide deferred initialisation of core
16221 modules.
16222 * Removed placeholder values for $wgTitle and $wgArticle, these variables will
16223 now be null during the initialisation process, until they are set by index.php
16224 or another entry point.
16225 * Added DBA cache type, for BDB-style caches.
16226 * Removed custom date format functions, replacing them with a format string in
16227 the style of PHP's date(). Used string identifiers instead of integer
16228 identifiers, in both the language files and user preferences. Migration should
16229 be transparent in most cases.
16230 * Simplified the initialisation API for LoadBalancer objects.
16231 * Removed the broken altencoding feature.
16232 * Moved default user options and toggles from Language to User. Language objects
16233 are still able to define default preference overrides and extra user toggles,
16234 via a slightly different interface.
16235 * Don't include the date option in the parser cache rendering hash unless
16236 $wgUseDynamicDates is enabled.
16237 * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php.
16238 * Removed inclusion of language files from the bottom of Language.php. This is
16239 now consistently done from Language::factory().
16240 * Add the name of the executing maintenance script to the debug log. Start the
16241 profiler during maintenance scripts.
16242 * Added "serialized" directory, for storing precompiled data in serialized form.
16243 * Fix regression in auto-set NS_PROJECT_TALK namespace
16244 * Fix regression in ordering of namespaces
16245 * (bug 6806, 6030) Added several global JS variables for article path, user
16246 name, page title, etc.
16247 * hooks registered with addOnloadHook are now called at the one of the html body
16248 by all skins.
16249 * Split ajax aided search from core ajax framework. Use wgUseAjax to enable the
16250 framework and wgAjaxSearch to enable the suggest feature for the search box.
16251 * Added experimental installer for extensions.
16252 See maintenance/installExtension.php
16253 * Added Tajic (tg) language file.
16254 * (bug 6903) Added Cantonese localisation (zh-yue)
16255 * Fix regression in Korean and Japanese date formatting (day of week)
16256 * (bug 6919) Add English alias magic words for Tatar (tt) language file.
16257 * (bug 6753) Fixed broken Kazakh linktrail (kk)
16258 * (bug 6700) Added Kazakh language variants to Names.php
16259 * (bug 6827) some i18n specific maintenance scripts fails after merge of
16260 localisation-work branch
16261 * Throwed an exception for the deprecated functions OutputPage::sysopRequired
16262 and OutputPage::developerRequired - use OutputPage::permissionRequired
16263 instead.
16264 * Removed the deprecated functions User::isSysop, User::isBureaucrat and
16265 User::isDeveloper - use User::isAllowed instead.
16266 * (bug 769) OutputPage::permissionRequired() should suggest groups with the
16267 needed permission
16268 * (bug 6971) Fix regression in Special:Export history view
16269 * Revamped Special:Imagelist
16270 * (bug 7000) updated MessagesPl.php
16271 * (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
16272 * (bug 1866) Improve navigation on Special:Listusers; user now a starting
16273 point as with Special:Allpages, rather than a pure limit.
16274 * Clean up tab order on Special:Blockip
16275 * (bug 5969) Clean up tab order on Special:Userlogin forms
16276 * (bug 3512) namespaceDupes now handles spaces and initial caps properly
16277 * (bug 7037) Fix regression in login tab order
16278 * (bug 7031) Report missing email on 'email password' instead of false success
16279 * (bug 7010) Don't send email notifications for watched talk pages when user
16280 has selected to receive only updates for their own talk page
16281 * Added {{CURRENTHOUR}}
16282 * Added [[:Image:Foo.png]] style links to the pagelinks table
16283 * Avoid duplicate revision imports with Special:Import
16284 * (bug 7054) Validate email address before sending email confirmation message
16285 * (bug 7061) Format title on "from (page)" links on Special:Allpages
16286 * (bug 7044) Introduce "padleft" and "padright" colon functions
16287 * Pass page title as parameters to "linkshere" and "nolinkshere" and update
16288 default message text
16289 * Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true;
16290 in LocalSettings.php
16291 Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops
16292 by default, and displayed as a second line if appropriate
16293 * (bug 832) Return to user page after emailing a user
16294 * (bug 366) Add local-system-timezone equivalents for date/time variables
16295 * (bug 7109) Fix Atom feed version number in header links
16296 * (bug 7075) List registered parser function hooks on Special:Version
16297 * (bug 7059) Introduce "anchorencode" colon function
16298 * Include SVN revision number in {{CURRENTVERSION}} output, where applicable
16299 * Fix bug in wfRunHooks which caused corruption of objects in the hook list
16300 * (bug 4979) Use simplified email addresses when running on Windows
16301 * (bug 4434) Show block log fragment on Special:Blockip
16302 * [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any
16303 number of disambiguation templates.
16304 * [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages
16305 that embed any of the templates listed at [[MediaWiki:Disambiguationspage]].
16306 * Fix formatting of titles on Special:Undelete
16307 * (bug 7026) Fix action=raw&templates=expand
16308 * (bug 6976) Add namespace and direction classes to classic skins
16309 * (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the user
16310 can't read the main page in the first place
16311 * (bug 7188) Fix minor borkage in HTMLForm
16312 * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in
16313 Special:Upload
16314 * Add a quickie script dumpSisterSites.php for generating a page list in the
16315 format for WSR-1 SisterSites support
16316 * (bug 7223) Monobook.js is used for site content, should not be localized
16317 * Set default disabled values for DjVu render options
16318 * Added Xml::option() for generating <option>s easily
16319 * Localized page numbers in drop-down for DjVu page selection
16320 * Fixed linktrail for vi
16321 * (bug 6893) "Call to a member function exists() on a non-object" on
16322 trackback.php with bad input
16323 * (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete
16324 * (bug 6887) PHP error for call to getId() on bad input to
16325 Special:Revisiondelete
16326 * (bug 6888) PHP error for call to getTimestamp() on bad input to
16327 Special:Revisiondelete
16328 * (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required
16329 if texvc is rebuilt.
16330 * (bug 7279) Use wfBaseName in place of basename() in more places
16331 * Clear newtalk marker on diff links with explicit current revision number
16332 * (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls
16333 * (bug 6777) Remove some PHP 4 compat cruft
16334 * Add --user, --comment, and --license options to importImages.php
16335 * (bug 6216) The immobile namespace message does not mention the source page
16336 * (bug 7299) Normalize username filter on Special:Newpages
16337 * (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges
16338 * (bug 7312) Don't emit SET NAMES utf8 if connection failed
16339 * (bug 7305) Proper compare for bot check on RC notify, should fix overrides
16340 that force edits by non-bot users to bot mode
16341 * Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user
16342 preferences don't get stuck in proxy caches for other people
16343 * (bug 7324) Fix error message for failure of Database::sourceFile()
16344 * (bug 7309) Plurals: use singular form for zero in French and Brazilian
16345 Portuguese
16346 * Add page_no_title_convert field to support language variant conversion
16347 for page titles which shouldn't be converted on display/linking
16348 * Lazy extraction of text chunks in Revision objects, may reduce hits to
16349 external storage when actual text content is not used
16350 * Added experimental $wgRevisionCacheExpiry to cache extracted revision text
16351 in $wgMemc, to further reduce hits to external storage.
16352 Set to 0 (disabled) by default.
16353 * Minor changes to the installer.
16354 * Remove ":" for 'youremail' and 'yourrealname' in
16355 includes/templates/Userlogin.php so that ":" could be used in i18n for
16356 Special:Preferences (like 'username' and 'uid').
16357 * Fix layout for Special:Preferences->Date and Time (position for
16358 'timezonetext').
16359 * Updates to language variant code for Serbian et al
16360 * (bug 6756) Enabling RTL direction for kk-cn
16361 * (bug 6701) Kazakh language variants in MessagesEn.php
16362 * (bug 7335) SVN revision check in Special:Version fails on SVN 1.4 working copy
16363 * (bug 6518) Replaced 'lastmodified' with 'lastmodifiedat' and 'lastmodifiedby'
16364 with 'lastmodifiedatby' with separated parameters for date and time to allow
16365 better localisation. Updated all message files to display the old format for
16366 compatibility.
16367 * (bug 7357) Make supposedly static methods of Skin actually static
16368 * Added info text to Special:Deadendpages and Special:Lonelypages
16369 * Fix regression in cachability of generated CSS and JS for MonoBook skin,
16370 while avoiding clobbering of different users' cached data
16371 * (bug 6849) Block @ from usernames; interferes with multi-database tools and
16372 was meant to be banned years ago... For now existing accounts will not be
16373 prevented fromm login.
16374 * (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2},
16375 {{REVISIONMONTH}}, {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}}
16376 * (bug 7425) Preceeding whitespace in [[...]] breaks subpages
16377 * Try to reconnect after transitory database errors in dumpTextPass.php
16378 * (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now
16379 notification mails are working after 'Mark all pages visited' button on
16380 Special:Watchlist is clicked
16381 * Made {{INT:}} a core parser function instead of a special case. The syntax
16382 and behavior is largely unchanged.
16383 * (bug 7448) Fixing the native name for Ewe (ee)
16384 * (bug 6864) Replace message 'editing' with new message 'editinguser' in
16385 Special:Userrights to allow better localisation
16386 * Add '*-summary' for special pages to MessagesEn.php to allow
16387 customizing/translation directly through Special:Allmessages
16388 * (bug 6130, bug 5818) Replaced message 'go' with the new message
16389 'searcharticle' in skins to allow better localisation
16390 * Add + to $wgLegalTitleChars by default. Some sites may have occasional
16391 problems with hard-to-reach pages, but it should be less trouble than
16392 "I can't import dumps from Wikipedia" complaints
16393 * (bug 7460) Revert broken patch for bug 7226 which slows down
16394 Special:Allmessages by a factor of 16
16395 * Committed a bunch of live hacks from Wikimedia servers
16396 * (bug 6889) PHP notices in thumb.php with missing params
16397 * Cleaner error behavior on thumb.php with invalid page selection
16398 * (bug 6617) Validate timestamps on Special:Undelete
16399 * Do fewer unnecessary full writes of user rows; only update user_touched
16400 for watch/unwatch, group membership change, and login operations
16401 * Restructured the languages directory, to avoid problems when people
16402 untar MW 1.8 over the top of a 1.7 installation.
16403 * (bug 6890) SQL query error on bad input to Pager lists
16404 due to negative LIMIT clause, caused by integer wraparound.
16405 * Fixed various bugs related to table prefixes, especially the interaction
16406 between table prefixes and memcached, which was formerly completely broken.
16407 * (bug 7004) PHP iconv() notice on bad password input to Special:Userlogin.
16408 * (bug 6826) Extend pre-save transform context link ("pipe trick")
16409 syntax to pages with commas in title
16410 * Use ImageMagick -thumbnail option instead of -resize to avoid including
16411 excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer).
16412 * (bug 7499) Corrections to Swedish talk namespace names
16413 * (bug 7508) Added option to compress HTML pages by dumpHTML.php
16414 * (bug 7519) Add plural in SpecialWatchlist
16415 * (bug 7459) Magic word variables are always case sensitive
16416 * Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files
16417 * Fix regression in Special:Watchlist text header
16418 * (bug 7510) Update article counts etc on undelete
16419 * (bug 7520) Update article counts on XML import
16420 * (bug 7526) Make $wgDefaultUserOptions work again
16421 * (bug 7472) Localize Help namespace for Basque
16422 * (bug 7529) Including a non-existent category in an article places that article
16423 in the category
16424 * (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon
16425 * (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner,
16426 twoheadrightarrow, twoheadleftarrow
16427 * (bug 7367) Hyphens sometimes erroneously appended to equations when not
16428 converted to PNG
16429 * Add "title" to the opensearch link to allow automatic adding of the search
16430 engine in Firefox 2
16431 * (bug 7537) Add php5 to $wgFileBlacklist
16432 * (bug 6929) Restore AutoAuthenticate hook
16433
16434 == Languages updated ==
16435 * Albanian (sq)
16436 * Bashkir (ba)
16437 * Bavarian (bar) stub file
16438 * Belarusian (be)
16439 * Bishnupriya (bpy) stub file
16440 * Brazilian Portuguese (pt-br)
16441 * Cantonese (zh-yue)
16442 * Catalan (ca)
16443 * Czech (cs)
16444 * Dutch (nl)
16445 * English (en)
16446 * Finnish (fi)
16447 * French (fr)
16448 * Georgian (ka)
16449 * German (de)
16450 * Hebrew (he)
16451 * Hungarian (hu)
16452 * Indonesian (id)
16453 * Japanese (ja)
16454 * Korean (ko)
16455 * Latin (la)
16456 * Lojban (jbo)
16457 * Macedonian (mk)
16458 * Mazandarani (mzn)
16459 * Polish (pl)
16460 * Portuguese (pt)
16461 * Ripuarian (ksh)
16462 * Romani (rmy)
16463 * Russian (ru)
16464 * Slovak (sk)
16465 * Spanish (es)
16466 * Tajic (tg)
16467 * Tatar (tt)
16468 * Telugu (te)
16469 * Uzbek (uz)
16470 * Yiddish (yi)
16471
16472 == Compatibility ==
16473 MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
16474
16475 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At
16476 this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
16477
16478 == Upgrading ==
16479 Some minor database changes have been made since 1.7:
16480 * new fields and indexes on ipblocks
16481 * index change on recentchanges
16482
16483 Several changes from 1.5 and 1.6 do require updates to be run on upgrade. To
16484 ensure that these tables are filled with data, run refreshLinks.php after the
16485 upgrade.
16486
16487 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
16488 changes are made, and there is a slightly higher chance that things could
16489 break. Don't forget to always back up your database before upgrading!
16490
16491 === Caveats ===
16492 Some output, particularly involving user-supplied inline HTML, may not produce
16493 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
16494 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
16495 recommended on live sites. (This must be set for MathML to display properly in
16496 Mozilla.)
16497
16498 = MediaWiki 1.7=
16499
16500 == MediaWiki 1.7.3 ==
16501
16502 February 20, 2007
16503
16504 This is a security and bug-fix update to the Summer 2006 quarterly release.
16505
16506 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
16507 charset autodetection was located in the AJAX support module, affecting MSIE
16508 users on MediaWiki 1.6.x and up when the optional setting
16509 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
16510
16511 If you are using an extension based on the optional Ajax module, either disable
16512 it or upgrade to a version containing the fix:
16513
16514 * 1.9: fixed in 1.9.3
16515 * 1.8: fixed in 1.8.4
16516 * 1.7: fixed in 1.7.3
16517 * 1.6: fixed in 1.6.10
16518
16519 There is no known danger in the default configuration, with
16520 [[Manual:$wgUseAjax|$wgUseAjax]] off.
16521
16522 * Add 'charset' to Content-Type headers on various HTTP error responses to
16523 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
16524 default when the script didn't specify more details, which some inconsiderate
16525 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
16526 This fixes an issue with the Ajax interface error message on MSIE when
16527 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this
16528 UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA
16529 from BugSec: http://www.bugsec.com/articles.php?Security=24
16530 * Trackback responses now specify XML content type
16531
16532 == MediaWiki 1.7.2 ==
16533
16534 January 9, 2007
16535
16536 * Note about $wgUploadSizeWarning using byte
16537 * Update to German bookstore list (de)
16538 * (bug [[bugzilla:6680|6680]]) Added localisation for Dutch bookstore list (nl)
16539 * (bug [[bugzilla:6708|6708]]) Minor updates to Russian translation (ru)
16540 * (bug [[bugzilla:6730|6730]]) Clearer usage of message 'titlematch' in German
16541 translation (de)
16542 * Added direction mark to Special:Listredirects
16543 * XSS fix in AJAX module
16544
16545 An XSS injection vulnerability was located in the AJAX support module,
16546 affecting MediaWiki 1.6.x and up when the optional setting
16547 [[Manual:$wgUseAjax|$wgUseAjax]] is enabled.
16548
16549 There is no danger in the default configuration, with
16550 [[Manual:$wgUseAjax|$wgUseAjax]] off.
16551
16552 If you are using an extension based on the optional AJAX module, either disable
16553 it or upgrade to a version containing the fix:
16554
16555 * 1.9: fixed in 1.9.0rc2
16556 * 1.8: fixed in 1.8.3
16557 * 1.7: fixed in 1.7.2
16558 * 1.6: fixed in 1.6.9
16559
16560
16561 == MediaWiki 1.7.1 ==
16562
16563 July 8, 2006
16564
16565 MediaWiki 1.7.1 is a security and bugfix maintenance release of the Summer 2006
16566 snapshot:
16567
16568 A potential HTML/JavaScript-injection vulnerability in a debugging script has
16569 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
16570 overwrite vulnerability are affected.
16571
16572 As a workaround for existing installs, profileinfo.php may simply be deleted if
16573 it's not being used.
16574
16575 * Fix for 'emailconfirmed' implicit user group
16576 * Fix for upgrades on some versions of MySQL 4.0.x
16577 * Fixed potential XSS in profileinfo.php
16578 * Installer now shows clear error message about old PHP versions rather than a
16579 confusing parse error
16580
16581 == MediaWiki 1.7.0 ==
16582 July 6, 2006
16583
16584 This is the quarterly release snapshot for Summer 2006. While the code
16585 has been running on Wikipedia for some time, installation and upgrade
16586 bits may be less well tested. Bug fix releases may follow in the coming
16587 days or weeks.
16588
16589 MediaWiki is now using a "[[w:en:Continuous_integration|continuous
16590 integration]]" development model with
16591 quarterly snapshot releases. The latest development code is always kept
16592 "ready to run", and in fact runs our own sites on Wikipedia.
16593
16594 Release branches will continue to receive security updates for about a year
16595 from first release, but nonessential bugfixes and feature development happen
16596 will be made on the development trunk and appear in the next quarterly release.
16597
16598 Those wishing to use the latest code instead of a branch release can obtain
16599 it from source control: [[Download from SVN]]
16600
16601 == Changes since 1.6 ==
16602
16603 * (bug 5458) Fix double-URL encoding in block log link in contribs and contribs
16604 link in block log
16605 * (bug 5462) Bogus missing patch warning in updater
16606 * (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked
16607 * PHP warning when allow_call_time_pass_reference is off
16608 * Update to Finnish localization
16609 * (bug 5467) Link to page histories in watchlist edit mode
16610 * Further additions to Hebrew localisation
16611 * (bug 5476) Invalid xhtml in German localization
16612 * (bug 5479) Id translation for preferences tabs caption
16613 * (bug 5493) Id translation for special pages
16614 * Added skinname and style path parameters to CBT version of MonoBook
16615 * Include subversion revision number in Special:Version if available
16616 * (bug 5344) Fix regression that broke slashes in extension tag parameters
16617 * Improve Special:Log performance on big log sets
16618 * (bug 5507) Changed mediawiki:logouttext from plain to wikitext
16619 * (bug 4760) Prevent creation of entries in protection log when protection
16620 levels haven't changed
16621 * (bug 861) Show page protection/unprotection events in histories
16622 * (bug 5499) Don't clear the tag strip state when asked not to clear state.
16623 Fixes regression with use of <ref> in a template breaking <nowiki> etc.
16624 * Minor improvements to English language files
16625 * Display the anon talk page info message on anon talk pages again
16626 (moved outside the parser cache)
16627 * Optional {{DISPLAYTITLE|title with markup}} magic word
16628 Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php
16629 to activate
16630 * Cleaned SpecialContributions a bit
16631 * Added a table to track interlanguage links
16632 * (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left
16633 languages
16634 * Replace "doubleredirectsarrow" with a content language check that picks the
16635 appropriate arrow
16636 * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits
16637 Lithuanian (lt)
16638 * Don't force edit summaries when a user is editing their own user/talk page
16639 * (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces
16640 * (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
16641 * PersistentObject removed; it doesn't do anything and was broken besides.
16642 All extensions using it have been corrected.
16643 * Propagate ISBN number for Booksources in LanguageNo.php
16644 * (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
16645 * Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms
16646 for all) magic words
16647 * (bug 5403) Fix Special:Newpages RSS/Atom feeds
16648 * Reject malformed addresses in X-Forwarded-For entries
16649 * (bug 3359) Add hooks on completion of file upload
16650 * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
16651 * (bug 5475) New pages feeds ignore "limit" argument
16652 * (bug 5184) CSS misapplied to elements in Special:Allmessages due to
16653 conflicting anchor identifiers
16654 * (bug 5519) Allow sidebar cache to be disabled; disable it by default.
16655 * Maintenance script to import the contents of a text file into a wiki page
16656 * Add $wgReservedUsernames configuration directive to block account creation/use
16657 * (bug 5576) Remove debugging hack in session check
16658 * (bug 5426) Lowercase treatment of titles in rights log leads to broken links
16659 on Special:Log
16660 * Minor improvements to French localisation files
16661 * (bug 5181) Update "nogomatch" for Slovak
16662 * (bug 5594) Id translation up to # Login and logout pages section
16663 * (bug 5536) Use content language for editing help link
16664 * Improvements to German localisation files
16665 * (bug 5570) Problems using <special page>/parameter link form for long titles
16666 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
16667 registrations as well as self-registrations.
16668 * (bug 4327) Report age of cached data sets in query pages
16669 * (bug 4662) Fix Safari check in wikibits.js
16670 * (bug 4663) Edit toolbar enabled in compatible versions of Safari
16671 * (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
16672 * (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
16673 * Edit toolbar now works in pure XHTML mode (application/xhtml+xml)
16674 * Add watchlist clear function to allow quick purging of all items
16675 * (bug 5625) Additional namespace translations for Welsh
16676 * Add meta tag and JavaScript variables to cached special pages which provides
16677 the timestamp of the last update, in YYYYMMDDHHMMSS format.
16678 * (bug 5628) More translations for MessagesHr.php
16679 * (bug 5595) Localisation for Bosnian language (bs)
16680 * (bug 2910) Default view preferences for watchlists
16681 * Add "hide bot edits from the watchlist" user preference
16682 * (bug 5250) Introduce Special:Unusedtemplates
16683 * Add user preference setting for an extended watchlist, showing all recent
16684 edits up to a certain edit, and not just the latest edit..
16685 * Made MessageRo.php more general
16686 * (bug 5640) Indonesian localisation improvements
16687 * (bug 5592) Actions are logged with the default language for the
16688 wiki, not the language of the user performing the operation.
16689 * (bug 5644) Error in LanguageBs.php file
16690 * (bug 5646) Compare for identical types in wfElement()
16691 * (bug 5472) Language::userAdjust()->minDiff not initialized on else condition
16692 * (bug 5386) LanguageMk.php: updated namespaces translations
16693 * (bug 5422) Stub for Romani (rmy) language which extends ro
16694 * Fix linktrail for LanguageSr
16695 * (bug 5664) Fix Bosnian linktrail
16696 * (bug 3825) Namespace filtering on Special:Newpages
16697 * (bug 1922) When Special:Wantedpages is cached, mark links to pages
16698 which have since been created
16699 * (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces.
16700 This sort of special casing should be removed and fixed properly.
16701 * Remove useless whitespace from Special:Brokenredirects header
16702 * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default
16703 text
16704 * (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>)
16705 * (bug 5709) Allow customisation of separator for categories
16706 * (bug 5684) Introduce Special:Randomredirect
16707 * (bug 5611) Add a name attribute to the text box containing source text in
16708 read-only pages
16709 * Indicate when a protected page is an interface message ("protectedinterface")
16710 * (bug 4259) Indicate when a protected page being edited is an interface message
16711 ("editinginterface")
16712 * (bug 4834) Fix XHTML output when using $wgMaxTocLevel
16713 * Pass login link to "whitelistedittext" containing 'returnto' parameter
16714 * (bug 5728): mVersion missing from User::__sleep() leading to constant cache
16715 miss
16716 * Updated maintenance/transstat.php so it can show duplicate messages
16717 * Improvements to update scripts; print out the version, check for superuser
16718 credentials before attempting a connection, and produce a friendlier error if
16719 the connection fails
16720 * (bug 5005) Fix XHTML <gallery> output.
16721 * (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date).
16722 * (bug 4825) note in DefaultSettings.php about 'profiling' table creation
16723 * Remove unneeded extra whitespace at top of Special:Categories
16724 * (bug 5679) time units are now using local numerals
16725 * (bug 5751) Updates to Portuguese localisation files
16726 * (bug 5741) Introduce {{NUMBEROFUSERS}} magic word
16727 * (bug 93) <nowiki> tags and tildes in templates
16728 * The returnto parameter is now actually used by SpecialUserlogin.php
16729 * Parser can now know that it is parsing an interface message
16730 * (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now
16731 * Fix bug in wfMsgExt under PHP 5.1.2
16732 * (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
16733 * Rewrite reassignEdits script to be more efficient; support optional updates to
16734 recent changes table; add reporting and silent modes
16735 * Cleaned up formatNum usage in langfiles
16736 * (bug 5716) Warn when a user tries to upload a file which was previously
16737 deleted
16738 * (bug 5565) Add a class attribute to the table on Special:Allpages
16739 * "lang=xx" option for parser test cases to set content language
16740 * (bug 5764) Friulian translation updated
16741 * (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
16742 * (bug 5516) Show appropriate "return to" link on blocked page
16743 * (bug 5377) Do not auto-login when creating an account as another user
16744 * (bug 5284) Special redirect pages should remember parameters
16745 * Suppress 7za output on dumpBackup
16746 * (bug 5338) Reject extra initial colons in title
16747 * (bug 5487) Escape self-closed HTML pair tags
16748 * Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}}
16749 will produce a count minus formatting
16750 * Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an
16751 appropriate output format given the scope of the clean
16752 * (bug 5593) Change "bureaucrat log" to "rights log"
16753 * Show a boilerplate "(none)" in place of a blank within the log action text for
16754 user rights
16755 * (bug 137) Commented out translations for copyrightwarning which mention GNU
16756 FDL
16757 * (bug 5723) Don't count pages linked to from the MediaWiki namespace as
16758 "wanted"
16759 * (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time
16760 formatted according to the current user's settings
16761 * (bug 5780) Thousands and decimal separators for Norwegian
16762 * Updated initStats maintenance script
16763 * (bug 5767) Fix date formats in Vietnamese locale
16764 * (bug 361) URL in URL, they were almost fixed. Now they are.
16765 * (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section"
16766 link/tab to show up on specific pages on demand
16767 * Bidi-aid on list pages
16768 * (bug 5782) Allow entries in the bad image list to use canonical namespace
16769 names
16770 * (bug 5789) Treat "loginreqpagetext" as wikitext
16771 * Sanitizer: now handles nested <li> in <ul> or <ol>
16772 * (bug 5796) We require MySQL >=4.0.14
16773 * Add 'EmailConfirmed' hook
16774 * New findhooks.php script to find undocumented hooks.
16775 * Silently ignore errors on profiling table update.
16776 * (bug 5801) Correct handling of underscores in Special:Listusers
16777 * Clean up Special:Listusers; add an "(all)" label to the group selection box
16778 * (bug 5812) Use appropriate link colour in Special:Mostlinked
16779 * (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale
16780 * (bug 5817) Appropriate handling for Special:Recentchangeslinked where the
16781 target page doesn't exist
16782 * Special:Randompage now additionally accepts English namespace name as
16783 parameter
16784 * (bug 2981) Really fixed linktrail for Tamil (ta)
16785 * Disallow substituting Special pages when included into a page
16786 * (bug 5587) Clean up the languages from references to the Groups special page
16787 * Added new group-X and group-X-member messages
16788 * Rewritten removeUnusedAccounts to be more efficient, print names of inactive
16789 accounts
16790 * Redirect Special:Userlist to Special:Listusers
16791 * Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded
16792 files bearing the image/svg MIME type. Disabled by default due to the vast
16793 majority of web servers being hideously misconfigured. See DefaultSettings.php
16794 for more details.
16795 * Changed default LocalSettings.php to append the previous include path when
16796 setting it
16797 * (bug 5837) Use "members" for the value descriptor in Special:Categories,
16798 Special:Wantedcategories and Special:Mostlinkedcategories.
16799 * (bug 3309) Allow comments when undeleting pages
16800 * Clean up Special:Undelete a bit
16801 * (bug 5805) messages nbytes, ncategories can now use {{plural:}}
16802 * Clean up Special:Imagelist a bit
16803 * (bug 5838) Namespace names for Nds-NL
16804 * (bug 5749) Added Tyvan language files
16805 * (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect
16806 data to show
16807 * (bug 5839) Prevent access to Special:Confirmemail for logged-out users
16808 * (bug 5853) Update for Portuguese messages (pt)
16809 * (bug 5851) Use Cyrillic for Kirghiz language name
16810 * (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message
16811 * (bug 5846) Link to individual group description pages in Special:Listusers
16812 * (bug 5857) Update for German localisation (de)
16813 * (bug 5858) Update for Russian language (ru)
16814 * (bug 5860) Update for Indonesian language (id)
16815 * (bug 1120) Update for Czech language (Cs)
16816 * Added many missing formatNum calls
16817 * Added grammar function to Belarusian (be)
16818 * (bug 5819) Add 'PersonalUrls' hook
16819 * (bug 5862) Update of Belarusian language (be)
16820 * (bug 5886) Update for Portuguese messages (pt)
16821 * (bug 5586) <gallery> treated text as links
16822 * (bug 5878) Update for Indonesian language (id)
16823 * (bug 5697) Update for Malay language (ms)
16824 * (bug 5890) Update for German language (de)
16825 * (bug 5889) Name for Sindhi language should appear as سنڌي
16826 * --force-normal parameter on dump scripts to force check for ICU extension
16827 * (bug 5895) Update for Dutch language (nl)
16828 * (bug 5891) Linktrail for Polish language (pl)
16829 * User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in
16830 v1.6 now die with a backtrace. They will be removed in v1.8
16831 * dumpTextPass now skips goes to database for entries that were blank in the
16832 previous dump, as this may indicate a broken dump.
16833 * dumpTextPass progress includes percentage of items prefetched
16834 * dumpTextPass can now use 7zip files for prefetch
16835 * (bug 5915) Update to Indonesian localisation (id)
16836 * (bug 5913) Update for German localisation (de)
16837 * (bug 5905) Plural support for Bosnian localisation (bs)
16838 * Groups which won't hit the rate limiter now configurable with
16839 $wgRateLimitsExcludedGroups
16840 * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages
16841 * (bug 5931) Update for Polish language (pl)
16842 * Ignore the user and user talk namespaces on Special:Wantedpages
16843 * Introduce NUMBEROFPAGES magic word
16844 * (bug 5833) Introduce CURRENTVERSION magic word
16845 * (bug 5370) Allow throttling of password reminder requests with the rate
16846 limiter
16847 * (bug 5683) Respect parser output marked as uncacheable when saving
16848 * (bug 5918) Links autonumbering now work for all defined protocols
16849 * (bug 5935) Improvement to German localisation (de)
16850 * (bug 5937) Register links from gallery captions with the parent parser output
16851 object so that link tables receive those updates too
16852 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
16853 * (bug 5941) Use content language when getting the administrator page title for
16854 Special:Statistics
16855 * (bug 5949) Update to Indonesian localisation (id)
16856 * (bug 5862) Update of Belarusian translation (be)
16857 * (bug 5950) Improvements to French localisation
16858 * (bug 5805) {{plural:}} support for counters in some special pages
16859 * (bug 5952) Improvement to German localisation (de)
16860 * Rename conflicting metadata help message to "metadata_help" (was "metadata")
16861 and treat it as wiki text
16862 * Improve preferences input filtering
16863 * Maintenance script to import multiple files into the wiki
16864 * (bug 5957) Update for Hebrew language (he)
16865 * (bug 5962) Update for Italian language (it)
16866 * (bug 5961) Update for Portuguese localisation (pt)
16867 * (bug 5849) Remove some hard-coded references to "Wikipedia" in messages
16868 * (bug 5967) Improvement to German localisation (de)
16869 * (bug 5962) Update for Italian language (it)
16870 * Suppress images in galleries which appear on the bad image list (when
16871 rendering for a wiki page; galleries in special pages and categories are
16872 unaffected)
16873 * Maintenance script to remove orphaned revisions from the database
16874 * (bug 5991) Update for Russian language (ru)
16875 * (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL
16876 magic words
16877 * (bug 5958) Switch Uzbek language name to use latin script
16878 * (bug 839) Add URLENCODE magic word
16879 * (bug 6004) Update for Polish language (pl)
16880 * (bug 5971) Improvement to German localisation (de)
16881 * (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect
16882 page that isn't current
16883 * (bug 2203) Namespace updates for Thai
16884 * Fix breakage in parser test suite which caused incorrect reporting of the
16885 failure of {{NUMBEROFFILES}}. Now initialises the site_stats table with some
16886 dumb data. Updated the expected output for {{NUMBEROFARTICLES}} to reflect
16887 this.
16888 * (bug 6009) Use {{ns:project}} in messages where appropriate
16889 * (bug 6012) Update to Indonesian localisation (id)
16890 * (bug 6017) Update list of bookstores in German localisation files
16891 * (bug 5187) Allow programmatically bypassing username validation, for scripts
16892 * (bug 6025) SpecialImport: wrong message when no file selected
16893 * (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this"
16894 * (bug 6018) Userrights: new message when no user specified ('nouserspecified')
16895 * (bug 2015) Add "\sim" to ~ conversion for HTML rendering
16896 * (bug 6029) Improvement to German localisation (de)
16897 * (bug 5015) Update be: magic words
16898 * (bug 3974) Add parameter for site URL to "passwordremindertext"
16899 * (bug 6039) Update for Portuguese localisation (pt)
16900 * (bug 764) Add CREATE TEMPORARY TABLES to default database permissions
16901 * Big update to Swedish localisation (sv)
16902 * Use appropriate HTML functions to create the tool links on image pages, so
16903 they don't look garbled when tidy isn't on
16904 * (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist
16905 * (bug 6046) Update to Indonesian localisation (id) #15
16906 * (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in
16907 specially-selected namespaces.
16908 * (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick
16909 Jenkins)
16910 * Reordered wiki table handling and __TOC__ extraction in the parser to better
16911 handle some overlapping tag cases.
16912 * Only the first __TOC__ is now turned into a TOC
16913 * (bug 4610) Indicate patrolled status on watchlists and allow users to mark
16914 changes as patrolled using the diff links there
16915 * Add 'DiffViewHeader' hook called before diff page output
16916 * (bug 6051) Improvement to German localisation (de)
16917 * (bug 6054) Update to Indonesian localisation (id) #16
16918 * Add {{CURRENTTIMESTAMP}} magic word
16919 * (bug 6061) Improper escaping in some html forms
16920 * (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics.
16921 * (bug 6074) Correct squid purging of offsite upload URLs
16922 * To simplify the lives of extension developers, the logging type arrays
16923 can now be appended to directly by an extension setup function. It is
16924 no longer necessary to write four separate functions just to add a
16925 custom log type.
16926 * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages)
16927 * Added $wgGrammarForms global
16928 * Fixed hardcoded 'done.' when removing watchlist entries.
16929 * (bug 5962) Update for Italian language (it)
16930 * (bug 6086) Remove vestigial attempt to call Article::validate()
16931 * wfHostname() function for consistent server hostname use in debug messages
16932 * Send thumbnailing error messages to 'thumbnail' log group
16933 * wfShellexec() now accepts an optional parameter to receive the exit code
16934 * Failed, but not zero-length, thumbnail renderings are now removed.
16935 Should help clean up when rsvg fails in weird ways.
16936 * (bug 6081) Change description for Turkmen language
16937 * Increase robustness of parser placeholders; fixes some glitches when
16938 adjacent to identifier-ish constructs such as URLs.
16939 * Shut up the parser test whining about files in a temp directory.
16940 * (bug 6098) Add Aragonese language support (an)
16941 * (bug 6101) Update for Russian language (ru)
16942 * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering
16943 problems. If errors are transitory, this should reduce annoying messages
16944 making it into cached display.
16945 * (bug 6103) Wrap self-links in a CSS class ("selflink")
16946 * (bug 6102) For consistency with other markup, normalize all HTML-encoded
16947 character entities in URLs, not just ampersands. This allows use of eg
16948 &#61; when making URLs for template parameters.
16949 * Markup anality: escape </ as <\/ in toolbar javascript for pure correctness
16950 under HTML-compatible browsers.
16951 * (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage
16952 * Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
16953 * (bug 472) Syndication feeds for the last few edits of page history
16954 * Format edit comments in Recent Changes feed
16955 * Switch incorrectly ordered column headers on Recent Changes feed diffs
16956 * (bug 6117) Use message for history feed description, add German localization
16957 * (bug 1017) fixed thumbnails of animated gifs.
16958 * Add APC as object caching option
16959 * Update to Albanian localization (sq)
16960 * (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an
16961 alias)
16962 * Use optimized php5-only microtime()
16963 * Add possibility to store local message cache as PHP executable script
16964 * Fix profiling table definition
16965 * (bug 6040) Run pre-save transform before calculating the diff. when doing a
16966 "show changes" operation in the editor
16967 * (bug 4033) Respect $wgStyleDirectory when checking available skins
16968 * Remove hideous backslashes from MessagesBr.php
16969 * Fix APC object cache issues, add functionality to installer
16970 * (bug 6133) Update strip state as we work. This mostly fixes extensions
16971 used in Cite.php <ref> tags when Tidy is on.
16972 * (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
16973 * (bug 6136) Update to Catalan language (ca)
16974 * Update to Japanese localization (ja)
16975 * Add /usr/local/bin to the diff3 search paths in the installer
16976 * (bug 6106) Update to Indonesian localisation (id) #17
16977 * (bug 6125) Add links to edit old versions to diff views
16978 * (bug 5127) Auto edit summary when creating/editing redirect page
16979 * (bug 3926) Introduce {{#language:}} magic word
16980 * Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles
16981 * (bug 6126) Allow fallback to customized primary language when user language
16982 message contains '-'; fixes licenses selector on Commons configuration after
16983 recent addition of the message to Messages.php
16984 * (bug 5527) Batch up job queue insertions for, hopefully, better survivability
16985 of lock contention etc. Duplicates are now removed at pop time instead of
16986 at insert time.
16987 * When showing the "blah has been undeleted" page, make sure it's a blue link
16988 * parserTests.php accepts a --file parameter to run an alternate test sutie
16989 * parser tests can now test extensions using !!hooks sections
16990 * Fix oddity with open tag parameters getting stuck on </li>
16991 * (bug 5384) Fix <!-- comments --> in <ref> extension
16992 * Nesting of different tag extensions and comments should now work more
16993 consistently and more safely. A cleaner, one-pass tag strip lets the
16994 'outer' tag either take source (<nowiki>-style) or pass it down to
16995 further parsing (<ref>-style). There should no longer be surprise
16996 expansion of foreign extensions inside HTML output, or differences
16997 in behavior based on the order tags are loaded.
16998 * (bug 885) Pre-save transform no longer silently appends close tags
16999 * Pre-save transform no longer changes the case of close tags
17000 * (bug 6164) Fix regression with <gallery> resetting <ref> state
17001 * Hackaround for IE 7 wrapping bug in MonoBook footer
17002 * New message sp-newimages-showfrom replaces rclistfrom on special:newimages
17003 * Improve handling of ;: definition list construct with overlapping or
17004 nested HTML tags
17005 * (bug 6171) Fix sanitizing of HTML-elements with an optional closing
17006 tag. The sanitizer still needs to learn how to make well-formed XML
17007 in this case.
17008 * Fix fatal error when specifying illegal name for manual thumbnail
17009 * (bug 6184) Use shinier Linker::userLink() to make user links in
17010 Special:Undelete
17011 * (bug 6170) Update for Kashubian translation (csb)
17012 * (bug 6191) Update to Indonesian translation (id) #18
17013 * (bug 6114) Update to Walloon localization (wa)
17014 * Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a
17015 per-namespace basis.
17016 * Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being
17017 interspersed into your ordered lists.
17018 * (bug 5021) Transcluding the same special page twice now works
17019 * Add 'SiteNoticeBefore' and 'SiteNoticeAfter' hooks
17020 * (bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time
17021 preferences
17022 * (bug 2587) Fix for section editing with comment prefix
17023 * (bug 2607) Fix for section editing with mix of wiki and HTML headings
17024 * (bug 3342) Fix for section editing with headings wrapped in <noinclude>
17025 * (bug 3476) Fix for section editing with faux headings in extensions
17026 * (bug 5272) Fix for section editing with HTML-heading subsections
17027 * Fix for bogus wiki headings improperly detected with following text
17028 * Fix for HTML headings improperly not detected with preceding/following text
17029 * Section extraction and replacement functions merged into one implementation
17030 on the Parser object, so they can't get out of sync with each other.
17031 * Edit security precautions in raw HTML mode, etc
17032 * (bug 6197) Update to Indonesian translation (id) #19
17033 * (bug 6175) Improvement to German translation (de)
17034 * Redirect Special:Logs to Special:Log
17035 * (bug 6206) Linktrail for Swedish localization (se)
17036 * (bug 3202) Attributes now allowed on <pre> tags
17037 * Sanitizer::validateTagAttributes now available to discard illegal/unsafe
17038 attribute values from an array.
17039 * (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
17040 to <div class="center">. <center> is perfectly valid in the target doctype
17041 (XHTML 1.0 Transitional), while the replacement didn't catch all cases and
17042 could even result in invalid output from valid input.
17043 * (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
17044 meta robots tag on diff view and special pages. Should reduce impact of
17045 robots on scrolling special pages, diffs etc on sites where robots.txt
17046 doesn't forbid access.
17047 * Regression fix: suppress warning about session failure when clicking to
17048 edit with 'preview on first edit' enabled.
17049 * (bug 6230) Regression fix: <nowiki> in [URL link text]
17050 * Added AutoLoader.php, which loads classes without need of require_once()
17051 * (bug 5981) Add plural function Slovenian (sl)
17052 * (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
17053 * {{PLURAL}} can now take up to five forms
17054 * (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
17055 * Remove a number of needless {{ns:project}}-type transforms from messages
17056 files. These usages already have separate label text. Such transforms are
17057 wasteful on each page view.
17058 * Update to Yiddish localization (yi)
17059 * (bug 6254) Update to Indonesian translation (id) #20
17060 * (bug 6255) Fix transclusions starting with "#" or "*" in HTML attributes
17061 * Whitespace now normalized more or less properly in HTML attributes
17062 * Fix regression(?) in behavior of initial-whitespace-pre in <center>
17063 * (bug 6260) Update to Interlingua localization (ia)
17064 * Update to Vlax Romany localization (rmy)
17065 * Update to Latin translation (la)
17066 * Update to Dutch translation (nl)
17067 * Avoid some notices in page history with bad input
17068 * Use double quoted consistently on attributes in linker output; preparing
17069 for new normalization code when tidy not in use
17070 * Replace "nogomatch" with "noexactmatch" and place the magic colon in the
17071 messages themselves. Some minor tweaks to the actual message content.
17072 * Introduce $wgContentNamespaces which allows for articles to exist in
17073 namespaces other than the main namespace, and still be counted as valid
17074 content in the site statistics.
17075 * (bug 5932) Introduce {{PAGESINNAMESPACE}} magic word
17076 * Disable $wgAllowExternalImages by default.
17077 * (bug 2700) Nice things like link completion and signatures now work in
17078 <gallery> tags.
17079 * Cancel output buffering in StreamFile; when used inside gzip buffering this
17080 could cause funny timeout behavior as the Content-Length was wrong.
17081 * Return correct content-type header with 304 responses for StreamFile;
17082 it confuses Safari if you let it return "text/html".
17083 * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
17084 * (bug 6162) Change date format for Dutch Low Saxon (nds-nl)
17085 * (bug 6296) Update to Indonesian localisation (id) #21
17086 * Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
17087 * (bug 4054) Add "boteditletter" to recent changes flags
17088 * Update to Catalan localization (ca)
17089 * (bug 2099) Deleted image files can now be archived and undeleted.
17090 Set $wgSaveDeletedFiles on and an appropriate directory path in
17091 $wgFileStore['deleted']['directory']
17092 * (bug 6324) Fix regression in enhanced RC alignment
17093 * Introduce {{NUMBEROFADMINS}} magic word
17094 * Update to Slovak translation (sk)
17095 * Update to Alemannic localization (gsw)
17096 * (bug 6300) Bug fixes for sr: variants
17097 * namespaceDupes.php can now accept an arbitrary prefix, for checking rogue
17098 interwikis and such. Not yet fully automated.
17099 * (bug 6344) Add Special:Uncategorizedimages page
17100 * (bug 6357) Update to Russian translation (ru)
17101 * Workaround possible bug in Firefox nightlies by properly removing the
17102 Content-Encoding header instead of sending explicit 'identity' value
17103 in StreamFile
17104 * (bug 6304) Show timestamp for current revision in diff pages
17105 * Vertically align current version with old version header in diff display
17106 * (bug 6174) Remove redundant "emailforlost" message
17107 * (bug 6189) Show an error to an unprivileged user trying to create account
17108 * (bug 6365) Show user information in the "old revision" navigation links
17109 * Introduce 'FetchChangesList' hook; see docs/hooks.txt for more information
17110 * (bug 6345) Update to Indonesian localisation (id) #22
17111 * (bug 6279) Add genitive month names to Slovenian localisation
17112 * (bug 6351) Update to German translation (de)
17113 * Respect language directionality when displaying arrow in
17114 Special:Brokenredirects
17115 * Remove unused "validation" table definitions from the schema files
17116 * (bug 6398) Work around apparent PCRE bug breaking section editing when
17117 massively-indented preformatted text immediately followed a header
17118 * (bug 6392) Fix misbehaving <br /> in preferences form
17119 * Add translated magic words to Hebrew localization
17120 * (bug 6396) Change name for Chuvash language
17121 * Introduce optional (off by default) language selector bar for user login
17122 and registration. Customisable via the "loginlanguagelinks" message, the
17123 links will preserve "returnto" values. If the user creates an account while
17124 using such a link, then the language in use will be saved as their language
17125 preference.
17126 * Make sure '~~~' '~~~~' '~~~~~' are removed in Nickname preference.
17127 * Rename "ipusuccess" to "unblocked", change the format (now wiki text)
17128 * (bug 2316) Add "caption" attribute to <gallery> tag
17129 * Allow setting the skin object that ImageGallery will use; needed during parse
17130 operations (the skin must come from the ParserOptions, not $wgUser)
17131 * Fix notice in MacBinary detection debug data for files of certain lengths
17132 * (bug 6131) Add type detection for DjVu files, allowing them to be uploaded
17133 with validity checking and size detection. No inline thumbnailing yet,
17134 but could be added in the future.
17135 * (bug 6423) Don't update newtalk flag if page content didn't change (null edits
17136 were causing the newtalk flag to trigger inappropriately)
17137 * Parser functions are now set using magic words.
17138 * (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0
17139 set
17140 * (bug 4990) Show page source to blocked users on edits, or their modified
17141 version if blocked during an edit
17142 * (bug 5903) When requesting the raw source of a non-existent message page,
17143 return blank content (as opposed to the message key)
17144 * Improve default blank content of MediaWiki:Common.css and
17145 MediaWiki:Monobook.css
17146 * (bug 6434) Allow customisation of submit button text on Special:Export
17147 * (bug 6314) Add user tool links on page histories
17148 * Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off
17149 * (bug 6438) Update to Indonesian translation (id) #23
17150 * Adding the language code parameter to the hook "LanguageGetMagic", to allow
17151 localizble extensions magic words.
17152 * Update to Romanian translation (ro)
17153 * Update to Esperanto translation (eo)
17154 * Check for preg_match() existence when installing and die out whining about
17155 PCRE if it's not there, instead of throwing a fatal error
17156 * (bug 672) Add MathAfterTexvc hook
17157 * Update to Piedmontese localization (pms)
17158 * dumpBackup can optionally compress via dbzip2
17159 * (bug 2483) Run link updates on change via XML import
17160 * (bug 2481) List imported pages during Special:Import
17161 * (bug 2482) Log and RC entries for Special:Import events
17162 * Allow fetching all revisions from transwiki Special:Import
17163 * Allow fetching all revisions from Special:Export GET request
17164 * Disable output buffering on Special:Export; should help with streaming
17165 large numbers of history items.
17166 * Allow setting a maximum number of revisions for history Special:Export;
17167 pages with more than $wgExportMaxHistory revisions are excluded from
17168 export when history is requested.
17169 * Fix transwiki import of pages with space in name
17170 * Save null edit when importing pages through Special:Import
17171 * Update to Korean translation (ko)
17172 * Show a more specific message when an anonymous user tries to access
17173 Special:Watchlist
17174 * (bug 3278) Paging links in Special:Prefixindex
17175 * Added Latvian localization (lv)
17176 * (bug 6472) Fix regression in Special:Export with multiple pages
17177 * Update to Macedonian translation (mk)
17178 * Allow page moves over historyless self-redirects. Such are usually created
17179 as part of namespace rearrangements, and it's easier to clean them up if
17180 we can move over them.
17181 * Show some error results in moveBatch.php
17182 * (bug 6479) Allow specification of the skin to use during HTML dumps
17183 * (bug 6461) Link to page histories in Special:Newpages
17184 * (bug 6484) Don't do message transformations when preloading messages for
17185 editing
17186 * (bug 6201) Treat spaces as underscores in parameters to {{ns:}}
17187 * (bug 6006) Allow hiding the password change fields using an authentication
17188 plugin
17189 * (bug 6489) Use appropriate link colour on Special:Shortpages
17190 * Added formatnum magic word
17191 * Added Javanese localization (jv)
17192 * (bug 6491) Apply bad image list in category galleries
17193 * (bug 6488) Show relevant log fragment in Special:Movepage
17194 * Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true
17195 * Use mysql_real_escape_string instead of addslashes for string escaping in
17196 the MySQL Database class. This may fix some rare breakage with binary fields.
17197 Note that MediaWiki does not support the multibyte character sets where a
17198 "dumb" byte replacement can be actively dangerous; UTF-8 is always safe
17199 in this regard due to the bit patterns which make head and tail bytes
17200 distinct.
17201 * (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set
17202 * (bug 6498) Use localized forms for image size in Special:Undelete
17203 * (bug 6485) Update to Indonesian translation (id) #24
17204 * Extension messages translation is now possible.
17205 * Add target namespace override selector for transwiki imports.
17206 $wgImportTargetNamespace specifies the default, to be used for
17207 Wiktionary's 'Transwiki:' namespace etc.
17208 * (bug 6506) Update to German localisation (de)
17209 * (bug 502) Avoid silly tabs on bad title by using virtual special page
17210 * (bug 6511) Add diff links to old revision navigation bar
17211 * (bug 6511) Replace 'oldrevisionnavigation' message with
17212 'old-revision-navigation'
17213 * Fix regression in Polish genitive month forms
17214 * (bug 4037) Make input handling in Special:Allpages and Special:Prefixindex
17215 more consistent: Accept just a namespace prefix and a colon, reject input
17216 with interwiki prefixes, otherwise do what Title::makeTitleSafe() does.
17217 * (bug 6516) Update to Russian translation
17218 * New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'.
17219 * Rename "searchquery" to "searchsubtitle" and support wiki text in it
17220 * Introduce updateArticleCount maintenance script which uses a better check that
17221 reflects what Article::isCountable() tests for
17222 * Introduce 'BadImage' hook; see docs/hooks.txt for more information
17223 * Add "searchsubtitleinvalid" message for searches that are not valid titles.
17224 * (bug 5962) Update to Italian localisation
17225 * (bug 6530) Update to Indonesian localisation (id) #25
17226 * (bug 6523) Fix SVG issue in rebuildImages.php
17227 * (bug 6512) Link to page-specific logs on page histories
17228 * (bug 6504) Allow configuring session name with $wgSessionName
17229 * (bug 6185) Add standard user tool links to log page views
17230 * Update to Venetian translation (vec)
17231 * Update to Slovenian translation (sl)
17232 * Add standard user tool links to deleted revision list
17233 * Separate out EditPage's getContent bits from regular Article getContent.
17234 Cleans up read-only-mode warning on empty pages and neats up some code.
17235 * (bug 6565) Strict JavaScript writing
17236 * (bug 6570) Update to Indonesian localisation (id) #26
17237 * Added Telugu translation (te)
17238 * Update to Catalan translation (ca)
17239 * (bug 6560) Avoid PHP notice when trimming ISBN whitespace
17240 * Added namespace translation to Kannada (ka)
17241 * (bug 6566) Improve input validation on timestamp conversion
17242 * Implicit group "emailconfirmed" for all users whose email addresses are
17243 confirmed
17244 * (bug 6577) Avoid multiline parser breakage on <pre> with newline in attribute
17245 * (bug 6771) Make old revisions of MediaWiki pages available with action=raw
17246
17247
17248 == Compatibility ==
17249 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
17250
17251 If you are unable to run PHP 5, you may have to stick with 1.6 for now.
17252
17253 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
17254 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
17255
17256 Experimental Oracle support has been dropped as it is unmaintained.
17257
17258 == Upgrading ==
17259 Several changes to the database have been made from 1.6:
17260
17261 * A new "langlinks" table tracks interlanguage links
17262 * A new "filearchive" table stores information on deleted files
17263 * A new "querycache_info" table stores information on query page updates
17264
17265 To ensure that these tables are filled with data, run refreshLinks.php after
17266 the upgrade.
17267
17268 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
17269 changes are made, and there is a slightly higher chance that things could
17270 break. Don't forget to always back up your database before upgrading!
17271
17272 == Configuration changes ==
17273
17274 Some configuration options have changed:
17275 * $wgAllowExternalImages now defaults to off for increased security.
17276 * $wgLocalTZoffset was in hours, it is now using minutes.
17277 * Extensions may register special pages via the $wgSpecialPages array without
17278 forcing an early load of the SpecialPage.php class file.
17279
17280 == Major new features ==
17281
17282 * Deleted files can now be archived and undeleted, if you set up an appropriate
17283 non-web-accessible directory. Set $wgSaveDeletedFiles on and an appropriate
17284 directory path in $wgFileStore['deleted']['directory']
17285 * Experimental PostgreSQL support has been updated. It may or may not be in
17286 usable shape; those interested in PostgreSQL are encouraged to follow 1.8
17287 development.
17288
17289 === Caveats ===
17290 Some output, particularly involving user-supplied inline HTML, may not
17291 produce 100% valid or well-formed XHTML output. Testers are welcome to
17292 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
17293 cases, but this is not recommended on live sites. (This must be set for
17294 MathML to display properly in Mozilla.)
17295
17296 = MediaWiki 1.6 =
17297
17298 == MediaWiki 1.6.12 ==
17299
17300 February 7, 2009
17301
17302 This is a security update to the Spring 2006 quarterly release.
17303
17304 A number of cross-site scripting (XSS) security vulnerabilities were discovered
17305 in the web-based installer (config/index.php). These vulnerabilities all
17306 require a live installer -- once the installer has been used to install a
17307 wiki, it is deactivated.
17308
17309 Note that cross-site scripting vulnerabilities can be used to attack any
17310 website in the same cookie domain. So if you have an uninstalled copy of
17311 MediaWiki on the same site as an active web service, MediaWiki could be used to
17312 attack the active service.
17313
17314 If you are hosting an old copy of MediaWiki that you have never installed, you
17315 are advised to remove it from the web.
17316
17317 == MediaWiki 1.6.11 ==
17318
17319 December 15, 2008
17320
17321 This is a security update to the Spring 2006 quarterly release.
17322
17323 David Remahl of Apple's Product Security team has identified a number of
17324 security issues in previous releases of MediaWiki. Subsequent analysis by the
17325 MediaWiki development team expanded the scope of these vulnerabilities. The
17326 issues with a significant impact are as follows:
17327
17328 * An XSS vulnerability affecting Internet Explorer clients for all MediaWiki
17329 installations with uploads enabled. [CVE-2008-5250]
17330 * An XSS vulnerability affecting clients with SVG scripting capability (such as
17331 Firefox 1.5+), for all MediaWiki installations with SVG uploads enabled.
17332 [CVE-2008-5250]
17333 * A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki
17334 installations since the feature was introduced in 1.3.0. [CVE-2008-5252]
17335
17336 XSS (cross-site scripting) vulnerabilities allow an attacker to steal an
17337 authorised user's login session, and to act as that user on the wiki. The
17338 authorised user must visit a web page controlled by the attacker in order to
17339 activate the attack. Intranet wikis are vulnerable if the attacker can
17340 determine the intranet URL, even if the attacker cannot access it.
17341
17342 CSRF vulnerabilities allow an attacker to act as an authorised user on the
17343 wiki, but unlike an XSS vulnerability, the attacker can only act as the user in
17344 a specific and restricted way. The present CSRF vulnerability allows pages to
17345 be edited, with forged revision histories. Like an XSS vulnerability, the
17346 authorised user must visit the malicious web page to activate the attack.
17347
17348 Rather than backport our SVG validation code to this ancient branch, we have
17349 instead disabled SVG uploads. To enable SVG uploads, please upgrade to
17350 MediaWiki 1.13.3 or later.
17351
17352 The other two issues have been fixed.
17353
17354 == MediaWiki 1.6.10 ==
17355
17356 February 20, 2007
17357
17358 This is a security and bug-fix update to the Spring 2006 quarterly release.
17359
17360 An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7
17361 charset autodetection was located in the AJAX support module, affecting MSIE
17362 users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled.
17363
17364 If you are using an extension based on the optional Ajax module, either disable
17365 it or upgrade to a version containing the fix:
17366
17367 * 1.9: fixed in 1.9.3
17368 * 1.8: fixed in 1.8.4
17369 * 1.7: fixed in 1.7.3
17370 * 1.6: fixed in 1.6.10
17371
17372 There is no known danger in the default configuration, with $wgUseAjax off.
17373
17374 * ([[mediazilla:8819|bug 8819]]) Fix full path disclosure with skins
17375 dependencies
17376 * Add 'charset' to Content-Type headers on various HTTP error responses to
17377 forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by
17378 default when the script didn't specify more details, which some inconsiderate
17379 browsers consider a license to autodetect the deadly, hard-to-escape UTF-7.
17380 This fixes an issue with the Ajax interface error message on MSIE when
17381 $wgUseAjax is enabled (not default configuration); this UTF-7 variant on a
17382 previously fixed attack vector was discovered by Moshe BA from BugSec:
17383 http://www.bugsec.com/articles.php?Security=24
17384 * Trackback responses now specify XML content type
17385
17386 == MediaWiki 1.6.9 ==
17387
17388 January 9, 2007
17389
17390 * ([[mediazilla:6621|bug 6621]]) Backported German translation for
17391 'eauthentsent'
17392
17393 * ([[mediazilla:6680|bug 6680]]) Added localisation for Dutch bookstore list
17394 (nl)
17395 * ([[mediazilla:6730|bug 6730]]) Clearer usage of message 'titlematch' in
17396 German translation (de)
17397 * XSS fix in AJAX module
17398
17399 An XSS injection vulnerability was located in the AJAX support module,
17400 affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is
17401 enabled.
17402
17403 There is no danger in the default configuration, with $wgUseAjax off.
17404
17405 If you are using an extension based on the optional AJAX module, either disable
17406 it or upgrade to a version containing the fix:
17407
17408 * 1.9: fixed in 1.9.0rc2
17409 * 1.8: fixed in 1.8.3
17410 * 1.7: fixed in 1.7.2
17411 * 1.6: fixed in 1.6.9
17412
17413 == MediaWiki 1.6.8 ==
17414
17415 July 8, 2006
17416
17417 MediaWiki 1.6.8 is a security and bugfix maintenance release of the Spring 2006
17418 snapshot:
17419
17420 A potential HTML/JavaScript-injection vulnerability in a debugging script has
17421 been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS
17422 overwrite vulnerability are affected.
17423
17424 As a workaround for existing installs, profileinfo.php may simply be deleted if
17425 it's not being used.
17426
17427 * ([[mediazilla:5957|bug 5957]]) Updates to Hebrew translation (he)
17428 * Respect language directionality when displaying arrow in
17429 Special:Brokenredirects
17430 * ([[mediazilla:6415|bug 6415]]) Typo in Parser.php
17431 * Fixed potential XSS in profileinfo.php
17432
17433 == MediaWiki 1.6.7 ==
17434
17435 June 6, 2006
17436
17437 MediaWiki 1.6.7 is a security and bugfix maintenance release of the Spring 2006
17438 snapshot:
17439
17440 An HTML/JavaScript-injection vulnerability in the edit form has been closed.
17441 This vulnerability was new in 1.6.0; MediaWiki versions 1.5.x or earlier are
17442 not affected.
17443
17444 Extensions, comments, and <nowiki><nowiki></nowiki> sections are now handled in
17445 a one-pass way which is more reliable and safer. Under earlier versions of
17446 MediaWiki, certain extensions could be abused to inject HTML/JavaScript into
17447 the page.
17448
17449 Additional precautions are made against offsite form submissions when the
17450 restricted raw HTML mode is enabled.
17451
17452 Some small localization and user interface updates are also included.
17453
17454 *([[MediaZilla:6051|bug 6051]]) Improvement to German localisation (de)
17455 *([[MediaZilla:6017|bug 6017]]) Update bookstore list for German language (de)
17456 *([[MediaZilla:6138|bug 6138]]) Minor grammar tweak in "loginreqlink"
17457 *([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
17458 *Increase robustness of parser placeholders; fixes some glitches when adjacent
17459 to identifier-ish constructs such as URLs.
17460 *([[MediaZilla:5384|bug 5384]]) Fix <nowiki><!-- comments --> in <ref></nowiki>
17461 extension
17462 *Nesting of different tag extensions and comments should now work more
17463 consistently and more safely. A cleaner, one-pass tag strip lets the 'outer'
17464 tag either take source (<nowiki><nowiki></nowiki>-style) or pass it down to
17465 further parsing (<nowiki><ref></nowiki>-style). There should no longer be
17466 surprise expansion of foreign extensions inside HTML output, or differences in
17467 behavior based on the order tags are loaded.
17468 *([[MediaZilla:885|bug 885]]) Pre-save transform no longer silently appends
17469 close tags
17470 *Pre-save transform no longer changes the case of close tags
17471 *Edit security precautions in raw HTML mode, etc
17472
17473 == MediaWiki 1.6.6 ==
17474
17475 May 23, 2006
17476
17477 MediaWiki 1.6.6 is a security and bugfix maintenance release.
17478
17479 An XSS injection vector in brace replacement has been fixed, as have some
17480 potential problems with table parsing. Upgrading is strongly recommended for
17481 all users of 1.6. MediaWiki versions 1.5 and earlier are not affected.
17482
17483 Additionally some localization and user interface updates are included.
17484
17485 * Correct "revertpage" message in English
17486 * ([[MediaZilla:5507|bug 5507]]) Logouttext now uses wiki markup
17487 * (bugs [[MediaZilla:5857|5857]], [[MediaZilla:5957|5957]]) Update for German
17488 localisation (de)
17489 * ([[MediaZilla:5586|bug 5586]]) <nowiki><gallery></nowiki> treated text as
17490 links
17491 * ([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he)
17492 * ([[MediaZilla:6025|bug 6025]]) SpecialImport: wrong message when no file
17493 selected
17494 * ([[MediaZilla:6015|bug 6015]]) EditPage: add spacing in the boxes "edit is
17495 minor" and "watch this"
17496 * ([[MediaZilla:6018|bug 6018]]) Userrights: new message when no user specified
17497 ('nouserspecified')
17498 * ([[MediaZilla:6055|bug 6055]]) Fix for HTML/JS injection bug in variable
17499 handler (found by Nick Jenkins)
17500 * Reordered wiki table handling and <nowiki>__TOC__</nowiki> extraction in the
17501 parser to better handle some overlapping tag cases.
17502 * Only the first <nowiki>__TOC__</nowiki> is now turned into a TOC.
17503 * ([[MediaZilla:361|bug 361]]) URL in URL, they were almost fixed. Now they are.
17504
17505 == MediaWiki 1.6.5 ==
17506
17507 May 2, 2006
17508
17509 * Rolled back the buggy patch for [[MediaZilla:5497|bug 5497]].
17510
17511 == MediaWiki 1.6.4 ==
17512
17513 May 2, 2006
17514
17515 * Further improvements to Hebrew localisation
17516 * ([[MediaZilla:5544|bug 5544]]) Fix redirect arrow in Special:Listredirects
17517 for right-to-left languages
17518 * Replace "doubleredirectsarrow" with a content language check that picks the
17519 appropriate arrow
17520 * Remove live debugging hack which caused errors with certain database names
17521 * ([[MediaZilla:5510|bug 5510]]) Warning produced when using
17522 <nowiki>{{SUBPAGENAME}}</nowiki> in some namespaces
17523 * ([[MediaZilla:5548|bug 5548]]) Improvements to Indonesian localisation
17524 [patch: Ivan Lanin]
17525 * ([[MediaZilla:5403|bug 5403]]) Fix Special:Newpages RSS/Atom feeds
17526 * ([[MediaZilla:3359|bug 3359]]) Add hooks on completion of file upload
17527 * ([[MediaZilla:5184|bug 5184]]) CSS misapplied to elements in
17528 Special:Allmessages due to conflicting anchor identifiers
17529 * ([[MediaZilla:5519|bug 5519]]) Allow sidebar cache to be disabled; disable it
17530 by default.
17531 * Add $wgReservedUsernames configuration directive to block account creation/use
17532 * ([[MediaZilla:5576|bug 5576]]) Remove debugging hack in session check
17533 * ([[MediaZilla:5181|bug 5181]]) Update "nogomatch" for Slovak
17534 * ([[MediaZilla:5594|bug 5594]]) Id translation up to '# Login and logout
17535 pages' section
17536 * ([[MediaZilla:5536|bug 5536]]) Use content language for editing help link
17537 * Minor improvements to English language files
17538 * Improvements to German localisation files
17539 * ([[MediaZilla:5628|bug 5628]]) Translations for MessagesHr.php
17540 * (bugs [[MediaZilla:5595|5595]], [[MediaZilla:5644|5644]]) Localisation for
17541 Bosnian language (bs)
17542 * ([[MediaZilla:5592|bug 5592]]) Actions are logged with the default language
17543 for the wiki, not the language of the user performing the operation.
17544 * ([[MediaZilla:5646|bug 5646]]) Compare for identical types in wfElement()
17545 * Fix for concurrency problem in job queue (image description page invalidation)
17546 * ([[MediaZilla:5497|bug 5497]]) regeression in HTML normalization in 1.6
17547 (unclosed <nowiki><li>,<dd>,<dt></nowiki>)
17548 * ([[MediaZilla:5709|bug 5709]]) Allow customisation of separator for categories
17549 * ([[MediaZilla:4834|bug 4834]]) Fix XHTML output when using $wgMaxTocLevel
17550 * Improvements to update scripts; print out the version, check for superuser
17551 credentials before attempting a connection, and produce a friendlier error if
17552 the connection fails
17553 * ([[MediaZilla:5005|bug 5005]]): Fix XHTML <nowiki><gallery></nowiki> output.
17554 * ([[MediaZilla:5315|bug 5315]]) "Expires: -1" HTTP header made strictly valid
17555 (using 1970 date).
17556 * ([[MediaZilla:4825|bug 4825]]): note in DefaultSettings.php about 'profiling'
17557 table creation
17558 * Remove unneeded extra whitespace at top of Special:Categories
17559 * Rewrite reassignEdits script to be more efficient; support optional updates
17560 to recent changes table; add reporting and silent modes
17561 * Updated initStats maintenance script
17562 * ([[MediaZilla:5723|bug 5723]]) Don't count pages linked to from the MediaWiki
17563 namespace as "wanted"
17564 * ([[MediaZilla:5789|bug 5789]]) Treat "loginreqpagetext" as wikitext
17565 * ([[MediaZilla:5796|bug 5796]]) We require MySQL >=4.0.14
17566
17567 == MediaWiki 1.6.3 ==
17568
17569 April 10, 2006
17570
17571 * Fix disappearing red-linked items in the watchlist editing view
17572 * ([[MediaZilla:5512|bug 5512]]) Spacing in "page has a history" deletion
17573 warning
17574 * ([[MediaZilla:5508|bug 5508]]) Switch ENGINE in table statements back to
17575 TYPE; fixes regression where some versions of MySQL 4.0.x wouldn't work
17576 * Added note about [[Manual:$wgUrlProtocols|$wgUrlProtocols]] format change
17577
17578 == MediaWiki 1.6.2 ==
17579
17580 April 8, 2006
17581
17582 * Further improvements to Hebrew localisation
17583 * Fix 'copyright' message for Romanian
17584 * ([[MediaZilla:5476|bug 5476]]) Invalid xhtml in German localization
17585 * ([[MediaZilla:5479|bug 5479]]) Id translation for preferences tabs caption
17586 * ([[MediaZilla:5493|bug 5493]]) Id translation for special pages
17587 * Additional path fixes in the updater
17588 * ([[MediaZilla:5344|bug 5344]]) Fix regression that broke slashes in extension
17589 tag parameters
17590
17591 == MediaWiki 1.6.1 ==
17592
17593 April 5, 2006
17594
17595 Some minor issues in the 1.6.0 release have been corrected:
17596 * ([[MediaZilla:5458|bug 5458]]) Fix double-URL encoding in block log link in
17597 contribs and contribs link in block log
17598 * ([[MediaZilla:5462|bug 5462]]) Bogus missing patch warning in updater
17599 * ([[MediaZilla:5461|bug 5461]]) Use of deprecated "showhideminor" in
17600 Special:Recentchangeslinked
17601 * PHP warning when allow_call_time_pass_reference is off
17602 * Update to Finnish localization
17603
17604 == MediaWiki 1.6.0 ==
17605
17606 April 5, 2006
17607
17608 MediaWiki is now using a "continuous integration" development model with
17609 quarterly snapshot releases. The latest development code is always kept "ready
17610 to run", and in fact runs our own sites on Wikipedia.
17611
17612 Release branches will continue to receive security updates for about a year
17613 from first release, but nonessential bugfixes and feature development will take
17614 place on the development trunk and will appear in the next quarterly release.
17615
17616 Those wishing to use the latest code instead of a branch release can [[Download
17617 from SVN|obtain it from source control]].
17618
17619 === What's new in 1.6 ===
17620
17621 '''User interface:'''
17622 * The account creation form has been separated from the user login form.
17623 * Page protection/unprotection uses a new, expanded form
17624
17625 '''Templates:'''
17626 * Categories and "what links here" now update as expected when adding or
17627 removing links in a template.
17628 * Template parameters can now have default values, as <nowiki>{{{name|default
17629 value}}}</nowiki>
17630
17631 '''Uploads:'''
17632 * Optional support for rasterizing SVG images to PNG for inline display
17633
17634 '''Feeds:'''
17635 * Feed generation upgraded to Atom 1.0
17636 * Diffs in RSS and Atom feeds are now colored for improved readability.
17637
17638 '''Database:'''
17639 * MySQL 3.23.x support dropped; 4.0 or later required
17640 * Experimental support for Unicode mode of MySQL 4.1/5.0 (moderately tested)
17641 * Experimental Oracle support (not well tested!)
17642
17643 '''Anti-spam extension support:'''
17644 * [[meta:SpamBlacklist extension|SpamBlacklist extension]] now has support for
17645 automated cleanup.
17646 * Support for a [[meta:ConfirmEdit extension|captcha extension]] to restrict
17647 automated spam edits.
17648
17649 Numerous bug fixes and other behind-the-scenes changes have been made; see the
17650 file HISTORY for a complete change list.
17651
17652 == Changes since 1.5 ==
17653
17654 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
17655
17656 Code quality:
17657 * Use strval() to make sure we don't accidentally get null on bad revision
17658 text loads or other fields mucking up XML export output
17659 * Clean up duplicate code for selection of changeslist style
17660 * Correct blob caching to reduce redundant blob loads on backups
17661 * (bug 3182) Clear link cache during import to prevent memory leak
17662 * Fixed possible infinite loop in formatComment
17663 * Wrap message page insertions in a transaction to speed up installation
17664 * Avoid notice warning on edit with no User-Agent header
17665 * (bug 3649) Remove obsolete, broken moveCustomMessages script
17666 * Avoid numerous redundant latest-revision lookups in history
17667 * Require PHP 4.3.2 or higher strictly now.
17668 * Tweak infinite-template-handling loop for PHP 5.1.1 string handling change
17669 * Remove unused OutputPage::addCookie()
17670 * Fix for short_open_tag off again; please don't break this, guys
17671 * (bug 4507) Adjust FULLPAGENAMEE escaping to standard form
17672 * (bug 5302) Merge the two #p-search .pBody statements in monobook css.
17673
17674 Database:
17675 * Finally dropped MySQL 3.23.x support
17676 * Oracle support
17677 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
17678 * Update all stats fields on recount.sql
17679 * (bug 3227) Fix SQL injection introduced in experimental code
17680 * Fix table prefix usage in Block::enumBlocks
17681 * (bug 3448) Set page_len on undelete
17682 * (bug 3506) Avoid MySQL error when Listusers returns no results
17683 * Skip update of disused 'rc_cur_time' field (todo: discard the field)
17684 * (bug 3735) Fix to run under MySQL 5's strict mode
17685 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
17686 NOTE: Enabling this may break existing wikis, and still doesn't
17687 work for all Unicode characters due to MySQL limitations.
17688 * MySQL 5.0 strict mode fix for moving unwatched pages
17689 * Ability to set the table name for external storage servers
17690 * Update ipblocks table in MySQL 5 table defs
17691 * Removed FulltextStoplist.php, no longer used (was for MySQL 3.x workaround)
17692 * Added templatelinks table, to track template inclusions. User-visible effects
17693 will be:
17694 * (inclusion) tag for inclusions in Special:Whatlinkshere
17695 * More accurate list of used templates on the edit page
17696 * More reliable cache invalidation when templates outside the template
17697 namespace are changed
17698 * Respect database prefix in dumpHTML.inc
17699 * Removed read-only check from Database::query()
17700 * Added externallinks table, to track links to arbitrary URLs
17701 * Added job table, for deferred processing of jobs. The immediate application is
17702 to complete the link table refresh operation when templates are changed.
17703 * Don't change the password of the MySQL root user.
17704
17705 Documentation:
17706 * (bug 3306) Document $wgLocalTZoffset
17707
17708 Hooks:
17709 (list not complete)
17710 * Move ArticleSave hook execution into Article insert/update functions,
17711 so they get called on non-EditPage actions that use these functions
17712 to create or update pages.
17713 * Added EditFilter hook, and output callback on EditPage::showEditForm()
17714 for a place to add in captcha-type extensions in the edit flow
17715 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
17716 * Fix for hook callbacks on objects containing no fields
17717 * Add a hook for additional user creation throttle / limiter extensions
17718 * Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser
17719 instance. This allows use of extension hooks if required.
17720 * Added AutoAuthenticate hook for external User object suppliers
17721 * Added 'PageRenderingHash' hook for changing the parser cache hash key
17722 from an extension that changes rendering based on nonstandard options.
17723 * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones
17724 * (bug 4456) Add hook for marking article patrolled
17725 * Add UserRights hook, fires after a user's group memberships are changed
17726
17727 Images:
17728 * Support SVG rendering with rsvg
17729 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
17730 * (bug 3127) Render large SVGs at image page size correctly
17731 * Fix scaling of non-integer SVG unit sizes
17732 * (bug 2800) Don't scale up small images on |thumb| without explicit size
17733 * Use the real file link instead of the default-size rasterized version for
17734 large SVG images on image description page
17735 * Include the file name/type/size line for non-resized images
17736 * (bug 3489) PHP 5.1 compat problem with captioned images
17737 * (bug 3643) Fix image page display of large images with resizing disabled
17738 * Added a limit to the size of image files which can be thumbnailed
17739 * (bug 3806) Gracefully fall back to client-side scaling on |thumb| image
17740 that passes $wgMaxImageArea
17741 * (bug 153) Adjust thumbnail size calculations to match consistently;
17742 patch by David Benbennick
17743 * (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to
17744 be rerendered on demand, sitewide
17745 * (bug 1850) Additional fixes so existing local and remote images
17746 get a blue link even if there's no local description page
17747 * Avoid FATAL ERROR when creating thumbnail of non-existing image
17748 * (bug 4207) Wrong image size when using 100x200px syntax to scale image up
17749 patch by David Benbennick
17750 * Don't delete thumbnails when refreshing exif metadata. This caused thumbs
17751 to vanish mysteriously from time to time for files that didn't have metadata.
17752 * (bug 4426) Add link to user_talk page on image pages
17753 * Support a custom convert command for thumbnailing. See DefaultSettings.php
17754 and the comments for $wgCustomConvertCommand, for more information.
17755 * UserCan hook now allows advisory return values, rather than mandatory ones.
17756
17757 Installer:
17758 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
17759 Why do people invent these crazy options that change language semantics?
17760 * Fixed installer bugs 921 and 3914 (issues with using root and so forth)
17761 * (bug 4258) Use ugly urls for ISAPI by default
17762 patch by Rob Church
17763 * Improve installer
17764 * Use a superuser account (such as root), if specifed, to create tables
17765 * Don't overwrite conservative permissions on the mySQL user with ALL
17766 permissions, if said user exists
17767 * Changes to some of the wording of explanations for fields
17768 * (bug 1734) granting db permissions failed with db usernames containg '-'
17769 * Add basic check for session support in PHP and die if not present
17770
17771 Maintenance:
17772 * Fix problem reported on mailing list where re-initialising stats didn't work
17773 (can't insert duplicate rows with the same id field)
17774 * Added --conf option to command line scripts, allowing the user to specify a
17775 different LocalSettings.php.
17776 * Maintenance script to delete unused text records
17777 * Maintenance script to delete non-current revisions
17778 * Maintenance script to wipe a page and all revisions from the database
17779 * Maintenance script to reassign edits from one user to another
17780 * Maintenance script to find and remove links to a given domain
17781 (cleanupSpam.php)
17782 * Fix --report interval option for dumpTextPass
17783
17784 i18n / Languages:
17785 * Partial support for Basque language (from wikipedia and meta)
17786 * (bug 3141) Partial support for Breton language (thanks Fulup).
17787 * Support for venitian language
17788 * (bug 1334) LanguageGa.php update
17789 * Finnish date format was hardcoded, now implemented properly
17790 * (bug 3190) Added some date format choices for language sr
17791 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
17792 * (bug 3204) Fix typo breaking special pages in fy localization
17793 * (bug 3177) Estonian date formats not implemented in LanguageEt.php
17794 * (bug 1020) Changing user interface language does not work immediately
17795 * (bug 3271) Updated LanguageNn.php for HEAD
17796 * Experimental feature to allow translation of block expiry times
17797 Implementation only for Finnish currently
17798 * (bug 3304) Language file for Croatian (LanguageHr.php)
17799 * (bug 2143) Update Vietnamese interface
17800 * (bug 3063) Remove some hardcodings from Hebrew localisation
17801 * (bug 3408) Bulgarian formatNum corrected
17802 * (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more
17803 harm than good under current system by breaking incoming URLs with "ux".
17804 (Editing is not affected, just URLs.)
17805 * (bug 1423) LanguageJa.php update
17806 * Fix language name for dv
17807 * (bug 3503) Update LanguageSq.php from sq.wikipedia.org messages
17808 * (bug 3629) Fix date & time format for Frisian
17809 * (bug 3334) Namespace changes for Polish
17810 * (bug 3580) Change default Dutch language file to more neutral
17811 * (bug 3656) LanguageHr.php - added convertPlural
17812 * (bug 3414) LanguageBe.php - added convertPlural
17813 * (bug 3163) Full translation of LanguageBr
17814 * (bug 3617) Update for portuguese language (pt)
17815 * Namespaces hacks on LanguagePl
17816 * (bug 3682) LanguageSr.php - added convertPlural
17817 * (bug 3694) LanguageTr.php update
17818 * (bug 3711) Removed invisible unicode characters from LanguageHu
17819 * (bug 2981) Linktrail for Tamil (ta)
17820 * (bug 3722) Update of Arabic language (ar) Namespace changes
17821 * Removed hardcoded Norwegian (no) project namespaces
17822 * (bug 2324) image for redirects should be without text and oriented according
17823 to content language
17824 * (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language
17825 * (bug 3817) Use localized date formats in preferences; 'no preference' option
17826 localizable as 'datedefault' message. Tweaked lots of languages files...
17827 * (bug 2721) Regression: Use European number separators for vi: wikis
17828 * (bug 3961) minor languageDe changes
17829 * (bug 1984) LanguageKo.php (Korean) update
17830 * (bug 3804) update of LanguageWa.php file
17831 * (bug 3886) Update for Portuguese language (pt)
17832 * (bug 4020) Update namespaces for ms
17833 * (bug 3922) bidi embedding overrides on category links
17834 * (bug 4061) Update of Slovene namespace names (LanguageSl.php)
17835 * (bug 4064) LanguageDe comma changes
17836 * (bug 3922) Further tweaks to bidi overrides in category list for old
17837 versions of Safari and Konqueror
17838 * Fix custom namespaces on wikis set for Portuguese
17839 * (bug 4153) Fix block length localizations in Greek
17840 * (bug 3844) ab: av: ba: ce: & kv: now inherit from LanguageRu.php
17841 ii: & za: now inherit from LanguageZn_cn.php
17842 * (bug 4165) Correct validation for user language selection (data taint)
17843 * (bug 4192) Remove silly 'The Free Encyclopedia' default sitesubtitle
17844 * Use content-lang for sitenotice
17845 * (bug 4233) Update LanguageJa.php
17846 * (bug 4279) Small correction to LanguageDa.php
17847 * (bug 4108, 4336) Remove trailing whitespace from various messages, which
17848 mucks up message updating to create dupe entries
17849 * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized)
17850 * (bug 4392) Update of LanguageSr.php
17851 * (bug 4382) Frisian numeric format
17852 * (bug 4424) Update for Spanish language (es) 100% messages translated
17853 * (bug 4425) Typos in Polish translation
17854 * (bug 4436) Update for Turkish language (tr)
17855 * (bug 4413) Update of Farsi language file (LanguageFa.php)
17856 * Update for LanguageSr (Serbian): magic words
17857 * (bug 137) MediaWiki:Copyrightwarning hardcoding
17858 * (bug 4457) Update for Portuguese language (pt)
17859 * convertPlural breakage fixed a little
17860 * (bug 4144) Support for Sudanese language (Basa Sunda)
17861 * Big cleanup:
17862 - Removed obsolote, badly or untranslated messages
17863 - Removed references to wikipedia/wikimedia etc in messages
17864 - Other cleanup, like removing html and javascript and extension calls
17865 - Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
17866 - Removed some useless backwards compatibility hacks
17867 - Fixed formatnum on many languages
17868 * wgAmericanDates check produced incorrect results in languages that don't have
17869 a such distinction
17870 * (bug 4548) Update for Portuguese language (pt): time format
17871 * (bug 4530) Use consistent name for Kurdish
17872 * Tweak default "upload disabled" text
17873 * (bug 4504) Use site language for namespace name resolution
17874 * (bug 4510) Correct Barnes & Noble bookstore URLs
17875 * (bug 3991) Allow the operation of wikicode on Protect move only text
17876 * (bug 4267) Switch dv sd ug ks arc languages to RTL
17877 * Default main page content improved per bug 4690
17878 * (bug 4615) Update for Portuguese language (pt)
17879 * Separated MessagesSl.php as the other languages.
17880 * (bug 4960) Add additional namespaces variants to Yiddish for compatibility
17881 * (bug 4805) Removed more wikipedia-references from MessagesUk.php
17882 * (bug 5015) Update magic words translation in LanguageBe.php
17883 * (bug 4859) Update for Portuguese messages (pt)
17884 * (bug 4788) One string for MessagesPl
17885 * Restriction types now use restriction-* messages instead of ui messages
17886 * (bug 4685) Slovenian LanguageSl.php hardcodes project namespace
17887 * (bug 5097) Fix Hungarian language (hu): thousands separator
17888 * (bug 5098) Update for Portuguese messages (pt)
17889 * (bug 5113) Spelling error in French language file
17890 * (bug 5105) Magic words for LanguageAr.php
17891 * (bug 3993) Variants for Serbian language
17892 * Typo in English messages file
17893 * (bug 4114) Spacing in watchlist rows (in editing mode)
17894 * Update default "exporttext" to reflect that Special:Import exists
17895 * (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews
17896 fix
17897 * (bug 5357) Add the icon near the user name also in RTL interfaces
17898 * (bug 5156) Update for Hebrew language (he)
17899 * (bug 4497,4704,5010) Added some new language codes.
17900 * (bug 5362) Piedmontese added
17901 * (bug 5349) Update for Portuguese messages (pt)
17902 * (bug 3573) Finished full Greek translation: namespaces
17903 * (bug 5288) Initial localisation for Az
17904 * (bug 4361) Fix "allmessagesnotsupportedui" so it doesn't refer to nonexisting
17905 page
17906 * Tweak wording of "allmessagesnotsupporteddb"
17907
17908 Parser:
17909 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
17910 * (bug 3210) Fix Media: links with remote image URL path
17911 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
17912 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
17913 format as designed. Documentation comments updated.
17914 * Fix Parser::unstrip on PHP 5.1.0RC4
17915 * (bug 3797) Don't expand variables and sigs in comments
17916 * Allow parser cache on redirect targets
17917 * Run wikitext-escaping on plaintext sigs (no wiki markup, just name)
17918 * Check for unbalanced HTML tags on raw sigs (markup allowed, but show
17919 a warning in prefs and use default sig if not balanced)
17920 * Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as
17921 ordinary templates.
17922 * Support <includeonly> in templates loaded through preload= parameter
17923 * (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
17924 * Substitute {{REVISIONID}} correctly in diff display
17925 * (bug 1850) Allow red-links on image pages linked with [[:image:foo]]
17926 * Fix XML validity checks in parser tests on PHP 5.1
17927 * (bug 4377) "[" is not valid in URLs
17928 * (bug 4453) fix for __TOC__ dollar-number breakage
17929 * Convert unnecessary URL escape codes in external links to their equivalent
17930 character before doing anything with them. This prevents certain kinds of
17931 spam filter evasion.
17932 * (bug 4783) : Fix for "{{ns:0}} does not render"
17933 * Improved support for interwiki transclusion
17934 * (bug 1850) Image link to nonexistent file fixed.
17935 * (bug 5167) Add {{SUBPAGENAME}} and {{SUBPAGENAMEE}} variables
17936 * (bug 4949) Missing : in "addedwatchtext" for English and Spanish
17937 * Allow user-defined functions, which work in a similar way to {{GRAMMAR:}}
17938 etc. Registered via an interface similar to tag hooks.
17939
17940 Upload:
17941 * (bug 2527) Always set destination filename when new file is selected
17942 * (bug 3076) Support MacBinary-encoded uploads from IE/Mac
17943 * (bug 2554) Tell users they are uploading too large file
17944 * Support for a license selection box on Special:Upload, configurable from
17945 MediaWiki:Licenses
17946 * Add 'reupload' and 'reupload-shared' permission keys to restrict new uploads
17947 overwriting existing files; default is the old behavior (allowed).
17948
17949 Security:
17950 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
17951 * (bug 3280) Respect 'move' group permission on page moves
17952 * (bug 2613) Clear saved passwords from the form
17953 * IP privacy fix for blocklist search on autoblocks
17954 * Security fix for <math>
17955 * Security fix for tables
17956 * Security fix for Special:Upload license selection list
17957 * Add UploadVerification hook for custom file upload validation/security checks
17958 * Blacklist additional MSIE CSS safety tricks
17959 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
17960 versions for convenient harvesting by automated worms
17961 * Sanitizer CSS comment processing order fix
17962 * Forbid usernames that can be interpreted as titles with namespaces, as that
17963 leads to hard-to-manage names.
17964 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
17965 * Add createpage and createtalk permission keys, allowing a quick
17966 switch to disable page creation for anonymous users.
17967 * (bug 675) Add page protection level for unregistered/new accounts
17968 * User::isNewbie now uses the registration date and $wgAutoconfirmAge
17969 * Add 'deletedhistory' permission key for ability to view deleted history
17970 list via Special:Undelete. Default is off, replicating the 1.5 behavior,
17971 but it can be turned back on for random users to replicate the previous
17972 1.6 dev behavior.
17973 * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure
17974 * (bug 4371) Disallow tilde character in signatures
17975 * Removed broken wgAllowAnonymousMinor and added new group right minoredit
17976 * Added detection for WMF files (application/x-msmetafile), added this
17977 MIME type to the default blacklist. Prevented inline display of images
17978 which are not of known image types. This is in response to
17979 http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
17980 * Blocked users can no longer roll back, change the protection of, or
17981 delete/undelete pages
17982 * Protect against spoofing of X-Forwarded-For header
17983 * XSS issue : now sanitize search query input (fixed in 1.5rc3)
17984 * Remove deprecated $wgOnlySysopsCanPatrol references; use
17985 User::isAllowed( 'patrol' )
17986 per bug 5282. Patch by Alan Harder.
17987 * Prevent registration/login with the username "MediaWiki default"
17988
17989 Special Pages:
17990 * Rearranged Special:Movepage form to reduce confusion between destination
17991 title and reason input boxes
17992 * (bug 1956) Hide bot uploads from Special:Newimages
17993 * (bug 3220) Fix escaping of block URLs in Recentchanges
17994 * (bug 3284) Ipblocklist paging, substring search
17995 * Allow filtering of robot edits in Special:Watchlist by setting
17996 $wgFilterRobotsWL = true.
17997 * Fix interlanguage links on special pages when extra namespaces configured
17998 * (bug 3475) anon contrib links on Special:Newpages
17999 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
18000 * (bug 2369) Add separate message for input box on Special:Prefixindex
18001 * (bug 3798) DoubleRedirects no longer has hard coded arrows
18002 * (bug 3803) Fix links on Special:Wantedcategories with miser mode off
18003 * Fix Special:BrokenRedirects on MySQL 5.0
18004 * (bug 3807) Fix 'all' in namespaces drop-down on contribs, rc
18005 * Fail gracefully on invalid namespace in Special:Newpages
18006 * (bug 3762) Define missing Special:Import UI messages
18007 * (bug 3761) Avoid deprecation warnings in Special:Import
18008 * (bug 2894) Enhanced Recent Changes link fixes
18009 * (bug 4059) fix 'hide minor edits' on Recentchangeslinked
18010 * (bug 146) List number of category members in Special:Categories
18011 (patch by Joel Nothman)
18012 * (bug 4090) Fix diff links in Special:Recentchangeslinked
18013 * (bug 4093) '&bot=1' in Special:Contributions now propagate to other links
18014 * Fix display of old recentchanges records for page moves
18015 * (bug 360) Let Whatlinkshere track [[:image:foo]] links
18016 * (bug 3073) Keep search parameter on paging in Special:Newimages
18017 * Removed Special:Validate, it's been superseded by the Review extension
18018 * (bug 4359) red [[user:#id]] links generated in [[special:Log]]
18019 * (bug 1996) Special page to list redirects
18020 * (bug 4334) Add "watch" links to Special:Unwatchedpages
18021 * Generate target user page links in Special:Ipblocklist where appropriate
18022 (i.e. not an autoblock)
18023 * Generate link to talk page of the blocker in Special:Ipblocklist, move
18024 contribs. link of the target next to their name
18025 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
18026 * Move parentheses out of <a> link in Special:Contributions
18027 * (bug 3192): properly check 'limit' parameter on Special:Contributions
18028 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
18029 * Add block, block log and general log links to Special:Contributions
18030 * Add contributions link to block log items
18031 * Added optional "hide own edits" feature to Special:Recentchanges
18032 * (bug 5018) Anchors for each message in Special:Allmessages
18033 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
18034 list pages with less than this number of links. Defaults to 1.
18035 * (bug 4319) Don't show a "create account" link on the login form when
18036 account creation is disabled.
18037 * JavaScript filter for Special:Allmessages
18038 * (bug 3047) Don't mention talk pages on Special:Movepage when there isn't one
18039 * Show links to user page, talk page and contributions page on Special:Newpages
18040 * Special:Export can now export a list of all contributors to an article (off by
18041 default)
18042 * (bug 5372) Add number of files to Special:Statistics
18043 * (bug 2871) Links to talk pages in watchlist editing view
18044 * (bug 5385) Allow hiding anonymous edits on Special:Recentchanges
18045 * (bug 2544) Illogical error reporting order in Special:Userlogin
18046 * (bug 5409) Hide "show/hide patrolled edits" in Special:Recentchanges if
18047 patrolling is disabled
18048 * (bug 5447) Convert first letter of username to uppercase before searching in
18049 Special:Listusers
18050 * (bug 759) Wrap redirects on the watchlist editing page in a span, class
18051 "watchlistredir"
18052 * (bug 1862) Namespace filtering in watchlists
18053
18054 Misc.:
18055 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
18056 if running prior to 4.2.0 as it causes the call to fail
18057 * (bug 3117) Fix display of upload size and type with tidy on
18058 * (bug 2323) Remove "last" tabindex from history page
18059 * (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]]
18060 * Fix display of read-only lockfile message
18061 * Include software-visible client IP address in Special:Version comment
18062 as a proxy debugging aid
18063 * (bug 3170) Page Title failed to obey MediaWiki:Pagetitle.
18064 wikititlesuffix was removed
18065 * Add ability to break off certain debug topics into additional log files;
18066 use $wgDebugLogGroups to configure and wfDebugLog() to log.
18067 * Edit conflict on recreation of deleted page
18068 * (bug 3216) Don't show empty warning page when no warnings.
18069 * (bug 3218) Use proper quoting on history Compare Revisions button
18070 * Fix upgrade from 1.4 due to version number check breakage [for rc future]
18071 * Fix upgrade from 1.4 with no old revisions
18072 * Remove "info" editing toolbar that was shown in browsers which do not
18073 fully support the editing toolbar, but was found to be too confusing.
18074 * Don't override edit conflict suppression on section edits; section merging
18075 should provide the expected transparency here and fits usage patterns better.
18076 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
18077 * (bug 2078) Don't hide watch tab on preview
18078 * Fix regressions in ChangesList traditional layout
18079 * Fix edit on double-click for move-protected pages in Classic skin
18080 * (bug 3485) Fix bogus warning about filename capitalization when off
18081 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
18082 by default when 'watchdefault' option is on
18083 * Add options to dumpBackup.php for making split/partial dumps by page id
18084 * Added filter options, compression piping, and multiple output streams for
18085 dumpBackup.php
18086 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
18087 * (bug 3598) Update message cache on message page deletion, patch by Tietew
18088 * Added separate noarticletext and newarticletext messages for logged in and
18089 anon users.
18090 * (bug 3332) Installation now uses Monobook, validates, plus usability
18091 improvements.
18092 * (bug 3660) Update diff3 detection to work with Windows/Cygwin
18093 * (bug 2330) Don't do funny thinks with "links" in MediaWiki:Undeletedtext
18094 * Two-pass data dump for friendliness to the DB (--stub, then dumpTextPass.php)
18095 * Data dump 'prefetch' mode to read normalized text from a prior dump
18096 (requires PHP 5, XMLReader extension)
18097 * (bug 2773) Print style sheet no longer overrides RTL text direction
18098 * (bug 2938) Update MediaWiki:Exporttext to be more general
18099 * Various fixes
18100 * Fix wfMsg*() replacements; args containing literal $[2-9] were wiped
18101 * Added @import for [[MediaWiki:Common.css]] to all skins
18102 * Edit box now remembers scrollbar position on preview
18103 * (bug 3816) Throw edit conflict instead of fatal error when a page is
18104 moved or deleted during section edit
18105 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
18106 * (bug 3291) 'last' diff link for last history line when not at end
18107 * (bug 3667) Add missing global in page move code
18108 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
18109 talk notification on PHP 5.0.5
18110 * (bug 3852) "Redirected from" link no longer obscured on double-redirects
18111 * changed directory hierarchy in images/math/. System upgrades from old to
18112 new hierarchy on the fly.
18113 * (bug 3487) Fix category edit preview with preview-on-bottom
18114 * (bug 918) Search index incorrectly joined words at == headings ==
18115 * (bug 3877) Render math images into temp directory, then move to hashed
18116 subdir so you can render new math images and have them work
18117 * (bug 2392) Fix Atom items content type, upgrade to Atom 1.0
18118 * Allow $wgFeedCacheTimeout of 0 to disable feed caching
18119 * Fix WebRequest::getRequestURL() to strip off the host bits squid prepends
18120 * Require POST for action=purge, to stop bots from purging the cache
18121 * Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth
18122 requirements to the memcached server.
18123 * (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace
18124 * (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on
18125 DIRECTORY_SEPARATOR (was wrong on NetWare)
18126 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
18127 * (bug 3939) Don't try to load text for interwiki redirect target
18128 * (bug 3948) Avoid notice warning in debug statement in bad search
18129 * Recognize Special:Search consistently so read whitelist works
18130 * (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due to
18131 unclear language in the spec. Now using the URL, same as the permalink,
18132 which someone else will probably whine about because it's not 'perma'
18133 enough or something.
18134 * (bug 4014) Fix include mode for Allpages on small page sets
18135 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
18136 * (bug 3065) Update both watched namespaces when renaming pages
18137 * Changed mail form to have a bigger message entry box (like for editing
18138 a page
18139 * Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm'
18140 * (bug 2111) Collapsable exif metadata table, clean up display
18141 * Reduce fractions in display of exif exposure time
18142 * (bug 4048) Optional footer link to site privacy policy
18143 * Don't die() when update.php reaches the end of the warning count
18144 * (bug 1915) Fix edit links when 'direction' used with 'oldid';
18145 using revision ID reported via OutputPage; Skin::editUrlOptions()
18146 * Remove obsolete 'redirect=no' on some edit links
18147 * Include oldid for the second revision on edit link on diff view
18148 * (bug 4035) Fix prev/next revision links on edit page
18149 * (bug 4100, 3049) Add 'edittools' message to hold edit tools, put it
18150 on Special:Upload as well as edit, rearrange edit page pieces a bit.
18151 Copyright warning now above the buttons to ensure it's visible,
18152 template list at the bottom so it can grow.
18153 * Optional summary parameter to action=rollback, for user javascript
18154 * (bug 4167) Fix regression caused by patch for bug 153
18155 * (bug 4169) Use $wgLegalTitleChars in pipe trick conversions
18156 * (bug 4170) Decode HTML character escapes in sort key
18157 * (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
18158 * (bug 4214) Skip redundant action text inserts into the HTML <title>
18159 * (bug 4212) Skip redundant meta-robots tag for default settings
18160 * Fix regression: old version missing from edit links in Nostalgia skin
18161 * (bug 1600) Trigger edit conflict on duplicate section=new submissions
18162 * (bug 4001) Use local variables properly in wikibits.js akeytt()
18163 * Fix regression: old version missing from edit links on CSS/JS pages
18164 * (bug 3211) Include Date, To mail headers when using PEAR::Mail
18165 * (bug 3407) Fix encoding of subject and from/to headers on notification
18166 mails; userMailer() now takes a MailAddress wrapper object instead of
18167 a raw string to abstract things a level.
18168 * Fixed --server override on dumpTextPass.php
18169 * Added plugin interface for dumpBackup, so additional filters and output
18170 sink types can be registered at runtime from an extension
18171 * (bug 349) Fix for some numeric differences not being highlighted
18172 patch by Andrius Ramanauskas
18173 * (bug 4298) Include rc_id on enhanced RC singleton diff links for patrolling
18174 * Did some refactoring on ChangesList.php merging dupe code
18175 * (bug 1586) Fix interwiki generator for wikimedia obscure domains
18176 * (bug 3493) Mark edits patrolled when they are reverted
18177 patch by Leon Planken
18178 * Removed experimental Amethyst skin from default set
18179 * Upgrade old skin preferences properly at Special:Preferences
18180 (used to spontaneously switch to Classic skin for old numeric pref records)
18181 * (bug 3424) Update page_touched for category members on category page creation
18182 * Log views show message when no matches
18183 * Fix raw sitenotice display on database error
18184 * Fix autoconfirm check for old accounts
18185 * (bug 4368) Don't show useless empty preview on new section creation
18186 * Don't show useless empty preview on new page creation
18187 * (bug 4411) Fix messages diff link for classic skin
18188 * (bug 4385) Separate parser cache entries for non-editing users, so section
18189 edit links don't vanish / appear unwanted on protected pages
18190 * (bug 2726, 3397) Fix [[Special:]] and [[:Image]] links in action=render
18191 * (bug 4419) Remove obsolete magnify.png.old
18192 * Removed $wgUseCategoryMagic option, categories are now enabled unconditionally
18193 * (bug 3318) UI workarounds for disabled items in license selector
18194 MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked
18195 Safari: JS will revert to 'non selected' if clicked (but not gray)
18196 MSIE/Mac: indented items now visible (JS hack)
18197 * (bug 714) "plainlinks" class issues in IE, Opera
18198 * (bug 4317) Inconsistent "broken redirects" messages
18199 * Default interface text for "selflinks" tweaked
18200 * (bug 3194) default implementation of translateBlockExpiry
18201 which uses ipboptions
18202 * (bug 4446) $wgExportAllowHistory option to explicitly disable history in
18203 Special:Export form, 'exportnohistory' message to translate live hack.
18204 * Maintenance script to delete unused user accounts
18205 * (bug 912) Search box easier to reach in text browsers (lynx, links)
18206 * $wgParserCacheExpireTime added
18207 * Skip loading of RecentChange.php except where needed
18208 * Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source
18209 size. This is necessary to limit server memory usage.
18210 * Cleanup and error checking on Special:Listredirects
18211 * Clear up some instances of old OutputPage::sysopRequired() function usage
18212 * Improve "upload disabled" notice
18213 * Move parts of index.php to include/Wiki.php in an attempt to both cleanup
18214 index.php and create a MediaWiki-class mediaWiki base object
18215 * (bug 4104) Added OutputPageBeforeHTML hook for tweaking primary wiki output
18216 HTML on final output (cached or not)
18217 * Avoid PHP notice on command-line scripts if empty argument is passed ('')
18218 * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render
18219 * (bug 3502) Bowtie symbol for TeX
18220 * (bug 4000) Support for \textstyle et al. in <math>
18221 * (bug 1663) support color in TeX formulas
18222 * (bug 2026) missing glue around \not= (TeX)
18223 * (bug 4576) Missing '>' broke license selector's first option in IE, Opera
18224 * Override $wgLocaltimezone in parser tests for us outside Iceland and UK
18225 * Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT
18226 * Remove redundant 'echo' statements from MonoBook.php
18227 * (bug 1103) Fix up redirect handling for images, categories
18228 Redirects are now followed from the top-level, outside of the Article
18229 content loading and viewing, for clarity and consistency.
18230 * (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on
18231 page view (comes after parser cache, if used). Patch by ThomasV.
18232 * Linker::formatComment corrupted the passed title object on PHP 5
18233 if the comment included a section link. Use clone() to make a safe copy.
18234 * Add wfClone() wrapper since we're still using PHP 4 on some servers.
18235 * Remove obsolete killthread.php
18236 * Added wfDie() wrapper, and some manual die(-1), to force the return code
18237 to the shell to return nonzero when we crap out with an error.
18238 * Allow input of the stub from a compressed file instead of stdin
18239 for dumpTextPass.php; easier to get errors back on the shell
18240 * Added an attractive space on the namespace selector on contribs
18241 * Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks.
18242 Fixes use of named entities in sigs on PHP 5
18243 * (bug 4482) Include move comment on the null edit as well as the redirect
18244 * (bug 3990) Use existing session name if session.auto_start is on
18245 Fixes checks for open sessions, such as the cookie warning on login.
18246 Patch by Zbigniew Braniecki.
18247 * Add cache-safe alternate sitenotice for anonymous users.
18248 (MediaWiki:Anonnotice) This is displayed instead of the regular sitenotice,
18249 if it exists. If not, the regular sitenotice shows. If that doesn't exist,
18250 the value of $wgSiteNotice is used, and if that's null, then nothing is shown.
18251 * Spit the generated LocalSettings code out during the installer as an aid
18252 to debugging issues. (Keep this?)
18253 * Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
18254 when the directory is relocated for typical usage.
18255 * Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
18256 For typical usage this will be a light burden and should reduce confusion
18257 when the configuration is edited.
18258 * Fix $wgCacheEpoch's effect on client-side caching.
18259 * (bug 1122) gray out 'older revision' when viewing first article revision.
18260 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
18261 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
18262 name attribute)
18263 * (bug 3350) Missing label for move talk page checkbox.
18264 * (bug 2108) Sort entries when using category browser
18265 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
18266 * Add ".deps.php" include-file preloaders for some dynamically-loaded
18267 language and skin classes. Should help with the broken base-class
18268 problem under PHP 5 with APC as opcode cache. See details:
18269 http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
18270 * Small changes to tabs in Monobook skin c/o Chris Ware
18271 * (bug 4679) Work around buggy basename() function in PHP5, which breaks
18272 uploads of files starting with multibyte characters on Linux.
18273 wfBaseName() doesn't suffer this bug, and understands backslash on
18274 both Unix and Windows.
18275 * (bug 3603) headscripts variable not hooked up to MonoBook skin
18276 * Allow local cdb-based interwiki cache
18277 * Use the "block", not the "protect" permission, when determining whether to
18278 show a "block user" link in the toolbox
18279 * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
18280 * Suppress useless percentage indicator on output from 7za during dumps
18281 * (bug 4633) Add (previous 200) (next 200) also above catlinks
18282 * (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
18283 pages with only one revision. Fixes message diff link on first edit.
18284 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
18285 * Do not check lag on external storage servers
18286 * Do not tidy interface messages (unless full tidy is set)
18287 * Do not trust equality propagation and give more hints to MySQL
18288 optimizer for revision fetches (avoids index scans)
18289 * Use revision rate for ETA in dump generation; it tends to be more stable
18290 than the per-page count for full-history dumps.
18291 * Include timestamp in wfDebugLog breakouts
18292 * (bug 4469) Namespace-specific notice to be displayed below site-notice
18293 Edit messages like "MediaWiki:Namespacenotice-" plus namespace name
18294 which is blank for main namespace, or like e.g. "User_talk"
18295 * Adjust user login/creation form hooks to work with a captcha plugin
18296 * (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
18297 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
18298 and seems to work ok with other bits. No longer including the IE
18299 workarounds JavaScript for IE 7 and above.
18300 * Fix extra namespace for Bulgarian
18301 * (bug 4303) Add $wgFavicon to change the shorticon icon link from
18302 the default /favicon.ico or disable it (if set to false)
18303 * (bug 3347) strip linebreaks in math error source
18304 * (bug 4841) Warning for non-logged-in edits
18305 * (bug 4867) Leave invalid EXIF date fields unformatted instead of
18306 showing a bogus current timestamp
18307 * Reset $wgActionPaths during parser test; corrects some false failures
18308 in the automated test report.
18309 * (bug 4875) Define a div containing the shared image description
18310 * (bug 4860) Expose Title->userCan() as Hooks
18311 * (bug 4828) Fix genitive month-name variable for cs, pl, uk
18312 * (bug 4842) Fix 'show number of watching users' with enhanced RC
18313 * (bug 4889) Fix image talk namespace for Tamil
18314 * (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries
18315 * (partial bug 3456) Disable auto redirect to Main Page after account creation
18316 * (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages
18317 * Added support for wikidiff2 and similar external diff engines.
18318 * Allow cookies to be shared between multiple wikis with a shared user database
18319 * Blocking some Unicode whitespace characters in usernames. Should check
18320 if some or all should be blocked from all page titles.
18321 * Unknown log types no longer throw notices everywhere in RecentChanges
18322 * (bug 4502, 5017) Don't render potentially hostile deleted page contents
18323 on Special:Undelete by default; show source, with an optional preview.
18324 The revisions list no longer shows the latest text by default, so it can
18325 still be operated if the text is hostile.
18326 * (bug 5013) Check for existence on "return to" links
18327 * Removed trailing whitespace on a bunch more messages.
18328 * Fix missing bad title check in Special:Booksources
18329 * Remove empty booksources string in fy
18330 * Avoid corrupting <gallery> inside <!-- comment -->
18331 * Remove legacy PHPTal code, hasn't been maintained in ages.
18332 * Tweak Userlogin include order for APC issue
18333 * Don't try to link to current page on protection tab
18334 * More exact checking in Title::equals() to fox moves of numerically similar
18335 page titles. (Odd hex title bug on 64-bit.)
18336 * Fix explicit s-maxage=0 on raw pages; should help with proxy issues in
18337 generated stylesheets... hopefully...
18338 * (bug 4685) More fixes for Slovenian project namespace
18339 * Fixed and enhanced a little the Live Preview, which had been broken for some
18340 time
18341 * Added article size limit, $wgMaxArticleSize
18342 * (bug 4974) Don't follow redirected talk page on "new messages" link
18343 * (bug 4970) Make category paging limits configurable
18344 * (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't
18345 exist
18346 * Make Live Preview an user preference, still controllable by the global
18347 variable
18348 * Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow
18349 updated language code assignments
18350 * (bug 5081) Remove bogus fix for invalid characters in links which simply
18351 broke use of legitimate multiple whitespace characters in bracketed link.
18352 * (bug 4838) Add relative oldids (prev, next, cur) for raw pages
18353 Patch by Lupin
18354 * (bug 5086) Force image resize dimensions on ImageMagick, as for instance
18355 "-resize 100x35!"; some thumbs were off due to differences in rounding and
18356 would be generated smaller than expected.
18357 * (bug 5062) Width sometimes one pixel short when using maximum heights
18358 * Purge thumbnails and metadata cache for action=purge on an image page
18359 * (bug 4273) Bounce back with a message when attempting to submit a new comment
18360 with an empty main textbox (user probably hit Enter in subject field)
18361 * (bug 5141) Gracefully handle the new account link when createaccount off
18362 * (bug 5150 and related) Fix missing ID attribute in HTML namespace selector
18363 * (bug 5152) Proper HTML escaping on subpage breadcrumbs
18364 * (bug 4855) Section edit links now have the section name in the title
18365 attribute.
18366 * (bug 2115) Support shift-selecting multiple checkboxes with JavaScript.
18367 * (bug 5161) Don't try to load template list for nonexistent pages
18368 * (bug 5228) Workaround for broken LanguageConverter title overrides; avoid
18369 unnecessary hidden UI work when watch/unwatch is performed on edit
18370 * Fixed bogus master fallback in external storage
18371 * (bug 5246) Add speak:none to "hiddenStructure" class in main.css
18372 * Further work on rev_deleted; changed to a bitfield with several data-hiding
18373 options. Not yet ready for production use; Special:Revisiondelete is
18374 incomplete, and the flags are not preserved across page deletion/undeletion.
18375 To try it; add the 'deleterevision' permission to a privileged group.
18376 * (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa
18377 * Add a clickable contribs link in user tool links (rc, watchlist, diff view)
18378 to see how people like it. (There was one in the old hacked-up diff view.)
18379 * (bug 5236) Load wikibits.js before site-customized javascript
18380 * (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals
18381 from linktrail, as they're not used anywhere else.
18382 * (bug 4781) Output links with the percent-encoding they're supplied with;
18383 save the normalization for internal link storage. The normalization is a bit
18384 buggy and can make incorrect foldings in the query string and such, so isn't
18385 reliable beyond the hostname where it's used for the spam bulk checker.
18386 * Don't URL-decode in the title attribute for URL links; it can produce false
18387 results that don't code back to their original values.
18388 * (bug 4611) Add user preference (default on) to add new pages to creators's
18389 watchlist
18390 * (bug 5286) Fix regression in display of missing/bad revision IDs
18391 * (bug 4729) Add user preference that marks a user's edits as patrolled if user
18392 is able to
18393 * (bug 4630) Add user preference to prompt users when entering blank edit
18394 summaries
18395 * Added optional suggest feature for the search box. Set wgUseAjax to true to
18396 enable it.
18397 * (bug 5277) Use audio/midi rather that audio/mid
18398 * (bug 5410) Use namespace name when a custom namespace's nstab-NS message is
18399 nonexistent
18400 * (bug 5432) Fix inconsistencies in cookie names when using table prefixes
18401 * Additional protections against HTML breakage in table parsing
18402 * (bug 5355) Include skin name and style JS settings in page source;
18403 fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
18404 when wikibits.js was moved up before user JS inclusion.
18405 * Added $wgColorErrors: if set, database error messages will be highlighted
18406 when running command-line scripts in a Unix terminal.
18407 * (bug 5195) rebuildrecentchanges.php works again; Database::insertSelect now
18408 has a parameter for select options.
18409 * Fix updateSearchIndex.php for new schema
18410 * Fix bogus "filename too short" error when uploading files with a period in the
18411 base name, e.g. "Mr. Zee.png"
18412 * (bug 2139) Show page title in subtitle when viewing "read only" page
18413 * (bug 5452) Update language name for Cree
18414
18415 == Compatibility ==
18416
18417 Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must
18418 upgrade to 4.3 or later.
18419
18420 MediaWiki 1.6 is the last major version to support PHP 4; future versions will
18421 require PHP 5.
18422
18423 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
18424 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
18425
18426 == Upgrading ==
18427
18428 Several changes to the database have been made from 1.5; these are relatively
18429 minor but do require that the update process be run before the new code will
18430 work properly:
18431
18432 * A new "templatelinks" table tracks template inclusions.
18433 * A new "externallinks" table tracks URL links; this can be used by a mass
18434 spam-cleanup tool in the SpamBlacklist extension.
18435 * A new "jobs" table stores a queue of pages to update in the background; this
18436 is used to update links in including pages when templates are edited.
18437
18438 To ensure that these tables are filled with data, run refreshLinks.php after
18439 the upgrade.
18440
18441 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
18442 changes are made, and there is a slightly higher chance that things could
18443 break. Don't forget to always back up your database before upgrading!
18444
18445 === Caveats ===
18446
18447 Some output, particularly involving user-supplied inline HTML, may not produce
18448 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
18449 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
18450 recommended on live sites. (This must be set for MathML to display properly in
18451 Mozilla.)
18452
18453
18454 = MediaWiki 1.5 =
18455
18456 == MediaWiki 1.5.9 ==
18457 * (bug 3359) Add hooks on completion of file upload
18458
18459 == MediaWiki 1.5.8 ==
18460
18461 March 26, 2006
18462
18463 MediaWiki 1.5.8 is a security and bugfix maintenance release.
18464
18465 A bug in decoding of certain encoded links could allow injection of raw
18466 HTML into page output; this could potentially lead to XSS attacks.
18467
18468 Some minor UI fixes were also made, see the change log at the bottom of
18469 this file.
18470
18471
18472 == MediaWiki 1.5.7 ==
18473
18474 March 2, 2006
18475
18476 MediaWiki 1.5.7 is a bugfix maintenance release.
18477
18478 Most importantly, a security issue in the installer has been fixed. The bug
18479 affects new installations of 1.5.6 only. If the user specified the MySQL root
18480 password, to allow the installer to create an unprivileged account, the
18481 installer would not only create the new account but also change the root
18482 password to be equal to the password of the new account.
18483
18484 Anyone affected by this bug will need to change the root password back
18485 manually. For information about how to change passwords in MySQL please see:
18486 http://dev.mysql.com/doc/refman/5.1/en/passwords.html
18487
18488 This version includes fixes for compatibility with Internet Explorer 7
18489 beta 2, and various other bugs; see the full changelog at the end of
18490 the release notes.
18491
18492
18493 == MediaWiki 1.5.6 ==
18494
18495 January 19, 2006
18496
18497 MediaWiki 1.5.6 is a security and bugfix maintenance release.
18498
18499 A bug in edit comment formatting could send PHP into an infinite loop
18500 if certain malformed links were included. In most installations, this
18501 would cause the script to fail after PHP's 30-second failsafe timeout.
18502
18503 Some improvements have been made to the installer which should make
18504 installation possible on a system with a broken MySQL "root" account.
18505
18506 For several other minor fixes, see the complete changelog at the end
18507 of this file.
18508
18509
18510 == MediaWiki 1.5.5 ==
18511
18512 January 5, 2006
18513
18514 MediaWiki 1.5.5 is a security and bugfix maintenance release.
18515
18516 Detection for uploads of Windows Metafile (.wmf) images has been added
18517 to help protect against a client-side vulnerability in unpatched Microsoft
18518 Windows operating systems.
18519
18520 Sites which have enabled uploads and added non-standard file types
18521 (such as .ogg, .doc, or .pdf) should upgrade to this release to ensure
18522 that malicious .wmf files can't be uploaded with a fake extension;
18523 such files could put visitors to the site at risk.
18524
18525 For more details on this, see:
18526 http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
18527
18528 Additionally, a maintenance script removeUnusedAccounts.php has been added;
18529 this replaces an older Perl script which had not been updated for the new
18530 schema in 1.5.
18531
18532
18533 == MediaWiki 1.5.4 ==
18534
18535 December 21, 2005
18536
18537 MediaWiki 1.5.4 is a security and bugfix maintenance release.
18538
18539 A hardcoded internal placeholder string has been replaced with a random
18540 one. This closes a hole where security checks in inline style attributes
18541 could be bypassed, injecting JavaScript code that could execute in
18542 Microsoft Internet Explorer.
18543
18544 Other browsers would not be vulnerable.
18545
18546 Several minor fixes are included in this release, most notably a fix
18547 to clear the "you have new messages" flag properly for usernames
18548 containing spaces when e-mail notification is enabled.
18549
18550 See the changelog at the end of the release notes for a full list of
18551 fixes.
18552
18553
18554 == MediaWiki 1.5.3 ==
18555
18556 December 4, 2005
18557
18558 MediaWiki 1.5.3 is a security and bugfix maintenance release.
18559
18560 Validation of the user language option was broken by a code change in
18561 May 2005, opening the possibility of remote code execution as this
18562 parameter is used in forming a class name dynamically created with
18563 eval().
18564
18565 The validation has been corrected in this version. All prior 1.5 release
18566 and prelease versions are affected; 1.4 and earlier and not affected.
18567
18568 Additionally several bugs have been fixed; see the changelog later in
18569 this file for a complete list.
18570
18571
18572 == MediaWiki 1.5.2 ==
18573
18574 November 2, 2005
18575
18576 MediaWiki 1.5.2 is a bugfix maintenance release.
18577
18578 A change in PHP 4.4.1 and PHP 5.1.0RC broke handling of extension and
18579 <pre> sections, causing garbage data to be inserted in output and saved
18580 edits. This version works around the change.
18581
18582 Several other glitches with MySQL 5.0 and PHP 5.0.5 were also fixed;
18583 see the change log below for a complete list.
18584
18585
18586 == MediaWiki 1.5.1 ==
18587
18588 October 26, 2005
18589
18590 MediaWiki 1.5.1 is a bugfix and security maintenance release, and is a
18591 recommended upgrade for all installations.
18592
18593 This release includes further corrections to the inline CSS style sanitation
18594 which works around a JavaScript "feature" on Microsoft Internet Explorer.
18595 Users of Microsoft Internet Explorer for Windows may be vulnerable to
18596 XSS injections on prior versions; users of standards-compliant browsers
18597 are not vulnerable.
18598
18599 Major fixes include:
18600 * Image pages work again with resizing disabled
18601 * Works in MySQL 5.0 strict mode
18602
18603 There is experimental support in this release for explicitly declaring
18604 the UTF-8 charset in the database; this has been tested with MySQL 5.0.15
18605 but should work on 4.1 as well.
18606
18607 IMPORTANT: Changing this setting on an existing wiki may produce interesting
18608 data corruption, depending on server configuration. Page contents should,
18609 usually, be unaffected, but page titles and other items may be. Limitations
18610 in MySQL's Unicode support mean that characters outside the BMP cannot be used
18611 in page titles or various other fields when using this mode.
18612
18613 Table definitions are in maintenance/mysql5/tables.sql, and the runtime
18614 option to send 'SET NAMES utf8' is set by $wgDBmysql5 = true.
18615
18616 (MySQL 3.23.x and 4.0.x do not support character set declarations; on these
18617 versions MediaWiki simply works with UTF-8 data and MySQL is blissfully
18618 unaware of it.)
18619
18620
18621
18622 == MediaWiki 1.5.0 final ==
18623
18624 October 5, 2005
18625
18626 MediaWiki 1.5.0 is the new stable release branch of MediaWiki, and is
18627 recommended for all new installations.
18628
18629 Any wikis running a 1.5 beta or release candidate are strongly recommended
18630 to upgrade to the final release, which includes a number of bug fixes and
18631 a security fix for CSS bugs in Microsoft Internet Explorer.
18632
18633 IMPORTANT: Running a 1.3 or 1.4 wiki and don't want to jump to 1.5 yet?
18634 Be sure to upgrade to 1.3.17 or 1.4.11, also released today. Versions
18635 prior to 1.3.16 and 1.4.10 have a serious data corruption bug which is
18636 triggered by a spambot known to operate in the wild.
18637
18638
18639 === What's new in 1.5? ===
18640
18641 Schema:
18642 The core table schema has changed significantly. This should make better
18643 use of the database's cache and disk I/O, and make significantly speed up
18644 rename and delete operations on pages with very long edit histories.
18645
18646 Unfortunately this does mean upgrading a wiki of size from 1.4 will require
18647 some downtime for the schema restructuring, but future storage backend
18648 changes should be able to integrate into the new system more easily.
18649
18650 Permalinks:
18651 The current revision of a page now has a permanent 'oldid' number assigned
18652 immediately, and the id numbers are now preserved across deletion/undeletion.
18653 A permanent reference to the current revision of a page is now just a matter
18654 of going to the 'history' tab and copying the first link in the list.
18655
18656 Page move log:
18657 Renames of pages are now recorded in Special:Log and the page history.
18658 A handy revert link is available from the log for sysops.
18659
18660 Editing diff:
18661 Ever lost track of what you'd done so far during an edit? A 'Show diff'
18662 button on the edit page now makes it easy to remember.
18663
18664 Uploads:
18665 It's now possible to specify the final filename of an upload distinct
18666 from the original filename on your disk.
18667
18668 An image link for a missing file will now take you straight to the upload
18669 page.
18670
18671 More metadata is pre-extracted from uploaded images, which will ease pressure
18672 on disk or NFS volumes used to store images. EXIF metadata is displayed on
18673 the image description page if PHP is configured with the necessary module.
18674
18675 If .svg files are added to the upload whitelist, you can choose to render
18676 them to rasterized .png images for inline display using one of several
18677 external helper programs. See DefaultSettings.php for SVG options.
18678
18679 User accounts:
18680 There are some changes to the user permissions system, with assignable
18681 groups. Note that this does *not* allow you to make pages which are only
18682 accessible to certain groups.
18683
18684 For details see: https://www.mediawiki.org/wiki/Manual:User_rights
18685
18686 E-mail:
18687 User-to-user e-mail can now be restricted to require a mail-back confirmation
18688 first to reduce potential for abuse with false addresses.
18689
18690 Updates to user talk pages and watchlist entries can optionally send e-mail
18691 notifications.
18692
18693 External hooks:
18694 A somewhat experimental interface for hooking in an external editor
18695 application is included.
18696
18697 And...
18698 A bunch of stuff we forgot to mention.
18699
18700
18701 === What's gone? ===
18702
18703 Latin-1:
18704 Wikis must now be encoded in Unicode UTF-8; this has been the default for
18705 some time, but some languages could optionally be installed in Latin-1 mode.
18706 This is no longer supported.
18707
18708 You can check if your current wiki is in Latin-1 mode by using your browser's
18709 "view source"; look for a line like this:
18710
18711 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18712
18713 If it says charset=utf-8, you're ready. If it says charset=iso8859-1,
18714 you may need to convert your data. (English-language wikis avoiding
18715 any accented characters may be able to get away without conversion.)
18716
18717 MySQL 3.x:
18718 Some optimization hacks for MySQL 3.x have been removed as part of the schema
18719 clean-up (specifically, the inverse_timestamp fields).
18720
18721 MediaWiki 1.5 may still run on 3.x, but wikis of non-trivial size should
18722 very seriously consider upgrading to a more modern release. MySQL 3.x support
18723 will probably be entirely dropped in the next major release.
18724
18725 Special:Maintenance
18726 These tools were, ironically enough, not really maintained. This special
18727 page has been removed; insofar as some of its pieces were useful and haven't
18728 already been supplanted by other special pages they should be rewritten in
18729 an efficient and safe manner in the future.
18730
18731
18732 === Caveats ===
18733
18734 Upgrade:
18735 Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8.
18736 A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of
18737 old page text entries, but other metadata fields (titles, comments etc) need
18738 to be pre-converted. The standard upgrade process does not yet fully automate
18739 this, but you can try the alternate partial-upgrader in upgrade1_5.php.
18740
18741 The upgrade from 1.4 to 1.5 schema has not been tested for all cases, so
18742 it's possible you may experience problems in some combinations.
18743
18744 Backups:
18745 The text entries of deleted pages are no longer removed from the main
18746 text table on deletion. If you provide public backup dumps of your databases,
18747 you will probably want to use the new XML-format dump generator, available
18748 as maintenance/dumpBackup.php.
18749
18750 For more information on how we run our own public data dumps at Wikimedia,
18751 see http://meta.wikimedia.org/wiki/Data_dumps
18752
18753 PostgreSQL:
18754 The table definitions for PostgreSQL install are out of date. PostgreSQL
18755 support may return in later releases, pending appropriate patches.
18756
18757 MySQL 4.1+:
18758 Some users may encounter installation problems with MySQL 4.1 or higher
18759 due to strange charset encoding / collation configurations. Try setting
18760 to 'latin1' or 'utf8' if you encounter problems.
18761
18762
18763
18764 == MediaWiki 1.5 release candidate 4 ==
18765
18766 August 29, 2005
18767
18768 MediaWiki 1.5rc4 is a preview release of the new 1.5 release series.
18769 It fixes compatibility with PHP 5.1, and corrects two cross-site scripting
18770 security bugs:
18771
18772 * <math> tags were handled incorrectly when TeX rendering support is off,
18773 as in the default configuration.
18774 * Extension or <nowiki> sections in Wiki table syntax could bypass HTML
18775 style attribute restrictions for cross-site scripting attacks against
18776 Microsoft Internet Explorer
18777
18778 Wikis where the optional math support has been *enabled* are not vulnerable
18779 to the first, but are vulnerable to the second.
18780
18781
18782
18783 == MediaWiki 1.5 release candidate 3 ==
18784
18785 August 24, 2005
18786
18787 MediaWiki 1.5rc3 is a preview release of the new 1.5 release series.
18788 It fixes several major problems in 1.5rc2:
18789
18790 * Fixed a cross-site scripting injection in the search form
18791 (broken since 1.5beta1)
18792
18793 * Fixed upgrades from 1.4 database schema
18794 (broken since 1.5rc2)
18795
18796 1.3 and 1.4 releases are not vulnerable to the XSS bug, but anyone
18797 running an earlier 1.5 beta or release candidate should upgrade
18798 immediately.
18799
18800
18801 == MediaWiki 1.5 release candidate 2 ==
18802
18803 August 23, 2005
18804
18805 MediaWiki 1.5rc2 is a preview release of the new 1.5 release series.
18806 Numerous bug fixes since last beta, plus a security fix; see change
18807 log below for full details.
18808
18809 A flaw in the interaction between extensions and HTML attribute
18810 sanitization was discovered which could allow unauthorized use
18811 of offsite resources in style sheets, and possible exploitation
18812 of a JavaScript injection feature on Microsoft Internet Explorer.
18813
18814 This version expands the returned text and properly checks it
18815 before output.
18816
18817 A 1.5rc1 release was mistakenly made from the incorrect source code
18818 branch; 1.5rc2 is identical to the actual 1.5rc1 in revision control
18819 except for version number.
18820
18821
18822 == MediaWiki 1.5 beta 4 ==
18823
18824 July 30, 2005
18825
18826 MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series.
18827 A number of bugs have been fixed since beta 3; see the full changelist below.
18828
18829
18830 == MediaWiki 1.5 beta 3 ==
18831
18832 July 7, 2005
18833
18834 MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release
18835 series, with a security update over beta 2.
18836
18837 Incorrect escaping of a parameter in the page move template could
18838 be used to inject JavaScript code by getting a victim to visit a
18839 maliciously constructed URL. Users of vulnerable releases are
18840 recommended to upgrade to this release.
18841
18842 Vulnerable versions:
18843 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
18844 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
18845 * 1.3 legacy series: not vulnerable
18846
18847 This release also includes several bug fixes and localization updates.
18848 See the changelog at the end of this file for a detailed list.
18849
18850
18851
18852 == MediaWiki 1.5 beta 2 ==
18853
18854 July 5, 2005
18855
18856 MediaWiki 1.5 beta 2 is a preview release of the new 1.5 release series.
18857 While most exciting new bugs should have been ironed out at this point,
18858 third-party wiki operators should probably not run this beta release
18859 on a public site without closely following additional development.
18860
18861 Anyone who _has_ been running beta 1 is very very strongly advised to
18862 upgrade to beta 2, as it fixes many bugs from the previous beta including
18863 a couple of HTML and SQL injections.
18864
18865 This release should be followed by one or two release candidates and
18866 a 1.5.0 final within the next few weeks.
18867
18868 Beta upgraders, note there are some minor database changes. For upgrades
18869 from 1.4, see the file UPGRADE for details on significant database and
18870 configuration file changes.
18871
18872 Beta 2 includes a preliminary command-line XML wiki dump importer tool,
18873 maintenance/importDump.php, paired with maintenance/dumpBackup.php.
18874 These use the same format as Special:Export and Special:Import, able
18875 to package a wiki's entire page set independent of the backend database
18876 and compression format.
18877
18878
18879 == MediaWiki 1.5 beta 1 ==
18880
18881 June 26, 2005
18882
18883 MediaWiki 1.5 beta 1 is a preview release, pretty much feature complete,
18884 of the new 1.5 release series. There are several known and likely a number
18885 of unknown bugs; it is not recommended to use this release in a production
18886 environment but would be recommended for testing in mind of an upcoming
18887 deployment.
18888
18889 A number of significant changes have been made since the alpha releases,
18890 including database changes and a reworking of the user permissions settings.
18891 See the file UPGRADE for details of upgrading and changing your prior
18892 configuration settings for the new system.
18893
18894
18895
18896 == MediaWiki 1.5 alpha 2 ==
18897
18898 June 3, 2005
18899
18900 MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges,
18901 and a security update.
18902
18903 Incorrect handling of page template inclusions made it possible to
18904 inject JavaScript code into HTML attributes, which could lead to
18905 cross-site scripting attacks on a publicly editable wiki.
18906
18907 Vulnerable releases and fix:
18908 * 1.5 prerelease: fixed in 1.5alpha2
18909 * 1.4 stable series: fixed in 1.4.5
18910 * 1.3 legacy series: fixed in 1.3.13
18911 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended
18912
18913
18914 == MediaWiki 1.5 alpha 1 ==
18915
18916 May 3, 2005
18917
18918 This is a testing preview release, being put out mainly to aid testers in
18919 finding installation bugs and other major problems. It is strongly recommended
18920 NOT to run a live production web site on this alpha release.
18921
18922 ** WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH **
18923 ** TERMITES, ROT YOUR TEETH, GROW HAIR ON YOUR PALMS, AND PASTE **
18924 ** INNUENDO INTO YOUR C.V. RIGHT BEFORE A JOB INTERVIEW! **
18925 ** DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE. **
18926
18927
18928 === Smaller changes since 1.4 ===
18929
18930 Various bugfixes, small features, and a few experimental things:
18931
18932 * 'live preview' reduces preview reload burden on supported browsers
18933 * support for external editors for files and wiki pages:
18934 https://www.mediawiki.org/wiki/Manual:External_editors
18935 * Schema reworking:
18936 https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004
18937 * (bug 15) Allow editors to view diff of their change before actually submitting
18938 an edit
18939 * (bug 190) Hide your own edits on the watchlist
18940 * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN.
18941 * (bug 1015) support for the full wikisyntax in <gallery> captions.
18942 * (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload.
18943 * (bug 1352) Images on description pages now get thumbnailed regardless of
18944 whether the thumbnail is larger than the original.
18945 * (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of
18946 the current month
18947 * (bug 1668) 'Date format' supported for other languages than English, see:
18948 http://mail.wikipedia.org/pipermail/wikitech-l/2005-March/028364.html
18949 * (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff
18950 database revision id, useful for proper citation.
18951 * (bug 1998) Updated the Russian translation.
18952 * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType
18953 * (bug 2084) Fixed a regular expression in includes/Title.php that was accepting
18954 invalid syntax like #REDIRECT [[foo] in redirects
18955 * It's now possible to invert the namespace selection at Special:Allpages and
18956 Special:Contributions
18957 * No longer using sorbs.net to check for open proxies by default.
18958 * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true
18959 if one wishes to enable uploads.
18960 * Supplying a reason for a block is no longer mandatory
18961 * Language conversion support for category pages
18962 * $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory;
18963 * Special:Movepage can now take parameters like Special:Movepage/Page_to_move
18964 (used to just be able to take parameters via a GET request like
18965 index.php?title=Special:Movepage&target=Page_to_move)
18966 * (bug 2151) The delete summary now includes editor name, if only one has edited
18967 the article.
18968 * (bug 2105) Fixed from argument to the PHP mail() function. A missing space
18969 could prevent sending mail with some versions of sendmail.
18970 * (bug 2228) Updated the Slovak translation
18971 * ...and more!
18972
18973
18974 === Changes since 1.5alpha1 ===
18975
18976 * (bug 73) Category sort key is set to file name when adding category to
18977 file description from upload page (previously it would be set to
18978 "Special:Upload", causing problems with category paging)
18979 * (bug 419) The contents of the navigation toolbar are now editable through
18980 the MediaWiki namespace on the MediaWiki:navbar page.
18981 * (bug 498) The Views heading in MonoBook.php is now localizable
18982 * (bug 898) The wiki can now do advanced sanity check on uploaded files
18983 including virus checks using external programs.
18984 * (bug 1692) Fix margin on unwatch tab
18985 * (bug 1906) Generalize project namespace for Latin localization, update
18986 namespaces
18987 * (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs
18988 * (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order
18989 to preserve the correct flow of text on RTL wikis.
18990 * (bug 2067) Fixed crash on empty quoted HTML attribute
18991 * (bug 2075) Corrected namespace definitions in Tamil localization
18992 * (bug 2079) Removed links to Special:Maintenance from movepagetext message
18993 * (bug 2094) Multiple use of a template produced wrong results in some cases
18994 * (bug 2095) Triple-closing-bracket thing partly fixed
18995 * (bug 2110) "noarticletext" should not display on Image page for "sharedupload"
18996 media
18997 * (bug 2150) Fix tab indexes on edit form
18998 * (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
18999 * (bug 2176) Section edit 'show changes' button works correctly now
19000 * (bug 2178) Use temp dir from environment in parser tests
19001 * (bug 2217) Negative ISO years were incorrectly converted to BC notation
19002 * (bug 2234) allow special chars in database passwords during install
19003 * Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is
19004 now the wikisyntax representation of wfMsgForContent()
19005 * Fix for reading incorrectly re-gzipped HistoryBlob entries
19006 * HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
19007 multiple-revision pulls
19008 * Add $wgLegacySchemaConversion update-time option to reduce amount of
19009 copying during the schema upgrade: creates HistoryBlobCurStub reference
19010 records in text instead of copying all the cur_text fields. Requires
19011 that the cur table be left in place until/unless such fields are migrated
19012 into the main text store.
19013 * Special:Export now includes page, revision, and user id numbers by
19014 default (previously this was disabled for no particular reason)
19015 * dumpBackup.php can dump the full database to Export XML, with current
19016 revisions only or complete histories.
19017 * The group table was renamed to groups because "group" is a reserved word in
19018 SQL which caused some inconveniances.
19019 * New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o,
19020 ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE
19021 crystalsvg theme.
19022 * Fixed a bug in Special:Newimages that made it impossible to search for '0'
19023 * Added language variant support for Icelandic, now supports "Íslenzka"
19024 * The #p-nav id in MonoBook is now #p-navigation
19025 * Putting $4 in msg:userstatstext will now give the percentage of
19026 admnistrators out of normal users.
19027 * links and brokenlinks tables merged to pagelinks; this will reduce pain
19028 dealing with moves and deletes of widely-linked pages.
19029 * Add validate table and val_ip column through the updater.
19030 * Simple rate limiter for edits and page moves; set $wgRateLimits
19031 (somewhat experimental; currently needs memcached)
19032 * (bug 2262) Hide math preferences when TeX is not enabled
19033 * (bug 2267) Don't generate thumbnail at the same size as the source image.
19034 * Fix rebuildtextindex.inc for new schema
19035 * Remove linkscc table code, no longer used.
19036 * (bug 2271) Use faster text-only link replacement in image alt text
19037 instead of rerunning expensive link lookup and HTML generation.
19038 * Only build the HTML attribute whitelist tree once.
19039 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
19040 that does both numeric and named chars: Sanitizer::decodeCharReferences
19041 * Removed some obsolete UTF-8 converter functions
19042 * Fix function comment in debug dump of SQL statements
19043 * (bug 2275) Update search index more or less right on page move
19044 * (bug 2053) Move comment whitespace trimming from edit page to save;
19045 leaves the whitespace from the section comment there on preview.
19046 * (bug 2274) Respect stub threshold in category page list
19047 * (bug 2173) Fatal error when removing an article with an empty title from the
19048 watchlist
19049 * Removed -f parameter from mail() usage, likely to cause failures and bounces.
19050 * (bug 2130) Fixed interwiki links with fragments
19051 * (bug 684) Accept an attribute parameter array on parser hook tags
19052 * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
19053 LDAP authentication plugin
19054 * (bug 2034) Armor HTML attributes against template inclusion and links munging
19055
19056 === Changes since 1.5alpha2 ===
19057
19058 * (bug 2319) Fix parse hook tag matching
19059 * (bug 2329) Fix title formatting in several special pages
19060 * (bug 2223) Add unique index on user_name field to prevent duplicate accounts
19061 * (bug 1976) fix shared user database with a table prefix set
19062 * (bug 2334) Accept null for attribs in wfElement without PHP warning
19063 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
19064 with proper validation checks. (regression from fix for 2304)
19065 * Disallow close tags and enforce empty tags for <hr> and <br>
19066 * Changed user_groups format quite a bit.
19067 * (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line
19068 * (bug 2367) Insert correct redirect link record on page move
19069 * (bug 2372) Fix rendering of empty-title inline interwiki links
19070 * (bug 2384) Fix typo in regex for IP address checking
19071 * (bug 650) Prominently link MySQL 4.1 help page in installer if a possible
19072 version conflict is detected
19073 * (bug 2394) Undo incompatible breakage to {{msg:}} compatibility includes
19074 * (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1
19075 when the default charset is set to utf8
19076 * (bug 2400) don't send confirmation mail on account creation if
19077 $wgEmailAuthentication is false.
19078 * (bug 2172) Fix problem with nowiki beeing replaced by marker strings
19079 when a template with a gallery was used.
19080 * Guard Special:Userrights against form submission forgery
19081 * (bug 2408) page_is_new was inverted (whoops!)
19082 * Added wfMsgHtml() function for escaping messages and leaving params intact
19083 * Fix ordering of Special:Listusers; fix groups list so it shows all groups
19084 when searching for a specific group and can't be split across pages
19085 * (bug 1702) Display a handy upload link instead of a useless blank link
19086 for [[media:]] links to nonexistent files.
19087 * (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount
19088 * (bug 1805) Initialise $wgContLang before $wgUser
19089 * (bug 2277) Added Friulian language file
19090 * (bug 2457) The "Special page" href now links to the current special page
19091 rather than to "".
19092 * (bug 1120) Updated the Czech translation
19093 * A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath
19094 * A new magic word, {{SERVERNAME}}, returns $wgServerName
19095 * A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the image
19096 table
19097 * Special:Imagelist displays titles with " " instead of "_"
19098 * Less gratuitous munging of content sample in delete summary
19099 * badaccess/badaccesstext to supercede sysop*, developer* messages
19100 * Changed $wgGroupPermissions to more cut-n-paste-friendly format
19101 * 'developer' group deprecated by default
19102 * Special:Upload now uses 'upload' permission instead of hardcoding login check
19103 * Add 'importupload' permission to disable direct uploads to Special:Import
19104 * (bug 2459) Correct escaping in Special:Log prev/next links
19105 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too many
19106 things for the current parser to handle cleanly
19107 * (bug 2467) Added a Turkish language file
19108 * Fixed a bug in Special:Contributions that caused the namespace selection to
19109 be forgotten between submits
19110 * Special:Watchlist/edit now has namespace subheadings
19111 * (bug 1714) the "Save page" button now has right margin to separate it from
19112 "Show preview" and "Show changes"
19113 * Special:Statistics now supports action=raw, useful for bots designed to
19114 harwest e.g. article counts from multiple wikis.
19115 * The copyright confirmation box at Special:Upload is now turned off by default
19116 and can be turned back on by setting $wgCopyrightAffirmation to a true value.
19117 * Restored prior text for password reminder button and e-mail, replacing
19118 the factually inaccurate text that was there.
19119 * (bug 2178) Fix temp dir check again
19120 * (bug 2488) Format 'deletedtext' message as wikitext
19121 * (bug 750) Keep line endings consistent in LocalSettings.php
19122 * (bug 1577) Add 'printable version' tab in MonoBook for people who don't
19123 realize you can just hit print to get a nicely formatted printable page.
19124 * Trim whitespace from option values to weather line-ending corruption problems
19125 * Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA)
19126 * (bug 2504) Updated the Finnish translation
19127 * (bug 2506, 2512) Updated the Nynorsk translation
19128 * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE
19129 documentation about edit and read whitelists.
19130 * (bug 2515) Fix incremental link table update
19131 * Removed some wikipedia-specifica from LanguageXx.php's
19132 * (bug 2496) Allow MediaWiki:edithelppage to point to external page
19133 * Added a versionRequired() function to OutputPage, useful for extension
19134 writers that want to control what version of MediaWiki their extension
19135 can be used with.
19136 * Serialized user objects now checked for versioning
19137 * Fix for interwiki link regression
19138 * Printable link shorter in monobook
19139 * Experimental Latin-1-and-replication-friendly upgrader script
19140 * (bug 2520) Don't show enotif options when disabled
19141
19142 == Changes since 1.5beta1 ==
19143
19144 * (bug 2531) Changed the interwiki name for sh (Serbocroatian) to
19145 Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski))
19146 * Nonzero return code for command-line scripts on wfDebugDieBacktrace()
19147 * Conversion fix for empty old table in upgrade1_5.php
19148 * Try reading revisions from master if no result on slave
19149 * (bug 2538) Suppress notice on user serialized checks
19150 * Fix paging on Special:Contributions
19151 * (bug 2541) Fix unprotect tab
19152 * (bug 1242) category list now show on edit page
19153 * Skip sidebar entries where link text is '-'
19154 * Convert non-UTF-8 URL parameters even if referer is local
19155 * (bug 2460) <img> width & height properly filled when resizing image
19156 * (bug 2273) deletion log comment used user interface language
19157 * Try reading revision _text_ from master if no result on slave
19158 * Use content-language message cache for raw view of message pages
19159 * (bug 2530) Not displaying talk pages on Special:Watchlist/edit
19160 * Fixed a bug that would occour if $wgCapitalLinks was set to false, a user
19161 agent could create a username that began with a lower case letter that was
19162 not in the ASCII character set ( now user $wgContLang->ucfirst() instead of
19163 PHP ucfirst() )
19164 * Moved the user name / password validity checking from
19165 LoginForm::addNewAccountInternal() to two new functions,
19166 User::isValidUserName() and User::isValidPassword(), extensions can now do
19167 these checks without rewriting code.
19168 * Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-'
19169 * Fixed a bug where the watchlist count without talk pages would be off by a
19170 factor of two.
19171 * upgrade1_5.php uses insert ignore, allows to skip image info initialization
19172 * Fix namespaces in category list.
19173 * Add rebuildImages.php to update image metadata fields
19174 * Special:Ancientpages is expensive in new schema for now
19175 * (bug 2568) Fixed a logic error in the Special:Statistics code which caused
19176 the displayed percentage of admins to be totally off.
19177 * (bug 2560) Don't show blank width/height attributes for missing size
19178 * Don't show bogus messages about watchlist notifications when disabled
19179 * Don't show old debug messages in watchlist
19180 * (bug 2576) Fix recording of transclusion links
19181 * (bug 2577) Allow sysops to enter non-standard block times
19182 * Fixed a bug where Special:Contributions wouldn't remember the 'invert'
19183 status between next/previous buttons.
19184 * Move MonoBook printable link from tab to sidebar
19185 * (bug 2567) Fix HTML escaping on category titles in list
19186 * (bug 2562) Show rollback link for current revisions on diff pages
19187 * (bug 2583) Add --missinig option on rebuildImages.php to add db entries
19188 for uploaded files that don't have them
19189 * (bug 2572) Fix edit conflict handling
19190 * (bug 2595) Show "Earlier" and "Latest" links on history go to the first/last
19191 page in the article history pager.
19192 * Don't show empty-page text in 'Show changes' on new page
19193 * (bug 2591) Check for end, fix limits on Whatlinkshere
19194 * (bug 2584) Fix output of subcategory list
19195 * (bug 2597) Don't crash when undeleting an image description page
19196 * (bug 2564) Don't show "editingold" warning for recent revision
19197 * Various code cleanup and HTML escaping fixlets
19198 * Copy IRC-over-UDP update option from REL1_4
19199 * (bug 2548) Keep summary on 'show changes' of section edit
19200 * Move center on toc to title part to avoid breaking .toc style usage
19201 * HTML sanitizer: correct multiple attributes by keeping last, not first
19202 * (bug 2614) Fix section edit links on diff-to-current with oldid set
19203 Also fix navigation links on current-with-oldid view.
19204 * (bug 2620) Return to prior behavior for some more things (such as
19205 subpage parent links) on current-diff view.
19206 * (bug 2618) Fix regression from another fix; show initial preview for
19207 categories only if the page does not exist.
19208 * (bug 2625) Keep group & user settings when paging in Listusers
19209 * (bug 2627) Fix regression: diff radio button initial selection
19210 * Copy fix for old search URLs with Lucene search plugin from REL1_4
19211 * (bug 619) Don't use incompatible diff3 executable on non-Linux systems.
19212 * (bug 2631) Fix Hebrew namespaces.
19213 * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list
19214 * (bug 2644, 2645) "cur" diff links in page history, watchlist and
19215 recentchanges should specify current ID explicitly.
19216 * (bug 2609) Fix text justification preferenced with MonoBook skin.
19217 * (bug 2594) Display article tab as red for non-existent articles.
19218 * (bug 2656) Fix regression: prevent blocked users from reverting images
19219 * (bug 2629) Automatically capitalize usernames again instead of
19220 rejecting lowercase with a useless error message
19221 * (bug 2661) Fix link generation in contribs
19222 * Add support for &preload=Page_name (load text of an existing page into
19223 edit area) and &editintro=Page_name (load text of an existing page instead
19224 of MediaWiki:Newpagetext) to &action=edit, if page is new.
19225 * (bugs 2633, 2672, 2685, 2695) Fix Estonian, Portuguese, Italian, Finnish and
19226 Spanish numeric formatting
19227 * Fixed Swedish numeric formatting
19228 * (bug 2658) Fix signature time, localtime to match timezone offset again
19229 * Files from shared repositories (e.g. commons) now display with their
19230 image description pages when viewed on local wikis.
19231 * Restore compatibility namespace aliases for French Wikipedia
19232 * Fix diff order on Enhanced RC 'changes' link
19233 * (bug 2650) Fix national date type display on wikis that don't support
19234 dynamic date conversion.
19235 * FiveUpgrade: large table hacks, install iw_trans update before links
19236 * (bug 2648) Rename namespaces in Afrikaanse
19237 * Special:Booksources checks if custom list page exists before using it
19238 * (bug 1170) Fixed linktrail for da: and ru:
19239 * (bug 2683) Really fix apostrophe escaping for toolbox tips
19240 * (bug 923) Fix title and subtitle for rclinked special page
19241 * (bug 2642) watchdetails message in several languages used <a></a> instead of
19242 [ ]
19243 * (bug 2181) basic CSB language localisation by Tomasz G. Sienicki (thanks for
19244 the patch)
19245 * Fix correct use of escaping in edit toolbar bits
19246 * Removed language conversion support from Icelandic
19247 * (bug 2616) Fix proportional image scaling, giving correct height
19248 * (bug 2640) Include width and height attributes on unscaled images
19249 * Workaround for mysterious problem with bogus epoch If-Last-Modified reqs
19250 * (bug 1109) Suppress compressed output on 304 responses
19251 * (bug 2674) Include some site configuration info in export data:
19252 namespaces definitions, case-sensitivity, site name, version.
19253 * Use xml:space="preserve" hint on export <text> elements
19254 * Make language variant selection work again for zh
19255
19256 == Changes since 1.5beta2 ==
19257
19258 * Escaped & correctly in Special:Contributions
19259 * (bug 2534) Hide edit sections with CSS to make right click to edit section
19260 work
19261 * (bug 2708) Avoid undefined notice on cookieless login attempt
19262 * (bug 2188) Correct template namespace for Greek localization
19263 * Fixed number formatting for Dutch
19264 * (bug 1355) add class noprint to commonPrint.css
19265 * (bug 2350) Massive update for Limburgish (li) language using Wikipédia
19266 * Massive update for Arab (ar) language using Wikipédia
19267 * (bug 1560) Massive update for Kurdish (ku) language using Wikipédia
19268 * (bug 2709) Some messages were not read from database
19269 * (bug 2416) Don't allow search engine robots to index or follow nonexisting
19270 articles
19271 * Fix escaping in page move template.
19272 * (bug 153) Discrepancy between thumbnail size and <img> height attribute
19273
19274 == Changes since 1.5beta3 ==
19275
19276 * Fix talk page move handling
19277 * (bug 2721) New language file for Vietnamese with the Vietnamese number
19278 notation
19279 * (bug 2749) &nbsp; would appear as a literal in image galleries for Cs, Fr,
19280 Fur, Pl and Sv
19281 * (bug 787) external links being rendered when they only have one slash
19282 * Fixed a missing typecast in Language::dateFormat() that would cause some
19283 interesting errors with signitures.
19284 * (bug 2764) Number format for Nds
19285 * (bug 1553) Stop forcing lowercase in Monobook skin for German language.
19286 * (bug 1064) Implements Special:Unusedcategories
19287 * (bug 2311) New language file for Macedonian
19288 * Fix nohistory message on empty page history
19289 * Fix fatal error in history when validation on
19290 * Cleaned up email notification message formatting
19291 * Finally fixed Special:Disambiguations that was broke since SCHEMA_WORK
19292 * (bug 2761) fix capitalization of "i" in Turkish
19293 * (bug 2789) memcached image metadata now cleared after deletion
19294 * Add serialized version number to image metadata cache records
19295 * (bug 2780) Fix thumbnail generation with GD for new image schema
19296 * (bug 2791) Slovene numeric format
19297 * (bug 655) Provide empty search form when searching for nothing
19298 * Nynorsk numeric format fix
19299 * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off
19300 * (bug 2833) Fix bug in previous fix
19301 * With $wgCapitalLinks off, accept off-by-first-letter-case in 'go' match
19302 * Optional parameters for [[Special:Listusers]]
19303 * (bug 2832) [[Special:Listadmins]] redirects to [[Special:Listusers/sysop]]
19304 * (bug 785) Parser did not get out of <pre> with list elements
19305 * Some shared upload fixes
19306 * (bug 2768) section=new on nonexistent talk page does not add heading
19307 * support preload= parameter for section=new
19308 * show comment subject in preview when using section=new
19309 * use comment form when creating a new talk page
19310 * (bug 460) Properly handle <center> tags as a block.
19311 * Undo inconsistent editing behavior change
19312 * (bug 2835) Back out fix for bug 2802, caused regressions in category sort
19313 * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
19314 * (bug 2901) Number format for Catalan
19315 * Special:Allpages performance hacks: index memcached caching, removed
19316 inverse checkbox, use friendlier relative offsets in index build
19317 * Bring back "Chick" skin for mobile devices. It needs testing.
19318 * Fix spelling of $wgForwardSearchUrl in DefaultSettings.php
19319 * Specify USE INDEX on Allpages chunk queries, sometimes gets lost
19320 due to bogus optimization
19321 * (bug 275) Section duplication fix
19322 * Remove unused use of undefined variable in UserMailer
19323 * Fix notice on search index update due to non-array
19324 * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
19325 * (bug 2931) Fix additional notices on reference use in PHP 4.4.0
19326 * (bug 2774) Add three new $wgHooks to LogPage which enable extensions to add
19327 their own logtypes, see extensions/Renameuser/SpecialRenameuser.php for an
19328 example of this.
19329 * (bug 740) Messages from extensions now appear in Special:Allmessages
19330 * (bug 2857) fixed parsing of lists in <pre> sections
19331 * (bug 796) Trackback support
19332 * Fix 1.5 regression: weird, backwards diff links on new pages in enhanced RC
19333 are now suppressed as before.
19334 * New skin: Simple
19335 * "uselang" and "useskin" URL parameters can now be used in the URL when
19336 viewing a page, to change the language and skin of a page respectively.
19337 * Skins can now be previewed in preferences
19338 * (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook,
19339 patch from robla
19340 * Wrap revision insert & page update in a transaction, rollback on late
19341 edit conflict.
19342 * (bug 2953) 'other' didn't work in Special:Blockip when localized
19343 * (bug 2958) Rollback and delete auto-summary should be in the project's
19344 content language
19345 * Removed useless protectreason message
19346 * Spelling fix: $wgUrlProtcols -> $wgUrlProtocols
19347 * Switch Moldovan local name to cyrillic
19348 * Fix typo in undefined array index access prevention
19349 * (bug 2947) Update namespaces for sr localization
19350 * (bug 2952) Added Asturian language file with translated namespaces
19351 * (bug 2676) Apply a protective transformation on editing input/output
19352 for browsers that hit the Unicode blacklist. Patch by plugwash.
19353 * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php
19354 * compressOld.php disabled, as it's known to be broken.
19355
19356
19357 === Changes since 1.5beta4 ===
19358
19359 * Fix Special:Allmessages under PHP 5
19360 * (bug 2911) Special:Watchlist allowed only one type of limit at a time
19361 * (bug 693) Special:Allmessages is excessively wide and redundant
19362 * (bug 3001) Updated and applied live hack for recentchanges-based watchlist
19363 * (bug 145) Finish 'exclude redirect' implementation in search form
19364 * Rearranged Special:Movepage form to reduce confusion between destination
19365 title and reason input boxes
19366 * (bug 2527) Always set destination filename when new file is selected
19367 * (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX
19368 * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect
19369 if running prior to 4.2.0 as it causes the call to fail
19370 * (bug 3117) Fix display of upload size and type with tidy on
19371 * (bug 1487) invalid html on empty list in banlist
19372 * (bug 3017) Hotkey conflict for delete and show changes
19373 * made pixel unit translateable and blocklistline now eats infiniteblock
19374 and expiringblock
19375 * (bug 3092) Wrong numerical separator for big numbers in Serbian.
19376 * (bug 2855) Credit for a uniq author showed its realname even with
19377 $wgAllowRealName=false.
19378 * New special page: SpecialMostlinked
19379 * (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom )
19380 * Fix display of read-only lockfile message
19381 * Added a new hook, 'AddNewAccount', which is run after account creation
19382 * Update all stats fields on recount.sql
19383 * Include software-visible client IP address in Special:Version comment
19384 as a proxy debugging aid
19385 * (bug 3162) Fix 'undefined property page_is_new' error on watchlist
19386 * (bug 1734) granting db permissions failed with db usernames containg '-'
19387 * (bug 3170) wikititlesuffix was removed, use pagetitle instead
19388 * (bug 3187) watchlist text refer to unexistent "Stop watching" action
19389 * (bug 3190) Added some date format choices for language sr
19390 * (bug 1334) LanguageGa.php update
19391 * (bug 1020) Changing user interface language does not work immediately
19392 * (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil)
19393 * (bug 3204) Fix typo breaking special pages in fy localization
19394 * (bug 3210) Fix Media: links with remote image URL path
19395 * (bug 3220) Fix escaping of block URLs in Recentchanges
19396 * (bug 3238): Updated LanguageNn.php for 1_5 branch
19397 * (bug 3192): properly check 'limit' parameter on Special:Contributions
19398 * (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE
19399 * Fix URL sanitization in HTML attributes, which broke in this branch
19400 * (bug 3475) anon contrib links on Special:Newpages
19401
19402
19403 === Changes since 1.5rc2 ===
19404
19405 * Fix upgrade from 1.4 due to version number check breakage
19406 * Fix upgrade from 1.4 with no old revisions
19407 * (bug 2108) Sort entries when using category browser
19408 * XSS issue : now sanitize search query input
19409
19410
19411 === Changes since 1.5rc3 ===
19412
19413 * (bug 3280) Respect 'move' group permission on page moves
19414 * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete
19415 * Security fix for <math>
19416 * Security fix for tables
19417
19418
19419 === Changes since 1.5rc4 ===
19420
19421 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
19422 * (bug 2078) Don't hide watch tab on preview
19423 * (bug 3306) Document $wgLocalTZoffset
19424 * Support SVG rendering with rsvg
19425 * Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
19426 * (bug 3127) Render large SVGs at image page size correctly
19427 * (bug 3448) Set page_len on undelete
19428 * (bug 2800) Don't scale up small iamges on |thumb| without explicit size
19429 * Use the real file link instead of the default-size rasterized version for
19430 large SVG images on image description page
19431 * Include the file name/type/size line for non-resized images
19432 * (bug 3412) Clean up date format handling so ~~~~-sigs work with default
19433 format as designed. Documentation comments updated.
19434 * (bug 1423) LanguageJa.php update
19435 * (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
19436 * (bug 3485) Fix bogus warning about filename capitalization when off
19437 * (bug 2792) Update rebuildrecentchanges.inc for new schema
19438 * Special:Import/importDump fixes: report XML parse errors, accept <minor/>
19439 * (bug 3489) PHP 5.1 compat problem with captioned images
19440 * (bug 3350) Missing label for move talk page checkbox.
19441 * (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
19442 by default when 'watchdefault' option is on
19443 * (bug 3182) Clear link cache during import to prevent memory leak
19444 * (bug 3573) Full Greek Translation
19445 * (bug 3595) Warn and abort if importDump.php called in read-only mode.
19446 * (bug 3598) Update message cache on message page deletion, patch by Tietew
19447 * Blacklist additional MSIE CSS safety tricks
19448
19449
19450 === Changes since 1.5.0 ===
19451
19452 * (bug 3629) Fix date & time format for Frisian
19453 * (bug 3641) Fix handling of unrecognized file uploads with known extensions
19454 * (bug 3643) Fix image page display of large images with resizing disabled
19455 * Fix meta robots tag on Special:Version again to avoid listing vulnerable
19456 versions for convenient harvesting by automated worms
19457 * (bug 3684) Fix typo in fatal error backtraces in Hooks.php
19458 * Backport fix for reference usage notice in Special:Search on PHP 4.4.0
19459 * Backport database connect error display fix from HEAD
19460 * (bug 2773) Print style sheet no longer overrides RTL text direction
19461 * MonoBook skin top link id changed from "contentTop" to "top" (shared with
19462 name attribute)
19463 * Wrap message page insertions in a transaction to speed up installation
19464 * Fix Special:MovePage invalid HTML attribute for reason textarea
19465 * Avoid notice warning on edit with no User-Agent header
19466 * (bug 3734) Swapped out obsolete recount.sql with initStats.php
19467 * (bug 3735) Fix to run under MySQL 5's strict mode
19468 * (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode
19469 NOTE: Enabling this may break existing wikis, and still doesn't
19470 work for all Unicode characters due to MySQL limitations.
19471 * Sanitizer CSS comment processing order fix
19472
19473
19474 === Changes since 1.5.1 ===
19475
19476 * Fix Special:BrokenRedirects on MySQL 5.0
19477 * (bug 3809) Backport fix for detecting diff3 failure
19478 * MySQL 5.0 strict mode fix for moving unwatched pages
19479 * (bug 3782) Throw fatal installation warning if mbstring.func_overload on.
19480 Why do people invent these crazy options that change language semantics?
19481 * (bug 3762) Define missing Special:Import UI messages
19482 * (bug 3771) Handle internal functions in backtrace in wfAbruptExit()
19483 * (bug 3649) Remove obsolete, broken moveCustomMessages script
19484 * (bug 3667) Add missing global in page move code
19485 * (bug 3761) Avoid deprecation warnings in Special:Import
19486 * (bug 2885) Remove unnecessary reference parameter which broke classic skin
19487 talk notification on PHP 5.0.5
19488 * (bug 3845) Update attribute.php for 1.5 schema
19489 * Fix Parser::unstrip on PHP 4.4.1 and PHP 5.1.0RC4
19490
19491
19492 === Changes since 1.5.2 ===
19493
19494 * (bug 3612) Remove old broken version of maintenance/compressOld.php
19495 The working version is in maintenance/storage/compressOld.php
19496 * (bug 2740) Accept image deletions on 'enter' submit from MSIE
19497 * (bug 3933) specify XML namespace for Atom 0.3 feeds
19498 * (bug 3939) Don't try to load text for interwiki redirect target
19499 * (bug 3948) Avoid notice warning in debug statement in bad search
19500 * Recognize Special:Search consistently so read whitelist works
19501 * (bug 4013) typo in fr
19502 * (bug 3996) Fix text for new entries in RC RSS/Atom feed
19503 * (bug 2894) Enhanced Recent Changes link fixes
19504 * (bug 3065) Update both watched namespaces when renaming pages
19505 * Move parentheses out of <a> link in Special:Contributions
19506 * (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength
19507 * (bug 4035) Fix prev/next revision links on edit page
19508 * (bug 4165) Correct validation for user language selection (data taint)
19509 * Clearer message in DefaultSettings.php: edit LocalSettings.php instead
19510
19511
19512 === Changes since 1.5.3 ===
19513
19514 * (bug 3805) Clear 'new messages' flag properly in enotif mode
19515 for usernames containing spaces
19516 * (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing'
19517 * (bug 4249) Typo in entities2literals.pl
19518 * (bug 4233) Update for japanese language
19519 * (bug 4279) Small correction to LanguageDa.php
19520 * (bug 4267) Switch dv sd ug ks arc languages to RTL
19521 * (bug 3991) Allow the operation of wikicode on Protect move only text
19522 * Added AutoAuthenticate hook for external User object suppliers
19523 * Parser internal placeholder string now fully randomized for safety
19524
19525 === Changes since 1.5.4 ===
19526
19527 * Maintenance script to delete unused user accounts
19528 * Added detection for WMF files (application/x-msmetafile), added this
19529 MIME type to the default blacklist. Prevented inline display of images
19530 which are not of known image types. This is in response to
19531 http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
19532
19533 === Changes since 1.5.5 ===
19534
19535 * (bug 4258) When installing under IIS, $wgArticlePath = "$wgScript?title=$1"
19536 should be set
19537 * (bug 4510) Correct Barnes & Noble bookstore URLs
19538 * (bug 4504) Use site language for namespace name resolution
19539 * Installer fixes from HEAD backported; now uses a more sensible method of
19540 establishing which mySQL user to use, which clears up bug 921 et al. Minor
19541 changes to installer.
19542 * Fix problem reported on mailing list where re-initialising stats didn't work
19543 (can't insert duplicate rows with the same id field)
19544 * (bug 1122) gray out 'older revision' when viewing first article revision.
19545 * Respect database prefix in dumpHTML.inc
19546 * Minor improvements to removeUnusedAccounts.php maintenance script
19547 * Fix for single-digit week numbers from {{CURRENTWEEK}}, broken by PHP 4.4.1
19548 * Removed read-only check from Database::query()
19549 * Added --conf option to command line scripts, allowing the user to specify a
19550 different LocalSettings.php.
19551
19552 === Changes since 1.5.6 ===
19553
19554 * Default main page content improved per bug 4690
19555 * Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php
19556 * Fixed Special:Unlockdb
19557 * Maintenance script to delete unused text records
19558 * Maintenance script to delete non-current revisions
19559 * Maintenance script to wipe a page and all revisions from the database
19560 * (bug 4768) Wrong Russian translation (typo)
19561 * Performance bugfix: propagate equality manually for Revision fetches
19562 * (bug 4773) PHP fatal error when invalid title passed to Special:Export
19563 * Added missing table defs. for transcache to installer schemas
19564 * (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds,
19565 and seems to work ok with other bits. No longer including the IE
19566 workarounds JavaScript for IE 7 and above.
19567 * (bug 2532) Image directory structure migration bug
19568 * (bug 4881) Correction to the fix for 1487; Ipblocklist showed 'no blocks'
19569 message at the end of the list even if there were blocks.
19570 * (bug 4805) Removed more wikipedia-references from LanguageUk.php
19571 * Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not
19572 list pages with less than this number of links. Defaults to 1.
19573 * Allow customisation of paging limits for items in categories using the
19574 $wgCategoryPagingLimit global, per bug 4970.
19575 * Improve "nogomatch" text to make it more obvious that a page can be created.
19576 * (bug 5113) Spelling error in French language file
19577 * Don't change the password of the MySQL root user.
19578
19579 === Changes since 1.5.7 ===
19580
19581 * (bug 5180) User login page shows inappropriate email blurb
19582 * Add the "AbortNewAccount" hook on account creation; see hooks.txt for more
19583 info.
19584 * Update default "exporttext" to reflect that Special:Import exists
19585 * Add links to useful material to the default main page content
19586 * Fix fragment HTML injection
19587
19588 === Changes since 1.5.8 ===
19589
19590 * Fixed obvious mistakes in Finnish (fi) translation
19591 * Fixed obvious mistakes in Kurdish (ku) translation
19592 * Merge two #p-search .pBody statements i monobook/main.css
19593 * (bug 5156) Update for Hebrew language (he) translation
19594 * Add the "UserRights" hook on user group changes; see hooks.txt for more info.
19595 * Translated "listingcontinuesabbrev" for German
19596
19597 === Caveats ===
19598
19599 Some output, particularly involving user-supplied inline HTML, may not
19600 produce 100% valid or well-formed XHTML output. Testers are welcome to
19601 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
19602 cases, but this is not recommended on live sites. (This must be set for
19603 MathML to display properly in Mozilla.)
19604
19605 = MediaWiki 1.4 =
19606
19607 == MediaWiki 1.4.15 ==
19608
19609 (released March 26, 2006) MediaWiki 1.4.15 is a security maintenance release. A
19610 bug in decoding of certain encoded links could allow injection of raw HTML into
19611 page output; this could potentially lead to XSS attacks. Additionally, this
19612 release may display more correctly in IE7 betas.
19613
19614 == MediaWiki 1.4.14 ==
19615 (released January 19, 2006) MediaWiki 1.4.14 is a security and bugfix
19616 maintenance release. A bug in edit comment formatting could send PHP into an
19617 infinite loop if certain malformed links were included. In most installations,
19618 this would cause the script to fail after PHP's 30-second failsafe timeout. For
19619 several other minor fixes, see the complete changelog at the end of this file.
19620
19621 == MediaWiki 1.4.13 ==
19622 (released January 5, 2006) MediaWiki 1.4.13 is a security maintenance
19623 release.Detection for uploads of Windows Metafile (.wmf) images has been added
19624 to help protect against a client-side vulnerability in unpatched Microsoft
19625 Windows operating systems. Sites which have enabled uploads and added
19626 non-standard file types (such as .ogg, .doc, or .pdf) should upgrade to this
19627 release to ensure that malicious .wmf files can't be uploaded with a fake
19628 extension; such files could put visitors to the site at risk. For more details
19629 on this, see: http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
19630
19631 == MediaWiki 1.4.12 ==
19632 (released 2005-11-02) MediaWiki 1.4.12 is a bugfix and security maintenance
19633 release. A change in PHP 4.4.1 broke handling of extension and
19634 <nowiki><pre></nowiki> sections, causing garbage data to be inserted in output
19635 and saved edits. This version works around the change. This release includes
19636 further corrections to the inline CSS style sanitation which works around a
19637 JavaScript "feature" on Microsoft Internet Explorer. Users of Microsoft
19638 Internet Explorer for Windows may be vulnerable to XSS injections on prior 1.4
19639 releases; users of standards-compliant browsers are not vulnerable.
19640
19641 == MediaWiki 1.4.11 ==
19642 (released 2005-10-05) MediaWiki 1.4.11 is a security maintenance release.
19643 Unsafe handling of CSS by Microsoft Internet Explorer could be exploited to
19644 produce cross-site scripting attacks by JavaScript injection to clients running
19645 that browser. This release blacklists several additional variants from use in
19646 HTML inline style attributes. All publicly accessible wikis are recommended to
19647 upgrade to reduce the risk to visitors using Microsoft web browsers. Note: the
19648 MediaWiki 1.4.x series is not compatible with PHP 5.0.5 or higher. Upgrade to
19649 the 1.5.0 release if you require this version of PHP 5.
19650
19651 == MediaWiki 1.4.10 ==
19652 (released 2005-09-21) MediaWiki 1.4.10 is a security maintenance release. A bug
19653 in edit submission handling could cause corruption of the previous revision in
19654 the database if an abnormal URL was used, such as those used by some spambots.
19655 Affected releases:
19656 * 1.4.x <= 1.4.9; fixed in 1.4.10
19657 * 1.3.x <= 1.3.15; fixed in 1.3.16
19658 1.5 release candidates are not affected by this problem. All publicly editable
19659 wikis are strongly recommended to upgrade immediately.
19660 1.4 releases can be manually patched by changing this bit in EditPage.php:
19661
19662 <syntaxhighlight lang="php">
19663 function importFormData( &$request ) {
19664 if( $request->wasPosted() ) {
19665 </syntaxhighlight>
19666 to:
19667 <syntaxhighlight lang="php">
19668 function importFormData( &$request ) {
19669 if( $request->getVal( 'action' ) == 'submit' && $request->wasPosted() )
19670 {
19671 </syntaxhighlight>
19672 == MediaWiki 1.4.9 ==
19673 (released 2005-08-29) MediaWiki 1.4.9 is a security maintenance release. It
19674 corrects two cross-site scripting security bugs:
19675 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
19676 support is off, as in the default configuration.
19677 * Extension or <nowiki><nowiki></nowiki> sections in Wiki table syntax could
19678 bypass HTML style attribute restrictions for cross-site scripting attacks
19679 against Microsoft Internet Explorer Wikis where the optional math support has
19680 been *enabled* are not vulnerable to the first, but are vulnerable to the
19681 second.
19682
19683 == MediaWiki 1.4.8 ==
19684 (released 2005-08-23) MediaWiki 1.4.8 is a bug fix and security maintenance
19685 release. A flaw in the interaction between extensions and HTML attribute
19686 sanitization was discovered which could allow unauthorized use of offsite
19687 resources in style sheets, and possible exploitation of a JavaScript injection
19688 feature on Microsoft Internet Explorer. This version expands the returned text
19689 and properly checks it before output. Additionally, an update to
19690 skins/MonoBook.php ensures that sites using the default MonoBook skin will
19691 display correctly in the Internet Explorer 7 beta. (1.3 and 1.5 are not
19692 affected by this bug.)
19693
19694 == MediaWiki 1.4.7 ==
19695 (released 2005-07-16)
19696 MediaWiki 1.4.7 is a bug fix release. Those affected by the following problems
19697 in 1.4.6 should upgrade:
19698 * Watchlist breakage on MySQL 3.23.x and with table prefix enabled
19699 * Possible breakage in watchlist, some image resizing modes on PHP 4.1.2 1.4.6
19700 included a fix for a cross-site scripting vulnerability, so anyone running
19701 older 1.4 releases is very strongly encouraged to upgrade as well. Note to
19702 upgraders: this version of MediaWiki is known to produce a large number of
19703 notice-level warnings under the newly released PHP 4.4.0. These appear however
19704 to be harmless; if you encounter them add this to your LocalSettings.php to
19705 suppress the notices: error_reporting( E_ALL & ~E_NOTICE ); PHP 5.1.0beta3 is
19706 known to be incompatible at this time.
19707
19708 == MediaWiki 1.4.6 ==
19709 (released 2005-07-07) MediaWiki 1.4.6 is a bug fix and security update release.
19710 Incorrect escaping of a parameter in the page move template could
19711 be used to inject JavaScript code by getting a victim to visit a maliciously
19712 constructed URL. Users of vulnerable releases are recommended to upgrade to
19713 this release. Vulnerable versions:
19714 * 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3
19715 * 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6
19716 * 1.3 legacy series: not vulnerable This release also includes fixes for some
19717 rare bug annoying HTTP errors, a PHP 4.1.2 breakage bug, and works around some
19718 template limitations introduced in 1.4.5. See the changelog at the end of this
19719 file for a detailed list of bugs fixed.
19720
19721 == MediaWiki 1.4.5 ==
19722 (released 2005-06-03) MediaWiki 1.4.5 is a security update and bugfix release.
19723 Incorrect handling of page template inclusions made it possible to inject
19724 JavaScript code into HTML attributes, which could lead to cross-site scripting
19725 attacks on a publicly editable wiki. Vulnerable releases and fix:
19726 * 1.5 prerelease: fixed in 1.5alpha2
19727 * 1.4 stable series: fixed in 1.4.5
19728 * 1.3 legacy series: fixed in 1.3.13
19729 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended This
19730 release also includes a number of bug fixes (see changelog below) and merges
19731 some large-server load balancing patches from Wikipedia. An experimental rate
19732 limiter for page edits and moves can be enabled with global, per-IP,
19733 per-subnet, or per-user bases. See configuration options in
19734 includes/DefaultSettings.php
19735
19736 == MediaWiki 1.4.4 ==
19737 (released 2005-05-04) MediaWiki 1.4.4 is a bugfix release for the 1.4 stable
19738 release series. Some bugs in the installer/updater and refreshLinks maintenance
19739 script were introduced in the last release and have been corrected.
19740
19741 == MediaWiki 1.4.3 ==
19742
19743 (released 2005-04-28)
19744
19745 MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series.
19746
19747 Chiefly, this fixes a compatibility problem with PHP 5 and a minor link
19748 table corruption bug on initial page save.
19749
19750
19751 == MediaWiki 1.4.2 ==
19752
19753 (released 2005-04-20)
19754
19755 MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release
19756 series.
19757
19758 A cross-site scripting injection vulnerability was discovered, which
19759 affects only MSIE clients and is only open if MediaWiki has been
19760 manually configured to run output through HTML Tidy ($wgUseTidy).
19761
19762 Several other bugs are fixed in this release, see the changelog below.
19763
19764 All new installations are highly recommended to use 1.4.2 instead of
19765 1.3.x; 1.3.x users should consider upgrading for bug fixes and new
19766 features. Ealier 1.4.x release and beta users should upgrade to this
19767 release for relevant bug fixes; see the changelog later in this file.
19768
19769
19770 If you have trouble, remember to read this whole file and the online FAQ page
19771 before asking for help:
19772
19773 https://www.mediawiki.org/wiki/Manual:FAQ
19774
19775
19776 === READ THIS FIRST: Upgrading ===
19777
19778 If upgrading from an older release, see the notes in the file UPGRADE.
19779 There are a couple of minor database changes from the beta releases,
19780 and somewhat larger changes from 1.3.x.
19781
19782 Upgrading from a previous 1.4.x stable release installation should
19783 generally only require copying the new files over the old ones.
19784
19785
19786 ==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ====
19787
19788 MySQL 5.0 is a beta release, not yet ready for production use. If you
19789 are using it, the notes below about 4.1 apply to you too.
19790
19791 If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for
19792 some other application, you should consider sticking with 4.0 for the
19793 moment. 4.1 may require you to do extra fiddling to get things to work
19794 due to changes that aren't fully backwards-compatible.
19795
19796 MySQL 4.1 has changed the authentication protocol in an incompatible
19797 way; many PHP installations still use the older client libraries and
19798 CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes.
19799
19800 See: http://dev.mysql.com/doc/mysql/en/Old_client.html
19801
19802 If MySQL is set with utf-8 as the default character set, installation
19803 may fail with "key too long" errors. Set the default charset to 'latin1'
19804 for installation and it should work.
19805
19806 The mysqldump backup generator now applies an automatic conversion to
19807 UTF-8, which may irretrivably corrupt your data. Pass the -charset option
19808 with the original default charset (eg 'latin1') to skip the conversion.
19809
19810
19811 ==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ====
19812
19813 MediaWiki is tested and deployed primarily under the Apache web server
19814 on Linux Unix systems. There are known to be problems running on
19815 Microsoft's IIS which are not fully resolved. If you have a choice,
19816 try running under Apache on Windows, or on a Unix/Linux box instead.
19817
19818 If you're having trouble with blank pages on IIS and can't switch,
19819 try the workaround suggested in this bug report:
19820 http://bugzilla.wikimedia.org/show_bug.cgi?id=1763
19821
19822
19823 === New features ===
19824
19825 * 'Recentchanges Patrol' to mark new edits that haven't yet been viewed.
19826 * New, searchable deletion/upload/protection logs
19827 * Image gallery generation (Special:Newimages and <gallery> tag)
19828 * SVG rasterization support (requires external support tools)
19829 * Users can select from the available localizations to override the
19830 default user interface language.
19831 * Traditional/Simplified Chinese conversion support
19832 * rel="nofollow" support to combat linkspam
19833
19834 The current implementation adds this attribute to _all_ external URL
19835 links in wiki text (but not internal [[wiki links]] or interwiki links).
19836 To disable the attribute for _all_ external links, add this line to your
19837 LocalSettings.php:
19838
19839 $wgNoFollowLinks = false
19840
19841 For background information on nofollow see:
19842
19843 http://www.google.com/googleblog/2005/01/preventing-comment-spam.html
19844
19845
19846 === Installation and compatibility ===
19847
19848 * The default MonoBook theme now works with PHP 5.0
19849 * Installation on systems with PHP's safe mode or other oddities
19850 should work more reliably, as MonoBook no longer needs to
19851 create a compiled template file for the wiki to run.
19852 * A table prefix may be specified, to avoid conflicts with other
19853 web applications forced to share a database.
19854 * More thorough UTF-8 input validation; fixes non-ASCII uploaded
19855 filenames from Safari.
19856 * Command-line database upgrade script.
19857
19858
19859 === Customizability ===
19860
19861 * Default user options can now be overridden in LocalSettings.
19862 * Skins system more modular: templates and CSS are now in /skins/
19863 New skins can be dropped into this directory and used immediately.
19864 * More extension hooks have been added.
19865 * Authentication plugin hook.
19866 * More internal code documentation, generated with phpdoc:
19867 https://doc.wikimedia.org/mediawiki-core/master/php/html/
19868
19869
19870 === Optimization ===
19871
19872 * For many operations, MediaWiki 1.4 should run faster and use
19873 less memory than MediaWiki 1.3. Page rendering is up to twice
19874 as fast. (Use a PHP accelerator such as Turck MMCache for best
19875 results with any PHP application, though!)
19876 * The parser cache no longer requires memcached, and is enabled
19877 by default. This avoids a lot of re-rendering of pages that
19878 have been shown recently, greatly speeding longer page views.
19879 * Support for compiled PHP modules to speed up page diff and
19880 Unicode validation/normalization. (Requires ability to compile
19881 and load PHP extensions).
19882
19883
19884 === What isn't ready yet ===
19885
19886 * A new user/groups permissions scheme has been held back to 1.5.
19887 * An experimental SOAP interface will be made available as an extension
19888 * PostgreSQL support is largely working, minus search and the installer.
19889 You can perform a manual installation.
19890 * E-mail notification of watched page changes and verification of
19891 user-submitted e-mail addresses is not yet included.
19892 * Log pages are not automatically imported into the new log table
19893 at upgrade time. A script to import old text log entries is
19894 incomplete, but may be available in later point releases.
19895 * Some localizations are still incomplete.
19896
19897
19898
19899 == Changelog ==
19900
19901 === Important security updates ===
19902
19903 A security audit found and fixed a number of problems. Users of MediaWiki
19904 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases
19905 prior to 1.4rc1 should upgrade immediately.
19906
19907 ==== Cross-site scripting vulnerability ====
19908
19909 XSS injection points can be used to hijack session and authentication
19910 cookies as well as more serious attacks.
19911
19912 * Media: links output raw text into an attribute value, potentially
19913 abusable for JavaScript injection. This has been corrected.
19914 * Additional checks added to file upload to protect against MSIE and
19915 Safari MIME-type autodetection bugs.
19916
19917 As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled
19918 by default as a general precaution. Sites which want this ability may set
19919 $wgAllowUserCss and $wgAllowUserJs in LocalSettings.php.
19920
19921
19922 ==== Cross-site request forgery ====
19923
19924 An attacker could use JavaScript-submitted forms to perform various
19925 restricted actions by tricking an authenticated user into visiting
19926 a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has
19927 been expanded in this release to other forms and functions.
19928
19929 Authors of bot tools may need to update their code to include the
19930 additional fields.
19931
19932
19933 ==== Directory traversal ====
19934
19935 An unchecked parameter in image deletion could allow an authenticated
19936 administrator to delete arbitary files in directories writable by the
19937 web server, and confirm existence of files not deletable.
19938
19939
19940 ==== Older issues ====
19941
19942 Note that 1.4 beta releases prior to beta 5 include an input validation
19943 error which could lead to execution of arbitrary PHP code on the server.
19944 Users of older betas should upgrade immediately to the current version.
19945
19946
19947 Beta 6 also introduces the use of rel="nofollow" attributes on external
19948 links in wiki pages to reduce the effectiveness of wiki spam. This will
19949 cause participating search engines to ignore external URL links from wiki
19950 pages for purposes of page relevancy ranking.
19951
19952
19953 === Misc bugs fixed in beta 1 ===
19954
19955 * (bug 95) Templates no longer limited to 5 inclusions per page
19956 * New user preference for limiting the image size for images on image
19957 description pages
19958 * (bug 530) Allow user to preview article on first edit
19959 * (bug 479) [[RFC 1234]] will now make an internal link
19960 * (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages
19961 * (bug 770) Adding filter and username exact search match for Special:Listusers
19962 * (bug 733) Installer die if it can not write LocalSettings.php
19963 * (bug 705) Various special pages no more show the rss/atom feed links
19964 * (bug 114) use category backlinks in Special:Recentchangeslinked
19965
19966 === Beta 2 fixes ===
19967
19968 * (bug 987) Reverted bogus fix for bug 502
19969 * (bug 992) Fix enhanced recent changes in PHP5
19970 * (bug 1009) Fix Special:Makesysop when using table prefixes
19971 * (bug 1010) fix broken Commons image link on Classic & Cologne Blue
19972 * (bug 985) Fix auto-summary for section edits
19973 * (bug 995) Close <a> tag
19974 * (bug 1004) renamed norsk language links (twice)
19975 * Login works again when using an old-style default skin
19976 * Fix for load balancing mode, notify if using old settings format
19977 * (bug 1014) Missing image size option on old accounts handled gracefully
19978 * (bug 1027) Fix page moves with table prefix
19979 * (bug 1018) Some pages fail with stub threshold enabled
19980 * (bug 1024) Fix link to high-res image version on Image: pages
19981 * (bug 1016) Fix handling of lines omitting Image: in a <gallery> tag
19982 * security fix for image galleries
19983 * (bug 1039) Avoid error message in certain message cache failure modes
19984 * Fix string escaping with PostgreSQL
19985 * (bug 1015) [partial] -- use comment formatter on image gallery text
19986 * Allow customization of all UI languages
19987 * use $wgForceUIMsgAsContentMsg to make regular UI messages act as content
19988 * new user option for zh users to disable language conversion
19989 * Defer message cache initialization, shaving a few ms off file cache hits
19990 * Fixed Special:Allmessages when using table prefixes
19991 * (bug 996) Fix $wgWhitelistRead to work again
19992 * (bug 1028) fix page move over redirect to not fail on the unique index
19993
19994 === Beta 3 fixes ===
19995
19996 * Hide RC patrol markers when patrol is disabled or not allowed to patrol.
19997 * Fix language selection for upgraded accounts
19998 * (bug 1076) navigation links in QueryPage should be translated by wgContLang.
19999 * (bug 922) bogus DOS line endings in LanguageEl.php
20000 * Fix index usage in contribs
20001 * Caching and load limiting options for Recentchanges RSS/Atom feed
20002 * (bug 1074) Add stock icons for non-image files in gallery/Newimages
20003 * Add width and height attributes on thumbs in gallery/Newimages
20004 * Enhance upload extension blacklist to protect against vulnerable
20005 Apache configurations
20006
20007 === Beta 4 fixes ===
20008
20009 * (bug 1090) Fix sitesupport links in CB/classic skins
20010 * Gracefully ignore non-legal titles in a <gallery>
20011 * Fix message page caching behavior when $wgCapitalLinks is turned off
20012 after installation and the wiki is subsequently upgraded
20013 * Database error messages include the database server name/address
20014 * Paging support for large categories
20015 * Fix image page scaling when thumbnail generation is disabled
20016 * Select the content language in prefs when bogus interface language is set
20017 * Fix interwiki links in edit comments
20018 * Fix crash on banned user visit
20019 * Avoid PHP warning messages when thumbnail not generated
20020 * (bug 1157) List unblocks correctly in Special:Log
20021 * Fix fatal errors in LanguageLi.php
20022 * Undo overly bright, difficult to read colors in Cologne Blue
20023 * (bug 1162) fix five-tilde date inserter
20024 * Add raw signatures option for those who simply must have cute sigs
20025 * (bug 1164) Let wikitext be used in Loginprompt and Loginend messages
20026 * Add the dreaded <span> to the HTML whitelist
20027 * (bug 1170) Fix Russian linktrail
20028 * (bug 1168) Missing text on the bureaucrat log
20029 * (bug 1180) Fix Makesysop on shared-user-table sites
20030 * (bug 1178) Fix previous diff link when using 'oldid=0'
20031 * (bug 1173) Stop blocked accounts from reverting/deleting images
20032 * Keep generated stylesheets cache-separated for each user
20033 * (bug 1175) Fix "preview on first edit" mode
20034 * Fix revert bug caused by bug 1175 fix
20035 * Fix CSS classes on minor, new, unpatrolled markers in enhanced RC
20036 * Set MySQL 4 boolean search back to 'and' mode by default
20037 * (bug 1193) Fix move-only page protection mode
20038 * Fix zhtable Makefile to include the traditional manual table
20039 * Add memcache timeout for the zh conversion tables
20040 * Allow user customization of the zh conversion tables through
20041 Mediawiki:zhconversiontable
20042 * Add zh-min-man (back) to language names list
20043 * Ported $wgCopyrightIcon setting from REL1_3A
20044 * (bug 1218) Show the original image on image pages if the thumbnail would be
20045 bigger than the original image
20046 * (bug 1213) i18n of Special:Log labels
20047 * (bug 1013) Fix jbo, minnan in language names list
20048 * Added magic word MAG_NOTITLECONVERT to indicate that the title of the page
20049 do not need to be converted. Useful in zh:
20050 * (bug 1224) Use proper date messages for date reformatter
20051 * (bug 1241) Don't show 'cont.' for first entry of the category list
20052 * (bug 1240) Special:Preferences was broken in Slovenian locale when
20053 $wgUseDynamicDates is enabled
20054 * Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the
20055 content of an article. Useful in zh:
20056 * write-lock for updating the zh conversion tables in memcache
20057 * recursively parse subpages of MediaWiki:Zhconversiontable
20058 * (bug 1144) Fix export for fy language
20059 * make removal of an entry from zhconversiontable work
20060 * (bug 752) Don't insert newline in link title for url with %0a
20061 * Fix missing search box contents in MonoBook skin
20062 * Add option to forward search directly to an external URL (eg google)
20063 * Correctly highlight the fallback language variant when the selected
20064 variant is disabled. Used in zh: only for now.
20065
20066 === Beta 5 fixes ===
20067
20068 * (bug 1124) Fix ImageGallery XHTML compliance
20069 * (bug 1186) news: in the middle of a word
20070 * (bug 1283) Use underlining and borders to highlight additions/deletions
20071 in diff-view
20072 * Use user's local timezone in Special:Log display
20073 * Show filename for images in gallery by default (restore beta 3 behavior)
20074 * (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks,
20075 searchindex
20076 * When using squid reverse proxy, cache the redirect to the Main_Page
20077 * (bug 1302) Fix Norwegian language file
20078 * (bug 1205) Fix broken article saving in PHP 5.1
20079 * (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give
20080 number of the week and number of the day).
20081 * (bug 1204) Blocks do not expire automatically
20082 * (bug 1184) expiry time of indefinite blocks shown as the current time
20083 * (bug 1317) Fix external links in image captions
20084 * (bug 1084) Fix logo not rendering centrally in IE
20085 * (bug 288) Fix tabs wrapping in IE6
20086 * (bug 119) Fix full-width tabs with RTL text in IE
20087 * (bug 1323) Fix logo rendering off-screen in IE with RTL language
20088 * Show "block" link in Special:Recentchanges for logged in users, too, if
20089 wgUserSysopBans is true.
20090 * (bug 1326) Use content language for '1movedto2' in edit history
20091 * zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set
20092 * zh: Fix double conversion for zh-sg and zh-hk
20093 * (bug 1132) Fix concatenation of link lists in refreshLinks
20094 * (bug 1101) Fix memory leak in refreshLinks
20095 * (bug 1339) Fix order of @imports in Cologne Blue CSS
20096 * Don't try to create links without namespaces ([[Category:]] link bug)
20097 * Memcached data compression fixes
20098 * Several valid XHTML fixes
20099 * (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook
20100 * (bug 211) Fix tabbed preferences with XHTML MIME type
20101 * Fix for script execution vulnerability.
20102
20103 === Beta 6 fixes ===
20104
20105 * (bug 1335) implement 'tooltip-watch' in Language.php
20106 * Fix linktrail for nn: language
20107 * (bug 1214) Fix prev/next links in Special:Log
20108 * (bug 1354) Fix linktrail for fo: language
20109 * (bug 512) Reload generated CSS on preference change
20110 * (bug 63) Fix displaying as if logged in after logout
20111 * Set default MediaWiki:Sitenotice to '-', avoiding extra database hits
20112 * Skip message cache initialization on raw page view (quick hack)
20113 * Fix notice errors in wfDebugDieBacktrace() in XML callbacks
20114 * Suppress notice error on bogus timestamp input (returns epoch as before)
20115 * Remove unnecessary initialization and double-caching of parser variables
20116 * Call-tree output mode for profiling
20117 * (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries
20118 * Add $wgNoFollowLinks option to add rel="nofollow" on external links
20119 (on by default)
20120 * (bug 1130) Show actual title when moving page instead of encoded one.
20121 * (bug 925) Fix headings containing <math>
20122 * (bug 1131) Fix headings containing interwiki links
20123 * (bug 1380) Update Nynorsk language file
20124 * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode
20125 * (bug 1217) Image within an image caption broke rendering
20126 * (bug 1384) Make patrol signs have the same width for page moves as for edits
20127 * (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit
20128 * (bug 1389) i18n for proxyblocker message
20129 * Add fur/Furlan/Friulian to language names list
20130 * Add TitleMoveComplete hook on page renames
20131 * Allow simple comments for each translation rules in MW:Zhconversiontable
20132 * (bug 1402) Make link color of tab subject page link on talk page indicate
20133 whether article exists
20134 * (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x
20135 * Translated Hebrew namespace names
20136 * (bug 1429) Stop double-escaping of block comments; fix formatting
20137 * (bug 829) Fix URL-escaping on block success
20138 * (bug 1228) Fix double-escaping on &amp; sequences in [enclosed] URLs
20139 * (bug 1435) Fixed many CSS errors
20140 * (bug 1457) Fix XHTML validation on category column list
20141 * (bug 1458) Don't save if edit form submission is incomplete
20142 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
20143 * Per-user CSS and JavaScript subpage customizations now disabled by default.
20144 They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss.
20145 * Removed .ogg from the default uploads whitelist as an extra precaution.
20146 If your web server is configured to serve Ogg files with the correct
20147 Content-Type header, you can re-add it in LocalSettings.php:
20148 $wgFileExtensions[] = 'ogg';
20149
20150 === RC1 fixes ===
20151
20152 * Fix notice error on nonexistent template in wikitext system message
20153 * (bug 1469) add missing <ul> tags on Special:Log
20154 * (bug 1470) remove extra <ul> tags from Danish log messages
20155 * Fix notice on purge w/ squid mode off
20156 * (bug 1477) hide details of SQL error messages by default
20157 Set $wgShowSQLErrors = true for debugging.
20158 * (bug 1430) Don't check for template data when editing page that doesn't exist
20159 * Recentchanges table purging fixed when using table prefix
20160 * (bug 1431) Avoid redundant objectcache garbage collection
20161 * (bug 1474) Switch to better-cached index for statistics page count
20162 * Run Unicode normalization on all input fields
20163 * Fix translation for allpagesformtext2 in LanguageZh_cn and LanguageZh_tw
20164 * Block image revert without valid login
20165 * (bug 1446) stub Bambara (bm) language file using French messages
20166 * (bug 1432) Update Estonian localization
20167 * (bug 1471) unclosed <p> tag in Danish messages
20168 * convertLinks script fixes
20169 * Corrections to template loop detection
20170 * XHTML encoding fix for usernames containing & in Special:Emailuser
20171 * (for zh) Search for variant links even when conversion is turned off,
20172 to help prevent duplicate articles.
20173 * Disallow ISO 8859-1 C1 characters and "no-break space" in user names
20174 on Latin-1 wikis.
20175 * Correct the name of the main page it LanguageIt
20176 * Allow Special:Makesysop to work for usernames containing SQL special
20177 characters.
20178 * Fix annoying blue line in Safari on scaled-down images on description page
20179 * Increase upload sanity checks
20180 * Fix XSS bug in Media: links
20181 * Add cross-site form submission protection to various actions
20182 * Fix fatal error on some dubious page titles
20183 * Stub threshold displays correctly again
20184
20185
20186 === 1.4.0 final fixes ===
20187
20188 * (bug 65) Fix broken interwiki link encoding on Latin-1 wikis; force to UTF-8
20189 * (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis
20190 * (bug 1536) Fix page info
20191 * Support os (Ossetic) as language code, using Russian localization base
20192 * (bug 1610) Support non (Old Norse) as language code, using Icelandic
20193 localization base
20194 * (bug 1618) Properly list custom namespaces in Special:Allpages
20195 * (bug 1622) Remove trailing' >' when using category browser
20196 * (bug 1570) Fix php 4.2.x error on conflict merging
20197 * (bug 1585) Fix page title on post-login redirection page
20198 * Run UTF-8 validation on old text in Recentchanges RSS diffs
20199 * (bug 1642) fix a mime type typo in img_auth.php
20200 * Automated interwiki redirects only for local interwikis
20201 * Respect read-only mode on block removals
20202 * Trim old illegal characters from syndication feeds
20203 * Reduce message cache outage recovery delay from 1 day to 5 minutes
20204 * (bug 1403) Update Finnish localization
20205 * (bug 1478) Punjabi localization
20206 * (bug 1667) Update script 5 second countdown.
20207 * (bug 1057) Fix logging table encoding (error on MySQL 4.1)
20208 * (bug 1680) Fix linktrail for fo
20209 * (bug 1653) Removing hardcoded messages in Special:Allmessages
20210 * (bug 1594) Render a hyphen in a formula as &minus; in HTML
20211 * (bug 1495) Fall back to default language MediaWiki: for custom messages
20212 * (bug 1617) Show different error messages for "user does not
20213 exist" and "wrong password" when using AuthPlugin
20214 * (bug 1532), (bug 1544) Changed language names for
20215 'bn', 'bo', 'dv', 'dz', 'ht', 'ii', 'li', 'lo', 'ng', 'or', 'pa', 'si',
20216 'ti', 've'
20217 * Fix editing on non-Esperanto wiki with user language pref set to Esperanto
20218 * Make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw
20219 * Fix PHP notice in MonoBook when counters disabled
20220 * (bug 1696) Update namespaces, dates in uk localization
20221 * (bug 551) Installer warns about magic_quotes_runtime and magic_quotes_sybase
20222 instead of trying to install with corrupt table files
20223 * Installer no longer tries to move non-default MediaWiki: pages into Template:
20224 * User-to-user email disabled by default ($wgEnableUserEmail)
20225
20226
20227 === 1.4.1 fixes ===
20228
20229 * (bug 1720) fix genitive month names for uk
20230 * (bug 1704) fixed untranslateable string in Special:Log
20231 * (bug 1638) Added Belrusian language file
20232 * (bug 1736) typo in SpecialValidate.php
20233 * (bug 73) Upload doesn't run edit updates on description page (links,
20234 search index and categories)
20235 * (bug 646) <math> fails to recognize \ll and \gg
20236 * (bug 926) \div element from TeX not supported in <math> element
20237 * (bug 1147) add \checkmark to whitelist in texutil.ml
20238 * (bug 937) \limits function from LaTeX not supported in <math> element
20239 * Support for manually converting article title to different Chinese
20240 variants (for zh)
20241 * (bug 1488, bug 1744) Fix encoding for preferences, dates in Latin-1 mode
20242 * (bug 1042) Fix UTF-8 case conversion for PHP <4.3 with mbstring extension
20243 * Fix code typo that broke article credits display
20244 * Installation fixes for running under IIS
20245 * (bug 1556) login page tab order. "remember" checkbox now come after password.
20246 * SQL debug log fixlets
20247 * (bug 1815) Fix namespace in old revision display with mismatched title
20248 * (bug 1788) Fix link duplication when edit/upload comment includes newlines
20249 * Change default on $wgSysopUserBans and $wgSysopRangeBans to true
20250 * Fix link conversion for URL request
20251 * (bug 1851) Updated download URL for the SCIM packages used by zhtable
20252 * (bug 1853) Try stripping quotes from term for 'go' title match
20253 * Fix missing function in Latin1 mode
20254 * (bug 1860) Anchors of interwiki links did not get normalized
20255 * (bug 1847) accept lowercase x in ISBN, do not accept invalid A-W,Y,Z
20256 * Fix link conversion for URL request, hopefully without breaking the wiki
20257 * (bug 1849) New option allows to consider categorized images as used on
20258 Special:Unusedimages
20259 * Localized category namespace for ka (Georgian)
20260 * (bug 1107) Work around includes problem in installer when parent dir is not
20261 readable by the web server
20262 * (bug 1927) Incorrect escaping on wikitext message in Blockip
20263
20264
20265 === 1.4.2 fixes ===
20266
20267 * Fix math options in Finnish localization
20268 * Use in-process Tidy extension if available when $wgUseTidy is on
20269 * (bug 1933) Fix PATH_INFO usage under IIS with PHP ISAPI module
20270 * (bug 1188) <nowiki> in {{subst:}} includes fixed
20271 * (bug 1936) <!-- comments --> in {{subst:}} includes fixed
20272 * Fix a potential MSIE JavaScript injection vector in Tidy mode
20273
20274
20275 === 1.4.3 fixes ===
20276
20277 * (bug 1636) Refs like &#0355; were misinterpreted as octal in some places
20278 * (bug 1163) Special:Undelete showed oldest revision instead of newest
20279 * (bug 1938) Fix escaping of illegal character references in link text
20280 * (bug 1997) Fix for error on display of renamed items in Recentchanges on PHP5
20281 * (bug 1949) Profiling typo in rare error case
20282 * (bug 1963) Fix deletion log link when $wgCapitalLinks is off
20283 * (bug 1970) Don't show move tab for immobile pages
20284 * (bug 1770) Page creation recorded links from the 'newarticletext' message
20285 * Optional change to the site_stats table. When applied, this removes the need
20286 for expensive queries in Special:Statistics.
20287
20288
20289 === 1.4.4 fixes ===
20290
20291 * (bug 725) Let dir="ltr" attribute work again in MonoBook on RTL languages
20292 * (bug 2024) Skip JavaScript error for custom skins where .js message not set
20293 * (bug 2025) Updated Indonesian localization
20294 * (bug 2039) Updated Lithuanian localization
20295
20296
20297 === Caveats ===
20298
20299 Some output, particularly involving user-supplied inline HTML, may not
20300 produce 100% valid or well-formed XHTML output. Testers are welcome to
20301 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
20302 cases, but this is not recommended on live sites. (This must be set for
20303 MathML to display properly in Mozilla.)
20304
20305
20306 For notes on 1.3.x and older releases, see HISTORY.
20307
20308
20309 === Online documentation ===
20310
20311 Documentation for both end-users and site administrators is currently being
20312 built up on MediaWiki.org, and is covered under the GNU Free Documentation
20313 License:
20314
20315 https://www.mediawiki.org/
20316
20317
20318 === Mailing list ===
20319
20320 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
20321 wikitech-l list:
20322
20323 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
20324
20325 A low-traffic announcements-only list is also available:
20326 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
20327
20328 It's highly recommended that you sign up for one of these lists if you're
20329 going to run a public MediaWiki, so you can be notified of security fixes.
20330
20331
20332 === IRC help ===
20333
20334 There's usually someone online in #mediawiki on irc.freenode.net
20335
20336 =MediaWiki 1.3=
20337
20338 == MediaWiki 1.3.18 ==
20339 (released 2005-11-02)
20340 MediaWiki 1.3.18 is a bugfix and security maintenance release. A change in PHP
20341 4.4.1 broke handling of extension and <nowiki><pre></nowiki> sections, causing
20342 garbage data to be inserted in output and saved edits. This version works
20343 around the change. This release includes further corrections to the inline CSS
20344 style sanitation which works around a JavaScript "feature" on Microsoft
20345 Internet Explorer. Users of Microsoft Internet Explorer for Windows may be
20346 vulnerable to XSS injections on prior 1.3 releases; users of
20347 standards-compliant browsers are not vulnerable.
20348
20349 == MediaWiki 1.3.17 ==
20350 (released 2005-10-05)
20351 MediaWiki 1.3.17 is a security maintenance release. Unsafe handling of CSS by
20352 Microsoft Internet Explorer could be exploited to produce cross-site scripting
20353 attacks by JavaScript injection to clients running that browser. This release
20354 blacklists several additional variants from use in HTML inline style
20355 attributes. All publicly accessible wikis are recommended to upgrade to reduce
20356 the risk to visitors using Microsoft web browsers.Note: the MediaWiki 1.3.x
20357 series is not compatible with PHP 5.0.5 or higher. Upgrade to the 1.5.0 release
20358 if you require this version of PHP 5.
20359
20360 == MediaWiki 1.3.16 ==
20361 (released 2005-09-21)
20362 MediaWiki 1.3.16 is a security maintenance release. A bug in edit submission
20363 handling could cause corruption of the previous revision in the database if an
20364 abnormal URL was used, such as those used by some spambots. Affected releases:
20365 * 1.4.x <= 1.4.9; fixed in 1.4.10
20366 * 1.3.x <= 1.3.15; fixed in 1.3.16
20367 1.5 release candidates are not affected by this problem. All publicly editable
20368 wikis are strongly recommended to upgrade immediately.
20369 1.3 releases can be manually patched by changing this bit in
20370 {{manual|EditPage.php}}:
20371 <syntaxhighlight lang="php">
20372 if( $this->tokenOk( $request ) ) {
20373 $this->save = $request->wasPosted() && !$this->preview;
20374 } else {
20375 </syntaxhighlight>
20376 to:
20377 <syntaxhighlight lang="php">
20378 if( $this->tokenOk( $request ) ) {
20379 $this->save = $request->getVal( 'action' ) == 'submit' &&
20380 $request->wasPosted() && !$this->preview;
20381 } else {
20382 </syntaxhighlight>
20383
20384 == MediaWiki 1.3.15, 2005-08-29 ==
20385 MediaWiki 1.3.15 is a security maintenance release. It corrects across-site
20386 scripting security bug:
20387 * <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering
20388 support is off, as in the default configuration. Wikis where the optional math
20389 support has been *enabled* are not vulnerable. The 1.3.x series is no longer
20390 maintained except for security fixes; new users and those seeking bug fixes
20391 should upgrade to 1.4.9 or 1.5.0.
20392
20393 == MediaWiki 1.3.14, 2005-08-23 ==
20394 MediaWiki 1.3.14 is a security maintenance release. A flaw in the interaction
20395 between extensions and HTML attribute sanitization was discovered which could
20396 allow unauthorized use of offsite resources in style sheets, and possible
20397 exploitation of a JavaScript injection feature on Microsoft Internet Explorer.
20398 The 1.3.x series is no longer maintained except for security fixes; new users
20399 and those seeking bug fixes should upgrade to 1.4.8 or 1.5.0. Existing 1.3.x
20400 installations not willing to upgrade to the current stable release should apply
20401 the change manually:
20402 In includes/Parser.php, function {{code|inline=y|lang=php|fixTagAttributes()}}
20403 add:
20404 <syntaxhighlight lang="php">
20405 # Any placeholder items should have been unstripped already before
20406 # we got to this point. Raw text inserted later could be dangerous.
20407 if( strpos( $t, UNIQ_PREFIX ) !== false ) {
20408 wfDebug( "Parser::fixTagAttributes found stripped data placeholder;
20409 dropping attributes\n" );
20410 $t = '';
20411 }
20412 </syntaxhighlight>
20413 If you are actively using extensions to generate HTML attribute values, upgrade
20414 to 1.4 or 1.5 for a more thorough fix.
20415
20416 == MediaWiki 1.3.13, 2005-06-03 ==
20417 MediaWiki 1.3.13 is a security maintenance release. Incorrect handling of page
20418 template inclusions made it possible to inject JavaScript code into HTML
20419 attributes, which could lead to cross-site scripting attacks on a publicly
20420 editable wiki. Vulnerable releases and fix:
20421 * 1.5 prerelease: fixed in 1.5alpha2
20422 * 1.4 stable series: fixed in 1.4.5
20423 * 1.3 legacy series: fixed in 1.3.13
20424 * 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended The
20425 1.3.x series is no longer maintained except for security fixes; new users and
20426 those seeking general bug fixes should install 1.4.5. Existing 1.3.x
20427 installations not willing or able to upgrade to the current stable relase
20428 should update the installation to 1.3.13; only includes/Parser.php has changed
20429 from 1.3.12.
20430
20431 == MediaWiki 1.3.12, 2005-02-20 ==
20432 MediaWiki 1.3.12 is a security maintenance release. A cross-site scripting
20433 injection vulnerability was discovered, which affects only MSIE clients and is
20434 only open if MediaWiki has been manually configured to run output through HTML
20435 Tidy ($wgUseTidy). The 1.3.x series is no longer maintained except for security
20436 fixes; new users and those seeking bug fixes should upgrade to 1.4.2. Existing
20437 1.3.x installations using Tidy not willing to upgrade to the current stable
20438 relase should either turn off Tidy or update the installation to 1.3.12.
20439
20440 == MediaWiki 1.3.11, 2005-02-20 ==
20441 MediaWiki 1.3.11 is a security release.
20442 A security audit found and fixed a number of problems. Users of MediaWiki
20443 1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases should
20444 upgrade to 1.4rc1.
20445
20446 === Cross-site scripting vulnerability ===
20447 XSS injection points can be used to hijack session and authentication cookies
20448 as well as more serious attacks.
20449 * Media: links output raw text into an attribute value, potentially abusable
20450 for JavaScript injection. This has been corrected.
20451 * Additional checks added to file upload to protect against MSIE and Safari
20452 MIME-type autodetection bugs.
20453 As of <code>1.3.10/1.4beta6</code>, per-user customized CSS and JavaScript is
20454 disabled by default as a general precaution. Sites which want this ability may
20455 set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in LocalSettings.php.
20456
20457 === Cross-site request forgery ===
20458 An attacker could use JavaScript-submitted forms to perform various restricted
20459 actions by tricking an authenticated user into visiting a malicious web page. A
20460 fix for page editing in 1.3.10/1.4beta6 has been expanded in this release to
20461 other forms and functions. Authors of bot tools may need to update their code
20462 to include the additional fields.
20463
20464 === Directory traversal ===
20465 An unchecked parameter in image deletion could allow an authenticated
20466 administrator to delete arbitary files in directories writable by the web
20467 server, and confirm existence of files not deletable.
20468
20469 == MediaWiki 1.3.10, 2005-02-03 ==
20470 MediaWiki 1.3.10 is a security release.
20471 An attacker could craft a URL which, when visited by a particular logged-in
20472 user, would execute arbitrary JavaScript code on the user's browser in the
20473 wiki's site context. This attack has been blocked, and as an extra precaution
20474 the user CSS and JavaScript subpage support is now disabled by default. Sites
20475 which want this ability may set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in
20476 {{manual|LocalSettings.php}}. Additional protections have been added against
20477 off-site form submissions
20478 hijacking user credentials. Authors of bot tools may need to update their code
20479 to include additional fields. All wikis running 1.3.x are strongly urged to
20480 upgrade to 1.3.10.
20481 Changes from 1.3.9:
20482 * Logged-in edits and preview of user CSS/JS are now locked to a session token.
20483 * Per-user CSS and JavaScript subpage customizations now disabled by default.
20484 They can be re-enabled via {{wg|AllowUserJs}} and {{wg|AllowUserCss}}.
20485 * Removed .ogg from the default uploads whitelist as an extra precaution. If
20486 your web server is configured to serve Ogg files with the correct Content-Type
20487 header, you can re-add it in LocalSettings.php: {{wg|FileExtensions}}<code>[] =
20488 'ogg'</code>
20489
20490 == MediaWiki 1.3.9, 2004-12-12 ==
20491 MediaWiki 1.3.9 is a security and bug fix release.
20492 A flaw in upload handling has been found which may allow upload and execution
20493 of arbitrary scripts with the permissions of the web server. Only wikis that
20494 have enabled uploads and have a vulnerable Apache configuration will be
20495 affected, but to be safe all wikis should upgrade. Wikis with uploads available
20496 should either disable uploads or upgrade to 1.3.9 immediately; if other files
20497 are customized and require merging changes,
20498 includes/{{manual|SpecialUpload.php}} may be replaced individually to add the
20499 fix. (It is also recommended to configure your web server to disable script
20500 execution in the 'images' subdirectory where uploads are placed, which prevents
20501 most attacks even if the wiki fails.)
20502 Changes from 1.3.8:
20503 * Backported "Templates used in this page"-feature of EditPage
20504 * Allow "MySkin" as a default skin.
20505 * ({{bugzilla|938}}) Parse namespaces correctly on self-interwiki links
20506 * ({{bugzilla|1010}}) fix broken Commons image link on [[Skin:Classic|Classic]]
20507 & [[Skin:Cologne Blue|Cologne Blue]]
20508 * ({{bugzilla|1004}}) Norsk language names for interwiki links changed, Nauruan
20509 language name changed
20510 * Enhance upload extension blacklist to protect against vulnerable Apache
20511 configurations
20512
20513 == MediaWiki 1.3.8, 2004-11-15 ==
20514 MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads enabled
20515 are strongly recommended to upgrade as this fixes several problems with
20516 overwriting previously-uploaded files.
20517 Changes from 1.3.7:
20518 * ({{bugzilla|506}}) fix {{code|inline=y|lang=html|array_key_exists()}} warning
20519 for IIS servers using ISAPI mode
20520 * ({{bugzilla|718}}) fix bad charset in (file) cached pages
20521 * use local numerals in category page (for Hindi et al)
20522 * alias month abbreviations to month names in Hindi
20523 * add localized numerals for Gujarati and Kannada
20524 * fix Category and project namespaces for Hindi
20525 * Don't output bogus timestamp on [[Special:RecentChanges]] if no entries
20526 * Correct template include path which broke some but not all Windows installs
20527 * Fix edit form submission problem with some PHP versions
20528 * Disallow unreachable titles with %XX hex codes
20529 * Allow page [[0]] to be renamed
20530 * ({{bugzilla|774}}) when saving with <code>section=new</code>, return to the
20531 anchor as with existing numbered section edits
20532 * Experimental shared upload overlay area (disabled by default)
20533 * ({{bugzilla|806}}) Removed some "Wikipedia" hardcoding in German localization
20534 * User option localization fix for some extensions
20535 * ({{bugzilla|809}}) now try to load the mysql php extension if it isn't loaded
20536 * ({{bugzilla|848}}) fix error message in [[Special:Newpages]] RSS and Atom
20537 feeds
20538 * ({{bugzilla|26}}) fix cache headers on anon talk page notification
20539 * ({{bugzilla|874}}) added 'cgi' to {{wg|FileBlacklist}}
20540 * ({{bugzilla|862}}) localize date and time format for Finnish
20541 * ({{bugzilla|548}}) Don't overwrite images until the user confirms it
20542
20543 == MediaWiki 1.3.7, 2004-10-18 ==
20544 Changes from 1.3.6:
20545 * Fix protected-page related security issue.
20546
20547 == MediaWiki 1.3.6, 2004-10-14 ==
20548 Changes from 1.3.5:
20549 * ({{bugzilla|296}}) Variables in user interface messages are no longer
20550 substituted at install time, so changes to the site name etc should be easier
20551 to make
20552 * ({{bugzilla|149}}) [[Special:RecentChanges]] "changes from" link preserves
20553 limit
20554 * ({{bugzilla|433}}) tooltip for "Undelete" tab now labeled correctly
20555 * ({{bugzilla|439}}) unclickable "Move" tab no longer displays on protected
20556 pages
20557 * ({{bugzilla|484}}) graceful deletion of images where the actual file is
20558 missing
20559 * ({{bugzilla|686}}) fixed [[plural]]s in Catalan localization
20560 * Fixed potential HTML/JavaScript injection attack in the
20561 [[Extension:UnicodeConverter|UnicodeConverter]] extension. (This extension is
20562 not enabled by default.)
20563 * Fixed potential HTML/JavaScript injection attack via raw page views to a
20564 maliciously crafted wiki page.
20565 * ({{bugzilla|187}}, {{bugzilla|669}}) Fixed centered thumbnails, using
20566 {{code|inline=y|lang=html|<div>}} instead of {{code|inline=y|lang=html|<span>}}.
20567 * catch MySQL error 2000 during installation.
20568 * ({{bugzilla|704}}) Removed misleading LocalSettings.sample
20569 * Fix cross site scripting bugs in [[Special:Ipblocklist]],
20570 [[Special:EmailUser]]
20571 * Fix SQL injection and cross site scripting bugs in Special:Maintenance
20572 * Fix cross site scripting bugs and possible filename validation vulnerability
20573 in ImagePage.
20574 * and more of that sort
20575
20576 == MediaWiki 1.3.5, 2004-09-30 ==
20577 Changes from 1.3.4:
20578 * Clean up input validation in 'raw' page output mode which was a potential
20579 cross-site scripting opportunity.
20580
20581 == MediaWiki 1.3.4, 2004-09-28 ==
20582 === SECURITY NOTE ===
20583 As of 1.3.4, MediaWiki performs some screening of newly uploaded files for
20584 validity. (Some) corrupt image files, and HTML files mistakenly or maliciously
20585 masquerading as images, should now be rejected. These checks protect against
20586 Internet Explorer security holes relating to type autodetection which are a
20587 potential cross-site scripting attack vector, and also rejects at least one
20588 known version of the "JPEG virus" which might attack unpatched clients. If you
20589 already have invalid files uploaded this will not protect against them. If you
20590 have expanded the <code>filetype</code> whitelist or disabled the strict type
20591 checking, other dangerous file types may still get through. You should always
20592 be careful when allowing uploads!
20593 Changes from 1.3.3:
20594 * Fixed lots of template-related bugs, esp. for cases where template variables
20595 are used for links, images, etc.
20596 * Fixed transformation of page messages when viewing [[Special:Allmessages]]
20597 * Handle "ISBN ISBN 1234" correctly
20598 * Fixed warning on Category pages
20599 * Fixed some bad error messages on login page
20600 * Fixed history entry for initial main page on install
20601 * Removed problematic <code>{</code> and <code>}</code> from legal title
20602 characters
20603 * Strip leading blank from output in preformatted text.
20604 * Fixed problem when moving pages to titles with '#' in
20605 * Optional {{wg|RawHtml}} for raw {{code|inline=y|lang=html|<html>}} sections.
20606 Use only on limited- participation 'trusted' wikis, as it does not protect
20607 against cross-site scripting attacks. For security, this option can only be
20608 enabled if in {{wg|WhitelistEdit}} mode.
20609 * Fixed problem where pages which were created as a redirect following a move
20610 never showed on [[Special:Randompage]].
20611 * Fixed line spacing on printed table of contents
20612 * Allow links to pages with names of the form [[RFC 1234]]
20613 * Fixed broken edit links being shown for sections from included templates
20614 * Verify that uploaded image files are of the claimed type.
20615
20616 == MediaWiki 1.3.3, 2004-09-09 ==
20617 Changes from 1.3.2:
20618 * Fix for long numeric page titles
20619 * Fix Go search for "0", numeric almost-self-links
20620 * Avoid caching of pages with "You have new messages" headers
20621 * Fix for upgrades as non-root users from 1.2 command-line installs.
20622 * Fix for {{wg|DebugDumpSql}} debug mode.
20623 * {{wg|ExtraNamespaces}} setting for configuring additional namespaces (see
20624 note in {{manual|DefaultSettings.php}})
20625 * 'recache' on query pages now disabled when miser mode is on; special case the
20626 global settings in your {{manual|LocalSettings.php}} to do automatic updates.
20627 * Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2)
20628 * Watch/unwatch tabs now shown on edit pages in MonoBook.
20629 * Fix default skin in Irish localization (ga)
20630 * Add Traditional Chinese localization (zh-tw)
20631 * Changed default sortkey of subcategories. Don't include "Category:"-prefix
20632 any longer
20633 * More helpful info on spam catcher.
20634 * Allow larger offsets for queries such as [[Special:Listusers]]
20635 * Semicolon (;) added to French non-break space rules
20636 * Possible fix for some install errors with path names permission problems.
20637 * Removed [[Project:All system messages]], which has been superseded by the
20638 much faster [[Special:Allmessages]]. This speeds up installation considerably.
20639
20640 == MediaWiki 1.3.2, 2004-08-30 ==
20641 Changes from 1.3.1:
20642 * Fix namespaced page creation links when no go match
20643 * When cookies are disabled, don't show login screen twice
20644 * Install should no longer die when PHP is pre-configured to compress output
20645 * Fixed bug that caused long Japanese pages to time out with Tidy active
20646 * When session.handler is set incorrectly, try automatic override to 'files'
20647 * Watch/Unwatch links back to the affected page instead of Main Page
20648 * Upload link no longer displayed on Monobook if uploading is disabled
20649 * Special:Allmessages faster, shows correct original text, works in safe mode
20650
20651 == MediaWiki 1.3.1, 2004-08-14 ==
20652 Changes from 1.3.0:
20653 * Watchlist parameters now work with register_globals off
20654 * Fixed parsing of ''italics'' and '''bold''' mark-up (again)
20655 * Special:Allpages display is more sensible on smaller wikis
20656 * Fixed XHTML parsing error in classic skins
20657 * Moved pages update watchlist correctly
20658 * Fixed rebuildall.php on case-sensitive Unix filesystems
20659 * Disabled file cache compression by default due to incompatibility with output
20660 buffer compression (ob_gzhandler)
20661 * New magic word {{code|inline=y|PAGENAMEE}} (URL-escaped version of
20662 {{code|inline=y|PAGENAME}})
20663 * Installation avoids blank username; better message on missing XML module
20664 * {{wg|WhitelistAccount}} no longer breaks all logins.
20665
20666 == MediaWiki 1.3.0, 2004-08-11 ==
20667 Look & layout:
20668 * New default layout '[[Skin:MonoBook|MonoBook]]' (available on PHP4 only
20669 currently)
20670 * Print stylesheet now built-in to every page
20671 * More or less correct XHTML 1.0 (served as text/html by default)
20672 Wiki features:
20673 * Image captions can now include links and other basic formatting
20674 * Image bounding box can be specified instead of width, e.g. as 100x100px,
20675 making the image not wider than 100px and not higher than 100px, keeping aspect
20676 ratio.
20677 * Templates have been expanded with parameters, and separated from the
20678 MediaWiki: localization scheme.
20679 * Categories more or less work
20680 * added a special page for listing users with sysop rights.
20681 Editing:
20682 * Automatic merging of edit conflicts that don't directly interfere
20683 * Edit summaries can now include basic formatting and links
20684 Metadata and output:
20685 * Linked Creative Commons copyright metadata (optional)
20686 * RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages
20687 Optional modules:
20688 * WikiHiero hieroglyphic module can be added (separate download)
20689 * Timeline module can be added (separate download). Requires ploticus.
20690 * TeX now has an experimental MathML output mode (incomplete!)
20691 Installation and upgrading:
20692 * The old install.php and update.php have been removed. In-place installation
20693 introduced in 1.2 is now the standard installation and upgrade method, see
20694 INSTALL and UPGRADE for directions.
20695 Database:
20696 * The links table has been changed to use a cur_id for l_from. The link tables
20697 must be converted on upgrade, which may entail some downtime.
20698 Code and compatibility:
20699 * Should now run clean with error reporting set to E_ALL.
20700 * register_globals hack from 1.2 has been replaced with safer code
20701 * Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/ (with some patches)
20702 * Most image-related code moved to Image.php
20703 * More fixes for PHP 4.1.2 (thanks to Asheesh Laroia)
20704 * URL encoding fix for anchors
20705 * All languages now available in UTF-8 mode
20706 * Various other fixes
20707
20708 === Caveats ===
20709 Some output, particularly involving user-supplied inline HTML, may not produce
20710 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType
20711 = "application/xhtml+xml"; to test for remaining problem cases, but this is not
20712 recommended on live sites. (This must be set for MathML to display properly in
20713 Mozilla.) The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in
20714 the underlying PHPTAL library. It will be automatically disabled when running
20715 on PHP5; the older look and feel will be used instead.